
  /* 色・角丸は axis.dart(nightSkyAxis) の実値。ここ以外で色を直書きしない。
     例外: 空ギャラリーの色味は sky_theme_catalog.dart の実値(データ)。 */
  :root {
    --bg: #0B1026;          /* axis bg */
    --surface: #1A2140;     /* axis surface */
    --ink: #EDEFFA;         /* axis ink */
    --ink-muted: #9AA3C4;   /* axis inkMuted */
    --line: #2A3252;        /* axis line */
    --brand: #8FA0E0;       /* axis brand */
    --on-brand: #0B1026;    /* axis onBrand */
    --gold: #FCE9A8;        /* axis heroAccent */
    --radius-card: 20px;    /* axis radiusCard */
    --radius-control: 24px; /* axis radiusControl */
    --shadow-1: 0 10px 30px rgba(3, 5, 16, .45);
    --shadow-2: 0 30px 70px rgba(3, 5, 16, .6);
    --serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
    --sans: "Noto Sans JP", "Hiragino Sans", system-ui, sans-serif;
    --maxw: 1120px;
    /* 派生色(axisの bg/surface から導出。端末枠と地の濃淡だけに使う) */
    --bg-lift: color-mix(in srgb, var(--surface) 28%, var(--bg));
    --bezel: color-mix(in srgb, var(--bg) 40%, #000);
    --bezel-edge: color-mix(in srgb, var(--line) 80%, var(--brand));
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0; background: var(--bg); color: var(--ink);
    font-family: var(--sans); line-height: 1.8; -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  h1, h2, h3, .serif { font-family: var(--serif); font-weight: 700; margin: 0; }
  p { margin: 0; }
  a { color: inherit; }
  img { display: block; max-width: 100%; }
  .wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

  /* ---------- 星の背景(JSで散らす) ---------- */
  .stars { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
  .stars i {
    position: absolute; border-radius: 50%; background: var(--gold);
    animation: twinkle var(--d, 5s) ease-in-out var(--l, 0s) infinite;
  }
  @keyframes twinkle { 0%, 100% { opacity: var(--o, .5); } 50% { opacity: .08; } }

  /* ---------- ヘッダー ---------- */
  header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(11, 16, 38, .78); backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid var(--line);
  }
  .nav { display: flex; align-items: center; justify-content: space-between; height: 62px; }
  .brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font-family: var(--serif); font-weight: 800; font-size: 1.3125rem; letter-spacing: .04em; }
  .brand img { width: 32px; height: 32px; border-radius: 9px; box-shadow: 0 0 0 1px var(--line); }
  .nav-cta {
    text-decoration: none; font-size: 0.875rem; font-weight: 700; color: var(--on-brand);
    background: var(--brand); padding: 8px 18px; border-radius: 999px; transition: transform .18s ease;
  }
  .nav-cta:hover { transform: translateY(-1px); }

  /* ---------- App Store バッジ(インラインSVG) ---------- */
  .appstore-badge {
    display: inline-flex; align-items: center; gap: 11px; background: #000; color: #fff; text-decoration: none;
    padding: 11px 20px 11px 17px; border-radius: 14px; border: 1px solid var(--bezel-edge); box-shadow: var(--shadow-1);
    transition: transform .18s ease, box-shadow .18s ease;
  }
  .appstore-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
  .appstore-badge svg { width: 26px; height: 26px; flex: none; }
  .appstore-badge .txt { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
  .appstore-badge .txt small { font-size: 0.625rem; opacity: .85; font-weight: 500; }
  .appstore-badge .txt b { font-size: 1.125rem; font-weight: 600; letter-spacing: .01em; }

  /* ---------- スマホ枠 ---------- */
  .phone {
    width: var(--pw, 240px); padding: 7px; border-radius: 40px; background: var(--bezel);
    box-shadow: 0 0 0 1px var(--bezel-edge), var(--shadow-2);
  }
  .phone img { width: 100%; height: auto; border-radius: 33px; aspect-ratio: 1320 / 2868; }

  /* ---------- ヒーロー ---------- */
  .hero { position: relative; padding: 64px 0 0; overflow: hidden; isolation: isolate; }
  .hero::before { /* 地平のうっすらした光。グラデは背景の1か所だけ */
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: radial-gradient(900px 480px at 78% 100%, rgba(143, 160, 224, .20), transparent 65%);
  }
  .hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 24px; align-items: center; }
  .eyebrow {
    display: inline-flex; align-items: center; gap: 9px; font-size: 0.8125rem; font-weight: 700; color: var(--ink-muted);
    border: 1px solid var(--line); background: rgba(26, 33, 64, .6); padding: 6px 15px; border-radius: 999px;
  }
  .eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
  .hero h1 { font-size: clamp(2.25rem, 5.6vw, 4rem); line-height: 1.28; margin: 26px 0 22px; letter-spacing: .02em; }
  .hero h1 em { font-style: normal; color: var(--gold); }
  .hero .lead { font-size: clamp(0.9375rem, 1.8vw, 1.125rem); color: var(--ink-muted); max-width: 29em; }
  .hero-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 34px; }
  .hero-cta small { color: var(--ink-muted); font-size: 0.8125rem; line-height: 1.5; }

  .hero-visual { position: relative; height: 600px; overflow: hidden; }
  .hero-visual .phone { position: absolute; }
  .hero-visual .back { --pw: 248px; right: 2%; top: 46px; transform: rotate(5deg); opacity: .96; }
  .hero-visual .front { --pw: 272px; left: 6%; top: 112px; transform: rotate(-4deg); }

  /* ---------- セクション共通 ---------- */
  section { padding: 112px 0; position: relative; }
  .kicker { font-size: 0.8125rem; font-weight: 700; letter-spacing: .16em; color: var(--brand); }
  .sec-title { font-size: clamp(1.6875rem, 3.8vw, 2.625rem); line-height: 1.4; margin: 14px 0 18px; }
  .sec-title em { font-style: normal; color: var(--gold); }
  .sec-lead { color: var(--ink-muted); font-size: 1rem; max-width: 32em; }
  .center { text-align: center; }
  .center .sec-lead { margin-inline: auto; }

  /* ---------- 見せ場: 集中が星になる ---------- */
  .story { background: linear-gradient(180deg, var(--bg), var(--bg-lift) 50%, var(--bg)); overflow: hidden; }
  .story-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
  .steps { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 14px; }
  .steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; padding: 18px 20px; background: var(--surface); border-radius: var(--radius-card); box-shadow: var(--shadow-1); }
  .steps .mark { color: var(--brand); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); }
  .steps .mark svg { width: 24px; height: 24px; }
  .steps li { text-align: left; }
  .steps h3 { font-size: 1.125rem; margin-bottom: 2px; }
  .steps p { font-size: 0.875rem; color: var(--ink-muted); line-height: 1.7; }
  .sky-stage { position: relative; aspect-ratio: 1 / 1; max-width: 520px; width: 100%; margin: 0 auto; border-radius: var(--radius-card); background: radial-gradient(circle at 50% 40%, var(--surface), var(--bg) 70%); box-shadow: var(--shadow-2); overflow: hidden; border: 1px solid var(--line); }
  .sky-stage svg { position: absolute; inset: 0; width: 100%; height: 100%; }
  .sky-stage .cap { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; }
  .sky-stage .cap b { font-family: var(--serif); font-size: 1.25rem; display: block; }
  .sky-stage .cap span { font-size: 0.8125rem; color: var(--ink-muted); }
  .sky-stage .replay { position: absolute; right: 14px; top: 14px; border: 1px solid var(--line); background: rgba(11,16,38,.6); color: var(--ink-muted); font: inherit; font-size: 0.75rem; padding: 5px 13px; border-radius: 999px; cursor: pointer; }
  .cstar { fill: var(--gold); opacity: .0; transition: opacity .7s ease; filter: drop-shadow(0 0 6px rgba(252, 233, 168, .9)); }
  .cstar.on { opacity: 1; }
  .cline { stroke: var(--brand); stroke-width: 1.4; opacity: 0; fill: none; stroke-dasharray: 1; stroke-dashoffset: 1; transition: opacity .3s ease, stroke-dashoffset .8s ease; }
  .cline.on { opacity: .75; stroke-dashoffset: 0; }

  /* ---------- 機能(交互レイアウト) ---------- */
  .feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
  .feature + .feature { margin-top: 120px; }
  .feature.flip .f-text { order: 2; }
  .f-visual { display: grid; place-items: center; position: relative; }
  .f-visual .phone { --pw: 270px; }
  .f-visual .glow { position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(143,160,224,.25), transparent 68%); z-index: -1; }
  .f-text .points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; font-size: 0.9375rem; }
  .f-text .points li { display: flex; gap: 12px; color: var(--ink-muted); }
  .f-text .points li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: .75em; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold); }
  .duo { display: flex; gap: 22px; justify-content: center; align-items: flex-start; }
  .duo .phone { --pw: 210px; }
  .duo .phone + .phone { margin-top: 56px; }

  /* ---------- 空ギャラリー ---------- */
  .skies { background: linear-gradient(180deg, var(--bg), var(--bg-lift) 40%, var(--bg)); }
  .sky-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; margin-top: 52px; }
  .sky-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .sky-chip { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-1); border: 1px solid rgba(255,255,255,.07); display: flex; align-items: flex-end; }
  .sky-chip .s { position: absolute; inset: 0; }
  .sky-chip .s i { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: var(--star, #fff); opacity: .85; }
  .sky-chip .lbl { position: relative; width: 100%; padding: 28px 12px 12px; background: linear-gradient(0deg, rgba(3,5,16,.75), transparent); }
  .sky-chip .lbl b { display: block; font-family: var(--serif); font-size: 0.9375rem; line-height: 1.3; }
  .sky-chip .lbl span { font-size: 0.6875rem; color: var(--ink-muted); }
  .sky-note { margin-top: 18px; font-size: 0.8125rem; color: var(--ink-muted); }
  .sky-visual { display: grid; place-items: center; }
  .sky-visual .phone { --pw: 250px; }

  /* ---------- 料金 ---------- */
  .plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 52px; text-align: left; }
  .plan { background: var(--surface); border-radius: var(--radius-card); padding: 30px 26px; box-shadow: var(--shadow-1); display: flex; flex-direction: column; gap: 6px; }
  .plan.best { box-shadow: 0 0 0 1px var(--gold), var(--shadow-2); }
  .plan .tag { font-size: 0.75rem; font-weight: 700; color: var(--gold); letter-spacing: .08em; min-height: 1.5em; }
  .plan h3 { font-size: 1.25rem; }
  .plan .price { font-family: var(--serif); font-size: 2.25rem; font-weight: 800; line-height: 1.2; margin-top: 8px; }
  .plan .price small { font-family: var(--sans); font-size: 0.875rem; font-weight: 500; color: var(--ink-muted); margin-left: 3px; }
  .plan p { font-size: 0.8125rem; color: var(--ink-muted); line-height: 1.7; }
  .free-box { margin: 44px auto 0; max-width: 760px; text-align: center; padding: 22px 28px; border-radius: var(--radius-card); border: 1px dashed var(--line); color: var(--ink-muted); font-size: 0.9375rem; }
  .free-box b { color: var(--ink); }
  .legal-note { margin: 18px auto 0; max-width: 760px; font-size: 0.75rem; color: var(--ink-muted); text-align: center; line-height: 1.8; }

  /* ---------- プライバシー ---------- */
  .privacy-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 46px; }
  .privacy-row div { padding: 24px 22px; background: var(--surface); border-radius: var(--radius-card); }
  .privacy-row h3 { font-size: 1.0625rem; margin-bottom: 6px; }
  .privacy-row p { font-size: 0.875rem; color: var(--ink-muted); line-height: 1.7; }

  /* ---------- 最終CTA/フッター ---------- */
  .final { text-align: center; overflow: hidden; isolation: isolate; padding: 128px 0; }
  .final .wrap { position: relative; }
  .final .icon { width: 84px; height: 84px; border-radius: 22px; margin: 0 auto 26px; box-shadow: 0 0 0 1px var(--line), 0 0 60px rgba(252,233,168,.25); }
  .final .appstore-badge { margin-top: 30px; }
  footer { border-top: 1px solid var(--line); padding: 34px 0 48px; color: var(--ink-muted); font-size: 0.8125rem; }
  .foot { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; }
  .foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
  .foot a { text-decoration: none; }
  .foot a:hover { color: var(--ink); }

  /* ---------- スクロール出現(機能の動き: 一種類だけ・短く) ---------- */
  .reveal { opacity: 1; transform: none; }
  .reveal.in { opacity: 1; transform: none; }

  /* ---------- レスポンシブ ---------- */
  @media (max-width: 900px) {
    section { padding: 80px 0; }
    .hero { padding-top: 44px; }
    .hero-grid, .story-grid, .feature, .sky-layout { grid-template-columns: 1fr; }
    .hero-grid { text-align: center; justify-items: center; }
    .hero .lead { margin-inline: auto; }
    .hero-cta { justify-content: center; }
    .hero-visual { width: 100%; max-width: 460px; height: 470px; }
    .hero-visual .back { --pw: 190px; right: 4%; top: 30px; }
    .hero-visual .front { --pw: 208px; left: 8%; top: 84px; }
    .feature, .feature.flip { gap: 36px; text-align: center; }
    .feature.flip .f-text { order: 0; }
    .f-text .points li { text-align: left; }
    .f-text .sec-lead { margin-inline: auto; }
    .feature + .feature { margin-top: 88px; }
    .story-grid { gap: 40px; }
    .story .sec-lead { margin-inline: auto; }
    .story .intro { text-align: center; }
    .sky-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
    .plans, .privacy-row { grid-template-columns: 1fr; }
    .foot { justify-content: center; text-align: center; }
  }
  @media (max-width: 520px) {
    .wrap { padding: 0 20px; }
    .sky-grid { grid-template-columns: repeat(2, 1fr); }
    .sky-chip { aspect-ratio: 4 / 3; }
    .duo .phone { --pw: 156px; }
    .duo { gap: 14px; }
    .duo .phone + .phone { margin-top: 36px; }
    .f-visual .phone { --pw: 236px; }
    .hero-cta small { text-align: center; }
  }
  @media (prefers-reduced-motion: reduce) {
    .stars i { animation: none; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .cstar, .cline { transition: none; }
  }


/* 公開用: 文章の可読性と375pxでの収まり */
h1 .line { white-space: nowrap; }
.hero h1 { font-size: clamp(1.75rem, 4.3vw, 3.1875rem); }
section[id] { scroll-margin-top: 120px; }
.copy p + p { margin-top: 20px; }
.copy { max-width: 48em; }
.cards { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; margin-top:32px; }
.card { padding:26px; background:var(--surface); border-radius:var(--radius-card); }
.card h3 { font-size: 1.25rem; margin-bottom:12px; }
.card p, .disclosure, .notice { color:var(--ink-muted); font-size: 1rem; line-height:1.9; }
.notice, .disclosure { margin-top:28px; text-align:left; }
.extra { margin-top:36px; }
.extra li { margin:14px 0; }
.nav-links { display:flex; gap:18px; font-size: 0.8125rem; }
a, button, summary { touch-action:manipulation; }
.nav a, .foot a { min-height:44px; display:inline-flex; align-items:center; }
.nav-cta { text-align:center; }
:focus-visible { outline:2px solid var(--gold); outline-offset:5px; }
.faq { max-width:800px; }
details { border-bottom:1px solid var(--line); padding:18px 0; }
summary { cursor:pointer; min-height:44px; font-weight:700; }
details p { color:var(--ink-muted); margin:14px 0; }
.footer-note { margin-top:24px; color:var(--ink-muted); font-size: 0.875rem; }
.foot nav { flex-wrap:wrap; }

@media(max-width:1000px) { .nav-links { display:none; } }
@media(max-width:760px) { .cards { grid-template-columns:1fr; } h1 .line { letter-spacing:0; } .nav-cta { font-size: 0.75rem; padding:8px 12px; } .nav { gap:12px; } .brand { gap:8px; font-size: 1.1875rem; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *, *::before, *::after { animation:none!important; transition:none!important; } }

.mobile-nav { display:none; }
@media(max-width:1000px) { .mobile-nav { display:flex; justify-content:center; gap:20px; font-size: 0.75rem; } .mobile-nav a { display:inline-flex; align-items:center; min-height:44px; text-decoration:none; } }

/* 確認後の調整: 最終CTAの導入文を中央へ、主要CTAを44px以上のタップ領域に */
.final .sec-lead { margin-inline: auto; }
.hero-cta .nav-cta, .final .nav-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 26px; font-size: 1rem; }
.final .nav-cta { margin-top: 30px; }

/* 2026-11-13 modern-web-guidance から取り込んだ4点（文字の単位・画像の読み込み順・またたきの停止・よくある質問の印） */
/* 文字の大きさは rem（ブラウザの文字サイズ設定に合わせて大きくなる。標準の設定では今までと同じ大きさ） */

/* 5秒を超えて続く動き（星のまたたき）には止めるボタンを置く（WCAG 2.2.2） */
:root.still .stars i { animation: none; }
.twinkle-toggle {
  position: absolute; right: 16px; bottom: 16px; z-index: 2;
  font: inherit; font-size: 0.75rem; color: var(--ink-muted);
  background: rgba(11, 16, 38, .7);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; min-height: 44px; cursor: pointer;
}
.twinkle-toggle[aria-pressed="true"] { color: var(--gold); border-color: var(--gold); }
@media (prefers-reduced-motion: reduce) { .twinkle-toggle { display: none; } }

/* よくある質問: 印は文字の前の細い「›」。開くと下を向く（なめらかな開閉は対応ブラウザだけ） */
.accordion summary { list-style: none; display: flex; align-items: center; gap: 0.6ch; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::before {
  content: ""; inline-size: 1em; block-size: 1em; flex-shrink: 0;
  background-color: var(--brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
  rotate: -90deg;
}
.accordion details[open] > summary::before { rotate: 0deg; }
.accordion details::details-content { interpolate-size: allow-keywords; overflow: clip; contain: layout; }
.accordion details:not([open])::details-content { block-size: 0; }
@media (prefers-reduced-motion: no-preference) {
  .accordion summary::before { transition: rotate .2s; }
  .accordion details::details-content {
    transition: block-size, content-visibility; transition-duration: .3s; transition-timing-function: ease-in-out;
    transition-behavior: allow-discrete;
  }
}
