:root {
  --bg-1: #f7f3ec;
  --bg-2: #efe8dd;
  --bg-3: #e6ded0;
  --text-1: #1f1d1a;
  --text-2: #4b463f;
  --text-3: #7a7268;
  --hairline: #d8d0c4;
  --dark-1: #161513;
  --dark-2: #24211d;
  --container: min(1160px, 92vw);
  --ease-luxury: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-1);
  color: var(--text-1);
  font-family: "Inter", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
}

body { line-height: 1.9; overflow-x: hidden; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }

html.is-loading,
html.is-loading body {
  overflow: hidden;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.5s linear;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader__logo {
  width: min(220px, 48vw);
  height: auto;
  display: block;
}

.grain-overlay {
  position: fixed; inset: 0; pointer-events: none; z-index: 999;
  opacity: 0.06; mix-blend-mode: soft-light;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(0,0,0,.08), transparent 46%),
    radial-gradient(circle at 70% 65%, rgba(255,255,255,.08), transparent 42%);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--hairline);
  transition: background 0.35s var(--ease-luxury);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
}

.site-header__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.25rem 4vw;
  position: relative;
  z-index: 101;
}

.brand {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
  line-height: 0;
}

.brand__logo {
  display: block;
  height: 42px;
  width: auto;
  max-width: min(200px, 52vw);
  object-fit: contain;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.7));
}

.nav-toggle {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  -webkit-tap-highlight-color: transparent;
  border: 1px solid rgba(31, 29, 26, 0.22);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(20, 18, 16, 0.08);
}

.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 24px;
}

.nav-toggle__bar {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.35s var(--ease-luxury), opacity 0.25s ease;
  transform-origin: center;
}

html.is-nav-open .nav-toggle__bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
html.is-nav-open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
html.is-nav-open .nav-toggle__bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-backdrop {
  display: none;
}

.site-nav-panel {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  margin: 0;
  padding: 4.9rem clamp(1rem, 5vw, 3rem) 1.6rem;
  background: rgba(255, 255, 255, 0.9);
  z-index: 99;
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
  align-content: flex-start;
  gap: clamp(0.75rem, 3.5vw, 2.25rem);
  row-gap: 1.5rem;
  overflow-x: auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-luxury), visibility 0.4s;
}

html.is-nav-open .site-nav-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-nav-panel__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  color: #1a1917;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  padding: 0.2rem;
  transition: opacity 0.3s var(--ease-luxury);
}

.site-nav-panel__label {
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 0.14em;
  font-size: clamp(0.86rem, 2.1vw, 1.18rem);
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
}

.site-nav-panel__link:hover,
.site-nav-panel__link[aria-current="page"] {
  opacity: 0.55;
}

html.is-nav-open,
html.is-nav-open body {
  overflow: hidden;
}

.access-map {
  margin: 0;
  padding: 0;
  border: 1px solid var(--hairline);
  background: #fff;
  overflow: hidden;
}

.access-map__caption {
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
  color: var(--text-2);
  border-bottom: 1px solid var(--hairline);
  margin: 0;
}

.access-map img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.access-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
}

.access-layout .info-block {
  margin-top: 0;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 68vh; padding: 26vh 4vw 12vh; color: #f0e7da;
  background: linear-gradient(150deg, var(--dark-1), var(--dark-2));
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: saturate(0.92) contrast(0.96);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(20, 18, 16, 0.78), rgba(20, 18, 16, 0.28));
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; width: var(--container); margin: 0 auto; }
.hero-kicker { margin: 0 0 .9rem; letter-spacing: .2em; text-transform: uppercase; font-size: .7rem; color: #cfc5b8; }
.hero-title { margin: 0; font-family: "Noto Serif JP","Yu Mincho",serif; font-size: clamp(1.65rem, 3.8vw, 3.35rem); font-weight: 500; line-height: 1.12; letter-spacing: .015em; }
.hero-lead { margin-top: 1.4rem; max-width: 46ch; color: #e0d8cc; line-height: 1.95; }

.main { width: var(--container); margin: 0 auto; padding: 12vh 0; }
.section-title { margin: 0 0 1.3rem; font-family: "Cormorant Garamond","Noto Serif JP",serif; font-size: clamp(1.55rem, 2.8vw, 2.85rem); font-weight: 500; letter-spacing: .01em; line-height: 1.15; }
.lead { color: var(--text-2); margin: 0 0 1.15rem; line-height: 1.95; }
.info-block { border-top: 1px solid var(--hairline); margin-top: 1.9rem; padding-top: 1.45rem; }
.info-row { display: grid; grid-template-columns: 170px 1fr; gap: 1rem; margin-bottom: .65rem; }
.label { color: var(--text-3); }

.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.2rem; }
.gallery-card {
  border: 1px solid var(--hairline);
  background: linear-gradient(165deg, rgba(247,243,236,.7), rgba(230,222,208,.4));
  min-height: 0;
  padding: 0;
  overflow: hidden;
}
.gallery-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(0.96);
}
.gallery-card p { margin: 0; padding: 1rem; font-size: 0.95rem; color: var(--text-2); }

.page-photo {
  width: 100%;
  max-height: min(52vh, 480px);
  object-fit: cover;
  border: 1px solid var(--hairline);
  margin: 0 0 1.75rem;
  display: block;
  filter: saturate(0.92) contrast(0.96);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.35rem;
}

.product-card {
  border: 1px solid var(--hairline);
  background: rgba(247, 243, 236, 0.65);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(0.96);
}

.product-card__body {
  padding: 1rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.35rem;
}

.product-card__title {
  margin: 0;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: 1.05rem;
  font-weight: 500;
}

.product-card__meta {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-3);
}

.product-card__price {
  margin: 0.25rem 0 0;
  font-size: 1.05rem;
  font-weight: 500;
}

.product-card__tax {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-3);
}

.product-card__btn {
  margin-top: auto;
  padding: 0.55rem 1rem;
  border: 1px solid var(--hairline);
  background: var(--bg-1);
  color: var(--text-2);
  font-family: inherit;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  cursor: not-allowed;
  opacity: 0.7;
}

.course-calendar .calendar-embed {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin-top: 0.5rem;
  border: 1px solid var(--hairline);
  background: #fff;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(22, 21, 19, 0.06);
}

.course-calendar .calendar-embed iframe {
  display: block;
  width: 100%;
  height: min(72vh, 640px);
  border: 0;
}

@media (max-width: 680px) {
  .course-calendar .calendar-embed iframe {
    height: 480px;
  }
}

.site-footer {
  border-top: 1px solid var(--hairline); padding: 2.3rem 4vw; background: linear-gradient(180deg, var(--bg-2), var(--bg-3));
}
.site-footer-inner { width: var(--container); margin: 0 auto; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.site-footer-nav { display: flex; gap: 1rem; flex-wrap: wrap; color: var(--text-2); }
small { color: var(--text-3); }

.site-footer-inner--info {
  display: grid;
  gap: 0.35rem;
}

.footer-info-item {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.5;
  letter-spacing: 0.03em;
  color: var(--text-2);
}

.reveal-up { opacity: 0; transform: translateY(24px); }

@media (max-width: 900px) {
  .main { padding: 9vh 0; }
}
@media (max-width: 680px) {
  .site-header__bar { padding: 0.95rem 4vw; }
  .brand__logo { height: 26px; max-width: 40vw; }
  .footer-info-item { font-size: 0.68rem; }
  .hero { min-height: 62vh; padding-top: 22vh; }
  .info-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .access-layout { grid-template-columns: 1fr; }
}
