/* =============================================
   ページ固有
============================================= */

/* =============================================
   イントロ
============================================= */
.section_content--recruit-intro {
    padding: 0 0 30px;
}

.recruit_intro-lead {
    font-size: 18px;
    font-family: var(--text-font);
    color: var(--main-color);
    line-height: 1.7;
    margin-bottom: 15px;
}

.recruit_intro-desc {
    font-size: 14px;
    font-family: var(--text-font);
    color: var(--main-color);
    line-height: 1.7;
}

.recruit_intro-photo {
    display: block;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 20px;
}

.recruit_intro-photo img {
    width: 100%;
    display: block;
}

@media (min-width: 768px) {
    .section_content--recruit-intro {
        padding: 0 20px 100px;
    }

    .section_content--recruit-intro .content_box {
        max-width: 1156px;
        margin: 0 auto;
    }

    .recruit_intro {
        display: flex;
        align-items: center;
        gap: clamp(40px, 5vw, 80px);
    }

    .recruit_intro-text {
        flex: 1;
        text-align: left;
        margin-bottom: 0;
    }

    .recruit_intro-lead {
        font-size: clamp(20px, 2vw, 26px);
        margin-bottom: clamp(15px, 2vw, 30px);
    }

    .recruit_intro-desc {
        font-size: clamp(14px, 1.3vw, 18px);
        line-height: 2;
    }

    .recruit_intro-photo {
        flex: 1;
        max-width: clamp(300px, 30vw, 433px);
        border-radius: 10px;
    }
}

/* =============================================
   セクションタイトル
============================================= */
.section_title-block {
    text-align: center;
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    .section_title-block {
        margin-bottom: 50px;
    }
}

/* =============================================
   募集要項
============================================= */
.section_content--requirements {
    padding: 0 0 30px;
    overflow: visible;
}

.section_content--requirements .section_space {
    position: relative;
}

.section_content--requirements .section_space::after {
    content: "";
    position: absolute;
    top: -30px;
    right: 0;
    width: 83px;
    height: 113px;
    background: url("/images/recruit/requirements_bg_deco_sp.png") center / contain no-repeat;
    pointer-events: none;
}

/* --- タブ --- */
.recruit_tab {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--main-color);
    padding: 0 25px;
}

.recruit_tab-btn {
    flex: 1;
    padding: 10px;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--text-font);
    color: var(--main-color);
    line-height: 1.5;
    background: #fff;
    border: 1px solid var(--main-color);
    border-bottom: none;
    border-radius: 5px 5px 0 0;
    cursor: pointer;
    transition: all 0.3s;
}

.recruit_tab-btn.is-active {
    background: var(--sub-color);
    color: #fff;
}

/* --- タブコンテンツ --- */
.recruit_tab-content {
    display: none;
}

.recruit_tab-content.is-active {
    display: block;
}

/* --- 定義リスト --- */
.recruit_dl {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.recruit_dl-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.recruit_dl-item dt {
    font-size: 16px;
    font-weight: 500;
    font-family: var(--text-font);
    color: var(--main-color);
    line-height: 1.2;
    white-space: nowrap;
    width: 100%;
    flex-shrink: 0;
    border-bottom: 1px solid var(--main-color);
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.recruit_dl-item dd {
    flex: 1;
}

.recruit_dl-text {
    font-size: 14px;
    font-family: var(--text-font);
    color: var(--main-color);
    line-height: 1.6;
    padding: 0 15px;
}

.recruit_dl-text:not(:last-child) {
    margin-bottom: 10px;
}

.recruit_dl-text.is-left {
    text-align: left;
}

@media (min-width: 768px) {
    .section_content--requirements {
        padding: 0 20px 100px;
    }

    .section_content--requirements .content_box {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0;
        position: relative;
    }

    .section_content--requirements .content_box::after {
        content: "";
        position: absolute;
        bottom: -210px;
        right: clamp(-530px, -35vw, -200px);
        width: clamp(330px, 44vw, 661px);
        height: clamp(338px, 45vw, 676px);
        background: url("/images/recruit/requirements_bg_deco_right_bottom.png") center / contain no-repeat;
        pointer-events: none;
    }

    .section_content--requirements .section_space::before {
        content: "";
        position: absolute;
        bottom: 350px;
        left: clamp(-460px, -34vw, -200px);
        width: clamp(300px, 40vw, 587px);
        height: clamp(307px, 41vw, 602px);
        background: url("/images/recruit/requirements_bg_deco_left_bottom.png") center / contain no-repeat;
        pointer-events: none;
    }

    .section_content--requirements .section_space::after {
        top: -400px;
        right: clamp(-500px, -33vw, -200px);
        width: clamp(380px, 50vw, 753px);
        height: clamp(333px, 44vw, 659px);
        background: url("/images/recruit/requirements_bg_deco_top.png") center / contain no-repeat;
    }

    .recruit_tab {
        gap: 20px;
        margin: 0 auto 50px;
        padding: 0;
        border-bottom: 2px solid var(--main-color);
        justify-content: center;
    }

    .recruit_tab-btn {
        flex: 0 1 clamp(150px, 17vw, 250px);
        font-size: clamp(14px, 1.3vw, 18px);
        padding: clamp(15px, 1.5vw, 23px) 20px;
        border-radius: 10px 10px 0 0;
        border: 2px solid var(--main-color);
        border-bottom: none;
        word-break: keep-all;
    }

    .recruit_dl {
        gap: 50px;
    }

    .recruit_dl-item {
        padding: 0 0 50px;
        flex-direction: row;
        border-bottom: 1px solid var(--main-color);
        align-items: flex-start;
        gap: 130px;
    }

    .recruit_dl-item dt,
    .recruit_dl-item dd {
        font-size: 16px;
    }

    .recruit_dl-text {
        text-align: left;
        padding: 0;
        font-size: 16px;
    }

    .recruit_dl-item dt {
        width: 150px;
        border-bottom: none;
        padding: 0;
        margin: 0;
    }
}

/* =============================================
   選考フロー
============================================= */
.section_content--flow {
    padding: 30px 0;
}

.section_content--flow .section_space {
    position: relative;
}

.section_content--flow .section_space::after {
    content: "";
    position: absolute;
    top: -60px;
    right: 0;
    width: 87px;
    height: 129px;
    background: url("/images/recruit/flow_bg_deco_sp.png") center / contain no-repeat;
    pointer-events: none;
}

.flow_list {
    display: flex;
    flex-direction: column;
    gap: 50px;
    list-style: none;
    margin-bottom: 30px;
    counter-reset: flow-step;
}

.flow_item {
    padding: 20px 15px 20px;
    border: 1px solid var(--main-color);
    border-radius: 5px;
    background: #fff;
    position: relative;
    counter-increment: flow-step;
}

.flow_item::before {
    content: "STEP\A" counter(flow-step);
    white-space: pre;
    position: absolute;
    top: -8px;
    left: 20px;
    font-size: 12px;
    font-weight: 600;
    font-family: var(--en-font);
    line-height: 1.2;
    color: #fff;
    background: url("../images/recruit/flow_band_deco_sp.png") no-repeat center / contain;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-right: 4px;
}

.flow_item:not(:last-child)::after {
    content: "";
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid var(--main-color);
}

.flow_item-step {
    display: block;
    font-size: 20px;
    font-weight: 600;
    font-family: var(--text-font);
    color: var(--main-color);
    margin-bottom: 15px;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--main-color);
}

.flow_item-desc {
    font-size: 14px;
    font-family: var(--text-font);
    color: var(--main-color);
    line-height: 1.6;
}

/* --- CTA --- */
.flow_cta {
    text-align: center;
    margin: 0 auto;
}

.flow_cta .cp_more-btn::after {
    background: none;
    content: "";
    width: 10px;
    height: 10px;
    border-top: 1px solid var(--main-color);
    border-right: 1px solid var(--main-color);
    transform: translateY(-50%) rotate(45deg);
}

@media (min-width: 768px) {
    .section_content--flow {
        padding: 80px 20px;
        /* overflow: visible; */
    }

    .section_content--flow .content_box {
        max-width: 1180px;
        margin: 0 auto;
    }

    .section_content--flow .section_space::after {
        content: "";
        position: absolute;
        top: 100px;
        left: clamp(-470px, -34vw, -200px);
        width: clamp(300px, 39vw, 587px);
        height: clamp(340px, 44vw, 666px);
        background: url("/images/recruit/flow_bg_deco.png") center / contain no-repeat;
        pointer-events: none;
    }

    .flow_list {
        flex-direction: row;
        gap: clamp(20px, 3vw, 45px);
        margin-bottom: 50px;
    }

    .flow_item {
        flex: 1;
        padding: clamp(50px, 5vw, 70px) clamp(10px, 1.5vw, 20px) clamp(20px, 3vw, 40px);
        border-radius: 10px;
        border: 2px solid var(--main-color);
    }

    .flow_item::before {
        content: "STEP" counter(flow-step);
        white-space: pre;
        position: absolute;
        top: clamp(10px, 1vw, 15px);
        left: clamp(-14px, -1vw, -12px);
        font-size: clamp(12px, 1.1vw, 16px);
        font-weight: 600;
        font-family: var(--en-font);
        line-height: 1.2;
        color: #fff;
        background: url("../images/recruit/flow_band_deco.png") no-repeat center / contain;
        width: clamp(80px, 7.5vw, 110px);
        height: clamp(25px, 2.4vw, 35px);
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding-right: 10px;
        padding-top: 5px;
    }

    .flow_item:not(:last-child)::after {
        top: 50%;
        bottom: auto;
        left: auto;
        right: clamp(-30px, -2vw, -15px);
        transform: translateY(-50%);
        border-top: clamp(8px, 0.9vw, 13px) solid transparent;
        border-bottom: clamp(8px, 0.9vw, 13px) solid transparent;
        border-left: clamp(8px, 1vw, 14px) solid var(--main-color);
        border-right: none;
    }


    .flow_item-step {
        font-size: clamp(18px, 1.7vw, 24px);
        padding-bottom: clamp(15px, 2vw, 30px);
    }

    .flow_item-desc {
        font-size: clamp(13px, 1.1vw, 16px);
        line-height: 1.7;
    }
}

/* =============================================
   よくある質問
============================================= */
.section_content--faq {
    padding: 30px 0 0;
}

.faq_list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq_item {
    border-bottom: 1px solid var(--main-color);
}

.faq_question {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    padding: 0 0 20px;
    font-size: 16px;
    font-family: var(--text-font);
    color: var(--main-color);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.faq_icon-q {
    font-size: 20px;
    font-weight: bold;
    color: var(--main-color);
    font-family: var(--en-font);
    flex-shrink: 0;
    line-height: 1.2;
}

.faq_question-text {
    flex: 1;
    font-weight: 600;
    line-height: 1.6;
    padding-right: 30px;
}

.faq_toggle {
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--sub-color);
    position: relative;
    flex-shrink: 0;
}

.faq_toggle::before,
.faq_toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
}

.faq_toggle::before {
    width: 13px;
    height: 1px;
}

.faq_toggle::after {
    width: 1px;
    height: 13px;
    transition: transform 0.3s;
}

.faq_item.is-open .faq_toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

/* --- 回答 --- */
.faq_answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease, padding-bottom 0.3s ease;
}

.faq_item.is-open .faq_answer {
    grid-template-rows: 1fr;
    padding-bottom: 15px;
}

.faq_answer-inner {
    overflow: hidden;
    display: flex;
    gap: 10px;
}

.faq_icon-a {
    font-size: 20px;
    font-weight: bold;
    color: var(--main-color);
    flex-shrink: 0;
    line-height: 1.4;
}

.faq_answer-text {
    font-size: 16px;
    font-family: var(--text-font);
    color: var(--main-color);
    line-height: 1.5;
    flex: 1;
}

.faq_answer-block {
    margin: 0;
}

.faq_answer-block:not(:last-child) {
    margin-bottom: 10px;
}

@media (min-width: 768px) {


    .section_content--faq {
        padding: 100px 20px 0;
        overflow: visible;
    }

    .section_content--faq .section_space {
        position: relative;
    }


    .section_content--faq .section_space::before {
        content: "";
        position: absolute;
        top: -220px;
        right: clamp(-470px, -35vw, -200px);
        width: clamp(300px, 39vw, 587px);
        height: clamp(250px, 33vw, 491px);
        background: url("/images/recruit/faq_bg_deco_top.png") center / contain no-repeat;
        pointer-events: none;
    }


    .section_content--faq .section_space::after {
        content: "";
        position: absolute;
        top: 500px;
        left: clamp(-510px, -37vw, -200px);
        width: clamp(330px, 44vw, 661px);
        height: clamp(338px, 45vw, 676px);
        background: url("/images/recruit/faq_bg_deco_bottom_left.png") center / contain no-repeat;
        pointer-events: none;
    }

    .section_content--faq .content_box {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0;
        position: relative;
    }


    .section_content--faq .content_box::after {
        content: "";
        position: absolute;
        bottom: 200px;
        right: clamp(-580px, -38vw, -250px);
        width: clamp(300px, 39vw, 587px);
        height: clamp(250px, 33vw, 491px);
        background: url("/images/recruit/faq_bg_deco_bottom_right.png") center / contain no-repeat;
        pointer-events: none;
    }


    .faq_list {
        gap: 40px;
    }

    .faq_item {
        padding: 0 100px;
    }

    .faq_icon-q {
        font-size: 30px;
    }

    .faq_answer-inner {
        gap: 30px;
        align-items: baseline;
    }

    .faq_icon-a {
        font-size: 30px;
    }

    /* PCではアコーディオンを無効化し常に開く */
    .faq_toggle {
        display: none;
    }

    .faq_question {
        cursor: default;
        padding: 0 0 35px;
        align-items: baseline;
        gap: 30px;
    }

    .faq_answer {
        display: flex;
        padding: 0 0 40px;
    }
}