/* ============================================
   CAFE GALLERY TEMPLATE
   ギャラリーカフェ — ほぼ白と黒だけ
   差し色は「売約済み」の赤い丸シール1色。展覧会のチラシのように文字で組む
============================================ */

:root {
  /* Color */
  --white: #fbfbf9; /* 画廊の白い壁 */
  --white-2: #f2f2ef; /* 一段だけ沈んだ白（帯） */
  --ink: #111111; /* 文字・罫線 */
  --ink-soft: #3a3a38;
  --muted: #6b6b67;
  --line: rgba(17, 17, 17, 0.14);
  --line-strong: rgba(17, 17, 17, 0.5);
  --red: #d7261e; /* 赤い丸シール（丸と、ごく小さな印だけに使う） */

  /* Font */
  --font-jp: "Shippori Mincho", "Hiragino Mincho ProN", serif;
  --font-en: "Cormorant Garamond", "Shippori Mincho", serif;

  --container: 1180px;
  --gutter: clamp(16px, 5vw, 56px);
  --header-h: 68px;
  --section-space: clamp(80px, 11vw, 160px);

  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

body {
  font-family: var(--font-jp);
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: var(--white);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt" 1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul,
ol {
  list-style: none;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
}

i,
cite {
  font-style: normal;
}

table {
  border-collapse: collapse;
  width: 100%;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* 数字は欧文セリフ（ライニング数字）で */
.num {
  font-family: var(--font-en);
  font-variant-numeric: lining-nums;
  letter-spacing: 0.02em;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 8px 14px;
}

.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

/* 赤い丸シール */
.red-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
  vertical-align: 0;
  flex: none;
}

.red-dot--inline {
  margin: 0 4px;
  vertical-align: -1px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  border: 1px solid var(--ink);
  font-size: 15px;
  letter-spacing: 0.1em;
  transition: background-color 0.25s, color 0.25s;
}

.btn:hover {
  background: var(--ink);
  color: var(--white);
}

.btn--black {
  background: var(--ink);
  color: var(--white);
}

.btn--black:hover {
  background: var(--ink-soft);
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 251, 249, 0.96);
}

.header__inner {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo__dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--red);
}

.logo__main {
  font-size: 26px;
  font-weight: 500;
  line-height: 1;
}

.logo__sub {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.12em;
}

.logo__sub i {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 16px;
  margin-left: 2px;
}

.nav__list {
  display: flex;
  gap: 28px;
  font-size: 14px;
  letter-spacing: 0.12em;
}

.nav__list a {
  position: relative;
  padding: 6px 0;
}

/* hover で文字の右肩に小さな赤丸 */
.nav__list a::after {
  content: "";
  position: absolute;
  right: -9px;
  top: 6px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  opacity: 0;
  transition: opacity 0.25s;
}

.nav__list a:hover::after {
  opacity: 1;
}

.nav-toggle {
  display: none;
  min-width: 64px;
  height: 48px;
  font-family: var(--font-en);
  font-size: 19px;
  font-style: italic;
  letter-spacing: 0.04em;
}

/* ---------- Hero（文字だけの大組み） ---------- */
.hero {
  border-bottom: 1px solid var(--ink);
}

.hero__inner {
  position: relative;
  max-width: 1440px;
  margin-inline: auto;
  padding: clamp(32px, 5vw, 64px) var(--gutter) clamp(40px, 5vw, 72px);
  min-height: calc(100svh - var(--header-h));
  display: grid;
  /* 左：大きなタイトル ／ 右：作品1点と会期（ポスターの組み） */
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  grid-template-rows: auto 1fr auto;
  column-gap: clamp(32px, 5vw, 80px);
}

.hero__label {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  letter-spacing: 0.2em;
}

.hero__now {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__now::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid var(--ink);
}

.hero__now.is-open::before {
  background: var(--red);
  border-color: var(--red);
}

.hero__no {
  font-family: var(--font-en);
  font-size: 16px;
  font-style: italic;
  letter-spacing: 0.06em;
}

.hero__no span {
  font-style: normal;
  font-size: 22px;
  margin-left: 4px;
}

.hero__title {
  grid-column: 1;
  grid-row: 2 / 4;
  align-self: end;
  padding-top: clamp(24px, 4vw, 48px);
  font-weight: 500;
}

.hero__ja {
  display: block;
  white-space: nowrap;
  font-size: clamp(84px, min(16vw, 27vh), 240px);
  line-height: 1.02;
  letter-spacing: 0.02em;
}

/* タイトルの句点がわりの赤い丸 */
.hero__ja::after {
  content: "";
  display: inline-block;
  width: 0.16em;
  height: 0.16em;
  margin-left: 0.08em;
  border-radius: 50%;
  background: var(--red);
  vertical-align: baseline;
}

.hero__en {
  display: block;
  margin-top: 18px;
  font-family: var(--font-en);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 3vw, 40px);
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}

.hero__meta {
  grid-column: 2;
  grid-row: 3;
  display: grid;
  gap: 4px;
  padding-top: 20px;
  border-top: 1px solid var(--ink);
}

.hero__artist {
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: 0.16em;
}

.hero__artist span {
  font-size: 0.7em;
  margin-left: 10px;
  color: var(--muted);
}

.hero__date {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
}

.hero__date .num {
  font-size: clamp(26px, 2.5vw, 36px);
  line-height: 1.2;
}

.hero__date small {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 18px;
  color: var(--muted);
}

.hero__d {
  white-space: nowrap;
}

.hero__d small {
  margin-left: 6px;
}

.hero__dash {
  width: 40px;
  height: 1px;
  background: var(--ink);
  align-self: center;
}

.hero__time {
  font-size: 14px;
  color: var(--muted);
}

.hero__work {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  width: clamp(140px, 14vw, 200px);
  margin-bottom: 28px;
}

.hero__work img {
  aspect-ratio: 6 / 7.6;
  object-fit: cover;
  box-shadow: 0 1px 0 var(--line);
}

.hero__work figcaption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.hero__work figcaption span {
  font-family: var(--font-en);
  font-style: italic;
  margin-right: 4px;
}

/* 開いた直後に、文字だけが順にそっと出る */
.js-gallery .hero__label,
.js-gallery .hero__title,
.js-gallery .hero__meta,
.js-gallery .hero__work {
  animation: heroIn 0.9s var(--ease-out) both;
}

.js-gallery .hero__title {
  animation-delay: 0.1s;
}

.js-gallery .hero__meta {
  animation-delay: 0.22s;
}

.js-gallery .hero__work {
  animation-delay: 0.3s;
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- News ---------- */
.news {
  border-bottom: 1px solid var(--line);
}

.news__inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding-block: 36px;
}

.news__title {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.news__title i {
  display: block;
  font-family: var(--font-en);
  font-style: italic;
  font-size: 26px;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.news__list li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  padding: 6px 0;
}

.news__list time {
  font-family: var(--font-en);
  font-size: 18px;
  line-height: 1.7;
}

/* ---------- Section common ---------- */
.section {
  padding-block: var(--section-space);
}

.eyebrow {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 22px;
  color: var(--muted);
}

.section-title {
  margin-top: 8px;
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.08em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

/* ---------- Now showing ---------- */
.now__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
}

.now__photo img {
  aspect-ratio: 11 / 8;
  object-fit: cover;
}

.now__photo figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

.now__text > p:not(.eyebrow) {
  margin-top: 22px;
  color: var(--ink-soft);
}

.now__quote {
  margin-top: 28px;
  padding-left: 20px;
  border-left: 1px solid var(--ink);
}

.now__quote p {
  font-size: 18px;
  line-height: 1.9;
}

.now__quote cite {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}

/* 在廊日 */
.zairo {
  margin-top: clamp(56px, 7vw, 96px);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 16px 24px;
  padding-block: 28px;
  border-block: 1px solid var(--ink);
}

.zairo__title {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.zairo__list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
}

.zairo__list li {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.zairo__list .num {
  font-size: 26px;
  line-height: 1.2;
}

.zairo__list small {
  font-size: 13px;
}

.zairo__list em {
  font-style: normal;
  font-size: 13px;
  color: var(--muted);
}

.zairo__note {
  grid-column: 2;
  font-size: 14px;
  color: var(--muted);
}

/* 出品リスト */
.works {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 0 clamp(32px, 6vw, 96px);
}

.works__head {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.works__title {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.works__legend {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--muted);
}

.works__list {
  border-top: 1px solid var(--line-strong);
}

.works__list li {
  display: grid;
  grid-template-columns: 52px 1fr auto 120px;
  gap: 12px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.works__no {
  font-family: var(--font-en);
  font-size: 17px;
  color: var(--muted);
}

.works__name {
  font-size: 16px;
}

.works__size {
  font-size: 14px;
  color: var(--muted);
}

.works__price {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 18px;
  font-variant-numeric: lining-nums;
}

.works__list li.is-sold .works__price {
  color: var(--muted);
}

.buy {
  align-self: start;
  padding: 24px 0 0;
  border-top: 1px solid var(--line-strong);
}

.buy__title {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.buy__steps {
  margin-top: 12px;
  counter-reset: step;
}

.buy__steps li {
  counter-increment: step;
  position: relative;
  padding: 8px 0 8px 32px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-soft);
}

.buy__steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 6px;
  font-family: var(--font-en);
  font-size: 20px;
  color: var(--ink);
}

/* ---------- Next ---------- */
.next {
  background: var(--white-2);
}

.next__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 4fr);
  gap: clamp(32px, 7vw, 120px);
  align-items: center;
}

.next__date {
  margin-top: 14px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 8px;
}

.next__date .num {
  font-size: 30px;
}

.next__date small {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 16px;
  color: var(--muted);
}

.next__text > p:not(.eyebrow):not(.next__date) {
  margin-top: 18px;
  color: var(--ink-soft);
}

.next__text .next__zairo {
  font-size: 14px;
  color: var(--ink);
}

.next__photo {
  max-width: 380px;
  justify-self: end;
}

.next__photo img {
  aspect-ratio: 9 / 11;
  object-fit: cover;
}

.next__photo figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Schedule（年表） ---------- */
.schedule__head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 8px clamp(32px, 6vw, 96px);
  align-items: end;
}

.schedule__head .eyebrow {
  grid-column: 1 / -1;
}

.schedule__head > p:last-child {
  color: var(--ink-soft);
}

.timeline {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 200px 1fr;
}

.timeline__year {
  font-family: var(--font-en);
  font-size: 44px;
  line-height: 1;
  padding-top: 18px;
  border-top: 1px solid var(--ink);
}

.timeline__list {
  border-top: 1px solid var(--ink);
  margin-bottom: 40px;
}

.timeline__list li {
  display: grid;
  grid-template-columns: 170px 90px 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.timeline__date {
  font-family: var(--font-en);
  font-size: 21px;
  font-variant-numeric: lining-nums;
}

.timeline__kind {
  font-size: 13px;
  letter-spacing: 0.1em;
}

.timeline__kind--rental {
  color: var(--muted);
}

.timeline__name {
  font-size: 17px;
}

/* 開催中・終了はJSで判定 */
.timeline__list li.is-past {
  color: var(--muted);
}

.timeline__list li.is-current .timeline__name::after {
  content: "開催中";
  display: inline-flex;
  align-items: center;
  margin-left: 12px;
  padding-left: 16px;
  font-size: 13px;
  color: var(--red);
  background: radial-gradient(circle, var(--red) 4.5px, transparent 5px) left center / 11px 11px no-repeat;
  vertical-align: 2px;
}

/* ---------- Café ---------- */
.cafe {
  border-top: 1px solid var(--line);
}

.cafe__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  gap: clamp(32px, 7vw, 120px);
  align-items: center;
}

.cafe__photo {
  max-width: 420px;
}

.cafe__photo img {
  aspect-ratio: 1;
  object-fit: cover;
}

.cafe__body > p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--ink-soft);
}

.menu-list {
  margin-top: 28px;
  max-width: 460px;
  border-top: 1px solid var(--ink);
}

.menu-list > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.menu-list dd {
  font-family: var(--font-en);
  font-size: 18px;
  font-variant-numeric: lining-nums;
}

/* ドリンクと甘いものの間を少しあける */
.menu-list > div.menu-list__sweet:nth-child(6) {
  margin-top: 14px;
  border-top: 1px solid var(--line-strong);
}

.cafe__body .cafe__note {
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Rental ---------- */
.rental {
  background: var(--ink);
  color: var(--white);
}

.rental .eyebrow {
  color: rgba(251, 251, 249, 0.6);
}

.rental__top {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
}

.rental__head > p:not(.eyebrow) {
  margin-top: 18px;
  color: rgba(251, 251, 249, 0.82);
}

.rental__photo img {
  aspect-ratio: 12 / 7;
  object-fit: cover;
}

.rental__photo figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: rgba(251, 251, 249, 0.6);
}

.rental__grid {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.fee caption {
  text-align: left;
  font-size: 16px;
  letter-spacing: 0.12em;
  padding-bottom: 12px;
}

.fee th,
.fee td {
  padding: 16px 10px 16px 0;
  text-align: left;
  border-bottom: 1px solid rgba(251, 251, 249, 0.22);
  vertical-align: baseline;
}

.fee thead th {
  font-size: 13px;
  font-weight: 400;
  color: rgba(251, 251, 249, 0.6);
  padding-block: 8px;
  border-top: 1px solid var(--white);
}

.fee tbody th {
  font-weight: 400;
  font-size: 16px;
}

.fee td.num {
  font-size: 26px;
  white-space: nowrap;
}

.fee td:last-child {
  font-size: 14px;
  color: rgba(251, 251, 249, 0.72);
}

.rental__terms h3 {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.12em;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--white);
}

.rental__terms li {
  position: relative;
  padding: 10px 0 10px 18px;
  font-size: 14px;
  border-bottom: 1px solid rgba(251, 251, 249, 0.18);
}

.rental__terms li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.35em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1px solid rgba(251, 251, 249, 0.7);
}

.rental__terms .btn {
  margin-top: 28px;
  width: 100%;
  border-color: var(--white);
}

.rental__terms .btn:hover {
  background: var(--white);
  color: var(--ink);
}

/* ---------- Access ---------- */
.access__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 96px);
}

.info {
  margin-top: 28px;
  border-top: 1px solid var(--ink);
}

.info > div {
  display: grid;
  grid-template-columns: 6em 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.info dt {
  font-size: 14px;
  color: var(--muted);
  padding-top: 2px;
}

.info dd .num {
  font-size: 20px;
}

.access__links {
  margin-top: 28px;
  display: grid;
  gap: 4px;
}

.text-link {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 14px;
  min-height: 44px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}

.text-link span {
  font-size: 13px;
  color: var(--muted);
}

.text-link::after {
  content: "→";
  margin-left: auto;
  font-family: var(--font-en);
  transition: transform 0.25s var(--ease-out);
}

.text-link:hover::after {
  transform: translateX(4px);
}

.access__map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
  filter: grayscale(1);
  background: var(--white-2);
}

/* ---------- Contact ---------- */
.contact {
  border-top: 1px solid var(--line);
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  gap: clamp(32px, 7vw, 120px);
}

.contact__side > p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--ink-soft);
}

.contact__side .contact__tel {
  margin-top: 28px;
  font-size: 14px;
}

.contact__tel a {
  font-size: 32px;
  color: var(--ink);
}

.form__type {
  border: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 24px;
}

.form__type legend {
  width: 100%;
  font-size: 14px;
  margin-bottom: 8px;
}

.form__type label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  cursor: pointer;
}

.form__type input {
  width: 18px;
  height: 18px;
  accent-color: var(--red);
}

.form__row {
  margin-bottom: 22px;
}

.form__row label {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.req {
  margin-left: 8px;
  font-size: 12px;
  color: var(--red);
}

.form input[type="text"],
.form input[type="email"],
.form textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 2px;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  font-size: 16px;
  border-radius: 0;
}

.form textarea {
  border: 1px solid var(--line-strong);
  padding: 12px;
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--ink);
}

.form input.is-error {
  border-color: var(--red);
}

.form .btn {
  min-width: 220px;
}

.form__done {
  margin-top: 16px;
  font-size: 14px;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--ink);
  padding: 40px 0 32px;
  font-size: 14px;
}

.footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px 32px;
  align-items: baseline;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
}

.footer__logo i {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 18px;
}

.footer__addr,
.footer__copy {
  color: var(--muted);
}

.footer__copy {
  font-family: var(--font-en);
  font-size: 15px;
}

/* ---------- Scroll reveal ---------- */
.js-gallery .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.js-gallery .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ============================================
   Responsive
============================================ */
@media (max-width: 960px) {
  .nav-toggle {
    display: block;
    z-index: 2;
  }

  /* モバイルメニュー：白い面がフェード＋上から16px */
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    padding: 24px var(--gutter) 40px;
    background: var(--white);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-16px);
    transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), visibility 0s 0.3s;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), visibility 0s;
  }

  .nav__list {
    flex-direction: column;
    gap: 0;
    font-size: 20px;
    border-top: 1px solid var(--ink);
  }

  .nav__list a {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav__list a::after {
    display: none;
  }

  .now__grid,
  .next__grid,
  .cafe__grid,
  .rental__top,
  .rental__grid,
  .access__grid,
  .contact__grid,
  .schedule__head {
    grid-template-columns: minmax(0, 1fr);
  }

  .works {
    grid-template-columns: minmax(0, 1fr);
  }

  .buy {
    margin-top: 36px;
  }

  .next__photo {
    justify-self: start;
    max-width: 320px;
  }

  .timeline {
    grid-template-columns: minmax(0, 1fr);
  }

  .timeline__year {
    border-top: 0;
    padding: 0 0 10px;
    font-size: 36px;
  }

  .access__map iframe {
    min-height: 320px;
  }

  .hero__inner {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .logo__sub {
    display: none;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto auto;
    min-height: 0;
  }

  .hero__title,
  .hero__meta,
  .hero__work {
    grid-column: 1;
    grid-row: auto;
  }

  .hero__title {
    padding-block: 36px 28px;
  }

  .hero__ja {
    font-size: clamp(84px, 28vw, 120px);
  }

  .hero__work {
    margin-top: 32px;
    margin-bottom: 0;
    width: 100%;
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 16px;
    align-items: end;
  }

  .hero__work figcaption {
    margin-top: 0;
  }

  .news__inner {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .news__list li {
    grid-template-columns: 52px 1fr;
    gap: 10px;
  }

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

  .zairo__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
  }

  .zairo__note {
    grid-column: 1;
  }

  .works__list li {
    grid-template-columns: 44px 1fr auto;
    grid-template-areas:
      "no name price"
      "no size price";
    gap: 0 10px;
  }

  .works__no {
    grid-area: no;
    font-size: 15px;
    white-space: nowrap;
  }

  .works__name {
    grid-area: name;
  }

  .works__size {
    grid-area: size;
    font-size: 13px;
  }

  .works__price {
    grid-area: price;
    align-self: center;
  }

  .timeline__list li {
    grid-template-columns: 1fr auto;
    gap: 2px 12px;
    padding: 14px 0;
  }

  .timeline__name {
    grid-column: 1 / -1;
    font-size: 16px;
  }

  .timeline__list li.is-current .timeline__name::after {
    margin-left: 8px;
  }

  .fee thead {
    display: none;
  }

  .fee tr {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0 12px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(251, 251, 249, 0.22);
  }

  .fee tr:first-child {
    border-top: 1px solid var(--white);
  }

  .fee th,
  .fee td {
    padding: 0;
    border: 0;
  }

  .fee td:last-child {
    grid-column: 1 / -1;
  }

  .fee td.num {
    font-size: 22px;
  }

  .info > div {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form .btn {
    width: 100%;
  }

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

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js-gallery .reveal {
    opacity: 1;
    transform: none;
  }
}
