:root {
  --orange: #f47b20;
  --orange-dark: #ce5611;
  --navy: #17243f;
  --ink: #202733;
  --muted: #687386;
  --line: #e6e9ed;
  --paper: #fffaf3;
  --green: #28684a;
  --white: #ffffff;
  --shadow: 0 16px 40px rgba(23, 36, 63, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
  line-height: 1.75;
  background: #fff;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 48px);
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
  color: var(--navy);
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--orange), var(--navy));
}
.brand strong, .brand small { display: block; line-height: 1.25; }
.brand small { color: var(--muted); font-size: 12px; }
.global-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}
.global-nav a { white-space: nowrap; }
.nav-cta, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 800;
}
.nav-cta, .button.primary {
  color: #fff;
  background: var(--orange);
  box-shadow: 0 8px 20px rgba(244, 123, 32, .28);
}
.button.secondary {
  color: var(--navy);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .7);
}
.nav-toggle {
  display: none;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--navy);
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 76px));
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--navy);
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 20, 38, .78), rgba(10, 20, 38, .22) 58%, rgba(10, 20, 38, .1));
}
.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: clamp(42px, 7vw, 84px) clamp(20px, 5vw, 72px);
  color: #fff;
}
.hero h1, .page-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 6vw, 72px);
  line-height: 1.08;
  letter-spacing: 0;
}
.hero p { max-width: 620px; font-size: clamp(16px, 2vw, 20px); }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.eyebrow {
  margin: 0 0 10px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 92px) 0;
}
.section h2, .cta-section h2 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.25;
  letter-spacing: 0;
}
.section h3 { margin: 0 0 8px; color: var(--navy); font-size: 20px; }
.section p { margin: 0 0 16px; color: var(--muted); }
.intro-grid, .fee-preview, .split, .two-col, .form-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.feature-list {
  display: grid;
  gap: 14px;
}
.feature-list article, .principles article, .schedule-card, .contact-note, details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}
.feature-list article { padding: 22px; }
.feature-list span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--orange);
  font-weight: 900;
}
.band {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100% - 1120px) / 2));
  background: var(--paper);
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.section-head a, .text-link {
  color: var(--orange-dark);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.schedule-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.schedule-card { padding: 26px; }
.schedule-card h2, .schedule-card h3 { margin-top: 0; }
.schedule-card dl, .info-list { margin: 0; }
.schedule-card div, .info-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.schedule-card dt, .info-list dt { color: var(--muted); font-weight: 700; }
.schedule-card dd, .info-list dd { margin: 0; color: var(--navy); font-weight: 900; text-align: right; }
.schedule-cards.large .schedule-card { min-height: 280px; }

.fee-preview {
  grid-template-columns: 1fr 1.1fr auto;
}
.fee-table {
  display: grid;
  gap: 10px;
}
.fee-table div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.fee-table strong {
  color: var(--orange-dark);
  font-size: 24px;
}
.split img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.wide-image img { aspect-ratio: 16 / 11; }
.gallery-strip, .photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.gallery-strip img, .photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}
.news-list {
  list-style: none;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.news-list li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.news-list time { color: var(--muted); font-weight: 800; }
.news-list span, .news-list a { color: var(--navy); font-weight: 800; }
.news-list.large li {
  grid-template-columns: 130px 96px 1fr;
  align-items: center;
}
.tag {
  display: inline-flex;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--green) !important;
  background: #eaf4ee;
  font-size: 13px;
}
.cta-section {
  margin: clamp(30px, 7vw, 70px) auto;
  width: min(1120px, calc(100% - 40px));
  padding: clamp(36px, 6vw, 64px);
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), #25426d);
}
.cta-section h2, .cta-section p { color: #fff; }
.cta-section p { max-width: 660px; }
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(20px, 5vw, 72px);
  color: #fff;
  background: var(--navy);
}
.site-footer p { margin: 0; }

.page-hero {
  padding: clamp(54px, 8vw, 96px) clamp(20px, 5vw, 72px);
  color: #fff;
  background: linear-gradient(135deg, rgba(23, 36, 63, .96), rgba(40, 104, 74, .88)), url("../images/hero.png") center/cover;
}
.page-hero.small h1 { font-size: clamp(34px, 5vw, 56px); }
.page-hero p { max-width: 720px; margin: 0; font-size: 18px; }
.principles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}
.principles article { padding: 22px; box-shadow: none; }
.philosophy-lead,
.philosophy-note {
  max-width: 880px;
  color: var(--ink) !important;
  font-weight: 700;
}
.philosophy-note {
  margin-top: 24px !important;
}
.check-list, .flow-list {
  margin: 0;
  padding-left: 1.2em;
  color: var(--ink);
  font-weight: 700;
}
.check-list li, .flow-list li { margin: 8px 0; }
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}
details { padding: 18px; }
summary { color: var(--navy); font-weight: 900; cursor: pointer; }
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.filter-tabs button {
  min-height: 42px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-weight: 800;
  cursor: pointer;
}
.filter-tabs button.active {
  color: #fff;
  border-color: var(--orange);
  background: var(--orange);
}
.photo-grid figure { margin: 0; }
.photo-grid figcaption { margin-top: 8px; color: var(--muted); font-weight: 800; }
.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 900;
}
.contact-form .full { grid-column: 1 / -1; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 14px;
  font: inherit;
  background: #fff;
}
.contact-form button { border: 0; cursor: pointer; }
.contact-note { align-self: start; padding: 26px; }

@media (max-width: 940px) {
  .site-header { align-items: flex-start; }
  .nav-toggle { display: inline-flex; align-items: center; padding: 8px 14px; }
  .global-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 22px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }
  .global-nav.open { display: flex; }
  .global-nav a { padding: 12px 0; }
  .nav-cta { margin-top: 8px; }
  .hero { min-height: 680px; }
  .hero::after { background: linear-gradient(180deg, rgba(10, 20, 38, .25), rgba(10, 20, 38, .84)); }
  .intro-grid, .fee-preview, .split, .two-col, .form-layout, .schedule-cards, .gallery-strip, .photo-grid, .principles, .faq-grid {
    grid-template-columns: 1fr;
  }
  .fee-preview { align-items: stretch; }
  .section-head { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .brand { min-width: 0; }
  .brand strong { font-size: 14px; }
  .brand small { font-size: 11px; }
  .hero { min-height: 620px; }
  .hero-copy { padding-bottom: 42px; }
  .hero-actions .button, .cta-section .button { width: 100%; }
  .section { width: min(100% - 28px, 1120px); }
  .schedule-card div, .info-list div, .fee-table div {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .schedule-card dd, .info-list dd { text-align: left; }
  .news-list li, .news-list.large li { grid-template-columns: 1fr; gap: 4px; }
  .contact-form { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; }
}
