/* Hallmark · v2.0.0 · polish · genre editorial · audit 2026-11-15 */
/*
 * sashine.app のページ
 * 設計（reports/Claude LP 制作の手法.md の方針）
 *   主役: 「証券アプリを開いた瞬間に、さしねちゃんが割り込む」画面。大胆なのはここ1か所だけ。ほかは静かに
 *   色: アプリと同じ案A「藍藤」。差し色1色＋灰色。損益の赤・緑は使わない
 *   文字: 本文は端末のヒラギノ。見出しはロゴと同じ M PLUS Rounded 1c（サイトに置いた小さなファイル。外部のフォントサービスは使わない）。セリフは丸ゴシック。斜体は使わない
 *   形: 角の丸みはカード 20px・ボタン 14px。動きはファーストビューの1回だけ（480ms ease-out）。動きを減らす設定では止める
 *   並び: 約束と画面 → 困りごと → できること → 研究 → 料金・よくある質問 → 注記
 */
:root {
  --bg: #f5f5f9; --bg2: #eceef7; --panel: #ffffff; --line: #dcdeea;
  --ink: #22232e; --sub: #55586b; --muted: #5f6276;
  --accent: #4b56b8; --on-accent: #ffffff; --accent-bg: #e8eafb;
  --voice: "Hiragino Maru Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --body: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  --r-card: 20px; --r-btn: 14px;
  /* ファーストビューのオーロラの3色 */
  /* 影と、いつも暗い帯（困りごと・最後の帯）。ライト・ダーク共通 */
  --shadow-menu: 0 18px 40px rgba(20, 20, 50, .18);
  --shadow-shot: 0 2px 4px rgba(20, 20, 50, .06), 0 30px 70px rgba(30, 34, 100, .22);
  --drop-card: drop-shadow(0 18px 30px rgba(30, 34, 100, .22));
  --drop-feature: drop-shadow(0 14px 28px rgba(30, 34, 90, .16));
  --night: #0d0f1c; --night-2: #1a1c26; --on-night: #eceef7; --on-night-sub: #c3c6dc; --on-night-strong: #f2f3f9;
  --night-glass: rgba(255, 255, 255, .08); --night-glass-line: rgba(255, 255, 255, .16);
  --scrim-trouble: linear-gradient(100deg, rgba(13, 15, 28, .9) 0%, rgba(13, 15, 28, .6) 60%, rgba(13, 15, 28, .35) 100%);
  --scrim-closing: linear-gradient(to top, rgba(14, 15, 22, .88) 0%, rgba(14, 15, 22, .55) 55%, rgba(14, 15, 22, .25) 100%);
  --aurora-1: #a3aef5; --aurora-2: #d8c9f2; --aurora-3: #c9d4ff; --aurora-blend: multiply; --aurora-opacity: .75;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12131a; --bg2: #171926; --panel: #1a1c26; --line: #2b2e3d;
    --ink: #e8e8f0; --sub: #b5b7c8; --muted: #8e91a6;
    --accent: #a3aef5; --on-accent: #12131a; --accent-bg: #232742;
    --aurora-1: #3a43a0; --aurora-2: #4a3a7a; --aurora-3: #2a3a8a; --aurora-blend: screen; --aurora-opacity: .5;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
/* スマホで拡大させない（ダブルタップの拡大も止める） */
html { -webkit-text-size-adjust: 100%; overflow-x: clip; touch-action: manipulation; }
body { overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--ink); min-height: 100vh;
  font-family: var(--body); font-size: 16px; line-height: 1.85;
  line-break: strict; overflow-wrap: anywhere;
}
a { color: var(--accent); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; height: auto; display: block; }

.wrap {
  max-width: 1040px; margin: 0 auto;
  /* 上は iPhone の上端（時計の帯）の分をあける。iOS 26 の Safari は中身を画面の上端まで描くため */
  padding: max(20px, calc(env(safe-area-inset-top) + 10px)) max(20px, env(safe-area-inset-right)) max(56px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
}
/* ファーストビューの背景: ぼかした光のかたまりが20〜30秒かけて漂う（オーロラ）。画面に固定し（固定背景）、下の段（.curtain）がその上を流れる
   iPhone の Safari は background-attachment: fixed が効かないので、固定した層で作る */
body { position: relative; }
.top-photo { position: fixed; inset: 0; height: 100lvh; overflow: hidden; pointer-events: none; background: var(--bg); }
.aurora { position: absolute; inset: -25%; filter: blur(70px); opacity: var(--aurora-opacity); }
.aurora span { position: absolute; border-radius: 50%; mix-blend-mode: var(--aurora-blend); animation: drift 24s ease-in-out infinite alternate; }
.aurora span:nth-child(1) { left: 10%; top: 15%; width: 55%; height: 45%; background: var(--aurora-1); }
.aurora span:nth-child(2) { left: 45%; top: 5%; width: 50%; height: 50%; background: var(--aurora-2); animation-duration: 30s; animation-delay: -8s; }
.aurora span:nth-child(3) { left: 25%; top: 45%; width: 60%; height: 40%; background: var(--aurora-3); animation-duration: 27s; animation-delay: -14s; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(8%, 6%) scale(1.15); } 100% { transform: translate(-6%, -4%) scale(.95); } }
@media (prefers-reduced-motion: reduce) { .aurora span { animation: none; } }
/* 文字の側（左）だけ少し明るくして、読みやすく */
.top-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, color-mix(in srgb, var(--bg) 50%, transparent) 0%, color-mix(in srgb, var(--bg) 12%, transparent) 50%, transparent 75%); }
.wrap { position: relative; isolation: isolate; }
/* 幕: 横いっぱいに背景の色を敷いて、固定した写真を隠しながら流れる。最初の幕の上は、なめらかに溶かす */
.curtain { position: relative; }
.curtain::before { content: ""; position: absolute; inset: 0 0 -80px; z-index: -1; pointer-events: none; border-image: linear-gradient(var(--bg), var(--bg)) fill 0 / 0 / 0 100vmax; }
.curtain-first::before { top: -140px; border-image: linear-gradient(to bottom, transparent, var(--bg) 140px) fill 0 / 0 / 0 100vmax; }
.narrow { max-width: 720px; margin-inline: auto; }
header.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 4px 0 20px; }
header.bar a.home { display: inline-flex; align-items: center; min-height: 44px; }
header.bar a.home img { height: 40px; width: auto; }
header.bar nav { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; }
header.bar nav a { color: var(--sub); text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; }
/* スマホの幅: メニューはハンバーガーにまとめる（JS が動かないときは、そのまま並べる） */
.menu-btn { display: none; }
@media (max-width: 759px) {
  header.bar { position: relative; flex-wrap: nowrap; padding-bottom: 12px; z-index: 20; }
  header.bar a.home img { height: 36px; }
  .js .menu-btn {
    display: inline-grid; place-content: center; gap: 5px; width: 44px; height: 44px; margin-right: -8px;
    border: 0; border-radius: 12px; background: transparent; color: var(--ink); cursor: pointer;
  }
  .js .menu-btn:active { transform: scale(.94); }
  .js header.bar nav a:active { background: var(--accent-bg); }
  .menu-btn span { display: block; width: 22px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
  .bar.open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .bar.open .menu-btn span:nth-child(2) { opacity: 0; }
  .bar.open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .js header.bar nav {
    display: none; position: absolute; top: calc(100% - 4px); left: 0; right: 0; flex-direction: column; gap: 0;
    padding: 6px; font-size: 16px; background: var(--panel); border: 0; border-radius: 18px;
    box-shadow: var(--shadow-menu);
  }
  .js .bar.open nav { display: flex; }
  .js header.bar nav a { color: var(--ink); padding: 0 14px; min-height: 50px; border-radius: 12px; }
  .js header.bar nav a + a { border-top: 1px solid var(--line); border-radius: 0; }
}

/* 見出しの書体: ロゴと同じ M PLUS Rounded 1c（使う文字だけに絞ってサイトに置く。scripts/site-font.py） */
@font-face { font-family: "Sashine Display"; src: url("/fonts/mplus-rounded-xb.woff2") format("woff2"); font-weight: 700 900; font-display: swap; }
h1, h2, h3, .display { font-family: "Sashine Display", var(--body); }
h1, h2, h3 { overflow-wrap: break-word; min-width: 0; line-height: 1.4; font-feature-settings: "palt"; text-wrap: balance; letter-spacing: .01em; }
h1 { font-size: clamp(34px, 7vw, 56px); font-weight: 700; margin: 0; line-height: 1.25; }
h2 { font-size: clamp(26px, 3.6vw, 44px); line-height: 1.3; font-weight: 700; margin: 0 0 14px; }
h3 { font-size: 17px; font-weight: 700; margin: 0 0 4px; }
p { margin: 0; }
/* 文節の塊（この中では折り返さない）。見出しとリードだけに使う */
.nw { display: inline-block; }
.sub { color: var(--sub); }
.muted { color: var(--muted); font-size: 14px; }

/* ---------- ファーストビュー（大胆なのはここだけ） ---------- */
.hero { display: grid; gap: 28px; align-items: center; padding: 12px 0 8px; }
.hero h1 { font-size: clamp(34px, 5.6vw, 54px); line-height: 1.3; letter-spacing: 0; }
/* 「ひと呼吸。」だけ差し色。下に手描きの線を1回だけ引く */
.breath-word { position: relative; color: var(--accent); }
.breath-line { position: absolute; left: 0; bottom: -.16em; width: calc(100% - .6em); height: .34em; overflow: visible; }
.breath-line path { fill: none; stroke: var(--accent); stroke-opacity: .38; stroke-width: 5; stroke-linecap: round; }
.hero .lead { font-size: clamp(17px, 2.2vw, 19px); color: var(--sub); margin-top: 18px; }
.hero .soon { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
/* 押せない「近日公開」の札（ボタンに見せない）。公開したら Apple の公式バッジに差し替える */
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 12px; background: var(--accent-bg); color: var(--ink); font-size: 14px; font-weight: 600; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* アプリの画面 */
.hero .stage { position: relative; justify-self: center; width: min(300px, 74vw); }
.hero .shot {
  border-radius: 34px; overflow: hidden;
  box-shadow: var(--shadow-shot);
}
@media (min-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; padding-top: 32px; min-height: min(calc(100svh - 96px), 960px); }
  .hero .stage { width: clamp(300px, 24vw, 360px); }
}
/* スマホの幅: 右にさしねちゃんの立ち絵、左に見出し。その下に質問のカードを重ねる（アプリ画面の全体はパソコンの幅だけ） */
.hero-art, .hero-ask { display: none; }
@media (max-width: 859px) {
  .hero { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding-top: 6px; overflow-x: clip; }
  .hero-copy { display: contents; }
  .hero-copy > * { position: relative; z-index: 1; }
  .hero h1 { order: 2; }
  .hero .lead { order: 3; align-self: flex-start; }
  .hero-ask { order: 4; }
  .hero .soon { order: 5; }
  .hero .stage { display: none; }
  .hero-art { display: block; position: absolute; right: -4px; top: 0; height: 470px; z-index: 0; pointer-events: none; }
  .hero-art::before { content: ""; position: absolute; left: 50%; top: 32%; width: 260px; aspect-ratio: 1; translate: -50% -50%; z-index: -1; border-radius: 50%;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 22%, transparent), transparent); }
  .hero-art img { height: 100%; width: auto; }
  .hero h1 { font-size: 32px; text-shadow: 0 0 14px var(--bg), 0 0 4px var(--bg); }
  .hero .lead { max-width: 63%; font-size: 15px; line-height: 1.8; margin-top: 14px; text-shadow: 0 0 10px var(--bg); }
  .hero-ask { display: block; position: relative; z-index: 2; margin: 22px 0 0; align-self: center; width: min(340px, 94%); filter: var(--drop-card); }
  .hero-ask img { width: 100%; height: auto; }
  .hero .soon { justify-content: center; margin-top: 18px; }
}
@media (max-width: 859px) and (min-width: 560px) {
  .hero-art { right: 4%; height: 520px; }
  .hero .lead { max-width: 58%; }
}
@media (max-width: 859px) and (prefers-reduced-motion: no-preference) {
  .hero-art { animation: rise .8s .1s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-ask { animation: rise .8s .3s cubic-bezier(.2, .7, .2, 1) both; }
}
/* 動き: 最初に1回だけ順に浮かぶ。動きを減らす設定では止める */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .18s; }
  .hero .stage { animation: rise .8s .12s cubic-bezier(.2, .7, .2, 1) both; }
  .breath-line path { stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 1.1s .7s ease-out forwards; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  @keyframes draw { to { stroke-dashoffset: 0; } }
}
/* ---------- セクション（静かに） ---------- */
section.block { padding: clamp(72px, 9vw, 128px) 0 0; }

.note-box { background: var(--accent-bg); border-radius: var(--r-card); padding: 20px 22px; }
.note-box p + p { margin-top: 10px; }
.cite { font-size: 14px; color: var(--sub); }

/* できること: 番号と場面 → 見出し → 説明 ／ 反対側にアプリの本物の画面 */
.section-lead { margin: -4px 0 24px; }
.features { display: grid; gap: 20px; margin-top: 8px; }
.feature { display: grid; gap: 22px; align-items: center; padding: 28px 0; border-top: 1px solid var(--line); }
.feature:first-child { border-top: 0; }
.feature-no { display: block; margin-bottom: 10px; font-family: "Sashine Display", var(--body); font-variant-numeric: tabular-nums; font-size: 30px; line-height: 1; color: var(--accent); }
.feature h3 { font-size: clamp(22px, 3.4vw, 28px); line-height: 1.4; margin-bottom: 12px; }
.feature-text { color: var(--sub); }
.feature-stage { margin: 0; background: linear-gradient(160deg, var(--accent-bg), var(--bg2)); border-radius: 28px; padding: 28px 22px; display: grid; gap: 12px; justify-items: center; }
/* 自分の答え（アプリの中の答えの札と同じ形） */
.feature-answer { justify-self: end; background: var(--panel); color: var(--accent); font-size: 13px; font-weight: 700; border-radius: 999px; padding: 4px 12px; box-shadow: 0 1px 0 var(--line); }
.feature-stage.is-card .feature-answer { margin-right: max(0px, calc((100% - 380px) / 2)); }
.feature-card { width: 100%; max-width: 380px; filter: var(--drop-feature); }
/* 小さなその他の特徴 */
.extras { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.extras li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-card); padding: 18px 20px; color: var(--sub); font-size: 15px; line-height: 1.75; }
.extras b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 4px; }
@media (min-width: 760px) { .extras { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 860px) {
  .features { gap: 0; }
  .feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; padding: 56px 0; }
  .feature:nth-child(even) .feature-body { order: 2; }
  .feature-stage { padding: 34px 32px 30px; }
}

dl.plan { margin: 0; display: grid; gap: 0 32px; }
dl.plan div { border-top: 1px solid var(--line); padding: 16px 0; }
dl.plan dt { font-weight: 700; }
dl.plan dd { margin: 2px 0 0; color: var(--sub); font-size: 15px; }
@media (min-width: 860px) { dl.plan { grid-template-columns: repeat(2, 1fr); } }

details.faq { border-bottom: 1px solid var(--line); padding: 4px 0; }
details.faq summary { cursor: pointer; font-weight: 700; padding: 12px 0; list-style: none; min-height: 44px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "＋"; float: right; color: var(--muted); font-weight: 400; }
details.faq[open] summary::after { content: "－"; }
details.faq p { color: var(--sub); padding: 0 0 14px; }

.closing { padding: 56px 0 0; }

/* 最後の帯: 暗めの写真に膜を敷き、白い文字（コントラスト 4.5:1 以上） */
/* 困りごと: 暗い帯。背景は値動きの画面をぼかして藍1色にした写真（数字は読めない） */
/* 横いっぱいの帯（中身はほかの段と同じ幅）。html と body の overflow-x: clip で横スクロールは出ない */
.trouble { position: relative; margin-top: clamp(48px, 7vw, 96px); margin-inline: calc(50% - 50vw); overflow: hidden; background: var(--night); color: var(--on-night); }
.trouble .bg, .trouble .bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.trouble .bg img { object-fit: cover; object-position: center; }
.trouble::after { content: ""; position: absolute; inset: 0; background: var(--scrim-trouble); }
/* 左にさしねちゃん（指さし）、右に見出しと本文。さしねちゃんは帯の下の端に立つ */
.trouble-inner { position: relative; z-index: 1; max-width: 1040px; margin-inline: auto; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "title title" "art text"; column-gap: 14px; padding: 36px 20px 0 12px; }
.trouble-text { display: contents; }
.trouble-inner h2 { grid-area: title; padding-left: 8px; font-size: 24px; }
.trouble-art { grid-area: art; align-self: end; }
.trouble-art img { display: block; width: auto; height: 200px; }
.trouble-inner .sub { grid-area: text; padding-bottom: 32px; font-size: 15px; max-width: 640px; }
.trouble .sub { color: var(--on-night-sub); }
@media (min-width: 760px) {
  .trouble-inner { grid-template-areas: "art title" "art text"; grid-template-rows: auto 1fr; column-gap: 36px; padding: 64px 20px 0; }
  .trouble-inner h2 { padding-left: 0; align-self: end; font-size: clamp(26px, 3.6vw, 44px); }
  .trouble-art img { height: 340px; }
  .trouble-inner .sub { font-size: 16px; padding-bottom: 56px; }
}
.closing-band { position: relative; margin-top: clamp(72px, 9vw, 128px); border-radius: 24px; overflow: hidden; min-height: 300px; display: grid; align-items: end; background: var(--night-2); color: var(--on-night); }
.closing-band .bg, .closing-band .bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.closing-band .bg img { object-fit: cover; object-position: center 40%; }
.closing-band::after { content: ""; position: absolute; inset: 0; background: var(--scrim-closing); }
.closing-inner { position: relative; z-index: 1; display: flex; align-items: flex-end; gap: 16px; padding: 24px 24px 0; }
.closing-inner img { height: 200px; width: auto; display: block; }
.closing-inner > div { padding-bottom: 26px; }
.closing-say { font-family: var(--voice); font-size: clamp(20px, 3.4vw, 26px); font-weight: 700; line-height: 1.5; color: var(--on-night-strong); }
.closing-sub { color: var(--on-night-sub); font-size: 14px; margin-top: 6px; }

/* ---------- 文書（プライバシーポリシー・利用規約・サポート） ---------- */
.doc { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-card); padding: 8px 22px 22px; max-width: 760px; }
.doc h1 { font-size: clamp(26px, 5vw, 32px); margin: 16px 0 8px; }
.doc h2 { font-size: 20px; margin: 36px 0 8px; }
.doc ol, .doc ul { padding-left: 1.3em; }
.doc li + li { margin-top: 4px; }
dl.faq dt { font-weight: 700; margin-top: 18px; }
dl.faq dd { margin: 4px 0 0; color: var(--sub); }

footer { margin-top: 56px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer a { white-space: nowrap; color: var(--muted); display: inline-flex; align-items: center; min-height: 44px; }
footer .legal { flex-basis: 100%; line-height: 1.7; }
