/* =====================================================
   KYON BODY メンバーページ 共通スタイル
   テーマ変更は :root 変数だけ書き換えてください
   ===================================================== */

:root {
  /* ── ブランドカラー ── */
  --clr-primary:        #0ABAB5;
  --clr-primary-dark:   #07908c;
  --clr-primary-deep:   #2d4a4a;
  --clr-primary-deeper: #1a3a3a;
  --clr-primary-end:    #3a5f5f;

  /* ── 背景・サーフェス ── */
  --clr-bg:       #f8fefe;
  --clr-surface:  #f4fafa;
  --clr-surface2: #e8f9f8;
  --clr-surface3: #e0f5f5;

  /* ── ボーダー ── */
  --clr-border:  #e0f0ef;
  --clr-border2: #c8e6e4;

  /* ── アクセント ── */
  --clr-accent:  #81d8d0;
  --clr-accent2: #b0d8d4;

  /* ── rgba 用 RGB 値 ── */
  --clr-primary-rgb: 10, 186, 181;
  --clr-accent-rgb:  129, 216, 208;
}

/* ── ベース ── */
body {
  font-family: 'Outfit', 'Noto Serif JP', sans-serif;
  color: var(--clr-primary-deep);
  font-size: 16px;
  background: var(--clr-bg);
}
.font-cormorant { font-family: 'Cormorant Garamond', serif; }
p, li, label, td, th { font-size: 1rem; }
input, select, textarea { font-size: 1rem !important; }

/* 各ページの内側コンテナを main 幅に揃える */
.detail-container,
.cal-wrap,
.reserve-confirm-container,
.reserve-menu-wrap,
.qa-container,
.reading-body-wrap {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* ── ヘッダー ── */
.m-header-logo-text { color: var(--clr-primary); }

/* ── サイト全体 layout ── */
.m-main-content { padding-bottom: 6rem; }
.m-site-footer  { background: var(--clr-primary-deep); margin-bottom: 4rem; }
.m-footer-brand { color: var(--clr-accent); }

/* ── ドロワーナビ ── */
#nav-menu {
  position: fixed; top: 0; right: 0;
  width: 220px; height: 100%;
  background: #fff;
  box-shadow: -4px 0 24px rgba(0,0,0,0.10);
  z-index: 200;
  display: flex; flex-direction: column; padding-top: 4rem;
  transition: transform .25s ease, opacity .25s ease;
}
#nav-menu.closed { transform: translateX(100%); opacity: 0; pointer-events: none; }
#nav-menu.open   { transform: translateX(0);    opacity: 1; pointer-events: auto; }
#nav-menu nav a  { color: #1a1a1a; }
#nav-menu nav a.nav-link-muted { color: #666; }
#nav-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.3); z-index: 199;
}
#nav-overlay.show { display: block; }

/* ── タブバー ── */
#bottom-tab-bar {
  position: fixed; bottom: 0; left: 0; right: 0; height: 60px;
  background: #fff; border-top: 1px solid var(--clr-border);
  display: flex; align-items: stretch; z-index: 100;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.06);
}
.tab-item {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 3px; text-decoration: none;
  font-size: 0.62rem; letter-spacing: 0.04em;
  color: #9aacac;
  transition: color 0.15s, background 0.15s;
  border-radius: 0.5rem; margin: 6px 4px;
}
.tab-item:hover { color: var(--clr-primary); background: var(--clr-surface); }
.tab-item.active { color: var(--clr-primary); }

/* =====================================================
   共通マイページコンポーネント
   ===================================================== */

/* ヒーロー（ダーク） */
.m-hero {
  background: linear-gradient(160deg, #0d2525 0%, var(--clr-primary-deep) 60%, var(--clr-primary-end) 100%);
  border-radius: 1.5rem;
}
.m-hero-center { padding: 3rem 2rem 2.5rem; text-align: center; margin-bottom: 2rem; }
.m-hero-flex   { padding: 2rem 1.75rem; display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.5rem; }
.m-eyebrow {
  display: inline-block; font-size: 0.7rem; letter-spacing: 0.3em; color: var(--clr-accent);
  border: 1px solid rgba(var(--clr-accent-rgb), 0.4); padding: 0.35em 1.2em; border-radius: 99px; margin-bottom: 1.25rem;
}
.m-hero-title {
  font-family: 'Noto Serif JP', serif; font-size: clamp(1.3rem, 4vw, 1.8rem);
  font-weight: 400; color: #fff; letter-spacing: 0.06em; line-height: 1.7; margin-bottom: 0.5rem;
}
.m-hero-sub   { font-size: 0.85rem; color: rgba(255,255,255,0.55); line-height: 1.9; }
.m-hero-label { font-size: 0.72rem; color: rgba(255,255,255,0.6); letter-spacing: 0.12em; margin-bottom: 0.2rem; }
.m-hero-name  { font-family: 'Noto Serif JP', serif; font-size: 1.2rem; font-weight: 400; color: #fff; letter-spacing: 0.05em; }
.m-hero-avatar {
  width: 3.5rem; height: 3.5rem; border-radius: 50%;
  border: 2px solid rgba(var(--clr-accent-rgb), 0.5); flex-shrink: 0; object-fit: cover;
}
.m-hero-avatar-ph {
  width: 3.5rem; height: 3.5rem; border-radius: 50%;
  border: 2px solid rgba(var(--clr-accent-rgb), 0.3); background: rgba(var(--clr-accent-rgb), 0.12);
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; color: var(--clr-accent);
}
.m-btn-ghost {
  display: inline-flex; align-items: center; gap: 0.4em;
  margin-top: 1rem; padding: 0.4em 1.1em;
  border: 1px solid rgba(var(--clr-accent-rgb), 0.35); border-radius: 0.375rem;
  font-size: 0.75rem; color: rgba(255,255,255,0.55); letter-spacing: 0.05em;
  text-decoration: none; transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.m-btn-ghost:hover {
  border-color: rgba(var(--clr-accent-rgb), 0.7);
  color: rgba(255,255,255,0.85);
  background: rgba(var(--clr-accent-rgb), 0.1);
}
.m-hero--mb0 { margin-bottom: 0; }

/* セクション見出し */
.m-section-head {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em;
  color: var(--clr-primary); margin-bottom: 0.75rem; margin-top: 2rem;
}
.m-section-head-first { margin-top: 0; }

/* ボタン */
.m-btn-primary {
  display: block; width: 100%;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-dark));
  color: #fff; border: none; border-radius: 99px; padding: 1rem 2rem;
  font-family: 'Noto Serif JP', serif; font-size: 1rem; letter-spacing: 0.06em;
  cursor: pointer; text-align: center; text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}
.m-btn-primary:hover { opacity: 0.88; transform: translateY(-2px); }
.m-btn-primary:disabled { opacity: 0.35; cursor: not-allowed; transform: none; }
.m-btn-primary--mb { margin-bottom: 2rem; }

.m-btn-reserve {
  display: block; width: 100%; background: #fff;
  border: 2px solid var(--clr-primary); border-radius: 1.25rem; padding: 1.1rem 1.5rem;
  text-align: center; font-size: 1rem; font-weight: 700; color: var(--clr-primary);
  text-decoration: none; box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  transition: background 0.15s, color 0.15s, box-shadow 0.15s, transform 0.15s; margin-bottom: 0.5rem;
}
.m-btn-reserve:hover { background: var(--clr-primary); color: #fff; box-shadow: 0 4px 16px rgba(var(--clr-primary-rgb), 0.25); transform: translateY(-1px); }

/* アラート */
.m-alert { border-radius: 0.875rem; padding: 1rem 1.25rem; font-size: 0.9rem; margin-bottom: 1.5rem; }
.m-alert-error   { background: #fef2f2; border: 1px solid #fecaca; color: #dc2626; }
.m-alert-warning { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }
.m-alert-info    { background: #eff8ff; border: 1px solid #bfdbfe; color: #1e40af; }

/* バッジ */
.m-badge        { font-size: 0.72rem; font-weight: 700; padding: 0.25em 0.8em; border-radius: 99px; white-space: nowrap; }
.m-badge-lg     { font-size: 0.85rem; font-weight: 700; padding: 4px 14px; border-radius: 999px; display: inline-block; }
.m-badge-teal   { background: #e0faf8; color: var(--clr-primary); }
.m-badge-blue   { background: #dbeafe; color: #1d4ed8; }
.m-badge-gray   { background: #f3f4f6; color: #9ca3af; }
.m-badge-yellow { background: #fef3c7; color: #b45309; border: 1px solid #fcd34d; }

/* フッターリンク */
.m-footer-wrap { text-align: right; }
.m-footer-wrap--sm { margin-top: 0.5rem; }
.m-footer-wrap--lg { margin-top: 1.5rem; }
.m-footer-link { font-size: 0.88rem; font-weight: 600; color: var(--clr-primary); text-decoration: none; }
.m-footer-link:hover { text-decoration: underline; }

/* 下部ナビ */
.m-nav-links { margin-top: 2rem; display: flex; gap: 1.5rem; font-size: 0.88rem; flex-wrap: wrap; align-items: center; }
.m-nav-link  { color: #7a9e9e; text-decoration: none; }
.m-nav-link:hover { color: var(--clr-primary-deep); }
.m-nav-link-r { margin-left: auto; }

/* 新規予約ボタン（グラデーション・ピル） */
.m-btn-new-res {
  display: inline-flex; align-items: center; gap: 0.4em;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-dark));
  color: #fff; font-size: 0.88rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 0.55rem 1.3rem; border-radius: 99px; text-decoration: none;
  box-shadow: 0 3px 10px rgba(var(--clr-primary-rgb), 0.35);
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
}
.m-btn-new-res:hover { opacity: 0.88; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(var(--clr-primary-rgb), 0.4); }

/* =====================================================
   マイページ (mypage.html)
   ===================================================== */
.mp-banner {
  border-radius: 1rem; padding: 0.9rem 1.25rem;
  font-size: 0.88rem; line-height: 1.7; margin-bottom: 1.25rem;
  display: flex; align-items: flex-start; gap: 0.75rem;
}
.mp-banner-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 0.05rem; }
.mp-banner a { font-weight: 700; text-decoration: underline; color: inherit; }

.mp-next-card {
  background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-primary-dark) 100%);
  border-radius: 1.25rem; padding: 1.5rem;
  margin-bottom: 1rem; text-decoration: none; display: block;
  transition: opacity 0.15s, transform 0.15s;
}
.mp-next-card:hover { opacity: 0.92; transform: translateY(-1px); }
.mp-next-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; color: rgba(255,255,255,0.7); margin-bottom: 0.5rem; }
.mp-next-date  { font-size: 1.35rem; font-weight: 700; color: #fff; letter-spacing: 0.03em; margin-bottom: 0.2rem; }
.mp-next-time  { font-size: 0.95rem; color: rgba(255,255,255,0.85); }
.mp-next-menu  { font-size: 0.82rem; color: rgba(255,255,255,0.7); margin-top: 0.5rem; }

.mp-no-res {
  background: #fff; border: 1.5px dashed var(--clr-border2);
  border-radius: 1.25rem; padding: 1.5rem; text-align: center; margin-bottom: 1rem;
}
.mp-no-res-text { font-size: 0.9rem; color: #5a8a8a; margin-bottom: 0.75rem; }

.mp-hist-item {
  display: flex; align-items: center; justify-content: space-between;
  background: #fff; border: 1px solid var(--clr-border2);
  border-radius: 0.875rem; padding: 0.9rem 1.25rem; margin-bottom: 0.5rem;
  text-decoration: none; box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.mp-hist-item:hover { border-color: var(--clr-primary); box-shadow: 0 4px 16px rgba(var(--clr-primary-rgb), 0.12); }
.mp-hist-date { font-size: 0.9rem; font-weight: 600; color: var(--clr-primary-deeper); }
.mp-hist-menu { font-size: 0.78rem; color: #5a8a8a; margin-top: 0.1rem; }

.mp-sub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.mp-sub-card {
  background: #fff; border: 1.5px solid var(--clr-border2); border-radius: 1.25rem;
  padding: 1.25rem 1rem; text-decoration: none; display: block;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.mp-sub-card:hover { border-color: var(--clr-primary); box-shadow: 0 4px 18px rgba(var(--clr-primary-rgb), 0.15); transform: translateY(-2px); }
.mp-sub-card.locked { background: var(--clr-surface); border-color: var(--clr-border); pointer-events: none; opacity: 0.6; }
.mp-sub-card-full { grid-column: 1 / -1; }
.mp-sub-icon  { font-size: 1.75rem; margin-bottom: 0.6rem; }
.mp-sub-title { font-size: 0.92rem; font-weight: 700; color: var(--clr-primary-deeper); margin-bottom: 0.3rem; }
.mp-sub-desc  { font-size: 0.76rem; color: #5a8a8a; line-height: 1.65; }
.mp-sub-lock  { font-size: 0.72rem; color: #b08050; margin-top: 0.4rem; font-weight: 600; }

.mp-register-wrap { text-align: center; margin-top: 0.75rem; }
.mp-register-link { font-size: 0.82rem; color: #b08050; text-decoration: underline; }

/* =====================================================
   今日の運勢 (fortune.html)
   ===================================================== */
body.ft-page { background: #fff !important; }

.ft-date-head  { padding: 1.5rem 0 0.25rem; text-align: center; }
.ft-date-text  { font-size: 1rem; color: #333; }
.ft-title-head { padding: 0.25rem 0 1.5rem; text-align: center; }
.ft-title-text { font-family: 'Noto Serif JP', serif; font-size: 1.4rem; font-weight: 400; color: var(--clr-primary-deeper); }

.ft-gogyo-wrap     { position: relative; text-align: center; margin-bottom: 0.5rem; }
.ft-gogyo-img-wrap { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: center; z-index: 0; pointer-events: none; }
.ft-gogyo-img      { width: 150px; display: block; }
.ft-energy-label   { position: relative; z-index: 1; font-size: 1rem; font-weight: 700; color: var(--clr-primary-deeper); margin: 0; padding-top: 50px; }
.ft-day-label      { position: relative; z-index: 1; font-size: 1.3rem; font-weight: 700; color: var(--clr-primary-deeper); margin: 0; padding: 4px 0 0; }
.ft-gogyo-spacer   { padding-top: 2.25rem; }

.ft-special-badges { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.ft-special-badge  { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; padding: 5px 14px; border-radius: 20px; letter-spacing: 0.03em; }
.ft-special-badges-ph { margin-bottom: 4px; }

.ft-lucky-wrap   { text-align: center; margin: 1.25rem auto 1.75rem; }
.ft-lucky-label  { font-size: 0.88rem; color: #555; margin-right: 0.5rem; }
.ft-lucky-badge  { font-size: 0.88rem; font-weight: 700; padding: 0.3em 1.1em; border-radius: 99px; display: inline-block; }

.ft-advice-wrap   { margin-top: 1.5rem; text-align: left; }
.ft-advice-head   { font-size: 1rem; font-weight: 700; color: #555; margin: 0 0 0.75rem; padding: 0 4px; }
.ft-advice-card   { border-radius: 1rem; overflow: hidden; box-shadow: 0 2px 12px rgba(var(--clr-primary-rgb), 0.10); }
.ft-advice-toggle {
  width: 100%; text-align: left;
  background: linear-gradient(135deg, var(--clr-surface) 0%, var(--clr-surface3) 100%);
  border: none; padding: 1.25rem 1.25rem 1rem; cursor: pointer;
}
.ft-advice-toggle-row  { display: flex; align-items: flex-start; gap: 0.625rem; margin-bottom: 0.75rem; }
.ft-advice-icon        { font-size: 1.375rem; color: var(--clr-primary); line-height: 1; flex-shrink: 0; }
.ft-advice-summary     { font-size: 0.95rem; color: var(--clr-primary-deeper); margin: 0; font-weight: 600; line-height: 1.6; }
.ft-advice-more-row    { display: flex; align-items: center; justify-content: flex-end; gap: 0.25rem; }
.ft-advice-more-text   { font-size: 0.78rem; color: var(--clr-primary); font-weight: 500; }
.ft-chevron            { width: 1rem; height: 1rem; color: var(--clr-primary); transition: transform 0.2s; flex-shrink: 0; }
.ft-advice-detail      { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; background: #fff; }
.ft-advice-detail-inner { padding: 0 1.25rem 1.25rem; border-top: 1px solid #f3f4f6; }

.ft-info-table { width: 100%; border-collapse: collapse; margin: 12px 0 4px; }
.ft-info-table td { padding: 0.625rem 0.25rem; border-bottom: 1px solid var(--clr-surface); }
.ft-info-key { font-size: 0.82rem; color: #999; white-space: nowrap; width: 88px; }
.ft-info-val { font-size: 0.88rem; color: #333; font-weight: 500; }

.ft-badge-wrap { display: flex; gap: 6px; flex-wrap: wrap; }
.ft-badge      { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; padding: 3px 12px; border-radius: 20px; }

.ft-stars-val { font-size: 0.82rem; color: var(--clr-primary); font-weight: 600; margin-left: 0.5rem; }

.ft-like-row { display: flex; align-items: center; padding: 12px 0; border-top: 1px solid #f3f4f6; margin-top: 4px; }
.ft-like-btn {
  display: flex; align-items: center; gap: 5px;
  border: 1px solid #e5e7eb; border-radius: 999px; padding: 6px 14px;
  background: #fff; cursor: pointer; font-size: 13px; color: #6b7280;
  transition: all 0.15s;
}
.ft-like-btn.liked { border-color: var(--clr-accent); background: var(--clr-surface3); color: var(--clr-primary); }

.fortune-reading-body { padding: 16px 0; font-size: 15px; color: #444; line-height: 1.9; }
.fortune-reading-body h3 { font-size: 1rem; font-weight: 700; color: #374151; margin: 1.2em 0 0.4em; }
.fortune-reading-body h4 { font-size: 0.9rem; font-weight: 600; color: #4b5563; margin: 1em 0 0.3em; }
.fortune-reading-body h4.reading-section {
  font-size: 15px; font-weight: 700; color: var(--clr-primary);
  margin: 1.4em 0 0.5em; padding-bottom: 5px; border-bottom: 1px solid var(--clr-surface3);
}
.fortune-reading-body strong { color: var(--clr-primary); }
.fortune-reading-body ul { list-style: disc; padding-left: 1.4em; margin: 0.5em 0; }
.fortune-reading-body li { margin: 0.3em 0; }
.fortune-reading-body p  { margin: 0.6em 0; }
.fortune-reading-body hr { border-color: #e5e7eb; margin: 1em 0; }
.fortune-reading-body .message-block {
  border-left: 3px solid var(--clr-accent); padding: 0.5rem 0.85rem; margin: 1rem 0;
  background: var(--clr-surface); border-radius: 0 0.5rem 0.5rem 0;
  font-size: 0.95rem; color: var(--clr-primary-deep); line-height: 2;
}

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

.ft-pending { background: #f9fafb; border-radius: 0.75rem; padding: 1.25rem; text-align: center; margin-top: 1.5rem; }
.ft-pending-icon  { font-size: 1.5rem; margin-bottom: 0.75rem; }
.ft-pending-title { font-size: 0.95rem; color: var(--clr-primary-deep); font-weight: 600; margin: 0 0 0.5rem; }
.ft-pending-desc  { font-size: 0.85rem; color: #5a8a8a; line-height: 1.8; margin: 0; }
.ft-pending-sm    { font-size: 0.88rem; color: #9ca3af; margin: 0 0 4px; }
.ft-pending-sub   { font-size: 0.82rem; color: #d1d5db; margin: 0; }

.ft-footer-row { margin-top: 1.5rem; display: flex; align-items: center; justify-content: space-between; }
@media (max-width: 400px) {
  .ft-footer-row { flex-direction: column-reverse; align-items: center; gap: 0.75rem; }
  .ft-footer-row .m-btn-new-res { width: 100%; text-align: center; }
}

.ft-no-fortune { text-align: center; padding: 3rem 0; color: #9ca3af; }
.ft-no-fortune-msg { margin-bottom: 0.5rem; }
.ft-no-fortune-sub { font-size: 0.82rem; }

/* 通知設定ページへのコンテナ */
.fn-container { max-width: 500px; margin: 0 auto; padding: 1.5rem 0 4rem; }
.fn-back-wrap  { margin-bottom: 1.5rem; }
.fn-title      { font-size: 1.1rem; font-weight: 600; color: var(--clr-primary-deeper); margin: 0 0 0.5rem; }
.fn-desc       { font-size: 0.88rem; color: var(--clr-primary-deeper); margin: 0 0 1.5rem; line-height: 1.7; }

/* =====================================================
   シキスイチャート (chart.html)
   ===================================================== */
body.ch-page { background: #fff !important; }

.mr-header {
  background: linear-gradient(160deg, #0d2525 0%, var(--clr-primary-deep) 60%, var(--clr-primary-end) 100%);
  border-radius: 1rem 1rem 0 0; padding: 1.25rem 1.5rem 1rem;
  text-align: center; margin: 0 -1rem;
}
.mr-header-meta { font-size: 0.75rem; color: rgba(255,255,255,0.45); margin-bottom: 0.6rem; letter-spacing: 0.05em; }
.mr-type-label  { font-size: 0.7rem; letter-spacing: 0.15em; color: rgba(var(--clr-accent-rgb), 0.7); margin-bottom: 0.35rem; }
.mr-type        { font-size: 1.6rem; color: #fff; font-weight: 700; margin-bottom: 0.2rem; letter-spacing: 0.04em; font-family: 'Noto Serif JP', serif; }
.mr-type-sub    { font-size: 0.78rem; color: rgba(255,255,255,0.6); letter-spacing: 0.05em; margin-bottom: 0.75rem; }

.tab-nav {
  background: #fff; border-bottom: 1px solid var(--clr-border);
  display: flex; position: sticky; top: 0; z-index: 10; margin: 0 -1rem;
}
.tab-btn {
  flex: 1; padding: 0.75rem 0.25rem; font-size: 0.72rem; font-weight: 500;
  text-align: center; background: none; border: none;
  border-bottom: 2px solid transparent; color: #7a9e9e; cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.tab-btn.active { border-bottom-color: var(--clr-primary); color: var(--clr-primary); }
.tab-icon { display: block; font-size: 1.1rem; line-height: 1; margin-bottom: 2px; }
.tab-icon--sm { font-size: 0.9rem; }

.tab-panel { display: none; background: #fff; padding: 1.25rem 0 2rem; }
.tab-panel.active { display: block; }

.ch-tab-header  { text-align: center; margin-bottom: 1rem; }
.ch-tab-h2      { font-size: 1.3rem; font-weight: bold; color: var(--clr-primary-deeper); }
.ch-tab-meta    { font-size: 0.75rem; color: #6b7280; margin-top: 0.25rem; }
.ch-section-title { font-size: 1rem; font-weight: bold; text-align: center; color: var(--clr-primary-deeper); margin-bottom: 0.75rem; }
.ch-empty     { text-align: center; padding: 3rem 0; color: #9ca3af; }
.ch-empty-msg { margin-bottom: 0.5rem; }
.ch-empty-sub { font-size: 0.82rem; }

/* 五行タブ */
.ch-gogyo-center    { text-align: center; }
.ch-gogyo-h2        { font-size: 1.5rem; font-weight: bold; color: var(--clr-primary-deeper); margin-bottom: 0.25rem; }
.ch-gogyo-group     { font-size: 0.85rem; color: #7a9e9e; padding-top: 0.5rem; }
.ch-gogyo-type      { font-size: 1.3rem; font-weight: bold; color: var(--clr-primary-deeper); padding: 0.5rem 0; }
.gogyo-img          { max-width: 180px; margin: 0.75rem auto; display: block; border-radius: 0.5rem; }
.ch-gogyo-texts-wrap { max-width: 420px; margin: 0 auto; padding: 0.75rem 0; }
.gogyo-list         { list-style-type: circle; padding-left: 1.2em; font-size: 0.85rem; color: #5a8a8a; }
.gogyo-list li      { margin-bottom: 0.4rem; }
.ch-aisho-wrap      { max-width: 420px; margin: 0 auto; text-align: center; padding-bottom: 1rem; }
.ch-aisho-title     { font-size: 1rem; font-weight: bold; color: var(--clr-primary-deeper); margin-bottom: 0.5rem; }
.ch-aisho-text      { font-size: 0.95rem; font-weight: 500; color: var(--clr-primary-deep); }

/* カラータブ */
.color-circle {
  border-radius: 9999px; padding: 0.4rem 1rem; font-size: 0.85rem; font-weight: bold;
  color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,0.5); text-align: center;
}
.color-kw { font-size: 0.72rem; color: #7a9e9e; margin-top: 0.25rem; text-align: center; }
.ch-circle-wrap    { max-width: 380px; margin: 0 auto 1rem; }
.ch-circle-top-row { display: flex; justify-content: center; text-align: center; margin-bottom: 0.5rem; }
.ch-circle-top-col { width: 180px; }
.ch-circle-top     { max-width: 140px; margin: 0 auto; }
.ch-special-flag   { font-size: 0.72rem; color: #ef4444; min-height: 16px; }
.ch-special-flag-c { text-align: center; }
.ch-flag-ph        { min-height: 16px; }
.ch-flags-mid { font-size: 0.72rem; color: #ef4444; display: flex; justify-content: center; min-height: 18px; margin: 0.25rem 0; }
.ch-sf-l  { text-align: right; width: 160px; }
.ch-sf-gap { width: 40px; }
.ch-sf-r  { text-align: left; width: 160px; }
.ch-circle-row { display: flex; text-align: center; gap: 0.5rem; }
.ch-circle-col { flex: 0 0 45%; }
.ch-sf-mid     { flex: 0 0 10%; display: flex; align-items: center; justify-content: center; font-size: 0.72rem; color: #ef4444; }
.ch-desc-table { width: 100%; font-size: 0.75rem; color: #6b7280; border-collapse: collapse; margin-bottom: 1rem; }
.ch-desc-table tr:not(:last-child) { border-bottom: 1px solid var(--clr-border); }
.ch-desc-th { padding: 0.4rem 0.5rem 0.4rem 0; text-align: left; font-weight: 600; color: var(--clr-primary-deeper); white-space: nowrap; }
.ch-desc-td { padding: 0.4rem 0; }
.color-desc-card { border: 1px solid var(--clr-border); border-radius: 0.75rem; padding: 0.9rem; margin-bottom: 0.75rem; }
.color-desc-title {
  border-radius: 0.5rem; padding: 0.35rem 0.75rem; font-size: 0.82rem; font-weight: bold;
  color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,0.4); margin-bottom: 0.5rem;
}
.color-desc-list { list-style-type: circle; padding-left: 1.2em; font-size: 0.82rem; color: #5a8a8a; }
.color-desc-list li { margin-bottom: 0.3rem; }

/* バランスタブ */
.balance-pentagon { position: relative; width: 200px; margin: 0 auto 1rem; }
.balance-pentagon img { width: 200px; }
.balance-num {
  position: absolute; font-size: 16px; font-weight: bold; color: #fff; width: 40px; text-align: center;
}
.ch-balance-table-wrap { max-width: 260px; margin: 0 auto 1.5rem; }
.ch-balance-table      { width: 100%; text-align: center; border-collapse: collapse; }
.ch-balance-label-cell { padding: 3px; }
.ch-balance-val-cell   { font-size: 14px; text-align: center; padding: 3px; }
.ch-balance-label      { display: block; border-radius: 4px; padding: 4px 0; font-size: 13px; font-weight: bold; }
.ch-bn-moku { top: 11px;  left: 50%;    transform: translateX(-50%); }
.ch-bn-ka   { top: 72px;  right: 4px; }
.ch-bn-do   { top: 151px; right: 30px; }
.ch-bn-kin  { top: 151px; left: 29px; color: #79797E; }
.ch-bn-sui  { top: 72px;  left: 4px; }
.organ-card { border: 1px solid var(--clr-border); border-radius: 0.5rem; padding: 0.6rem 0.75rem; margin-bottom: 0.6rem; font-size: 0.78rem; }
.organ-card.zero { background: #fef2f2; border-color: #fecaca; }
.organ-badge { display: inline-block; padding: 0.2rem 0.6rem; border-radius: 0.25rem; font-size: 0.78rem; font-weight: bold; color: #fff; margin-bottom: 0.35rem; }
.ch-organ-h3   { font-size: 1rem; font-weight: bold; color: var(--clr-primary-deeper); text-align: center; margin-bottom: 0.5rem; }
.ch-organ-hint { font-size: 0.75rem; color: #6b7280; text-align: center; margin-bottom: 1rem; }
.ch-organ-catch   { color: #6b7280; margin: 0 0 0.25rem; font-weight: 500; }
.ch-organ-disease { color: #6b7280; margin: 0; }

/* 運気タブ */
.ability-bar { display: flex; overflow: hidden; border-radius: 0.5rem; height: 36px; margin-bottom: 1rem; }
.ability-seg {
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: bold; color: #333; text-align: center; line-height: 1.2;
}
.fortune-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.fortune-table th { background: #f9fafb; color: #6b7280; padding: 0.4rem 0.6rem; border: 1px solid #e5e7eb; text-align: left; }
.fortune-table td { padding: 0.4rem 0.6rem; border: 1px solid #e5e7eb; color: #374151; }
.fortune-table tr:hover td { background: #f9fafb; }
.ch-unki-h3    { font-size: 1rem; font-weight: bold; color: #374151; margin-bottom: 0.75rem; }
.ch-unki-h3-mt { margin: 1.25rem 0 0.75rem; }
.ch-daiun-h3   { margin-bottom: 0.25rem; }
.ch-unki-note  { font-size: 0.75rem; color: #9ca3af; margin-bottom: 0.75rem; }
.ch-table-wrap      { overflow-x: auto; margin-bottom: 1.5rem; }
.ch-table-wrap-last { overflow-x: auto; }
.ch-balance-center { text-align: center; margin-bottom: 1rem; }
.ch-balance-h2   { font-size: 1.3rem; font-weight: bold; color: var(--clr-primary-deeper); }
.ch-balance-hint { font-size: 0.75rem; color: #7a9e9e; margin-top: 0.25rem; }
.ch-tab-icon     { font-size: 0.9rem; }
.ch-td-fw5       { font-weight: 500; }
.ch-nochart      { text-align: center; padding: 3rem 0; color: #9ca3af; }
.ch-nochart-msg  { margin-bottom: 0.5rem; }
.ch-nochart-sub  { font-size: 0.82rem; }
.ch-td-bold { font-weight: 500; }

/* =====================================================
   通知設定 (fortune_notify.html)
   ===================================================== */
.notify-card         { background: #fff; border: 1px solid #e5e7eb; border-radius: 1rem; padding: 1.5rem; margin-bottom: 1.5rem; }
.notify-title        { font-size: 1rem; font-weight: 600; color: var(--clr-primary-deeper); margin: 0 0 0.25rem; }
.notify-desc         { font-size: 0.82rem; color: #6b7280; margin: 0 0 1.25rem; line-height: 1.7; }
.notify-toggle-row   { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 0; border-bottom: 1px solid #f3f4f6; }
.notify-toggle-label { font-size: 0.9rem; font-weight: 500; color: #374151; }
.toggle-switch       { position: relative; width: 3rem; height: 1.6rem; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider       { position: absolute; inset: 0; background: #d1d5db; border-radius: 99px; cursor: pointer; transition: background 0.2s; }
.toggle-slider::before {
  content: ''; position: absolute;
  width: 1.2rem; height: 1.2rem; left: 0.2rem; top: 0.2rem;
  background: #fff; border-radius: 50%; transition: transform 0.2s;
}
.toggle-switch input:checked + .toggle-slider { background: var(--clr-primary); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(1.4rem); }
.notify-time-row    { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 0; }
.notify-time-label  { font-size: 0.9rem; font-weight: 500; color: #374151; }
.notify-time-select { border: 1px solid #d1d5db; border-radius: 0.5rem; padding: 0.4rem 0.75rem; font-size: 0.9rem; color: #374151; background: #fff; font-family: inherit; }

/* =====================================================
   プロフィール編集 (profile_edit.html)
   ===================================================== */
.pe-card { background: #fff; border: 1px solid var(--clr-border); border-radius: 1.25rem; padding: 1.75rem; box-shadow: 0 2px 12px rgba(0,0,0,0.05); margin-bottom: 1.5rem; }
.pe-card-head { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; color: var(--clr-primary); margin-bottom: 1.5rem; }
.pe-field { margin-bottom: 1.5rem; }
.pe-label { display: block; font-size: 0.95rem; font-weight: 700; color: var(--clr-primary-deeper); margin-bottom: 0.5rem; }
.pe-hint  { font-size: 0.8rem; font-weight: 400; color: #5a8a8a; margin-left: 0.4rem; }
.pe-req   { color: #ef4444; }
.pe-row   { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.pe-unit  { font-size: 0.95rem; font-weight: 600; color: var(--clr-primary-deep); }
.pe-select {
  border: 2px solid #5a9e9a !important; border-radius: 0.5rem !important;
  padding: 0.55rem 0.75rem !important; font-size: 1rem !important;
  color: var(--clr-primary-deeper) !important; background: #fff !important; outline: none;
}
.pe-select:focus { border-color: var(--clr-primary) !important; }
.pe-gender-opt {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 22px; border: 2px solid var(--clr-accent2); border-radius: 99px;
  cursor: pointer; font-size: 1rem; font-weight: 600; color: var(--clr-primary-deep);
  background: #fff; transition: border-color 0.15s, background 0.15s; user-select: none;
}
.pe-gender-opt input[type="radio"] { display: none; }
.pe-gender-opt.selected { border-color: var(--clr-primary); background: var(--clr-surface2); color: var(--clr-primary); }
.pe-gender-wrap { display: flex; gap: 1rem; }

/* =====================================================
   鑑定一覧 (reading.html)
   ===================================================== */
.reading-history-head { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; color: #9ca3af; margin: 2rem 0 1rem; }
.reading-item {
  display: block; background: #fff; border: 1px solid var(--clr-border2);
  border-radius: 0.875rem; padding: 1.1rem 1.4rem 0.85rem;
  margin-bottom: 0.75rem; text-decoration: none;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s, transform 0.15s, border-color 0.15s;
}
.reading-item:hover { box-shadow: 0 4px 20px rgba(var(--clr-primary-rgb), 0.15); border-color: var(--clr-primary); transform: translateY(-1px); }
.reading-item-footer { display: flex; justify-content: flex-end; align-items: center; margin-top: 0.6rem; padding-top: 0.5rem; border-top: 1px solid var(--clr-border); }
.reading-item-cta { font-size: 0.78rem; font-weight: 600; color: var(--clr-primary); letter-spacing: 0.04em; }
.reading-item-date { font-size: 0.82rem; color: #9ca3af; margin-bottom: 0.3rem; }
.reading-item-tag { display: inline-block; background: var(--clr-surface); color: #1a1a1a; font-size: 0.78rem; font-weight: 500; border-radius: 99px; padding: 0.2em 0.75em; margin-bottom: 0.4rem; }
.reading-item-summary { font-size: 0.95rem; color: var(--clr-primary-deep); font-weight: 500; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.reading-item-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.45rem; color: #1a1a1a; }
.reading-item-badge-new { background: var(--clr-primary); color: #fff; font-size: 0.6rem; padding: 0.15em 0.6em; border-radius: 99px; letter-spacing: 0.05em; font-weight: 700; }
.reading-item-color-badge { display: inline-block; font-size: 0.68rem; padding: 0.12em 0.6em; border-radius: 99px; font-weight: 500; }
.reading-item-energy { font-size: 0.72rem; color: #1a1a1a; font-weight: 500; }

.rd-pending-banner {
  background: #fffbeb; border: 1px solid #fde68a; border-radius: 0.875rem;
  padding: 1.1rem 1.4rem; font-size: 0.9rem; color: #92400e;
  margin-bottom: 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.rd-pending-link { font-size: 0.8rem; color: #b45309; border: 1px solid #fcd34d; border-radius: 99px; padding: 0.3em 0.9em; background: #fff; white-space: nowrap; text-decoration: none; }
.rd-limit-banner { background: #fef2f2; border: 1px solid #fecaca; border-radius: 0.875rem; padding: 1rem 1.4rem; font-size: 0.88rem; color: #b91c1c; margin-bottom: 1.5rem; text-align: center; }
.rd-remaining { text-align: right; font-size: 0.8rem; color: #9ca3af; margin-bottom: 0.75rem; }
.rd-remaining strong { color: var(--clr-primary); }

/* =====================================================
   新規鑑定フォーム (reading_new.html)
   ===================================================== */
.rn-card { background: #fff; border-radius: 1.25rem; padding: 2rem 1.75rem; box-shadow: 0 2px 16px rgba(0,0,0,0.06); border: 1px solid var(--clr-border); margin-bottom: 1.5rem; }
.rn-label { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; color: var(--clr-primary); margin-bottom: 0.85rem; }
.rn-profile-box { background: var(--clr-surface); border-radius: 0.75rem; padding: 0.9rem 1.1rem; font-size: 0.92rem; color: var(--clr-primary-deep); display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 0.75rem; }
.rn-profile-box a { font-size: 0.8rem; color: var(--clr-primary); text-decoration: underline; white-space: nowrap; }
.rn-theme-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.rn-radio { position: relative; }
.rn-radio input { position: absolute; opacity: 0; width: 0; height: 0; }
.rn-radio label { display: flex; flex-direction: column; gap: 0.15rem; padding: 0.9rem 1rem; border: 2px solid var(--clr-accent2); border-radius: 0.75rem; cursor: pointer; background: #fff; transition: border-color 0.15s, background 0.15s; }
.rn-radio label:hover { border-color: var(--clr-primary); background: var(--clr-surface); }
.rn-radio input:checked + label { border-color: var(--clr-primary); background: rgba(var(--clr-primary-rgb), 0.09); }
.rn-radio-title { font-size: 1rem; font-weight: 600; color: var(--clr-primary-deeper); }
.rn-radio-sub   { font-size: 0.8rem; color: #5a8a8a; line-height: 1.4; }
.target-card { position: relative; border: 2px solid var(--clr-border2); border-radius: 0.875rem; overflow: hidden; transition: border-color 0.15s; }
.target-card:hover { border-color: var(--clr-primary); }
.target-card > input { position: absolute; opacity: 0; width: 0; height: 0; }
.target-card:has(> input:checked) { border-color: var(--clr-primary); }
.target-card label { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; cursor: pointer; background: #fff; transition: background 0.15s; }
.target-card > input:checked + label { background: var(--clr-surface2); }
.target-card-dot { width: 1.2rem; height: 1.2rem; border-radius: 50%; border: 2px solid var(--clr-accent2); flex-shrink: 0; display: flex; align-items: center; justify-content: center; transition: border-color 0.15s, background 0.15s; }
.target-card > input:checked + label .target-card-dot { border-color: var(--clr-primary); background: var(--clr-primary); }
.target-card > input:checked + label .target-card-dot::after { content: ''; display: block; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: #fff; }
.target-card-text  { flex: 1; }
.target-card-title { font-size: 1rem; font-weight: 600; color: var(--clr-primary-deeper); line-height: 1.4; }
.target-card-sub   { font-size: 0.82rem; color: #6a8e8e; margin-top: 0.1rem; line-height: 1.4; }
.target-expand { display: none; padding: 0.875rem 1.25rem 1.25rem; border-top: 1px solid var(--clr-border2); background: #fff; }
.target-card > input:checked ~ .target-expand { display: block; }
.sub-group { display: none; }
.pf-gender-opt { display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px; border: 2px solid var(--clr-border2); border-radius: 99px; cursor: pointer; font-size: 15px; font-weight: 500; color: var(--clr-primary-deep); background: #fff; transition: border-color 0.15s, background 0.15s; user-select: none; }
.pf-gender-opt input[type="radio"] { display: none; }
.pf-gender-opt.selected { border-color: var(--clr-primary); background: var(--clr-surface2); color: var(--clr-primary-dark); font-weight: 600; }

/* person_fields マクロ共通 */
.pf-fields-wrap { display: flex; flex-direction: column; gap: 12px; text-align: left; }
.pf-label { font-size: 14px; font-weight: 600; color: var(--clr-primary-deep); margin: 0 0 4px; }
.pf-label-hint { font-size: 12px; font-weight: 400; color: #9ca3af; }
.pf-required { color: #ef4444; }
.pf-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pf-gender-row { display: flex; gap: 12px; }
.pf-minute-wrap { display: none; align-items: center; gap: 6px; }
.pf-inp { border: 2px solid #5a9e9a; border-radius: 6px; padding: 8px 10px; font-size: 16px !important; color: var(--clr-primary-deeper); background: #fff; width: 100%; box-sizing: border-box; display: block; }
.pf-sel { border: 2px solid #5a9e9a; border-radius: 6px; padding: 8px 10px; font-size: 16px !important; color: var(--clr-primary-deeper); background: #fff; }
.pf-unit { color: var(--clr-primary-deep); font-size: 15px; }

.rn-textarea { width: 100%; border: 1.5px solid var(--clr-border2); border-radius: 0.75rem; padding: 0.875rem 1rem; font-size: 0.95rem; color: var(--clr-primary-deep); background: #fff; outline: none; resize: vertical; min-height: 80px; font-family: inherit; transition: border-color 0.15s; box-sizing: border-box; display: block; }
.rn-textarea:focus { border-color: var(--clr-primary); }
.rn-textarea--mt { margin-top: 0.75rem; }
.rn-divider { border: none; border-top: 1px solid var(--clr-border); margin: 1.75rem 0; }
.rn-col-wrap { display: flex; flex-direction: column; gap: 0.65rem; }
.rn-profile-first { margin-top: 0; }
.rn-person-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; color: var(--clr-primary); margin-bottom: 0.875rem; }
.rn-sep { border: none; border-top: 1px solid #d8eeec; margin: 1.25rem 0; }
.rn-radio--full { grid-column: 1 / -1; }
.rn-other-topics { display: none; }
.rn-sub-options  { margin-top: 1.25rem; display: none; }
.rn-sub-label { margin-bottom: 0.5rem; }
.rn-note { text-align: center; font-size: 0.78rem; color: #aaa; margin-top: 0.75rem; line-height: 1.8; }
.rn-pending-card { background: #fffbeb; border: 1px solid #fde68a; border-radius: 0.875rem; padding: 1.1rem 1.4rem; font-size: 0.9rem; color: #92400e; margin-bottom: 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

/* =====================================================
   鑑定結果 (reading_view.html)
   ===================================================== */
.reading-topic-tag {
  display: inline-block; margin-top: 1rem; font-size: 0.72rem;
  color: rgba(var(--clr-accent-rgb), 0.85); background: rgba(var(--clr-accent-rgb), 0.1);
  border: 1px solid rgba(var(--clr-accent-rgb), 0.25); border-radius: 99px;
  padding: 0.3em 1em; letter-spacing: 0.05em;
}
.reading-body-wrap { max-width: 680px; margin: 0 auto; padding: 2.5rem 0 6rem; }
.reading-section { margin-bottom: 3rem; }
.reading-section-card { border-radius: 0.875rem; overflow: hidden; border: 1px solid #e4dfd6; }
.reading-section-card-head { padding: 0.7rem 1.5rem; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; }
.request-card-head { background: #e8e2d8; color: #6b5f4e; }
.request-card-body { background: #f8f6f2; padding: 0.25rem 1.5rem 0.75rem; font-size: 0.85rem; color: #444; }
.reading-request-row { display: flex; gap: 0.75rem; padding: 0.6rem 0; border-bottom: 1px solid #ede9e3; }
.reading-request-row:last-child { border-bottom: none; }
.reading-request-key { color: #999; min-width: 4em; font-size: 0.8rem; flex-shrink: 0; }
.reading-request-val { font-weight: 500; line-height: 1.9; }
.result-card-head { background: linear-gradient(90deg, var(--clr-primary-dark), var(--clr-primary)); color: rgba(255,255,255,0.92); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; padding: 0.7rem 1.5rem; }
.reading-summary-card { background: linear-gradient(135deg, rgba(var(--clr-primary-rgb), 0.07), rgba(var(--clr-accent-rgb), 0.05)); border: 1px solid rgba(var(--clr-primary-rgb), 0.18); border-radius: 1rem; padding: 1.5rem 1.75rem; margin-bottom: 2.5rem; font-family: 'Noto Serif JP', serif; font-size: 1rem; font-weight: 500; color: #1a1a1a; line-height: 1.9; letter-spacing: 0.04em; text-align: center; }
.reading-full-text { font-size: 0.95rem; line-height: 2.4; color: #1a1a1a; font-weight: 400; }
.reading-full-text h3 { font-family: 'Noto Sans JP', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--clr-primary); border-bottom: 2px solid var(--clr-primary); padding-bottom: 0.6rem; padding-top: 0.2rem; margin: 3.5rem 0 1.1rem; letter-spacing: 0.04em; }
.reading-full-text h3:first-child { margin-top: 0; }
.reading-full-text h4 { font-family: 'Noto Sans JP', sans-serif; font-size: 0.92rem; font-weight: 700; color: var(--clr-primary-deep); border-left: 3px solid var(--clr-primary); padding-left: 0.5rem; margin: 1.75rem 0 0.6rem; }
.reading-full-text p { margin-bottom: 1.2rem; }
.reading-full-text strong { color: var(--clr-primary); font-weight: 700; }
.reading-full-text ul { margin: 0.75rem 0 1rem 0; padding-left: 1.5rem; }
.reading-full-text ul li { margin-bottom: 0.5rem; }
.reading-full-text .message-block { border-left: 3px solid var(--clr-accent); padding: 0.5rem 0.85rem; margin: 1.25rem 0; background: var(--clr-surface); border-radius: 0 0.5rem 0.5rem 0; font-family: 'Noto Serif JP', serif; font-size: 0.95rem; font-weight: 500; color: var(--clr-primary-deep); line-height: 2; }
.reading-actions { margin-top: 3rem; display: flex; flex-direction: column; gap: 1rem; align-items: center; }
.reading-action-btn { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--clr-primary); color: #fff; border-radius: 99px; padding: 0.85rem 2.5rem; font-size: 0.9rem; letter-spacing: 0.06em; text-decoration: none; transition: opacity 0.2s; font-weight: 500; }
.reading-action-btn:hover { opacity: 0.85; }
.reading-action-sub { font-size: 0.82rem; color: #7a9e9e; text-decoration: none; }
.reading-action-sub:hover { color: var(--clr-primary-deep); }
.waiting-wrap { text-align: center; padding: 3rem 1.5rem; background: var(--clr-surface); border-radius: 1rem; }
.waiting-wrap-icon { font-size: 2rem; margin-bottom: 1rem; }
.waiting-wrap-title { font-size: 1rem; color: var(--clr-primary-deep); font-weight: 600; margin-bottom: 0.5rem; }
.waiting-wrap-desc { font-size: 0.88rem; color: #5a8a8a; line-height: 1.9; }
.rv-like-wrap-inner { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.65rem 2rem; border-radius: 99px; border: 1.5px solid var(--clr-border2); background: #fff; color: #9ca3af; font-size: 0.9rem; font-family: inherit; cursor: pointer; transition: all 0.2s; }
.rv-like-wrap-inner.liked { border-color: var(--clr-primary); background: var(--clr-surface2); color: var(--clr-primary); }
.reading-section-card--mb { margin-bottom: 1.75rem; }
.rv-error-wrap { text-align: center; padding: 3rem 0; color: #ef4444; }
.rv-error-icon { font-size: 1.5rem; margin-bottom: 0.75rem; }
.rv-error-msg  { font-size: 0.95rem; }
.reading-energy-type { font-size: 0.72rem; color: #1a1a1a; font-weight: 500; }
.rv-energy-type { font-size: 0.82rem; color: var(--clr-primary); font-weight: 500; }
.rv-color-badge { display: inline-block; font-size: 0.72rem; padding: 0.15em 0.65em; border-radius: 99px; font-weight: 500; margin-right: 0.3em; }
.rv-like-wrap { text-align: center; margin-top: 3rem; padding-top: 1.75rem; border-top: 1px solid var(--clr-border); }
.like-btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.65rem 2rem; border-radius: 99px; border: 1.5px solid var(--clr-border2); background: #fff; color: #9ca3af; font-size: 0.9rem; font-family: inherit; cursor: pointer; transition: all 0.2s; }
.like-btn.liked { border-color: var(--clr-primary); background: var(--clr-surface2); color: var(--clr-primary); }

/* =====================================================
   予約一覧 (reservations.html)
   ===================================================== */
.res-tabs { display: flex; border-bottom: 2px solid var(--clr-border); margin-bottom: 1.5rem; }
.res-tab {
  flex: 1; padding: 0.75rem 0; text-align: center;
  font-size: 0.9rem; font-weight: 600; color: #9aacac;
  cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px;
  transition: color 0.15s, border-color 0.15s; user-select: none;
}
.res-tab.active { color: var(--clr-primary); border-bottom-color: var(--clr-primary); }
.res-tab:hover:not(.active) { color: var(--clr-primary-deep); }
.res-panel { display: none; }
.res-panel.active { display: block; }
.res-card {
  background: #fff; border-radius: 0.875rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10); margin-bottom: 0.75rem;
  overflow: hidden; border: 1px solid var(--clr-border2); display: flex;
}
.res-card-accent { width: 5px; flex-shrink: 0; }
.res-card-body   { flex: 1; min-width: 0; }
.res-card-link   { display: block; padding: 1rem 1.1rem 1rem 1rem; text-decoration: none; transition: background 0.15s; }
.res-card-link:hover { background: var(--clr-surface); }
.res-card-date { font-size: 1rem; font-weight: 700; color: var(--clr-primary-deeper); margin-bottom: 0.2rem; }
.res-card-time { font-size: 0.85rem; color: var(--clr-primary); margin-bottom: 0.15rem; }
.res-card-menu { font-size: 0.88rem; font-weight: 600; color: #2a5050; display: flex; align-items: center; gap: 0.4em; flex-wrap: wrap; margin-top: 0.2rem; }
.res-card-right { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 0.3rem; padding-right: 0.75rem; }
.res-card-rebooking { border-top: 1px solid var(--clr-border); padding: 0.55rem 1rem; }
.res-card-row  { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.5rem; }
.res-card-info { flex: 1; min-width: 0; }
.res-arrow-icon { color: #c0d0d0; font-size: 1rem; }
.m-badge-taiken { font-size: 0.65rem; font-weight: 700; background: #fef3c7; color: #b45309; border: 1px solid #fcd34d; border-radius: 99px; padding: 0.1em 0.6em; letter-spacing: 0.04em; }
.res-rebooking-btn { display: inline-flex; align-items: center; gap: 0.35em; font-size: 0.8rem; font-weight: 600; color: var(--clr-primary); border: 1.5px solid var(--clr-primary); border-radius: 99px; padding: 0.3em 1em; text-decoration: none; transition: background 0.15s, color 0.15s; }
.res-rebooking-btn:hover { background: var(--clr-primary); color: #fff; }
.res-accent-teal   { background: var(--clr-primary); }
.res-accent-blue   { background: #3b82f6; }
.res-accent-gray   { background: #d1d5db; }
.res-accent-yellow { background: #f59e0b; }

/* =====================================================
   予約カレンダー (reservation_calendar.html)
   ===================================================== */
.cal-wrap { max-width: 520px; margin: 0 auto; }
.cal-head { background: var(--clr-primary-deep); border-radius: 10px 10px 0 0; padding: 14px 16px; text-align: center; }
.cal-head p { color: #fff; font-size: 1.05rem; font-weight: 700; margin: 0; letter-spacing: 0.04em; }
.cal-body { border: 1px solid var(--clr-accent2); border-top: none; border-radius: 0 0 10px 10px; background: #fff; padding-bottom: 12px; }
.cal-nav { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-bottom: 1px solid var(--clr-border); }
.cal-nav a, .cal-nav-btn {
  font-size: 0.88rem; font-weight: 700; color: var(--clr-primary);
  background: #fff; border: 2px solid var(--clr-primary);
  text-decoration: none; padding: 5px 12px; border-radius: 6px;
  white-space: nowrap; transition: background 0.15s, color 0.15s;
}
.cal-nav a:hover { background: var(--clr-primary); color: #fff; }
.cal-nav-btn.disabled { border-color: #d4e8e8; color: #bbb; pointer-events: none; }
.cal-nav-month { font-size: 1rem; font-weight: 700; color: var(--clr-primary-deeper); }
.cal-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 8px 12px; font-size: 0.85rem; font-weight: 500; color: #2a5050; border-bottom: 1px solid var(--clr-border); }
.cal-change-notice { background: #fff8e1; border: 1px solid #ffe082; border-top: none; padding: 8px 12px; font-size: 0.88rem; font-weight: 600; color: #5d4037; }
table.calendar { width: 100%; border-collapse: collapse; font-size: 0.9rem; table-layout: fixed; }
table.calendar th,
table.calendar td { border: 1px solid #e0eded; text-align: center; vertical-align: middle; padding: 0 2px; overflow: hidden; }
table.calendar td,
table.calendar tbody th { height: 32px; }
.emptyCell { background: #f9f9f9; width: 44px; height: 40px; }
.dayCell { font-size: 0.82rem; font-weight: 700; color: var(--clr-primary-deeper); background: var(--clr-surface); padding: 0 1px; height: 40px; line-height: 1.25; }
.dayCell.saturday { color: #1a6aaf; }
.dayCell.sunday   { color: #c0392b; }
.timeCell { background: #f0f5f5; color: #2a5050; font-size: 0.85rem; font-weight: 600; text-align: right; white-space: nowrap; padding: 5px 8px; width: 44px; }
.timeCell.sharp { font-weight: 700; color: var(--clr-primary-deeper); border-top: 1px solid #c0d8d8; }
.timeCellContainer.even td,
.timeCellContainer.even th { background-color: #fafcfc; }
.timeCellContainer.even .timeCell { background-color: #e8f2f2; }
.openCell { background: #fff; }
.openCell a { color: #c0392b; font-weight: 800; font-size: 1rem; text-decoration: none; }
.openCell a:hover { opacity: 0.7; }
.reserveFull        { color: #888; font-size: 0.95rem; font-weight: 600; }
.emptyReserveDisplay { color: #bbb; font-size: 0.95rem; }
.outsideCell        { background: #f7f7f7; color: #ddd; font-size: 0.85rem; }
.outside-day        { background: #f5f5f5; color: #bbb; }
.outside-label      { font-size: 0.6rem; color: #bbb; letter-spacing: 0; }

/* =====================================================
   予約詳細 (reservation_detail.html)
   ===================================================== */
.thanks-header { background: var(--clr-primary-deep); border-radius: 10px 10px 0 0; padding: 22px 18px; text-align: center; color: #fff; }
.thanks-title    { font-size: 1.2rem; font-weight: 700; letter-spacing: 0.04em; margin-bottom: 6px; }
.thanks-subtitle { font-size: 0.9rem; color: var(--clr-accent); font-weight: 500; }
.thanks-body { border: 1px solid var(--clr-accent2); border-top: none; border-radius: 0 0 10px 10px; background: #fff; }
.thanks-notice { background: var(--clr-surface); border-bottom: 1px solid var(--clr-border2); padding: 10px 18px; font-size: 0.95rem; color: var(--clr-primary-deeper); font-weight: 600; text-align: center; }
.thanks-section { padding: 14px 18px; border-bottom: 1px solid var(--clr-border); }
.thanks-section:last-of-type { border-bottom: none; }
.thanks-dl { list-style: none; margin: 0; padding: 0; }
.thanks-dl li { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--clr-surface); font-size: 0.95rem; }
.thanks-dl li:last-child { border-bottom: none; }
.thanks-dl li strong { min-width: 130px; color: #2a5050; font-weight: 700; flex-shrink: 0; }
.thanks-dl li span { color: var(--clr-primary-deeper); font-weight: 500; }
.thanks-footer-note { padding: 14px 18px; font-size: 0.88rem; color: #3a6060; border-top: 1px solid var(--clr-border); text-align: center; line-height: 1.8; }
.thanks-close-note { padding: 12px 18px 20px; text-align: center; font-size: 1rem; font-weight: 700; color: var(--clr-primary); }
.detail-card { background: #fff; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.10); border: 1px solid var(--clr-border2); padding: 22px 20px; margin-bottom: 14px; }
.detail-label { font-size: 0.8rem; color: #3a6060; font-weight: 700; margin-bottom: 4px; letter-spacing: 0.04em; }
.detail-value { font-size: 1rem; color: var(--clr-primary-deeper); font-weight: 500; }
.detail-date  { font-size: 1.2rem; font-weight: 700; color: var(--clr-primary-deeper); }
.detail-time  { font-size: 1.05rem; color: var(--clr-primary); font-weight: 700; margin-top: 2px; }
.detail-menu  { font-size: 0.95rem; color: var(--clr-primary-deeper); font-weight: 600; margin-top: 6px; }
.btn-change { display: block; width: 100%; padding: 14px; border: 2px solid var(--clr-primary); border-radius: 9px; color: var(--clr-primary); font-size: 0.95rem; font-weight: 700; text-align: center; text-decoration: none; margin-bottom: 10px; background: #fff; box-sizing: border-box; transition: background 0.15s, color 0.15s; }
.btn-change:hover { background: var(--clr-primary); color: #fff; }
.btn-cancel { display: block; width: 100%; padding: 13px; border: 1.5px solid #ccc; border-radius: 9px; color: #777; font-size: 0.92rem; font-weight: 600; text-align: center; background: #fff; cursor: pointer; box-sizing: border-box; }
.btn-cancel:hover { background: #fafafa; }
.btn-back { display: inline-block; margin-top: 18px; font-size: 0.88rem; font-weight: 700; color: var(--clr-primary); border: 2px solid var(--clr-primary); border-radius: 7px; padding: 7px 16px; text-decoration: none; transition: background 0.15s, color 0.15s; }
.btn-back:hover { background: var(--clr-primary); color: #fff; }
.detail-back-wrap { text-align: center; }
.detail-top-nav { display: flex; align-items: center; justify-content: space-between; }
.detail-back-link { font-size: 0.92rem; font-weight: 700; color: var(--clr-primary); text-decoration: none; }
.detail-section-sep { padding-top: 12px; border-top: 1px solid var(--clr-border); }
.detail-cancel-notice { font-size: 0.88rem; color: #777; text-align: center; margin-top: 6px; line-height: 1.7; }

/* =====================================================
   予約確認 (reservation_confirm.html)
   ===================================================== */
.reserve-confirm-container { max-width: 520px; margin: 0 auto; }
.reserve-confirm-header { background: var(--clr-primary-deep); border-radius: 10px 10px 0 0; padding: 15px 16px; text-align: center; }
.reserve-confirm-header p { font-size: 1.05rem; font-weight: 700; color: #fff; letter-spacing: 0.04em; margin: 0; }
.reserve-confirm-body { border: 1px solid var(--clr-accent2); border-top: none; border-radius: 0 0 10px 10px; background: #fff; }
.back-link-row { padding: 10px 16px; border-bottom: 1px solid var(--clr-border); }
.back-link-row a { display: inline-block; color: var(--clr-primary); background: #fff; border: 2px solid var(--clr-primary); font-size: 0.88rem; font-weight: 700; text-decoration: none; padding: 6px 14px; border-radius: 7px; transition: background 0.15s, color 0.15s; }
.back-link-row a:hover { background: var(--clr-primary); color: #fff; }
.confirm-incomplete-notice { background: #fffbf0; border-bottom: 1px solid #ffe9a0; padding: 10px 16px; font-size: 0.95rem; color: #7a5010; text-align: center; font-weight: 700; }
.confirm-change-notice { background: #fff8e1; border-bottom: 1px solid #ffe082; padding: 10px 16px; font-size: 0.9rem; color: #5d3a00; text-align: center; font-weight: 600; }
.confirm-block { padding: 14px 18px; border-bottom: 1px solid var(--clr-border); background: var(--clr-surface); }
.confirm-block-label { font-size: 0.8rem; color: #3a6060; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 5px; }
.confirm-block-value { font-size: 1.15rem; font-weight: 700; color: var(--clr-primary-deeper); }
.confirm-block-sub { font-size: 0.9rem; color: var(--clr-primary); font-weight: 600; margin-top: 3px; }
.confirm-form-section { padding: 16px 18px 4px; }
.confirm-form-group { margin-bottom: 16px; }
.confirm-form-group label { display: block; font-size: 0.95rem; color: var(--clr-primary-deeper); margin-bottom: 6px; font-weight: 700; }
.confirm-form-group label .req { background: var(--clr-primary); color: #fff; font-size: 0.75rem; padding: 1px 6px; border-radius: 3px; margin-left: 6px; vertical-align: middle; font-weight: 700; }
.confirm-form-group input[type="text"],
.confirm-form-group input[type="tel"],
.confirm-form-group input[type="email"],
.confirm-form-group select {
  width: 100%; border: 1.5px solid var(--clr-accent2); border-radius: 8px;
  padding: 11px 12px; font-size: 1rem; color: var(--clr-primary-deeper);
  box-sizing: border-box; appearance: none; -webkit-appearance: none; background: #fff;
}
.confirm-form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230ABAB5' stroke-width='1.8' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px;
}
.confirm-form-group input:focus,
.confirm-form-group select:focus { outline: none; border-color: var(--clr-primary); box-shadow: 0 0 0 3px rgba(var(--clr-primary-rgb), 0.12); }
.confirm-form-group input::placeholder { color: #9ab8b8; }
.confirm-submit-row { padding: 12px 18px 22px; }
.btn-reserve { display: block; width: 100%; background: var(--clr-primary); color: #fff; border: none; border-radius: 10px; padding: 16px; font-size: 1.05rem; font-weight: 700; cursor: pointer; text-align: center; letter-spacing: 0.06em; transition: background 0.15s, transform 0.15s; }
.btn-reserve:hover { background: var(--clr-primary-dark); transform: translateY(-2px); }

/* =====================================================
   予約メニュー選択 (reservation_menu.html)
   ===================================================== */
.reserve-menu-wrap { padding: 0 0 2rem; }
.rmenu-header { background: var(--clr-primary-deep); border-radius: 12px 12px 0 0; padding: 16px; text-align: center; }
.rmenu-header-title { color: #fff; font-size: 1.05rem; font-weight: 700; letter-spacing: 0.05em; margin: 0; }
.rmenu-body { background: var(--clr-surface); border: 1px solid #c8e6e6; border-top: none; border-radius: 0 0 12px 12px; padding: 10px 12px 4px; }
.rmenu-prompt { font-size: 0.9rem; color: var(--clr-primary-deeper); font-weight: 600; text-align: center; margin: 0 0 10px; }
.rmenu-card { display: flex; align-items: stretch; gap: 12px; background: #fff; border: 1.5px solid var(--clr-accent2); border-radius: 10px; padding: 12px; margin-bottom: 10px; text-decoration: none; color: inherit; transition: background 0.15s, border-color 0.15s, box-shadow 0.15s; }
.rmenu-card:hover, .rmenu-card:active { background: #e6f7f7; border-color: var(--clr-primary); box-shadow: 0 2px 8px rgba(var(--clr-primary-rgb), 0.15); }
.rmenu-thumb { flex-shrink: 0; width: 88px; height: 88px; border-radius: 8px; overflow: hidden; background: var(--clr-surface2); }
.rmenu-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rmenu-info { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.rmenu-name { font-size: 1rem; font-weight: 700; color: var(--clr-primary-deeper); margin: 0 0 4px; line-height: 1.4; }
.rmenu-price { font-size: 0.9rem; color: #e05050; font-weight: 600; margin: 0 0 4px; }
.rmenu-note { font-size: 0.88rem; color: var(--clr-primary-deeper); line-height: 1.6; margin: 0; white-space: pre-line; }
.rmenu-arrow { flex-shrink: 0; display: flex; align-items: center; padding-left: 4px; }
.rmenu-arrow-icon { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; background: var(--clr-primary); border-radius: 50%; color: #fff; font-size: 1rem; font-weight: 700; }

/* =====================================================
   予約カレンダー 追加スタイル (reservation_calendar.html)
   ===================================================== */
.cal-menu-bar { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; background: var(--clr-surface); border-bottom: 1px solid var(--clr-border2); }
.cal-menu-label { font-size: 0.75rem; color: #4a7070; margin: 0 0 2px; }
.cal-menu-name { font-size: 0.9rem; font-weight: 700; color: var(--clr-primary-deeper); margin: 0; }
.cal-menu-duration { font-size: 0.8rem; color: var(--clr-primary); font-weight: 600; margin: 0; }
.cal-menu-change-btn { flex-shrink: 0; font-size: 0.82rem; font-weight: 700; color: var(--clr-primary); border: 2px solid var(--clr-primary); border-radius: 6px; padding: 5px 10px; text-decoration: none; white-space: nowrap; margin-left: 10px; background: #fff; transition: background 0.15s, color 0.15s; }
.cal-menu-change-btn:hover { background: var(--clr-primary); color: #fff; }
.cal-prompt { text-align: center; padding: 8px 0 4px; font-size: 0.95rem; font-weight: 600; color: #1a5c5c; }
.cal-datepicker-btn { text-decoration: none; font-size: 1.1rem; margin-left: 4px; }
.cal-datepicker-input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.cal-li { display: inline-flex; align-items: center; gap: 4px; border-radius: 5px; padding: 2px 8px; }
.cal-li-open  { background: #fff0f0; border: 1px solid #f5c6c6; }
.cal-li-full  { background: #f5f5f5; border: 1px solid #ddd; }
.cal-li-empty { background: #f9f9f9; border: 1px solid #e0e0e0; }
.cal-li-open  .cal-li-icon { color: #c0392b; font-weight: 800; font-size: 1rem; }
.cal-li-full  .cal-li-icon { color: #888; font-weight: 700; }
.cal-li-empty .cal-li-icon { color: #bbb; font-weight: 700; }
.cal-li-open  .cal-li-text { color: #333; font-size: 0.82rem; font-weight: 600; }
.cal-li-full  .cal-li-text { color: #555; font-size: 0.82rem; font-weight: 600; }
.cal-li-empty .cal-li-text { color: #888; font-size: 0.82rem; font-weight: 600; }
.cal-legend--bottom { border-top: 1px solid #eef5f5; border-bottom: none; margin-top: 4px; }
.cal-flash { padding: 8px 12px; margin: 6px 0 0; font-size: 0.88rem; font-weight: 600; border-radius: 6px; }
.cal-flash-error { background: #fff0f0; color: #c0392b; border: 1px solid #f5c6c6; }
.cal-flash-info  { background: #e8f5f5; color: #1a6060; border: 1px solid #b2dfdf; }
/* =====================================================
   ユーティリティ (共通 inline style 置き換え)
   ===================================================== */
.m-page-title { color: var(--clr-primary-deep); }
.m-label      { color: var(--clr-primary-deep); }
.m-bg-primary { background: var(--clr-primary); }
