/* =============================
   CSS Variables (管理画面から上書き可能)
============================= */
:root {
  --accent:       var(--accent);  /* アクセントカラー */
  --accent-dark:  var(--accent-dark);  /* アクセント（ホバー） */
  --accent-light: var(--accent-light);  /* ライトアクセント（ボーダー・帯） */
  --base-bg:      var(--base-bg);  /* ベースカラー（背景ベージュ） */
  --text-main:    var(--text-main);  /* メインテキスト */
  --text-sub:     var(--text-sub);  /* サブテキスト */
  --text-light:   var(--text-light);  /* ライトテキスト */
  --header-bg:    var(--header-bg);  /* ヘッダー背景 */
  --btn-radius:   4px;      /* ボタン角丸 */
}

/* =============================
   Reset & Base
============================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* スクロールバーの場所を常に空けておく。
   拡大表示などで背景のスクロールを止めたときにバーが消えると、その幅ぶん
   ページと、画面に貼り付いたボタン（LINE・チャット）が右へ動いてしまう。
   場所を先に確保しておけば、消えても幅が変わらないので何も動かない。
   バーが内容に重なる表示（スマホ等）では元から差が出ないので影響なし */
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body { font-family: 'Noto Sans JP', sans-serif; font-weight: 300; color: #333; line-height: 1.8; background: #fff; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }

/* =============================
   Announce Bar
============================= */
.announce-bar {
  background: var(--announce-bg);
  color: var(--announce-text);
  text-align: center;
  padding: 8px 20px;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

/* =============================
   Logo Bar
============================= */
.logo-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 40px;
  background: #fff;
  position: relative;
}
.logo { display: flex; flex-direction: column; align-items: center; gap: 2px; position: relative; overflow: hidden; }
.logo::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.85) 50%, rgba(255,255,255,0) 100%);
  mix-blend-mode: overlay;
  pointer-events: none;
}
.logo::after {
  animation: logoShine 10s ease-in-out 0.5s infinite;
}
@keyframes logoShine {
  0%   { left: -150%; }
  15%  { left: 150%; }
  100% { left: 150%; }
}
.logo-sub { font-family: var(--font-head); font-size: 0.75rem; letter-spacing: 0.25em; color: var(--text-light); }
.logo-main { font-family: var(--font-head); font-size: 2.1rem; font-weight: 400; color: var(--text-main); letter-spacing: 0.12em; }
.logo-img { height: 132px; width: auto; display: block; object-fit: contain; opacity: 0; animation: logoFadeIn 3s ease forwards; }
body[data-logo-anim="off"] .logo-img { opacity: 1; }
body[data-logo-anim="off"] .logo::after { display: none; }
@keyframes logoFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.logo-sns { position: absolute; right: 40px; display: flex; gap: 14px; }
.logo-sns a { color: var(--text-light); display: flex; align-items: center; transition: color 0.2s; }
.logo-sns a:hover { color: var(--text-main); }

/* =============================
   Header Nav（スティッキー）
============================= */
.header {
  /* 金継ぎ2026-09-10: 白文字×アクセント地が比2.24〜3.48で床(4.5)未満だったため、
     色相を保ったまま地を濃くする（テーマ非依存・金茶/モノトーンとも床を超える） */
  background: var(--nav-bg);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--nav-shadow);
}
.header-nav {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}
.header-nav a {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  font-size: 0.8rem;
  color: var(--nav-text);
  letter-spacing: 0.06em;
  transition: background 0.2s;
  white-space: nowrap;
  border-right: 1px solid var(--nav-line);
}
.header-nav a:last-child { border-right: none; }
.header-nav a:first-child { border-left: 1px solid var(--nav-line); }
.header-nav a:hover,
.header-nav a.current { background: var(--nav-hover); }
.header-nav .nav-cta {
  background: var(--nav-cta-bg);
  color: var(--nav-cta-text);
  gap: 7px;
  font-weight: 500;
  overflow: hidden;
  position: relative;
  z-index: 0;
  transition: background 0.2s;
}
.header-nav .nav-cta:hover { background: var(--nav-hover); }

.nav-dropdown { position: relative; }
.nav-dropdown-label {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  font-size: 0.8rem;
  color: var(--nav-text);
  letter-spacing: 0.06em;
  white-space: nowrap;
  border-right: 1px solid var(--nav-line);
  cursor: default;
  height: 100%;
}
.nav-dropdown:hover .nav-dropdown-label,
.nav-dropdown-label.current { background: var(--nav-hover); }
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: color-mix(in srgb, var(--header-bg) 62%, #000);
  box-shadow: 0 10px 24px rgba(0,0,0,0.14);
  border: 1px solid var(--accent-light);
  border-top: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 50;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 12px 20px;
  font-size: 0.78rem;
  color: var(--text-main);
  background: transparent;
  border-right: none;
  border-bottom: 1px solid var(--accent-light);
}
.nav-dropdown-menu a:last-child { border-bottom: none; }
.nav-dropdown-menu a:hover { background: var(--base-bg); }

/* ── Foil / Shiny アニメーション ─────────────────── */
@keyframes shiny_btn {
  0%   { opacity: 0; transform: scale(0) rotate(25deg); }
  84%  { opacity: 0; transform: scale(0) rotate(25deg); }
  85%  { opacity: 0.9; transform: scale(1) rotate(25deg); }
  100% { opacity: 0; transform: scale(50) rotate(25deg); }
}
/* 常時表示の斜めハイライト（左端の白ライン） */
.header-nav .nav-cta::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -120px;
  width: 80px;
  height: 200px;
  background-image: linear-gradient(90deg, rgba(255,255,255,0), var(--nav-shine-soft) 80%, rgba(255,255,255,0));
  transform: translateY(-50%) rotate(25deg);
  pointer-events: none;
}
/* 定期フラッシュは止めた（2026-09-20 指示）。太字と常時の斜めハイライトは残す。
   戻すときは下の content: none をやめ、::after に
   animation: shiny_btn 3s ease-in-out infinite; を復活させる */
.header-nav .nav-cta::after { content: none; }

/* =============================
   Hero（トップページ）
============================= */
.hero {
  position: relative;
  height: 82vh;
  min-height: 520px;
  overflow: hidden;
}
@keyframes hero-zoom {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}
@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* 画像は content.json（管理画面のヒーロー設定）から inline style で指定される */
.hero-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  will-change: opacity;
  background-color: #c8b8a0;
  background-size: cover;
  background-position: center;
  animation: hero-zoom 8s ease-out forwards;
}
.hero-overlay { position: absolute; inset: 0; background: rgba(30,20,10,0.28); z-index: 1; }

/* スライドショー */
.hero-slides {
  position: fixed;
  inset: 0;
  z-index: -1;
  /* スクロール中に透明度を変えるので、描画の準備をブラウザに伝えておく。
     これが無いとスマホで書き直しが重くなりカクつく */
  will-change: opacity;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  overflow: hidden;
}
.hero-slide.active {
  opacity: 1;
}
/* 各スライドの背景レイヤー（ケンバーンズ効果適用）。
   中の img を敷き詰めるだけで、見た目は background-size: cover と同じ */
.hero-slide-bg {
  position: absolute;
  inset: -5%;
}
.hero-slide-bg img,
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
/* ケンバーンズ キーフレーム */
@keyframes kb-zoom-in    { from { transform: scale(1); }    to { transform: scale(1.12); } }
@keyframes kb-zoom-out   { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes kb-scroll-left  { from { transform: scale(1.05) translateX(3%); }  to { transform: scale(1.05) translateX(-3%); } }
@keyframes kb-scroll-right { from { transform: scale(1.05) translateX(-3%); } to { transform: scale(1.05) translateX(3%); } }
/* アクティブスライドにケンバーンズを適用（JS側でdata-durationから継続時間を設定） */
.hero-slide.active .hero-slide-bg                           { animation: kb-zoom-in    var(--kb-duration, 14s) ease-out forwards; }
.hero-slide.active[data-effect="zoom-out"]    .hero-slide-bg { animation: kb-zoom-out   var(--kb-duration, 14s) ease-out forwards; }
.hero-slide.active[data-effect="scroll-left"] .hero-slide-bg { animation: kb-scroll-left  var(--kb-duration, 14s) ease-out forwards; }
.hero-slide.active[data-effect="scroll-right"] .hero-slide-bg { animation: kb-scroll-right var(--kb-duration, 14s) ease-out forwards; }
.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0;
  z-index: 2;
}
/* 金継ぎ2026-09-10: 見た目の丸は8pxのまま、指で押せるよう当たり判定だけ24px角に広げる
   （WCAG 2.5.8 の床24px。丸そのものは ::before に移した） */
.hero-dot {
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  background: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-dot::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: 1.5px solid rgba(255,255,255,0.7);
  transition: background 0.3s, transform 0.3s;
}
.hero-dot.active::before {
  background: #fff;
  transform: scale(1.35);
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  color: #fff;
  padding: 20px;
}
/* JS が .hero-anim を付与するまで非表示 */
.hero-catch,
.hero-title,
.hero-sub,
.hero-cta-group { opacity: 0; }

/* .hero-anim が付いた瞬間にスタガー再生 */
.hero-anim .hero-catch,
.hero-anim .hero-title,
.hero-anim .hero-sub,
.hero-anim .hero-cta-group {
  animation: hero-fade-up 1.4s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
/* メインコピー（.hero-catch）は主役: 大きく・字間を詰めながら・ぼかしが晴れるようにゆっくり現れる */
@keyframes hero-catch-in {
  0%   { opacity: 0; letter-spacing: 0.6em; filter: blur(8px); transform: translateY(10px); }
  55%  { opacity: 1; }
  100% { opacity: 1; letter-spacing: 0.26em; filter: blur(0); transform: translateY(0); }
}
.hero-anim .hero-catch     { animation: hero-catch-in 3.4s cubic-bezier(0.19, 1, 0.22, 1) both; animation-delay: 1.3s; }
.hero-anim .hero-title     { animation-delay: 3.6s; }
.hero-anim .hero-sub       { animation-delay: 4.4s; }
.hero-anim .hero-cta-group { animation-delay: 5.0s; }

.hero-catch { font-family: var(--font-head); font-size: clamp(1.5rem, 3.8vw, 3rem); font-weight: 400; letter-spacing: 0.26em; line-height: 1.5; margin-bottom: 26px; text-shadow: 0 2px 14px rgba(0,0,0,0.45); }
.hero-title { font-family: var(--font-head); font-size: clamp(1.1rem, 2.1vw, 1.7rem); font-weight: 400; line-height: 1.7; letter-spacing: 0.06em; margin-bottom: 14px; text-shadow: 0 2px 10px rgba(0,0,0,0.4); }
@media (max-width: 600px) {
  .hero-catch { font-size: 1.4rem; letter-spacing: 0.12em; }
  @keyframes hero-catch-in {
    0%   { opacity: 0; letter-spacing: 0.4em; filter: blur(8px); transform: translateY(10px); }
    55%  { opacity: 1; }
    100% { opacity: 1; letter-spacing: 0.12em; filter: blur(0); transform: translateY(0); }
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-anim .hero-catch { animation-duration: 0.8s; }
}
.hero-sub { font-size: 0.88rem; letter-spacing: 0.12em; margin-bottom: 34px; text-shadow: 0 1px 4px rgba(0,0,0,0.3); }

/* =============================
   Page Header（各ページ）
============================= */
.page-header {
  background: var(--base-bg);
  padding: 52px 24px 44px;
  text-align: center;
  border-bottom: 1px solid var(--accent-light);
}
.breadcrumb {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}
.breadcrumb a { color: var(--accent-deep); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 6px; color: var(--text-light); }
.page-header h1 { font-family: var(--font-head); font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 400; color: var(--text-main); margin-bottom: 4px; }
.page-header-status { font-size: 0.62em; margin-left: 0.2em; color: var(--accent-deep); vertical-align: 0.12em; }
.page-header .page-en { font-size: 0.75rem; color: var(--accent-deep); letter-spacing: 0.28em; text-transform: uppercase; }

/* =============================
   Buttons
============================= */
.btn-primary {
  display: inline-block;
  background: var(--accent-deep);
  color: #fff;
  padding: 15px 44px;
  font-size: 0.9rem;
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0.12em;
  border: none;
  border-radius: var(--btn-radius);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 0.25s, transform 0.2s;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
  transition: left 0.55s ease;
  pointer-events: none;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-primary:hover::after { left: 160%; }
.btn-outline {
  display: inline-block;
  border: 1px solid var(--accent);
  color: var(--accent-deep);
  padding: 10px 28px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  transition: all 0.22s;
}
.btn-outline:hover { background: var(--accent-deep); color: #fff; }
.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #06C755;
  color: #fff;
  padding: 16px 42px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: var(--btn-radius);
  position: relative;
  /* ホバーの光沢は擬似要素ではなく背景グラデーションで走らせる。
     擬似要素を蔦の装飾に使うため、また蔦がはみ出せるよう overflow を切らない。 */
  background-image: linear-gradient(100deg, transparent 42%, rgba(255,255,255,0.30) 50%, transparent 58%);
  background-size: 260% 100%;
  background-position: 165% 0;
  transition: background-color 0.2s, background-position 0.55s ease, transform 0.2s;
  font-family: 'Noto Sans JP', sans-serif;
}
/* お問い合わせフォーム準備中 */
.contact-pending { text-align: center; padding: 32px 20px; background: var(--base-bg); border-radius: 8px; margin-top: 32px; font-size: 0.9rem; line-height: 2; color: var(--text-main); }
.contact-pending p { margin-bottom: 8px; }
.contact-pending .btn-line { margin-top: 12px; }
/* 予約サイト等へ誘導するCTA（LINE未設定時はアクセントカラーで表示） */
.btn-reserve { background: var(--accent-deep); }
.btn-reserve:hover { background: var(--accent-dark); }
.btn-reserve i { font-size: 1.05em; }


.btn-line:hover { background-color: #05a847; background-position: -65% 0; transform: translateY(-2px); }

.btn-submit {
  width: 100%;
  background: var(--accent-deep);
  color: #fff;
  border: none;
  padding: 15px;
  font-size: 0.9rem;
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: background 0.25s;
  margin-top: 10px;
}
.btn-submit:hover { background: var(--accent-dark); }

/* =============================
   Sections（共通）
============================= */
.section { padding: 90px 24px; }
.section-beige {
  background: var(--base-bg);
  padding-top: 90px;
  padding-bottom: 90px;
}
.container { max-width: 1000px; margin: 0 auto; }
.section-title { font-family: var(--font-head); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 300; text-align: center; color: var(--text-main); margin-bottom: 4px; position: relative; padding-bottom: 12px; }
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent-deep);
  transition: width 1s ease;
}
.section-title.underline-visible::after { width: 48px; }
.section-en { text-align: center; font-size: 0.75rem; color: var(--accent-deep); letter-spacing: 0.28em; margin-bottom: 54px; text-transform: uppercase; }

/* =============================
   Store Cards（トップページ）
============================= */
.store-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}
.store-card {
  display: block;
  background: #fff;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.07);
  transition: transform 0.25s, box-shadow 0.25s;
}
.store-card.fade-in { transition: opacity 0.7s ease, transform 0.2s ease, box-shadow 0.2s ease; }
.store-card:hover,
.store-card.fade-in.visible:hover { transform: translateY(-8px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
/* 画像は各ルームの mainImage から inline style で指定される */
.store-card-photo {
  height: 220px;
  background-color: #d0c0b0;
  background-size: cover;
  background-position: center;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.store-card:hover .store-card-photo { transform: scale(1.08); }
.store-card-body { padding: 22px 24px; }
.store-card-body h3 { font-family: var(--font-head); font-size: 1.05rem; color: var(--text-main); margin-bottom: 6px; }
.store-card-body p { font-size: 0.78rem; color: var(--text-light); margin-bottom: 14px; }
.card-link { font-size: 0.78rem; color: var(--accent-deep); letter-spacing: 0.06em; }

/* =============================
   Features（特徴）
============================= */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 24px; }
.feature-card { text-align: center; padding: 42px 24px 36px; border: 1px solid var(--accent-light); background: #fff; border-radius: 10px; }
.feature-icon { color: var(--accent-deep); margin-bottom: 20px; display: flex; justify-content: center; }
.feature-card h3 { font-family: var(--font-head); font-size: 1rem; font-weight: 600; color: var(--text-main); margin-bottom: 14px; }
.feature-card p { font-size: 0.82rem; color: #666; line-height: 1.9; }
/* 定期利用の特典カード（views/teiki.ejs） */
/* 枚数が4で割り切れないと最後の1枚が浮くので、3列の折り返し・2段目は中央寄せにする（2026-10-26。5枚になった） */
/* 2026-10-27: PC で細いカードに長文が詰まって読みにくかったので、横長の1列（左にアイコン、右に見出しと説明）にした */
.teiki-benefits { display: grid; gap: 18px; max-width: 880px; margin: 0 auto; }
.teiki-benefit { display: grid; grid-template-columns: 64px 1fr; gap: 0 26px; align-items: start; text-align: left; border-left: 3px solid var(--accent-deep); padding: 28px 34px; }
.teiki-benefit h3 { text-align: left; margin-bottom: 8px; }
@media (max-width: 560px) {
  .teiki-benefit { grid-template-columns: 46px 1fr; gap: 0 16px; padding: 22px 18px; }
  .teiki-benefit .teiki-benefit-icon { width: 46px; height: 46px; font-size: 1.1rem; }
}
.teiki-benefit-icon {
  width: 64px; height: 64px; margin: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #f4efe9; color: var(--accent-deep); font-size: 1.5rem;
}
.teiki-benefit-no { font-size: 0.68rem !important; letter-spacing: 0.22em; color: var(--accent-deep) !important; margin-bottom: 6px; }
.teiki-benefit-target { display: inline-block; margin-left: 10px; padding: 3px 11px; border-radius: 999px; background: var(--accent-deep); color: #fff; font-size: 0.74rem; font-weight: 500; letter-spacing: 0.04em; line-height: 1.4; vertical-align: 1px; }
.teiki-benefit-desc { text-align: left; }
.teiki-benefit-link { text-align: left; margin-top: 14px; font-size: 0.82rem !important; }
.teiki-benefit-link a { color: var(--accent-deep); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.teiki-benefit-link i { font-size: 0.7em; margin-left: 2px; }
.teiki-benefit-note { text-align: left; font-size: 0.74rem !important; color: #8a8178 !important; line-height: 1.7 !important; margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--accent-light); }

/* =============================
   CTA Banner
============================= */
.cta-banner {
  background: var(--base-bg);
  padding: 64px 24px;
  text-align: center;
}
.cta-banner p { color: var(--text-sub); font-size: 0.88rem; margin-bottom: 24px; letter-spacing: 0.08em; line-height: 2; }
.cta-banner .btn-line { margin: 0 auto; }

/* =============================
   Rooms（各サロンの紹介ページ）
============================= */
.room-detail { margin-bottom: 72px; }
.room-detail:last-child { margin-bottom: 0; }
/* 画像は各ルームの mainImage から inline style で指定される */
.room-main-photo {
  height: 400px;
  background-color: #d0c0b0;
  background-size: cover;
  background-position: center;
  margin-bottom: 36px;
}
/* 間取り図（任意）。概要の後・設備一覧の前に置く */
.room-floorplan { margin: 8px 0 40px; background: #fff; border: 1px solid var(--accent-light); }
.room-floorplan img { display: block; width: 100%; height: auto; }
.room-detail-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.room-detail h2 { font-family: var(--font-head); font-size: 1.5rem; color: var(--text-main); margin-bottom: 8px; }
.room-access-label { font-size: 0.78rem; color: var(--text-light); margin-bottom: 20px; }
.room-desc { font-size: 0.86rem; color: #555; line-height: 2; margin-bottom: 24px; }
.room-spec-table { width: 100%; border-collapse: collapse; font-size: 0.84rem; margin-bottom: 28px; }
.room-spec-table th { text-align: left; padding: 10px 14px; background: #f5f0eb; color: #7a6a5a; font-weight: 400; width: 40%; border-bottom: 1px solid var(--accent-light); }
.room-spec-table th i { color: var(--accent-deep); width: 16px; margin-right: 8px; text-align: center; }
.room-spec-table td { padding: 10px 14px; border-bottom: 1px solid var(--accent-light); color: #444; }
/* ギャラリーセクション（フル幅） */
.room-gallery { margin-top: 40px; }
.room-gallery-label {
  font-size: 0.75rem;
  color: var(--accent-deep);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 14px;
}
.room-thumb-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.room-thumb-btn {
  display: block;
  padding: 0;
  border: none;
  background: #d8ccc0;
  cursor: zoom-in;
  width: 100%;
  overflow: hidden;
  position: relative;
  transition: transform 0.8s ease;
}
.room-thumb-btn:hover { transform: scale(1.18); z-index: 5; }
.room-thumb-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(58, 42, 26, 0);
  transition: background 0.25s;
  pointer-events: none;
}
.room-thumb-btn:hover::after { background: rgba(58, 42, 26, 0.2); }
.room-thumb {
  width: 100%;
  height: auto;   /* img の height 属性（サムネ実寸）が効くと 4:3 にならず縦長になる */
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

/* =============================
   Price（料金）
============================= */
.price-table-wrap { overflow-x: auto; margin-bottom: 22px; }
.price-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 400px; }
.price-table th { background: var(--accent-deep); color: #fff; padding: 15px 24px; text-align: center; font-weight: 400; letter-spacing: 0.06em; font-family: var(--font-head); }
.price-table td { padding: 15px 24px; text-align: center; border-bottom: 1px solid var(--accent-light); color: #444; }
.price-table tr:nth-child(even) td { background: #faf7f3; }
.price-highlight td { background: #f5ece0 !important; font-weight: 500; color: var(--text-main); }
.price-note { font-size: 0.78rem; color: var(--text-sub); line-height: 2.2; }

/* =============================
   Flow（ご利用の流れ）
============================= */
.flow-steps { display: flex; align-items: stretch; justify-content: center; flex-wrap: wrap; gap: 0; }
.flow-step { flex: 1; min-width: 170px; max-width: 210px; text-align: center; padding: 0 0 28px; background: #fff; border: 1px solid var(--accent-light); overflow: hidden; }
.flow-step-img { width: 100%; aspect-ratio: 2/1; object-fit: cover; display: block; margin-bottom: 0; }
.step-num { display: block; font-family: var(--font-head); font-size: 2rem; color: var(--accent-deep); font-weight: 300; margin: 20px 0 10px; line-height: 1; }
.flow-step h3 { font-family: var(--font-head); font-size: 0.92rem; color: var(--text-main); margin-bottom: 10px; font-weight: 600; padding: 0 14px; }
.flow-step p { font-size: 0.78rem; color: #666; line-height: 1.9; padding: 0 14px; }
/* クーポンカード */
.coupon-card { display: flex; align-items: center; gap: 28px; max-width: 560px; margin: 0 auto; background: #fff; border: 2px dashed var(--accent); border-radius: 12px; padding: 28px 32px; }
.coupon-badge { display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--accent-deep); color: #fff; border-radius: 8px; min-width: 88px; padding: 14px 10px; flex-shrink: 0; }
.coupon-pct { font-size: 2.2rem; font-weight: 900; line-height: 1; font-family: var(--font-head); }
.coupon-off { font-size: 1rem; font-weight: 700; letter-spacing: 0.1em; }
.coupon-body { flex: 1; }
.coupon-times { font-size: 1.05rem; color: var(--text-main); font-weight: 600; margin-bottom: 8px; }
.coupon-times strong { color: var(--accent-deep); font-size: 1.2rem; }
.coupon-note { font-size: 0.8rem; color: var(--text-sub); line-height: 1.8; }
.flow-arrow { width: 36px; height: 2px; background: #d0c0b0; flex-shrink: 0; position: relative; }
.flow-arrow::after { content: ''; position: absolute; right: -1px; top: -4px; border-left: 8px solid #d0c0b0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }

/* 縦型ステップ（初めての方へページ用） */
.flow-steps-v { max-width: 680px; margin: 0 auto; }
.flow-step-v {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: #fff;
  border: 1px solid var(--accent-light);
  border-radius: 6px;
  padding: 24px 28px;
}
.flow-step-v-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-deep);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 400;
  margin-top: 2px;
}
.flow-step-v-body h3 { font-family: var(--font-head); font-size: 1rem; font-weight: 600; color: var(--text-main); margin-bottom: 6px; }
.flow-step-v-body p { font-size: 0.84rem; color: #666; line-height: 1.9; }
.flow-step-v-arrow { text-align: center; color: #d0c0b0; font-size: 1.1rem; line-height: 1; padding: 6px 0; }
@media (max-width: 600px) { .flow-step-v { padding: 18px 18px; gap: 16px; } }

/* =============================
   FAQ
============================= */
.faq-list { max-width: 740px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--accent-light); }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 20px 4px; font-size: 0.88rem; color: var(--text-main); cursor: pointer; display: flex; align-items: center; gap: 14px; font-family: 'Noto Sans JP', sans-serif; font-weight: 400; line-height: 1.6; }
.faq-q::before { content: 'Q'; font-family: var(--font-head); font-size: 1rem; color: var(--accent-deep); flex-shrink: 0; font-weight: 600; }
.faq-q::after { content: '+'; margin-left: auto; font-size: 1.3rem; color: var(--accent-deep); transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { display: none; padding: 2px 4px 22px 34px; font-size: 0.83rem; color: #666; line-height: 1.9; }
.faq-item.open .faq-a { display: block; }

/* =============================
   Notes（注意事項）
============================= */
.notes-list { max-width: 720px; margin: 0 auto; }
.notes-list li { font-size: 0.84rem; color: #555; padding: 12px 0 12px 20px; border-bottom: 1px solid var(--accent-light); position: relative; line-height: 1.8; }
.notes-list li::before { content: '・'; position: absolute; left: 4px; color: var(--accent-deep); }

/* =============================
   Access（アクセス）
============================= */
.access-block { margin-bottom: 60px; }
.access-block:last-child { margin-bottom: 0; }
.access-block h3 { font-family: var(--font-head); font-size: 1.2rem; color: var(--text-main); margin-bottom: 24px; padding-bottom: 10px; border-bottom: 1px solid var(--accent-light); }
.access-row { padding: 14px 0; border-bottom: 1px solid var(--accent-light); display: grid; grid-template-columns: 6em 1fr; gap: 12px; align-items: baseline; }
.access-dl dt { font-size: 0.75rem; color: var(--text-light); letter-spacing: 0.08em; }
.access-dl dt i { color: var(--accent-deep); width: 14px; margin-right: 6px; text-align: center; }
.access-dl dd { font-size: 0.86rem; color: #444; line-height: 1.8; }
/* 地図差し替え: .access-map の div を <iframe src="..."> に置き換え */
.access-map { background: #ddd0c0; background-image: linear-gradient(160deg, #e0d4c8 0%, #c8c0b4 100%); display: flex; align-items: center; justify-content: center; color: var(--text-sub); font-size: 0.82rem; letter-spacing: 0.08em; }
.access-map-full { width: 100%; height: 450px; margin-top: 32px; border-radius: 4px; }
@media (max-width: 600px) { .access-map-full { height: 320px; } }
.route-guide { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--accent-light); }
.route-guide h4 { font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; color: var(--text-main); margin-bottom: 18px; }
.route-guide ol { padding-left: 0; counter-reset: route-step; list-style: none; }
.route-guide ol li { counter-increment: route-step; position: relative; padding: 10px 0 10px 36px; font-size: 0.88rem; color: #444; line-height: 1.9; border-bottom: 1px solid #efe7df; }
.route-guide ol li:last-child { border-bottom: none; }
.route-guide ol li::before { content: counter(route-step); position: absolute; left: 0; top: 12px; width: 24px; height: 24px; border-radius: 50%; background: var(--accent-deep); color: #fff; font-size: 0.75rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }

.equipment-list-block { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--accent-light); }
.equipment-list-block h4 { font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; color: var(--text-main); margin-bottom: 18px; }
.equipment-list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; padding-left: 0; list-style: none; }
.equipment-list li { position: relative; padding: 8px 0 8px 26px; font-size: 0.86rem; color: #444; border-bottom: 1px solid #efe7df; }
.equipment-list li::before { content: ''; position: absolute; left: 0; top: 13px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent-light); }
.equipment-list li::after { content: ''; position: absolute; left: 4px; top: 16px; width: 6px; height: 3px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
@media (max-width: 600px) { .equipment-list { grid-template-columns: 1fr; } }
.room-calendar-block { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--accent-light); }
.room-calendar-block h4 { font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; color: var(--text-main); margin-bottom: 18px; }

/* =============================
   Contact（お問い合わせ）
============================= */
.contact-wrap { max-width: 580px; margin: 0 auto; text-align: center; }
.contact-desc { font-size: 0.86rem; color: #666; line-height: 2; margin-bottom: 30px; }
.contact-divider { display: flex; align-items: center; gap: 16px; margin: 28px 0; color: var(--text-sub); font-size: 0.78rem; letter-spacing: 0.1em; }
.contact-divider::before, .contact-divider::after { content: ''; flex: 1; height: 1px; background: #e0d8d0; }
.contact-form { text-align: left; }
.form-row { margin-bottom: 22px; }
.form-row label { display: block; font-size: 0.8rem; color: var(--text-main); margin-bottom: 7px; letter-spacing: 0.06em; }
.required { background: var(--accent-deep); color: #fff; font-size: 0.75rem; padding: 2px 7px; margin-left: 7px; vertical-align: middle; letter-spacing: 0.05em; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; border: 1px solid #ddd; padding: 12px 14px; font-size: 0.86rem;
  font-family: 'Noto Sans JP', sans-serif; color: #333; outline: none; border-radius: 0;
  transition: border-color 0.2s; -webkit-appearance: none; background: #fff;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { border-color: var(--accent-deep); }
.form-row textarea { height: 150px; resize: vertical; }

/* =============================
   Footer
============================= */
.footer { background: #fff; color: #6a5a4a; padding: 56px 24px 32px; border-top: 1px solid var(--accent-light); }
.footer-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.footer-logo { display: flex; flex-direction: column; align-items: center; gap: 2px; margin: 0 auto 32px; width: fit-content; position: relative; overflow: hidden; }
.footer-logo::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.85) 50%, rgba(255,255,255,0) 100%);
  mix-blend-mode: overlay;
  pointer-events: none;
}
.footer-logo.shine-play::after {
  animation: logoShine 10s ease-in-out 0.5s infinite;
}
.footer-logo-sub { font-family: var(--font-head); font-size: 0.75rem; letter-spacing: 0.28em; color: var(--text-light); }
.footer-logo-main { font-family: var(--font-head); font-size: 1.7rem; font-weight: 400; color: var(--text-main); letter-spacing: 0.14em; }
.footer-logo-img { height: 72px; width: auto; display: block; object-fit: contain; opacity: 0; transition: opacity 2s ease; }
.footer-logo.shine-play .footer-logo-img { opacity: 1; }
body[data-logo-anim="off"] .footer-logo-img { opacity: 1; }
body[data-logo-anim="off"] .footer-logo::after { display: none; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; margin-bottom: 32px; }
.footer-nav a { padding: 6px 16px; font-size: 0.76rem; color: var(--text-sub); border-right: 1px solid var(--accent-light); transition: color 0.2s; }
.footer-nav a:last-child { border-right: none; }
.footer-nav a:hover { color: var(--accent-deep); }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 20px;
  margin-bottom: 16px;
}
.footer-legal a { font-size: 0.75rem; color: var(--text-sub); text-decoration: none; }
.footer-legal a:hover { color: var(--accent-deep); }
.footer-copy { font-size: 0.75rem; color: var(--text-sub); }
.admin-login-link {
  color: var(--text-sub);
  opacity: 0.7;
  text-decoration: none;
  margin-left: 14px;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}
.admin-login-link:hover { opacity: 1; text-decoration: underline; }
.footer-ai-note { margin-top: 6px; font-size: 10px; line-height: 1.5; color: #777; }

/* =============================
   法的ページ
============================= */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 40px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--accent-light);
}
.legal-content p { font-size: 0.88rem; line-height: 2; color: #444; margin-bottom: 14px; }
.legal-content ul, .legal-content ol { font-size: 0.88rem; line-height: 2; color: #444; padding-left: 24px; margin-bottom: 14px; }
.legal-content table { width: 100%; border-collapse: collapse; font-size: 0.85rem; margin-bottom: 24px; }
.legal-content table th,
.legal-content table td { padding: 12px 16px; border: 1px solid var(--accent-light); text-align: left; vertical-align: top; line-height: 1.9; }
.legal-content table th { background: var(--base-bg); color: var(--text-main); font-weight: 500; white-space: nowrap; }
.legal-content table td { color: #444; }
.legal-content table a { color: var(--accent-deep); }
.legal-content hr { border: none; border-top: 1px solid var(--accent-light); margin: 32px 0; }

/* =============================
   カレンダー
============================= */
.calendar-embed iframe { width: 100%; border: none; min-height: 500px; display: block; }
.form-embed-wrap { width: 100%; }
.form-embed-wrap iframe { width: 100%; border: none; min-height: 600px; display: block; }
.calendar-placeholder {
  background: var(--base-bg);
  border: 1.5px dashed #d0c0b0;
  padding: 48px 24px;
  text-align: center;
}
.calendar-placeholder p { font-size: 0.88rem; color: var(--text-light); line-height: 2; margin-bottom: 0; }

/* =============================
   トップに戻るボタン
============================= */
.back-to-top { position: fixed; bottom: 104px; right: 30px; width: 44px; height: 44px; background: var(--accent-deep); color: #fff; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s, background 0.2s; z-index: 200; }
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--accent-dark); }

/* =============================
   フローティング LINE ボタン
============================= */
/* フローティング（CNP-site の float-btn をそのまま移植。色だけサイト仕様）
   ・62x62 の角型を縦に積む。LINEは文字だけ、AIはアイコン＋AIの文字
   ・LINEは白い光が横切る。AIは枠と文字にグラデーションを流す */
/* フローティング（CNP-site の float-btn を移植。色だけサイト仕様）
   2つを同じ角型で縦に積む。LINEは文字だけ、AIはアイコン＋AIの文字 */
.float-line,
.chat-fab {
  position: fixed;
  right: 20px;
  z-index: 200;
  width: 62px;
  height: 62px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.chat-fab   { bottom: 20px; z-index: 201; }
.float-line { bottom: 92px; }                 /* AI(62px) + 10px の上に積む */
@media (hover: hover) {
  .float-line:hover, .chat-fab:hover { transform: translateY(-2px); }
}
.float-btn-label {
  font-size: 0.68rem;
  line-height: 1.25;
  text-align: center;
  letter-spacing: 0.02em;
}

/* LINE: 濃色の面に白の枠、文字は白。白い光が横切る。枠はAIと同じ2px */
.float-line {
  background: var(--accent-deep);
  border: 2px solid #fff;
  color: #fff;
  font-weight: 700;
  overflow: hidden;
}
.float-line::after {
  content: "";
  position: absolute;
  top: -30%;
  left: -60%;
  width: 40%;
  height: 160%;
  background-image: linear-gradient(100deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.55),
    rgba(255, 255, 255, 0));
  transform: rotate(22deg);
  pointer-events: none;
  animation: float-line-shine 3s ease-in-out infinite;
}
@keyframes float-line-shine {
  0%   { left: -60%; }
  84%  { left: -60%; }
  100% { left: 130%; }
}
.float-line-sm { width: 54px; height: 54px; }
.float-line-lg { width: 70px; height: 70px; }


/* =============================
   ヒーロー CTA グループ
============================= */
.hero-cta-group { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
/* ヒーロー（写真の上）用の白い枠のボタン。以前は .btn-outline 全体を上書きしていたため、
   部屋紹介ページの白地の上でも白文字・白枠になり見えなかった（2026-10-10）。ヒーローの中だけに限る */
.hero .btn-outline {
  display: inline-block;
  padding: 14px 28px;
  border: 1.5px solid rgba(255,255,255,0.8);
  color: #fff;
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  transition: background 0.2s;
}
.hero .btn-outline:hover { background: rgba(255,255,255,0.15); }

/* =============================
   プライスストリップ
============================= */
.price-strip {
  background: var(--strip-bg);
  color: var(--strip-text);
  padding: 14px 20px;
}
.price-strip-list {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.price-strip-list li {
  padding: 5px 20px;
  font-size: 0.8rem;
  letter-spacing: 0.07em;
  border-right: 1px solid var(--strip-line);
}
.price-strip-list li:last-child { border-right: none; }
.price-strip-list strong { color: var(--strip-text); font-weight: 700; }
/* 淡色系プリセット: strong だけアクセント色を維持 */
.theme-pink-beige .price-strip-list strong,
.theme-lavender .price-strip-list strong,
.theme-bordeaux .price-strip-list strong { color: var(--accent-deep); font-weight: 700; }

/* =============================
   お知らせ（ホーム）
============================= */
.news-list { list-style: none; border-top: 1px solid var(--accent-light); margin: 0; padding: 0; }
.news-item {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--accent-light);
  font-size: 0.85rem;
  flex-wrap: wrap;
}
.news-date { color: var(--text-light); min-width: 88px; flex-shrink: 0; }
.news-cat {
  background: var(--accent-deep);
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 10px;
  border-radius: 2px;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 8em;
  box-sizing: border-box;
  text-align: center;
}
.news-text { flex: 1; min-width: 0; }
.news-title { color: var(--text-main); }
.news-body { color: var(--text-light); margin: 6px 0 0; line-height: 1.8; }
.news-body a { color: var(--accent-deep); text-decoration: underline; }
.news-more { margin-top: 18px; }
.news-more summary { cursor: pointer; font-size: 0.85rem; color: var(--accent-deep); text-align: center; list-style: none; padding: 8px 0; }
.news-more summary::-webkit-details-marker { display: none; }
.news-more summary::after { content: " ▼"; font-size: 0.7em; }
.news-more[open] summary::after { content: " ▲"; }
.news-more .news-list { margin-top: 8px; }

/* =============================
   お客様の声
============================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: #fff;
  padding: 36px 28px 28px;
  border: 1px solid var(--accent-light);
  border-radius: 10px;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-head);
  font-size: 5rem;
  color: var(--accent-light);
  position: absolute;
  top: 4px;
  left: 16px;
  line-height: 1;
  pointer-events: none;
}
.testimonial-comment {
  font-size: 0.84rem;
  color: #555;
  line-height: 2;
  margin-bottom: 20px;
  position: relative;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--text-light);
}
.testimonial-author strong {
  display: block;
  color: var(--text-main);
  font-family: var(--font-head);
  font-size: 0.9rem;
  margin-bottom: 2px;
}
/* ── 人物シルエットアバター ── */
.avatar-photo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.avatar-silhouette {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
}

/* =============================
   スクロールフェードイン
============================= */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
/* グリッド内カード：順番に遅延 */
.features-grid .fade-in:nth-child(2) { transition-delay: 0.1s; }
.features-grid .fade-in:nth-child(3) { transition-delay: 0.2s; }
.features-grid .fade-in:nth-child(4) { transition-delay: 0.3s; }
.testimonials-grid .fade-in:nth-child(2) { transition-delay: 0.12s; }
.testimonials-grid .fade-in:nth-child(3) { transition-delay: 0.24s; }
.store-cards .fade-in:nth-child(2) { transition-delay: 0.14s; }

/* =============================
   建物外観写真プレースホルダー
============================= */
/* 外観写真（管理画面の「外観写真」に設定した場合に表示） */
.building-photo {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
  display: block;
  margin-bottom: 48px;
}
/* 実写に差し替え: サロン外観・エントランスのイメージ写真（横幅100% × 高さ300px, JPG推奨） */
.building-photo-placeholder {
  width: 100%;
  height: 300px;
  background: linear-gradient(160deg, #e0d4c8 0%, #c8c0b4 50%, #d8ccbf 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-light);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  border: 1.5px dashed #c8b8a8;
  margin-bottom: 48px;
}
.building-photo-placeholder .placeholder-icon {
  font-size: 2rem;
  opacity: 0.6;
}
.building-photo-placeholder .placeholder-label {
  font-weight: 500;
  color: #7a6a5a;
}
.building-photo-placeholder .placeholder-hint {
  font-size: 0.75rem;
  color: #b0a090;
}

/* =============================
   Instagram
============================= */
.instagram-section { text-align: center; }
.instagram-note { font-size: 0.88rem; color: #666; margin-bottom: 28px; }
.btn-instagram {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  border: 1.5px solid var(--accent);
  color: var(--text-main);
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: background 0.25s, color 0.25s;
}
.btn-instagram:hover { background: var(--accent-deep); color: #fff; }

/* =============================
   ライトボックス
============================= */
.lightbox {
  position: fixed;
  inset: 0;
  /* 以前は rgba(10,6,2,0.93) でほぼ黒。写真だけが浮いて硬い見え方だった。
     サイトの色調に合わせた温かい幕を薄くかけ、背後はぼかして沈ませる */
  z-index: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}
/* 幕は中央をやや薄く、周辺を締める。単色のベタより空気が出る。
   背景ぼかし（backdrop-filter）は使わない。中の写真まで合成に巻き込まれて
   色が薄く見える環境があったため（2026-09-16 実測） */
.lightbox::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 50% 45%, rgba(44, 33, 23, 0.34) 0%, rgba(30, 22, 15, 0.6) 100%);
}
.lightbox > * { position: relative; z-index: 1; }
.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.985) translateY(10px);
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
  max-width: 90vw;
  max-height: 74vh;
}
.lightbox.open .lightbox-img-wrap { transform: none; }
/* 読み込みが済むまでは隠す（前の画像が一瞬見えるのを防ぐ）。
   .ready は app.js が新しい画像を読み終えてから付ける */
/* 隠すのは即座に、出すときだけゆっくり。
   隠すほうにも時間をかけると、その間ずっと前に見ていた写真が残る
   （開いた直後に隣の写真が一瞬見える原因だった） */
.lightbox-img-wrap img { opacity: 0; transition: none; }
.lightbox-img-wrap img.ready { opacity: 1; transition: opacity 0.35s ease; }
.lightbox-img-wrap img {
  max-width: 90vw;
  max-height: 74vh;
  object-fit: contain;
  display: block;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38), 0 2px 12px rgba(0, 0, 0, 0.2);
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: rgba(30, 22, 15, 0.5);
  border: none;
  color: rgba(255,255,255,0.95);
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(30, 22, 15, 0.62); }
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(30, 22, 15, 0.5);
  border: none;
  color: rgba(255,255,255,0.95);
  cursor: pointer;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
/* 写真（90vw）より手前に出す。「前へ」と「閉じる」は HTML で写真より前にあり、
   同じ z-index だとスマホで写真の下に隠れる */
.lightbox-close,
.lightbox-prev,
.lightbox-next { z-index: 2; }
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(30, 22, 15, 0.62); }
/* 画像の直下に置く。画面下からの絶対位置にすると、縦長・横長で画像の高さが
   変わるぶん隙間が広がったり詰まったりする（2026-09-16 指摘）。
   暗い幕に暗い帯だと沈んで読めないので、明るい帯に暗い文字にする */
.lightbox-caption {
  max-width: min(90vw, 720px);
  margin-top: 16px;
  color: #3b3029;
  font-size: 0.85rem;
  line-height: 1.6;
  text-align: center;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
}
.lightbox-counter {
  margin-top: 10px;
  color: rgba(255,255,255,0.85);
  text-shadow: 0 1px 12px rgba(0,0,0,0.45);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
/* スマホ・タブレットでは写真が横幅いっぱいになり、左右の矢印が写真に乗る。
   矢印は写真の下へ移し、枚数表示を挟んで並べる（＜ 1 / 48 ＞） */
@media (max-width: 768px) {
  .lightbox {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas: "img img img" "cap cap cap" "prev cnt next";
    align-content: center;
    justify-items: center;
    align-items: center;
    column-gap: 20px;
  }
  .lightbox-img-wrap { grid-area: img; }
  .lightbox-caption { grid-area: cap; }
  .lightbox-counter { grid-area: cnt; margin-top: 16px; }
  .lightbox-prev,
  .lightbox-next { position: static; transform: none; margin-top: 16px; width: 48px; height: 48px; }
  .lightbox-prev { grid-area: prev; justify-self: end; }
  .lightbox-next { grid-area: next; justify-self: start; }
}

/* =============================
   Responsive
============================= */
@media (max-width: 900px) {
  .room-detail-inner { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .header-nav a { padding: 12px 10px; font-size: 0.75rem; }
  .logo-bar { padding: 18px 24px; }
  .logo-sns { right: 20px; }
  .logo-main { font-size: 1.7rem; }
  .hero { height: 70vh; }
  .flow-steps { flex-direction: column; align-items: center; }
  .flow-step { max-width: 100%; width: 100%; }
  .flow-arrow { width: 2px; height: 28px; background: #d0c0b0; }
  .coupon-card { flex-direction: column; text-align: center; gap: 16px; padding: 24px 20px; }
  .coupon-badge { flex-direction: row; gap: 6px; align-items: baseline; padding: 10px 20px; min-width: unset; }
  .coupon-pct { font-size: 1.8rem; }
  .flow-arrow::after { top: auto; bottom: -1px; right: -4px; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 8px solid #d0c0b0; border-bottom: none; }
  .section { padding: 64px 20px; }
  .section-beige {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .room-main-photo { height: 260px; }
  .back-to-top { bottom: 90px; right: 20px; }
  .float-line { right: 14px; bottom: 80px; width: 56px; height: 56px; }  /* AI(56px) + 10px の上 */
  .price-strip-list li { padding: 4px 12px; font-size: 0.75rem; }
  .building-photo-placeholder { height: 200px; }
}
@media (max-width: 768px) {
  .room-thumb-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .header-nav { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .store-cards { grid-template-columns: 1fr; }
  .room-thumb-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =============================
   Calendar Widget
============================= */
.cal-widget {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  font-size: 1.05rem;
}
.cal-loading {
  text-align: center;
  color: var(--text-sub);
  padding: 48px 0;
}
/* ツールバー */
.cal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid #e8e8e8;
  gap: 8px;
  flex-wrap: wrap;
}
.cal-nav-grp {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cal-month-ttl {
  font-weight: 700;
  font-size: 1.2rem;
  color: #333;
  min-width: 7.5em;
  text-align: center;
}
.cal-btn {
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 4px;
  padding: 6px 16px;
  font-size: 0.92rem;
  cursor: pointer;
  color: #444;
  white-space: nowrap;
  font-family: inherit;
}
.cal-btn:hover:not([disabled]) { background: #f5f5f5; }
.cal-btn[disabled] { color: var(--text-light); cursor: default; }
/* テーブル */
.cal-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.cal-table th {
  text-align: center;
  padding: 10px 2px;
  font-size: 0.92rem;
  font-weight: 500;
  color: #555;
  border: 1px solid #e8e8e8;
  background: #fafafa;
}
.cal-th-sat { color: #1D5FD0; }
.cal-th-sun { color: #ef4444; }
.cal-table td {
  text-align: center;
  padding: 6px 2px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #333;
  border: 1px solid #e8e8e8;
  height: 56px;
  vertical-align: top;
  cursor: default;
  line-height: 1.2;
}
/* セル状態 */
.cal-other  { color: #ccc; }
.cal-past   { color: #aaa; }
.cal-sat    { color: #1D5FD0; }
.cal-sun    { color: #ef4444; }
.cal-has-ev { cursor: pointer; }
.cal-has-ev:hover { background: #f9f6f2; }
/* 空き状況カラー（ドットのみ） */
.cal-status-red    .cal-dot { background: #ef4444; }
.cal-status-yellow .cal-dot { background: #f59e0b; }
.cal-status-green  .cal-dot { background: #22c55e; }
/* 過去の日（ダミー ON のとき）: 薄いグレーの印。クリックでダミーの予約を出す */
.cal-past-pick .cal-dot { background: #e4e4e4; }
.cal-past-pick:hover { background: #f9f6f2; }
/* 凡例 */
.cal-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: 14px 0 0; padding: 0 4px; font-size: 0.78rem; color: #555; }
.cal-legend li { display: flex; align-items: center; gap: 6px; }
.cal-legend .cal-dot { width: 12px; height: 12px; margin: 0; }
.cal-legend .cal-dot.cal-legend-green { background: #22c55e; }
.cal-legend .cal-dot.cal-legend-yellow { background: #f59e0b; }
.cal-legend .cal-dot.cal-legend-red { background: #ef4444; }
.cal-legend-note { flex-basis: 100%; color: var(--text-sub); }
.cal-modal-empty { list-style: none; color: #666; text-align: center; padding: 8px 0; }
/* 今日マーク */
.cal-today-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #1D5FD0;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
}
/* 予約ドット */
.cal-dot {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #f59e0b;
  margin: 8px auto 0;
}
/* モーダル */
.cal-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}
.cal-modal {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  width: 100%;
  max-width: 380px;
  overflow: hidden;
}
.cal-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid #eee;
  font-weight: 600;
  font-size: 0.95rem;
  color: #333;
}
.cal-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #999;
  line-height: 1;
  width: 44px;
  height: 44px;
  margin: -12px -14px -12px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cal-modal-close:hover { color: #555; }
.cal-modal-events {
  list-style: none;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.cal-modal-events li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #333;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}
.cal-modal-events li:last-child { border-bottom: none; }
.cal-modal-check { color: #22c55e; font-weight: 700; flex-shrink: 0; }
/* 閉じるは右上の × だけにした（下部の「閉じる」ボタンと二重だった）。
   指で押せる大きさを確保する */

/* =============================
   予約詳細ボディ（マークダウン）
============================= */
.reserve-body { max-width: 720px; margin: 0 auto; }
.reserve-body h2 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 600;
  color: #4a3728;
  margin: 2.8rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent-light);
}
.reserve-body h2:first-child { margin-top: 0; }
/* ご予約方法（WEB予約・LINEアプリ予約を並べる。/reserve だけ） */
.reserve-methods { margin: 12px 0 32px; }
.reserve-methods-lead { font-weight: 700; color: var(--text-main); text-align: center; margin-bottom: 14px; }
.reserve-methods-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.reserve-method {
  border: 1px solid var(--accent-light); border-radius: 8px; background: #fff;
  padding: 18px 18px 20px; display: flex; flex-direction: column; text-align: center;
}
.reserve-body .reserve-method h3 { margin: 0 0 8px; font-size: 1.05rem; }
.reserve-method p { font-size: 0.9rem; color: var(--text-sub); margin: 0 0 14px; flex: 1 1 auto; text-align: left; }
.reserve-method .btn-line { align-self: center; }
.reserve-methods-note { font-size: 0.88rem; color: var(--text-sub); margin-top: 14px; }
@media (max-width: 640px) { .reserve-methods-grid { grid-template-columns: 1fr; } }
/* /reserve: 空き状況カレンダーと予約方法のあいだを詰める（.section の上下 90px が重なって広すぎた） */
#calendar.section { padding-bottom: 40px; }
#calendar + #flow.section { padding-top: 40px; }
@media (max-width: 768px) { #calendar.section { padding-bottom: 28px; } #calendar + #flow.section { padding-top: 28px; } }
.reserve-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #5a4535;
  margin: 1.6rem 0 0.6rem;
}
.reserve-body p {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0.8rem;
  line-height: 1.9;
}
.reserve-body ol {
  list-style: none;
  counter-reset: step-counter;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0.6rem 0 1rem;
  padding: 0;
}
.reserve-body ol li {
  counter-increment: step-counter;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.88rem;
  color: #444;
  padding: 10px 0;
  border-bottom: 1px solid #f0ebe4;
  line-height: 1.8;
}
.reserve-body ol li:last-child { border-bottom: none; }
.reserve-body ol li::before {
  content: counter(step-counter);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-deep);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
/* キャンセルポリシー テーブル */
.reserve-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin: 0.8rem 0 1rem;
}
.reserve-body th, .reserve-body td {
  padding: 10px 14px;
  text-align: left;
  border: 1px solid #e5ddd5;
}
.reserve-body th {
  background: var(--accent-light);
  color: #5a4535;
  font-weight: 600;
  font-size: 0.82rem;
}
.reserve-body tbody tr:nth-child(even) { background: #fdf9f5; }
/* 区切り線 */
.reserve-body hr {
  border: none;
  border-top: 1px solid #e5ddd5;
  margin: 2rem 0;
}
/* 注記テキスト（※始まり） */
.reserve-body em { font-style: normal; color: var(--text-sub); font-size: 0.82rem; }
/* ステップ内 タイトル＋説明 */
.rb-step { display: flex; flex-direction: column; gap: 3px; }
.rb-step-title { font-weight: 600; color: #333; font-size: 0.9rem; }
.rb-step-desc { font-size: 0.82rem; color: #777; line-height: 1.7; }

/* LINEボタンの蔦装飾。左右で別素材、ボタンの外側へはみ出しつつ内側にも被せる。
   素材はマゼンタのダミーボタンに絡ませて生成し、白とマゼンタを抜いたもの。
   被せる分だけ左右のパディングを広げて、文字に葉がかからないようにする。 */
body[data-cta-leaf="on"] .btn-line {
  border-radius: 999px;
  padding-left: 30px;
  padding-right: 30px;
}
body[data-cta-leaf="on"] .btn-line::before,
body[data-cta-leaf="on"] .btn-line::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 122px;
  height: 90px;
  margin-top: -45px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  pointer-events: none;
  z-index: 1;
}
body[data-cta-leaf="on"] .btn-line::before {
  left: -46px;
  background-image: url("/assets/line-ivy-left-v2.webp");
}
body[data-cta-leaf="on"] .btn-line::after {
  right: -46px;
  background-image: url("/assets/line-ivy-right-v2.webp");
}

/* フローティングの小さいLINEボタン。画面右端に固定されているので、
   右の蔦がはみ出す分だけ right を広げて画面外に出ないようにする。 */

@media (max-width: 767px) {
  body[data-cta-leaf="on"] .btn-line { padding-left: 24px; padding-right: 24px; }
  body[data-cta-leaf="on"] .btn-line::before,
  body[data-cta-leaf="on"] .btn-line::after { width: 87px; height: 64px; margin-top: -32px; }
  body[data-cta-leaf="on"] .btn-line::before { left: -34px; }
  body[data-cta-leaf="on"] .btn-line::after { right: -34px; }
        }

/* =============================
   チャットボット
   フローティングLINEボタンの上に積む。配色はテーマ変数に追従させる。
============================= */
/* AI: 最暗色の面に、枠と文字へグラデーションを流す。
   CNP と同じ主従の付け方。LINE を明るい面、AI を暗い面にして、
   青紫の枠と文字が一番映える条件にする（明るい面だと青紫が沈む） */
.chat-fab {
  background-color: var(--text-main);
  color: #fff;
  border: 2px solid transparent;
  background-image:
    linear-gradient(var(--text-main), var(--text-main)),
    linear-gradient(135deg, #6EC7FF, #A97BFF, #6EC7FF);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  background-size: 100% 100%, 220% 100%;
  animation: ai-border-flow 4s linear infinite;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18), 0 0 14px rgba(138, 165, 255, 0.28);
}
.float-btn-label-ai {
  font-weight: 700;
  letter-spacing: 0.08em;
  background: linear-gradient(115deg, #6EC7FF, #A97BFF, #6EC7FF);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: ai-flow 4s linear infinite;
}
@keyframes ai-flow {
  from { background-position: 0% 50%; }
  to   { background-position: 220% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .float-line::after { animation: none; opacity: 0; }
  .chat-fab, .chat-panel, .float-btn-label-ai { animation: none; }
}
@media (hover: hover) {
  .chat-fab:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.18), 0 0 20px rgba(138, 165, 255, 0.42); }
}

.chat-panel[hidden] { display: none !important; }
.chat-panel {
  position: fixed;
  right: 14px;
  bottom: 74px;
  z-index: 202;
  width: 360px;
  max-width: calc(100vw - 28px);
  /* 高さは中身なり。540px 固定だと、あいさつ1行でも縦に間延びしていた */
  max-height: min(560px, calc(100vh - 120px));
  display: flex;
  flex-direction: column;
  /* 枠は CNP-site と同じ流れるグラデーション。面は白 */
  background: #fff;
  border: 2px solid transparent;
  background-image:
    linear-gradient(#fff, #fff),
    linear-gradient(135deg, #6EC7FF, #A97BFF, #6EC7FF);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  background-size: 100% 100%, 220% 100%;
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.22), 0 0 18px rgba(138, 165, 255, 0.18);
  overflow: hidden;
  animation: chatUp 0.2s ease, ai-border-flow 4s linear infinite;
}
@keyframes chatUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--accent-deep);
  color: #fff;
}
.chat-title { font-family: var(--font-head); font-size: 0.92rem; letter-spacing: 0.04em; }
.chat-close {
  background: none; border: none; color: #fff; font-size: 1.4rem; line-height: 1;
  cursor: pointer; padding: 0 4px;
}

.chat-log { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.chat-msg {
  max-width: 84%;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.75;
  white-space: pre-wrap;
  word-break: break-word;
}
.chat-msg-bot { align-self: flex-start; background: var(--base-bg); color: var(--text-main); border-bottom-left-radius: 3px; }
.chat-msg-user { align-self: flex-end; background: var(--accent-deep); color: #fff; border-bottom-right-radius: 3px; }
.chat-msg-error { background: #fdf0ee; color: #8a3a2c; }

.chat-typing { display: flex; gap: 4px; align-items: center; padding: 12px 14px; }
.chat-typing span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--text-light);
  animation: chatDot 1.2s infinite ease-in-out;
}
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes chatDot { 0%,60%,100% { opacity: 0.25; } 30% { opacity: 1; } }

.chat-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 8px; }
.chat-chip {
  border: 1px solid var(--accent-light);
  background: #fff;
  color: var(--text-main);
  border-radius: 100px;
  padding: 6px 13px;
  font-size: 0.76rem;
  cursor: pointer;
  transition: background 0.2s;
}
.chat-chip:hover { background: var(--base-bg); }

.chat-form { display: flex; gap: 8px; padding: 9px 14px; border-top: 1px solid var(--accent-light); }
.chat-form input {
  flex: 1;
  border: 1px solid var(--accent-light);
  border-radius: 100px;
  padding: 9px 15px;
  font-size: 0.85rem;
  font-family: inherit;
  color: var(--text-main);
  background: #fff;
}
.chat-form input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.chat-form button {
  width: 38px; height: 38px; flex-shrink: 0;
  border: none; border-radius: 50%;
  background: var(--accent-deep); color: #fff;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.chat-form button:disabled { opacity: 0.5; cursor: default; }

.chat-cta {
  display: block; text-align: center;
  margin: 0 14px 8px;
  padding: 8px;
  background: #06C755; color: #fff;
  border-radius: 100px;
  font-size: 0.8rem; font-weight: 700;
}
.chat-note { padding: 0 14px 10px; font-size: 0.68rem; color: var(--text-light); text-align: center; line-height: 1.6; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

@media (max-width: 767px) {
  .chat-fab { right: 14px; bottom: 14px; width: 56px; height: 56px; }
  /* 全画面にすると、あいさつ1行でも画面を占領し、キーボードが出ると
     何が見えているのか分からなくなる。浮いたカードにして中身なりの高さにする */
  .chat-panel {
    right: 10px; left: 10px; bottom: 10px;
    width: auto; max-width: none;
    max-height: min(74dvh, calc(100dvh - 20px));
    border-radius: 12px;
  }
  /* キーボードが出ると使える高さが半分近くになる。各段をさらに詰めて、
     会話の見える範囲をできるだけ残す */
  .chat-head { padding: 9px 12px; }
  .chat-log { padding: 10px 12px; gap: 7px; }
  .chat-quick { padding: 0 12px 7px; gap: 5px; }
  .chat-chip { padding: 5px 11px; }
  .chat-form { padding: 8px 12px; }
  .chat-cta { margin: 0 12px 7px; padding: 8px; }
  .chat-note { padding: 0 12px 8px; line-height: 1.5; }
  /* パネルを開いている間はフローティングLINEボタンとチャットボタンを隠す */
  body.chat-open .float-line, body.chat-open .chat-fab { display: none; }
}

/* =============================
   ハンバーガーメニュー（狭い画面）
   広い画面では出さず、従来どおり横並びのまま。
============================= */
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin: 0 6px 0 auto;   /* 右上に寄せる */
  border: none;
  background: none;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--nav-text);
  transition: transform 0.25s, opacity 0.2s;
}
.header[data-nav-open="true"] .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header[data-nav-open="true"] .nav-toggle span:nth-child(2) { opacity: 0; }
.header[data-nav-open="true"] .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 767px) {
  .nav-toggle { display: flex; }
  .header-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    overflow: visible;
    border-top: 1px solid var(--nav-line);
  }
  .header[data-nav-open="true"] .header-nav { display: flex; }
  .header-nav a,
  .nav-dropdown-label {
    border-right: none;
    border-bottom: 1px solid var(--nav-line);
    justify-content: center;
    padding: 14px 18px;
  }
  .header-nav a:first-child { border-left: none; }
  /* 縦並びではドロップダウンを開きっぱなしにして、階層をなくす */
  .nav-dropdown { display: flex; flex-direction: column; }
  .nav-dropdown-menu {
    position: static;
    display: block;
    min-width: 0;
    box-shadow: none;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-dropdown-menu a { padding-left: 34px; font-size: 0.74rem; }
}

/* チャット単体ページ（ポータル掲載用 /chat）。画面いっぱいにチャットだけを出す。 */
.chat-page { min-height: 100dvh; background: var(--base-bg); }
.chat-panel-alone {
  position: static;
  width: 100%;
  max-width: 560px;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0 auto;
  border-radius: 0;
  border-left: 1px solid var(--accent-light);
  border-right: 1px solid var(--accent-light);
  box-shadow: none;
  animation: none;
}
/* 単体ページでは、メッセージを入力欄の近く（下）に寄せ、空きは上に回す。
   キーボードで画面が狭くなっても、あいさつと最新の会話が入力欄のすぐ上に見えたままになる。
   justify-content: flex-end だと溢れたときに上へスクロールできなくなるので、先頭の余白で寄せる */
.chat-panel-alone .chat-log > :first-child { margin-top: auto; }
.chat-page-off { max-width: 560px; margin: 0 auto; padding: 80px 24px; text-align: center; font-size: 0.9rem; }
.chat-page-off .btn-line { margin-top: 16px; }
@media (max-width: 767px) {
  .chat-panel-alone { border-left: none; border-right: none; }
}
.chat-msg .chat-link { color: var(--accent-deep); text-decoration: underline; word-break: break-all; }
.chat-msg-user .chat-link { color: #fff; }

/* =============================
   予約の流れ（画像つき手順カード）
   ・スマホは1列（縦）。タブレットで2列、PCで3列に並べる
   ・スクリーンショットが縦長（540×1078）なので、1列のまま並べるとページが
     とても長くなる。PCでは横に並べて縦の移動量を減らす
   ============================= */
.reserve-body ol.step-cards { list-style: none; margin: 0.6rem 0 1rem; padding: 0; display: grid; grid-template-columns: 1fr; gap: 24px; }
.reserve-body ol.step-cards > li { border-bottom: none; padding: 20px; align-items: stretch; }
.step-card { background: #fff; border: 1px solid var(--accent-light); border-radius: 6px; padding: 20px 20px 24px; display: flex; flex-direction: column; gap: 14px; }
.step-card-body { display: flex; flex-direction: column; gap: 6px; }
.step-card-title { font-size: 0.98rem; font-weight: 600; color: var(--text-main); margin: 2px 0 0; }
.step-card-desc { font-size: 0.85rem; color: var(--text-sub); line-height: 1.8; margin: 0; }
.step-card-shot { margin-top: auto; text-align: center; }
/* 画像は実寸より小さく置く。原寸で出すとスマホで画面が1枚に占領される */
.step-card-shot img { width: 100%; max-width: 280px; height: auto; border: 1px solid #e6e0d8; border-radius: 8px; }

@media (min-width: 640px) {
  .reserve-body ol.step-cards { grid-template-columns: repeat(2, 1fr); }
}
/* 手順カードだけ本文カラム（720px）の外へ出す。
   スクリーンショットが小さくなるのは画像の上限ではなく入れ物の幅が原因。
   スマホは1列で幅いっぱいなので、広げても得が無い 800px 以上から適用する。
   100vw はスクロールバーを含むので、その分を引いて横スクロールを出さない。 */
@media (min-width: 800px) {
  .reserve-body .step-card-shot img { max-width: 330px; }
  .reserve-body ol.step-cards {
    width: min(calc(100vw - 64px), 1000px);
    max-width: none;
    margin-left: 50%;
    transform: translateX(-50%);
  }
}
@media (min-width: 1000px) {
  .reserve-body ol.step-cards { grid-template-columns: repeat(3, 1fr); }
}

/* アンカーで飛んだとき、見出しが sticky ヘッダーの下に隠れないようにする */
[id] { scroll-margin-top: 96px; }
/* セクションを指すアンカー（#flow など）は、セクション自身の上余白（90px / スマホ64px）が
   そのまま加算され、見出しが他のアンカーより下に落ちる。その分を差し引いて位置を揃える */
.section[id] { scroll-margin-top: 6px; }
@media (max-width: 768px) {
  .section[id] { scroll-margin-top: 32px; }
}

/* 本文（マークダウン）に差し込んだ画面の画像。原寸で出すと本文より目立ちすぎる */
.reserve-body img, .legal-content img { display: block; width: 100%; max-width: 280px; height: auto; margin: 18px auto; border: 1px solid #e6e0d8; border-radius: 8px; }

/* 道案内・ご利用の流れの、手順ごとの写真。文字の下に置く。
   本文の幅いっぱいにはせず、写真だと分かる大きさに留める */
.route-guide ol li .route-text { display: block; }
.route-guide ol li .route-shot,
.flow-step-shot { display: block; width: 100%; max-width: 640px; height: auto; margin: 12px 0 4px; border: 1px solid #e6e0d8; border-radius: 8px; }

/* 料金表：スマホでは横スクロールを出さない。
   .price-table の min-width:400px が画面の内寸（375px端末で約327px）を超えるため、
   必ずスクロールバーが出ていた。狭い画面では最小幅を外し、余白と文字を詰めて収める。
   文字数が増えて収まらないときは、従来どおり折り返す（それでも溢れる場合だけ横スクロール） */
@media (max-width: 600px) {
  .price-table { min-width: 0; font-size: 0.8rem; table-layout: fixed; }
  .price-table th { padding: 11px 6px; letter-spacing: 0; }
  .price-table td { padding: 11px 6px; overflow-wrap: anywhere; }
  /* 均等割りだと「プラン」が3行に折り返す。中身の長さに合わせて配分する
     （時間は「1時間〜」で足りる。プランと料金に幅を回す） */
  .price-table th:first-child, .price-table td:first-child { width: 42%; }
  .price-table th:nth-child(2), .price-table td:nth-child(2) { width: 22%; }
}

/* 幅の狭い端末（320px級）でカレンダーの月送りが画面からはみ出していた。
   月名の最小幅（7.5em）とボタンの余白が、使える幅より広かったため */
@media (max-width: 400px) {
  .cal-toolbar { padding: 10px 8px; gap: 6px; }
  .cal-nav-grp { width: 100%; justify-content: space-between; gap: 4px; }
  .cal-month-ttl { min-width: 0; font-size: 1.05rem; }
  .cal-btn { padding: 6px 10px; font-size: 0.82rem; }
}

/* スマホのヒーロー背景
   ・画面に固定（position:fixed）していると、アドレスバーの出入りで画面の高さが
     変わるたびに cover の計算が走り、スクロール中に写真が拡大・縮小して見える。
     ヒーローの中に収める（absolute）と高さが変わらないので、その動きが消える
   ・固定だと背景は常に画面いっぱい＝横長写真が大きく切り取られて寄りすぎる。
     ヒーローの高さに収めることで引きの絵になる */
@media (max-width: 768px) {
  .hero { height: 62vh; min-height: 420px; }
  .hero-slides,
  .hero-bg { position: absolute; }
}

/* =============================
   フローティングボタンの見た目（2026-09-20 指示）
   ・LINEは下地をグレージュに。葉の飾りは付けない
   ・AIチャットは枠を流れるグラデーションにする（CNP-site から移植）
============================= */

@media (max-width: 767px) {
  }

@keyframes ai-border-flow {
  from { background-position: 0 0, 0% 50%; }
  to   { background-position: 0 0, 220% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .chat-fab { animation: none; }
}

/* 定期ページ: プランの比較表（2026-10-27） */
.teiki-plan-table { max-width: 880px; margin: 0 auto; }
.teiki-plan-table tbody tr th, .price-table.teiki-plan-table tbody tr td { background: #fff; }
.teiki-plan-table tbody th { color: var(--accent-deep); font-weight: 500; border-bottom: 1px solid var(--accent-light); white-space: nowrap; }
.teiki-plan-table td { line-height: 1.7; }
@media (max-width: 768px) {
  .teiki-plan-table th:first-child, .teiki-plan-table td:first-child { width: 24%; }
  .teiki-plan-table th:nth-child(2), .teiki-plan-table td:nth-child(2),
  .teiki-plan-table th:nth-child(3), .teiki-plan-table td:nth-child(3) { width: 38%; }
  .teiki-plan-table tbody th { white-space: normal; }
}

/* 料金ページの定期利用プラン表（2026-10-28）: プラン名・料金を折り返さない */
@media (min-width: 601px) {
  .price-table-sub th:first-child, .price-table-sub td:first-child,
  .price-table-sub th:last-child, .price-table-sub td:last-child { white-space: nowrap; }
  .price-table-sub td:nth-child(2) { text-align: left; }
}
@media (max-width: 600px) {
  .price-table-sub th:first-child, .price-table-sub td:first-child { width: 30%; }
  .price-table-sub th:nth-child(2), .price-table-sub td:nth-child(2) { width: 48%; }
}

/* お問い合わせ: Googleフォームの埋め込み（2026-10-28） */
.contact-gform { margin-top: 32px; }
.contact-gform iframe { display: block; width: 100%; border: 0; background: #fff; border-radius: 8px; }
.contact-gform-alt { margin-top: 10px; font-size: 0.8rem; color: #8a8178; text-align: center; }
.contact-gform-alt a { color: var(--accent-deep); }

/* ============================================================
   クラッセで足したもの（2026-11-14）
   ブログ・設備のご紹介・教室紹介・単独ページ
   ============================================================ */
/* ブログ一覧・トップのブログ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card { display: flex; flex-direction: column; background: #fff; border-radius: 8px; overflow: hidden; color: inherit; text-decoration: none; box-shadow: 0 1px 4px rgba(0,0,0,0.06); transition: transform .2s, box-shadow .2s; }
.blog-card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.10); }
.blog-card-photo { aspect-ratio: 16 / 10; overflow: hidden; background: var(--base-bg); }
.blog-card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card-body { padding: 16px 18px 20px; }
.blog-card-title { font-size: 0.98rem; line-height: 1.6; margin: 6px 0 0; font-weight: 600; }
.blog-card-summary { font-size: 0.8rem; line-height: 1.8; color: var(--text-sub); margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-meta { font-size: 0.78rem; color: var(--text-sub); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.blog-cat { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--accent-light); color: var(--text-main); font-size: 0.72rem; text-decoration: none; }
.blog-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 32px; }
.blog-cats a { padding: 6px 16px; border-radius: 999px; border: 1px solid var(--accent-light); color: var(--text-main); font-size: 0.85rem; text-decoration: none; }
.blog-cats a.current { background: var(--text-main); color: #fff; border-color: var(--text-main); }
.blog-pager { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.blog-pager a, .blog-pager span { min-width: 38px; padding: 8px 12px; border-radius: 6px; border: 1px solid var(--accent-light); text-align: center; color: var(--text-main); text-decoration: none; font-size: 0.85rem; }
.blog-pager span.current { background: var(--text-main); color: #fff; border-color: var(--text-main); }
/* ブログ記事 */
.blog-article .blog-meta { margin-bottom: 18px; }
.blog-eyecatch img { width: 100%; height: auto; border-radius: 8px; display: block; }
.blog-article h3 { font-size: 1rem; margin: 28px 0 10px; }
.blog-studio-box { margin: 40px 0 8px; padding: 22px 24px; border-radius: 8px; background: var(--base-bg); border-left: 4px solid var(--accent); }
.blog-studio-box p { margin-bottom: 6px; }
.blog-studio-title { font-weight: 700; color: var(--text-main) !important; }
.blog-related { list-style: disc; }
.blog-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.blog-nav a { display: block; padding: 14px 16px; border: 1px solid var(--accent-light); border-radius: 8px; font-size: 0.85rem; line-height: 1.6; color: var(--text-main); text-decoration: none; }
.blog-nav a span { display: block; font-size: 0.72rem; color: var(--text-sub); margin-bottom: 4px; }
.blog-nav-older { text-align: right; }
/* 設備のご紹介（room.highlights） */
.room-highlights { margin-top: 48px; }
.room-highlights h4 { font-size: 1.05rem; margin-bottom: 20px; }
.highlight-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.highlight-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.highlight-photo { aspect-ratio: 16 / 9; overflow: hidden; background: var(--base-bg); }
.highlight-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.highlight-body { padding: 16px 18px 18px; }
.highlight-body h5 { font-size: 0.95rem; margin: 0 0 6px; }
.highlight-body p { font-size: 0.84rem; line-height: 1.9; color: #555; margin: 0; }
/* 教室紹介・単独ページの画像 */
.classroom-flyer img { display: block; max-width: 520px; width: 100%; height: auto; margin: 0 auto; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.10); }
.page-hero-img img { display: block; width: 100%; max-width: 720px; height: auto; margin: 0 auto 8px; border-radius: 8px; }
.campaign-banner { display: inline-block; max-width: 720px; width: 100%; }
.campaign-banner img { width: 100%; height: auto; display: block; border-radius: 8px; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .blog-grid, .highlight-grid { grid-template-columns: 1fr; }
  .blog-nav { grid-template-columns: 1fr; }
  .blog-nav-older { text-align: left; }
}
/* クラッセのロゴは横長なので、Altessa（縦長のロゴ・132px）より低くする */
.logo-img { height: 68px; }
.logo-bar { padding-top: 16px; padding-bottom: 16px; }
.footer-logo-img { height: 52px; width: auto; }
@media (max-width: 600px) { .logo-img { height: 46px; } }
body[data-logo-anim="off"] .logo::after { display: none !important; }
/* 単独ページの画像は元の大きさより引き伸ばさない（看板の写真は縦長で小さい） */
.page-hero-img img { width: auto; max-width: 100%; max-height: 560px; }
/* 定期利用の予約状況（曜日ごとの帯） */
.teiki-sch-note { text-align: center; font-size: 0.88rem; color: #555; margin-bottom: 20px; }
.teiki-sch { max-width: 860px; margin: 0 auto; }
.teiki-sch-row { display: grid; grid-template-columns: 2.2em 1fr 15em; align-items: center; gap: 12px; padding: 6px 0; border-bottom: 1px solid rgba(0,0,0,0.06); }
.teiki-sch-head { border-bottom: none; padding-bottom: 0; }
.teiki-sch-day { font-weight: 600; text-align: center; }
.teiki-sch-track { position: relative; height: 22px; background: #f3f1ec; border-radius: 4px; }
.teiki-sch-hours { background: none; height: 16px; font-size: 0.68rem; color: var(--text-sub); }
.teiki-sch-hours span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.teiki-sch-bar { position: absolute; top: 0; bottom: 0; background: var(--accent); border-radius: 4px; }
.teiki-sch-text { font-size: 0.8rem; color: #555; line-height: 1.5; }
.teiki-sch-updated { text-align: right; font-size: 0.78rem; color: var(--text-sub); margin-top: 8px; max-width: 860px; margin-left: auto; margin-right: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 700px) {
  .teiki-sch-row { grid-template-columns: 2em 1fr; }
  .teiki-sch-text { grid-column: 2; font-size: 0.75rem; }
  .teiki-sch-head .teiki-sch-text { display: none; }
}

/* トップの動画（site.hero.video）。背景いっぱいに敷き、静止画は動画が出るまでの下敷き */
/* 2026-11-29: 静止画用のゆっくり拡大（hero-zoom）を動画に掛けると、再生中に画面全体が拡大し続けてブルブル揺れて見えるので、動画では止める */
.hero-video { background: #222; animation: none; transform: none; }
.hero-video video, .hero-video .hero-video-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-video .hero-video-poster { position: absolute; inset: 0; }
@media (prefers-reduced-motion: reduce) { .hero-video video { display: none; } }
/* トップの動画の場面ごとの用途（hero.video.chapters） */
.hero-chapter { position: absolute; left: 24px; top: 24px; z-index: 3; margin: 0; pointer-events: none; }
.hero-chapter span { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(0,0,0,0.55); color: #fff; font-size: 0.85rem; letter-spacing: 0.08em; }
.hero-chapter.show span { animation: chapterIn 0.5s ease both; }
@keyframes chapterIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) { .hero-chapter { left: 16px; top: 16px; } .hero-chapter span { font-size: 0.78rem; } }
@media (prefers-reduced-motion: reduce) { .hero-chapter { display: none; } }
/* 書体（2026-11-14 本人「フォントが無機質」）: CM工房のクラッセ広告と同じ Zen Kaku Gothic New に。
   見出しは太く、字間は詰めめにして、細い字を広く空けた無機質さをなくす */
.hero-catch { font-weight: 900; letter-spacing: 0.1em; }
.hero-title { font-weight: 700; letter-spacing: 0.04em; }
.hero-sub { font-family: var(--font-head); font-weight: 500; }
.section-title, .page-header h1 { font-weight: 700; }
@keyframes hero-catch-in {
  0%   { opacity: 0; letter-spacing: 0.4em; filter: blur(8px); transform: translateY(10px); }
  55%  { opacity: 1; }
  100% { opacity: 1; letter-spacing: 0.1em; filter: blur(0); transform: translateY(0); }
}
@media (max-width: 768px) { .hero-catch { letter-spacing: 0.06em; } }
/* メニューの「今のページ」（2026-11-14 本人「どれを選択しているかわからない。色は変えずに」）
   色は変えず、文字と同じ色の下線＋太字で示す。スマホの縦並びでは左端に線 */
.header-nav a.current, .nav-dropdown-label.current { font-weight: 700; box-shadow: inset 0 -3px 0 currentColor; }
@media (max-width: 767px) {
  .header-nav a.current, .nav-dropdown-label.current { box-shadow: inset 4px 0 0 currentColor; }
}
/* 今のページでも背景の色は変えない（予約ボタンは黄色のまま）。マウスを乗せたときの変化は従来どおり */
.header-nav a.current:not(:hover), .nav-dropdown-label.current:not(:hover) { background: transparent; }
.header-nav .nav-cta.current:not(:hover) { background: var(--nav-cta-bg); }
/* LINE への予約ボタンは LINE の緑（2026-11-14 本人「LINE CTA は LINE 色でいい」）。予約先が LINE でなくなればテーマ色に戻る */
.btn-primary.is-line { background: #06C755; }
.btn-primary.is-line:hover { background: #05a847; }
.float-line.is-line { background: #06C755; }
.float-line.is-line:hover { background: #05a847; }
/* トップは開いた直後に動画と中央の文字・ボタンだけを見せ、スクロールでロゴとメニューを上から出す（2026-11-14 本人指示）
   下層ページでは .site-head は枠を作らない（display: contents）。メニューの貼り付き（sticky）は従来どおり */
.site-head { display: contents; }
body.home-intro .site-head {
  display: block; position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transform: translateY(-105%); transition: transform 0.35s ease, box-shadow 0.35s ease;
}
body.home-intro .site-head.is-shown { transform: none; box-shadow: 0 2px 12px rgba(0,0,0,0.15); }
body.home-intro .site-head .header { position: static; }
body.home-intro .logo-bar { padding-top: 10px; padding-bottom: 10px; }
body.home-intro .logo-img { height: 52px; }
body.home-intro .hero { height: 100vh; height: 100svh; }
@media (prefers-reduced-motion: reduce) { body.home-intro .site-head { transition: none; } }
/* チャットの見出し・自分の吹き出し・送信ボタンはメニューと同じ色に（2026-11-14 本人「この色も良くない」。黄土色をやめた）
   AI を示す青紫の枠は Altessa・CNP と共通の目印なので残す */
.chat-head { background: var(--nav-bg); }
.chat-msg-user { background: var(--nav-bg); }
.chat-form button { background: var(--nav-bg); }
/* 右下の LINE予約・AI ボタンの縁を外した（2026-11-14 本人「両方縁取り消してみて」）。浮いて見えるよう影は残す */
.float-line { border: none; }
.chat-fab { border: none; background-image: none; animation: none; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22); }
@media (hover: hover) { .chat-fab:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28); } }
/* ロゴをメニューの帯の左端に（site.logoInNav。ロゴの帯は出さない） */
.header-with-logo { display: flex; align-items: center; padding: 0 16px; }
.header-with-logo .header-logo { display: flex; align-items: center; flex-shrink: 0; padding: 6px 12px 6px 0; }
.header-with-logo .header-logo img { height: 40px; width: auto; display: block; }
.header-with-logo .header-nav { margin: 0 0 0 auto; justify-content: flex-end; max-width: none; flex: 1 1 auto; }
.header-with-logo .header-nav a:first-child { border-left: 1px solid var(--nav-line); }
@media (max-width: 1080px) { .header-with-logo .header-nav a { padding: 14px 12px; font-size: 0.76rem; } }
@media (max-width: 767px) {
  .header-with-logo { flex-wrap: wrap; padding: 0 0 0 14px; }
  .header-with-logo .header-logo img { height: 34px; }
  .header-with-logo .nav-toggle { margin-left: auto; }
  .header-with-logo .header-nav { flex-basis: 100%; margin: 0; }
}
@media (max-width: 767px) {
  .header-with-logo .header-nav { margin-left: -14px; width: calc(100% + 14px); flex-basis: calc(100% + 14px); }
  .header-with-logo .header-nav a:first-child { border-left: none; }
}
/* ロゴとメニューをひとかたまりにして中央に寄せる（2026-11-14 本人「センター寄せにしろよ」） */
@media (min-width: 768px) {
  .header-with-logo { justify-content: center; }
  .header-with-logo .header-logo { padding-right: 28px; }
  .header-with-logo .header-nav { flex: 0 1 auto; margin: 0; justify-content: center; }
}
/* メニューの「空き状況・予約」もほかの項目と同じ見た目に（2026-11-14 本人「このボタンだけ色変えなくていい」）。斜めの光の筋も外す */
.header-nav .nav-cta::before { display: none; }
.header-nav .nav-cta { font-weight: inherit; }
/* お知らせの帯を細く（2026-11-14 本人「高さもう少し狭く」）。トップにも出す */
.announce-bar { padding: 4px 16px; line-height: 1.5; font-size: 0.72rem; border-bottom: 1px solid rgba(0,0,0,0.06); }
@media (max-width: 600px) { .announce-bar { font-size: 0.68rem; padding: 3px 12px; } }
/* ページの見出しの帯にスタジオの写真を暗めに敷く（2026-11-14 本人「無機質」）。文字は白 */
.page-header {
  position: relative;
  background: linear-gradient(rgba(35, 30, 26, 0.58), rgba(35, 30, 26, 0.58)), url('/assets/classe-page-header.webp') center 40% / cover no-repeat;
  border-bottom: none;
  padding: 64px 24px 56px;
}
.page-header h1 { color: #fff; font-weight: 700; text-shadow: 0 2px 10px rgba(0,0,0,0.35); }
.page-header .page-en { color: rgba(255,255,255,0.85); }
.page-header .breadcrumb, .page-header .breadcrumb span { color: rgba(255,255,255,0.8); }
.page-header .breadcrumb a { color: #fff; }
.page-header .page-header-status { color: rgba(255,255,255,0.85); }
@media (max-width: 600px) { .page-header { padding: 44px 16px 38px; } }
/* 本文を読みやすく（2026-11-14 本人「小さい文字が小さすぎ・読みにくい」）
   細字（300）・13〜14px・灰色だったのを、普通の太さ（400）・15px前後・濃いめの色に */
body { font-weight: 400; }
.room-desc, .highlight-body p, .equipment-list li, .room-spec-table td, .room-spec-table th,
.legal-content p, .legal-content li, .legal-content td, .legal-content th,
.price-note, .price-lead, .notes-list li, .faq-a, .faq-q,
.flow-step-v-body p, .teiki-benefit-desc, .teiki-sch-note, .contact-desc,
.feature-card p, .price-table td, .price-table th, .route-text, .access-dl dd, .access-dl dt,
.news-body, .news-title, .blog-card-summary, .step-card-desc, .rb-step-desc, .reserve-body p, .reserve-body li,
.section-hint, .store-card-body p, .testimonial-comment {
  font-size: 0.95rem;
  line-height: 1.85;
}
.room-desc, .highlight-body p, .legal-content p, .legal-content li, .notes-list li, .faq-a,
.flow-step-v-body p, .teiki-benefit-desc, .feature-card p, .route-text, .reserve-body p, .reserve-body li, .contact-desc, .news-body {
  color: #3a3632;
}
.room-access-label { font-size: 0.88rem; }
.highlight-body h5 { font-size: 1.02rem; }
.equipment-list li, .room-spec-table td { color: #3a3632; }
/* お問い合わせの Google フォームの枠の高さ（2026-11-14 本人「この余白消せないか」）。
   Google フォームは外から中身の高さを測れないので、1ページ目の実際の高さに合わせた固定値。項目を増やしたら見直す */
.contact-gform iframe { height: 800px; }
@media (max-width: 600px) { .contact-gform iframe { height: 1000px; } }
/* 料金の表（時間帯×平日・土日祝）。room.priceMatrix */
.price-matrix th[scope="row"] { text-align: left; background: var(--base-bg); font-weight: 500; }
.price-matrix .pm-name { display: block; font-weight: 700; color: var(--text-main); }
.price-matrix .pm-hours { display: block; font-size: 0.85rem; color: #6a625b; }
.price-matrix td { text-align: center; }
.price-matrix .pm-price { font-size: 1.25rem; font-weight: 700; color: var(--text-main); }
.pm-unit { text-align: right; font-size: 0.85rem; color: #6a625b; margin-top: 8px; }
.pm-extra { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-top: 18px; padding: 14px 18px; border: 1px solid var(--accent-light); border-radius: 8px; background: #fff; }
.pm-extra-name { font-weight: 700; }
.pm-extra-hours { font-size: 0.9rem; color: #6a625b; }
.pm-extra-price { margin-left: auto; font-size: 1.15rem; font-weight: 700; }

/* 定期利用キャンペーンの HTML バナー（2026-11-14 画像の特売風バナーから置き換え。サイトの焦げ茶＋金で、目立つが落ち着いた見た目に） */
.cp-card { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "label label" "body side"; gap: 14px 28px; align-items: center; max-width: 760px; margin: 0 auto; padding: 26px 32px 28px; background: var(--accent-deep, #45403a); color: #fff; border-radius: 10px; text-align: left; text-decoration: none; position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.cp-card::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(201,162,39,.45); border-radius: 6px; pointer-events: none; }
.cp-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.cp-card-label { grid-area: label; font-size: .85rem; letter-spacing: .12em; color: #e3c766; font-weight: 700; }
.cp-card-body { grid-area: body; display: block; }
.cp-card-lead { display: block; font-size: .95rem; color: rgba(255,255,255,.85); margin-bottom: 4px; }
.cp-card-main { display: block; font-size: 1.35rem; font-weight: 700; line-height: 1.4; }
.cp-card-main strong { font-size: 2.6rem; color: #e3c766; margin-left: 6px; letter-spacing: .04em; vertical-align: -0.08em; }
.cp-card-side { grid-area: side; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cp-card-tag { font-size: .9rem; font-weight: 700; padding: 4px 14px; border: 1px solid #e3c766; color: #e3c766; border-radius: 999px; white-space: nowrap; }
.cp-card-tag s { opacity: .75; text-decoration-thickness: 2px; text-decoration-color: #e8383b; margin-right: 8px; }
.cp-card-tag b { color: #fff; font-size: 1.25em; letter-spacing: .04em; }
.cp-card-tag b em { font-style: normal; color: #e3c766; font-size: 1.25em; }
.cp-card-cta { display: inline-block; background: #e3c766; color: #2f2b27; font-weight: 700; padding: 10px 22px; border-radius: 6px; white-space: nowrap; }
@media (max-width: 600px) {
  .cp-card { grid-template-columns: 1fr; grid-template-areas: "label" "body" "side"; padding: 22px 22px 24px; gap: 12px; }
  .cp-card-main { font-size: 1.15rem; }
  .cp-card-main strong { font-size: 2.2rem; }
  .cp-card-side { flex-direction: row; justify-content: space-between; }
}

/* 料金表（スマホ）: 金額が途中で折り返さないように */
.price-matrix .pm-price { white-space: nowrap; }
@media (max-width: 600px) {
  .price-matrix th, .price-matrix td { padding-left: 8px; padding-right: 8px; }
  .price-matrix .pm-price { font-size: 1.05rem; }
  .price-matrix .pm-hours { font-size: .78rem; }
}

/* アクセス: 外観写真と地図を PC で2列（2026-11-14） */
.access-media { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 40px; }
.access-media .building-photo, .access-media .building-photo-placeholder, .access-media .access-map-full { width: 100%; height: auto; aspect-ratio: 16 / 9; margin: 0; border-radius: 6px; object-fit: cover; }
@media (max-width: 768px) { .access-media { grid-template-columns: 1fr; gap: 14px; } }
/* 入口写真が無い店は外観1枚を中央に（テンプレート用） */
.access-media:has(> :only-child) { grid-template-columns: 1fr; }
.access-media:has(> :only-child) .building-photo { aspect-ratio: 2 / 1; object-position: center 70%; }

/* メニューバーの背景を半透明に（元のサイトの rgba(0,0,0,.6) と同じ透け具合。色は焦げ茶のまま。2026-11-14 本人「元のサイトくらいで」）
   メニューを開いた状態（スマホ）は文字が読めるよう不透明に戻す */
.site-head .header { background: rgba(69, 64, 58, 0.6); }
.site-head .header[data-nav-open="true"] { background: var(--nav-bg, #45403a); }

/* 道案内の写真を大きく（320px → 640px。矢印や看板が見えるように。2026-11-15 本人「写真小さくないか」）。ご利用の流れの写真はそのまま */
.route-guide ol li .route-shot { max-width: 640px; }
/* アクセス: 地図を住所の上に置くとき（上の余白を消し、下に余白） */
.access-map-full.access-map-top { margin-top: 0; margin-bottom: 40px; }

/* メニューのバッジ（2026-11-15 本人「定期利用にキャンペーン中みたいに元サイトみたいに」）。site.navBadges.teiki の文字を出す。旧サイトと同じ赤い札が文字の下で上下にゆれる */
.header-nav a { position: relative; }
.nav-badge { position: absolute; left: 50%; top: calc(100% + 2px); transform: translateX(-50%); background: #e8383b; color: #fff; font-size: 11px; font-weight: 700; line-height: 1; letter-spacing: .04em; padding: 4px 9px; border-radius: 10px; white-space: nowrap; pointer-events: none; z-index: 5; box-shadow: 0 2px 6px rgba(0,0,0,.2); animation: navBadgeFloat 2s ease-in-out infinite; }
@keyframes navBadgeFloat { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -3px); } }
@media (prefers-reduced-motion: reduce) { .nav-badge { animation: none; } }
@media (max-width: 767px) {
  .nav-badge { position: static; transform: none; display: inline-block; margin-left: 10px; vertical-align: 1px; animation: none; box-shadow: none; }
}
/* 今のページをもっと分かりやすく（2026-11-15 本人「選択中のメニューがわかりづらい」）。文字と背景の色は変えず、下線を太い金色に */
.header-nav a.current, .nav-dropdown-label.current { box-shadow: inset 0 -4px 0 #e3c766; }
@media (max-width: 767px) {
  .header-nav a.current, .nav-dropdown-label.current { box-shadow: inset 5px 0 0 #e3c766; }
}
.header-nav .nav-cta.current { box-shadow: inset 0 -4px 0 #45403a; }

/* トップ（ヒーローあり）では、右下の予約・AIボタンを中央のボタンと同時に出す（app.js が body.fab-shown を付ける。2026-11-15） */
body:has(.hero-content):not(.fab-shown) .float-line,
body:has(.hero-content):not(.fab-shown) .chat-fab { opacity: 0; translate: 0 14px; pointer-events: none; visibility: hidden; }
body:has(.hero-content) .float-line,
body:has(.hero-content) .chat-fab { transition: opacity 1.4s cubic-bezier(0.22, 0.61, 0.36, 1), translate 1.4s cubic-bezier(0.22, 0.61, 0.36, 1), visibility 0s, transform 0.2s ease; }
body:has(.hero-content):not(.fab-shown) .float-line,
body:has(.hero-content):not(.fab-shown) .chat-fab { transition: none; }

/* 「キャンペーン中」は札をやめ、メニューの文字の上に小さな金色の文字で入れる（2026-11-16 本人「キャンペーン中ってのは入れたい」。赤い札は「全然だめ」） */
.header-nav a .nav-badge { position: absolute; top: 3px; left: 50%; translate: -50% 0; transform: none; background: none; color: #e3c766; font-size: 9.5px; font-weight: 700; letter-spacing: .12em; padding: 0; border-radius: 0; box-shadow: none; animation: none; line-height: 1; }
@media (max-width: 767px) {
  .header-nav a .nav-badge { position: static; translate: none; display: inline-block; margin-left: 10px; font-size: 11px; padding: 3px 8px; border: 1px solid #e3c766; border-radius: 999px; vertical-align: 1px; }
}
/* 「キャンペーン中」は文字の下に置き、旧サイトのようにふわふわ上下させる（2026-11-16 本人「定期利用の下のほうがいい。元サイトみたいにふわふわ」） */
.header-nav a .nav-badge { top: auto; bottom: 5px; animation: navBadgeBob 2s ease-in-out infinite; }
@keyframes navBadgeBob { 0%, 100% { translate: -50% 0; } 50% { translate: -50% -2px; } }
@media (prefers-reduced-motion: reduce) { .header-nav a .nav-badge { animation: none; } }
@media (max-width: 767px) {
  .header-nav a .nav-badge { bottom: auto; animation: navBadgeBobSp 2s ease-in-out infinite; }
  @keyframes navBadgeBobSp { 0%, 100% { translate: 0 0; } 50% { translate: 0 -3px; } }
}
/* 札つきの項目は文字を少し上げ、下線（選択中）と「キャンペーン中」が重ならないように。高さは他の項目と同じ */
@media (min-width: 768px) {
  .header-nav a:has(.nav-badge) { padding-top: 14px; padding-bottom: 14px; }
  .header-nav a .nav-badge { bottom: 5px; font-size: 9px; }
}
/* 項目の文字をすべて3px上へ寄せ、定期利用だけでなく全項目で位置をそろえたまま、下に「キャンペーン中」の余白を作る（2026-11-16 本人「定期利用の位置は他と合わせてほしい」） */
@media (min-width: 768px) {
  .header-nav > a, .header-nav a:has(.nav-badge), .nav-dropdown-label { padding-top: 9px; padding-bottom: 19px; }
  .header-nav a .nav-badge { bottom: 7px; }
}

/* アクセス: 駐車場の特Pリンクを、リンクだと分かる見た目に（2026-11-16 本人「隠しリンクじゃんか」）。下線・色・外部リンクの印 */
.access-ext-link { color: #a8862a; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.access-ext-link i { font-size: .8em; margin-left: 4px; vertical-align: 1px; }
.access-ext-link:hover { color: #7d6320; text-decoration-thickness: 2px; }

/* アクセス: 駅からの地図・道順の動画（2026-11-17 本人「入ってないじゃん動画も」） */
.access-extra { margin-top: 40px; }
.access-extra h4 { font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; color: var(--text-main); margin-bottom: 18px; }
.access-map-img { display: block; width: 100%; max-width: 860px; height: auto; border: 1px solid #333; }
.access-video { position: relative; width: 100%; max-width: 860px; aspect-ratio: 16 / 9; background: #000; }
.access-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* お問い合わせ: 冒頭の AI の案内（日・英・中）と「よくあるご質問」ボタン（2026-11-17 本人「まるごと削ってるじゃねえか」。旧サイトの冒頭と同じ中身） */
.contact-ai { margin-bottom: 48px; padding-bottom: 40px; border-bottom: 1px solid var(--border, #e5e0d8); text-align: left; }
.contact-ai-line { line-height: 1.9; margin: 0 0 10px; }
.contact-ai-line.is-sub { font-size: .9em; color: var(--text-sub, #666); }
.contact-ai-faq { margin: 22px 0 18px; line-height: 1.9; }
.btn-faq { display: block; width: fit-content; margin: 0 auto; padding: 14px 44px; background: #555; color: #fff; border-radius: 6px; text-decoration: none; font-weight: 500; letter-spacing: .04em; transition: background .2s; }
.btn-faq:hover { background: #333; color: #fff; }
.contact-safari { line-height: 1.8; }

/* YouTube の埋め込み（トップの紹介動画・予約ページの使い方動画。2026-11-17） */
.yt-embed { position: relative; width: 100%; max-width: 860px; margin: 0 auto; aspect-ratio: 16 / 9; background: #000; }
.yt-embed.is-vertical { max-width: 340px; aspect-ratio: 9 / 16; }
.yt-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* 公式予約は予約サイトより安い、の目立つ枠（料金・予約ページ。2026-11-17 本人「LINE予約が予約サイトより10％安いとか入れて」） */
.official-deal { width: fit-content; max-width: 100%; margin: 0 auto 28px; padding: 12px 22px; background: #fbf5e2; border: 1px solid #e3c766; border-radius: 8px; color: #6b5414; font-weight: 700; font-size: .95rem; line-height: 1.7; text-align: center; }
.official-deal i { color: #c9a227; margin-right: 4px; }

/* 言語の切り替え（2026-11-19）。PC はメニューの右端、スマホはメニューボタンの左 */
.lang-switch { position: relative; flex-shrink: 0; font-size: .78rem; }
.lang-switch summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; padding: 10px 12px; color: rgba(255,255,255,.92); letter-spacing: .04em; user-select: none; }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary i { font-size: 1.05em; }
.lang-switch summary:hover, .lang-switch[open] summary { color: #e3c766; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 4px); min-width: 160px; padding: 6px 0; background: #45403a; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.25); z-index: 1100; }
.lang-menu a { display: block; padding: 10px 18px; color: #fff; text-decoration: none; white-space: nowrap; font-size: .85rem; }
.lang-menu a:hover { background: rgba(255,255,255,.1); }
.lang-menu a[aria-current] { color: #e3c766; font-weight: 700; }
.lang-menu a[aria-current]::before { content: "✓ "; }
@media (min-width: 768px) {
  .header-with-logo .header-nav { order: 2; }
  .header-with-logo .lang-switch { order: 3; margin-left: 2px; }
}
@media (max-width: 767px) {
  .header-with-logo .lang-switch { margin-left: auto; }
  .header-with-logo .lang-switch summary span { display: none; }
  .header-with-logo .lang-switch summary { padding: 12px 10px; font-size: 1.1rem; }
  .header-with-logo .nav-toggle { margin-left: 0; }
  .header-with-logo .header-nav { order: 3; }
}

/* お問い合わせの AI の案内: 言語版のページでは、訳した1行目だけを出す（英・中の行は日本語のページ用） */
html:not([lang="ja"]) .contact-ai-line.is-sub { display: none; }

/* 言語版のページ: メニューの文字が日本語より長くなるので、PC では少し詰めて1行に収める（2026-11-19） */
@media (min-width: 768px) {
  html:not([lang="ja"]) .header-nav > a, html:not([lang="ja"]) .nav-dropdown-label { padding-left: 11px; padding-right: 11px; font-size: .74rem; letter-spacing: .01em; white-space: nowrap; }
}

/* 予約ページ（よやクル）: 旧サイトの手順の画面画像（元の大きさが 134×300 なので小さく出す）・変更手順の画像の列・LINE登録バナー・流れと規約へのボタン（2026-11-21） */
.reserve-body .step-card-shot img[src*="classe-yoyakuru-"] { max-width: 170px; border: 2px solid #222; border-radius: 6px; }
.rsv-shots { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 18px 0 24px; }
.rsv-shots img { width: 150px; height: auto; border: 2px solid #222; border-radius: 6px; }
@media (max-width: 600px) { .rsv-shots img { width: calc(50% - 10px); max-width: 170px; } }
.rsv-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 4px 0 22px; }
.rsv-banner { text-align: center; margin: 0 0 22px; }
.rsv-banner img { width: 100%; max-width: 560px; height: auto; border-radius: 8px; }
