:root {
    --color-btn: #b8c6c1; /* VIEW MOREボタンの色 */
    --color-edu-accent: #5d7a82; /* 教育セクションのアクセントカラー */
    --max-width: 1000px;
    --side-gap: 60px;
}

body {
    margin: 0;
    font-family: "Zen Maru Gothic", sans-serif;
    color: #333;
    background-color: #fff;
    line-height: 1.8;
}

.recruit-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 100px 20px;
}

/* --- 00 ヘッダー・導入 --- */
.recruit-header { 
    text-align: center; 
    margin-bottom: 80px; 
}

.main-title { 
    font-size: 26px; /* 24->26 */
    font-weight: 900; 
    margin: 0; 
}

.en-sub { 
    font-size: 15px; /* 13->15 */
    color: #666; 
    font-family: sans-serif; 
    letter-spacing: 0.1em; 
}

.recruit-intro { 
    margin-bottom: 120px; 
}

.intro-lead { 
    font-size: 30px; /* 28->30 */
    font-weight: 900; 
    margin-bottom: 15px; 
}

.intro-body p { 
    font-size: 18px; /* 16->18 */
    font-weight: 700; 
    margin: 5px 0; 
}

/* --- 共通：セクション構造 (Mission / Company) --- */
.recruit-block { 
    margin-bottom: 150px; 
}

/* タイトル行：英語・日本語・線を一直線に */
.title-row {
    display: flex;
    align-items: baseline;
    margin-bottom: 40px;
    width: 60%; /* 全幅で線を伸ばす */
}

.en-title {
    font-size: 54px; /* 52->54 */
    font-family: "Zen Maru Gothic", sans-serif;
    margin: 0 20px 0 0;
    line-height: 1;
}

.jp-sub-box {
    display: flex;
    align-items: center;
    flex: 1;
}

.jp-text {
    font-size: 15px; /* 13->15 */
    font-weight: 800;
    white-space: nowrap;
    margin-right: 15px;
}

.horizontal-line {
    flex: 1;
    height: 1px;
    background: #333;
}

/* コンテンツ行：50:50の対比 */
.content-row {
    display: flex;
    justify-content: space-between;
    gap: var(--side-gap);
}

.is-reverse .content-row {
    flex-direction: row-reverse;
}

/* Companyの「下揃え（段落ち）」再現 */
.company .content-row {
    align-items: flex-end;
}

.text-box, .media-box {
    flex: 1;
}

.media-box img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 25px;
    display: block;
}

/* コンテンツ装飾 */
.catch-copy { 
    font-size: 26px; /* 24->26 */
    font-weight: 900; 
    margin-bottom: 25px; 
}

.description { 
    font-size: 17px; /* 15->17 */
    font-weight: 700; 
    color: #444; 
}

/* VIEW MORE ボタン */
.view-more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 210px;
    padding: 16px 25px;
    background-color: var(--color-btn);
    border-radius: 50px;
    text-decoration: none;
    color: #333;
    font-weight: 900;
    font-size: 16px; /* 14->16 */
    margin-top: 40px;
}

/* --- 02 中央写真 --- */
.visual-center { 
    margin-bottom: 150px; 
    text-align: left; 
}

.visual-center img {
    width: 75%;
    border-radius: 25px;
    height: 380px;
    object-fit: cover;
    display: block;
    margin: auto;
}

/* --- 04 Environment (働く環境) --- */
.environment{
    background-color: #f7f9f9;
}
.env-lead {
    font-size: 30px; /* 28->30 */
    font-weight: 900;
    margin-bottom: 80px;
    letter-spacing: 0.05em;
}

.edu-header {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
}

.edu-label {
    font-size: 26px; /* 24->26 */
    font-weight: 900;
    color: var(--color-edu-accent);
}

/* 【修正】縦線：教育とサブタイトルの間 */
.v-line {
    display: block;
    width: 1px;
    height: 30px;
    background-color: #ccc;
    margin: 0 25px;
}

.edu-sub-lead {
    font-size: 20px; /* 18->20 */
    font-weight: 700;
    color: var(--color-edu-accent);
    margin: 0;
}

.edu-content {
    padding-left: 55px; /* 見出しとのインデントを調整 */
}

.content-intro, .content-summary, .content-stance, .training-intro {
    font-size: 18px; /* 16->18 */
    font-weight: 700;
    margin-bottom: 40px;
}

.check-list {
    list-style: none;
    padding: 0;
    margin-bottom: 60px;
}

.check-list li {
    font-size: 18px; /* 16->18 */
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.check-list li::before {
    content: "●";
    color: #b2c0be;
    font-size: 15px;
    margin-right: 15px;
}

/* 研修リスト */
.training-item {
    margin-bottom: 35px;
}

.item-title {
    font-size: 18px; /* 16->18 */
    font-weight: 700;
    display: flex;
    align-items: center;
}
.item-title::before {
    content: "●";
    color: #b2c0be;
    font-size: 15px;
    margin-right: 15px;
}

.item-detail {
    font-size: 17px; /* 15->17 */
    font-weight: 700;
    padding-left: 28px;
    margin-top: 8px;
    display: flex;
    align-items: center;
}

.item-detail::before {
    content: "▶";
    color: #b2c0be;
    font-size: 15px;
    margin-right: 10px;
}

/* --- レスポンシブ --- */
@media (max-width: 768px) {
    .recruit-container {
        padding: 80px 20px;
    }
    .text-box, .media-box {
    width: 100%;
    }
    .intro-lead,
    .env-lead {
    font-size: 20px;
    }
    .content-row, .is-reverse .content-row {
        flex-direction: column-reverse;
        align-items: flex-start !important;
        gap: 30px;
    }
    .en-title { font-size: 40px; } /* 38->40 */
    .edu-content { padding-left: 20px; }
    .v-line { margin: 0 15px; }
    .media-box img { height: 300px; }
    .visual-center img { width: 100%; height: 200px;}
    .content-intro, .content-summary, .content-stance, .training-intro {
    font-size: 16px;
    }
    .check-list li {
    font-size: 16px;
    }
    .recruit-block {
        margin-bottom: 50px;
    }
    .item-detail {
        padding-left: 8px;
    }
}


/* --- 成長セクション固有 --- */

/* Environmentで作成した .edu-content などの共通スタイルがそのまま適用されます */

/* テキストのまとまりに少し変化をつけたい場合 */
.growth-section .content-stance {
    margin-bottom: 60px;
}

.growth-section .content-summary {
    margin-bottom: 80px;
}

/* レスポンシブ：スマホでの余白調整 */
@media (max-width: 768px) {
    .growth-section {
        padding-bottom: 30px;
    }
}



/* --- Career Path セクション --- */
.career-path-section {
    background-color: #f7f9f9; /* Environmentと同じ薄い背景色 */
}

.path-header {
    text-align: center;
    margin-bottom: 60px;
}

.path-en {
    font-size: 54px; /* 他の英字タイトルと統一 */
    font-weight: 700;
    color: var(--color-edu-accent);
    margin: 0;
    line-height: 60px;
}

.path-jp {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-edu-accent);
    margin-top: 5px;
}

.path-intro {
    text-align: center;
    margin-bottom: 100px;
}

.path-intro p {
    font-size: 18px;
    font-weight: 700;
    margin: 5px 0;
}

/* リスト構造 */
.path-list {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 50px; /* アイコン分のスペース */
}

/* 垂直線：最初のアイテムから最後のアイテムまで */
.path-list::before {
    content: "";
    position: absolute;
    left: 102px; /* 円形の中心に合わせる (padding + icon-width/2) */
    top: 50px;
    bottom: 200px;
    width: 2px;
    background-color: #b2c0be; /* ドットと同じ色 */
    z-index: 1;
}

.path-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.path-item:last-child {
    margin-bottom: 0;
}

/* 円形アイコン */
.step-icon {
    flex: 0 0 104px;
    width: 104px;
    height: 104px;
    background-color: #b2c0be;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    margin-right: 60px;
}

.step-label {
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

.step-num {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
}
/* クリックできる領域を広げる */
.accordion-header {
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
}

/* ホバー時に少し色を薄くする（クリック感） */
.accordion-header:hover {
    opacity: 0.7;
}
/* 説明文エリア */
.step-content {
    padding-top: 15px;
}

.step-title {
    font-size: 22px;
    font-weight: 900;
    color: var(--color-edu-accent);
    margin-bottom: 25px;
}

/* 共通のcheck-listスタイルを継承 */
.step-content .check-list li {
    margin-bottom: 15px;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .path-list {
        padding-left: 0;
    }
    .path-list::before {
        left: 42px; /* スマホ時の中心合わせ */
    }
    .step-icon {
        flex: 0 0 84px;
        width: 84px;
        height: 84px;
        margin-right: 20px;
    }
    .step-num { font-size: 28px; }
    .step-title { font-size: 18px; }
    .path-intro p { font-size: 16px; }
}


/* タイムライン全体の余白 */
.timeline-container {
    max-width: 900px;
    margin: 80px auto 0;
    padding: 0 20px;
}

.time-item {
    display: flex;
    margin-bottom: 70px;
}

/* 左側：時刻と見出し */
.time-label-box {
    flex: 0 0 350px; /* 前回の設定より少し広げて調整 */
    display: flex;
    align-items: center;
    gap: 35px;
}

.time-num {
    font-size: 36px; /* 34->36 */
    font-weight: 800;
    color: #b2c0be; /* より画像に近い淡いグレー */
    font-family: sans-serif;
}

.time-title {
    font-size: 20px; /* 18->20 */
    font-weight: 900;
    color: #57777d;
    font-family: 'Zen Kaku Gothic';
}

/* 右側：詳細説明文 */
.time-detail-box {
    flex: 1;
}

.time-detail-box p {
    font-size: 17px; /* 15->17 */
    font-weight: 700;
    line-height: 1.8;
    margin-bottom: 10px;
}

.time-detail-box .note {
    font-size: 15px;
    margin-top: 15px;
        color: #333;
}

/* フッターメッセージ */
.work-footer-message {
    text-align: center;
    margin-top: 120px;
}

.work-footer-message p {
    font-size: 19px; /* 17->19 */
    font-weight: 700;
    line-height: 2.2;
    margin-bottom: 50px;
}
@media (max-width: 768px) {
    .work-section {
        padding-bottom: 80px;
    }

    .time-item {
        flex-direction: column; /* 縦並びに変更 */
        margin-bottom: 50px;
        padding-left: 15px;
        position: relative;
    }

    /* 時刻とタイトルの並びを調整 */
    .time-label-box {
        flex: none;
        width: 100%;
        margin-bottom: 15px;
        gap: 15px;
        align-items: baseline; /* 数字と文字の下端を揃える */
    }

    .time-num {
        font-size: 28px; /* スマホ用に少し小さく */
    }

    .time-title {
        font-size: 18px; /* スマホ用に少し小さく */
    }

    /* 詳細テキストの余白調整 */
    .time-detail-box {
        width: 100%;
        padding-left: 0;
    }

    .time-detail-box p {
        font-size: 16px; /* 読みやすさ重視 */
        line-height: 1.7;
    }

    /* PC用の改行を無効化 */
    br.pc {
        display: none;
    }

    /* フッターメッセージの調整 */
    .work-footer-message {
        margin-top: 60px;
        padding: 0 10px;
    }

    .work-footer-message p {
        font-size: 16px;
        line-height: 1.8;
        text-align: left; /* スマホでは左寄せの方が見やすい */
    }
}


/* --- Requirements (募集要項) --- */
.requirements-section {
    padding: 100px 0;
    background-color: #f7f9f9;
}

.req-intro {
    text-align: center;
    margin-bottom: 80px;
}

.req-intro p {
    font-size: 18px; /* 全体+2px適用 */
    font-weight: 800;
    margin: 8px 0;
    letter-spacing: 0.05em;
}

/* テーブルデザイン */
.req-table {
    width: 100%;
    max-width: 900px; /* 少し絞ってバランス調整 */
    margin: 0 auto;
    border-collapse: collapse;
    border: 1px solid #333; /* 外枠 */
}

.req-table th, 
.req-table td {
    padding: 35px 40px;
    border: 1px solid #333; /* 内枠 */
    font-size: 17px; /* 全体+2px適用 */
    font-weight: 700;
    text-align: left;
    line-height: 1.8;
    background-color: #fff;
}

/* 見出し列のデザイン */
.req-table th {
    width: 250px;
    background-color: #f0f3f2; /* Environmentと同じ薄い背景色 */
    color: var(--color-edu-accent);
    text-align: center;
    letter-spacing: 0.2em;
}

.req-table td span {
    font-size: 17px;
    color: #333;
    font-weight: 600;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .req-table {
    width: calc(100% - 40px);
    }
    .req-table th, 
    .req-table td {
        display: block; /* スマホでは縦並びにする */
        width: 100%;
        box-sizing: border-box;
        padding: 20px;
        text-align: left;
    }
    .req-intro p {
        font-size: 16px;
    }
}



/* --- 変数・ベース設定 --- */
:root {
    --color-mint-accent: #b2c0be; /* ドット・矢印の色 */
    --color-text: #333;
    --table-bg-gray: #f2f5f5;
}

/* --- 募集要項：詳細表示エリア --- */
.detail-link {
    margin: 40px 0 20px;
}

.detail-link a {
    font-size: 19px; /* +2px */
    font-weight: 900;
    color: var(--color-edu-accent);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.detail-link a::before {
    content: "▶";
    font-size: 15px;
    margin-right: 12px;
}

/* --- テーブル構造の徹底修正 --- */
.detail-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--color-text);
}

.detail-table th,
.detail-table td {
    border: 1px solid var(--color-text);
    padding: 40px;
    text-align: left;
    vertical-align: top;
}

.detail-table th {
    width: 250px;
    background-color: var(--table-bg-gray);
    font-size: 18px; /* +2px */
    font-weight: 900;
    text-align: center;
    vertical-align: middle;
}

/* --- 仕事内容：縦並び構造 --- */
.job-list {
    list-style: none;
    padding: 0;
}

.job-list li {
    margin-bottom: 30px; /* 項目ごとの余白 */
}

/* ● 親テキスト */
.parent-txt {
    display: block;
    font-size: 18px; /* +2px */
    font-weight: 800;
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px; /* 子テキストとの距離 */
}

.parent-txt::before {
    content: "●";
    position: absolute;
    left: 0;
    color: #b2c0be;
    font-size: 15px;
}

/* ▶ 子テキスト（詳細） */
.child-txt {
    font-size: 17px; /* +2px */
    font-weight: 700;
    position: relative;
    padding-left: 50px; /* 親のドットよりさらにインデント */
    margin: 0;
}

.child-txt::before {
    content: "▶";
    position: absolute;
    left: 25px;
    top: 0;
    bottom: 0;
    margin: auto;
    height: fit-content;
    color: #b2c0be;
    font-size: 15px;
}

/* --- 給与などのシンプルなドットリスト --- */
.dot-list {
    list-style: none;
    padding: 0;
}

.dot-list li {
    font-size: 17px; /* +2px */
    font-weight: 700;
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.dot-list li::before {
content: "●";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    color: #b2c0be;
    font-size: 15px;
    height: fit-content;
}

/* --- その他装飾（再掲・微調整） --- */
.table-sub-lead {
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 20px;
}

.mt-50 { margin-top: 50px; }

.salary-example {
    margin-top: 30px;
    padding: 25px;
}

.total-amount {
    font-size: 21px;
    font-weight: 900;
    margin: 5px 0;
}

/* --- レスポンシブ --- */
@media (max-width: 768px) {
    .job-row { flex-direction: column; }
    .job-col-main { margin-bottom: 8px; }
    .detail-table th, .detail-table td { padding: 20px; width: 100%;}
}




/* --- 業務委託詳細の補足テキスト --- */
.job-footer-text {
    margin-top: 30px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.8;
}

/* --- Selection Step (選考フロー) --- */
.selection-step {
    padding-top: 100px;
    padding-bottom: 150px;
}

.step-flow {
    max-width: 800px;
    margin: 80px auto 0;
    position: relative;
}

/* 垂直線 */
.step-flow::before {
    content: "";
    position: absolute;
    left: 42px; /* 円の中心 */
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--color-mint-accent);
    z-index: 1;
}

.flow-item {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.flow-item:last-child {
    margin-bottom: 0;
}

/* ステップ円 */
.step-circle {
    flex: 0 0 84px;
    width: 84px;
    height: 84px;
    background-color: var(--color-mint-accent);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    margin-right: 40px;
}

.step-circle .step-label {
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.step-circle .step-num {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

/* ステップテキスト */
.step-text {
    flex: 1;
}

.step-title {
    font-size: 19px;
    font-weight: 900;
    margin: 0;
}

.step-desc {
    font-size: 16px;
    font-weight: 700;
    color: #666;
    margin-top: 10px;
}

/* フッター注釈 */
.step-footer {
    text-align: center;
    margin-top: 80px;
}

.step-footer p {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .step-flow::before {
        left: 32px;
    }
    .step-circle {
        flex: 0 0 64px;
        width: 64px;
        height: 64px;
        margin-right: 20px;
    }
    .step-circle .step-num { font-size: 22px; }
    .step-title { font-size: 17px; }
}


/* --- その他の募集職種セクション --- */
.other-jobs-section {
    background-color: #f7f9f9;
}

.other-jobs-title {
    font-size: 24px; /* 22->24 (+2px) */
    font-weight: 900;
    text-align: center;
    margin-bottom: 80px;
}

.job-detail-block {
    margin-bottom: 80px;
}

.job-category-link {
    font-size: 20px; /* 18->20 (+2px) */
    font-weight: 900;
    color: var(--color-edu-accent);
    margin-bottom: 30px;
    padding-left: 10px;
}

/* テーブル内の時給強調 */
.salary-main-text {
    font-size: 19px; /* 17->19 (+2px) */
    font-weight: 900;
    margin-bottom: 5px;
}

/* テーブル内の段落間隔 */
.detail-table td p {
    margin-bottom: 10px;
    font-size: 100%;
}

.detail-table td p:last-child {
    margin-bottom: 0;
}

/* 背景が薄い色なのでテーブル内の背景を白にして読みやすくする場合 */
.other-jobs-section .detail-table {
    background-color: #fff;
}

/* スマホ対応の調整 */
@media (max-width: 768px) {
    .other-jobs-title {
        font-size: 20px;
        margin-bottom: 50px;
    }
}

/* --- 変数設定 --- */
:root {
    --color-selection: #dbc6c1; /* ご指定のカラー */
    --color-selection-line: #dbc6c1; 
}

/* --- Selection Step セクション --- */
.selection-step {
    padding-top: 100px;
    padding-bottom: 120px;
    background-color: #fff;
}
.selection-step .path-header h2,
.selection-step .path-header p{
 color: #333;
}

.step-flow-container {
    max-width: 800px;
    margin: 80px auto 0;
    position: relative;
    padding-left: 100px; /* アイコンを配置するスペース */
}

/* 垂直線：最初のアイコンから最後のアイコンまで */
.step-flow-container::before {
    content: "";
    position: absolute;
    left: 147px; /* (padding-left 100px + circle-width 94px / 2) */
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--color-selection-line);
    z-index: 1;
}

.flow-item {
    display: flex;
    align-items: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.flow-item:last-child {
    margin-bottom: 0;
}

/* 円形ステップアイコン */
.step-circle {
    flex: 0 0 94px;
    width: 94px;
    height: 94px;
    background-color: var(--color-selection);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    margin-right: 50px;
}

.step-circle .step-label {
    font-size: 14px; /* 12->14 */
    font-weight: 700;
    line-height: 1;
}

.step-circle .step-num {
    font-size: 30px; /* 28->30 */
    font-weight: 700;
    line-height: 1.2;
}

/* テキストエリア */
.step-text-box {
    flex: 1;
}

.step-main-title {
    font-size: 21px; /* 19->21 */
    font-weight: 900;
    margin: 0;
    color: #333;
}

.step-sub-desc {
    font-size: 17px; /* 15->17 */
    font-weight: 700;
    color: #333;
    margin-top: 12px;
}

/* フッターメッセージ */
.selection-footer {
    text-align: center;
    margin-top: 100px;
}

.selection-footer p {
    font-size: 18px; /* 16->18 */
    font-weight: 900;
    color: #333;
    letter-spacing: 0.05em;
}
.selection-step .more-btn a{
    color: #212121;
    background-color: #dbc6c9;
    margin: 80px auto 0;
}
.selection-step .more-btn a:before{
    background: #212121;
}

/* --- レスポンシブ対応 --- */
@media (max-width: 768px) {
    .step-flow-container {
        padding-left: 20px;
    }
    .step-flow-container::before {
        left: 57px;
    }
    .step-circle {
        flex: 0 0 74px;
        width: 74px;
        height: 74px;
        margin-right: 25px;
    }
    .step-circle .step-num { font-size: 24px; }
    .step-main-title { font-size: 18px; }
    .selection-footer p { font-size: 15px; }
}

/* PC：アコーディオンにせず全部表示 */
@media screen and (min-width: 768px) {
    .accordion-content {
        display: block !important; /* 強制的に表示 */
    }
    .accordion-header {
        cursor: default !important; /* PCではクリックできない感を出す（任意） */
        pointer-events: none;      /* PCではクリックイベントを無効化 */
    }
}

/* SP：スマホの時だけ隠す */
@media screen and (max-width: 767px) {
    .accordion-content {
        display: none; /* 基本は隠す */
    }
    /* is-openクラスがついているもの（正社員など）だけ表示 */
    .accordion-content.is-open {
        display: block;
    }
}