:root {
  --gold1: #a07c2c;
  --gold2: #d4af37;
  --gold3: #f8e37d;
  --text: #1c1c1c;
  --pink: #fff6fb;
  --white: #ffffff;
  --sky: #f4fbff;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  background: var(--white);
  color: var(--text);
  font-family: "Noto Serif JP", serif;
}

/* スマホ or PCでのみ表示 */
.sp {
  display: none;
}
.pc {
  display: block;
}
@media (max-width: 576px) {
  .sp {
    display: block;
  }
  .pc {
    display: none;
  }
}

.btn {
  display: inline-block;
  margin-top: 16px;
  padding: 0.7em 1.1em;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(180deg, #7fc4ff, #3aa0e7);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  font-weight: 600;
}
.angel {
  position: absolute;
  width: 110px;
  opacity: 0.9;
  top: 6px; /* -10px → 6px に */
  right: 8px; /* ついでに少しだけ内側へ */
  z-index: 0;
  pointer-events: none;
}

.section {
  padding: 36px 20px;
  max-width: 960px;
  margin: 0 auto;
}
.section h2 {
  font-family: "Marcellus", serif;
  font-size: 24px;
  margin: 0 0 0.5em;
}
.section p {
  line-height: 1.8;
  margin: 0.3em 0;
}
.grid {
  display: grid;
  gap: 16px;
}
.card {
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}
.note {
  font-size: 12px;
  color: #666;
}
.badge {
  display: inline-block;
  padding: 0.2em 0.6em;
  border-radius: 6px;
  font-size: 12px;
  background: #eef8ff;
  border: 1px solid #cfe6ff;
  color: #246;
}
footer {
  padding: 20px;
  text-align: center;
  font-size: 12px;
  color: #666;
}
@media (min-width: 768px) {
  .grid.columns-2 {
    grid-template-columns: 1fr 1fr;
  }
  .section {
    padding: 56px 24px;
  }
}

.em {
  font-weight: 600;
  background: linear-gradient(90deg, #fff9d6, #fff);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.15) inset;
  padding: 0.05em 0.35em;
  border-radius: 6px;
}

.card {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.22);
}

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

#to-top {
  position: fixed;
  right: 14px;
  bottom: 18px;
  z-index: 10;
  padding: 0.6em 0.8em;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(212, 175, 55, 0.35);
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  user-select: none;
  opacity: 80%;
  transition: all 0.5s;
}
#to-top.invisible {
  opacity: 0;
  right: -30px;
  bottom: -30px;
}

/* ===== 額縁（固定） ===== */
.tarot-frame {
  position: sticky;
  top: 0;
  margin: 0 auto;
  max-width: 1180px;
  min-height: 100dvh;
  background: linear-gradient(180deg,
    rgba(255,255,255,1),
    rgba(255,255,255,1) 8px,
    rgba(255,255,255,0) 16px,
    rgba(255,255,255,0)
  );
  pointer-events: none;
  z-index: 70;
}

.tarot-frame::before {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: linear-gradient(180deg,
    rgba(255,255,255,0) 35px,
    rgba(255,255,255,1),
    rgba(255,255,255,1)
  );
}

.tarot-frame::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  border: solid transparent;
  border-width: 8px 12px;
  border-radius: 22px;
  background: conic-gradient(
        var(--gold1),
        var(--gold2) 20%,
        var(--gold3) 40%,
        var(--gold2) 60%,
        var(--gold1) 80%
  ) border-box;
  mask: linear-gradient(#fff 0 0) padding-box,
        linear-gradient(#fff 0 0) border-box;
  mask-composite: exclude;
}

.tarot-contents {
  position: relative;
  margin: calc(-1 * 100dvh) auto 0;
  max-width: 1180px;
  padding: 15px;
}

/* ===== ヒーロー ===== */
.hero {
  position: relative;
  text-align: center;
  padding: 100px 20px 64px; /* 上を少し広めに取る */
  background: #fff;
  overflow: hidden;
}
/* 天使は枠内におさめる（古い .angel を上書き） */
.hero .angel {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 80px;
  opacity: 0.9;
  pointer-events: none;
}

/* PC表示時の画像サイズ制御（inline の max-width を上書き） */
@media screen and (min-width: 768px) {
  /* pattern1 tabs */
  #panel-about img,
  #panel-price img,
  #panel-booking img,
  #panel-profile img,
  /* pattern2 scroll / pattern3 hero 共通（カード内画像） */
  .section .card img,
  .content .card img,
  .cards .card img {
    width: 100%;
    max-width: 500px !important; /* ← inline の max-width:100% を打ち消す */
    height: auto !important;
    display: block;
    margin: 0 auto 1.5em; /* 中央寄せ＋下余白 */
  }
}

/* ===== ご予約方法：羽＋左上からの光 ===== */
.booking-art {
  position: relative;
  max-width: 520px;
  margin: 0 auto 1.25rem;
  isolation: isolate;
}
.booking-art img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.18));
}
.booking-art::before {
  content: "";
  position: absolute;
  inset: -10% -10% 0 0;
  background: radial-gradient(
    120% 80% at 0% 0%,
    rgba(255, 255, 245, 0.85) 0%,
    rgba(255, 255, 245, 0.45) 35%,
    rgba(255, 255, 245, 0) 70%
  );
  mix-blend-mode: screen;
  pointer-events: none;
}

/* ===== メニュー表（画像なし） ===== */
.price-list {
  list-style: none;
  margin: 0.25rem 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
.price-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.35rem 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.12);
}
.price-list .item {
  font-size: 1.05rem;
}
.price-list .note-inline {
  font-style: normal;
  font-size: 0.9rem;
  color: #666;
  margin-left: 0.5em;
}
.price-list .price {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: #222;
}
.discount-callout {
  margin: 0.75rem 0 0;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, #fff9e9);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}
@media (max-width: 640px) {
  .price-list li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
  .price-list .price {
    justify-self: end;
  }
}

/* ===== 英語案内（折りたたみ展開） ===== */
.lang-switch {
  text-align: right;
  margin: 0.25rem 0 1rem;
}
.lang-switch a {
  font-size: 0.95rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.en-guide {
  max-width: 960px;
  margin: 0 auto 1rem;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, #f9f8f4);
}
.en-guide .lead {
  font-weight: 600;
  margin: 0.2rem 0 0.6rem;
}

/* ===== 室内写真：窓外を見えづらく（暫定CSS） ===== */
.room-photo {
  position: relative;
  margin: 0 0 1rem;
  border-radius: 12px;
  overflow: hidden;
}
.room-photo img {
  display: block;
  width: 100%;
  height: auto;
  /* 元の inline style を廃止し、ここで角丸＋影を管理 */
  border-radius: 12px;
}
.room-photo::after {
  /* 右上（窓側）から白っぽい“レース越し”の光を被せる */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      110deg,
      rgba(255, 255, 255, 0.9) 0%,
      rgba(255, 255, 255, 0.6) 20%,
      rgba(255, 255, 255, 0) 45%
    ),
    radial-gradient(
      60% 50% at 95% 10%,
      rgba(255, 255, 255, 0.85),
      rgba(255, 255, 255, 0) 60%
    );
  mix-blend-mode: screen;
  pointer-events: none;
}

/* グリッドでカードが行高に合わせて伸びないように（PC以上） */
@media (min-width: 768px) {
  .grid.columns-2 {
    align-items: start;
  }
  .grid.columns-2 .card {
    height: auto;
  }
}

/* ===== 2カラム段組み（疑似マasonry） ===== */
.masonry {
  display: block;
}
.masonry .card {
  break-inside: avoid;
  margin: 0 0 16px;
}

/* 幅が広いときだけ2段にする（スマホは1段のまま） */
@media (min-width: 900px) {
  .masonry {
    column-count: 2; /* 段数 */
    column-gap: 16px; /* 段間 */
  }
  .masonry .card {
    width: 100%;
    display: inline-block; /* 段内でブロック化 */
  }
}

/* 既存 grid の見た目は他箇所で使うかもしれないので残すが、
   今回の #about では .masonry を使うため影響なし */

/* ===== 2カラム段組み（疑似マasonry） ===== */
.masonry {
  display: block;
}
.masonry .card {
  break-inside: avoid;
  margin: 0 0 16px;
}

@media (min-width: 900px) {
  .masonry {
    column-count: 2; /* 段数 */
    column-gap: 16px; /* 段間 */
  }
  .masonry .card {
    width: 100%;
    display: inline-block;
  }
}

/* ===== ご予約方法：羽＋左上からの光（画像を差し替えるだけでOK） ===== */
.booking-art {
  position: relative;
  max-width: 520px;
  margin: 0 auto 1.25rem;
  isolation: isolate;
}
.booking-art img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.18));
}
.booking-art::before {
  content: "";
  position: absolute;
  inset: -10% -10% 0 0;
  background: radial-gradient(
    120% 80% at 0% 0%,
    rgba(255, 255, 245, 0.85) 0%,
    rgba(255, 255, 245, 0.45) 35%,
    rgba(255, 255, 245, 0) 70%
  );
  mix-blend-mode: screen;
  pointer-events: none;
}

@media (min-width: 768px) {
  .grid.columns-2 {
    align-items: start;
  }
}

/* 各段(2カラム)でカードの高さをそろえる */
.row-eq {
  align-items: stretch;
} /* 行内の項目は等高で伸ばす */
.row-eq > .card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* 画像の下に余白を取り、ボタンは下端に寄せない（必要なら下端寄せも可） */
.row-eq > .card img {
  display: block;
  margin: 0 auto 1rem;
}

/* 2カラム指定は既存の .grid.columns-2 を利用（PC時） */
@media (min-width: 768px) {
  .grid.columns-2 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

/* ===== 料金：画像なしメニュー表 ===== */
.price-list {
  list-style: none;
  margin: 0.25rem 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
.price-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.35rem 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.12);
}
.price-list .item {
  font-size: 1.05rem;
}
.price-list .note-inline {
  font-style: normal;
  font-size: 0.9rem;
  color: #666;
  margin-left: 0.5em;
}
.price-list .price {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: #222;
}
/* PC時の価格ボックスが詰まり過ぎないよう少し余白 */
@media (min-width: 768px) {
  .price-list .price {
    margin-left: 0.5rem;
  }
}
.discount-callout {
  margin: 0.75rem 0 0;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, #fff9e9);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

/* === 段ごとにカードを等高化 === */
.row-eq {
  align-items: stretch;
} /* 2カラムの行 */
.row-eq > .card {
  display: flex;
  flex-direction: column;
} /* 中身を縦並びに */

/* === 画像を同じ比率の“枠”で見せる（HTML変更不要） ===
   p:has(> img) を画像コンテナ化し、object-fitでトリミング */
.row-eq .card p:has(> img) {
  position: relative;
  overflow: hidden;
  border-radius: 12px; /* 既存の角丸と揃える */
  margin: 0 0 1rem; /* 下余白 */
}

/* 上段（ご案内／セッション時間）の画像は 4:3 で統一 */
#row-1 .card p:has(> img) {
  aspect-ratio: 4 / 3;
}

/* 下段（ご予約方法／料金）の画像は 5:4 で統一（少し縦長気味に） */
#row-2 .card p:has(> img) {
  aspect-ratio: 5 / 4;
}

/* 画像を“枠いっぱい”にフィットさせる */
.row-eq .card p:has(> img) > img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 余白なくトリミング */
  border-radius: 0 !important; /* 親で丸めているので画像側は0 */
  display: block;
}

/* 文字量差で一段だけ極端に高くなるのを抑制（任意） */
@media (min-width: 900px) {
  #row-1 .card,
  #row-2 .card {
    min-height: 520px;
  } /* 好みに応じて調整: 480〜560px */
}

/* ご予約方法：ボタンを並べる */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.btn-group .btn {
  flex: 1 1 45%;
  text-align: center;
  align-content: center;
}

/* Instagramボタンカラー */
.btn.insta {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4);
}

/* === 段ごとにカードを等高化 === */
.row-eq {
  align-items: stretch;
}
.row-eq > .card {
  display: flex;
  flex-direction: column;
}

/* === 画像枠の比率を揃えて段ズレ防止 === */
.row-eq .card p:has(> img),
.row-eq .card .booking-art {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  margin: 0 0 1rem;
}

/* 上段（ご案内／セッション時間）の画像は 4:3 */
#row-1 .card p:has(> img) {
  aspect-ratio: 4 / 3;
}

/* 下段（ご予約方法／料金）の画像は 5:4 */
#row-2 .card p:has(> img),
#row-2 .card .booking-art {
  aspect-ratio: 5 / 4;
}

/* 画像を枠いっぱいに収める */
.row-eq .card p:has(> img) > img,
.row-eq .card .booking-art > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 !important;
  display: block;
}

/* ボタンがあるカードはボタンを下に寄せて高さを揃える */
.row-eq .card .btn-group {
  margin-top: auto;
}

/* 最低高さを揃えて安定化（数値は好みに応じて調整可能） */
@media (min-width: 900px) {
  #row-1 .card,
  #row-2 .card {
    min-height: 560px; /* ← 上下段の高さ基準。520〜580pxで微調整可能 */
  }
}

/* ===== PC幅で“数値固定”にして揃える ===== */
@media (min-width: 900px) {
  /* 各段のカードを等高・固定高さに */
  .row-eq > .card {
    display: flex;
    flex-direction: column;
    height: 560px; /* ←固定値。必要なら 540〜600px で微調整可 */
  }

  /* 画像を入れる“枠”も固定高さにしてトリミングで統一 */
  #row-1 .card p:has(> img),
  #row-2 .card p:has(> img),
  #row-2 .card .booking-art {
    height: 260px; /* ←羽の画像（booking-art）もここに合わせて固定 */
    margin: 0 0 12px;
    overflow: hidden;
    border-radius: 12px;
    position: relative;
  }

  /* 枠いっぱいにフィット（余白なしでカバー） */
  .row-eq .card p:has(> img) > img,
  .row-eq .card .booking-art > img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* トリミングで統一 */
    border-radius: 0 !important;
    display: block;
  }

  /* ボタン行があるカードは下に寄せて高さを揃える */
  .row-eq .card .btn-group {
    margin-top: auto;
  }
}

/* ===== モバイルでは固定を解除（自然な縦積み） ===== */
@media (max-width: 899.98px) {
  .row-eq > .card {
    height: auto;
  }
  #row-1 .card p:has(> img),
  #row-2 .card p:has(> img),
  #row-2 .card .booking-art {
    height: auto;
  }
}

/* === PC時に完全固定で高さを揃える === */
@media (min-width: 900px) {
  /* 各段のカードを完全固定化 */
  #row-1 .card,
  #row-2 .card {
    height: 600px; /* ←ここが全カードの高さ。調整余地あり */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  /* 上段（ご案内・セッション時間）の画像枠 */
  #row-1 .card p:has(> img) {
    height: 300px; /* 固定 */
    overflow: hidden;
    border-radius: 12px;
    margin: 0 0 1rem;
  }

  /* 下段（ご予約方法・料金）の画像枠 */
  #row-2 .card p:has(> img),
  #row-2 .card .booking-art {
    height: 300px; /* 固定（羽やオブジェ画像もここで統一） */
    overflow: hidden;
    border-radius: 12px;
    margin: 0 0 1rem;
  }

  /* 枠内画像をカバー */
  #row-1 .card p:has(> img) > img,
  #row-2 .card p:has(> img) > img,
  #row-2 .card .booking-art > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0 !important;
  }

  /* ボタンは下端に寄せる（ある場合） */
  .row-eq .card .btn-group {
    margin-top: auto;
  }
}

/* === モバイルでは自然に可変 === */
@media (max-width: 899.98px) {
  #row-1 .card,
  #row-2 .card {
    height: auto;
  }
  #row-1 .card p:has(> img),
  #row-2 .card p:has(> img),
  #row-2 .card .booking-art {
    height: auto;
  }
}

/* ===== PC幅：完全固定＋非トリミングで揃える ===== */
@media (min-width: 900px) {
  /* 行内カードは全て同じ高さに（増減はここだけで調整） */
  #row-1 .card,
  #row-2 .card {
    height: 640px; /* ← 全カード高さ。620〜680で好みに微調整OK */
    display: flex;
    flex-direction: column;
  }

  /* 画像枠（<p><img> と 予約の .booking-art を同等に扱う） */
  #row-1 .card p:has(> img),
  #row-2 .card p:has(> img),
  #row-2 .card .booking-art {
    /* 非トリミング表示用の“額縁” */
    height: 360px; /* ← 画像エリアの固定高さ（320〜380で微調整OK） */
    margin: 0 0 12px;
    display: grid;
    place-items: center; /* 中央配置 */
    border-radius: 12px;
    background: rgba(
      0,
      0,
      0,
      0.02
    ); /* 余白が出る場合の薄背景（好みで薄く/無くしてOK） */
    overflow: hidden; /* 角丸だけ適用。切り抜きは行わない */
  }

  /* 画像は“非トリミング（全体表示）”で額縁内にフィット */
  #row-1 .card p:has(> img) > img,
  #row-2 .card p:has(> img) > img,
  #row-2 .card .booking-art > img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto; /* 縦横比を完全保持 */
    object-fit: contain; /* 念のため */
    border-radius: 8px; /* 画像もほんの少し丸めると馴染む（任意） */
    display: block;
  }

  /* テキストが多いカードでも、ボタンや下部要素で高さを揃える */
  .row-eq .card .btn-group {
    margin-top: auto;
  }

  /* テキスト回りの余白を少しだけ締める（行数のブレ抑制・任意） */
  #row-1 .card p,
  #row-2 .card p {
    margin-bottom: 0.9rem;
  }
}

/* ===== モバイルでは自然に可変表示 ===== */
@media (max-width: 899.98px) {
  #row-1 .card,
  #row-2 .card {
    height: auto;
  }
  #row-1 .card p:has(> img),
  #row-2 .card p:has(> img),
  #row-2 .card .booking-art {
    height: auto;
    display: block;
    background: transparent;
  }
}

/* ===== 下段2枚だけ（ご予約方法・料金）を拡張：PC幅 ===== */
@media (min-width: 900px) {
  /* 1) カード全体の高さをこの2枚だけ大きくする */
  #row-2 .card {
    height: 720px; /* ←必要なら 700〜760 で微調整OK */
    display: flex;
    flex-direction: column;
  }

  /* 2) 画像エリアの高さも拡張（羽＆料金の写真の枠） */
  #row-2 .card .booking-art,
  #row-2 .card p:has(> img) {
    height: 440px; /* ←必要なら 420〜480 で微調整OK */
    margin: 0 0 12px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.02); /* 余白が出る場合の薄背景（任意） */
  }

  /* 3) 画像は“非トリミング”で中央フィット（切れ防止） */
  #row-2 .card .booking-art > img,
  #row-2 .card p:has(> img) > img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain !important; /* 以前の cover 指定を上書き */
    border-radius: 8px;
    display: block;
  }

  /* 4) ボタン行などは下に寄せて高さ調和 */
  #row-2 .card .btn-group {
    margin-top: auto;
  }
}

/* ==== 画像が切れないように“下段2枚だけ”オーバーライド ==== */
@media (min-width: 900px) {
  /* カード本体の高さは固定（上下のズレ防止） */
  #row-2 .card {
    height: 760px !important; /* 700〜800で好み調整OK */
    display: flex;
    flex-direction: column;
  }

  /* 画像枠は“切らない”設定に変更（固定高さは外す or 上限だけ） */
  #row-2 .card .booking-art,
  #row-2 .card p:has(> img) {
    height: auto !important; /* ここが肝。固定値を解除 */
    max-height: 520px !important; /* 上限だけ与える（不要なら削除） */
    margin: 0 0 12px;
    display: grid;
    place-items: center;
    overflow: visible !important; /* 既存の overflow:hidden を打ち消し */
    border-radius: 12px;
    background: transparent; /* 余白背景が不要なら透明に */
  }

  /* 画像は縮小優先で“非トリミング”表示 */
  #row-2 .card .booking-art > img,
  #row-2 .card p:has(> img) > img {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 520px !important; /* 上の枠と同じ上限 */
    object-fit: contain !important; /* これで切れません */
    display: block;
    border-radius: 8px;
  }

  /* ボタンなどはカード下に寄せて高さ合わせ */
  #row-2 .card .btn-group {
    margin-top: auto;
  }
}

/* モバイルでは従来どおり可変 */
@media (max-width: 899.98px) {
  #row-2 .card {
    height: auto !important;
  }
  #row-2 .card .booking-art,
  #row-2 .card p:has(> img) {
    height: auto !important;
    max-height: none !important;
  }
  #row-2 .card .booking-art > img,
  #row-2 .card p:has(> img) > img {
    max-height: none !important;
  }
}

/* ===== PC幅：下段左（ご予約方法）だけテキストがはみ出さない調整 ===== */
@media (min-width: 900px) {
  /* 4枚の高さは既存固定値のまま（例：760px）で揃える前提 */
  /* 左カードの画像枠だけ高さを小さめにしてテキスト余白を確保 */
  #row-2 .card:first-child .booking-art {
    max-height: 260px !important; /* ← 280/240 に微調整可 */
    height: auto !important;
    margin: 0 0 10px;
    display: grid;
    place-items: center;
  }
  #row-2 .card:first-child .booking-art > img {
    max-height: 260px !important;
    width: auto;
    height: auto; /* 非トリミングで縮小 */
    object-fit: contain !important;
  }

  /* ご予約方法内の余白を少しタイトに（詰めても読みやすい範囲） */
  #row-2 .card:first-child p {
    margin-bottom: 0.75rem;
  }
  #row-2 .card:first-child ol {
    margin: 0.6rem 0 0.8rem;
    padding-left: 1.2em;
  }
  #row-2 .card:first-child .note {
    margin-top: 0.5rem;
  }
  #row-2 .card:first-child .btn-group {
    margin-top: 0.6rem;
  } /* ボタンを少し上げる */

  /* 住所・最寄駅・駐車場のブロックがあれば、行間を詰める（任意） */
  #row-2 .card:first-child .access p {
    margin: 0.35rem 0;
  }
}

/* ===========================
   1) 見出しサイズを4枚で統一
   （ご案内 / セッション時間 / ご予約方法 / 料金）
   =========================== */
#row-1 .card h2,
#row-1 .card h3,   /* セッション時間はh3でもOK。見た目をh2と揃える */
#row-2 .card h2 {
  font-size: clamp(20px, 1rem + 0.7vw, 24px);
  line-height: 1.35;
  font-weight: 700;
  margin: 0 0 0.75rem; /* 上余白0で揃える */
}

/* ===========================
   2) 「ご予約方法」の羽が見出しに重なるのを防止
   =========================== */
/* 画像コンテナのはみ出しを止める（画像はcontainで縮小表示のまま） */
#row-2 .card:first-child .booking-art {
  position: relative;
  overflow: hidden !important; /* ← これで擬似要素も外へ出ません */
  border-radius: 12px;
  margin-top: 0.25rem; /* 見出しとの間にわずかに間隔を確保 */
  isolation: isolate; /* 念のためスタッキングを独立 */
}
/* 光エフェクトの広がりをコンテナ内に収める */
#row-2 .card:first-child .booking-art::before {
  inset: 0 !important; /* 以前の負のinsetを打ち消す */
}
/* 画像自体は“切らずに”中央フィット（既存contain指定があればそのまま） */
#row-2 .card:first-child .booking-art > img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain !important;
  display: block;
  border-radius: 8px;
}

/* ===== 入場エフェクトの土台 ===== */
.entry-fx {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none; /* クリック妨げない */
  overflow: hidden;
  display: none; /* JS再生時にblockへ */
}

/* 左上から差し込む光（スクリーン合成で柔らかく） */
.entry-fx .ray {
  position: absolute;
  width: 140vmax;
  height: 140vmax;
  top: -30vmax;
  left: -30vmax;
  background: radial-gradient(
    80% 60% at 10% 10%,
    rgba(255, 255, 245, 0.9) 0%,
    rgba(255, 255, 245, 0.55) 25%,
    rgba(255, 255, 245, 0) 60%
  );
  mix-blend-mode: screen;
  filter: blur(1.5px);
  transform: rotate(-18deg) scale(1);
  opacity: 0;
  animation: raySweep 1800ms ease-out forwards;
}

/* 羽（SVG）共通 */
.entry-fx .feather {
  position: absolute;
  top: -10vh;
  width: clamp(24px, 2.7vw, 48px);
  height: clamp(24px, 2.7vw, 48px);
  opacity: 0.9;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
  transform: translateX(0) translateY(-10vh) rotate(0deg);
  transform-origin: 30% 20%; /* ← これを追加（軸寄りで回転） */
  animation: efxFall var(--dur, 5.5s) linear var(--delay, 0s) both,
    efxSway var(--sway, 4.8s) ease-in-out var(--delay, 0s) both;
  left: var(--sx, 10vw);
}

/* アニメーション */
@keyframes raySweep {
  0% {
    opacity: 0;
    transform: rotate(-18deg) translate(-4%, -4%) scale(1);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(-18deg) translate(14%, -6%) scale(1.05);
  }
}
@keyframes fall {
  0% {
    opacity: 0;
    transform: translate(var(--sx, 4vw), -12vh) rotate(-20deg) scale(0.85);
  }
  10% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(calc(var(--sx, 4vw) + var(--dx, 40vw)), 78vh)
      rotate(18deg) scale(1);
  }
}

/* 動きが苦手な人向け：OS設定でreduceなら無効化 */
@media (prefers-reduced-motion: reduce) {
  .entry-fx {
    display: none !important;
  }
}

/* ===== Entry FX（はっきり見える版・上書き） ===== */

/* 光：サイズ拡大＆二重ビーム＋薄い黄金色でコントラストUP */
.entry-fx .ray {
  width: 180vmax;
  height: 180vmax;
  top: -40vmax;
  left: -40vmax;
  opacity: 0;
  background:
    /* 外側の広い霞 */ radial-gradient(
      85% 65% at 10% 10%,
      rgba(255, 255, 245, 0.95) 0%,
      rgba(255, 250, 210, 0.75) 22%,
      rgba(255, 240, 170, 0.35) 38%,
      rgba(255, 255, 255, 0) 64%
    ),
    /* 中心の強いコア */
      radial-gradient(
        50% 40% at 10% 10%,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0) 70%
      );
  mix-blend-mode: screen;
  filter: saturate(120%) blur(0.8px);
  animation: raySweepStrong 2200ms ease-out forwards;
}
/* 斜めの細い筋（キラッ） */
.entry-fx .ray::after {
  content: "";
  position: absolute;
  inset: -30vmax;
  background: linear-gradient(
    45deg,
    rgba(255, 255, 230, 0) 40%,
    rgba(255, 255, 210, 0.85) 51%,
    rgba(255, 255, 230, 0) 62%
  );
  filter: blur(6px);
  mix-blend-mode: screen;
  opacity: 0;
  animation: rayStripe 1800ms ease-out forwards 180ms;
}

/* 羽：サイズと陰影を強化。ゆらぎ（drift）も追加。 */
.entry-fx .feather {
  width: 56px;
  height: 56px; /* ← 既存より大きく */
  opacity: 0;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.18))
    drop-shadow(0 0 16px rgba(255, 255, 210, 0.55)); /* ほのかな発光 */
  transform-origin: 50% 50%;
  animation: fall var(--dur, 5s) cubic-bezier(0.18, 0.6, 0.18, 1) forwards,
    drift calc(var(--dur, 5s) * 0.9) ease-in-out infinite alternate;
  animation-delay: var(--delay, 0s), var(--delay, 0s);
}

/* 光の動き（長く・明るく） */
@keyframes raySweepStrong {
  0% {
    opacity: 0;
    transform: rotate(-18deg) translate(-6%, -8%) scale(1);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(-18deg) translate(18%, -10%) scale(1.08);
  }
}
@keyframes rayStripe {
  0% {
    opacity: 0;
    transform: translate(-8%, -8%) rotate(-5deg) scale(1);
  }
  30% {
    opacity: 0.95;
  }
  100% {
    opacity: 0;
    transform: translate(12%, -12%) rotate(-8deg) scale(1.05);
  }
}

/* ふわゆら（左右に小さく蛇行＋回転） */
@keyframes drift {
  0% {
    transform: translateX(0) rotate(-14deg);
  }
  50% {
    transform: translateX(8px) rotate(-4deg);
  }
  100% {
    transform: translateX(-6px) rotate(6deg);
  }
}

/* Reduce Motionユーザーには非表示（既存と同じ） */
@media (prefers-reduced-motion: reduce) {
  .entry-fx {
    display: none !important;
  }
}

/* ===== Entry FX：はっきり見える“差し込み光＋フレア” ===== */
.entry-fx {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  overflow: hidden;
  display: none;
}

/* 太陽グレア（左上に白い強光） */
.entry-fx .sun {
  position: absolute;
  width: 42vmin;
  height: 42vmin;
  top: -8vmin;
  left: -8vmin;
  background: radial-gradient(
    circle at 40% 40%,
    rgba(255, 255, 255, 1) 0 18%,
    rgba(255, 255, 255, 0.92) 22%,
    rgba(255, 255, 255, 0.55) 42%,
    rgba(255, 255, 255, 0.15) 64%,
    rgba(255, 255, 255, 0) 76%
  );
  mix-blend-mode: screen;
  filter: blur(0.6px) saturate(110%);
  opacity: 0;
  animation: sunFlash 1300ms ease-out forwards;
}

/* 斜めの“ゴッドレイ”（繰り返しストライプを三角マスクで切り出し） */
.entry-fx .beams {
  position: absolute;
  inset: -12vmax -6vmax 0 -12vmax;
  background: repeating-linear-gradient(
      -28deg,
      rgba(255, 255, 255, 0) 0,
      rgba(255, 255, 255, 0) 22px,
      rgba(255, 255, 255, 0.95) 44px,
      rgba(255, 255, 255, 0) 86px
    ),
    radial-gradient(
      120% 80% at 0% 0%,
      rgba(255, 255, 255, 0.9),
      rgba(255, 255, 255, 0) 62%
    );
  mix-blend-mode: screen;
  filter: blur(6px) saturate(115%);
  opacity: 0;
  transform: translate3d(0, 0, 0);
  /* 三角に切る（どちらかが効けばOK） */
  -webkit-mask-image: conic-gradient(
    from -26deg at 0% 0%,
    #000 0 24%,
    transparent 24% 360deg
  );
  mask-image: conic-gradient(
    from -26deg at 0% 0%,
    #000 0 24%,
    transparent 24% 360deg
  );
  clip-path: polygon(0 0, 68% 0, 0 68%);
  animation: beamsIn 1900ms ease-out forwards 80ms;
}

/* レンズフレアの横筋 */
.entry-fx .flare-line {
  position: absolute;
  left: -30vmax;
  top: -6vmax;
  width: 160vmax;
  height: 160vmax;
  background: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0) 46%,
    rgba(255, 255, 255, 0.95) 50%,
    rgba(255, 255, 255, 0) 54%
  );
  filter: blur(8px);
  mix-blend-mode: screen;
  opacity: 0;
  animation: flareSweep 1600ms ease-out forwards 140ms;
}

/* 羽（SVG）共通：見やすいサイズ＋ほのかな発光 */
.entry-fx .feather {
  position: absolute;
  width: 60px;
  height: 60px;
  top: -10vh;
  left: 0;
  opacity: 0;
  transform-origin: 50% 50%;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.18))
    drop-shadow(0 0 18px rgba(255, 255, 240, 0.55));
  animation: fall var(--dur, 4.8s) cubic-bezier(0.18, 0.6, 0.18, 1) forwards,
    drift calc(var(--dur, 4.8s) * 0.9) ease-in-out infinite alternate;
  animation-delay: var(--delay, 0s), var(--delay, 0s);
}

/* ===== Animations ===== */
@keyframes sunFlash {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1.08);
  }
}
@keyframes beamsIn {
  0% {
    opacity: 0;
    transform: translate(-3%, -3%) rotate(-2deg);
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(10%, -6%) rotate(-2deg);
  }
}
@keyframes flareSweep {
  0% {
    opacity: 0;
    transform: translate(-4%, -4%) rotate(-6deg);
  }
  30% {
    opacity: 0.95;
  }
  100% {
    opacity: 0;
    transform: translate(12%, -10%) rotate(-6deg);
  }
}
@keyframes fall {
  0% {
    opacity: 0;
    transform: translate(var(--sx, 6vw), -12vh) rotate(-22deg) scale(0.9);
  }
  10% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(calc(var(--sx, 6vw) + var(--dx, 42vw)), 80vh)
      rotate(14deg) scale(1.02);
  }
}
@keyframes drift {
  0% {
    transform: translateX(0) rotate(-8deg);
  }
  50% {
    transform: translateX(10px) rotate(-2deg);
  }
  100% {
    transform: translateX(-8px) rotate(6deg);
  }
}

/* 動きを抑制設定のユーザーには非表示 */
@media (prefers-reduced-motion: reduce) {
  .entry-fx {
    display: none !important;
  }
}

/* ===== 羽がはっきり見えるように上書き ===== */

/* 光は背面、羽は前面 */
.entry-fx .sun,
.entry-fx .beams,
.entry-fx .flare-line {
  z-index: 1;
}
.entry-fx .feather {
  z-index: 2;
}

/* 羽の視認性UP：サイズ、影、開始位置、見えている時間を長く */
.entry-fx .feather {
  width: 68px;
  height: 68px;
  top: -2vh; /* 画面内から開始（以前は-10vh） */
  opacity: 0;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.28)) /* 濃い影で輪郭を出す */
    drop-shadow(0 0 18px rgba(255, 255, 230, 0.55)); /* ほのかな発光 */
  animation: fallVisible var(--dur, 5.2s) cubic-bezier(0.18, 0.6, 0.18, 1)
      forwards,
    drift calc(var(--dur, 5.2s) * 0.9) ease-in-out infinite alternate;
  animation-delay: var(--delay, 0s), var(--delay, 0s);
}

/* 可視時間を長めに（80%まで不透明） */
@keyframes fallVisible {
  0% {
    opacity: 0;
    transform: translate(var(--sx, 6vw), -6vh) rotate(-16deg) scale(0.95);
  }
  12% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(calc(var(--sx, 6vw) + var(--dx, 42vw)), 80vh)
      rotate(10deg) scale(1);
  }
}
/* ふわゆらは既存の drift をそのまま利用（未定義なら下を使用） */
@keyframes drift {
  0% {
    transform: translateX(0) rotate(-8deg);
  }
  50% {
    transform: translateX(10px) rotate(-2deg);
  }
  100% {
    transform: translateX(-8px) rotate(6deg);
  }
}

/* ===== スクロールで都度再生するオーバーレイ ===== */
.fx-ov {
  position: fixed;
  inset: 0;
  z-index: 2147483646; /* 最前面 */
  pointer-events: none;
  overflow: hidden;
}

/* 太陽グレア（左上） */
.fx-sun {
  position: absolute;
  width: 42vmin;
  height: 42vmin;
  top: -8vmin;
  left: -8vmin;
  background: radial-gradient(
    circle at 40% 40%,
    #fff 0 18%,
    rgba(255, 255, 255, 0.92) 22%,
    rgba(255, 255, 255, 0.55) 42%,
    rgba(255, 255, 255, 0.15) 64%,
    rgba(255, 255, 255, 0) 76%
  );
  mix-blend-mode: screen;
  filter: blur(0.6px) saturate(110%);
  opacity: 0;
  animation: sunFlash 1300ms ease-out forwards;
}

/* 斜めの差し込み光（ゴッドレイ） */
.fx-beams {
  position: absolute;
  inset: -12vmax -6vmax 0 -12vmax;
  background: repeating-linear-gradient(
      -28deg,
      rgba(255, 255, 255, 0) 0,
      rgba(255, 255, 255, 0) 22px,
      rgba(255, 255, 255, 0.95) 44px,
      rgba(255, 255, 255, 0) 86px
    ),
    radial-gradient(
      120% 80% at 0% 0%,
      rgba(255, 255, 255, 0.9),
      rgba(255, 255, 255, 0) 62%
    );
  mix-blend-mode: screen;
  filter: blur(6px) saturate(115%);
  /* 三角マスク（どちらか効けばOK） */
  -webkit-mask-image: conic-gradient(
    from -26deg at 0% 0%,
    #000 0 24%,
    transparent 24% 360deg
  );
  mask-image: conic-gradient(
    from -26deg at 0% 0%,
    #000 0 24%,
    transparent 24% 360deg
  );
  clip-path: polygon(0 0, 68% 0, 0 68%);
  opacity: 0;
  animation: beamsIn 1900ms ease-out forwards 80ms;
}

/* レンズフレアの横筋 */
.fx-flare {
  position: absolute;
  left: -30vmax;
  top: -6vmax;
  width: 160vmax;
  height: 160vmax;
  background: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0) 46%,
    rgba(255, 255, 255, 0.95) 50%,
    rgba(255, 255, 255, 0) 54%
  );
  filter: blur(8px);
  mix-blend-mode: screen;
  opacity: 0;
  animation: flareSweep 1600ms ease-out forwards 140ms;
}

/* 羽（はっきり見える調整） */
.fx-feather {
  position: absolute;
  width: 80px;
  height: 80px; /* 大きくして視認性UP */
  top: 2vh;
  left: 0;
  z-index: 2;
  opacity: 0;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.32)) /* 濃い影で輪郭を出す */
    drop-shadow(0 0 18px rgba(255, 255, 230, 0.55)); /* ほのかな発光 */
  transform-origin: 50% 50%;
  animation: fallVisible var(--dur, 5.2s) cubic-bezier(0.18, 0.6, 0.18, 1)
      forwards,
    drift calc(var(--dur, 5.2s) * 0.9) ease-in-out infinite alternate;
  animation-delay: var(--delay, 0s), var(--delay, 0s);
}

/* === Animations === */
@keyframes sunFlash {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1.08);
  }
}
@keyframes beamsIn {
  0% {
    opacity: 0;
    transform: translate(-3%, -3%) rotate(-2deg);
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(10%, -6%) rotate(-2deg);
  }
}
@keyframes flareSweep {
  0% {
    opacity: 0;
    transform: translate(-4%, -4%) rotate(-6deg);
  }
  30% {
    opacity: 0.95;
  }
  100% {
    opacity: 0;
    transform: translate(12%, -10%) rotate(-6deg);
  }
}

@keyframes fallVisible {
  0% {
    opacity: 0;
    transform: translate(var(--sx, 6vw), -2vh) rotate(-16deg) scale(0.95);
  }
  12% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(calc(var(--sx, 6vw) + var(--dx, 42vw)), 80vh)
      rotate(10deg) scale(1);
  }
}
@keyframes drift {
  0% {
    transform: translateX(0) rotate(-8deg);
  }
  50% {
    transform: translateX(10px) rotate(-2deg);
  }
  100% {
    transform: translateX(-8px) rotate(6deg);
  }
}

/* Reduce Motion の人には無効化 */
@media (prefers-reduced-motion: reduce) {
  .fx-ov {
    display: none !important;
  }
}

/* 羽：外側に落下用ラッパーを新設し、内側SVGはゆらぎだけにする */
.fx-fwrap {
  position: absolute;
  top: 2vh;
  left: 0;
  z-index: 2;
  opacity: 0;
  /* ここが落下（可視時間長め） */
  animation: fallVisible var(--dur, 5.2s) cubic-bezier(0.18, 0.6, 0.18, 1)
    forwards;
  animation-delay: var(--delay, 0s);
}

.fx-feather {
  position: static !important; /* 位置はラッパーが持つ */
  width: 80px;
  height: 80px;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.32))
    drop-shadow(0 0 18px rgba(255, 255, 230, 0.55));
  transform-origin: 50% 50%;
  /* ゆらぎのみ（transformの競合を避ける） */
  animation: drift calc(var(--dur, 5.2s) * 0.9) ease-in-out infinite alternate !important;
  animation-delay: var(--delay, 0s) !important;
}

/* 既存の .fx-feather に fallVisible を掛けている指定があれば打ち消す */
.fx-feather {
  animation-name: drift !important;
}

/* ===== FX Overlay ===== */
.fx-ov {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  pointer-events: none;
  overflow: hidden;
}

/* 光：太陽・差し込み・フレア */
.fx-sun {
  position: absolute;
  width: 42vmin;
  height: 42vmin;
  top: -8vmin;
  left: -8vmin;
  background: radial-gradient(
    circle at 40% 40%,
    #fff 0 18%,
    rgba(255, 255, 255, 0.92) 22%,
    rgba(255, 255, 255, 0.55) 42%,
    rgba(255, 255, 255, 0.15) 64%,
    rgba(255, 255, 255, 0) 76%
  );
  mix-blend-mode: screen;
  filter: blur(0.6px) saturate(110%);
  opacity: 0;
  animation: sunFlash 1300ms ease-out forwards;
}
.fx-beams {
  position: absolute;
  inset: -12vmax -6vmax 0 -12vmax;
  background: repeating-linear-gradient(
      -28deg,
      rgba(255, 255, 255, 0) 0,
      rgba(255, 255, 255, 0) 22px,
      rgba(255, 255, 255, 0.95) 44px,
      rgba(255, 255, 255, 0) 86px
    ),
    radial-gradient(
      120% 80% at 0% 0%,
      rgba(255, 255, 255, 0.9),
      rgba(255, 255, 255, 0) 62%
    );
  mix-blend-mode: screen;
  filter: blur(6px) saturate(115%);
  -webkit-mask-image: conic-gradient(
    from -26deg at 0% 0%,
    #000 0 24%,
    transparent 24% 360deg
  );
  mask-image: conic-gradient(
    from -26deg at 0% 0%,
    #000 0 24%,
    transparent 24% 360deg
  );
  clip-path: polygon(0 0, 68% 0, 0 68%);
  opacity: 0;
  animation: beamsIn 1900ms ease-out forwards 80ms;
}
.fx-flare {
  position: absolute;
  left: -30vmax;
  top: -6vmax;
  width: 160vmax;
  height: 160vmax;
  background: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0) 46%,
    rgba(255, 255, 255, 0.95) 50%,
    rgba(255, 255, 255, 0) 54%
  );
  filter: blur(8px);
  mix-blend-mode: screen;
  opacity: 0;
  animation: flareSweep 1600ms ease-out forwards 140ms;
}

/* 羽：transform競合を防ぐため「落下用ラッパー」と「ゆらぎSVG」を分離 */
.fx-fwrap {
  position: absolute;
  top: 2vh;
  left: 0;
  opacity: 0;
  z-index: 2;
  will-change: transform, opacity;
  animation: fallVisible var(--dur, 5.2s) cubic-bezier(0.18, 0.6, 0.18, 1)
    forwards;
  animation-delay: var(--delay, 0s);
}
.fx-feather {
  width: 86px;
  height: 86px;
  transform-origin: 50% 50%;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.32))
    drop-shadow(0 0 18px rgba(255, 255, 230, 0.55));
  animation: drift calc(var(--dur, 5.2s) * 0.9) ease-in-out infinite alternate;
  animation-delay: var(--delay, 0s);
}

/* Animations */
@keyframes sunFlash {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1.08);
  }
}
@keyframes beamsIn {
  0% {
    opacity: 0;
    transform: translate(-3%, -3%) rotate(-2deg);
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(10%, -6%) rotate(-2deg);
  }
}
@keyframes flareSweep {
  0% {
    opacity: 0;
    transform: translate(-4%, -4%) rotate(-6deg);
  }
  30% {
    opacity: 0.95;
  }
  100% {
    opacity: 0;
    transform: translate(12%, -10%) rotate(-6deg);
  }
}

@keyframes fallVisible {
  0% {
    opacity: 0;
    transform: translate(var(--sx, 6vw), -2vh) rotate(-16deg);
  }
  12% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(calc(var(--sx, 6vw) + var(--dx, 42vw)), 80vh)
      rotate(10deg);
  }
}
@keyframes drift {
  0% {
    transform: translateX(0) rotate(-8deg);
  }
  50% {
    transform: translateX(12px) rotate(-2deg);
  }
  100% {
    transform: translateX(-10px) rotate(6deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fx-ov {
    display: none !important;
  }
}

/* ===== Floating "English" button ===== */
.btn-en {
  position: fixed;
  right: clamp(14px, 2vw, 24px);
  bottom: clamp(88px, 6vh, 110px); /* 右下の↑ボタンと重ならない高さ */
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.95rem;
  border-radius: 9999px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  text-decoration: none;
  /* クールなグラデ＋軽いガラス質感 */
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18),
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.28);
  backdrop-filter: saturate(120%) blur(4px);
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}
.btn-en:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22),
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.32);
}
.btn-en:active {
  transform: translateY(0);
}
.btn-en:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.5), 0 10px 22px rgba(0, 0, 0, 0.18),
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.32);
}
.btn-en svg {
  display: block;
  color: rgba(255, 255, 255, 0.95);
}
.btn-en span {
  line-height: 1;
}

/* モバイルで少し低めに */
@media (max-width: 768px) {
  .btn-en {
    bottom: 82px;
    right: 12px;
  }
}

/* ご予約方法：ビーチ＋羽の重ね表示 */
.booking-art {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2; /* 横長の比率。お好みで 4/3 や 16/9 に調整可能 */
  border-radius: 12px;
  overflow: hidden;
}

/* ビーチ画像 */
.booking-art img.bg {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 枠いっぱいに表示しつつ縦横比を維持 */
  object-position: center; /* 切り抜きの基準位置。例: 50% 35% で少し上に寄せられる */
  display: block;
}

/* 羽の画像 */
.booking-art img.feather {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* 中央に配置 */
  width: 25% !important; /* 羽の大きさをカード幅に対して割合で指定 */
  height: auto !important;
  pointer-events: none !important;
}

/* 1) 背景方式を完全リセット（方法Aの名残を消す） */
.booking-art {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2; /* 横長：カード幅に合わせる */
  border-radius: 12px;
  overflow: hidden;
  background: none !important; /* ← これが重要：背景の羽/ビーチを無効化 */
}

/* 2) ビーチ画像（下） */
.booking-art img.bg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* 3) 羽画像（上）—確実に小さくする */
.booking-art img.feather {
  position: absolute;
  z-index: 2; /* 最前面へ */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 25% !important; /* ← お好みで 20% などに */
  height: auto !important;

  max-width: none !important; /* 全体指定の max-width:100% を打ち消す */
  pointer-events: none !important;
}

/* 背景方式の名残を完全無効化（方法Aを全リセット） */
.booking-art {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2; /* 横長・カード幅に追従 */
  border-radius: 12px;
  overflow: hidden;
  background: none !important; /* 重要：背景由来の羽/ビーチを消す */
}

/* 下層：ビーチ */
.booking-art img.bg {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* 上層：羽（IDで“確実に”効かせる） */
#feather-booking {
  position: absolute !important;
  z-index: 2 !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;

  /* ここが肝。カード幅に対する割合で縮小 */
  width: 25% !important; /* ← お好みで 18% など */
  height: auto !important;

  /* よくある全体指定を無効化 */
  max-width: none !important;
  min-width: 0 !important;

  pointer-events: none !important;
}

/* === 修正パッチ：booking-art の最終上書き（最後尾に貼る） === */

/* 1) 汎用の img ルールは「背景（.bg）のみ」に適用させる */
.booking-art img:not(.feather) {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover; /* ビーチはトリミングで枠いっぱい */
  object-position: center;
  border-radius: 12px;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.18));
}

/* 2) 行等化系の包括指定が羽を上書きしないよう“羽だけ除外” */
.row-eq .card .booking-art > img:not(.feather) {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 0 !important;
  display: block;
}

/* 3) 羽の最終指定（ここが本命） */
.booking-art img.feather,
.row-eq .card .booking-art > img.feather {
  position: absolute !important;
  z-index: 2 !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;

  /* ← ここでサイズをコントロール（カード幅に対する割合） */
  width: 25% !important; /* 例: 25%。小さくするなら 18% など */
  height: auto !important;
  max-width: none !important;

  pointer-events: none !important;
  border-radius: 0 !important;
  filter: none !important;
}

/* 4) コンテナの背景方式は完全に無効化（方法Aの名残対策） */
.booking-art {
  background: none !important;
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2; /* カード横幅に追従する横長 */
  border-radius: 12px;
  overflow: hidden;
}

/* 5) ビーチ（.bg）だけを枠いっぱいに */
.booking-art img.bg {
  position: relative;
  z-index: 1; /* 羽の一段下 */
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important; /* 好みで 50% 35% などに */
}

/* 6) 光エフェクト（::before）がハミ出さないよう一応リミット */
.booking-art::before {
  inset: 0 !important;
}

/* 料金：セッション名の下に「対面」を1行で表示する */
.price-list .label {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.price-list .sub {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.4;
}

/* モバイルで縦積み時の見た目を安定させる（既存と整合） */
@media (max-width: 640px) {
  .price-list li {
    grid-template-columns: 1fr auto;
  }
}

.en-guide .sep {
  text-align: center;
  opacity: 0.55;
  margin: 0.8rem 0;
}

/* 英語パネルを開いている間はボタンを隠す（誤クリック防止） */
body.en-open #btn-en {
  display: none !important;
}

/* もし .btn-en が誤って複数存在しても、ID付きの1つ以外は非表示 */
.btn-en:not(#btn-en) {
  display: none !important;
}

/* 額縁に寄り過ぎるのを避けて、少し内側に配置 */
#btn-en {
  right: 28px !important; /* 余白を多めに */
  bottom: 88px !important; /* 必要なら 80〜110px で調整 */
}
@media (max-width: 768px) {
  #btn-en {
    right: 16px !important;
    bottom: 82px !important;
  }
}

/* 羽のアニメ用スタイル */
.entry-fx .fwrap {
  position: absolute;
  top: -10vh;
  will-change: transform, opacity;
}

.entry-fx .feather {
  display: block;
  opacity: 0.95;
  width: clamp(36px, 4.2vw, 88px);
  height: clamp(36px, 4.2vw, 88px);
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.25));
}

/* ===== 区切り写真（鳥居）：ヒーロー直下の全幅バナー ===== */
.photo-band {
  padding: 0 20px; /* 額縁の内側余白と合わせる */
  margin: 0 auto;
  max-width: 960px; /* 本文幅にフィット */
}
.photo-band__inner {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  isolation: isolate;
  /* アスペクト比：モバイルは4:3、PCでは16:9に */
  aspect-ratio: 4 / 3;
}
@media (min-width: 768px) {
  .photo-band__inner {
    aspect-ratio: 16 / 9;
  }
}
.photo-band__inner img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 余白無しで気持ちよくフィット */
  display: block;
}
/* ほんのり光を足してサイト世界観に馴染ませる */
.photo-band__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
      80% 60% at 10% 10%,
      rgba(255, 255, 240, 0.65),
      transparent 65%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0) 60%,
      rgba(255, 255, 255, 0.25)
    );
  mix-blend-mode: screen;
}

/* ===== ヒーロー内キャッチコピー（p）の文字サイズ調整 ===== */
.hero h1 {
  font-family: "Marcellus", serif;
  font-size: 34px;
  margin: 0 0 0.2em;
}
.hero p {
  font-size: 1.4rem; /* 通常よりやや大きく（スマホでも視認性◎） */
  line-height: 1.8; /* 行間を広めにして柔らかい印象に */
  font-weight: 500; /* 少しだけ太字にして視認性を確保 */
  margin: 0;
  color: #444;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 44px;
  }
  .hero p {
    font-size: 1.8rem; /* PC表示ではさらに大きく */
    line-height: 1.9;
  }
}

/* Instagramボタンを白黒&無効化 */
.btn.insta.disabled {
  filter: grayscale(100%);
  opacity: 0.6;
  pointer-events: none; /* クリック無効 */
  position: relative;
}

/* 準備中ラベル */
.btn.insta.disabled .label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.85em;
  pointer-events: none;
}

/* ==== Language Switch Button ==== */

.lang-switch {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 8px;
  z-index: 9999;
}

.btn-lang {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 6px;
  font-size: 14px;
  text-decoration: none;
  color: #333;
  border: 1px solid #bbb;
  line-height: 1.4;
}

.btn-lang:hover {
  opacity: 0.9;
}

.btn-lang.active {
  background: #333;
  color: #fff;
  border-color: #333;
}
