@charset "utf-8";

/* ============================================================
   歯科技工士ページ technician.css
   Figma: 採用サイト｜歯科技工士 (PC 2245:1832 / SP 2245:1692)
   ============================================================ */

#technician__page {
    --tech-gold: #ae8d5e;
    --tech-navy: #02193c;
    --tech-line: #c5c6cf;
}

#technician__page main {
    overflow: hidden;
}

/* ------------------------------------------------------------
   MV
------------------------------------------------------------ */
.tech_mv {
    position: relative;
}

.tech_mv_photo img {
    width: 100%;
    aspect-ratio: 1920 / 594;
    object-fit: cover;
}

.tech_mv_title_box {
    position: absolute;
    top: 33.4%;
    left: 11.875%;
    width: min(696px, 50vw);
    padding: 56px 0 56px 66px;
    background: linear-gradient(to left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 55%);
}

.tech_mv_en {
    color: var(--tech-gold);
    font-family: var(--sans);
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 24px;
}

.tech_mv_title {
    color: #333;
    font-family: var(--sans);
    font-size: 48px;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 24px;
}

.tech_mv_line {
    display: block;
    width: 100%;
    max-width: 475px;
    height: 1px;
    background-color: var(--tech-gold);
    margin-bottom: 24px;
}

.tech_mv_lead {
    color: #333;
    font-family: var(--sans);
    font-size: 18px;
    font-weight: 300;
    line-height: 2;
}

@media (max-width: 1279px) {
    .tech_mv_title_box {
        left: 5%;
        padding: 40px 0 40px 32px;
        width: min(560px, 55vw);
    }

    .tech_mv_title {
        font-size: 38px;
    }

    .tech_mv_lead {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .tech_mv_photo img {
        aspect-ratio: 390 / 367;
    }

    .tech_mv_title_box {
        position: relative;
        top: auto;
        left: 0;
        width: 88%;
        margin-top: -93px;
        padding: 20px 0 20px 24px;
        z-index: 1;
    }

    .tech_mv_en {
        font-size: 13px;
        margin-bottom: 16px;
    }

    .tech_mv_title {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .tech_mv_line {
        max-width: 202px;
        margin-bottom: 16px;
    }

    .tech_mv_lead {
        font-size: 14px;
    }
}

/* ------------------------------------------------------------
   共通ラベル（EDUCATION POLICY）
------------------------------------------------------------ */
.tech_label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--tech-gold);
    font-family: "Inter", var(--sans);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 38px;
}

.tech_label_line {
    display: block;
    width: 32px;
    height: 1px;
    background-color: var(--tech-gold);
}

/* ------------------------------------------------------------
   ABOUT（院内ラボ）
------------------------------------------------------------ */
.tech_about {
    background-image: url("/recruit/assets/img/technician/bg-pattern.png");
    background-size: 12px 12px;
    background-repeat: repeat;
    padding: 120px 0 26px;
}

.tech_about_inner {
    max-width: 1190px;
    width: calc(100% - 80px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 500px) minmax(0, 560px);
    grid-template-areas:
        "head photo"
        "lead photo";
    justify-content: space-between;
    column-gap: 60px;
}

.tech_about_head {
    grid-area: head;
    align-self: end;
}

.tech_about_title {
    color: #333;
    font-size: 40px;
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 58px;
}

.tech_about_photo {
    grid-area: photo;
    position: relative;
    z-index: 0;
}

.tech_about_photo::before {
    content: "";
    position: absolute;
    top: 35px;
    left: 33px;
    width: 100%;
    height: 100%;
    background-color: #e4e2d9;
    z-index: -1;
}

.tech_about_photo img {
    aspect-ratio: 559 / 410;
    object-fit: cover;
}

.tech_about_lead {
    grid-area: lead;
    color: #333;
    font-family: var(--sans);
    font-size: 18px;
    font-weight: 300;
    line-height: 2;
}

@media (max-width: 1279px) {
    .tech_about_inner {
        grid-template-columns: 1fr;
        grid-template-areas:
            "head"
            "photo"
            "lead";
        row-gap: 48px;
        max-width: 720px;
    }

    .tech_about_photo {
        margin-right: 33px;
    }

    .tech_about_title {
        font-size: 34px;
        margin-bottom: 0;
    }
}

@media (max-width: 767px) {
    .tech_about {
        padding: 28px 0 74px;
    }

    .tech_about_inner {
        width: calc(100% - 48px);
        row-gap: 32px;
    }

    .tech_label {
        margin-bottom: 12px;
    }

    .tech_about_title {
        font-size: 28px;
        line-height: 1.4;
    }

    .tech_about_photo {
        margin-right: 0;
    }

    .tech_about_photo img {
        aspect-ratio: 342 / 223;
        width: 100%;
        object-fit: cover;
    }

    .tech_about_photo::before {
        top: 11px;
        left: 20px;
    }

    .tech_about_lead {
        font-size: 16px;
        text-align: justify;
        letter-spacing: 0.02em;
    }
}

/* ------------------------------------------------------------
   REASON（3つの理由）
------------------------------------------------------------ */
.tech_reason {
    background-image: url("/recruit/assets/img/technician/reason-bg.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 116px 0 116px;
}

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

.tech_reason_head_sub {
    color: #333;
    font-size: 40px;
    font-weight: 300;
    line-height: 1;
    margin-bottom: 22px;
}

.tech_reason_head_main {
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
}

.tech_reason_head_num {
    color: var(--tech-gold);
    font-size: 70px;
    font-weight: 300;
    line-height: 1;
}

.tech_reason_head_text {
    color: #333;
    font-size: 40px;
    font-weight: 300;
}

.tech_reason_lead {
    color: #333;
    font-family: var(--sans);
    font-size: 18px;
    font-weight: 300;
    line-height: 2;
    text-align: center;
    margin-bottom: 142px;
}

.tech_reason_item {
    position: relative;
    max-width: 1140px;
    width: calc(100% - 80px);
    margin: 0 auto 146px;
    background-color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: flex-start;
    gap: 68px;
    padding: 0 40px 65px;
}

.tech_reason_item:last-child {
    margin-bottom: 0;
}

.tech_reason_item-reverse {
    flex-direction: row-reverse;
}

.tech_reason_photo {
    flex: 0 0 57.55%;
    margin-top: -50px;
}

.tech_reason_photo img {
    aspect-ratio: 610 / 430;
    object-fit: cover;
}

.tech_reason_body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 56px;
    margin-top: -82px;
}

.tech_reason_badge {
    position: relative;
    width: 165px;
    height: 165px;
    border-radius: 50%;
    background-color: var(--tech-gold);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-shrink: 0;
}

.tech_reason_badge::before {
    content: "";
    position: absolute;
    inset: -7px;
    border: 1px solid var(--tech-gold);
    border-radius: 50%;
}

.tech_reason_badge_num {
    font-size: 64px;
    font-weight: 300;
    line-height: 1;
}

.tech_reason_badge_en {
    font-size: 19px;
    font-weight: 300;
    line-height: 1;
}

.tech_reason_title {
    color: #444;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
}

.tech_reason_text {
    color: #44474e;
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 300;
    line-height: 2;
    letter-spacing: 0.03em;
}

/* 理由01のみ: 2行タイトル + 症例ブロックを内包 */
.tech_reason_item:nth-child(1) {
    flex-wrap: wrap;
    row-gap: 0;
    padding-bottom: 51px;
}

.tech_reason_item:nth-child(1) .tech_reason_title {
    line-height: 1.6;
}

/* 当院の症例（before/after） */
.tech_reason_case {
    width: 100%;
    max-width: 974px;
    margin: 65px auto 0;
    border: 1px solid rgba(155, 132, 76, 0.7);
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 29px 20px 29px 113px;
}

.tech_reason_case_head {
    flex-shrink: 0;
    width: 208px;
    margin-right: 78px;
}

.tech_reason_case_title {
    color: #b5a57e;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 16px;
}

.tech_reason_case_text {
    color: #000;
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 300;
    line-height: normal;
}

.tech_reason_case_flow {
    display: flex;
    align-items: center;
    gap: 15px;
}

.tech_reason_case_photo {
    position: relative;
    width: 194px;
    flex-shrink: 0;
}

.tech_reason_case_photo img {
    width: 100%;
    aspect-ratio: 194 / 113;
    object-fit: cover;
}

.tech_reason_case_label {
    position: absolute;
    top: 0;
    right: 0;
    width: 104px;
    height: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--sans);
    font-size: 13px;
    letter-spacing: 0.04em;
    line-height: 1;
}

.tech_reason_case_label-before {
    background-color: rgba(255, 255, 255, 0.8);
    color: #666;
    font-weight: 400;
}

.tech_reason_case_label-after {
    background-color: rgba(183, 167, 128, 0.8);
    color: #fff;
    font-weight: 500;
}

.tech_reason_case_arrow {
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 21px 0 21px 20px;
    border-color: transparent transparent transparent #b2995f;
}

@media (max-width: 1279px) {
    .tech_reason_item {
        gap: 40px;
        padding: 0 24px 40px;
    }

    .tech_reason_lead {
        width: calc(100% - 48px);
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 100px;
    }

    .tech_reason_case {
        flex-wrap: wrap;
        justify-content: center;
        gap: 24px;
        padding: 24px;
    }

    .tech_reason_case_head {
        margin-right: 0;
        width: 100%;
        text-align: center;
    }

    .tech_reason_photo {
        flex: 0 0 48%;
    }

    .tech_reason_body {
        gap: 32px;
        margin-top: 32px;
    }

    .tech_reason_badge {
        width: 110px;
        height: 110px;
    }

    .tech_reason_badge_num {
        font-size: 42px;
    }

    .tech_reason_badge_en {
        font-size: 13px;
    }

    .tech_reason_title {
        font-size: 26px;
    }
}

@media (max-width: 767px) {
    .tech_reason {
        background-image: url("/recruit/assets/img/technician/reason-bg-sp.webp");
        padding: 76px 0 86px;
    }

    .tech_reason_head {
        margin-bottom: 42px;
    }

    .tech_reason_lead {
        font-size: 16px;
        text-align: justify;
        width: calc(100% - 65px);
        margin-bottom: 213px;
    }

    .tech_reason_head_sub {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .tech_reason_head_num {
        font-size: 47px;
    }

    .tech_reason_head_text {
        font-size: 32px;
    }

    /* カードは左右交互にずらして配置（1,3=左寄せ / 2=右寄せ） */
    .tech_reason_item,
    .tech_reason_item-reverse {
        flex-direction: column;
        width: calc(100% - 33px);
        gap: 0;
        padding: 0 0 80px;
    }

    .tech_reason_item {
        margin: 0 33px 126px 0;
    }

    .tech_reason_item-reverse {
        margin: 0 0 162px 33px;
        padding-bottom: 60px;
    }

    .tech_reason_item:last-child {
        margin-bottom: 0;
    }

    .tech_reason_photo {
        flex: none;
    }

    .tech_reason_item:nth-child(1) .tech_reason_photo {
        width: calc(100% - 32px);
        margin: -144px 0 0 32px;
    }

    .tech_reason_item:nth-child(2) .tech_reason_photo {
        width: calc(100% - 22px);
        margin: -30px 0 0 -12px;
    }

    .tech_reason_item:nth-child(3) .tech_reason_photo {
        width: calc(100% - 34px);
        margin: -90px 0 0 34px;
    }

    .tech_reason_photo img {
        width: 100%;
        aspect-ratio: 325 / 214;
        border-radius: 0;
    }

    .tech_reason_item:nth-child(2) .tech_reason_photo img {
        aspect-ratio: 336 / 214;
    }

    .tech_reason_item:nth-child(3) .tech_reason_photo img {
        aspect-ratio: 323 / 214;
    }

    /* 本文はカードのずれ分を打ち消して画面中央に揃える */
    .tech_reason_body {
        width: 100%;
        gap: 32px;
        margin-top: 0;
    }

    .tech_reason_item:nth-child(1) .tech_reason_body,
    .tech_reason_item:nth-child(3) .tech_reason_body {
        padding-left: 33px;
    }

    .tech_reason_item:nth-child(2) .tech_reason_body {
        padding-right: 33px;
    }

    /* バッジは写真の下辺に食い込ませる */
    .tech_reason_item:nth-child(1) .tech_reason_badge {
        margin-top: -41px;
        margin-bottom: -5px;
    }

    .tech_reason_item:nth-child(2) .tech_reason_badge {
        margin-top: -19px;
        margin-bottom: -17px;
    }

    .tech_reason_item:nth-child(3) .tech_reason_badge {
        margin-top: -47px;
        margin-bottom: -18px;
    }

    .tech_reason_badge {
        width: 83px;
        height: 83px;
        gap: 5px;
    }

    .tech_reason_badge::before {
        inset: -4px;
    }

    .tech_reason_badge_num {
        font-size: 37px;
    }

    .tech_reason_badge_en {
        font-size: 12px;
    }

    .tech_reason_title {
        font-size: 22px;
        line-height: 1.2;
    }

    .tech_reason_text {
        font-size: 14px;
        text-align: justify;
        padding: 0 15px;
    }

    /* 理由01: 症例ブロック（SPは縦並び・画面中央基準） */
    .tech_reason_item:nth-child(1) {
        padding-bottom: 40px;
        margin-bottom: 77px; /* カード2写真との間隔をFigma実測47px（写真はみ出し30px込み）に */
    }

    .tech_reason_item:nth-child(1) .tech_reason_title {
        line-height: 1.2;
    }

    .tech_reason_case {
        flex-direction: column;
        align-items: center;
        max-width: 281px;
        margin: 59px auto 0;
        /* カードは右に33pxずれているため、画面中央に補正 */
        margin-left: calc((100% + 33px - 281px) / 2);
        gap: 0;
        padding: 15px 12px 34px;
    }

    .tech_reason_case_head {
        width: 100%;
        text-align: center;
        margin-right: 0;
    }

    .tech_reason_case_title {
        margin-bottom: 10px;
    }

    .tech_reason_case_flow {
        flex-direction: column;
        gap: 18px;
        margin-top: 17px;
    }

    .tech_reason_case_photo {
        width: 145px;
    }

    .tech_reason_case_label {
        width: 77px;
        height: 17px;
        font-size: 10px;
    }

    .tech_reason_case_arrow {
        border-width: 20px 18.5px 0 18.5px;
        border-color: #b2995f transparent transparent transparent;
    }
}

/* ------------------------------------------------------------
   RECRUIT（募集要項）
------------------------------------------------------------ */
.tech_recruit {
    background-image: url("/recruit/assets/img/technician/bg-pattern.png");
    background-size: 12px 12px;
    background-repeat: repeat;
    padding: 88px 0 128px;
}

.tech_recruit_head {
    text-align: center;
    margin-bottom: 95px;
}

.tech_recruit_en {
    color: #e5dfdf;
    opacity: 0.7;
    font-size: 128px;
    font-weight: 400;
    letter-spacing: 0.12em;
    line-height: 1;
    margin-bottom: -12px;
}

.tech_recruit_title {
    position: relative;
    color: #333;
    font-size: 40px;
    font-weight: 300;
    line-height: 1.4;
}

.tech_recruit_table {
    max-width: 1140px;
    width: calc(100% - 80px);
    margin: 0 auto;
    background-color: #fff;
}

.tech_recruit_row {
    display: flex;
    align-items: center;
    border-top: 1px solid var(--tech-line);
    padding: 57px 40px 57px 0;
}

.tech_recruit_row dt {
    flex: 0 0 270px;
    text-align: center;
    color: var(--tech-navy);
    font-family: var(--sans);
    font-size: 18px;
    font-weight: 300;
    line-height: 2;
}

.tech_recruit_row dd {
    flex: 1;
    color: #1b1c1c;
    font-family: var(--sans);
    font-size: 18px;
    font-weight: 300;
    line-height: 2;
    padding-left: 19px;
}

.tech_recruit_salary_detail {
    font-size: 16px;
}

@media (max-width: 767px) {
    .tech_recruit {
        padding: 73px 0 91px;
    }

    .tech_recruit_head {
        margin-bottom: 96px;
    }

    .tech_recruit_en {
        font-size: 64px;
        margin-bottom: -4px;
    }

    .tech_recruit_title {
        font-size: 32px;
    }

    .tech_recruit_table {
        width: calc(100% - 50px);
        padding: 0 8px 16px;
    }

    .tech_recruit_row {
        flex-direction: column;
        gap: 24px;
        padding: 48px 0 0;
        margin-bottom: 48px;
        align-items: center;
    }

    .tech_recruit_row:last-child {
        margin-bottom: 0;
    }

    .tech_recruit_row dt {
        flex: none;
        font-size: 17px;
        line-height: 2;
    }

    .tech_recruit_row dd {
        font-size: 14px;
        line-height: 1.8;
        text-align: center;
        padding-left: 0;
    }

    .tech_recruit_row-salary dd {
        text-align: left;
    }

    .tech_recruit_salary_detail {
        font-size: 14px;
    }
}

/* ------------------------------------------------------------
   CTA
------------------------------------------------------------ */
.tech_cta {
    background-color: #f5f3f3;
    padding: 103px 0 120px;
}

.tech_cta_inner {
    max-width: 1216px;
    width: calc(100% - 48px);
    margin: 0 auto;
}

.tech_cta_photo {
    position: relative;
    z-index: 1;
    margin-bottom: -53px;
}

.tech_cta_photo img {
    width: 100%;
    aspect-ratio: 1216 / 378;
    object-fit: cover;
    border: 1px solid var(--tech-line);
}

.tech_cta_box {
    max-width: 1140px;
    margin: 0 auto;
    background-color: #fff;
    text-align: center;
    padding: 90px 40px 97px;
}

.tech_cta_title {
    color: var(--tech-navy);
    font-size: 36px;
    font-weight: 400;
    line-height: 2;
    margin-bottom: 22px;
}

.tech_cta_text {
    color: #44474e;
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 300;
    line-height: 2;
    letter-spacing: 0.03em;
}

@media (max-width: 1279px) {
    .tech_cta_box {
        padding: 96px 32px 80px;
    }

    .tech_cta_title {
        font-size: 30px;
    }
}

@media (max-width: 767px) {
    .tech_cta {
        padding: 70px 0 82px;
    }

    .tech_cta_inner {
        width: calc(100% - 65px);
    }

    .tech_cta_photo {
        width: 86.7%;
        margin: 0 auto -116px;
    }

    .tech_cta_photo img {
        aspect-ratio: 281 / 160;
    }

    .tech_cta_box {
        padding: 160px 20px 114px;
    }

    .tech_cta_title {
        font-size: 24px;
        line-height: 1.4;
        margin-bottom: 40px;
    }

    .tech_cta_text {
        font-size: 14px;
        text-align: justify;
    }
}
