/*
| 公開サイトの見た目。WP版 GrowWP Dispatch（fuzoku-demo.grow-miyazaki.com）の見た目を土台にしている。
| スマホに完全特化。パソコンでは同じ画面を中央に置く。既成のCSSフレームワークは使わない。
|
| --accent だけが業種（またはお店の設定）で変わる。ほかの色はそこから作るので、
| 色を1つ変えれば全体の配色が変わる。--second は差し色（初期はミント）。
*/
:root {
  --accent: #b0356a;
  --second: #eaf7f2;
  --second-ink: #527469;

  --accent-bright: color-mix(in srgb, var(--accent) 70%, #fff);
  --accent-soft: color-mix(in srgb, var(--accent) 7%, #fff);
  --accent-line: color-mix(in srgb, var(--accent) 15%, #fff);
  --accent-mark: color-mix(in srgb, var(--accent) 20%, #fff);
  --accent-ink: #fff;

  --ink: #38343c;
  /* スマホでも読めるように、薄すぎない灰色にしている（白地とのコントラスト比 約6.5:1） */
  --muted: #5f5460;
  --line: color-mix(in srgb, var(--accent) 11%, #fff);
  --paper: #fff;

  --sans: system-ui, "Hiragino Kaku Gothic ProN", "Yu Gothic UI", Meiryo, sans-serif;
  --serif: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  --display: var(--sans);
  --shell: 560px;
}
/* 見出しと店名の書体。業種プリセットの font で決まる（明朝＝高級感） */
body[data-font="serif"] { --display: var(--serif); }
.brand strong, .home-intro h1, .section-heading h2, .guide-banner h2,
.cast-detail h1, .article h1, .footer-brand, .age-dialog h2, .visual-name strong {
  font-family: var(--display);
}
body[data-font="serif"] .brand strong { font-weight: 600; letter-spacing: .08em; }
body[data-font="serif"] .home-intro h1 { font-weight: 500; letter-spacing: .06em; line-height: 1.75; }
body[data-font="serif"] .section-heading h2 { font-weight: 500; letter-spacing: .04em; }
body[data-font="serif"] .cast-detail h1, body[data-font="serif"] .guide-banner h2 { font-weight: 500; }
* { box-sizing: border-box; }
html { font-size: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.8;
  overflow-wrap: anywhere;
  background: color-mix(in srgb, var(--accent) 3%, #fff);
  background-image:
    radial-gradient(ellipse at 9% 12%, var(--accent-soft) 0, transparent 43%),
    /* 右の真ん中のぼかしもお店の色に（2026-09-19 YUTAKAさん「違う色が混じっている」。前は薄いミント色） */
    radial-gradient(ellipse at 94% 60%, color-mix(in srgb, var(--accent) 5%, #fff) 0, transparent 42%);
  background-attachment: fixed;
}
a { color: inherit; }
button { font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; height: auto; }
svg { width: 24px; height: 24px; flex-shrink: 0; }
:focus-visible { outline: 3px solid #2369a5; outline-offset: 4px; }
.skip-link { position: fixed; left: 10px; top: -100px; background: #fff; color: #111; padding: 10px; z-index: 999; }
.skip-link:focus { top: 10px; }

/* スマホ1枚ぶんの箱 */
.site-shell {
  max-width: var(--shell); margin: 0 auto; min-height: 100vh;
  background: var(--paper); box-shadow: 0 0 50px color-mix(in srgb, var(--accent) 6%, transparent);
}

.site-header {
  position: relative; z-index: 40;
  min-height: 82px; padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--paper); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; line-height: 1.3; }
.brand-flower { color: var(--accent-bright); width: 40px; height: 40px; flex: 0 0 40px; }
.brand-flower svg { width: 100%; height: 100%; }
.brand > span:last-child { min-width: 0; }
.brand strong { display: block; font-size: 1.125rem; font-weight: 700; line-height: 1.55; letter-spacing: .015em; }
.brand small { display: block; color: var(--accent); font-size: .625rem; font-weight: 700; letter-spacing: .13em; margin-top: 5px; }
.menu-toggle {
  display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0;
  border: 0; border-radius: 50%; background: var(--accent-soft); color: var(--accent);
}
.site-menu {
  position: absolute; z-index: 45; top: 100%; left: 0; width: 100%;
  background: color-mix(in srgb, var(--accent) 2%, #fff);
  border-bottom: 1px solid var(--line); padding: 16px 24px;
  box-shadow: 0 12px 22px color-mix(in srgb, var(--accent) 9%, transparent);
}
.site-menu[hidden] { display: none; }
.site-menu > a {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 52px; font-size: .9375rem; font-weight: 600; text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.site-menu > a:last-child { border-bottom: 0; }
.site-menu svg { width: 18px; }

main { min-height: 60vh; }

/* 画面下の固定タブ。最後の1つ（予約・相談）だけ色を塗る */
.bottom-nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); z-index: 50;
  width: min(var(--shell), 100%);
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px;
  padding: 9px 8px calc(9px + env(safe-area-inset-bottom));
  background: #fffffffa; border-top: 1px solid var(--line); border-radius: 16px 16px 0 0;
  box-shadow: 0 -3px 20px color-mix(in srgb, var(--accent) 8%, transparent);
}
.bottom-nav a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  min-height: 48px; min-width: 0; padding: 4px 2px; text-align: center;
  font-size: .6875rem; font-weight: 600; color: #605b64; text-decoration: none;
}
.bottom-nav svg { width: 22px; height: 22px; }
.bottom-nav a[aria-current] { color: var(--accent); font-weight: 700; }
.bottom-nav a[aria-current]:not(:last-child) { background: var(--accent-soft); border-radius: 10px; }
.bottom-nav a:last-child { background: var(--accent); color: var(--accent-ink); border-radius: 10px; }

/* トップの写真。枠の形（左上だけ大きく丸い）はそのまま。中の見せ方だけ洗練させる */
.home-visual { padding: 0 20px; background: var(--paper); }
.visual-caption {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px;
  color: var(--accent); font-size: .625rem; font-weight: 700; letter-spacing: .16em;
}
.visual-caption > span:last-child { font-size: 1.5rem; line-height: 1; color: var(--accent-bright); }
.visual-frame {
  position: relative; aspect-ratio: 3 / 4.35; display: grid; place-items: center;
  border-radius: 100px 12px 12px 12px; overflow: hidden; background: var(--accent-soft);
}
.visual-frame img { width: 100%; height: 100%; object-fit: cover; }
/* 写真の内側に細い縁を重ねて、輪郭を上品に見せる */
.visual-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border-radius: inherit; box-shadow: inset 0 0 0 1px #ffffff6b;
}
/* 写真の下に店名を重ねる（明るい写真でも読めるよう、下だけ暗くする） */
.visual-name {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0;
  padding: 52px 22px 20px; color: #fff;
  background: linear-gradient(transparent, #0000001f 40%, #00000087);
}
.visual-name strong {
  display: block; font-size: clamp(1.3125rem, 6vw, 1.75rem); font-weight: 500;
  letter-spacing: .1em; line-height: 1.55; text-shadow: 0 2px 14px #00000080;
}
.visual-empty { position: relative; display: grid; place-items: center; width: 100%; height: 100%; }
.visual-empty .portrait-orbit { width: 62%; height: 62%; left: 19%; top: 19%; border-color: #ffffffcc; }
.visual-empty small { font-size: .5625rem; letter-spacing: .14em; color: var(--muted); }

.home-intro { padding: 30px 28px 25px; background: var(--paper); }
.intro-caption { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; flex-wrap: wrap; }
.eyebrow { display: block; font-size: .625rem; font-weight: 700; letter-spacing: .17em; color: var(--accent); }

.home-intro h1 { font-size: 1.875rem; font-weight: 700; line-height: 1.7; letter-spacing: .035em; margin: 17px 0; }
.home-intro h1 span {
  background: linear-gradient(transparent 70%, var(--accent-mark) 70%, var(--accent-mark) 91%, transparent 91%);
}
.intro-description { font-size: .875rem; line-height: 2; color: var(--muted); margin: 0 0 20px; }
/* 時間と地域: 何の情報かを左に、中身を右に（2026-09-17 YUTAKAさん） */
.intro-facts { margin: 0 0 22px; border-top: 1px solid var(--line); }
.intro-facts > div {
  display: grid; grid-template-columns: 9.5em 1fr; align-items: center; gap: 10px;
  padding: 12px 2px; border-bottom: 1px solid var(--line);
}
.intro-facts dt { display: flex; align-items: center; gap: 7px; font-size: .75rem; font-weight: 600; color: var(--muted); }
.intro-facts dt svg { width: 17px; flex: none; color: var(--accent); }
.intro-facts dd { margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; font-size: .9375rem; font-weight: 700; color: var(--ink); }
.open-now {
  display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px;
  background: #e6f6ec; color: #17693a; font-size: .6875rem; font-weight: 700;
}
.open-now::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #1f9d55; box-shadow: 0 0 0 3px rgba(31, 157, 85, .2); }
/* 「初めての方へ」は目立つボタンにして中央へ（2026-09-17 YUTAKAさん） */
.intro-guide { margin: 0; text-align: center; }
.intro-guide a {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; width: min(100%, 300px); padding: 0 24px; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: .9375rem; font-weight: 700; letter-spacing: .04em; text-decoration: none;
  box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 28%, transparent);
}
.intro-guide a:active { transform: translateY(1px); }
.intro-guide svg { width: 18px; }

.quick-links {
  display: grid; grid-template-columns: 1fr 1fr; margin: 0 24px 5px;
  border: 1px solid var(--accent-line); border-radius: 12px; background: var(--accent-soft);
}
.quick-links > a {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  min-height: 68px; padding: 16px 14px; font-size: .8125rem; text-decoration: none;
}
.quick-links > a + a { border-left: 1px solid var(--accent-line); }
.quick-links svg { width: 20px; color: var(--accent); }
.quick-links strong { margin-left: auto; color: var(--accent); font-size: 1.625rem; font-weight: 700; }
.quick-links strong small { font-size: .6875rem; margin: 0 8px 0 4px; }
.quick-links > a > svg:last-child { margin-left: auto; width: 18px; }

.section { padding: 35px 24px; }
.section + .section { border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.section-heading h2 { font-size: 1.375rem; font-weight: 700; letter-spacing: .02em; line-height: 1.6; margin: 6px 0 0; }
.text-link {
  display: flex; align-items: center; gap: 5px; min-height: 44px;
  font-size: .6875rem; font-weight: 600; color: var(--muted); text-decoration: none;
}
.text-link svg { width: 16px; height: 16px; }
.section-new { background: color-mix(in srgb, var(--accent) 2%, #fff); }

.empty-state { border: 0; border-radius: 10px; background: color-mix(in srgb, var(--accent) 3%, #fff); color: var(--muted); font-size: .8125rem; padding: 23px 18px; text-align: center; }
.section-today .empty-state { background: var(--second); color: var(--second-ink); }

/* 人（キャスト・スタイリスト…）のカード */
/* 人の一覧は2列（アリエルと同じ。写真を大きく見せる） */
.cast-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
.cast-card { min-width: 0; }
.cast-picture {
  position: relative; display: block; aspect-ratio: 3 / 4.9; overflow: hidden;
  border-radius: 12px; background: var(--accent-soft); text-decoration: none;
}
/* 写真の縦横比はアリエルと同じ。画面が狭いときはもっと縦長にして、顔を大きく見せる */
@media (max-width: 374px) { .cast-picture { aspect-ratio: 3 / 5.1; } }
.cast-picture > img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; transition: transform .25s ease; }
.cast-picture::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border-radius: inherit; box-shadow: inset 0 0 0 1px #ffffff5c;
}
.cast-picture:hover > img { transform: scale(1.025); }
.new-label {
  position: absolute; left: 0; top: 0; padding: 6px 12px;
  background: var(--accent-mark); color: var(--accent);
  font-size: .625rem; font-weight: 700; letter-spacing: .08em; line-height: 1.6;
  border-radius: 0 0 10px 0;
}
/* 写真に重ねる出勤の札。基本のテーマでは出さない（テーマの CSS で見せる） */
.photo-badge { display: none; }
.cast-info { padding: 12px 1px 0; }
.cast-info h3 { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; margin: 0; font-size: 1.0625rem; font-weight: 700; letter-spacing: .02em; line-height: 1.6; }
.cast-info h3 a { text-decoration: none; }
.cast-info h3 small { color: var(--muted); font-size: .6875rem; font-weight: 400; }
.cast-meta, .cast-measurements, .cast-tagline { font-size: .75rem; line-height: 1.8; color: var(--muted); margin: 2px 0 0; }
.shift-state { font-size: .6875rem; font-weight: 700; color: var(--accent); margin: 3px 0 0; }
.shift-state.is-quiet { font-weight: 400; color: var(--muted); }
.cast-tags { display: flex; flex-wrap: wrap; gap: 4px; margin: 6px 0 0; }
.cast-tags span { font-size: .6875rem; font-weight: 600; padding: 2px 7px; border-radius: 5px; background: var(--accent-soft); color: var(--accent); }
.promise p { margin: 0 0 10px; }
.shift-time { font-size: .875rem; font-weight: 600; letter-spacing: .015em; margin: 5px 0 0; }
.wait-label { font-size: .75rem; color: #236057; margin: 5px 0 0; }
.wait-label.is-full { color: var(--muted); }

/* 写真がまだ無いときの絵。実在の人物写真は使わない */
.portrait-placeholder { position: relative; width: 100%; height: 100%; aspect-ratio: 3 / 4; overflow: hidden; background: var(--accent-soft); }
.portrait-placeholder.tone-1 { background: #e7e9e8; }
.portrait-placeholder.tone-2 { background: #e7e3ed; }
.portrait-placeholder.tone-3 { background: #eee8df; }
.portrait-orbit { position: absolute; left: 5%; top: 8%; width: 90%; height: 70%; border: 1px solid #ffffffa6; border-radius: 50%; transform: rotate(-20deg); }
.portrait-head { position: absolute; left: 36.5%; top: 23%; width: 27%; aspect-ratio: 1; border-radius: 50%; background: #ffffffa1; box-shadow: 0 7px 24px #6d596e0b; }
.portrait-body { position: absolute; left: 18%; top: 43%; width: 64%; height: 52%; border-radius: 48% 48% 0 0; background: linear-gradient(#ffffffa6, #ffffff1a); }
.portrait-placeholder > small { position: absolute; bottom: 11px; left: 0; width: 100%; text-align: center; font-size: .5625rem; letter-spacing: .12em; color: #6d626d; }

/* 投稿（日記・入荷情報…）とお知らせの一覧 */
.story-list { display: grid; gap: 18px; }
.story { display: grid; grid-template-columns: 88px 1fr; gap: 16px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.story:last-child { border: 0; padding-bottom: 0; }
.story > div { min-width: 0; }
.story-image { display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 3px; background: var(--accent-soft); text-decoration: none; }
.story-image > img, .story-image > .portrait-placeholder { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.story-image .portrait-placeholder > small { display: none; }
.story-monogram { display: grid; place-items: center; height: 100%; font-size: .8125rem; font-weight: 600; letter-spacing: .1em; color: var(--accent); }
.story-date { font-size: .75rem; letter-spacing: .05em; color: var(--muted); }
.story h3 { font-size: .9375rem; font-weight: 500; line-height: 1.7; margin: 5px 0; }
.story h3 a { text-decoration: none; }
.story-author { font-size: .75rem; color: var(--muted); text-decoration: none; }
.story-type { font-size: .625rem; font-weight: 700; letter-spacing: .06em; color: var(--accent); }

/* お店をやっている人の紹介 */
.manager-card { padding: 18px; border-radius: var(--radius); background: var(--accent-soft); margin-bottom: 18px; }
.manager-card strong { display: block; margin: 8px 0 6px; font-size: 1rem; font-family: var(--display); }
.manager-card p { margin: 0; font-size: .8125rem; line-height: 1.9; color: var(--muted); }
.guide-banner { text-align: center; padding: 38px 24px; background: var(--second); }
.guide-banner .eyebrow { color: var(--second-ink); }
.guide-banner h2 { font-size: 1.375rem; font-weight: 700; margin: 10px 0; }
.guide-banner p { font-size: .875rem; color: var(--muted); margin: 12px 0 24px; }

.button-primary, .button-outline, .contact-option {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 48px; padding: 12px 22px; border-radius: 10px;
  font-size: .875rem; font-weight: 600; text-decoration: none; border: 1px solid var(--accent);
}
.button-primary { background: var(--accent); color: var(--accent-ink); }
.button-primary:hover { filter: brightness(1.08); }
.button-outline { background: #fff; color: var(--ink); border-color: color-mix(in srgb, var(--accent) 28%, #fff); }
.button-outline:hover, .contact-option:hover { background: var(--accent-soft); }
.button-primary svg, .button-outline svg { width: 19px; }
.full-button { display: flex; width: 100%; margin-top: 26px; }

.site-footer {
  text-align: center; background: color-mix(in srgb, var(--accent) 2%, #fff);
  border-top: 1px solid var(--line); color: var(--muted); font-size: .8125rem;
  padding: 32px 24px calc(7.5rem + env(safe-area-inset-bottom));
}
.footer-brand { font-size: 1.125rem; font-weight: 700; letter-spacing: .02em; color: var(--ink); margin: 0 0 8px; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 18px; margin: 20px 0; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: .75rem; text-decoration: none; }
.site-footer > small { font-size: .625rem; }

/* 一覧の絞り込みと日付 */
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 24px; }
.filter-tabs a { min-height: 44px; display: inline-flex; align-items: center; padding: 8px 12px; border: 1px solid var(--line); border-radius: 9px; font-size: .8125rem; font-weight: 600; text-decoration: none; }
.filter-tabs a[aria-current] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.date-tabs { display: flex; overflow-x: auto; gap: 5px; padding: 4px; margin: 21px -4px; scroll-padding: 4px; scrollbar-width: none; }
.date-tabs::-webkit-scrollbar { display: none; }
.date-tabs > a {
  flex: 1 0 3.25rem; min-width: 44px; min-height: 78px; padding: 8px 1px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 9px; text-decoration: none; line-height: 1.4;
}
.date-tabs small, .date-tabs span { font-size: .75rem; }
.date-tabs strong { font-size: 1.375rem; font-weight: 600; line-height: 1.5; }
.date-tabs a[aria-current] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.schedule-caption { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 25px 0 18px; }
.caption-date { display: none; }
.schedule-caption h3 { font-size: 1rem; margin: 0; }
.schedule-caption small { font-size: .75rem; color: var(--muted); }
.schedule-note { font-size: .75rem; color: var(--muted); margin-top: 24px; }
.muted { color: var(--muted); font-size: .875rem; }

/* 人の詳細 */
.cast-photo-area { padding: 0 20px; }
.cast-photo-area > .back-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); font-size: .8125rem; font-weight: 600; text-decoration: none; }
.detail-photo { position: relative; width: 100%; aspect-ratio: 640 / 853; overflow: hidden; border-radius: 16px; background: var(--accent-soft); }
.detail-photo > img, .detail-photo > .portrait-placeholder { width: 100%; height: 100%; object-fit: cover; object-position: center top; aspect-ratio: auto; }
/* 人の詳細の写真。アリエルと同じ方式で、重ねた写真をふわっと入れ替える。
   動くのは「濃さ」だけなので、どの機種でも同じようになめらかに見える。 */
.photo-stage {
  position: relative; aspect-ratio: 640 / 853; overflow: hidden;
  border-radius: 16px; background: var(--accent-soft);
}
.photo-slide {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  opacity: 0; transition: opacity 1.2s ease; will-change: opacity;
}
/* アリエルは表示中の写真をゆっくり拡大させているが、
   YUTAKAさんの指示でそこは入れない（2026-09-16）。ふわっと入れ替わるだけにする */
.photo-slide.is-active { opacity: 1; z-index: 2; }
/* アリエルと同じ形。大きな写真の幅の上限も同じ520px。下に5列のサムネイルを並べる */
.detail-photo, .photo-stage, .photo-thumbs { max-width: 520px; margin-inline: auto; }
.photo-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.photo-thumb {
  padding: 0; border: 0; background: var(--accent-soft); cursor: pointer;
  border-radius: 8px; overflow: hidden; aspect-ratio: 3 / 4;
}
.photo-thumb > img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; opacity: .82; transition: opacity .2s ease; }
.photo-thumb:hover > img, .photo-thumb.is-active > img { opacity: 1; }
.photo-thumb.is-active { box-shadow: 0 0 0 2px var(--accent); }
.photo-thumb:not(.is-active) { box-shadow: inset 0 0 0 1px var(--line); }
/* 写真の上に重ねる送りボタンと枚数。マウスでも指でも押せるようにする */
.photo-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 40px; height: 40px; padding: 0; display: grid; place-items: center;
  border: 0; border-radius: 50%; cursor: pointer;
  background: #ffffffe0; color: var(--accent);
  box-shadow: 0 2px 12px #00000026;
  transition: opacity .2s ease, background .2s ease;
}
.photo-nav svg { width: 20px; height: 20px; }
.photo-nav.is-prev { left: 10px; }
.photo-nav.is-prev svg { transform: rotate(180deg); }
.photo-nav.is-next { right: 10px; }
.photo-nav:hover { background: #fff; }
.photo-count {
  position: absolute; z-index: 2; right: 12px; bottom: 12px; margin: 0;
  padding: 3px 11px; border-radius: 999px;
  background: #00000073; color: #fff;
  font-size: .6875rem; letter-spacing: .06em; font-variant-numeric: tabular-nums;
}
.photo-count strong { font-weight: 700; }
/* 指やマウスで払っている間は、写真や文字が選ばれてしまわないようにする */
.photo-stage.is-swiping { user-select: none; -webkit-user-select: none; }
/* 人の詳細の頭。中央にそろえて、情報を詰めてひと目で読めるようにする */
.cast-detail { padding-top: 24px; text-align: center; }
.cast-detail h1 { font-size: 2rem; font-weight: 700; margin: 6px 0 0; line-height: 1.4; }
.cast-detail h1 small { font-size: .5em; font-weight: 400; color: var(--muted); margin-left: 10px; letter-spacing: 0; }
.detail-tagline { color: var(--ink); font-size: .9375rem; margin: 10px 0 0; line-height: 1.7; }
.detail-sizes { font-size: .8125rem; color: var(--muted); font-variant-numeric: tabular-nums; margin: 8px 0 0; }
.cast-detail .cast-badges { margin: 14px 0 0; justify-content: center; }

/* 長いひとことは横に流して全部見せる（枠に収まるときは流さない。JSが付ける） */
.marquee { overflow: hidden; }
.marquee.is-measuring { white-space: nowrap; }
.marquee.is-measuring > span { display: inline-block; }
.marquee.is-running { display: flex; white-space: nowrap; text-align: left; }
.marquee.is-running > span { flex: none; padding-right: 2.5em; animation: marquee-scroll 20s linear infinite; }
@keyframes marquee-scroll { to { transform: translateX(-100%); } }
.cast-detail .badge { font-size: .6875rem; padding: 3px 10px; background: var(--accent-soft); }
/* 出勤はお客様が一番見る情報なので、箱で囲んで目に入るようにする */
.shift-box {
  margin: 18px 0 0; padding: 16px 18px 15px; border-radius: var(--radius);
  background: var(--accent-soft); border: 1px solid var(--accent-line); text-align: center;
}
.shift-box-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .6875rem; font-weight: 700; letter-spacing: .08em; color: var(--accent);
}
.shift-box-label svg { width: 15px; height: 15px; stroke-width: 1.8; }
.shift-box strong { display: block; margin-top: 7px; font-size: 1.125rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.shift-box strong.is-quiet { font-size: 1rem; font-weight: 500; color: var(--muted); }
.shift-box-state {
  display: inline-block; margin-top: 9px; padding: 3px 13px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink); font-size: .6875rem; font-weight: 700;
}
.shift-box-state.is-open { background: var(--second); color: var(--second-ink); }
.profile-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); gap: 18px 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; margin: 24px 0; }
.profile-fields dt { font-size: .75rem; color: var(--muted); }
.profile-fields dd { font-size: 1.125rem; margin: 3px 0 0; }
.shift-list { list-style: none; padding: 0; margin: 0; }
.shift-list li { display: flex; justify-content: space-between; gap: 15px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.shift-list strong { font-weight: 500; text-align: right; }
/* 受付状況は時間の下に改行して出す（1行に詰めると読みにくい） */
.shift-list .shift-state { display: block; margin-top: 3px; }
.prose { font-size: 1rem; line-height: 2; }
.prose h2 { font-size: 1.375rem; }
.prose h3 { font-size: 1.1875rem; }
.article h1 { font-size: 1.5625rem; font-weight: 700; line-height: 1.6; }
.article > img { width: 100%; height: auto; margin: 18px 0; }
.diary-photo { width: 100%; height: auto; border-radius: 12px; margin: 8px 0 12px; }

/* 料金・店舗情報・予約 */
.price-list { margin: 25px 0; }
.price-list > div { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 18px 0; border-bottom: 1px solid var(--line); }
.price-list > div > span { font-size: 1rem; }
.price-list > div > span > small { display: block; font-size: .75rem; color: var(--muted); }
.price-list strong { font-size: 1.8125rem; font-weight: 600; white-space: nowrap; max-width: 100%; }
.price-list strong small { font-size: 1.0625rem; margin-right: 4px; }
.info-row { padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-row h3 { font-size: .875rem; color: var(--muted); margin: 0; }
.info-row p { font-size: 1rem; margin: 5px 0; }
.contact-options { display: grid; gap: 14px; margin: 28px 0; }
.contact-option { justify-content: flex-start; gap: 16px; padding: 19px 16px; border-color: color-mix(in srgb, var(--accent) 30%, #fff); }
.contact-option > span { flex: 1; min-width: 0; }
.contact-option strong { display: block; font-size: .9375rem; font-weight: 600; }
.contact-option small { display: block; font-size: .75rem; color: var(--muted); margin-top: 4px; }
.contact-option > svg { color: var(--accent); width: 23px; }
.contact-option > svg:last-child { width: 18px; }
.contact-note { padding: 20px; border-radius: 10px; background: var(--accent-soft); font-size: .875rem; margin-top: 30px; }
.contact-note h3 { font-size: 1rem; margin: 0; }
.selected-cast { padding: 15px; border-left: 3px solid var(--accent); border-radius: 10px; background: var(--accent-soft); font-size: .875rem; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 19px 25px 19px 0; min-height: 50px; font-size: 1rem; font-weight: 600; }
.faq > div { padding: 0 0 18px; color: var(--muted); }
.faq p { margin: 0; font-size: .9375rem; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 28px; font-size: .875rem; }
.pagination a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 9px; text-decoration: none; }

/* 年齢確認（風俗など age_gate のある業種だけ） */
.age-dialog {
  width: min(420px, calc(100% - 36px)); padding: 32px 24px; text-align: center;
  border: 1px solid var(--line); border-top: 5px solid var(--accent-bright); border-radius: 20px;
  color: var(--ink); box-shadow: 0 20px 80px #1e182e33;
}
.age-dialog::backdrop { background: #4d374766; backdrop-filter: blur(5px); }
.age-dialog h2 { font-size: 1.5rem; font-weight: 700; margin: 12px 0; }
.age-dialog p { font-size: .875rem; margin: 18px 0 24px; }
.age-dialog button { width: 100%; min-height: 50px; }
.age-exit { display: inline-flex; align-items: center; min-height: 44px; font-size: .75rem; margin-top: 14px; }
.age-page { display: grid; place-items: center; min-height: 100vh; padding: 16px; }
.age-page .age-dialog { position: static; display: block; }
/* 入口ページ（2026-09-19）: お店のロゴ・ひとこと・年齢の確認・相互リンク */
.age-page { align-content: start; }
.entrance { width: min(100%, 560px); margin: 0 auto; padding: 24px 0 32px; display: grid; gap: 28px; }
.entrance-card { display: grid; justify-items: center; gap: 14px; text-align: center; }
.entrance-brand { display: flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; }
.entrance-brand .brand-logo svg, .entrance-brand .brand-logo img { width: 190px; height: auto; }
.entrance-catch { margin: 0; font-family: var(--display); font-size: 1.0625rem; font-weight: 700; letter-spacing: .06em; }
.entrance .age-dialog { width: 100%; max-width: 420px; margin: 0; }
.entrance-links { text-align: center; }
.entrance-links h2 { margin: 0 0 12px; }
.entrance-links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.entrance-links a { display: inline-flex; align-items: center; min-height: 32px; font-size: .75rem; color: var(--muted); }
.entrance-links img { display: block; max-width: 100%; height: auto; }
.entrance-foot { margin: 0; text-align: center; font-size: .6875rem; color: var(--muted); }

@media (max-width: 360px) {
  .site-header { padding: 16px; }
  .brand strong { font-size: 1rem; }
  .brand-flower { width: 32px; height: 32px; flex-basis: 32px; }
  .home-visual, .cast-photo-area { padding-inline: 14px; }
  .home-intro, .section { padding-inline: 18px; }
  .home-intro h1 { font-size: 1.625rem; }
  .quick-links { margin-inline: 18px; }
  .quick-links > a { padding: 14px 10px; gap: 5px; font-size: .75rem; }
  .cast-grid { gap: 20px 10px; }
  .schedule-caption { display: block; }
}
@media (min-width: 600px) {
  .site-shell { border-radius: 20px 20px 0 0; margin-top: 24px; min-height: calc(100vh - 24px); overflow: clip; }
  .bottom-nav { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
}

/* パソコンの広い画面では、スマホの画面を真ん中に置いて、左右にご案内を出す */
.desktop-layout { width: 100%; }
.desktop-rail { display: none; }
@media (min-width: 1100px) {
  .desktop-layout {
    display: grid; grid-template-columns: minmax(0, 1fr) var(--shell) minmax(0, 1fr);
    gap: clamp(20px, 2.4vw, 42px); max-width: 1160px; margin-inline: auto; padding: 28px 20px 0; align-items: start;
  }
  .site-shell { width: var(--shell); min-width: 0; margin-top: 0; }
  .desktop-rail {
    display: block; position: sticky; top: 28px;
    padding: 8px 4px; min-width: 0;
  }
  .desktop-rail svg { width: 18px; height: 18px; }
  .desktop-rail .brand-flower svg { width: 100%; height: 100%; }
  .rail-brand { flex-direction: column; align-items: flex-start; gap: 15px; }
  .rail-brand .brand-flower { width: 56px; height: 56px; flex-basis: 56px; }
  .rail-brand strong { display: block; font-size: 1.25rem; line-height: 1.65; }
  .rail-caption { color: var(--muted); font-size: .75rem; line-height: 1.95; margin: 22px 0 24px; }
  .rail-menu { border-top: 1px solid var(--accent-line); }
  .rail-menu > a {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 14px 8px; min-height: 58px; border-bottom: 1px solid var(--accent-line);
    font-size: .8125rem; font-weight: 600; text-decoration: none;
  }
  .rail-menu > a > span { min-width: 0; }
  .rail-menu small { display: block; font-size: .5625rem; font-weight: 600; letter-spacing: .12em; color: var(--accent); margin-bottom: 3px; }
  .rail-menu > a[aria-current], .rail-menu > a:hover { background: #ffffffb0; color: var(--accent); }
  .rail-submenu { display: flex; flex-wrap: wrap; gap: 0 14px; padding-top: 10px; }
  .rail-submenu a { display: inline-flex; align-items: center; min-height: 44px; font-size: .6875rem; color: var(--muted); text-decoration: none; }
  .rail-recruit {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin-top: 18px; padding: 18px 14px; border-radius: 10px;
    border: 1px solid color-mix(in srgb, var(--second-ink) 30%, #fff);
    background: color-mix(in srgb, var(--second) 60%, #fff);
    font-size: .875rem; font-weight: 700; letter-spacing: .1em; color: var(--second-ink); text-decoration: none;
  }
  .rail-recruit small { display: block; font-size: .625rem; font-weight: 400; letter-spacing: 0; margin-top: 4px; }
  .desktop-right { padding-top: 8px; }
  /* 右の欄: 人と日記で、お店の空気が伝わる欄に（2026-09-17 YUTAKAさん「さっぱりしすぎて業務的」）。
     中身が長いので「最後まで流れてから止まる」（2026-09-19。貼り付ける位置は site.js が欄の高さから決める） */
  .rail-heading { display: grid; gap: 4px; margin: 0 0 12px; padding: 0 2px; }
  .rail-heading .eyebrow { font-size: .625rem; letter-spacing: .14em; }
  .rail-heading strong { font-family: var(--display); font-size: 1.0625rem; font-weight: 700; letter-spacing: .04em; }
  .rail-more {
    display: flex; align-items: center; justify-content: flex-end; gap: 8px; min-height: 40px; margin-top: 4px;
    font-size: .6875rem; font-weight: 600; color: var(--accent); text-decoration: none;
  }
  .rail-more svg { width: 15px; }
  .rail-people { margin-top: 0; }
  .rail-hours-line {
    display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 14px 0 0; padding: 10px 12px;
    border-radius: 10px; background: #ffffffb0; border: 1px solid var(--accent-line); font-size: .6875rem; color: var(--muted);
  }
  .rail-hours-line svg { width: 15px; height: 15px; color: var(--accent); }
  .rail-hours-line strong { font-size: .875rem; color: var(--ink); letter-spacing: .02em; }
  .rail-hours-line .open-now { font-style: normal; }
  .rail-people-stage {
    position: relative; display: grid; aspect-ratio: 3 / 4; overflow: hidden;
    border-radius: 999px 999px 18px 18px; background: var(--accent-soft);
    box-shadow: 0 14px 30px -18px color-mix(in srgb, var(--accent) 50%, transparent);
  }
  .rail-person {
    grid-area: 1 / 1; position: relative; display: block; overflow: hidden; color: #fff; text-decoration: none;
    opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 0s linear 1.1s;
  }
  .rail-person.is-active { opacity: 1; visibility: visible; transition: opacity 1.1s ease, visibility 0s; z-index: 1; }
  .rail-person img, .rail-person .portrait { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
  .rail-person-info {
    position: absolute; inset: auto 0 0; display: grid; gap: 3px; padding: 46px 16px 16px; text-align: center;
    background: linear-gradient(transparent, #0000008c);
  }
  .rail-person-info strong { font-family: var(--display); font-size: 1.25rem; letter-spacing: .08em; text-shadow: 0 1px 8px #0006; }
  .rail-person-info strong small { margin-left: 2px; font-family: "Cormorant Garamond", Georgia, serif; font-size: .8125rem; font-style: italic; font-weight: 500; letter-spacing: .06em; }
  .rail-person-info span { font-size: .6875rem; letter-spacing: .04em; opacity: .95; }
  /* アーチ形の窓の額縁（2026-09-17 YUTAKAさん「おしゃれなフレームを」）
     外側: 写真から少し離した細いアーチの線（お店の色）／内側: 写真のふちに白い細い線／てっぺん: 小さな星の飾り */
  .rail-frame {
    position: relative; padding: 8px; margin-top: 14px;
    border: 1px solid color-mix(in srgb, var(--accent) 38%, transparent);
    border-radius: 999px 999px 22px 22px;
  }
  .rail-frame::after {
    content: ""; position: absolute; inset: -5px; pointer-events: none;
    border: 1px solid color-mix(in srgb, var(--accent) 14%, transparent);
    border-radius: 999px 999px 26px 26px;
  }
  .rail-frame-ornament {
    position: absolute; top: -11px; left: 50%; z-index: 3; transform: translateX(-50%);
    font-size: 1rem; line-height: 1.4; color: var(--accent);
    text-shadow: 0 0 6px var(--paper, #fff), 0 0 3px var(--paper, #fff);
  }
  .rail-people-stage::after {
    content: ""; position: absolute; inset: 6px; z-index: 2; pointer-events: none;
    border: 1px solid #ffffffb3; border-radius: 999px 999px 13px 13px;
  }
  .rail-person-info strong { display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
  .rail-person-info strong i { width: 18px; height: 1px; background: #ffffffc0; }
  .rail-person-info { padding-bottom: 20px; }
  .rail-dots { display: flex; justify-content: center; gap: 5px; margin: 10px 0 0; }
  .rail-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent-line); transition: width .3s, background .3s; }
  .rail-dots i.is-active { width: 16px; border-radius: 3px; background: var(--accent); }
  .rail-diary { margin-top: 26px; }
  .rail-diary .ig-grid { margin: 0; gap: 4px; }
  .rail-diary .ig-tile { border-radius: 8px; }
  .rail-diary .ig-caption, .rail-diary .ig-movie small { display: none; }
  .rail-diary .ig-movie { transform: scale(.8); transform-origin: top left; }
  .rail-diary .ig-new { transform: scale(.8); transform-origin: top right; }
  /* 左右の欄の中にスクロールを出さない（2026-09-17 YUTAKAさん）。
     画面の高さに合わせて段階的に詰め、それでも収まらない低い画面では、欄を貼り付けずに本文と一緒に流す */
  @media (max-height: 940px) {
    .rail-caption { margin: 14px 0 16px; }
    .rail-menu > a { min-height: 50px; padding: 10px 8px; }
    .rail-recruit { margin-top: 12px; padding: 14px; }
  }
  @media (max-height: 820px) {
    .rail-brand { flex-direction: row; align-items: center; gap: 12px; }
    .rail-brand .brand-flower { width: 44px; height: 44px; flex-basis: 44px; }
    .rail-caption { display: none; }
    .rail-menu { margin-top: 14px; }
    .rail-menu > a { min-height: 44px; padding: 8px; }
    .rail-submenu a { min-height: 36px; }
  }
  @media (max-height: 660px) {
    .desktop-rail { position: static; max-height: none; }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .marquee.is-running > span { animation: none; }
  .marquee.is-running { white-space: normal; display: block; }
}

/*
| 味気なさを直すための装飾（2026-09-16 YUTAKAさんの指摘）。
| 線と文字だけだと殺風景なので、見出しに飾り・写真に影・面に色を足している。
*/

/* 見出しの英字の前に短い線 */
.section-heading .eyebrow::before {
  content: ""; display: inline-block; width: 18px; height: 1px;
  background: var(--accent); opacity: .55; margin-right: 9px; vertical-align: middle;
}

/* 写真に影をつけて浮かせる */
.cast-picture { box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 10%, transparent); }
.story-image { box-shadow: 0 4px 12px color-mix(in srgb, var(--accent) 8%, transparent); }
.detail-photo, .photo-stage { box-shadow: 0 10px 28px color-mix(in srgb, var(--accent) 12%, transparent); }

/* 写真がまだ無いときは、頭文字を大きく出して寂しくしない */
.portrait-initial {
  position: absolute; inset: 0; z-index: 1; display: grid; place-items: center;
  font-family: var(--display); font-size: 2.75rem; letter-spacing: .1em; color: #ffffffe0;
}
.detail-photo .portrait-initial, .visual-frame .portrait-initial { font-size: 4.5rem; }
.story-image .portrait-initial { font-size: 1.5rem; }

/* 一覧の受付状況は小さなバッジにする */
.cast-info .shift-state {
  display: inline-block; margin-top: 5px; padding: 2px 9px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink); font-size: .625rem; font-weight: 700;
}
.cast-info .shift-state.is-quiet { background: var(--line); color: var(--muted); font-weight: 400; }

/* セクションごとに面の色を変えて、単調さをなくす */
.section-diary { background: color-mix(in srgb, var(--second) 45%, #fff); }
.section-blog { background: color-mix(in srgb, var(--accent) 3%, #fff); }


/* ───── 料金ページ ─────
   主役はコース。「何分でいくら」を見比べやすいよう、時間を丸い印で大きく出すカードにする。
   延長・オプション・ご利用にあたって は、一段小さな部品で順に並べる。 */
.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; }
.price-intro { background: linear-gradient(170deg, var(--accent-soft), #fff 62%); }
.price-block .muted { margin: -8px 0 18px; }

.course-cards { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.course-card {
  position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 14px;
  padding: 16px 18px; border-radius: 14px; background: #fff;
  border: 1px solid var(--accent-line); box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 7%, transparent);
  overflow: hidden;
}
/* 左端の細い色の帯。並んだカードに「料金表」らしいリズムを付ける */
.course-card::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: var(--accent); }
.course-card.has-time { grid-template-columns: auto 1fr auto; }
.course-time {
  display: grid; place-content: center; text-align: center; width: 62px; height: 62px; border-radius: 50%;
  background: var(--accent-soft); border: 1px solid var(--accent-mark); color: var(--accent); line-height: 1;
}
.course-time strong { font-size: 1.375rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.course-time small { font-size: .625rem; font-weight: 700; letter-spacing: .12em; margin-top: 4px; }
.course-name { font-size: 1rem; font-weight: 600; line-height: 1.5; min-width: 0; }
.course-name small { display: block; font-size: .75rem; font-weight: 400; color: var(--muted); margin-top: 2px; }
.course-price { font-size: 1.625rem; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.course-price small { font-size: .875rem; margin-right: 2px; color: var(--accent); }

.extension-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.extension-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 18px; border-radius: 999px; background: var(--second); color: var(--ink);
}
.extension-list span { display: inline-flex; align-items: center; gap: 8px; font-size: .9375rem; font-weight: 600; }
.extension-list svg { width: 19px; height: 19px; color: var(--second-ink); }
.extension-list strong { font-size: 1.25rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.extension-list strong small { font-size: .8125rem; margin-right: 2px; }

.option-tiles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.option-tiles li {
  display: flex; flex-direction: column; gap: 2px; padding: 14px 14px 12px; border-radius: 12px;
  background: #fff; border: 1px solid var(--line); min-width: 0;
}
.option-name { font-size: .9375rem; font-weight: 600; line-height: 1.5; }
.option-tiles li > small { font-size: .75rem; color: var(--muted); line-height: 1.5; }
.option-tiles strong { margin-top: auto; padding-top: 8px; font-size: 1.1875rem; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.option-tiles strong small { font-size: .75rem; margin-right: 1px; }
@media (max-width: 340px) { .option-tiles { grid-template-columns: 1fr; } }

/* 注意事項・交通費・キャンセル。見出しにアイコン、中身は「地域｜料金」の表 */
.notice-cards { display: grid; gap: 12px; }
.notice-card { padding: 16px 18px 10px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 3%, #fff); border: 1px solid var(--line); }
.notice-card.is-inline { margin: 16px 0; }
.notice-card h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: .9375rem; font-weight: 700; }
.notice-card h3 svg { width: 20px; height: 20px; color: var(--accent); }
.text-rows { margin: 0; }
.text-rows > div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 9px 0; border-top: 1px dashed var(--accent-line); }
.text-rows > div:first-child { border-top: 0; }
.text-rows dt { font-size: .875rem; color: var(--muted); }
.text-rows dd { margin: 0; font-size: .9375rem; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.text-rows > .is-note { display: block; }
.text-rows > .is-note dd { font-weight: 400; text-align: left; line-height: 1.8; }

/* 利用規約。料金ページでは閉じておき、専用ページでは開いた形で出す */
.terms-fold { margin-top: 28px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.terms-fold summary {
  display: flex; align-items: center; gap: 8px; min-height: 54px; padding: 12px 16px; cursor: pointer;
  font-size: .9375rem; font-weight: 700; list-style: none;
}
.terms-fold summary::-webkit-details-marker { display: none; }
.terms-fold summary svg { width: 20px; height: 20px; color: var(--accent); }
.terms-fold summary span { margin-left: auto; font-size: .75rem; font-weight: 400; color: var(--muted); }
.terms-fold[open] summary span { display: none; }
.terms-fold .terms-body { padding: 0 16px 16px; border-top: 1px solid var(--line); }
.terms-article h3 { font-size: .9375rem; font-weight: 700; margin: 18px 0 4px; }
.terms-article p { font-size: .875rem; line-height: 1.9; margin: 0 0 4px; }

/* ロゴ（お店の画像、または描いたロゴ）。色はテーマの文字色・アクセント色を継ぐ */
.brand-logo { display: block; color: var(--ink); line-height: 0; }
.brand-logo .logo-svg { display: block; width: auto; height: 46px; }
.brand-logo .logo-leaf { color: var(--accent); fill: var(--accent); }
.brand-logo img { display: block; width: auto; height: auto; max-height: 52px; max-width: 220px; object-fit: contain; }
.rail-brand .brand-logo .logo-svg { height: 64px; }

/* 自動で流れている横の並び。流している間は「ぴったり止まる」動きを切る（自動の動きと取り合ってガタつくため） */
[data-autoflow].is-flowing { scroll-snap-type: none; scroll-behavior: auto; }

/* ───── 写メ日記（インスタグラム風。アリエルと同じ 3列の正方形） ───── */
.ig-grid { list-style: none; margin: 0 -24px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; }
.ig-tile { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--accent-soft); text-decoration: none; color: #fff; }
.ig-tile > img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; transition: transform .3s ease; }
.ig-tile:hover > img { transform: scale(1.04); }
/* 写真の無い日記は、題名を大きく */
.ig-text { position: absolute; inset: 0; display: grid; place-items: center; padding: 10px; text-align: center; font-family: var(--display); font-size: .8125rem; font-weight: 700; line-height: 1.5; color: var(--ink); background: linear-gradient(160deg, var(--accent-soft), var(--second)); }
.ig-caption {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 4px;
  padding: 22px 6px 6px; background: linear-gradient(#0f172a00, #0f172a8c); font-size: .6875rem; line-height: 1.3;
}
.ig-caption strong { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ig-caption time { flex: none; font-size: .625rem; opacity: .95; font-variant-numeric: tabular-nums; }
.ig-movie {
  position: absolute; left: 6px; top: 6px; display: inline-flex; align-items: center; gap: 3px;
  padding: 3px 8px 3px 6px; border-radius: 999px; background: #111827d6; color: #fff; font-size: .625rem; font-weight: 700; letter-spacing: .04em;
}
.ig-movie svg { width: 11px; height: 11px; }
.ig-movie small { font-weight: 400; opacity: .85; margin-left: 2px; }
.ig-new { position: absolute; right: 6px; top: 6px; padding: 2px 7px; border-radius: 999px; background: #fffffff0; color: var(--accent); font-size: .625rem; font-weight: 800; letter-spacing: .06em; }
.ig-more { margin: 22px 0 0; text-align: center; }
.ig-more .button-outline { min-width: 60%; }
.ig-total { margin: 4px 0 12px; font-size: .8125rem; color: var(--muted); }
.ig-total strong { color: var(--ink); font-size: 1rem; }

/* 顔の並び（ストーリーのように）。24時間以内に書いた人は色の輪 */
.ig-people { display: flex; gap: 14px; margin: 0 -24px 16px; padding: 4px 24px 10px; overflow-x: auto; scrollbar-width: none; }
.ig-people::-webkit-scrollbar { display: none; }
.ig-people a { flex: none; width: 68px; display: grid; justify-items: center; gap: 5px; text-decoration: none; }
.ig-people small { max-width: 100%; font-size: .6875rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ig-people a[aria-current] small { color: var(--accent); font-weight: 800; }
.ig-face { position: relative; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; padding: 3px; background: var(--line); }
.ig-face > img, .ig-face > .portrait-placeholder { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: center top; display: block; aspect-ratio: 1; border: 2px solid var(--paper); }
.ig-face > .portrait-placeholder > small, .ig-face .portrait-initial { display: none; }
.ig-face.is-recent { background: conic-gradient(from 210deg, #f9a13a, #e8457c, #9b4dd6, #f9a13a); }
.ig-face.is-all { font-size: .75rem; font-weight: 800; letter-spacing: .08em; color: var(--accent); background: var(--accent-soft); }
.ig-people a[aria-current] .ig-face:not(.is-recent) { background: var(--accent); }
.ig-face.is-shop { color: var(--accent); background: var(--accent-soft); }
.ig-face.is-shop svg { width: 20px; height: 20px; }

/* 日記1件（小窓・日記のページ共通） */
.ig-post { background: var(--paper); }
.ig-post-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; }
.ig-post-author { display: flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; }
.ig-post-author .ig-face { width: 40px; height: 40px; padding: 2px; }
.ig-post-author strong { display: block; font-size: .9375rem; }
.ig-post-author small { display: block; font-size: .6875rem; color: var(--muted); }
.ig-post-head time { flex: none; font-size: .75rem; color: var(--muted); }
.ig-post-media { background: #111; }
.ig-post-media img, .ig-post-media video { display: block; width: 100%; height: auto; max-height: 78vh; object-fit: contain; margin: 0 auto; background: #111; }
.ig-post-body { padding: 14px 16px 18px; }
.ig-post-body h3 { margin: 0 0 6px; font-size: 1.0625rem; line-height: 1.6; }
.ig-post-tags { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 8px; font-size: .8125rem; font-weight: 600; color: var(--accent); }
.ig-post-text { font-size: .9375rem; line-height: 1.95; }
.ig-post-more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 8px; font-size: .8125rem; font-weight: 700; color: var(--accent); text-decoration: none; }
.ig-post-more svg { width: 16px; height: 16px; }
.ig-single { padding-bottom: 8px; border-bottom: 1px solid var(--line); }

/* 小窓 */
.ig-dialog { width: min(520px, 100%); max-width: 100%; max-height: 100dvh; margin: auto; padding: 0; border: 0; border-radius: 16px; background: var(--paper); color: var(--ink); overflow: hidden; box-shadow: 0 30px 80px #0006; }
.ig-dialog::backdrop { background: #0b0b12cc; backdrop-filter: blur(4px); }
.ig-dialog-bar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 6px; padding: 6px 8px; background: var(--paper); border-bottom: 1px solid var(--line); }
.ig-dialog-count { flex: 1; text-align: center; font-size: .75rem; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.ig-dialog-nav, .ig-dialog-close { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); font-size: 1.5rem; line-height: 1; }
.ig-dialog-nav svg { width: 20px; height: 20px; }
.ig-dialog-nav.is-prev svg { transform: rotate(180deg); }
.ig-dialog-nav:disabled { opacity: .3; }
.ig-dialog-body { max-height: calc(100dvh - 58px); overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; }
@media (max-width: 559px) { .ig-dialog { border-radius: 0; height: 100dvh; max-height: none; } .ig-dialog-body { max-height: calc(100dvh - 57px); } }
@media (max-width: 360px) { .ig-grid, .ig-people { margin-inline: -18px; } .ig-people { padding-inline: 18px; } }
.ig-people a[aria-current] .ig-face.is-all { color: var(--accent-ink); }

/* 横に並んだところは、マウスでつかんで動かせる（site.js）。つかんでいる間は文字や写真が選ばれないように */
[data-autoflow], [data-drag-scroll] { cursor: grab; }
[data-autoflow].is-dragging, [data-drag-scroll].is-dragging { cursor: grabbing; user-select: none; -webkit-user-select: none; scroll-snap-type: none; scroll-behavior: auto; }
[data-autoflow] img, [data-drag-scroll] img { -webkit-user-drag: none; }

/* ───── フッター「お店からの手紙」（2026-09-17） ─────
   便箋の手紙（消印つき）→ 今のお店の様子 → すぐ連絡 → 目次 → 小さな決まりごと、の順に閉じる */
.site-footer.footer-letter-style { text-align: left; padding-top: 34px; background: color-mix(in srgb, var(--accent) 3%, var(--paper)); }
.footer-letter {
  position: relative; margin: 0 0 18px; padding: 22px 20px 18px;
  background-color: #fffdf9; color: var(--ink);
  /* 便箋の罫線 */
  background-image: repeating-linear-gradient(180deg, transparent 0 31px, color-mix(in srgb, var(--accent) 16%, transparent) 31px 32px);
  background-position: 0 14px;
  border: 1px solid var(--line); border-radius: 4px;
  box-shadow: 0 1px 0 var(--line), 0 12px 26px color-mix(in srgb, var(--accent) 10%, transparent);
}
/* 便箋の上の、封筒の縁のような色の帯 */
.footer-letter::before {
  content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 5px; border-radius: 4px 4px 0 0;
  background: repeating-linear-gradient(135deg, var(--accent) 0 10px, transparent 10px 16px, color-mix(in srgb, var(--accent) 45%, #9fd3c7) 16px 26px, transparent 26px 32px);
  opacity: .7;
}
.footer-letter .eyebrow { margin-bottom: 8px; }
.footer-letter-body { margin: 0; font-size: .875rem; line-height: 32px; color: var(--ink); }
.footer-sign { margin: 6px 0 0; text-align: right; font-family: var(--display); font-size: 1rem; font-weight: 700; line-height: 32px; }
.footer-sign span::before { content: "—  "; color: var(--muted); font-weight: 400; }
/* 消印（その日の日付） */
.footer-postmark {
  position: absolute; right: 14px; top: 12px; width: 68px; height: 68px; border-radius: 50%;
  display: grid; place-content: center; text-align: center; line-height: 1.05;
  border: 2px solid color-mix(in srgb, var(--accent) 55%, transparent); color: color-mix(in srgb, var(--accent) 80%, var(--ink));
  transform: rotate(-12deg); opacity: .85;
  box-shadow: inset 0 0 0 3px #fffdf9, inset 0 0 0 4px color-mix(in srgb, var(--accent) 35%, transparent);
}
.footer-postmark small { font-size: .5625rem; font-weight: 700; letter-spacing: .06em; }
.footer-postmark small:first-child { font-size: .5rem; max-width: 56px; overflow: hidden; white-space: nowrap; }
.footer-postmark strong { font-size: 1.125rem; font-weight: 800; font-variant-numeric: tabular-nums; }
@media (max-width: 360px) { .footer-postmark { width: 56px; height: 56px; right: 8px; } .footer-postmark strong { font-size: .9375rem; } }

/* 今のお店の様子 */
.footer-now { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 6px; margin: 0 0 14px; }
.footer-now > * { display: grid; align-content: center; justify-items: center; gap: 1px; min-height: 64px; margin: 0; padding: 8px 4px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink); text-align: center; }
.footer-now small { font-size: .625rem; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.footer-now a strong { font-size: 1.5rem; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.footer-now a span { font-size: .625rem; color: var(--muted); }
.footer-now a { grid-template-rows: auto auto; }
.footer-now a strong + span { margin-top: -2px; }
.footer-now-open { grid-template-columns: auto; }
.footer-now-open strong { font-size: .8125rem; font-weight: 800; }
.footer-now-open i { width: 10px; height: 10px; border-radius: 50%; background: #9a93a0; }
.footer-now-open.is-open i { background: #2e9b7a; box-shadow: 0 0 0 0 #2e9b7a80; animation: footer-open 2s ease-out infinite; }
.footer-now-open.is-open strong { color: #1f7a5e; }
@keyframes footer-open { to { box-shadow: 0 0 0 8px #2e9b7a00; } }

.footer-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 22px; }
.footer-contact a { justify-content: flex-start; gap: 10px; min-height: 56px; padding: 8px 12px; text-align: left; line-height: 1.3; }
.footer-contact a svg { width: 22px; height: 22px; flex: none; }
.footer-contact a span { min-width: 0; font-size: .8125rem; font-weight: 700; overflow-wrap: anywhere; }
.footer-contact a small { display: block; font-size: .625rem; font-weight: 600; opacity: .85; }

/* 目次 */
.footer-index { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; margin: 0 0 22px; border-top: 1px solid var(--line); }
.footer-index a { display: block; padding: 10px 2px; min-height: 52px; border-bottom: 1px solid var(--line); font-size: .8125rem; font-weight: 700; text-decoration: none; color: var(--ink); }
.footer-index a small { display: block; font-size: .5625rem; font-weight: 700; letter-spacing: .12em; color: var(--accent); }

.footer-base { text-align: center; color: var(--muted); font-size: .75rem; }
.footer-base p { margin: 6px 0; }
.footer-brand-mark { justify-content: center; margin: 0 auto 8px; }
.footer-brand-mark .logo-svg { height: 40px; }
.footer-small-links { display: flex; justify-content: center; gap: 16px; }
.footer-small-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer-base > small { display: block; margin-top: 4px; font-size: .625rem; }
@media (prefers-reduced-motion: reduce) { .footer-now-open.is-open i { animation: none; } }
/* 消印は便箋のふちにまたがって押す（本文に重ならないように） */
.footer-letter { margin-top: 18px; }
.footer-postmark { top: -26px; right: 10px; background: #fffdf9e6; }
.footer-postmark small:first-child { font-size: .625rem; letter-spacing: .14em; }

/* 人のカードを一人ずつ枠で囲む（2026-09-17 YUTAKAさん「一人一人フレームで囲った方が」）。
   2列でも「この人の情報はここまで」がひと目で分かるように */
/* 2026-09-19 YUTAKAさん「全サイトに枠を」: 夜が流れるも同じ枠。ほかのテーマはそれぞれの CSS で枠を作る */
body:is([data-theme="standard"], [data-theme="yoru"]) .cast-card {
  display: flex; flex-direction: column; padding: 6px 6px 12px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 8%, transparent);
}
body:is([data-theme="standard"], [data-theme="yoru"]) .cast-picture { border-radius: 11px; box-shadow: none; }
body:is([data-theme="standard"], [data-theme="yoru"]) .cast-info { padding: 10px 6px 0; }

/* スマホでは人の一覧を左右に広げる（2026-09-17 YUTAKAさん「左右の余白が広すぎる」）。
   ページの余白 24px のうち 19px ぶん外へ出して、画面のふちから 5px にする（YUTAKAさんの指定）（枠の影が切れない幅は残す） */
@media (max-width: 559px) {
  .cast-grid { margin-inline: -19px; gap: 16px 8px; }
}
@media (max-width: 360px) {
  .cast-grid { margin-inline: -13px; gap: 14px 6px; }
}

/* ───── 人のカードの文字を読みやすく（2026-09-17 YUTAKAさん「文字が小さすぎる・色が薄い、スマホから見にくい」） ─────
   テーマの指定より強くするため body から書く */
body .cast-info .cast-measurements,
body .cast-info .cast-meta { font-size: .8125rem; font-weight: 600; color: var(--ink); letter-spacing: .01em; line-height: 1.7; font-variant-numeric: tabular-nums; }
body .cast-info .cast-tagline { font-size: .8125rem; font-weight: 500; color: var(--ink); line-height: 1.75; }
body .cast-info h3 small { font-size: .8125rem; color: var(--ink); opacity: .8; }

/* 出勤の日時。「次回 9/18(金)」と「17:00〜翌1:00」を2行・中央ぞろえ */
body .cast-info .shift-time { text-align: center; font-size: .9375rem; font-weight: 700; line-height: 1.45; margin-top: 8px; }
body .cast-info .shift-time.is-two-lines span { display: block; font-size: .75rem; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
body .cast-info .shift-state { display: table; margin: 5px auto 0; }

/* 案内状況の札。「すぐご案内できます」は緑の札で目立たせ、点をゆっくり光らせる */
body .cast-info .wait-label {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin: 8px 0 0; padding: 6px 8px; border-radius: 999px;
  font-size: .8125rem; font-weight: 800; line-height: 1.3; text-align: center;
}
body .cast-info .wait-label i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
body .cast-info .wait-label.is-now { background: #1f8f6c; color: #fff; box-shadow: 0 4px 12px #1f8f6c40; }
body .cast-info .wait-label.is-now i { background: #fff; animation: wait-glow 1.6s ease-in-out infinite; }
body .cast-info .wait-label.is-next { background: #fff4d6; color: #7a5200; border: 1px solid #e9c46a; }
body .cast-info .wait-label.is-full { background: var(--line); color: var(--muted); font-weight: 700; }
@keyframes wait-glow { 50% { opacity: .35; transform: scale(.7); } }
@media (prefers-reduced-motion: reduce) { body .cast-info .wait-label.is-now i { animation: none; } }

/* ───── 対応コスプレ（人の詳細） ───── */
.costume-box { border: 1px solid var(--line); border-radius: 14px; background: var(--paper); overflow: hidden; }
.costume-box summary { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; align-items: center; gap: 2px 14px; padding: 14px 16px; cursor: pointer; list-style: none; }
.costume-box summary::-webkit-details-marker { display: none; }
.costume-count { grid-row: span 2; display: grid; place-content: center; width: 72px; height: 72px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 1.75rem; font-weight: 800; line-height: 1; text-align: center; font-variant-numeric: tabular-nums; }
.costume-count small { display: block; font-size: .625rem; font-weight: 700; }
.costume-preview { font-size: .875rem; font-weight: 700; line-height: 1.5; }
.costume-open { justify-self: start; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 4px 14px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: .75rem; font-weight: 700; }
.costume-open::after { content: "＋"; }
.costume-box[open] .costume-open::after { content: "－"; }
.costume-list { list-style: none; margin: 0; padding: 4px 16px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border-top: 1px solid var(--line); padding-top: 14px; }
.costume-list li { padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--accent) 5%, var(--paper)); }
.costume-list strong { display: block; font-size: .875rem; }
.costume-list small { display: block; margin-top: 2px; font-size: .75rem; color: var(--ink); opacity: .8; line-height: 1.5; }
.costume-note { margin: 12px 16px 16px; font-size: .75rem; color: var(--muted); }

/* ===== コンセプト・プレイ内容のページ（2026-09-17 YUTAKAさん「手抜き感があってはいけない」） =====
   1冊の小さな冊子として設計する。
   - 紙: ページ全体を1枚の紙に（章ごとに背景色を切り替えない）。ごく薄くお店の色がにじむ
   - 文字組み: 見出しは明朝、英字は細身のローマン体の斜体。日本語の折り返しは言葉の切れ目で（word-break: auto-phrase）
   - 線: 1px の細い線と、二重の枠。飾りは線と小さなひし形だけ（写真や絵は使わない）
   テーマの色（--paper --ink --accent）から全部作るので、どの着せ替えでも崩れない */
.concept-page {
  --cp-roman: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --cp-mincho: var(--serif);
  --cp-card: color-mix(in srgb, var(--paper, #fff) 55%, #fff);
  --cp-hair: color-mix(in srgb, var(--ink) 16%, transparent);
  position: relative; padding-bottom: 12px; color: var(--ink);
  background:
    radial-gradient(120% 60% at 0% 0%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 60%),
    radial-gradient(90% 50% at 100% 38%, color-mix(in srgb, var(--accent) 6%, transparent), transparent 65%),
    radial-gradient(90% 40% at 0% 78%, color-mix(in srgb, var(--accent) 5%, transparent), transparent 70%),
    var(--paper, #fff);
}
[data-theme="noir"] .concept-page { --cp-card: color-mix(in srgb, var(--paper) 88%, #fff); }
.concept-page :is(p, dd, dt, h1, h2, h3, h4) { word-break: auto-phrase; text-wrap: pretty; }

/* 小さな飾り: 線・ひし形・線 */
.cp-ornament { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 26px 0; color: var(--accent); }
.cp-ornament::before, .cp-ornament::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .6; }
.cp-ornament i { width: 6px; height: 6px; transform: rotate(45deg); border: 1px solid currentColor; }

/* ---- 01 コンセプト: 見出しは他の章と同じ。本文は中央ぞろえ ---- */
.cp-concept { padding-top: 48px; }
.cp-concept-body { padding: 8px 2px 12px; text-align: center; }
.cp-usp {
  margin: 0; font-family: var(--cp-mincho); font-size: clamp(1.4375rem, 6.4vw, 1.875rem); font-weight: 600;
  line-height: 1.75; letter-spacing: .08em; text-wrap: balance;
}
.cp-story { margin: 0 auto 1.6em; max-width: 25em; font-family: var(--cp-mincho); font-size: .9375rem; font-weight: 500; line-height: 2.2; letter-spacing: .05em; }
.cp-story.is-lead { font-size: 1rem; font-weight: 600; }
.cp-story:last-child { margin-bottom: 0; }

/* ---- 章の見出し ---- */
.cp-chapter { padding: 44px 20px 12px; }
.cp-chapter-head { position: relative; display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 14px; margin: 0 4px 30px; padding-bottom: 14px; border-bottom: 1px solid var(--cp-hair); }
.cp-chapter-head::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 56px; height: 1px; background: var(--accent); }
.cp-chapter-no { font-family: var(--cp-roman); font-size: 4rem; font-style: italic; font-weight: 500; line-height: .8; color: color-mix(in srgb, var(--accent) 70%, var(--ink)); }
.cp-chapter-en { display: flex; flex-wrap: wrap; gap: 2px 10px; margin: 0; font-family: var(--cp-roman); font-size: .8125rem; font-style: italic; letter-spacing: .16em; color: var(--muted); }
.cp-chapter-en span { color: var(--accent); }
.cp-chapter-head h2 { margin: 4px 0 0; font-family: var(--cp-mincho); font-size: clamp(1.125rem, 5vw, 1.375rem); font-weight: 600; line-height: 1.55; letter-spacing: .06em; }

/* ---- 02 プレイ内容: 二重の細い枠。番号は枠に重ねる ---- */
.cp-plays { display: grid; gap: 34px; padding-top: 12px; }
.cp-play {
  position: relative; padding: 32px 22px 24px; background: var(--cp-card);
  border: 1px solid var(--cp-hair); box-shadow: inset 0 0 0 5px var(--cp-card), inset 0 0 0 6px color-mix(in srgb, var(--accent) 24%, transparent);
}
.cp-play-no {
  position: absolute; top: -21px; left: 16px; padding: 0 8px; background: var(--paper, #fff);
  font-family: var(--cp-roman); font-size: 2.25rem; font-style: italic; font-weight: 500; line-height: 1; color: var(--accent);
}
.cp-play-head { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; border-bottom: 1px dashed var(--cp-hair); }
.cp-play-time {
  flex: none; display: grid; place-items: center; align-content: center; width: 58px; height: 58px; border-radius: 50%;
  border: 1px solid var(--accent); color: var(--accent); line-height: 1;
}
.cp-play-time strong { font-family: var(--cp-roman); font-size: 1.5rem; font-weight: 600; }
.cp-play-time small { font-family: var(--cp-roman); font-size: .6875rem; font-style: italic; letter-spacing: .12em; }
.cp-play-head h3 { margin: 0; font-family: var(--cp-mincho); font-size: 1.125rem; font-weight: 600; line-height: 1.6; letter-spacing: .04em; }
.cp-play p { margin: 16px 0 0; font-size: .9375rem; line-height: 2.05; letter-spacing: .03em; }

/* ---- 03 プラスして選べる内容: 飾り線ではさんだタイトルと、ひし形の一覧 ---- */
.cp-extra { margin: 0 0 34px; }
.cp-extra-title { display: flex; align-items: center; gap: 14px; margin: 0 0 6px; font-family: var(--cp-mincho); font-size: 1.0625rem; font-weight: 600; letter-spacing: .08em; text-align: center; }
.cp-extra-title::before, .cp-extra-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--accent)); opacity: .5; }
.cp-extra-title::after { background: linear-gradient(90deg, var(--accent), transparent); }
.cp-extra-items { margin: 0; padding: 0 6px; }
.cp-extra-items > div { position: relative; padding: 18px 0 18px 26px; border-bottom: 1px dotted var(--cp-hair); }
.cp-extra-items > div:last-child { border-bottom: 0; }
.cp-extra-items > div::before { content: ""; position: absolute; left: 4px; top: 27px; width: 7px; height: 7px; transform: rotate(45deg); background: var(--accent); }
.cp-extra-items dt { font-family: var(--cp-mincho); font-size: 1.0625rem; font-weight: 600; line-height: 1.6; letter-spacing: .04em; }
.cp-extra-items dd { margin: 6px 0 0; font-size: .9375rem; line-height: 2; color: var(--ink); }
.cp-options { display: grid; gap: 14px; margin-top: 14px; }
.cp-option { padding: 18px 18px 16px; background: var(--cp-card); border: 1px solid var(--cp-hair); }
.cp-option header { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.cp-option h4 { margin: 0; font-family: var(--cp-mincho); font-size: 1.0625rem; font-weight: 600; }
.cp-option-price { font-family: var(--cp-roman); font-size: 1.125rem; font-weight: 600; color: var(--accent); white-space: nowrap; }
.cp-option p { margin: 6px 0 0; font-size: .875rem; line-height: 1.9; }
.cp-note { margin: 12px 0 0; font-size: .8125rem; color: var(--muted); text-align: center; }

/* ---- 04 初めての方の流れ ---- */
.cp-flow { margin: 0; padding: 0 4px; list-style: none; }
.cp-flow li { position: relative; display: grid; grid-template-columns: 58px 1fr; gap: 14px; padding-bottom: 26px; }
.cp-flow li:not(:last-child)::after { content: ""; position: absolute; left: 28px; top: 58px; bottom: 4px; width: 1px; background: linear-gradient(var(--accent), var(--cp-hair)); }
.cp-flow-no {
  display: grid; place-items: center; align-content: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--cp-card); border: 1px solid var(--accent); color: var(--accent);
  font-family: var(--cp-roman); font-size: 1.375rem; font-weight: 600; line-height: 1;
}
.cp-flow-no small { font-size: .5625rem; font-style: italic; letter-spacing: .14em; }
.cp-flow strong { display: block; padding-top: 15px; font-family: var(--cp-mincho); font-size: 1.0625rem; font-weight: 600; letter-spacing: .04em; }
.cp-flow p { margin: 6px 0 0; font-size: .875rem; line-height: 1.95; color: var(--muted); }

/* ---- 結び ---- */
.cp-closing { display: grid; justify-items: center; gap: 14px; padding: 24px 24px 48px; text-align: center; }
.cp-closing .cp-ornament { margin: 8px 0 6px; }
.cp-closing p { margin: 0 0 6px; font-family: var(--cp-mincho); font-size: 1rem; line-height: 2; letter-spacing: .06em; }
.cp-closing .button-primary { width: min(100%, 320px); }
.cp-closing-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: .875rem; color: var(--accent); text-decoration: none; }
.cp-closing-link svg, .concept-teaser-link svg { width: 17px; }

/* 対応できる人の顔・衣装の札 */
.concept-people { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--cp-hair, var(--line)); }
.concept-people > p { margin: 0 0 8px !important; font-size: .75rem !important; font-weight: 700; color: var(--muted); }
.concept-people ul { display: flex; flex-wrap: wrap; gap: 10px 8px; margin: 0; padding: 0; list-style: none; }
.concept-people a { display: grid; justify-items: center; gap: 3px; width: 52px; font-size: .6875rem; color: var(--ink); text-decoration: none; text-align: center; }
.concept-people img, .concept-people-empty { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: center top; background: var(--accent-soft); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.concept-people-more a { align-self: center; width: auto; height: 44px; display: flex; align-items: center; padding: 0 6px; font-weight: 700; color: var(--accent); }
.concept-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.concept-chips li { display: inline-flex; align-items: baseline; gap: 4px; padding: 5px 11px; border-radius: 999px; background: var(--accent-soft); font-size: .875rem; font-weight: 700; }
.concept-chips small { font-size: .6875rem; font-weight: 400; color: var(--muted); }

/* 静かに現れる（位置を少し動かすだけ。拡大はしない）。JSが動いたときだけ隠す */
.has-reveal [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .9s ease, transform .9s ease; }
.has-reveal [data-reveal].is-shown { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .has-reveal [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* トップの入口 */
.concept-teaser {
  position: relative; display: grid; gap: 12px; margin: 8px 0 0; padding: 40px 28px; overflow: hidden; text-align: center; text-decoration: none; color: var(--ink);
  background: color-mix(in srgb, var(--accent) 6%, #fdfcfb); border-block: 1px solid var(--line);
}
.concept-teaser strong { position: relative; font-family: var(--display, inherit); font-size: 1.375rem; line-height: 1.7; letter-spacing: .04em; text-wrap: balance; }
.concept-teaser-link { position: relative; display: inline-flex; justify-content: center; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 700; color: var(--accent); }

/* 自由に作ったページ（画像とテキスト） */
.custom-lp { display: grid; gap: 0; padding-bottom: 24px; }
.custom-lp-image { margin: 0; }
.custom-lp-image img { display: block; width: 100%; height: auto; }
.custom-lp-heading { margin: 32px 24px 12px; font-size: 1.5rem; font-weight: 700; line-height: 1.55; letter-spacing: .03em; }
.custom-lp-text { margin: 8px 24px 16px; font-size: .9375rem; line-height: 2; }
.custom-lp-button { margin: 18px 24px; text-align: center; }
.custom-lp-button .button-primary { width: min(100%, 320px); }

/* 目的から選べるメニュー（2026-09-18）。横に並べて、はみ出したら指で払える */
.purpose-filter { margin: 4px 0 20px; display: grid; gap: 8px; scroll-margin-top: 72px; }
.purpose-filter-label { margin: 0; font-size: .75rem; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.purpose-filter-list { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.purpose-filter-list::-webkit-scrollbar { display: none; }
.purpose-filter-list a {
    flex: none; min-height: 40px; display: inline-flex; align-items: center; padding: 6px 14px;
    border: 1px solid var(--line); border-radius: 999px; background: var(--paper);
    font-size: .8125rem; font-weight: 600; text-decoration: none; color: var(--ink);
}
.purpose-filter-list a[aria-current] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.course-purposes { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.course-purposes em {
    font-style: normal; font-size: .6875rem; font-weight: 600; line-height: 1.6;
    padding: 0 8px; border-radius: 999px; color: var(--accent);
    background: color-mix(in srgb, var(--accent) 10%, transparent);
}

/* SNS へのリンクと、このページのシェア（2026-09-18） */
.footer-sns { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 6px 0; }
.footer-sns a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .8125rem; font-weight: 600; text-decoration: none; color: var(--ink); }
.footer-sns svg { width: 18px; height: 18px; }
.share { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: 16px; }
.share-native { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 20px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); font: inherit; font-size: .875rem; font-weight: 600; cursor: pointer; }
.share-native svg, .share-links svg { width: 18px; height: 18px; }
.share-links { display: flex; align-items: center; gap: 6px; }
.share.has-native .share-links .share-label { display: none; }
.share-label { font-size: .75rem; font-weight: 700; color: var(--muted); margin-right: 2px; }
.share-links a, .share-copy { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--ink); cursor: pointer; padding: 0; }
.share-done { flex-basis: 100%; text-align: center; font-size: .75rem; color: var(--muted); min-height: 1em; }
.share-done:empty { display: none; }
/* 使えない環境ではボタンを隠す（上の display 指定より強く） */
.share .share-native[hidden], .share .share-copy[hidden] { display: none; }

/* トップの Instagram の投稿（押すまで読み込まない。2026-09-18） */
.ig-embeds { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ig-embeds.is-loaded { grid-template-columns: 1fr; gap: 16px; }
.ig-embed-link { display: grid; place-items: center; gap: 6px; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 12px; background: var(--accent-soft); color: var(--ink); text-decoration: none; font-size: .8125rem; font-weight: 600; }
.ig-embed-link svg { width: 28px; height: 28px; color: var(--accent); }
.ig-embeds .instagram-media { margin: 0 auto !important; min-width: 0 !important; width: 100% !important; }
.ig-consent { display: grid; justify-items: center; gap: 6px; margin-top: 14px; text-align: center; }
.ig-consent .button-outline { display: inline-flex; align-items: center; gap: 8px; }
.ig-consent svg { width: 18px; height: 18px; }
.ig-consent .muted { font-size: .75rem; margin: 0; }
.ig-consent [hidden] { display: none; }

/* 会員のページ（登録・ログイン・会員ページ。2026-09-18） */
.member-page h1 { font-size: 1.375rem; margin: 4px 0 8px; }
.member-page h2 { font-size: 1.0625rem; margin: 0 0 12px; }
.member-form { display: grid; gap: 14px; margin-top: 16px; }
.member-form label { display: grid; gap: 6px; font-size: .875rem; font-weight: 600; }
.member-form input[type="text"], .member-form input[type="email"], .member-form input[type="tel"], .member-form input[type="password"] {
    width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px;
    background: var(--paper); color: var(--ink); font: inherit; font-size: 1rem;
}
.member-form input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.member-check { display: flex !important; align-items: flex-start; gap: 8px; font-weight: 400 !important; line-height: 1.6; }
.member-check input { margin-top: .3em; width: 18px; height: 18px; flex: none; }
.member-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.member-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin: 18px 0 0; font-size: .875rem; }
.member-notice { margin: 12px 0; padding: 12px 14px; border-radius: 10px; font-size: .875rem; }
.member-notice ul { margin: 0; padding-left: 1.2em; }
.member-notice.is-ok { background: var(--second); color: var(--second-ink); }
.member-notice.is-error { background: #fdecec; color: #8a2020; }
.member-steps { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; counter-reset: step; }
.member-steps li { counter-increment: step; position: relative; display: grid; gap: 6px; padding: 14px 14px 14px 52px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); font-size: .875rem; }
.member-steps li::before { content: counter(step); position: absolute; left: 14px; top: 14px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--accent); color: var(--accent); font-weight: 700; font-size: .8125rem; }
.member-steps li.is-done::before { content: "✓"; background: var(--accent); color: var(--accent-ink); }
.member-steps form { margin-top: 4px; }
.member-leave { margin-top: 18px; font-size: .875rem; }
.member-leave summary { cursor: pointer; color: var(--muted); }

/* WEB予約（2026-09-18） */
.member-form select, .member-form textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); font: inherit; font-size: 1rem; }
.booking-slots { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.booking-slots legend { font-size: .875rem; font-weight: 600; margin-bottom: 8px; }
.booking-slots label { display: block !important; }
.booking-slots input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.booking-slots span { display: grid; place-items: center; min-height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); font-weight: 700; cursor: pointer; }
.booking-slots input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.booking-slots input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.member-reservations { list-style: none; margin: 12px 0; padding: 0; display: grid; gap: 8px; }
.member-reservations li { display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); font-size: .875rem; }
.member-reservations li.is-past { opacity: .7; }
.member-reservations em { font-style: normal; font-weight: 700; justify-self: start; padding: 0 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: .75rem; }
.member-reservations em.is-confirmed { background: var(--second); color: var(--second-ink); }

/* 会員ページ第1弾（2026-09-19。アリエルを参考に）: 上のメニュー・お知らせ・今日の推し速報・お気に入り・通知・書いたもの */
/* 会員証（2026-09-19）。お店の色で、会員ページの一番上に */
.member-card { position: relative; overflow: hidden; margin: 4px 0 14px; padding: 18px 18px 14px; border-radius: 18px; color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, color-mix(in srgb, var(--accent) 70%, #000) 100%);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 30%, transparent); }
.member-card::before { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: rgba(255,255,255,.1); }
.member-card::after { content: ""; position: absolute; right: 30px; bottom: -90px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255,255,255,.07); }
.member-card > * { position: relative; }
.member-card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: .6875rem; letter-spacing: .08em; opacity: .9; }
.member-card-shop { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.member-card-label { flex: none; letter-spacing: .2em; font-size: .625rem; }
.member-card-body { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.member-card h1 { margin: 0; font-size: 1.375rem; line-height: 1.3; color: #fff; word-break: break-all; }
.member-card h1 small { font-size: .875rem; font-weight: 600; }
.member-card-body p { margin: 2px 0 0; font-size: .75rem; letter-spacing: .12em; opacity: .85; font-variant-numeric: tabular-nums; }
.member-card-facts { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; margin: 16px 0 0; padding: 12px 0 0; border-top: 1px solid rgba(255,255,255,.3); }
.member-card-facts li { display: grid; gap: 2px; font-size: .8125rem; font-weight: 700; }
.member-card-facts small { font-size: .625rem; font-weight: 400; opacity: .8; letter-spacing: .06em; }
/* メニューは3つずつ並べる（2026-09-19 YUTAKAさん「はみ出てます」。横スクロールをやめた） */
.member-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 14px 0 4px; }
.member-nav a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 62px; padding: 8px 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); font-size: .75rem; font-weight: 600; line-height: 1.3; text-align: center; text-decoration: none; color: var(--ink); }
.member-nav a svg { width: 20px; height: 20px; }
.member-nav .member-badge { position: absolute; top: 4px; right: 6px; }
.member-nav a[aria-current] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.member-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #d63b3b; color: #fff; font-size: .6875rem; font-weight: 700; }
.member-new { display: inline-block; margin-left: 6px; padding: 0 7px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: .625rem; font-weight: 700; letter-spacing: .06em; vertical-align: middle; }
.member-sub { font-size: .9375rem; margin: 18px 0 10px; }
.member-empty { margin: 8px 0 0; padding: 16px; border: 1px dashed var(--line); border-radius: 12px; background: var(--paper); font-size: .875rem; line-height: 1.8; }
.member-empty p { margin: 0 0 12px; }
.member-more { display: flex; align-items: center; justify-content: flex-end; gap: 6px; min-height: 44px; margin-top: 8px; font-size: .8125rem; font-weight: 600; color: var(--accent); text-decoration: none; }
.member-more svg { width: 16px; height: 16px; }
.member-news { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.member-news a { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: baseline; padding: 14px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: .875rem; }
.member-news time { color: var(--muted); font-size: .75rem; }
.member-counters { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.member-counters li { display: grid; place-items: center; gap: 2px; padding: 12px 6px; border-radius: 12px; background: var(--accent-soft); text-align: center; }
.member-counters li a { display: grid; place-items: center; gap: 2px; text-decoration: none; color: inherit; }
.member-counters b { font-size: 1.5rem; line-height: 1.1; color: var(--accent); }
.member-counters span { font-size: .6875rem; color: var(--muted); }
.member-today, .member-favorites, .member-notices, .member-cheers { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.member-today a, .member-favorite-link, .member-notices a { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); text-decoration: none; color: var(--ink); }
.member-today img, .member-favorite-link img, .member-notices img, .member-face { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.member-face { display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.member-face svg { width: 22px; height: 22px; }
.member-today strong, .member-favorite-link strong, .member-notices strong { display: block; font-size: .9375rem; }
.member-today small, .member-favorite-link small, .member-notices small { display: block; color: var(--muted); font-size: .75rem; }
.member-today a > svg { width: 16px; height: 16px; color: var(--muted); }
.member-rebook { display: inline-flex; align-items: center; gap: 6px; justify-self: start; min-height: 40px; margin-top: 4px; font-size: .8125rem; font-weight: 600; color: var(--accent); text-decoration: none; }
.member-rebook svg { width: 16px; height: 16px; }
.member-favorites li { display: grid; gap: 6px; }
.member-favorite-link { grid-template-columns: 52px 1fr; }
.member-favorite-actions { display: flex; justify-content: flex-end; gap: 8px; }
.member-toggle, .member-unfav { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); font: inherit; font-size: .8125rem; cursor: pointer; }
.member-toggle svg { width: 15px; height: 15px; }
.member-toggle[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.member-unfav { color: var(--muted); }
.member-readall { display: flex; justify-content: flex-end; margin-bottom: 10px; }
.member-notices a { grid-template-columns: 52px 1fr; }
.member-notices li.is-unread a { border-color: var(--accent); background: color-mix(in srgb, var(--accent-soft) 45%, var(--paper)); }
.member-notices em { display: block; font-style: normal; font-size: .8125rem; color: var(--muted); margin-top: 2px; }
.member-cheers li { display: grid; gap: 8px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); font-size: .875rem; }
.member-cheers p { margin: 0; line-height: 1.8; }
.member-cheer-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.member-cheer-head a { color: var(--ink); text-decoration: none; }
.member-cheer-head em { font-style: normal; font-weight: 700; padding: 0 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: .75rem; white-space: nowrap; }
.member-cheer-head em.is-published { background: var(--second); color: var(--second-ink); }
.member-cheer-head em.is-hidden { background: #eee; color: var(--muted); }
.member-reply { padding: 10px 12px; border-left: 3px solid var(--accent); border-radius: 0 10px 10px 0; background: var(--accent-soft); }
.member-reply small { display: block; font-weight: 700; color: var(--accent); margin-bottom: 4px; }
.member-only-badge { display: inline-block; margin: 8px 0 12px; padding: 4px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: .75rem; font-weight: 700; }
/* 人のページの「お気に入り」 */
.favorite-form { margin: 0 0 10px; }
.favorite-button { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 50px; margin: 0 0 10px; border: 1px solid var(--accent); border-radius: 999px; background: var(--paper); color: var(--accent); font: inherit; font-weight: 700; font-size: .9375rem; text-decoration: none; cursor: pointer; }
.favorite-form .favorite-button { margin: 0; }
.favorite-button svg { width: 20px; height: 20px; }
.favorite-button.is-on { background: var(--accent); color: var(--accent-ink); }
.favorite-note { margin: -2px 0 12px; font-size: .75rem; color: var(--muted); text-align: center; }
/* 推しトーク（2026-09-19）: 会員のやりとり */
.talk-rules { margin: 12px 0; padding: 10px 12px; border-radius: 10px; background: var(--accent-soft); font-size: .75rem; line-height: 1.7; color: var(--muted); }
/* 吹き出しの下に名前・日時・既読（2026-09-19 YUTAKAさん） */
.talk-log { list-style: none; margin: 14px 0; padding: 0; display: grid; gap: 14px; }
.talk-log li { max-width: 85%; justify-self: start; display: grid; gap: 4px; justify-items: start; }
.talk-log li.is-mine { justify-self: end; justify-items: end; }
.talk-log p { margin: 0; padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: var(--paper); border: 1px solid var(--line); font-size: .875rem; line-height: 1.8; word-break: break-word; }
.talk-log li.is-mine p { border-radius: 16px 16px 4px 16px; background: var(--accent-soft); border-color: transparent; }
.talk-log small { color: var(--muted); font-size: .6875rem; padding: 0 4px; }
.talk-log .talk-read { font-weight: 700; color: var(--accent); }
.talk-log .talk-unread { font-weight: 700; }
.talk-form { margin-top: 8px; }
.talk-tools form { margin-top: 12px; }
.talk-button { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 0 10px; }
.talk-button svg { width: 18px; height: 18px; }

/* 応援メッセージ（2026-09-18。件数は出さない） */
.cheer-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; }
.cheer-list li { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.cheer-body { margin: 0; line-height: 1.8; }
.cheer-meta { margin: 8px 0 0; font-size: .75rem; color: var(--muted); }
.cheer-reply { margin-top: 12px; padding: 10px 12px; border-left: 3px solid var(--accent); background: var(--accent-soft); border-radius: 0 10px 10px 0; font-size: .875rem; }
.cheer-reply p { margin: 4px 0 0; }
/* SMS の数字を入れる欄（2026-09-18） */
.sms-code { grid-template-columns: 1fr auto; align-items: end; margin-top: 8px; }
.sms-code input { letter-spacing: .3em; font-size: 1.25rem !important; }
