@charset "utf-8";

/* ============================================
   助手・受付助手ページ（assistant）
   Figma: PC_助手・受付助手ページ(2245:1542) / SP_助手・受付助手ページ(2245:1402)
   ============================================ */

#assistant__page {
    --asst-gold: #ae8d5e;
    --asst-gold-deep: #9b844c;
    --asst-navy: #02193c;
    --asst-text: #333;
    --asst-text-sub: #44474e;
    --asst-line: #d6d6d6;
}

#assistant__page main {
    overflow: hidden;
}

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

.asst_mv img {
    width: 100%;
    height: clamp(380px, 30.94vw, 594px);
    object-fit: cover;
    object-position: center;
}

.asst_mv_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, #fff 0%, rgba(255, 255, 255, 0.85) 45%, rgba(255, 255, 255, 0) 100%);
    opacity: 0.8;
    pointer-events: none;
}

.asst_mv_text {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: max(40px, 15.3%);
    width: min(475px, 80%);
}

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

.asst_mv_title {
    font-family: var(--sans);
    font-weight: 500;
    font-size: clamp(32px, 2.5vw, 48px);
    line-height: 1.2;
    color: var(--asst-text);
    padding-bottom: 28px;
    border-bottom: 1px solid #9f9f9f;
    margin-bottom: 24px;
}

.asst_mv_lead {
    font-family: var(--sans);
    font-weight: 300;
    font-size: 18px;
    line-height: 2;
    color: var(--asst-text);
}

@media (max-width: 1279px) {
    .asst_mv_text {
        left: 40px;
    }

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

@media (max-width: 767px) {
    /* SP: 写真は390x367のデザイン画角そのまま。テキストは白パネルが写真下部に重なり、下へはみ出す（Figma準拠） */
    .asst_mv img {
        height: auto;
        aspect-ratio: 390 / 367;
        object-position: center;
    }

    .asst_mv_overlay {
        display: none;
    }

    .asst_mv_text {
        position: relative;
        top: auto;
        transform: none;
        left: auto;
        width: 88%;
        margin-top: -23.6vw; /* 92/390 */
        background-color: #fff;
        padding: 20px 24px 38px 24px;
        z-index: 1;
    }

    .asst_mv_en {
        font-size: 11px;
        margin-bottom: 14px;
    }

    .asst_mv_title {
        font-size: 18px;
        padding-bottom: 16px;
        margin-bottom: 16px;
    }

    .asst_mv_lead {
        font-size: 13px;
        line-height: 1.5;
    }
}

/* --------------------------------------------
   EDUCATION POLICY
-------------------------------------------- */
.asst_policy {
    background-image: url("/recruit/assets/img/assistant/bg-pattern.jpg");
    background-repeat: repeat;
    background-size: 12px 12px;
    padding: clamp(64px, 8.3vw, 130px) 0 clamp(64px, 8.3vw, 130px);
}

.asst_policy_inner {
    max-width: 1140px;
    width: 92%;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: clamp(40px, 5.25vw, 101px);
}

.asst_policy_text {
    flex: 1 1 44%;
}

.asst_policy_label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.05em;
    color: var(--asst-gold);
    margin-bottom: 24px;
}

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

.asst_policy_title {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(28px, 2.1vw, 40px);
    line-height: 1.5;
    color: var(--asst-text);
    margin-bottom: 40px;
}

.asst_policy_body {
    font-family: var(--sans);
    font-weight: 300;
    font-size: 18px;
    line-height: 2;
    color: var(--asst-text);
    max-width: 500px;
}

.asst_policy_photo {
    flex: 1 1 49%;
    position: relative;
    margin-top: -56px;
    margin-right: -19px; /* Figma: 写真がコンテンツ右端より19px外へ */
}

.asst_policy_photo::before {
    content: "";
    position: absolute;
    inset: 0;
    transform: translate(33px, 35px);
    background-color: #e4e2d9;
}

.asst_policy_photo img {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 559 / 410;
    object-fit: cover;
}

@media (max-width: 1279px) {
    .asst_policy_body {
        font-size: 16px;
    }

    .asst_policy_photo {
        margin-top: 0;
        margin-right: 0;
    }
}

@media (max-width: 767px) {
    .asst_policy {
        padding: 28px 0 72px; /* MV白パネルがこのセクションに食い込むぶん詰める */
    }

    .asst_policy_inner {
        flex-direction: column;
        gap: 0;
        width: 88%;
    }

    .asst_policy_label {
        margin-bottom: 12px;
    }

    .asst_policy_title {
        font-size: clamp(24px, 7.7vw, 30px);
        margin-bottom: 40px;
    }

    .asst_policy_photo {
        width: 100%;
        margin: 0 0 48px;
        order: 2;
    }

    .asst_policy_photo::before {
        transform: translate(20px, 11px);
    }

    .asst_policy_photo img {
        aspect-ratio: 342 / 223;
    }

    .asst_policy_body {
        order: 3;
        font-size: 16px;
        text-align: justify;
        max-width: none;
    }

    .asst_policy_text {
        display: contents;
    }
}

/* SP時にtext内の要素を並び替えるためのフォールバック（display:contents非対応対策は不要・主要ブラウザ対応済） */

/* --------------------------------------------
   REASON（3つの理由）
-------------------------------------------- */
.asst_reason {
    background-image: url("/recruit/assets/img/assistant/bg-reason.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: clamp(64px, 6.3vw, 120px) 0 clamp(80px, 8vw, 150px);
}

.asst_reason_head {
    text-align: center;
    margin-bottom: clamp(48px, 5.2vw, 100px);
}

.asst_reason_head h2 {
    font-family: var(--serif);
    font-weight: 300;
    color: var(--asst-text);
}

.asst_reason_head_sub {
    display: block;
    font-size: clamp(26px, 2.1vw, 40px);
    margin-bottom: 8px;
}

.asst_reason_head_main {
    display: flex;
    align-items: center;
    justify-content: center;
}

.asst_reason_head_num {
    font-size: clamp(56px, 5vw, 96px);
    line-height: 1;
    color: var(--asst-gold);
    margin-right: 8px;
}

.asst_reason_head_txt {
    font-size: clamp(26px, 2.1vw, 40px);
}

.asst_reason_list {
    max-width: 1140px;
    width: 92%;
    margin: 0 auto;
}

.asst_reason_item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 5.5%;
    margin-bottom: clamp(80px, 7.5vw, 145px);
}

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

.asst_reason_item::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50px;
    bottom: -66px;
    background-color: rgba(255, 255, 255, 0.7);
}

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

.asst_reason_photo {
    position: relative;
    z-index: 1;
    flex: 0 0 53.5%;
    margin-left: 3.2%;
}

.asst_reason_item--reverse .asst_reason_photo {
    margin-left: 0;
    margin-right: 0;
}

.asst_reason_photo img {
    width: 100%;
    aspect-ratio: 610 / 430;
    object-fit: cover;
    border-radius: 16px;
}

.asst_reason_body {
    position: relative;
    z-index: 1;
    flex: 1;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: -32px;
}

/* バッジ（丸ナンバー） */
.asst_reason_badge {
    flex: none;
    position: relative;
    width: 141px;
    height: 141px;
    border: 2px solid var(--asst-gold-deep);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.asst_reason_badge::before {
    content: "";
    position: absolute;
    inset: 5px;
    background-color: rgba(155, 132, 76, 0.7);
    border-radius: 50%;
}

.asst_reason_badge_num {
    position: relative;
    font-family: var(--serif);
    font-weight: 300;
    font-size: 56px;
    line-height: 1;
    color: #fff;
}

.asst_reason_badge_en {
    position: relative;
    font-family: var(--serif);
    font-weight: 300;
    font-size: 17px;
    line-height: 1;
    color: #fff;
}

.asst_reason_title {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(24px, 1.7vw, 32px);
    line-height: 1.6;
    text-align: center;
    color: #444;
    margin: 32px 0 28px;
}

.asst_reason_desc {
    font-family: var(--sans);
    font-weight: 300;
    font-size: 16px;
    line-height: 2;
    letter-spacing: 0.03em;
    color: var(--asst-text-sub);
    max-width: 360px;
}

@media (max-width: 767px) {
    .asst_reason_item {
        flex-direction: column;
        gap: 0;
        margin-bottom: 72px;
    }

    /* Figma: 白パネルは左右交互に画面端へ寄る（通常=左端フチなし/右33pxインセット、reverse=逆） */
    .asst_reason_item::before {
        top: 144px;
        bottom: -40px;
        left: -4.35%;
        right: 4.85%;
    }

    .asst_reason_item--reverse {
        flex-direction: column;
    }

    .asst_reason_item--reverse::before {
        left: 4.85%;
        right: -4.35%;
    }

    .asst_reason_photo {
        flex: none;
        width: 90.5%;
        margin: 0 auto;
    }

    .asst_reason_photo img {
        aspect-ratio: 325 / 214;
        border-radius: 16px;
    }

    .asst_reason_body {
        align-self: auto;
        width: 100%;
        margin-top: -42px;
    }

    .asst_reason_badge {
        width: 82px;
        height: 82px;
        border-width: 1px;
    }

    .asst_reason_badge::before {
        inset: 3px;
    }

    .asst_reason_badge_num {
        font-size: 32px;
    }

    .asst_reason_badge_en {
        font-size: 11px;
    }

    .asst_reason_title {
        font-size: 22px;
        margin: 24px 0 24px;
    }

    .asst_reason_desc {
        max-width: none;
        width: 82%;
        text-align: center;
    }
}

/* --------------------------------------------
   RECRUIT（募集要項）
-------------------------------------------- */
.asst_recruit {
    background-image: url("/recruit/assets/img/assistant/bg-pattern.jpg");
    background-repeat: repeat;
    background-size: 12px 12px;
    padding: clamp(56px, 4.6vw, 88px) 0 clamp(72px, 6.5vw, 126px);
}

.asst_recruit_en {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(56px, 6.6vw, 128px);
    line-height: 1;
    letter-spacing: 0.12em;
    text-align: center;
    color: #e5dfdf;
    opacity: 0.7;
}

.asst_recruit_title {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(28px, 2.1vw, 40px);
    text-align: center;
    color: var(--asst-text);
    margin-top: -0.4em;
    position: relative;
}

.asst_recruit_box {
    max-width: 1140px;
    width: 92%;
    margin: clamp(40px, 3.9vw, 75px) auto 0;
    background-color: #fff;
}

.asst_recruit_row {
    display: grid;
    grid-template-columns: 290px 1fr;
    align-items: center;
    border-top: 1px solid var(--asst-line);
    padding: 44px 56px 44px 0;
}

.asst_recruit_row dt {
    font-family: var(--sans);
    font-weight: 300;
    font-size: 18px;
    line-height: 2;
    text-align: center;
    color: var(--asst-navy);
}

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

@media (max-width: 1279px) {
    .asst_recruit_row {
        grid-template-columns: 180px 1fr;
        padding: 36px 32px 36px 0;
    }

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

@media (max-width: 767px) {
    .asst_recruit_box {
        width: 86%;
        padding-bottom: 24px;
    }

    .asst_recruit_row {
        display: block;
        width: calc(100% - 16px);
        margin: 0 auto;
        padding: 40px 8px;
        text-align: center;
    }

    .asst_recruit_row dt {
        font-size: 17px;
        margin-bottom: 16px;
    }

    .asst_recruit_row dd {
        font-size: 16px;
    }
}

/* --------------------------------------------
   CONTACT（まずは、お話してみませんか？）
-------------------------------------------- */
.asst_contact {
    background-color: #f5f3f3;
    padding: clamp(56px, 4.6vw, 88px) 0 clamp(64px, 6.3vw, 120px);
}

.asst_contact_inner {
    max-width: 1330px;
    width: 95%;
    margin: 0 auto;
}

.asst_contact_photos {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
}

.asst_contact_photo {
    width: 50%;
    max-width: 664px;
}

.asst_contact_photo img {
    width: 100%;
    aspect-ratio: 664 / 378;
    object-fit: cover;
}

.asst_contact_photo--second {
    margin-top: 28px;
}

.asst_contact_photo--second img {
    border: 1px solid #c5c6cf;
}

.asst_contact_card {
    position: relative;
    background-color: #fff;
    max-width: 1140px;
    margin: -52px auto 0;
    padding: clamp(96px, 6.8vw, 130px) 24px clamp(48px, 3.4vw, 64px);
    text-align: center;
}

.asst_contact_title {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(24px, 1.9vw, 36px);
    line-height: 2;
    color: var(--asst-navy);
    margin-bottom: 24px;
}

.asst_contact_text {
    font-family: var(--sans);
    font-weight: 300;
    font-size: 16px;
    line-height: 2;
    letter-spacing: 0.03em;
    color: var(--asst-text-sub);
}

@media (max-width: 767px) {
    .asst_contact_inner {
        width: 100%;
    }

    .asst_contact_photos {
        width: 72.3%;
        margin: 0 auto;
    }

    .asst_contact_photo {
        width: 100%;
        max-width: none;
    }

    .asst_contact_photo img {
        aspect-ratio: 282 / 161;
    }

    .asst_contact_card {
        width: 83%;
        margin-top: -109px; /* Figma: 写真が白カードに109px重なる */
        padding: 144px 16px 56px;
    }

    .asst_contact_title {
        line-height: 1.4;
    }

    .asst_contact_text {
        text-align: justify;
        max-width: 272px;
        margin: 0 auto;
    }
}
