/* ============================================
   BAKERY GERMAN TEMPLATE
   ドイツパンの工房 — リネン × 墨 × 赤錆 × くすんだ金
   表と罫線でかっちり組む、マイスターの店
   ============================================ */

:root {
  /* 地の色 */
  --linen: #ebe6dc; /* リネン（背景） */
  --linen-deep: #e0d9cb;
  --paper: #f5f2eb; /* 表や枠の中の明るい紙 */

  /* 文字・アクセント */
  --sumi: #1f1d1a; /* 墨（文字・暗いセクション） */
  --sumi-soft: #4a4640;
  --rust: #8a2b1f; /* 赤錆（ボタン・強調。使いすぎない） */
  --rust-dark: #6c2017;
  --gold: #b8963a; /* くすんだ金（暗い面のラベル・細い線） */

  --text: var(--sumi);
  --muted: #6b655b;
  --line: rgba(31, 29, 26, 0.18);
  --line-strong: rgba(31, 29, 26, 0.7);

  /* フォント：欧文と数字は Bitter（スラブセリフ）、和文は BIZ UDPGothic */
  --font-serif: "Bitter", Georgia, serif;
  --font-body: "BIZ UDPGothic", "Hiragino Sans", "Yu Gothic", sans-serif;

  --container: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --radius: 2px; /* 角はほぼ立てる */

  --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.9;
  letter-spacing: 0.03em;
  color: var(--text);
  background: var(--linen);
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

p {
  margin: 0 0 1em;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.45;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

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

.section {
  padding: clamp(72px, 10vw, 128px) 0;
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 200;
  padding: 8px 16px;
  background: var(--sumi);
  color: var(--linen);
  text-decoration: none;
}

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

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

.sp-only {
  display: none;
}

/* ドイツ語の小さなラベル（見出しの上） */
.label {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--rust);
}

.label::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  margin-right: 10px;
  vertical-align: middle;
  background: currentColor;
}

.label--gold {
  color: var(--gold);
}

.section__title {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}

/* ドイツ語の品名（和名の上に小さく） */
.de {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--muted);
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 26px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  border: 1px solid var(--sumi);
  border-radius: var(--radius);
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.btn--dark {
  background: var(--rust);
  border-color: var(--rust);
  color: #fff;
}

.btn--dark:hover {
  background: var(--rust-dark);
  border-color: var(--rust-dark);
}

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

.btn--line:hover {
  background: var(--sumi);
  color: var(--linen);
}

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

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
  padding: 0 var(--gutter);
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  text-decoration: none;
}

.logo__de {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 0.01em;
}

.logo__ja {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

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

.nav__link {
  position: relative;
  display: block;
  padding: 6px 0;
  font-size: 0.9rem;
  text-decoration: none;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--rust);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}

.nav__link:hover::after {
  transform: scaleX(1);
}

.nav__tel {
  display: flex;
  flex-direction: column;
  padding-left: 22px;
  line-height: 1.3;
  text-decoration: none;
  border-left: 1px solid var(--line);
}

.nav__tel-label {
  font-size: 0.78rem;
  color: var(--muted);
}

.nav__tel-num {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.05rem;
}

.nav-toggle {
  display: none;
}

@media (max-width: 1080px) {
  .nav__tel {
    display: none;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    position: relative;
    z-index: 110;
    display: block;
    width: 48px;
    height: 48px;
    margin-right: -8px;
    padding: 0;
    background: none;
    border: 0;
    cursor: pointer;
  }

  .nav-toggle span {
    position: absolute;
    left: 12px;
    width: 24px;
    height: 2px;
    background: var(--sumi);
    transition: transform 0.3s var(--ease-out);
  }

  .nav-toggle span:nth-child(1) {
    top: 19px;
  }

  .nav-toggle span:nth-child(2) {
    top: 27px;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(-4px) rotate(-45deg);
  }

  /* ヘッダーの下から、フェード＋少し下へ */
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--gutter) 40px;
    background: var(--linen);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-16px);
    transition:
      opacity 0.3s ease,
      transform 0.3s var(--ease-out),
      visibility 0s linear 0.3s;
  }

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

  .nav__list {
    flex-direction: column;
    gap: 0;
  }

  .nav__link {
    padding: 16px 0;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
  }

  .nav__link::after {
    display: none;
  }

  .nav__tel {
    display: flex;
    margin-top: 28px;
    padding: 14px 18px;
    border: 1px solid var(--sumi);
  }
}

/* ---------- Hero（左右分割） ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
}

.hero__photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--sumi);
}

.hero__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* ごくゆっくり 1.04 → 1 に戻るだけ */
  animation: hero-photo 1.8s var(--ease-out) both;
}

.hero__caption {
  position: absolute;
  left: 20px;
  bottom: 18px;
  padding: 4px 10px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--linen);
  background: rgba(31, 29, 26, 0.6);
}

.hero__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vw, 88px) clamp(24px, 6vw, 96px);
}

.hero__since {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 28px;
  font-size: 0.85rem;
  color: var(--muted);
  animation: hero-in 0.8s var(--ease-out) 0.1s both;
}

.hero__since span {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--rust);
}

.hero__title {
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  line-height: 1.35;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}

.hero__line {
  display: block;
  animation: hero-in 0.8s var(--ease-out) both;
}

.hero__line:nth-child(1) {
  animation-delay: 0.2s;
}

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

.hero__line:nth-child(3) {
  animation-delay: 0.4s;
  color: var(--rust);
}

.hero__lead {
  max-width: 30em;
  margin-bottom: 32px;
  color: var(--sumi-soft);
  animation: hero-in 0.8s var(--ease-out) 0.5s both;
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  margin: 0 0 36px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
  animation: hero-in 0.8s var(--ease-out) 0.6s both;
}

.hero__facts div {
  padding: 12px 28px 12px 0;
}

.hero__facts div + div {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

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

.hero__facts dd {
  margin: 0;
  font-weight: 700;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: hero-in 0.8s var(--ease-out) 0.7s both;
}

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

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

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero__photo {
    height: 58vh;
    min-height: 340px;
    max-height: 560px;
  }

  .hero__body {
    padding: 40px var(--gutter) 56px;
  }
}

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

  .hero__facts div {
    padding-right: 12px;
  }

  .hero__facts div:nth-child(3) {
    grid-column: 1 / -1;
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .hero__actions .btn {
    flex: 1 1 100%;
  }
}

/* ---------- お知らせ ---------- */
.notice {
  background: var(--sumi);
  color: var(--linen);
}

.notice__inner {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.notice__label {
  flex: none;
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold);
}

.notice__list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
}

.notice__list li + li {
  margin-top: 4px;
}

.notice__list time {
  display: inline-block;
  width: 4em;
  font-family: var(--font-serif);
  color: var(--gold);
}

@media (max-width: 600px) {
  .notice__inner {
    flex-direction: column;
    gap: 6px;
  }

  .notice__list li {
    display: grid;
    grid-template-columns: 3.6em 1fr;
  }
}

/* ---------- パンの一覧表 ---------- */
.sortiment__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 24px 64px;
  align-items: end;
  margin-bottom: 36px;
}

.sortiment__head .section__title {
  margin-bottom: 0;
}

.sortiment__intro {
  margin: 0;
  color: var(--sumi-soft);
}

.sortiment__intro strong {
  color: var(--rust);
}

.filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.filter__btn {
  min-height: 44px;
  padding: 8px 18px;
  font: inherit;
  font-size: 0.9rem;
  color: var(--sumi);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}

.filter__btn:hover {
  background: var(--linen-deep);
}

.filter__btn.is-active {
  background: var(--sumi);
  color: var(--linen);
  border-color: var(--sumi);
}

.table-wrap {
  overflow-x: auto;
  background: var(--paper);
  border-top: 3px solid var(--sumi);
  border-bottom: 1px solid var(--sumi);
  -webkit-overflow-scrolling: touch;
}

.brot-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.brot-table th,
.brot-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--line);
}

.brot-table thead th {
  padding-top: 12px;
  padding-bottom: 12px;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--muted);
  white-space: nowrap;
  border-bottom: 1px solid var(--line-strong);
}

.brot-table tbody th {
  font-weight: 700;
  white-space: nowrap;
}

.brot-table td:last-child {
  font-size: 0.88rem;
  color: var(--sumi-soft);
  min-width: 15em;
}

.brot-table .num {
  font-family: var(--font-serif);
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.brot-table tbody tr {
  transition: background-color 0.2s ease;
}

.brot-table tbody tr:hover {
  background: rgba(184, 150, 58, 0.1);
}

.brot-table tbody tr[hidden] {
  display: none;
}

/* ライ麦の割合：細い棒と数字 */
.rye {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-weight: 600;
  white-space: nowrap;
}

.rye::before {
  content: "";
  width: 64px;
  height: 8px;
  background:
    linear-gradient(var(--sumi), var(--sumi)) left / calc(var(--rye) * 1%) 100% no-repeat,
    var(--linen-deep);
}

.table-note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--muted);
}

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

/* ---------- ブレッツェル・週末限定（暗い面） ---------- */
.brezel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--sumi);
  color: #e9e3d6;
}

.brezel__photo {
  position: relative;
  min-height: 520px;
}

.brezel__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 写真の右側（ブレッツェル）が切れないように寄せる */
  object-position: 100% 60%;
}

.brezel__body {
  padding: clamp(56px, 8vw, 104px) clamp(24px, 6vw, 88px);
}

.brezel__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: 0.06em;
  margin-bottom: 22px;
  color: #fff;
}

.brezel__times {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 28px 0 20px;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(184, 150, 58, 0.5);
  border-bottom: 1px solid rgba(184, 150, 58, 0.5);
}

.brezel__times li {
  flex: 1 1 0;
  min-width: 120px;
  padding: 14px 16px 12px 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #bdb5a5;
}

.brezel__times li + li {
  padding-left: 16px;
  border-left: 1px solid rgba(184, 150, 58, 0.3);
}

.brezel__times span {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--gold);
}

.brezel__price strong {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: #fff;
}

.brezel__weekend {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(233, 227, 214, 0.15);
}

.brezel__sub {
  font-size: 1.25rem;
  margin-bottom: 18px;
  color: #fff;
}

.weekend-list {
  margin: 0;
}

.weekend-list div {
  display: grid;
  grid-template-columns: 13em 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dotted rgba(233, 227, 214, 0.25);
}

.weekend-list dt {
  font-weight: 700;
  color: #fff;
}

.weekend-list dt .de {
  color: var(--gold);
}

.weekend-list dd {
  margin: 0;
  font-size: 0.92rem;
  color: #c9c1b1;
}

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

  .brezel__photo {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .weekend-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* ---------- ブロートツァイト ---------- */
.brotzeit__inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
}

.brotzeit__text {
  grid-column: 1 / 6;
  grid-row: 1;
  padding-top: 24px;
}

.brotzeit__photo {
  margin: 0;
}

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

.brotzeit__photo--a {
  grid-column: 6 / 13;
  grid-row: 1;
  aspect-ratio: 9 / 7;
}

.brotzeit__photo--b {
  grid-column: 1 / 5;
  grid-row: 2;
  aspect-ratio: 7 / 9;
  margin-top: 8px;
}

/* 組み合わせ：メニュー札のように罫線で区切る */
.pairing {
  grid-column: 6 / 13;
  grid-row: 2;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: pair;
  border-top: 3px double var(--sumi);
}

.pairing__item {
  position: relative;
  padding: 18px 0 18px 52px;
  border-bottom: 1px solid var(--line);
  counter-increment: pair;
}

.pairing__item::before {
  content: counter(pair, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 16px;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gold);
}

.pairing__brot {
  margin: 0;
  font-weight: 700;
  font-size: 1.05rem;
}

.pairing__with {
  margin: 2px 0 6px;
  color: var(--rust);
  font-weight: 700;
  font-size: 0.95rem;
}

.pairing__memo {
  margin: 0;
  font-size: 0.9rem;
  color: var(--sumi-soft);
}

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

  .brotzeit__text {
    grid-column: 1 / -1;
    grid-row: auto;
    padding-top: 0;
  }

  .brotzeit__photo--a {
    grid-column: 1 / 2;
    grid-row: auto;
    aspect-ratio: 3 / 4;
  }

  .brotzeit__photo--b {
    grid-column: 2 / 3;
    grid-row: auto;
    aspect-ratio: 3 / 4;
    margin-top: 40px;
  }

  .pairing {
    grid-column: 1 / -1;
    grid-row: auto;
    margin-top: 24px;
  }
}

/* ---------- マイスター ---------- */
.meister {
  background: var(--linen-deep);
}

.meister__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
}

.meister__photos {
  position: relative;
  padding-bottom: 72px;
}

.meister__photo {
  margin: 0;
}

.meister__photo--main {
  width: 82%;
  aspect-ratio: 4 / 5;
}

.meister__photo--sub {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  aspect-ratio: 1;
  border: 8px solid var(--linen-deep);
}

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

.meister__quote {
  margin: 0 0 24px;
  padding-left: 20px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.9;
  border-left: 3px solid var(--rust);
}

/* 経歴：資格証のような二重線の枠 */
.meister__career {
  margin: 32px 0 0;
  padding: 18px 22px;
  background: var(--paper);
  border: 3px double var(--gold);
}

.meister__career div {
  display: grid;
  grid-template-columns: 4em 1fr;
  gap: 12px;
  padding: 8px 0;
}

.meister__career div + div {
  border-top: 1px solid var(--line);
}

.meister__career dt {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--rust);
}

.meister__career dd {
  margin: 0;
  font-size: 0.92rem;
}

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

  .meister__photos {
    max-width: 520px;
  }
}

/* ---------- スライス・保存 ---------- */
.service__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}

.slice-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-strong);
}

.slice-list li {
  display: grid;
  grid-template-columns: 40px 5.5em 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--line);
}

.slice-list b {
  font-family: var(--font-serif);
  font-size: 1.05rem;
}

/* 厚さを線の太さで見せる（--mm を px に） */
.slice-bar {
  justify-self: center;
  width: calc(var(--mm) * 2px);
  height: 36px;
  background: #8f6a43;
  border-radius: 1px;
}

.slice-bar--half {
  width: 20px;
  background: linear-gradient(90deg, #8f6a43 50%, transparent 50%);
  outline: 1px dashed #8f6a43;
  outline-offset: -1px;
}

.service__sub {
  font-size: 1.2rem;
  margin-bottom: 16px;
}

/* ---------- アコーディオン（grid-template-rows 0fr → 1fr） ---------- */
.accordion {
  border-top: 1px solid var(--line-strong);
}

.accordion__item {
  border-bottom: 1px solid var(--line);
}

.accordion__heading {
  font-size: inherit;
}

.accordion__btn {
  position: relative;
  display: block;
  width: 100%;
  min-height: 56px;
  padding: 16px 48px 16px 0;
  font: inherit;
  font-weight: 700;
  line-height: 1.6;
  text-align: left;
  color: var(--sumi);
  background: none;
  border: 0;
  cursor: pointer;
}

.accordion__btn:hover {
  color: var(--rust);
}

.accordion__icon {
  position: absolute;
  right: 8px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  transition: transform 0.35s var(--ease-out);
}

.accordion__icon::before,
.accordion__icon::after {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 2px;
  background: currentColor;
}

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

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

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

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

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

.accordion__inner p {
  margin: 0;
  padding: 0 8px 20px 0;
  font-size: 0.93rem;
  color: var(--sumi-soft);
}

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

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

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

.access__table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--line-strong);
}

.access__table th,
.access__table td {
  padding: 13px 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.access__table th {
  width: 5.5em;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--muted);
  padding-top: 15px;
}

.access__table a {
  display: inline-block;
  padding: 8px 0;
  margin: -8px 0;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--rust);
}

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

.access__map iframe {
  display: block;
  width: 100%;
  height: clamp(300px, 40vw, 440px);
  border: 0;
  border-top: 3px solid var(--sumi);
  filter: grayscale(0.4) sepia(0.15);
}

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

/* ---------- Footer ---------- */
.footer {
  padding: 48px 0 32px;
  background: var(--sumi);
  color: #c9c1b1;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
}

.footer__de {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff;
}

.footer__ja {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
}

.footer__text {
  margin: 0;
  font-size: 0.88rem;
}

.footer__copy {
  flex-basis: 100%;
  margin: 16px 0 0;
  padding-top: 16px;
  font-family: var(--font-serif);
  font-size: 0.75rem;
  opacity: 0.7;
  border-top: 1px solid rgba(201, 193, 177, 0.2);
}

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

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

/* ---------- スマホ ---------- */
@media (max-width: 600px) {
  .sp-only {
    display: inline;
  }

  .section {
    padding: 64px 0;
  }
}

/* ---------- 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;
    transform: none !important;
  }
}

/* ---------- 追加の調整 ---------- */
/* 一覧表：横スクロールしても品名の列は左に残す */
.brot-table tbody th,
.brot-table thead th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--paper);
}

.brot-table tbody th {
  box-shadow: 1px 0 0 var(--line);
}

/* スマホ：ブレッツェルの時刻は3列のまま小さく */
@media (max-width: 600px) {
  .brezel__times {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .brezel__times li {
    min-width: 0;
    padding: 12px 8px 10px 0;
  }

  .brezel__times li + li {
    padding-left: 10px;
  }

  .brezel__times span {
    font-size: 1.4rem;
  }
}

/* 日持ち・ライ麦の列は折り返さない */
.brot-table td:nth-child(2),
.brot-table td:nth-child(5) {
  white-space: nowrap;
}
