/* Cafe&Baru Enka トップページ
   色は店舗ロゴ・紙メニューに合わせる: 昼 = ワイン色, 夜 = 紺 */

@font-face {
  font-family: "EnkaHand";
  src: url("../../fonts/enka-hand.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f7f1e6;
  --paper-deep: #efe4d1;
  --card: #fffdf8;
  --ink: #1e1916;
  --muted: #6a5c50;
  --line: rgba(60, 38, 22, 0.14);
  --wine: #7b1f2c;
  --wine-deep: #5e1520;
  --wine-soft: #f5e6e3;
  --navy: #1c3251;
  --navy-deep: #13233a;
  --wood: #22160f;
  --gold: #d9a54a;
  --radius: 10px;
  --shadow: 0 18px 40px rgba(45, 28, 16, 0.10);
  --font-body: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
  --font-hand: "EnkaHand", var(--font-body);
  --header-h: 64px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

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

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

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
}

[hidden] {
  display: none !important;
}

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

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

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 48px;
  padding: 0.7em 1.4em;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

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

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

.btn-ghost-light {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-outline {
  border-color: var(--ink);
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--ink);
}

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

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  color: #fff;
  transition: background-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.site-header.is-solid {
  background: rgba(247, 241, 230, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgba(45, 28, 16, 0.08);
  color: var(--ink);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  height: 36px;
  width: auto;
}

.brand .logo-dark,
.site-header.is-solid .brand .logo-light {
  display: none;
}

.site-header.is-solid .brand .logo-dark {
  display: block;
}

.site-nav {
  display: none;
}

.site-nav a {
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  opacity: 0.92;
}

.site-nav a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.site-nav .btn {
  min-height: 40px;
  padding: 0.45em 1.2em;
  opacity: 1;
}

.site-nav .btn:hover {
  text-decoration: none;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  border: 0;
  background: none;
  color: inherit;
  font-size: 1.4rem;
  cursor: pointer;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 49;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: calc(var(--header-h) + 16px) 24px 32px;
  background: var(--wood);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav a:not(.btn) {
  padding: 12px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-hand);
  font-size: 1.5rem;
  text-decoration: none;
}

.mobile-nav .btn {
  margin-top: 20px;
}

body.nav-open .site-header {
  background: transparent;
  box-shadow: none;
  color: #fff;
}

body.nav-open .site-header .logo-light {
  display: block;
}

body.nav-open .site-header .logo-dark {
  display: none;
}

@media (min-width: 900px) {
  .site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
  }

  .menu-toggle,
  .mobile-nav {
    display: none;
  }
}

/* ---------- ファーストビュー (写真スライドショー + 影) ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100svh;
  overflow: hidden;
  background: var(--wood);
  color: #fff;
}

.hero-slides,
.hero-slide,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}

.hero-slide.is-active {
  opacity: 1;
}

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

/* 最初のデザインと同じ考え方の影: 文字の下を暗くし、写真の見せたい側は明るく残す */
.hero-shade {
  background:
    linear-gradient(180deg, rgba(10, 8, 6, 0.5) 0%, rgba(10, 8, 6, 0.08) 22%, rgba(20, 14, 10, 0.55) 48%, rgba(20, 14, 10, 0.93) 78%, rgba(20, 14, 10, 0.97) 100%);
}

.hero-body {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--header-h) + 32svh);
  padding-bottom: 44px;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
}

.hero-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-title {
  margin-top: 10px;
  font-family: var(--font-hand);
  font-weight: normal;
  font-size: clamp(2.3rem, 10.5vw, 4.6rem);
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.hero-lead {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.98rem;
  line-height: 1.85;
}

.hero-lead span {
  display: inline-block;
}

.open-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  font-size: 0.88rem;
  line-height: 1.5;
}

.open-status .dot {
  width: 9px;
  height: 9px;
  flex: none;
  border-radius: 50%;
  background: #9a8f86;
}

.open-status[data-state="open"] .dot {
  background: #62c27b;
  box-shadow: 0 0 0 4px rgba(98, 194, 123, 0.22);
}

.open-status[data-state="soon"] .dot {
  background: var(--gold);
}

.hero-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
  text-shadow: none;
}

.hero-actions .btn {
  padding-inline: 0.8em;
}

.hero-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  text-decoration: none;
}

.hero-tel:hover {
  color: #fff;
  text-decoration: underline;
}

.hero-news {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  max-width: 34rem;
  margin-top: 22px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  color: #fff;
  text-decoration: none;
  text-shadow: none;
  transition: background-color 0.2s ease;
}

.hero-news:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hero-news-bell {
  color: var(--gold);
}

.hero-news-body {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.hero-news-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.hero-news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
}

.hero-news-meta:empty {
  display: none;
}

.hero-news-meta .news-tag {
  background: rgba(255, 255, 255, 0.9);
}

.hero-news-title {
  overflow: hidden;
  font-weight: 700;
  font-size: 0.92rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-news-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.hero-dots {
  position: absolute;
  right: 16px;
  bottom: 18px;
  z-index: 1;
  display: flex;
  gap: 6px;
}

.hero-dots span {
  width: 18px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
  transition: background-color 0.3s ease, width 0.3s ease;
}

.hero-dots span.is-active {
  width: 30px;
  background: #fff;
}

@media (max-height: 700px) and (max-width: 899px) {
  .hero-body {
    padding-top: calc(var(--header-h) + 18svh);
  }
}

@media (min-width: 900px) {
  .hero {
    align-items: center;
    min-height: min(100svh, 900px);
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(10, 8, 6, 0.9), rgba(41, 29, 19, 0.64) 48%, rgba(41, 29, 19, 0.28)),
      linear-gradient(180deg, rgba(10, 8, 6, 0.22), rgba(10, 8, 6, 0.72));
  }

  .hero-body {
    padding-top: calc(var(--header-h) + 48px);
    padding-bottom: 64px;
  }

  .hero-title {
    font-size: clamp(3rem, 5vw, 4.8rem);
    white-space: nowrap;
  }

  .hero-lead {
    font-size: 1.08rem;
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
  }

  .hero-dots {
    right: max(24px, calc((100vw - 1120px) / 2));
    bottom: 32px;
  }
}

/* 表示中の写真をゆっくり寄せる (動きを減らす設定の人には出さない) */
@media (prefers-reduced-motion: no-preference) {
  .hero-slide img {
    transform: scale(1.02);
    transition: transform 8s ease-out;
  }

  .hero-slide.is-active img {
    transform: scale(1.08);
  }
}

/* ---------- セクション共通 ---------- */
.section {
  padding: 72px 0;
}

.section-head {
  margin-bottom: 32px;
}

.kicker {
  color: var(--wine);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.section-title {
  margin-top: 6px;
  font-family: var(--font-hand);
  font-weight: normal;
  font-size: clamp(1.7rem, 6.4vw, 2.5rem);
  line-height: 1.35;
  letter-spacing: 0.04em;
}

.section-lead {
  margin-top: 12px;
  color: var(--muted);
}

@media (min-width: 900px) {
  .section {
    padding: 104px 0;
  }

  .section-head {
    margin-bottom: 44px;
  }
}

/* ---------- お知らせ ---------- */
.news {
  background: var(--paper-deep);
}

.news-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.news-list {
  display: grid;
  gap: 12px;
}

.news-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 6px 18px rgba(45, 28, 16, 0.05);
}

.news-item summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  align-items: center;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
}

.news-item summary::-webkit-details-marker {
  display: none;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.8rem;
}

.news-tag {
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--wine-soft);
  color: var(--wine);
  font-weight: 700;
  font-size: 0.75rem;
}

.news-title {
  grid-column: 1;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.55;
}

.news-excerpt {
  grid-column: 1;
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-item[open] .news-excerpt {
  display: none;
}

.news-chevron {
  grid-row: 1 / span 3;
  grid-column: 2;
  color: var(--muted);
  transition: transform 0.2s ease;
}

.news-item[open] .news-chevron {
  transform: rotate(180deg);
}

.news-body {
  padding: 0 18px 18px;
  color: #3d332c;
  font-size: 0.93rem;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.news-more {
  margin-top: 16px;
}

.news-empty {
  padding: 20px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

/* ---------- 昼と夜 ---------- */
.times {
  display: grid;
  gap: 20px;
}

.time-card {
  overflow: hidden;
  border-radius: 14px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.time-card-photo {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.time-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.time-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
  padding: 16px 20px;
  color: #fff;
}

.time-card.cafe .time-card-head {
  background: var(--wine);
}

.time-card.bar .time-card-head {
  background: var(--navy);
}

.time-card-head h3 {
  font-family: var(--font-hand);
  font-weight: normal;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
}

.time-card-head p {
  font-size: 0.85rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.time-card-body {
  padding: 20px;
}

.time-card-body > p {
  color: #3d332c;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 20px;
}

.chips li {
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.85rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  text-decoration: none;
}

.time-card.cafe .text-link {
  color: var(--wine);
}

.time-card.bar .text-link {
  color: var(--navy);
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.takeout-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: var(--paper-deep);
  font-size: 0.92rem;
}

.takeout-note strong {
  color: var(--wine);
}

@media (min-width: 760px) {
  .times {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

/* ---------- こだわり ---------- */
.concept {
  background: var(--paper);
}

.concept-grid {
  display: grid;
  gap: 28px;
}

.concept-photo {
  overflow: hidden;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

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

.points {
  display: grid;
  gap: 20px;
  margin-top: 24px;
  padding: 0;
  list-style: none;
  counter-reset: point;
}

.points li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 16px;
}

.points li::before {
  counter-increment: point;
  content: "0" counter(point);
  grid-row: 1 / span 2;
  color: var(--wine);
  font-family: var(--font-hand);
  font-size: 1.9rem;
  line-height: 1.1;
}

.points h3 {
  font-size: 1.08rem;
  line-height: 1.5;
}

.points p {
  color: var(--muted);
  font-size: 0.93rem;
}

@media (min-width: 900px) {
  .concept-grid {
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 56px;
  }
}

/* ---------- ギャラリー (横スワイプ) ---------- */
.gallery {
  background: var(--wood);
  color: #fff;
}

.gallery .kicker {
  color: var(--gold);
}

.gallery .section-lead {
  color: rgba(255, 255, 255, 0.72);
}

.gallery-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 78%;
  gap: 12px;
  padding: 4px 16px 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 16px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.gallery-rail figure {
  scroll-snap-align: start;
}

.gallery-rail img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.gallery-rail figcaption {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.85rem;
}

.gallery-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
}

@media (min-width: 760px) {
  .gallery-rail {
    grid-auto-columns: 40%;
  }
}

@media (min-width: 1200px) {
  .gallery-rail {
    grid-auto-columns: 30%;
    padding-inline: calc((100vw - 1120px) / 2);
    scroll-padding-inline: calc((100vw - 1120px) / 2);
  }
}

/* ---------- アクセス ---------- */
.access-grid {
  display: grid;
  gap: 24px;
}

.info-card {
  padding: 24px 20px;
  border-radius: 14px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.info-list {
  display: grid;
  gap: 14px;
}

.info-list > div {
  display: grid;
  grid-template-columns: 1.4em 1fr;
  gap: 2px 10px;
}

.info-list dt {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.info-list dd {
  grid-column: 2;
  font-size: 0.95rem;
  line-height: 1.7;
}

.info-list .icon {
  grid-row: 1 / span 2;
  margin-top: 4px;
  color: var(--wine);
}

.info-list small {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}

.info-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
}

.info-actions .btn {
  padding-inline: 0.6em;
}

.access-visual {
  display: grid;
  gap: 16px;
}

.signboard {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  background: var(--paper-deep);
}

.signboard img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}

.signboard p {
  font-size: 0.92rem;
}

.signboard strong {
  display: block;
  font-size: 1rem;
}

.map {
  overflow: hidden;
  border-radius: 14px;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  background: var(--paper-deep);
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (min-width: 900px) {
  .access-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
    gap: 40px;
  }

  .info-card {
    padding: 32px;
  }
}

/* ---------- 予約 ---------- */
.reserve {
  background: var(--wine);
  color: #fff;
  text-align: center;
}

.reserve .kicker {
  color: var(--gold);
}

.reserve .section-title {
  color: #fff;
}

.reserve .section-lead {
  color: rgba(255, 255, 255, 0.82);
}

.reserve-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.reserve-note {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

/* ---------- フッター ---------- */
.site-footer {
  padding: 56px 0 40px;
  background: var(--wood);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  text-align: center;
}

.site-footer .footer-logo {
  width: 150px;
  margin: 0 auto 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin-top: 20px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.admin-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 28px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  font-size: 0.82rem;
  text-decoration: none;
}

.admin-link:hover {
  background: rgba(255, 255, 255, 0.08);
}

.copyright {
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.75rem;
}

/* ---------- スマホ下部の固定ボタン ---------- */
.action-bar {
  position: fixed;
  inset: auto 0 0;
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  gap: 8px;
  background: rgba(247, 241, 230, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 -6px 24px rgba(45, 28, 16, 0.12);
  transform: translateY(110%);
  transition: transform 0.25s ease;
}

.action-bar.is-visible {
  transform: none;
}

.action-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 52px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
}

.action-bar a:first-child {
  background: var(--wine);
  color: #fff;
}

.action-bar a:not(:first-child) {
  border: 1px solid var(--line);
  background: var(--card);
}

.action-bar .icon {
  width: 20px;
  height: 20px;
}

@media (max-width: 899px) {
  .site-footer {
    padding-bottom: calc(40px + 76px);
  }
}

@media (min-width: 900px) {
  .action-bar {
    display: none;
  }
}

/* ---------- 表示アニメーション (動きを減らす設定の人には出さない) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

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

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