/* ブランドの色（ONE-67）：墨 #141414・紙 #F4F4F2・アンバー #E8A33D */
:root {
  --ink: #141414; --paper: #F4F4F2; --accent: #E8A33D; --on-accent: #141414;
  --fg: #141414; --muted: #5A5A55; --bg: #F4F4F2; --surface: #FFFFFF; --rule: #DDDDD8;
  --accent-text: #8F5C0F;
}
@media (prefers-color-scheme: dark) {
  :root { --fg: #F4F4F2; --muted: #B8B8B2; --bg: #141414; --surface: #1F1F1E; --rule: #33332F; --accent-text: #E8A33D; }
}
* { box-sizing: border-box; }
body { margin: 0; font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, sans-serif; font-size: 1.0625rem; color: var(--fg); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { font-family: Sora, "Instrument Sans", sans-serif; letter-spacing: -.025em; margin: 0; }
h2 { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.5rem); line-height: 1.15; font-weight: 700; }
h3 { font-size: 1.15rem; line-height: 1.3; font-weight: 600; }
p { margin: 0; }
code { font-size: .9em; overflow-wrap: anywhere; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
section { padding: 72px 0; }
.lede { color: var(--muted); max-width: 38em; margin-top: 12px; }

/* ファーストビュー。Watch の黒い画面が映えるよう、明暗の設定によらず墨の地にする */
.hero { background: var(--ink); color: var(--paper); overflow: hidden; padding: 0; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.logo { display: block; line-height: 0; color: var(--paper); }
.logo svg { width: 150px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 20px; font-size: .95rem; }
.nav-links a { color: #B8B8B2; text-decoration: none; }
.nav-links a:hover { color: var(--paper); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding-top: 32px; padding-bottom: 64px; }
.hero h1 { font-size: clamp(2.4rem, 1.6rem + 3.6vw, 3.9rem); line-height: 1.06; font-weight: 700; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .sub { color: #D5D5CF; font-size: 1.2rem; max-width: 30em; margin-top: 20px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 28px; }
.button { display: inline-block; padding: .75em 1.35em; border-radius: 999px; text-decoration: none; font-weight: 600; text-align: center; }
.button.primary { background: var(--accent); color: var(--on-accent); }
.button.primary:hover { background: #F0B453; }
/* App Store の公式バッジ（ONE-90）。Apple のアートワークをそのまま使い、高さ 40px 以上・周りに高さの 1/4 以上の余白 */
.store-badge { display: inline-block; line-height: 0; }
.store-badge img { height: 52px; width: auto; }
.button.secondary { color: var(--paper); box-shadow: inset 0 0 0 1.5px #5A5A55; }
.button.secondary:hover { box-shadow: inset 0 0 0 1.5px var(--paper); }
.fine { color: #B8B8B2; font-size: .92rem; margin-top: 16px; }

/* 端末の枠。スクリーンショットは App Store に出しているものをそのまま使う */
.phone { background: #000; border-radius: 13% / 6%; padding: 3.2%; box-shadow: 0 0 0 1px #3A3A37; }
.phone img { border-radius: 10.5% / 4.8%; }
.watch { background: #000; border-radius: 22%; padding: 7%; box-shadow: 0 0 0 1.5px #3A3A37; position: relative; }
.watch::after { content: ""; position: absolute; right: -2.8%; top: 28%; width: 2.8%; height: 15%; background: #3A3A37; border-radius: 0 3px 3px 0; }
.watch img { border-radius: 14%; }
.devices { position: relative; max-width: 340px; margin: 0 auto; padding-bottom: 24px; }
.devices .phone { width: 78%; margin-left: auto; }
.devices .watch { position: absolute; left: 0; bottom: 0; width: 52%; box-shadow: 0 0 0 1.5px #3A3A37, 0 18px 50px rgba(0,0,0,.65); }

/* 使う流れ */
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step .shot { height: 300px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; overflow: hidden; }
.step .shot .watch { width: 200px; flex: none; }
.step .shot .phone { width: 62%; align-self: flex-start; border-bottom-left-radius: 0; border-bottom-right-radius: 0; padding-bottom: 0; }
.step .num { font-family: Sora, sans-serif; font-weight: 700; color: var(--accent-text); font-size: .95rem; }
.step h3 { margin-top: 4px; }
.step p { color: var(--muted); margin-top: 8px; }

/* 使う場面 */
.band { background: var(--surface); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.moments { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.moments .when { color: var(--muted); font-size: .95rem; }
.moments .said { font-family: Sora, sans-serif; font-weight: 600; font-size: 1.2rem; line-height: 1.35; letter-spacing: -.02em; margin-top: 8px; padding-left: 14px; border-left: 3px solid var(--accent); }

/* 安心できる理由 */
.trust { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 48px; }
.trust p { color: var(--muted); margin-top: 6px; }

/* 始め方 */
.setup { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: setup; }
.setup li { counter-increment: setup; border-top: 2px solid var(--fg); padding-top: 14px; }
.setup li::before { content: counter(setup); font-family: Sora, sans-serif; font-weight: 700; color: var(--accent-text); }
.setup h3 { margin-top: 2px; }
.setup p { color: var(--muted); margin-top: 6px; }
.brew { margin-top: 32px; color: var(--muted); font-size: .95rem; }
.brew summary { cursor: pointer; }
.brew code { display: block; margin-top: 8px; color: var(--fg); }
.brew p { margin-top: 10px; }

/* 料金 */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); gap: 16px; margin-top: 36px; }
.plan { background: var(--bg); border: 1px solid var(--rule); border-radius: 16px; padding: 24px; }
.plan .name { color: var(--muted); }
.plan .price { font-family: Sora, sans-serif; font-weight: 700; font-size: 2rem; letter-spacing: -.03em; line-height: 1.2; margin-top: 4px; }
.plan .price small { font-family: "Instrument Sans", sans-serif; font-weight: 400; font-size: 1rem; letter-spacing: 0; color: var(--muted); }
.plan .save { color: var(--muted); font-size: .92rem; margin-top: 4px; }
.pricing-notes { color: var(--muted); margin: 20px 0 0; padding-left: 1.2em; max-width: 42em; }

/* よくある質問 */
.faq { margin-top: 28px; max-width: 760px; }
.faq details { border-top: 1px solid var(--rule); padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: var(--muted); margin-top: 8px; }

/* 最後の案内 */
.closing { background: var(--ink); color: var(--paper); text-align: center; }
.closing .cta { justify-content: center; }
.closing h2 { max-width: 16em; margin: 0 auto; }

footer { padding: 28px 0 40px; color: var(--muted); font-size: .92rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
footer a { color: inherit; margin-right: 1.2em; }
footer .legal { flex-basis: 100%; font-size: .8rem; }

@media (max-width: 800px) {
  section { padding: 56px 0; }
  .hero { padding: 0; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 16px; padding-bottom: 48px; gap: 44px; }
  .steps, .moments, .trust, .setup { grid-template-columns: 1fr; }
  .step .shot { height: 260px; }
  .step .shot .watch { width: 180px; }
  .step .shot .phone { width: 200px; }
  .plans { grid-template-columns: 1fr; }
  .closing .cta .button { flex: 1 1 100%; }  /* 一番上はバッジと Mac のボタンを横に並べる（ONE-90） */
  .nav-links a.hide-small { display: none; }
}

/* 日本語のページ。和文は詰めすぎず、行間を広めにする */
:lang(ja) body, body:lang(ja) { font-family: "Instrument Sans", "Hiragino Sans", "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif; line-height: 1.75; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3, :lang(ja) .said, :lang(ja) .price { font-family: Sora, "Hiragino Sans", "Noto Sans JP", sans-serif; letter-spacing: -.01em; }
.hero h1:lang(ja) { line-height: 1.2; letter-spacing: -.02em; }
:lang(ja) h1, :lang(ja) h2 { word-break: keep-all; overflow-wrap: anywhere; }
