:root {
    /* Logo Colors (モダンでシックな高級スポーツブランドを意識したカラー) */
    --clr-blue: #334155;         /* 上品なスレートグレー（ボタン・タブ背景・見出しと統一） */
    --clr-red: #cc7d6a;          /* くすんだテラコッタ（温かみとモダンさ） */
    --clr-orange: #e5a982;       /* 柔らかなソフトアプリコット（親しみやすさ） */
    --clr-yellow: #e2b65c;       /* 落ち着いたゴールドベージュ */
    --clr-dark-green: #1a3a2a;

    /* Theme Colors (背景を洗練されたソフトなトーンに) */
    --clr-bg: #fafafa;           /* 清潔感のある、ほんのり温かいオフホワイト */
    --clr-bg-alt: #f1f3f5;       /* 静かで洗練されたライトグレー */
    --clr-text: #1e293b;         /* 細字でもくっきり読める上質なダークスレート（視認性と上品さの両立） */
    --clr-text-light: #1e293b;   /* 説明文・補足文も #1e293b で統一 */
    --clr-title: #334155;        /* 大見出し・太字タイトルは上品なスレートグレー（面積効果を調和） */
    --clr-slate-btn: #334155;    /* 上品なスレートグレー（ボタン通常時・選択中タブの背景） */
    --clr-white: #ffffff;
    
    /* Gradients (ギラギラ感をなくし、シックで滑らかなグラデーションに) */
    --gradient-primary: linear-gradient(135deg, var(--clr-blue), #1a202c);
    --gradient-accent: linear-gradient(135deg, var(--clr-orange), var(--clr-red));

    /* UI Elements (影をより薄く、よりフラットでシンプルに) */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.04);
    
    /* 角の丸み（大人っぽさを出すため、丸すぎず適度な丸みに微調整） */
    --radius-md: 12px;           
    --radius-lg: 20px;           
    
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); /* 上質な余韻を残す滑らかな減速 */
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', 'Zen Kaku Gothic New', sans-serif;
    background-color: var(--clr-bg);
    color: var(--clr-text);
    line-height: 1.65;
    overflow-x: hidden;
    width: 100%;
    letter-spacing: 0.03em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Visually Hidden but Crawler Accessible for SEO */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Typography */
.highlight {
    color: var(--clr-blue);
}

.text-white {
    color: var(--clr-white) !important;
}

.text-light {
    color: rgba(255, 255, 255, 0.8) !important;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header.left-align {
    text-align: left;
}

.section-title {
    font-family: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;
    font-size: 2.6rem;
    font-weight: 600;
    color: var(--clr-title);
    margin-bottom: 8px;
    position: relative;
    display: inline-block;
    letter-spacing: 0.16em; /* レターライクな広めの文字間で知的な静けさを演出 */
    margin-right: -0.16em;  /* 末尾文字の余白を打ち消し完全な幾何学的中央配置を実現 */
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.section-subtitle {
    font-size: 0.85rem;
    color: var(--clr-text-light);
    font-weight: 500;
    letter-spacing: 0.12em;
    opacity: 0.75;
}

/* --- 通常時のボタン：スレートグレーで徹底的に気配を消します --- */
.btn-primary {
    display: inline-block;
    background: var(--clr-slate-btn); /* ★ 以前の上品なスレートグレー（#334155）を復元 */
    color: var(--clr-white);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(90, 101, 120, 0.05); /* 影もスレートグレー用に極薄く */
    border: none;
    cursor: pointer;
}

/* --- ホバー時：スレートグレー（#334155）を維持し、暗転させず軽やかに浮遊 --- */
.btn-primary:hover {
    background: var(--clr-slate-btn) !important; /* ★ #334155を維持（暗転なし） */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(51, 65, 85, 0.2);
}

.btn-primary.large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* --- 通常時の送信ボタン --- */
.btn-submit {
    background: var(--clr-slate-btn); /* ★ 以前の上品なスレートグレー（#334155）を復元 */
    color: var(--clr-white);
    padding: 14px;
    border-radius: var(--radius-md);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 24px;
    width: 100%;
}

/* --- ホバー時の送信ボタン --- */
.btn-submit:hover {
    background: var(--clr-slate-btn); /* ★ #334155を維持（暗転なし） */
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}


/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--clr-blue);
    gap: 12px;
    position: relative;
    left: -1cm; /* MAD CLOVER文字の左端と垂直位置を完全に揃える */
    transition: var(--transition);
}

.logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 44px; /* ゆとりを持たせた間隔 */
}

/* メニューのリンク文字（セクション見出しと統一したクラシカルなセリフ体と上品な余白） */
.nav-menu a {
    font-family: 'Source Serif 4', Georgia, serif;
    font-weight: 500;
    font-size: 1.15rem; /* 案A: 上品さと視認性を両立した約10%拡大サイズ */
    letter-spacing: 0.1em;
    color: var(--clr-title); /* 上品なスレートグレー（#334155） */
    transition: var(--transition);
    position: relative;
    padding: 6px 0;
}

.nav-menu a:hover {
    color: var(--clr-blue); /* ホバー時は深い青へ */
}

/* ★ 新設：ホバー時に中央からスーッと伸びる極細（1px）のヘアライン線 */
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px; /* 極細 */
    background-color: var(--clr-blue);
    transition: var(--transition);
    transform: translateX(-50%);
}

/* ホバーされた時に線を100%（文字幅いっぱい）に広げます */
.nav-menu a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
}

.mobile-menu-toggle:focus-visible {
    outline: 2px solid var(--clr-blue);
    outline-offset: 4px;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 2px;
    background-color: var(--clr-title);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
background-image: url('hero-bg.webp');    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0.4) 100%);
    z-index: -1;
}

.hero-content {
    text-align: left;
    max-width: 1200px;
    width: 100%;
    padding: 0 24px;
    z-index: 1;
}

/* ==========================================================================
   Hero Typography & Brand Block（スクショの書体・シャドウ・配置を完全再現）
   ========================================================================== */
.hero-brand-block {
    position: relative;
    /* ユーザー指定：左下に1センチくらい移動 */
    left: -1cm;
    top: 1cm;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-eyebrow {
    font-family: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;
    font-size: 1.1rem; /* 0.95remから若干大きく調整 */
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--clr-blue);
    margin-bottom: 14px;
}

.hero-title {
    font-family: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;
    font-size: 4.5rem; /* 3.8remから若干大きく調整 */
    font-weight: 600;
    line-height: 1.05;
    margin-bottom: 18px;
    color: var(--clr-title);
    letter-spacing: 0.05em;
    /* スクショの浮かび上がる立体感シャドウ */
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2), 
                 0 4px 15px rgba(0, 0, 0, 0.15);
    display: block;
}

.hero-tagline {
    font-family: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;
    font-style: italic;
    font-size: 1.55rem; /* 1.35remから若干大きく調整 */
    font-weight: 400;
    color: var(--clr-blue);
    letter-spacing: 0.03em;
    opacity: 0.9;
}

/* --- 1. スクロールインジケーター（静かな呼吸アニメーション） --- */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0.6; /* わずかに薄くして存在感を一歩引かせます */
    z-index: 1;
}

.scroll-indicator span {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-indicator .arrow {
    background: var(--clr-blue);
    height: 40px;
    width: 1px !important; /* スクロール誘導線を極細にして繊細な印象に */
}

/* ★ 呼吸のようにゆっくりと沈み込んでフェードする新しいアニメーション定義 */
@keyframes silentPulse {
    0%, 100% {
        opacity: 0.3;
        transform: translateY(0) translateX(-50%);
    }
    50% {
        opacity: 0.7;
        transform: translateY(6px) translateX(-50%); /* 6pxだけ静かに沈み込ませます */
    }
}

/* 実際に上のアニメーションを適用します */
.scroll-indicator {
    animation: silentPulse 2.5s cubic-bezier(0.25, 1, 0.5, 1) infinite !important;
}

/* About Section */
.about {
    padding: 120px 0;
    background-color: var(--clr-bg);
    overflow: hidden; /* 子要素（.slide-in-rightなど）のはみ出しを防ぐ */
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--clr-text-light);
    margin-bottom: 24px;
}

.feature-list {
    margin-top: 36px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.02rem;
    font-weight: 400;
    margin-bottom: 16px;
    color: var(--clr-text);
}

.feature-list .icon {
    font-size: 1.25rem;
    color: var(--clr-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    width: auto;
    height: auto;
    border-radius: 0;
    opacity: 0.85;
}

.about-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.glass-card {
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: 420px;
}

/* ==========================================================================
   About Us Section Illustration
   ========================================================================== */
.about-logo-img {
    width: 300px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    position: relative;
    top: 85px; /* 案B：約2.5cm下に下げて全体の重心を美しく安定 */
}


/* Activity Section */
.activity {
    padding: 130px 0 140px 0;
    background-color: var(--clr-bg-alt);
    min-height: calc(100vh - 70px);
    box-sizing: border-box;
}

.activity-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.activity-card {
    background: var(--clr-white);
    padding: 34px 10px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.activity-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    border-color: rgba(45, 55, 72, 0.15);
}

.activity-cat-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
}

.activity-main-val-ja {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--clr-title);
    line-height: 1.3;
    margin-bottom: 6px;
}

.activity-main-val-en {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 1.32rem;
    font-weight: 400;
    color: var(--clr-title);
    line-height: 1.3;
    margin-bottom: 6px;
}

.activity-sub-val {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--clr-text-light);
    margin-bottom: 14px;
    display: block;
}

.activity-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.06);
    margin: 14px auto;
    width: 80%;
}

.activity-desc {
    font-size: 0.95rem;
    letter-spacing: -0.03em;
    color: var(--clr-text-light);
    line-height: 1.65;
    text-align: center;
    margin-top: auto;
    padding-top: 6px;
}

.activity-female-text {
    font-size: 0.92rem;
    font-weight: 400;
    color: var(--clr-title);
}

.activity-manager-free {
    font-size: 0.85rem;
    color: var(--clr-title);
}

/* Recruit Section (明るいライトトーン対応版にリニューアル) */
.recruit {
    padding: 120px 0;
    background: var(--clr-bg); /* 暗い青から、サイト標準のオフホワイトへ変更 */
    position: relative;
    overflow: hidden;
}

.recruit::before {
    /* 背景が明るくなったため、装飾用の円の不透明度をさらに極薄（0.015）に下げて、静かなテクスチャにします */
    background: radial-gradient(circle, rgba(45, 55, 72, 0.015) 0%, transparent 70%);
    border-radius: 50%;
    content: '';
    height: 1000px;
    position: absolute;
    right: -10%;
    top: -50%;
    width: 1000px;
}

/* 修正後（min-heightを消去し、上端だけを綺麗に揃えます） */
.recruit-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: flex-start; /* ★ 上端（始まりの高さ）を完璧に一列に揃えます */
    position: relative;
    z-index: 1;
}

/* ★ 480pxの高さ固定は削除し、以前のように文字数で自由に伸縮するように戻しました */

/* ★ フォームが閉じている時に、デスクトップでの高さを「480px」で美しく統一します */
.recruit-tabs,
.contact-form-card {
    min-height: 480px; /* 閉じている時は左右対称の高さに固定 */
}


/* 申し込みフォームのカード */
.contact-form-card {
    background: var(--clr-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md); /* 影を柔らかく */
    border: 1px solid rgba(0, 0, 0, 0.04); /* 極細のアウトライン線を追加して浮かび上がらせます */
    padding: 48px;
}

.contact-form-card h3 {
    color: var(--clr-title);
    font-size: 1.8rem;
    margin-bottom: 32px;
    text-align: center;
}

.cta-notice-text {
    color: var(--clr-text-light);
    font-size: 0.88rem;
    line-height: 1.75;
    margin-bottom: 24px;
    text-align: center;
}

.cta-line {
    display: inline-block;
    white-space: nowrap;
}

.cta-notice-sep {
    display: block;
    height: 6px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--clr-title);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background-color: #f8fafc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--clr-blue);
    background-color: var(--clr-white);
    box-shadow: 0 0 0 3px rgba(0, 86, 151, 0.1);
}

#link-privacy-inline,
#btn-close-form {
    color: var(--clr-blue);
    text-decoration: underline;
    text-decoration-color: var(--clr-blue);
    transition: opacity 0.2s ease;
}

#link-privacy-inline:hover,
#btn-close-form:hover {
    opacity: 0.8;
}

.english-support {
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
    padding-top: 24px;
    margin-top: 24px;
    text-align: left;
}

.english-support h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--clr-title);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.english-support h5 i {
    color: var(--clr-blue);
    font-size: 1.1rem;
}

.english-support p {
    font-size: 0.85rem;
    color: var(--clr-text-light);
    line-height: 1.5;
}

/* Footer (フッターを明るいオフホワイトに戻し、FAQとの境界を作ります) */
footer {
    background: var(--clr-bg); /* ★ var(--clr-bg) に変更 */
    color: var(--clr-text-light);
    padding: 60px 0 24px;
    border-top: 1px solid rgba(45, 55, 72, 0.08); /* 境界線を上品な細線に戻します */
}

.footer-content {
    display: flex;
    flex-direction: column; /* 縦一列に並べます */
    align-items: center;    /* 中央に寄せます */
    text-align: center;     /* 文字も中央揃えにします */
    margin-bottom: 48px;    /* コピーライトとの間隔 */
    gap: 16px;              /* ロゴとサブタイトルの間隔をスマートに */
}

.footer-logo h2,
.footer-logo .footer-title {
    font-family: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--clr-title);
    letter-spacing: 0.08em;
    margin: 0;
}

.footer-logo p:not(.footer-title) {
    color: var(--clr-text-light);
    font-size: 0.85rem; /* 少し小ぶりにして控えめに */
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(45, 55, 72, 0.08); /* 極細・極薄の区切り線に変更 */
    color: var(--clr-text-light);
    font-size: 0.8rem; /* 少し小さくして存在感を一歩引かせます */
}

/* ==========================================================================
   New Layout Components
   ========================================================================== */

/* About Section Stats Grid（エディトリアル・インフォグラフィックス風） */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 36px 0;
    padding: 24px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.stat-card {
    background: transparent;
    border: none;
    border-left: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0;
    padding: 4px 0 4px 20px;
    text-align: left;
    transition: var(--transition);
}

.stat-card:first-child {
    border-left: none;
    padding-left: 0;
}

.stat-card:hover {
    transform: translateY(-2px);
    background: transparent;
    box-shadow: none;
}

.stat-icon {
    display: none; /* アイコンを排し、文字・数字の美しさで魅せる */
}

.stat-val {
    font-family: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;
    font-size: 1.65rem;
    font-weight: 600;
    color: var(--clr-blue);
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.stat-val .unit {
    font-size: 0.72em;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-weight: 500;
    margin-left: 2px;
    letter-spacing: 0;
}

.stat-lbl {
    font-size: 0.8rem;
    color: var(--clr-text-light);
    margin-top: 6px;
    letter-spacing: 0.04em;
    line-height: 1.4;
}

/* Activity Details (Timeline & Things to Bring) */
.activity-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* ★修正後：左右「5対5」の完全均等に変更 */
    gap: 48px;
    margin-top: 80px;
}

.details-title {
    font-family: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;
    font-size: 1.35rem;
    color: var(--clr-title);
    font-weight: 600;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(45, 55, 72, 0.12);
    padding-bottom: 12px;
    letter-spacing: 0.04em;
}

.details-title-left {
    display: inline-flex;
    align-items: center;
    gap: calc(12px + 1cm); /* アイコンと見出し文字の間隔を+1cm拡張（約50px） */
}

.details-title-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.details-title:hover .details-title-icon {
    transform: scale(1.08);
}

/* Timeline style */
.timeline {
    position: relative;
    padding-left: 32px;
}

.timeline::before {
    /* 深い青から、下に向かって極薄グレーへと消え入るように美しくグラデーションさせます */
    background: linear-gradient(to bottom, var(--clr-blue) 0%, rgba(45, 55, 72, 0.04) 100%);
    bottom: 8px;
    content: '';
    left: 8px;
    position: absolute;
    top: 8px;
    width: 1px; /* ★ 2pxから「極細1px」に変更して繊細さを演出 */
}

.timeline-item {
    position: relative;
    margin-bottom: 28px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -29px;
    top: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--clr-white);
    border: 2px solid var(--clr-blue);
    z-index: 1;
    transition: var(--transition);
}

.timeline-item:hover::before {
    border-color: var(--clr-red); /* ★ 派手なオレンジから、上品なくすんだテラコッタへ変更 */
    transform: scale(1.2);        /* ★ タイトルと同等サイズの○に合わせて軽やかに拡大 */
}

.timeline-item .time {
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.2;
    color: var(--clr-blue);
    margin-bottom: 4px;
}

.timeline-item .event h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--clr-title); /* 上品なスレートグレーで太字の面積効果を調和 */
    margin-bottom: 4px;
}

.timeline-item .event p {
    font-size: 0.9rem;
    color: var(--clr-text-light);
    line-height: 1.5;
}

/* Things to Bring */
.belongings-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.belonging-card {
    background: var(--clr-white);
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    padding: 16px 20px;
    align-items: center;
    transition: var(--transition);
}

.belonging-card:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 86, 151, 0.1);
}

.belonging-card .b-icon {
    width: 64px;
    height: 64px;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.belonging-card:hover .b-icon {
    transform: scale(1.08) translateY(-2px);
}

.belonging-card .b-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.03));
}

.belonging-card h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--clr-title); /* 上品なスレートグレーで太字の面積効果を調和 */
    margin-bottom: 3px;
}

.belonging-card p {
    font-size: 0.85rem;
    color: var(--clr-text-light);
    line-height: 1.4;
    grid-column: 2;
}

/* Recruit Tabs style (明るい背景用の配色 ＋ 押せる感の強化) */
.recruit-tabs {
    background: var(--clr-bg-alt); /* ★ サイト標準のライトグレーに変更して引き締めます */
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.tab-buttons {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08); /* 線の不透明度を調整 */
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 24px;
    padding-bottom: 16px;
}

.tab-btn {
    background: var(--clr-white); /* ★ボタンらしさを出すため、白ベースに変更 */
    border: 1px solid rgba(0, 0, 0, 0.08); /* ★極細の枠線をつけてボタンとして認識させます */
    border-radius: var(--radius-md);
    color: var(--clr-text-light); 
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 10px 4px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm); /* ★ごく薄い影をつけて立体感をだします */
}

.tab-btn:hover {
    background: var(--clr-bg-alt);
    border-color: rgba(0, 0, 0, 0.15);
    transform: translateY(-1px); /* ★ホバー時にかすかに浮き上がらせて、ボタンであることをアピール */
    box-shadow: var(--shadow-md);
}

/* 選択中のタブボタン（通常時はスレートグレー） */
.tab-btn.active {
    background: var(--clr-slate-btn); /* ★ 以前の上品なスレートグレー（#334155）を復元 */
    border-color: var(--clr-slate-btn);
    color: var(--clr-white);
    box-shadow: var(--shadow-md);
}

/* ★ 選択中のタブホバー時：スレートグレー（#334155）を維持（暗転なし） */
.tab-btn.active:hover {
    background: var(--clr-slate-btn) !important;
    border-color: var(--clr-slate-btn) !important;
    color: var(--clr-white) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.tab-contents {
    position: relative;
}

.tab-content {
    animation: fadeIn 0.4s ease;
    color: var(--clr-text);
    display: none;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-content h4 {
    align-items: center;
    color: var(--clr-blue); /* 深い青 */
    display: flex;
    font-size: 1.25rem;
    font-weight: 800;
    gap: 8px;
    margin-bottom: 16px;
}

.tab-content p {
    color: var(--clr-text-light); /* スレートグレー */
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

/* 太字テキストのカラーをオレンジから、最も上品な「深い青」に統一します */
.tab-content strong {
    color: var(--clr-blue); /* ★深い青に統一して大人っぽさを最大化 */
}

.tab-sub-title {
    border-left: 3px solid var(--clr-blue); /* 深い青のアクセント線 */
    color: var(--clr-blue);
    font-size: 1.05rem;
    font-weight: 700;
    margin: 20px 0 10px 0;
    padding-left: 8px;
}

.tab-content ul {
    list-style: none;
    margin-bottom: 16px;
    padding-left: 0;
}

.tab-content ul li {
    color: var(--clr-text-light);
    font-size: 0.95rem;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.tab-content ul li strong {
    color: var(--clr-title); /* 太字ラベルは上品なスレートグレー */
    font-weight: 700;
}

/* 箇条書きドットを、全体の深い青に統一します */
.tab-content ul li::before {
    color: var(--clr-blue); /* ★深い青に統一 */
    opacity: 0.7;           /* ★不透明度を70%にして優しく馴染ませます */
    content: '•';
    font-size: 1.2rem;
    font-weight: bold;
    position: absolute;
    left: 6px;
    top: -2px;
}

/* Schedule Grid in Tabs */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 16px 0;
}

.schedule-item {
    background: var(--clr-white); /* ソリッドな白カード */
    border: 1px solid rgba(0, 0, 0, 0.05); /* 極細アウトライン */
    border-radius: var(--radius-md);
    color: var(--clr-text);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.schedule-item:hover {
    background: var(--clr-bg-alt);
    transform: translateY(-2px);
}

.schedule-note {
    color: var(--clr-text-light) !important;
    font-size: 0.8rem !important;
    margin-top: 12px;
}

/* Form layouts and direct contact cards */
.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Modal overlay styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: none; /* Controlled by JS */
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: fixed;
    top: 0;
    width: 100%;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--clr-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    max-width: 600px;
    overflow: hidden;
    width: 100%;
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--clr-blue);
}

.modal-close-btn {
    background: none;
    border: none;
    font-size: 1.75rem;
    color: var(--clr-text-light);
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.modal-close-btn:hover {
    color: var(--clr-red);
}

.modal-body {
    padding: 24px;
    overflow-y: auto;
    flex-grow: 1;
}

.modal-body p {
    font-size: 0.9rem;
    color: var(--clr-text-light);
    margin-bottom: 20px;
}

.confirm-table-container {
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--clr-bg-alt);
}

.confirm-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
}

.confirm-table th, 
.confirm-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
}

.confirm-table tr:last-child th,
.confirm-table tr:last-child td {
    border-bottom: none;
}

.confirm-table th {
    background: rgba(0, 86, 151, 0.03);
    color: var(--clr-blue);
    font-weight: 700;
    width: 150px;
    border-right: 1px solid #e2e8f0;
}

.confirm-table td {
    color: var(--clr-text);
    white-space: pre-wrap;
    word-break: break-all;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #e2e8f0;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 16px;
    background: var(--clr-bg-alt);
}

.btn-modal-back {
    background: #e2e8f0;
    color: var(--clr-text);
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-md);
    padding: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-modal-back:hover {
    background: #cbd5e1;
}

.btn-modal-submit {
    background: var(--clr-slate-btn);
    color: var(--clr-white);
    border: none;
    border-radius: var(--radius-md);
    padding: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.btn-modal-submit:hover {
    background: var(--clr-slate-btn);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Success Modal specific styles */
.success-content {
    max-width: 450px;
    padding: 40px 32px;
    text-align: center;
    align-items: center;
}

.success-icon {
    font-size: 4rem;
    color: var(--clr-blue);
    background: rgba(0, 86, 151, 0.05);
    width: 96px;
    height: 96px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    animation: scalePop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-content h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--clr-text);
    margin-bottom: 12px;
}

.success-content p {
    font-size: 0.95rem;
    color: var(--clr-text-light);
    line-height: 1.6;
    margin-bottom: 28px;
}

.btn-modal-close {
    background: var(--clr-slate-btn);
    color: var(--clr-white);
    border: none;
    border-radius: var(--radius-md);
    padding: 12px 40px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-modal-close:hover {
    background: var(--clr-slate-btn);
    transform: translateY(-1px);
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scalePop {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* FAQ Accordion */
.faq {
    background-color: var(--clr-bg);
    padding: 120px 0;
}

.faq-accordion-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--clr-white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}

.faq-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(51, 65, 85, 0.12);
    border-color: rgba(51, 65, 85, 0.2);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: none;
    border: none;
    text-align: left;
    font-family: inherit;
    font-size: 0.95rem; /* Aの本文サイズ（0.95rem）と完全に統一 */
    font-weight: 400;
    color: var(--clr-text);
    cursor: pointer;
    transition: var(--transition);
}

.faq-item:hover .faq-icon {
    color: var(--clr-blue);
}

.faq-question-inner {
    display: flex;
    align-items: flex-start;
    text-align: left;
    gap: 14px; /* A側の余白（14px）と統一 */
    flex: 1;
}

.faq-q-badge {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 1.3rem; /* A側のバッジサイズ（1.3rem）と完全に統一 */
    font-weight: 400;
    color: var(--clr-blue);
    flex-shrink: 0;
    line-height: 1.6;
}

.faq-question-text {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.8; /* A側の本文行間（1.8）と完全に統一 */
    padding-top: 0;
}

.faq-icon {
    font-size: 1.25rem;
    color: var(--clr-text-light);
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.active .faq-icon {
    color: var(--clr-blue);
    transform: rotate(180deg);
}

.faq-item.active .faq-question {
    color: var(--clr-blue);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.faq-answer {
    background: var(--clr-bg-alt);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-content {
    display: flex;
    align-items: flex-start;
    padding: 22px 24px 26px;
    line-height: 1.8;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--clr-text-light);
}

.faq-a-badge {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 400; /* 案3: Qと揃えて細身・繊細に */
    color: #64748b;
    margin-right: 14px;
    flex-shrink: 0;
    line-height: 1.6;
}

.faq-answer-text {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--clr-text-light);
    line-height: 1.8;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-up.visible { opacity: 1; transform: translateY(0); }

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.slide-in-left.visible { opacity: 1; transform: translateX(0); }

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.slide-in-right.visible { opacity: 1; transform: translateX(0); }

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Responsive */
@media (max-width: 992px) {
    .nav-menu ul { gap: 28px; }
    .nav-menu a { font-size: 1.05rem; }
    .about-grid, .recruit-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .hero-title { font-size: 3.9rem; }
    .section-title { font-size: 2.2rem; }
    .about-text h3 { font-size: 2rem; }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .glass-card {
        padding: 40px 24px;
        gap: 24px;
    }
    
    .activity-details-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--clr-white);
        display: flex;
        flex-direction: column;
        justify-content: center;
        transition: 0.5s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        z-index: 999;
    }
    .nav-menu.active { right: 0; }
    .nav-menu ul { 
        flex-direction: column; 
        align-items: center; 
        gap: 24px;
        width: 100%;
        padding: 0 20px;
    }
    .nav-menu li {
        width: 100%;
        text-align: center;
    }
    .nav-menu a {
        display: block;
        font-size: 1.25rem;
        padding: 10px 0;
        color: var(--clr-title);
    }
    .nav-menu a.btn-primary {
        display: inline-block;
        width: auto;
        padding: 12px 36px;
        margin-top: 8px;
        color: var(--clr-white) !important;
    }
    
    .mobile-menu-toggle { display: flex; z-index: 1000; }
    .mobile-menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    
    .logo { left: 0; }
    .hero-brand-block { left: 0; top: 0.5cm; }
    .hero-eyebrow { font-size: 0.95rem; letter-spacing: 0.16em; margin-bottom: 10px; }
    .hero-title { font-size: 3.1rem; margin-bottom: 14px; }
    .hero-tagline { font-size: 1.3rem; }
    .section-title { font-size: 1.8rem; }
    .about-text h3 { font-size: 1.6rem; }
    .stat-val { font-size: 1.4rem; font-weight: 600; }
    .stat-lbl { font-size: 0.78rem; }
    
    .contact-form-card { padding: 32px 16px; }
    .cta-notice-text {
        font-size: clamp(0.70rem, 3.2vw, 0.88rem);
        line-height: 1.7;
    }
    .footer-content { flex-direction: column; text-align: center; }
    
    .schedule-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 16px 0;
        margin: 28px 0;
    }
    
    .stat-card {
        border-left: 2px solid rgba(45, 55, 72, 0.12);
        padding: 3px 0 3px 16px;
    }
    
    .stat-card:first-child {
        border-left: 2px solid rgba(45, 55, 72, 0.12);
        padding-left: 16px;
    }
    
    .stat-val {
        font-size: 1.3rem;
        font-weight: 600;
        line-height: 1.2;
    }
    
    .stat-lbl {
        font-size: 0.75rem;
        margin-top: 3px;
    }
    
    .tab-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .form-grid-2 {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .schedule-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-eyebrow { font-size: 0.85rem; letter-spacing: 0.12em; margin-bottom: 8px; }
    .hero-title { font-size: 2.4rem; margin-bottom: 10px; }
    .hero-tagline { font-size: 1.1rem; }
    .section-title { font-size: 1.6rem; letter-spacing: 0.12em; margin-right: -0.12em; }
    .about-text h3 { font-size: 1.4rem; }
    .about-logo-img { width: 180px; height: auto; top: 0 !important; }
    .activity-cards { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}

/* ==========================================================================
   バリデーションエラー用追加スタイル
   ========================================================================== */
.input-error {
    border-color: var(--clr-red) !important;
    background-color: #fffaf9 !important; /* 入力エラー時に薄い赤背景 */
    box-shadow: 0 0 0 3px rgba(204, 125, 106, 0.1) !important;
}

.error-text {
    color: var(--clr-red);
    font-size: 0.8rem;
    font-weight: 700;
    margin-top: 6px;
    display: block;
    animation: fadeInError 0.25s ease-out;
}

@keyframes fadeInError {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   スケジュール・持ち物のセクション一括開閉（アコーディオン）- 全デバイス共通
   ========================================================================== */

/* スケジュールと持ち物の見出し（左に文字、右に回転矢印） */
.details-title {
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: space-between; /* 左右の両端にきれいに分散 */
    align-items: center;
    width: 100%;
    transition: color 0.25s ease;
}

.details-title::after {
    content: '↓';    /* 繊細な下矢印記号 */
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--clr-text-light);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.25s ease;
    margin-left: 16px;
    display: inline-block;
}

/* 開いた（is-expanded）時の矢印の回転 */
.is-expanded .details-title::after {
    transform: rotate(180deg);
    color: var(--clr-red);
}

/* ★ 復活：タイムスケジュール（タイムライン）全体の開閉制御 */
.timeline {
    max-height: 0;       /* 初期状態は高さを0に隠す */
    opacity: 0;          /* 非表示 */
    overflow: hidden;
    padding-top: 0;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1), opacity 0.3s ease;
}

/* 開いた時 */
.timeline-container.is-expanded .timeline {
    max-height: 1200px;  /* 全体が収まる十分な高さ */
    opacity: 1;
    padding-top: 24px;   /* 上に余白をあける */
    transition: max-height 0.5s cubic-bezier(0.9, 0, 0.1, 1), opacity 0.3s ease;
}

/* ★ 復活：持ち物（ビロンギングス）全体の開閉制御 */
.belongings-grid {
    max-height: 0;       /* 初期状態は非表示 */
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1), opacity 0.3s ease;
}

/* 開いた時 */
.belongings-container.is-expanded .belongings-grid {
    max-height: 1200px;  /* 全体が収まる十分な高さ */
    opacity: 1;
    margin-top: 24px;
    transition: max-height 0.5s cubic-bezier(0.9, 0, 0.1, 1), opacity 0.3s ease;
}

/* ==========================================================================
   スマホ表示（768px以下）での横揺れアニメーション防止（縦スライドへの切り替え）
   ========================================================================== */
@media (max-width: 768px) {
    /* スマホ時は横方向のtranslateXを禁止し、縦方向のtranslateYに上書きします */
    .slide-in-left, 
    .slide-in-right {
        opacity: 0;
        transform: translateY(20px) !important; /* 横ブレを防ぐため、下から上への20pxスライドに変更 */
        transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    }
    
    /* アニメーション発火時（表示された時） */
    .slide-in-left.visible, 
    .slide-in-right.visible {
        opacity: 1;
        transform: translateY(0) !important;
    }
}

/* ==========================================================================
   全デバイス共通：最上級の美しさを引き出す「引き算」デザイン調整
   ========================================================================== */

/* --- 1. テキスト選択時のハイライトカラーをチームカラーに変更 --- */
::selection {
    background-color: rgba(45, 55, 72, 0.15); /* チームのダークスレート色の薄い背景 */
    color: var(--clr-blue);
}

/* --- 2. ブラウザのスクロールバーのカスタマイズ（極細・スタイリッシュに） --- */
::-webkit-scrollbar {
    width: 8px; /* スクロールバーの横幅を細くして存在感を抑えます */
}
::-webkit-scrollbar-track {
    background: var(--clr-bg);
}
.scrolled::-webkit-scrollbar-track {
    background: var(--clr-bg-alt);
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1; /* スレートグレー of 細いバー */
    border-radius: 10px;
}
.scroll-indicator .arrow {
    width: 1px !important; /* スクロール誘導線を極細にして繊浅な印象に */
}

/* ==========================================================================
   FAQセクション全体の一括開閉（中央寄せ ＋ 大幅な省スペーススリム化）
   ========================================================================== */

/* ① FAQエリア全体の上下の広がりを半分（60px）にし、背景をライトグレーに変更 */
.faq {
    padding: 60px 0 !important;
    background-color: var(--clr-bg-alt) !important; /* ★ 追加：ライトグレー背景 */
}

.faq .section-header {
    cursor: pointer;
    user-select: none;
    transition: color 0.25s ease;
    margin-bottom: 0px; /* ★ 閉じている時は下の余白を完全にゼロにして省スペース化 */
    text-align: center;
}

/* 開いた時だけ、質問リストとの間に上品な余白を作ります */
.faq.is-expanded .section-header {
    margin-bottom: 40px;
}

/* ② 見出しのテキスト配置（中央寄せを100%維持します） */
.faq .section-header .section-title {
    display: inline-block;
    position: relative;
    text-align: center;
}

/* 中央寄せの見出しテキストのすぐ右隣に、回転する矢印を可愛らしく配置 */
.faq .section-header .section-title::after {
    content: ' ↓';
    font-size: 1.2rem;
    color: var(--clr-blue);
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.25s ease;
    margin-left: 12px;
    vertical-align: middle;
}

/* 開いた（is-expanded）時 */
.faq.is-expanded .section-header .section-title::after {
    transform: rotate(180deg);
    color: var(--clr-red);
}

/* FAQ全体のアコーディオン開閉制御 */
.faq-accordion-container {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0, 1, 0, 1), opacity 0.3s ease;
}

.faq.is-expanded .faq-accordion-container {
    max-height: 2500px;
    opacity: 1;
    transition: max-height 0.6s cubic-bezier(0.9, 0, 0.1, 1), opacity 0.3s ease;
}

/* --- 5. スマホ表示（768px以下）での微調整（レスポンシブ用のカラム数など） --- */
@media (max-width: 768px) {
    .belongings-container.is-expanded .belongings-grid {
        /* スマホ時はスッキリ見せるため2列グリッドで展開 */
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .belonging-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 16px 10px;
        justify-items: center;
    }
    .belonging-card .b-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 8px;
    }
    .belonging-card h4 {
        font-size: 0.8rem;
        font-weight: 700;
        margin-bottom: 2px;
    }
    .belonging-card p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

/* ==========================================================================
   PC表示（993px以上）での快適な閲覧サイズ設定（Web標準対応）
   ========================================================================== */
@media (min-width: 993px) {
    html {
        /* ルートフォントサイズを120%にして、文字・rem要素を以前のズーム時と同等に拡大 */
        font-size: 120%;
    }
    
    /* 以前の120%ズーム時と同じ横幅（1200px × 1.2 = 1440px）に広げ、中央への圧縮感を解消 */
    .container,
    .header-container,
    .hero-content {
        max-width: 1440px;
        padding: 0 32px;
    }
    
    /* 右側のイラストサイズを一回り小さく調整（控えめで上品なサイズへ）＆案B：約2.5cm下に調整 */
    .about-logo-img {
        width: 320px;
        position: relative;
        top: 85px;
    }
    
    /* About Usの左右グリッドの間隔にも適度なゆとりを確保 */
    .about-grid {
        gap: 80px;
    }

    /* About Usの実績・統計カード：文字量に合わせたカラム比率で「メンバーの年齢 (20〜50代)」などを1行に美しく収める */
    .stats-grid {
        grid-template-columns: 0.95fr 1.1fr 1.35fr;
    }
    .stat-card {
        white-space: nowrap;
    }

    /* 各セクションをPCの1画面（ビューポート）に美しくフィットさせる設定（背景色エリアを1画面完全に引き延ばす） */
    .about,
    .activity,
    .recruit {
        min-height: 100vh;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 80px 0;
    }
    .about > .container,
    .activity > .container,
    .recruit > .container {
        width: 100%;
    }

    .recruit .section-header.left-align {
        margin-bottom: 32px;
    }
    .recruit-tabs,
    .contact-form-card {
        min-height: 480px;
    }
    .contact-form-card {
        padding: 36px 36px;
    }
    #form-cta-container span i {
        font-size: 2.2rem;
    }
    #form-cta-container h3 {
        font-size: 1.35rem;
        margin-bottom: 12px;
    }
    #form-cta-container p {
        font-size: 0.88rem;
        line-height: 1.75;
        margin-bottom: 24px;
    }
}