/* ============================================
   BAKERY GLUTENFREE TEMPLATE
   米粉・グルテンフリー — ほぼ白×やわらかい緑×米色
   食品表示ラベルのような細い罫と、たっぷりの余白
   ============================================ */

:root {
  /* 地の色 */
  --white: #fbfbf7; /* ほぼ白（背景） */
  --rice: #e9e2d0; /* 米色（帯・ラベル） */
  --rice-light: #f3efe4;

  /* 緑と文字 */
  --green: #5c7d68; /* やわらかい緑（○・ボタン・小見出し） */
  --green-deep: #3f5a49;
  --green-pale: #e4ebe5;
  --ink: #2b2e2b; /* 文字（真っ黒にしない） */
  --muted: #6c716b;
  --hair: rgba(43, 46, 43, 0.18); /* ラベルの細い罫 */
  --hair-strong: rgba(43, 46, 43, 0.55);

  /* フォント：本文はアンティーク系ゴシック、見出しだけ明朝 */
  --font-body: "Zen Kaku Gothic Antique", "Hiragino Sans", sans-serif;
  --font-head: "Shippori Mincho", "Hiragino Mincho ProN", serif;

  --container: 1120px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 68px;
  --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-body);
  font-size: 15px;
  line-height: 1.95;
  letter-spacing: 0.05em;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  color: var(--green-deep);
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

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

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

.pc-only {
  display: none;
}

@media (min-width: 900px) {
  .pc-only {
    display: inline;
  }
}

.nobr {
  display: inline-block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  border: 1px solid var(--green-deep);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition:
    background-color 0.25s,
    color 0.25s;
}

.btn--green {
  background: var(--green-deep);
  color: #fff;
}

.btn--green:hover {
  background: var(--green);
}

.btn--line {
  background: transparent;
  color: var(--green-deep);
}

.btn--line:hover {
  background: var(--green-pale);
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  background: rgba(251, 251, 247, 0.96);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.header.is-scrolled {
  border-bottom-color: var(--hair);
}

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

.logo {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.logo__sub {
  font-size: 0.72rem;
  color: var(--muted);
}

.logo__name {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.nav__list {
  display: flex;
  gap: clamp(16px, 2.2vw, 32px);
}

.nav__link {
  color: var(--ink);
  font-size: 0.85rem;
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s;
}

.nav__link:hover {
  border-bottom-color: var(--green);
}

.nav-toggle {
  display: none;
}

@media (max-width: 900px) {
  .nav-toggle {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    min-width: 64px;
    height: 44px;
    padding: 0 12px;
    border: 1px solid var(--hair-strong);
    background: var(--white);
    color: var(--ink);
    font: inherit;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    cursor: pointer;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__label {
    font-size: 0;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__label::after {
    content: "close";
    font-size: 0.8rem;
  }

  /* モバイルメニュー：白い面がフェード＋短い移動 */
  .nav {
    position: fixed;
    inset: 0;
    display: grid;
    align-items: center;
    padding: var(--header-h) var(--gutter) 40px;
    background: var(--white);
    overflow-y: auto;
    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;
    gap: 0;
    width: min(400px, 100%);
    margin: 0 auto;
    border-top: 1px solid var(--hair-strong);
    transform: translateY(16px);
    transition: transform 0.3s var(--ease-out);
  }

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

  .nav__list li {
    border-bottom: 1px solid var(--hair);
  }

  .nav__link {
    display: block;
    padding: 16px 2px;
    font-size: 1.05rem;
    border-bottom: 0;
  }
}

/* ---------- Hero：余白が主役 ---------- */
.hero {
  padding: calc(var(--header-h) + 20px) var(--gutter) clamp(40px, 6vw, 72px);
}

.hero__inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto 1fr auto;
  column-gap: clamp(12px, 2vw, 24px);
  min-height: min(calc(100vh - var(--header-h) - 20px), 820px);
  max-width: 1200px;
  margin: 0 auto;
}

.hero__photo {
  grid-column: 8 / 11;
  grid-row: 1;
  margin-top: clamp(24px, 6vh, 64px);
  max-width: 250px;
}

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

.hero__photo figcaption {
  margin-top: 10px;
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--muted);
}

/* 左上の小さな注記（余白の中の目印） */
.hero__note {
  grid-column: 1 / 5;
  grid-row: 1;
  margin-top: clamp(24px, 6vh, 64px);
  font-size: 0.75rem;
  line-height: 1.9;
  color: var(--muted);
  border-left: 1px solid var(--green);
  padding-left: 12px;
  align-self: start;
}

.hero__copy {
  grid-column: 1 / 8;
  grid-row: 3;
  align-self: end;
}

.hero__title {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.7;
  letter-spacing: 0.12em;
}

.hero__line {
  display: block;
}

.hero__lead {
  margin-top: 18px;
  font-size: 0.95rem;
  color: var(--muted);
}

/* 開いた直後に文字だけ静かに出る（JSなしでも表示される） */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero__line,
.hero__lead {
  animation: rise 0.9s var(--ease-out) both;
}

.hero__line:nth-child(2) {
  animation-delay: 0.12s;
}

.hero__lead {
  animation-delay: 0.24s;
}

/* 食品表示ラベル風のボックス */
.label-box {
  grid-column: 9 / 13;
  grid-row: 3;
  align-self: end;
  border: 1px solid var(--hair-strong);
  font-size: 0.78rem;
  line-height: 1.6;
  background: var(--white);
}

.label-box > div {
  display: grid;
  grid-template-columns: 5.4em 1fr;
  border-bottom: 1px solid var(--hair);
}

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

.label-box dt {
  padding: 7px 8px;
  border-right: 1px solid var(--hair);
  color: var(--muted);
}

.label-box dd {
  padding: 7px 10px;
}

@media (max-width: 900px) {
  .hero__inner {
    min-height: 0;
    row-gap: 40px;
  }

  .hero__note {
    grid-column: 1 / 6;
  }

  .hero__photo {
    grid-column: 7 / 13;
    max-width: 220px;
    margin-top: 32px;
  }

  .hero__copy {
    grid-column: 1 / 13;
    grid-row: 2;
  }

  .label-box {
    grid-column: 1 / 13;
    max-width: 440px;
  }
}

@media (max-width: 600px) {
  .hero__note {
    grid-column: 1 / 7;
  }

  .hero__photo {
    grid-column: 7 / 13;
    max-width: 180px;
    justify-self: end;
    margin-top: 20px;
  }

  .hero__title {
    font-size: 1.5rem;
    letter-spacing: 0.08em;
  }
}

/* ---------- お知らせ ---------- */
.news__list {
  border-top: 1px solid var(--hair-strong);
}

.news__list li {
  display: grid;
  grid-template-columns: 7.5em 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hair);
  font-size: 0.9rem;
}

.news__list time {
  color: var(--green-deep);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 600px) {
  .news__list li {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .news__list time {
    font-size: 0.8rem;
  }
}

/* ---------- 共通セクション ---------- */
.section {
  padding: clamp(72px, 11vw, 140px) 0;
  scroll-margin-top: var(--header-h);
}

.sec-head {
  margin-bottom: clamp(28px, 4vw, 48px);
}

.sec-head__en {
  margin-bottom: 6px;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--green);
}

.sec-head__title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  line-height: 1.6;
  letter-spacing: 0.1em;
}

.sec-head__lead {
  max-width: 44em;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- アレルゲン表 ---------- */
.filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-bottom: 18px;
}

.filter__label {
  font-size: 0.85rem;
  color: var(--muted);
}

.filter__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter__btn {
  min-width: 64px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--hair-strong);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  transition:
    background-color 0.2s,
    color 0.2s;
}

.filter__btn:hover {
  background: var(--rice-light);
}

.filter__btn[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.filter__btn[aria-pressed="true"]::before {
  content: "×";
  margin-right: 6px;
}

.filter__count {
  margin-left: auto;
  font-size: 0.85rem;
  color: var(--green-deep);
}

.table-scroll {
  overflow-x: auto;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  -webkit-overflow-scrolling: touch;
}

.table-scroll:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

.a-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.a-table th,
.a-table td {
  padding: 14px 10px;
  border-bottom: 1px solid var(--hair);
  text-align: center;
  white-space: nowrap;
}

.a-table thead th {
  padding-top: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hair-strong);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
}

.a-table tbody tr:last-child th,
.a-table tbody tr:last-child td {
  border-bottom: 0;
}

.a-table .a-table__name {
  position: sticky;
  left: 0;
  z-index: 1;
  text-align: left;
  font-weight: 500;
  background: var(--white);
}

.a-table .a-table__price {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* 小麦の列だけ米色の帯を敷いて「全部−」を目立たせる */
.a-table .a-table__wheat {
  background: var(--rice-light);
}

.a-table thead .a-table__wheat {
  color: var(--ink);
  font-weight: 700;
}

.a-table .a-table__note {
  text-align: left;
  font-size: 0.82rem;
  color: var(--muted);
}

.yes,
.no {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  font-weight: 700;
}

.yes {
  border-radius: 50%;
  background: var(--green-pale);
  color: var(--green-deep);
}

.no {
  color: rgba(43, 46, 43, 0.4);
}

/* 絞り込みで外れた行は薄く */
.a-table tbody tr {
  transition: opacity 0.3s;
}

.a-table tbody tr.is-dim {
  opacity: 0.25;
}

.scroll-hint {
  display: none;
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 800px) {
  .scroll-hint {
    display: block;
  }

  .a-table .a-table__name {
    box-shadow: 1px 0 0 var(--hair);
  }
}

/* スマホ：固定する商品名の列を細くして、原材料の列が見えるように */
@media (max-width: 600px) {
  .a-table {
    min-width: 640px;
    font-size: 0.88rem;
  }

  .a-table .a-table__name {
    width: 8.5em;
    min-width: 8.5em;
    white-space: normal;
    line-height: 1.5;
  }

  .a-table th,
  .a-table td {
    padding: 12px 6px;
  }
}

.allergen__notes {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 12px 40px;
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 700px) {
  .allergen__notes {
    grid-template-columns: minmax(0, 1fr);
  }

  .filter__count {
    margin-left: 0;
    width: 100%;
  }
}

/* ---------- 専用工房 ---------- */
.kitchen {
  background: var(--rice-light);
}

.kitchen__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.kitchen__head {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.rules {
  border-top: 1px solid var(--hair-strong);
}

.rules__item {
  display: grid;
  grid-template-columns: 3.2em 1fr;
  column-gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--hair);
}

.rules__no {
  grid-row: span 2;
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--green);
}

.rules__item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.6;
}

.rules__item p {
  margin-top: 6px;
  font-size: 0.92rem;
  color: var(--muted);
}

@media (max-width: 800px) {
  .kitchen__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .kitchen__head {
    position: static;
  }

  .rules__item {
    grid-template-columns: 2.4em 1fr;
    column-gap: 10px;
  }
}

/* ---------- パンと焼き菓子 ---------- */
.items__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}

.item__photo img {
  width: 100%;
  object-fit: cover;
}

.item--main .item__photo img {
  aspect-ratio: 4 / 3;
}

.item--side .item__photo img {
  aspect-ratio: 7 / 7.6;
}

/* 小さい2点は少しずらして置く */
.item--side:last-child {
  margin-top: clamp(40px, 8vw, 120px);
}

.item__body {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 20px;
  margin-top: 18px;
}

.item__name {
  margin-top: 14px;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.6;
}

.item__body .item__name {
  margin-top: 0;
  font-size: 1.35rem;
}

.item__name span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--green-deep);
  font-variant-numeric: tabular-nums;
}

.item p {
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--muted);
}

.item__body p {
  margin-top: 0;
}

.menu-list {
  max-width: 560px;
  margin: clamp(48px, 7vw, 88px) 0 0 auto;
}

.menu-list__title {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--hair-strong);
}

.menu-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--hair);
  font-size: 0.93rem;
}

.menu-list li span:last-child {
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 900px) {
  .items__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .item--main {
    grid-column: 1 / -1;
  }

  .item--side:last-child {
    margin-top: 48px;
  }
}

@media (max-width: 600px) {
  .item__body {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .items__grid {
    gap: 28px 16px;
  }

  .item--side:last-child {
    margin-top: 32px;
  }

  .item--side .item__name {
    font-size: 0.98rem;
  }
}

/* ---------- 土曜の朝 ---------- */
.morning {
  padding-top: 0;
}

.morning__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.7fr);
  grid-template-areas: "a text b";
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.morning__photo--a {
  grid-area: a;
}

.morning__photo--b {
  grid-area: b;
  align-self: end;
}

.morning__photo img {
  width: 100%;
  object-fit: cover;
}

.morning__photo--a img {
  aspect-ratio: 1;
}

.morning__photo--b img {
  aspect-ratio: 7 / 5;
}

.morning__text {
  grid-area: text;
}

.morning__title {
  margin-bottom: 16px;
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.1em;
}

.morning__text p {
  font-size: 0.93rem;
}

.morning__small {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.85rem !important;
}

@media (max-width: 900px) {
  .morning__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr);
    grid-template-areas:
      "text text"
      "a b";
  }
}

/* ---------- 冷凍配送 ---------- */
.delivery {
  background: var(--green-deep);
  color: #fff;
}

.delivery .sec-head__en {
  color: var(--rice);
}

.delivery .sec-head__lead {
  color: rgba(255, 255, 255, 0.8);
}

.delivery .btn {
  margin-top: 24px;
  background: var(--white);
  border-color: var(--white);
  color: var(--green-deep);
}

.delivery .btn:hover {
  background: var(--rice);
}

.delivery__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.delivery .sec-head {
  margin-bottom: 0;
}

/* 表示ラベル風の定義リスト（配送・アクセスで共通） */
.spec {
  border-top: 1px solid currentColor;
}

.spec > div {
  display: grid;
  grid-template-columns: 6em 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.92rem;
}

.spec dt {
  opacity: 0.75;
}

.spec--access > div {
  border-bottom-color: var(--hair);
}

.spec--access {
  border-top-color: var(--hair-strong);
}

.spec--access dt {
  color: var(--muted);
  opacity: 1;
}

@media (max-width: 800px) {
  .delivery__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .spec > div {
    grid-template-columns: 5em 1fr;
    gap: 10px;
  }
}

/* ---------- 営業日カレンダー ---------- */
.calendar__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.cal-legend {
  display: grid;
  gap: 6px;
  margin-top: 24px;
  font-size: 0.85rem;
}

.cal-legend li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cal-legend__mark {
  width: 18px;
  height: 18px;
  border: 1px solid var(--hair);
}

.cal-legend__mark--open {
  background: var(--green-pale);
  border-color: transparent;
}

.cal-legend__mark--sat {
  background: var(--green);
  border-color: transparent;
}

.cal-legend__mark--special {
  background: var(--white);
  border: 1px solid var(--green-deep);
  box-shadow: inset 0 0 0 3px var(--white), inset 0 0 0 9px var(--rice);
}

.cal-tabs {
  display: flex;
  border-bottom: 1px solid var(--hair-strong);
}

.cal-tab {
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
}

.cal-tab[aria-selected="true"] {
  border-bottom-color: var(--green-deep);
  color: var(--ink);
  font-weight: 700;
}

.cal {
  padding-top: 14px;
}

.cal__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}

.cal__dow {
  padding: 4px 0;
  font-size: 0.75rem;
  text-align: center;
  color: var(--muted);
}

.cal__day {
  display: grid;
  place-items: center;
  aspect-ratio: 5 / 4;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
  color: rgba(43, 46, 43, 0.45);
}

.cal__day--open {
  background: var(--green-pale);
  color: var(--ink);
}

.cal__day--sat {
  background: var(--green);
  color: #fff;
}

.cal__day--special {
  outline: 1px solid var(--green-deep);
  outline-offset: -4px;
  background: var(--rice);
  color: var(--ink);
}

.cal__day--today {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cal-notes {
  margin-top: 16px;
  font-size: 0.85rem;
}

.cal-notes li {
  padding: 6px 0;
  border-bottom: 1px solid var(--hair);
}

.cal-notes time {
  display: inline-block;
  min-width: 4.5em;
  color: var(--green-deep);
  font-weight: 700;
}

@media (max-width: 800px) {
  .calendar__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .cal-legend {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- アクセス ---------- */
.access {
  border-top: 1px solid var(--hair);
}

.access__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.access__note {
  margin-top: 18px;
  font-size: 0.88rem;
  color: var(--muted);
}

.access__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.access__map {
  border: 1px solid var(--hair-strong);
  background: var(--rice-light);
}

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

@media (max-width: 800px) {
  .access__inner {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .access__buttons .btn {
    flex: 1 1 140px;
  }
}

/* ---------- Footer ---------- */
.footer {
  padding: 48px 0;
  background: var(--rice);
}

.footer__inner {
  display: grid;
  gap: 6px;
}

.footer__name {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.footer__name span {
  margin-right: 10px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.footer__addr {
  font-size: 0.85rem;
}

.footer__copy {
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--muted);
}

/* ---------- スクロールリビール ----------
   script.js が html に .reveal-ready を付けたときだけ隠す
   （script.js が動かなくても中身はそのまま見える） */
.reveal-ready [data-reveal] {
  opacity: 0;
  translate: 0 18px;
  transition:
    opacity 0.8s var(--ease-out),
    translate 0.8s 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;
  }
}
