:root {
    --green-deep: #124d2b;
    --green-main: #1a6b3c;
    --green-mid: #2c9356;
    --green-light: #eaf5ee;
    --green-pale: #eef6f0;
    --cream: #faf8f3;
    --cream-dark: #f0ede4;
    --warm-white: #ffffff;
    --text-primary: #2a332c;
    --text-secondary: #526658;
    --text-muted: #809987;
    --accent-gold: #e8a817;
    --accent-gold-light: #fdf1da;
    --border-soft: rgba(26,107,60,0.08);
    --shadow-sm: 0 2px 8px rgba(26,107,60,0.06);
    --shadow-md: 0 4px 24px rgba(26,107,60,0.10);
    --shadow-lg: 0 8px 40px rgba(26,107,60,0.14);
    --radius: 20px;
    --font-serif: 'Zen Kaku Gothic New', sans-serif;
    --font-sans: 'Noto Sans JP', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    background-color: var(--cream);
    color: var(--text-primary);
    line-height: 1.9;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

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

/* ── Nav ── */
.nav-bar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(250,248,243,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-soft);
    transition: box-shadow 0.3s ease, background 0.3s ease;
}
.nav-bar.scrolled { 
    box-shadow: 0 2px 20px rgba(0,0,0,0.06); 
    background: rgba(255,255,255,0.98);
}
.nav-inner {
    max-width: 1200px; margin: 0 auto;
    padding: 12px 24px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px;
}
.nav-logo {
    font-family: var(--font-serif);
    font-size: 1.1rem; font-weight: 900;
    color: var(--green-main);
    letter-spacing: 0.04em;
    text-decoration: none;
    flex-shrink: 0;
}
.brand-group { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.parent-brand { display: flex; align-items: center; gap: 6px; text-decoration: none; font-family: var(--font-serif); font-size: 0.86rem; font-weight: 900; color: var(--green-deep); }
.parent-brand img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.parent-brand em { color: var(--accent-gold); font-style: normal; }
.brand-divider { width: 1px; height: 18px; background: var(--border-soft); flex-shrink: 0; }
@media (max-width: 640px) { .parent-brand span { display: none; } }
.nav-links {
    display: flex;
    gap: clamp(12px, 1.5vw, 24px);
    align-items: center;
    white-space: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox用 */
}
.nav-links::-webkit-scrollbar { display: none; /* Chrome, Safari用 */ }
.nav-item {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    flex-shrink: 0;
}
.nav-item:hover { color: var(--green-main); }

.nav-cta {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--accent-gold); color: white;
    padding: 8px 22px; font-size: 0.82rem; font-weight: 700;
    text-decoration: none; border-radius: 40px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.nav-cta:hover { background: #d99b0f; transform: translateY(-1px); box-shadow: var(--shadow-sm); }

/* ヘッダーの高さ分のスクロール余白 */
.scroll-offset { scroll-margin-top: 80px; }

/* ── Hero ── */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; z-index: 0;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(160deg, rgba(18,77,43,0.92) 0%, rgba(18,77,43,0.72) 50%, rgba(18,77,43,0.55) 100%);
    z-index: 1;
}
.hero-content {
    position: relative; z-index: 2;
    max-width: 800px; margin: 0 auto;
    padding: 120px 24px 80px;
    text-align: center; color: white;
}
.hero-label {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 6px 20px; border-radius: 30px;
    font-size: 0.82rem; font-weight: 500;
    letter-spacing: 0.08em; margin-bottom: 28px;
    animation: fadeIn 0.8s ease 0.2s both;
}
.hero h1 {
    font-family: var(--font-serif);
    font-size: 2.8rem; font-weight: 700;
    line-height: 1.5; margin-bottom: 24px;
    letter-spacing: 0.04em;
    animation: fadeIn 0.8s ease 0.4s both;
}
.hero-subtitle {
    font-size: 1.1rem; line-height: 2;
    margin-bottom: 40px; opacity: 0.92; font-weight: 300;
    animation: fadeIn 0.8s ease 0.6s both;
}
.hero-cta-wrap { animation: fadeIn 0.8s ease 0.8s both; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-trust {
    margin-top: 48px;
    display: flex; justify-content: center; gap: 32px;
    animation: fadeIn 0.8s ease 1s both;
}
.hero-trust-item {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.85rem; opacity: 0.85; font-weight: 400;
}
.hero-trust-item svg { flex-shrink: 0; }

/* ── CTA ── */
.cta-button {
    display: inline-block;
    background: white; color: var(--green-main);
    padding: 18px 48px; font-size: 1.05rem; font-weight: 600;
    text-decoration: none; border-radius: 60px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    letter-spacing: 0.03em;
}
.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.18);
}
.cta-button-green {
    background: var(--green-main); color: white;
    box-shadow: 0 4px 20px rgba(26,107,60,0.25);
}
.cta-button-green:hover {
    background: var(--green-mid);
    box-shadow: 0 8px 30px rgba(26,107,60,0.35);
}

/* ── Disclaimer ── */
.disclaimer-box {
    max-width: 860px; margin: 32px auto 0; padding: 18px 24px;
    background: var(--accent-gold-light); border: 1px solid rgba(232,168,23,0.35);
    border-radius: 14px; font-size: 0.84rem; color: #7a5b0a; line-height: 1.9; text-align: center;
}

/* ── Section ── */
.section { max-width: 860px; margin: 0 auto; padding: 80px 24px; }
.section-wide { max-width: 1000px; }
.section-label {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--green-pale); color: var(--green-main);
    padding: 6px 16px; border-radius: 20px;
    font-size: 0.8rem; font-weight: 600;
    letter-spacing: 0.06em; margin-bottom: 16px;
}
h2 {
    font-family: var(--font-serif);
    font-size: 1.9rem; color: var(--text-primary);
    margin-bottom: 16px; line-height: 1.6;
    font-weight: 700; letter-spacing: 0.02em;
}
h2 .highlight { color: var(--green-main); }
.section-desc {
    font-size: 1rem; line-height: 2;
    color: var(--text-secondary); margin-bottom: 40px;
}

/* ── Chart ── */
.chart-toolbar {
    display: flex; align-items: center; justify-content: center;
    gap: 14px; flex-wrap: wrap; margin-bottom: 28px;
}
.chart-refresh-btn {
    background: var(--green-main); color: #fff; border: none;
    border-radius: 40px; padding: 12px 32px; font-size: 0.92rem; font-weight: 700;
    cursor: pointer; transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(26,107,60,0.25);
}
.chart-refresh-btn:hover { background: var(--green-mid); transform: translateY(-2px); }
.chart-refresh-btn:disabled { opacity: 0.55; cursor: default; transform: none; }
.chart-updated-at { font-size: 0.8rem; color: var(--text-muted); }
.chart-error { display: none; text-align: center; color: #a12b2b; font-size: 0.85rem; margin-bottom: 16px; }
.chart-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.chart-tile {
    background: #fff; border: 1px solid var(--border-soft); border-radius: 16px;
    padding: 14px; box-shadow: var(--shadow-sm); cursor: pointer;
    transition: all 0.2s ease;
}
.chart-tile:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--green-mid); }
.chart-tile-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; gap: 6px; }
.chart-tile-symbol { font-weight: 700; font-size: 0.88rem; color: var(--green-deep); }
.chart-tile-name { font-size: 0.68rem; color: var(--text-muted); }
.chart-tile-price { font-size: 0.8rem; font-weight: 700; white-space: nowrap; }
.chart-tile-price.up { color: var(--green-main); }
.chart-tile-price.down { color: #d64545; }
.chart-tile-canvas { width: 100%; height: 120px; }
.chart-tile-hint {
    display: flex; align-items: center; justify-content: center; height: 120px;
    font-size: 0.72rem; color: var(--text-muted); text-align: center; padding: 0 8px; line-height: 1.6;
}

/* ── Empathy ── */
.empathy-section {
    background: var(--warm-white);
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}
.empathy-card {
    background: white; border-radius: var(--radius);
    padding: 48px 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-soft);
}
.empathy-card h2 { text-align: center; margin-bottom: 8px; }
.empathy-intro {
    text-align: center; color: var(--text-muted);
    font-size: 0.92rem; margin-bottom: 32px;
}
.problem-list { list-style: none; }
.problem-list li {
    display: flex; align-items: flex-start; gap: 14px;
    font-size: 1.05rem; padding: 18px 20px;
    border-radius: 12px; color: var(--text-secondary);
    transition: background 0.3s ease; margin-bottom: 4px;
}
.problem-list li:hover { background: var(--cream); }
.problem-check {
    flex-shrink: 0; width: 24px; height: 24px;
    background: var(--accent-gold-light); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-top: 2px;
}
.problem-check svg { width: 12px; height: 12px; color: var(--accent-gold); }
.empathy-answer {
    margin-top: 36px; padding-top: 32px;
    border-top: 1px solid var(--border-soft); text-align: center;
}
.empathy-answer p {
    font-family: var(--font-serif);
    font-size: 1.3rem; color: var(--green-main);
    font-weight: 600; line-height: 1.8;
}

/* ── Reassurance ── */
.reassurance {
    background: linear-gradient(135deg, var(--green-pale) 0%, var(--accent-gold-light) 100%);
    border-radius: var(--radius); padding: 40px;
    text-align: center; margin: 48px 0;
    border: 1px solid rgba(26,107,60,0.08);
}
.reassurance-icon {
    width: 56px; height: 56px;
    background: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    box-shadow: var(--shadow-sm);
}
.reassurance h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem; color: var(--green-main);
    margin-bottom: 8px; font-weight: 600;
}
.reassurance p {
    font-size: 0.95rem; color: var(--text-secondary);
    max-width: 500px; margin: 0 auto;
}

/* ── Steps grid ── */
.steps-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 20px; margin-top: 40px;
}
.step-card {
    background: white; border-radius: var(--radius);
    padding: 36px 28px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-soft);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.step-number {
    position: absolute; top: -12px; left: 24px;
    background: var(--green-main); color: white;
    width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.82rem; font-weight: 700;
}
.step-icon {
    width: 48px; height: 48px;
    background: var(--green-pale); border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
}
.step-card h3 {
    font-family: var(--font-serif);
    font-size: 1.1rem; font-weight: 600;
    margin-bottom: 10px; color: var(--text-primary);
}
.step-card p {
    font-size: 0.9rem; color: var(--text-secondary); line-height: 1.8;
}
.step-badge {
    display: inline-block;
    background: var(--accent-gold-light); color: var(--accent-gold);
    padding: 4px 12px; border-radius: 12px;
    font-size: 0.75rem; font-weight: 600; margin-top: 14px;
}

/* ── Philosophy ── */
.philosophy {
    background: linear-gradient(160deg, var(--green-deep) 0%, var(--green-main) 100%);
    border-radius: var(--radius);
    padding: 56px 48px; text-align: center;
    color: white; position: relative; overflow: hidden;
}
.philosophy::before {
    content: ''; position: absolute;
    top: -50%; right: -30%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    border-radius: 50%;
}
.philosophy-quote {
    font-size: 1.6rem; font-family: var(--font-serif);
    font-weight: 600; line-height: 1.8;
    margin: 0 auto; max-width: 500px; position: relative;
}
.philosophy-sub {
    margin-top: 20px; font-size: 0.92rem;
    opacity: 0.75; font-weight: 300;
}

/* ── Video ── */
.video-section {
    background: var(--warm-white);
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}
.video-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 24px; margin-top: 32px;
}
.video-card {
    background: white; border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.video-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.video-container {
    position: relative; width: 100%;
    padding-bottom: 56.25%; background: #111;
    overflow: hidden;
}
.video-container iframe {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
}
.video-thumb-link {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none;
}
.video-thumb-link img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.video-play-btn {
    position: relative; z-index: 2;
    width: 68px; height: 48px;
    background: rgba(255, 0, 0, 0.85);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.video-thumb-link:hover .video-play-btn {
    background: rgba(255, 0, 0, 1);
    transform: scale(1.1);
}
.video-play-btn svg {
    width: 20px; height: 20px;
    fill: white; margin-left: 2px;
}
.video-info { padding: 20px 22px; }
.video-tag {
    display: inline-block;
    background: var(--green-pale); color: var(--green-main);
    padding: 3px 10px; border-radius: 8px;
    font-size: 0.72rem; font-weight: 600; margin-bottom: 8px;
}
.video-title {
    font-size: 0.92rem; font-weight: 600;
    color: var(--text-primary); line-height: 1.6;
}

/* ── FAQ ── */
.faq-item {
    background: white; border-radius: 16px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-soft);
    overflow: hidden;
}
.faq-question {
    width: 100%; text-align: left;
    padding: 22px 28px; font-size: 1rem;
    font-weight: 600; color: var(--text-primary);
    background: none; border: none; cursor: pointer;
    display: flex; justify-content: space-between;
    align-items: center; gap: 16px;
    font-family: var(--font-sans); line-height: 1.6;
}
.faq-question:hover { background: var(--cream); }
.faq-chevron {
    flex-shrink: 0; width: 20px; height: 20px;
    transition: transform 0.3s ease;
    color: var(--text-muted);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
    max-height: 0; overflow: hidden;
    transition: max-height 0.35s ease;
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer-inner {
    padding: 0 28px 22px;
    font-size: 0.92rem; color: var(--text-secondary); line-height: 1.9;
}

/* ── Glossary search ── */
.glossary-search { position: relative; max-width: 420px; margin: 0 auto 28px; }
.glossary-search-icon {
    position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
    color: var(--text-muted); pointer-events: none;
}
.glossary-search input {
    width: 100%; padding: 13px 16px 13px 44px;
    border: 1px solid var(--border-soft); border-radius: 30px;
    background: white; font-size: 0.92rem; font-family: var(--font-sans);
    color: var(--text-primary); outline: none;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.glossary-search input:focus { border-color: var(--green-main); box-shadow: 0 0 0 3px rgba(26,107,60,0.12); }
.glossary-empty { text-align: center; color: var(--text-muted); font-size: 0.88rem; padding: 12px 0 24px; }
.faq-item.is-hidden { display: none; }

/* ── CTA section ── */
.cta-section { text-align: center; padding: 72px 24px; }
.cta-final {
    background: linear-gradient(160deg, var(--green-deep) 0%, var(--green-main) 100%);
    border-radius: var(--radius);
    padding: 64px 48px; text-align: center;
    color: white; position: relative; overflow: hidden;
}
.cta-final::before {
    content: ''; position: absolute;
    bottom: -40%; left: -20%;
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    border-radius: 50%;
}
.cta-final h2 {
    font-family: var(--font-serif); color: white;
    font-size: 2rem; margin-bottom: 12px; position: relative;
}
.cta-final .cta-sub {
    font-size: 1.05rem; opacity: 0.88;
    margin-bottom: 36px; font-weight: 300; position: relative;
}
.cta-final .cta-button { position: relative; }

/* ── Footer ── */
footer {
    background: var(--green-deep); color: white;
    text-align: center; padding: 36px 24px;
    font-size: 0.82rem; opacity: 0.95;
}
footer p + p { margin-top: 8px; opacity: 0.7; font-size: 0.75rem; }

/* ── Responsive ── */
@media (max-width: 768px) {
    .hero h1 { font-size: 1.9rem; }
    .hero-subtitle { font-size: 0.95rem; }
    .hero-content { padding: 100px 20px 60px; }
    .hero-trust { flex-direction: column; gap: 12px; align-items: center; }
    .nav-logo { font-size: 1rem; }
    h2 { font-size: 1.5rem; }
    .section { padding: 56px 16px; }
    .steps-grid { grid-template-columns: 1fr; gap: 28px; }
    .step-card { padding: 32px 24px; }
    .video-grid { grid-template-columns: 1fr; }
    .empathy-card { padding: 36px 24px; }
    .philosophy { padding: 44px 28px; }
    .philosophy-quote { font-size: 1.3rem; }
    .cta-button { padding: 16px 36px; font-size: 0.95rem; }
    .cta-final { padding: 48px 28px; }
    .cta-final h2 { font-size: 1.6rem; }
    .reassurance { padding: 32px 24px; }
    .chart-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 460px) {
    .chart-grid { grid-template-columns: 1fr; }
}
