/* ==========================================================================
   BunnyCafe EXTA — 公開サイト（昼の森）
   新しいワールド（ガラスの天井・大きな木・鳥かご）に合わせた、クリーム色・若草色・木の茶色のデザイン。
   ※ スタッフページは、別のファイル（style.css / staff.css）を使っている
   ========================================================================== */

:root {
  --cream: #F6F1E4;
  --cream-2: #EFE8D3;
  --paper: #FBF7EC;
  --leaf: #4E7A44;
  --leaf-d: #2F4A33;
  --leaf-dd: #1F3322;
  --moss: #8DAA6B;
  --sage: #DCE6C9;
  --wood: #8A5A36;
  --wood-d: #5C3B22;
  --gold: #C9A24B;
  --gold-l: #E8CA82;
  --autumn: #E0B23A;
  --ink: #243628;
  --ink-soft: #4d5f50;

  --sec-pad: clamp(76px, 10vw, 130px);

  --serif: "Shippori Mincho", serif;
  --sans: "Shippori Mincho", serif;
  --en: "Shippori Mincho", serif;

  /* 文字の大きさは、この6段階だけを使う（太さは、すべて同じ） */
  --fs-xs: 0.8rem;
  --fs-s: 0.92rem;
  --fs-m: 1.1rem;
  --fs-l: 1.25rem;
  --fs-xl: 1.55rem;
  --fs-title: clamp(1.8rem, 3.6vw, 2.6rem);

  --link: #8A5326;
  --link-u: #C9A24B;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-weight: inherit; }

@media (max-width: 860px) {
  :root {
    /* スマホの文字は、2種類だけ: 本文（12px・店舗情報の文字と同じ）と、見出し（14px） */
    --fs-body: 12px;
    --fs-head: 14px;
    --fs-xs: var(--fs-body);
    --fs-s: var(--fs-body);
    --fs-m: var(--fs-body);
    --fs-l: var(--fs-head);
    --fs-xl: var(--fs-head);
    --fs-title: var(--fs-head);
  }
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}

html.intro-locked { overflow: hidden; }

body {
  font-family: var(--sans);
  font-size: var(--fs-m);
  font-weight: 500;
  line-height: 2;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  word-break: auto-phrase;
  line-break: strict;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(28px, 7vw, 48px);
}

section { position: relative; padding: var(--sec-pad) 0; }

/* メニューから飛んだとき、見出しが、ヘッダーのすぐ下に出るようにする（セクションの上の余白の分だけ、さらに下へ進める） */
section[id] { scroll-margin-top: calc(var(--sec-pad) * -1 + 24px); }
.hero { scroll-margin-top: 0; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 16px 36px;
  border-radius: 999px;
  font-family: inherit;
  font-size: var(--fs-m);
  font-weight: 500;
  letter-spacing: 0.04em;
  background: transparent;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.btn-leaf { background: var(--leaf); color: #fff; box-shadow: 0 12px 26px -12px rgba(47, 74, 51, 0.8); }
.btn-leaf:hover { background: var(--leaf-d); transform: translateY(-3px); }

.btn-sun { background: linear-gradient(120deg, var(--gold), var(--gold-l)); background-origin: border-box; color: #2a1f08; box-shadow: 0 12px 26px -12px rgba(150, 110, 20, 0.7); }
.btn-sun:hover { transform: translateY(-3px); }

.btn-out { border-color: #fff; color: #fff; background: rgba(20, 40, 24, 0.28); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.btn-out:hover { background: rgba(255, 255, 255, 0.2); transform: translateY(-3px); }

.btn-line { border-color: var(--leaf); color: var(--leaf-d); }
.btn-line:hover { background: var(--sage); }

/* 来店予約の受付を終了しているとき */
.btn.is-closed,
.btn.is-closed:hover {
  background: rgba(36, 54, 40, 0.14);
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
  box-shadow: none;
  transform: none;
  text-decoration: line-through;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(78, 122, 68, 0.22);
  transition: box-shadow 0.3s ease;
}

/* ぼかしは、疑似要素に付ける（ヘッダー本体に付けると、スマホの全画面メニューの位置がずれる） */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(246, 241, 228, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(31, 51, 34, 0.6); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px clamp(24px, 6vw, 40px);
}

.logo {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--leaf-d);
}

.logo-mark { display: none; }

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

.logo-name {
  order: -1;
  font-family: var(--en);
  font-weight: 500;
  font-size: 1.6rem;
  letter-spacing: 0.14em;
}

.logo-genre {
  font-family: var(--sans);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--leaf);
}

.nav-list { display: flex; align-items: center; gap: clamp(12px, 2vw, 26px); }

.nav-link {
  padding: 6px 2px;
  font-family: var(--sans);
  font-size: var(--fs-s);
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-link:hover { color: var(--leaf); border-color: var(--leaf); }

.nav-go { padding: 8px 18px; border-radius: 999px; background: var(--leaf); color: #fff; border: 0; }
.nav-go:hover { background: var(--leaf-d); color: #fff; }

.nav-toggle {
  position: relative;
  z-index: 2;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--leaf);
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Section heads
   ========================================================================== */

.head { margin-bottom: clamp(34px, 5vw, 60px); }

.head .section-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--en);
  font-style: normal;
  font-weight: 500;
  font-size: var(--fs-xl);
  line-height: 1.5;
  color: var(--leaf);
}

.head .section-eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--moss); border-radius: 2px; }
.head .section-eyebrow::after { content: "🍃"; font-style: normal; font-size: 0.85em; }

.head .section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: var(--fs-title);
  line-height: 1.4;
  color: var(--leaf-dd);
  text-wrap: balance;
}

.head .section-lead { margin-top: 10px; color: var(--ink-soft); max-width: 36em; }

.head.is-center { text-align: center; }
.head.is-center .section-eyebrow { justify-content: center; }
.head.is-center .section-lead { margin-inline: auto; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: 0;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--leaf-dd);
}

/* 背景の写真（1枚でも、複数でも使える）。写真の上に、全体を暗くする膜（scrim）をかぶせて、どんな写真でも、文字が読みやすくする */
.hero-slides { position: absolute; inset: 0; overflow: hidden; }

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 45%;
  filter: brightness(0.82) saturate(0.95);
  opacity: 0;
  animation: heroSlide 36s linear infinite;
}

/* 写真が1枚のときは、ずっと表示して、ゆっくり動かすだけ */
.hero-slide:only-child { opacity: 1; animation: drift 30s ease-in-out infinite alternate; }

/* 複数のとき（最大6枚）は、6秒ごとに、切り替える */
.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 6s; }
.hero-slide:nth-child(3) { animation-delay: 12s; }
.hero-slide:nth-child(4) { animation-delay: 18s; }
.hero-slide:nth-child(5) { animation-delay: 24s; }
.hero-slide:nth-child(6) { animation-delay: 30s; }

@keyframes heroSlide {
  0%   { opacity: 0; transform: scale(1); }
  5%   { opacity: 1; }
  17%  { opacity: 1; }
  22%  { opacity: 0; transform: scale(1.07); }
  100% { opacity: 0; transform: scale(1.07); }
}

@keyframes drift { from { transform: scale(1.04); } to { transform: scale(1.12) translateX(-1.5%); } }

.hero-slides::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 28, 17, 0.62) 0%, rgba(14, 28, 17, 0.5) 30%, rgba(14, 28, 17, 0.6) 60%, rgba(14, 28, 17, 0.9) 100%),
    rgba(14, 28, 17, 0.14);
}

.hero { --hero-w: 1320px; }

/* トップだけ、中身の幅を、少し広げる。左の文字と、右上の札を、同じ枠の左右の端にそろえて、全体が、画面の中心にくるようにする */
.hero-inner {
  position: relative;
  width: 100%;
  max-width: var(--hero-w);
  padding-top: 130px;
  padding-bottom: clamp(110px, 13vw, 150px);
}

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

.hero-chips span {
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(246, 241, 228, 0.92);
  color: var(--leaf-d);
  font-weight: 500;
  font-size: var(--fs-xs);
}

.hero-eyebrow {
  margin-bottom: 8px;
  font-family: var(--en);
  font-size: var(--fs-s);
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 10px #000;
}

.hero-logo-img {
  width: min(84%, 540px);
  height: auto;
  opacity: 0;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.7));
}

.hero-logo-img.is-revealed { animation: heroLogoFlicker 2s linear both; }

@keyframes heroLogoFlicker {
  0%   { opacity: 0; }
  3%   { opacity: 1; }
  6%   { opacity: 0.2; }
  9%   { opacity: 1; }
  12%  { opacity: 0.15; }
  15%  { opacity: 1; }
  18%  { opacity: 0.1; }
  21%  { opacity: 0.9; }
  25%  { opacity: 0.1; }
  100% { opacity: 1; }
}

.hero-copy {
  margin: 18px 0 28px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  line-height: 2;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* 吊るされた札（次回営業日。管理画面で設定する） */
.hero-next {
  position: absolute;
  right: max(clamp(28px, 7vw, 48px), calc((100% - var(--hero-w)) / 2 + clamp(28px, 7vw, 48px)));
  top: 56px;
  z-index: 3;
  transform-origin: 50% 0;
  animation: sway 6s ease-in-out infinite;
  transition: opacity 0.6s ease;
}

@keyframes sway { 0%, 100% { transform: rotate(3deg); } 50% { transform: rotate(-3deg); } }

.hero-next { --hang: clamp(34px, 7vw, 90px); }

/* 吊り紐の分の高さだけ、場所を空けておく（紐そのものは、札の穴から描く） */
.hero-next::before {
  content: "";
  display: block;
  height: var(--hang);
}

/* 読み込み中は、場所だけ空けておく（表示が切り替わって、画面がずれないように） */
.hero-next.is-pending { visibility: hidden; opacity: 0; }

.hero-next-card {
  position: relative;
  padding: 20px 26px 18px;
  border-radius: 14px;
  background: linear-gradient(160deg, #fbf3dc, #efe2bd);
  color: var(--wood-d);
  text-align: center;
  border: 2px solid var(--wood);
  box-shadow: 0 18px 30px -12px rgba(0, 0, 0, 0.6);
}

/* 吊り紐と札の穴は、どちらも札の真ん中(left: 50%)から描く。紐の先は穴の中心まで届く */
.hero-next-card::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 1px);
  width: 2px;
  height: calc(var(--hang) + 3px);
  margin-left: -1px;
  background: linear-gradient(#e8dcc0, #a8895a);
}

.hero-next-card::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
  left: 50%;
  top: -8px;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  background: var(--leaf-dd);
  border: 2px solid var(--wood);
}

.hero-next-label { display: block; font-family: var(--en); font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0.3em; line-height: 1.6; color: var(--leaf); }

.hero-next b {
  display: block;
  font-family: var(--serif);
  font-size: var(--fs-l);
  line-height: 1.4;
  white-space: nowrap;
}

/* 舞う葉 */
.leaves { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 2; }

.leaves i {
  position: absolute;
  top: -6%;
  width: 14px;
  height: 20px;
  border-radius: 0 100% 0 100%;
  background: var(--autumn);
  opacity: 0.9;
  animation: fall 14s linear infinite;
}

.leaves i:nth-child(1) { left: 6%;  animation-delay: -2s;  scale: 1.2; }
.leaves i:nth-child(2) { left: 18%; animation-delay: -8s;  background: #cf9a2c; animation-duration: 17s; }
.leaves i:nth-child(3) { left: 31%; animation-delay: -5s;  background: var(--moss); }
.leaves i:nth-child(4) { left: 46%; animation-delay: -11s; animation-duration: 19s; }
.leaves i:nth-child(5) { left: 58%; animation-delay: -1s;  background: #e9c25a; }
.leaves i:nth-child(6) { left: 70%; animation-delay: -7s;  background: var(--moss); animation-duration: 16s; }
.leaves i:nth-child(7) { left: 82%; animation-delay: -13s; }
.leaves i:nth-child(8) { left: 92%; animation-delay: -4s;  background: #cf9a2c; }

@keyframes fall {
  0%   { transform: translate(0, 0) rotate(0); opacity: 0; }
  8%   { opacity: 0.9; }
  50%  { transform: translate(40px, 55vh) rotate(180deg); }
  100% { transform: translate(-30px, 110vh) rotate(360deg); opacity: 0.2; }
}

.wave { position: absolute; left: 0; right: 0; height: 60px; pointer-events: none; line-height: 0; }
.wave svg { width: 100%; height: 100%; display: block; }
.wave.top { top: -59px; }
.wave.bottom { bottom: -1px; }

/* ==========================================================================
   Concept
   ========================================================================== */

.concept-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}

.concept-text p {
  margin-bottom: 1.2em;
  font-family: var(--serif);
  font-size: var(--fs-m);
  line-height: 2.2;
}

.blob-wrap { position: relative; max-width: 420px; justify-self: end; }

.blob-wrap::before {
  content: "";
  position: absolute;
  inset: -18px -20px auto auto;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--sage);
  z-index: -1;
}


.blob {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 46% 54% 42% 58% / 40% 46% 54% 60%;
  overflow: hidden;
  border: 8px solid #fff;
  box-shadow: 0 26px 50px -24px rgba(31, 51, 34, 0.6);
}

.blob img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 50%; }

.concept-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 26px);
  margin-top: clamp(44px, 6vw, 76px);
}

.point-card {
  position: relative;
  padding: 34px 28px 30px;
  background: var(--paper);
  border-radius: 6px 54px 6px 54px;
  border: 2px solid var(--sage);
  box-shadow: 0 18px 30px -22px rgba(31, 51, 34, 0.55);
}

.point-no { position: absolute; right: 20px; top: 16px; font-family: var(--en); font-style: normal; font-weight: 500; font-size: clamp(1.7rem, 5vw, 2.2rem); color: var(--sage); }

.point-ico {
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--leaf);
  font-size: 1.5rem;
}

.point-card h3 { margin-bottom: 6px; font-family: var(--serif); font-size: var(--fs-l); line-height: 1.5; color: var(--leaf-dd); }
.point-card p { font-size: var(--fs-m); line-height: 1.95; color: var(--ink-soft); }

/* ==========================================================================
   Character（ロパンくん）
   ========================================================================== */

.mascot { background: var(--sage); overflow: hidden; }

.mascot::before {
  content: "";
  position: absolute;
  left: -8%;
  top: -10%;
  width: 38%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(141, 170, 107, 0.3);
}

/* 見出しは、どの画面幅でも1行に収める（幅に合わせて文字サイズを縮める） */
.mascot .section-title {
  white-space: nowrap;
  letter-spacing: 0;
  font-size: min(var(--fs-title), calc((100vw - 62px) / 21.3));
  text-wrap: nowrap;
}

.mascot-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}

.mascot-visual { text-align: center; }

/* 黒い体が背景に埋もれないよう、後ろに明るいステージ（丸い光）を置く */
.mascot-stage {
  position: relative;
  display: block;
  width: min(400px, 100%);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, #fffaf0, #fbeec8 48%, #f0cf7a 80%, rgba(240, 207, 122, 0.3));
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.55), 0 30px 60px -26px rgba(31, 51, 34, 0.6);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.mascot-stage:focus-visible { outline: 3px solid var(--leaf); outline-offset: 10px; }

/* 回る葉の輪 */
.mascot-ring {
  position: absolute;
  inset: -22px;
  border: 2px dashed rgba(78, 122, 68, 0.55);
  border-radius: 50%;
  animation: spinCw 70s linear infinite;
  pointer-events: none;
}


@keyframes spinCw { to { transform: rotate(360deg); } }

.mascot-img {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 13%;
  width: 88%;
  height: auto;
  margin: 0 auto;
  /* 見た目の中心を丸い台に合わせるため、少し右・上へずらしている */
  translate: 3% 0;
  filter: drop-shadow(0 12px 12px rgba(70, 35, 0, 0.3));
  animation: mascotBob 3.4s ease-in-out infinite;
  pointer-events: none;
}

.mascot-stage.is-hop .mascot-img { animation: mascotHop 0.75s cubic-bezier(0.3, 1.6, 0.5, 1); }

.mascot-hint { margin-top: 26px; font-size: var(--fs-s); font-weight: 500; letter-spacing: 0.12em; color: var(--leaf); animation: hintPulse 2.4s ease-in-out infinite alternate; }

@keyframes hintPulse { from { opacity: 0.55; } to { opacity: 1; } }

/* 名前の由来: ロップイヤー ＋ ラパン ＝ ロパンくん */
.mascot-origin { display: flex; flex-wrap: wrap; align-items: stretch; gap: 6px; margin-bottom: 22px; }
.mascot-origin > .mascot-op { align-self: center; }

.mascot-chip {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 7px 14px;
  line-height: 1.5;
  border-radius: 14px;
  background: #fff;
  border: 2px solid var(--moss);
}

.mascot-chip b { font-family: var(--serif); font-weight: 500; font-size: var(--fs-l); color: var(--leaf-dd); }
.mascot-chip small { font-size: var(--fs-xs); color: var(--ink-soft); }
.mascot-op { font-size: var(--fs-l); font-weight: 500; color: var(--leaf); }

/* 「＝」と「ロパンくん」は、いつも同じ行に並べる */
.mascot-result { display: inline-flex; align-items: stretch; gap: 8px; }
.mascot-result > .mascot-op { align-self: center; }
.mascot-chip-result { justify-content: center; }

.mascot-chip-result { background: var(--leaf); border-color: var(--leaf); }
.mascot-chip-result b { color: #fff; font-size: var(--fs-l); }

.mascot-text p { margin-bottom: 1em; font-family: var(--serif); font-size: var(--fs-m); line-height: 2.15; line-break: strict; text-wrap: pretty; }

.mascot-bubble {
  position: relative;
  margin: 26px 0 0;
  padding: 22px 26px;
  background: #fff;
  border-radius: 28px 28px 28px 6px;
  box-shadow: 0 18px 30px -20px rgba(31, 51, 34, 0.6);
}

.mascot-bubble figcaption { font-family: var(--en); font-size: var(--fs-s); font-weight: 500; letter-spacing: 0.2em; color: var(--leaf); }

.mascot-bubble blockquote { margin: 2px 0 0; font-family: var(--serif); font-weight: 500; font-size: var(--fs-l); line-height: 1.9; color: var(--leaf-dd); line-break: strict; text-wrap: pretty; }

/* タップで飛び散るハート・星 */
.mascot-pop {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  pointer-events: none;
  text-shadow: 0 0 8px currentColor;
  animation: mascotPop var(--dur, 1s) ease-out forwards;
}

/* スクロールして見えたとき、ふわっと現れる */
.mascot.reveal-ready .mascot-visual,
.mascot.reveal-ready .mascot-text {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.mascot.reveal-ready .mascot-text { transition-delay: 0.18s; }
.mascot.reveal-ready.is-in .mascot-visual,
.mascot.reveal-ready.is-in .mascot-text { opacity: 1; transform: none; }

@keyframes mascotBob {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%      { transform: translateY(-12px) rotate(1deg); }
}

@keyframes mascotHop {
  0%   { transform: translateY(0) scale(1, 1); }
  18%  { transform: translateY(6px) scale(1.08, 0.9); }
  45%  { transform: translateY(-46px) scale(0.95, 1.07) rotate(-4deg); }
  70%  { transform: translateY(0) scale(1.06, 0.93); }
  85%  { transform: translateY(-8px) scale(0.99, 1.01); }
  100% { transform: translateY(0) scale(1, 1); }
}

@keyframes mascotPop {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.3); }
  15%  { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1.2) rotate(var(--rot)); }
}

/* ==========================================================================
   Menu（木の板）
   ========================================================================== */

.menu { background: linear-gradient(180deg, var(--wood), var(--wood-d)); color: #fff; }

.menu::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.05) 0 2px, transparent 2px 9px);
  pointer-events: none;
}

.menu .wrap { position: relative; z-index: 1; }
.menu .head .section-eyebrow { color: var(--gold-l); }
.menu .head .section-eyebrow::before { background: var(--gold-l); }
.menu .head .section-title { color: #fff8e6; }
.menu .head .section-lead { color: #f0dfc4; }

.menu-reveal { display: flex; }

.menu-reveal-panel {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.7s ease, opacity 0.5s ease, margin-top 0.5s ease;
}

.menu-reveal-panel.is-visible { max-height: 4000px; opacity: 1; margin-top: 56px; }

.signs { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 34px); padding-bottom: 8px; }

.sign {
  position: relative;
  margin-top: 30px;
  padding: 46px 28px 28px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 10px;
  box-shadow: 0 26px 40px -22px rgba(0, 0, 0, 0.7);
}


.sign h3 {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: -20px;
  transform: translateX(-50%);
  box-sizing: border-box;
  width: 9.6em;
  padding: 6px 0;
  text-align: center;
  border-radius: 999px;
  background: var(--leaf);
  color: #fff;
  font-family: var(--en);
  font-style: normal;
  font-weight: 500;
  font-size: var(--fs-xl);
  letter-spacing: 0.1em;
  border: 3px solid var(--paper);
  white-space: nowrap;
}

.sign li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1.5px dotted rgba(78, 122, 68, 0.5);
  font-family: var(--serif);
  font-weight: 500;
}

.sign li:last-child { border-bottom: 0; }
.menu-item-note { display: block; font-family: var(--sans); font-size: var(--fs-s); font-weight: 500; color: var(--ink-soft); }

.menu-tags { display: inline-flex; gap: 6px; margin-left: 8px; white-space: nowrap; }
.menu-tag { padding: 2px 9px; border-radius: 999px; color: #fff; font-family: var(--sans); font-size: var(--fs-xs); font-weight: 500; }
.menu-tag-hot { background: #c5563b; }
.menu-tag-iced { background: #3b8fb0; }

/* ==========================================================================
   Reservation（来店予約）
   ========================================================================== */

.reserve-next { text-align: center; margin: -18px 0 36px; color: var(--ink-soft); }
.reserve-next b { font-family: var(--serif); font-size: var(--fs-l); color: var(--leaf-d); }

.reserve-card {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 60px) clamp(22px, 5vw, 56px);
  background: var(--paper);
  border-radius: 36px;
  border: 3px solid var(--leaf);
  box-shadow: 0 0 0 9px var(--sage), 0 34px 60px -30px rgba(31, 51, 34, 0.7);
}

.reserve-card::before {
  content: "🌿";
  position: absolute;
  left: 50%;
  top: -34px;
  width: 68px;
  height: 68px;
  margin-left: -34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #78a366, var(--leaf) 60%, var(--leaf-d));
  border: 3px solid var(--paper);
  font-size: 1.8rem;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.3);
}

.reserve-heading { text-align: center; margin-bottom: 28px; font-family: var(--serif); font-size: var(--fs-l); color: var(--leaf-dd); }

.reserve-steps { position: relative; margin-bottom: 30px; }

.reserve-steps li { position: relative; display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 0 0 26px; }
.reserve-steps li:last-child { padding-bottom: 0; }
.reserve-steps li::before { content: ""; position: absolute; left: 26px; top: 54px; bottom: -2px; border-left: 3px dotted var(--moss); }
.reserve-steps li:last-child::before { display: none; }

.reserve-num {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--leaf);
  color: #fff;
  font-family: var(--en);
  font-style: normal;
  font-weight: 500;
  font-size: 1.5rem;
  box-shadow: 0 0 0 5px var(--sage);
}

.reserve-steps b { display: block; font-size: var(--fs-l); line-height: 1.6; color: var(--leaf-dd); }
.reserve-steps p { font-size: var(--fs-m); line-height: 1.9; color: var(--ink-soft); }

.reserve-action { text-align: center; }
.reserve-note { margin-top: 12px; font-size: var(--fs-s); color: var(--ink-soft); }
.reserve-closed { font-family: var(--serif); font-weight: 500; line-height: 1.9; color: var(--leaf-dd); }

/* ==========================================================================
   Shop Info（案内板）
   ========================================================================== */

.shop { background: var(--cream-2); }

.shop-board {
  max-width: 880px;
  margin: 0 auto;
  background: var(--paper);
  border-radius: 14px;
  border: 4px solid var(--wood);
  box-shadow: 0 0 0 2px var(--cream-2), 0 26px 44px -26px rgba(92, 59, 34, 0.7);
  overflow: hidden;
}

.shop-row {
  display: grid;
  grid-template-columns: minmax(130px, 230px) 1fr;
  gap: 18px;
  align-items: baseline;
  padding: 18px clamp(18px, 4vw, 36px);
  border-bottom: 1.5px dashed rgba(78, 122, 68, 0.35);
}

.shop-row:last-child { border-bottom: 0; }

.shop-row dt { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--leaf); }
.shop-row dt::before { content: ""; width: 12px; height: 16px; border-radius: 0 100% 0 100%; background: var(--moss); flex: none; }
.shop-row dd { font-family: var(--serif); font-size: var(--fs-l); font-weight: 500; }

.shop-link { color: var(--leaf-d); text-decoration: underline; text-decoration-color: var(--moss); text-underline-offset: 5px; text-decoration-thickness: 2px; }
.shop-link:hover { color: var(--leaf); }

/* ==========================================================================
   Cast
   ========================================================================== */

.cast { background: var(--cream); }

.cast-owner { display: flex; justify-content: center; margin-bottom: 70px; }

.cast-subtitle {
  margin-bottom: 40px;
  text-align: center;
  font-family: var(--en);
  font-style: normal;
  font-weight: 500;
  font-size: var(--fs-xl);
  color: var(--leaf);
}

.cast-subtitle::before,
.cast-subtitle::after { content: "🍃"; font-style: normal; font-size: 0.8em; margin: 0 0.6em; }

.cast-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 34px) clamp(14px, 2vw, 28px); }

.cast-card { position: relative; text-align: center; transition: transform 0.35s ease; }
.cast-card:hover { transform: translateY(-8px); }

.cast-card-owner { width: 100%; max-width: 340px; }

.cast-photo {
  position: relative;
  aspect-ratio: 3 / 4.2;
  border-radius: 999px 999px 18px 18px;
  overflow: hidden;
  background: radial-gradient(70% 50% at 50% 30%, #fffdf0, transparent 70%), linear-gradient(180deg, var(--sage), #c3d6a6);
  border: 5px solid #fff;
  box-shadow: 0 22px 34px -20px rgba(31, 51, 34, 0.7);
}

.cast-card-owner .cast-photo { aspect-ratio: 3 / 4; }

.cast-photo img {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 9%;
  width: 88%;
  height: 90%;
  object-fit: contain;
  object-position: 50% 100%;
  filter: drop-shadow(0 8px 10px rgba(31, 51, 35, 0.35));
  transition: transform 0.5s ease;
}

.cast-card:hover .cast-photo img { transform: scale(1.05); }

.cast-role { margin: 10px 0 5px; font-family: var(--en); font-style: normal; font-weight: 500; font-size: var(--fs-s); line-height: 1.6; color: var(--leaf); }

.cast-name {
  position: relative;
  display: inline-block;
  margin-top: 0;
  padding: 7px 20px;
  border-radius: 999px;
  background: var(--leaf);
  color: #fff;
  font-family: var(--serif);
  font-weight: 500;
  font-size: var(--fs-m);
  line-height: 1.6;
  border: 3px solid var(--cream);
  box-shadow: 0 10px 16px -8px rgba(31, 51, 34, 0.6);
}

.cast-card-owner .cast-name { font-size: var(--fs-l); padding: 9px 28px; }

.cast-social { display: flex; justify-content: center; gap: 14px; margin-top: 16px; }

.cast-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 18px -8px rgba(31, 51, 34, 0.6), 0 0 0 3px var(--sage);
  transition: transform 0.2s ease;
}

.cast-social-link:hover { transform: translateY(-3px); }
.cast-social-link img { width: 42px; height: 42px; object-fit: contain; }
.cast-social-link-vrchat img { width: 58px; height: 58px; }

/* タップできる写真（プロフィールが開く） */
.cast-photo.is-clickable { cursor: pointer; transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.cast-photo.is-clickable:hover { border-color: var(--moss); box-shadow: 0 0 0 4px rgba(78, 122, 68, 0.25), 0 22px 34px -20px rgba(31, 51, 34, 0.7); }
.cast-photo.is-clickable:focus-visible { outline: 3px solid var(--leaf); outline-offset: 4px; }

.profile-hint {
  display: block;
  margin: 5px auto 0;
  padding: 0 8px;
  font: inherit;
  font-size: var(--fs-xs);
  line-height: 1.6;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--leaf);
  background: none;
  border: 0;
  cursor: pointer;
}

.profile-hint:hover { color: var(--leaf-d); }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  position: relative;
  padding: clamp(80px, 10vw, 110px) clamp(28px, 7vw, 48px) 36px;
  text-align: center;
  background: var(--leaf-dd);
  color: #e9f0dc;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 70px;
  background: var(--cream);
  clip-path: polygon(0 0, 100% 0, 100% 30%, 96% 60%, 92% 25%, 88% 70%, 83% 35%, 78% 80%, 72% 40%, 66% 75%, 60% 30%, 54% 70%, 48% 28%, 42% 78%, 36% 35%, 30% 72%, 24% 30%, 18% 76%, 12% 36%, 6% 70%, 0 40%);
}

.footer-inner { max-width: 1120px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 22px; }

.footer-logo { display: flex; align-items: baseline; gap: 10px; }
.footer-logo .logo-mark { display: none; }
.footer-logo .logo-text { display: flex; align-items: baseline; gap: 10px; }
.footer-logo .logo-name { order: -1; font-family: var(--en); font-weight: 500; font-size: 2.4rem; letter-spacing: 0.3em; color: #fff; }
.footer-logo .logo-genre { color: #aebf9c; }

.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; font-size: var(--fs-s); font-weight: 500; }
.footer-links a:hover { color: var(--gold-l); }
.footer-copy { font-size: var(--fs-xs); color: #aebf9c; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 980px) {
  .concept-grid,
  .mascot-grid { grid-template-columns: minmax(0, 1fr); }
  .mascot-stage { width: min(400px, 76%); }

  .blob-wrap { justify-self: center; width: min(80%, 380px); }
  .concept-points { grid-template-columns: 1fr; }
  .signs { grid-template-columns: 1fr; gap: 54px; }
  .cast-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {

  /* トップは、中央にそろえる。吊るした札は、上の中央に置いて、下の文字と重ならないようにする */
  .hero-inner { padding-top: 168px; padding-bottom: 110px; text-align: center; }
  .hero-chips { justify-content: center; }
  .hero-logo-img { margin-inline: auto; }
  .hero-next { left: 50%; right: auto; top: 66px; translate: -50% 0; }
  .hero-next { --hang: 22px; }
  .hero-next-card { padding: 12px 22px 10px; }
  .hero-next-label { font-size: var(--fs-xs); line-height: 1.4; }
  .hero-next b { font-size: var(--fs-l); }
  .hero-slides::after { background: linear-gradient(180deg, rgba(14, 28, 17, 0.68) 0%, rgba(14, 28, 17, 0.58) 30%, rgba(14, 28, 17, 0.68) 60%, rgba(14, 28, 17, 0.92) 100%), rgba(14, 28, 17, 0.14); }

  /* 文章は、2行に収める（1文を1行）。文字だけに板を敷くのではなく、背景全体を暗くして、文字を太く、影を濃くする */
  .hero-copy {
    margin: 20px 0 26px;
    font-size: clamp(9px, calc((100vw - 58px) / 24.5), 15px);
    font-weight: 500;
    line-height: 1.9;
    letter-spacing: 0;
    white-space: nowrap;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95), 0 0 16px rgba(0, 0, 0, 0.8);
  }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .hero-actions .btn { width: 100%; padding: 15px 8px; }
  .hero-actions .btn-sun { grid-column: 1 / -1; }

  .shop-row { grid-template-columns: 1fr; gap: 2px; }

  /* 「ロップイヤー ＋ ラパン ＝ ロパンくん」は、スマホでも、できるだけ1行に。全体を、画面の幅に合わせて縮める（入りきらない小さな画面では、折り返す） */
  .mascot-origin { font-size: var(--fs-s); flex-wrap: wrap; gap: 0.35em; justify-content: center; }
  .mascot-chip { padding: 0.5em 0.55em; border-radius: 0.9em; text-align: center; line-height: 1.4; }
  .mascot-chip b { font-size: var(--fs-s); white-space: nowrap; }
  .mascot-chip small { display: block; margin-inline: auto; font-size: var(--fs-xs); white-space: nowrap; }
  .mascot-op { font-size: var(--fs-s); }
  .mascot-result { gap: 0.35em; }
  .mascot-chip-result b { font-size: var(--fs-s); }
}

@media@media (max-width: 480px) {
  .mascot-stage { width: min(400px, 70%); }
  .logo-genre { display: none; }
}

/* 「動きを減らす」設定の端末では、動きを止める */
@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hero-next, .leaves i, .mascot-img, .mascot-ring, .mascot-hint { animation: none; }
  .leaves { display: none; }
  .hero-logo-img { opacity: 1; }
  .hero-logo-img.is-revealed { animation: none; }
}

/* ==========================================================================
   Sound Consent（音楽の選択）
   ========================================================================== */

.consent-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: radial-gradient(60% 50% at 50% 30%, rgba(141, 170, 107, 0.25), transparent 70%), var(--leaf-dd);
  opacity: 1;
  transition: opacity 0.4s ease;
}

.consent-overlay.is-hidden { opacity: 0; pointer-events: none; }

.consent-card {
  max-width: 380px;
  width: 100%;
  padding: 44px 32px;
  text-align: center;
  border-radius: 28px;
  background: var(--paper);
  border: 3px solid var(--moss);
  box-shadow: 0 0 0 8px rgba(220, 230, 201, 0.25), 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}

.consent-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--leaf);
  color: #fff;
}

.consent-title { margin-bottom: 10px; font-family: var(--serif); font-size: var(--fs-l); font-weight: 500; color: var(--leaf-dd); }
.consent-text { margin-bottom: 28px; font-size: var(--fs-s); line-height: 1.8; color: var(--ink-soft); }
.consent-actions { display: flex; flex-direction: column; gap: 12px; }
.consent-btn { width: 100%; }

/* ==========================================================================
   Intro / Welcome Splash
   ========================================================================== */

.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(60% 50% at 50% 40%, rgba(141, 170, 107, 0.22), transparent 70%), var(--leaf-dd);
  opacity: 1;
  transition: opacity 1s ease;
}

.intro-overlay.is-hidden { opacity: 0; pointer-events: none; }

/* 木漏れ日の筋と、ふわふわ昇る光の粒 */
.intro-beams, .intro-dust { position: absolute; inset: 0; pointer-events: none; }
.intro-beam {
  position: absolute;
  top: -25%;
  width: clamp(70px, 14vw, 200px);
  height: 150%;
  background: linear-gradient(180deg, rgba(255, 240, 190, 0.3), transparent 78%);
  filter: blur(10px);
  opacity: 0;
}
.intro-dust-p {
  position: absolute;
  bottom: -6%;
  left: var(--x);
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: rgba(255, 236, 170, 0.95);
  box-shadow: 0 0 10px rgba(255, 226, 140, 0.9);
  opacity: 0;
}
.intro-overlay.is-playing .intro-beam { animation: introBeam 4.5s ease-in-out infinite alternate; }
.intro-overlay.is-playing .intro-dust-p {
  animation: introFloat var(--d) linear var(--dl) infinite, introDustSway 3s ease-in-out var(--dl) infinite alternate;
}

/* ロゴ：ぼんやりした状態から、くっきり浮かび上がる */
.intro-logo {
  position: relative;
  width: min(76vw, 500px);
  height: auto;
  opacity: 0;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.7));
}
.intro-overlay.is-playing .intro-logo { animation: introLogoIn 1.9s cubic-bezier(0.2, 0.6, 0.2, 1) 0.3s forwards; }
.intro-overlay.is-swirl .intro-logo { animation: introLogoOut 1.2s ease-in forwards; }

/* 落ち葉：足元に溜まっていた葉が、渦を巻いて舞い上がる（トップページの上まで続く） */
.intro-leaves { position: fixed; inset: 0; z-index: 10000; overflow: hidden; pointer-events: none; }
.intro-leaf {
  position: absolute;
  bottom: var(--b0);
  left: var(--x);
  width: var(--s);
  height: var(--s);
  background: linear-gradient(135deg, var(--c), rgba(0, 0, 0, 0.25) 140%);
  border-radius: 0 100% 0 100%;
  rotate: var(--r0);
  opacity: 0;
  transition: opacity 1.2s ease;
}
.intro-leaves.is-ready .intro-leaf { opacity: 0.88; }
.intro-leaves.is-swirl .intro-leaf {
  animation: introLeafUp var(--d) cubic-bezier(0.35, 0.1, 0.5, 1) var(--dl) both,
             introLeafSwirl var(--w) ease-in-out var(--dl) infinite alternate;
}

@keyframes introBeam { 0% { opacity: 0.15; } 100% { opacity: 0.9; } }
@keyframes introFloat {
  0%   { bottom: -6%; opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 0.9; }
  100% { bottom: 106%; opacity: 0; }
}
@keyframes introDustSway { from { translate: -22px 0; } to { translate: 22px 0; } }
@keyframes introLogoIn {
  0%   { opacity: 0; filter: blur(16px) drop-shadow(0 8px 24px rgba(0, 0, 0, 0.7)); transform: scale(1.05); }
  100% { opacity: 1; filter: blur(0) drop-shadow(0 8px 24px rgba(0, 0, 0, 0.7)); transform: scale(1); }
}
@keyframes introLogoOut {
  0%   { opacity: 1; filter: blur(0) drop-shadow(0 8px 24px rgba(0, 0, 0, 0.7)); transform: scale(1); }
  100% { opacity: 0; filter: blur(10px) drop-shadow(0 8px 24px rgba(0, 0, 0, 0.7)); transform: scale(1.04); }
}
@keyframes introLeafUp {
  0%   { bottom: var(--b0); opacity: 0.88; }
  14%  { opacity: 1; }
  78%  { opacity: 0.95; }
  100% { bottom: 112%; opacity: 0; }
}
@keyframes introLeafSwirl {
  from { translate: calc(var(--a) * -1) 0; rotate: var(--r0); }
  to   { translate: var(--a) 0; rotate: calc(var(--r0) + 200deg); }
}

@media (prefers-reduced-motion: reduce) {
  .intro-overlay { transition: none; }
  .intro-leaves { display: none; }
}

/* ==========================================================================
   BGM Toggle
   ========================================================================== */

.bgm-toggle {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--leaf);
  color: var(--leaf);
  cursor: pointer;
  box-shadow: 0 12px 24px -10px rgba(31, 51, 34, 0.6);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.bgm-toggle:hover { transform: scale(1.08); border-color: var(--leaf-d); }

.bgm-toggle::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(78, 122, 68, 0.55);
  opacity: 0;
  transform: scale(0.85);
}

.bgm-toggle.is-playing::before { animation: bgmPulse 2.4s ease-out infinite; }

@keyframes bgmPulse {
  0% { opacity: 0.6; transform: scale(0.85); }
  100% { opacity: 0; transform: scale(1.25); }
}

.bgm-icon-on { display: none; }
.bgm-toggle.is-playing .bgm-icon-on { display: block; }
.bgm-toggle.is-playing .bgm-icon-off { display: none; }

@media (prefers-reduced-motion: reduce) { .bgm-toggle.is-playing::before { animation: none; } }
@media (max-width: 480px) { .bgm-toggle { right: 16px; bottom: 16px; width: 46px; height: 46px; } }

/* ==========================================================================
   Coming Soon（管理画面で切り替えたとき、お客様の画面を、この表示だけにする）
   ========================================================================== */

.maint {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 20000;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  text-align: center;
  background: radial-gradient(60% 45% at 50% 25%, rgba(141, 170, 107, 0.28), transparent 70%), linear-gradient(180deg, #2F4A33, #1F3322);
  overflow-y: auto;
}

html.is-maint .maint { display: flex; }
html.is-maint body { overflow: hidden; }
html.is-maint .consent-overlay,
html.is-maint .intro-overlay,
html.is-maint .intro-leaves,
html.is-maint .bgm-toggle { display: none !important; }

.maint-inner { max-width: 520px; position: relative; }

.maint-logo { width: min(300px, 70vw); height: auto; margin: 0 auto 28px; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5)); }

.maint-title {
  margin-bottom: 20px;
  font-family: var(--en);
  font-style: normal;
  font-size: clamp(2.2rem, 9vw, 3.2rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--gold-l);
  animation: maintPulse 3.2s ease-in-out infinite;
}

.maint-text { margin-bottom: 30px; font-size: var(--fs-m); line-height: 2; color: #eef3e3; }

.maint-link {
  display: inline-block;
  padding: 11px 26px;
  border: 1.5px solid rgba(232, 202, 130, 0.7);
  border-radius: 999px;
  color: var(--gold-l);
  font-size: var(--fs-s);
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: background 0.25s ease;
}

.maint-link:hover { background: rgba(232, 202, 130, 0.14); }

@keyframes maintPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
@media (prefers-reduced-motion: reduce) { .maint-title { animation: none; } }

/* ==========================================================================
   Cast / Owner profile popup（プロフィール）
   ========================================================================== */

.profile-modal {
  --color-brown: #243628;
  --color-gold: #4E7A44;
  --color-peach: #2F4A33;
  --color-peach-deep: #4E7A44;
  --color-surface: #FBF7EC;
}

.profile-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.profile-modal[hidden] { display: none; }

.profile-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 40, 24, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.profile-card {
  position: relative;
  width: min(900px, 100%);
  max-height: min(92vh, 780px);
  display: grid;
  grid-template-columns: minmax(200px, 300px) 1fr;
  background: var(--color-surface);
  border: 1px solid rgba(78, 122, 68, 0.45);
  border-radius: 24px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.85);
  overflow: hidden;
  animation: profileIn 0.3s ease;
}

.profile-photo {
  background: #e6edd6;
  min-height: 0;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: none;
}

.profile-body {
  padding: 40px 38px 34px;
  overflow-y: auto;
}

/* 写真がない人: 文章だけの、細めのカード */
.profile-modal.is-textonly .profile-card {
  grid-template-columns: 1fr;
  width: min(560px, 100%);
}

.profile-modal.is-textonly .profile-photo { display: none; }

.profile-close {
  font-family: var(--sans);
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--color-brown);
  background: rgba(251, 247, 236, 0.9);
  border: 1px solid rgba(78, 122, 68, 0.5);
  border-radius: 50%;
  cursor: pointer;
}

.profile-close:hover { border-color: var(--color-gold); color: var(--color-gold); }

.profile-role {
  margin-bottom: 14px;
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-peach-deep);
}

.profile-fields { margin: 0; }

.profile-row {
  display: flex;
  gap: 0.5em;
  min-height: 2.8em;
  padding: 9px 0;
  border-bottom: 1px solid rgba(78, 122, 68, 0.18);
}

.profile-row dt {
  flex: 0 0 auto;
  font-family: var(--font-serif);
  font-size: var(--fs-s);
  font-weight: 500;
  color: var(--color-peach-deep);
}

/* 文節ごと（「｜」の位置）にだけ改行し、句読点などが行頭に来ないようにする。長すぎる語だけは、はみ出さないよう折り返す */
.profile-row dd,
.profile-message p {
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict;
  text-wrap: pretty; /* 最後の行だけ極端に短くならないようにする（対応ブラウザのみ） */
}

.profile-row dd {
  margin: 0;
  font-size: var(--fs-m);
  line-height: 1.8;
  color: var(--color-brown);
}

/* ひとことを大きく見せる人（profiles.js の large: true）。言葉が長くても入るよう、見出しの下に全幅で表示する */
.profile-row.is-large { flex-direction: column; gap: 4px; }

.profile-row.is-large dd {
  font-size: var(--fs-xl);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--color-peach);
}

/* ---- パチンコ風の演出（profiles.js の effect: 'pachinko'）---- */

.profile-modal.fx-pachinko .profile-card {
  animation: profileIn 0.3s ease, fxShake 0.8s 0.1s both;
}

/* 開いた瞬間のフラッシュ */
.profile-modal.fx-pachinko .profile-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: radial-gradient(circle at 50% 60%, #ffffff 0%, #ffe27a 45%, rgba(255, 226, 122, 0) 80%);
  animation: fxFlash 0.8s ease-out both;
}

.fx-pachinko .profile-row.is-large {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 8px;
  padding: 26px 16px 18px;
  border: 2px solid #ffd23b;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(150, 10, 50, 0.7), rgba(50, 10, 100, 0.7));
  animation: fxBorder 0.45s steps(2) infinite alternate;
}

/* 背景の光線（ゆっくり回る） */
.fx-pachinko .profile-row.is-large::before {
  content: "";
  position: absolute;
  inset: -150%;
  z-index: -1;
  background: repeating-conic-gradient(from 0deg, rgba(255, 220, 90, 0) 0deg 9deg, rgba(255, 220, 90, 0.2) 9deg 18deg);
  animation: fxSpin 7s linear infinite;
}

.fx-pachinko .profile-row.is-large dt { color: #ffe9a8; text-shadow: 0 0 8px rgba(255, 210, 59, 0.8); }

/* 虹色に光る文字。ドンと拡大して登場し、そのあと脈打つ */
.fx-pachinko .profile-row.is-large dd {
  font-weight: 500;
  background: linear-gradient(90deg, #ff3b3b, #ffd23b, #3bff7a, #3bc8ff, #b13bff, #ff3b3b);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px rgba(50, 0, 30, 0.85); /* 光線の上でも読めるように、細い縁取り */
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 14px rgba(255, 190, 0, 0.9));
  animation: fxZoom 0.75s cubic-bezier(0.2, 1.7, 0.4, 1) 0.15s both, fxRainbow 2.2s linear infinite, fxPulse 0.8s ease-in-out 0.9s infinite alternate;
}

/* 飛び散るハート */
.fx-heart {
  position: absolute;
  left: 50%;
  top: 58%;
  z-index: 3;
  pointer-events: none;
  text-shadow: 0 0 8px currentColor;
  animation: fxFly var(--dur, 1.2s) ease-out forwards;
}

@keyframes fxShake {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  8%  { translate: -9px 4px;  rotate: -0.6deg; }
  16% { translate: 8px -5px;  rotate: 0.5deg; }
  24% { translate: -7px -3px; rotate: -0.4deg; }
  32% { translate: 7px 5px;   rotate: 0.5deg; }
  40% { translate: -5px 3px;  rotate: -0.3deg; }
  48% { translate: 5px -3px;  rotate: 0.3deg; }
  60% { translate: -3px 2px;  rotate: -0.2deg; }
  75% { translate: 2px -1px;  rotate: 0.1deg; }
}

@keyframes fxFlash {
  0%   { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes fxZoom {
  0%   { transform: scale(3.2); opacity: 0; }
  60%  { opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes fxRainbow {
  0%   { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

@keyframes fxPulse {
  0%   { transform: scale(1); }
  100% { transform: scale(1.06); }
}

@keyframes fxSpin {
  to { transform: rotate(360deg); }
}

@keyframes fxBorder {
  0%   { border-color: #ffd23b; box-shadow: 0 0 10px rgba(255, 210, 59, 0.7); }
  100% { border-color: #ff4d4d; box-shadow: 0 0 22px rgba(255, 77, 77, 0.9); }
}

@keyframes fxFly {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.3); }
  15%  { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1.3) rotate(var(--rot)); }
}

@media (prefers-reduced-motion: reduce) {
  .profile-modal.fx-pachinko .profile-card::after { display: none; }
}

.profile-heading {
  margin: 24px 0 10px;
  font-family: var(--font-serif);
  font-size: var(--fs-l);
  letter-spacing: 0.1em;
  color: var(--color-gold);
}

.profile-message p {
  margin-bottom: 10px;
  font-size: var(--fs-m);
  line-height: 2;
  color: var(--color-brown);
}

html.profile-open { overflow: hidden; }

@keyframes profileIn {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .profile-card { animation: none; }
}

@media (max-width: 640px) {
  .profile-modal { padding: 12px; }

  .profile-card {
    grid-template-columns: 1fr;
    max-height: 92vh;
    overflow-y: auto;
  }

  .profile-photo { height: 42vh; max-height: 380px; }
  .profile-photo img { object-position: 50% 8%; }
  .profile-body { padding: 24px 22px 30px; overflow: visible; }
}

/* ==========================================================================
   Cast / Staff の切り替え
   ========================================================================== */

.cast-tabs {
  display: flex;
  justify-content: center;
  gap: 6px;
  width: fit-content;
  margin: 0 auto 48px;
  padding: 6px;
  border-radius: 999px;
  background: var(--paper);
  border: 2px solid var(--sage);
  box-shadow: 0 14px 24px -18px rgba(31, 51, 34, 0.6);
}

.cast-tab {
  min-width: 128px;
  padding: 11px 26px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--leaf-d);
  font-family: var(--sans);
  font-size: var(--fs-m);
  font-weight: 500;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.cast-tab:hover { background: var(--sage); }
.cast-tab.is-active { background: var(--leaf); color: #fff; }
.cast-tab:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.staff-soon {
  max-width: 520px;
  margin: 0 auto;
  padding: 56px 28px;
  text-align: center;
  background: var(--paper);
  border: 3px dashed var(--moss);
  border-radius: 36px;
}

.staff-soon-ico { display: block; margin-bottom: 8px; font-size: 2.4rem; }
.staff-soon-title { margin-bottom: 8px; font-family: var(--serif); font-weight: 500; font-size: var(--fs-xl); color: var(--leaf-dd); }
.staff-soon p { color: var(--ink-soft); }

@media (max-width: 480px) {
  .cast-tab { min-width: 108px; padding: 10px 20px; }
}

/* とても狭い画面（幅340px以下）では、2行に収まらないので、折り返して、はみ出さないようにする */
@media (max-width: 340px) {
  .hero-copy { white-space: normal; font-size: 11.5px; }
}

/* ==========================================================================
   Enjoy（楽しみ方）／ Visit（来店方法）
   ========================================================================== */

.enjoy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 3vw, 32px); }

.enjoy-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--paper);
  border-radius: 6px 44px 6px 44px;
  border: 2px solid var(--sage);
  box-shadow: 0 22px 36px -26px rgba(31, 51, 34, 0.6);
}

.enjoy-card figure { aspect-ratio: 16 / 9; overflow: hidden; }
.enjoy-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.enjoy-card:hover img { transform: scale(1.05); }

.enjoy-body { padding: 22px 26px 26px; }
.enjoy-body h3 { margin-bottom: 6px; font-family: var(--serif); font-size: var(--fs-l); line-height: 1.5; color: var(--leaf-dd); }
.enjoy-body p { font-size: var(--fs-m); line-height: 1.95; color: var(--ink-soft); }

.enjoy-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--leaf-d);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--moss);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.enjoy-link:hover { color: var(--leaf); }

.enjoy { padding-bottom: clamp(36px, 5vw, 56px); }
.enjoy-note { margin-top: 34px; text-align: center; font-family: var(--serif); font-weight: 500; font-size: var(--fs-m); color: var(--leaf-dd); }

.visit { background: #E9F0DB; }

.visit-need {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-bottom: 38px;
  padding: 20px 26px;
  background: var(--paper);
  border-radius: 20px;
  border: 2px solid var(--sage);
}

.visit-need-title { font-weight: 500; color: var(--leaf); }
.visit-need ul { display: flex; flex-wrap: wrap; gap: 8px; }

.visit-need li {
  padding: 14px 32px;
  border-radius: 30px;
  background: #fff;
  border: 2px solid var(--moss);
  font-weight: 500;
  color: var(--leaf-dd);
}

.visit-need small { display: block; margin-top: 4px; line-height: 1.8; font-size: var(--fs-xs); font-weight: 500; color: var(--ink-soft); }

.visit-steps { position: relative; max-width: 820px; margin: 0 auto; }

.visit-steps li { position: relative; display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 20px; padding: 0 0 30px; }
.visit-steps li:last-child { padding-bottom: 0; }
.visit-steps li::before { content: ""; position: absolute; left: 26px; top: 54px; bottom: -2px; border-left: 3px dotted var(--moss); }
.visit-steps li:last-child::before { display: none; }

.visit-no {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--leaf);
  color: #fff;
  font-family: var(--en);
  font-style: normal;
  font-weight: 500;
  font-size: 1.5rem;
  font-variant-numeric: lining-nums;
  line-height: 1;
  padding-bottom: 0.1em;
  box-shadow: 0 0 0 5px #fff;
}

.visit-steps h3 { margin-bottom: 4px; font-family: var(--serif); font-size: var(--fs-l); line-height: 1.6; color: var(--leaf-dd); }
.visit-steps p { font-size: var(--fs-m); line-height: 1.95; color: var(--ink-soft); }

.visit-cancel { max-width: 820px; margin: 36px auto 0; padding: 16px 22px; text-align: center; border-radius: 16px; background: rgba(255, 255, 255, 0.7); font-size: var(--fs-m); }

.visit-rules {
  max-width: 820px;
  margin: 34px auto 0;
  padding: 26px clamp(20px, 4vw, 36px);
  background: var(--paper);
  border-radius: 14px;
  border: 4px solid var(--wood);
  box-shadow: 0 0 0 2px #E9F0DB, 0 22px 36px -26px rgba(92, 59, 34, 0.7);
}

.visit-rules-title { margin-bottom: 12px; font-family: var(--serif); font-weight: 500; font-size: var(--fs-l); color: var(--wood-d); }

.visit-rules li { position: relative; padding: 8px 0 8px 28px; border-bottom: 1.5px dashed rgba(78, 122, 68, 0.35); font-weight: 500; }
.visit-rules li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 11px; height: 15px; border-radius: 0 100% 0 100%; background: var(--moss); }
.visit-rules li:last-child { border-bottom: 0; }
.visit-rules-note { margin-top: 12px; font-size: var(--fs-s); color: var(--ink-soft); }

@media (max-width: 860px) {
  .enjoy-grid { grid-template-columns: minmax(0, 1fr); }
  .visit-steps li { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; }
  .visit-no { width: 44px; height: 44px; font-size: 1.25rem; }
  .visit-steps li::before { left: 21px; top: 44px; }
}

/* メニュー項目が増えたので、ハンバーガーメニューに切り替える幅を、広げる（980px以下） */
@media (max-width: 980px) {
  .nav-toggle { display: flex; }

  /* 全画面のメニュー */
  .nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px 40px;
    overflow-y: auto;
    background: rgba(246, 241, 228, 0.98);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }

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

  .nav-list { flex-direction: column; align-items: center; gap: 6px; min-height: min-content; }
  .nav-link { display: block; padding: 10px 16px; font-size: var(--fs-l); }
  .nav-go { margin-top: 8px; }
}

/* 来店予約をされた方の、手順 */
.visit-reserve {
  position: relative;
  max-width: 820px;
  margin: 44px auto 0;
  padding: clamp(28px, 4vw, 40px) clamp(20px, 4vw, 40px) clamp(24px, 4vw, 34px);
  background: var(--paper);
  border-radius: 36px;
  border: 3px solid var(--leaf);
  box-shadow: 0 0 0 8px #fff, 0 26px 40px -28px rgba(31, 51, 34, 0.7);
}

.visit-reserve-title {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 22px;
  border-radius: 999px;
  background: var(--leaf);
  color: #fff;
  font-family: var(--serif);
  font-weight: 500;
  font-size: var(--fs-l);
}

.visit-reserve-lead { margin-bottom: 26px; font-weight: 500; line-height: 1.9; color: var(--leaf-dd); }
.visit-steps-sub { max-width: none; }
.visit-steps-sub .visit-no { box-shadow: 0 0 0 5px var(--sage); }
.visit-reserve-link { margin-top: 22px; text-align: center; }

/* 来店方法: 導入の文は、PCでは1行に。「ご用意いただくもの」の札は、文字を上下の中央に */
.visit .section-lead { max-width: none; }

@media (min-width: 900px) {
  .visit .section-lead { white-space: nowrap; }
}

.visit-need li { display: flex; flex-direction: column; justify-content: center; }
.visit-need ul { align-items: stretch; }

/* スマホ: 来店方法の導入は2行、手順のタイトルは1行、予約の最初の1文は1行に収める（画面の幅に合わせて文字を縮める） */
@media (max-width: 860px) {
  .visit .section-lead {
    font-size: min(var(--fs-m), calc((100vw - 56px) / 23));
    line-height: 1.9;
    text-wrap: balance;
  }

  .visit-steps li { grid-template-columns: 38px minmax(0, 1fr); gap: 12px; }
  .visit-steps li::before { left: 18px; top: 38px; }
  .visit-no { width: 38px; height: 38px; font-size: var(--fs-l); }

  .visit-steps h3 {
    white-space: nowrap;
    font-size: min(var(--fs-l), calc((100vw - 106px) / 18.4));
  }

  .visit-reserve { padding-left: 12px; padding-right: 12px; }
  .visit-reserve-lead { margin-bottom: 18px; font-size: var(--fs-s); line-height: 1.8; }
  .visit-reserve-lead .vr-line1 + br { display: none; }  /* ブロックの直後の改行が、空の1行になるのを防ぐ */

  .visit-steps-sub li { grid-template-columns: 28px minmax(0, 1fr); gap: 8px; }
  .visit-steps-sub .visit-no { width: 28px; height: 28px; font-size: var(--fs-s); box-shadow: 0 0 0 4px var(--sage); }
  .visit-steps-sub li::before { left: 13px; top: 28px; }
  .visit-steps-sub h3 {
    font-size: min(var(--fs-l), calc((100vw - 122px) / 22.4));
  }

  .vr-line1 {
    display: block;
    white-space: nowrap;
    font-size: min(var(--fs-s), calc((100vw - 86px) / 24.5));
  }
}

/* スマホ: 「ご用意いただくもの」は、文字を小さくして、まわりの余白を広げる */
@media (max-width: 860px) {
  .visit-need {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 24px 20px 26px;
    text-align: center;
  }

  .visit-need-title { font-size: var(--fs-s); letter-spacing: 0.08em; }
  .visit-need ul { flex-direction: column; flex-wrap: nowrap; gap: 12px; }

  .visit-need li {
    padding: 12px 18px;
    border-radius: 22px;
    font-size: var(--fs-s);
    line-height: 1.7;
  }

  .visit-need small { margin-top: 6px; font-size: var(--fs-xs); line-height: 1.8; }
}

/* スマホ: 受付終了の案内は、1文ずつ1行に収める */
@media (max-width: 860px) {
  .reserve-closed {
    white-space: nowrap;
    font-size: min(var(--fs-s), calc((100vw - 106px) / 23.2));
    line-height: 1.9;
  }
}

/* 見出しは、すべて太字にそろえる（本文は、ふつうの太さ） */
h1, h2, h3, h4,
.section-title,
.reserve-steps b,
.visit-reserve-title,
.visit-rules-title,
.visit-need-title,
.profile-heading,
.consent-title,
.staff-soon-title {
  font-weight: 700 !important;
}

/* スマホ: 文字を全体的に小さくしたぶん、ボタンやロゴも少し小さくする */
@media (max-width: 860px) {
  body { line-height: 1.95; }
  .btn { padding: 13px 26px; }
  .logo-name { font-size: 1.25rem; }
  .footer-logo .logo-name { font-size: 1.7rem; }
  .mascot .section-title { font-size: min(var(--fs-title), calc((100vw - 62px) / 25)); }
}

/* スマホだけで効く改行 */
.br-sp { display: none; }
@media (max-width: 860px) {
  .br-sp { display: inline; }
}

/* オーナー：カードは、写真の顔を中心に切り取る。プロフィールは、写真の全体を見せる */
.cast-card-owner .cast-photo img {
  inset: 0;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 0%;
  scale: 1.25;
  transform-origin: 58% 14%;
  filter: none;
}

/* 写真を全体表示する人：写真と同じ縦横比の枠にして、上下や左右に余白（黒い帯）が出ないようにする */
.profile-modal.is-fullphoto .profile-card { grid-template-columns: calc(min(88vh, 760px) * 0.5625) 1fr; }
.profile-modal.is-fullphoto .profile-photo {
  min-height: min(88vh, 760px);
  background: #1c2b1f;
}
.profile-modal.is-fullphoto .profile-photo img { object-fit: cover; object-position: 50% 50%; }
.profile-modal.is-fullphoto .profile-body { align-self: stretch; }

@media (max-width: 860px) {
  .profile-modal.is-fullphoto .profile-card { grid-template-columns: 1fr; }
  .profile-modal.is-fullphoto .profile-photo { height: min(68vh, 520px); min-height: 0; max-height: none; }
  .profile-modal.is-fullphoto .profile-photo img { object-fit: cover; object-position: 50% 10%; }
}

/* リンクの文字は、リンクだとわかる色（青）にする */
.enjoy-link,
.shop-link {
  color: var(--link);
  text-decoration-color: var(--link-u);
  text-decoration-thickness: 1px;
}
.enjoy-link:hover,
.shop-link:hover { color: #5C3B22; }

/* 「メニューを表示する／閉じる」は、文字数が変わっても、ボタンの幅を変えない */
.menu-reveal-btn { width: 15em; max-width: 100%; padding-left: 0; padding-right: 0; }

/* コンセプト：見出しと本文を近づける（本文を、見出しのすぐ下から始める） */
.concept .head { margin-bottom: clamp(22px, 3vw, 34px); }
.concept-grid { align-items: start; }

/* スマホ: 店舗情報の右側の文字は、本文と同じ大きさにそろえる */
@media (max-width: 860px) {
  .shop-row dd { font-size: var(--fs-m); }
}

/* パソコンだけで見せる文字（スマホでは、改行の位置で、読点を消す） */
@media (max-width: 860px) {
  .pc-only { display: none; }
}

/* パソコン：コンセプトの写真を少し小さくして、左の文章と高さを近づける（下に空白が残りすぎないように） */
@media (min-width: 861px) {
  .blob-wrap { max-width: 340px; }
  .blob { aspect-ratio: 1 / 1; }
}

/* スマホ：番号の丸は、来店方法・来店予約のどちらも、同じ小さい大きさにそろえる */
@media (max-width: 860px) {
  .visit-steps li,
  .reserve-steps li { grid-template-columns: 28px minmax(0, 1fr); gap: 12px; }
  .visit-steps li::before,
  .reserve-steps li::before { left: 13px; top: 28px; }
  .visit-no,
  .reserve-num,
  .visit-steps-sub .visit-no {
    width: 28px;
    height: 28px;
    font-size: var(--fs-m);
    box-shadow: 0 0 0 4px var(--sage);
  }
  .visit-steps-sub li { grid-template-columns: 28px minmax(0, 1fr); gap: 8px; }
}

/* スマホ: 文字の大きさは、本文と見出しの2種類だけにそろえる（画面の幅に合わせて文字を縮める指定は、やめる）。ロゴ・絵文字・番号・×ボタンなどの飾りは、対象外 */
@media (max-width: 860px) {
  .hero-copy,
  .visit .section-lead,
  .visit-steps-sub h3,
  .vr-line1,
  .reserve-closed { font-size: var(--fs-body); }

  .visit-steps h3,
  .mascot .section-title { font-size: var(--fs-head); }

  .hero-eyebrow,
  .hero-next-label,
  .footer-copy,
  .profile-hint { font-size: var(--fs-body); }
}

/* 幅が狭い画面（360px未満）では、1行に収まらない文は折り返して、はみ出さないようにする */
@media (max-width: 359px) {
  .hero-copy,
  .visit-steps h3,
  .vr-line1,
  .reserve-closed,
  .mascot .section-title { white-space: normal; }
}

/* スマホ: 予約の手順のタイトルは、長いので、12pxでは1行に収まらない。折り返して、行の長さをそろえる */
@media (max-width: 860px) {
  .visit-steps-sub h3 { white-space: normal; text-wrap: balance; }
}

/* スマホ: 受付終了の案内は、12pxだと少しはみ出すので、左右の余白をわずかに広げて1行に収める */
@media (max-width: 860px) {
  .reserve-closed { margin-inline: -8px; }
}

@media (max-width: 380px) {
  .reserve-closed { margin-inline: -16px; }
  .vr-line1 { margin-inline: -10px; }
}

/* 背景つきの縦長の写真（切り抜きではない写真）を使うカード: 枠いっぱいに、顔を中心に見せる */
.cast-photo.is-shot img {
  inset: 0;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  filter: none;
}

/* 写真がまだ無い人の枠 */
.cast-photo.is-empty { display: flex; align-items: center; justify-content: center; }
.cast-photo-empty { font-family: var(--en); font-size: var(--fs-s); letter-spacing: 0.2em; color: var(--leaf); opacity: 0.75; }

/* スタッフ: 人数が3の倍数でなくても、最後の段を中央にそろえる */
.cast-grid-staff {
  --gx: clamp(14px, 2vw, 28px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(20px, 3vw, 34px) var(--gx);
}
.cast-grid-staff > .cast-card { flex: 0 0 calc((100% - 2 * var(--gx)) / 3); }

@media (max-width: 980px) {
  .cast-grid-staff > .cast-card { flex-basis: calc((100% - var(--gx)) / 2); }
}
