/* ==========================
   Base Styles & CSS Variables
========================== */
:root {
    /* Brand Colors */
    --color-navy: #002685;
    --color-sky-blue: #54C2F0;
    --color-teal: #86D6D6;
    
    /* UI Colors */
    --color-bg-light: #f4f8fb;
    --color-bg-white: #ffffff;
    --color-text-main: #2b3342;
    --color-text-light: #64748b;
    --color-border: #e2e8f0;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-sky-blue) 0%, var(--color-navy) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--color-teal) 0%, var(--color-sky-blue) 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 38, 133, 0.04);
    --shadow-md: 0 8px 16px rgba(0, 38, 133, 0.06);
    --shadow-lg: 0 16px 32px rgba(0, 38, 133, 0.08);
    --shadow-hover: 0 20px 40px rgba(0, 38, 133, 0.12);
    
    /* Header height */
    --header-height: 80px;
}

/* ==========================
   Reset & Global
========================== */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--color-text-main);
    line-height: 1.8;
    margin: 0;
    padding: 0;
    padding-top: var(--header-height);
    background-color: var(--color-bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body h1, body h2, body h3, body h4, body h5, body h6 {
    font-weight: 700;
    line-height: 1.4;
    margin-top: 0;
    color: #1a202c;
    letter-spacing: 0.02em;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

/* ==========================
   Buttons
========================== */
.btn-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 1;
}

.btn-large {
    padding: 20px 40px;
    font-size: 1.05rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-bg-white);
    border: none;
    box-shadow: 0 8px 20px rgba(0, 38, 133, 0.2);
}

.btn-primary:hover {
    box-shadow: 0 12px 24px rgba(0, 38, 133, 0.3);
    transform: translateY(-2px);
    color: var(--color-bg-white);
}

.btn-outline-gradient {
    background: linear-gradient(var(--color-bg-white), var(--color-bg-white)) padding-box,
                var(--gradient-primary) border-box;
    border: 2px solid transparent;
    color: var(--color-navy);
    box-shadow: 0 8px 20px rgba(0, 38, 133, 0.2);
    padding: 14px 30px;
    border-radius: 50px;
}

.btn-outline-gradient:hover {
    box-shadow: 0 12px 24px rgba(0, 38, 133, 0.3);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--color-border);
    background: transparent;
    color: var(--color-text-main);
    padding: 10px 20px;
    border-radius: 50px;
}

.btn-outline:hover {
    background: var(--color-bg-light);
    border-color: var(--color-text-light);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* ==========================
   Header
========================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);
    z-index: 1000;
    display: flex;
    align-items: center;
}

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

.logo { display: flex; align-items: center; }

.header-nav {
    display: flex;
    gap: 20px;
    align-items: center;
    flex: 1;
    justify-content: space-between;
    margin-left: 40px;
}

.nav-links {
    display: flex;
    gap: 20px;
    flex: 1;
    justify-content: space-evenly;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-text-main);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--color-navy); }
.nav-links a:hover::after { width: 100%; }

.header-cta { display: flex; gap: 12px; }

.header-btn-small {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-navy);
}

/* ==========================
   Hero / FV (ハイクラス・左サイドグラス仕様・フェードエッジ)
========================== */
.hero {
    position: relative;
    min-height: 60vh; /* 高さを抑えてスッキリと */
    display: flex;
    align-items: center;
    overflow: hidden;
    background-image: url('image/fv.png');
    background-size: cover;
    background-position: right center;
    padding-top: var(--header-height);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 65%; /* 画面の左65%を覆う */
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    -webkit-mask-image: linear-gradient(90deg, black 0%, black 50%, transparent 100%);
    mask-image: linear-gradient(90deg, black 0%, black 50%, transparent 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
}

.hero-content {
    max-width: 600px;
    padding: 40px 0; /* 上下の余白を削ってスマートに */
}

.hero-label {
    display: inline-block;
    background-color: var(--color-bg-white);
    color: var(--color-navy);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 32px;
    letter-spacing: 0.08em;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,38,133,0.1);
}

.hero-catchphrase {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-text-main);
    line-height: 1.4;
    margin-bottom: 40px; /* 💡 商品名との間隔を広げるため、20pxから40pxに変更 */
    letter-spacing: 0.02em;
}

.hero-catchphrase .highlight-gradient {
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* 💡 商品名：下のフローとの隙間を狭め、ラインとの一体感を出す */
.hero-product-name {
    display: block; 
    width: fit-content; 
    font-size: 1.25rem;
    font-weight: 800;
    color: #0077b6; 
    letter-spacing: 0.08em;
    margin-bottom: 12px; /* 💡 下の「正答率〜」をラインに近づけるため、32pxから12pxに縮小 */
    padding-bottom: 8px;
    position: relative;
}

/* 消えゆく極細アンダーライン */
.hero-product-name::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 140%; 
    height: 1px; 
    background: linear-gradient(90deg, #0077b6 0%, rgba(0, 119, 182, 0) 100%);
}

/* 💡 フロー部分：縦棒を無くして左端をぴったり揃える */
.hero-advanced-flow {
    display: flex; /* inline-flexからflexに変更し、確実に独立したブロックにする */
    align-items: center;
    font-size: 1rem;
    color: var(--color-text-main);
    font-weight: 500;
    margin-bottom: 44px;
    letter-spacing: 0.05em;
}

/* 矢印（→）だけをブランドカラーのグラデーションで強調し、シャープに */
.hero-advanced-flow .arrow {
    margin: 0 16px; /* 矢印の左右の余白を少し広げてゆったりと */
    background: var(--gradient-primary); 
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 300; /* 💡 900から300に落として、シュッとした細身の矢印に変更 */
    font-family: "Helvetica Neue", Arial, sans-serif; /* 矢印の形が綺麗に出るフォントを指定 */
    font-size: 1.1rem;
}

.hero .btn {
    padding: 12px 32px;
    font-size: 0.95rem;
    box-shadow: 0 6px 16px rgba(0, 38, 133, 0.1);
}
.hero .btn-outline-gradient { padding: 10px 30px; }
.hero .btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0, 38, 133, 0.15); }
/* ==========================
   Sections & Common
========================== */
.section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.section-bg { background-color: var(--color-bg-light); }
.section-bg-alt { background: linear-gradient(180deg, #ffffff 0%, var(--color-bg-light) 100%); }

.section-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.section-header::before {
    content: attr(data-en);
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Montserrat', sans-serif;
    font-size: 6rem;
    font-weight: 900;
    color: rgba(0, 38, 133, 0.03);
    z-index: -1;
    white-space: nowrap;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    pointer-events: none;
}

.section-label {
    color: var(--color-sky-blue);
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: inline-block;
    position: relative;
}

.section-label::after {
    content: ''; display: block; width: 40px; height: 3px; background: var(--gradient-primary); margin: 8px auto 0; border-radius: 2px;
}

.section-title { 
    font-size: 2.2rem; 
    color: var(--color-navy); /* 黒から深いネイビーに変更 */
    margin-bottom: 24px; 
}
.section-lead { font-size: 1rem; color: var(--color-text-light); line-height: 1.6; }


/* ==========================
   Background: Slash Layout
========================== */
.slash-layout-wrapper {
    display: flex;
    gap: 3rem;
    justify-content: center;
    margin-top: 3rem;
}

.slash-block {
    flex: 1;
    max-width: 500px;
    padding: 2rem;
    text-align: center;
}

.block-title {
    font-size: 0.95rem;
    color: #718096;
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.slash-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.text-past {
    font-size: 1.1rem;
    color: #a0aec0;
    text-decoration: line-through;
    text-decoration-color: #cbd5e0;
}

.slash-mark {
    font-size: 3rem;
    color: #0077b6;
    font-weight: 200;
    font-style: italic;
    line-height: 1;
    margin: 0 0.8rem;
}

/* 追加するCSS */
.arrow-mark {
    font-size: 2rem; /* 不自然にならないようスラッシュ(3rem)より少し小さめに調整 */
    color: #0077b6; /* 色はそのまま */
    font-weight: bold;
    line-height: 1;
    margin: 0 1rem;
}

.text-future {
    font-size: 1.6rem;
    color: #0077b6;
    font-weight: 900;
    letter-spacing: 0.05em;
}

/* ==========================
   Solution: Journey Comparison
========================== */
.journey-comparison {
    display: flex;
    gap: 32px;
    max-width: 1060px;
    margin: 0 auto;
}

.journey-col {
    flex: 1;
    border-radius: 24px;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
}

.journey-old { background: #f8fafc; border: 1px solid var(--color-border); }
.journey-new { background: var(--color-bg-white); border: 1px solid rgba(84, 194, 240, 0.3); box-shadow: var(--shadow-md); }

.journey-col-header { font-size: 1.15rem; font-weight: 700; text-align: center; margin-bottom: 40px; color: var(--color-text-main); }
.journey-new .journey-col-header { font-size: 1.25rem; }

.j-flow-container { position: relative; width: 100%; }

.j-node-box {
    background: var(--color-bg-white); padding: 14px 20px; border-radius: 8px; font-weight: 700;
    color: var(--color-text-main); border: 1px solid var(--color-border); text-align: center;
    width: 180px; white-space: nowrap; margin-left: 22px; box-shadow: var(--shadow-sm); position: relative; z-index: 2;
}

.j-path-section { height: 360px; margin: 16px 0; position: relative; width: 100%; }

.path-line { position: absolute; top: 0; bottom: 0; left: 112px; width: 1.5px; z-index: 1; }
.old-line { border-left: 1.5px dashed #cbd5e1; }
.new-line { background: var(--color-navy); opacity: 0.2; }

.j-blackbox {
    position: absolute; top: 50%; left: 112px; transform: translate(-50%, -50%);
    background: #e2e8f0; padding: 16px; border-radius: 8px; color: #64748b; font-size: 0.85rem;
    font-weight: 700; text-align: center; line-height: 1.6; white-space: nowrap; z-index: 2;
}

.steps-container { position: absolute; top: 0; bottom: 0; left: 112px; display: flex; flex-direction: column; justify-content: space-between; z-index: 2; }
.step-item { display: flex; align-items: center; transform: translateX(-6px); }
.step-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--color-sky-blue); flex-shrink: 0; }
.step-name { margin-left: 16px; font-weight: 700; font-size: 0.95rem; color: var(--color-text-main); white-space: nowrap; }

.path-label-area { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 160px; z-index: 3; }
.j-corner-label { position: relative; padding: 14px 16px; font-size: 0.9rem; font-weight: 700; display: flex; align-items: center; gap: 10px; line-height: 1.4; background-color: transparent; }

.new-label {
    color: var(--color-navy);
    background-image: linear-gradient(to right, var(--color-sky-blue) 2px, transparent 2px), linear-gradient(to bottom, var(--color-sky-blue) 2px, transparent 2px), linear-gradient(to left, var(--color-sky-blue) 2px, transparent 2px), linear-gradient(to bottom, var(--color-sky-blue) 2px, transparent 2px), linear-gradient(to right, var(--color-sky-blue) 2px, transparent 2px), linear-gradient(to top, var(--color-sky-blue) 2px, transparent 2px), linear-gradient(to left, var(--color-sky-blue) 2px, transparent 2px), linear-gradient(to top, var(--color-sky-blue) 2px, transparent 2px);
    background-position: 0 0, 0 0, 100% 0, 100% 0, 0 100%, 0 100%, 100% 100%, 100% 100%;
    background-repeat: no-repeat; background-size: 10px 10px;
}

.old-label {
    color: #9f1239;
    background-image: linear-gradient(to right, #cbd5e1 2px, transparent 2px), linear-gradient(to bottom, #cbd5e1 2px, transparent 2px), linear-gradient(to left, #cbd5e1 2px, transparent 2px), linear-gradient(to bottom, #cbd5e1 2px, transparent 2px), linear-gradient(to right, #cbd5e1 2px, transparent 2px), linear-gradient(to top, #cbd5e1 2px, transparent 2px), linear-gradient(to left, #cbd5e1 2px, transparent 2px), linear-gradient(to top, #cbd5e1 2px, transparent 2px);
    background-position: 0 0, 0 0, 100% 0, 100% 0, 0 100%, 0 100%, 100% 100%, 100% 100%;
    background-repeat: no-repeat; background-size: 10px 10px;
}

.j-corner-label::before { content: ''; position: absolute; top: 50%; left: -20px; width: 20px; height: 1.5px; }
.new-label::before { background: var(--color-sky-blue); }
.old-label::before { background: #cbd5e1; }

.target-old { color: #64748b; background: #f8fafc; }
.target-new { border: 2px solid var(--color-navy); color: var(--color-navy); }


/* ==========================
   Experience: Seamless Minimal Glassmorphism (Final Polish)
========================== */
.experience-glass-section {
    /* ① 画像との境界を消すため、セクション背景を純白に固定 */
    background: #ffffff;
    position: relative;
    overflow: hidden;
    padding: 80px 0 100px;
}

/* ① タイトルの下の余白を完全にゼロにする */
#experience .section-header {
    position: relative;
    z-index: 3; 
    margin-bottom: 0; /* ★ 20px から 0 に変更 */
}

/* ② 画像全体をさらに上に引っ張り上げる */
.experience-visual-wrapper {
    max-width: 1100px;
    margin: -250px auto 0; /* ★ -100px から -160px（または -180px）など、マイナスの数値を大きくする */
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.experience-main-image {
    position: relative;
    
    /* 画像をコンテナより大きく引き伸ばす */
    width: 145%; /* はみ出し具合はここで調整（130%〜150%程度） */
    max-width: none;
    
    /* ズレの原因だった left と transform を削除し、これだけにします */
    align-self: center;
    
    height: auto;
    z-index: 1;
    opacity: 1;
    mix-blend-mode: darken;
    
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 80%);
    mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 80%);
    
    margin-bottom: -300px; 
    pointer-events: none;
}

.experience-glass-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
    position: relative;
    z-index: 2; /* 画像より手前に配置 */
}

.glass-card {
    /* 背景が純白になったため、カードが浮き出るように少し影と透明度を調整 */
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 36px 32px;
    
    /* カード自体の輪郭を美しく見せるためのシャドウ */
    box-shadow: 0 10px 40px rgba(0, 38, 133, 0.05), 
                inset 0 0 0 1px rgba(255, 255, 255, 1);
                
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    display: flex;
    flex-direction: column;
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 38, 133, 0.08),
                inset 0 0 0 1px rgba(255, 255, 255, 1);
    background: rgba(255, 255, 255, 0.85);
}

.step-number-minimal {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 8px;
    color: rgba(84, 194, 240, 0.25);
}

.glass-card h3 {
    font-size: 1.15rem;
    color: var(--color-navy);
    margin: 0 0 12px 0;
    font-weight: 700;
    line-height: 1.4;
}

.glass-card p {
    font-size: 0.95rem;
    color: var(--color-text-main);
    margin: 0;
    line-height: 1.7;
}

/* スマホ・タブレット表示の調整 */
@media (max-width: 992px) {
    .experience-glass-section { padding: 60px 0; }
    #experience .section-header { margin-bottom: 0; }
    .experience-visual-wrapper { margin-top: -60px; }
    
    .experience-main-image {
        margin-bottom: -60px;
        -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 85%);
        mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 85%);
    }
    .experience-glass-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .glass-card { padding: 28px 24px; }
}
/* ==========================
   Benefits: Bento Box レイアウト
========================== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2カラムのグリッド */
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.bento-box {
    background: var(--color-bg-white);
    border-radius: 20px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bento-box:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.bento-box-inner {
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* 上段の大きなボックスは2列分をぶち抜く */
.bento-large {
    grid-column: span 2;
    background: linear-gradient(180deg, var(--color-bg-white) 0%, rgba(84, 194, 240, 0.03) 100%);
    border: 1px solid rgba(84, 194, 240, 0.2);
}

/* ボックス内のヘッダー定義 */
.bento-header {
    display: flex;
    align-items: center;
    gap: 16px; /* 💡 アイコンと文字の隙間を少し広げてゆったりと */
    margin-bottom: 24px;
}

/* 💡 アイコンサークル（ご要望に基づき大きく調整） */
.bento-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px; /* 💡 40pxから48pxへ拡大 */
    height: 48px; /* 💡 40pxから48pxへ拡大 */
    border-radius: 12px;
    flex-shrink: 0;
}
.bento-icon-wrapper svg {
    width: 26px; /* 💡 中のアイコンも22pxから26pxへ拡大 */
    height: 26px;
}

/* 各アイコンのカラーバリエーション */
.icon-student { background: rgba(84, 194, 240, 0.15); color: #0077b6; }
.icon-teacher { background: rgba(0, 38, 133, 0.08); color: var(--color-navy); }
.icon-society { background: rgba(134, 214, 214, 0.15); color: #2a9d8f; }

/* 💡 メリットタイトルの文字サイズを大きく調整 */
.bento-target-tag {
    font-size: 1rem; /* 💡 0.85remから1remへ拡大 */
    font-weight: 700;
    color: var(--color-text-light);
    letter-spacing: 0.05em;
}

/* 💡 メリット提示文（見出し）の色を他セクションと共通の水色に変更 */
.bento-title {
    font-size: 1.5rem;
    color: #0077b6; /* 💡 指定の水色（#0077b6）に変更 */
    margin-bottom: 16px;
    font-weight: 700;
}

.bento-desc {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 0;
}

/* 💡 大ボックスの中に組み込まれた「活用の流れ」の仕組み */
.bento-flow-mechanism {
    display: flex;
    align-items: stretch; /* 💡 centerからstretchに変更し、左右のボックスの縦幅（高さ）を自動統一 */
    gap: 24px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px dashed var(--color-border);
}

.mechanism-item {
    flex: 1;
    display: flex;
    gap: 16px;
    background: var(--color-bg-white);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(0, 38, 133, 0.05);
}

/* 💡 1つ目のボックス（データリテラシー保有人材の認証）のみ、薄いグラデーションの線で囲う */
.mechanism-item:first-child {
    background: linear-gradient(var(--color-bg-white), var(--color-bg-white)) padding-box,
                linear-gradient(135deg, rgba(84, 194, 240, 0.4) 0%, rgba(0, 38, 133, 0.4) 100%) border-box;
    border: 1px solid transparent;
    box-shadow: 0 4px 12px rgba(84, 194, 240, 0.06);
}

.mechanism-icon {
    color: #0077b6;
    flex-shrink: 0;
    margin-top: 2px;
}
.mechanism-icon svg { width: 24px; height: 24px; }

.mechanism-text h4 {
    font-size: 0.95rem;
    color: var(--color-navy);
    margin-bottom: 6px;
    font-weight: 700;
}

.mechanism-text p {
    font-size: 0.85rem;
    color: var(--color-text-light);
    line-height: 1.5;
    margin-bottom: 0;
}
.mechanism-text small { color: #a0aec0; }

.mechanism-arrow {
    color: var(--color-sky-blue);
    font-weight: bold;
    font-size: 1.2rem;
    align-self: center; /* 💡 全体がstretch（引き伸ばし）になっても、矢印の形だけは中央を維持させる */
}

/* ==========================
   Experts & Cases
========================== */
.expert-card {
    display: flex; gap: 32px; background: var(--color-bg-white); border-radius: 16px; 
    padding: 32px; box-shadow: var(--shadow-md); margin-bottom: 24px; align-items: center; border: 1px solid var(--color-border);
}
.expert-img { width: 150px; height: 150px; object-fit: cover; border-radius: 50%; border: 4px solid var(--color-bg-light); flex-shrink: 0; }
.expert-info h3 { color: var(--color-navy); margin-bottom: 8px; font-size: 1.3rem; }
.expert-tags { margin-bottom: 12px; }
.expert-tag { display: inline-block; background: var(--color-bg-light); color: var(--color-navy); padding: 4px 10px; border-radius: 4px; font-size: 0.85rem; font-weight: 700; margin-right: 6px; margin-bottom: 6px; border: 1px solid var(--color-border); }
.expert-comment { margin-top: 8px; font-style: italic; color: var(--color-text-main); font-size: 0.9rem; margin-bottom: 0;}

.case-card {
    display: flex; gap: 40px; background: var(--color-bg-white); border-radius: 24px; 
    padding: 40px; box-shadow: var(--shadow-md); align-items: center; border: 1px solid var(--color-border);
}
.case-img-placeholder { width: 250px; height: 250px; background: #eee; border-radius: 16px; flex-shrink: 0; }
.case-info h3 { color: var(--color-navy); font-size: 1.2rem; margin-bottom: 16px; }
.case-info p { font-size: 1.1rem; font-weight: 700; margin-bottom: 24px; }


/* ==========================
   Footer
========================== */
.cta-footer { background: var(--gradient-primary); padding: 120px 0; text-align: center; color: var(--color-bg-white); }
.cta-footer h2 { font-size: 2.0rem; margin-bottom: 24px; color: var(--color-bg-white); letter-spacing: 0.05em; }
.cta-footer p { font-size: 1.0rem; margin-bottom: 40px; opacity: 0.9; }
.cta-footer .btn-group { justify-content: center; gap: 24px; }
.cta-footer .btn { background: var(--color-bg-white); border: none; box-shadow: 0 10px 20px rgba(0,0,0,0.15); }
.cta-footer .btn:hover { box-shadow: 0 15px 30px rgba(0,0,0,0.25); transform: translateY(-2px); }
.cta-footer .btn span { background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }


/* ==========================
   Responsive (Global Breakpoints)
========================== */
@media (max-width: 1100px) {
    .nav-links { display: none; }
    .header-nav { justify-content: flex-end; }
}

@media (max-width: 992px) {
    /* Journey */
    .journey-comparison { flex-direction: column; }
    .j-node-box { margin: 0 auto; }
    .path-line, .j-blackbox, .steps-container { left: 50%; }
    .j-path-section { height: auto; display: flex; flex-direction: column; padding: 24px 0; gap: 32px; }
    .steps-container { position: relative; left: 0; padding-left: calc(50% - 6px); height: 280px; }
    .path-line { height: calc(100% - 100px); }
    .j-blackbox { position: relative; top: 0; left: 0; transform: none; margin: 60px auto; width: fit-content; }
    .path-label-area { position: relative; right: auto; top: auto; transform: none; width: 100%; display: flex; justify-content: center; }
    .j-corner-label { width: fit-content; padding: 12px 24px; background-color: var(--color-bg-white); }
    .j-corner-label::before { top: -20px; left: 50%; transform: translateX(-50%); width: 1.5px; height: 20px; }

    /* Experience */
    .experience-card-grid { grid-template-columns: 1fr; gap: 24px; padding: 0 10px; }
    .card-image-wrapper { height: auto; min-height: 200px; padding: 20px; }
    .card-image-wrapper.multi-images .ui-static-img { max-height: 100px; }

    /* Benefits (Bento Box スマホ対応) */
    .bento-grid { grid-template-columns: 1fr; gap: 16px; }
    .bento-large { grid-column: span 1; }
    .bento-box-inner { padding: 30px 24px; }
    .bento-flow-mechanism { flex-direction: column; gap: 16px; align-items: flex-start; }
    .mechanism-arrow { transform: rotate(90deg); align-self: center; margin: 0; }
    .mechanism-item { width: 100%; }
}

@media (max-width: 768px) {
    .header-cta { display: none; }
    .mobile-menu-btn { display: block; }

    /* FV */
    .hero { padding: 100px 0 80px; background-position: left center; }
    .hero-glass-panel { padding: 40px 24px; border-radius: 16px; }
    .hero-catchphrase { font-size: 2.2rem; }
    .btn-group { flex-direction: column; width: 100%; }
    .btn { width: 100%; }

    /* Sections */
    .section { padding: 60px 0; }
    .section-title { font-size: 1.8rem; }
    
    /* Slash */
    .slash-layout-wrapper { flex-direction: column; gap: 1.5rem; }
    .slash-content { flex-wrap: wrap; }
    .slash-mark { font-size: 2.5rem; margin: 0 0.4rem; }
    .arrow-mark {
        font-size: 1.5rem;
        margin: 0 0.5rem;
    }
    .text-future { font-size: 1.4rem; }

    /* Overview */
    .overview-box { padding: 30px 20px; }
    .overview-flow { flex-direction: column; align-items: center; gap: 12px; }
    .flow-step { width: 100%; padding: 24px 20px; }
    .flow-arrow { transform: rotate(90deg); margin: 8px 0; }

    /* Experts & Cases */
    .expert-card, .case-card { flex-direction: column; text-align: center; }
    .expert-img, .case-img-placeholder { width: 100%; max-width: 200px; height: auto; }

    /* Benefits */
    .benefit-title { font-size: 1.5rem; }
}

/* ==========================
   Cases (Updated Detail Layout)
========================== */
.case-detail-card {
    background: var(--color-bg-white);
    border-radius: 24px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    padding: 40px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}
.case-detail-card:hover {
    box-shadow: var(--shadow-lg);
}
.case-detail-header {
    display: flex;
    gap: 32px;
    align-items: center;
}
.case-detail-img-wrapper {
    flex: 0 0 35%;
    border-radius: 16px;
    overflow: hidden;
}
.case-detail-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.case-detail-card:hover .case-detail-img {
    transform: scale(1.05);
}
.case-detail-info {
    flex: 1;
    text-align: center;
}
.case-detail-info-label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-sky-blue);
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}
.case-detail-info h3 {
    font-size: 1.5rem;
    color: var(--color-text-main);
    line-height: 1.5;
    transition: color 0.3s ease;
    margin: 0;
}
.case-detail-card:hover .case-detail-info h3 {
    color: var(--color-navy);
}
.case-detail-info h3 span {
    display: block;
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 8px;
}
.case-compare {
    background: rgba(244, 248, 251, 0.5); /* ほんのり色付く背景 */
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--color-border);
    display: flex;
    gap: 24px;
    align-items: stretch;
}
.case-compare-box {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.case-compare-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid;
}
.case-compare-title.before {
    color: #B25A5A;
    border-bottom-color: #D9A3A3;
}
.case-compare-title.after {
    color: var(--color-navy);
    border-bottom-color: rgba(0, 38, 133, 0.2);
}
.case-compare-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-text-light);
}
.case-compare-list li {
    margin-bottom: 12px;
    line-height: 1.6;
}
.case-compare-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-sky-blue);
}
.case-compare-arrow svg {
    width: 32px;
    height: 32px;
}
.case-btn-wrapper {
    text-align: center;
    margin-top: 8px;
}
.case-detail-card .btn-outline {
    border: 2px solid var(--color-navy);
    color: var(--color-navy);
    padding: 16px 32px;
    font-weight: 700;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    background: var(--color-bg-white);
}
.case-detail-card .btn-outline svg {
    width: 20px;
    height: 20px;
    margin-left: 8px;
}
.case-detail-card .btn-outline:hover {
    background: var(--color-bg-light);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

/* ==========================
   Usage Flow
========================== */
.flow-container {
    max-width: 800px;
    margin: 0 auto;
}
.flow-step-card {
    background: var(--color-bg-white);
    border-radius: 12px;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    gap: 32px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}
.flow-step-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 0 0 30%;
}
.flow-step-num {
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-text-main);
    width: 32px;
    text-align: center;
}
.flow-step-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin: 0;
}
.flow-step-desc {
    flex: 1;
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin: 0;
    line-height: 1.6;
    font-weight: 500;
}
.flow-arrow-down {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-sky-blue);
    padding: 8px 0;
}
.flow-arrow-down svg {
    width: 24px;
    height: 24px;
}
.flow-arrow-down svg:first-child {
    margin-bottom: -12px;
}

/* ==========================
   Responsive Updates
========================== */
@media (max-width: 768px) {
    .case-detail-header {
        flex-direction: column;
        gap: 24px;
    }
    .case-detail-img-wrapper {
        width: 100%;
    }
    .case-compare {
        flex-direction: column;
        gap: 16px;
        padding: 24px;
    }
    .case-compare-arrow {
        transform: rotate(90deg);
        padding: 8px 0;
    }
    .flow-step-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 20px;
    }
    .flow-step-left {
        width: 100%;
    }
    .flow-step-desc {
        padding-left: 48px;
    }
}

/* 学生向け誤申し込み防止用テキスト（背景なし・グレー・コンパクト） */
.student-warning-compact {
    margin-bottom: 24px;
}

.student-warning-title {
    color: #475569; /* 濃いめの落ち着いたグレー */
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.student-warning-text {
    color: #64748b; /* 補足文章用の上品なグレー */
    font-size: 0.75rem; /* 小さめサイズ */
    line-height: 1.6;
    font-weight: 500;
}