:root {
  --ink: #172033;
  --muted: #647084;
  --paper: #f5f3ed;
  --surface: #ffffff;
  --line: #dfe3e8;
  --accent: #c9f046;
  --accent-strong: #a9d827;
  --warm: #ff805f;
  --navy: #1d2942;
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 38px;
  --shadow: 0 18px 50px rgba(23, 32, 51, 0.10);
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 9999;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(245, 243, 237, 0.88);
  border-bottom: 1px solid rgba(23, 32, 51, 0.08);
}

.header-inner {
  width: min(calc(100% - 32px), var(--max));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.04em;
  font-size: 1.28rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: var(--accent);
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 900;
}

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
}

.nav-cta {
  background: var(--ink) !important;
  color: #fff !important;
  margin-left: 4px;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(23, 32, 51, 0.06);
}

main { overflow: hidden; }
.container { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; }
.narrow { width: min(calc(100% - 32px), 820px); margin: 0 auto; }

.hero {
  position: relative;
  padding: 80px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(320px, 0.86fr);
  gap: 58px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--navy);
  font-weight: 900;
  font-size: 0.83rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(201, 240, 70, 0.24);
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(2.7rem, 7vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.hero h1 .accent { position: relative; white-space: nowrap; }
.hero h1 .accent::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.04em;
  height: 0.18em;
  z-index: -1;
  background: var(--accent);
  border-radius: 99px;
  transform: rotate(-1deg);
}

.lead {
  margin: 28px 0 0;
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
  line-height: 1.9;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: #fff; box-shadow: 0 12px 30px rgba(23, 32, 51, 0.18); }
.button-accent { background: var(--accent); color: var(--navy); }
.button-ghost { background: rgba(255,255,255,.8); border-color: var(--line); }

.hero-media-section {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  display: flex;
  align-items: center;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--navy);
}
.hero-media video,
.hero-media img.hero-still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
}
.hero-media video {
  opacity: 0;
  transition: opacity .7s ease;
}
.hero-media.hero-video-active video { opacity: 1; }
.hero-media.hero-video-active img.hero-still { opacity: 0; }
.hero-media-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(12,17,28,.92) 0%, rgba(12,17,28,.76) 40%, rgba(12,17,28,.4) 70%, rgba(12,17,28,.16) 100%);
}
.hero-media-section .hero-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: 1fr;
}
.hero-media-section .hero-copy { max-width: 720px; color: #fff; }
.hero-media-section .eyebrow { color: var(--accent); }
.hero-media-section .lead { color: rgba(255, 255, 255, 0.86); }
.hero-media-section h1 { color: #fff; }
.hero-media-caption {
  position: relative;
  z-index: 1;
  margin: 14px 0 0;
  font-size: .78rem;
  color: rgba(255, 255, 255, 0.55);
}

.stats-strip {
  margin: 18px 0 0;
  padding: 18px 0;
  border-top: 1px solid rgba(23, 32, 51, 0.11);
  border-bottom: 1px solid rgba(23, 32, 51, 0.11);
}
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 10px 24px; border-right: 1px solid rgba(23, 32, 51, 0.11); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: 1.1rem; }
.stat span { display: block; margin-top: 4px; color: var(--muted); font-size: .9rem; }

.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-dark { background: var(--navy); color: #fff; }
.section-accent { background: var(--accent); }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 36px;
}
.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4.6vw, 4.2rem);
  line-height: 1.06;
  letter-spacing: -0.055em;
}
.section-heading p { max-width: 540px; margin: 0; color: var(--muted); }
.section-dark .section-heading p { color: #cbd3df; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  min-height: 260px;
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid rgba(23,32,51,.08);
  box-shadow: 0 12px 36px rgba(23, 32, 51, 0.06);
}
.card-number {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: var(--accent);
  font-size: .85rem;
  font-weight: 900;
}
.card h3 { margin: 44px 0 8px; font-size: 1.35rem; letter-spacing: -.025em; }
.card p { margin: 0; color: var(--muted); }

.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.category {
  position: relative;
  min-height: 180px;
  padding: 22px;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(23,32,51,.08);
  transition: transform .18s ease, box-shadow .18s ease;
}
.category:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.category-icon { font-size: 2rem; }
.category h3 { margin: 26px 0 4px; font-size: 1.1rem; }
.category p { margin: 0; color: var(--muted); font-size: .9rem; }

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.check-list li { position: relative; padding-left: 32px; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.15em;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--navy);
  font-weight: 900;
  font-size: .78rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.panel {
  padding: 34px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid rgba(23,32,51,.08);
}
.panel h2, .panel h3 { margin-top: 0; letter-spacing: -.035em; }

.notice {
  padding: 20px 22px;
  border-radius: 18px;
  background: #fff8e5;
  border: 1px solid #f0dfae;
  color: #66531b;
}
.notice strong { color: #3d3213; }

.contact-panel { box-shadow: var(--shadow); }
.contact-panel h2 { margin-bottom: 8px; font-size: clamp(1.8rem, 4vw, 2.7rem); }
.form-intro { margin: 0 0 28px; color: var(--muted); }
.contact-form { display: grid; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: grid; gap: 8px; }
.form-field label { font-weight: 800; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #b9c1cc;
  border-radius: 12px;
  outline: 0;
}
.form-field textarea { min-height: 180px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(201, 240, 70, .55);
}
.required-mark,
.optional-mark {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: .72rem;
  line-height: 1.4;
  vertical-align: .12em;
}
.required-mark { color: #fff; background: var(--navy); }
.optional-mark { color: var(--muted); background: #edf0f4; }
.field-help,
.form-note { margin: 0; color: var(--muted); font-size: .86rem; }
.consent-field { display: flex; align-items: flex-start; gap: 11px; cursor: pointer; }
.consent-field input { width: 20px; height: 20px; margin-top: .2em; flex: 0 0 auto; accent-color: var(--navy); }
.consent-field a { text-decoration: underline; text-underline-offset: 3px; }
.submit-button { width: 100%; border: 0; cursor: pointer; }
.form-success {
  display: grid;
  gap: 4px;
  margin-bottom: 22px;
  padding: 20px 22px;
  border: 1px solid #9cc737;
  border-radius: 18px;
  background: #f2ffd0;
  color: #24320f;
}
.form-success[hidden] { display: none; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; }

.page-hero { padding: 78px 0 56px; }
.page-hero h1 { max-width: 900px; font-size: clamp(2.8rem, 7vw, 5.8rem); }
.page-hero .lead { max-width: 800px; }

.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; }
.chip {
  padding: 9px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: .9rem;
  font-weight: 700;
}

.guide-stack { display: grid; gap: 18px; }
.guide-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  padding: 28px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid rgba(23,32,51,.08);
}
.guide-index {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--navy);
  color: #fff;
  font-weight: 900;
}
.guide-card h2, .guide-card h3 { margin: 0 0 8px; }
.guide-card p { margin: 0; color: var(--muted); }

.cta-band {
  padding: 46px;
  border-radius: var(--radius-lg);
  background: var(--accent);
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}
.cta-band h2 { margin: 0; font-size: clamp(1.8rem, 4vw, 3.4rem); line-height: 1.1; letter-spacing: -.05em; }
.cta-band p { margin: 10px 0 0; max-width: 620px; }

.site-footer { padding: 58px 0 32px; background: #111a2c; color: #dbe1ec; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 34px; }
.site-footer .brand { color: #fff; }
.site-footer p { color: #9fa9ba; }
.footer-links { display: grid; gap: 9px; }
.footer-links a { color: #b7c0cf; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #8490a4;
  font-size: .86rem;
}

.media-frame { margin: 0; }
.media-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--navy);
}
.media-visual img,
.media-visual video { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-frame-wide .media-visual { aspect-ratio: 16 / 9; }
.media-caption {
  margin: 12px 2px 0;
  font-size: .82rem;
  color: var(--muted);
}

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery-item {
  position: relative;
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 12px 30px rgba(23, 32, 51, 0.1);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(0deg, rgba(12, 17, 28, 0.82), rgba(12, 17, 28, 0));
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
}

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-media video { display: none !important; }
  .hero-media img.hero-still { opacity: 1 !important; }
}

@media (max-width: 920px) {
  .menu-button { display: inline-grid; place-items: center; }
  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
  }
  .site-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .site-nav a { padding: 12px 14px; }
  .nav-cta { margin: 4px 0 0; text-align: center; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-media-section { min-height: 520px; }
  .hero { padding-top: 56px; }
  .card-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .section-heading { align-items: start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .header-inner { width: min(calc(100% - 24px), var(--max)); min-height: 66px; }
  .container, .narrow { width: min(calc(100% - 24px), var(--max)); }
  .hero { padding: 42px 0 48px; }
  .hero-grid { gap: 26px; }
  .hero h1, .page-hero h1 { letter-spacing: -0.055em; }
  .hero-media-section { min-height: 480px; }
  .hero-media-scrim { background: linear-gradient(180deg, rgba(12,17,28,.5) 0%, rgba(12,17,28,.88) 78%); }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { padding: 14px 0; border-right: 0; border-bottom: 1px solid rgba(23,32,51,.11); }
  .stat:last-child { border-bottom: 0; }
  .section { padding: 68px 0; }
  .section-tight { padding: 48px 0; }
  .category-grid { grid-template-columns: 1fr; }
  .category { min-height: 150px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .panel, .card { padding: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .guide-card { grid-template-columns: 1fr; }
  .cta-band { padding: 30px 24px; flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}
