/* ジャンルサイトの共通の見た目。部品は template のグラス UI（g-）を使い、ここには並べ方だけを書く */
body.glass-site main.container { max-width: 980px; }
.gs-header { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.gs-header .brand { font-size: 1.1rem; }
.gs-header nav { display: flex; gap: 12px; margin-left: auto; font-size: .9rem; }
.gs-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; }
.gs-updated { font-size: .8rem; opacity: .75; white-space: nowrap; }
.gs-crumbs { font-size: .82rem; color: var(--muted); margin: 0 0 8px; }
.gs-crumbs a { color: var(--muted); }
.gs-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 20px; padding: 0; list-style: none; }
.gs-chips a { text-decoration: none; }
.gs-chips .g-badge { font-size: .85rem; padding: 6px 10px; }
.gs-chips .n { color: var(--g-text-muted); font-weight: 400; }
.gs-prefs { columns: 4 140px; margin: 8px 0 20px; padding: 0; list-style: none; font-size: .9rem; }
.gs-prefs li { break-inside: avoid; }
.gs-list { margin: 12px 0; }
.gs-list a.g-list-item { text-decoration: none; color: inherit; }
.gs-list .g-list-title, .gs-list .g-list-desc { white-space: normal; }
.gs-facts th { width: 30%; white-space: nowrap; }
.gs-facts td { word-break: break-all; }
.gs-checks { margin: 16px 0; padding: 12px 16px; }
.gs-checks summary { cursor: pointer; }
.gs-checks .g-table-wrap { margin-top: 10px; }
.gs-note { font-size: .82rem; color: var(--muted); margin-top: 20px; }
.gs-pager { display: flex; gap: 12px; justify-content: center; margin: 16px 0; }
.gs-lead { color: var(--muted); }
.gs-actions { margin: 16px 0; display: flex; gap: 8px; flex-wrap: wrap; }
.gs-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin: 12px 0 20px; }
.gs-cards .g-card { padding: 14px 16px; }
.gs-cards .g-card h3 { margin: 0 0 4px; font-size: .98rem; }
.gs-cards .g-card p { margin: 0; font-size: .85rem; color: var(--muted); }
.gs-form { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.gs-form .g-input { flex: 1 1 260px; }
.gs-num { text-align: right; white-space: nowrap; }
.gs-pr { font-size: .75rem; }

/* 見出しの帯（背景の写真の上に大きく出す） */
.gs-brand-icon { margin-right: 6px; }
.gs-hero { padding: 36px 16px 8px; color: #fff; text-shadow: 0 2px 8px rgba(0, 0, 0, .45); }
.gs-hero-inner { max-width: 980px; margin: 0 auto; display: flex; gap: 20px; align-items: center; }
.gs-hero-icon {
  flex: none; width: 96px; height: 96px; border-radius: 24px; display: flex; align-items: center; justify-content: center;
  font-size: 3.4rem; text-shadow: none; background: rgba(255, 255, 255, .22); border: 1px solid rgba(255, 255, 255, .4);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 8px 32px rgba(0, 0, 0, .2);
}
.gs-hero h1 { font-size: 1.9rem; margin: 0 0 6px; }
.gs-hero p { margin: 0; max-width: 720px; }
.gs-hero-stats { margin-top: 10px !important; display: flex; gap: 16px; flex-wrap: wrap; }
.gs-hero-stats b { font-size: 1.4rem; }
@media (max-width: 720px) {
  .gs-hero { padding: 20px 12px 0; }
  .gs-hero-icon { width: 64px; height: 64px; font-size: 2.2rem; border-radius: 16px; }
  .gs-hero h1 { font-size: 1.35rem; }
}
/* 種類のタイル */
.gs-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 8px 0 24px; }
.gs-tile { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 10px; text-decoration: none; color: inherit; text-align: center; }
.gs-tile-icon { font-size: 2.2rem; line-height: 1.2; }
.gs-tile-label { font-weight: 700; font-size: .92rem; }
.gs-tile-n { font-size: .8rem; color: var(--g-text-muted); }
/* 地方ごとの都道府県 */
.gs-regions { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; margin: 8px 0 24px; }
.gs-region { padding: 12px 16px; }
.gs-region h3 { margin: 0 0 6px; font-size: .95rem; }
.gs-region ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .9rem; }
.gs-region .n, .gs-chips .n { color: var(--g-text-muted); font-size: .78rem; font-weight: 400; }
.gs-off { opacity: .6; }
/* 一覧・1 件の見出し */
.gs-page-head { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.gs-page-head h1 { margin: 0; }
.gs-page-head p { margin: 2px 0 0; }
.gs-page-icon {
  flex: none; width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 1.9rem; background: var(--g-primary-subtle); border: 1px solid var(--g-glass-border);
}
.gs-list .g-list-avatar { font-size: 1.2rem; }
/* ルートのサイト一覧 */
.gs-sites { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 12px; margin: 12px 0 24px; }
.gs-site { display: flex; gap: 14px; padding: 16px; text-decoration: none; color: inherit; }
.gs-site .gs-page-icon { width: 52px; height: 52px; font-size: 1.7rem; }
.gs-site h2, .gs-site h3 { margin: 0 0 4px; font-size: 1rem; }
.gs-site p { margin: 0; font-size: .82rem; color: var(--g-text-muted); }
.gs-site .gs-meta { margin-top: 6px; font-size: .78rem; }
.gs-site .gs-site-pages { display: flex; align-items: center; gap: 8px; margin: 2px 0 6px; }
.gs-site .gs-site-pages .g-badge { font-size: .8rem; font-weight: 700; }
/* 明るい写真でも見出しが読めるよう、後ろに暗い板を敷く */
.gs-hero-inner {
  padding: 20px 24px; border-radius: 20px; background: rgba(15, 23, 42, .42);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .18);
}
@media (max-width: 720px) { .gs-hero-inner { padding: 14px; gap: 12px; } }
.gs-search-cta { display: flex; gap: 14px; align-items: center; padding: 14px 18px; margin: 0 0 20px; text-decoration: none; color: inherit; }
.gs-header nav a { color: inherit; text-decoration: none; font-weight: 600; }
/* OGP 画像（切り抜かない。枠の中に縦横比のまま収める） */
.gs-ogp { display: flex; gap: 16px; align-items: center; margin: 4px 0 4px; padding: 10px; text-decoration: none; color: inherit;
  background: var(--g-glass-bg); border: 1px solid var(--g-glass-border); border-radius: var(--g-radius-lg); }
.gs-ogp img { width: 320px; max-width: 45%; aspect-ratio: 1.91 / 1; object-fit: contain; background: #f1f5f9; border-radius: 10px; flex-shrink: 0; }
.gs-ogp-body { display: flex; flex-direction: column; min-width: 0; }
.gs-ogp-body small { color: var(--g-text-muted); }
.gs-ogp-credit { font-size: .75rem; color: var(--muted); margin: 0 0 10px; }
.gs-thumb { width: 64px; height: 40px; flex-shrink: 0; border-radius: 6px; overflow: hidden; background: #f1f5f9; }
.gs-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
@media (max-width: 720px) { .gs-ogp { flex-direction: column; align-items: stretch; } .gs-ogp img { width: 100%; max-width: none; } }
.gs-root-section { margin-top: 28px; display: flex; align-items: center; gap: 10px; }
.gs-root-note { margin: 4px 0 0; color: var(--text-secondary, inherit); font-size: .9rem; }
.gs-root-group { margin: 16px 0 0; font-size: 1rem; color: var(--text-secondary, inherit); }
/* 診療時間の表（hours.html） */
.gs-hours th:first-child { width: 4em; }
.gs-hours tr.is-closed td { color: var(--text-secondary, #889); }
.gs-hours-depts { font-size: 1rem; margin: 14px 0 6px; }
.gs-now { padding: 8px 12px; border-radius: 10px; font-weight: 600; }
.gs-now.is-open { background: rgba(16, 185, 129, .14); color: #047857; }
.gs-now.is-shut { background: rgba(100, 116, 139, .14); }
.gs-tile-group { margin: 18px 0 8px; font-size: 1rem; color: var(--text-secondary, inherit); }
