:root {
  --black: #0d0d0d;
  --deep: #15120f;
  --cream: #f5f1ea;
  --cream-dark: #e6ded1;
  --gold: #b89b5e;
  --gold-light: #d5c08a;
  --text: #2a2620;
  --muted: #7b7367;
  --line: rgba(184, 155, 94, 0.28);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.9;
  letter-spacing: 0.04em;
  padding-bottom: 54px;
  transition: padding-bottom .3s ease;
}

body.call-hidden {
  padding-bottom: 0;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

figure {
  margin: 20px 10px;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  color: #fff;
  background: linear-gradient(to bottom, rgba(0,0,0,.72), rgba(0,0,0,0));
  transition: background .3s ease;
}
.site-header img {
  width: 150px;
}

.site-header.scrolled {
  background: rgba(0,0,0,.9) !important;
}

.logo {
  font-family: "Zen Old Mincho", serif;
  font-size: 24px;
  letter-spacing: 0.18em;
  color: #fff;
}

.logo img {
  filter: invert(1) brightness(1.1);
}

.logo:hover {
  opacity: 0.8;
}

.nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
}

.nav a,
.header-reserve {
  transition: color .25s ease, border-color .25s ease;
}

.nav a:hover,
.header-reserve:hover {
  color: var(--gold-light);
}

.header-reserve {
  border: 1px solid rgba(255,255,255,.55);
  padding: 8px 18px;
  font-size: 14px;
}

.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  color: var(--text);
  overflow: hidden;
  background: var(--cream);
  animation: fadeUp 1.8s ease-out both;
  animation-delay: .2s;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(245,241,234,.96) 50%, rgba(245,241,234,0) 80%),
    url('images/course-03.jpg') center / cover no-repeat;
}

.hero-content {
  position: relative;
  width: min(var(--max), calc(100% - 40px));
  padding-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-philosophy {
  margin: 0 0 24px;
  font-family: "Zen Old Mincho", serif;
  font-size: clamp(20px, 2.8vw, 32px);
  color: var(--text);
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1.6;
  animation: fadeUp 1.6s ease-out both;
}

.hero-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  height: auto;
  margin: 100px auto 24px;
}

.hero-logo img {
  width: auto;
  height: 260px;
  object-fit: contain;
  /* filter: invert(1) brightness(1.1); */
}

.hero-description {
  max-width: 550px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  animation: fadeUp 2s ease-out both;
  animation-delay: .4s;
}

.hero-copy {
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px);
  transition: opacity .75s ease, transform .75s ease, visibility .75s ease;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  animation: fadeUp 2s ease-out both;
  animation-delay: .5s;
}

.hero.is-ready .hero-copy {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.eyebrow,
.section-label {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.22em;
  font-weight: 600;
}

.hero h1,
.section h2,
.reserve h2 {
  margin: 0;
  font-family: "Zen Old Mincho", serif;
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1.55;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 72px);
  animation: fadeUp .95s ease-out both;
  animation-delay: .1s;
}

.hero-text {
  margin: 28px 0 36px;
  color: var(--muted);
  font-size: 16px;
  animation: fadeUp 1s ease-out both;
  animation-delay: .2s;
}

.reserve-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  animation: fadeUp 2.2s ease-out both;
  animation-delay: .6s;
  margin-bottom: 100px;
}

.eyebrow {
  animation: fadeUp .9s ease-out both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 156px;
  padding: 12px 24px;
  border: 1px solid var(--gold);
  font-size: 14px;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

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

.btn.ghost {
  color: var(--text);
  background: rgba(255,255,255,.6);
  border-color: rgba(0,0,0,.18);
}

.btn.ghost.light {
  color: #fff;
  border-color: rgba(255,255,255,.48);
}

.scroll-sign {
  position: absolute;
  right: 38px;
  bottom: 34px;
  color: rgba(42, 38, 32, .42);
  font-size: 11px;
  letter-spacing: .2em;
  writing-mode: vertical-rl;
  animation: fadeUp 2.4s ease-out both;
  animation-delay: .8s;
}

.section {
  padding: 120px 0;
}

.section-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.section-inner.narrow {
  width: min(680px, calc(100% - 40px));
}

.two-column,
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.reverse .image-card {
  order: 1;
}

.reverse .text-block {
  order: 2;
}

.section h2 {
  margin-bottom: 28px;
  font-size: clamp(28px, 4vw, 46px);
}

.text-block p {
  margin: 0 0 18px;
}

.image-card {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #ddd;
}

.image-card::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255,255,255,.34);
  pointer-events: none;
}

.image-card.tall {
  aspect-ratio: 3 / 4;
}

.course-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  width: min(320px, 100%);
  margin: 40px auto 0;
}

.course-gallery figure {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #ddd;
}

.commitment {
  background: var(--deep);
  color: #fff;
}

.center,
.center-title {
  text-align: center;
}

.center-title {
  margin-bottom: 48px !important;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  padding: 38px 30px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.025);
}

.card-number {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: .2em;
}

.card h3 {
  margin: 16px 0 12px;
  font-size: 22px;
  font-weight: 500;
}

.card p {
  margin: 0;
  color: rgba(255,255,255,.74);
  font-size: 14px;
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 42px;
}

.price {
  margin: 0 0 12px;
  font-size: clamp(24px, 4vw, 36px);
  color: var(--gold);
  white-space: nowrap;
}

.price span {
  margin-left: 8px;
  font-size: 14px;
  color: var(--muted);
}

.course-photo {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin: 0;
}

.course-photo::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255,255,255,.34);
  pointer-events: none;
}

.course-text {
  width: min(760px, 100%);
  margin: 0 auto;
  text-align: center;
}

.space {
  background: #ebe3d6;
}

.space-list,
.info-list {
  margin: 34px 0 0;
}

.space-list div,
.info-list div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 22px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(42,38,32,.18);
}

dt {
  color: var(--gold);
  font-weight: 600;
}

dd {
  margin: 0;
}

.access {
  background: var(--cream);
}

.map-wrap {
  height: 420px;
  min-height: 420px;
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.map-placeholder {
  display: grid;
  place-items: center;
  height: 420px;
  border: 1px solid rgba(42,38,32,.18);
  background: #ded6ca;
  color: var(--muted);
}

.reserve {
  padding: 110px 20px;
  text-align: center;
  color: #fff;
  background: rgba(0,0,0,.82);
}

.reserve-inner {
  max-width: 780px;
  margin: 0 auto;
}

.reserve p {
  color: rgba(255,255,255,.82);
}

.reserve-actions {
  justify-content: center;
  margin-top: 32px;
}

.footer {
  padding: 38px 20px;
  text-align: center;
  color: rgba(255,255,255,.7);
  background: #070707;
}

.sticky-call {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: var(--gold);
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-align: center;
  box-shadow: 0 -6px 18px rgba(0,0,0,.16);
  transition: background .25s ease, opacity .3s ease, visibility .3s ease;
}

.sticky-call.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.sticky-call:hover {
  background: var(--gold-light);
}

.footer p {
  margin: 0 0 6px;
  color: #fff;
  font-family: "Zen Old Mincho", serif;
  letter-spacing: .18em;
}

.footer small {
  font-size: 11px;
}

.commitment-header {
  text-align: center;
  margin-bottom: 48px;
}

.commitment-header h2 {
  margin-bottom: 20px;
}

.commitment-intro {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 15px;
}

@media (max-width: 860px) {
  .course-gallery {
    width: min(280px, 100%);
    gap: 10px;
  }

  .hero-logo {
    margin: 75px auto 24px;
  }

  .hero-bg {
    background:
    linear-gradient(180deg, rgba(245,241,234,.96) 40%, rgba(245,241,234,0) 70%),
    url('images/course-03.jpg') center / cover no-repeat;
    background-position: 84% center;
  }

  .site-header {
    height: 64px;
    padding: 0 20px;
  }

  .nav {
    display: none;
  }

  .logo {
    font-size: 20px;
  }

  .header-reserve {
    padding: 7px 14px;
    font-size: 13px;
  }

  .hero-content {
    padding-top: 0;
  }

  .hero-text {
    font-size: 14px;
  }

  .pc-only {
    display: none;
  }

  .section {
    padding: 82px 0;
  }

  .two-column,
  .access-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .reverse .image-card,
  .reverse .text-block {
    order: initial;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .section-heading-row {
    display: block;
  }

  .price {
    margin-top: 8px;
  }

  .course-photo {
    aspect-ratio: 4 / 3;
  }

  .course-text {
    text-align: left;
  }

  .space-list div,
  .info-list div {
    grid-template-columns: 76px 1fr;
    gap: 16px;
  }

  .map-wrap,
  .map-placeholder {
    min-height: 300px;
    height: 300px;
  }

  .reserve {
    padding: 82px 20px;
  }

  .reserve-actions .btn {
    width: 100%;
  }
}

@media (min-width: 861px) {
  body {
    padding-bottom: 0;
  }

  .sticky-call {
    left: auto;
    right: 32px;
    bottom: 32px;
    width: auto;
    padding: 14px 30px;
    box-shadow: 0 10px 28px rgba(0,0,0,.2);
  }
}
