:root {
  --sage: #c3d1c2;
  --deep: #35544d;
  --paper: #f5f3ec;
  --ink: #232b27;
  --ink-soft: #3f4a43;
  --wood: #8b5e3c;
  --line: rgba(35, 43, 39, .22);
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --latin: "Jost", "Helvetica Neue", sans-serif;
  --gutter: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--sage);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 2.1;
  letter-spacing: .06em;
  -webkit-text-size-adjust: 100%;
}
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--wood); outline-offset: 3px; }
img { max-width: 100%; }
figure { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px var(--gutter);
  background: rgba(195, 209, 194, .9);
  backdrop-filter: blur(8px);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--latin); font-weight: 300; font-size: 17px; letter-spacing: .14em; }
.brand img { width: 36px; height: 36px; border-radius: 50%; mix-blend-mode: multiply; }
.gnav { display: flex; gap: clamp(16px, 3vw, 36px); font-family: var(--latin); font-weight: 300; font-size: 14px; letter-spacing: .14em; }
.gnav a { text-decoration: none; padding: 4px 0; border-bottom: 1px solid transparent; }
.gnav a:hover { border-color: var(--ink); }

/* hero */
.hero { padding: 8px var(--gutter) 0; text-align: center; }
.hero-photo { max-width: 1180px; margin-inline: auto; overflow: hidden; }
.hero-photo img {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover;
}
.hero-copy { margin: 56px 0 0; font-weight: 400; }
.hero-copy span { display: block; font-size: clamp(22px, 3.4vw, 34px); letter-spacing: .28em; line-height: 1.6; padding-left: .28em; }
.hero-copy small { display: block; margin-top: 10px; font-family: var(--latin); font-weight: 300; font-size: 13px; letter-spacing: .3em; color: var(--ink-soft); }

/* shared */
.sec-title { margin: 0 0 24px; font-family: var(--latin); font-weight: 300; font-size: 22px; letter-spacing: .3em; padding-left: .3em; text-align: center; line-height: 1.4; }
.sec-title.on-dark { color: var(--paper); }
.note { font-size: 12px; color: var(--ink-soft); line-height: 1.9; margin: 0; }

/* concept: 縦書きの一文(右)→ 横書きの説明(左) */
.concept { padding: 120px var(--gutter) 128px; }
.concept-body {
  display: grid; grid-template-columns: minmax(0, 25em) auto; grid-template-areas: "text lead";
  justify-content: center; align-items: start; column-gap: clamp(40px, 8vw, 104px);
  max-width: 900px; margin: 48px auto 0;
}
.concept-lead {
  grid-area: lead; margin: 0; padding-left: clamp(24px, 4vw, 48px); border-left: 1px solid var(--line);
  writing-mode: vertical-rl; text-orientation: mixed;
  font-size: clamp(24px, 2.9vw, 34px); font-weight: 500; line-height: 2; letter-spacing: .26em; color: var(--deep);
}
.concept-lead span { display: block; }
.concept-text { grid-area: text; text-align: left; }
.concept-text p { margin: 0 0 1.9em; font-size: 16px; line-height: 2.25; }
.concept-text p:last-child { margin-bottom: 0; }
.ph { display: inline-block; }

/* layered: 濃い面を写真の裏に重ねる */
.layered { position: relative; display: grid; grid-template-columns: 7fr 5fr; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); align-items: start; }
.layered .layer-block {
  grid-column: 1 / 3; grid-row: 1;
  background: var(--deep); color: var(--paper);
  padding: 64px 0;
  margin-right: 34%; text-align: center;
  min-height: 340px; display: flex; flex-direction: column; justify-content: center;
  position: relative; z-index: 0;
}
.layered .layer-block p { margin: 0 auto; }
.layered .layer-photo { grid-column: 2; grid-row: 1; margin: 44px 0 -88px -24%; position: relative; z-index: 1; }
.layered .layer-photo img { display: block; width: 100%; height: auto; box-shadow: 0 24px 50px rgba(35, 43, 39, .18); }
.layered.flip { grid-template-columns: 5fr 7fr; }
.layered.flip .layer-block { margin-right: 0; margin-left: 34%; }
.layered.flip .layer-photo { grid-column: 1; margin: 44px -24% -88px 0; }

/* menu */
.menu-body, .space-body { grid-column: 1 / 3; grid-row: 2; }
.menu-body { padding-top: 144px; }
.menu-body > .note { text-align: center; margin-bottom: 40px; }
.menu-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 72px; background: var(--paper); padding: 56px clamp(24px, 5vw, 64px) 40px; }
.mgroup { margin-bottom: 32px; }
.mgroup h3 { margin: 0 0 8px; padding-bottom: 8px; border-bottom: 1px solid var(--ink); font-size: 18px; font-weight: 500; letter-spacing: .22em; }
.mgroup h3 small { margin-left: 14px; font-family: var(--latin); font-weight: 300; font-size: 12px; letter-spacing: .18em; color: var(--ink-soft); }
.mgroup ul { list-style: none; margin: 0; padding: 0; }
.mgroup li { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 10px 0; border-bottom: 1px solid var(--line); line-height: 1.7; }
.mgroup .n { display: block; word-break: auto-phrase; }
.mgroup .n i { display: block; font-style: normal; font-size: 12px; color: var(--ink-soft); letter-spacing: .04em; }
.mgroup .p { font-family: var(--latin); font-weight: 400; font-size: 16px; letter-spacing: .08em; white-space: nowrap; }
.mgroup .sub { margin: 10px 0 0; font-size: 12px; color: var(--ink-soft); line-height: 1.8; }
.menu-cols.tabbed { grid-template-columns: minmax(0, 640px); justify-content: center; }
.menu-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.menu-tabs button { font: inherit; font-size: 15px; letter-spacing: .2em; padding: 10px 22px; background: none; color: var(--ink); border: 1px solid var(--ink); border-radius: 999px; cursor: pointer; transition: background .3s, color .3s; }
.menu-tabs button[aria-selected="true"] { background: var(--deep); color: var(--paper); border-color: var(--deep); }
.menu-tabs button:focus-visible { outline: 2px solid var(--wood); outline-offset: 3px; }
.mgroup[hidden] { display: none; }
.rules { margin: 28px 0 0; padding: 28px clamp(24px, 5vw, 64px); background: var(--deep); color: var(--paper); text-align: center; }
.rules h3 { margin: 0 0 16px; font-size: 16px; font-weight: 500; letter-spacing: .22em; }
.rules ul { list-style: none; margin: 0 auto; padding: 0; max-width: 640px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 32px; text-align: left; font-size: 14px; line-height: 1.7; }
.rules li { padding-left: 1.2em; text-indent: -1.2em; }
.rules li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: .75em; border-radius: 50%; background: #e1c9ae; vertical-align: .1em; text-indent: 0; }
.strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 56px; }
.strip img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }

/* space */
.space { margin-top: 128px; }
.space-body { padding-top: 144px; max-width: 640px; margin-inline: auto; }
.space-body > p { margin: 0 0 40px; text-align: center; }
.facts { margin: 0; border-top: 1px solid var(--ink); }
.facts div { display: grid; grid-template-columns: 8em 1fr; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 13px; color: var(--ink-soft); }
.facts dd { margin: 0; }

/* access */
.access { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; max-width: 1180px; margin: 128px auto 0; padding: 0 var(--gutter) 120px; align-items: start; }
.access-panel { background: var(--deep); color: var(--paper); padding: 56px clamp(24px, 4vw, 56px); }
.access-panel a { color: inherit; }
.access-panel .note { color: #b9c9be; margin-top: 12px; }
.hours { width: 100%; border-collapse: collapse; margin-bottom: 8px; }
.hours th, .hours td { padding: 12px 4px; text-align: left; border-bottom: 1px solid rgba(245, 243, 236, .3); font-weight: 400; }
.hours th { width: 6em; }
.hours td { font-family: var(--latin); font-weight: 300; font-size: 20px; letter-spacing: .12em; }
.hours .closed td { font-family: var(--serif); font-size: 15px; letter-spacing: .1em; color: #e1c9ae; }
.info { margin: 32px 0; }
.info div { display: grid; grid-template-columns: 5.5em 1fr; gap: 8px; padding: 8px 0; line-height: 1.9; }
.info dt { font-size: 13px; color: #b9c9be; }
.info dd { margin: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 22px; border: 1px solid var(--paper); text-decoration: none; font-size: 13px; letter-spacing: .16em; transition: background .2s, color .2s; }
.btn:hover { background: var(--paper); color: var(--deep); }
.find { position: relative; margin-bottom: 16px; }
.find img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.find figcaption { position: absolute; left: 0; bottom: 0; padding: 2px 14px; background: var(--paper); font-size: 12px; }
.access-map iframe { display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; background: var(--paper); }
.access-map a { display: inline-block; margin-top: 10px; font-size: 13px; }

/* motion: 読み込みローダーとスクロールで現れる動き */
#loader-wrapper { display: none; }
.js #loader-wrapper {
  display: block; position: fixed; inset: 0; z-index: 99999;
  background: var(--sage); opacity: 1; pointer-events: none;
  transition: opacity .8s ease;
}
.js.loaded #loader-wrapper { opacity: 0; }
#loader {
  position: absolute; top: calc(50% - 48px); left: calc(50% - 48px);
  width: 96px; height: 96px; border-radius: 50%;
  animation: loader 1.8s ease-in-out infinite;
}
@keyframes loader {
  0%, 100% { transform: scale(.94); opacity: .75; }
  50% { transform: scale(1); opacity: 1; }
}

.js .io { transition: opacity 1s ease 0s, transform 1s ease 0s; will-change: opacity, transform; }
.js .io.delay { transition-delay: .5s; }
.js .io.delay2 { transition-delay: .8s; }
.js .io.fade { opacity: 0; }
.js .io.upS { transform: translate3d(0, 20px, 0); }
.js .io.move { opacity: 1; transform: none; }

.arrow { margin-left: 8px; vertical-align: middle; transition: transform .4s; }
a:hover .arrow { transform: translate3d(3px, 0, 0); }

.ico { width: 18px; height: 18px; flex: none; fill: currentColor; }

/* footer */
.site-footer { text-align: center; padding: 56px var(--gutter) 40px; background: var(--deep); color: #c9d6cc; font-size: 13px; }
.site-footer p { margin: 2px 0; }
.site-footer img { width: 56px; height: 56px; border-radius: 50%; }
.foot-name { font-family: var(--latin); font-weight: 300; font-size: 18px; letter-spacing: .2em; color: var(--paper); }
.foot-sns { display: flex; justify-content: center; gap: 20px; margin-top: 16px !important; }
.foot-sns a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #b9c9be; border-radius: 50%; color: var(--paper); transition: background .2s, color .2s; }
.foot-sns a:hover { background: var(--paper); color: var(--deep); }
.foot-sns .ico { width: 20px; height: 20px; }
.site-footer small { display: block; margin-top: 20px; color: #b9c9be; }

/* responsive */
@media (max-width: 860px) {
  .gnav a:nth-child(2), .gnav a:nth-child(3) { display: none; }
  .hero-photo img { aspect-ratio: 4 / 3; object-position: 62% center; }
  .hero-copy { margin-top: 40px; }
  .concept { padding: 88px var(--gutter) 96px; }
  .concept-body { grid-template-columns: 1fr; grid-template-areas: "lead" "text"; row-gap: 40px; max-width: 25em; }
  .concept-lead { justify-self: center; padding: 0 0 0 28px; }
  .layered, .layered.flip { display: block; padding-inline: 0; }
  .layered .layer-block { margin: 0 var(--gutter) 0 0; padding: 48px var(--gutter) 120px; min-height: 0; }
  .layered.flip .layer-block { margin: 0 0 0 var(--gutter); }
  .layered .layer-photo { width: 62%; margin: -80px 0 0 auto; }
  .layered.flip .layer-photo { margin: -80px auto 0 0; }
  .menu-body, .space-body { padding: 56px var(--gutter) 0; }
  .menu-cols { grid-template-columns: 1fr; padding-top: 40px; }
  .rules ul { grid-template-columns: 1fr; }
  .menu-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .menu-tabs button { padding: 9px 0; font-size: 13px; letter-spacing: .06em; }
  .space { margin-top: 88px; }
  .access { grid-template-columns: 1fr; margin-top: 88px; padding-bottom: 88px; gap: 40px; }
  .facts div { grid-template-columns: 7em 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .js .io, .js .io.fade { opacity: 1; transform: none; transition: none; }
  #loader-wrapper { display: none; }
}
