/*
 * ダメーター ランディングページ専用スタイル。
 * style.css の色トークン（Brand / Surface / Ink）を継承しつつ、
 * 法務文書（max-width 720px の文書レイアウト）とは別の "プロダクト LP" レイアウトを定義する。
 *
 * 設計指針:
 *   - Apple 製品ページ風の余白・タイポ
 *   - ダメーター本体の脱力系トーン（暖色・ui-rounded・暖かい影）と整合
 *   - 1 枚 HTML / 静的のみ / JS 不要
 *   - モバイルファースト + 720px 以上でデスクトップレイアウト
 */

/* ============================================================
   スクロール進捗バー
   ============================================================ */
.lp-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: transparent;
    z-index: 200;
    pointer-events: none;
}

.lp-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #FF8C42 0%, #FFA565 50%, #FFC59C 100%);
    box-shadow: 0 0 12px rgba(255, 140, 66, 0.5);
    transition: width 0.08s ease-out;
}

/* ダークテーマ (data-theme="dark" のときだけ) */
html[data-theme="dark"] .lp-progress {
    height: 4px;
}

html[data-theme="dark"] .lp-progress-bar {
    background: linear-gradient(90deg, #FFA565 0%, #FFC59C 50%, #FFD89A 100%);
    box-shadow: 0 0 16px rgba(255, 165, 101, 0.8);
}

/* ============================================================
   テーマトグル (ナビ内)
   ============================================================ */
.lp-theme-toggle {
    background: transparent;
    border: 1.5px solid var(--color-border);
    border-radius: 999px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
    color: var(--color-text);
    margin-left: 16px;
    font-family: inherit;
}

.lp-theme-toggle:hover {
    border-color: var(--color-link);
    transform: rotate(20deg);
}

.lp-theme-toggle-icon {
    font-size: 16px;
    line-height: 1;
}

@media (max-width: 820px) {
    .lp-theme-toggle { margin-left: 8px; width: 32px; height: 32px; }
}

/* テーマ指定
   LP は head の inline script が data-theme を必ず 'light' / 'dark' に確定させる。
   style.css の OS 設定 (@media) 側の変数より詳細度を高くして、OS がダークでも
   data-theme="light" なら明るい配色になるように、両方の値をここでフルに持つ。
   ダーク専用の個別ルールも全部 html[data-theme="dark"] 配下 (@media は使わない)。 */
html[data-theme="light"] {
    color-scheme: light;
    --color-text: #2A1F14;
    --color-text-muted: #7A6347;
    --color-text-soft: #A89478;
    --color-border: #E8D5C0;
    --color-bg: #FFF5EB;
    --color-bg-alt: #FFFFFF;
    --color-link: #FF8C42;
    --color-notice-bg: #FFF6E6;
    --color-notice-border: #D9A441;
}
html[data-theme="dark"] {
    color-scheme: dark;
    --color-text: #F5EBDC;
    --color-text-muted: #C8B59A;
    --color-text-soft: #9A8A75;
    --color-border: #5C4D3F;
    --color-bg: #1F1812;
    --color-bg-alt: #2E251D;
    --color-link: #FFA565;
    --color-notice-bg: #3A2E1C;
    --color-notice-border: #8A6A2F;
}

/* ============================================================
   ライブティッカー
   ============================================================ */
.lp-liveticker {
    padding: 28px 24px 0;
    text-align: center; /* inline-flex のピルを中央に置く (モバイルと揃える) */
}

.lp-liveticker-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    background: var(--color-bg-alt);
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(80, 50, 20, 0.06);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text);
    flex-wrap: wrap;
}

.lp-live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2EC25F;
    box-shadow: 0 0 0 0 rgba(46, 194, 95, 0.7);
    animation: lp-live-pulse 1.8s ease-out infinite;
}

@keyframes lp-live-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(46, 194, 95, 0.7); }
    70%  { box-shadow: 0 0 0 10px rgba(46, 194, 95, 0); }
    100% { box-shadow: 0 0 0 0 rgba(46, 194, 95, 0); }
}

.lp-live-label {
    color: var(--color-text-muted);
    font-weight: 600;
}

.lp-live-count {
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
    font-weight: 900;
    color: var(--color-link);
    font-size: 16px;
    font-variant-numeric: tabular-nums;
}

.lp-liveticker-asof {
    text-align: center;
    margin: 8px 0 0;
    font-size: 11px;
    color: var(--color-text-soft);
    opacity: 0.7;
    font-weight: 500;
}

/* ============================================================
   読み終わり時間
   ============================================================ */
.lp-readtime {
    margin-top: 32px;
    font-size: 13px;
    color: var(--color-text-soft);
    font-style: italic;
    opacity: 0.75;
}

/* ============================================================
   比較表
   ============================================================ */
.lp-compare {
    padding: 112px 24px;
}

.lp-compare-table {
    max-width: 920px;
    margin: 56px auto 0;
    background: var(--color-bg);
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 4px 12px rgba(80, 50, 20, 0.06),
        0 24px 48px -20px rgba(80, 50, 20, 0.1);
}

.lp-compare-row {
    display: grid;
    grid-template-columns: 0.9fr 1.4fr 1.4fr;
    border-bottom: 1px solid var(--color-border);
}

.lp-compare-row:last-child { border-bottom: none; }

.lp-compare-head {
    background: var(--color-bg-alt);
    font-size: 14px;
    font-weight: 800;
    color: var(--color-text-muted);
}

.lp-compare-cell {
    padding: 20px 24px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text);
}

.lp-compare-cell + .lp-compare-cell {
    border-left: 1px solid var(--color-border);
}

.lp-compare-label {
    font-weight: 800;
    color: var(--color-text-muted);
    font-size: 13px;
    letter-spacing: 0.02em;
}

.lp-compare-other {
    color: #6B7280;
    font-weight: 800;
}

.lp-compare-ours {
    color: var(--color-link);
    font-weight: 900;
}

.lp-compare-row:not(.lp-compare-head) .lp-compare-cell:nth-child(2) {
    color: var(--color-text-muted);
    background: rgba(107, 114, 128, 0.04);
}

.lp-compare-ours-cell {
    font-weight: 700;
    color: var(--color-text);
    background: rgba(255, 140, 66, 0.06);
}

.lp-compare-row:not(.lp-compare-head):hover .lp-compare-ours-cell {
    background: rgba(255, 140, 66, 0.1);
}

/* ============================================================
   なぜ無料か
   ============================================================ */
.lp-whyfree {
    padding: 112px 24px;
}

.lp-whyfree-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 56px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.lp-whyfree-card {
    background: var(--color-bg-alt);
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: 0 4px 12px rgba(80, 50, 20, 0.06);
}

.lp-whyfree-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #FF8C42 0%, #FFA565 100%);
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 900;
    line-height: 48px;
    text-align: center;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}

.lp-whyfree-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.lp-whyfree-card p {
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

/* ============================================================
   FAQ
   ============================================================ */
.lp-faq {
    padding: 112px 24px;
}

.lp-faq-inner {
    max-width: 720px;
    margin: 0 auto;
}

.lp-faq-list {
    margin-top: 48px;
    background: var(--color-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(80, 50, 20, 0.06);
}

.lp-faq-item {
    border-bottom: 1px solid var(--color-border);
}

.lp-faq-item:last-child { border-bottom: none; }

.lp-faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text);
    position: relative;
    padding-right: 56px;
    transition: background 0.2s ease;
}

.lp-faq-item summary::-webkit-details-marker { display: none; }

.lp-faq-item summary:hover {
    background: rgba(255, 140, 66, 0.04);
}

.lp-faq-item summary::after {
    content: "";
    position: absolute;
    right: 24px;
    top: 50%;
    width: 16px;
    height: 16px;
    transform: translateY(-50%);
    background-image:
        linear-gradient(var(--color-link), var(--color-link)),
        linear-gradient(var(--color-link), var(--color-link));
    background-size: 100% 2.5px, 2.5px 100%;
    background-position: center center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease, background-size 0.3s ease;
}

.lp-faq-item[open] summary::after {
    background-size: 100% 2.5px, 0 100%;
}

.lp-faq-item p {
    padding: 0 24px 22px;
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-text-muted);
}

.lp-faq-item p a {
    color: var(--color-link);
    text-decoration: underline;
}

/* ============================================================
   ビフォーアフター
   ============================================================ */
.lp-beforeafter {
    padding: 112px 24px;
    background:
        radial-gradient(ellipse at top, rgba(255, 200, 163, 0.18) 0%, transparent 60%),
        var(--color-bg);
}

.lp-ba-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 32px;
    max-width: 880px;
    margin: 56px auto 0;
}

.lp-ba-card {
    text-align: center;
    padding: 40px 32px;
    background: var(--color-bg-alt);
    border-radius: 24px;
    box-shadow: 0 4px 12px rgba(80, 50, 20, 0.06);
}

.lp-ba-after {
    background: linear-gradient(180deg, var(--color-bg-alt) 0%, rgba(255, 200, 163, 0.2) 100%);
    box-shadow:
        0 4px 12px rgba(80, 50, 20, 0.06),
        0 32px 64px -24px rgba(255, 140, 66, 0.25);
}

.lp-ba-label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: var(--color-text-muted);
    margin: 0 0 16px;
    text-transform: uppercase;
}

.lp-ba-after .lp-ba-label {
    color: var(--color-link);
}

.lp-ba-mood {
    font-size: 32px;
    font-weight: 900;
    line-height: 1.4;
    margin: 0 0 12px;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

.lp-ba-after .lp-ba-mood {
    background: linear-gradient(135deg, #FF8C42 0%, #FFA565 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lp-ba-cap {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text-muted);
    margin: 0;
}

.lp-ba-arrow {
    font-size: 36px;
    color: var(--color-link);
    font-weight: 900;
}

/* ============================================================
   メディア掲載枠
   ============================================================ */
.lp-press {
    padding: 96px 24px;
}

.lp-press-wrap {
    position: relative;
    max-width: 880px;
    margin: 48px auto 0;
}

.lp-press-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.lp-press-namataro {
    position: absolute;
    right: -56px;
    bottom: -20px;
    width: 96px;
    height: auto;
    filter: drop-shadow(0 12px 24px rgba(80, 50, 20, 0.18));
    pointer-events: none;
    transform: rotate(2deg);
}

@media (max-width: 980px) {
    .lp-press-namataro {
        right: -8px;
        bottom: -12px;
        width: 80px;
    }
}

@media (max-width: 600px) {
    .lp-press-namataro {
        position: relative;
        right: auto;
        bottom: auto;
        display: block;
        margin: 24px auto 0;
        width: 96px;
        transform: rotate(-2deg);
    }
}

.lp-press-slot {
    height: 88px;
    background:
        linear-gradient(135deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: var(--color-text-soft);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    opacity: 0.45;
    transition: opacity 0.3s ease;
}

.lp-press-slot:hover {
    opacity: 0.7;
}

.lp-press-note {
    text-align: center;
    margin: 32px auto 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text-muted);
    font-style: italic;
}

/* ============================================================
   いち日ストリップ - 吹き出し追加
   ============================================================ */
.lp-day-img-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.lp-day-bubble {
    position: absolute;
    top: 8px;
    right: -12px;
    background: var(--color-text);
    color: var(--color-bg-alt);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

/* 既存の lp-day-item img は span 内に入ったのでマージン調整 */
.lp-day-img-wrap img {
    width: 100%;
    max-width: 180px;
    height: auto;
    filter: drop-shadow(0 16px 32px rgba(80, 50, 20, 0.14));
    transition: transform 0.4s ease;
}

/* シーンごとに微妙な角度差で機械感を消す */
.lp-day-item:nth-child(1) .lp-day-img-wrap img { transform: rotate(-3deg); }
.lp-day-item:nth-child(2) .lp-day-img-wrap img { transform: rotate(2deg); }
.lp-day-item:nth-child(3) .lp-day-img-wrap img { transform: rotate(-1deg); }
.lp-day-item:nth-child(4) .lp-day-img-wrap img { transform: rotate(4deg); }
.lp-day-item:nth-child(5) .lp-day-img-wrap img { transform: rotate(-2deg); }
.lp-day-item:nth-child(6) .lp-day-img-wrap img { transform: rotate(3deg); }
.lp-day-item:nth-child(7) .lp-day-img-wrap img { transform: rotate(-4deg); }
.lp-day-item:nth-child(8) .lp-day-img-wrap img { transform: rotate(1deg); }

.lp-day-item:hover .lp-day-img-wrap img {
    transform: translateY(-6px) rotate(0deg) scale(1.04) !important;
}

/* ============================================================
   タイポグラフィ基盤
   ------------------------------------------------------------
   日本語: ui-rounded (SF Rounded) ベース。アプリ本体と統一。
   欧文・数字: システムフォント (ui-rounded / system-ui) を優先。外部CDN依存なし。
   句読点 hanging とフィーチャー設定で一級の見た目に近づける。
   ============================================================ */
body.landing {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-size: 17px;
    line-height: 1.7;
    /* システムフォント (SF Rounded / ヒラギノ等) を優先し、外部CDN依存を排除 */
    font-family:
        ui-rounded,
        -apple-system,
        BlinkMacSystemFont,
        "Hiragino Sans",
        "Hiragino Kaku Gothic ProN",
        "Noto Sans JP",
        Meiryo,
        sans-serif;
    /* 約物前後を詰める。Safari 17+ / Chrome 119+ */
    font-feature-settings: "palt" 1, "kern" 1, "ss01" 1;
    /* 数字の幅を揃える (見出し以外) */
    font-variant-numeric: proportional-nums;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* 行末の禁則。日本語の自動行頭/行末調整 */
    line-break: strict;
    word-break: auto-phrase;
    /* 句読点を行末ぶら下げ */
    hanging-punctuation: allow-end;
}

/* 見出しは tabular-nums (数字幅揃え) + tighten */
body.landing h1,
body.landing h2,
body.landing h3 {
    font-variant-numeric: tabular-nums;
    text-wrap: balance; /* 見出しの折り返しを綺麗に */
    -webkit-text-wrap: balance;
}

body.landing main,
body.landing { padding: 0; margin: 0; }

/* 横スクロール防止 (吹き出しやコイン等の絶対配置要素が画面外にはみ出すのを防ぐ) */
html { overflow-x: hidden; }
body.landing { overflow-x: hidden; }

/* style.css の main { max-width: 720px } をリセット */
body.landing main {
    max-width: none;
    width: 100%;
}

/* ============================================================
   アクセシビリティ: スキップリンク
   ============================================================ */
.lp-skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 300;
    padding: 12px 20px;
    background: var(--color-text);
    color: var(--color-bg-alt);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: top 0.2s ease;
}

.lp-skip-link:focus {
    top: 16px;
    outline: 3px solid var(--color-link);
    outline-offset: 2px;
}

/* ============================================================
   アクセシビリティ: フォーカス可視化
   ============================================================ */
body.landing a:focus-visible,
body.landing button:focus-visible {
    outline: 3px solid var(--color-link);
    outline-offset: 4px;
    border-radius: 8px;
}

/* キーボードフォーカス以外ではアウトラインを消す */
body.landing a:focus:not(:focus-visible),
body.landing button:focus:not(:focus-visible) {
    outline: none;
}

/* スムーススクロール */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* 固定ナビ分のオフセット */
}

/* セレクション色をブランドカラーに */
body.landing ::selection {
    background-color: rgba(255, 140, 66, 0.25);
    color: var(--color-text);
}

/* ============================================================
   ナビゲーション
   ============================================================ */
.lp-nav {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: rgba(255, 245, 235, 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--color-border);
}

.lp-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 24px;
}

/* ブランドを左端、言語切替とテーマ切替を右端にまとめる */
.lp-nav-inner .lp-brand {
    margin-right: auto;
}

.lp-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--color-text);
    font-weight: 800;
    font-size: 17px;
    letter-spacing: 0.01em;
}

.lp-brand-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
}

/* ============================================================
   共通: セクション
   ============================================================ */
.lp-section {
    padding: 112px 24px;
}

.lp-section-alt {
    background-color: var(--color-bg-alt);
}

.lp-section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

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

.lp-eyebrow {
    color: var(--color-link);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin: 0 0 16px;
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 140, 66, 0.1);
    border-radius: 999px;
}

/* .lp-center 付き eyebrow は、親の text-align に関係なくバッジ自体を中央に置く
   (inline-block のままだと親が左揃えのとき左端に寄る) */
.lp-eyebrow.lp-center,
.lp-center > .lp-eyebrow,
.lp-closing .lp-eyebrow {
    text-align: center;
    display: table;
    margin-left: auto;
    margin-right: auto;
}

body.landing h1 {
    font-size: 72px;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.035em;
    margin: 0 0 28px;
}

body.landing h2 {
    font-size: 40px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0 0 24px;
}

body.landing h3 {
    font-size: 20px;
    font-weight: 800;
    margin: 20px 0 12px;
    letter-spacing: -0.01em;
}

body.landing p {
    /* 左右は指定しない (.lp-section-lede 等の margin: auto による中央寄せを潰さないため) */
    margin-top: 0;
    margin-bottom: 16px;
    color: var(--color-text-muted);
}

/* ============================================================
   ヒーロー
   ============================================================ */
.lp-hero {
    padding: 88px 24px 80px;
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
}

.lp-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 56px;
}

.lp-hero-text {
    max-width: 760px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lp-hero-text .lp-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
}

.lp-hero-text .lp-hero-kicker {
    display: block;
    margin: 0 0 28px;
}

.lp-hero-actions {
    justify-content: center;
}

.lp-hero-text h1 {
    color: var(--color-text);
}

.lp-lede {
    font-size: 19px;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin: 0 auto 32px;
    max-width: 560px;
}


.lp-hero-device {
    display: flex;
    justify-content: center;
    align-items: center;
}

.lp-hero-device-wrap {
    position: relative;
    display: inline-block;
    /* 吹き出しとコインがこの矩形の外にはみ出すため、装飾分の余白を確保 */
    padding: 0 60px;
}

.lp-hero-bubble {
    position: absolute;
}

/* ヒーロー: ナマタロウの吹き出し */
.lp-hero-bubble {
    position: absolute;
    top: 60px;
    left: -80px;
    background: var(--color-bg-alt);
    padding: 14px 22px;
    border-radius: 22px;
    box-shadow:
        0 8px 24px rgba(80, 50, 20, 0.15),
        0 2px 6px rgba(80, 50, 20, 0.08);
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text);
    animation: lp-bubble-pop 6s ease-in-out infinite;
    z-index: 3;
}

.lp-hero-bubble::after {
    content: "";
    position: absolute;
    right: -8px;
    bottom: 18px;
    width: 16px;
    height: 16px;
    background: var(--color-bg-alt);
    transform: rotate(45deg);
    box-shadow: 4px 4px 8px rgba(80, 50, 20, 0.08);
}

@keyframes lp-bubble-pop {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50%      { transform: translateY(-8px) rotate(-1deg); }
}

@keyframes lp-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-12px); }
}

/* ============================================================
   iPhone モックアップフレーム
   ------------------------------------------------------------
   実機スクショ用のフレーム。
   - .lp-device          : 標準サイズ (幅 280px、iPhone 17 系の比率 19.5:9)
   - .lp-device-hero     : ヒーロー用 (幅 320px)
   - .lp-device-sm       : 特徴セクション用 (幅 220px)
   - .lp-device-screen   : スクショ画像 or プレースホルダの土台
   - data-placeholder    : スクショ未配置時のラベル表示
   ============================================================ */
.lp-device {
    --device-width: 280px;
    --device-radius: 44px;
    --device-bezel: 10px;

    position: relative;
    width: var(--device-width);
    aspect-ratio: 9 / 19.5;
    background: linear-gradient(160deg, #2A1F14 0%, #1A130C 100%);
    border-radius: var(--device-radius);
    padding: var(--device-bezel);
    box-shadow:
        0 30px 60px -20px rgba(80, 50, 20, 0.45),
        0 18px 36px -12px rgba(80, 50, 20, 0.3),
        inset 0 0 0 1.5px rgba(255, 255, 255, 0.06),
        inset 0 0 0 4px rgba(0, 0, 0, 0.4);
}

.lp-device-hero {
    --device-width: 280px;
    --device-radius: 44px;
    animation: lp-float 5s ease-in-out infinite;
}

.lp-device-sm {
    --device-width: 210px;
    --device-radius: 34px;
    --device-bezel: 8px;
    animation: none; /* 特徴カード 3 枚分が全部跳ねると鬱陶しいので止める */
}

/* Dynamic Island 風のノッチ */
.lp-device::before {
    content: "";
    position: absolute;
    top: calc(var(--device-bezel) + 8px);
    left: 50%;
    transform: translateX(-50%);
    width: 36%;
    height: 22px;
    background: #000;
    border-radius: 999px;
    z-index: 2;
}

.lp-device-sm::before {
    height: 16px;
    top: calc(var(--device-bezel) + 6px);
}

/* スクリーン (スクショが入る場所) */
.lp-device-screen {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: calc(var(--device-radius) - var(--device-bezel));
    overflow: hidden;
    background: linear-gradient(170deg, #FFF5EB 0%, #FFE6CC 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 実機スクショが入ったフレーム。スクショ側にステータスバーがあるので CSS の Dynamic Island は消す */
.lp-device-shot::before {
    display: none;
}

/* スクショ画像が src として直接入った場合 */
.lp-device-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 背景に画像を指定した場合の表示 */
.lp-device-screen[style*="background-image"] {
    background-size: cover;
    background-position: center;
}

/* スクショ未配置時のプレースホルダラベル */
.lp-device-screen[data-placeholder]:not([style*="background-image"])::after {
    content: attr(data-placeholder);
    position: absolute;
    color: var(--color-text-soft);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 999px;
    backdrop-filter: blur(4px);
}

.lp-device-sm .lp-device-screen[data-placeholder]:not([style*="background-image"])::after {
    font-size: 11px;
    padding: 4px 10px;
}

/* ============================================================
   CTA ボタン (App Store バッジ風)
   ============================================================ */
.lp-cta {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    background-color: var(--color-text);
    color: var(--color-bg-alt);
    padding: 12px 28px;
    border-radius: 14px;
    transition:
        transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
        box-shadow 0.25s ease,
        background-color 0.25s ease;
    box-shadow: 0 8px 20px rgba(80, 50, 20, 0.18);
}

.lp-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 16px 32px rgba(80, 50, 20, 0.28),
        0 4px 8px rgba(80, 50, 20, 0.12);
    background-color: #1A130C;
    text-decoration: none;
}

.lp-cta:active {
    transform: translateY(-1px) scale(0.99);
    transition: transform 0.1s ease;
}

.lp-cta-sub {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    opacity: 0.7;
    text-transform: uppercase;
}

.lp-cta-main {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-top: -2px;
}

/* ヒーローのアクション群 */
.lp-hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ヒーロー見出しの強調部 */
.lp-hero-emphasis {
    background: linear-gradient(135deg, #FF8C42 0%, #FFA565 50%, #FFC59C 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* ヒーローのキッカー (H1 上の小さな宣言) */
.lp-hero-kicker {
    font-size: 15px;
    font-weight: 800;
    color: var(--color-text-muted);
    letter-spacing: 0.04em;
    margin: 0 0 16px;
}

/* ============================================================
   日記抜粋ギャラリー
   ============================================================ */
.lp-character-diary {
    padding: 112px 24px;
}

.lp-diary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 56px;
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
}

.lp-diary-card {
    background: var(--color-bg);
    border-radius: 20px;
    padding: 32px 32px 36px;
    box-shadow:
        0 4px 12px rgba(80, 50, 20, 0.06),
        0 24px 48px -20px rgba(80, 50, 20, 0.08);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lp-diary-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 8px 16px rgba(80, 50, 20, 0.1),
        0 32px 56px -20px rgba(80, 50, 20, 0.14);
}

.lp-diary-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 32px;
    width: 36px;
    height: 4px;
    background: linear-gradient(90deg, #FF8C42 0%, #FFA565 100%);
    border-radius: 0 0 4px 4px;
}

.lp-diary-date {
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--color-link);
    margin: 0 0 16px;
}

.lp-diary-body {
    font-size: 17px;
    line-height: 2;
    font-weight: 600;
    color: var(--color-text);
    margin: 0;
}

/* ============================================================
   フッターのナマタロウ "ささやき" (クリックで現れる)
   ============================================================ */
.lp-footer-namataro {
    background: none;
    border: none;
    padding: 4px 8px;
    cursor: pointer;
    color: var(--color-text-soft);
    font-size: 12px;
    font-weight: 500;
    font-style: italic;
    opacity: 0.7;
    transition: opacity 0.3s ease, color 0.3s ease, background 0.3s ease;
    font-family: inherit;
    border-radius: 999px;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-decoration-color: var(--color-text-soft);
    text-underline-offset: 4px;
}

.lp-footer-namataro:hover {
    opacity: 1;
    color: var(--color-link);
    text-decoration-color: var(--color-link);
    background: rgba(255, 140, 66, 0.06);
}

.lp-namataro-whisper {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translate(-50%, 16px);
    background: var(--color-text);
    color: var(--color-bg-alt);
    padding: 14px 24px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    opacity: 0;
    pointer-events: none;
    z-index: 100;
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.lp-namataro-whisper.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.lp-namataro-whisper p {
    margin: 0;
    color: inherit;
}

/* ============================================================
   画面端のスリープナマタロウ (10秒非アクティブで起きる)
   ============================================================ */
.lp-corner-namataro {
    position: fixed;
    right: 32px;
    bottom: 32px;
    width: 72px;
    height: 72px;
    z-index: 50;
    pointer-events: none;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.lp-corner-namataro.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.lp-corner-namataro.is-hidden-by-footer {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    pointer-events: none;
}

.lp-corner-namataro-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.lp-corner-namataro img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 20px rgba(80, 50, 20, 0.25));
}

.lp-corner-zzz {
    position: absolute;
    top: -14px;
    right: -4px;
    display: flex;
    align-items: baseline;
    gap: 2px;
    pointer-events: none;
}

.lp-corner-zzz span {
    color: var(--color-link);
    font-weight: 900;
    font-style: italic;
    line-height: 1;
    animation: lp-zzz-bounce 2.4s ease-in-out infinite;
}

.lp-corner-zzz span:nth-child(1) { font-size: 12px; animation-delay: 0s; }
.lp-corner-zzz span:nth-child(2) { font-size: 16px; animation-delay: 0.3s; }
.lp-corner-zzz span:nth-child(3) { font-size: 22px; animation-delay: 0.6s; }

@keyframes lp-zzz-bounce {
    0%, 100% { transform: translateY(0); opacity: 0.4; }
    50%      { transform: translateY(-6px); opacity: 1; }
}

/* スリープ→起きた切り替え時に zzz を消す */
.lp-corner-namataro.is-awake .lp-corner-zzz {
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lp-corner-bubble {
    position: absolute;
    top: -22px;
    right: 80px;
    background: var(--color-text);
    color: var(--color-bg-alt);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateX(8px);
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.lp-corner-bubble.is-shown {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================================
   コンセプト
   ============================================================ */
.lp-concept {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
    align-items: center;
}

.lp-concept-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.lp-concept-visual img {
    width: 100%;
    max-width: 380px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(80, 50, 20, 0.14));
}

/* ============================================================
   特徴 (3 カード)
   ============================================================ */
.lp-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 56px;
    align-items: stretch;
}

.lp-feature {
    background-color: var(--color-bg-alt);
    border-radius: 28px;
    padding: 44px 36px 48px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(80, 50, 20, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.lp-feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(80, 50, 20, 0.12);
}

.lp-feature-device {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin: 8px 0 28px;
}

.lp-feature p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ============================================================
   クロージング
   ============================================================ */
.lp-closing {
    padding: 112px 24px 128px;
    text-align: center;
}

.lp-closing-figure {
    position: relative;
    display: inline-block;
    margin: 0 auto 32px;
}

.lp-closing-img {
    width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 16px 32px rgba(80, 50, 20, 0.18));
}

.lp-closing-bubble {
    position: absolute;
    top: 8px;
    right: -32px;
    background: var(--color-bg-alt);
    color: var(--color-text);
    padding: 10px 18px;
    border-radius: 22px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow:
        0 8px 24px rgba(80, 50, 20, 0.15),
        0 2px 6px rgba(80, 50, 20, 0.08);
    transform: rotate(3deg);
    z-index: 2;
}

.lp-closing-bubble::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 24px;
    width: 14px;
    height: 14px;
    background: var(--color-bg-alt);
    transform: rotate(45deg);
    box-shadow: 4px 4px 8px rgba(80, 50, 20, 0.06);
}

@media (max-width: 820px) {
    /* モバイル時は figure を縦並びにして吹き出しを画像の上に独立配置 */
    .lp-closing-figure {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .lp-closing-bubble {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        transform: rotate(-2deg);
        font-size: 13px;
        padding: 10px 18px;
        white-space: normal;
        max-width: 280px;
        text-align: center;
        order: -1; /* 画像より上に */
    }

    .lp-closing-bubble::after {
        bottom: -7px;
        left: 50%;
        top: auto;
        transform: translateX(-50%) rotate(45deg);
    }
}

.lp-closing-lede {
    font-size: 17px;
    margin-bottom: 32px;
    color: var(--color-text-muted);
}

/* ============================================================
   フッター
   ============================================================ */
.lp-footer {
    background-color: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    padding: 80px 24px 40px;
}

.lp-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.lp-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 48px;
    margin-bottom: 56px;
}

.lp-footer-col-brand {
    padding-right: 24px;
}

.lp-footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
    font-size: 18px;
    color: var(--color-text);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.lp-footer-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    object-fit: cover;
}

.lp-footer-tagline {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin: 0;
}

.lp-footer-col {
    display: flex;
    flex-direction: column;
}

/* ダウンロードカラムだけ中央寄せ (見出しと CTA の縦軸を揃える) */
.lp-footer-col-download {
    align-items: center;
    text-align: center;
}

.lp-footer-heading {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--color-link);
    margin: 0 0 18px;
    text-transform: uppercase;
}

.lp-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lp-footer-col li a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.lp-footer-col li a:hover {
    color: var(--color-link);
}

.lp-footer-cta {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    background-color: var(--color-text);
    color: var(--color-bg-alt);
    padding: 10px 20px;
    border-radius: 12px;
    transition: transform 0.2s ease;
    align-self: center;
}

.lp-footer-cta:hover {
    transform: translateY(-2px);
}

.lp-footer-cta-sub {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    opacity: 0.7;
    text-transform: uppercase;
}

.lp-footer-cta-main {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.lp-footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.lp-footer-copy,
.lp-footer-namataro {
    color: var(--color-text-soft);
    font-size: 12px;
    margin: 0;
    font-weight: 500;
}

.lp-footer-namataro {
    font-style: italic;
    opacity: 0.7;
}

/* ============================================================
   スクロールヒント (ヒーロー → マニフェストの間)
   ============================================================ */
.lp-scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px 0 0;
    color: var(--color-text-soft);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.6;
}

.lp-scroll-arrow {
    font-size: 16px;
    animation: lp-scroll-bounce 2.2s ease-in-out infinite;
}

@keyframes lp-scroll-bounce {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50%      { transform: translateY(6px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .lp-scroll-arrow { animation: none; }
}

/* ============================================================
   はじめに (旧: マニフェスト)
   ============================================================ */
.lp-manifesto {
    padding: 112px 24px 96px;
    text-align: center;
    background:
        radial-gradient(ellipse at center, rgba(255, 200, 163, 0.25) 0%, transparent 70%),
        var(--color-bg);
}

.lp-manifesto-inner {
    max-width: 880px;
    margin: 0 auto;
}

.lp-manifesto-title {
    font-size: 40px !important;
    font-weight: 900 !important;
    line-height: 1.5 !important;
    letter-spacing: -0.01em !important;
    margin: 24px 0 40px !important;
    color: var(--color-text);
}

.lp-manifesto-title span {
    display: inline-block;
}

.lp-manifesto-emphasis {
    color: var(--color-link);
}

.lp-manifesto-body {
    font-size: 18px;
    line-height: 2;
    color: var(--color-text-muted);
    max-width: 560px;
    margin: 0 auto;
}

/* ============================================================
   セクションリード文
   ============================================================ */
.lp-section-lede {
    font-size: 17px;
    color: var(--color-text-muted);
    max-width: 540px;
    margin: 16px auto 0;
    line-height: 1.8;
}

/* ============================================================
   特徴カードに番号バッジ
   ============================================================ */
.lp-feature-num {
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--color-link);
    margin: 0 0 8px;
    opacity: 0.7;
}

/* ============================================================
   背景の装飾 (視差スクロール)
   ============================================================ */
.lp-deco {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.lp-deco-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    will-change: transform;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.lp-deco-blob-1 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, #FFC8A3 0%, transparent 70%);
    top: -120px;
    right: -100px;
}

.lp-deco-blob-2 {
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, #FFD9B8 0%, transparent 70%);
    top: 40%;
    left: -180px;
}

.lp-deco-blob-3 {
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, #FFE6CC 0%, transparent 70%);
    bottom: -120px;
    right: -80px;
}

/* 葉っぱの装飾 */
.lp-deco-leaf {
    position: absolute;
    will-change: transform;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.lp-deco-leaf-1 {
    width: 120px;
    height: 120px;
    top: 18%;
    left: 4%;
    transform: rotate(-25deg);
}

.lp-deco-leaf-2 {
    width: 88px;
    height: 88px;
    top: 52%;
    right: 6%;
    transform: rotate(35deg);
}

.lp-deco-leaf-3 {
    width: 100px;
    height: 100px;
    bottom: 14%;
    left: 8%;
    transform: rotate(-15deg);
}

/* 雲の装飾 */
.lp-deco-cloud {
    position: absolute;
    filter: blur(2px);
    will-change: transform;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.lp-deco-cloud-1 {
    width: 180px;
    height: 72px;
    top: 8%;
    left: 12%;
    opacity: 0.55;
}

.lp-deco-cloud-2 {
    width: 220px;
    height: 88px;
    top: 38%;
    right: 8%;
    opacity: 0.45;
}

/* ダークモード: 葉っぱ・雲を控えめに */
/* ダークテーマ (data-theme="dark" のときだけ) */
html[data-theme="dark"] .lp-deco-leaf {
    opacity: 0.5;
}

html[data-theme="dark"] .lp-deco-cloud {
    opacity: 0.12;
}

/* 装飾の上にコンテンツが乗るように */
.lp-nav,
.lp-hero,
.lp-section,
.lp-bignumbers,
.lp-character-section,
.lp-footer {
    position: relative;
    z-index: 1;
}

/* ============================================================
   スクロール連動アニメーション (IntersectionObserver で発火)
   ============================================================ */
[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-reveal].is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   大数字セクション
   ============================================================ */
.lp-bignumbers {
    padding: 112px 24px 128px;
    background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
}

.lp-bignumbers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    text-align: center;
    align-items: start;
}

.lp-bignumber {
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.lp-bignumber-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.lp-bignumber-label {
    max-width: 220px;
}

.lp-bignumber-value {
    font-size: 88px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--color-text);
    margin: 0 0 12px;
    font-variant-numeric: tabular-nums;
}

.lp-bignumber-unit {
    font-size: 26px;
    font-weight: 700;
    margin-left: 6px;
    letter-spacing: 0;
    color: var(--color-text-muted);
}

.lp-bignumber-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    margin: 0;
}

/* ============================================================
   キャラクター プロフィール (厚いセクション)
   ============================================================ */
.lp-character-section {
    position: relative;
}

/* ヒーロー: 名前 + 大判イラスト */
.lp-character-hero {
    padding: 112px 24px 80px;
    background:
        radial-gradient(ellipse at top right, rgba(255, 200, 163, 0.4) 0%, transparent 60%),
        var(--color-bg);
}

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

.lp-character-name {
    font-size: 88px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: -0.04em !important;
    margin: 0 0 24px !important;
    background: linear-gradient(135deg, #2A1F14 0%, #5A3F24 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lp-character-tagline {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--color-text);
    margin: 0 0 24px;
    letter-spacing: -0.01em;
}

.lp-character-intro {
    font-size: 17px;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin: 0;
}

.lp-character-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.lp-character-hero-img {
    width: 100%;
    max-width: 440px;
    height: auto;
    filter: drop-shadow(0 32px 64px rgba(80, 50, 20, 0.22));
}

/* プロフィール表 */
.lp-character-profile {
    padding: 96px 24px;
}

.lp-character-section-title {
    font-size: 36px !important;
    font-weight: 900 !important;
    margin: 0 0 56px !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
}

.lp-profile-list {
    max-width: 720px;
    margin: 0 auto;
    background: var(--color-bg);
    border-radius: 24px;
    padding: 12px 32px;
    box-shadow:
        0 4px 12px rgba(80, 50, 20, 0.06),
        0 24px 48px -16px rgba(80, 50, 20, 0.08);
}

.lp-profile-row {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 32px;
    align-items: baseline;
    padding: 18px 0;
    border-bottom: 1px solid var(--color-border);
}

.lp-profile-row:last-child {
    border-bottom: none;
}

.lp-profile-row dt {
    font-size: 13px;
    font-weight: 900;
    color: var(--color-link);
    letter-spacing: 0.08em;
    margin: 0;
    text-transform: uppercase;
}

.lp-profile-row dd {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text);
    margin: 0;
    line-height: 1.7;
}

/* 履歴書の括弧書き (説明はしない。読んだ人が首をかしげる余白) */
.lp-profile-aside {
    font-size: 12px;
    font-weight: 500;
    color: var(--color-text-soft);
    margin-left: 4px;
}

/* いち日ストリップ */
.lp-character-day {
    padding: 96px 24px;
}

.lp-day-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 56px;
}

.lp-day-item {
    margin: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* lp-day-item img のスタイルは lp-day-img-wrap img で定義済み */

.lp-day-item figcaption {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-height: 5.2em;
    justify-content: flex-start;
}

.lp-day-time {
    display: inline-block;
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-link);
    letter-spacing: 0.08em;
    background: rgba(255, 140, 66, 0.1);
    padding: 4px 10px;
    border-radius: 999px;
}

/* セリフギャラリー */
.lp-character-voice {
    padding: 96px 24px;
}

.lp-voice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1.4fr 1fr;
    gap: 24px;
    margin-top: 56px;
    align-items: stretch;
}

.lp-voice-hero {
    grid-column: span 2;
    grid-row: span 1;
    background: linear-gradient(135deg, var(--color-bg) 0%, rgba(255, 140, 66, 0.08) 100%) !important;
    box-shadow:
        0 4px 12px rgba(80, 50, 20, 0.08),
        0 24px 48px -16px rgba(255, 140, 66, 0.25) !important;
}

.lp-voice-hero p {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: var(--color-text) !important;
}

.lp-voice-hero::before {
    font-size: 100px !important;
    opacity: 0.3 !important;
}

@media (max-width: 820px) {
    .lp-voice-hero {
        grid-column: auto;
    }
    .lp-voice-hero p {
        font-size: 22px !important;
    }
}

.lp-voice {
    margin: 0;
    background: var(--color-bg);
    border-radius: 20px;
    padding: 32px 28px;
    position: relative;
    box-shadow: 0 4px 12px rgba(80, 50, 20, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    min-height: 120px;
}

.lp-voice:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(80, 50, 20, 0.12);
}

.lp-voice::before {
    content: "“";
    position: absolute;
    top: -8px;
    left: 18px;
    font-size: 72px;
    font-weight: 900;
    color: var(--color-link);
    opacity: 0.25;
    line-height: 1;
    font-family: Georgia, serif;
    transition: transform 0.4s ease;
}

.lp-voice:nth-child(2)::before {
    font-size: 88px;
    opacity: 0.18;
}

.lp-voice:nth-child(4)::before {
    font-size: 64px;
    opacity: 0.3;
    transform: rotate(-8deg);
}

.lp-voice:nth-child(5)::before {
    font-size: 80px;
    opacity: 0.2;
}

.lp-voice:hover::before {
    transform: scale(1.1) rotate(-4deg);
    opacity: 0.4;
}

.lp-voice p {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.7;
    color: var(--color-text);
    margin: 0;
    position: relative;
    z-index: 1;
}

/* 出会う前のストーリー */
.lp-character-story {
    padding: 96px 24px 120px;
    background:
        radial-gradient(ellipse at bottom left, rgba(255, 200, 163, 0.35) 0%, transparent 60%),
        var(--color-bg);
}

.lp-story-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.lp-story-visual {
    display: flex;
    justify-content: center;
}

.lp-story-visual img {
    width: 100%;
    max-width: 320px;
    height: auto;
    filter: drop-shadow(0 24px 48px rgba(80, 50, 20, 0.18));
}

.lp-story-text p {
    font-size: 17px;
    line-height: 1.9;
}

/* ============================================================
   レスポンシブ (タブレット〜モバイル)
   ============================================================ */
/* ============================================================
   中間幅 (タブレット〜小型デスクトップ) 821px - 1100px
   ============================================================ */
@media (min-width: 821px) and (max-width: 1100px) {
    /* セクション padding を少し抑える */
    .lp-section { padding: 96px 32px; }
    .lp-hero { padding: 72px 32px 88px; }

    /* H1 を少し控えめに */
    body.landing h1 { font-size: 60px; }
    body.landing h2 { font-size: 34px; }

    /* キャラクター名 88px は大きすぎ */
    .lp-character-name { font-size: 72px !important; }

    /* 比較表のセル padding */
    .lp-compare-cell { padding: 16px 18px; font-size: 14px; }

    /* いち日ストリップは 4 列 × 2 段で OK だが、画像縮小 */
    .lp-day-img-wrap img { max-width: 150px; }

    /* 数字カードのフォントサイズ */
    .lp-bignumber-value { font-size: 72px; }
    .lp-bignumber-unit { font-size: 22px; }
}

@media (max-width: 820px) {
    .lp-nav-inner {
        padding: 10px 16px;
    }

    .lp-hero {
        padding: 56px 20px 64px;
    }

    .lp-concept,
    .lp-character-hero-inner,
    .lp-story-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .lp-concept-text,
    .lp-character-hero-text,
    .lp-story-text {
        order: 2;
    }

    .lp-concept-visual,
    .lp-character-hero-visual,
    .lp-story-visual {
        order: 1;
    }

    /* ヒーローはモバイルでも テキスト → デバイス の順 */
    .lp-hero-inner {
        gap: 48px;
    }

    /* H1 をスマホで大きすぎないように */
    body.landing h1 { font-size: 40px; line-height: 1.15; }

    /* リード文の左右余白 */
    .lp-lede {
        padding: 0 12px;
        margin-bottom: 32px;
    }

    /* CTA 群を縦並びに（窮屈さ解消） */
    .lp-hero-actions {
        flex-direction: column;
        gap: 16px;
    }

    .lp-hero-actions .lp-cta {
        width: 220px;
        justify-content: center;
        align-items: center;
    }

    /* eyebrow バッジを単独行に */
    .lp-hero-text .lp-eyebrow {
        margin-bottom: 16px;
    }

    .lp-hero-text .lp-hero-kicker {
        font-size: 13px;
        margin: 0 0 24px;
    }

    .lp-lede {
        margin-left: auto;
        margin-right: auto;
    }

    .lp-section {
        padding: 72px 20px;
    }

    body.landing h1 { font-size: 44px; }
    body.landing h2 { font-size: 32px; }
    body.landing h3 { font-size: 18px; }

    .lp-features {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }

    .lp-closing {
        padding: 80px 20px 96px;
    }

    .lp-closing-img {
        width: 160px;
    }

    /* 大数字 */
    .lp-bignumbers-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .lp-bignumber-value {
        font-size: 72px;
    }

    .lp-bignumber-unit {
        font-size: 26px;
    }

    /* キャラクター */
    .lp-character-hero {
        padding: 80px 20px 56px;
    }

    .lp-character-name {
        font-size: 56px !important;
    }

    .lp-character-tagline {
        font-size: 22px;
    }

    .lp-character-section-title {
        font-size: 26px !important;
        margin-bottom: 40px !important;
    }

    .lp-character-profile,
    .lp-character-day,
    .lp-character-voice {
        padding: 72px 20px;
    }

    .lp-character-story {
        padding: 72px 20px 96px;
    }

    .lp-profile-list {
        padding: 8px 20px;
    }

    .lp-profile-row {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 16px 0;
    }

    .lp-profile-row dt {
        font-size: 12px;
    }

    .lp-profile-row dd {
        font-size: 15px;
    }

    .lp-day-strip {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
        margin-top: 40px;
    }

    .lp-day-item img {
        max-width: 140px;
    }

    .lp-voice-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 40px;
    }

    .lp-voice p {
        font-size: 17px;
    }

    /* ヒーロー装飾 (モバイルではモックアップの外にはみ出さない位置に) */
    .lp-hero-bubble {
        top: 24px;
        left: 12px;
        font-size: 12px;
        padding: 8px 14px;
    }

    /* マニフェスト */
    .lp-manifesto {
        padding: 88px 20px;
    }

    .lp-manifesto-title {
        font-size: 26px !important;
        line-height: 1.6 !important;
        margin: 20px 0 32px !important;
    }

    .lp-manifesto-body {
        font-size: 16px;
        line-height: 1.95;
    }

    /* 日記 */
    .lp-character-diary {
        padding: 72px 20px;
    }

    .lp-diary-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }

    .lp-diary-body {
        font-size: 16px;
    }

    /* 画面端ナマタロウ */
    .lp-corner-namataro {
        width: 56px;
        height: 56px;
        right: 16px;
        bottom: 16px;
    }

    .lp-corner-bubble {
        font-size: 11px;
        padding: 6px 12px;
        right: 62px;
    }

    /* ヒーローキッカー */
    .lp-hero-kicker {
        font-size: 13px;
    }

    /* 比較表 (モバイル: ラベル → 他社 → ダメーター の縦並び) */
    .lp-compare {
        padding: 72px 20px;
    }

    .lp-compare-table {
        background: transparent;
        box-shadow: none;
    }

    .lp-compare-row {
        display: block;
        background: var(--color-bg);
        border-radius: 16px;
        margin-bottom: 12px;
        border-bottom: none;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(80, 50, 20, 0.06);
    }

    .lp-compare-head {
        display: none;
    }

    .lp-compare-cell {
        display: block;
        padding: 12px 18px;
        font-size: 14px;
        border-left: none !important;
        position: relative;
    }

    .lp-compare-row:not(.lp-compare-head) .lp-compare-label {
        background: var(--color-bg-alt);
        color: var(--color-link);
        font-size: 11px;
        font-weight: 900;
        letter-spacing: 0.08em;
        padding: 10px 18px;
        border-bottom: 1px solid var(--color-border);
    }

    .lp-compare-row:not(.lp-compare-head) .lp-compare-cell:nth-child(2)::before,
    .lp-compare-row:not(.lp-compare-head) .lp-compare-ours-cell::before {
        content: attr(data-mobile-label);
        display: inline-block;
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0.08em;
        margin-right: 8px;
        opacity: 0.7;
    }

    .lp-compare-row:not(.lp-compare-head) .lp-compare-cell:nth-child(2)::before {
        content: "他社";
        color: #6B7280;
    }

    .lp-compare-row:not(.lp-compare-head) .lp-compare-ours-cell::before {
        content: "ダメーター";
        color: var(--color-link);
    }

    /* なぜ無料か */
    .lp-whyfree { padding: 72px 20px; }
    .lp-whyfree-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 40px;
    }

    /* FAQ */
    .lp-faq { padding: 72px 20px; }
    .lp-faq-item summary {
        font-size: 15px;
        padding: 16px 20px;
        padding-right: 48px;
    }

    /* ビフォーアフター */
    .lp-beforeafter { padding: 72px 20px; }
    .lp-ba-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        justify-items: stretch;
    }
    .lp-ba-arrow {
        transform: rotate(90deg);
        justify-self: center;
        margin: 4px 0;
        font-size: 28px;
    }
    .lp-ba-mood { font-size: 24px; }

    /* メディア掲載 */
    .lp-press { padding: 64px 20px; }
    .lp-press-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* ライブティッカー */
    .lp-liveticker { padding: 20px 16px 0; text-align: center; }
    .lp-liveticker-inner {
        font-size: 12px;
        padding: 8px 16px;
        flex-wrap: wrap;
        justify-content: center;
    }

    /* いち日 吹き出し */
    .lp-day-bubble {
        right: -6px;
        font-size: 10px;
        padding: 3px 8px;
    }

    .lp-day-img-wrap img {
        max-width: 140px;
    }

    /* 進捗バー */
    .lp-progress { height: 2px; }

    /* フッター */
    .lp-footer {
        padding: 64px 20px 32px;
    }

    .lp-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px 32px;
        margin-bottom: 40px;
    }

    .lp-footer-col-brand {
        grid-column: 1 / -1;
        padding-right: 0;
    }

    .lp-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    body.landing { font-size: 16px; }
    body.landing h1 { font-size: 36px; }
    body.landing h2 { font-size: 28px; }

    .lp-cta {
        padding: 10px 24px;
    }

    .lp-cta-main {
        font-size: 19px;
    }
}

/* ============================================================
   ダークモード
   ============================================================ */
/* ダークテーマ (data-theme="dark" のときだけ) */
html[data-theme="dark"] .lp-nav {
    background-color: rgba(31, 24, 18, 0.85);
}

html[data-theme="dark"] .lp-feature,
html[data-theme="dark"] .lp-voice {
    background-color: #2E251D;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] .lp-feature:hover,
html[data-theme="dark"] .lp-voice:hover {
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .lp-cta {
    background-color: var(--color-link);
    color: #1F1812;
}

html[data-theme="dark"] .lp-profile-list {
    background-color: #2E251D;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.3),
        0 24px 48px -16px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .lp-deco-blob {
    opacity: 0.18;
}

html[data-theme="dark"] .lp-character-hero,
html[data-theme="dark"] .lp-character-story {
    background:
        radial-gradient(ellipse at top right, rgba(255, 165, 101, 0.12) 0%, transparent 60%),
        var(--color-bg);
}

html[data-theme="dark"] .lp-character-name {
    background: linear-gradient(135deg, #F5EBDC 0%, #C8B59A 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* eyebrow バッジ (ダーク時にコントラスト確保) */
html[data-theme="dark"] .lp-eyebrow {
    background: rgba(255, 165, 101, 0.15);
}

/* ライブティッカー */
html[data-theme="dark"] .lp-liveticker-inner {
    background-color: #2E251D;
}

/* 日記 / 数字カード / コンセプト等 */
html[data-theme="dark"] .lp-diary-card,
html[data-theme="dark"] .lp-faq-list,
html[data-theme="dark"] .lp-compare-table,
html[data-theme="dark"] .lp-whyfree-card,
html[data-theme="dark"] .lp-ba-card {
    background-color: #2E251D;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

html[data-theme="dark"] .lp-ba-after {
    background: linear-gradient(180deg, #2E251D 0%, rgba(255, 165, 101, 0.1) 100%);
}

/* 比較表セル背景の hover */
html[data-theme="dark"] .lp-compare-row:not(.lp-compare-head):hover .lp-compare-ours-cell {
    background: rgba(255, 165, 101, 0.08);
}

/* メディア掲載スロット */
html[data-theme="dark"] .lp-press-slot {
    background: linear-gradient(135deg, #1F1812 0%, #2E251D 100%);
    border-color: #4A3F33;
}

/* FAQ summary hover */
html[data-theme="dark"] .lp-faq-item summary:hover {
    background: rgba(255, 165, 101, 0.06);
}

/* ============================================================
   アクセシビリティ: アニメーション削減
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    .lp-device,
    .lp-hero-bubble,
    .lp-corner-zzz span,
    .lp-live-dot {
        animation: none;
    }

    .lp-feature,
    .lp-cta,
    .lp-voice,
    .lp-day-item img,
    .lp-day-img-wrap img,
    .lp-deco-blob,
    .lp-deco-leaf,
    .lp-deco-cloud {
        transition: none;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
