:root {
  --bg: #f4f9ff;
  --bg-strong: #dff0ff;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #ffffff;
  --text: #183247;
  --muted: #557087;
  --accent: #3d8bfd;
  --accent-strong: #1e5bbd;
  --line: rgba(38, 84, 119, 0.14);
  --shadow: 0 20px 48px rgba(37, 92, 145, 0.16);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.7;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(91, 166, 255, 0.22), transparent 34%),
    linear-gradient(180deg, #edf7ff 0%, #f9fcff 26%, #eef7ff 100%);
}

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

a {
  color: var(--accent-strong);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(244, 249, 255, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

.brand {
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.02em;
  min-width: 0;
}

.brand-mark {
  display: inline-block;
  font-size: clamp(0.82rem, 1.7vw, 1.05rem);
  line-height: 1.4;
  max-width: min(100%, 42rem);
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.top-nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

main {
  overflow: clip;
}

/* サポート / プラポリ / 利用規約（サイトヘッダ無しページ） */
body:not(:has(.site-header)) > main {
  margin: 10px;
  width: auto;
  max-width: none;
  overflow: visible;
}

.hero {
  padding: 16px 0 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 28px;
  align-items: start;
}

.eyebrow,
.section-label {
  margin: 0 0 10px;
  color: var(--accent-strong);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

h1 {
  margin: 0;
  font-size: clamp(2.1rem, 3.6vw, 3.6rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.lead,
.section-lead,
.cta-lead,
.hero-points,
.value-card p,
.feature-card p,
.showcase-copy p,
.check-list,
.text-panel p,
.site-footer p,
.card p,
.card ul,
.card li {
  color: var(--muted);
}

.hero-lead {
  margin: 20px 0 0;
  font-size: 1.06rem;
  max-width: 44rem;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
}

.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  height: 56px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  text-decoration: none;
  line-height: 0;
  overflow: visible;
}

.store-button:hover {
  text-decoration: none;
}

.store-badge-img {
  display: block;
  height: 56px;
  width: auto;
}

.app-store-badge {
  height: 56px;
}

.google-play-badge {
  height: 56px;
  margin: 0;
}

.hero-points {
  margin: 22px 0 0;
  padding-left: 1.2em;
}

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

.hero-mascot-main {
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  display: block;
}

.section {
  padding: 38px 0 30px;
}

.value-strip {
  padding-top: 12px;
}

.value-grid,
.feature-grid {
  display: grid;
  gap: 18px;
}

.value-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.value-card,
.feature-card,
.cta-card,
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
}

.value-card,
.feature-card {
  padding: 22px;
}

.value-card h2,
.feature-card h3,
.showcase-copy h3,
.card h2 {
  margin: 0 0 10px;
}

.section-title {
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
}

.section-title.left {
  text-align: left;
  white-space: normal;
}

.section-lead {
  margin: 14px auto 0;
  max-width: 760px;
  text-align: center;
}

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

.feature-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 32px;
  border-radius: 999px;
  margin-bottom: 14px;
  background: rgba(61, 139, 253, 0.12);
  color: var(--accent-strong);
  font-size: 0.84rem;
  font-weight: 800;
}

.alt-section {
  padding-top: 46px;
}

.showcase-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.showcase-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}

.showcase-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0 0 12px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 0;
  box-shadow: var(--shadow);
  flex: 0 0 auto;
}

.showcase-copy {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  padding: 14px 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  box-shadow: none;
}

.showcase-copy h3 {
  margin: 0 0 6px;
  font-size: 0.98rem;
  line-height: 1.35;
  min-height: 2.7em; /* keep title block height consistent across cards */
}

.showcase-copy p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
}

.recommend-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(180px, 0.7fr);
  gap: 28px;
  align-items: center;
}

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

.recommend-visual img {
  width: min(100%, 280px);
  height: auto;
}

.check-list {
  margin: 20px 0 0;
  padding-left: 1.2em;
}

.cta-section {
  padding-bottom: 70px;
}

.cta-card {
  padding: 34px;
  text-align: left;
}

.site-footer {
  padding: 0 0 46px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 20px;
  align-items: end;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.copyright {
  text-align: right;
}

.card {
  padding: 20px 24px;
  margin-bottom: 16px;
}

.card ul {
  margin: 0;
  padding-left: 1.2em;
}

footer nav a,
.footer-nav a {
  margin-right: 0;
}

@media (max-width: 980px) {
  .hero-grid,
  .recommend-grid,
  .value-grid,
  .feature-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

  .hero {
    padding-top: 24px;
  }

  .hero-visual {
    order: -1;
  }

  .hero-mascot-main {
    max-width: 420px;
    margin: 0 auto;
  }

  .recommend-visual img {
    width: min(100%, 240px);
  }

  .footer-inner {
    align-items: start;
  }

  .copyright {
    text-align: left;
  }
}

@media (max-width: 720px) {
  .site-nav {
    padding: 10px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .top-nav {
    gap: 12px 16px;
  }

  h1 {
    font-size: 2.2rem;
  }

  .section-title {
    white-space: normal;
  }

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

  .value-card,
  .feature-card,
  .showcase-copy,
  .cta-card,
  .card {
    padding: 16px;
  }

  .store-buttons {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
