@charset "UTF-8";

/* ==========================================================================
   Recruit Page Variables & Base
   ========================================================================== */
:root {
    --color-blue: #2B547E;
    --color-yellow: #FFFF99;
    --color-yellow-icon: #ffe600;
    --color-cta-bg: #3C6E91;
    --color-text: #333;
    --w-content: 1120px;
    --color-light-blue: #2B547E;
    --gx-max-width: 1128px;
    --gx-active-scale: 1.15;
    --gx-inactive-scale: 0.9;
    --gx-inactive-opacity: 0.4;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

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

.l-inner {
    max-width: var(--w-content);
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
    width: 100%;
}

@media screen and (max-width: 768px) {
    .l-inner {
        padding: 0 1.5rem;
    }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.p-recruit-hero {
    width: 100%;
    height: 55vh;
    min-height: 400px;
    position: relative;
}

.p-recruit-hero__img {
    width: 100%;
    height: 100%;
    margin: 0;
}

@media screen and (max-width: 768px) {
    .p-recruit-hero {
        height: 40vh;
        min-height: 250px;
    }
}

/* ==========================================================================
   Title
   ========================================================================== */
.p-recruit-title {
    margin: 6rem auto 13rem;
    text-align: center;
}

.p-recruit-title__head {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 1.5rem;
    line-height: 1;
}

.p-recruit-title__head .en {
    font-size: 4.2rem;
    color: var(--color-blue);
    font-weight: bold;
    letter-spacing: 0.1em;
}

.p-recruit-title__head .ja {
    font-size: 1.4rem;
    color: var(--color-blue);
    font-weight: bold;
    letter-spacing: 0.05em;
    position: relative;
    top: -2px;
}

@media screen and (max-width: 768px) {
    .p-recruit-title {
        margin: 4rem auto 4rem;
    }
    .p-recruit-title__head .en {
        font-size: 3rem;
    }
    .p-recruit-title__head .ja {
        font-size: 1.1rem;
    }
}

/* ==========================================================================
   Intro Section
   ========================================================================== */
.p-recruit-intro {
    margin-bottom: 8rem;
    position: relative;
}

.p-recruit-intro__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 2rem 0;
}

.p-recruit-intro__text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    z-index: 2;
    position: relative;
}

.p-recruit-intro__head {
    font-size: 2.4rem;
    margin-bottom: 3rem;
    font-weight: 500;
    letter-spacing: 0.3em;
}

.p-recruit-intro__desc {
    font-size: 1.6rem;
    line-height: 2.2;
    margin-bottom: 2.5rem;
    text-align: justify;
    text-align-last: center;
}

.p-recruit-intro__img {
    position: absolute;
    width: 200px;
    z-index: 1;
}
.p-recruit-intro__img.-left { top: -50px; left: 0; }
.p-recruit-intro__img.-right { bottom: -50px; right: 0; }

@media screen and (max-width: 768px) {
    .p-recruit-intro {margin-bottom: 10rem;}
    .p-recruit-intro__head { font-size: 2rem; }
    .p-recruit-intro__desc {
        text-align: left;
        text-align-last: left;
        font-size: 1.4rem;
    }
    .p-recruit-intro__desc br { display: none; }
    .p-recruit-intro__img { width: 120px; opacity: 1; pointer-events: none;}
    .p-recruit-intro__img.-left { top: -140px; left: -10px; }
    .p-recruit-intro__img.-right {bottom: -70px;right: -10px;}
}

/* ==========================================================================
   Environment Section
   ========================================================================== */
.p-recruit-env {
    background-color: var(--color-yellow);
    padding: 13rem 0;
}

.p-recruit-secTitle {
    font-size: 3rem;
    margin-bottom: 7rem;
    letter-spacing: 0.1em;
    color: var(--color-text);
    text-align: center;
}

.p-recruit-env__list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.p-recruit-env__item {
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #000;
    padding-bottom: 15px;
    height: 63px;
}

.p-recruit-env__icon {
    width: 22rem;
    height: auto;
}

@media screen and (max-width: 768px) {
    .p-recruit-env { padding: 6rem 0; }
    .p-recruit-env__icon { width: 15rem; }
}


/* ==========================================================================
   People Detail Styles
   ========================================================================== */
.p-recruit-detail-title {text-align: center;margin: 8rem auto 13rem;}
.p-recruit-detail-title__head { font-size: 3.2rem; font-weight: bold; letter-spacing: 0.15em; }

.p-member-interview { margin-bottom: 12rem; }

/* Profile Header: バッジを画像に対して垂直中央へ */
.p-member-interview__header {
    display: flex;
    justify-content: flex-end;
    position: relative;
    margin-bottom: 10rem;
    align-items: center; /* 垂直中央揃え */
}

/* Profile Badge: SVG背景を優先し位置を中央に固定 */
.p-member-interview__badge {
    position: absolute;
    left: 0;
    top: 50%; /* 画像の中央 */
    transform: translateY(-50%);
    background: url('../img/recruit/badge_bg.svg') no-repeat left center / contain;
    background-color: transparent !important;
    border-radius: 0 !important;
    color: #fff;
    padding: 3.5rem 5rem 3.5rem 4rem;
    z-index: 2;
    min-width: 340px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.p-member-interview__badge .role {
    display: block;
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 0.8rem;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

.p-member-interview__badge .year {
    display: block;
    font-size: 1.8rem;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

/* Main Image */
.p-member-interview__main-img {
    width: 65%;
    margin: 0;
    position: relative;
}

.p-member-interview__main-img img {
    width: 100%;
    height: auto;
}

/* Interview Contents */
.p-member-interview__content {margin: 0 auto;}
.p-member-interview__block { margin-bottom: 8rem; }
.p-member-interview__border { border: none; border-top: 1px solid #e0e0e0; margin: 8rem 0; }

/* 見出し：半円のデザインは修正済み状態をそのまま適用 */
.p-member-interview__q {
    font-size: 2.4rem;
    font-weight: bold;
    position: relative;
    padding-left: 5.5rem;
    margin-bottom: 3.5rem;
    letter-spacing: 0.5em;
}
.p-member-interview__q::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 50px;
    background-color: #ffe600;
    border-radius: 0 24px 24px 0;
}

.p-member-interview__lead {
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.9;
    margin-bottom: 3rem;
    color: var(--color-text);
    letter-spacing: 0.4em;
}

.p-member-interview__a {
    font-size: 1.6rem;
    line-height: 2.4;
    text-align: justify;
}

.p-member-interview__block.-flex { display: flex; gap: 6rem; align-items: flex-start; }
.p-member-interview__sub-img { width: 48%; margin: 0; flex-shrink: 0; }
.p-member-interview__text { flex: 1; }

/* Slider Section (Other Members) */
.p-other-members {margin: 12rem 0 35rem;}
.p-other-members__title { text-align: center; font-size: 2.6rem; font-weight: bold; margin-bottom: 8rem; }

/* CTA Section */
.p-recruit-cta {
    background-color: var(--color-cta-bg);
    color: #fff;
    padding: 10rem 0;
    text-align: center;
}

.p-recruit-cta__title { font-size: 2.6rem; font-weight: bold; margin-bottom: 2.5rem; letter-spacing: 0.1em; }
.p-recruit-cta__text { font-size: 1.6rem; margin-bottom: 5rem; line-height: 2.0; opacity: 0.9; }
.p-recruit-cta__btns { display: flex; justify-content: center; gap: 2rem; }

.c-btn-recruit {
    display: inline-flex; align-items: center; justify-content: center;
    width: 320px; height: 68px; background: #fff; color: var(--color-cta-bg);
    border-radius: 34px; text-decoration: none; font-weight: bold; font-size: 1.8rem;
    transition: transform 0.3s;
}
.c-btn-recruit:hover { transform: translateY(-3px); }

/* ==========================================================================
   Responsive (SP)
   ========================================================================== */
@media screen and (max-width: 768px) {
    .p-recruit-title__head .en { font-size: 3.8rem; }
    .p-member-interview__header { flex-direction: column-reverse; align-items: flex-start; }
    .p-member-interview__main-img { width: 100%; }
    .p-member-interview__main-img img { box-shadow: 1.5rem 1.5rem 0 #f8f8f8; }
    .p-member-interview__badge {
        position: relative;
        left: 0;
        top: -3.5rem;
        transform: none;
        width: 72%;
        padding: 2.5rem;
        min-width: auto;
        background-size: cover;
    }
    .p-member-interview__block.-flex { flex-direction: column; gap: 4rem; }
    .p-member-interview__sub-img { width: 100%; }
    .p-member-interview__lead { font-size: 1.9rem; letter-spacing: 0.1em; }
    .p-recruit-cta__btns { flex-direction: column; align-items: center; }
    .p-member-interview__header {
    margin-bottom: 3rem;
}
}


/* ==========================================================================
   Member Schedule Section
   ========================================================================== */
.p-member-schedule {
    padding: 8rem 0;
    background-color: #fff;
}

.p-member-schedule__content {
    display: flex;
    gap: 5%;
    margin-top: 5rem;
    align-items: flex-start;
}

/* タイムラインの縦線 */
.p-member-schedule__timeline {
    flex: 1;
    position: relative;
    padding-left: 2rem;
}

.p-member-schedule__timeline::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #ccc; /* 縦線の色 */
}

/* 各アイテムのレイアウト */
.p-member-schedule__item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 4rem;
    position: relative;
}

/* タイムライン上の点（任意で追加する場合） */
.p-member-schedule__item::before {
    content: "";
    position: absolute;
    left: -24px;
    top: 15px;
    width: 10px;
    height: 10px;
    background-color: #fff;
    border: 2px solid #ccc;
    border-radius: 50%;
    z-index: 2;
}

/* 時間表示（グレーのボックス） */
.p-member-schedule__time {
    background-color: #707070;
    color: #fff;
    font-size: 1.8rem;
    font-weight: bold;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    min-width: 100px;
    text-align: center;
    margin-right: 3rem;
    letter-spacing: 0.1em;
}

.p-member-schedule__event {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.p-member-schedule__desc {
    font-size: 1.4rem;
    line-height: 1.6;
    color: #666;
}

/* 右側画像エリア */
.p-member-schedule__images {
    width: 35%;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.p-member-schedule__img {
    margin: 0;
    width: 100%;
}

.p-member-schedule__img img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* レスポンシブ対応 */
@media screen and (max-width: 960px) {
    .p-member-schedule__content {
        flex-direction: column;
    }
    .p-member-schedule__images {
        width: 100%;
        flex-direction: column;
        margin-top: 5rem;
        overflow-x: auto; /* スマホで画像が多い場合横スクロール */
    }
    .p-member-schedule__img {
        width: 300px;
        flex-shrink: 0;
    }
    .p-member-schedule {
    padding: 0;
}
}

@media screen and (max-width: 768px) {
    .p-member-schedule__item {
        flex-direction: column;
        gap: 1rem;
    }
    .p-member-schedule__time {
        margin-right: 0;
    }
}

/* ==========================================================================
   Recruit Requirements Section (募集要項)
   ========================================================================== */
.p-recruit-requirements {
    padding: 8rem 0 12rem;
    background-color: #fff;
}

/* テーブルライクな定義リスト */
.p-recruit-requirements__list {
    width: 100%;
    border-top: 1px solid #ddd;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    margin-bottom: 6rem;
}

.p-recruit-requirements__row {
    display: flex;
    border-bottom: 1px solid #ddd;
}

/* 左側：項目名（黄色） */
.p-recruit-requirements__term {
    width: 25%;
    background-color: var(--color-yellow); /* #FFFF99 */
    padding: 2.5rem 2rem;
    font-weight: bold;
    font-size: 1.6rem;
    display: flex;
    align-items: center; /* 上下中央 */
    border-right: 1px solid #ddd;
    box-sizing: border-box;
}

/* 右側：内容（白） */
.p-recruit-requirements__desc {
    width: 75%;
    background-color: #fff;
    padding: 2.5rem 3rem;
    font-size: 1.6rem;
    line-height: 2;
    box-sizing: border-box;
}

/* ボタンエリア */
.p-recruit-requirements__btn-wrap {
    text-align: center;
    margin-top: 6rem;
}

/* 塗りつぶしボタン用修飾クラス */
.c-btn-recruit.-fill {
    background-color: var(--color-cta-bg); /* #3C6E91 */
    color: #fff;
}
.c-btn-recruit.-fill:hover {
    opacity: 0.9;
    transform: translateY(-3px);
}

/* レスポンシブ (SP) */
@media screen and (max-width: 768px) {
    .p-recruit-requirements {
        padding: 3rem 0;
    }
    
    .p-recruit-requirements__row {
        flex-direction: column;
    }

    .p-recruit-requirements__term {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #ddd;
        padding: 1.5rem 2rem;
    }

    .p-recruit-requirements__desc {
        width: 100%;
        padding: 2rem;
    }
    .p-recruit-detail-title {
    margin: 6rem auto 9rem;
}
}

/* ==========================================================================
   Recruit Page Title (募集要項ページのタイトル帯)
   ========================================================================== */
.p-recruit-page-title {
    background-color: var(--color-yellow); /* 黄色背景 */
    padding: 8rem 0; /* 上下の余白 */
    text-align: center;
    margin-bottom: 4rem; /* パンくずリストとの間隔 */
}

.p-recruit-page-title__head {
    font-size: 3.2rem;
    font-weight: bold;
    letter-spacing: 0.2em;
    color: var(--color-text);
}

/* レスポンシブ (SP) */
@media screen and (max-width: 768px) {
    .p-recruit-page-title {
        padding: 5rem 0;
        margin-bottom: 3rem;
    }
    .p-recruit-page-title__head {
        font-size: 2.4rem;
    }
}



/* ==========================================================================
   共通・アニメーション
   ========================================================================== */


.js-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}

.js-fade.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Hero & Title Overlap (修正ポイント3)
   ========================================================================== */
.p-recruit-hero {
    width: 100%;
    height: 60vh;
    min-height: 400px;
    margin-bottom: 0px; /* タイトルと近づける */
}

.p-recruit-title {
    margin-bottom: 10rem;
    position: relative;
    z-index: 10;
}

.p-recruit-title__contents {
    position: relative;
    display: inline-block;
    width: 100%;
}

.p-recruit-title__head {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 1.5rem;
    padding-top: 4rem;
}

/* タイトル横の画像 */
.p-recruit-title__decorate {
    position: absolute;
    top: -220px; /* ヒーロー画像に被せる */
    right: 0;
    width: 200px;
    margin: 0;
}

.p-recruit-title__decorate img {
    width: 100%;
    object-fit: cover;
}

@media screen and (max-width: 768px) {
    .p-recruit-title__decorate {
        width: 120px;
        top: -140px;
    }
}

/* ==========================================================================
   Environment (修正ポイント1: グリッド化)
   ========================================================================== */
.p-recruit-env {
    background-color: var(--color-yellow);
    padding: 8rem 0;
}

.p-recruit-env__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* PC: 3列 */
    gap: 4rem 2rem;
    list-style: none;
    padding: 0;
}

.p-recruit-env__item {
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #333;
    padding-bottom: 1.5rem;
}

.p-recruit-env__item img {
    width: 100%;
    max-width: 220px;
}

@media screen and (max-width: 768px) {
    .p-recruit-env__list {
        grid-template-columns: repeat(2, 1fr); /* スマホ: 2列 */
        gap: 3rem 1.5rem;
    }
}

.p-recruit-voice{
    padding: 13rem 0;

}
@media screen and (max-width: 768px) {
.p-recruit-voice{
    padding: 8rem 0;

}
}

/* --- スライダー外枠：3枚表示を維持 --- */
.gx-slider-outer {
    width: 100%;
    max-width: var(--gx-max-width);
    margin: 0 auto;
    position: relative;
    overflow: hidden; /* PCで4枚目をカット */
}

/* --- Swiper本体：浮き上がる余白を確保 --- */
.gx-main-carousel {
    padding: 60px 0 100px !important;
    overflow: visible !important;
}

/* --- カード全体のリンク：ここを滑らかに浮かせる --- */
.gx-carousel-unit a {
    display: block;
    text-decoration: none;
    color: inherit;
    background: transparent !important;
    
    /* 滑らかさの肝：ベジェ曲線で高級感を出す */
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
                box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    
    /* ブラウザの計算を最適化 */
    will-change: transform; 
    position: relative;
    z-index: 1;
}

/* --- マウスオーバー：垂直に滑らかに浮上 --- */
.gx-carousel-unit a:hover {
    transform: translateY(-15px); /* 15px浮上 */
    z-index: 10;
}

/* --- 画像フレーム：影の出方を調整 --- */
.gx-visual-frame {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #f0f0f0;
    border-radius: 8px;
    /* transitionは親のaタグ側で制御するためここには不要 */
}

/* 画像に影をつける（ふわっと広がる影） */
.gx-carousel-unit a:hover .gx-visual-frame {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.gx-visual-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- テキスト：背景なし --- */
.gx-detail-caption {
    margin-top: 15px;
    background: transparent !important;
    padding: 0 5px;
}


/* PC: 3カラムグリッド */
.p-other-members__list {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 40px;
}

.p-other-members__card {
    flex: 1;
    text-decoration: none;
    color: #000;
    transition: opacity 0.3s;
}

.p-other-members__card:hover {
    opacity: 0.7;
}

.p-other-members__img {
    overflow: hidden;
    margin-bottom: 15px;
    background: #f0f0f0;
}

.p-other-members__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.p-other-members__info .role {
    font-weight: bold;
    font-size: 16px;
    line-height: 1.4;
}

.p-other-members__info .year {
    font-size: 14px;
    margin-top: 4px;
}

/* SP: 左画像・右テキストのリスト形式 */
@media screen and (max-width: 767px) {
    .p-other-members__list {
        flex-direction: column;
        gap: 20px;
    }

    .p-other-members__card {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .p-other-members__img {
        width: 100px; /* 画像の横幅を固定 */
        height: 100px;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .p-other-members__info .role {
        font-size: 15px;
    }
}


