:root {
  --green: #77bd7c;
  --green-dark: #278e61;
  --green-soft: #e9f6ed;
  --ink: #202124;
  --muted: #6d7370;
  --line: #e7ece8;
  --panel: rgba(255, 255, 255, 0.82);
  --bg: #f6faf7;
  --shadow: 0 24px 70px rgba(45, 91, 65, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.8;
  background:
    radial-gradient(circle at 12% 8%, rgba(119, 189, 124, 0.2), transparent 30%),
    linear-gradient(180deg, #fbfefc 0%, var(--bg) 42%, #ffffff 100%);
}

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

a {
  color: inherit;
  text-decoration: none;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(46px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

.js .is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  margin: 0 auto;
  padding: 10px max(20px, calc((100% - 1120px) / 2));
  border-bottom: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, backdrop-filter 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom: 1px solid rgba(231, 236, 232, 0.9);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  border-radius: 12px;
}

.site-nav {
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  padding: 8px 12px;
  border-radius: 999px;
}

.site-nav a:hover {
  background: var(--green-soft);
  color: var(--green-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  align-items: center;
  gap: clamp(36px, 7vw, 92px);
  width: min(1120px, calc(100% - 40px));
  min-height: calc(100vh - 78px);
  margin: 0 auto;
  padding: 56px 0 76px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(58px, 11vw, 116px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.2;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.35;
}

.lead {
  max-width: 680px;
  margin-bottom: 20px;
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 800;
  line-height: 1.55;
}

.hero__copy > p:not(.eyebrow):not(.lead) {
  max-width: 680px;
  color: var(--muted);
  font-size: 17px;
}

.store-area {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.app-store-badge {
  display: inline-flex;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(32, 33, 36, 0.12);
}

.app-store-badge img {
  width: 180px;
  height: auto;
}

.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 640px;
}

.hero__visual::before {
  position: absolute;
  inset: 8% 0 2%;
  content: "";
  border-radius: 44% 56% 48% 52%;
  background: linear-gradient(145deg, rgba(119, 189, 124, 0.2), rgba(255, 255, 255, 0.4));
  filter: blur(2px);
}

.phone {
  position: relative;
  overflow: hidden;
  width: min(330px, 74vw);
  border: 10px solid #fff;
  border-radius: 44px;
  background: #eef3ef;
  box-shadow: var(--shadow);
}

.phone img {
  width: 100%;
}

.phone--main {
  transform: rotate(2deg);
}

.hero__visual.is-revealed .phone--main {
  transform: rotate(2deg) translateY(0);
}

.app-badge {
  position: absolute;
  right: 0;
  bottom: 82px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px 14px 14px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 54px rgba(45, 91, 65, 0.16);
  backdrop-filter: blur(18px);
}

.app-badge img {
  border-radius: 18px;
}

.app-badge strong,
.app-badge span {
  display: block;
}

.app-badge span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.section,
.contact,
.privacy {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 98px 0;
}

.section__heading {
  max-width: 780px;
  margin-bottom: 42px;
}

.section__heading h2 {
  font-size: clamp(20px, 4.8vw, 54px);
  white-space: nowrap;
}

.feature-list {
  display: grid;
  gap: 16px;
}

.feature {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 24px;
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 18px 52px rgba(45, 91, 65, 0.08);
}

.feature__index {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 22px;
  font-weight: 900;
}

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

.screens {
  padding-top: 80px;
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 24px);
  align-items: start;
}

figure {
  margin: 0;
}

.screen-grid figure {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 52px rgba(45, 91, 65, 0.08);
}

.screen-grid img {
  width: 100%;
  border-radius: 30px;
  background: #eef3ef;
}

.screen-grid figcaption {
  padding: 14px 4px 2px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.6;
  text-align: center;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  margin-bottom: 80px;
  padding: clamp(28px, 6vw, 52px);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green-soft), #ffffff);
  box-shadow: var(--shadow);
}

.contact p {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
}

.mail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  background: #fff;
  color: var(--green-dark);
  font-weight: 900;
  box-shadow: 0 14px 36px rgba(45, 91, 65, 0.12);
  white-space: nowrap;
}

.privacy {
  margin-bottom: 80px;
  padding: clamp(28px, 6vw, 52px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 52px rgba(45, 91, 65, 0.08);
}

.privacy h2 {
  margin-bottom: 10px;
  font-size: clamp(28px, 4vw, 44px);
}

.privacy__updated {
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.privacy__body {
  display: grid;
  gap: 24px;
}

.privacy__body section {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.privacy__body h3 {
  margin-bottom: 8px;
  font-size: clamp(18px, 2.4vw, 24px);
}

.privacy__body p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 36px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 40px;
  }

  .hero__visual {
    min-height: 560px;
  }

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

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

@media (max-width: 640px) {
  .site-header {
    padding-right: 14px;
    padding-left: 14px;
  }

  .site-nav {
    display: none;
  }

  .hero,
  .section,
  .contact,
  .privacy,
  .footer {
    width: min(100% - 28px, 1120px);
  }

  .hero {
    gap: 28px;
    padding-bottom: 56px;
  }

  .lead {
    font-size: 23px;
  }

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

  .hero__visual {
    min-height: 470px;
  }

  .phone {
    width: min(292px, 82vw);
    border-width: 8px;
    border-radius: 36px;
  }

  .app-badge {
    right: 8px;
    bottom: 34px;
  }

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

  .section {
    padding: 62px 0;
  }

  .feature {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .screen-grid {
    width: min(330px, 100%);
    margin: 0 auto;
  }

  .mail-link {
    width: 100%;
    min-width: 0;
    white-space: normal;
    text-align: center;
  }
}

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

  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
