/* ヨミゾウ 先行メンバー登録ページ（2026年10月26日 作り直し）
   外のフォントは使わない（訪問者の情報を外に送らないため）。端末の丸ゴシックを使う */
:root {
  color-scheme: light;
  --sky: #E6F5FA;
  --sky2: #A9DDF0;
  --ground: #F7E2B5;
  --card: #FFFFFF;
  --ink: #1E2547;
  --muted: #59628A;
  --shu: #F2542D;
  --sun: #FFC93C;
  --leaf: #1FAE7A;
  --paper: #FFF3D6;
  --mist: #D6EAF2;
  --ui: "Hiragino Maru Gothic ProN", "Hiragino Maru Gothic Pro", "BIZ UDPGothic", "Yu Gothic UI", "Yu Gothic", "Meiryo", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--sky); color: var(--ink); font-family: var(--ui); font-size: 16px; line-height: 1.75; }
a { color: var(--ink); text-underline-offset: .2em; }
ruby rt { font-size: .5em; letter-spacing: 0; }
.wrap { max-width: 46rem; margin: 0 auto; padding: 20px 16px 48px; display: flex; flex-direction: column; gap: 20px; }
h1, h2, h3 { margin: 0; line-height: 1.35; font-weight: 800; text-wrap: balance; }
p { margin: 0; }
.nw { white-space: nowrap; display: inline-block; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ヒーロー：4人がならぶ */
.hero { background: linear-gradient(to bottom, var(--sky2) 0, var(--sky) 68%, var(--ground) 68%, var(--ground) 100%); border: 3px solid var(--ink); border-radius: 26px; padding: 22px 16px 0; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; overflow: hidden; position: relative; }
.hero .soon { position: absolute; top: 14px; right: 14px; font-size: .8rem; font-weight: 800; background: var(--sun); border: 2px solid var(--ink); border-radius: 999px; padding: 0 12px; }
.hero .lead { font-weight: 800; color: var(--muted); }
.hero h1 { font-size: 2.3rem; }
.hero h1 .y { color: var(--shu); }
.hero .pill { font-weight: 800; background: #fff; border: 3px solid var(--ink); border-radius: 999px; padding: 6px 18px 4px; box-shadow: 0 4px 0 var(--ink); margin-top: 4px; line-height: 1.9; }
.cast { display: flex; align-items: flex-end; justify-content: center; gap: 2%; width: 100%; max-width: 34rem; margin-top: 14px; padding-bottom: 10px; }
.cast img { height: auto; display: block; }
.cast .c-yomizo { width: 37%; } .cast .c-konoha { width: 17%; } .cast .c-uta { width: 17.5%; } .cast .c-riku { width: 16.5%; }

.card { background: var(--card); border: 3px solid var(--ink); border-radius: 22px; padding: 22px 20px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.card h2 { font-size: 1.4rem; }
.eyebrow { font-size: .8rem; font-weight: 800; letter-spacing: .08em; color: var(--shu); }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.points li { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); gap: 12px; align-items: start; }
.points .n { width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 3px solid var(--ink); background: var(--sun); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.points b { display: block; }
.points span { color: var(--muted); font-size: .95rem; }
.member { background: var(--paper); }
.small { font-size: .88rem; color: var(--muted); }

/* フォーム */
form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 800; }
.field small { font-weight: 500; color: var(--muted); }
input[type="text"], input[type="email"], select { font: inherit; font-size: 1.05rem; padding: 10px 14px; border: 3px solid var(--ink); border-radius: 14px; background: #fff; color: var(--ink); width: 100%; max-width: 26rem; min-width: 0; }
select { appearance: auto; }
input:focus-visible, select:focus-visible, button:focus-visible, .check input:focus-visible, a:focus-visible { outline: 4px solid var(--sun); outline-offset: 3px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-weight: 800; padding: 0; margin-bottom: 6px; }
.kids { display: flex; flex-direction: column; gap: 10px; }
.kid { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr) auto; gap: 10px; align-items: center; background: var(--sky); border: 2px solid var(--ink); border-radius: 16px; padding: 10px 12px; }
.kid .no { font-weight: 800; white-space: nowrap; }
.kid select { max-width: none; padding: 8px 10px; font-size: 1rem; }
.kid .rm { font: inherit; font-size: .85rem; font-weight: 800; border: 2px solid var(--ink); background: #fff; color: var(--ink); border-radius: 10px; padding: 4px 10px; cursor: pointer; }
.btn { font: inherit; font-weight: 800; font-size: 1.1rem; cursor: pointer; color: #fff; background: var(--shu); border: 3px solid var(--ink); border-radius: 18px; padding: 12px 24px; box-shadow: 0 5px 0 var(--ink); align-self: flex-start; }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--ink); }
.btn:disabled { opacity: .5; cursor: progress; }
.btn.sub { background: #fff; color: var(--ink); font-size: .95rem; padding: 6px 16px; border-radius: 14px; box-shadow: 0 3px 0 var(--ink); }
.btn.go { background: var(--leaf); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; font-weight: 500; }
.check input { margin-top: .3em; width: 20px; height: 20px; accent-color: var(--leaf); flex: none; }
.check .opt { font-weight: 800; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.err { color: var(--shu); font-weight: 800; }
.done { background: #CDEFE1; border: 3px solid var(--ink); border-radius: 18px; padding: 16px 18px; display: flex; gap: 14px; align-items: center; }
.done img { width: 72px; height: auto; flex: none; }

/* プライバシーのページ */
.doc h1 { font-size: 1.6rem; }
.doc h2 { font-size: 1.15rem; margin-top: 10px; padding-top: 14px; border-top: 2px dashed var(--mist); }
.doc ul { margin: 0; padding-left: 1.3em; display: flex; flex-direction: column; gap: 4px; }
.doc p + p { margin-top: 0; }
.back { font-weight: 800; color: var(--muted); text-decoration: none; }

footer { text-align: center; font-size: .82rem; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }
footer a { color: var(--muted); }

@media (max-width: 600px) {
  .hero h1 { font-size: 1.7rem; }
  .hero .pill { font-size: .95rem; border-radius: 22px; }
  .hero .soon { position: static; margin-bottom: 4px; }
  .kid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .kid .no { grid-column: 1 / -1; }
  .kid .rm { grid-column: 1 / -1; justify-self: start; }
}
.mb8 { margin-bottom: 8px; }
.mt10 { margin-top: 10px; }
.checks { display: flex; flex-direction: column; gap: 10px; }
[hidden] { display: none !important; }
.hero .pill rt, .hero .lead rt { font-size: .46em; letter-spacing: -.04em; }

a.btn { display: inline-block; text-decoration: none; }

/* 先行メンバー価格（2026年10月27日） */
.deal { background: #fff; border: 3px solid var(--ink); border-radius: 18px; padding: 14px 18px; display: flex; flex-direction: column; gap: 2px; align-self: flex-start; }
.deal .was { color: var(--muted); font-weight: 800; font-size: .9rem; }
.deal .was s { text-decoration-thickness: 2px; }
.deal .now { font-weight: 800; font-size: 1.15rem; line-height: 1.3; }
.deal .now b { font-size: 2.4rem; color: var(--shu); margin: 0 2px; }
.deal .tax { font-size: .85rem; color: var(--muted); display: inline-block; }
.deal .year { font-weight: 800; font-size: .95rem; line-height: 1.3; }
.deal .year b { font-size: 1.35rem; color: var(--shu); margin: 0 2px; }
.deal .keep { font-weight: 800; font-size: .92rem; color: var(--leaf); }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: .88rem; font-weight: 800; background: #fff; border: 2px solid var(--ink); border-radius: 999px; padding: 2px 12px; }
.tags li::before { content: "✓ "; color: var(--leaf); }

/* 「詳しく見る」で開く説明 */
.more { border-top: 2px dashed var(--mist); padding-top: 12px; }
.member .more { border-top-color: #EBCF95; }
.more summary { list-style: none; cursor: pointer; font-weight: 800; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; padding: 4px 14px 4px 10px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; font-size: .92rem; }
.more summary::-webkit-details-marker { display: none; }
.more summary::before { content: "＋"; display: inline-flex; width: 1.4em; height: 1.4em; align-items: center; justify-content: center; border-radius: 50%; background: var(--sun); border: 2px solid var(--ink); font-size: .8rem; line-height: 1; }
.more[open] summary::before { content: "－"; }
.more summary:focus-visible { outline: 4px solid var(--sun); outline-offset: 3px; }
.more-body { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; font-size: .95rem; }
.more-body h3 { font-size: 1rem; margin-top: 8px; }
.more-body h3:first-child { margin-top: 0; }
.more-body ul { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 4px; }

/* フッター：プライバシーのお知らせの右に「ヨミゾウについて詳しく」（10/27） */
footer .links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 14px; }
footer .more-btn { display: inline-block; font-weight: 800; color: var(--ink); text-decoration: none; background: #fff; border: 2px solid var(--ink); border-radius: 999px; padding: 4px 14px 3px; box-shadow: 0 3px 0 var(--ink); line-height: 1.6; }
footer .more-btn::after { content: " ↗"; }
footer .more-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
footer .more-btn:focus-visible { outline: 3px solid var(--shu); outline-offset: 2px; }

/* 詳しく見るの中の価格の行（10/27） */
.more-body .price { font-weight: 800; color: var(--ink); background: #fff; border: 2px dashed var(--shu); border-radius: 12px; padding: 6px 12px; margin: 4px 0; }

.follow .follow-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin: 0; }
.follow .sns { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 14px; color: #000; }
.follow .sns svg { display: block; fill: currentColor; }
.follow .sns:focus-visible { outline: 3px solid var(--shu); outline-offset: 2px; }
