:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --text: #1a1f2e;
  --muted: #5c6478;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #0ea5e9;
  --border: #e2e8f0;
  --shadow: 0 18px 50px rgba(37, 99, 235, 0.12);
  --radius: 16px;
  --max: 1080px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP",
    "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background: radial-gradient(
      1200px 600px at 10% -10%,
      rgba(37, 99, 235, 0.12),
      transparent 60%
    ),
    radial-gradient(
      900px 500px at 100% 0%,
      rgba(14, 165, 233, 0.1),
      transparent 55%
    ),
    var(--bg);
  line-height: 1.65;
}

a {
  color: var(--primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(244, 247, 251, 0.85);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.92rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover {
  color: var(--primary);
}

.hero {
  padding: 3.5rem 0 2.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 600;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
}

.badge {
  display: inline-block;
  margin: 0;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.35;
}

.badge--trust {
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.16),
    rgba(14, 165, 233, 0.14)
  );
  color: var(--primary-dark);
  border: 1px solid rgba(37, 99, 235, 0.22);
}

.badge--audience {
  background: rgba(255, 255, 255, 0.75);
  color: var(--muted);
  border: 1px solid var(--border);
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  margin: 0 0 1.35rem;
  padding: 0;
  list-style: none;
}

.hero-highlights li {
  margin: 0;
  padding: 0.45rem 0.8rem;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--muted);
  box-shadow: 0 4px 14px rgba(26, 31, 46, 0.04);
}

.hero-highlights strong {
  color: var(--text);
  font-weight: 700;
}

.trust {
  padding: 0 0 2.5rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.trust-card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
}

.trust-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.trust-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.lead {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

/* 公式ストアバッジ（Apple / Google ガイドライン準拠のサイズ・余白） */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  margin-bottom: 1rem;
}

.store-badge {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.store-badge:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.store-badge img {
  display: block;
  height: 50px;
  width: auto;
}

.store-badge--play img {
  /* Google: 他バッジと同高さ（Partner Marketing Hub の並置ルール） */
  height: 50px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover {
  color: #fff;
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

.meta-note {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.hero-card img {
  border-radius: var(--radius);
  margin: 0 auto;
  max-height: 560px;
  width: auto;
}

section {
  padding: 3rem 0;
}

.section-title {
  margin: 0 0 0.5rem;
  font-size: 1.6rem;
}

.section-lead {
  margin: 0 0 2rem;
  color: var(--muted);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.feature h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.screenshots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.shot {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.shot figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.info-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.info-panel ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.info-panel li + li {
  margin-top: 0.5rem;
}

.download {
  text-align: center;
  padding-bottom: 4rem;
}

.store-badges--center,
.cta-row--center {
  justify-content: center;
}

.download .store-badges,
.download .cta-row {
  justify-content: center;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer .inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
}

/* 使い方ガイド */
.guide-page {
  padding: 2rem 0 4rem;
}

.guide-header {
  margin-bottom: 2rem;
}

.guide-header h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  line-height: 1.3;
}

.guide-toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
}

.guide-toc-title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}

.guide-toc ol {
  margin: 0;
  padding-left: 1.25rem;
  columns: 1;
}

.guide-toc li {
  margin: 0.35rem 0;
  break-inside: avoid;
}

.guide-toc a {
  text-decoration: none;
  font-weight: 500;
}

.guide-toc a:hover {
  text-decoration: underline;
}

.guide-body {
  max-width: 42rem;
}

.guide-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.guide-section:last-child {
  border-bottom: none;
}

.guide-section h2 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  color: var(--primary-dark);
}

.guide-section h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1.05rem;
}

.guide-section p,
.guide-section li {
  color: var(--text);
}

.guide-section ul,
.guide-section ol {
  padding-left: 1.25rem;
}

.guide-section li + li {
  margin-top: 0.4rem;
}

.guide-steps {
  margin: 1rem 0;
}

.guide-steps li + li {
  margin-top: 0.5rem;
}

.guide-dl {
  margin: 0;
}

.guide-dl dt {
  font-weight: 600;
  margin-top: 1rem;
}

.guide-dl dt:first-child {
  margin-top: 0;
}

.guide-dl dd {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.guide-note {
  font-size: 0.92rem;
  color: var(--muted);
  background: rgba(37, 99, 235, 0.06);
  border-left: 3px solid var(--primary);
  padding: 0.75rem 1rem;
  border-radius: 0 8px 8px 0;
}

.guide-back {
  margin-top: 2rem;
  text-align: center;
}

.lang-switch {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
}

.lang-switch a {
  font-weight: 600;
  text-decoration: none;
}

.lang-switch a:hover {
  text-decoration: underline;
}

@media (min-width: 640px) {
  .guide-toc ol {
    columns: 2;
    column-gap: 2rem;
  }
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 320px;
    margin-inline: auto;
  }

  .nav {
    display: none;
  }
}
