:root {
  color-scheme: light;
  --ink: #243236;
  --muted: #647377;
  --paper: #fffdfb;
  --soft: #f8efea;
  --line: #eadfd9;
  --accent: #b94f64;
  --accent-dark: #853748;
  --teal: #245b64;
  --mist: #e6eeee;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.85;
}
a { color: inherit; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 251, 0.94);
  backdrop-filter: blur(12px);
}
.brand {
  font-weight: 800;
  text-decoration: none;
  color: var(--teal);
  white-space: nowrap;
}
.site-nav {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.site-nav a {
  flex: 0 0 auto;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}
.site-nav a[aria-current="page"], .site-nav a:hover {
  color: var(--teal);
  background: var(--soft);
}
main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.86fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  min-height: min(760px, calc(100vh - 70px));
  padding: clamp(34px, 7vw, 84px) 0 34px;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-weight: 800;
}
h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.18;
  letter-spacing: 0;
}
.lead {
  max-width: 720px;
  margin: 20px 0 0;
  color: #40545b;
  font-size: 18px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 6px;
  border: 1px solid var(--teal);
  text-decoration: none;
  font-weight: 800;
}
.primary { background: var(--teal); color: #fff; }
.secondary { color: var(--teal); background: #fff; }
.hero-visual {
  margin: 0;
}
.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: 0 22px 60px rgba(36, 50, 54, 0.13);
}
.notice {
  margin: 0 0 28px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  border-radius: 8px;
  background: var(--soft);
}
.notice p { margin: 8px 0 0; }
.content-section {
  padding: clamp(28px, 5vw, 54px) 0;
  border-top: 1px solid var(--line);
}
h2 {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.35;
  letter-spacing: 0;
}
.content-section p {
  max-width: 820px;
  margin: 0 0 14px;
}
.faq-block details {
  max-width: 900px;
  margin: 12px 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.faq-block summary {
  cursor: pointer;
  color: var(--accent-dark);
  font-weight: 800;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.related-card {
  display: block;
  min-height: 156px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, var(--mist));
  text-decoration: none;
}
.related-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--teal);
  font-weight: 800;
}
.related-card small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 24px;
  padding: 28px 16px 42px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.site-footer p { margin: 0; }
@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .site-nav {
    width: 100%;
  }
  main {
    width: min(100% - 24px, 1120px);
  }
  .hero {
    display: block;
    min-height: 0;
    padding-top: 30px;
  }
  .hero-visual {
    margin-top: 26px;
  }
  h1 {
    font-size: 34px;
  }
  .lead {
    font-size: 16px;
  }
  .button {
    width: 100%;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
}
