        /* 基本スタイル */
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Meiryo", "sans-serif";
            margin: 0;
            padding: 0;
            background-color: #fff; /* 背景を白に変更 */
            color: #333;
            font-size: 16px;
        }

        .container {
            max-width: 960px;
            margin: 0 auto;
            padding: 20px;
        }

        a {
            color: #007bff;
            text-decoration: none;
        }

        a:hover {
            text-decoration: underline;
        }

/* ヘッダーの修正 */
.header h1 {
    display: flex; /* Flexboxを適用して横並びにする */
    justify-content: center; /* 全体を中央揃え */
    align-items: center; /* 画像とテキストの高さを中央で揃える */
    gap: 20px; /* ロゴとテキストの間隔 */
    margin-bottom: 20px;
    font-size: 1rem; /* h1自体のフォントサイズをリセット */
    font-weight: normal; /* h1自体の太字をリセット */
}

/* ロゴ画像の調整 */
.header .logo {
    max-width: 93px; /* 高さに合わせて幅を調整 */
    margin-bottom: 0; /* Flexboxで中央揃えするため不要に */
}

/* テキスト部分のコンテナ */
.header-title {
    display: flex;
    flex-direction: column; /* テキストを縦に並べる */
    text-align: left; /* テキストを左揃えに */
}

/* 「オーケー株式会社」のスタイル */
.company-name {
    font-size: 1em;
    display: inline-block; /* transformを適用するため */
    transform-origin: left; /* 左を基点に縮小 */
    white-space: nowrap; /* 折り返しを防ぐ */
}

/* 「求人情報」のスタイル */
.job-title {
    font-size: 2em;
    font-weight: bold;
    white-space: nowrap; /* 折り返しを防ぐ */
	line-height: 1.2em;
}

/* 既存のヘッダーpタグのスタイル */
.header p {
    margin: 0 auto;
    line-height: 1.8;
    text-align: center;
}



        /* メインビジュアル */
        .hero {
			margin-top: 40px;
            margin-bottom: 40px;
        }

        .hero img {
            width: 100%;
            height: auto;
            display: block;
        }

        /* お知らせセクション */
        .news {
            background-color: #f4f4f4; /* 背景色を変更 */
            padding: 10px 30px;
            margin-bottom: 40px;
			border-radius: 30px;
        }

        .news-list {
            list-style: none;
            padding: 0;
            margin: 0 auto;
			width: fit-content;
        }
        
        .news-list li {
            padding: 10px 0;
            display: flex;
            flex-direction: column;
			border-bottom: 3px solid #fff;
        }
        .news-list li:last-child {
            border-bottom: none;
        }
        .news-list li p{
			text-align: left;
		}
        .news-list li p a{
			color: #333;
			text-decoration: underline;
			font-size: 1.2em;
		}
        .news-list .date {
            display: block; /* 日付を改行させるために追加 */
            margin-bottom: 5px;
            font-size: 0.9em;
            color: #333;
        }

        /* 新店タグのスタイル */
        .news-list .tag {
            background-color: #c00000;
            color: #fff;
            padding: 2px 6px;
            border-radius: 4px;
            font-size: 0.8em;
            margin-right: 10px;
            font-weight: bold;
        }


        /* 採用区分グリッド */
        .recruitment-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 25px;
            margin-bottom: 40px;
        }

        .card {
            background-color: #fff;
            border: 5px solid #000;
            padding: 30px 20px;
            text-align: center;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .card-content .title {
            font-size: 1.8em;
			line-height: 1.3em;
            font-weight: bold;
            margin: 0 0 5px 0;
        }

        .card-content .subtitle {
            font-size: 1.2em;
            color: #c00;
			font-weight: bold;
            text-transform: capitalize;
            margin: 0 0 25px 0;
        }

        .btn {
            background-color: #c00000;
            color: #fff;
            padding: 12px 20px;
            border-radius: 50px;
            font-weight: bold;
            display: inline-block;
            text-decoration: none;
            transition: background-color 0.3s;
        }

        .btn:hover {
            background-color: #a00000;
            text-decoration: none;
        }
        
        /* フッター */
        .footer {
            text-align: center;
            padding: 20px 0;
        }
        .footer .privacy-policy {
            margin-bottom: 20px;
			position: relative;
			padding:50px 0 30px;
        }
		.footer .privacy-policy:before{
			display: block;
			content: " ";
			background: #eee;
			border-radius: 50px;
			height: 8px;
			width: 100%;
			position: absolute;
			top: 0;
		}
		.footer .privacy-policy a{
			color: #333;
			text-decoration: underline;
		}
		
        .footer .copyright {
			background: #eee;
			padding: 30px;
			border-radius: 50px;
            font-size: 0.8em;
            color: #333;
        }

        /* レスポンシブ対応 */
        @media (max-width: 768px) {
            .recruitment-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 576px) {
            .container {
                padding: 10px;
            }
            .recruitment-grid {
                grid-template-columns: 1fr;
            }
            .news {
                padding: 10px 15px;
            }

            /* ▼▼▼ スマートフォン表示のフォントサイズ調整 ▼▼▼ */
            body {
                font-size: 15px;
            }

            .card-content .title {
                font-size: 1.6em;
            }
            .card-content .subtitle {
                font-size: 1.1em;
            }
            .news-list li p a {
                font-size: 1.1em;
            }
            /* ▲▲▲ ここまでを追加 ▲▲▲ */
        }

		
h2 {
    text-align: center;
    margin: 90px 0 50px;
    letter-spacing: 8px;
}
@media (max-width: 1040px) {
    h2 {
        text-align: center;
        margin: 90px 15px 50px;
        letter-spacing: 8px;
    }
}
@media (max-width: 767px) {
    h2 {
        text-align: center;
        margin: 30px 0;
        font-size: 150%;
        letter-spacing: 1px;
    }
}
		p.contact{
			background:#eee;
			padding: 20px;
			border-radius: 30px;
			text-align: center;
		}


/* --- モーダル用のCSS --- */
.modal {
    display: none; /* 初期状態では非表示 */
    position: fixed; /* 画面に固定 */
    z-index: 1000; /* 他の要素より手前に表示 */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6); /* 半透明の黒い背景 */
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    max-width: 500px;
    width: 85%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
}

.close-button {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: black;
}

/* --- 画面幅が600px以下の時だけ適用されるスタイル --- */
@media screen and (max-width: 600px) {
    .modal-content {
        padding: 25px 20px; /* 余白を少し調整 (上下25px, 左右20px) */
    }
}
