/* 宇土市 被災者支援制度ハンドブック 検索ガイド
   テーマ：宇土市ページ系のアンバー／ブラウン。共通トークンは design-system.css / org-site.css を利用。 */

.uh-page {
  --uh-main: #b45309;
  --uh-dark: #7c2d12;
  --uh-light: #fffbeb;
  --uh-border: #fde68a;
  --uh-accent: #0f766e;
  --uh-accent-light: #f0fdfa;
  --uh-accent-border: #99f6e4;
  --uh-red: #b91c1c;
  --uh-red-light: #fef2f2;
  --uh-red-border: #fecaca;
  --uh-ink: #1c1917;
  --uh-slate: #44403c;
  --uh-muted: #78716c;
  --uh-line: #d6d3d1;
}

/* ===== ヒーロー ===== */
.uh-hero {
  background: radial-gradient(circle at 90% 8%, #fde68a 0%, transparent 46%),
              linear-gradient(135deg, #ffffff 0%, #fffbeb 42%, #fef3c7 100%);
  border-bottom: 2px solid var(--uh-border);
  padding: 58px max(6vw, 24px) 48px;
}

.uh-hero-inner { max-width: 1140px; margin: 0 auto; }

.uh-eyebrow {
  margin: 0 0 14px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--uh-slate);
}

.uh-eyebrow span {
  display: inline-block;
  margin-right: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--uh-main);
  color: #fff;
  font-weight: 800;
}

.uh-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(26px, 4.2vw, 40px);
  font-weight: 900;
  line-height: 1.35;
  color: var(--uh-dark);
}

.uh-hero h1 small {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(13px, 1.7vw, 16px);
  font-weight: 700;
  color: var(--uh-slate);
}

.uh-hero h1 span { color: var(--uh-main); }

.uh-lead {
  max-width: 920px;
  margin: 0 0 16px;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--uh-slate);
}

.uh-lead b { color: var(--uh-dark); }

.uh-source-note {
  max-width: 920px;
  margin: 0 0 22px;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid var(--uh-border);
  font-size: 13px;
  line-height: 1.7;
  color: var(--uh-slate);
}

.uh-source-note a { color: var(--uh-dark); font-weight: 700; text-decoration: underline; }

/* ===== ボタン ===== */
.uh-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }

.uh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 10px;
  border: 2px solid transparent;
  font-size: 14.5px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform .15s ease, box-shadow .15s ease;
}

.uh-btn.primary { background: var(--uh-main); border-color: var(--uh-main); color: #fff; }
.uh-btn.secondary { background: #fff; border-color: var(--uh-border); color: var(--uh-dark); }
.uh-btn.ghost { background: #fff; border-color: var(--uh-line); color: var(--uh-slate); padding: 9px 16px; font-size: 13.5px; }
.uh-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(180, 83, 9, .18); }
.uh-btn:focus-visible { outline: 3px solid var(--uh-main); outline-offset: 2px; }

.uh-back-to-top {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--uh-dark);
  box-shadow: 0 6px 20px rgba(28, 25, 23, .28);
  color: #fff;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}

.uh-back-to-top[hidden] { display: none; }
.uh-back-to-top:hover { background: var(--uh-main); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(28, 25, 23, .34); }
.uh-back-to-top:focus-visible { outline: 3px solid #facc15; outline-offset: 3px; }
.uh-back-to-top-icon {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ===== キーファクト ===== */
.uh-keyfacts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 0;
}

.uh-keyfact {
  padding: 18px 20px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--uh-line);
}

.uh-keyfact.highlight { border: 2px solid var(--uh-accent); background: var(--uh-accent-light); }
.uh-keyfact.gold { border: 2px solid var(--uh-main); background: var(--uh-light); }

.uh-keyfact dt { font-size: 13px; font-weight: 800; color: var(--uh-slate); line-height: 1.5; }

.uh-keyfact dd {
  margin: 6px 0 4px;
  font-size: 32px;
  font-weight: 900;
  color: var(--uh-main);
  line-height: 1.1;
}

.uh-keyfact.highlight dd { color: var(--uh-accent); }
.uh-keyfact dd small { font-size: 15px; font-weight: 800; }
.uh-keyfact .sub { font-size: 12.5px; line-height: 1.55; color: var(--uh-muted); }

/* ===== 最初に読む ===== */
.uh-first {
  max-width: 1140px;
  margin: 26px auto 0;
  padding: 22px 24px;
  border-radius: 12px;
  border: 2px solid var(--uh-accent);
  background: var(--uh-accent-light);
}

.uh-first h2 {
  margin: 0 0 12px;
  font-size: 19px;
  font-weight: 900;
  color: #134e4a;
}

.uh-first ol { margin: 0; padding-left: 22px; display: grid; gap: 8px; }

.uh-first li { font-size: 15px; line-height: 1.75; color: var(--uh-slate); }
.uh-first b { color: #134e4a; }
.uh-first a { color: var(--uh-accent); font-weight: 700; }

/* ===== 困りごと別入口・支援者向け確認 ===== */
.uh-pathways { padding-top: 4px; }

.uh-quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px;
}

.uh-quick {
  display: grid;
  gap: 3px;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--uh-border);
  border-radius: 10px;
  background: #fff;
  color: var(--uh-dark);
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.uh-quick:hover {
  transform: translateY(-1px);
  border-color: var(--uh-main);
  box-shadow: 0 5px 14px rgba(180, 83, 9, .14);
}

.uh-quick:focus-visible { outline: 3px solid var(--uh-main); outline-offset: 2px; }
.uh-quick b { font-size: 14.5px; font-weight: 900; line-height: 1.45; }
.uh-quick span { font-size: 12.5px; line-height: 1.5; color: var(--uh-muted); }

.uh-supporter {
  display: grid;
  grid-template-columns: minmax(190px, .65fr) minmax(300px, 1.35fr);
  gap: 14px 28px;
  margin-top: 22px;
  padding: 20px 22px;
  border: 2px solid var(--uh-accent);
  border-radius: 12px;
  background: var(--uh-accent-light);
}

.uh-supporter-label {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 900;
  color: var(--uh-accent);
}

.uh-supporter h3 { margin: 0; font-size: 18px; color: #134e4a; }
.uh-supporter ol { margin: 0; padding-left: 20px; display: grid; gap: 5px; }
.uh-supporter li { font-size: 13.5px; line-height: 1.65; color: var(--uh-slate); }
.uh-supporter > p { grid-column: 1 / -1; margin: 0; font-size: 12.5px; line-height: 1.65; color: var(--uh-muted); }

/* ===== セクション ===== */
.uh-shell { max-width: 1140px; margin: 0 auto; padding: 38px max(6vw, 24px) 56px; }

.uh-section {
  padding-bottom: 38px;
  margin-bottom: 38px;
  border-bottom: 1px solid var(--uh-line);
}

.uh-section-head { margin-bottom: 20px; }

.uh-section-head h2 {
  margin: 0 0 8px;
  font-size: clamp(20px, 2.8vw, 26px);
  font-weight: 900;
  color: var(--uh-dark);
  line-height: 1.4;
}

.uh-sec-count { margin-left: 8px; font-size: 15px; font-weight: 800; color: var(--uh-main); }

.uh-section-head p { margin: 0; font-size: 14.5px; line-height: 1.75; color: var(--uh-slate); }

/* ===== 期限カード ===== */
.uh-deadline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
}

.uh-deadline-card {
  display: block;
  padding: 16px 18px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--uh-line);
  border-left: 5px solid var(--uh-line);
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}

.uh-deadline-card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 0, 0, .1); }
.uh-deadline-card:focus-visible { outline: 3px solid var(--uh-main); outline-offset: 2px; }
.uh-deadline-card.level-urgent { border-left-color: var(--uh-red); background: var(--uh-red-light); }
.uh-deadline-card.level-soon { border-left-color: var(--uh-main); background: var(--uh-light); }
.uh-deadline-card.level-closed { border-left-color: var(--uh-muted); background: #f5f5f4; opacity: .85; }

.uh-dl-date {
  display: block;
  margin-bottom: 4px;
  font-size: 17px;
  font-weight: 900;
  color: var(--uh-main);
}

.uh-deadline-card.level-urgent .uh-dl-date { color: var(--uh-red); }
.uh-deadline-card.level-closed .uh-dl-date { color: var(--uh-muted); text-decoration: line-through; }

.uh-deadline-card b {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 900;
  color: var(--uh-ink);
  line-height: 1.45;
}

.uh-deadline-card small { display: block; font-size: 12.5px; line-height: 1.6; color: var(--uh-muted); }

.uh-deadline-note { margin: 14px 0 0; font-size: 13px; color: var(--uh-muted); }

/* ===== 絞り込み ===== */
.uh-finder {
  padding: 22px;
  border-radius: 12px;
  background: #fff;
  border: 2px solid var(--uh-border);
}

.uh-finder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.uh-field-wide { grid-column: 1 / -1; }

.uh-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 800;
  color: var(--uh-dark);
}

.uh-field select,
.uh-field input[type="search"] {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #a8a29e;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: var(--uh-ink);
  background: #fff;
}

.uh-field select:focus-visible,
.uh-field input[type="search"]:focus-visible { outline: 3px solid var(--uh-main); outline-offset: 1px; }

.uh-field small { display: block; margin-top: 4px; font-size: 12px; line-height: 1.6; color: var(--uh-muted); }

.uh-finder-toggles {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--uh-line);
}

.uh-toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--uh-slate); cursor: pointer; }
.uh-toggle input { width: 18px; height: 18px; accent-color: var(--uh-main); }
.uh-toggle input:focus-visible { outline: 3px solid var(--uh-main); outline-offset: 2px; }

.uh-finder-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--uh-border);
}
.uh-finder-result-info p { margin: 0; font-size: 15px; color: var(--uh-slate); }
.uh-finder-result-info b { font-size: 24px; font-weight: 900; color: var(--uh-main); }
.uh-finder-result-info span { font-size: 13.5px; color: var(--uh-muted); }
.uh-btn-jump-list {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 22px;
  border: 2px solid var(--uh-main);
  border-radius: 999px;
  background: var(--uh-main);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(13, 123, 110, 0.25);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.uh-btn-jump-list:hover {
  background: var(--uh-dark);
  border-color: var(--uh-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(13, 123, 110, 0.35);
}
.uh-btn-jump-list .uh-jump-arrow {
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  transition: transform 0.2s ease;
}
.uh-btn-jump-list:hover .uh-jump-arrow {
  transform: translateY(2px);
}
.uh-finder-result.has-filter .uh-btn-jump-list {
  background: linear-gradient(135deg, #0d7b6e 0%, #064e46 100%);
  border-color: #064e46;
  box-shadow: 0 4px 14px rgba(13, 123, 110, 0.35);
  animation: uhJumpBtnPulse 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes uhJumpBtnPulse {
  0% { transform: scale(0.96); box-shadow: 0 0 0 4px rgba(13, 123, 110, 0.4); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}
@media (max-width: 680px) {
  .uh-finder-result {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .uh-btn-jump-list {
    width: 100%;
    min-height: 50px;
    font-size: 16px;
  }
}

.uh-empty {
  margin-top: 18px;
  padding: 22px;
  border-radius: 12px;
  background: var(--uh-light);
  border: 1px solid var(--uh-border);
}

.uh-empty h3 { margin: 0 0 8px; font-size: 17px; font-weight: 900; color: var(--uh-dark); }
.uh-empty p { margin: 0; font-size: 14.5px; line-height: 1.75; color: var(--uh-slate); }

/* ===== 制度カード ===== */
.uh-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.uh-card {
  --uh-card-accent: var(--uh-main);
  display: block;
  overflow: hidden;
  padding: 20px;
  border: 1px solid var(--uh-line);
  border-left: 7px solid var(--uh-card-accent);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(68, 64, 60, .08);
  scroll-margin-top: 20px;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.uh-card.is-summary-layout {
  display: block;
  padding: 0;
}

.uh-card:hover { box-shadow: 0 12px 30px rgba(68, 64, 60, .13); transform: translateY(-1px); }
.uh-card[data-cat="cert"] { --uh-card-accent: #d97706; }
.uh-card[data-cat="money"], .uh-card[data-cat="cash"] { --uh-card-accent: #b91c1c; }
.uh-card[data-cat="house"] { --uh-card-accent: #c2410c; }
.uh-card[data-cat="life"] { --uh-card-accent: #0f766e; }
.uh-card[data-cat="private"] { --uh-card-accent: #6d28d9; }
.uh-card[data-cat="work"], .uh-card[data-cat="business"] { --uh-card-accent: #166534; }
.uh-card[data-cat="tax"] { --uh-card-accent: #1d4ed8; }
.uh-card[data-cat="medical"] { --uh-card-accent: #be185d; }
.uh-card[data-cat="other"] { --uh-card-accent: #57534e; }
.uh-card.is-urgent { border-top-color: var(--uh-red); border-right-color: var(--uh-red); border-bottom-color: var(--uh-red); }
.uh-card.is-closed { background: #fafaf9; }

.uh-card-overview,
.uh-card-body { min-width: 0; padding: 22px 24px; }

.uh-card-overview { background: linear-gradient(145deg, #fff 0%, #fffcf5 100%); }

.uh-card-body {
  border-top: 1px solid var(--uh-line);
  background: #fafaf9;
}

.uh-card-head { margin-bottom: 14px; }

.uh-card-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }

.uh-card-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.uh-card-pictogram {
  display: inline-flex;
  flex: 0 0 54px;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--uh-card-accent);
  box-shadow: 0 5px 14px rgba(28, 25, 23, .15);
  color: #fff;
}

.uh-card-pictogram svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.uh-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.5;
}

.uh-badge-type { background: #e7e5e4; color: var(--uh-ink); }
.uh-badge-type.type-grant { background: #fee2e2; color: #991b1b; }
.uh-badge-type.type-reduce { background: #dbeafe; color: #1e40af; }
.uh-badge-type.type-loan { background: #ede9fe; color: #5b21b6; }
.uh-badge-type.type-subsidy { background: #dcfce7; color: #166534; }
.uh-badge-type.type-housing { background: #ffedd5; color: #9a3412; }
.uh-badge-type.type-consult { background: #ccfbf1; color: #115e59; }
.uh-badge-type.type-goods { background: #fce7f3; color: #9d174d; }
.uh-badge-type.type-cert { background: #fef3c7; color: #854d0e; }

.uh-badge-any { background: var(--uh-accent-light); color: #115e59; border: 1px solid var(--uh-accent-border); }
.uh-badge-damage { background: #fff7ed; color: #9a3412; border: 1px solid #fed7aa; }
.uh-badge-noapply { background: #16a34a; color: #fff; }
.uh-badge-pending { background: #f5f5f4; color: var(--uh-muted); border: 1px solid var(--uh-line); }
.uh-badge-urgent { background: var(--uh-red); color: #fff; }
.uh-badge-closed { background: #57534e; color: #fff; }

.uh-card h3 {
  margin: 0;
  font-size: clamp(20px, 2.2vw, 25px);
  font-weight: 900;
  color: var(--uh-dark);
  line-height: 1.45;
}

.uh-card-amount {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-left: 4px solid var(--uh-card-accent);
  border-radius: 0 9px 9px 0;
  background: var(--uh-light);
  font-size: 16px;
  font-weight: 800;
  color: var(--uh-dark);
  line-height: 1.55;
}

.uh-card-amount::before {
  content: "支援内容・金額";
  display: block;
  margin-bottom: 3px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  color: var(--uh-muted);
}

.uh-card-deadline {
  margin: 0 0 10px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--uh-red-light);
  border: 1px solid var(--uh-red-border);
  font-size: 13.5px;
  line-height: 1.6;
  color: #991b1b;
}

.uh-card-deadline b { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; }

.uh-card-lead { margin: 0 0 14px; font-size: 15px; line-height: 1.75; color: var(--uh-slate); }

.uh-card-detail {
  margin: 0 0 10px;
  padding-left: 18px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--uh-slate);
}

.uh-card-detail li { margin-bottom: 5px; }
.uh-card-detail li:last-child { margin-bottom: 0; }

.uh-card-target,
.uh-card-note {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--uh-slate);
}

.uh-card-target {
  margin-bottom: 0;
  padding: 12px 14px;
  border-radius: 9px;
  background: var(--uh-accent-light);
  border: 1px solid var(--uh-accent-border);
  font-size: 14px;
}

.uh-card-target b,
.uh-card-note b {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--uh-muted);
}

.uh-card-target b { color: #115e59; }

.uh-card-body-title {
  margin: 0 0 12px;
  padding-bottom: 9px;
  border-bottom: 2px solid var(--uh-card-accent);
  font-size: 14px;
  font-weight: 900;
  color: var(--uh-ink);
}

.uh-card-warn {
  margin: 0 0 8px;
  padding: 9px 12px;
  border-radius: 8px;
  background: var(--uh-red-light);
  border: 1px solid var(--uh-red-border);
  font-size: 13px;
  line-height: 1.7;
  color: #991b1b;
  font-weight: 700;
}

.uh-card-contact {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--uh-line);
}

.uh-card-contact > b {
  display: block;
  margin-bottom: 6px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--uh-muted);
}

.uh-card-contact ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }

.uh-card-contact li { font-size: 13.5px; line-height: 1.6; color: var(--uh-slate); }
.uh-card-contact li span { display: block; font-size: 12.5px; color: var(--uh-muted); }
.uh-card-contact a { color: var(--uh-main); font-weight: 800; text-decoration: none; border-bottom: 1px solid currentColor; }
.uh-card-contact a:focus-visible { outline: 3px solid var(--uh-main); outline-offset: 2px; }
.uh-card-contact small { display: block; margin-top: 6px; font-size: 12px; line-height: 1.6; color: var(--uh-muted); }

.uh-card-links { margin-top: 10px; display: grid; gap: 4px; }
.uh-card-links a { font-size: 13px; font-weight: 700; color: var(--uh-accent); }

.uh-source-page {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 800;
  color: var(--uh-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.uh-source-page:focus-visible { outline: 3px solid var(--uh-main); outline-offset: 2px; }

.uh-card-tags { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 5px; }

.uh-card-tags span {
  padding: 2px 8px;
  border-radius: 6px;
  background: #f5f5f4;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--uh-muted);
}

/* ===== 電話帳 ===== */
.uh-dir-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 16px;
}

.uh-dir-card {
  padding: 18px 20px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--uh-line);
}

.uh-dir-card h3 { margin: 0 0 10px; font-size: 16px; font-weight: 900; color: var(--uh-dark); }

.uh-dir-card ul { margin: 0 0 10px; padding: 0; list-style: none; display: grid; gap: 6px; }

.uh-dir-card li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--uh-line);
  font-size: 13.5px;
}

.uh-dir-card li span { color: var(--uh-slate); font-weight: 700; }
.uh-dir-card li a { color: var(--uh-main); font-weight: 900; text-decoration: none; border-bottom: 1px solid currentColor; white-space: nowrap; }
.uh-dir-card li a:focus-visible { outline: 3px solid var(--uh-main); outline-offset: 2px; }
.uh-dir-card > small { display: block; font-size: 12px; line-height: 1.6; color: var(--uh-muted); }

.uh-note {
  margin-top: 18px;
  padding: 16px 20px;
  border-radius: 10px;
  border-left: 5px solid var(--uh-main);
  background: var(--uh-light);
}

.uh-note h3 { margin: 0 0 8px; font-size: 15.5px; font-weight: 900; color: var(--uh-dark); }
.uh-note ul { margin: 0; padding-left: 20px; font-size: 13.5px; line-height: 1.75; color: var(--uh-slate); }
.uh-note li + li { margin-top: 6px; }

/* ===== このページについて ===== */
.uh-about-card {
  padding: 26px;
  border-radius: 14px;
  background: linear-gradient(135deg, #7c2d12 0%, #b45309 100%);
  color: #fff;
}

.uh-about-card h3 { margin: 0 0 10px; font-size: 20px; font-weight: 900; color: #fff; }
.uh-about-card > p { margin: 0 0 18px; font-size: 14.5px; line-height: 1.75; color: #fef3c7; }
.uh-about-card > p b { color: #fff; }

.uh-about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }

.uh-about-item {
  padding: 15px 17px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
}

.uh-about-item b { display: block; margin-bottom: 6px; font-size: 12.5px; font-weight: 800; color: #fde68a; }
.uh-about-item span { display: block; font-size: 14px; line-height: 1.7; color: #fff; }
.uh-about-item a { color: #fde68a; text-decoration: underline; }

/* ===== レスポンシブ ===== */
@media(max-width: 768px) {
  .uh-hero { padding: 38px max(5vw, 18px) 32px; }
  .uh-shell { padding: 28px max(5vw, 18px) 42px; }
  .uh-first { margin-inline: max(5vw, 18px); padding: 18px; }
  .uh-grid, .uh-deadline-grid, .uh-dir-grid, .uh-about-grid, .uh-quick-grid, .uh-supporter { grid-template-columns: 1fr; }
  .uh-supporter > p { grid-column: auto; }
  .uh-finder { padding: 16px; }
  .uh-dir-card li { flex-direction: column; gap: 2px; }
  .uh-card-overview, .uh-card-body { padding: 18px; }
  .uh-card-title-row { align-items: flex-start; gap: 11px; }
  .uh-card-pictogram { flex-basis: 46px; width: 46px; height: 46px; border-radius: 12px; }
  .uh-card-pictogram svg { width: 27px; height: 27px; }
  .uh-card:hover { transform: none; }
  .uh-back-to-top { right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  .uh-back-to-top, .uh-card { transition: none; }
}

/* ===== 印刷 ===== */
@media print {
  .site-header, .site-footer, .org-context-bar, .uh-actions, .uh-quick-grid, .uh-finder, .uh-empty, .uh-back-to-top {
    display: none !important;
  }
  .uh-hero { background: none !important; border-bottom: 2px solid #000 !important; padding: 10px 0 !important; }
  .uh-shell { padding: 10px 0 !important; }
  .uh-source-note, .uh-first { background: none !important; border: 1px solid #000 !important; }
  .uh-card, .uh-deadline-card, .uh-dir-card { break-inside: avoid; border: 1px solid #555 !important; }
  .uh-card.is-summary-layout { display: block !important; }
  .uh-card-body { border-top: 1px solid #777 !important; border-left: 0 !important; }
  .uh-card-pictogram { background: #fff !important; border: 1px solid #000 !important; box-shadow: none !important; color: #000 !important; }
  .uh-card[hidden], .uh-section[hidden] { display: none !important; }
  .uh-about-card { background: none !important; border: 2px solid #000 !important; color: #000 !important; }
  .uh-about-card h3, .uh-about-card > p, .uh-about-card > p b,
  .uh-about-item b, .uh-about-item span, .uh-about-item a { color: #000 !important; }
}
