:root {
  --bg-top: #26262a;
  --bg-bottom: #161618;
  --text: #f5f5f7;
  --muted: #a1a1a6;
  --faint: #6e6e73;
  --accent: #0a84ff;
  --accent-deep: #006fe0;
  --hairline: rgba(255, 255, 255, 0.1);
}

* { box-sizing: border-box; }

button { font: inherit; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--bg-top), var(--bg-bottom) 560px);
  color: var(--text);
  font-family: "kazesawa", "Hiragino Kaku Gothic ProN", "Hiragino Sans",
    "Noto Sans JP", "Yu Gothic UI", "Segoe UI", sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 28px 72px;
}

a { color: var(--accent); }

::selection { background: rgba(10, 132, 255, 0.35); }

/* ---------- header ---------- */
header.site {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 26px 0 20px;
  border-bottom: 1px solid var(--hairline);
}

header.site img { width: 34px; height: 34px; border-radius: 8px; }
header.site .name { font-size: 17px; font-weight: 700; letter-spacing: 0.03em; }
header.site nav { margin-left: auto; font-size: 13.5px; }
header.site nav a { color: var(--muted); text-decoration: none; }
header.site nav a:hover { color: var(--text); }

/* ---------- hero ---------- */
.hero { text-align: center; padding: 72px 0 0; }

.hero img.mark {
  width: 120px; height: 120px; border-radius: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.hero h1 {
  font-size: 44px; line-height: 1.35; margin: 34px 0 10px; font-weight: 800;
  letter-spacing: 0.01em;
}

.hero p.tagline { color: var(--muted); font-size: 17px; margin: 0 0 32px; }

.store-button {
  display: inline-block;
  background: linear-gradient(180deg, #2f97ff, var(--accent) 55%, var(--accent-deep));
  color: #fff; text-decoration: none; font-weight: 700;
  padding: 13px 32px; border-radius: 999px; font-size: 15.5px;
  box-shadow: 0 10px 28px rgba(10, 132, 255, 0.35);
  transition: filter 0.15s ease, transform 0.15s ease;
}
.store-button:hover { filter: brightness(1.09); transform: translateY(-1px); }
.store-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.store-button.ghost {
  background: transparent; color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: none;
}
.store-button.ghost:hover { border-color: rgba(255, 255, 255, 0.55); filter: none; }
.store-note { color: var(--faint); font-size: 13px; margin-top: 12px; }
.store-url { font-size: 13px; margin-top: 4px; }
.store-url a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- carousel ---------- */
.carousel { margin-top: 56px; position: relative; outline: none; }

.carousel .track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: 16px;
}
.carousel .track::-webkit-scrollbar { display: none; }

.carousel figure {
  flex: 0 0 100%;
  scroll-snap-align: center;
  margin: 0;
}

.carousel figure img {
  display: block;
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--hairline);
}

.carousel figcaption {
  color: var(--muted);
  font-size: 13.5px;
  text-align: center;
  padding-top: 14px;
}

.carousel .nav {
  position: absolute;
  top: 41%;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  background: rgba(22, 22, 24, 0.62);
  backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s ease;
  z-index: 2;
}
.carousel .nav:hover { background: rgba(52, 52, 56, 0.85); }
.carousel .nav svg { width: 18px; height: 18px; }
.carousel .nav.prev { left: 14px; }
.carousel .nav.next { right: 14px; }

.carousel .dots {
  display: flex; gap: 8px; justify-content: center; margin-top: 4px;
}
.carousel .dots button {
  width: 7px; height: 7px; border-radius: 50%;
  border: none; padding: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.25);
  transition: background 0.15s ease, transform 0.15s ease;
}
.carousel .dots button.active { background: #fff; transform: scale(1.25); }

/* ---------- sections ---------- */
section { margin-top: 88px; }

section > h2 {
  font-size: 13px; font-weight: 700; letter-spacing: 0.22em;
  color: var(--faint); text-transform: uppercase;
  margin: 0 0 8px;
}

/* feature grid: hairline-only divisions, pictograms, ghost numerals */
.fgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--hairline);
  margin-top: 26px;
}

.fcell {
  position: relative;
  overflow: hidden;
  padding: 38px 34px 42px;
  border-bottom: 1px solid var(--hairline);
}
.fcell:nth-child(odd) { border-right: 1px solid var(--hairline); }

.fcell .ghost {
  position: absolute;
  top: 6px; right: 20px;
  font-size: 104px; font-weight: 800; line-height: 1;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.045);
  font-variant-numeric: tabular-nums;
  pointer-events: none;
  transition: color 0.3s ease;
}
.fcell:hover .ghost { color: rgba(10, 132, 255, 0.14); }

.fcell .glyph {
  position: relative;
  width: 34px; height: 34px;
  color: var(--accent);
  margin-bottom: 20px;
}
.fcell .glyph svg { width: 100%; height: 100%; display: block; }

.fcell h3 {
  position: relative;
  display: inline-block;
  margin: 0 0 12px;
  font-size: 20px; font-weight: 700; letter-spacing: 0.01em;
}
.fcell h3::after {
  content: ""; position: absolute; left: 0; bottom: -5px;
  width: 40px; height: 3px; border-radius: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.fcell:hover h3::after { width: 100%; }

.fcell p {
  position: relative;
  margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.85;
}

/* ---------- feature index ---------- */
.flist-group { margin-top: 30px; }
.flist-group:first-of-type { margin-top: 18px; }
.flist-group { --gc: var(--accent); }
.flist-group.g-rec { --gc: #ff453a; }
.flist-group.g-ed { --gc: #bf5af2; }
.flist-group.g-etc { --gc: #30d158; }
.flist-group h3 {
  font-size: 13.5px; letter-spacing: 0.1em; color: var(--faint);
  font-weight: 600; margin: 0 0 2px;
}
.flist-group h3::before {
  content: ""; display: inline-block; width: 8px; height: 8px;
  border-radius: 50%; background: var(--gc); margin-right: 9px;
  vertical-align: 1px;
}
.fitems { display: grid; grid-template-columns: 1fr 1fr; column-gap: 44px; }
.fitem { padding: 11px 0 12px; border-bottom: 1px solid var(--hairline); }
.fitem .fn { font-weight: 700; font-size: 15px; line-height: 1.5; }
.fitem .fd { color: var(--muted); font-size: 13.5px; line-height: 1.6; margin-top: 1px; }

/* ---------- spec ---------- */
table.spec { width: 100%; border-collapse: collapse; font-size: 15px; }
table.spec tr { border-bottom: 1px solid var(--hairline); }
table.spec tr:first-child { border-top: 1px solid var(--hairline); }
table.spec th, table.spec td { text-align: left; padding: 14px 8px 14px 0; vertical-align: top; }
table.spec th { color: var(--faint); font-weight: 600; width: 26%; font-size: 13.5px; letter-spacing: 0.06em; }

/* ---------- policy ---------- */
article.policy h1 { font-size: 30px; margin: 44px 0 6px; }
article.policy h2 { font-size: 18px; margin: 38px 0 8px; }
article.policy p, article.policy li { font-size: 15px; color: #d6d6da; }
article.policy .en { color: var(--muted); }
article.policy .meta { color: var(--faint); font-size: 13px; }
article.policy hr { border: none; border-top: 1px solid var(--hairline); margin: 56px 0 8px; }

.placeholder {
  background: rgba(255, 204, 0, 0.1);
  border: 1px dashed rgba(255, 204, 0, 0.5);
  border-radius: 8px; padding: 2px 8px; font-size: 0.92em;
}

/* ---------- footer ---------- */
footer.site {
  margin-top: 96px; padding-top: 24px; border-top: 1px solid var(--hairline);
  color: var(--faint); font-size: 13px;
  display: flex; gap: 22px; flex-wrap: wrap;
}
footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--text); }

@media (max-width: 680px) {
  .hero { padding-top: 52px; }
  .hero h1 { font-size: 31px; }
  .hero img.mark { width: 96px; height: 96px; border-radius: 22px; }
  .fgrid { grid-template-columns: 1fr; }
  .fitems { grid-template-columns: 1fr; }
  .fcell { padding: 30px 6px 34px; }
  .fcell:nth-child(odd) { border-right: none; }
  .fcell .ghost { font-size: 84px; right: 4px; }
  .carousel .nav { display: none; }
  section { margin-top: 64px; }
}
