/* ===================================
   新卒採用社員の声から見るマルニックス
   デザイン：サイト全体と統一
=================================== */

:root {
    --primary-blue: #0077b6;
    --accent-blue: #0096c7;
    --dark-navy: #0f172a;
    --text-main: #334155;
    --text-sub: #64748b;
    --border-light: #e2e8f0;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
}

/* CSS Custom Property for animation */
@property --donut-progress {
    syntax: '<percentage>';
    initial-value: 0%;
    inherits: false;
}

/* -----------------------------------
   共通・ユーティリティ
----------------------------------- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* -----------------------------------
   Main要素の最初の子要素にマージン
----------------------------------- */
.survey-page > section:first-child {
    margin-top: 80px !important;
}

/* -----------------------------------
   ページヒーロー（ページ固有スタイル）
----------------------------------- */
.page-hero-survey {
    margin-top: 80px !important;
}

.page-hero-survey .page-hero-bg img {
    object-position: center center;
}

/* -----------------------------------
   イントロダクション
----------------------------------- */
.section-intro {
    padding: 80px 0;
    background: var(--bg-white);
    text-align: center;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
}

.intro-stat {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 16px;
    padding: 20px 48px;
    background: var(--bg-light);
    border-radius: 8px;
}

/* 目次 */
.survey-toc {
    margin-top: 40px;
    padding: 30px 40px;
    background: #f8fafc;
    border-radius: 12px;
    text-align: left;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.survey-toc-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-blue);
    display: inline-block;
}

.survey-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 24px;
}

.survey-toc-list li {
    position: relative;
    padding-left: 20px;
}

.survey-toc-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary-blue);
    border-radius: 50%;
}

.survey-toc-list a {
    font-size: 0.875rem;
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.2s ease;
    line-height: 2;
}

.survey-toc-list a:hover {
    color: var(--primary-blue);
}

.intro-stat-number {
    font-family: var(--font-en, 'Outfit', sans-serif);
    font-size: 5rem;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1;
}

.intro-stat-label {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-navy);
}

.intro-lead-main {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 500;
    line-height: 2;
    color: var(--text-main);
    margin-bottom: 32px;
}

.intro-lead {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 500;
    line-height: 2;
    color: var(--text-main);
}

.pc-only {
    display: inline;
}

/* -----------------------------------
   セクション共通
----------------------------------- */
.survey-section {
    padding: 100px 0;
}

.section-profile {
    background: var(--bg-white);
    padding-top: 0;
}

.section-job-hunting {
    background: var(--bg-light);
}

.section-culture {
    background: var(--bg-white);
}

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

.section-number {
    font-family: var(--font-en, 'Outfit', sans-serif);
    font-size: clamp(4rem, 12vw, 6rem);
    font-weight: 900;
    color: var(--primary-blue);
    opacity: 0.06;
    line-height: 0.8;
    margin-bottom: -0.3em;
    display: block;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 900;
    color: var(--dark-navy);
    letter-spacing: 0.1em;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--primary-blue);
    margin: 20px auto 0;
}

/* -----------------------------------
   グリッド・カード
----------------------------------- */
.survey-grid {
    display: grid;
    gap: 24px;
}

.survey-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.survey-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.survey-card {
    background: var(--bg-white);
    border-radius: 8px;
    padding: 32px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
}

.section-job-hunting .survey-card {
    background: var(--bg-white);
}

.survey-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.survey-card-wide {
    grid-column: 1 / -1;
}

.survey-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 8px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-blue);
    display: inline-block;
}

.survey-card-title small {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-sub);
    margin-left: 8px;
}

.survey-card-subtitle {
    font-size: 0.875rem;
    color: var(--text-sub);
    margin-bottom: 20px;
}

.survey-card-note {
    font-size: 0.75rem;
    color: var(--text-sub);
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

/* 画像カード */
.survey-card-image {
    padding: 20px;
}

.survey-card-image-container {
    width: 100%;
}

.survey-card-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* -----------------------------------
   ドーナツチャート
----------------------------------- */
.donut-chart-container {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 16px 0;
}

.donut-chart {
    position: relative;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: conic-gradient(
        var(--primary-blue) 0% calc(var(--value1) * 1%),
        #ff9f43 calc(var(--value1) * 1%) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    --donut-progress: 0%;
    -webkit-mask-image: conic-gradient(from -90deg, #000 0% var(--donut-progress), transparent var(--donut-progress) 100%);
    mask-image: conic-gradient(from -90deg, #000 0% var(--donut-progress), transparent var(--donut-progress) 100%);
}

.survey-card.is-visible .donut-chart {
    animation: donutDraw 1.2s ease-out 0.2s forwards;
}

@keyframes donutDraw {
    0% { --donut-progress: 0%; }
    100% { --donut-progress: 100%; }
}

.donut-chart-3 {
    background: conic-gradient(
        var(--primary-blue) 0% calc(var(--value1) * 1%),
        #ff9f43 calc(var(--value1) * 1%) calc((var(--value1) + var(--value2)) * 1%),
        #94a3b8 calc((var(--value1) + var(--value2)) * 1%) 100%
    );
}

.donut-chart-5 {
    background: conic-gradient(
        var(--primary-blue) 0% calc(var(--value1) * 1%),
        #ff9f43 calc(var(--value1) * 1%) calc((var(--value1) + var(--value2)) * 1%),
        #94a3b8 calc((var(--value1) + var(--value2)) * 1%) calc((var(--value1) + var(--value2) + var(--value3)) * 1%),
        #fbbf24 calc((var(--value1) + var(--value2) + var(--value3)) * 1%) calc((var(--value1) + var(--value2) + var(--value3) + var(--value4)) * 1%),
        #0096c7 calc((var(--value1) + var(--value2) + var(--value3) + var(--value4)) * 1%) 100%
    );
}

.donut-chart-center {
    position: absolute;
    width: 90px;
    height: 90px;
    background: var(--bg-white);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.donut-total {
    font-family: var(--font-en, 'Outfit', sans-serif);
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark-navy);
    line-height: 1;
}

.donut-label {
    font-size: 0.75rem;
    color: var(--text-sub);
}

/* ドーナツチャート（大） */
.donut-chart-large .donut-chart {
    width: 180px;
    height: 180px;
}

.donut-chart-large .donut-chart-center {
    width: 100px;
    height: 100px;
}

.donut-legend {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    background: var(--bg-light);
    border-radius: 8px;
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.survey-card.is-visible .legend-item {
    opacity: 1;
    transform: translateX(0);
}

.survey-card.is-visible .legend-item:nth-child(1) { transition-delay: 0.3s; }
.survey-card.is-visible .legend-item:nth-child(2) { transition-delay: 0.4s; }
.survey-card.is-visible .legend-item:nth-child(3) { transition-delay: 0.5s; }
.survey-card.is-visible .legend-item:nth-child(4) { transition-delay: 0.6s; }
.survey-card.is-visible .legend-item:nth-child(5) { transition-delay: 0.7s; }

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    flex-shrink: 0;
    flex-shrink: 0;
}

.color-primary { background: var(--primary-blue); }
.color-secondary { background: #ff9f43; }
.color-tertiary { background: #94a3b8; }
.color-quaternary { background: #fbbf24; }
.color-quinary { background: #0096c7; }

.legend-text {
    flex: 1;
    color: var(--text-main);
    font-size: 0.875rem;
    font-weight: 500;
}

.legend-value {
    font-family: var(--font-en, 'Outfit', sans-serif);
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--dark-navy);
}

.legend-value small {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-sub);
    margin-left: 2px;
}

.legend-value {
    font-family: var(--font-en, 'Outfit', sans-serif);
    font-weight: 600;
    color: var(--dark-navy);
}

.legend-value small {
    font-weight: 400;
    color: var(--text-sub);
    margin-left: 4px;
}

/* -----------------------------------
   横棒グラフ
----------------------------------- */
.bar-chart-horizontal {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px 0;
}

.bar-chart-compact {
    gap: 14px;
}

.bar-item {
    display: grid;
    grid-template-columns: 160px 1fr 80px;
    align-items: center;
    gap: 16px;
}

.bar-label {
    font-size: 0.875rem;
    color: var(--text-main);
}

.bar-track {
    height: 24px;
    background: transparent;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    width: 0;
    transition: width 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.bar-fill-accent { background: var(--primary-blue); }
.bar-fill-1 { background: var(--primary-blue); }
.bar-fill-2 { background: var(--accent-blue); }
.bar-fill-3 { background: #48cae4; }
.bar-fill-4 { background: #ff9f43; }
.bar-fill-5 { background: #94a3b8; }
.bar-fill-6 { background: #f87171; }
.bar-fill-7 { background: #a78bfa; }

.bar-value {
    font-family: var(--font-en, 'Outfit', sans-serif);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark-navy);
    text-align: right;
}

.bar-value small {
    font-weight: 400;
    color: var(--text-sub);
}

/* -----------------------------------
   入社年度チャート
----------------------------------- */
.year-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 200px;
    padding: 20px 0;
    gap: 8px;
}

.year-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    height: 100%;
    justify-content: flex-end;
}

.year-bar {
    width: 100%;
    max-width: 48px;
    height: 0;
    background: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px 4px 0 0;
    transition: height 0.8s ease-out;
}

.year-item.is-visible .year-bar {
    height: var(--year-height);
}

.year-count {
    font-family: var(--font-en, 'Outfit', sans-serif);
    font-size: 0.9375rem;
    font-weight: 700;
    color: #fff;
}

.year-label {
    font-family: var(--font-en, 'Outfit', sans-serif);
    font-size: 0.75rem;
    color: var(--text-sub);
}

/* -----------------------------------
   ランキング
----------------------------------- */
.ranking-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 8px 0;
}

.ranking-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    background: var(--bg-light);
    border-radius: 4px;
    transition: background 0.2s ease;
}

.ranking-item:hover {
    background: #f1f5f9;
}

.ranking-badge {
    font-family: var(--font-en, 'Outfit', sans-serif);
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    padding: 4px 12px;
    border-radius: 2px;
    white-space: nowrap;
    background: var(--text-sub);
}

.ranking-1 .ranking-badge {
    background: #f59e0b;
}

.ranking-2 .ranking-badge {
    background: #94a3b8;
}

.ranking-3 .ranking-badge {
    background: #b45309;
}

.ranking-text {
    flex: 1;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-main);
}

.ranking-count {
    font-family: var(--font-en, 'Outfit', sans-serif);
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--primary-blue);
}

/* -----------------------------------
   タイプクラウド
----------------------------------- */
.type-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    padding: 16px 0;
}

.type-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: var(--primary-blue);
    color: #fff;
    border-radius: 4px;
    font-weight: 500;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.type-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 119, 182, 0.3);
}

.type-tag small {
    font-size: 0.75em;
    opacity: 0.8;
}

.type-tag-xl {
    font-size: 1.125rem;
    padding: 14px 24px;
}

.type-tag-lg {
    font-size: 1rem;
    padding: 12px 22px;
}

.type-tag-md {
    font-size: 0.9375rem;
}

.type-tag-sm {
    font-size: 0.875rem;
    background: var(--accent-blue);
}

.type-tag-xs {
    font-size: 0.8125rem;
    padding: 8px 16px;
    background: #e0f2fe;
    color: var(--primary-blue);
}

/* -----------------------------------
   セクション4: 入社の決め手
----------------------------------- */
.section-voice {
    background: var(--bg-light);
}

.voice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding-top: 10px;
}

.voice-card {
    background: var(--bg-white);
    border-radius: 8px;
    padding: 0;
    padding-top: 50px;
    margin-top: 50px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    overflow: visible;
    transition: box-shadow 0.3s ease;
    position: relative;
}

.voice-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.voice-card-header {
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
}

.voice-card-title {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #fff;
    background: var(--primary-blue);
    border-radius: 50%;
    text-align: center;
    line-height: 1.4;
    box-shadow: 0 4px 16px rgba(0, 119, 182, 0.3);
}

.voice-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 0 8px 0;
}

.voice-list li {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: var(--text-main);
    padding: 14px 20px 14px 40px;
    position: relative;
    border-bottom: 1px solid var(--border-light);
}

.voice-list li:last-child {
    border-bottom: none;
    padding-bottom: 24px;
}

.voice-list li::before {
    content: '✓';
    position: absolute;
    left: 16px;
    top: 14px;
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 0.875rem;
}

/* -----------------------------------
   吹き出しカード共通スタイル
----------------------------------- */
.bubble-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 24px;
    padding-bottom: 16px;
}

.bubble-card {
    padding: 24px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
    background: #ffffff;
}

.bubble-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.bubble-card p {
    font-size: 0.9375rem;
    line-height: 1.9;
    color: var(--text-main);
    text-align: left;
}

/* ハイライト */
.text-highlight-marker {
    background: rgba(0, 180, 216, 0.15);
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 600;
    color: #0077b6;
}

/* パターン1: 下向き吹き出し（左寄せ・しっぽ大きめ） */
.bubble-pattern-1::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 32px;
    width: 0;
    height: 0;
    border-left: 0px solid transparent;
    border-right: 20px solid transparent;
    border-top: 18px solid #ffffff;
}

/* パターン2: 下向き吹き出し（右寄せ） */
.bubble-pattern-2::after {
    content: '';
    position: absolute;
    bottom: -16px;
    right: 32px;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 0px solid transparent;
    border-top: 18px solid #ffffff;
}

/* パターン3: 丸みのある吹き出し（左下にしっぽ） */
.bubble-pattern-3 {
    border-radius: 24px;
}

.bubble-pattern-3::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 24px;
    width: 20px;
    height: 20px;
    background: #ffffff;
    border-radius: 0 0 20px 0;
    clip-path: polygon(0 0, 100% 0, 0 100%);
}

/* パターン4: シンプル吹き出し */
.bubble-pattern-4 {
    border-radius: 20px;
}

.bubble-pattern-4::after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 40px;
    width: 0;
    height: 0;
    border-left: 0px solid transparent;
    border-right: 18px solid transparent;
    border-top: 16px solid #ffffff;
}

/* パターン5: 引用符付き吹き出し */
.bubble-pattern-5 {
    padding: 32px 24px 24px 32px;
    border-radius: 24px;
}

.bubble-pattern-5::before {
    content: '"';
    position: absolute;
    top: 8px;
    left: 16px;
    font-size: 3rem;
    color: var(--primary-blue);
    opacity: 0.25;
    font-family: Georgia, serif;
    line-height: 1;
}

.bubble-pattern-5::after {
    content: '';
    position: absolute;
    bottom: -14px;
    right: 40px;
    width: 0;
    height: 0;
    border-left: 18px solid transparent;
    border-right: 0px solid transparent;
    border-top: 16px solid #ffffff;
}

/* ダーク背景用 */
.section-student-message .bubble-card {
    background: #ffffff;
}

.section-student-message .bubble-pattern-5::before {
    opacity: 0.35;
}

/* -----------------------------------
   セクション5: 入社前後のイメージの変化
----------------------------------- */
.section-change {
    background: var(--bg-white);
}

.section-change .bubble-grid {
    padding-bottom: 20px;
}

/* -----------------------------------
   セクション6: 職場の雰囲気（会話形式）
----------------------------------- */
.section-atmosphere {
    background: var(--bg-light);
}

.conversation-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.conversation-row {
    display: flex;
    width: 100%;
}

.conversation-bubble {
    max-width: 70%;
    padding: 20px 24px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    position: relative;
}

.conversation-bubble p {
    font-size: 0.9375rem;
    line-height: 1.9;
    color: var(--text-main);
}

/* 左からの吹き出し */
.conversation-left {
    margin-right: auto;
    border-bottom-left-radius: 4px;
}

.conversation-left::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -10px;
    width: 0;
    height: 0;
    border-right: 12px solid #ffffff;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

/* 右からの吹き出し */
.conversation-right {
    margin-left: auto;
    border-bottom-right-radius: 4px;
    background: #e8f4fc;
}

.conversation-right::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: -10px;
    width: 0;
    height: 0;
    border-left: 12px solid #e8f4fc;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

/* -----------------------------------
   セクション7: 仕事を通じて成長したこと
----------------------------------- */
.section-growth {
    background: var(--bg-white);
}

.growth-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.growth-card {
    background: var(--bg-white);
    border-radius: 8px;
    padding: 0;
    overflow: visible;
    transition: box-shadow 0.3s ease;
    position: relative;
    margin-top: 24px;
}

.growth-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.growth-card-title {
    position: relative;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0;
    padding: 14px 20px 14px 56px;
    background: var(--primary-blue);
    border-radius: 8px 8px 0 0;
}

.growth-card-title::before {
    content: '✓';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: #fff;
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
}

.growth-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
}

.growth-list li {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: var(--text-main);
    padding: 12px 20px 12px 40px;
    position: relative;
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-white);
}

.growth-list li:last-child {
    border-bottom: none;
}

.growth-list li::before {
    content: '✓';
    position: absolute;
    left: 16px;
    top: 14px;
    color: var(--primary-blue);
    font-size: 0.875rem;
    font-weight: 700;
}

/* -----------------------------------
   セクション8: 当社の課題
----------------------------------- */
.section-challenge {
    background: var(--bg-light);
}

.challenge-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.challenge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    text-align: center;
    padding: 20px 16px;
    background: linear-gradient(135deg, #0077b6 0%, #0096c7 100%);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.challenge-item:hover {
    transform: translateY(-4px);
}

.challenge-number {
    font-family: var(--font-en, 'Outfit', sans-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-blue);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    margin-bottom: 12px;
}

.challenge-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.challenge-item p {
    font-size: 0.8125rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

/* -----------------------------------
   セクション9: 今後、挑戦したいこと
----------------------------------- */
.section-future {
    background: var(--primary-blue);
    position: relative;
    overflow: hidden;
}

.section-future .section-number {
    color: #fff;
    opacity: 0.15;
}

.section-future .section-title {
    color: #fff;
}

.section-future .section-title::after {
    background: #fff;
}

.future-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-en, 'Outfit', sans-serif);
    font-size: clamp(80px, 15vw, 200px);
    font-weight: 900;
    color: #fff;
    opacity: 0.08;
    letter-spacing: 0.05em;
    white-space: nowrap;
    pointer-events: none;
}

.future-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.future-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.future-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.future-card p {
    font-size: 0.9375rem;
    line-height: 2.2;
    color: var(--text-main);
}

.keyword-badge {
    display: inline;
    background: var(--primary-blue);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1rem;
}

/* -----------------------------------
   セクション10: 学生の皆さんへのメッセージ
----------------------------------- */
.section-student-message {
    background: linear-gradient(180deg, #e8f4fc 0%, #f0f7fb 100%);
    position: relative;
    overflow: hidden;
}

.section-student-message::before {
    content: 'MESSAGE';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-en, 'Outfit', sans-serif);
    font-size: clamp(8rem, 20vw, 16rem);
    font-weight: 900;
    color: var(--primary-blue);
    opacity: 0.04;
    white-space: nowrap;
    pointer-events: none;
}

.message-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(120px, auto);
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto;
}

.message-card {
    background: #fff;
    padding: 28px 24px;
    position: relative;
    display: flex;
    align-items: center;
    box-shadow: 
        4px 4px 0 rgba(0, 119, 182, 0.15),
        8px 8px 20px rgba(0, 0, 0, 0.1);
}

/* 各カードのグリッド配置 */
.message-card:nth-child(1) {
    grid-column: span 4;
}

.message-card:nth-child(2) {
    grid-column: span 2;
    grid-row: span 2;
}

.message-card:nth-child(3) {
    grid-column: span 2;
}

.message-card:nth-child(4) {
    grid-column: span 2;
}

.message-card:nth-child(5) {
    grid-column: span 6;
}

.message-card::before {
    content: '"';
    position: absolute;
    top: 12px;
    left: 18px;
    font-family: Georgia, serif;
    font-size: 2.5rem;
    line-height: 1;
    color: var(--primary-blue);
    opacity: 0.3;
}

.message-card p {
    font-family: 'Zen Kurenaido', sans-serif;
    font-size: 1.0625rem;
    line-height: 1.9;
    color: var(--text-main);
    padding-left: 16px;
}

/* メッセージ強調スタイル */
.msg-highlight {
    color: var(--primary-blue);
    font-weight: 600;
}

.msg-quote {
    color: var(--primary-blue);
    font-weight: 600;
}

.msg-large {
    display: block;
    margin-top: 20px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-align: center;
    letter-spacing: 0.1em;
}

.message-closing {
    font-family: 'Zen Kurenaido', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin-top: 60px;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 50px 24px;
    letter-spacing: 0.15em;
    background: linear-gradient(135deg, #0077b6 0%, #0096c7 100%);
}

/* インタビューカルーセル */
.interview-slider-section {
    margin-top: 60px;
}

.interview-slider-section .section-header {
    margin-bottom: 40px;
}

.interview-slider-section .section-number {
    font-size: clamp(2rem, 6vw, 3rem);
}

.carousel {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
}

.carousel-btn {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--primary-blue);
    background: #fff;
    color: var(--primary-blue);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--primary-blue);
    color: #fff;
}

.carousel-container {
    flex: 1;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}

.carousel-card {
    flex: 0 0 220px;
    display: block;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel-card:hover {
    transform: translateY(-6px);
}

.carousel-card-image {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.carousel-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.4s ease;
}

.carousel-card:hover .carousel-card-image img {
    transform: scale(1.05);
}

.carousel-card-band {
    position: absolute;
    right: 16px;
    top: 0;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1.5;
    background: var(--primary-blue);
    padding: 10px 6px;
}

.carousel-card-body {
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.carousel-card-dept {
    font-size: 0.6875rem;
    color: #fff;
    background: var(--primary-blue);
    padding: 4px 8px;
    border-radius: 3px;
    font-weight: 600;
}

.carousel-card-year {
    font-size: 0.6875rem;
    color: var(--text-sub);
}

/* -----------------------------------
   ページ内ナビゲーション
----------------------------------- */
.page-nav {
    position: fixed;
    right: 8px;
    bottom: 30px;
    z-index: 998;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 6px 4px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    max-width: 200px;
}

.page-nav.is-visible {
    opacity: 1;
    visibility: visible;
}

.page-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.page-nav-list::-webkit-scrollbar {
    display: none;
}

.page-nav-link {
    display: block;
    padding: 6px 8px;
    font-size: 0.75rem;
    color: var(--text-sub);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
    position: relative;
    white-space: nowrap;
}

.page-nav-label {
    font-size: 10px;
    font-weight: 500;
    line-height: 1.4;
    color: inherit;
}

.page-nav-link:hover {
    background: rgba(0, 119, 182, 0.08);
    color: var(--primary-blue);
}

.page-nav-link.is-active {
    color: #fff;
    background: var(--primary-blue);
}

.page-nav-link.is-active:hover {
    background: var(--accent-blue);
}

.page-nav-link.is-active .page-nav-label {
    color: #fff;
}

/* -----------------------------------
   メッセージセクション
----------------------------------- */
.survey-message {
    background: var(--dark-navy);
    padding: 80px 0;
    position: relative;
}

.survey-message::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0, 119, 182, 0.3) 0%, transparent 100%);
    pointer-events: none;
}

.survey-message-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.survey-message-content {
    text-align: center;
}

.survey-message-text {
    font-size: 1.25rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 8px;
}

.text-highlight {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: #ffffff;
    margin-top: 8px;
    letter-spacing: 0.05em;
}

.survey-message-features {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 48px;
}

.message-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 32px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    min-width: 160px;
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-blue);
    border-radius: 8px;
    color: #fff;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-text {
    font-size: 0.9375rem;
    color: #fff;
    font-weight: 600;
}

/* -----------------------------------
   インタビューCTA
----------------------------------- */
.survey-cta-interview {
    padding: 80px 0;
    background: var(--bg-light);
    text-align: center;
}

.cta-interview-title {
    margin-bottom: 16px;
}

.cta-interview-title .title-en {
    display: block;
    font-family: var(--font-en, 'Outfit', sans-serif);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: 0.3em;
    margin-bottom: 8px;
}

.cta-interview-title .title-ja {
    display: block;
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--dark-navy);
}

.cta-interview-lead {
    font-size: 1rem;
    color: var(--text-sub);
    margin-bottom: 32px;
}

.btn-interview-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-blue);
    color: #fff;
    padding: 16px 40px;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-interview-link:hover {
    background: var(--accent-blue);
    transform: translateY(-2px);
}

.btn-interview-link svg {
    transition: transform 0.2s ease;
}

.btn-interview-link:hover svg {
    transform: translateX(4px);
}

/* -----------------------------------
   CTA
----------------------------------- */
.survey-cta {
    background: var(--dark-navy);
    padding: 60px 0;
}

.survey-cta-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.survey-cta-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.survey-cta-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
}

.survey-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ff6b35;
    color: #fff;
    padding: 16px 48px;
    border-radius: 4px;
    font-family: var(--font-en, 'Outfit', sans-serif);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    transition: background 0.3s ease, transform 0.2s ease;
}

.survey-cta-btn:hover {
    background: #f97316;
    transform: translateY(-2px);
}

.survey-cta-btn svg {
    transition: transform 0.2s ease;
}

.survey-cta-btn:hover svg {
    transform: translateX(4px);
}

/* -----------------------------------
   レスポンシブ
----------------------------------- */
@media (max-width: 1024px) {
    .survey-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .survey-grid-3 .survey-card:last-child {
        grid-column: 1 / -1;
    }
    
    .bar-item {
        grid-template-columns: 140px 1fr 70px;
    }
    
    .donut-chart-container {
        flex-direction: column;
        text-align: center;
    }
    
    .voice-grid,
    .bubble-grid,
    .growth-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    
    .section-intro {
        padding: 60px 0;
    }
    
    .intro-stat {
        padding: 12px 28px;
        margin-bottom: 24px;
    }
    
    .intro-stat-number {
        font-size: 2.5rem;
    }
    
    .intro-stat-label {
        font-size: 1rem;
    }
    
    .survey-toc {
        margin-top: 30px;
        padding: 20px;
    }
    
    .survey-toc-list {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    
    .survey-toc-list a {
        font-size: 0.8125rem;
        line-height: 1.8;
    }
    
    .intro-lead {
        font-size: 1rem;
    }
    
    .pc-only {
        display: none;
    }
    
    .survey-section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-number {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .survey-grid-2,
    .survey-grid-3 {
        grid-template-columns: 1fr;
    }
    
    .survey-grid-3 .survey-card:last-child {
        grid-column: 1;
    }
    
    .survey-card {
        padding: 20px 16px;
    }
    
    .survey-card-title {
        font-size: 1rem;
    }
    
    .bar-item {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    
    .bar-label {
        font-size: 0.8125rem;
    }
    
    .bar-track {
        height: 18px;
    }
    
    .bar-value {
        text-align: left;
        font-size: 0.75rem;
    }
    
    .year-chart {
        height: 140px;
        overflow-x: visible;
        padding-bottom: 12px;
        gap: 2px;
    }
    
    .year-item {
        min-width: 25px;
        flex: 1;
    }
    
    .year-bar {
        max-width: 25px;
    }
    
    .year-label {
        font-size: 0.625rem;
    }
    
    .ranking-item {
        padding: 12px 14px;
    }
    
    .type-tag {
        padding: 8px 16px;
    }
    
    .type-tag-xl {
        font-size: 1rem;
        padding: 12px 20px;
    }
    
    .survey-message {
        padding: 60px 0;
    }
    
    .survey-message-text {
        font-size: 1rem;
    }
    
    .text-highlight {
        font-size: 1.5rem;
    }
    
    .survey-message-features {
        gap: 16px;
        margin-top: 32px;
    }
    
    .message-feature {
        padding: 20px 24px;
        min-width: 140px;
    }
    
    .feature-icon {
        width: 48px;
        height: 48px;
    }
    
    .feature-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .survey-cta-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .survey-page .container {
        padding: 0 16px;
    }
    
    /* 新セクションのレスポンシブ */
    .voice-grid,
    .bubble-grid,
    .growth-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .voice-card-header,
    .growth-card-title {
        padding: 14px 52px;
    }
    
    .voice-list {
        margin-top: var(--space-sm);
    }
    
    .voice-list li,
    .growth-list li {
        padding: 12px 16px 12px 32px;
    }
    
    .voice-list li::before {
        left: 14px;
    }
    
    .growth-list li::before {
        left: 12px;
    }
    
    .conversation-bubble {
        max-width: 85%;
        padding: 16px 18px;
    }
    
    .bubble-card {
        padding: 20px 16px;
    }
    
    .future-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .future-card {
        padding: 20px 16px;
    }
    
    .message-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .message-card:nth-child(1),
    .message-card:nth-child(2),
    .message-card:nth-child(3),
    .message-card:nth-child(4),
    .message-card:nth-child(5) {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .message-card {
        padding: 24px 20px;
    }
    
    .message-card::before {
        font-size: 2.5rem;
        top: 10px;
        left: 14px;
    }
    
    .message-card p {
        font-size: 0.875rem;
        line-height: 1.9;
        padding-left: 14px;
    }
    
    .msg-large {
        font-size: 1rem;
    }

    .bubble-card::after {
        left: 24px;
        bottom: -8px;
        border-left-width: 8px;
        border-right-width: 8px;
        border-top-width: 8px;
    }
    
    .challenge-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .challenge-item {
        padding: 16px;
    }
    
    .challenge-number {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
        margin-bottom: 12px;
    }
    
    .challenge-item p {
        font-size: 0.8125rem;
    }
    
    .donut-chart {
        width: 120px;
        height: 120px;
    }
    
    .donut-chart-center {
        width: 70px;
        height: 70px;
    }
    
    .donut-chart-center .value {
        font-size: 1.25rem;
    }
    
    .donut-chart-large .donut-chart {
        width: 140px;
        height: 140px;
    }
    
    .donut-chart-large .donut-chart-center {
        width: 80px;
        height: 80px;
    }
    
    .donut-legend-item {
        font-size: 0.75rem;
    }
}

/* -----------------------------------
   アニメーション
----------------------------------- */
.survey-card,
.section-header,
.bar-item,
.year-item,
.ranking-item,
.type-tag {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.survey-card.is-visible,
.section-header.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.survey-card:nth-child(1).is-visible { transition-delay: 0s; }
.survey-card:nth-child(2).is-visible { transition-delay: 0.1s; }
.survey-card:nth-child(3).is-visible { transition-delay: 0.15s; }
.survey-card:nth-child(4).is-visible { transition-delay: 0.2s; }
.survey-card:nth-child(5).is-visible { transition-delay: 0.25s; }

.bar-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.bar-item:nth-child(1).is-visible { transition-delay: 0.1s; }
.bar-item:nth-child(2).is-visible { transition-delay: 0.2s; }
.bar-item:nth-child(3).is-visible { transition-delay: 0.3s; }
.bar-item:nth-child(4).is-visible { transition-delay: 0.4s; }
.bar-item:nth-child(5).is-visible { transition-delay: 0.5s; }
.bar-item:nth-child(6).is-visible { transition-delay: 0.6s; }
.bar-item:nth-child(7).is-visible { transition-delay: 0.7s; }

.bar-item.is-visible .bar-fill {
    width: var(--bar-width);
    transition-delay: inherit;
}

.year-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.year-item:nth-child(1).is-visible { transition-delay: 0.1s; }
.year-item:nth-child(2).is-visible { transition-delay: 0.15s; }
.year-item:nth-child(3).is-visible { transition-delay: 0.2s; }
.year-item:nth-child(4).is-visible { transition-delay: 0.25s; }
.year-item:nth-child(5).is-visible { transition-delay: 0.3s; }
.year-item:nth-child(6).is-visible { transition-delay: 0.35s; }
.year-item:nth-child(7).is-visible { transition-delay: 0.4s; }
.year-item:nth-child(8).is-visible { transition-delay: 0.45s; }
.year-item:nth-child(9).is-visible { transition-delay: 0.5s; }
.year-item:nth-child(10).is-visible { transition-delay: 0.55s; }

.year-item.is-visible .year-bar {
    transition-delay: inherit;
}

.ranking-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.ranking-item:nth-child(1).is-visible { transition-delay: 0.05s; }
.ranking-item:nth-child(2).is-visible { transition-delay: 0.1s; }
.ranking-item:nth-child(3).is-visible { transition-delay: 0.15s; }
.ranking-item:nth-child(4).is-visible { transition-delay: 0.2s; }
.ranking-item:nth-child(5).is-visible { transition-delay: 0.25s; }
.ranking-item:nth-child(6).is-visible { transition-delay: 0.3s; }

.type-tag.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.type-tag:nth-child(1).is-visible { transition-delay: 0.05s; }
.type-tag:nth-child(2).is-visible { transition-delay: 0.1s; }
.type-tag:nth-child(3).is-visible { transition-delay: 0.15s; }
.type-tag:nth-child(4).is-visible { transition-delay: 0.2s; }
.type-tag:nth-child(5).is-visible { transition-delay: 0.25s; }
.type-tag:nth-child(6).is-visible { transition-delay: 0.3s; }
.type-tag:nth-child(7).is-visible { transition-delay: 0.35s; }
.type-tag:nth-child(8).is-visible { transition-delay: 0.4s; }
.type-tag:nth-child(9).is-visible { transition-delay: 0.45s; }

/* ヒーロー・イントロアニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content-inner.animate-on-scroll,
.section-intro .animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.hero-content-inner.animate-on-scroll.is-visible,
.section-intro .animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* PC: トグルボタン非表示 */
.page-nav-toggle {
    display: none;
}

/* モバイル対応：ページ内ナビゲーション */
@media (max-width: 768px) {
    .page-nav {
        right: 10px;
        bottom: 70px;
        padding: 0;
        max-width: none;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
    }
    
    .page-nav-toggle {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 12px 16px;
        background: var(--primary-blue);
        color: #fff;
        border: none;
        border-radius: 50px;
        font-size: 0.75rem;
        font-weight: 700;
        cursor: pointer;
        box-shadow: 0 4px 20px rgba(0, 119, 182, 0.4);
        transition: all 0.3s ease;
    }
    
    .page-nav-toggle:hover {
        background: var(--accent-blue);
        transform: scale(1.05);
    }
    
    .page-nav-toggle-icon {
        width: 16px;
        height: 16px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 6h16M4 12h16M4 18h16'/%3E%3C/svg%3E");
        background-size: contain;
        background-repeat: no-repeat;
    }
    
    .page-nav.is-open .page-nav-toggle-icon {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M6 18L18 6M6 6l12 12'/%3E%3C/svg%3E");
    }
    
    .page-nav-list {
        position: absolute;
        bottom: 100%;
        right: 0;
        margin-bottom: 10px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        border-radius: 12px;
        padding: 8px;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        min-width: 200px;
    }
    
    .page-nav.is-open .page-nav-list {
        max-height: 400px;
        overflow-y: auto;
        opacity: 1;
        visibility: visible;
    }
    
    .page-nav-link {
        padding: 10px 12px;
        border-radius: 8px;
    }
    
    .page-nav-label {
        font-size: 0.8125rem;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
