:root {
  --bg: #f5f5f7;
  --surface: rgba(255,255,255,.88);
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(0,0,0,.075);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --shadow: 0 18px 60px rgba(24,24,35,.08);
  --max: 980px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", sans-serif;
  background:
    radial-gradient(circle at 12% 0%, rgba(72,217,255,.13), transparent 29rem),
    radial-gradient(circle at 92% 3%, rgba(255,79,163,.11), transparent 31rem),
    var(--bg);
  background-repeat: no-repeat;
  background-attachment: fixed;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

.page {
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
  padding: 20px 0 52px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 42px;
  padding: 0 4px;
  margin-bottom: 18px;
}

.brand-mini {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.01em;
  text-decoration: none;
}

.topnav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 13px;
}

.topnav a {
  text-decoration: none;
  transition: color .18s ease;
}

.topnav a:hover { color: var(--text); }

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(220px, .82fr);
  align-items: center;
  gap: 54px;
  min-height: 440px;
  padding: clamp(38px, 6vw, 64px);
  border: 1px solid rgba(255,255,255,.75);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(118deg,
      rgba(116,228,255,.72) 0%,
      rgba(255,255,255,.94) 48%,
      rgba(255,125,188,.72) 100%);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(6px);
  opacity: .52;
  z-index: -1;
}

.hero::before {
  width: 360px;
  height: 360px;
  right: -110px;
  top: -120px;
  background: radial-gradient(circle, rgba(255,255,255,.86), rgba(255,79,163,.08) 68%, transparent 72%);
}

.hero::after {
  width: 330px;
  height: 330px;
  left: -125px;
  bottom: -150px;
  background: radial-gradient(circle, rgba(255,255,255,.8), rgba(72,217,255,.10) 68%, transparent 72%);
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .045em;
}

h1 {
  margin: 0;
  font-size: clamp(54px, 8vw, 82px);
  line-height: .98;
  letter-spacing: -.065em;
}

.lead {
  max-width: 520px;
  margin: 24px 0 0;
  font-size: clamp(19px, 2.3vw, 25px);
  font-weight: 610;
  line-height: 1.52;
  letter-spacing: -.02em;
}

.sublead {
  max-width: 540px;
  margin: 13px 0 0;
  color: rgba(29,29,31,.68);
  font-size: 14px;
  line-height: 1.72;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 27px;
}

.store-button {
  display: inline-flex;
  align-items: center;
  min-width: 146px;
  min-height: 50px;
  padding: 8px 18px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 13px;
  background: #111114;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  box-shadow:
    0 7px 20px rgba(20,20,28,.13),
    inset 0 1px 0 rgba(255,255,255,.08);
  transition: transform .16s ease, background .16s ease, box-shadow .16s ease;
}

.store-button:hover {
  transform: translateY(-1px);
  background: #000;
  box-shadow:
    0 9px 24px rgba(20,20,28,.18),
    inset 0 1px 0 rgba(255,255,255,.08);
}

.store-button:active {
  transform: translateY(0);
}

.store-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  line-height: 1;
}

.store-copy small {
  margin-bottom: 3px;
  color: rgba(255,255,255,.78);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: .015em;
}

.store-copy strong {
  font-size: 16px;
  font-weight: 590;
  letter-spacing: -.02em;
}


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

.icon-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 250px);
  aspect-ratio: 1;
}

.icon-wrap::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 34%;
  background: linear-gradient(145deg, rgba(72,217,255,.36), rgba(255,79,163,.38));
  filter: blur(30px);
  transform: translateY(18px) scale(1.08);
  opacity: .82;
}

.app-icon {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 24%;
  box-shadow:
    0 22px 48px rgba(30,25,52,.18),
    0 2px 10px rgba(30,25,52,.06),
    inset 0 0 0 1px rgba(255,255,255,.7);
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.74);
  box-shadow: 0 10px 36px rgba(24,24,35,.045);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.feature {
  min-height: 142px;
  padding: 25px 26px;
}

.feature + .feature {
  border-left: 1px solid var(--line);
}

.feature strong {
  display: block;
  margin-bottom: 7px;
  font-size: 17px;
  letter-spacing: -.02em;
}

.feature span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.card {
  margin-top: 18px;
  padding: clamp(28px, 4.2vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 10px 34px rgba(24,24,35,.045);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.card h2 {
  margin: 0 0 18px;
  font-size: clamp(27px, 3.2vw, 34px);
  line-height: 1.2;
  letter-spacing: -.04em;
}

.card h3 {
  margin: 25px 0 5px;
  font-size: 15px;
  letter-spacing: -.01em;
}

.card p {
  margin: 8px 0;
  font-size: 14px;
}

.card p:first-of-type { margin-top: 0; }

.plain-list {
  margin: 0;
  padding-left: 1.25em;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.plain-list li + li { margin-top: 7px; }

.note {
  margin-top: 22px !important;
  color: var(--muted);
  font-size: 12px !important;
}

.legal-page {
  width: min(calc(100% - 36px), 760px);
  margin: 0 auto;
  padding: 20px 0 52px;
}

.legal-header {
  display: flex;
  align-items: center;
  min-height: 42px;
  margin-bottom: 18px;
}

.back-link {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

.back-link:hover { color: var(--text); }

.legal-card {
  padding: clamp(30px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow);
}

.legal-card h1 {
  margin: 0 0 28px;
  font-size: clamp(34px, 6vw, 48px);
  line-height: 1.15;
  letter-spacing: -.045em;
}

.legal-card h2 {
  margin: 28px 0 6px;
  font-size: 16px;
}

/* サポートページのよくある質問。h2（節）より一段下げる。
   これが無いとブラウザ既定の見出しになり、h2 より大きく出てしまう。 */
.legal-card h3 {
  margin: 20px 0 2px;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -.01em;
}

.legal-card p {
  margin: 8px 0;
  font-size: 14px;
}

.legal-card .plain-list {
  margin: 8px 0;
  font-size: 14px;
}

.contact-row {
  margin-top: 8px;
  font-size: 15px;
}

.contact-row a {
  font-weight: 700;
  text-underline-offset: .18em;
}

footer {
  padding: 28px 6px 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
    min-height: auto;
    padding: 44px 30px 38px;
  }

  .hero-copy { text-align: center; }
  .hero-art { order: -1; }
  .icon-wrap { width: 190px; }

  .lead,
  .sublead {
    margin-left: auto;
    margin-right: auto;
  }

  .store-row { justify-content: center; }

  .store-button {
    min-width: 150px;
  }

  .feature-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .feature:nth-child(4) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 620px) {
  .page,
  .legal-page {
    width: min(calc(100% - 20px), var(--max));
    padding-top: 10px;
  }

  .topbar {
    min-height: 38px;
    margin-bottom: 10px;
  }

  .brand-mini { font-size: 13px; }
  .topnav { gap: 13px; font-size: 12px; }

  .hero {
    padding: 34px 22px 30px;
    border-radius: 25px;
  }

  .icon-wrap { width: 156px; }
  h1 { font-size: clamp(50px, 17vw, 70px); }
  .lead { font-size: 18px; }
  .sublead { font-size: 13px; }

  .feature-strip {
    grid-template-columns: 1fr;
    border-radius: 20px;
  }

  .feature {
    min-height: auto;
    padding: 22px;
  }

  .feature + .feature,
  .feature:nth-child(3),
  .feature:nth-child(4) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .card,
  .legal-card {
    padding: 27px 22px;
    border-radius: 20px;
  }

  .card h2 { font-size: 28px; }

  .legal-card h1 {
    font-size: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Product showcase */
.section-kicker {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}

.showcase,
.howto,
.premium {
  margin-top: 18px;
  padding: clamp(30px, 4.8vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.80);
  box-shadow: 0 10px 34px rgba(24,24,35,.045);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.showcase h2,
.howto h2,
.premium h2 {
  margin: 0;
  font-size: clamp(28px, 3.7vw, 38px);
  line-height: 1.18;
  letter-spacing: -.045em;
}

.showcase-copy > p:last-child,
.premium > div:first-child > p:last-child {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.mode-card {
  min-height: 170px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(247,247,249,.84));
}

.mode-name {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0 10px;
  margin-bottom: 15px;
  border-radius: 999px;
  background: rgba(29,29,31,.07);
  font-size: 11px;
  font-weight: 700;
}

.mode-card strong {
  display: block;
  font-size: 17px;
  letter-spacing: -.02em;
}

.mode-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.howto {
  display: grid;
  grid-template-columns: .8fr 1.7fr;
  gap: 42px;
  align-items: start;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
}

.step span {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: #1d1d1f;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.step strong {
  display: block;
  font-size: 16px;
}

.step p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.premium {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background:
    radial-gradient(circle at 8% 15%, rgba(69,207,255,.12), transparent 24rem),
    radial-gradient(circle at 92% 50%, rgba(255,72,173,.10), transparent 23rem),
    rgba(255,255,255,.86);
}

.premium-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  min-width: 260px;
}

.premium-tags span {
  padding: 9px 13px;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 999px;
  background: rgba(255,255,255,.76);
  color: rgba(29,29,31,.74);
  font-size: 12px;
  font-weight: 650;
}

.resource-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 25px 8px 0;
  color: var(--muted);
  font-size: 12px;
}

.resource-links a {
  text-decoration: none;
}

.resource-links a:hover {
  color: var(--text);
}

@media (max-width: 820px) {
  .howto {
    grid-template-columns: 1fr;
    gap: 26px;
  }

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

  .premium-tags {
    justify-content: flex-start;
    min-width: 0;
  }
}

@media (max-width: 620px) {
  .mode-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .mode-card {
    min-height: auto;
  }

  .showcase,
  .howto,
  .premium {
    padding: 27px 22px;
    border-radius: 20px;
  }

  .resource-links {
    gap: 14px;
  }
}
