:root {
  --bg-paper: #f3f0eb;
  --ink: #16161f;
  --muted: #6b6b7b;
  --accent: #e8487a;
  --accent-deep: #c23060;
  --surface: #ffffff;
  --border: #e4ded6;
  --max: 40rem;
  /* 本文ゴシック / ロゴだけ mono でペアを作る */
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI",
    "Yu Gothic", "Noto Sans JP", sans-serif;
  --font-brand: "SF Mono", "Menlo", "Consolas", "Hiragino Sans", monospace;
  --radius-cta: 4px;
  --radius-device: 2.15rem;
  --radius-screen: 1.7rem;
  --device-frame: #1c1c1e;
  --device-frame-hi: #3a3a3c;
  --device-frame-lo: #0b0b0d;
}

* {
  box-sizing: border-box;
}

::selection {
  background: var(--accent);
  color: #fff;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.7;
  background: var(--bg-paper);
  -webkit-font-smoothing: antialiased;
}

/* ——— Landing ——— */

body.landing {
  overflow-x: hidden;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.25rem, 3vw, 2.25rem);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: var(--bg-paper);
}

.hero-bg-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* 写真の上に薄い紙ヴェール（読みやすさ）。グラデ虹は使わない */
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: rgba(243, 240, 235, 0.82);
}

.hero-grid {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr);
  gap: clamp(1.25rem, 3.5vw, 2.75rem);
  align-items: center;
  max-width: 72rem;
  width: 100%;
  margin: 0 auto;
  padding: clamp(1rem, 3.5vh, 2.5rem) 0;
}

.brand {
  margin: 0 0 1.1rem;
}

.brand-logo {
  display: block;
  width: min(16.5rem, 68vw);
  height: auto;
}

/* SmartNews 型: 感情ライン → 大きい主張 → 補足3行 */
.tagline {
  margin: 0 0 0.55rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 500;
  letter-spacing: -0.08em;
  line-height: 1.5;
  color: var(--ink);
}

.claim {
  font-family: var(--font);
  font-size: clamp(1.85rem, 4.8vw, 3.1rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
  margin: 0 0 1.15rem;
  color: var(--ink);
}

.pitch {
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 0;
  max-width: 22rem;
}

.pitch li {
  font-size: clamp(0.95rem, 1.7vw, 1.05rem);
  font-weight: 400;
  line-height: 1.65;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.cta {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  display: inline-block;
  padding-bottom: 0.15rem;
  border-radius: 0;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.cta:hover {
  color: var(--accent-deep);
  border-bottom-color: var(--accent-deep);
}

.cta:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.device-row {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: clamp(0.85rem, 2.2vw, 1.35rem);
}

.device {
  margin: 0;
  width: min(11.75rem, 38vw);
  flex: 0 0 auto;
}

.device-shell {
  position: relative;
  background:
    linear-gradient(145deg, var(--device-frame-hi) 0%, var(--device-frame) 42%, var(--device-frame-lo) 100%);
  padding: 0.55rem;
  border-radius: var(--radius-device);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 -1px 0 rgba(0, 0, 0, 0.45) inset,
    0 18px 36px rgba(22, 22, 31, 0.22),
    0 4px 10px rgba(22, 22, 31, 0.12);
}

.device-screen {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-screen);
  background: #000;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.55);
}

.device-shot {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top center;
  /* 枠・Island に対して中身をわずかに下げる */
  transform: translateY(1.375%);
  background: var(--bg-paper);
}

/* Dynamic Island */
.device-island {
  position: absolute;
  top: 0.85rem;
  left: 50%;
  z-index: 3;
  width: 28%;
  height: 0.72rem;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #050505;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.device-btn {
  position: absolute;
  background: linear-gradient(180deg, #4a4a4c, #1a1a1c);
  border-radius: 2px;
  pointer-events: none;
}

.device-btn-silent {
  left: -0.1rem;
  top: 18%;
  width: 0.12rem;
  height: 1.05rem;
}

.device-btn-vol-up {
  left: -0.12rem;
  top: 28%;
  width: 0.14rem;
  height: 1.55rem;
}

.device-btn-vol-down {
  left: -0.12rem;
  top: 40%;
  width: 0.14rem;
  height: 1.55rem;
}

.device-btn-power {
  right: -0.12rem;
  top: 30%;
  width: 0.14rem;
  height: 2.35rem;
}

.hero-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  max-width: 70rem;
  width: 100%;
  margin: 0 auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.hero-foot .footer-nav a {
  color: var(--ink);
  opacity: 0.6;
}

.hero-foot .footer-nav a:hover {
  color: var(--accent-deep);
  opacity: 1;
}

.ops {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.ops a {
  color: var(--accent-deep);
  text-decoration: none;
  border-radius: var(--radius-cta);
}

.ops a:hover {
  text-decoration: underline;
}

@media (max-width: 820px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: left;
    padding-top: 0.75rem;
  }

  .hero-visual {
    justify-content: center;
    order: -1;
  }

  .device-row {
    gap: 0.75rem;
  }

  .device {
    width: min(9.75rem, 42vw);
  }

  .hero-veil {
    background: rgba(243, 240, 235, 0.88);
  }

  .hero-foot {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ——— Legal ——— */

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
}

.wrap > .brand {
  font-family: var(--font-brand);
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  margin: 0 0 1.5rem;
}

h1 {
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 1rem;
}

.note {
  font-size: 0.95rem;
  margin: 0 0 1.5rem;
}

.muted-ops {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 3rem;
}

.muted-ops a {
  color: var(--accent-deep);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  font-size: 0.9rem;
}

.footer-nav a,
.legal a {
  color: var(--accent-deep);
  text-decoration: none;
}

.footer-nav a:hover,
.legal a:hover {
  text-decoration: underline;
}

.legal h1 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal .meta {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 2rem;
}

.legal h2 {
  font-size: 1.1rem;
  margin: 2rem 0 0.75rem;
}

.legal ul {
  padding-left: 1.25rem;
}

.legal li {
  margin-bottom: 0.4rem;
}

.back {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}
