:root {
  --ink: #212529;
  --ink-soft: #6c757d;
  --line: #ced4da;
  --line-soft: #e9ecef;
  --paper: #ffffff;
  --serif: "Times New Roman", YuMincho, "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 2;
  letter-spacing: .04em;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1.5em; }
figure { margin: 0; }
h1, h2, h3, h4, h5 { font-weight: 500; line-height: 1.6; margin: 0; }

.wrap { width: 100%; max-width: 960px; margin: 0 auto; padding: 0 24px; }
.wrap-md { max-width: 720px; margin: 0 auto; }
.wrap-sm { max-width: 540px; margin: 0 auto; }
.center { text-align: center; }
.small { font-size: .85em; }
.muted { color: var(--ink-soft); }

.site-logo { padding: 16px 0 16px; }
.site-logo img { width: 120px; }

.menu-toggle {
  position: fixed; top: 0; right: 0; z-index: 30;
  width: 80px; height: 80px; padding: 0;
  background: transparent; border: 0; cursor: pointer;
}
.menu-toggle span {
  position: absolute; left: 22px; width: 36px; height: 1px; background: var(--ink);
  transition: transform .3s ease, opacity .3s ease;
}
.menu-toggle span:nth-child(1) { top: 30px; }
.menu-toggle span:nth-child(2) { top: 40px; }
.menu-toggle span:nth-child(3) { top: 50px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

.lang {
  position: fixed; top: 64px; right: 0; z-index: 30;
  width: 80px; text-align: center; font-size: 11px; line-height: 1;
}
.lang a { text-decoration: none; }
.lang a[aria-current] { font-weight: 700; }

.menu {
  position: fixed; inset: 0; z-index: 20;
  background: rgba(255, 255, 255, .97);
  overflow-y: auto;
  opacity: 0; visibility: hidden;
  transition: opacity .4s ease, visibility .4s ease;
}
.menu-open .menu { opacity: 1; visibility: visible; }
.menu-open { overflow: hidden; }
.menu .inner { max-width: 960px; margin: 0 auto; padding: 24px 24px 64px; }
.menu .site-logo { text-align: center; padding-bottom: 32px; }
.menu .site-logo img { margin: 0 auto; }

.nav-grid {
  list-style: none; margin: 0 auto 40px; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 16px;
}
.nav-grid a { display: block; padding: 12px 4px; text-decoration: none; line-height: 1.5; }
.nav-grid a:hover { opacity: .6; }
.nav-grid small { display: block; font-size: 10px; letter-spacing: .15em; color: var(--ink-soft); }

.book {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  max-width: 540px; margin: 0 auto 32px;
}
.btn {
  display: block; padding: 12px 8px; text-align: center; text-decoration: none;
  border: 1px solid var(--ink); background: var(--ink); color: #fff;
  font-size: 13px; line-height: 1.6;
  transition: opacity .2s ease;
}
.btn:hover { opacity: .75; }
.btn small { display: block; font-size: 10px; letter-spacing: .12em; }
.btn-outline { background: #fff; color: var(--ink); }
.btn-inline { display: inline-block; padding: 10px 40px; }
.btn-sm { display: inline-block; padding: 4px 16px; font-size: 12px; }

.buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 540px; margin: 48px auto 0; }
.buttons .wide { grid-column: 1 / -1; }

.address { max-width: 540px; margin: 0 auto; text-align: center; font-size: 12px; line-height: 2; opacity: .55; }

.site-footer { padding: 48px 0 64px; }
.site-footer .site-logo { text-align: center; padding: 48px 0; }
.site-footer .site-logo img { margin: 0 auto; }

.vr { display: flex; justify-content: center; }
.vr::before { content: ""; width: 1px; height: 80px; background: var(--ink); opacity: .25; }
.vr.short::before { height: 48px; }

.slider { position: relative; overflow: hidden; background: var(--line-soft); }
.slider .slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1.2s ease;
}
.slider .slide.is-active { opacity: 1; }
.slider .slide img { width: 100%; height: 100%; object-fit: cover; }
.slider .frame { aspect-ratio: 16 / 9; }
.slider .tall { display: none; }
.slider button {
  position: absolute; top: 0; bottom: 0; z-index: 2; width: 15%;
  background: transparent; border: 0; cursor: pointer; opacity: .6;
}
.slider button:hover { opacity: 1; }
.slider button::before {
  content: ""; display: inline-block; width: 14px; height: 14px;
  border-left: 1px solid #fff; border-bottom: 1px solid #fff;
}
.slider .prev { left: 0; }
.slider .prev::before { transform: rotate(45deg); }
.slider .next { right: 0; }
.slider .next::before { transform: rotate(-135deg); }

.poem { text-align: center; padding: 40px 0 0; }
.poem p { margin-bottom: 2em; }

.news-list { max-width: 720px; margin: 0 auto; text-align: left; }
.news-list article {
  display: grid; grid-template-columns: 9em 1fr; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid var(--line-soft); line-height: 1.7;
}
.news-list time { color: var(--ink-soft); font-size: 13px; }
.news-list a { text-decoration: none; }
.news-list a:hover { text-decoration: underline; }

.photo-band { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 48px; }
.photo-band img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

.section-title { text-align: center; padding: 24px 0; font-size: 1.2rem; }

.blog { display: grid; grid-template-columns: 160px 1fr; max-width: 960px; margin: 0 auto; }
.blog .side { border-right: 1px solid var(--line); }
.blog .side span {
  position: sticky; top: 120px; display: block; margin: 0 auto; padding: 16px 0;
  writing-mode: vertical-rl; font-size: 12px; letter-spacing: .3em;
}
.blog .posts { padding: 48px 24px 0 40px; }
.post { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 32px; padding-bottom: 56px; }
.post h3 { grid-column: 1 / -1; font-size: 1.1rem; line-height: 2; }
.post img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.post .excerpt { font-size: 14px; }
.post time { display: block; color: var(--ink-soft); font-size: 13px; padding: 4px 0 12px; }

.pager { display: flex; justify-content: center; gap: 4px; padding: 16px 0 48px; font-size: 13px; }
.pager a, .pager span { display: inline-block; min-width: 36px; padding: 4px 10px; border: 1px solid var(--line); text-align: center; text-decoration: none; }
.pager .current { background: var(--ink); border-color: var(--ink); color: #fff; }

.page { display: grid; grid-template-columns: 160px 1fr; max-width: 960px; margin: 0 auto; }
.page .side { border-right: 1px solid var(--line); }
.page .side span {
  position: sticky; top: 100px; display: block; margin: 0 auto; padding: 16px 0;
  writing-mode: vertical-rl; font-size: 12px; letter-spacing: .3em;
}
.page .body { padding: 0 24px 80px 40px; min-width: 0; }
.page-title { display: flex; justify-content: center; padding: 24px 0 32px; }
.page-title h1 { writing-mode: vertical-rl; font-size: 1.2rem; letter-spacing: .5em; }

.body h2 {
  font-size: 1.3rem; margin: 64px 0 24px; padding: 16px 0 16px 24px;
  border-left: 1px solid var(--line);
}
.body h3 { font-size: 1.15rem; margin: 48px 0 20px; text-align: center; }
.body h4 { font-size: 1.05rem; margin: 40px 0 16px; }
.body h5 { font-size: 1rem; margin: 32px 0 12px; }
.body ul { padding-left: 1.4em; margin: 0 0 1.5em; }
.body li { margin-bottom: .6em; }
.body figure { margin: 0 0 24px; }
.body figcaption { font-size: 12px; color: var(--ink-soft); padding-top: 6px; text-align: center; }
.body .en { color: var(--ink-soft); font-size: 14px; }
.body .lead { text-align: center; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0 0 32px; }
.grid-2 img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.grid-2.natural img { aspect-ratio: auto; }

.table { width: 100%; border-collapse: collapse; margin: 0 0 16px; font-size: 14px; table-layout: fixed; }
.table td, .table th { border: 1px solid var(--line); padding: 12px; vertical-align: middle; line-height: 1.7; font-weight: 400; }
.table th { background: #f8f9fa; text-align: left; width: 30%; }
.table-scroll { overflow-x: auto; margin-bottom: 16px; }
.table-scroll .table { min-width: 560px; }

.seasons { text-align: center; }
.seasons h3 { font-size: 1.6rem; margin: 24px 0 16px; }
.seasons ul { list-style: none; padding: 0; margin: 0 0 16px; line-height: 2; }

.awards { list-style: none; padding: 0 !important; }
.awards li { display: grid; grid-template-columns: 5em 1fr; gap: 8px; }

.faq dt { font-weight: 700; margin: 32px 0 8px; padding-left: 1.8em; text-indent: -1.8em; }
.faq dt::before { content: "Q. "; }
.faq dd { margin: 0; padding-left: 1.8em; }

.notice { border: 1px solid var(--line); padding: 20px 24px; margin: 24px 0; font-size: 14px; }
.notice p:last-child { margin-bottom: 0; }

.embed { position: relative; width: 100%; aspect-ratio: 16 / 9; margin: 0 0 24px; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed.map { aspect-ratio: 4 / 3; }
.embed.calendar { aspect-ratio: 4 / 3; }

.cta { text-align: center; margin: 32px 0; }

.fade { opacity: 0; filter: blur(8px); transition: opacity 1.2s ease, filter 1.2s ease; }
.fade.is-in { opacity: 1; filter: blur(0); }

@media (prefers-reduced-motion: reduce) {
  .fade { opacity: 1; filter: none; transition: none; }
  .slider .slide { transition: none; }
}

@media (max-width: 767px) {
  body { font-size: 14px; }
  .wrap { padding: 0 16px; }
  .site-logo img { width: 100px; }
  .menu-toggle { width: 64px; height: 64px; background: rgba(255, 255, 255, .85); }
  .menu-toggle span { left: 16px; width: 32px; }
  .menu-toggle span:nth-child(1) { top: 22px; }
  .menu-toggle span:nth-child(2) { top: 32px; }
  .menu-toggle span:nth-child(3) { top: 42px; }
  .lang { top: 64px; width: 64px; padding: 4px 0 6px; background: rgba(255, 255, 255, .85); }
  .slider .frame { aspect-ratio: 4 / 5; }
  .slider .wide { display: none; }
  .slider .tall { display: block; }
  .nav-grid { grid-template-columns: 1fr 1fr; }
  .photo-band { grid-template-columns: repeat(2, 1fr); }
  .news-list article { grid-template-columns: 1fr; gap: 0; }
  .page, .blog { grid-template-columns: 1fr; }
  .page .side, .blog .side { display: none; }
  .page .body { padding: 0 16px 64px; }
  .blog .posts { padding: 32px 16px 0; }
  .post { grid-template-columns: 1fr; }
  .body h2 { font-size: 1.15rem; }
  .grid-2 { gap: 8px; }
  .poem { padding-left: 8px; padding-right: 8px; }
}
