/* kousotsu.html (高卒採用ページ) に固有のスタイル */
.page-header {
    text-align: center;
    margin-top: 70px; /* 固定ナビゲーションバーに合わせて調整 */
    padding: 40px 20px;
    background-color: transparent; /* ヘッダーは背景色を適用しない */
}

.page-header img {
    max-width: 800px; /* 変更なし */
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

.page-header h1 {
    font-size: 3em;
    color: #333;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.2em;
    color: #666;
    line-height: 1.6;
}

/* コンテンツセクションの最大幅と中央寄せは維持 */
.content-section {
    padding: 0; /* 親のsectionでパディングを管理するため、ここでは0に */
    max-width: 100%; /* 最大幅を100%に設定 */
    margin: 0 auto; /* 中央寄せ */
    box-sizing: border-box; /* paddingを含めて幅を計算 */
}

.content-block {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

/* テキストコンテンツの左寄せを解除し、親要素のflexboxで調整 */
.content-block .text-content {
    flex: 1.5;
    text-align: unset; /* 親要素のデフォルトに戻すか、必要に応じてcenter */
}

.content-block.left-aligned-text .image-content {
    flex: 1.5; /* ここを変更：画像をテキストより大きく表示 */
}

.content-block .image-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

.content-block h2 {
    font-size: 2.5em;
    color: #000000;
    margin-bottom: 20px;
    text-align: center; /* h2を中央寄せ */
}

.content-block p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
    text-align: justify; /* 段落を均等割り付け、中央寄せのセクション内で自然に見せる */
}

.content-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left; /* リストは左寄せを維持 */
}

.content-block ul li {
    font-size: 1.1em;
    line-height: 2;
    color: #333;
    margin-bottom: 5px;
}

.content-block ul li strong {
    color: #e65100;
}

.section-title {
    text-align: center;
    font-size: 2.8em;
    color: #333;
    margin-bottom: 50px;
}

.feature-section {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 100%; /* 最大幅を100%に設定 */
    margin: 0 auto;
    flex-wrap: wrap;
}

.feature-item {
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-item img {
    width: 180px; /* ここを変更：丸い画像を大きく表示 */
    height: 180px; /* ここを変更：丸い画像を大きく表示 */
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid #e65100;
}

.feature-item h3 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 1em;
    color: #555;
    line-height: 1.6;
}

.store-description {
    max-width: 100%; /* 最大幅を100%に設定 */
    margin: 0 auto;
    text-align: center;
    padding: 20px 0;
}

.store-description p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

.store-description img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 30px;
}

.requirements-table {
    max-width: 100%; /* 最大幅を100%に設定 */
    margin: 0 auto;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.requirements-table table {
    width: 100%;
    border-collapse: collapse;
}

.requirements-table th,
.requirements-table td {
    padding: 15px 25px;
    border-bottom: 1px solid #eee;
    text-align: left;
    font-size: 1.05em;
    color: #333;
}

.requirements-table th {
    background-color: #f0f0f0;
    font-weight: bold;
    width: 30%;
}

.requirements-table tr:last-child th,
.requirements-table tr:last-child td {
    border-bottom: none;
}

.selection-flow {
    display: flex;
    flex-direction: column; /* Changed to column for vertical layout */
    justify-content: center;
    align-items: center;
    gap: 10px; /* Gap between items */
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 0;
}

.flow-item {
    min-width: unset; /* Remove min-width to allow content to dictate width */
    width: 80%; /* Adjust width for vertical stacking */
    max-width: 800px; /* Limit max-width for better readability on larger screens */
    text-align: left; /* テキストは左寄せ */
    padding: 15px 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

/* 新しいflow-number-newのスタイル */
.flow-number-new {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.flow-number-new .step-label {
    font-size: 1.2em; /* STEPの文字サイズ */
    font-weight: bold;
    color: #e65100; /* オレンジ色 */
    margin-right: 10px;
    white-space: nowrap; /* 改行防止 */
}

.flow-number-new .step-title {
    font-size: 1.2em; /* タイトルの文字サイズ */
    font-weight: bold;
    color: #000000; /* 黒色 */
    text-decoration: underline; /* 下線 */
    text-decoration-color: #e65100; /* オレンジ色の下線 */
    text-underline-offset: 4px; /* 下線とテキストの距離 */
    white-space: nowrap; /* 改行防止 */
}

.flow-item p {
    font-size: 1.0em; /* 説明文の文字サイズ */
    color: #333; /* 黒色 */
    line-height: 1.6;
    margin-top: 10px; /* タイトルと説明文の間のスペース */
}

/* 以前の.flow-arrowのスタイルは削除またはコメントアウト */
/* .flow-arrow {
    font-size: 2.5em;
    color: #ccc;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(90deg);
} */

/* 新しい画像矢印のスタイル */
.flow-arrow-image {
    width: 200px; /* 画像の幅を調整 */
    height: auto; /* 高さは自動調整 */
    margin: 0px 0; /* 上下のマージン */
    display: block; /* 中央寄せのためにブロック要素に */
    margin-left: auto; /* 中央寄せ */
    margin-right: auto; /* 中央寄せ */
    /* 必要であれば、ここにさらにスタイルを追加（例: border-radius, box-shadowなど） */
}


.venue-info {
    text-align: center;
    max-width: 100%; /* 最大幅を100%に設定 */
    margin: 0 auto;
    padding: 20px 0;
}

.venue-info h3 {
    font-size: 2em;
    color: #333;
    margin-bottom: 15px;
}

.venue-info p {
    font-size: 1.1em;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.map-container {
    width: 100%;
    height: 400px;
    margin: 30px 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.access-note {
    font-size: 0.9em;
    color: #777;
    margin-top: 10px;
}

/* 高卒採用ページのセクションに背景色を適用 */
/* 奇数番目のセクションにオレンジ系の背景色 */
main section:nth-of-type(odd) {
    background-color: #FFE9D3;
    /* セクション全体にパディングを適用し、左右のパディングは0にする */
    padding: 60px 0;
}

/* 偶数番目のセクションに白の背景色 */
main section:nth-of-type(even) {
    background-color: #ffffff;
    /* セクション全体にパディングを適用し、左右のパディングは0にする */
    padding: 60px 0;
}

/* ヘッダーは背景色を適用しない */
.page-header {
    background-color: transparent;
    /* ヘッダーのパディングは維持 */
    padding: 40px 20px;
}

/* content-sectionとfeature-sectionのpaddingを調整し、背景色と合うように */
/* これらの要素はセクション内部のコンテンツとして、中央寄せと最大幅を維持する */
.content-section > *, /* .content-section の直下の要素に適用 */
.section-gray > *, /* .section-gray の直下の要素に適用 */
.feature-section,
.store-description,
.requirements-table,
.selection-flow,
.venue-info {
    max-width: 1200px; /* 必要に応じて調整 */
    margin: 0 auto;
    padding: 0 20px; /* 内部コンテンツの左右パディングをここで設定 */
    box-sizing: border-box;
}


/* レスポンシブデザインの調整 */
@media (max-width: 768px) {
    .page-header {
        padding: 20px 10px;
    }
    .page-header h1 {
        font-size: 2.2em;
    }
    .page-header p {
        font-size: 1em;
    }

    /* sectionのパディングを調整 */
    main section:nth-of-type(odd),
    main section:nth-of-type(even) {
        padding: 30px 0; /* モバイルでは上下のパディングを減らす */
    }

    /* 内部コンテンツの左右パディングを調整 */
    .content-section > *,
    .section-gray > *,
    .feature-section,
    .store-description,
    .requirements-table,
    .selection-flow,
    .venue-info {
        padding: 0 15px; /* モバイルでは左右のパディングを減らす */
    }

    .content-block {
        flex-direction: column;
        gap: 20px;
    }
    .content-block.left-aligned-text .text-content,
    .content-block.left-aligned-text .image-content {
        flex: none;
        width: 100%;
        text-align: center;
    }

    .content-block h2 {
        font-size: 2em;
        text-align: center;
    }
    .content-block p,
    .content-block ul li {
        font-size: 0.95em;
        text-align: left; /* モバイルではリストを左寄せに戻す */
    }

    .section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .feature-section {
        flex-direction: column;
        align-items: center;
    }
    .feature-item {
        max-width: 90%;
        margin-bottom: 20px;
    }
    /* モバイルでの丸い画像のサイズ調整 */
    .feature-item img {
        width: 150px; /* モバイルでは少し小さめに */
        height: 150px;
    }


    .requirements-table th,
    .requirements-table td {
        padding: 10px 15px;
        font-size: 0.9em;
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .requirements-table th {
        background-color: #e0e0e0;
        padding-bottom: 5px;
    }
    .requirements-table td {
        border-bottom: 1px dashed #ddd;
        padding-top: 5px;
        margin-bottom: 10px;
    }
    .requirements-table tr {
        margin-bottom: 20px;
        display: block;
        border: 1px solid #eee;
        border-radius: 8px;
        padding: 10px;
        background-color: #fff;
    }
    .requirements-table tr:last-child {
        margin-bottom: 0;
    }
    .requirements-table tr:last-child th,
    .requirements-table tr:last-child td {
        border-bottom: none;
    }

    /* モバイルでも縦表示を維持 */
    .selection-flow {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    .flow-item {
        min-width: unset;
        width: 80%;
        margin-bottom: 0;
        padding: 10px 15px;
    }
    /* 以前の.flow-arrowのスタイルは削除またはコメントアウト */
    /* .flow-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    } */

    /* モバイルでの画像矢印のスタイル調整 */
    .flow-arrow-image {
        width: 3px; /* モバイルでは少し小さめに */
        margin: 0px 0;
    }

    /* モバイルでの新しいflow-number-newのスタイル調整 */
    .flow-number-new {
        flex-direction: column; /* モバイルでは縦に並べる */
        align-items: flex-start; /* 左寄せ */
    }

    .flow-number-new .step-label {
        font-size: 1.1em; /* モバイルでの文字サイズ */
        margin-right: 0; /* マージンをリセット */
        margin-bottom: 5px; /* 下にスペース */
    }

    .flow-number-new .step-title {
        font-size: 1.1em; /* モバイルでの文字サイズ */
        text-align: left; /* 左寄せ */
    }

    .map-container {
        height: 300px;
    }
}