:root {
  color-scheme: light;
  --sky: #17a8ec;
  --sun: #ffd54a;
  --paper: #fffef7;
  --cream: #fff4d8;
  --ink: #2c2219;
  --muted: #6e6257;
  --line: #ead9a7;
  --accent: #37a447;
  --accent-dark: #20752c;
  --orange: #ff8a16;
  --brown: #7a4c21;
  --soft: #e9f7ff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #e6f8ff 0%, #fff7df 58%, #f7f1de 100%);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  line-height: 1.75;
  letter-spacing: 0;
  overflow-x: hidden;
}

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

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(234, 217, 167, 0.85);
  background: rgba(230, 248, 255, 0.92);
  backdrop-filter: blur(18px);
}

.nav,
.section,
.footer,
.hero {
  width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 900;
  font-size: 18px;
  white-space: nowrap;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  box-shadow: 0 8px 18px rgba(122, 76, 33, 0.22);
}

.links {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  align-items: center;
  gap: 46px;
  padding: 82px 0 72px;
}

.eyebrow {
  color: var(--orange);
  font-weight: 900;
  margin: 0 0 12px;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: 72px;
  line-height: 1.04;
}

h2 {
  margin: 0 0 12px;
  font-size: 42px;
  line-height: 1.18;
}

h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.3;
}

h1 .line,
h2 .line {
  display: block;
}

.lead,
.section-lead {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.lead {
  margin: 22px 0 0;
  font-size: clamp(17px, 2vw, 21px);
}

.section-lead {
  margin: 0 0 28px;
  font-size: 17px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 900;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.device-wall {
  display: grid;
  grid-template-columns: 0.9fr 1fr 0.9fr;
  align-items: end;
  gap: 12px;
  padding: 14px;
  border-radius: 22px;
  background: rgba(255, 254, 247, 0.72);
  border: 1px solid var(--line);
  overflow: hidden;
}

.phone-shot {
  width: 100%;
  min-width: 0;
  border-radius: 24px;
  border: 1px solid rgba(122, 76, 33, 0.15);
  box-shadow: 0 18px 44px rgba(122, 76, 33, 0.16);
  background: #fff;
}

.phone-shot.main {
  transform: translateY(-12px);
}

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

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

.feature,
.panel,
.notice,
.support-card,
.faq article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature,
.panel,
.notice {
  padding: 20px;
}

.feature {
  min-height: 172px;
}

.feature strong,
.spec strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.feature p,
.spec p,
.panel p,
.notice p,
.faq p,
.policy-list li {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  overflow-wrap: anywhere;
}

.wide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.support-card {
  padding: 26px;
  box-shadow: 0 18px 44px rgba(122, 76, 33, 0.1);
}

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

.spec {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.notice {
  border-color: #f1c681;
  background: #fff8df;
}

.notice strong {
  color: var(--brown);
}

.page-head {
  padding: 72px 0 54px;
}

.page-head p {
  max-width: 760px;
}

.faq {
  display: grid;
  gap: 14px;
}

.faq article {
  padding: 22px;
}

.policy-list {
  display: grid;
  gap: 12px;
  padding-left: 20px;
}

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255, 254, 247, 0.48);
}

.footer {
  padding: 30px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
}

@media (max-width: 900px) {
  .hero,
  .wide {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 54px;
  }

  h2 {
    font-size: 36px;
  }

  .feature-grid,
  .policy-grid,
  .spec-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .nav,
  .section,
  .footer,
  .hero {
    width: min(358px, calc(100vw - 32px));
    max-width: min(358px, calc(100vw - 32px));
    margin-left: 16px;
    margin-right: 16px;
  }

  .hero > *,
  .wide > *,
  .device-wall > * {
    min-width: 0;
  }

  .brand {
    gap: 7px;
    font-size: 15px;
  }

  .brand img {
    width: 30px;
    height: 30px;
    border-radius: 8px;
  }

  .links {
    display: none;
  }

  .hero {
    padding-top: 54px;
  }

  h1 {
    font-size: 35px;
    max-width: 100%;
  }

  h2 {
    font-size: 29px;
    max-width: 100%;
  }

  .lead {
    font-size: 17px;
  }

  .device-wall {
    grid-template-columns: minmax(0, 1fr);
    padding: 8px;
    gap: 0;
  }

  .device-wall img:not(.main) {
    display: none;
  }

  .phone-shot.main {
    transform: none;
  }

  .feature-grid,
  .policy-grid,
  .spec-list {
    grid-template-columns: 1fr;
  }
}

