:root {
  --bg: #cfd8df;
  --bg-soft: #dbe3e8;
  --bg-deep: #bfcbd3;
  --text: #25313b;
  --muted: #66737d;
  --line: rgba(37, 49, 59, 0.10);
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(34, 47, 58, 0.10);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
}

body {
  line-height: 1.8;
}

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

main {
  overflow-x: hidden;
}

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

.narrow {
  width: min(100% - 32px, 760px);
  margin: 0 auto;
}

section {
  padding: 96px 0;
}

.hero {
  min-height: 86svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(180deg, #d7dee3 0%, #cbd6dd 45%, #c2ced6 100%);
}

.hero-inner {
  padding: 40px 0;
}

.eyebrow,
.section-label,
.ending-label {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(52px, 11vw, 96px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.lead-ja {
  margin: 0 0 10px;
  font-size: clamp(23px, 4.2vw, 34px);
  line-height: 1.7;
}

.lead-sub {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.intro {
  padding-top: 48px;
  padding-bottom: 72px;
  text-align: center;
}

.intro-line {
  margin: 0;
  font-size: clamp(30px, 6vw, 54px);
  line-height: 1.5;
  letter-spacing: 0.03em;
}

.section-title {
  margin: 0 0 18px;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.45;
  font-weight: 500;
}

.rally-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.phone-card,
.feature-image {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255,255,255,0.58);
  border-radius: 28px;
  padding: 14px;
  box-shadow: var(--shadow);
}

.phone-card img,
.feature-image img {
  width: 100%;
  border-radius: 20px;
}

.after-rally {
  padding-top: 36px;
  padding-bottom: 56px;
  text-align: center;
}

.after-rally-text {
  margin: 0;
  font-size: clamp(22px, 4vw, 32px);
  line-height: 1.8;
}

.feature-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  align-items: center;
}

.feature-grid.reverse {
  grid-template-columns: 1.05fr 0.95fr;
}

.feature-copy {
  padding: 10px 0;
}

.feature-text {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 2;
}

.chatty {
  padding-top: 34px;
  padding-bottom: 34px;
  text-align: center;
}

.chatty-copy {
  margin: 0;
  font-size: clamp(18px, 3.5vw, 24px);
  color: var(--text);
}

.weather {
  padding-top: 72px;
}

.ending {
  min-height: 52svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(180deg, #cfd8df 0%, #e3e8eb 100%);
}

.ending-inner {
  padding: 30px 0;
}

.ending-title {
  margin: 0;
  font-size: clamp(38px, 8vw, 74px);
  line-height: 1.2;
  letter-spacing: 0.16em;
  font-weight: 500;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .rally-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .feature-grid,
  .feature-grid.reverse {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .feature-copy {
    order: 1;
  }

  .feature-image {
    order: 2;
  }
}

@media (max-width: 640px) {
  section {
    padding: 78px 0;
  }

  .hero {
    min-height: 78svh;
  }

  .intro {
    padding-top: 28px;
    padding-bottom: 60px;
  }

  .phone-card,
  .feature-image {
    border-radius: 22px;
    padding: 10px;
  }

  .phone-card img,
  .feature-image img {
    border-radius: 16px;
  }

  .feature-text {
    font-size: 15px;
  }

  .ending-title {
    letter-spacing: 0.10em;
  }
}

.cta-btn {
  display: block;
  width: 85%;
  margin: 32px auto;
  padding: 16px;
  background: #f7f7f7;
  border-radius: 24px;
  text-align: center;
  text-decoration: none;
  color: #333;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: all 0.2s ease;
}

.cta-btn:active {
  transform: scale(0.97);
}

.cta-main {
  font-size: 16px;
  font-weight: 600;
}

.cta-sub {
  font-size: 12px;
  color: #888;
  margin-top: 4px;
}

.site-footer {
  padding: 56px 0 40px;
  background: linear-gradient(180deg, #dfe5e8 0%, #cfd8df 100%);
  border-top: 1px solid rgba(37, 49, 59, 0.08);
}

.footer-inner {
  text-align: center;
}

.footer-brand {
  margin-bottom: 18px;
}

.footer-title {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 20px;
  letter-spacing: 0.12em;
}

.footer-tagline {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.footer-links a {
  color: var(--text);
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid rgba(37, 49, 59, 0.18);
  padding-bottom: 2px;
  transition: opacity 0.2s ease;
}

.footer-links a:hover {
  opacity: 0.65;
}

.footer-copy {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
}

@media (max-width: 640px) {
  .site-footer {
    padding: 48px 0 34px;
  }

  .footer-title {
    font-size: 18px;
  }

  .footer-tagline,
  .footer-links a {
    font-size: 13px;
  }
}
