:root {
  color-scheme: light;
  --paper: #fff8e8;
  --cream: #fffdf6;
  --ink: #1c1c1c;
  --muted: #665f51;
  --coin: #ffd33d;
  --line: #1c1c1c;
  --shadow: rgba(28, 28, 28, 0.16);
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 211, 61, 0.28), transparent 42%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.7), transparent 36%),
    var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans", "Noto Sans JP", "Noto Sans KR", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
}

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

a { color: var(--ink); font-weight: 800; }

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
}

.skip:focus {
  left: 8px;
  background: var(--coin);
  padding: 8px 12px;
  border: 2px solid var(--line);
  z-index: 20;
}

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 248, 232, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--line);
}

.site-header .wrap,
.hero-grid,
.feature,
.guide-grid,
.faq-grid,
.meta-row {
  display: flex;
  gap: 18px;
}

.site-header .wrap {
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border: 2px solid var(--line);
  border-radius: 10px;
  background: var(--cream);
}

.nav-links,
.lang-switch,
.cta-row,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.nav-links a,
.lang-switch a,
.chip {
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

.lang-switch a[aria-current="page"] {
  background: var(--coin);
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 2px 8px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 8px 16px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--coin);
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
  box-shadow: 3px 3px 0 var(--shadow);
}

.button.secondary {
  background: var(--cream);
}

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

.hero-grid {
  align-items: center;
  justify-content: space-between;
}

.hero-copy { flex: 1.1; }
.hero-visual { flex: 0.9; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 900;
  color: var(--muted);
  letter-spacing: 0.04em;
}

h1 {
  margin: 12px 0 10px;
  font-size: clamp(34px, 7vw, 64px);
  line-height: 1.05;
}

.lede,
.muted { color: var(--muted); font-weight: 700; }

.hero-actions { margin-top: 22px; }

.fine {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.phone {
  width: min(340px, 100%);
  margin: 0 auto;
  border: 3px solid var(--line);
  border-radius: 36px;
  overflow: hidden;
  background: var(--cream);
  box-shadow: 8px 8px 0 var(--shadow);
}

.phone img { display: block; width: 100%; }

section { padding: 18px 0 8px; }

h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.2;
}

.card,
.feature,
.faq,
.guide-card {
  background: var(--cream);
  border: 2px solid var(--line);
  border-radius: 22px;
  box-shadow: 4px 4px 0 var(--shadow);
}

.feature {
  padding: 22px;
  margin: 18px 0;
  align-items: center;
}

.feature.reverse { flex-direction: row-reverse; }

.feature img,
.guide-card img {
  width: min(320px, 100%);
  border: 2px solid var(--line);
  border-radius: 18px;
  display: block;
}

.feature-copy { flex: 1; }
.feature-copy p:last-child { margin-bottom: 0; }

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.pill-list li,
.chip {
  padding: 6px 12px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.not-card,
.guide-card,
.faq {
  padding: 22px;
}

.guide-grid { align-items: stretch; }

.guide-card {
  flex: 1;
  text-decoration: none;
  color: inherit;
  display: block;
}

.guide-card h3,
.not-card h3,
.faq h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.guide-card p,
.faq p { margin: 0; }

.cta-band {
  margin: 28px 0;
  padding: 28px;
  background: var(--coin);
  border: 2px solid var(--line);
  border-radius: 24px;
  box-shadow: 5px 5px 0 var(--shadow);
}

.site-footer {
  padding: 28px 0 48px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-footer a { margin-right: 12px; }

.article {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 64px;
}

.article h1 { font-size: clamp(32px, 6vw, 48px); }

.article h2 { margin-top: 28px; }

.article table {
  width: 100%;
  border-collapse: collapse;
  background: var(--cream);
  border: 2px solid var(--line);
  overflow: hidden;
}

.article th,
.article td {
  border-bottom: 1px solid #d8d0bc;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

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

@media (max-width: 860px) {
  .hero-grid,
  .feature,
  .feature.reverse,
  .guide-grid,
  .split,
  .site-header .wrap {
    flex-direction: column;
  }

  .split,
  .guide-grid { display: grid; grid-template-columns: 1fr; }

  .nav-links { display: none; }

  .hero { padding-top: 24px; }

  .phone { width: min(280px, 100%); }
}
