:root {
  --brand: #1e9be9;
  --brand-strong: #0f7fd0;
  --reef: #2fd4c5;
  --gradient: linear-gradient(100deg, #1e9be9 0%, #2fd4c5 100%);
  --ink: #0b2540;
  --text: #22364d;
  --muted: #5d6f82;
  --line: #e3edf3;
  --bg: #ffffff;
  --tint: #f3f9fc;
  --tint-strong: #e6f5fb;
  --shadow-soft: 0 1px 2px rgba(11, 37, 64, 0.04), 0 8px 24px rgba(11, 37, 64, 0.06);
  --shadow-phone: 0 30px 60px -20px rgba(11, 60, 110, 0.35), 0 12px 24px -12px rgba(11, 37, 64, 0.18);
  --radius: 24px;
  /* 明るい印象を優先し、端末がダークモードでも配色は切り替えない */
  color-scheme: light;
}

html.store-live .when-soon,
html:not(.store-live) .when-live {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--brand-strong);
}

h1,
h2,
h3 {
  color: var(--ink);
  letter-spacing: -0.01em;
}

.container {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
}

/* ヘッダー */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(11, 37, 64, 0.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(11, 37, 64, 0.08);
}

.lang-select select {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--line);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235d6f82' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 12px center / 10px;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 32px 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.lang-select select:hover {
  border-color: #c9dbe6;
}

/* ヒーロー */
.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 96px;
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
  background:
    radial-gradient(520px 420px at 78% 38%, rgba(47, 212, 197, 0.22), transparent 70%),
    radial-gradient(620px 480px at 62% 18%, rgba(30, 155, 233, 0.18), transparent 70%),
    radial-gradient(700px 500px at 10% 0%, rgba(230, 245, 251, 0.9), transparent 70%);
}

.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-strong);
  background: var(--tint-strong);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(40px, 4.2vw, 56px);
  line-height: 1.15;
  font-weight: 800;
  margin: 0 0 22px;
  letter-spacing: -0.02em;
}

/* 見出しの 2 行目（<br> の後ろ）だけを差し色のグラデーションにする */
.hero h1 .accent {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: clamp(16px, 1.7vw, 18px);
  color: var(--muted);
  margin: 0 0 34px;
  max-width: 32em;
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px 12px 20px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 24px -10px rgba(11, 37, 64, 0.5);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.store-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -10px rgba(11, 37, 64, 0.55);
}

.store-button svg {
  width: 26px;
  height: 26px;
  flex: none;
}

.store-button .label {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-align: left;
}

.store-button small {
  font-size: 11px;
  opacity: 0.75;
}

.store-button strong {
  font-size: 18px;
  font-weight: 700;
}

.store-button.is-soon {
  cursor: default;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.store-button.is-soon:hover {
  transform: none;
  box-shadow: var(--shadow-soft);
}

/* スマホの枠 */
.hero-phones {
  position: relative;
  height: 620px;
}

.phone {
  position: absolute;
  width: 272px;
  aspect-ratio: 1206 / 2622;
  padding: 9px;
  border-radius: 46px;
  background: linear-gradient(160deg, #f7fafc, #dfe7ee);
  box-shadow: var(--shadow-phone), inset 0 0 0 1px rgba(11, 37, 64, 0.08);
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 38px;
  background: var(--tint);
}

.phone-front {
  left: 8%;
  top: 30px;
  z-index: 2;
}

.phone-back {
  right: 2%;
  top: 0;
  transform: rotate(6deg) scale(0.92);
  transform-origin: top right;
  opacity: 0.96;
}

/* 数字 */
.stats {
  padding: 8px 0 24px;
}

.stats ul {
  list-style: none;
  margin: 0;
  padding: 36px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats li {
  padding: 0 28px;
  text-align: center;
}

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

.stats b {
  display: block;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}

.stats span.note {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-top: 6px;
}

/* 節 */
section.block {
  padding: 104px 0;
}

section.block.tinted {
  background: var(--tint);
}

.section-title {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-title h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.3;
  font-weight: 800;
  margin: 0 0 12px;
}

.section-title p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

/* 特徴 */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 1px 2px rgba(11, 37, 64, 0.04), 0 16px 32px rgba(11, 37, 64, 0.08);
}

.feature .icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--tint-strong);
  color: var(--brand-strong);
  margin-bottom: 20px;
}

.feature .icon svg {
  width: 24px;
  height: 24px;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
  padding: 0;
  list-style: none;
}

.tags li {
  font-size: 12.5px;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--tint);
  border: 1px solid var(--line);
  color: var(--brand-strong);
}

/* スクリーンショット */
.shots {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 12px 20px 36px;
  margin: 0 -20px;
  scrollbar-width: none;
}

.shots::-webkit-scrollbar {
  display: none;
}

.shots figure {
  flex: 0 0 auto;
  width: 232px;
  margin: 0;
  scroll-snap-align: center;
}

.shots img {
  width: 100%;
  height: auto;
  aspect-ratio: 1206 / 2622;
  object-fit: cover;
  border-radius: 32px;
  background: var(--tint);
  box-shadow: 0 0 0 1px rgba(11, 37, 64, 0.06), 0 24px 40px -24px rgba(11, 60, 110, 0.35);
}

.shots figcaption {
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 16px;
}

/* 最後の案内 */
.cta {
  padding: 0 0 104px;
}

.cta .container {
  text-align: center;
  padding: 72px 32px;
  border-radius: 32px;
  background:
    radial-gradient(600px 300px at 85% 0%, rgba(255, 255, 255, 0.35), transparent 70%),
    linear-gradient(120deg, #cdeefb 0%, #bff0ea 100%);
}

.cta h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.3;
  font-weight: 800;
  margin: 0 0 12px;
}

.cta p {
  color: #37536d;
  margin: 0 0 30px;
}

.cta .store-button.is-soon {
  border-color: transparent;
}

/* フッター */
.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  padding: 28px 0 40px;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.site-footer a {
  color: var(--text);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--brand-strong);
}

/* 文書ページ（プライバシーポリシー・サポート） */
.doc-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 56px;
  background:
    radial-gradient(520px 260px at 90% 0%, rgba(47, 212, 197, 0.18), transparent 70%),
    linear-gradient(180deg, var(--tint-strong), #fff);
}

.doc-hero .container {
  width: min(760px, 100% - 40px);
}

.doc-hero h1 {
  margin: 0;
  font-size: clamp(30px, 4.4vw, 44px);
  font-weight: 800;
}

.doc-hero p {
  margin: 8px 0 0;
  color: var(--muted);
}

.doc {
  width: min(760px, 100% - 40px);
  margin: 40px auto 104px;
}

.doc h2 {
  font-size: 21px;
  margin: 48px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.doc h2:first-child {
  margin-top: 0;
}

.doc ul {
  padding-left: 1.3em;
}

.doc table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  margin: 14px 0;
}

.doc th,
.doc td {
  text-align: left;
  overflow-wrap: anywhere;
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.doc th {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: var(--tint);
}

.notice {
  border-left: 3px solid var(--brand);
  background: var(--tint);
  border-radius: 0 12px 12px 0;
  padding: 14px 18px;
  margin: 16px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff !important;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease;
}

.button:hover {
  transform: translateY(-1px);
}

details.faq {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 16px 20px;
  margin: 10px 0;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

details.faq[open] {
  border-color: #cfe3ee;
  box-shadow: var(--shadow-soft);
}

details.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
}

details.faq p {
  margin: 10px 0 0;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

@media (max-width: 900px) {
  .hero {
    padding: 56px 0 72px;
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

  .hero p.lead {
    margin-inline: auto;
  }

  .hero h1 {
    font-size: clamp(30px, 8.4vw, 52px);
  }

  .hero-phones {
    width: min(420px, 100%);
    height: 520px;
    margin-inline: auto;
  }

  .phone {
    width: 228px;
    border-radius: 40px;
  }

  .phone img {
    border-radius: 32px;
  }

  .features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero-phones {
    height: 430px;
  }

  .phone {
    width: 186px;
    padding: 7px;
    border-radius: 34px;
  }

  .phone img {
    border-radius: 28px;
  }

  .phone-front {
    left: 6%;
  }

  .phone-back {
    right: 6%;
    transform: rotate(4deg) scale(0.9);
  }

  .stats ul {
    grid-template-columns: 1fr;
    padding: 8px 0;
  }

  .stats li {
    padding: 22px 0;
  }

  .stats li + li {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  section.block {
    padding: 72px 0;
  }

  .feature {
    padding: 26px;
  }

  .shots figure {
    width: 188px;
  }

  .cta {
    padding-bottom: 72px;
  }

  .cta .container {
    padding: 52px 22px;
    border-radius: 24px;
  }
}
