/* =============================================
  先輩社員の声 (新卒 - インタビュー一覧)
   =============================================
   1. デザイントークン（CSS変数）
   2. リセット・基本スタイル
   3. コンテナ・セクション
   4. 共通コンポーネント
   5. Hero
   6. 社員インタビュー
   7. Reveal アニメーション
   ============================================= */


/* =============================================
   1. デザイントークン（CSS変数）
   ============================================= */
:root {

    /* --- カラー --- */
    --color-background:                 #FFFBF8;
    --color-surface:                    #f9f9f9;
    --color-surface-dim:                #dadada;
    --color-surface-container-lowest:   #ffffff;
    --color-surface-container-low:      #f3f3f3;
    --color-surface-container:          #3E3A39;
    --color-surface-container-high:     #e8e8e8;
    --color-surface-variant:            #e2e2e2;
    --color-inverse-surface:            #2f3131;
    --color-inverse-on-surface:         #f1f1f1;

    --color-primary:                    #F49000;
    --color-primary-container:          #F5AA00;
    --color-primary-fixed:              #ffddba;
    --color-primary-fixed-dim:          #ffb865;
    --color-on-primary:                 #ffffff;
    --color-on-primary-container:       #5e3800;

    --color-secondary:                  #5f5e5e;
    --color-secondary-container:        #e4e2e1;
    --color-on-secondary:               #ffffff;
    --color-on-secondary-container:     #656464;

    --color-tertiary-fixed:             #ffd9e2;

    --color-error:                      #ba1a1a;
    --color-on-error:                   #ffffff;

    --color-on-surface:                 #3E3A39;
    --color-on-surface-variant:         #666666;
    --color-on-background:              #3E3A39;
    --color-outline:                    #867461;
    --color-outline-variant:            #d9c3ad;

    --color-placeholder:                #FFC0CB;

    /* --- スペーシング --- */
    --spacing-gutter:           24px;
    --spacing-container-max:    1200px;
    --spacing-section-desktop:  100px;
    --spacing-section-mobile:   60px;

    /* --- ボーダー半径 --- */
    --radius-sm:     0.25rem;
    --radius-md:     0.5rem;
    --radius-lg:     0.75rem;
    --radius-xl:     1rem;
    --radius-full:   9999px;
    --radius-circle: 50%;

    /* --- シャドウ --- */
    --shadow-sm:   0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.04);
    --shadow-lg:   0 10px 15px -3px rgba(0, 0, 0, 0.1),
                   0  4px  6px -4px rgba(0, 0, 0, 0.1);

    /* --- トランジション --- */
    --transition-base:   all 0.3s ease;
    --transition-colors: background-color 0.3s ease, color 0.3s ease,
                         border-color 0.3s ease;


    --font-family: 'Noto Sans JP', sans-serif;

    /* --- タイポグラフィ --- */
    --fs-label-sm:   12px;
    --lh-label-sm:   1.4;
    --fw-label-sm:   400;

    --fs-label-bold: 14px;
    --lh-label-bold: 1.4;
    --fw-label-bold: 700;

    --fs-body-md:    16px;
    --lh-body-md:    1.8;
    --fw-body-md:    400;

    --fs-body-lg:    18px;
    --lh-body-lg:    1.8;
    --fw-body-lg:    400;

    --ls-headline-sm:        2.88px;

    --fs-headline-md:        18px;
    --lh-headline-md:        1.5;
    --fw-headline-md:        700;
    --ls-headline-md:        0.02em;

    --fs-headline-lg:        28px;
    --lh-headline-lg:        1.4;
    --fw-headline-lg:        700;
    --ls-headline-lg:        0.1em;

    --fs-headline-lg-mobile: 25px;
    --lh-headline-lg-mobile: 1.3;
    --fw-headline-lg-mobile: 700;

    --fs-headline-xl:        48px;
    --lh-headline-xl:        1.2;
    --fw-headline-xl:        700;
    --ls-headline-xl:        0.2em;
}


/* =============================================
   2. リセット・基本スタイル
   ============================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-background);
    color: var(--color-on-surface);
    font-size: var(--fs-body-md);
    line-height: var(--lh-body-md);
    font-weight: var(--fw-body-md);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* 改行ヘルパー */
.sp-br { display: none; }
.pc-br { display: inline; }

@media (max-width: 768px) {
    .pc-br { display: none; }
    .sp-br { display: inline; }
}

/* アクセントカラー */
.common_text_accent {
    color: var(--color-primary-container);
}


/* =============================================
   3. コンテナ・セクション
   ============================================= */

/* コンテナ */
.common_container {
    max-width: var(--spacing-container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--spacing-gutter);
    padding-right: var(--spacing-gutter);
    padding-top: 30px;
}

@media (max-width: 768px) {
    .common_container {
        padding-top: 20px;
    }
}

.common_container .shinsotsu_heading {
 gap: 10px;
 margin-top: 80px;
}

@media (max-width: 768px) {
    .common_container .shinsotsu_heading {
        margin-top: 0;
    }
}

/* セクション */
.common_section {
    padding-top: var(--spacing-section-mobile);
    padding-bottom: var(--spacing-section-mobile);
}



@media (min-width: 768px) {
    .common_section {
        padding-top: var(--spacing-section-desktop);
        padding-bottom: var(--spacing-section-desktop);
    }
}

/* セクションヘッダー */
.common_section_header {
    margin-bottom: 48px;
}

.common_section_title {
    font-size: var(--fs-headline-lg);
    line-height: var(--lh-headline-lg-mobile);
    font-weight: var(--fw-headline-lg);
    color: var(--color-on-surface);
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .common_section_title {
        font-size: var(--fs-headline-lg);
        line-height: var(--lh-headline-lg);
        letter-spacing: var(--ls-headline-lg);
    }
}

/* セクション区切り線 */
.common_section_divider {
    width: 48px;
    height: 4px;
    background-color: var(--color-primary);
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.common_section_desc {
    font-size: var(--fs-body-lg);
    line-height: var(--lh-body-lg);
    font-weight: bold;
    color: var(--color-on-surface);
}


/* =============================================
   5. ページ全体の背景 / Hero Section
   ============================================= */

/* ページ全体背景 */
.page_bg {
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll;
}

/* Hero */
.hero_section {
    min-height: 150px;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
    background-color: transparent;
}

.hero_copy {
    position: relative;
    z-index: 2;
    width: min(var(--spacing-container-max), 86%);
    margin: 0 auto;
    padding-top: 50px;
}

.hero_title {
    font-size: var(--keilen-fv-text-lg);
    line-height: var(--keilen-fv-line-height-lg);
    font-weight: var(--fw-headline-xl);
    letter-spacing: var(--keilen-fv-letter-spacing-lg);
    color: var(--color-on-surface);
    margin: 0 0 24px;
}

.hero_subtitle {
    font-size: var(--keilen-fv-text-md);
    letter-spacing: var(--keilen-fv-letter-spacing-md);
    line-height: var(--keilen-fv-line-height-md);
    font-weight: var(--fw-headline-md);
    color: var(--color-on-surface);
    margin-bottom: 24px;
}

.hero_lead {
    font-size: var(--keilen-fv-text-sm);
    line-height: var(--keilen-fv-line-height-sm);
    font-weight: 500;
    letter-spacing: var(--keilen-fv-letter-spacing-sm);
    color: var(--color-on-surface);
}

.hero_visual {
    position: absolute;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.hero_visual_pattern {
    width: 100%;
}

.hero_visual img {
    opacity: 0;
    transform: translateY(24px) scale(0.985);
    animation: heroFadeIn 1.15s cubic-bezier(0.22, 1, 0.36, 1) 0.22s forwards;
}

@keyframes heroFadeIn {
    0%   { opacity: 0; transform: translateY(24px) scale(0.985); }
    100% { opacity: 1; transform: translateY(0)    scale(1);     }
}

@media (prefers-reduced-motion: reduce) {
    .hero_visual img { animation: none; opacity: 1; transform: none; }
}

/* Hero モバイル */
@media (max-width: 900px) {
    .hero_section {
        min-height: unset;
        padding-top: 56px;
        display: flex;
        flex-direction: column;
    }

    .hero_copy {
        width: 84%;
        padding-top: 54px;
    }

    .hero_title {
        font-size: 35px;
        line-height: 1.9;
        margin-bottom: 12px;
        letter-spacing: var(--ls-headline-sm);
    }

    .hero_subtitle {
        font-size: 18px;
        margin-top: 30px;
        margin-bottom: 30px;
        letter-spacing: var(--ls-headline-sm);
    }

    .hero_lead {
        font-size: 14px;
        line-height: 35px;
    }

    .hero_visual {
        position: relative;
        width: 100%;
        height: 300px;
    }

    .hero_visual_pattern {
        position: absolute;
        bottom: 0;
        right: 0;
        width: 1000px;
    }
}



/* =============================================
   6. 社員インタビュー
   ============================================= */

/* グリッド */
.interview_grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 60px;
}

@media (min-width: 768px) {
    .interview_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .interview_grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* カード */
.interview_card {
    background-color: var(--color-surface-container-lowest);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--color-surface-variant);
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.interview_card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

@media (prefers-reduced-motion: reduce) {
    .interview_card:hover { transform: none; }
}

.interview_card_link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

/* 画像エリア */
.interview_card_image {
    width: 100%;
    height: 192px;
    background-color: var(--color-placeholder);
    overflow: hidden;
    flex-shrink: 0;
}

.interview_card_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.interview_card:hover .interview_card_image img {
    transform: scale(1.03);
}

/* カード本文 */
.interview_card_body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* タグ */
.interview_card_tag_wrap {
    margin-bottom: 12px;
}

.interview_card_tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    background-color: #EF952A;
    color: #ffffff;
    font-size: 14px;
    line-height: var(--lh-label-sm);
    font-weight: 500;
}

/* カードタイトル */
.interview_card_title {
    font-size: 18px;
    line-height: var(--lh-headline-md);
    font-weight: var(--fw-headline-md);
    color: var(--color-on-surface);
    margin-bottom: 16px;
    flex-grow: 1;
}

/* カードフッター */
.interview_card_footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    margin-top: auto;
}

.interview_card_name {
    font-size: var(--fs-label-bold);
    line-height: var(--lh-label-bold);
    font-weight: var(--fw-label-bold);
    color: #3e3a3987;
    letter-spacing: var(--ls-headline-lg);
}

/* カードフッター */
.interview_card_arrow {
    font-size: 18px;
    color: var(--color-primary);
    transition: transform 0.3s ease;
    user-select: none;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-circle);
    border: 1px solid #CED1D9;
    background-color: var(--color-surface-container-lowest);
    flex-shrink: 0;
}

.interview_card:hover .interview_card_arrow {
    transform: translateX(4px);
}

.desc_text {
    font-size: 16px;
    font-weight: 500;
    line-height: 2;
    letter-spacing: 0.1em;
    display: inline-block;
    margin-top: 28px;
}

@media (max-width: 900px) {
    .desc_text {
        font-size: 14px;
        line-height: 1.5;
        margin-top: 16px;
    }
}



/* =============================================
   7. Reveal アニメーション
   ============================================= */

.common_reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.common_reveal.is_visible {
    opacity: 1;
    transform: translateY(0);
}

.common_reveal_delay1 { transition-delay: 0.1s; }
.common_reveal_delay2 { transition-delay: 0.1s; }
.common_reveal_delay3 { transition-delay: 0.1s; }
.common_reveal_delay4 { transition-delay: 0.1s; }
.common_reveal_delay5 { transition-delay: 0.1s; }
.common_reveal_delay6 { transition-delay: 0.1s; }
.common_reveal_delay7 { transition-delay: 0.1s; }
.common_reveal_delay8 { transition-delay: 0.1s; }
.common_reveal_delay9 { transition-delay: 0.1s; }


@media (prefers-reduced-motion: reduce) {
    .common_reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (max-width: 900px) {
   .common_section_title {
    font-size: 25px;
   }

   .common_section_divider {
    display: none;
   }
}

/* パンくずをSPでは消す */
@media screen and (max-width: 900px) {
  .shinsotsu_breadcrumb {
    display: none;
  }
}