:root {
  color-scheme:light;
  --ink:#24345f;
  --text:#342c27;
  --muted:#6d5e50;
  --paper:#fcf8ef;
  --wood:#e9d6b8;
  --line:#d8c7ac;
}

* {
  box-sizing:border-box;
}

html {
  scroll-behavior:smooth;
}

body {
  margin:0;
  background:var(--paper);
  color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,"Hiragino Maru Gothic ProN","Yu Gothic",sans-serif;
  line-height:1.8;
  font-size:16px;
}

a {
  color:var(--ink);
  text-underline-offset:.2em;
}

a:focus-visible {
  outline:3px solid #b37a31;
  outline-offset:4px;
}

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

.header {
  border-bottom:1px solid var(--line);
  background:#fffaf1;
}

.header .wrap {
  min-height:78px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
  padding-block:12px;
}

.brand {
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--ink);
  font-size:1.12rem;
  font-weight:800;
  text-decoration:none;
}

.brand img {
  width:44px;
  height:44px;
  border-radius:11px;
}

nav {
  display:flex;
  gap:clamp(14px,3vw,28px);
  flex-wrap:wrap;
}

nav a {
  font-weight:700;
  text-decoration:none;
}

nav a[aria-current=page] {
  text-decoration:underline;
}

main {
  min-height:65vh;
}

.hero {
  background:var(--ink);
  color:#fffaf1;
  overflow:hidden;
}

.hero .wrap {
  display:grid;
  grid-template-columns:1fr minmax(220px,330px);
  gap:clamp(30px,7vw,90px);
  align-items:center;
  padding-block:64px;
}

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

h1 {
  font-size:clamp(2rem,5vw,3.5rem);
  line-height:1.35;
  letter-spacing:.04em;
}

h2 {
  color:var(--ink);
  font-size:clamp(1.45rem,3vw,2rem);
  line-height:1.45;
}

h3 {
  font-size:1.1rem;
  line-height:1.5;
}

.hero p {
  max-width:32em;
}

.hero img {
  width:100%;
  max-width:260px;
  justify-self:center;
  border-radius:22%;
  box-shadow:0 16px 40px #111a3d66;
}

.section {
  padding-block:clamp(52px,7vw,88px);
}

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

.lead {
  font-size:1.15rem;
  max-width:43em;
}

.steps {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
  margin-top:32px;
}

.step {
  border-top:3px solid var(--ink);
  padding-top:18px;
}

.step p {
  color:var(--muted);
}

.screens {
  background:#e8d7bc;
}

.screen-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:30px;
  max-width:700px;
  margin:auto;
}

.screen-grid figure {
  margin:0;
}

.screen-grid img {
  display:block;
  width:100%;
  height:auto;
  border-radius:14px;
  box-shadow:0 12px 30px #5b44332b;
}

.screen-grid figcaption {
  margin-top:12px;
  font-weight:700;
}

.note {
  font-size:.9rem;
  color:var(--muted);
}

.page-head {
  background:var(--ink);
  color:#fffaf1;
  padding-block:44px;
}

.page-head h1 {
  font-size:clamp(1.8rem,4vw,2.6rem);
  margin-bottom:8px;
}

.page-head p {
  margin-bottom:0;
}

.content {
  max-width:780px;
  padding-block:48px 80px;
}

.content section + section {
  margin-top:48px;
}

.faq {
  border-top:1px solid var(--line);
}

.faq article {
  padding:22px 0;
  border-bottom:1px solid var(--line);
}

.faq article h3 {
  color:var(--ink);
  margin-bottom:8px;
}

.faq article p:last-child {
  margin-bottom:0;
}

.notice {
  background:#f2e7d4;
  border-left:4px solid var(--ink);
  padding:20px;
  margin-block:24px;
}

.footer {
  background:#e9ddcb;
  border-top:1px solid var(--line);
  padding-block:28px;
}

.footer .wrap {
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:center;
  flex-wrap:wrap;
}

.footer p {
  margin:0;
  color:var(--muted);
}

@media(max-width:600px) {
  .header .wrap {
    display:block;
  }
  .brand {
    margin-bottom:12px;
  }
  nav {
    gap:12px 20px;
  }
  .hero .wrap {
    grid-template-columns:1fr;
    padding-block:44px;
  }
  .hero img {
    width:150px;
  }
  .steps {
    grid-template-columns:1fr;
    gap:16px;
  }
  .screen-grid {
    gap:14px;
  }
  .screen-grid figcaption {
    font-size:.9rem;
  }
  .wrap {
    width:calc(100% - 32px);
  }
}
