/* ============================================
   BAKERY TARTINE TEMPLATE
   タルティーヌと朝ごはんのパン屋 — 紙×墨×黄身のオレンジ
   週に一度出す「朝刊」のような誌面。罫線と段組みで組む
   ============================================ */

:root {
  /* 紙とインク */
  --paper: #f4f1ea; /* 新聞の紙 */
  --paper-deep: #ebe6da; /* 囲み記事の地 */
  --ink: #1b1b1b; /* 墨 */
  --ink-soft: #4a4744;
  --muted: #6f6a63;
  --rule: #1b1b1b; /* 罫線は墨のまま */
  --rule-light: #c9c2b4;

  /* 黄身のオレンジ（面数の丸・値段・印だけに少し） */
  --yolk: #e8902a;
  --yolk-pale: #f6dcb6;

  /* フォント：和文は明朝、欧文の題字と数字は Playfair Display */
  --font-jp: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-en: "Playfair Display", "Zen Old Mincho", serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 56px;

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

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

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

body {
  margin: 0;
  font-family: var(--font-jp);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  /* Playfair Display の数字は既定で小文字風（オールドスタイル）なので、揃った数字に */
  font-variant-numeric: lining-nums;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

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

.num {
  font-family: var(--font-en);
  font-variant-numeric: lining-nums;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

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

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

.sp-only {
  display: none;
}

@media (max-width: 600px) {
  .sp-only {
    display: inline;
  }
}

.link {
  text-decoration: underline;
  text-decoration-color: var(--yolk);
  text-underline-offset: 3px;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}

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

.logo {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  text-decoration: none;
}

.logo__sub {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.nav__list {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 0.85rem;
  text-decoration: none;
  border-left: 1px solid var(--rule-light);
}

.nav__list li:first-child .nav__link {
  border-left: 0;
}

.nav__link:hover {
  text-decoration: underline;
  text-decoration-color: var(--yolk);
  text-underline-offset: 4px;
}

/* 面の番号（黄身の丸） */
.nav__page {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  font-family: var(--font-en);
  font-size: 0.7rem;
  color: var(--ink);
  background: var(--yolk);
  border-radius: 50%;
}

.nav-toggle {
  display: none;
}

@media (max-width: 1040px) {
  .nav-toggle {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 14px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    background: var(--paper);
    border: 1px solid var(--ink);
    cursor: pointer;
  }

  /* 開いているときは「閉じる」に */
  .nav-toggle[aria-expanded="true"] .nav-toggle__label {
    font-size: 0;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__label::after {
    content: "閉じる";
    font-size: 0.9rem;
  }

  /* モバイルメニュー：目次の紙面が上からフェード＋少しだけ下へ */
  .nav {
    position: fixed;
    top: calc(var(--header-h) + 1px);
    left: 0;
    right: 0;
    bottom: 0;
    padding: 24px var(--gutter) 40px;
    overflow-y: auto;
    background: var(--paper);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s 0.3s;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease;
  }

  .nav__list {
    flex-direction: column;
    border-top: 3px double var(--rule);
    transform: translateY(-16px);
    transition: transform 0.3s var(--ease-out);
  }

  .nav.is-open .nav__list {
    transform: none;
  }

  .nav__link {
    gap: 14px;
    padding: 16px 0;
    font-size: 1.1rem;
    border-left: 0;
    border-bottom: 1px solid var(--rule-light);
  }

  .nav__page {
    width: 26px;
    height: 26px;
    font-size: 0.85rem;
  }
}

/* ---------- 一面（Hero） ---------- */
.front {
  padding: clamp(20px, 3vw, 32px) 0 clamp(56px, 7vw, 88px);
}

.front__meta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 6px 0;
  font-size: 0.82rem;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.front__meta p {
  margin: 0;
}

.front__meta .num {
  font-size: 1.05rem;
  margin: 0 2px;
}

.front__meta-sub {
  margin-left: 10px;
  color: var(--muted);
}

.front__meta-right {
  text-align: right;
}

/* 題字 */
.masthead {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 8px 24px;
  padding: clamp(16px, 2.5vw, 28px) 0 clamp(12px, 2vw, 20px);
  border-bottom: 4px double var(--rule);
}

.masthead__title {
  grid-row: 1 / 3;
  margin: 0;
  font-size: clamp(3.6rem, 13vw, 9.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.06em;
}

.masthead__en {
  margin: 0;
  font-family: var(--font-en);
  font-size: clamp(1rem, 2vw, 1.5rem);
  text-align: right;
}

.masthead__en em {
  font-style: italic;
}

.masthead__hours {
  margin: 0;
  font-size: 0.9rem;
  text-align: right;
}

.masthead__hours b {
  font-family: var(--font-en);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  background: linear-gradient(transparent 62%, var(--yolk-pale) 0);
}

/* 一面の段組み：左の囲み／中央の記事／右の目次 */
.front__grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 250px;
  gap: 0;
  margin-top: 24px;
}

.front__side,
.front__index {
  padding: 0 24px;
}

.front__side {
  padding-left: 0;
  border-right: 1px solid var(--rule);
}

.front__index {
  padding-right: 0;
  border-left: 1px solid var(--rule);
}

.front__lead {
  padding: 0 28px;
}

.box {
  padding: 0 0 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--rule-light);
}

.box:last-child {
  border-bottom: 0;
}

.box__title {
  margin: 0 0 10px;
  padding: 2px 0;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-align: center;
  color: var(--paper);
  background: var(--ink);
}

.tide {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  text-align: center;
}

.tide div + div {
  border-left: 1px solid var(--rule-light);
}

.tide dt {
  font-size: 0.75rem;
  color: var(--muted);
}

.tide dd {
  margin: 0;
  font-family: var(--font-en);
  font-size: 1.2rem;
  line-height: 1.3;
}

.box__note {
  margin: 10px 0 0;
  font-size: 0.85rem;
  line-height: 1.75;
}

.box__dish {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.6;
}

.box__price {
  margin: 6px 0 0;
  font-family: var(--font-en);
  font-size: 1.15rem;
  color: var(--yolk);
}

.box__price span {
  margin-left: 6px;
  font-family: var(--font-jp);
  font-size: 0.78rem;
  color: var(--muted);
}

.front__photo {
  margin: 0;
}

.front__photo img {
  width: 100%;
  aspect-ratio: 7 / 5;
  object-fit: cover;
}

.front__photo figcaption,
.seats__photo figcaption {
  margin-top: 8px;
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.front__photo figcaption span {
  margin-right: 8px;
  padding: 0 5px;
  font-size: 0.72rem;
  color: var(--paper);
  background: var(--ink);
}

.front__headline {
  margin: 22px 0 14px;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.04em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

/* 本文は新聞らしく2段組み */
.front__body {
  columns: 2;
  column-gap: 28px;
  column-rule: 1px solid var(--rule-light);
  text-align: justify;
}

.front__body p {
  margin: 0 0 0.8em;
  text-indent: 1em;
}

.front__index-title {
  margin: 0 0 6px;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  padding-bottom: 6px;
  border-bottom: 3px double var(--rule);
}

.front__index ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.front__index a {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 10px 0;
  font-size: 0.92rem;
  text-decoration: none;
  border-bottom: 1px solid var(--rule-light);
}

.front__index a:hover span {
  text-decoration: underline;
  text-decoration-color: var(--yolk);
  text-underline-offset: 3px;
}

.front__index i {
  flex: 1;
  min-width: 10px;
  border-bottom: 1px dotted var(--muted);
}

.front__index b {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 22px;
  height: 22px;
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 500;
  background: var(--yolk);
  border-radius: 50%;
}

.front__index-note {
  margin: 18px 0 4px;
  font-size: 0.85rem;
  line-height: 1.75;
}

.front__tel {
  font-family: var(--font-en);
  font-size: 1.35rem;
  text-decoration: none;
  border-bottom: 2px solid var(--yolk);
}

@media (max-width: 1040px) {
  /* 題字が折り返さないよう、欧文と営業時間は題字の下へ */
  .masthead {
    grid-template-columns: 1fr;
  }

  .masthead__title {
    grid-row: auto;
    white-space: nowrap;
  }

  .masthead__en,
  .masthead__hours {
    text-align: left;
  }

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

  .front__lead {
    grid-column: 1;
    grid-row: 1 / 3;
    padding-left: 0;
  }

  .front__side {
    grid-column: 2;
    grid-row: 2;
    padding: 24px 0 0 24px;
    border-right: 0;
    border-left: 1px solid var(--rule);
  }

  .front__index {
    grid-column: 2;
    grid-row: 1;
  }
}

@media (max-width: 760px) {
  .front__meta {
    grid-template-columns: 1fr auto;
    row-gap: 0;
  }

  .front__meta-right {
    display: none;
  }

  .front__meta-sub {
    display: none;
  }

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

  .masthead__title {
    grid-row: auto;
  }

  .masthead__en,
  .masthead__hours {
    text-align: left;
  }

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

  .front__lead,
  .front__side,
  .front__index {
    grid-column: 1;
    grid-row: auto;
    padding: 0;
    border: 0;
  }

  /* スマホでは写真と記事を先に、囲みと目次をその下に */
  .front__lead {
    order: -1;
  }

  .front__side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--rule);
  }

  .front__side .box {
    margin: 0;
    padding: 0;
    border: 0;
  }

  .front__index {
    margin-top: 28px;
  }

  .front__body {
    columns: 1;
  }
}

@media (max-width: 480px) {
  .front__side {
    grid-template-columns: 1fr;
  }
}

/* ---------- 各面の共通見出し ---------- */
.page {
  padding: clamp(64px, 8vw, 104px) 0;
  border-top: 1px solid var(--rule);
}

.page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-bottom: clamp(28px, 4vw, 44px);
  padding-bottom: 12px;
  border-bottom: 3px double var(--rule);
}

/* 面の番号：黄身の丸 */
.page-head__no {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0;
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 500;
  background: var(--yolk);
  border-radius: 50%;
}

.page-head__title {
  margin: 0;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.06em;
}

.page-head__note {
  margin: 0 0 0 auto;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* 横に置く見出し（3面・7面） */
.page-head--side {
  display: block;
  border-bottom: 0;
  padding-bottom: 0;
}

.page-head--side .page-head__no {
  margin-bottom: 14px;
}

.page-head--side .page-head__note {
  margin: 16px 0 0;
}

@media (max-width: 760px) {
  .page-head__note {
    flex-basis: 100%;
    margin-left: 0;
  }
}

/* ---------- 2面：献立 ---------- */
.set {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "label name price"
    "label desc time";
  gap: 4px 28px;
  align-items: center;
  margin-bottom: clamp(36px, 5vw, 56px);
  padding: 20px 24px;
  border: 2px solid var(--ink);
  outline: 1px solid var(--ink);
  outline-offset: 4px;
}

.set__label {
  grid-area: label;
  margin: 0;
  writing-mode: vertical-rl;
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  padding: 8px 4px;
  color: var(--paper);
  background: var(--ink);
}

.set__name {
  grid-area: name;
  margin: 0;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 900;
}

.set__desc {
  grid-area: desc;
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.set__price {
  grid-area: price;
  margin: 0;
  text-align: right;
  white-space: nowrap;
}

.set__price .num {
  font-size: 2.4rem;
  line-height: 1;
  color: var(--yolk);
}

.set__time {
  grid-area: time;
  margin: 0;
  font-size: 0.85rem;
  text-align: right;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .set {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "label name"
      "label desc"
      "label price"
      "label time";
    gap: 4px 16px;
    padding: 16px;
  }

  .set__price,
  .set__time {
    text-align: left;
  }
}

.menu__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 48px;
}

/* 段と段の間の縦罫 */
.menu__col {
  position: relative;
}

.menu__col + .menu__col::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -24px;
  border-left: 1px solid var(--rule);
}

.menu__photo {
  margin: 0 0 16px;
}

.menu__photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.menu__title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 0 0 6px;
  padding-bottom: 6px;
  font-size: 1.2rem;
  font-weight: 900;
  border-bottom: 1px solid var(--rule);
}

.menu__title span {
  font-family: var(--font-en);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--yolk);
}

.menu__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu__list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--rule-light);
}

.menu__item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0;
  font-weight: 600;
}

.menu__item i {
  flex: 1;
  min-width: 10px;
  border-bottom: 1px dotted var(--muted);
}

.menu__item b {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 1.05rem;
}

.menu__desc {
  margin: 2px 0 0;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--muted);
}

.menu__aside {
  margin: 12px 0 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .menu__cols {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
  }

  .menu__col:nth-child(3) {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 48px;
    padding: 32px 0 0;
    border-top: 1px solid var(--rule);
  }

  .menu__col:nth-child(3)::before {
    display: none;
  }

  .menu__col:nth-child(3) .menu__photo {
    grid-row: 1 / 4;
  }
}

@media (max-width: 600px) {
  .menu__cols {
    grid-template-columns: 1fr;
  }

  .menu__col,
  .menu__col:nth-child(2),
  .menu__col:nth-child(3) {
    display: block;
    padding: 0;
  }

  .menu__col + .menu__col::before {
    display: none;
  }

  .menu__col + .menu__col {
    padding-top: 32px;
    border-top: 1px solid var(--rule);
  }

  .menu__photo img {
    aspect-ratio: 16 / 9;
  }
}

/* ---------- 3面：持ち帰りのパン ---------- */
.bread {
  background: var(--paper-deep);
}

.bread__grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.bake {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid var(--rule);
  border-bottom: 2px solid var(--rule);
}

.bake th {
  padding: 8px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-align: left;
  border-bottom: 1px solid var(--rule);
}

.bake td {
  padding: 14px 12px;
  vertical-align: baseline;
  border-bottom: 1px solid var(--rule-light);
}

.bake td b {
  display: block;
  font-size: 1.05rem;
}

.bake td span {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
}

.bake__time {
  width: 6em;
  font-family: var(--font-en);
  font-size: 1.3rem;
}

.bake__price {
  width: 8em;
  text-align: right;
  white-space: nowrap;
}

.bake__price small {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
}

/* 焼き上がり済みの行には小さな黄身の印（script.js が付ける） */
.bake tr.is-baked .bake__time::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 8px;
  vertical-align: middle;
  background: var(--yolk);
  border-radius: 50%;
}

.bake__now {
  margin: 10px 0 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.bake__now:empty {
  display: none;
}

@media (max-width: 860px) {
  .bread__grid {
    grid-template-columns: 1fr;
  }

  .page-head--side .page-head__title br {
    display: none;
  }
}

@media (max-width: 480px) {
  .bake th,
  .bake td {
    padding-left: 6px;
    padding-right: 6px;
  }

  .bake th {
    letter-spacing: 0.02em;
    white-space: nowrap;
  }

  .bake__time {
    width: 4.6em;
    font-size: 1.1rem;
  }

  .bake__price {
    width: auto;
  }
}

/* ---------- 4面：店主の連載 ---------- */
.column__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
}

/* PCでは縦書き。行が長くなったら枠の中で横にスクロール */
.essay {
  writing-mode: vertical-rl;
  height: 400px;
  max-width: 100%;
  overflow-x: auto;
  padding: 8px 4px 8px 0;
  border-right: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
  padding: 0 24px;
}

.essay__no {
  margin: 0 0 0 12px;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--yolk);
  font-weight: 700;
}

.essay__title {
  margin: 0 0 0 28px;
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.essay__body p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 2.1;
  letter-spacing: 0.08em;
  text-indent: 1em;
}

.essay__sign {
  margin: 0 28px 0 0;
  text-align: end;
  font-size: 0.9rem;
}

.backnumber__title {
  margin: 0;
  padding-bottom: 6px;
  font-size: 1rem;
  letter-spacing: 0.15em;
  border-bottom: 3px double var(--rule);
}

/* アコーディオン：grid-template-rows 0fr → 1fr */
.acc__item {
  border-bottom: 1px solid var(--rule-light);
}

.acc__q {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 12px 0;
  font-weight: 600;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
}

.acc__q:hover {
  text-decoration: underline;
  text-decoration-color: var(--yolk);
  text-underline-offset: 4px;
}

.acc__no {
  flex: none;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--muted);
}

.acc__icon {
  position: relative;
  flex: none;
  width: 12px;
  height: 12px;
  margin-left: auto;
  transition: transform 0.35s var(--ease-out);
}

.acc__icon::before,
.acc__icon::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  width: 12px;
  height: 1.5px;
  background: var(--ink);
}

.acc__icon::after {
  transform: rotate(90deg);
}

.acc__q[aria-expanded="true"] .acc__icon {
  transform: rotate(45deg);
}

.acc__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease-out);
}

.acc__a.is-open {
  grid-template-rows: 1fr;
}

.acc__inner {
  min-height: 0;
  overflow: hidden;
}

.acc__inner p {
  margin: 0;
  padding: 0 0 16px;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* JSが動かないときは中身を最初から見せる */
.no-js .acc__a {
  grid-template-rows: 1fr;
}

@media (max-width: 900px) {
  .column__grid {
    grid-template-columns: 1fr;
  }

  /* タブレット・スマホは横書きに切り替え */
  .essay {
    writing-mode: horizontal-tb;
    height: auto;
    overflow: visible;
    padding: 0;
    border: 0;
  }

  .essay__no {
    margin: 0 0 4px;
  }

  .essay__title {
    margin: 0 0 16px;
    font-size: 1.5rem;
  }

  .essay__body p {
    line-height: 2;
  }

  .essay__sign {
    margin: 16px 0 0;
  }
}

/* ---------- 5面：席とテラス ---------- */
.seats {
  background: var(--paper-deep);
}

.seats__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-areas:
    "main info"
    "sub info";
  gap: 28px clamp(32px, 5vw, 56px);
  align-items: start;
}

.seats__photo {
  margin: 0;
}

.seats__photo--main {
  grid-area: main;
}

.seats__photo--main img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.seats__info {
  grid-area: info;
}

/* 2枚目は小さく、キャプションを横に添える */
.seats__photo--sub {
  grid-area: sub;
  display: grid;
  grid-template-columns: 46% 1fr;
  gap: 20px;
  align-items: end;
}

.seats__photo--sub img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* 席の内訳を丸で並べる（1つ＝1席） */
.seatmap {
  padding: 16px 0;
  border-top: 2px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.seatmap__row {
  display: grid;
  grid-template-columns: 6em 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
}

.seatmap__label {
  font-size: 0.9rem;
}

.seatmap__dots {
  height: 16px;
  /* 1席＝直径14pxの丸を、--n 個ぶんの幅で繰り返す */
  width: calc(var(--n) * 22px);
  max-width: 100%;
  background: radial-gradient(circle at 8px 8px, var(--ink) 6.5px, transparent 7.5px) 0 0 / 22px 16px repeat-x;
}

.seatmap__row--terrace .seatmap__dots {
  background-image: radial-gradient(circle at 8px 8px, var(--yolk) 6.5px, transparent 7.5px);
}

.seatmap__num {
  font-family: var(--font-en);
  font-size: 1.4rem;
}

.notes {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.notes li {
  display: grid;
  grid-template-columns: 7.5em 1fr;
  gap: 8px;
  padding: 10px 0;
  font-size: 0.9rem;
  line-height: 1.75;
  border-bottom: 1px solid var(--rule-light);
}

.notes b {
  font-weight: 700;
}

@media (max-width: 860px) {
  .seats__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "main"
      "info"
      "sub";
  }

  .notes li {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ---------- 6面：お知らせ（囲み記事を並べる） ---------- */
.ads {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}

.ad {
  padding: 20px 22px 22px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.ad--wide {
  grid-column: span 2;
}

.ad--accent {
  background: var(--yolk-pale);
}

.ad__date {
  margin: 0 0 4px;
  font-family: var(--font-en);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--yolk);
}

.ad--accent .ad__date {
  color: var(--ink);
}

.ad__title {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1.5;
}

.ad--wide .ad__title {
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
}

.ad p:last-child {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--ink-soft);
}

@media (max-width: 860px) {
  .ads {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .ads {
    grid-template-columns: 1fr;
  }

  .ad--wide {
    grid-column: auto;
  }
}

/* ---------- 7面：アクセス ---------- */
.access__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: stretch;
}

.access__lead {
  margin: 0 0 20px;
}

.info {
  margin: 0;
  border-top: 2px solid var(--rule);
}

.info div {
  display: grid;
  grid-template-columns: 6em 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule-light);
  font-size: 0.92rem;
}

.info dt {
  font-weight: 700;
}

.info dd {
  margin: 0;
}

.info a {
  font-family: var(--font-en);
  font-size: 1.1rem;
  text-decoration-color: var(--yolk);
}

.access__map {
  min-height: 420px;
  border: 1px solid var(--rule);
}

.access__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  filter: grayscale(0.85) sepia(0.15);
}

@media (max-width: 860px) {
  .access__grid {
    grid-template-columns: 1fr;
  }

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

/* ---------- Footer：奥付 ---------- */
.footer {
  padding: 40px 0 24px;
  color: var(--paper);
  background: var(--ink);
}

.colophon {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px 40px;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(244, 241, 234, 0.3);
}

.colophon__name {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.colophon__name span {
  display: block;
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.8;
}

.colophon__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 24px;
  margin: 0;
  font-size: 0.85rem;
}

.colophon__list div {
  display: flex;
  gap: 12px;
}

.colophon__list dt {
  opacity: 0.6;
}

.colophon__list dd {
  margin: 0;
}

.colophon__insta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  font-family: var(--font-en);
  font-style: italic;
  text-decoration: none;
  border: 1px solid var(--yolk);
  color: var(--yolk);
}

.colophon__insta:hover {
  color: var(--ink);
  background: var(--yolk);
}

.footer__copy {
  margin: 16px 0 0;
  font-size: 0.75rem;
  opacity: 0.6;
}

@media (max-width: 860px) {
  .colophon {
    grid-template-columns: 1fr;
    justify-items: start;
  }

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

/* ---------- 一面の文字：開いた直後に静かに出る ---------- */
.reveal-ready .masthead__title,
.reveal-ready .masthead__en,
.reveal-ready .masthead__hours,
.reveal-ready .front__headline {
  animation: front-in 0.8s var(--ease-out) both;
}

.reveal-ready .masthead__en,
.reveal-ready .masthead__hours {
  animation-delay: 0.12s;
}

.reveal-ready .front__headline {
  animation-delay: 0.24s;
}

/* 一面の写真はごくゆっくり 1.04 → 1 */
.reveal-ready .front__photo {
  overflow: hidden;
}

.reveal-ready .front__photo img {
  animation: photo-settle 1.8s var(--ease-out) both;
}

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

@keyframes photo-settle {
  from {
    transform: scale(1.04);
  }
  to {
    transform: none;
  }
}

/* ---------- スクロールリビール ----------
   script.js が html に .reveal-ready を付けたときだけ隠す
   （script.js の読み込みに失敗しても中身はそのまま見える） */
.reveal-ready [data-reveal] {
  opacity: 0;
  translate: 0 20px;
  transition:
    opacity 0.7s var(--ease-out),
    translate 0.7s var(--ease-out);
}

.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  translate: none;
}

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

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

  .reveal-ready [data-reveal] {
    opacity: 1 !important;
    translate: none !important;
  }
}
