:root {
  --bg: #f7f3ec;
  --surface: #ffffff;
  --ink: #191715;
  --muted: #6b6259;
  --line: #ded5c9;
  --primary: #9b2f45;
  --primary-dark: #752235;
  --accent: #c1783a;
  --deep: #273f3a;
  --soft: #efe3d5;
  --shadow: 0 18px 45px rgba(25, 23, 21, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.75;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(18px, 4vw, 58px);
  border-bottom: 1px solid rgba(222, 213, 201, 0.86);
  background: rgba(247, 243, 236, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-family: Georgia, serif;
  font-size: 1.2rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--primary);
}

.nav-cta {
  min-height: 40px;
  padding: 7px 15px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff !important;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero,
.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  min-height: calc(100vh - 74px);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  padding: clamp(46px, 7vw, 86px) clamp(18px, 6vw, 86px);
}

.hero-home {
  background:
    linear-gradient(115deg, rgba(247, 243, 236, 0.98), rgba(247, 243, 236, 0.72)),
    radial-gradient(circle at top right, rgba(193, 120, 58, 0.22), transparent 36%);
}

.training-hero {
  background:
    linear-gradient(115deg, rgba(247, 243, 236, 0.98), rgba(247, 243, 236, 0.78)),
    radial-gradient(circle at top right, rgba(39, 63, 58, 0.18), transparent 40%);
}

.hero-image,
.page-image {
  min-height: min(72vh, 680px);
  border-radius: 8px;
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}

.hero-portrait {
  order: 2;
  background-image:
    linear-gradient(0deg, rgba(25, 23, 21, 0.2), rgba(25, 23, 21, 0)),
    url("https://images.unsplash.com/photo-1521337581100-8ca9a73a5f79?auto=format&fit=crop&w=1200&q=82");
}

.training-image {
  order: 2;
  background-image:
    linear-gradient(0deg, rgba(25, 23, 21, 0.24), rgba(25, 23, 21, 0)),
    url("https://images.unsplash.com/photo-1516280440614-37939bbacd81?auto=format&fit=crop&w=1200&q=82");
}

.profile-image {
  background-image:
    linear-gradient(0deg, rgba(25, 23, 21, 0.24), rgba(25, 23, 21, 0)),
    url("https://images.unsplash.com/photo-1511671782779-c97d3d27a1d4?auto=format&fit=crop&w=1200&q=82");
}

.activity-image {
  background-image:
    linear-gradient(0deg, rgba(25, 23, 21, 0.2), rgba(25, 23, 21, 0)),
    url("https://images.unsplash.com/photo-1590602847861-f357a9332bbc?auto=format&fit=crop&w=1200&q=82");
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.75rem, 7.2vw, 6.9rem);
}

.training-hero h1 {
  font-size: clamp(2.25rem, 5.2vw, 5.6rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 3.1rem);
}

h3 {
  font-size: 1.16rem;
}

p {
  margin: 0;
}

.lead {
  margin-top: 18px;
  color: var(--primary-dark);
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-weight: 900;
}

.hero-copy p:not(.eyebrow):not(.lead),
.page-hero p,
.large-text + p,
.service-panel p,
.card p,
.program-list p,
.profile-layout p,
.activity-block p,
.contact-hero p,
.page-title-only p {
  color: var(--muted);
}

.hero-copy p:not(.eyebrow):not(.lead) {
  max-width: 660px;
  margin-top: 18px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 22px;
  font-weight: 900;
  cursor: pointer;
}

.button.primary {
  background: var(--primary);
  color: #fff;
}

.button.primary:hover {
  background: var(--primary-dark);
}

.button.secondary {
  border-color: rgba(25, 23, 21, 0.18);
  background: rgba(255, 255, 255, 0.72);
}

.button.light {
  background: #fff;
  color: var(--primary);
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 6vw, 86px);
}

.intro-band,
.muted-section {
  background: var(--soft);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(280px, 1fr);
  gap: clamp(26px, 6vw, 70px);
  align-items: start;
}

.split > p,
.large-text {
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.section-heading {
  max-width: 900px;
  margin-bottom: 30px;
}

.service-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: start;
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(25, 23, 21, 0.08);
}

.large-text {
  margin-bottom: 14px;
  color: var(--ink);
  font-weight: 800;
}

.facts {
  display: grid;
  gap: 10px;
  margin: 0;
}

.facts div {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.facts dt {
  color: var(--muted);
  font-weight: 800;
}

.facts dd {
  margin: 0;
  font-weight: 900;
}

.card-grid {
  display: grid;
  gap: 18px;
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.card-label {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
}

.card h3,
.program-list h3 {
  margin-bottom: 10px;
}

.section-action,
.center-action {
  margin-top: 26px;
}

.center-action {
  text-align: center;
}

.text-link {
  color: var(--primary);
  font-weight: 900;
}

.text-link::after {
  content: " ->";
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--deep);
  color: #fff;
}

.cta-section .section-kicker,
.cta-section p {
  color: rgba(255, 255, 255, 0.76);
}

.cta-section h2 {
  max-width: 760px;
}

.cta-section p {
  max-width: 700px;
  margin-top: 12px;
}

.page-hero {
  min-height: 560px;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 5.4rem);
}

.page-hero p {
  max-width: 660px;
  margin-top: 18px;
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.35fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 66px);
}

.profile-card {
  position: sticky;
  top: 100px;
  align-self: start;
  padding: 26px;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(25, 23, 21, 0.08);
}

.profile-card p {
  margin: 12px 0 24px;
}

.prose {
  display: grid;
  gap: 18px;
  font-size: 1.08rem;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline article {
  display: grid;
  grid-template-columns: 92px minmax(0, 0.38fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid rgba(25, 23, 21, 0.14);
}

.timeline span,
.program-list span {
  color: var(--primary);
  font-weight: 900;
}

.timeline p {
  color: var(--muted);
}

.program-list {
  display: grid;
  gap: 14px;
}

.program-list article {
  display: grid;
  grid-template-columns: 72px minmax(0, 0.42fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.program-list.compact article {
  background: var(--surface);
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.flow-list li {
  min-height: 150px;
  padding: 20px;
  border-radius: 8px;
  background: var(--surface);
}

.flow-list span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
}

.flow-list p {
  font-weight: 800;
}

.contact-hero,
.page-title-only {
  padding: clamp(70px, 10vw, 132px) clamp(18px, 6vw, 86px);
  text-align: center;
}

.contact-hero {
  background:
    linear-gradient(rgba(25, 23, 21, 0.46), rgba(25, 23, 21, 0.46)),
    url("https://images.unsplash.com/photo-1527224857830-43a7acc85260?auto=format&fit=crop&w=1600&q=82");
  background-position: center;
  background-size: cover;
  color: #fff;
}

.contact-hero .eyebrow,
.contact-hero p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-hero h1,
.page-title-only h1 {
  font-size: clamp(2.4rem, 6vw, 5.8rem);
}

.contact-hero p,
.page-title-only p {
  max-width: 720px;
  margin: 18px auto 30px;
}

.legal-table {
  max-width: 960px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.legal-table div {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.legal-table dt {
  color: var(--muted);
  font-weight: 900;
}

.legal-table dd {
  margin: 0;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 22px;
  align-items: center;
  padding: 28px clamp(18px, 6vw, 86px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.76);
}

.site-footer strong {
  color: #fff;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  gap: 18px;
  font-weight: 800;
}

.copyright {
  font-size: 0.86rem;
}

@media (max-width: 960px) {
  .site-nav {
    position: absolute;
    top: 74px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .nav-cta {
    text-align: center;
  }

  .nav-toggle {
    display: block;
  }

  .hero,
  .page-hero,
  .split,
  .service-panel,
  .profile-layout {
    grid-template-columns: 1fr;
  }

  .hero-image,
  .page-image {
    order: -1;
    min-height: 380px;
  }

  .card-grid.three,
  .card-grid.two,
  .flow-list {
    grid-template-columns: 1fr;
  }

  .timeline article,
  .program-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .profile-card {
    position: static;
  }

  .cta-section,
  .site-footer {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hero,
  .page-hero {
    min-height: auto;
  }

  .hero-image,
  .page-image {
    min-height: 310px;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .facts div,
  .legal-table div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .card,
  .service-panel,
  .program-list article {
    padding: 20px;
  }
}
