/* ================================================================
   障碍者福祉事業所 運営ガイド — スタイルシート
   デザイン参照: nami-nami.jp (白ベース・パステルブロック・遊び心)
================================================================ */

:root {
  /* ── メインカラー（ソフトコーラル）──────────── */
  --coral:        #F0956A;
  --coral-dark:   #D4784C;
  --coral-mid:    #F0A882;
  --coral-light:  #FDE8D8;

  /* ── セクション背景パレット（nami-nami式ブロック）── */
  --blk-peach:    #FDE8D8;  /* ピーチ */
  --blk-mint:     #E0F2E8;  /* ミント */
  --blk-sky:      #DFF0FB;  /* スカイ */
  --blk-cream:    #FEF6E0;  /* クリーム */
  --blk-lavender: #EEE8F8;  /* ラベンダー */
  --blk-rose:     #FAE0E4;  /* ローズ */

  /* ── 状態カラー ────────────────────── */
  --success:       #7DC49A;
  --success-light: #DCEFE5;
  --warning:       #F0BE6A;
  --warning-light: #FEF4D8;
  --danger:        #E88080;
  --danger-light:  #FDE8E8;
  --info-light:    #DFF0FB;

  /* ── ベース ─────────────────────────── */
  --bg:         #FAFAF8;    /* ほぼ白・極薄クリーム */
  --card:       #FFFFFF;
  --text:       #2A2020;    /* 温かい深みのある黒 */
  --text-mid:   #7A6560;
  --text-light: #B8A898;
  --border:     #EDE0D4;
  --shadow:     0 2px 14px rgba(200,110,70,0.06);
  --shadow-lg:  0 8px 36px rgba(200,110,70,0.10);

  /* ── ラジウス ───────────────────────── */
  --r:    16px;
  --r-sm: 10px;
  --r-lg: 28px;
  --r-xl: 40px;

  /* ── alias（旧変数との互換性）─────────── */
  --primary:      var(--coral);
  --primary-dark: var(--coral-dark);
  --primary-light:var(--coral-light);
  --primary-bg:   #FFF8F3;
  --secondary:    #9DC4AE;
  --secondary-light: #E0F2E8;
  --radius:    var(--r);
  --radius-sm: var(--r-sm);
  --radius-lg: var(--r-lg);
}

/* ================================================================
   RESET & BASE
================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN',
               'Noto Sans JP', 'Yu Gothic', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--coral-dark); }

/* ================================================================
   HEADER — nami-nami 式: 白背景・コーラルラインのみ・超ミニマル
================================================================ */
.site-header {
  background: #FFFFFF;
  color: var(--text);
  padding: 0.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 300;
  border-bottom: 2.5px solid var(--coral-light);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  gap: 0.75rem;
}

.site-logo {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--coral-dark);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  gap: 0.15rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  color: var(--text-mid);
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  transition: all 0.18s;
  letter-spacing: 0.02em;
}

.site-nav a:hover,
.site-nav a.active {
  background: var(--coral-light);
  color: var(--coral-dark);
}

/* ハンバーガー */
.nav-hamburger {
  display: none;
  background: var(--coral-light);
  border: 1.5px solid var(--coral-mid);
  color: var(--coral-dark);
  font-size: 1.2rem;
  line-height: 1;
  padding: 0.35rem 0.65rem;
  border-radius: var(--r-sm);
  cursor: pointer;
  flex-shrink: 0;
  margin-left: auto;
}

/* ================================================================
   PAGE HERO — nami-nami 風: 大きい文字 + 薄いパステル背景 + 円装飾
================================================================ */
.page-hero {
  background: linear-gradient(150deg, #FFF5EE 0%, #FDE8D8 50%, #FFF0E8 100%);
  color: var(--text);
  padding: 4rem 2rem 3rem;
  position: relative;
  overflow: hidden;
}

/* 装飾円リング（nami-nami の同心円を参照） */
.page-hero::before {
  content: '';
  position: absolute;
  right: -6rem; top: -6rem;
  width: 26rem; height: 26rem;
  border-radius: 50%;
  border: 2px solid rgba(240,149,106,0.18);
  box-shadow:
    0 0 0 3rem  rgba(240,149,106,0.07),
    0 0 0 6rem  rgba(240,149,106,0.05),
    0 0 0 9rem  rgba(240,149,106,0.035),
    0 0 0 12rem rgba(240,149,106,0.02);
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}

.hero-text { flex: 1; }

.hero-badge {
  display: inline-block;
  background: var(--coral-dark);
  color: white;
  border-radius: 999px;
  padding: 0.2rem 0.9rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.page-hero h1 {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.page-hero p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.75;
}

/* サブページヒーロー */
.page-hero-sm {
  background: linear-gradient(150deg, #FFF5EE 0%, #FDE8D8 60%, #FFF0E8 100%);
  color: var(--text);
  padding: 2.25rem 2rem;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--coral-light);
}

.page-hero-sm::before {
  content: '';
  position: absolute;
  right: -4rem; top: -4rem;
  width: 18rem; height: 18rem;
  border-radius: 50%;
  border: 2px solid rgba(240,149,106,0.15);
  box-shadow:
    0 0 0 2.5rem rgba(240,149,106,0.07),
    0 0 0 5rem  rgba(240,149,106,0.04);
}

.page-hero-sm h1 {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: 0.02em;
  margin-bottom: 0.3rem;
}

.page-hero-sm p { font-size: 0.88rem; color: var(--text-mid); }

/* ヒーロー画像ホルダー */
.hero-img {
  flex-shrink: 0;
  width: 190px;
  background: rgba(255,255,255,0.92);
  border-radius: var(--r-lg);
  padding: 14px;
  box-shadow: var(--shadow-lg);
}
.hero-img img { width: 100%; border-radius: var(--r-sm); }

/* ================================================================
   WAVE DIVIDER — nami-nami のなみなみ波形ボーダー
================================================================ */
.wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin: -1px 0;
}
.wave-divider svg { display: block; width: 100%; }

/* ================================================================
   CONTAINER & GRID
================================================================ */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

/* ================================================================
   SECTION BLOCKS — nami-nami 式パステルブロック
================================================================ */
.section-block {
  padding: 3rem 0;
}
.section-block-peach    { background: var(--blk-peach); }
.section-block-mint     { background: var(--blk-mint); }
.section-block-sky      { background: var(--blk-sky); }
.section-block-cream    { background: var(--blk-cream); }
.section-block-lavender { background: var(--blk-lavender); }

/* ================================================================
   OVERLINE LABEL — nami-nami の小さい上部タグ
================================================================ */
.overline {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-dark);
  border-bottom: 2px solid var(--coral-mid);
  padding-bottom: 0.1rem;
  margin-bottom: 0.5rem;
}

/* ================================================================
   CARDS
================================================================ */
.card {
  background: var(--card);
  border-radius: var(--r);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-bottom: 1.75rem;
  transition: box-shadow 0.2s;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

/* TOPページ コンテンツ一覧グリッド */
.nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 1.25rem 0 2rem;
}

/* nami-nami 風ナビカード: 上部カラーストライプ + 矢印 */
.nav-card {
  background:
    linear-gradient(to bottom,
      var(--coral-mid) 0px, var(--coral-mid) 7px,
      white 7px);
  border-radius: var(--r);
  padding: 1.35rem 1.35rem 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  overflow: hidden;
  transition: transform 0.22s, box-shadow 0.22s;
  position: relative;
}

.nav-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.nav-card-stripe { display: none; }

/* カード内レイアウト：アイコン左・テキスト右（縦並び） */
.nav-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  gap: 0.3rem;
}

.nav-card-icon {
  font-size: 2rem;
  flex-shrink: 0;
  line-height: 1.1;
}

.nav-card-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--coral-dark);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-card-desc {
  font-size: 0.8rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* 後方互換：h3・p を直接書いた箇所 */
.card-icon { font-size: 2rem; flex-shrink: 0; line-height: 1.1; }
.nav-card h3 { font-size: 1rem; font-weight: 800; color: var(--coral-dark); margin: 0 0 0.25rem; letter-spacing: 0.02em; }
.nav-card p  { font-size: 0.8rem; color: var(--text-mid); line-height: 1.6; margin: 0; }

/* 矢印アクセント（nami-nami 参照） */
.nav-card::after {
  content: '→';
  position: absolute;
  bottom: 0.9rem;
  right: 1rem;
  font-size: 0.85rem;
  color: var(--coral-mid);
  font-weight: 700;
  opacity: 0.6;
  transition: opacity 0.18s, right 0.18s;
}
.nav-card:hover::after { opacity: 1; right: 0.75rem; }

/* ================================================================
   SECTION HEADER
================================================================ */
.section-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.35rem;
  padding-bottom: 0.7rem;
  border-bottom: 2.5px solid var(--coral-light);
}
.section-header .icon { font-size: 1.4rem; line-height: 1; flex-shrink: 0; }
.section-header h2 { font-size: 1.2rem; color: var(--coral-dark); font-weight: 800; margin: 0; }

/* セクション見出し補助テキスト */
.section-sub { font-size: 0.82rem; color: var(--text-mid); margin-bottom: 1rem; }

/* ================================================================
   TABLES
================================================================ */
.table-wrap { overflow-x: auto; border-radius: var(--r-sm); }

table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }

th {
  background: var(--coral-dark);
  color: white;
  padding: 0.65rem 0.9rem;
  text-align: left;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
  vertical-align: middle;
}

td {
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  line-height: 1.6;
  background: white;
}
/* 長い説明文セルは上揃えに戻す */
td.td-top { vertical-align: top; }

tr:nth-child(even) td { background: #FFF8F5; }
tr:hover td { background: var(--coral-light); transition: background 0.12s; }

/* ================================================================
   BADGES
================================================================ */
.badge {
  display: inline-block;
  padding: 0.12rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}
.badge-primary   { background: var(--coral-light); color: var(--coral-dark); }
.badge-secondary { background: var(--secondary-light); color: #3A7A5A; }
.badge-success   { background: var(--success-light); color: #2A6A4A; }
.badge-warning   { background: var(--warning-light); color: #8A5A10; }
.badge-danger    { background: var(--danger-light); color: #8A2828; }
.badge-gray      { background: #F0EAE4; color: #6A5A50; }

/* ================================================================
   ALERTS
================================================================ */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--r-sm);
  margin: 1rem 0;
  border-left: 4px solid;
  font-size: 0.875rem;
  line-height: 1.75;
}
.alert-info    { background: var(--blk-sky);    border-color: #88BBDD; }
.alert-warning { background: var(--warning-light); border-color: var(--warning); }
.alert-danger  { background: var(--danger-light);  border-color: var(--danger); }
.alert-success { background: var(--success-light);  border-color: var(--success); }

.alert strong { display: inline; font-weight: 700; }
.alert .alert-hdr { display: block; margin-bottom: 0.25rem; font-weight: 700; }

/* ================================================================
   CHECKLIST
================================================================ */
.checklist { list-style: none; }
.checklist li {
  padding: 0.5rem 0 0.5rem 1.8rem;
  position: relative;
  border-bottom: 1px dashed var(--border);
  font-size: 0.875rem;
  line-height: 1.6;
}
.checklist li::before {
  content: '□';
  position: absolute;
  left: 0;
  color: var(--coral-mid);
  font-size: 1.05rem;
  line-height: 1.5;
}

/* ================================================================
   STEPS
================================================================ */
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 0;
  border-bottom: 1px dashed var(--border);
}
.step-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: var(--coral-dark);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.9rem;
}
.step-content h4 { font-size: 0.95rem; color: var(--coral-dark); margin-bottom: 0.2rem; font-weight: 700; }
.step-content p  { font-size: 0.82rem; color: var(--text-mid); line-height: 1.65; }

/* ================================================================
   GRID UTILITIES
================================================================ */
.two-col   { display: grid; grid-template-columns: 1fr 1fr;    gap: 1.25rem; }
.three-col { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }

/* ================================================================
   STAT CARD — nami-nami 風に丸くてポップに
================================================================ */
.stat-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin: 1.5rem 0; }
.stat-card {
  background: var(--card);
  border-radius: var(--r);
  padding: 1.25rem 1rem;
  border: 2px solid var(--coral-light);
  box-shadow: var(--shadow);
  text-align: center;
}
.stat-card .stat-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--coral-dark);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stat-card .stat-label { font-size: 0.76rem; color: var(--text-mid); line-height: 1.45; }

/* ================================================================
   MONTH GRID
================================================================ */
.month-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 0.75rem; }
.month-box { background: var(--card); border-radius: var(--r); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }
.month-box-header { background: var(--coral-dark); color: white; padding: 0.45rem 0.8rem; font-weight: 700; font-size: 0.84rem; display: flex; justify-content: space-between; align-items: center; }
.month-box-body { padding: 0.5rem 0.8rem; }
.month-box-body li {
  list-style: none;
  padding: 0.22rem 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.78rem;
  color: var(--text-mid);
  display: flex;
  gap: 0.4rem;
  align-items: flex-start;
}
.month-box-body li:last-child { border-bottom: none; }

/* ================================================================
   INLINE DL BOX
================================================================ */
.dl-box {
  background: linear-gradient(135deg, var(--blk-peach), white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--coral-mid);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 0.85rem 1.1rem;
  margin: 1.25rem 0;
}

.dl-box-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--coral-dark);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.dl-box-title::after {
  content: "🟢 公式様式（厚労省・京都府）　🟣 オリジナルテンプレート　🔵 Wordひな形";
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--text-light);
}

.dl-links { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: var(--coral-dark);
  color: white !important;
  text-decoration: none !important;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.15s;
  letter-spacing: 0.02em;
}
.dl-btn:hover { background: var(--coral); transform: translateY(-1px); }
.dl-btn.official { background: #5AAA80; }
.dl-btn.official:hover { background: #449970; }
.dl-btn.template { background: #9A78C0; }
.dl-btn.template:hover { background: #8060A8; }
.dl-btn.word { background: #5A78C0; }
.dl-btn.word:hover { background: #4060A8; }
/* 公式サイトリンクボタン（🌐 公式）*/
.dl-btn.ext-link {
  background: transparent;
  border: 1.5px solid #5AAA80;
  color: #5AAA80 !important;
  font-size: 0.7rem;
  padding: 0.2rem 0.55rem;
}
.dl-btn.ext-link:hover { background: #5AAA80; color: #fff !important; transform: translateY(-1px); }

/* ================================================================
   YEAR CALENDAR
================================================================ */
.year-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0.75rem; }
.month-card { background: var(--card); border-radius: var(--r); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }
.month-card-hdr { background: var(--coral-dark); color: white; padding: 0.5rem 0.85rem; font-weight: 700; font-size: 0.85rem; display: flex; justify-content: space-between; align-items: center; }
.month-card-hdr .month-num { font-size: 1.3rem; font-weight: 900; opacity: 0.75; }
.month-card-body { padding: 0.5rem 0.75rem; }
.deadline-item {
  padding: 0.3rem 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.78rem;
  display: flex;
  gap: 0.4rem;
  align-items: flex-start;
  line-height: 1.4;
}
.deadline-item:last-child { border-bottom: none; }
.deadline-item .date-tag {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 700;
  background: var(--coral-light);
  color: var(--coral-dark);
  padding: 0.08rem 0.4rem;
  border-radius: 999px;
  white-space: nowrap;
}
.deadline-item .date-tag.red    { background: #FDE0E0; color: #901818; }
.deadline-item .date-tag.green  { background: #D8F0E0; color: #186030; }
.deadline-item .date-tag.gray   { background: #EEE8E0; color: #5A5048; }

/* ================================================================
   FAQ
================================================================ */
.faq-item {
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  margin-bottom: 0.85rem;
  overflow: hidden;
  transition: box-shadow 0.18s;
}
.faq-item:hover { box-shadow: var(--shadow); }

.faq-q {
  background: var(--blk-peach);
  padding: 0.9rem 1.1rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--coral-dark);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.55;
}
.faq-q::before {
  content: "Q";
  background: var(--coral-dark);
  color: white;
  padding: 0.05rem 0.4rem;
  border-radius: 6px;
  font-size: 0.78rem;
  flex-shrink: 0;
  margin-top: 0.08rem;
}

.faq-a {
  background: white;
  padding: 0.9rem 1.1rem;
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.8;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}
.faq-a::before {
  content: "A";
  background: var(--success);
  color: white;
  padding: 0.05rem 0.4rem;
  border-radius: 6px;
  font-size: 0.78rem;
  flex-shrink: 0;
  margin-top: 0.08rem;
}

/* ================================================================
   BACK LINK
================================================================ */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--coral-dark);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding: 0.4rem 1rem;
  background: var(--coral-light);
  border-radius: 999px;
  border: 1.5px solid var(--coral-mid);
  transition: all 0.18s;
  letter-spacing: 0.02em;
}
.back-link:hover { background: var(--blk-peach); transform: translateX(-2px); }

/* ================================================================
   FOOTER — やわらかいコーラル
================================================================ */
footer {
  background: linear-gradient(150deg, #C87858 0%, var(--coral) 100%);
  color: rgba(255,255,255,0.88);
  text-align: center;
  padding: 2.25rem 1.5rem;
  font-size: 0.82rem;
  margin-top: 4rem;
  border-top: 4px solid var(--coral-dark);
}
footer p + p { margin-top: 0.45rem; font-size: 0.72rem; color: rgba(255,255,255,0.55); }

/* ================================================================
   PRINT
================================================================ */
@media print {
  .site-header, footer, .nav-hamburger { display: none; }
  .card { break-inside: avoid; box-shadow: none; border: 1px solid #DDD; }
  .page-hero, .page-hero-sm { background: #FFF0E8 !important; color: #000 !important; }
  .page-hero::before, .page-hero-sm::before { display: none; }
  a { color: var(--coral-dark); }
}

/* ================================================================
   RESPONSIVE — スマートフォン対応
================================================================ */
@media (max-width: 960px) {
  .nav-hamburger { display: flex; align-items: center; justify-content: center; }
  .site-header { padding: 0.65rem 1.25rem; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 0.5rem 0 1rem;
    box-shadow: 0 6px 24px rgba(0,0,0,0.1);
    border-top: 2px solid var(--coral-light);
    z-index: 300;
  }
  .site-nav.open { display: flex; }

  .site-nav a {
    font-size: 0.9rem;
    padding: 0.7rem 1.5rem;
    border-radius: 0;
    color: var(--text-mid);
    border-bottom: 1px solid var(--border);
    width: 100%;
  }
  .site-nav a:hover, .site-nav a.active {
    background: var(--coral-light);
    color: var(--coral-dark);
  }
  .site-nav a:last-child { border-bottom: none; }
}

@media (max-width: 768px) {
  .card-grid        { grid-template-columns: 1fr; }
  .nav-grid         { grid-template-columns: 1fr; gap: 0.85rem; }
  .two-col, .three-col { grid-template-columns: 1fr; }
  .month-grid       { grid-template-columns: 1fr 1fr; }
  .year-grid        { grid-template-columns: 1fr 1fr; }
  .stat-row         { grid-template-columns: 1fr 1fr; }
  .hero-img         { display: none; }
  .page-hero        { padding: 2rem 1.25rem; }
  .page-hero-sm     { padding: 1.5rem 1.25rem; }
  .page-hero h1     { font-size: 1.7rem; }
  .page-hero-sm h1  { font-size: 1.3rem; }
  .container        { padding: 1.5rem 1rem; }
  .nav-card::after  { display: none; }
  .nav-card-title   { white-space: normal; }
  .nav-card         { padding: 1rem 1.1rem 1.1rem; gap: 0.7rem; }
  .dl-links         { gap: 0.3rem; }
  .dl-btn           { font-size: 0.72rem; padding: 0.25rem 0.55rem; }
  footer            { margin-top: 2.5rem; }
}

@media (max-width: 480px) {
  body              { font-size: 14px; }
  .month-grid       { grid-template-columns: 1fr; }
  .year-grid        { grid-template-columns: 1fr; }
  .stat-row         { grid-template-columns: 1fr; }
  .card             { padding: 1.1rem; }
  .page-hero h1     { font-size: 1.45rem; }
  .page-hero-sm h1  { font-size: 1.15rem; }
  .site-header      { padding: 0.55rem 0.9rem; }
  .back-link        { font-size: 0.78rem; }

  /* ── テーブル → カード変換（480px以下）──────── */
  .table-wrap { overflow-x: unset; border-radius: 0; }

  .table-wrap table,
  .table-wrap thead,
  .table-wrap tbody,
  .table-wrap th,
  .table-wrap td,
  .table-wrap tr { display: block; width: 100%; box-sizing: border-box; }

  /* ヘッダー行を非表示 */
  .table-wrap tr:first-child { display: none; }

  /* 各行をカードに */
  .table-wrap tr {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    margin-bottom: 0.9rem;
    overflow: hidden;
    box-shadow: var(--shadow);
  }

  /* セルをラベル付きブロックに */
  .table-wrap td {
    padding: 0.55rem 0.75rem 0.55rem 44%;
    position: relative;
    border: none;
    border-bottom: 1px dashed var(--border);
    font-size: 0.82rem;
    background: white !important;
    line-height: 1.55;
    min-height: 2.5rem;
    display: flex;
    align-items: center;
  }
  .table-wrap td:last-child { border-bottom: none; }

  /* data-label を左カラムラベルとして表示 */
  .table-wrap td[data-label]::before {
    content: attr(data-label);
    position: absolute;
    left: 0; top: 0;
    width: 42%;
    height: 100%;
    padding: 0.55rem 0.5rem 0.55rem 0.75rem;
    background: var(--coral-light);
    color: var(--coral-dark);
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.4;
    display: flex;
    align-items: center;
    word-break: break-all;
  }

  /* ストライプ・ホバー解除 */
  .table-wrap tr:nth-child(even) td { background: white !important; }
  .table-wrap tr:hover td           { background: var(--blk-peach) !important; transition: background 0.15s; }
}

/* 600px 以下の細かい調整 */
@media (max-width: 600px) {
  .table-wrap { -webkit-overflow-scrolling: touch; }
  .dl-box-title::after { display: none; }
  .nav-card::after { display: none; }
}

/* ================================================
   Popup / Dialog
   ================================================ */
dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  border: none;
  border-radius: 14px;
  padding: 0;
  max-width: 660px;
  width: 92vw;
  max-height: 82vh;
  overflow-y: auto;
  box-shadow: 0 8px 40px rgba(0,0,0,0.22);
}
dialog::backdrop {
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(2px);
}
.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--coral-light);
  padding: 0.85rem 1.2rem;
  border-radius: 14px 14px 0 0;
  position: sticky;
  top: 0;
  z-index: 1;
}
.popup-header h3 {
  margin: 0;
  font-size: 0.98rem;
  color: var(--coral-dark);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-right: 0.5rem;
}
.popup-close {
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--text-mid);
  line-height: 1;
  padding: 0.25rem 0.5rem;
  border-radius: 50%;
  transition: background 0.15s;
  flex-shrink: 0;
  min-width: 2rem;
  text-align: center;
}
.popup-close:hover { background: rgba(0,0,0,0.08); }
.popup-body {
  padding: 1.2rem 1.4rem 1.5rem;
}
.popup-body h4 {
  color: var(--coral-dark);
  font-size: 0.88rem;
  margin: 1rem 0 0.3rem;
  border-left: 3px solid var(--coral-mid);
  padding-left: 0.5rem;
}
.popup-body h4:first-child { margin-top: 0; }
.popup-body ul {
  padding-left: 1.3rem;
  font-size: 0.84rem;
  color: var(--text-mid);
  margin: 0.25rem 0 0.6rem;
}
.popup-body ul li { margin-bottom: 0.3rem; }
.popup-body p {
  font-size: 0.84rem;
  color: var(--text-mid);
  margin: 0.3rem 0;
  line-height: 1.6;
}
.popup-body .table-wrap { margin: 0.5rem 0; }
.popup-body .table-wrap table { font-size: 0.82rem; }
.popup-source {
  margin-top: 1rem;
  padding-top: 0.6rem;
  border-top: 1px dashed #ccc;
  font-size: 0.74rem;
  color: #888;
  line-height: 1.5;
}
.popup-source a { color: var(--coral-dark); }
.source-ext-link {
  display: inline-block;
  margin-left: 0.6rem;
  padding: 0.1rem 0.5rem;
  background: var(--coral-light);
  color: var(--coral-dark) !important;
  border: 1px solid var(--coral-mid);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  text-decoration: none !important;
  white-space: nowrap;
  transition: all 0.15s;
}
.source-ext-link:hover { background: var(--coral-mid); color: #fff !important; }
.popup-btn {
  background: white;
  border: 1px solid var(--coral-mid);
  color: var(--coral-dark);
  border-radius: 5px;
  padding: 0.12rem 0.6rem;
  font-size: 0.74rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
  vertical-align: middle;
  font-weight: 600;
}
.popup-btn:hover { background: var(--coral-light); }
.src-badge {
  display: inline-block;
  font-size: 0.68rem;
  background: #e8eaf6;
  color: #3949ab;
  border-radius: 3px;
  padding: 0.05rem 0.45rem;
  margin-left: 0.35rem;
  vertical-align: middle;
  font-weight: 600;
}
.rev-chip {
  display: inline-block;
  background: #e8f5e9;
  color: #2e7d32;
  border-radius: 99px;
  padding: 0.15rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 700;
  margin: 0.2rem 0;
}
/* テーブルセル内のrev-chipは中央揃え */
td.rev-chip {
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
}
.warn-chip {
  display: inline-block;
  background: #fff3e0;
  color: #e65100;
  border-radius: 99px;
  padding: 0.15rem 0.7rem;
  font-size: 0.78rem;
  margin: 0.2rem 0;
}
@media (max-width: 600px) {
  dialog { max-height: 90vh; }
  .popup-body { padding: 1rem; }
}

/* ================================================================
   PRINT OPTIMIZATION
================================================================ */
@media print {
  /* 非表示にするUI要素 */
  .site-header, .site-nav, .page-hero, .page-hero-sm,
  .back-link, .popup-btn, .dl-box, .dl-btn, .dl-links,
  .search-nav-btn, #search-modal, #dl-banner,
  #deadline-widget, .sim-tabs, .sim-inputs,
  footer, .cl-progress-wrap, .cl-group-header button,
  .source-ext-link, .dl-btn.ext-link { display: none !important; }

  /* ページ設定 */
  @page { margin: 15mm 12mm; size: A4; }
  body { background: white !important; color: #000 !important; font-size: 10pt; }

  /* コンテナ幅を紙面いっぱいに */
  .container { max-width: 100% !important; padding: 0 !important; margin: 0 !important; }
  main.container { padding: 0 !important; }

  /* カード */
  .card {
    box-shadow: none !important; border: 1px solid #ccc !important;
    break-inside: avoid; margin-bottom: 12pt; border-radius: 0 !important;
  }
  .section-header { border-bottom: 1.5pt solid #555 !important; padding-bottom: 4pt !important; }
  .section-header h2 { font-size: 12pt !important; }

  /* テーブル */
  table { border-collapse: collapse !important; width: 100% !important; font-size: 9pt; }
  th, td { border: 0.5pt solid #888 !important; padding: 4pt !important; }
  th { background: #eee !important; }

  /* アラート */
  .alert { border: 1pt solid #ccc !important; background: #f9f9f9 !important; color: #000 !important; }
  .alert-danger  { border-color: #c00 !important; }
  .alert-warning { border-color: #a60 !important; }

  /* ポップアップ */
  dialog { display: none !important; }

  /* チェックリスト：チェックボックス見た目を維持 */
  .cl-group { break-inside: avoid; border: 1pt solid #ccc !important; }
  .cl-box { border: 1.5pt solid #888 !important; }
  .cl-cb:checked + .cl-box { background: #000 !important; }
  .cl-item.cl-checked .cl-text { text-decoration: line-through; color: #888; }

  /* 2カラムを印刷では1カラム */
  .two-col { display: block !important; }
  .two-col > div { margin-bottom: 8pt; }

  /* シミュレーター結果だけ表示 */
  .sim-panel { display: block !important; }
  .sim-grid { grid-template-columns: 1fr !important; }

  /* リンクにURLを付記 */
  a[href]:after { content: " (" attr(href) ")"; font-size: 7pt; color: #666; }
  a[href^="#"]:after, a.dl-btn:after, a.popup-btn:after { content: none; }

  /* ページタイトルを印刷時に表示 */
  .page-hero-sm::before {
    content: attr(data-print-title);
    display: block; font-size: 14pt; font-weight: bold;
    margin-bottom: 8pt; border-bottom: 2pt solid #333; padding-bottom: 4pt;
  }

  /* 印刷ヘッダー */
  main::before {
    content: "障碍者福祉事業所 運営ガイド";
    display: block; font-size: 8pt; color: #666;
    margin-bottom: 10pt; padding-bottom: 4pt;
    border-bottom: 0.5pt solid #ccc;
  }
}

/* ================================================================
   DEADLINE ALERT
================================================================ */
/* TOPページ ウィジェット */
.dl-widget-empty { padding: 1rem; color: #6b7280; font-size: 0.88rem; text-align: center; }
.dl-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.55rem 0.75rem; border-radius: 8px; text-decoration: none;
  border: 1px solid #f0ebe4; margin-bottom: 0.4rem;
  transition: background 0.15s; color: var(--text);
}
.dl-item:hover { background: var(--coral-light); border-color: var(--coral-mid); }
.dl-item-left { display: flex; align-items: center; gap: 0.5rem; flex: 1; min-width: 0; }
.dl-item-right { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.dl-badge {
  font-size: 0.65rem; font-weight: 800; padding: 2px 6px;
  border-radius: 99px; white-space: nowrap; flex-shrink: 0;
}
.dl-badge-danger  { background: var(--danger-light); color: var(--danger); }
.dl-badge-warning { background: var(--warning-light); color: #9a6000; }
.dl-badge-info    { background: var(--info-light); color: #1a5c80; }
.dl-label { font-size: 0.82rem; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl-date  { font-size: 0.72rem; color: var(--text-mid); }
.dl-days  { font-size: 0.72rem; font-weight: 800; padding: 2px 7px; border-radius: 99px; white-space: nowrap; }
.dl-urgent { background: #fde8e8; color: #c0392b; }
.dl-soon   { background: #fef3c7; color: #9a6000; }
.dl-near   { background: #e0f2e8; color: #166534; }
.dl-far    { background: #f3f4f6; color: #6b7280; }

/* 全ページ ミニバナー */
.dl-banner {
  display: flex; align-items: center; gap: 0.75rem;
  background: #fffbeb; border-bottom: 2px solid #fbbf24;
  padding: 0.45rem 1rem; font-size: 0.78rem; flex-wrap: wrap;
}
.dl-banner-icon { font-size: 1rem; flex-shrink: 0; }
.dl-banner-items { display: flex; gap: 0.5rem; flex-wrap: wrap; flex: 1; }
.dl-banner-item {
  padding: 2px 8px; border-radius: 99px; text-decoration: none;
  font-weight: 600; white-space: nowrap; font-size: 0.75rem;
}
.dl-banner-danger  { background: #fde8e8; color: #c0392b; }
.dl-banner-warning { background: #fef3c7; color: #9a6000; }
.dl-banner-info    { background: #dff0fb; color: #1a5c80; }
.dl-banner-close {
  background: none; border: none; cursor: pointer; color: #9ca3af;
  font-size: 0.85rem; padding: 0 4px; margin-left: auto; flex-shrink: 0;
}
.dl-banner-close:hover { color: #374151; }

/* ================================================================
   SIMULATOR
================================================================ */
.sim-tabs {
  display: flex; gap: 0.4rem; margin-bottom: 1rem; flex-wrap: wrap;
}
.sim-tab {
  background: #f5f0eb; border: 1.5px solid #e8ddd5; color: var(--text-mid);
  border-radius: 8px; padding: 0.4rem 1rem;
  font-size: 0.82rem; font-weight: 700; cursor: pointer;
  transition: all 0.15s;
}
.sim-tab.active, .sim-tab:hover {
  background: var(--coral-light); border-color: var(--coral-mid);
  color: var(--coral-dark);
}
.sim-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
}
@media (max-width: 680px) { .sim-grid { grid-template-columns: 1fr; } }

.sim-section-title {
  font-size: 0.8rem; font-weight: 700; color: var(--coral-dark);
  margin: 0.75rem 0 0.5rem; padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--coral-light);
}
.sim-row {
  display: flex; flex-direction: column; gap: 0.2rem;
  margin-bottom: 0.6rem; font-size: 0.82rem; color: var(--text);
}
.sim-row span small { display: block; color: var(--text-mid); font-size: 0.72rem; }
.sim-row input {
  border: 1.5px solid #e8ddd5; border-radius: 7px;
  padding: 0.35rem 0.6rem; font-size: 0.88rem;
  background: #fff; color: var(--text);
  transition: border-color 0.15s; width: 100%; box-sizing: border-box;
}
.sim-row input:focus { outline: none; border-color: var(--coral-mid); }
.sim-check {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.82rem; color: var(--text); margin-bottom: 0.4rem;
  cursor: pointer;
}
.sim-check input { accent-color: var(--coral); width: 16px; height: 16px; }
.sim-note { font-size: 0.72rem; color: var(--text-mid); margin-top: 0.5rem; }

.sim-results { background: #fafaf8; border-radius: 10px; padding: 0.75rem 1rem; }
.sim-result-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; padding: 0.3rem 0;
  border-bottom: 1px dashed #ece5de;
}
.sim-result-row span { color: var(--text-mid); }
.sim-result-row strong { color: var(--text); font-weight: 600; }
.sim-baseunit-row { background: var(--coral-light); border-radius: 5px; padding: 0.3rem 0.4rem; margin-bottom: 0.2rem; }
.sim-baseunit-row strong { color: var(--coral-dark); }
.sim-total-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 0.5rem; padding: 0.5rem 0.4rem;
  background: var(--coral-dark); border-radius: 8px;
  font-size: 0.9rem;
}
.sim-total-row span { color: rgba(255,255,255,0.85); font-weight: 600; }
.sim-total-row strong { color: #fff; font-size: 1.05rem; font-weight: 800; }
.sim-year-row {
  text-align: right; font-size: 0.75rem; color: var(--text-mid);
  margin-top: 0.4rem; font-style: italic;
}

/* ================================================================
   INTERACTIVE CHECKLIST
================================================================ */
/* 全体進捗バー */
.cl-progress-wrap {
  background: #f5f0eb; border-radius: 12px; padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}
.cl-progress-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0.5rem; font-size: 0.83rem;
}
#cl-bar-text { font-weight: 600; color: var(--coral-dark); }
#cl-bar-pct  { font-size: 1.1rem; font-weight: 800; color: var(--coral-dark); }
.cl-bar-track {
  height: 10px; background: #e8ddd5; border-radius: 99px; overflow: hidden;
}
#cl-bar-fill {
  height: 100%; background: linear-gradient(90deg, var(--coral), var(--coral-dark));
  border-radius: 99px; transition: width 0.4s ease;
  width: 0%;
}
.cl-reset-all {
  margin-top: 0.5rem;
  font-size: 0.72rem; color: #9ca3af; cursor: pointer;
  background: none; border: none; padding: 0; text-decoration: underline;
}
.cl-reset-all:hover { color: var(--coral-dark); }

/* グループ */
.cl-group {
  border: 1.5px solid #e8ddd5; border-radius: 12px;
  margin-bottom: 1rem; overflow: hidden; transition: border-color 0.3s;
}
.cl-group-done { border-color: #5AAA80; }

.cl-group-header {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--blk-cream); padding: 0.7rem 1rem;
  border-bottom: 1px solid #e8ddd5;
}
.cl-group-done .cl-group-header { background: #e0f2e8; border-bottom-color: #b6e4c8; }
.cl-group-title {
  font-size: 0.88rem; font-weight: 700; color: var(--coral-dark); margin: 0;
}
.cl-group-done .cl-group-title { color: #166534; }
.cl-group-meta { display: flex; align-items: center; gap: 0.5rem; }
.cl-group-count {
  font-size: 0.75rem; font-weight: 700;
  background: white; border-radius: 999px; padding: 2px 8px;
  color: var(--coral-dark); border: 1px solid var(--coral-mid);
}
.cl-group-done .cl-group-count { color: #166534; border-color: #5AAA80; }
.cl-group-reset {
  font-size: 0.65rem; color: #9ca3af; cursor: pointer;
  background: none; border: none; text-decoration: underline;
}
.cl-group-reset:hover { color: var(--coral-dark); }

/* リスト本体 */
.cl-list {
  list-style: none; margin: 0; padding: 0.25rem 0;
}
.cl-list li { border-bottom: 1px solid #f5f0eb; }
.cl-list li:last-child { border-bottom: none; }

/* チェックアイテム */
.cl-item {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 0.6rem 1rem; cursor: pointer; transition: background 0.1s;
  user-select: none; width: 100%; box-sizing: border-box;
}
.cl-item:hover { background: var(--coral-light); }
.cl-cb { display: none; }
.cl-box {
  width: 20px; height: 20px; min-width: 20px; margin-top: 1px;
  border: 2px solid #ccc; border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s; background: white; font-size: 13px;
}
.cl-item:hover .cl-box { border-color: var(--coral-mid); }
.cl-cb:checked + .cl-box {
  background: #5AAA80; border-color: #5AAA80; color: white;
}
.cl-text {
  font-size: 0.83rem; color: var(--text); line-height: 1.5;
  flex: 1;
}
.cl-item.cl-checked .cl-text {
  text-decoration: line-through; color: #a09898;
}

/* 完了バッジ */
.cl-group-done .cl-group-header::after {
  content: '✅ 完了'; font-size: 0.72rem; font-weight: 700;
  color: #166534;
}

/* ================================================================
   SITE SEARCH
================================================================ */
/* ナビ内検索ボタン */
.search-nav-btn {
  display: inline-flex; align-items: center; gap: 0.3rem;
  background: rgba(255,255,255,0.85);
  border: 1.5px solid var(--coral-mid);
  color: var(--coral-dark);
  border-radius: 999px;
  padding: 0.22rem 0.75rem;
  font-size: 0.72rem; font-weight: 700;
  cursor: pointer; white-space: nowrap;
  transition: all 0.15s;
}
.search-nav-btn:hover { background: var(--coral-light); }
.search-nav-btn kbd {
  background: var(--coral-light); border: 1px solid var(--coral-mid);
  border-radius: 3px; padding: 0 4px; font-size: 0.65rem;
  font-family: inherit;
}

/* モーダル全体 */
#search-modal {
  display: none; position: fixed; inset: 0; z-index: 10000;
}
#search-modal.open { display: block; }

#search-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.48);
  backdrop-filter: blur(4px);
}

/* 検索ボックス本体 */
#search-box {
  position: absolute;
  top: 12vh; left: 50%; transform: translateX(-50%);
  width: min(680px, 94vw);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.28);
  overflow: hidden;
  animation: searchIn 0.18s ease;
}
@keyframes searchIn {
  from { opacity:0; transform: translateX(-50%) translateY(-12px) scale(0.97); }
  to   { opacity:1; transform: translateX(-50%) translateY(0) scale(1); }
}

/* 入力行 */
#search-input-wrap {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.9rem 1.1rem;
  border-bottom: 1.5px solid #f0f0f0;
}
#search-icon-label { font-size: 1.15rem; flex-shrink: 0; }
#search-input {
  flex: 1; border: none; outline: none;
  font-size: 1rem; font-family: inherit; background: transparent;
  color: var(--text);
}
#search-input::placeholder { color: #b0a8a0; }
#search-close-btn {
  background: #f3f4f6; border: none; border-radius: 6px;
  padding: 2px 8px; font-size: 0.8rem; cursor: pointer; color: #6b7280;
  flex-shrink: 0;
}
#search-close-btn:hover { background: #e5e7eb; }

/* 結果リスト */
#search-results {
  max-height: 420px; overflow-y: auto;
}
.search-item {
  display: block; padding: 0.7rem 1.1rem;
  text-decoration: none; color: inherit;
  border-bottom: 1px solid #f5f5f5;
  transition: background 0.1s;
}
.search-item:hover, .search-item.active {
  background: var(--coral-light);
}
.si-meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0.15rem;
}
.si-page {
  font-size: 0.68rem; font-weight: 700;
  color: var(--coral-dark); letter-spacing: 0.02em;
}
.si-type { font-size: 0.75rem; opacity: 0.6; }
.si-section {
  font-size: 0.88rem; font-weight: 600; color: #1a1a1a;
  margin-bottom: 0.1rem;
}
.si-snippet { font-size: 0.77rem; color: #6b7280; line-height: 1.4; }
.search-item mark {
  background: #fef08a; color: inherit;
  border-radius: 2px; padding: 0 2px;
}
.search-empty {
  padding: 2rem 1.5rem; text-align: center;
  color: #a09898; font-size: 0.88rem;
}

/* フッター */
#search-footer {
  display: flex; gap: 1rem;
  padding: 0.5rem 1.1rem;
  border-top: 1px solid #f0f0f0;
  font-size: 0.68rem; color: #b0a8a0;
}

/* モバイル */
@media (max-width: 600px) {
  #search-box { top: 5vh; border-radius: 14px; }
  .search-nav-btn kbd { display: none; }
}
