/* ============================================================
   山田町 文化財・地域資源 管理システム — スタイルシート
   デザイン: 桜ピンク × ラベンダー × ミント（設計書統一）
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Noto+Serif+JP:wght@400;600&family=DM+Mono:wght@400;500&display=swap');

/* ── CSS変数 ──────────────────────────────────────────────── */
:root {
  /* パレット */
  --rose:      #993556;
  --rose-d:    #7B2642;
  --rose-l:    #FBEAF0;
  --rose-m:    #F4C0D1;
  --lav:       #6B5A9C;
  --lav-d:     #4A3C7A;
  --lav-l:     #F0ECFA;
  --lav-m:     #D4CCF0;
  --mint:      #2D7A63;
  --mint-d:    #1E5545;
  --mint-l:    #E8F6F1;
  --mint-m:    #A8DDC9;
  --peach:     #C0607A;
  --peach-l:   #FAE4EA;
  --warm:      #7A6878;
  --warm-l:    #F5F0F3;
  --warm-m:    #D8CED5;
  --blue:      #4A6B9E;
  --blue-l:    #EDF2FB;
  --blue-m:    #C4D3EE;
  --amber:     #A04A20;
  --amber-l:   #FDF3EC;

  /* ニュートラル */
  --bg:        #FDF6F9;
  --bg2:       #FAF0F4;
  --surface:   #FFFFFF;
  --txt:       #3A2E38;
  --txt-s:     #7A6878;
  --txt-h:     #1E1520;
  --border:    #E8DDE4;
  --border-m:  #D0C0CA;

  /* タイポグラフィ */
  --font-body: 'Noto Sans JP', sans-serif;
  --font-serif:'Noto Serif JP', serif;
  --font-mono: 'DM Mono', monospace;

  /* サイズ */
  --sidebar-w: 240px;
  --header-h:  58px;
  --radius:    10px;
  --radius-sm: 6px;
  --radius-lg: 16px;
  --shadow:    0 2px 12px rgba(153,53,86,.08);
  --shadow-md: 0 4px 24px rgba(153,53,86,.12);
}

/* ── リセット ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 14px; }          /* デフォルト（中） */
html.fs-small  { font-size: 12px; } /* 小 */
html.fs-medium { font-size: 14px; } /* 中（デフォルト） */
html.fs-large  { font-size: 16px; } /* 大 */
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--txt);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--rose); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

/* ── レイアウト ───────────────────────────────────────────── */
.app-shell {
  display: flex;
  min-height: 100vh;
}

/* ─ サイドバー ─ */
.sidebar {
  width: var(--sidebar-w);
  min-height: 100vh;
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 100;
  overflow-y: auto;
  box-shadow: 2px 0 16px rgba(153,53,86,.06);
}

.sidebar-brand {
  padding: 0;          /* padding は inline style で指定済み */
  border-bottom: none; /* border は inline style で指定済み */
}

.sidebar-brand:hover { background: var(--rose-l); }
.sidebar-brand:hover .app-title { color: var(--rose); }
.sidebar-brand .logo-mark {
  width: 36px; height: 36px;
  background: var(--rose);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
}
.sidebar-brand .logo-mark svg { width: 20px; height: 20px; fill: white; }
.sidebar-brand .app-title {
  font-family: var(--font-serif);
  font-size: .88rem;
  font-weight: 600;
  color: var(--txt-h);
  line-height: 1.4;
}
.sidebar-brand .app-ver {
  font-size: .72rem;
  color: var(--txt-s);
  margin-top: 2px;
}

.sidebar-nav { flex: 1; padding: 12px 0; }
.nav-group { margin-bottom: 4px; }
.nav-group-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--txt-s);
  padding: 8px 18px 4px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 18px;
  font-size: .82rem;
  color: var(--txt-s);
  border-radius: 0;
  transition: background .15s, color .15s;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}
.nav-item:hover { background: var(--rose-l); color: var(--rose); text-decoration: none; }
.nav-item.active {
  background: var(--rose-l);
  color: var(--rose);
  font-weight: 500;
  border-right: 3px solid var(--rose);
}
.nav-item .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot-rose  { background: var(--rose); }
.dot-mint  { background: var(--mint); }
.dot-lav   { background: var(--lav); }
.dot-warm  { background: var(--warm); }
.dot-blue  { background: var(--blue); }

.sidebar-footer {
  padding: 14px 18px;
  border-top: 1px solid var(--border);
  font-size: .72rem;
  color: var(--txt-s);
}

/* ─ メインコンテンツ ─ */
.main-wrap {
  margin-left: var(--sidebar-w);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.topbar {
  height: var(--header-h);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 28px;
  gap: 14px;
  position: sticky;
  top: 0;
  z-index: 90;
  box-shadow: 0 1px 8px rgba(153,53,86,.05);
}
.topbar-title {
  font-family: var(--font-serif);
  font-size: 1.0rem;
  font-weight: 600;
  color: var(--txt-h);
  flex: 1;
}
.topbar-search {
  display: flex;
  align-items: center;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 14px;
  gap: 8px;
}
.topbar-search input {
  border: none;
  background: transparent;
  outline: none;
  font-size: .82rem;
  color: var(--txt);
  font-family: var(--font-body);
  width: 180px;
}

.page-content {
  padding: 28px;
  flex: 1;
}

/* ── カード・サーフェス ──────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.card-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.card-title {
  font-family: var(--font-serif);
  font-size: .95rem;
  font-weight: 600;
  color: var(--txt-h);
}
.card-body { padding: 20px; }

/* ── ダッシュボード ────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: box-shadow .2s, transform .2s;
}
.stat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.stat-label {
  font-size: .72rem;
  color: var(--txt-s);
  font-weight: 500;
  letter-spacing: .04em;
}
.stat-value {
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
  color: var(--txt-h);
}
.stat-sub { font-size: .72rem; color: var(--txt-s); }
.stat-bar {
  height: 3px;
  border-radius: 2px;
  margin-top: 8px;
}

/* ── テーブル ─────────────────────────────────────────────── */
.tbl-wrap { overflow-x: auto; border-radius: var(--radius-lg); }
table.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .82rem;
}
.data-table th {
  background: var(--bg2);
  color: var(--txt-s);
  font-size: .70rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  font-family: var(--font-body);
}
.data-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  color: var(--txt);
  vertical-align: middle;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--rose-l); }
.data-table .mono { font-family: var(--font-mono); font-size: .78rem; color: var(--lav); }
.data-table .truncate {
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── バッジ ───────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .03em;
  white-space: nowrap;
}
.badge-rose    { background: var(--rose-l);  color: var(--rose); }
.badge-lav     { background: var(--lav-l);   color: var(--lav); }
.badge-mint    { background: var(--mint-l);  color: var(--mint); }
.badge-warm    { background: var(--warm-l);  color: var(--warm); }
.badge-blue    { background: var(--blue-l);  color: var(--blue); }
.badge-amber   { background: var(--amber-l); color: var(--amber); }
.badge-success { background: #E8F6F1; color: #2D7A63; }
.badge-danger  { background: #FCEAEA; color: #B83232; }

/* ── ボタン ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: .82rem;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  transition: all .15s;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--rose);
  color: white;
}
.btn-primary:hover { background: var(--rose-d); color: white; }
.btn-secondary {
  background: var(--surface);
  border: 1px solid var(--border-m);
  color: var(--txt-s);
}
.btn-secondary:hover { background: var(--bg2); color: var(--txt); }
.btn-mint {
  background: var(--mint);
  color: white;
}
.btn-mint:hover { background: var(--mint-d); color: white; }
.btn-danger {
  background: #FCEAEA;
  color: #B83232;
  border: 1px solid #F5C0C0;
}
.btn-danger:hover { background: #F5C0C0; }
.btn-sm { padding: 4px 10px; font-size: .76rem; }
.btn-xs { padding: 2px 8px;  font-size: .70rem; }

/* ── フォーム ─────────────────────────────────────────────── */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group.full { grid-column: 1 / -1; }
.form-label {
  font-size: .76rem;
  font-weight: 600;
  color: var(--txt-s);
  letter-spacing: .03em;
}
.form-label .pk  { color: var(--amber); margin-left: 4px; }
.form-label .fk  { color: var(--lav);  margin-left: 4px; }
.form-label .req { color: var(--rose); margin-left: 2px; }
.form-control {
  padding: 8px 12px;
  border: 1px solid var(--border-m);
  border-radius: var(--radius-sm);
  font-size: .85rem;
  font-family: var(--font-body);
  color: var(--txt);
  background: var(--surface);
  transition: border-color .15s, box-shadow .15s;
  outline: none;
  width: 100%;
}
.form-control:focus {
  border-color: var(--rose-m);
  box-shadow: 0 0 0 3px rgba(153,53,86,.10);
}
.form-control.mono { font-family: var(--font-mono); }
textarea.form-control { min-height: 90px; resize: vertical; }
.form-control[type="checkbox"] {
  width: auto; padding: 0;
  accent-color: var(--rose);
  width: 16px; height: 16px;
}
.form-hint { font-size: .70rem; color: var(--txt-s); }

/* ── ページネーション ──────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.page-btn {
  min-width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: .78rem;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--txt-s);
  cursor: pointer;
  transition: all .15s;
  text-decoration: none;
  padding: 0 8px;
}
.page-btn:hover { background: var(--rose-l); border-color: var(--rose-m); color: var(--rose); text-decoration: none; }
.page-btn.active { background: var(--rose); border-color: var(--rose); color: white; }
.page-btn.disabled { opacity: .4; pointer-events: none; }

/* ── フラッシュメッセージ ──────────────────────────────────── */
.flash {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: .85rem;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.flash-success { background: var(--mint-l); color: var(--mint-d); border: 1px solid var(--mint-m); }
.flash-error   { background: #FCEAEA; color: #B83232; border: 1px solid #F5C0C0; }
.flash-info    { background: var(--lav-l);  color: var(--lav-d); border: 1px solid var(--lav-m); }

/* ── 詳細パネル ───────────────────────────────────────────── */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.detail-item { display: flex; flex-direction: column; gap: 3px; }
.detail-label {
  font-size: .70rem;
  font-weight: 600;
  color: var(--txt-s);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.detail-value {
  font-size: .88rem;
  color: var(--txt-h);
  word-break: break-all;
}
.detail-value.mono { font-family: var(--font-mono); color: var(--lav); }
.detail-item.full  { grid-column: 1 / -1; }

/* ── ツールバー ───────────────────────────────────────────── */
.toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.toolbar-left { display: flex; align-items: center; gap: 10px; flex: 1; flex-wrap: wrap; }
.toolbar-right { display: flex; align-items: center; gap: 8px; }

.search-box {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border-m);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  gap: 8px;
}
.search-box input {
  border: none;
  outline: none;
  font-size: .85rem;
  color: var(--txt);
  font-family: var(--font-body);
  width: 200px;
  background: transparent;
}

/* ── ブレッドクラム ───────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  color: var(--txt-s);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--txt-s); }
.breadcrumb a:hover { color: var(--rose); }
.breadcrumb .sep { opacity: .5; }

/* ── モーダル ─────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(58,46,56,.4);
  backdrop-filter: blur(3px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn .2s ease;
}
.modal {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(153,53,86,.2);
  width: 100%;
  max-width: 480px;
  animation: slideUp .2s ease;
}
.modal-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-title {
  font-family: var(--font-serif);
  font-size: .95rem;
  font-weight: 600;
  color: var(--txt-h);
}
.modal-close {
  background: none; border: none;
  cursor: pointer; color: var(--txt-s);
  font-size: 1.2rem; line-height: 1;
  padding: 4px;
}
.modal-body    { padding: 20px 22px; }
.modal-footer  {
  padding: 14px 22px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

/* ── アニメーション ──────────────────────────────────────── */
@keyframes fadeIn  { from { opacity:0 } to { opacity:1 } }
@keyframes slideUp { from { transform:translateY(20px);opacity:0 } to { transform:none;opacity:1 } }
@keyframes pulse   { 0%,100%{opacity:1} 50%{opacity:.6} }

/* ── ユーティリティ ──────────────────────────────────────── */
.text-muted  { color: var(--txt-s); }
.text-sm     { font-size: .78rem; }
.text-xs     { font-size: .70rem; }
.text-mono   { font-family: var(--font-mono); }
.text-center { text-align: center; }
.mt-1 { margin-top: 6px; }
.mt-2 { margin-top: 12px; }
.mt-3 { margin-top: 20px; }
.mb-1 { margin-bottom: 6px; }
.mb-2 { margin-bottom: 12px; }
.mb-3 { margin-bottom: 20px; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 14px; }
.flex-1 { flex: 1; }
.null-val { color: var(--txt-s); opacity: .5; font-style: italic; font-size: .80rem; }

/* ══════════════════════════════════════════════════════════
   レスポンシブ対応
   ══════════════════════════════════════════════════════════ */

/* ── ハンバーガーボタン（モバイルのみ表示） ── */
#sidebar-toggle {
  display: none;
  align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: none; border: none;
  cursor: pointer; font-size: 1.3rem;
  color: var(--txt-s); flex-shrink: 0;
  border-radius: var(--radius-sm);
  transition: background .15s;
}
#sidebar-toggle:hover { background: var(--rose-l); color: var(--rose); }

/* ── オーバーレイ ── */
#sidebar-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(30,21,32,.45);
  z-index: 99;
  backdrop-filter: blur(2px);
}
#sidebar-overlay.active { display: block; }

/* ════ 768px以下（タブレット・スマートフォン） ════ */
@media (max-width: 768px) {

  /* サイドバー：画面外に隠し、開閉でスライドイン */
  .sidebar {
    transform: translateX(-100%);
    transition: transform .28s cubic-bezier(.4,0,.2,1);
    z-index: 110;
    width: min(280px, 82vw);
  }
  .sidebar.open { transform: translateX(0); }

  /* メインコンテンツ：左マージンをゼロに */
  .main-wrap { margin-left: 0; }

  /* トップバー：ハンバーガー表示、検索を縮小 */
  #sidebar-toggle { display: flex; }
  .topbar { padding: 0 12px; gap: 8px; }
  .topbar-title { font-size: .88rem; }
  .topbar-search { display: none; } /* モバイルでは検索バー非表示 */
  /* モバイルでサイト名を表示 */
  .topbar-site-name { display: block !important; }

  /* フォントサイズボタン：コンパクトに */
  #fs-btn-small, #fs-btn-medium, #fs-btn-large {
    height: 26px !important;
    padding: 0 5px !important;
    font-size: .72rem !important;
  }

  /* ページコンテンツのパディング縮小 */
  .page-content { padding: 12px 10px !important; }

  /* ブレッドクラム */
  .breadcrumb { font-size: .72rem; }

  /* カードボディのパディング縮小 */
  .card-body { padding: 12px; }
  .card-header { padding: 10px 14px; }

  /* ダッシュボード統計グリッド */
  .stats-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 8px; }

  /* フォームグリッド：1列に */
  .form-grid { grid-template-columns: 1fr !important; }

  /* テーブル：横スクロール */
  .tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .data-table { min-width: 600px; }
  .data-table th, .data-table td { padding: 6px 8px; font-size: .78rem; }

  /* 文化財一覧カード：2列→1列 */
  .bunkazai-card { font-size: .85rem; }

  /* タブバー：横スクロール */
  #tabBar { flex-wrap: nowrap !important; overflow-x: auto; }

  /* ヒーローカード内グリッド：縦積み */
  .hero-inner-grid { flex-direction: column !important; }

  /* ボタン群 */
  .btn { font-size: .78rem; padding: 6px 10px; }
  .btn-sm { font-size: .72rem; padding: 4px 8px; }
}

/* ════ 480px以下（スマートフォン縦向き） ════ */
@media (max-width: 480px) {

  /* ページタイトル非表示（スペース節約）、サイト名は維持 */
  .topbar-title { display: none; }
  .topbar-site-name { font-size: .72rem !important; }

  /* ログインバッジ非表示 */
  .topbar .badge { display: none; }

  /* stats-grid 1列に */
  .stats-grid { grid-template-columns: 1fr !important; }

  /* カード */
  .card { border-radius: 6px; }
  .page-content { padding: 8px 6px !important; }

  /* ブレッドクラム簡略化 */
  .breadcrumb .sep:not(:last-of-type) ~ * { display: none; }
}

/* ════ モバイル著作権フッター ════ */
.mobile-copyright {
  display: none;
}
@media (max-width: 768px) {
  .mobile-copyright {
    display: block;
    text-align: center;
    font-size: .68rem;
    color: var(--txt-s);
    padding: 10px 16px 14px;
    border-top: 1px solid var(--border);
    background: var(--bg2);
    line-height: 1.6;
  }
  .mobile-copyright a {
    color: var(--txt-s);
    text-decoration: none;
  }
}

/* ════ 印刷スタイル ════ */
@media print {
  .sidebar, .topbar, .breadcrumb, .btn, .nav-link,
  #guest-photo-modal, .mobile-copyright, #map-edit-btn,
  #map-save-btn, #map-cancel-btn, .tab-nav { display:none !important; }
  .main-wrap { margin-left: 0 !important; }
  .page-content { padding: 0 !important; }
  .card { border: 1px solid #ccc !important; break-inside: avoid; }
  .tab-panel { display: block !important; }
  body { font-size: 11pt; color: #000; background: #fff; }
  a { color: #000; text-decoration: none; }
  .detail-map { height: 200px !important; }
  @page { margin: 1.5cm; }
}
/* ── Sortable 写真並び替え ─────────────────────── */
.sortable-ghost  { opacity: .35; }
.sortable-chosen { box-shadow: 0 4px 20px rgba(153,53,86,.35) !important; }

/* ── アクセシビリティ：キーボードフォーカス表示 ────────────────
 * outline:none を使っている要素にもキーボード操作時のフォーカスを表示する
 * focus-visible は「キーボード操作時のみ」表示で、マウスクリック時は表示しない
 */
.topbar-search input:focus-visible,
.form-control:focus-visible,
.search-box input:focus-visible,
button:focus-visible,
a:focus-visible,
[role="button"]:focus-visible,
[tabindex]:focus-visible,
.nav-item:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--rose, #993556) !important;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(153, 53, 86, .15);
}

/* スキップリンク */
.skip-link {
  position: absolute;
  top: -50px;
  left: 8px;
  z-index: 99999;
  background: var(--rose, #993556);
  color: white;
  padding: 10px 18px;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: .92rem;
  transition: top .2s;
}
.skip-link:focus {
  top: 0;
  outline: 2px solid white;
  outline-offset: -4px;
}

/* スクリーンリーダー専用テキスト */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  border: 0 !important;
  white-space: nowrap !important;
}

/* アニメーション抑制対応（前庭障害・学習障害への配慮）*/
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
