:root {
  --bg: #f7f3ea;
  --surface: #ffffff;
  --surface-soft: #eef5f2;
  --ink: #24302d;
  --muted: #65736e;
  --line: #d8e1dc;
  --accent: #6d8f7a;
  --accent-strong: #3f685a;
  --cream: #fffaf0;
  --shadow: 0 18px 45px rgba(36, 48, 45, 0.10);
  --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--bg) 0%, #fbfbf6 42%, #f1f7f4 100%);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-strong); }
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 243, 234, 0.94);
  border-bottom: 1px solid rgba(216, 225, 220, 0.88);
  backdrop-filter: blur(14px);
}
.topbar {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.logo {
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.16rem;
  white-space: nowrap;
}
.logo span { color: var(--accent-strong); }
.menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  font-size: 0.92rem;
}
.menu a {
  padding: 9px 12px;
  border-radius: 999px;
  color: #344540;
}
.menu a:hover, .menu a.current {
  background: var(--surface-soft);
  color: var(--accent-strong);
}
main { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }
.hero {
  padding: 66px 0 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.82fr);
  gap: 38px;
  align-items: center;
}
.hero.compact { padding-top: 46px; }
.hero.centered {
  grid-template-columns: 1fr;
  text-align: center;
}
.hero.centered .hero-media { width: min(860px, 100%); margin: 0 auto; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  color: var(--accent-strong);
  font-weight: 700;
  font-size: 0.84rem;
}
h1, h2, h3 { line-height: 1.12; margin: 0 0 16px; letter-spacing: -0.035em; }
h1 { font-size: clamp(2.25rem, 5vw, 4.8rem); }
h2 { font-size: clamp(1.7rem, 3.1vw, 2.75rem); }
h3 { font-size: 1.22rem; }
p { margin: 0 0 16px; color: var(--muted); }
ul, ol { color: var(--muted); padding-left: 20px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 760px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border-radius: 999px;
  font-weight: 750;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 9px 24px rgba(36,48,45,0.08);
}
.btn.primary { background: var(--accent-strong); color: white; border-color: var(--accent-strong); }
.btn.secondary { background: var(--cream); }
.hero-card, .panel, .card, .notice, .contact-card, .form-box {
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-card { padding: 16px; }
.hero-card img { aspect-ratio: 3 / 2; object-fit: cover; }
.hero-note {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.hero-note span {
  background: var(--surface-soft);
  border-radius: 16px;
  padding: 12px;
  color: #355148;
  font-size: 0.92rem;
  font-weight: 700;
}
section { padding: 46px 0; }
.section-head { max-width: 760px; margin-bottom: 24px; }
.grid { display: grid; gap: 18px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card, .panel, .notice, .contact-card, .form-box { padding: 24px; }
.card strong { color: var(--ink); }
.card .num {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--surface-soft);
  color: var(--accent-strong);
  font-weight: 800;
  margin-bottom: 12px;
}
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
}
.split.reverse { grid-template-columns: 1.08fr 0.92fr; }
.image-frame { padding: 10px; background: white; border: 1px solid var(--line); border-radius: calc(var(--radius) + 8px); box-shadow: var(--shadow); }
.image-frame img { aspect-ratio: 3 / 2; object-fit: cover; }
.steps { counter-reset: step; }
.steps .card { position: relative; }
.timeline { display: grid; gap: 14px; }
.timeline-item { padding: 20px; border-left: 4px solid var(--accent); background: rgba(255,255,255,0.72); border-radius: 0 18px 18px 0; }
.breadcrumb {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 0.92rem;
  color: var(--muted);
}
.breadcrumb a { color: var(--accent-strong); font-weight: 700; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 18px;
  margin-bottom: 12px;
}
.faq summary { cursor: pointer; font-weight: 800; color: var(--ink); }
.faq p { margin: 12px 0 0; }
.contact-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 22px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.contact-list li { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.contact-list strong { display: block; color: var(--ink); }
.form-box label { display: block; font-weight: 750; margin: 0 0 7px; color: var(--ink); }
.form-box input, .form-box textarea, .form-box select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  margin: 0 0 14px;
  font: inherit;
  background: white;
  color: var(--ink);
}
.form-box textarea { min-height: 132px; resize: vertical; }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.badge { padding: 8px 11px; border-radius: 999px; background: var(--surface-soft); color: #355148; font-weight: 700; font-size: 0.88rem; }
.article-body { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.article-body h2 { margin-top: 18px; }
.site-footer { margin-top: 48px; background: #24302d; color: #f8f5ea; }
.footer-inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 42px 0 24px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 24px;
}
.site-footer p, .site-footer li { color: #cad7d0; }
.site-footer h2, .site-footer h3 { color: #ffffff; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-links a { color: #f8f5ea; }
.footer-bottom {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.16);
  padding: 16px 0 26px;
  color: #cad7d0;
  font-size: 0.92rem;
}
.legal-section h2 { font-size: 1.55rem; }
@media (max-width: 920px) {
  .topbar { align-items: flex-start; flex-direction: column; padding: 16px 0; }
  .menu { justify-content: flex-start; }
  .hero, .split, .split.reverse, .contact-layout { grid-template-columns: 1fr; }
  .grid.four, .grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  main, .topbar, .footer-inner, .footer-bottom { width: min(100% - 28px, 1180px); }
  .hero { padding-top: 36px; }
  .grid.two, .grid.three, .grid.four { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .hero-note { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .menu a { padding: 8px 10px; }
}
