@import url("https://fonts.googleapis.com/css2?family=Libre+Caslon+Display&family=Noto+Sans+JP:wght@300;400;500&family=Noto+Serif+JP:wght@500&display=swap");

:root {
  --paper: #f4f0e7;
  --paper-deep: #ebe4d8;
  --ink: #28211d;
  --muted: #766d64;
  --accent: #a35e43;
  --line: rgba(40, 33, 29, 0.19);
  --serif: "Libre Caslon Display", "Times New Roman", "Noto Serif JP", serif;
  --jp: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  --container: min(1180px, calc(100% - 96px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--jp); font-size: 15px; font-weight: 300; line-height: 2; letter-spacing: .025em; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
.container { width: var(--container); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 20; border-bottom: 1px solid var(--line); }
.header-inner { height: 102px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font: 1.2rem var(--serif); }
.brand-name { font-family: "Noto Serif JP", serif; font-size: .94rem; font-weight: 500; letter-spacing: .1em; line-height: 1.3; }
.brand-name small { display: block; margin-top: 4px; color: var(--muted); font-family: var(--jp); font-size: .48rem; font-weight: 400; letter-spacing: .22em; }
.global-nav { display: flex; align-items: center; gap: clamp(24px, 3.2vw, 52px); }
.global-nav a { position: relative; padding: 10px 0; font-size: .67rem; font-weight: 500; letter-spacing: .2em; }
.global-nav a::after { content: ""; position: absolute; left: 0; right: .2em; bottom: 5px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .35s ease; }
.global-nav a:hover::after, .global-nav a.active::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; position: relative; width: 44px; height: 44px; padding: 10px 5px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle > span:not(.sr-only) { display: block; width: 30px; height: 1px; margin: 6px 0; background: currentColor; transition: transform .3s, opacity .3s; }
.menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.section-label { margin: 0 0 24px; color: var(--accent); font-size: .61rem; font-weight: 500; letter-spacing: .34em; line-height: 1.4; }
.display-title { margin: 0; font: 400 clamp(3.6rem, 6.6vw, 6.7rem)/.95 var(--serif); letter-spacing: -.035em; }
.section { padding: clamp(120px, 13vw, 190px) 0; }
.lead-ja { margin: 0 0 30px; font-family: "Noto Serif JP", serif; font-size: clamp(1.25rem, 2vw, 1.65rem); font-weight: 500; letter-spacing: .08em; }
.text-link, .arrow-link { display: inline-flex; align-items: center; gap: 28px; padding: 8px 0 5px; border-bottom: 1px solid currentColor; font-size: .64rem; font-weight: 500; letter-spacing: .22em; transition: color .3s ease, gap .3s ease; }
.text-link { margin-top: 24px; color: var(--accent); font-size: .78rem; letter-spacing: .08em; }
.arrow-link span, .text-link span { transition: transform .25s; }
.arrow-link:hover, .text-link:hover { color: var(--accent); gap: 35px; }
.arrow-link:hover span, .text-link:hover span { transform: translateX(5px); }
.arrow-link:focus-visible, .text-link:focus-visible, .global-nav a:focus-visible, .social-links a:focus-visible, .back-to-top:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }

.home-hero { position: relative; min-height: 820px; height: 100vh; max-height: 980px; display: flex; align-items: center; padding-top: 102px; overflow: hidden; background: var(--paper); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; min-height: 600px; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 { margin: 0 0 32px; font: 400 clamp(4.5rem, 8.8vw, 9rem)/.84 var(--serif); letter-spacing: -.055em; }
.hero-copy h1 em { color: var(--accent); font-weight: 400; }
.hero-lead { margin: 0 0 16px; font-family: "Noto Serif JP", serif; font-size: 1.12rem; font-weight: 500; letter-spacing: .1em; }
.hero-text { margin: 0 0 44px; color: var(--muted); font-size: .88rem; }
.hero-composition { position: relative; height: 570px; }
.hero-disc { position: absolute; top: 13%; left: 17%; width: min(27vw, 380px); aspect-ratio: 1; border-radius: 50%; background: var(--accent); opacity: .86; }
.hero-orbit { position: absolute; top: 0; left: 0; width: min(39vw, 540px); aspect-ratio: 1; border: 1px solid var(--line); border-radius: 50%; }
.hero-orbit::after { content: ""; position: absolute; right: 5%; bottom: 7%; width: 11px; height: 11px; border-radius: 50%; background: var(--ink); }
.hero-line { position: absolute; top: 48%; left: -8%; width: 125%; height: 1px; background: var(--ink); transform: rotate(-25deg); }
.hero-composition p { position: absolute; right: 2%; bottom: 8%; margin: 0; font: 2.4rem/1 var(--serif); letter-spacing: -.02em; text-align: right; }
.hero-composition i { color: var(--muted); font-size: .9rem; }
.scroll-cue { position: absolute; left: 34px; bottom: 44px; display: flex; align-items: center; gap: 18px; margin: 0; font-size: .52rem; letter-spacing: .3em; transform: rotate(-90deg); transform-origin: left center; }
.scroll-cue span { width: 60px; height: 1px; background: var(--ink); }

.intro-section { background: #f8f5ee; }
.split-layout { display: grid; grid-template-columns: 1.1fr .72fr; gap: 12%; align-items: center; }
.body-copy { max-width: 460px; }
.body-copy > p:not(.lead-ja) { color: var(--muted); }
.favorites-section { border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 60px; margin-bottom: clamp(70px, 8vw, 110px); }
.section-head > p { margin: 0 0 5px; color: var(--muted); font-size: .85rem; }
.favorites-list { border-top: 1px solid var(--ink); }
.favorite-item { display: grid; grid-template-columns: 70px 1.25fr 1fr 70px; gap: 34px; align-items: center; min-height: 156px; border-bottom: 1px solid var(--line); transition: padding .35s ease, background .35s ease, border-color .35s ease; }
.favorite-item:hover { padding-inline: 18px; background: rgba(163, 94, 67, .045); }
.item-no { color: var(--accent); font: 1.2rem var(--serif); }
.item-en { margin: 0 0 5px; color: var(--muted); font-size: .55rem; font-weight: 500; letter-spacing: .25em; }
.favorite-item h3 { margin: 0; font-family: "Noto Serif JP", serif; font-size: 1.15rem; font-weight: 500; letter-spacing: .07em; }
.favorite-item > p { color: var(--muted); font-size: .82rem; }
.favorite-item strong, .menu-row > span { font: 1.3rem var(--serif); font-weight: 400; text-align: right; }
.favorite-item strong::before, .menu-row > span::before { content: "¥"; margin-right: 3px; font-family: var(--jp); font-size: .58rem; }
.align-right { float: right; margin-top: 45px; }
.visit-section { padding-block: clamp(120px, 14vw, 210px); color: var(--paper); background: var(--ink); }
.visit-inner { display: grid; grid-template-columns: 1fr .6fr; gap: 14%; align-items: end; }
.visit-section .display-title { color: var(--paper); }
.visit-detail dl { margin: 35px 0 45px; border-top: 1px solid rgba(244,240,231,.25); }
.visit-detail dl div { display: grid; grid-template-columns: 110px 1fr; padding: 13px 0; border-bottom: 1px solid rgba(244,240,231,.25); }
.visit-detail dt { color: #b8ada3; font-size: .58rem; letter-spacing: .22em; }
.visit-detail dd { margin: 0; font-family: var(--serif); font-size: 1.05rem; }
.arrow-link.light { color: var(--paper); }

.page-hero { position: relative; min-height: 600px; display: flex; align-items: flex-end; padding: 200px 0 100px; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero::after { content: ""; position: absolute; top: 25%; right: 9%; width: clamp(190px, 24vw, 340px); aspect-ratio: 1; border: 1px solid var(--line); border-radius: 50%; }
.page-title { position: relative; z-index: 1; }
.page-title h1 { margin: 0 0 28px; font: 400 clamp(6rem, 13vw, 12rem)/.78 var(--serif); letter-spacing: -.065em; }
.page-title > p:last-child { margin: 0; font-family: "Noto Serif JP", serif; font-size: 1rem; letter-spacing: .12em; }
.page-number { position: absolute; right: 6%; bottom: -60px; color: rgba(40,33,29,.045); font: 15rem var(--serif); }

.menu-section { background: #f8f5ee; }
.menu-category { display: grid; grid-template-columns: .8fr 1.2fr; gap: 12%; padding: 0 0 130px; margin-bottom: 130px; border-bottom: 1px solid var(--ink); }
.menu-category:last-of-type { margin-bottom: 60px; }
.menu-category header { position: sticky; top: 40px; align-self: start; }
.menu-category h2 { margin: 0 0 12px; font: 400 clamp(3rem, 5vw, 5.2rem)/.95 var(--serif); letter-spacing: -.035em; }
.menu-category header > p:last-child { color: var(--muted); letter-spacing: .1em; }
.menu-items { border-top: 1px solid var(--ink); }
.menu-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; min-height: 105px; padding-inline: 0; border-bottom: 1px solid var(--line); transition: padding .3s ease, background .3s ease; }
.menu-row:hover { padding-inline: 14px; background: rgba(163, 94, 67, .045); }
.menu-row h3 { margin: 0 0 2px; font-family: "Noto Serif JP", serif; font-size: 1rem; font-weight: 500; letter-spacing: .06em; }
.menu-row p { margin: 0; color: var(--muted); font: .8rem var(--serif); letter-spacing: .03em; }
.menu-note { color: var(--muted); font-size: .67rem; letter-spacing: .06em; text-align: right; }

.story-layout { display: grid; grid-template-columns: .7fr 1fr; gap: 13%; align-items: center; }
.story-index { position: relative; min-height: 580px; display: flex; flex-direction: column; justify-content: center; align-items: center; border: 1px solid var(--line); border-radius: 50% 50% 0 0; }
.story-index::after { content: ""; position: absolute; inset: 10%; border: 1px solid var(--accent); border-radius: 50% 50% 0 0; }
.story-index span, .story-index strong { position: relative; z-index: 1; }
.story-index span { font-size: .58rem; letter-spacing: .3em; }
.story-index strong { font: 5.5rem var(--serif); font-weight: 400; }
.story-index i { position: absolute; z-index: 1; bottom: 18%; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.story-copy { max-width: 520px; }.story-copy .display-title { margin-bottom: 50px; }.story-copy > p:not(.section-label,.lead-ja) { color: var(--muted); }
.values-section { background: #f8f5ee; }
.value-list { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--ink); }
.value-list article { min-height: 330px; padding: 40px 38px; border-right: 1px solid var(--line); transition: background .35s ease, transform .35s ease; }
.value-list article:hover { background: rgba(163, 94, 67, .055); transform: translateY(-6px); }
.value-list article:last-child { border-right: 0; }
.value-list article > span { display: block; margin-bottom: 65px; color: var(--accent); font: 1.1rem var(--serif); }
.value-list h3 { margin: 10px 0 24px; font-family: "Noto Serif JP", serif; font-size: 1.25rem; font-weight: 500; letter-spacing: .08em; }
.value-list article > p:last-child { color: var(--muted); font-size: .82rem; }
.quote-section { text-align: center; }
.quote-section span { display: block; height: 45px; color: var(--accent); font: 5rem var(--serif); }
.quote-section blockquote { margin: 20px 0 38px; font: 400 clamp(3rem,6vw,6rem)/1.02 var(--serif); letter-spacing: -.04em; }
.quote-section p { font-family: "Noto Serif JP", serif; letter-spacing: .08em; }.quote-section small { color: var(--muted); }

.access-layout { display: grid; grid-template-columns: 1.05fr .8fr; gap: 12%; align-items: center; }
.abstract-map { position: relative; min-height: 660px; overflow: hidden; border: 1px solid var(--line); background: #eee8dd; }
.abstract-map::before, .abstract-map::after { content: ""; position: absolute; width: 180px; height: 120px; border: 1px solid var(--line); }
.abstract-map::before { top: 15%; left: 18%; }.abstract-map::after { right: 8%; bottom: 12%; }
.road { position: absolute; height: 1px; background: rgba(40,33,29,.42); }
.road-one { top: 32%; left: -10%; width: 125%; transform: rotate(11deg); }.road-two { top: 66%; left: -5%; width: 120%; transform: rotate(-14deg); }.road-three { top: 48%; left: 32%; width: 90%; transform: rotate(76deg); }
.map-river { position: absolute; top: -10%; left: 9%; width: 34px; height: 120%; border-inline: 1px solid var(--accent); transform: rotate(7deg); opacity: .65; }
.station { position: absolute; right: 8%; top: 18%; font: .58rem/1.5 var(--jp); letter-spacing: .18em; }
.map-marker { position: absolute; top: 50%; left: 48%; display: flex; align-items: center; gap: 14px; }
.map-marker i { width: 50px; height: 50px; display: grid; place-items: center; color: var(--paper); background: var(--accent); border-radius: 50%; font: 1.3rem var(--serif); }
.map-marker small { font-size: .55rem; font-weight: 500; line-height: 1.5; letter-spacing: .14em; }
.abstract-map > p { position: absolute; right: 7%; bottom: 5%; font-size: .57rem; letter-spacing: .2em; }
.access-copy .display-title { margin-bottom: 55px; }.access-copy dl { margin: 0 0 42px; border-top: 1px solid var(--ink); }.access-copy dl div { display: grid; grid-template-columns: 100px 1fr; padding: 18px 0; border-bottom: 1px solid var(--line); }.access-copy dt { color: var(--muted); font-size: .58rem; font-weight: 500; letter-spacing: .2em; }.access-copy dd { margin: 0; font-size: .82rem; }.access-copy dd small { color: var(--muted); }.access-copy dd a { border-bottom: 1px solid var(--ink); }
.direction-section { background: #f8f5ee; }.direction-grid { display: grid; grid-template-columns: 1fr .8fr .65fr; gap: 9%; }.direction-grid h2 { margin: 0; font: 400 clamp(3rem,5vw,5rem)/1 var(--serif); letter-spacing: -.035em; }.direction-grid > div:not(:first-child) { color: var(--muted); }.direction-grid .lead-ja { color: var(--ink); }

.site-footer { padding: 100px 0 32px; color: var(--paper); background: #28211d; }
.footer-top { display: grid; grid-template-columns: 1fr auto auto; gap: 11%; padding-bottom: 80px; }
.footer-brand { font-family: "Noto Serif JP", serif; font-size: 1.3rem; font-weight: 500; letter-spacing: .1em; }
.footer-top p { margin: 12px 0 0; color: #b8ada3; font-size: .72rem; }
.footer-label { margin-top: 0 !important; color: var(--accent) !important; font-size: .55rem !important; font-weight: 500; letter-spacing: .24em; }
.social-links { display: flex; gap: 24px; margin-top: 12px; }.social-links a { font: 1rem var(--serif); border-bottom: 1px solid rgba(244,240,231,.5); transition: color .25s ease, border-color .25s ease; }.social-links a:hover { color: var(--accent); border-color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 28px; border-top: 1px solid rgba(244,240,231,.16); color: #8e837a; font-size: .52rem; letter-spacing: .2em; }
.footer-bottom p { margin: 0; }

/* Content is visible by default. JavaScript adds .motion-ready only when animation is available. */
.reveal { opacity: 1; transform: none; }
.motion-ready .reveal { opacity: 0; transform: translateY(28px); transition: opacity .85s cubic-bezier(.22,.61,.36,1), transform .85s cubic-bezier(.22,.61,.36,1); }
.motion-ready .reveal.is-visible { opacity: 1; transform: none; }
.back-to-top { position: fixed; right: 28px; bottom: 28px; z-index: 15; width: 52px; height: 52px; display: grid; place-items: center; padding: 0; color: var(--paper); background: var(--ink); border: 1px solid rgba(244,240,231,.32); border-radius: 50%; box-shadow: 0 10px 28px rgba(40,33,29,.18); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .3s ease, visibility .3s ease, transform .3s ease, color .25s ease, background .25s ease; }
.back-to-top::before { content: ""; width: 9px; height: 9px; border-top: 1px solid currentColor; border-left: 1px solid currentColor; transform: translateY(3px) rotate(45deg); }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { color: var(--paper); background: var(--accent); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .motion-ready .reveal { opacity: 1; transform: none; transition: none; } * { scroll-behavior: auto !important; } }

@media (max-width: 900px) {
  :root { --container: min(100% - 48px, 720px); }
  .header-inner { height: 84px; }.site-header { position: absolute; }.menu-toggle { display: block; z-index: 2; }
  .global-nav { position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: 28px; padding: 100px 24px; background: var(--paper); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .global-nav.open { opacity: 1; visibility: visible; }.global-nav a { font: 3rem var(--serif); letter-spacing: -.03em; }.global-nav a::after { bottom: 0; }
  .home-hero { min-height: 780px; height: auto; padding: 150px 0 100px; }.hero-grid { grid-template-columns: 1fr; }.hero-copy h1 { font-size: clamp(4.2rem,14vw,7rem); }.hero-composition { position: absolute; right: -20%; top: 150px; width: 55%; height: 380px; opacity: .38; }.hero-disc { width: 250px; }.hero-orbit { width: 340px; }.hero-composition p { display: none; }.scroll-cue { display: none; }
  .section { padding: 110px 0; }.split-layout,.story-layout,.access-layout { grid-template-columns: 1fr; gap: 70px; }.body-copy { margin-left: auto; }.display-title { font-size: clamp(3.7rem,11vw,6rem); }
  .section-head { grid-template-columns: 1fr; margin-bottom: 65px; }.section-head > p { justify-self: end; }.favorite-item { grid-template-columns: 45px 1fr 70px; gap: 20px; }.favorite-item > p { display: none; }
  .visit-inner { grid-template-columns: 1fr; gap: 70px; }.visit-detail { max-width: 420px; margin-left: auto; width: 100%; }
  .page-hero { min-height: 520px; padding-bottom: 80px; }.page-title h1 { font-size: clamp(5.5rem,20vw,9rem); }.page-number { font-size: 11rem; }
  .menu-category { grid-template-columns: 1fr; gap: 55px; padding-bottom: 90px; margin-bottom: 90px; }.menu-category header { position: static; }.menu-category h2 { font-size: 4rem; }
  .story-index { min-height: 520px; width: min(100%,500px); }.story-copy { margin-left: auto; }.value-list { grid-template-columns: 1fr; }.value-list article { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }.value-list article > span { margin-bottom: 38px; }
  .abstract-map { min-height: 520px; }.access-copy { max-width: 520px; margin-left: auto; width: 100%; }.direction-grid { grid-template-columns: 1fr 1fr; }.direction-grid > div:first-child { grid-column: 1/-1; }
  .footer-top { grid-template-columns: 1fr 1fr; }.footer-top > div:first-child { grid-column: 1/-1; margin-bottom: 35px; }
}

@media (max-width: 560px) {
  :root { --container: calc(100% - 36px); }
  body { font-size: 14px; }.brand-name { font-size: .84rem; }.brand-mark { width: 34px; height: 34px; }
  .home-hero { padding-top: 130px; }.hero-copy h1 { font-size: clamp(3.7rem,18vw,5rem); }.hero-text br { display: none; }.hero-composition { display: none; }
  .section { padding: 88px 0; }.display-title { font-size: 3.4rem; }.section-head > p { justify-self: start; }
  .favorite-item { grid-template-columns: 32px 1fr 58px; min-height: 130px; gap: 12px; }.favorite-item h3 { font-size: .98rem; }.item-en { font-size: .48rem; }.favorite-item strong { font-size: 1rem; }.align-right { float: none; }
  .page-hero { min-height: 450px; padding-top: 160px; }.page-title h1 { font-size: clamp(4.6rem,22vw,6.5rem); }.page-hero::after { right: -17%; }.page-number { display: none; }
  .menu-category { gap: 40px; padding-bottom: 70px; margin-bottom: 75px; }.menu-category h2 { font-size: 3.2rem; }.menu-row { min-height: 95px; }.menu-row h3 { font-size: .9rem; }.menu-row p { font-size: .69rem; }.menu-row > span { font-size: 1.05rem; }
  .story-index { min-height: 400px; }.story-index strong { font-size: 4.3rem; }.quote-section blockquote { font-size: 2.8rem; }
  .direction-grid { grid-template-columns: 1fr; gap: 55px; }.direction-grid > div:first-child { grid-column: auto; }.direction-grid h2 { font-size: 3.3rem; }
  .abstract-map { min-height: 420px; }.access-copy dl div { grid-template-columns: 82px 1fr; }.map-marker { left: 38%; }
  .footer-top { grid-template-columns: 1fr; gap: 45px; padding-bottom: 60px; }.footer-top > div:first-child { grid-column: auto; margin: 0; }.footer-bottom { gap: 20px; flex-direction: column; }
  .back-to-top { right: 18px; bottom: 18px; width: 46px; height: 46px; }
}
