:root {
  color-scheme: light;
  --green: #1c9e6a;
  --green-dark: #126845;
  --mint: #e9f7f1;
  --ink: #17181b;
  --muted: #686f77;
  --line: #dfe6e3;
  --paper: #fbfcfb;
  --soft: #f2f4f7;
  --yellow: #f5c85b;
  --coral: #ef7d68;
  --shadow: 0 24px 80px rgb(23 24 27 / 14%);
  font-family:
    -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgb(251 252 251 / 84%);
  border-bottom: 1px solid rgb(223 230 227 / 70%);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.08rem;
  font-weight: 800;
}

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

.nav {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav a {
  border-radius: 999px;
  padding: 10px 14px;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
  min-height: calc(100svh - 82px);
  padding: clamp(48px, 8vw, 96px) clamp(20px, 6vw, 92px) 42px;
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 18px;
  color: #138358;
  font-size: clamp(1.08rem, 1.35vw, 1.32rem);
  font-weight: 750;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(3.4rem, 4.5vw, 5rem);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0;
}

.lead {
  max-width: 640px;
  margin: 28px 0 0;
  color: #3c4248;
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  font-weight: 600;
  line-height: 1.9;
}

.lead strong {
  color: var(--green);
  font-weight: 800;
}

.mobile-title {
  display: none;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
  margin-top: 34px;
}

.hero__downloads {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 800;
}

.button--primary {
  background: var(--green);
  color: white;
  box-shadow: 0 14px 28px rgb(33 163 111 / 25%);
}

.button--secondary {
  background: white;
  border-color: var(--line);
}

.note,
.caption {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.caption {
  margin-top: 14px;
  font-size: 0.82rem;
  font-weight: 400;
  color: #9ca3a9;
}

.note {
  margin: 20px 0 0;
}

.hero__visual {
  position: relative;
  min-height: 650px;
}

.phone {
  position: absolute;
  width: min(72vw, 330px);
  border: 10px solid #101113;
  border-radius: 36px;
  overflow: hidden;
  background: #101113;
  box-shadow: var(--shadow);
}

.phone img {
  width: 100%;
  height: auto;
}

.phone--front {
  right: 8%;
  bottom: 0;
  z-index: 2;
}

.phone--back {
  top: 0;
  left: 0;
  width: min(60vw, 284px);
  opacity: 0.9;
  transform: rotate(-6deg);
}

.feature-band,
.steps,
.folders {
  padding: clamp(64px, 10vw, 118px) clamp(20px, 6vw, 92px);
}

.feature-band {
  background: #eef4f1;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr);
  gap: clamp(20px, 5vw, 72px);
  align-items: end;
  margin-bottom: 34px;
}

h2 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(1.75rem, 4.4vw, 3.8rem);
  line-height: 1.26;
  letter-spacing: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature {
  min-height: 260px;
  padding: 28px;
  background: white;
  border: 1px solid rgb(223 230 227 / 80%);
  border-radius: 8px;
}

.feature__icon,
.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--green-dark);
  font-weight: 900;
}

.feature:nth-child(2) .feature__icon {
  background: #fff4d5;
  color: #8c6413;
}

.feature:nth-child(3) .feature__icon {
  background: #ffe8e2;
  color: #8e3325;
}

.feature h3,
.step h3 {
  margin: 24px 0 12px;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.35;
}

.feature p:not(.caption),
.step p:not(.caption),
.folders__copy p:not(.caption) {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.9;
}

.step-layout {
  display: grid;
  gap: 28px;
}

.step {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(300px, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding: clamp(24px, 5vw, 56px);
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.step--reverse {
  grid-template-columns: minmax(300px, 1fr) minmax(0, 0.78fr);
}

.step--reverse .step__text {
  order: 2;
}

.screen-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 22px);
  align-items: center;
}

.screen-pair img,
.single-screen img {
  width: 100%;
  border: 8px solid #151619;
  border-radius: 30px;
  box-shadow: 0 18px 44px rgb(23 24 27 / 16%);
}

.single-screen {
  max-width: 330px;
  justify-self: center;
}

.tips {
  padding: clamp(64px, 10vw, 118px) clamp(20px, 6vw, 92px);
  background: var(--soft);
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}

.tip-card {
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.tip-card__screen {
  display: flex;
  justify-content: center;
  padding: 40px 40px 32px;
  background: #f0f3f1;
}

.tip-card__screen img {
  width: min(100%, 200px);
  border: 7px solid #151619;
  border-radius: 28px;
  box-shadow: 0 18px 44px rgb(23 24 27 / 16%);
}

.tip-card__text {
  padding: 28px;
}

.tip-card__text h3 {
  margin: 0 0 12px;
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  line-height: 1.35;
}

.tip-card__text p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.9;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 6vw, 92px);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
  font-weight: 700;
}

.site-footer > a:not(.brand) {
  color: var(--green-dark);
  font-weight: 700;
}

.appstore-badge img {
  height: 52px;
  width: auto;
  display: block;
}

.appstore-qr {
  display: inline-block;
}

.appstore-qr img {
  width: 140px;
  height: 140px;
  display: block;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-links a {
  color: var(--green-dark);
  font-weight: 700;
}

.policy {
  padding: clamp(48px, 8vw, 96px) clamp(20px, 6vw, 92px);
}

.policy__content {
  max-width: 840px;
}

.policy h1 {
  margin-bottom: 32px;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
}

.policy h2 {
  margin: 40px 0 12px;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.policy p {
  color: #3c4248;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.9;
}

@media (max-width: 960px) {
  .hero,
  .section-heading,
  .step,
  .step--reverse {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 46px;
  }

  .hero__visual {
    min-height: 560px;
  }

  .phone--front {
    right: 4%;
  }

  .step--reverse .step__text {
    order: 0;
  }

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

@media (max-width: 640px) {
  .site-header {
    position: static;
    padding: 16px 18px;
  }

  .nav {
    display: none;
  }

  .hero {
    padding: 34px 18px 22px;
  }

  h1 {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
    line-height: 1.3;
  }

  .desktop-title {
    display: none;
  }

  .mobile-title {
    display: inline;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero__actions .appstore-badge {
    align-self: flex-start;
  }

  .appstore-qr {
    display: none;
  }

  .button {
    width: 100%;
  }

  .hero__visual {
    min-height: 450px;
    margin-inline: -8px;
  }

  .phone {
    border-width: 7px;
    border-radius: 28px;
  }

  .phone--front {
    width: 230px;
    right: 0;
  }

  .phone--back {
    width: 194px;
    left: 2px;
  }

  .feature-band,
  .steps,
  .tips {
    padding: 58px 18px;
  }

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

  .feature {
    min-height: auto;
  }

  .step {
    padding: 22px;
  }

  .single-screen img {
    max-width: 270px;
    margin: 0 auto;
  }

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

  .tip-card__screen {
    padding: 32px 32px 28px;
  }

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

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
