:root {
  --bg: #E2E2E2;
  --ink: #000000;
  --accent: #ABFF44;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans JP", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

/* ===== PAGE SHELL ===== */
.page {
  max-width: 1440px;
  margin: 0 auto;
  background: var(--bg);
  border-left: 1px solid var(--ink);
  border-right: 1px solid var(--ink);
  overflow: clip;
}

/* ===== HEADER ===== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 80px;
  border-bottom: 1px solid var(--ink);
  background: var(--bg);
  height: 100px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.logo-svg { height: 48px; width: auto; display: block; fill: var(--ink); mix-blend-mode: color-burn; }
.hamburger { width: 64px; height: 17px; display: flex; flex-direction: column; justify-content: space-between; cursor: pointer; }
.hamburger span { display: block; height: 3px; background: var(--ink); }

/* ===== NAV DRAWER ===== */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 200;
  opacity: 0;
  transition: opacity 0.3s;
}
.nav-overlay.is-open { display: block; opacity: 1; }
.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100dvh;
  background: var(--bg);
  border-left: 1px solid var(--ink);
  z-index: 300;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: 120px 40px 40px;
  display: flex;
  flex-direction: column;
}
.nav-drawer.is-open { transform: translateX(0); }
.nav-close {
  display: block;
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
  padding: 0;
}
.nav-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 40px; }
.nav-list--sub { margin-top: auto; gap: 20px; }
.nav-list a {
  font-family: "Zen Old Mincho", serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  display: block;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 12px;
  transition: color 0.2s;
}
.nav-list a:hover { color: var(--accent); }
.nav-list--sub a { font-weight: 400; }
.nav-item--parent > a { border-bottom-style: double; border-bottom-width: 3px; }
.nav-item--child > a { margin-left: 1em; }

/* ===== CTA FOOTER ===== */
.cta {
  background: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px 100px;
  gap: 30px;
}
.cta-inner { display: flex; flex-direction: column; align-items: center; gap: 40px; width: 627px; }
.cta-text {
  font-family: "Zen Old Mincho", serif;
  font-weight: 600;
  font-size: 48px;
  line-height: 68px;
  color: #fff;
  text-align: center;
  white-space: nowrap;
}
.cta-btn {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 30px;
  width: 500px;
  height: 80px;
  background: var(--accent);
}
.cta-btn .label { font-family: "Forum", serif; font-size: 70px; line-height: 68px; color: var(--ink); text-align: center; padding-right: 25px; }
.cta-btn .arrow { position: absolute; right: 30px; font-family: "Forum", serif; font-size: 70px; line-height: 68px; color: var(--ink); }
.foot-links { display: flex; justify-content: space-between; align-items: center; gap: 312px; width: 551px; }
.foot-links a { font-family: "Noto Sans JP", sans-serif; font-weight: 350; font-size: 16px; color: #fff; }
.copyright { font-family: "Noto Sans JP", sans-serif; font-size: 16px; color: #fff; }

/* ===== MOBILE ===== */
@media (max-width: 900px) {
  header { padding: 16px 20px; height: 80px; }
  .logo-svg { height: 30px; }
  .hamburger { width: 26px; height: 15px; }

  /* ── フッター ── */
  .cta { padding: 34px 20px 28px; }
  .cta-inner { width: 100%; gap: 20px; }
  .cta-text { font-size: 24px; line-height: 1.5; white-space: normal; }
  .cta-btn { width: 100%; height: auto; padding: 12px 24px; }
  .cta-btn .label, .cta-btn .arrow { font-size: 28px; line-height: 1.4; }
  .cta-btn .arrow { right: 24px; }
  .foot-links { width: auto; gap: 28px; }
}
