/* =========================================================
   FavBox Landing Page Styles
   v2 — richer design for general users
   ========================================================= */

:root {
    color-scheme: dark;

    --color-primary: #ed1f60;
    --color-primary-dark: #c41850;
    --color-primary-light: #ff5187;
    --color-accent: #ffb84d;

    /* Dark base — ベース背景 / 段階的に明るくしたセクション / カード */
    --color-bg: #0e0a10;
    --color-bg-soft: #15101a;
    --color-bg-cream: #1a1218;
    --color-bg-pink: #261321;
    --color-bg-warm: linear-gradient(135deg, #1d1118 0%, #1a1218 100%);
    --color-surface: #181321;
    --color-surface-soft: #221a2b;

    --color-text: #f4eef1;
    --color-text-soft: #c4bcc1;
    --color-text-muted: #807683;
    --color-border: rgba(255, 255, 255, 0.08);

    /* Hero / CTA グラデは元から暗色なので踏襲 */
    --color-hero-from: #2a0816;
    --color-hero-via: #501d2c;
    --color-hero-to: #1a0410;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --container: 1180px;
    /* 暗色背景でも視認できるよう shadow の不透明度を強める */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4), 0 16px 40px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 12px 32px rgba(237, 31, 96, 0.28), 0 32px 64px rgba(0, 0, 0, 0.45);
    --shadow-pink: 0 8px 24px rgba(237, 31, 96, 0.32);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    margin: 0;
    padding: 0;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: opacity 0.15s ease;
}

a:hover {
    opacity: 0.7;
}

.sp-only {
    display: none;
}

@media (max-width: 720px) {
    .sp-only {
        display: inline;
    }
}

/* =========================================================
   Header (sticky)
   ========================================================= */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(14, 10, 16, 0.78);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text);
    font-weight: 800;
    font-size: 18px;
}

.brand-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav a {
    color: var(--color-text-soft);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.15s ease;
}

.nav a:hover {
    color: var(--color-primary);
    opacity: 1;
}

.nav a.nav-cta {
    color: #fff;
    background: var(--color-primary);
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: var(--shadow-pink);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.nav a.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(237, 31, 96, 0.25);
    color: #fff;
    opacity: 1;
}

@media (max-width: 880px) {
    .nav {
        gap: 16px;
    }

    .nav a:not(.nav-cta) {
        display: none;
    }
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
    background:
        radial-gradient(ellipse at top, var(--color-hero-via) 0%, var(--color-hero-from) 60%, var(--color-hero-to) 100%);
    padding: 88px 24px 120px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero-bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    pointer-events: none;
}

.hero-bg-blob-1 {
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(237, 31, 96, 0.4), transparent 70%);
    top: -120px;
    left: -120px;
    animation: blobFloat 18s ease-in-out infinite;
}

.hero-bg-blob-2 {
    width: 540px;
    height: 540px;
    background: radial-gradient(circle, rgba(255, 184, 77, 0.18), transparent 70%);
    bottom: -160px;
    right: -160px;
    animation: blobFloat 22s ease-in-out infinite reverse;
}

@keyframes blobFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(40px, -30px) scale(1.05);
    }
    66% {
        transform: translate(-30px, 40px) scale(0.95);
    }
}

.hero-inner {
    max-width: var(--container);
    margin: 0 auto;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.hero-text {
    animation: heroSlideIn 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}

.hero-title {
    font-size: clamp(28px, 4.8vw, 52px);
    font-weight: 800;
    margin: 0 0 20px;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.hero-title-accent {
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.hero-sub {
    font-size: 16px;
    line-height: 2;
    color: rgba(255, 255, 255, 0.82);
    margin: 0 0 36px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 24px 0 0;
}

.hero-meta-pill {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 999px;
}

@media (max-width: 880px) {
    .hero {
        padding: 64px 20px 96px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero-meta {
        justify-content: center;
    }
}

/* =========================================================
   Hero screenshot (real device shot)
   ========================================================= */

.hero-mockup {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: heroSlideIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s backwards;
}

.hero-screenshot {
    display: block;
    width: 280px;
    height: auto;
    transform: rotate(-3deg);
    animation: heroScreenshotFloat 8s ease-in-out infinite;
    /* ダーク基調のヒーロー上で端末画像のシルエットを浮かせるため、暗色の落ち影に加えてピンクの拡散グローを重ねる */
    filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.55))
        drop-shadow(0 12px 24px rgba(0, 0, 0, 0.4))
        drop-shadow(0 0 32px rgba(237, 31, 96, 0.25));
}

@keyframes heroScreenshotFloat {
    0%, 100% {
        transform: rotate(-3deg) translateY(0);
    }
    50% {
        transform: rotate(-3deg) translateY(-12px);
    }
}

.floating-bubble {
    position: absolute;
    width: 56px;
    height: 56px;
    background: #fff;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 3;
}

.floating-bubble-1 {
    top: 10%;
    right: -10%;
    animation: bubbleFloat 6s ease-in-out infinite;
}

.floating-bubble-2 {
    top: 50%;
    right: -15%;
    animation: bubbleFloat 7s ease-in-out infinite 1s;
}

.floating-bubble-3 {
    bottom: 12%;
    left: -8%;
    animation: bubbleFloat 8s ease-in-out infinite 0.5s;
}

@keyframes bubbleFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-12px) scale(1.05);
    }
}

@media (max-width: 880px) {
    .hero-screenshot {
        width: 240px;
        transform: rotate(0deg);
    }

    @keyframes heroScreenshotFloat {
        0%, 100% {
            transform: rotate(0) translateY(0);
        }
        50% {
            transform: rotate(0) translateY(-8px);
        }
    }

    .floating-bubble {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }
}

/* =========================================================
   Store badges
   ========================================================= */

.store-badges {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #000;
    color: #fff;
    padding: 12px 20px;
    border-radius: 14px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.store-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
    opacity: 1;
}

.store-badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.store-badge-text {
    display: flex;
    flex-direction: column;
}

.store-badge-prefix {
    font-size: 10px;
    opacity: 0.85;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.store-badge-name {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 1px;
    letter-spacing: -0.01em;
}

@media (max-width: 880px) {
    .store-badges {
        justify-content: center;
    }
}

/* =========================================================
   Common section styling
   ========================================================= */

.section {
    padding: 112px 24px;
    position: relative;
}

.section-inner {
    max-width: var(--container);
    margin: 0 auto;
    position: relative;
}

.section-eyebrow {
    display: block;
    text-align: center;
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 0 0 12px;
}

.section-title {
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 800;
    text-align: center;
    margin: 0 0 24px;
    letter-spacing: -0.02em;
    line-height: 1.4;
}

.section-title-left {
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 800;
    margin: 0 0 24px;
    letter-spacing: -0.02em;
    line-height: 1.4;
}

.section-lead {
    font-size: 16px;
    color: var(--color-text-soft);
    text-align: center;
    max-width: 720px;
    margin: 0 auto 24px;
    line-height: 2;
}

.section-lead strong {
    color: var(--color-primary);
    font-weight: 700;
}

@media (max-width: 720px) {
    .section {
        padding: 80px 20px;
    }
}

/* =========================================================
   Problem
   ========================================================= */

.problem {
    background: var(--color-bg-cream);
}

.problem .section-title {
    margin-bottom: 56px;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 48px;
}

.problem-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 32px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease;
}

.problem-card:hover {
    transform: translateY(-4px);
}

.problem-emoji {
    font-size: 48px;
    line-height: 1;
    margin-bottom: 16px;
}

.problem-card p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-text-soft);
    margin: 0;
}

.problem-card strong {
    display: block;
    color: var(--color-primary);
    font-weight: 700;
    margin-top: 4px;
}

@media (max-width: 880px) {
    .problem-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================================================
   Solution (split layout)
   ========================================================= */

.solution {
    background: var(--color-bg);
    overflow: hidden;
}

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

.solution-text .section-eyebrow {
    text-align: left;
}

.solution-lead {
    font-size: 16px;
    color: var(--color-text-soft);
    line-height: 2;
    margin: 0 0 32px;
}

.solution-lead strong {
    color: var(--color-primary);
    background: linear-gradient(180deg, transparent 60%, rgba(237, 31, 96, 0.18) 60%);
    padding: 0 2px;
    font-weight: 700;
}

.solution-checks {
    list-style: none;
    padding: 0;
    margin: 0;
}

.solution-checks li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--color-text);
    margin-bottom: 14px;
    line-height: 1.7;
}

.check {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    margin-top: 2px;
}

.solution-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-visual-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(237, 31, 96, 0.22), transparent 60%);
    z-index: 0;
}

.solution-visual-img {
    width: 80%;
    max-width: 360px;
    position: relative;
    z-index: 1;
    animation: gentleFloat 6s ease-in-out infinite;
}

@keyframes gentleFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@media (max-width: 880px) {
    .solution-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .solution-text {
        text-align: center;
    }

    .solution-text .section-eyebrow,
    .section-title-left {
        text-align: center;
    }

    .solution-checks li {
        text-align: left;
    }
}

/* =========================================================
   Steps (3-step how-it-works)
   ========================================================= */

.steps {
    background: var(--color-bg-soft);
    padding: 96px 24px;
}

.steps-grid {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 16px;
    margin-top: 56px;
    flex-wrap: nowrap;
}

.step-card {
    flex: 1;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.step-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    box-shadow: var(--shadow-pink);
}

.step-emoji {
    font-size: 56px;
    line-height: 1;
    margin: 16px 0 12px;
}

.step-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 12px;
}

.step-card p {
    font-size: 13px;
    line-height: 1.8;
    color: var(--color-text-soft);
    margin: 0;
}

.step-arrow {
    align-self: center;
    color: var(--color-primary);
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
}

@media (max-width: 880px) {
    .steps-grid {
        flex-direction: column;
        align-items: stretch;
    }

    .step-arrow {
        transform: rotate(90deg);
    }
}

/* =========================================================
   Features
   ========================================================= */

.features {
    background: var(--color-bg);
}

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

.feature-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.feature-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.feature-icon {
    font-size: 28px;
    line-height: 1;
}

.feature-color-1 { background: linear-gradient(135deg, #ff5187 0%, #ed1f60 100%); }
.feature-color-2 { background: linear-gradient(135deg, #ffb84d 0%, #ff8a3d 100%); }
.feature-color-3 { background: linear-gradient(135deg, #6e6373 0%, #3a323f 100%); }
.feature-color-4 { background: linear-gradient(135deg, #69d2e7 0%, #5586e9 100%); }
.feature-color-5 { background: linear-gradient(135deg, #c780ff 0%, #8b5cf6 100%); }
.feature-color-6 { background: linear-gradient(135deg, #4ade80 0%, #16a34a 100%); }

.feature-title {
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}

.feature-card p {
    font-size: 14px;
    line-height: 1.9;
    color: var(--color-text-soft);
    margin: 0;
}

@media (max-width: 880px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 540px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   Personas (use case cards)
   ========================================================= */

.usecase {
    background: var(--color-bg-soft);
}

.persona-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.persona-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border-top: 6px solid;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.persona-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.persona-color-1 { border-top-color: #ed1f60; }
.persona-color-2 { border-top-color: #ff8a3d; }
.persona-color-3 { border-top-color: #5586e9; }
.persona-color-4 { border-top-color: #8b5cf6; }

.persona-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.persona-emoji {
    font-size: 40px;
    line-height: 1;
}

.persona-tag {
    font-size: 12px;
    font-weight: 700;
    background: rgba(237, 31, 96, 0.16);
    color: var(--color-primary-light);
    padding: 4px 12px;
    border-radius: 999px;
    letter-spacing: 0.02em;
}

.persona-title {
    font-size: 19px;
    font-weight: 800;
    margin: 0 0 16px;
    line-height: 1.5;
    letter-spacing: -0.01em;
}

.persona-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.persona-list li {
    position: relative;
    padding-left: 22px;
    font-size: 14px;
    color: var(--color-text-soft);
    line-height: 1.8;
    margin-bottom: 10px;
}

.persona-list li::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 12px;
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
}

@media (max-width: 720px) {
    .persona-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   Voices
   ========================================================= */

.voices {
    background: var(--color-bg-cream);
}

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

.voice-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.voice-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.voice-quote {
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 64px;
    color: var(--color-primary);
    opacity: 0.18;
    line-height: 1;
    font-family: Georgia, serif;
    font-weight: 700;
}

.voice-text {
    font-size: 14px;
    line-height: 1.9;
    color: var(--color-text-soft);
    margin: 0 0 24px;
    position: relative;
    z-index: 1;
}

.voice-author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--color-border);
    padding-top: 16px;
}

.voice-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.voice-avatar-1 { background: linear-gradient(135deg, #ff5187 0%, #ed1f60 100%); }
.voice-avatar-2 { background: linear-gradient(135deg, #ffb84d 0%, #ff8a3d 100%); }
.voice-avatar-3 { background: linear-gradient(135deg, #69d2e7 0%, #5586e9 100%); }

.voice-meta {
    display: flex;
    flex-direction: column;
}

.voice-meta strong {
    font-size: 14px;
    color: var(--color-text);
    font-weight: 700;
}

.voice-meta small {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-top: 2px;
}

.voices-note {
    font-size: 12px;
    color: var(--color-text-muted);
    text-align: center;
    margin: 32px 0 0;
}

@media (max-width: 880px) {
    .voices-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   Roadmap
   ========================================================= */

.roadmap {
    background: var(--color-bg);
}

.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 56px;
}

.roadmap-card {
    background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-bg-pink) 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px 28px 24px;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.roadmap-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.badge {
    display: inline-block;
    background: var(--color-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    letter-spacing: 0.04em;
    margin-bottom: 14px;
}

.roadmap-emoji {
    font-size: 40px;
    line-height: 1;
    margin-bottom: 12px;
}

.roadmap-title {
    font-size: 17px;
    font-weight: 800;
    margin: 0 0 8px;
}

.roadmap-card p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-text-soft);
    margin: 0;
}

@media (max-width: 720px) {
    .roadmap-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   FAQ
   ========================================================= */

.faq {
    background: var(--color-bg-soft);
}

.faq-list {
    max-width: 800px;
    margin: 56px auto 0;
}

.faq-item {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: box-shadow 0.2s ease;
}

.faq-item[open] {
    box-shadow: var(--shadow-sm);
}

.faq-question {
    cursor: pointer;
    padding: 20px 24px;
    font-size: 15px;
    font-weight: 700;
    list-style: none;
    position: relative;
    padding-right: 56px;
    transition: background-color 0.15s ease;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question:hover {
    background: var(--color-surface-soft);
}

.faq-question::after {
    content: "+";
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: 400;
    color: var(--color-primary);
    transition: transform 0.2s ease;
}

.faq-item[open] .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    padding: 0 24px 20px;
    color: var(--color-text-soft);
    font-size: 14px;
    line-height: 1.9;
    border-top: 1px solid var(--color-border);
    padding-top: 16px;
}

.faq-answer p {
    margin: 0;
}

.faq-answer a {
    color: var(--color-primary);
    text-decoration: underline;
}

/* =========================================================
   Final CTA
   ========================================================= */

.cta-section {
    background:
        radial-gradient(ellipse at center, var(--color-hero-via) 0%, var(--color-hero-from) 70%, var(--color-hero-to) 100%);
    color: #fff;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.cta-bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.4;
    pointer-events: none;
}

.cta-bg-blob-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(237, 31, 96, 0.5), transparent 70%);
    top: -100px;
    left: 10%;
    animation: blobFloat 20s ease-in-out infinite;
}

.cta-bg-blob-2 {
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(255, 184, 77, 0.3), transparent 70%);
    bottom: -100px;
    right: 10%;
    animation: blobFloat 24s ease-in-out infinite reverse;
}

.cta-inner {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    margin: 0 0 20px;
    letter-spacing: -0.02em;
    line-height: 1.4;
}

.cta-lead {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    line-height: 2;
    margin: 0 auto 40px;
    max-width: 620px;
}

.cta-section .store-badges {
    justify-content: center;
}

/* =========================================================
   Footer
   ========================================================= */

.footer {
    background: #0d0d0d;
    color: rgba(255, 255, 255, 0.7);
    padding: 56px 24px;
}

.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 800;
    font-size: 18px;
}

.footer-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}

.copyright {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
}

/* =========================================================
   Legal pages (terms / privacy / 特商法)
   ========================================================= */

.legal-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 64px 24px 96px;
}

.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-primary);
    font-size: 14px;
    margin-bottom: 32px;
    text-decoration: none;
}

.legal-back::before {
    content: "←";
}

.legal-title {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}

.legal-meta {
    font-size: 13px;
    color: var(--color-text-muted);
    margin: 0 0 48px;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(237, 31, 96, 0.32);
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    font-size: 14px;
}

.legal-table th,
.legal-table td {
    text-align: left;
    vertical-align: top;
    padding: 14px 16px;
    border-bottom: 1px solid var(--color-border);
    line-height: 1.8;
}

.legal-table th {
    width: 240px;
    font-weight: 600;
    color: var(--color-text-soft);
    background: var(--color-bg-soft);
}

.legal-table td {
    color: var(--color-text);
}

.legal-table td small {
    display: block;
    margin-top: 4px;
    color: var(--color-text-muted);
    font-size: 12px;
}

.legal-page p {
    color: var(--color-text-soft);
    line-height: 1.9;
    font-size: 14px;
}

.legal-page ul,
.legal-page ol {
    color: var(--color-text-soft);
    line-height: 1.9;
    font-size: 14px;
    padding-left: 24px;
}

.legal-page li {
    margin-bottom: 6px;
}

.legal-page a {
    color: var(--color-primary);
}

.legal-note {
    background: var(--color-bg-soft);
    border-left: 3px solid var(--color-primary);
    padding: 16px 20px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 13px;
    color: var(--color-text-soft);
    margin: 16px 0;
    line-height: 1.8;
}

@media (max-width: 720px) {
    .legal-page {
        padding: 48px 20px 64px;
    }

    .legal-title {
        font-size: 22px;
    }

    .legal-table th,
    .legal-table td {
        display: block;
        width: 100%;
        padding: 12px 14px;
    }

    .legal-table th {
        border-bottom: none;
        background: var(--color-bg-soft);
        padding-bottom: 6px;
    }

    .legal-table td {
        padding-top: 6px;
    }
}

/* =========================================================
   Reduced motion
   ========================================================= */

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

    .hero-screenshot {
        transform: rotate(0deg);
    }
}

/* =========================================================
   SVG icon sizing & color
   絵文字を <Icon /> に置き換えたため、各ラッパの font-size を
   そのまま SVG のサイズに使えるよう em ベースで指定する。
   ========================================================= */
.hero-badge svg,
.problem-emoji svg,
.step-emoji svg,
.feature-icon svg,
.persona-emoji svg,
.roadmap-emoji svg,
.voice-avatar svg,
.floating-bubble svg,
.check svg {
    width: 1em;
    height: 1em;
    display: inline-block;
    flex-shrink: 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.problem-emoji,
.step-emoji,
.persona-emoji,
.roadmap-emoji,
.floating-bubble {
    color: var(--color-primary);
}

.persona-color-1 .persona-emoji { color: #ed1f60; }
.persona-color-2 .persona-emoji { color: #ff8a3d; }
.persona-color-3 .persona-emoji { color: #5586e9; }
.persona-color-4 .persona-emoji { color: #8b5cf6; }

.feature-icon,
.voice-avatar,
.check {
    color: #fff;
}


