:root {
  color-scheme: light;
  --bg: #f6f4ee;
  --surface: #fffdf8;
  --surface-strong: #ffffff;
  --ink: #202124;
  --muted: #64676d;
  --line: #ded9cb;
  --accent: #0f766e;
  --accent-strong: #115e59;
  --accent-soft: #d7f2ec;
  --warm: #efb047;
  --shadow: 0 18px 45px rgba(30, 36, 38, 0.11);
  font-family: "Inter", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.08), transparent 34%),
    linear-gradient(225deg, rgba(239, 176, 71, 0.14), transparent 32%),
    var(--bg);
  color: var(--ink);
  line-height: 1.75;
}

a {
  color: var(--accent);
}

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

h1 {
  font-size: clamp(2.2rem, 5.6vw, 4.5rem);
  line-height: 1.06;
  letter-spacing: 0;
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1.22;
  letter-spacing: 0;
  margin-bottom: 12px;
}

h3 {
  font-size: 1.24rem;
  line-height: 1.35;
  letter-spacing: 0;
  margin-bottom: 10px;
}

p,
li {
  color: var(--muted);
}

strong {
  color: var(--ink);
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.inner {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  width: min(860px, calc(100% - 40px));
}

.site-header {
  border-bottom: 1px solid rgba(32, 33, 36, 0.08);
  background: rgba(246, 244, 238, 0.88);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 10;
}

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

.brand {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  font-size: 0.94rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--accent-strong);
}

main {
  flex: 1;
}

.hero {
  padding: 72px 0 42px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.page-main {
  padding: 58px 0 74px;
}

.eyebrow {
  color: var(--accent-strong);
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.lead {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 700px;
  margin-bottom: 30px;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
}

.button-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-strong);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
  color: var(--ink);
}

.visual,
.preview {
  border: 1px solid rgba(32, 33, 36, 0.1);
  border-radius: 8px;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.visual {
  min-height: 360px;
  padding: 26px;
  display: grid;
  align-content: center;
}

.mock-window {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.mock-toolbar {
  min-height: 42px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
}

.mock-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--line);
}

.mock-toolbar span:nth-child(1) {
  background: #ef6b61;
}

.mock-toolbar span:nth-child(2) {
  background: var(--warm);
}

.mock-toolbar span:nth-child(3) {
  background: #35a889;
}

.mock-body {
  padding: 22px;
  display: grid;
  gap: 14px;
}

.mock-row {
  width: 82%;
  height: 14px;
  border-radius: 999px;
  background: #e7e3d6;
}

.mock-row.short {
  width: 58%;
  background: var(--accent-soft);
}

.mock-row.medium {
  width: 67%;
}

.mock-panel {
  min-height: 118px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.18), rgba(239, 176, 71, 0.23)),
    #f8f3e6;
  border: 1px solid rgba(32, 33, 36, 0.08);
}

.preview {
  padding: 24px;
}

.preview-frame {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  background: #111111;
  border-radius: 8px;
  padding: 12%;
  position: relative;
}

.preview-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(239, 176, 71, 0.65), rgba(15, 118, 110, 0.55)),
    #d7f2ec;
  border: 8px solid rgba(255, 255, 255, 0.78);
}

.color-bar {
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: 8%;
  height: 12px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-radius: 999px;
  overflow: hidden;
}

.color-bar span:nth-child(1) {
  background: #0f766e;
}

.color-bar span:nth-child(2) {
  background: #35a889;
}

.color-bar span:nth-child(3) {
  background: #efb047;
}

.color-bar span:nth-child(4) {
  background: #f6f4ee;
}

.color-bar span:nth-child(5) {
  background: #202124;
}

.section {
  padding: 48px 0;
}

.section.alt {
  background: rgba(255, 253, 248, 0.42);
  border-top: 1px solid rgba(32, 33, 36, 0.06);
  border-bottom: 1px solid rgba(32, 33, 36, 0.06);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.feature-card,
.card,
.policy,
.content-block {
  border: 1px solid rgba(32, 33, 36, 0.1);
  border-radius: 8px;
  background: var(--surface);
}

.feature-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 22px;
  padding: 24px;
}

.feature-card p:last-child,
.card p:last-child,
.content-block p:last-child,
.policy p:last-child {
  margin-bottom: 0;
}

.card-grid,
.text-grid,
.ratio-grid {
  display: grid;
  gap: 16px;
}

.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin: 24px 0;
}

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

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

.ratio-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.card,
.content-block,
.policy {
  padding: clamp(20px, 4vw, 34px);
}

.card .button {
  margin-top: 10px;
}

.content-block {
  margin: 24px 0;
}

.policy h2,
.content-block h2 {
  font-size: 1.28rem;
  margin-top: 30px;
}

.policy h2:first-child,
.content-block h2:first-child {
  margin-top: 0;
}

.steps {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.steps li {
  border-left: 4px solid var(--accent);
  background: rgba(255, 253, 248, 0.78);
  border-radius: 0 8px 8px 0;
  padding: 14px 16px;
}

.updated,
.note {
  color: var(--muted);
}

.note {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(215, 242, 236, 0.44);
  padding: 16px 18px;
}

.site-footer {
  border-top: 1px solid rgba(32, 33, 36, 0.08);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner {
  flex-wrap: wrap;
}

.site-footer a {
  color: var(--muted);
}

@media (max-width: 780px) {
  .inner,
  .narrow {
    width: min(100% - 28px, 1080px);
  }

  .header-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 14px 0;
  }

  .nav {
    justify-content: flex-start;
    gap: 12px;
  }

  .hero {
    padding-top: 46px;
  }

  .hero-grid,
  .feature-card,
  .text-grid,
  .card-grid.two {
    grid-template-columns: 1fr;
  }

  .visual {
    min-height: 270px;
    padding: 18px;
  }

  .button {
    width: 100%;
  }
}
