/* =============================================
   PARKOUR KYUSHU 予約サイト — Apple-inspired UI
   ============================================= */
:root {
  /* Apple の固有グレースケール */
  --bg:          #f5f5f7;   /* Apple signature off-white */
  --surface:     #ffffff;
  --surface-2:   #f5f5f7;   /* セクション区切り */
  --surface-3:   #e8e8ed;   /* 週ヘッダー等 */
  --border:      rgba(0, 0, 0, 0.09);
  --border-mid:  rgba(0, 0, 0, 0.14);

  /* テキスト */
  --text:        #1d1d1f;   /* Apple near-black */
  --text-sub:    #6e6e73;   /* Apple secondary */
  --text-ter:    #aeaeb2;   /* Apple tertiary */

  /* アクセント */
  --primary:     #0071e3;   /* Apple blue */
  --primary-dark:#0064cc;
  --black:       #1d1d1f;
  --red:         #c0392b;
  --gold:        #f59e0b;
  --white:       #ffffff;

  /* 角丸 — 思い切って大きく */
  --radius-sm:   8px;
  --radius:      12px;
  --radius-lg:   18px;
  --radius-xl:   22px;
  --radius-pill: 100px;

  --max-w:  480px;
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.06);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 6px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.14);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text',
    'Hiragino Kaku Gothic Pro', 'Hiragino Sans', sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  max-width: var(--max-w);
  margin: 0 auto;
  min-height: 100vh;
}

/* ===== アニメーション ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
.fade-in           { animation: fadeUp 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both; }
.fade-in-delay-1   { animation-delay: 0.07s; }
.fade-in-delay-2   { animation-delay: 0.14s; }
.tab-content.active { animation: fadeUp 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94) both; }

/* ===== ヘッダー — Apple ガラス効果 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  /* Apple のガラスヘッダー */
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 0.5px solid var(--border);
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  padding: 0 20px;
}
.header-logo-img { height: 30px; width: auto; display: block; }
.header-site-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-sub);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.header-actions { display: flex; align-items: center; gap: 8px; }
.btn-header-login {
  font-size: 13px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  border: 0.5px solid var(--border-mid);
  background: rgba(255,255,255,0.8);
  transition: background 0.15s;
}
.btn-header-login:active { background: var(--surface-2); }

/* ===== パンくずナビ ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  font-size: 12px;
  color: var(--text-sub);
  background: var(--surface);
  border-bottom: 0.5px solid var(--border);
  overflow-x: auto;
  white-space: nowrap;
}
.breadcrumb a { color: var(--text-sub); text-decoration: none; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb-sep { color: var(--text-ter); font-size: 11px; }
.breadcrumb-current { color: var(--text-sub); }

/* ===== ホームページ ===== */
.home-hero {
  background: var(--surface);
  padding: 40px 24px 32px;
  text-align: center;
  border-bottom: 0.5px solid var(--border);
}
.home-hero-logo {
  width: 200px;
  max-width: 75%;
  margin: 0 auto 12px;
  display: block;
}
.home-hero-tagline {
  font-size: 14px;
  color: var(--text-sub);
  letter-spacing: 0.03em;
  font-weight: 400;
}

.home-section-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-sub);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 22px 20px 10px;
}

.studio-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0 16px 28px;
}
.studio-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s cubic-bezier(0.25,0.46,0.45,0.94),
              box-shadow 0.2s ease;
}
.studio-card:active {
  transform: scale(0.97);
  box-shadow: var(--shadow-sm);
}
.studio-card-inner {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.studio-card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
}
.studio-card:active .studio-card-photo { transform: scale(1.03); }
.studio-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.15) 50%,
    rgba(0,0,0,0) 80%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}
.studio-card-name {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 3px;
}
.studio-card-sub  { font-size: 13px; color: rgba(255,255,255,0.78); margin-bottom: 10px; }
.studio-card-cta  {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.28);
  width: fit-content;
}

/* studio-card を position:relative に変更してボタンを重ねる */
.studio-card { position: relative; }
.studio-fav-btn {
  position: absolute;
  top: 10px; right: 10px;
  z-index: 2;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(6px);
  border: 0.5px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  width: 36px; height: 36px;
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s, transform 0.15s;
}
.studio-fav-btn:active { transform: scale(0.88); background: rgba(0,0,0,0.55); }

/* ===== ショップ情報 ===== */
.shop-info {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--surface);
  border-bottom: 0.5px solid var(--border);
}
.shop-logo {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 0.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  padding: 5px;
  box-shadow: var(--shadow-xs);
}
.shop-logo img { width: 100%; height: 100%; object-fit: contain; }
.shop-name-wrap { flex: 1; }
.shop-name { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
.shop-sub  { font-size: 12px; color: var(--text-sub); margin-top: 2px; }
.shop-favorite {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-sub);
  font-size: 11px;
  gap: 1px;
}

/* ===== タブナビ — Apple SegmentedControl 風 ===== */
.tab-nav {
  display: flex;
  background: var(--surface);
  border-bottom: 0.5px solid var(--border);
  position: sticky;
  top: 52px;
  z-index: 90;
  padding: 0;
}
.tab-nav a {
  flex: 1;
  text-align: center;
  padding: 13px 0;
  font-size: 14px;
  color: var(--text-sub);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -0.5px;
  cursor: pointer;
  transition: color 0.15s;
  font-weight: 500;
}
.tab-nav a.active {
  color: var(--text);
  border-bottom-color: var(--text);
  font-weight: 700;
}

/* ===== チケット一覧 ===== */
.list-studio-heading {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-sub);
  letter-spacing: 0.1em;
  padding: 16px 20px 8px;
  background: var(--bg);
}
.ticket-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: var(--surface);
  border-bottom: 0.5px solid var(--border);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: background 0.12s;
}
.ticket-card:active { background: var(--bg); }
.ticket-thumb {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
}
.ticket-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ticket-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: #bbb; text-align: center; line-height: 1.4;
}
.ticket-info { flex: 1; min-width: 0; }
.ticket-studio { font-size: 11px; color: var(--text-sub); margin-bottom: 3px; letter-spacing: 0.02em; }
.ticket-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(0,113,227,0.08);
  border-radius: var(--radius-pill);
  padding: 2px 8px;
  margin-bottom: 5px;
  letter-spacing: 0.01em;
}
.ticket-name { font-size: 14px; font-weight: 600; margin-bottom: 5px; line-height: 1.4; letter-spacing: -0.01em; }
.ticket-price { font-size: 13px; color: var(--text); }
.ticket-price-value { font-size: 20px; font-weight: 800; letter-spacing: -0.03em; }
.ticket-arrow { color: var(--text-ter); font-size: 18px; flex-shrink: 0; }

/* ===== チケット詳細 ===== */
.ticket-heading {
  padding: 18px 20px 12px;
  background: var(--surface);
  border-bottom: 0.5px solid var(--border);
}
.ticket-heading h1 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.35;
  margin-bottom: 6px;
}
.stars { color: #d4cfc9; font-size: 14px; letter-spacing: 3px; }

.tab-content { display: none; }
.tab-content.active { display: block; }

.ticket-photo {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.ticket-photo-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: #bbb;
}
.ticket-desc {
  padding: 18px 20px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
  background: var(--surface);
  border-bottom: 0.5px solid var(--border);
  white-space: pre-line;
}
.price-section {
  padding: 20px;
  background: var(--surface);
  border-bottom: 0.5px solid var(--border);
}
.price-label { color: var(--red); font-weight: 700; font-size: 12px; letter-spacing: 0.04em; margin-bottom: 14px; }
.price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.price-row:last-of-type { margin-bottom: 0; }
.price-row-name  { font-size: 14px; color: var(--text); min-width: 110px; }
/* Apple-like: 価格を大きく、タイトに */
.price-row-value { font-size: 36px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.price-row-unit  { font-size: 13px; color: var(--text-sub); }
.price-target    { font-size: 13px; color: var(--text-sub); margin-top: 12px; }

/* 予約ボタン エリア */
.reservation-buttons {
  padding: 20px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: calc(20px + 80px + env(safe-area-inset-bottom, 0px));
}

/* ===== ボタン — pill スタイル ===== */
.btn-primary {
  display: flex; align-items: center; justify-content: center;
  width: 100%;
  padding: 16px 24px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-pill);  /* pill */
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: -0.01em;
  transition: opacity 0.15s, transform 0.1s;
  gap: 6px;
}
.btn-primary:active { opacity: 0.85; transform: scale(0.99); }

.btn-secondary {
  display: flex; align-items: center; justify-content: center;
  width: 100%;
  padding: 16px 24px;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: var(--radius-pill);  /* pill */
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: -0.01em;
  transition: opacity 0.15s, transform 0.1s;
  gap: 6px;
}
.btn-secondary:active { opacity: 0.85; transform: scale(0.99); }

/* ===== スティッキーCTA ===== */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max-w);
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 0.5px solid var(--border);
  padding: 12px 20px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 80;
  box-shadow: 0 -2px 16px rgba(0,0,0,0.06);
  display: none;
}
.sticky-cta.visible { display: block; }
.sticky-cta .btn-primary { padding: 14px 24px; font-size: 15px; }

/* ===== 詳細タブ ===== */
.detail-desc {
  padding: 18px 20px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
  background: var(--surface);
  border-bottom: 0.5px solid var(--border);
  white-space: pre-line;
}
.detail-section {
  padding: 18px 20px;
  background: var(--surface);
  border-bottom: 0.5px solid var(--border);
}
.detail-section h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-sub);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.detail-row { display: flex; margin-bottom: 10px; font-size: 14px; line-height: 1.6; }
.detail-row-label { color: var(--text-sub); min-width: 72px; flex-shrink: 0; font-size: 13px; }
.detail-row-value { color: var(--text); flex: 1; }
.link-map { color: var(--primary); text-decoration: none; font-size: 13px; display: inline-block; margin-top: 4px; }
.link-tel { color: var(--primary); text-decoration: none; }

.btn-back-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 20px;
  padding: 13px;
  background: var(--bg);
  border: 0.5px solid var(--border-mid);
  border-radius: var(--radius-pill);
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  cursor: pointer;
  font-family: inherit;
  width: calc(100% - 40px);
  transition: background 0.15s;
}
.btn-back-top:active { background: var(--surface-3); }

/* ===== カレンダー ===== */
.cal-header {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  background: var(--surface);
  border-bottom: 0.5px solid var(--border);
}
/* Apple SegmentedControl */
.cal-toggle {
  display: flex;
  background: var(--surface-2);
  border-radius: var(--radius-pill);
  padding: 3px;
  gap: 2px;
}
.cal-toggle button {
  padding: 5px 18px;
  font-size: 13px;
  font-weight: 500;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--text-sub);
  font-family: inherit;
  border-radius: var(--radius-pill);
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}
.cal-toggle button.active {
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.cal-filter {
  padding: 10px 20px;
  background: var(--surface);
  border-bottom: 0.5px solid var(--border);
}
.cal-filter select {
  width: 100%;
  padding: 9px 32px 9px 12px;
  font-size: 14px;
  border: 0.5px solid var(--border-mid);
  border-radius: var(--radius);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%236e6e73'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-color: var(--surface);
  color: var(--text);
  font-family: inherit;
  cursor: pointer;
}
.month-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 12px;
  background: var(--surface);
  border-bottom: 0.5px solid var(--border);
}
.month-nav button {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--primary);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  transition: background 0.15s;
}
.month-nav button:active { background: rgba(0,113,227,0.08); }
.month-title { font-size: 15px; font-weight: 700; letter-spacing: -0.02em; }

.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: var(--surface-2);
  border-bottom: 0.5px solid var(--border);
}
.cal-weekday { text-align: center; font-size: 11px; font-weight: 600; color: var(--text-sub); padding: 7px 0; letter-spacing: 0.02em; }
.cal-weekday.sun { color: #dc2626; }
.cal-weekday.sat { color: #2563eb; }
.cal-days { display: grid; grid-template-columns: repeat(7, 1fr); background: var(--surface); }
.cal-day {
  min-height: 48px;
  padding: 6px 4px 4px;
  font-size: 13px;
  position: relative;
  border-right: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
  cursor: pointer;
  text-align: center;
  background: var(--surface);
  transition: background 0.12s;
}
.cal-day:nth-child(7n) { border-right: none; }
.cal-day.empty { background: var(--bg); cursor: default; }
.cal-day.today { background: rgba(0,113,227,0.06); }
.cal-day.today .day-num { color: var(--primary); font-weight: 800; }
.cal-day.has-events { background: rgba(0,113,227,0.05); }
.cal-day.has-events .day-dot {
  display: block;
  width: 5px; height: 5px;
  background: var(--primary);
  border-radius: 50%;
  margin: 3px auto 0;
}
.day-dot { display: none; }
.cal-day.sun .day-num { color: #dc2626; }
.cal-day.sat .day-num { color: #2563eb; }
.cal-day.selected { background: var(--black) !important; }
.cal-day.selected .day-num { color: #fff !important; }
.cal-day.selected .day-dot { background: rgba(255,255,255,0.6); }
.cal-day:not(.empty):active { background: var(--bg); }

.event-date-header {
  padding: 8px 20px;
  background: var(--surface-2);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-sub);
  letter-spacing: 0.04em;
  border-bottom: 0.5px solid var(--border);
}
.event-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 20px;
  background: var(--surface);
  border-bottom: 0.5px solid var(--border);
  cursor: pointer;
  transition: background 0.12s;
}
.event-item:active { background: var(--bg); }
.event-time { font-size: 13px; font-weight: 700; min-width: 44px; color: var(--text); letter-spacing: -0.01em; }
.event-name { font-size: 14px; color: var(--text); flex: 1; line-height: 1.4; }
.event-arrow { color: var(--text-ter); font-size: 16px; }
.no-events { text-align: center; padding: 48px 20px; color: var(--text-sub); font-size: 14px; background: var(--surface); }

/* ===== 予約モーダル — ガラス感 ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 200;
  align-items: flex-end;
  justify-content: center;
  /* iOS サイズに合わせる */
  max-width: var(--max-w);
  left: 50%;
  transform: translateX(-50%);
}
.modal-overlay.open { display: flex; }
.modal-sheet {
  background: rgba(255,255,255,0.95);
  backdrop-filter: saturate(180%) blur(30px);
  -webkit-backdrop-filter: saturate(180%) blur(30px);
  border-radius: 20px 20px 0 0;
  padding: 8px 0 0;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.32s cubic-bezier(0.32, 0.72, 0, 1) both;
}
.modal-drag { width: 36px; height: 4px; background: var(--surface-3); border-radius: 2px; margin: 0 auto 18px; }
.modal-inner { padding: 0 20px 44px; }
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.modal-header h2 { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.modal-close {
  background: var(--surface-2);
  border: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  color: var(--text-sub);
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.modal-ticket-name {
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 0.5px solid var(--border);
}
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; color: var(--text-sub); letter-spacing: 0.01em; }
.form-required { color: var(--red); margin-left: 3px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 0.5px solid var(--border-mid);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: var(--surface);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,113,227,0.12);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-note { font-size: 12px; color: var(--text-sub); margin-top: 8px; line-height: 1.6; }
.form-success { display: none; text-align: center; padding: 36px 0; }
.form-success.show { display: block; animation: fadeUp 0.3s ease-out both; }
.form-success .success-icon { font-size: 52px; margin-bottom: 14px; }
.form-success h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 10px; }
.form-success p { font-size: 14px; color: var(--text-sub); line-height: 1.7; }

/* ===== フッター ===== */
footer {
  padding: 24px 20px 48px;
  border-top: 0.5px solid var(--border);
  background: var(--surface);
  margin-top: 2px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 12px; }
.footer-links a { font-size: 12px; color: var(--text-sub); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-copy { font-size: 11px; color: var(--text-ter); }

/* ===== ホーム画面追加バナー（index.html） ===== */
.ath-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 20px 8px;
  padding: 16px 18px;
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text);
  transition: background 0.18s;
}
.ath-banner:active { background: var(--surface-2); }
.ath-banner-icon { font-size: 28px; flex-shrink: 0; line-height: 1; }
.ath-banner-body { flex: 1; }
.ath-banner-title { font-size: 14px; font-weight: 700; letter-spacing: -0.01em; }
.ath-banner-sub { font-size: 12px; color: var(--text-sub); margin-top: 2px; }
.ath-banner-arrow { font-size: 20px; color: var(--text-ter); font-weight: 300; }
