@charset "utf-8";

/* ============================================
   採用サイトTOP top-page.css
   Figma: 採用サイト｜TOPページ (2213:61)
   PC 2178:5 (1920) / SP 2178:272 (390) 準拠
============================================ */

#top__page {
    --top-gold: #ae8d5e;
    --top-gold2: #b2995f;
    --top-badge-gold: #9b844c;
    --top-text: #333;
    --top-beige: #f5f1ed;
    --top-marker: rgba(255, 210, 0, 0.64);
}

#top__page main {
    overflow: hidden;
}

#top__page .l {
    font-size: 1.15em;
}

#top__page .gold {
    color: var(--top-gold2);
}

#top__page .marker,
#top__page .marker-line {
    background: linear-gradient(transparent 62%, var(--top-marker) 62%, var(--top-marker) 92%, transparent 92%);
}

/* --------------------------------------------
   MV
-------------------------------------------- */
.top_mv {
    position: relative;
    width: 100%;
    height: clamp(560px, 54.85vw, 1053px);
    overflow: hidden;
}

.top_mv_slider,
.top_mv_slide {
    position: absolute;
    inset: 0;
}

.top_mv_slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.top_mv_slide-1 {
    opacity: 1;
    animation: top_mv_fade1 14s infinite;
}

.top_mv_slide-2 {
    opacity: 0;
    animation: top_mv_fade2 14s infinite;
    animation-delay: 7s;
}

@keyframes top_mv_fade1 {
    0% { opacity: 1; }
    50% { opacity: 1; }
    58% { opacity: 0; }
    92% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes top_mv_fade2 {
    0% { opacity: 0; }
    8% { opacity: 1; }
    50% { opacity: 1; }
    58% { opacity: 0; }
    100% { opacity: 0; }
}

/* 左テキスト用 白グラデ */
.top_mv_copy {
    position: absolute;
    left: 11.82%;
    top: 36.5%;
    z-index: 2;
}

.top_mv_copy::before {
    content: "";
    position: absolute;
    left: -16%;
    top: -27%;
    width: 133%;
    height: 176%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0));
    z-index: -1;
    pointer-events: none;
}

.top_mv_recruit {
    color: var(--top-gold);
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(48px, 5.83vw, 112px);
    letter-spacing: 0.1em;
    line-height: 1;
}

.top_mv_kaga {
    color: var(--top-text);
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(26px, 3.28vw, 63px);
    letter-spacing: 0.09em;
    line-height: 1.3;
    margin-top: clamp(14px, 1.77vw, 34px);
}

.top_mv_line {
    width: 100%;
    max-width: 579px;
    height: 1px;
    border: none;
    background: #9f9f9f;
    margin: clamp(12px, 1.25vw, 24px) 0;
}

.top_mv_sitename {
    color: #444;
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(16px, 1.67vw, 32px);
    line-height: 1;
}

.top_mv_lead {
    color: #444;
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(13px, 0.94vw, 18px);
    line-height: 2;
    margin-top: clamp(20px, 2.03vw, 39px);
}

/* 右上キャッチ */
.top_mv_catch {
    position: absolute;
    right: 10.3%;
    top: 72%;
    z-index: 2;
    text-align: left;
}

.top_mv_catch::before {
    content: "";
    position: absolute;
    right: -12%;
    top: -45%;
    width: 240%;
    height: 280%;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
    z-index: -1;
    pointer-events: none;
}

.top_mv_catch_jp {
    color: #444;
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(14px, 1.25vw, 24px);
    line-height: 1.6;
}

.top_mv_catch_en {
    color: var(--top-gold);
    font-family: var(--corinthia);
    font-size: clamp(20px, 1.875vw, 36px);
    line-height: 1.3;
    transform: rotate(-13deg);
    margin-top: clamp(16px, 1.6vw, 30px);
}

@media (max-width: 767px) {
    .top_mv {
        height: auto;
        aspect-ratio: 390 / 528;
    }

    .top_mv_copy {
        left: 6.1%;
        top: 59.7%;
    }

    .top_mv_copy::before {
        left: -8%;
        top: -12%;
        width: 130%;
        height: 130%;
        background: linear-gradient(to right, rgba(255, 255, 255, 0.8) 46%, rgba(255, 255, 255, 0));
    }

    .top_mv_recruit {
        font-size: 40px;
        letter-spacing: 0.1em;
    }

    .top_mv_kaga {
        font-size: 24px;
        letter-spacing: 0.09em;
        margin-top: 17px;
        line-height: 1;
    }

    .top_mv_line {
        max-width: 289px;
        margin: 12px 0;
    }

    .top_mv_sitename {
        font-size: 16px;
    }

    .top_mv_lead {
        font-size: 15px;
        line-height: 1.6;
        margin-top: 14px;
    }

    .top_mv_catch {
        right: 1%;
        top: 16%;
    }

    .top_mv_catch_jp {
        font-size: 14px;
    }

    .top_mv_catch_en {
        font-size: 20px;
        margin-top: 14px;
        margin-left: 89px;
    }
}

/* --------------------------------------------
   intro（テクスチャ背景共通）
-------------------------------------------- */
.top_intro,
.top_trust,
.top_job {
    background-image: url("/recruit/assets/img/top/bg-texture.jpg");
    background-size: 12px 12px;
    background-repeat: repeat;
}

.top_intro {
    padding: clamp(24px, 1.67vw, 32px) 5% clamp(40px, 3.33vw, 64px);
}

.top_intro_inner {
    max-width: 1140px;
    margin: 0 auto;
    text-align: center;
}

.top_intro_badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--top-gold);
    border-radius: 31px;
    background: #fff;
    color: var(--top-gold);
    font-family: var(--serif);
    font-weight: 300;
    padding: 14px 36px;
    line-height: 1.4;
}

.top_intro_badge_l {
    font-size: clamp(16px, 1.46vw, 28px);
}

.top_intro_badge_s {
    font-size: clamp(14px, 1.05vw, 20px);
}

.top_intro_badge_m {
    font-size: clamp(16px, 1.25vw, 24px);
}

.top_intro_title {
    color: var(--top-text);
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(26px, 2.5vw, 48px);
    letter-spacing: 0.08em;
    line-height: 1.6;
    margin-top: clamp(24px, 1.67vw, 32px);
}

.top_intro_line {
    width: 99px;
    height: 1px;
    border: none;
    background: var(--top-gold);
    margin: clamp(24px, 2.9vw, 56px) auto;
}

.top_intro_text {
    color: var(--top-text);
    font-family: var(--serif);
    font-weight: 300;
    font-size: 16px;
    line-height: 2;
}

@media (max-width: 767px) {
    .top_intro {
        padding: 26px 8% 48px;
    }

    .top_intro_badge {
        flex-direction: column;
        padding: 10px 24px;
        border-radius: 30px;
        width: 297px;
        max-width: 100%;
    }

    .top_intro_badge_l {
        font-size: 16px;
    }

    .top_intro_badge_s {
        font-size: 14px;
    }

    .top_intro_badge_m {
        font-size: 16px;
        display: inline;
    }

    .top_intro_badge_s,
    .top_intro_badge_m {
        display: inline;
    }

    .top_intro_title {
        font-size: 26px;
        line-height: 1.5;
        margin-top: 25px;
    }

    .top_intro_text {
        text-align: justify;
    }
}

/* --------------------------------------------
   Trust
-------------------------------------------- */
.top_trust {
    position: relative;
    padding-bottom: clamp(56px, 6.5vw, 125px);
}

.top_trust_banner {
    position: relative;
    width: 82.6%;
    max-width: 1586px;
    margin: 0 auto;
}

.top_trust_banner::before {
    content: "";
    position: absolute;
    right: -1%;
    top: 32px;
    width: 100%;
    height: 100%;
    background: #e4e2d9;
    z-index: 0;
}

.top_trust_banner_photo {
    position: relative;
    z-index: 1;
}

.top_trust_banner_photo img {
    width: 100%;
    height: clamp(200px, 26.3vw, 505px);
    object-fit: cover;
    object-position: center;
}

.top_trust_banner_en {
    position: absolute;
    right: 2.5%;
    top: clamp(4px, 0.8vw, 16px);
    z-index: 2;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(48px, 6.67vw, 128px);
    letter-spacing: 0.12em;
    line-height: 1;
}

.top_trust_body {
    max-width: 1640px;
    margin: 0 auto;
    padding: clamp(48px, 5.7vw, 110px) 5% 0;
}

.top_trust_title {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: clamp(16px, 1.7vw, 32px);
    color: var(--top-text);
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(22px, 1.77vw, 34px);
    line-height: 1.1;
    min-height: clamp(330px, 29vw, 560px);
}

.top_trust_title_col {
    writing-mode: vertical-rl;
    letter-spacing: 0.05em;
}

.top_trust_title_col:last-child {
    margin-top: clamp(36px, 3vw, 57px);
}

.top_trust_photo {
    position: absolute;
    z-index: 0;
}

.top_trust_photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.top_trust_photo-1 {
    left: 2.76%;
    top: clamp(280px, 33.75vw, 648px);
    width: clamp(280px, 40.3vw, 774px);
    aspect-ratio: 773 / 481;
}

.top_trust_photo-2 {
    right: 3.39%;
    top: clamp(420px, 44.74vw, 859px);
    width: clamp(280px, 40.3vw, 774px);
    aspect-ratio: 773 / 481;
}

.top_trust_text {
    position: relative;
    z-index: 1;
    max-width: 1140px;
    margin: clamp(40px, 4vw, 76px) auto 0;
    padding-left: clamp(0px, 10.9vw, 210px);
    color: var(--top-text);
    font-family: var(--serif);
    font-weight: 300;
    font-size: 17px;
    line-height: 2;
}

@media (max-width: 1279px) {
    .top_trust_title {
        min-height: 420px;
    }

    .top_trust_photo-1,
    .top_trust_photo-2 {
        opacity: 0.85;
    }
}

@media (max-width: 767px) {
    .top_trust {
        padding-bottom: 56px;
    }

    .top_trust_banner {
        width: 90.1%;
        margin: 0 16px 0 auto;
    }

    .top_trust_banner::before {
        right: auto;
        left: 9px;
        top: 11px;
    }

    .top_trust_banner_photo img {
        height: 200px;
    }

    .top_trust_banner_en {
        right: 2.5%;
        top: 14px;
        font-size: 64px;
        letter-spacing: 0.12em;
    }

    .top_trust_body {
        padding: 44px 8% 0;
    }

    .top_trust_title {
        font-size: 25px;
        justify-content: flex-start;
        gap: 5px;
        min-height: 513px;
    }

    /* 縦書き2列目の折返し（あり続けるために）を一段下げる */
    .top_trust_title_sp2 {
        margin-top: 37px;
    }

    .top_trust_title .l {
        font-size: 36px;
    }

    .top_trust_title_col:last-child {
        margin-top: 37px;
    }

    .top_trust_photo-1 {
        left: -19.2%;
        top: 298px;
        width: 82.3%;
    }

    .top_trust_photo-2 {
        right: auto;
        left: 21.9%;
        top: 566px;
        width: 78.2%;
    }

    .top_trust_text {
        margin-top: 40px;
        padding-left: 0;
        font-size: 16px;
        text-align: justify;
    }
}

/* --------------------------------------------
   Education
-------------------------------------------- */
.top_edu {
    position: relative;
    background-image: url("/recruit/assets/img/top/edu-bg.webp");
    background-size: cover;
    background-position: center top;
    padding: clamp(40px, 4.5vw, 86px) 5% clamp(72px, 6.3vw, 120px);
}

.top_edu_en {
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(56px, 6.67vw, 128px);
    letter-spacing: 0.12em;
    line-height: 1;
    text-align: center;
}

.top_edu_head {
    max-width: 1140px;
    margin: clamp(24px, 3.5vw, 66px) auto 0;
    text-align: center;
}

.top_edu_title {
    color: var(--top-text);
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(22px, 2.08vw, 40px);
    line-height: 1.6;
}

.top_edu_title_small {
    font-size: 0.78em;
}

.top_edu_title_univ {
    font-size: 0.6em;
}

.top_edu_lead {
    color: var(--top-text);
    font-family: var(--serif);
    font-weight: 300;
    font-size: 17px;
    line-height: 2;
    margin-top: clamp(28px, 2.1vw, 40px);
}

/* item */
.top_edu_item {
    position: relative;
    max-width: 1298px;
    margin: clamp(48px, 5.1vw, 98px) auto 0;
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: clamp(24px, 2vw, 34px) clamp(20px, 3.2vw, 62px) clamp(28px, 2.4vw, 46px);
    gap: clamp(24px, 3vw, 56px);
}

.top_edu_item-reverse {
    flex-direction: row-reverse;
    transform: translateX(calc(-1 * clamp(0px, 1.77vw, 34px)));
}

.top_edu_item:not(.top_edu_item-reverse) {
    transform: translateX(clamp(0px, 0.42vw, 8px));
}

/* fade-up併用時のtransform競合回避 */
.top_edu_item.fade-up {
    transition: opacity 0.8s ease;
}

.top_edu_item_photo {
    flex: 0 0 clamp(280px, 39.95vw, 767px);
    max-width: 767px;
    margin-top: calc(-1 * clamp(24px, 2.6vw, 50px));
}

/* 写真はカード外側へはみ出す（Figma準拠の重なり） */
.top_edu_item:not(.top_edu_item-reverse) .top_edu_item_photo {
    margin-left: calc(-1 * clamp(0px, 9.3vw, 179px));
}

.top_edu_item-reverse .top_edu_item_photo {
    margin-right: calc(-1 * clamp(0px, 8.6vw, 166px));
}

.top_edu_item_photo img {
    width: 100%;
    aspect-ratio: 767 / 508;
    object-fit: cover;
    border-radius: 32px;
}

.top_edu_item_body {
    flex: 1 1 auto;
    text-align: center;
    padding-top: clamp(0px, 0.5vw, 10px);
}

.top_edu_badge {
    position: relative;
    width: clamp(83px, 8.6vw, 165px);
    height: clamp(83px, 8.6vw, 165px);
    margin: calc(-1 * clamp(40px, 4.9vw, 94px)) auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(2px, 0.3vw, 6px);
}

.top_edu_badge::before {
    content: "";
    position: absolute;
    inset: clamp(4px, 0.6vw, 11px);
    border-radius: 50%;
    background: rgba(155, 132, 76, 0.7);
}

.top_edu_badge::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: clamp(2px, 0.16vw, 3px) solid var(--top-badge-gold);
}

.top_edu_badge_num {
    position: relative;
    z-index: 1;
    color: #fff;
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(32px, 3.33vw, 64px);
    line-height: 1;
}

.top_edu_badge_en {
    position: relative;
    z-index: 1;
    color: #fff;
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(11px, 1vw, 19px);
    line-height: 1;
}

.top_edu_item_title {
    color: var(--top-text);
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(18px, 1.46vw, 28px);
    line-height: 1.5;
    margin-top: clamp(20px, 1.8vw, 34px);
}

.top_edu_item_text {
    color: var(--top-text);
    font-family: var(--serif);
    font-weight: 300;
    font-size: 16px;
    line-height: 2;
    margin-top: clamp(16px, 1.6vw, 30px);
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

@media (max-width: 767px) {
    .top_edu {
        background-image: url("/recruit/assets/img/top/edu-bg.webp");
        padding: 32px 0 64px;
    }

    .top_edu_en {
        font-size: 64px;
        letter-spacing: 0.02em;
    }

    .top_edu_head {
        padding: 0 8%;
    }

    .top_edu_title {
        font-size: 26px;
        line-height: 1.5;
    }

    .top_edu_lead {
        font-size: 16px;
        text-align: justify;
        margin-top: 28px;
    }

    .top_edu_item,
    .top_edu_item-reverse {
        flex-direction: column;
        transform: none;
        width: 91.5%;
        margin-top: 145px;
        padding: 0 22px 32px;
        gap: 0;
    }

    /* カードは左右交互に画面端まで寄せる（Figma準拠） */
    .top_edu_item:not(.top_edu_item-reverse) {
        margin-left: 0;
        margin-right: auto;
    }

    .top_edu_item-reverse {
        margin-left: auto;
        margin-right: 0;
    }

    .top_edu_item_photo {
        flex: none;
        width: 87.2vw;
        margin: -100px 0 0;
    }

    /* 写真はカードの外側（左右）に少しはみ出す */
    .top_edu_item:not(.top_edu_item-reverse) .top_edu_item_photo {
        margin-left: 3px;
        margin-right: -30px;
    }

    .top_edu_item-reverse .top_edu_item_photo {
        margin-left: -29px;
        margin-right: 3px;
    }

    .top_edu_item:last-of-type .top_edu_item_photo {
        margin-top: -50px;
    }

    .top_edu_item_photo img {
        aspect-ratio: 340 / 240;
        border-radius: 16px;
    }

    .top_edu_item_body {
        width: 100%;
        padding-top: 0;
    }

    .top_edu_badge {
        width: 83px;
        height: 83px;
        margin-top: -42px;
        position: relative;
        z-index: 2;
    }

    .top_edu_item:not(.top_edu_item-reverse) .top_edu_badge {
        transform: translateX(16px);
    }

    .top_edu_item-reverse .top_edu_badge {
        transform: translateX(-16px);
    }

    .top_edu_badge_num {
        font-size: 37px;
    }

    .top_edu_badge_en {
        font-size: 12px;
    }

    .top_edu_item_title {
        font-size: 18px;
        margin-top: 18px;
    }

    .top_edu_item_title .l {
        font-size: 22px;
    }

    .top_edu_item_text {
        font-size: 16px;
        margin-top: 20px;
        text-align: justify;
    }
}

/* --------------------------------------------
   Job List
-------------------------------------------- */
.top_job {
    padding: clamp(56px, 7.66vw, 147px) 5% clamp(56px, 5.57vw, 107px);
}

.top_job_inner {
    max-width: 1245px;
    margin: 0 auto;
}

.top_job_head {
    text-align: center;
}

.top_job_en {
    color: rgba(68, 68, 68, 0.16);
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(56px, 6.67vw, 128px);
    line-height: 1;
    white-space: nowrap;
}

.top_job_title {
    color: #000;
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(28px, 2.08vw, 40px);
    line-height: 1;
    margin-top: clamp(20px, 2.1vw, 40px);
}

.top_job_lead {
    color: #444;
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(16px, 0.89vw, 17px);
    line-height: 2;
    margin-top: clamp(20px, 2.1vw, 40px);
}

.top_job_list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: clamp(24px, 3vw, 56px) clamp(16px, 2.4vw, 48px);
    margin-top: clamp(40px, 3.5vw, 66px);
}

.top_job_card a {
    display: block;
    position: relative;
}

.top_job_card_photo img {
    width: 100%;
    aspect-ratio: 346 / 442;
    object-fit: cover;
    display: block;
}

.top_job_card_btn {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: clamp(44px, 3.33vw, 64px);
    background: rgba(155, 132, 76, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.top_job_card a:hover .top_job_card_btn {
    background: rgba(155, 132, 76, 1);
}

.top_job_card_label {
    color: #fff;
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(18px, 1.67vw, 32px);
    letter-spacing: 0.08em;
    line-height: 1;
}

.top_job_card_arrow {
    position: absolute;
    right: clamp(10px, 1vw, 18px);
    top: 50%;
    transform: translateY(-50%);
    width: clamp(22px, 1.6vw, 31px);
    height: 11px;
    background: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 11.7' fill='none'%3E%3Cpath d='M0 10.7H31L21 0.7' stroke='white' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
    transition: transform 0.3s ease;
}

.top_job_card a:hover .top_job_card_arrow {
    transform: translateY(-50%) translateX(4px);
}

/* PC配置: 上段は 職種カード - タイトル - 職種カード、下段3枚(中央下げ) */
@media (min-width: 768px) {
    .top_job_list {
        grid-template-columns: repeat(6, 1fr);
        align-items: start;
        gap: clamp(120px, 16.25vw, 312px) clamp(16px, 2.4vw, 48px);
    }

    /* タイトルは上段と下段の間（行間ギャップ内）に配置 */
    .top_job_head_wrap { grid-column: 3 / 5; grid-row: 1 / 3; align-self: center; }
    .top_job_card-dentist { grid-column: 1 / 3; grid-row: 1; margin-left: clamp(0px, 1.93vw, 37px); }
    .top_job_card-resident { grid-column: 5 / 7; grid-row: 1; margin-right: clamp(0px, 1.4vw, 27px); justify-self: end; }
    .top_job_card-hygienist { grid-column: 1 / 3; grid-row: 2; }
    .top_job_card-assistant { grid-column: 3 / 5; grid-row: 2; margin-top: clamp(60px, 8.1vw, 156px); }
    .top_job_card-technician { grid-column: 5 / 7; grid-row: 2; justify-self: end; }

    /* タイトルは上段カードに重ならないよう中央4列のうち中央寄せ */
    .top_job_head_wrap .top_job_head {
        max-width: 640px;
        margin: 0 auto;
    }

    .top_job_card-dentist,
    .top_job_card-resident {
        width: 100%;
        max-width: 380px;
    }

    .top_job_card-hygienist,
    .top_job_card-assistant,
    .top_job_card-technician {
        width: 100%;
        max-width: 346px;
    }

    .top_job_card-dentist .top_job_card_photo img,
    .top_job_card-resident .top_job_card_photo img {
        aspect-ratio: 380 / 452;
    }

    /* 写真の背面にある白いずらし矩形（Figma準拠） */
    .top_job_card a::before {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        background: #fff;
        z-index: -1;
    }

    .top_job_card-dentist a::before { left: -16px; top: -12px; }
    .top_job_card-resident a::before { left: 24px; top: 19px; }
    .top_job_card-hygienist a::before { left: -13px; top: 14px; }
    .top_job_card-assistant a::before { left: -17px; top: 17px; }
    .top_job_card-technician a::before { left: 13px; top: 14px; }
}

@media (max-width: 767px) {
    .top_job {
        padding: 60px 8% 72px;
    }

    .top_job_en {
        font-size: 64px;
    }

    .top_job_title {
        font-size: 36px;
        margin-top: 24px;
    }

    .top_job_lead {
        font-size: 16px;
        margin-top: 24px;
    }

    .top_job_list {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 44px;
    }

    .top_job_card_photo img {
        aspect-ratio: 326 / 160;
        object-position: center;
    }

    .top_job_card_btn {
        height: 30px;
        background: rgba(155, 132, 76, 0.64);
    }

    .top_job_card_label {
        font-size: 18px;
    }

    .top_job_card_arrow {
        display: none;
    }
}

/* --------------------------------------------
   Message
-------------------------------------------- */
.top_message {
    background: #fff;
    padding: clamp(80px, 5.68vw, 109px) 5% clamp(56px, 5.2vw, 100px);
}

.top_message_inner {
    position: relative;
    max-width: 1363px;
    margin: 0 auto;
}

.top_message_bg {
    border-radius: 44px;
    overflow: hidden;
}

.top_message_bg img {
    width: 100%;
    height: clamp(560px, 38vw, 729px);
    object-fit: cover;
}

.top_message_en {
    position: absolute;
    left: clamp(24px, 5.4vw, 103px);
    top: clamp(-56px, -2.4vw, -46px);
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(48px, 6.67vw, 128px);
    letter-spacing: 0.12em;
    line-height: 1;
    z-index: 2;
    pointer-events: none;
}

.top_message_doctor {
    position: absolute;
    right: clamp(10px, 8.96vw, 172px);
    bottom: 0;
    width: clamp(220px, 29.8vw, 573px);
    z-index: 1;
}

.top_message_label {
    position: absolute;
    right: clamp(8px, 5.92vw, 114px);
    top: 0;
    height: clamp(240px, 21.5vw, 412px);
    width: clamp(48px, 4vw, 77px);
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    z-index: 2;
}

.top_message_label span {
    writing-mode: vertical-rl;
    color: var(--top-text);
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(20px, 2.08vw, 40px);
    line-height: 1;
    padding-top: clamp(10px, 1vw, 19px);
    letter-spacing: 0.05em;
}

.top_message_body {
    position: absolute;
    left: clamp(16px, 7.08vw, 136px);
    top: 50%;
    transform: translateY(-50%);
    width: min(500px, 46%);
    z-index: 2;
    padding: clamp(16px, 1.6vw, 30px);
    background: linear-gradient(to right, rgba(255, 255, 255, 0.85) 55%, rgba(255, 255, 255, 0));
}

.top_message_title {
    color: var(--top-text);
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(20px, 1.67vw, 32px);
    line-height: 1.6;
}

.top_message_text {
    color: var(--top-text);
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(15px, 0.89vw, 17px);
    line-height: 2;
    margin-top: clamp(16px, 1.6vw, 30px);
}

@media (max-width: 767px) {
    .top_message {
        padding: 0 0 48px;
    }

    .top_message_inner {
        padding-bottom: 0;
    }

    .top_message_bg {
        border-radius: 18px;
        width: 90.7%;
        margin: 0 16px 0 auto;
    }

    .top_message_bg img {
        height: 299px;
        object-position: center;
    }

    .top_message_en {
        left: 2px;
        top: 0;
        font-size: 64px;
        letter-spacing: -0.02em;
    }

    .top_message_doctor {
        position: absolute;
        right: auto;
        left: 12%;
        bottom: auto;
        top: -45px;
        width: 297px;
        max-width: 76%;
        z-index: 0;
    }

    .top_message_inner {
        margin-top: 28px;
    }

    .top_message_label {
        right: 8.5%;
        top: 0;
        height: 236px;
        width: 47px;
    }

    .top_message_label span {
        font-size: 24px;
        padding-top: 10px;
        letter-spacing: 0;
    }

    .top_message_body {
        position: relative;
        left: 0;
        top: 0;
        transform: none;
        width: 100%;
        margin-top: -64px;
        padding: 80px 8.5% 0;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 22%, #fff 40%);
    }

    .top_message_title {
        font-size: 24px;
    }

    .top_message_text {
        font-size: 16px;
        margin-top: 20px;
        text-align: justify;
    }
}

/* --------------------------------------------
   ENTRY CTA
-------------------------------------------- */
.top_cta {
    position: relative;
    background-image: url("/recruit/assets/img/top/cta-bg.webp");
    background-size: cover;
    background-position: center;
    padding: clamp(64px, 9.7vw, 186px) 5% clamp(48px, 6.67vw, 128px);
}

.top_cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
}

.top_cta_box {
    position: relative;
    z-index: 1;
    max-width: 1005px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 4px;
    text-align: center;
    padding: clamp(48px, 5.6vw, 108px) clamp(20px, 4vw, 60px);
}

.top_cta_title {
    color: #444;
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(23px, 2.08vw, 40px);
    line-height: 1.6;
}

.top_cta_text {
    color: var(--top-text);
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(16px, 0.89vw, 17px);
    line-height: 2;
    margin-top: clamp(24px, 2.1vw, 40px);
}

@media (max-width: 767px) {
    .top_cta {
        background-image: url("/recruit/assets/img/top/cta-bg-sp.webp");
        background-position: center;
        padding: 82px 8% 71px;
    }

    .top_cta::before {
        background: rgba(255, 255, 255, 0.2);
    }

    .top_cta_box {
        padding: 44px 18px;
    }

    .top_cta_title {
        font-size: 24px;
        line-height: 1.7;
    }

    .top_cta_text {
        font-size: 16px;
        margin-top: 28px;
        text-align: justify;
    }
}
