/* フォントはページに出る文字だけを切り出して同梱（fonts/）。文字を足したら作り直す：tools/フォントを作り直す.py */
@font-face { font-family: "Zen Kaku Gothic New"; font-weight: 500; font-display: swap; src: url("/fonts/zenkaku-500.woff2") format("woff2"); }
@font-face { font-family: "Zen Kaku Gothic New"; font-weight: 700; font-display: swap; src: url("/fonts/zenkaku-700.woff2") format("woff2"); }
@font-face { font-family: "Zen Kaku Gothic New"; font-weight: 900; font-display: swap; src: url("/fonts/zenkaku-900.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("/fonts/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-display: swap; src: url("/fonts/barlow-800.woff2") format("woff2"); }

/* 色：鉄の灰色の濃淡 ＋ アプリと同じ水色ひとつ */
:root {
  --bg: #dfe3e7;          /* 磨いた鋼 */
  --surface: #eceff2;
  --text: #15191d;
  --muted: #4f5a64;
  --line: #b9c1c9;
  --steel: #7d8893;
  --accent: #1b78b0;
  --plate-hi: #5d6771;
  --plate-lo: #2a3036;
  --plate-line: #75808a;
  --plate-text: #c3ccd4;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c2127;        /* 鋳鉄 */
    --surface: #242a31;
    --text: #e6eaee;
    --muted: #97a2ac;
    --line: #353d46;
    --steel: #8b96a0;
    --accent: #4db8f0;
    --plate-hi: #59636d;
    --plate-lo: #22282e;
    --plate-line: #6f7a84;
    --plate-text: #aeb8c1;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-weight: 500;
  line-height: 1.85;
}
a { color: var(--accent); text-underline-offset: 0.2em; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
img { display: block; max-width: 100%; height: auto; }

/* ---------- 共通（プライバシーポリシーのページも使う） ---------- */
main { max-width: 720px; margin: 0 auto; padding: 48px 16px 64px; }
header.brand { margin-bottom: 32px; }
header.brand a, .brand { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 12px; }
.mark { width: 36px; height: 36px; flex: none; color: var(--accent); }
.name, .brand span { font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 1.6rem; letter-spacing: 0.04em; }
h1 { font-size: 1.6rem; line-height: 1.4; margin: 0 0 8px; font-weight: 900; }
h2 { font-size: 1.15rem; margin: 40px 0 8px; padding-top: 16px; border-top: 1px solid var(--line); font-weight: 700; }
h3 { font-size: 1rem; margin: 24px 0 4px; }
p, li { margin: 0 0 12px; }
ul { padding-left: 1.3em; }
.meta { color: var(--muted); font-size: 0.9rem; }
table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 8px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 700; }
footer { margin-top: 48px; color: var(--muted); font-size: 0.85rem; }
footer a { color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- トップページ ---------- */
.home main { max-width: 1120px; padding: 0 20px 80px; }
.home .top { max-width: 1120px; margin: 0 auto; padding: 28px 20px 0; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 32px 0 72px;
}
.hero-copy { max-width: 34em; }
.hero h1 {
  font-size: clamp(2.1rem, 6.6vw, 3.5rem);
  line-height: 1.22;
  letter-spacing: -0.01em;
  font-feature-settings: "palt" 1;
  margin: 0 0 28px;
}
.lead { font-size: 1.08rem; color: var(--muted); margin-bottom: 24px; }
.facts { font-weight: 700; font-size: 1.05rem; padding-left: 14px; border-left: 4px solid var(--accent); }
.status { color: var(--muted); font-size: 0.9rem; margin: 0; }

/* 円盤と画面 */
.stage { position: relative; width: min(100%, 520px); aspect-ratio: 1 / 1.3; margin: 0 auto; }
.plate { position: absolute; inset: 0 0 auto 0; width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.35)); }
.rim-text { font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 27px; fill: var(--plate-text); }
.phone { position: absolute; margin: 0; padding: 6px; border-radius: 30px; background: linear-gradient(150deg, #6b7681, #2b3238 60%); box-shadow: 0 30px 50px rgba(0, 0, 0, 0.4); }
.phone img { border-radius: 24px; }
.phone-front { width: 36%; left: 8%; top: 36%; z-index: 2; }
.phone-back { width: 32%; right: 8%; top: 46%; z-index: 1; }

@media (min-width: 880px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; padding-top: 48px; }
}
@media (max-width: 520px) {
  .phone { padding: 4px; border-radius: 20px; }
  .phone img { border-radius: 16px; }
}

@media (prefers-reduced-motion: no-preference) {
  .plate { animation: settle 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  @keyframes settle { from { transform: rotate(-40deg); } to { transform: rotate(0); } }
}

/* 挙げる／食べる */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
  padding: 56px 0;
  border-top: 2px solid var(--text);
}
@media (min-width: 760px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.col-title {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 0 0 20px;
  font-size: clamp(2.2rem, 6vw, 3rem);
  font-weight: 900;
  line-height: 1.2;
}
.split dl { margin: 0; }
.split dt { font-weight: 700; font-size: 1.1rem; padding-top: 18px; border-top: 1px solid var(--line); }
.split dd { margin: 4px 0 22px; color: var(--muted); }
.pro-note { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 0.95rem; }

/* 画面 */
.screens { padding: 56px 0; border-top: 1px solid var(--line); }
.screens h2 { border: 0; padding: 0; margin: 0 0 24px; font-size: 1.5rem; font-weight: 900; }
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 3vw, 32px); }
.shots figure { margin: 0; }
.shots img { border-radius: clamp(10px, 2vw, 22px); border: 1px solid var(--line); }
.shots figcaption { margin-top: 12px; font-weight: 700; font-size: clamp(0.8rem, 2.4vw, 1rem); }
.note { color: var(--muted); font-size: 0.85rem; margin: 20px 0 0; }

/* 端末の中だけに */
.private {
  padding: 48px clamp(20px, 5vw, 56px);
  background: #14181c;
  color: #e6eaee;
  border-radius: 6px;
}
.private h2 { border: 0; padding: 0; margin: 0 0 16px; font-size: clamp(1.4rem, 4vw, 2rem); font-weight: 900; font-feature-settings: "palt" 1; }
.private p { max-width: 40em; color: #b9c2ca; }
.private p:last-child { margin: 0; }
.private a { color: #4db8f0; font-weight: 700; }

.foot { max-width: 1120px; margin: 0 auto; padding: 0 20px 48px; display: flex; flex-wrap: wrap; gap: 8px 28px; color: var(--muted); font-size: 0.85rem; }
.foot p { margin: 0; }
.foot a { color: var(--muted); }
