:root {
  color-scheme: light;
  --ink: #111111;
  --muted: #5f6368;
  --line: #e1ded8;
  --paper: #fbfaf8;
  --white: #ffffff;
  --green: #0f7f46;
  --blue: #0b5cad;
  --amber: #b25d17;
  --soft-green: #e8f7ee;
  --soft-blue: #eef5ff;
  --soft-amber: #fff3e6;
  --shadow: 0 18px 54px rgba(17, 17, 17, 0.12);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  min-width: 320px;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  background: rgba(251, 250, 248, 0.9);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  backdrop-filter: blur(20px);
}

.nav {
  width: min(100%, var(--max));
  height: 58px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(17, 17, 17, 0.72);
  font-size: 13px;
  font-weight: 600;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: 78svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 116px 22px 72px;
  background: var(--paper);
}

.hero.photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(251, 250, 248, 0.98) 0%, rgba(251, 250, 248, 0.92) 42%, rgba(251, 250, 248, 0.24) 78%, rgba(251, 250, 248, 0.06) 100%),
    var(--hero-image) center/cover no-repeat;
  transform: scale(1.02);
}

.hero.soft-green {
  background: linear-gradient(180deg, var(--soft-green) 0%, var(--paper) 72%);
}

.hero.soft-blue {
  background: linear-gradient(180deg, var(--soft-blue) 0%, var(--paper) 72%);
}

.hero.soft-amber {
  background: linear-gradient(180deg, var(--soft-amber) 0%, var(--paper) 72%);
}

.wrap,
.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.82fr);
  gap: 62px;
  align-items: center;
}

.hero-copy {
  max-width: 730px;
}

.label {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 12px;
}

.ip-notice {
  display: block;
  color: rgba(17, 17, 17, 0.56);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 16px;
}

h1 {
  max-width: 860px;
  font-size: clamp(42px, 5.8vw, 78px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: 0;
  text-wrap: balance;
  margin-bottom: 22px;
}

.hero-lead {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.85;
  font-weight: 700;
  margin-bottom: 28px;
}

.hero-visual,
.screen-panel {
  min-height: 520px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 34px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--white), var(--soft-blue));
  box-shadow: var(--shadow);
}

.hero-visual img,
.screen-panel img {
  width: min(100%, 360px);
  max-height: 480px;
  object-fit: contain;
  filter: drop-shadow(0 20px 36px rgba(17, 17, 17, 0.18));
}

.hero-visual.wide img,
.screen-panel.wide img {
  width: min(100%, 520px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 10px 26px rgba(18, 118, 60, 0.2);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(17, 17, 17, 0.14);
}

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

.section {
  padding: 88px 22px;
  background: var(--paper);
}

.section.white {
  background: var(--white);
}

.summary-section {
  padding: 34px 22px;
  background: var(--white);
}

.answer-summary {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--white), rgba(232, 247, 238, 0.58));
  padding: 24px;
  box-shadow: 0 12px 32px rgba(17, 17, 17, 0.08);
}

.answer-summary p:last-child {
  color: var(--ink);
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.8;
  font-weight: 750;
}

.fact-table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.fact-table th,
.fact-table td {
  border-bottom: 1px solid var(--line);
  padding: 18px;
  text-align: left;
  vertical-align: top;
}

.fact-table th {
  width: 26%;
  color: var(--green);
  font-weight: 850;
  background: var(--soft-green);
}

.fact-table tr:last-child th,
.fact-table tr:last-child td {
  border-bottom: 0;
}

.fact-list {
  margin: 0;
  padding-left: 20px;
}

.fact-list li + li {
  margin-top: 6px;
}

.section-head {
  max-width: 820px;
  margin-bottom: 38px;
}

h2 {
  font-size: clamp(32px, 4.5vw, 58px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: 0;
  text-wrap: balance;
  margin-bottom: 16px;
}

.section-head p,
.lead {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.85;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.78fr);
  gap: 64px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 0.95fr);
}

.copy-block p {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.85;
  margin-bottom: 24px;
}

.photo-panel {
  overflow: hidden;
  border-radius: var(--radius);
  background: #e8e6e1;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}

.photo-panel.wide {
  aspect-ratio: 16 / 9;
}

.photo-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.proof-list {
  display: grid;
  gap: 14px;
}

.proof-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.proof-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--green);
  background: var(--soft-green);
  font-weight: 900;
  line-height: 1;
}

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

.info-card,
.related-card,
.note-card {
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.info-card.green {
  background: var(--soft-green);
}

.info-card.blue {
  background: var(--soft-blue);
}

.info-card.amber {
  background: var(--soft-amber);
}

.info-card h3,
.related-card h3,
.note-card h3 {
  font-size: 22px;
  line-height: 1.34;
  font-weight: 800;
  margin-bottom: 10px;
}

.info-card p,
.related-card p,
.note-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.related-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  background: var(--paper);
}

.note-card {
  grid-column: 1 / -1;
  min-height: auto;
  background: var(--soft-blue);
}

.long-copy {
  max-width: 920px;
  display: grid;
  gap: 22px;
}

.long-copy p,
.long-copy li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.long-copy ul,
.long-copy ol {
  display: grid;
  gap: 12px;
  padding-left: 1.35em;
}

.comparison-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.comparison-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 15px;
  line-height: 1.75;
}

.comparison-table th {
  color: var(--ink);
  background: var(--soft-blue);
  font-weight: 800;
}

.comparison-table tr:last-child td {
  border-bottom: 0;
}

.comparison-table td:first-child {
  color: var(--ink);
  font-weight: 800;
}

.download-band {
  padding: 86px 22px;
  color: var(--white);
  background: var(--ink);
  text-align: center;
}

.download-band h2 {
  color: var(--white);
}

.download-band p {
  max-width: 700px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.85;
}

.download-band .actions {
  justify-content: center;
}

.download-band .button.primary {
  color: var(--ink);
  background: var(--white);
  box-shadow: none;
}

footer {
  padding: 34px 22px 44px;
  color: rgba(17, 17, 17, 0.56);
  background: var(--paper);
  font-size: 13px;
}

.footer-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-copy {
  display: grid;
  gap: 4px;
}

.footer-copy .trust-note {
  color: rgba(17, 17, 17, 0.72);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.footer-links a {
  color: rgba(17, 17, 17, 0.62);
}

@media (max-width: 940px) {
  .hero-grid,
  .split,
  .split.reverse,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .split.reverse .photo-panel {
    order: -1;
  }
}

@media (max-width: 720px) {
  .nav {
    height: 54px;
    padding: 0 16px;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 86px 18px 50px;
  }

  .hero.photo::before {
    background:
      linear-gradient(180deg, rgba(251, 250, 248, 0.98) 0%, rgba(251, 250, 248, 0.88) 50%, rgba(251, 250, 248, 0.18) 100%),
      var(--hero-image) 62% center/cover no-repeat;
  }

  .hero-grid {
    gap: 34px;
  }

  h1 {
    font-size: clamp(36px, 10.5vw, 52px);
  }

  h2 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .section {
    padding: 58px 18px;
  }

  .button {
    width: 100%;
  }

  .hero-visual,
  .screen-panel {
    min-height: 380px;
    padding: 24px 14px;
  }

  .hero-visual img,
  .screen-panel img {
    width: min(100%, 300px);
    max-height: 380px;
  }

  .info-card,
  .related-card,
  .note-card {
    min-height: auto;
    padding: 22px;
  }

  .footer-inner {
    display: grid;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
