/* ==========================================================
   病院ログ | 共通スタイル
   ========================================================== */

/* ------------------------------
   1. 基本設定
------------------------------ */

:root {
  --color-primary: #087F9F;
  --color-primary-dark: #076780;
  --color-primary-light: #e7f4f9;

  --color-navy: #193b4a;
  --color-text: #263b46;
  --color-muted: #607580;

  --color-bg: #f1f6f8;
  --color-white: #ffffff;
  --color-border: #dce6ea;
  --color-border-light: #eaf0f2;

  --color-danger: #b54747;
  --color-danger-bg: #fff0ef;
  --color-warning: #926018;
  --color-warning-bg: #fff7e6;

  --shadow-card: 0 2px 10px rgba(27, 62, 75, 0.035);

  --radius-sm: 6px;
  --radius-md: 9px;
  --radius-lg: 12px;

  --container-width: 1180px;
  --sidebar-width: 280px;

  --font-base: 16px;
  --line-height: 1.65;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: var(--font-base);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-bg);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "Yu Gothic",
    Meiryo,
    sans-serif;
  font-size: 1rem;
  line-height: var(--line-height);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--color-navy);
  line-height: 1.4;
  font-weight: 700;
}

p {
  margin-bottom: 0.8em;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--color-primary-dark);
  text-decoration: none;
}

a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
input[type="submit"] {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

table {
  border-collapse: collapse;
}

ul,
ol {
  padding-left: 1.4em;
}

:focus-visible {
  outline: 3px solid #69bdbc;
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

/* ------------------------------
   2. 共通レイアウト
------------------------------ */

.site-container {
  width: min(calc(100% - 32px),
      var(--container-width));
  margin-inline: auto;
}

.site-main {
  padding: 20px 0 40px;
  min-height: 65vh;
}

.content-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 20px;
}

.section-heading {
  margin: 0 0 15px;
  padding: 0 0 9px 12px;
  border-bottom: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  font-size: 1.2rem;
  line-height: 1.4;
  font-weight: 700;
}

.section-description {
  margin: -4px 0 14px;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.page-heading {
  margin-bottom: 18px;
}

.page-heading h1 {
  margin: 0 0 5px;
  font-size: 1.65rem;
}

.page-heading p {
  color: var(--color-muted);
  margin: 0;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--sidebar-width);
  align-items: start;
  gap: 18px;
}

.page-main,
.page-sidebar {
  min-width: 0;
}

.page-main>*+*,
.page-sidebar>*+* {
  margin-top: 16px;
}

/* ------------------------------
   3. ヘッダー
------------------------------ */

.site-header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

.site-header-inner {
  width: min(calc(100% - 32px),
      var(--container-width));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--color-navy);
  text-decoration: none;
}

.site-brand:hover {
  text-decoration: none;
}

.site-brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--color-primary);
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
}

.site-brand-name {
  display: block;
  color: var(--color-navy);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.site-brand-sub {
  display: block;
  color: var(--color-muted);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  line-height: 1.3;
}

.site-header-search {
  flex: 1;
  max-width: 470px;
}

.header-search-form {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-search-form input {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: 0.98rem;
}

.header-search-form button {
  flex-shrink: 0;
  height: 42px;
  padding: 0 17px;
  border: 0;
  border-radius: var(--radius-md);
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
}

.header-search-form button:hover {
  background: var(--color-primary-dark);
}

.site-nav {
  background: #fff;
  border-top: 1px solid var(--color-border-light);
}

.site-nav-inner {
  width: min(calc(100% - 32px),
      var(--container-width));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 45px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--color-navy);
  font-size: 0.96rem;
  font-weight: 600;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--color-primary);
  text-decoration: none;
}

/* ------------------------------
   4. フッター
------------------------------ */

.site-footer {
  margin-top: 30px;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
}

.site-footer-inner {
  width: min(calc(100% - 32px),
      var(--container-width));
  margin-inline: auto;
  padding: 26px 0;
}

.site-footer-brand {
  margin-bottom: 10px;
  color: var(--color-navy);
  font-size: 1.2rem;
  font-weight: 800;
}

.site-footer-description {
  margin-bottom: 14px;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 16px;
}

.site-footer-nav a {
  color: var(--color-text);
  font-size: 0.95rem;
}

.site-footer-copy {
  padding-top: 12px;
  border-top: 1px solid var(--color-border-light);
  color: var(--color-muted);
  font-size: 0.85rem;
}

/* ------------------------------
   5. パンくず
------------------------------ */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 9px;
  margin-bottom: 14px;
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.breadcrumb a {
  color: var(--color-primary-dark);
}

.breadcrumb span:last-child {
  color: var(--color-muted);
}

/* ------------------------------
   6. ボタン
------------------------------ */

.button-primary,
.button-outline,
.button-secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s;
}

.button-primary {
  background: var(--color-primary);
  border: 1px solid var(--color-primary);
  color: #fff;
}

.button-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #fff;
  text-decoration: none;
}

.button-outline {
  background: #fff;
  border: 1px solid #9ac9c7;
  color: var(--color-primary-dark);
}

.button-outline:hover {
  background: var(--color-primary-light);
  text-decoration: none;
}

.button-secondary {
  background: #eef4f6;
  border: 1px solid var(--color-border);
  color: var(--color-navy);
}

.button-secondary:hover {
  background: #e3edf0;
  text-decoration: none;
}

/* ------------------------------
   7. 共通フォーム
------------------------------ */

.form-group {
  margin-bottom: 13px;
}

.form-label {
  display: block;
  margin-bottom: 5px;
  color: var(--color-navy);
  font-size: 0.96rem;
  font-weight: 700;
}

.form-control {
  display: block;
  width: 100%;
  min-height: 43px;
  padding: 9px 12px;
  background: #fff;
  border: 1px solid #cbdde2;
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: 1rem;
}

.form-control:focus {
  outline: 2px solid #b5dcd9;
  border-color: var(--color-primary);
}

textarea.form-control {
  min-height: 110px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 15px;
}

/* ------------------------------
   8. 検索
------------------------------ */

.search-panel {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.search-panel h2 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px 120px;
  gap: 9px;
  align-items: end;
}

.search-form input,
.search-form select {
  width: 100%;
  min-width: 0;
  height: 45px;
  padding: 0 11px;
  border: 1px solid #cbdde2;
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--color-text);
  font-size: 1rem;
}

.search-form button {
  height: 45px;
}

.search-results-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.search-results-heading h2 {
  margin: 0;
  font-size: 1.2rem;
}

.search-count {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.search-count strong {
  color: var(--color-navy);
  font-size: 1.05rem;
}

/* ------------------------------
   9. 共通リスト・カード
------------------------------ */

.facility-list {
  display: grid;
  gap: 10px;
}

.facility-card {
  padding: 15px 17px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.facility-card-title {
  margin: 0 0 6px;
  font-size: 1.13rem;
  line-height: 1.45;
}

.facility-card-title a {
  color: var(--color-navy);
}

.facility-card-title a:hover {
  color: var(--color-primary);
}

.facility-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 14px;
  color: var(--color-muted);
  font-size: 0.94rem;
}

.facility-card-description {
  margin-top: 8px;
  color: var(--color-text);
  font-size: 0.95rem;
}

.facility-type-label {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  background: var(--color-primary-light);
  border: 1px solid #c9e7e3;
  border-radius: 5px;
  color: var(--color-primary-dark);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.45;
}

.facility-status {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 5px;
  font-size: 0.88rem;
  font-weight: 700;
}

.facility-status.closed {
  background: var(--color-danger-bg);
  color: var(--color-danger);
}

.facility-status.unconfirmed {
  background: var(--color-warning-bg);
  color: var(--color-warning);
}

.empty-message {
  margin: 0;
  padding: 12px 14px;
  background: #f7fafb;
  border-radius: var(--radius-md);
  color: var(--color-muted);
  font-size: 0.96rem;
}

/* ------------------------------
   10. 病院詳細ページ
------------------------------ */

.hospital-header {
  margin-bottom: 16px;
  padding: 22px;
}

.hospital-header-top {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 9px;
}

.hospital-header h1 {
  margin: 0 0 4px;
  color: var(--color-navy);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.35;
}

.hospital-name-kana {
  margin: 0 0 5px;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.hospital-short-name {
  margin: 0 0 8px;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.hospital-summary {
  display: grid;
  gap: 7px;
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid var(--color-border-light);
}

.hospital-summary-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  font-size: 1rem;
}

.hospital-summary-label {
  color: var(--color-muted);
  font-size: 0.92rem;
}

.hospital-summary-item strong {
  font-weight: 600;
}

.hospital-action-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
}

.hospital-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--sidebar-width);
  align-items: start;
  gap: 18px;
}

.hospital-main-column,
.hospital-sidebar {
  min-width: 0;
}

.hospital-main-column>*+*,
.hospital-sidebar>*+* {
  margin-top: 16px;
}

.hospital-section {
  padding: 19px 20px;
}

.hospital-section .section-heading {
  margin-bottom: 14px;
}

/* ------------------------------
   11. 診療科目
------------------------------ */

.specialty-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.specialty-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border: 1px solid #d3e6e5;
  border-radius: 6px;
  background: #f2faf9;
  color: var(--color-navy);
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.5;
}

/* ------------------------------
   12. 診療時間・受付時間
------------------------------ */

.hospital-hours-group+.hospital-hours-group {
  margin-top: 19px;
  padding-top: 17px;
  border-top: 1px solid var(--color-border);
}

.hospital-hours-group h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin: 0 0 9px;
  font-size: 1.07rem;
  line-height: 1.45;
}

.hospital-hours-group h3 span {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  background: var(--color-primary-light);
  border-radius: 5px;
  color: var(--color-primary-dark);
  font-size: 0.88rem;
  font-weight: 700;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.hospital-hours-table {
  width: 100%;
  min-width: 250px;
  border: 1px solid var(--color-border);
  background: #fff;
  font-size: 0.96rem;
}

.hospital-hours-table th,
.hospital-hours-table td {
  padding: 7px 11px;
  border-bottom: 1px solid var(--color-border-light);
  text-align: left;
  vertical-align: middle;
}

.hospital-hours-table thead th {
  background: #eef6f6;
  color: var(--color-navy);
  font-weight: 700;
}

.hospital-hours-table tbody th {
  width: 58px;
  background: #f8fbfc;
  color: var(--color-navy);
  font-weight: 700;
  white-space: nowrap;
}

.hospital-hours-table tbody tr:last-child th,
.hospital-hours-table tbody tr:last-child td {
  border-bottom: 0;
}

.hospital-hours-table td {
  font-variant-numeric: tabular-nums;
  line-height: 1.5;
}

.hospital-hours-table .admin-muted {
  color: #8a9ca5;
  font-size: 0.91rem;
}

.hospital-notice {
  margin: 12px 0 0;
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ------------------------------
   13. 病床・基本情報
------------------------------ */

.hospital-info-list {
  margin: 0;
}

.hospital-info-list>div {
  display: grid;
  grid-template-columns: 155px minmax(0, 1fr);
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border-light);
}

.hospital-info-list>div:first-child {
  padding-top: 2px;
}

.hospital-info-list>div:last-child {
  padding-bottom: 2px;
  border-bottom: 0;
}

.hospital-info-list dt {
  color: var(--color-muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.hospital-info-list dd {
  margin: 0;
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 500;
}

.hospital-simple-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin: 0;
  padding-left: 20px;
}

.hospital-simple-list li {
  font-size: 1rem;
}

.hospital-closure-note {
  margin-top: 10px;
  padding: 11px 13px;
  border: 1px solid #f0e4c9;
  border-radius: var(--radius-md);
  background: #fffaf0;
  font-size: 0.96rem;
}

.hospital-address {
  margin-bottom: 13px;
  font-size: 1rem;
  font-weight: 600;
}

/* ------------------------------
   14. 関連施設
------------------------------ */

.hospital-related-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hospital-related-list li {
  padding: 9px 0;
  border-bottom: 1px solid var(--color-border-light);
}

.hospital-related-list li:first-child {
  padding-top: 0;
}

.hospital-related-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.hospital-related-list a {
  display: block;
  color: var(--color-navy);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.45;
}

.hospital-related-list small {
  display: block;
  margin-top: 3px;
  color: var(--color-muted);
  font-size: 0.88rem;
}

/* ------------------------------
   15. 都道府県・診療科一覧
------------------------------ */

.link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.link-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--color-navy);
  font-size: 0.98rem;
  font-weight: 600;
}

.link-grid a:hover {
  background: var(--color-primary-light);
  border-color: #b4d9d6;
  text-decoration: none;
}

.link-grid-count {
  color: var(--color-muted);
  font-size: 0.88rem;
  font-weight: 400;
}

.category-group+.category-group {
  margin-top: 20px;
}

.category-group h3 {
  margin-bottom: 9px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--color-border);
  font-size: 1.1rem;
}

/* ------------------------------
   16. ページネーション
------------------------------ */

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 20px 0;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 6px 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--color-navy);
  font-size: 0.96rem;
  font-weight: 600;
}

.pagination a:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  text-decoration: none;
}

.pagination .current {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

/* ------------------------------
   17. テキスト・補助
------------------------------ */

.text-muted,
.admin-muted {
  color: var(--color-muted);
}

.text-primary {
  color: var(--color-primary);
}

.text-danger {
  color: var(--color-danger);
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.admin-text-link {
  color: var(--color-primary-dark);
  font-weight: 700;
}

.info-notice {
  padding: 12px 14px;
  border: 1px solid #cfe4e7;
  border-radius: var(--radius-md);
  background: #f5fafb;
  color: var(--color-text);
  font-size: 0.95rem;
}

.warning-notice {
  padding: 12px 14px;
  border: 1px solid #ecd9b5;
  border-radius: var(--radius-md);
  background: #fffaf0;
  color: var(--color-text);
  font-size: 0.95rem;
}

/* ------------------------------
   18. レスポンシブ
------------------------------ */

@media (max-width: 1000px) {

  .hospital-layout,
  .page-layout {
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 14px;
  }

  .link-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {

  .site-container,
  .site-header-inner,
  .site-nav-inner,
  .site-footer-inner {
    width: min(calc(100% - 24px), var(--container-width));
  }

  .site-main {
    padding: 13px 0 25px;
  }

  .site-header-inner {
    min-height: auto;
    padding: 11px 0;
    flex-wrap: wrap;
    gap: 10px;
  }

  .site-brand-mark {
    width: 36px;
    height: 36px;
    font-size: 1.45rem;
  }

  .site-brand-name {
    font-size: 1.35rem;
  }

  .site-header-search {
    flex-basis: 100%;
    max-width: none;
  }

  .header-search-form input,
  .header-search-form button {
    height: 41px;
  }

  .site-nav-inner {
    gap: 19px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .site-nav-inner::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    min-height: 42px;
    font-size: 0.94rem;
  }

  .hospital-layout,
  .page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
  }

  .hospital-main-column>*+*,
  .hospital-sidebar>*+*,
  .page-main>*+*,
  .page-sidebar>*+* {
    margin-top: 13px;
  }

  .content-card,
  .hospital-section {
    padding: 15px;
    border-radius: 9px;
  }

  .hospital-header {
    padding: 16px;
    margin-bottom: 13px;
  }

  .hospital-header h1 {
    font-size: 1.55rem;
  }

  .section-heading {
    margin-bottom: 12px;
    font-size: 1.15rem;
  }

  .hospital-summary {
    gap: 7px;
    margin-top: 11px;
    padding-top: 10px;
  }

  .hospital-summary-item {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 8px;
  }

  .hospital-info-list>div {
    grid-template-columns: 115px minmax(0, 1fr);
    gap: 10px;
    padding: 9px 0;
  }

  .hospital-hours-group+.hospital-hours-group {
    margin-top: 15px;
    padding-top: 14px;
  }

  .search-form {
    grid-template-columns: minmax(0, 1fr) 130px;
  }

  .search-form button {
    grid-column: 1 / -1;
  }

  .link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .page-heading h1 {
    font-size: 1.45rem;
  }

  .site-footer {
    margin-top: 20px;
  }
}

@media (max-width: 420px) {

  .site-container,
  .site-header-inner,
  .site-nav-inner,
  .site-footer-inner {
    width: calc(100% - 20px);
  }

  .hospital-header,
  .content-card,
  .hospital-section {
    padding: 13px;
  }

  .hospital-header h1 {
    font-size: 1.45rem;
  }

  .hospital-action-links {
    gap: 7px;
  }

  .hospital-action-links .button-primary,
  .hospital-action-links .button-outline {
    flex: 1 1 auto;
    padding: 8px 10px;
  }

  .hospital-hours-table th,
  .hospital-hours-table td {
    padding: 6px 8px;
  }

  .hospital-info-list>div {
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 8px;
  }

  .specialty-tag {
    padding: 4px 9px;
  }

  .search-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .search-form button {
    grid-column: auto;
  }

  .link-grid a {
    padding: 9px;
  }

  .breadcrumb {
    font-size: 0.88rem;
  }
}

/* ------------------------------
   19. 動きの軽減
------------------------------ */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ==========================================================
   病院詳細ページ：コンパクト表示
   ========================================================== */

.specialty-tag-link {
  cursor: pointer;
  text-decoration: none;
  transition: background-color .15s, border-color .15s;
}

.specialty-tag-link:hover {
  background: #e0f1f7;
  border-color: #8bc5d6;
  text-decoration: none;
}

.hospital-hours-accordion {
  display: grid;
  gap: 7px;
}

.hospital-hours-detail {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #fff;
  scroll-margin-top: 16px;
}

.hospital-hours-detail>summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  color: var(--color-navy);
  background: #f8fbfc;
  font-size: 1.04rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.hospital-hours-detail>summary::-webkit-details-marker {
  display: none;
}

.hospital-hours-detail>summary:hover {
  background: var(--color-primary-light);
}

.hospital-hours-detail[open]>summary {
  background: #eaf5fa;
  border-bottom: 1px solid var(--color-border);
}

.hospital-hours-detail-arrow {
  width: 9px;
  height: 9px;
  flex-shrink: 0;
  border-right: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  transform: rotate(45deg);
  transition: transform .15s;
}

.hospital-hours-detail[open] .hospital-hours-detail-arrow {
  transform: rotate(225deg);
}

.hospital-hours-detail-body {
  padding: 13px;
}

.hospital-hours-detail-body .hospital-hours-group:first-child {
  margin-top: 0;
}

.hospital-hours-detail-body .hospital-hours-group h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.hospital-basic-details {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
}

.hospital-basic-details>summary {
  color: var(--color-primary-dark);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.hospital-basic-details[open]>summary {
  margin-bottom: 13px;
}

.hospital-closure-calendar {
  width: 100%;
  table-layout: fixed;
  border: 1px solid var(--color-border);
  background: #fff;
  text-align: center;
}

.hospital-closure-calendar th,
.hospital-closure-calendar td {
  padding: 9px 4px;
  border: 1px solid var(--color-border-light);
  text-align: center;
  font-size: 0.96rem;
}

.hospital-closure-calendar thead th {
  background: #edf6fa;
  color: var(--color-navy);
  font-weight: 700;
}

.hospital-closure-calendar tbody th {
  background: #f7fafb;
  color: var(--color-navy);
  font-weight: 700;
}

.hospital-closure-calendar td.is-closed {
  background: #fceceb;
  color: #a43737;
  font-weight: 800;
}

@media (max-width: 760px) {
  .hospital-hours-detail>summary {
    padding: 10px 12px;
  }

  .hospital-hours-detail-body {
    padding: 10px;
  }

  .hospital-closure-calendar th,
  .hospital-closure-calendar td {
    padding: 8px 2px;
    font-size: 0.92rem;
  }
}

.hospital-closure-calendar td.calendar-consultation {
  background: #e7f4f9;
  color: #087F9F;
  font-weight: 800;
}

.hospital-closure-calendar td.calendar-closed {
  background: #fceceb;
  color: #b54747;
  font-weight: 800;
}

.hospital-closure-calendar td.calendar-unknown {
  background: #fff;
  color: #8b9ba3;
}

/* ========================================
   医療機関検索ページ
======================================== */

/* 検索条件パネル */
.search-panel {
  margin-bottom: 22px;
}

.search-panel .section-heading {
  margin-bottom: 16px;
}

/* 検索フォーム */
.search-form {
  display: block;
}

.search-form label {
  display: block;
  margin-bottom: 5px;
  color: var(--color-navy);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.search-form input,
.search-form select {
  display: block;
  width: 100%;
  min-width: 0;
  height: 43px;
  padding: 8px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--color-text);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.4;
  box-sizing: border-box;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.search-form input:focus,
.search-form select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(8, 127, 159, .12);
}

.search-form input::placeholder {
  color: #91a0a9;
}

.search-form-keyword {
  margin-bottom: 14px;
}

.search-form-keyword input {
  height: 46px;
  font-size: 16px;
}

.search-form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px 15px;
}

.search-form-field {
  min-width: 0;
}

/* 検索ボタン */
.search-form-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.search-form-actions .button-primary,
.search-form-actions .button-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 9px 22px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
}

.search-form-actions .button-primary {
  border: 1px solid var(--color-primary);
  background: var(--color-primary);
  color: #fff;
}

.search-form-actions .button-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

.search-form-actions .button-outline {
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-muted);
}

.search-form-actions .button-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* ==========================================
   医療機関検索ページ レイアウト修正
========================================== */

/* 検索パネル */
.site-main .search-panel {
  display: block;
  width: 100%;
  margin-bottom: 18px;
  padding: 20px;
  box-sizing: border-box;
}

.site-main .search-panel .section-heading {
  display: flex;
  align-items: center;
  margin: 0 0 18px;
  padding-bottom: 12px;
}

/* 共通search-formの影響を解除 */
.site-main .search-panel form.search-form {
  display: block;
  position: static;
  width: 100%;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

/* キーワードを必ず最上段に */
.site-main .search-panel .search-form-keyword {
  display: block;
  position: static;
  width: 100%;
  height: auto;
  margin: 0 0 16px;
  padding: 0;
}

/* 入力欄共通 */
.site-main .search-panel .search-form label {
  display: block;
  width: auto;
  margin: 0 0 5px;
  padding: 0;
  color: var(--color-navy);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.site-main .search-panel .search-form input,
.site-main .search-panel .search-form select {
  display: block;
  position: static;
  width: 100%;
  max-width: none;
  min-width: 0;
  height: 44px;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: #fff;
  color: var(--color-text);
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  box-sizing: border-box;
}

.site-main .search-panel .search-form-keyword input {
  height: 46px;
  font-size: 16px;
}

/* 条件選択を横並びに */
.site-main .search-panel .search-form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  width: 100%;
  gap: 14px;
  margin: 0;
  padding: 0;
}

.site-main .search-panel .search-form-field {
  display: block;
  position: static;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
}

/* ボタンを下段に配置 */
.site-main .search-panel .search-form-actions {
  display: flex;
  position: static;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  width: 100%;
  height: auto;
  margin: 20px 0 0;
  padding: 0;
  gap: 10px;
}

.site-main .search-panel .search-form-actions .button-primary,
.site-main .search-panel .search-form-actions .button-outline {
  display: inline-flex;
  position: static;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: auto;
  min-width: 150px;
  min-height: 44px;
  height: auto;
  margin: 0;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}

.site-main .search-panel .search-form-actions .button-primary {
  border: 1px solid var(--color-primary);
  background: var(--color-primary);
  color: #fff;
}

.site-main .search-panel .search-form-actions .button-outline {
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-primary);
}

/* ==========================================
   検索結果カード修正
========================================== */

.site-main .hospital-search-results {
  display: block;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

.site-main .hospital-search-results .section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
  padding-bottom: 12px;
}

.site-main .hospital-search-results .facility-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* カード全体 */
.site-main .hospital-search-results .hospital-search-card {
  display: block;
  width: 100%;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #fff;
  box-sizing: border-box;
}

/* 名前と施設種別を同じ行に */
.site-main .hospital-search-card .hospital-search-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 12px;
  width: 100%;
  margin: 0 0 6px;
}

.site-main .hospital-search-card .facility-card-title {
  display: block;
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}

.site-main .hospital-search-card .facility-type-label {
  display: inline-block;
  flex: 0 0 auto;
  width: auto;
  margin: 2px 0 0;
  padding: 3px 9px;
  border: 1px solid #cce6ef;
  border-radius: 5px;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}

/* 住所・診療科目 */
.site-main .hospital-search-card .hospital-search-address {
  display: block;
  margin: 0 0 5px;
  font-size: 14px;
  line-height: 1.6;
}

.site-main .hospital-search-card .hospital-search-specialties {
  display: block;
  margin: 0 0 9px;
  font-size: 14px;
  line-height: 1.6;
}

/* 口コミ・病床・詳細リンク */
.site-main .hospital-search-card .hospital-search-card-bottom {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px 16px;
  width: 100%;
  margin: 0;
  padding: 9px 0 0;
  border-top: 1px solid var(--color-border-light);
}

.site-main .hospital-search-card .hospital-search-review-count {
  display: inline-block;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 700;
}

.site-main .hospital-search-card .hospital-search-beds {
  display: inline-block;
  font-size: 13px;
}

.site-main .hospital-search-card .hospital-search-detail-link {
  display: inline-block;
  margin-left: auto;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

/* ==========================================
   タブレット
========================================== */

@media (max-width: 900px) {
  .site-main .search-panel .search-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ==========================================
   スマートフォン
========================================== */

@media (max-width: 600px) {

  .site-main .search-panel,
  .site-main .hospital-search-results {
    padding: 14px;
  }

  .site-main .search-panel .section-heading {
    margin-bottom: 13px;
  }

  .site-main .search-panel .search-form-keyword {
    margin-bottom: 12px;
  }

  .site-main .search-panel .search-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 10px;
  }

  .site-main .search-panel .search-form label {
    font-size: 13px;
  }

  .site-main .search-panel .search-form input,
  .site-main .search-panel .search-form select {
    height: 42px;
    padding: 8px 9px;
    font-size: 14px;
  }

  .site-main .search-panel .search-form-keyword input {
    height: 44px;
    font-size: 16px;
  }

  .site-main .search-panel .search-form-actions {
    margin-top: 16px;
    gap: 8px;
  }

  .site-main .search-panel .search-form-actions .button-primary {
    flex: 1 1 auto;
    min-width: 0;
  }

  .site-main .search-panel .search-form-actions .button-outline {
    flex: 0 0 auto;
    min-width: 0;
    padding: 10px 12px;
    font-size: 13px;
  }

  .site-main .hospital-search-results .hospital-search-card {
    padding: 12px;
  }

  .site-main .hospital-search-card .facility-card-title {
    font-size: 16px;
  }

  .site-main .hospital-search-card .facility-type-label {
    padding: 2px 7px;
    font-size: 11px;
  }

  .site-main .hospital-search-card .hospital-search-address,
  .site-main .hospital-search-card .hospital-search-specialties {
    font-size: 13px;
  }

  .site-main .hospital-search-card .hospital-search-card-bottom {
    gap: 7px 12px;
  }

  .site-main .hospital-search-card .hospital-search-review-count,
  .site-main .hospital-search-card .hospital-search-beds,
  .site-main .hospital-search-card .hospital-search-detail-link {
    font-size: 12px;
  }
}

.search-region-link {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
  font-size: .92rem;
}

.search-region-link a {
  color: #087f9f;
  font-weight: 700;
  text-decoration: none;
}

.search-region-link a:hover {
  text-decoration: underline;
}

/* ==========================================
   都道府県一覧
========================================== */

.prefectures-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.prefectures-overview>div {
  padding: 15px 10px;
  border: 1px solid #dbeaf0;
  border-radius: 8px;
  background: #f3f9fb;
  text-align: center;
}

.prefectures-overview strong {
  display: block;
  color: #076780;
  font-size: 1.55rem;
  line-height: 1.35;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.prefectures-overview span {
  display: block;
  margin-top: 4px;
  color: #526574;
  font-size: .85rem;
}

.prefectures-regions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0;
  align-items: start;
}

.prefectures-region {
  min-width: 0;
}

.prefectures-region .section-heading {
  margin-bottom: 14px;
}

.prefectures-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.prefectures-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid #dce8ed;
  border-radius: 8px;
  background: #fff;
  color: #243746;
  text-decoration: none;
  transition: border-color .15s, background .15s;
}

.prefectures-item:hover {
  border-color: #087f9f;
  background: #f0f9fc;
}

.prefectures-item-name {
  color: #076780;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.prefectures-item-count {
  color: #344b5b;
  font-size: .87rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.prefectures-item-meta {
  color: #718391;
  font-size: .78rem;
}

.prefectures-guide p {
  margin: 0 0 12px;
  line-height: 1.8;
}

.prefectures-guide p:last-child {
  margin-bottom: 0;
}

.prefectures-guide a {
  color: #087f9f;
  font-weight: 700;
}

@media (max-width: 767px) {
  .prefectures-regions {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin: 14px 0;
  }

  .prefectures-overview {
    gap: 7px;
  }

  .prefectures-overview>div {
    padding: 12px 5px;
  }

  .prefectures-overview strong {
    font-size: 1.2rem;
  }

  .prefectures-overview span {
    font-size: .75rem;
  }

  .prefectures-grid {
    gap: 8px;
  }

  .prefectures-item {
    padding: 11px 12px;
  }
}

/* ==========================================
   都道府県詳細
========================================== */

.prefecture-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.prefecture-overview>div {
  padding: 16px 12px;
  border: 1px solid #dbeaf0;
  border-radius: 8px;
  background: #f3f9fb;
  text-align: center;
}

.prefecture-overview strong {
  display: block;
  color: #076780;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.35;
}

.prefecture-overview span {
  display: block;
  margin-top: 4px;
  color: #526574;
  font-size: .85rem;
}

.prefecture-type-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
}

.prefecture-type-item {
  min-width: 0;
  padding: 13px 8px;
  border: 1px solid #dce8ed;
  border-radius: 8px;
  background: #fff;
  text-align: center;
  text-decoration: none;
  color: #243746;
}

.prefecture-type-item:hover {
  border-color: #087f9f;
  background: #f0f9fc;
}

.prefecture-type-item span {
  display: block;
  margin-bottom: 5px;
  font-weight: 700;
  font-size: .9rem;
}

.prefecture-type-item strong {
  color: #076780;
  font-size: 1.15rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.prefecture-type-item small {
  margin-left: 3px;
  color: #718391;
  font-size: .75rem;
}

.prefecture-section-lead {
  margin: 0 0 16px;
  color: #526574;
  line-height: 1.7;
}

.prefecture-municipality-group+.prefecture-municipality-group {
  margin-top: 22px;
}

.prefecture-municipality-group h3 {
  margin: 0 0 12px;
  padding: 8px 12px;
  border-left: 4px solid #087f9f;
  border-radius: 0 5px 5px 0;
  background: #edf7fa;
  color: #17485a;
  font-size: 1rem;
  line-height: 1.4;
}

.prefecture-municipality-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.prefecture-municipality-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid #dce8ed;
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
  transition: border-color .15s, background .15s;
}

.prefecture-municipality-item:hover {
  border-color: #087f9f;
  background: #f0f9fc;
}

.prefecture-municipality-name {
  flex: 1;
  min-width: 0;
  color: #076780;
  font-size: .96rem;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.prefecture-municipality-count {
  flex-shrink: 0;
  color: #526574;
  font-size: .8rem;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.prefecture-municipality-arrow {
  flex-shrink: 0;
  color: #087f9f;
  font-size: 1.25rem;
  font-weight: 700;
}

.prefecture-guide p {
  margin: 0 0 16px;
  line-height: 1.8;
}

.prefecture-search-link {
  display: inline-block;
  padding: 11px 16px;
  border-radius: 7px;
  background: #087f9f;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.prefecture-search-link:hover {
  background: #076780;
  color: #fff;
}

@media (max-width: 767px) {
  .prefecture-overview {
    gap: 8px;
    margin-bottom: 14px;
  }

  .prefecture-overview>div {
    padding: 13px 8px;
  }

  .prefecture-overview strong {
    font-size: 1.3rem;
  }

  .prefecture-type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .prefecture-type-item {
    padding: 12px 8px;
  }

  .prefecture-municipality-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .prefecture-municipality-item {
    padding: 11px 10px;
    gap: 5px;
  }

  .prefecture-municipality-name {
    font-size: .9rem;
  }

  .prefecture-municipality-count {
    font-size: .75rem;
  }
}

@media (max-width: 380px) {
  .prefecture-municipality-item {
    flex-wrap: wrap;
  }

  .prefecture-municipality-count {
    margin-left: auto;
  }
}

/* ==========================================
   市区町村別 医療機関一覧
========================================== */

.municipality-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.municipality-overview>div {
  padding: 15px 12px;
  border: 1px solid #dbeaf0;
  border-radius: 8px;
  background: #f3f9fb;
  text-align: center;
}

.municipality-overview strong {
  display: block;
  color: #076780;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
}

.municipality-overview span {
  display: block;
  margin-top: 4px;
  color: #526574;
  font-size: .85rem;
}

.municipality-filter-heading {
  margin: 0 0 12px;
  font-size: 1rem;
  color: #243746;
}

.municipality-type-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.municipality-type-nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid #dce8ed;
  border-radius: 8px;
  background: #fff;
  color: #344b5b;
  text-decoration: none;
  font-size: .93rem;
  font-weight: 700;
}

.municipality-type-nav a strong {
  color: #076780;
  font-size: .88rem;
  font-variant-numeric: tabular-nums;
}

.municipality-type-nav a:hover {
  border-color: #087f9f;
  background: #f0f9fc;
}

.municipality-type-nav a.active {
  border-color: #087f9f;
  background: #087f9f;
  color: #fff;
}

.municipality-type-nav a.active strong {
  color: #fff;
}

.municipality-result-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
  color: #526574;
  font-size: .88rem;
}

.municipality-facility-list {
  display: grid;
  gap: 10px;
}

.municipality-facility-item {
  padding: 16px 18px;
  border: 1px solid #dce8ed;
  border-radius: 9px;
  background: #fff;
}

.municipality-facility-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.municipality-facility-type {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 4px;
  background: #e7f4f9;
  color: #076780;
  font-size: .78rem;
  font-weight: 700;
}

.municipality-facility-reviews {
  color: #657786;
  font-size: .78rem;
}

.municipality-facility-item h3 {
  margin: 0 0 7px;
  font-size: 1.07rem;
  line-height: 1.5;
}

.municipality-facility-item h3 a {
  color: #076780;
  text-decoration: none;
}

.municipality-facility-item h3 a:hover {
  text-decoration: underline;
}

.municipality-facility-address {
  margin: 0 0 9px;
  color: #526574;
  font-size: .88rem;
  line-height: 1.6;
}

.municipality-facility-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 9px 0;
}

.municipality-facility-specialties span {
  padding: 3px 8px;
  border-radius: 4px;
  background: #f2f5f7;
  color: #405462;
  font-size: .78rem;
}

.municipality-facility-specialties small {
  align-self: center;
  color: #718391;
  font-size: .76rem;
}

.municipality-facility-beds {
  margin-top: 7px;
  color: #526574;
  font-size: .84rem;
}

/* 施設名と詳細ボタンを横並び */
.municipality-facility-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
}

.municipality-facility-heading h3 {
  flex: 1;
  min-width: 0;
  margin: 0;
}

/* 右側の詳細ボタン */
.municipality-facility-detail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
  margin: 0;
  padding: 6px 11px;
  border: 1px solid #c5e3ec;
  border-radius: 6px;
  background: #e7f4f9;
  color: #076780;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
}

.municipality-facility-detail span {
  font-size: 1.2rem;
  line-height: 1;
}

.municipality-facility-detail:hover {
  background: #087f9f;
  border-color: #087f9f;
  color: #fff;
  text-decoration: none;
}

@media (max-width: 767px) {
  .municipality-facility-heading {
    gap: 8px;
  }

  .municipality-facility-detail {
    padding: 6px 9px;
    font-size: .8rem;
  }
}

.municipality-empty {
  padding: 25px 12px;
  text-align: center;
  color: #657786;
}

.municipality-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
}

.municipality-pagination a,
.municipality-pagination .current {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 38px;
  min-height: 38px;
  padding: 6px 10px;
  border: 1px solid #dce8ed;
  border-radius: 6px;
  background: #fff;
  color: #076780;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 700;
}

.municipality-pagination a:hover {
  background: #f0f9fc;
  border-color: #087f9f;
}

.municipality-pagination .current {
  background: #087f9f;
  border-color: #087f9f;
  color: #fff;
}

.municipality-pagination .dots {
  color: #718391;
  padding: 0 3px;
}

.municipality-guide p {
  margin: 0 0 12px;
  line-height: 1.8;
}

.municipality-search-link {
  display: inline-block;
  margin-top: 6px;
  padding: 11px 16px;
  border-radius: 7px;
  background: #087f9f;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.municipality-search-link:hover {
  background: #076780;
  color: #fff;
}

@media (max-width: 767px) {
  .municipality-overview {
    gap: 8px;
    margin-bottom: 16px;
  }

  .municipality-overview>div {
    padding: 12px 8px;
  }

  .municipality-overview strong {
    font-size: 1.3rem;
  }

  .municipality-type-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .municipality-type-nav a {
    padding: 11px 10px;
    font-size: .86rem;
  }

  .municipality-facility-item {
    padding: 13px 12px;
  }

  .municipality-facility-item h3 {
    font-size: 1rem;
  }

  .municipality-pagination {
    gap: 5px;
  }

  .municipality-pagination a,
  .municipality-pagination .current {
    min-width: 35px;
    min-height: 36px;
    padding: 5px 8px;
  }
}

/* ========================================
   診療科目一覧ページ
======================================== */

.specialties-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 20px;
  color: #71818c;
  font-size: .85rem;
}

.specialties-breadcrumb a {
  color: #087f9f;
  text-decoration: none;
}

.specialties-page-header {
  margin-bottom: 22px;
}

.specialties-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: #087f9f;
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.specialties-page-header h1 {
  margin: 0 0 12px;
  color: #172d3c;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.45;
}

.specialties-page-header p {
  margin: 0;
  color: #586c79;
  font-size: .95rem;
  line-height: 1.85;
}

/* 概要 */
.specialties-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 26px;
}

.specialties-overview-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 17px 10px;
  border: 1px solid #dce9ee;
  border-radius: 10px;
  background: #f5fafc;
}

.specialties-overview-item strong {
  color: #087f9f;
  font-size: 1.45rem;
  line-height: 1.2;
}

.specialties-overview-item span {
  color: #657b87;
  font-size: .78rem;
  text-align: center;
}

/* ジャンルナビ */
.specialties-category-nav {
  margin-bottom: 30px;
  padding: 20px;
  border: 1px solid #dce8ee;
  border-radius: 12px;
  background: #fff;
}

.specialties-category-nav h2 {
  margin: 0 0 16px;
  color: #172d3c;
  font-size: 1.15rem;
}

.specialties-category-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.specialties-category-nav-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid #dbe8ed;
  border-radius: 7px;
  background: #f7fbfd;
  color: #244b60;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s, border-color .15s;
}

.specialties-category-nav-grid a:hover {
  border-color: #8ec6d7;
  background: #e7f4f9;
}

.specialties-category-nav-grid a span {
  min-width: 0;
}

.specialties-category-nav-grid a small {
  flex-shrink: 0;
  color: #7b909c;
  font-size: .72rem;
  font-weight: 500;
  white-space: nowrap;
}

/* ジャンル別セクション */
.specialties-sections {
  display: grid;
  gap: 25px;
}

.specialties-category-section {
  scroll-margin-top: 20px;
  padding: 20px;
  border: 1px solid #dce8ee;
  border-radius: 12px;
  background: #fff;
}

.specialties-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 15px;
  padding: 0 0 12px 12px;
  border-bottom: 1px solid #e1ebef;
  border-left: 4px solid #087f9f;
}

.specialties-section-heading h2 {
  margin: 0;
  color: #173748;
  font-size: 1.16rem;
  line-height: 1.4;
}

.specialties-section-heading p {
  margin: 4px 0 0;
  color: #748994;
  font-size: .78rem;
}

.specialties-back-top {
  flex-shrink: 0;
  color: #087f9f;
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
}

.specialties-item-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.specialties-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  padding: 12px;
  border: 1px solid #e0e9ee;
  border-radius: 7px;
  background: #fff;
  color: #203d4d;
  text-decoration: none;
  transition: background .15s, border-color .15s;
}

a.specialties-item:hover {
  border-color: #8fc9d9;
  background: #eff8fb;
}

.specialties-item-name {
  min-width: 0;
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.specialties-item-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  color: #718793;
  font-size: .75rem;
  white-space: nowrap;
}

.specialties-item-arrow {
  color: #087f9f;
  font-size: 1.15rem;
  font-weight: 700;
}

.specialties-item-empty {
  background: #f8fafb;
  color: #8899a2;
}

.specialties-item-empty .specialties-item-name {
  font-weight: 500;
}

.specialties-item-empty .specialties-item-meta {
  color: #9ba9b0;
}

/* ページ下部の案内 */
.specialties-guide {
  margin-top: 30px;
  padding: 22px;
  border: 1px solid #dce9ee;
  border-radius: 10px;
  background: #f5fafc;
}

.specialties-guide h2 {
  margin: 0 0 12px;
  color: #173748;
  font-size: 1.12rem;
}

.specialties-guide p {
  margin: 0 0 12px;
  color: #536b78;
  font-size: .9rem;
  line-height: 1.85;
}

.specialties-guide p:last-child {
  margin-bottom: 0;
}

.specialties-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 30px;
}

.specialties-related-links a {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid #cfe5ed;
  border-radius: 7px;
  background: #e7f4f9;
  color: #076780;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
}

.specialties-related-links a:hover {
  background: #d6edf5;
}

/* モバイル */
@media (max-width: 767px) {
  .specialties-page-header h1 {
    font-size: 1.4rem;
  }

  .specialties-overview {
    gap: 7px;
  }

  .specialties-overview-item {
    padding: 13px 5px;
  }

  .specialties-overview-item strong {
    font-size: 1.25rem;
  }

  .specialties-overview-item span {
    font-size: .69rem;
  }

  .specialties-category-nav,
  .specialties-category-section {
    padding: 14px;
  }

  .specialties-category-nav-grid,
  .specialties-item-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .specialties-category-nav-grid a {
    display: block;
    padding: 10px;
    font-size: .82rem;
  }

  .specialties-category-nav-grid a small {
    display: block;
    margin-top: 3px;
  }

  .specialties-item {
    display: block;
    padding: 10px;
  }

  .specialties-item-name {
    display: block;
    font-size: .84rem;
  }

  .specialties-item-meta {
    display: flex;
    justify-content: flex-end;
    margin-top: 5px;
    font-size: .72rem;
  }

  .specialties-guide {
    padding: 16px;
  }
}

/* ========================================
   診療科目詳細・都道府県一覧
======================================== */

.specialty-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 20px;
  color: #71818c;
  font-size: .85rem;
}

.specialty-breadcrumb a {
  color: #087f9f;
  text-decoration: none;
}

.specialty-page-header {
  margin-bottom: 22px;
}

.specialty-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: #087f9f;
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.specialty-page-header h1 {
  margin: 0 0 12px;
  color: #172d3c;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.45;
}

.specialty-page-header p {
  margin: 0;
  color: #586c79;
  font-size: .95rem;
  line-height: 1.85;
}

.specialty-category-label {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
  padding: 7px 11px;
  border: 1px solid #cfe5ed;
  border-radius: 6px;
  background: #f1f9fc;
  font-size: .8rem;
}

.specialty-category-label span {
  color: #718793;
}

.specialty-category-label strong {
  color: #076780;
}

/* 掲載状況 */
.specialty-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 27px;
}

.specialty-overview-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 17px 10px;
  border: 1px solid #dce9ee;
  border-radius: 10px;
  background: #f5fafc;
}

.specialty-overview-item strong {
  color: #087f9f;
  font-size: 1.45rem;
  line-height: 1.2;
}

.specialty-overview-item span {
  color: #657b87;
  font-size: .78rem;
  text-align: center;
}

/* 都道府県一覧 */
.specialty-prefectures {
  padding: 21px;
  border: 1px solid #dce8ee;
  border-radius: 12px;
  background: #fff;
}

.specialty-section-heading {
  margin-bottom: 23px;
  padding: 0 0 13px 12px;
  border-bottom: 1px solid #e1ebef;
  border-left: 4px solid #087f9f;
}

.specialty-section-heading h2 {
  margin: 0;
  color: #173748;
  font-size: 1.2rem;
}

.specialty-section-heading p {
  margin: 5px 0 0;
  color: #748994;
  font-size: .82rem;
}

.specialty-region+.specialty-region {
  margin-top: 24px;
}

.specialty-region h3 {
  margin: 0 0 11px;
  padding-bottom: 7px;
  border-bottom: 1px solid #edf1f4;
  color: #375567;
  font-size: 1rem;
}

.specialty-prefecture-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.specialty-prefecture-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  padding: 12px;
  border: 1px solid #dce8ee;
  border-radius: 7px;
  background: #fff;
  color: #203d4d;
  text-decoration: none;
  transition: background .15s, border-color .15s;
}

a.specialty-prefecture-item:hover {
  border-color: #8fc9d9;
  background: #eff8fb;
}

.specialty-prefecture-name {
  min-width: 0;
  font-size: .9rem;
  font-weight: 700;
}

.specialty-prefecture-meta {
  flex-shrink: 0;
  color: #718793;
  font-size: .75rem;
  white-space: nowrap;
}

.specialty-prefecture-meta span {
  margin-left: 3px;
  color: #087f9f;
  font-size: 1.1rem;
  font-weight: 700;
}

.specialty-prefecture-empty {
  background: #f8fafb;
  color: #9aa9b0;
}

.specialty-prefecture-empty .specialty-prefecture-meta {
  color: #a3b0b7;
}

/* 注意事項 */
.specialty-guide {
  margin-top: 26px;
  padding: 20px;
  border: 1px solid #dce9ee;
  border-radius: 10px;
  background: #f5fafc;
}

.specialty-guide h2 {
  margin: 0 0 10px;
  color: #173748;
  font-size: 1.1rem;
}

.specialty-guide p {
  margin: 0;
  color: #536b78;
  font-size: .9rem;
  line-height: 1.85;
}

.specialty-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 30px;
}

.specialty-related-links a {
  padding: 10px 14px;
  border: 1px solid #cfe5ed;
  border-radius: 7px;
  background: #e7f4f9;
  color: #076780;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
}

.specialty-related-links a:hover {
  background: #d6edf5;
}

/* モバイル */
@media (max-width: 767px) {
  .specialty-page-header h1 {
    font-size: 1.4rem;
  }

  .specialty-overview {
    gap: 7px;
  }

  .specialty-overview-item {
    padding: 13px 5px;
  }

  .specialty-overview-item strong {
    font-size: 1.25rem;
  }

  .specialty-overview-item span {
    font-size: .69rem;
  }

  .specialty-prefectures {
    padding: 14px;
  }

  .specialty-prefecture-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .specialty-prefecture-item {
    display: block;
    padding: 10px;
  }

  .specialty-prefecture-name {
    display: block;
    font-size: .86rem;
  }

  .specialty-prefecture-meta {
    display: block;
    margin-top: 5px;
    text-align: right;
    font-size: .72rem;
  }

  .specialty-guide {
    padding: 16px;
  }
}

/* ========================================
   診療科目 × 都道府県
======================================== */

.specialty-pref-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 20px;
  color: #71818c;
  font-size: .85rem;
}

.specialty-pref-breadcrumb a {
  color: #087f9f;
  text-decoration: none;
}

.specialty-pref-header {
  margin-bottom: 22px;
}

.specialty-pref-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: #087f9f;
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.specialty-pref-header h1 {
  margin: 0 0 12px;
  color: #172d3c;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.45;
}

.specialty-pref-header p {
  margin: 0;
  color: #586c79;
  font-size: .95rem;
  line-height: 1.85;
}

/* 概要 */
.specialty-pref-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 27px;
}

.specialty-pref-overview-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 17px 10px;
  border: 1px solid #dce9ee;
  border-radius: 10px;
  background: #f5fafc;
}

.specialty-pref-overview-item strong {
  color: #087f9f;
  font-size: 1.45rem;
  line-height: 1.2;
}

.specialty-pref-overview-item span {
  color: #657b87;
  font-size: .78rem;
  text-align: center;
}

/* 市区町村一覧 */
.specialty-pref-list {
  padding: 21px;
  border: 1px solid #dce8ee;
  border-radius: 12px;
  background: #fff;
}

.specialty-pref-section-heading {
  margin-bottom: 23px;
  padding: 0 0 13px 12px;
  border-bottom: 1px solid #e1ebef;
  border-left: 4px solid #087f9f;
}

.specialty-pref-section-heading h2 {
  margin: 0;
  color: #173748;
  font-size: 1.2rem;
}

.specialty-pref-section-heading p {
  margin: 5px 0 0;
  color: #748994;
  font-size: .82rem;
}

.specialty-pref-group+.specialty-pref-group {
  margin-top: 25px;
}

.specialty-pref-group h3 {
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #edf1f4;
  color: #375567;
  font-size: 1rem;
}

.specialty-pref-subgroup+.specialty-pref-subgroup {
  margin-top: 19px;
}

.specialty-pref-subgroup h4 {
  margin: 0 0 10px;
  color: #436575;
  font-size: .9rem;
}

/* 自治体カード */
.specialty-pref-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.specialty-pref-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  padding: 12px;
  border: 1px solid #dce8ee;
  border-radius: 7px;
  background: #fff;
  color: #203d4d;
  text-decoration: none;
  transition: background .15s, border-color .15s;
}

a.specialty-pref-item:hover {
  border-color: #8fc9d9;
  background: #eff8fb;
}

.specialty-pref-item span {
  min-width: 0;
  font-size: .88rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.specialty-pref-item small {
  flex-shrink: 0;
  color: #718793;
  font-size: .73rem;
  white-space: nowrap;
}

.specialty-pref-item-empty {
  background: #f8fafb;
  color: #9aa9b0;
}

.specialty-pref-item-empty span {
  font-weight: 500;
}

.specialty-pref-item-empty small {
  color: #a3b0b7;
}

/* 案内 */
.specialty-pref-guide {
  margin-top: 26px;
  padding: 20px;
  border: 1px solid #dce9ee;
  border-radius: 10px;
  background: #f5fafc;
}

.specialty-pref-guide h2 {
  margin: 0 0 10px;
  color: #173748;
  font-size: 1.1rem;
}

.specialty-pref-guide p {
  margin: 0;
  color: #536b78;
  font-size: .9rem;
  line-height: 1.85;
}

.specialty-pref-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 30px;
}

.specialty-pref-related-links a {
  padding: 10px 14px;
  border: 1px solid #cfe5ed;
  border-radius: 7px;
  background: #e7f4f9;
  color: #076780;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
}

.specialty-pref-related-links a:hover {
  background: #d6edf5;
}

/* モバイル */
@media (max-width: 767px) {
  .specialty-pref-header h1 {
    font-size: 1.4rem;
  }

  .specialty-pref-overview {
    gap: 7px;
  }

  .specialty-pref-overview-item {
    padding: 13px 5px;
  }

  .specialty-pref-overview-item strong {
    font-size: 1.25rem;
  }

  .specialty-pref-overview-item span {
    font-size: .69rem;
  }

  .specialty-pref-list {
    padding: 14px;
  }

  .specialty-pref-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .specialty-pref-item {
    display: block;
    padding: 10px;
  }

  .specialty-pref-item span {
    display: block;
    font-size: .84rem;
  }

  .specialty-pref-item small {
    display: block;
    margin-top: 5px;
    text-align: right;
  }

  .specialty-pref-guide {
    padding: 16px;
  }
}

/* ========================================
   診療科目 × 市区町村 医療機関一覧
======================================== */

.specialty-muni-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 20px;
  color: #71818c;
  font-size: .85rem;
}

.specialty-muni-breadcrumb a {
  color: #087f9f;
  text-decoration: none;
}

.specialty-muni-header {
  margin-bottom: 22px;
}

.specialty-muni-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: #087f9f;
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.specialty-muni-header h1 {
  margin: 0 0 12px;
  color: #172d3c;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.45;
}

.specialty-muni-header p {
  margin: 0;
  color: #586c79;
  font-size: .95rem;
  line-height: 1.85;
}

/* 掲載状況 */
.specialty-muni-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 27px;
}

.specialty-muni-overview-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  padding: 17px 10px;
  border: 1px solid #dce9ee;
  border-radius: 10px;
  background: #f5fafc;
}

.specialty-muni-overview-item strong {
  max-width: 100%;
  color: #087f9f;
  font-size: 1.15rem;
  line-height: 1.4;
  text-align: center;
  overflow-wrap: anywhere;
}

.specialty-muni-overview-item:first-child strong {
  font-size: 1.45rem;
}

.specialty-muni-overview-item span {
  color: #657b87;
  font-size: .78rem;
  text-align: center;
}

/* 施設一覧 */
.specialty-muni-list {
  padding: 21px;
  border: 1px solid #dce8ee;
  border-radius: 12px;
  background: #fff;
}

.specialty-muni-list-heading {
  margin-bottom: 18px;
  padding: 0 0 12px 12px;
  border-bottom: 1px solid #e1ebef;
  border-left: 4px solid #087f9f;
}

.specialty-muni-list-heading h2 {
  margin: 0;
  color: #173748;
  font-size: 1.2rem;
}

.specialty-muni-list-heading p {
  margin: 5px 0 0;
  color: #748994;
  font-size: .82rem;
}

.specialty-muni-facilities {
  display: grid;
  gap: 10px;
}

.specialty-muni-facility {
  padding: 15px 16px;
  border: 1px solid #e0e9ee;
  border-radius: 8px;
  background: #fff;
}

.specialty-muni-facility-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.specialty-muni-facility-heading h3 {
  min-width: 0;
  margin: 0;
  color: #203d4d;
  font-size: 1rem;
  line-height: 1.5;
}

.specialty-muni-facility-heading h3 a {
  color: #087f9f;
  text-decoration: none;
}

.specialty-muni-facility-heading h3 a:hover {
  text-decoration: underline;
}

.specialty-muni-detail {
  flex-shrink: 0;
  padding: 5px 10px;
  border: 1px solid #cfe5ed;
  border-radius: 5px;
  background: #eff8fb;
  color: #076780;
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.specialty-muni-detail span {
  margin-left: 3px;
}

.specialty-muni-facility-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px 12px;
  margin-bottom: 7px;
  color: #6b7e89;
  font-size: .79rem;
}

.specialty-muni-type {
  padding: 3px 8px;
  border-radius: 4px;
  background: #e7f4f9;
  color: #076780;
  font-size: .74rem;
  font-weight: 700;
}

.specialty-muni-address {
  margin: 0 0 8px;
  color: #516976;
  font-size: .86rem;
  line-height: 1.65;
}

.specialty-muni-address span {
  margin-right: 4px;
  color: #8aa0ab;
}

.specialty-muni-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.specialty-muni-tags span {
  padding: 3px 7px;
  border: 1px solid #e0e9ee;
  border-radius: 4px;
  background: #f6f9fa;
  color: #647987;
  font-size: .73rem;
  line-height: 1.4;
}

.specialty-muni-tags span.is-current {
  border-color: #a8d5e2;
  background: #e7f4f9;
  color: #076780;
  font-weight: 700;
}

/* ページネーション */
.specialty-muni-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 24px;
}

.specialty-muni-pagination a,
.specialty-muni-pagination span.is-active {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 37px;
  height: 37px;
  padding: 0 10px;
  border: 1px solid #d5e5ec;
  border-radius: 6px;
  background: #fff;
  color: #087f9f;
  font-size: .87rem;
  font-weight: 700;
  text-decoration: none;
}

.specialty-muni-pagination a:hover {
  background: #e7f4f9;
}

.specialty-muni-pagination span.is-active {
  border-color: #087f9f;
  background: #087f9f;
  color: #fff;
}

.specialty-muni-page-dots {
  padding: 0 4px;
  color: #8799a3;
}

/* 注意事項 */
.specialty-muni-guide {
  margin-top: 26px;
  padding: 20px;
  border: 1px solid #dce9ee;
  border-radius: 10px;
  background: #f5fafc;
}

.specialty-muni-guide h2 {
  margin: 0 0 10px;
  color: #173748;
  font-size: 1.1rem;
}

.specialty-muni-guide p {
  margin: 0;
  color: #536b78;
  font-size: .9rem;
  line-height: 1.85;
}

.specialty-muni-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 30px;
}

.specialty-muni-related-links a {
  padding: 10px 14px;
  border: 1px solid #cfe5ed;
  border-radius: 7px;
  background: #e7f4f9;
  color: #076780;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
}

.specialty-muni-related-links a:hover {
  background: #d6edf5;
}

/* モバイル */
@media (max-width: 767px) {
  .specialty-muni-header h1 {
    font-size: 1.4rem;
  }

  .specialty-muni-overview {
    gap: 7px;
  }

  .specialty-muni-overview-item {
    padding: 12px 5px;
  }

  .specialty-muni-overview-item strong {
    font-size: .95rem;
  }

  .specialty-muni-overview-item:first-child strong {
    font-size: 1.25rem;
  }

  .specialty-muni-overview-item span {
    font-size: .69rem;
  }

  .specialty-muni-list {
    padding: 12px;
  }

  .specialty-muni-facility {
    padding: 12px;
  }

  .specialty-muni-facility-heading h3 {
    font-size: .94rem;
  }

  .specialty-muni-detail {
    padding: 5px 8px;
    font-size: .74rem;
  }

  .specialty-muni-guide {
    padding: 16px;
  }
}

/* ========================================
   トップページ
======================================== */

.home-intro {
  margin: 20px 0 25px;
}

.home-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: #087f9f;
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.home-intro h1 {
  margin: 0 0 11px;
  color: #172d3c;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.4;
}

.home-intro p {
  max-width: 900px;
  margin: 0;
  color: #586c79;
  font-size: .95rem;
  line-height: 1.85;
}

/* 共通セクション */
.home-section {
  margin-bottom: 30px;
}

.home-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 15px;
  padding: 0 0 11px 12px;
  border-bottom: 1px solid #e1ebef;
  border-left: 4px solid #087f9f;
}

.home-section-heading h2 {
  margin: 0;
  color: #173748;
  font-size: 1.18rem;
  line-height: 1.4;
}

.home-section-heading p {
  margin: 4px 0 0;
  color: #748994;
  font-size: .8rem;
}

.home-section-more {
  flex-shrink: 0;
  color: #087f9f;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
}

/* メイン統計 */
.home-stat-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 19px 22px;
  border: 1px solid #b9dce8;
  border-radius: 10px;
  background: #e7f4f9;
}

.home-stat-main>div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.home-stat-main>div>span {
  color: #466c7d;
  font-size: .85rem;
  font-weight: 700;
}

.home-stat-main strong {
  color: #076780;
  font-size: 2rem;
  line-height: 1.2;
}

.home-stat-main strong small {
  margin-left: 3px;
  font-size: .85rem;
}

.home-stat-main>a {
  padding: 9px 13px;
  border-radius: 6px;
  background: #087f9f;
  color: #fff;
  font-size: .83rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.home-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
  margin-top: 10px;
}

.home-stat-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 13px 12px;
  border: 1px solid #dce8ee;
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
}

.home-stat-card:hover {
  border-color: #8fc9d9;
  background: #f3fafc;
}

.home-stat-card>span {
  color: #526b79;
  font-size: .8rem;
  font-weight: 700;
}

.home-stat-card strong {
  color: #173748;
  font-size: 1.3rem;
}

.home-stat-card small {
  color: #087f9f;
  font-size: .73rem;
}

.home-data-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 14px;
  color: #637987;
  font-size: .84rem;
}

.home-data-summary strong {
  color: #087f9f;
}

.home-data-date {
  margin: 11px 0 0;
  color: #718793;
  font-size: .78rem;
}

.home-data-date span {
  margin-left: 5px;
}

/* 検索フォーム */
.home-search-form {
  padding: 20px;
  border: 1px solid #dce8ee;
  border-radius: 10px;
  background: #fff;
}

.home-search-fields {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 12px;
}

.home-search-field {
  min-width: 0;
}

.home-search-field label {
  display: block;
  margin-bottom: 7px;
  color: #365668;
  font-size: .83rem;
  font-weight: 700;
}

.home-search-field input,
.home-search-field select {
  width: 100%;
  min-width: 0;
  height: 43px;
  padding: 0 12px;
  border: 1px solid #cfdee5;
  border-radius: 6px;
  background: #fff;
  color: #263d4b;
  font: inherit;
  font-size: .9rem;
}

.home-search-field input:focus,
.home-search-field select:focus {
  border-color: #087f9f;
  outline: 2px solid #d9f0f7;
}

.home-search-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 15px;
}

.home-search-actions button {
  padding: 11px 22px;
  border: 0;
  border-radius: 6px;
  background: #087f9f;
  color: #fff;
  font: inherit;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
}

.home-search-actions button:hover {
  background: #076780;
}

.home-search-actions a {
  color: #087f9f;
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
}

/* 検索経路 */
.home-search-paths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.home-search-paths a {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 18px;
  border: 1px solid #dce8ee;
  border-radius: 9px;
  background: #fff;
  color: inherit;
  text-decoration: none;
}

.home-search-paths a:hover {
  border-color: #8fc9d9;
  background: #f4fafc;
}

.home-path-number {
  color: #087f9f;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.home-search-paths strong {
  color: #173748;
  font-size: 1.05rem;
}

.home-search-paths a>span:not(.home-path-number) {
  flex: 1;
  color: #657b87;
  font-size: .83rem;
  line-height: 1.6;
}

.home-search-paths em {
  color: #087f9f;
  font-size: .8rem;
  font-style: normal;
  font-weight: 700;
}

/* 地域一覧 */
.home-region-panel {
  padding: 19px;
  border: 1px solid #dce8ee;
  border-radius: 10px;
  background: #fff;
}

.home-region-group+.home-region-group {
  margin-top: 20px;
}

.home-region-group h3 {
  margin: 0 0 10px;
  padding-bottom: 7px;
  border-bottom: 1px solid #edf1f4;
  color: #375567;
  font-size: .95rem;
}

.home-prefecture-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.home-prefecture-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-width: 0;
  padding: 10px;
  border: 1px solid #e0e9ee;
  border-radius: 6px;
  color: #244b60;
  text-decoration: none;
}

.home-prefecture-grid a:hover {
  border-color: #8fc9d9;
  background: #f3fafc;
}

.home-prefecture-grid a span {
  font-size: .84rem;
  font-weight: 700;
}

.home-prefecture-grid a small {
  color: #7c909b;
  font-size: .72rem;
  white-space: nowrap;
}

/* 診療科目 */
.home-specialty-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.home-specialty-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px;
  border: 1px solid #dce8ee;
  border-radius: 7px;
  background: #fff;
  text-decoration: none;
}

.home-specialty-grid a:hover {
  border-color: #8fc9d9;
  background: #eff8fb;
}

.home-specialty-grid strong {
  min-width: 0;
  color: #244b60;
  font-size: .86rem;
}

.home-specialty-grid span {
  flex-shrink: 0;
  color: #718793;
  font-size: .73rem;
  white-space: nowrap;
}

.home-section-footer {
  margin-top: 12px;
  text-align: right;
}

.home-section-footer a {
  color: #087f9f;
  font-size: .84rem;
  font-weight: 700;
  text-decoration: none;
}

/* 施設種別 */
.home-facility-types {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.home-facility-types a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 1px solid #dce8ee;
  border-radius: 7px;
  background: #fff;
  text-decoration: none;
}

.home-facility-types a:hover {
  border-color: #8fc9d9;
  background: #f3fafc;
}

.home-facility-types strong {
  color: #244b60;
  font-size: .92rem;
}

.home-facility-types p {
  margin: 4px 0 0;
  color: #748994;
  font-size: .78rem;
}

.home-facility-types a>span {
  flex-shrink: 0;
  color: #087f9f;
  font-size: .8rem;
  font-weight: 700;
  white-space: nowrap;
}

.home-section-note {
  margin: 10px 0 0;
  color: #81929b;
  font-size: .77rem;
}

/* 口コミ案内 */
.home-review-intro {
  padding: 20px;
  border: 1px solid #cfe5ed;
  border-radius: 10px;
  background: #f1f9fc;
}

.home-review-intro strong {
  color: #173748;
  font-size: 1.05rem;
}

.home-review-intro p {
  margin: 9px 0 12px;
  color: #536b78;
  font-size: .9rem;
  line-height: 1.8;
}

.home-review-intro span {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 5px;
  background: #dceef5;
  color: #076780;
  font-size: .77rem;
  font-weight: 700;
}

/* 出典・更新情報 */
.home-source-content {
  border: 1px solid #dce8ee;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.home-source-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 15px;
  padding: 15px 18px;
}

.home-source-row+.home-source-row {
  border-top: 1px solid #e8eff2;
}

.home-source-row>strong {
  color: #375567;
  font-size: .86rem;
}

.home-source-row p {
  margin: 0;
  color: #5d7481;
  font-size: .85rem;
  line-height: 1.8;
}

.home-source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 12px;
}

.home-source-links a {
  color: #087f9f;
  font-size: .83rem;
  font-weight: 700;
  text-decoration: none;
}

/* タブレット */
@media (max-width: 950px) {
  .home-stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-prefecture-grid,
  .home-specialty-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* モバイル */
@media (max-width: 767px) {
  .home-intro h1 {
    font-size: 1.45rem;
  }

  .home-section {
    margin-bottom: 26px;
  }

  .home-section-heading h2 {
    font-size: 1.08rem;
  }

  .home-stat-main {
    padding: 16px;
  }

  .home-stat-main strong {
    font-size: 1.6rem;
  }

  .home-stat-main>a {
    padding: 8px 10px;
    font-size: .75rem;
  }

  .home-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .home-stat-card {
    padding: 11px;
  }

  .home-stat-card strong {
    font-size: 1.18rem;
  }

  .home-search-form {
    padding: 14px;
  }

  .home-search-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }

  .home-search-keyword {
    grid-column: 1 / -1;
  }

  .home-search-actions {
    flex-wrap: wrap;
  }

  .home-search-actions button {
    flex: 1;
  }

  .home-search-paths {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .home-search-paths a {
    gap: 5px;
    padding: 13px;
  }

  .home-region-panel {
    padding: 13px;
  }

  .home-prefecture-grid,
  .home-specialty-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .home-prefecture-grid a,
  .home-specialty-grid a {
    display: block;
    padding: 10px;
  }

  .home-prefecture-grid a small,
  .home-specialty-grid a span {
    display: block;
    margin-top: 4px;
    text-align: right;
  }

  .home-facility-types {
    grid-template-columns: 1fr;
  }

  .home-source-row {
    display: block;
    padding: 13px;
  }

  .home-source-row>strong {
    display: block;
    margin-bottom: 5px;
  }

  .home-review-intro {
    padding: 16px;
  }
}

/* ========================================
   施設種別 全国ページ
======================================== */

.facility-types-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 20px;
  color: #71818c;
  font-size: .85rem;
}

.facility-types-breadcrumb a {
  color: #087f9f;
  text-decoration: none;
}

.facility-types-header {
  margin-bottom: 20px;
}

.facility-types-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: #087f9f;
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.facility-types-header h1 {
  margin: 0 0 12px;
  color: #172d3c;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.45;
}

.facility-types-header p {
  margin: 0;
  color: #586c79;
  font-size: .95rem;
  line-height: 1.85;
}

/* 施設種別ナビ */
.facility-types-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 23px;
}

.facility-types-switch a {
  padding: 9px 14px;
  border: 1px solid #cfe2ea;
  border-radius: 7px;
  background: #fff;
  color: #416272;
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
}

.facility-types-switch a:hover {
  border-color: #8fc9d9;
  background: #eff8fb;
}

.facility-types-switch a.is-active {
  border-color: #087f9f;
  background: #087f9f;
  color: #fff;
}

/* 概要 */
.facility-types-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 27px;
}

.facility-types-overview-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 17px 10px;
  border: 1px solid #dce9ee;
  border-radius: 10px;
  background: #f5fafc;
}

.facility-types-overview-item strong {
  color: #087f9f;
  font-size: 1.45rem;
  line-height: 1.2;
}

.facility-types-overview-item span {
  color: #657b87;
  font-size: .78rem;
  text-align: center;
}

/* 都道府県一覧 */
.facility-types-list {
  padding: 21px;
  border: 1px solid #dce8ee;
  border-radius: 12px;
  background: #fff;
}

.facility-types-section-heading {
  margin-bottom: 23px;
  padding: 0 0 13px 12px;
  border-bottom: 1px solid #e1ebef;
  border-left: 4px solid #087f9f;
}

.facility-types-section-heading h2 {
  margin: 0;
  color: #173748;
  font-size: 1.2rem;
}

.facility-types-section-heading p {
  margin: 5px 0 0;
  color: #748994;
  font-size: .82rem;
  line-height: 1.6;
}

.facility-types-region+.facility-types-region {
  margin-top: 25px;
}

.facility-types-region h3 {
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #edf1f4;
  color: #375567;
  font-size: 1rem;
}

.facility-types-prefecture-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.facility-types-prefecture-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  padding: 12px;
  border: 1px solid #dce8ee;
  border-radius: 7px;
  background: #fff;
  color: #203d4d;
  text-decoration: none;
  transition: background .15s, border-color .15s;
}

a.facility-types-prefecture-item:hover {
  border-color: #8fc9d9;
  background: #eff8fb;
}

.facility-types-prefecture-item span {
  min-width: 0;
  font-size: .88rem;
  font-weight: 700;
}

.facility-types-prefecture-item small {
  flex-shrink: 0;
  color: #718793;
  font-size: .73rem;
  white-space: nowrap;
}

.facility-types-prefecture-empty {
  background: #f8fafb;
  color: #9aa9b0;
}

.facility-types-prefecture-empty span {
  font-weight: 500;
}

.facility-types-prefecture-empty small {
  color: #a3b0b7;
}

/* 案内 */
.facility-types-guide {
  margin-top: 26px;
  padding: 20px;
  border: 1px solid #dce9ee;
  border-radius: 10px;
  background: #f5fafc;
}

.facility-types-guide h2 {
  margin: 0 0 10px;
  color: #173748;
  font-size: 1.1rem;
}

.facility-types-guide p {
  margin: 0;
  color: #536b78;
  font-size: .9rem;
  line-height: 1.85;
}

.facility-types-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 30px;
}

.facility-types-related-links a {
  padding: 10px 14px;
  border: 1px solid #cfe5ed;
  border-radius: 7px;
  background: #e7f4f9;
  color: #076780;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
}

.facility-types-related-links a:hover {
  background: #d6edf5;
}

/* モバイル */
@media (max-width: 767px) {
  .facility-types-header h1 {
    font-size: 1.4rem;
  }

  .facility-types-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .facility-types-switch a {
    padding: 9px 8px;
    font-size: .81rem;
    text-align: center;
  }

  .facility-types-overview {
    gap: 7px;
  }

  .facility-types-overview-item {
    padding: 13px 5px;
  }

  .facility-types-overview-item strong {
    font-size: 1.25rem;
  }

  .facility-types-overview-item span {
    font-size: .69rem;
  }

  .facility-types-list {
    padding: 14px;
  }

  .facility-types-prefecture-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .facility-types-prefecture-item {
    display: block;
    padding: 10px;
  }

  .facility-types-prefecture-item span {
    display: block;
    font-size: .84rem;
  }

  .facility-types-prefecture-item small {
    display: block;
    margin-top: 5px;
    text-align: right;
  }

  .facility-types-guide {
    padding: 16px;
  }
}

/* ========================================
   施設種別 × 都道府県
======================================== */

.facility-type-pref-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 20px;
  color: #71818c;
  font-size: .85rem;
}

.facility-type-pref-breadcrumb a {
  color: #087f9f;
  text-decoration: none;
}

.facility-type-pref-header {
  margin-bottom: 22px;
}

.facility-type-pref-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: #087f9f;
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.facility-type-pref-header h1 {
  margin: 0 0 12px;
  color: #172d3c;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.45;
}

.facility-type-pref-header p {
  margin: 0;
  color: #586c79;
  font-size: .95rem;
  line-height: 1.85;
}

/* 概要 */
.facility-type-pref-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 27px;
}

.facility-type-pref-overview-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 17px 10px;
  border: 1px solid #dce9ee;
  border-radius: 10px;
  background: #f5fafc;
}

.facility-type-pref-overview-item strong {
  color: #087f9f;
  font-size: 1.45rem;
  line-height: 1.2;
}

.facility-type-pref-overview-item span {
  color: #657b87;
  font-size: .78rem;
  text-align: center;
}

/* 市区町村一覧 */
.facility-type-pref-list {
  padding: 21px;
  border: 1px solid #dce8ee;
  border-radius: 12px;
  background: #fff;
}

.facility-type-pref-section-heading {
  margin-bottom: 24px;
  padding: 0 0 13px 12px;
  border-bottom: 1px solid #e1ebef;
  border-left: 4px solid #087f9f;
}

.facility-type-pref-section-heading h2 {
  margin: 0;
  color: #173748;
  font-size: 1.2rem;
}

.facility-type-pref-section-heading p {
  margin: 5px 0 0;
  color: #748994;
  font-size: .82rem;
  line-height: 1.6;
}

.facility-type-pref-group+.facility-type-pref-group {
  margin-top: 26px;
}

.facility-type-pref-group h3 {
  margin: 0 0 13px;
  padding-bottom: 9px;
  border-bottom: 1px solid #edf1f4;
  color: #375567;
  font-size: 1rem;
}

.facility-type-pref-subgroup+.facility-type-pref-subgroup {
  margin-top: 18px;
}

.facility-type-pref-subgroup h4 {
  margin: 0 0 10px;
  color: #4b6878;
  font-size: .91rem;
  font-weight: 700;
}

.facility-type-pref-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.facility-type-pref-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  padding: 12px;
  border: 1px solid #dce8ee;
  border-radius: 7px;
  background: #fff;
  color: #203d4d;
  text-decoration: none;
  transition: background .15s, border-color .15s;
}

a.facility-type-pref-item:hover {
  border-color: #8fc9d9;
  background: #eff8fb;
}

.facility-type-pref-item span {
  min-width: 0;
  font-size: .88rem;
  font-weight: 700;
}

.facility-type-pref-item small {
  flex-shrink: 0;
  color: #718793;
  font-size: .73rem;
  white-space: nowrap;
}

.facility-type-pref-item.is-empty {
  background: #f8fafb;
  color: #9aa9b0;
}

.facility-type-pref-item.is-empty span {
  font-weight: 500;
}

.facility-type-pref-item.is-empty small {
  color: #a3b0b7;
}

.facility-type-pref-empty {
  color: #718793;
  font-size: .9rem;
}

/* 案内 */
.facility-type-pref-guide {
  margin-top: 26px;
  padding: 20px;
  border: 1px solid #dce9ee;
  border-radius: 10px;
  background: #f5fafc;
}

.facility-type-pref-guide h2 {
  margin: 0 0 10px;
  color: #173748;
  font-size: 1.1rem;
}

.facility-type-pref-guide p {
  margin: 0;
  color: #536b78;
  font-size: .9rem;
  line-height: 1.85;
}

.facility-type-pref-related {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 30px;
}

.facility-type-pref-related a {
  padding: 10px 14px;
  border: 1px solid #cfe5ed;
  border-radius: 7px;
  background: #e7f4f9;
  color: #076780;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
}

.facility-type-pref-related a:hover {
  background: #d6edf5;
}

/* タブレット */
@media (max-width: 950px) {
  .facility-type-pref-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* モバイル */
@media (max-width: 767px) {
  .facility-type-pref-header h1 {
    font-size: 1.4rem;
  }

  .facility-type-pref-overview {
    gap: 7px;
  }

  .facility-type-pref-overview-item {
    padding: 13px 5px;
  }

  .facility-type-pref-overview-item strong {
    font-size: 1.25rem;
  }

  .facility-type-pref-overview-item span {
    font-size: .69rem;
  }

  .facility-type-pref-list {
    padding: 14px;
  }

  .facility-type-pref-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .facility-type-pref-item {
    display: block;
    padding: 10px;
  }

  .facility-type-pref-item span {
    display: block;
    font-size: .84rem;
  }

  .facility-type-pref-item small {
    display: block;
    margin-top: 5px;
    text-align: right;
  }

  .facility-type-pref-guide {
    padding: 16px;
  }
}

/* ========================================
   施設種別 × 市区町村
======================================== */

.facility-type-muni-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 20px;
  color: #71818c;
  font-size: .85rem;
}

.facility-type-muni-breadcrumb a {
  color: #087f9f;
  text-decoration: none;
}

.facility-type-muni-header {
  margin-bottom: 22px;
}

.facility-type-muni-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: #087f9f;
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.facility-type-muni-header h1 {
  margin: 0 0 12px;
  color: #172d3c;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.45;
}

.facility-type-muni-header p {
  margin: 0;
  color: #586c79;
  font-size: .95rem;
  line-height: 1.85;
}

/* 概要 */
.facility-type-muni-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 27px;
}

.facility-type-muni-overview-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  padding: 17px 10px;
  border: 1px solid #dce9ee;
  border-radius: 10px;
  background: #f5fafc;
}

.facility-type-muni-overview-item strong {
  max-width: 100%;
  color: #087f9f;
  font-size: 1.25rem;
  line-height: 1.35;
  text-align: center;
  overflow-wrap: anywhere;
}

.facility-type-muni-overview-item span {
  color: #657b87;
  font-size: .78rem;
  text-align: center;
}

/* 一覧 */
.facility-type-muni-list {
  padding: 21px;
  border: 1px solid #dce8ee;
  border-radius: 12px;
  background: #fff;
}

.facility-type-muni-section-heading {
  margin-bottom: 17px;
  padding: 0 0 12px 12px;
  border-bottom: 1px solid #e1ebef;
  border-left: 4px solid #087f9f;
}

.facility-type-muni-section-heading h2 {
  margin: 0;
  color: #173748;
  font-size: 1.2rem;
}

.facility-type-muni-section-heading p {
  margin: 5px 0 0;
  color: #748994;
  font-size: .82rem;
}

.facility-type-muni-cards {
  display: grid;
  gap: 10px;
}

.facility-type-muni-card {
  padding: 16px;
  border: 1px solid #dce8ee;
  border-radius: 9px;
  background: #fff;
}

.facility-type-muni-card:hover {
  border-color: #a9d2df;
  background: #fcfeff;
}

/* 施設名・詳細リンク */
.facility-type-muni-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.facility-type-muni-card-heading h3 {
  min-width: 0;
  margin: 0;
  font-size: 1.03rem;
  line-height: 1.5;
}

.facility-type-muni-card-heading h3 a {
  color: #087f9f;
  font-weight: 700;
  text-decoration: none;
}

.facility-type-muni-card-heading h3 a:hover {
  text-decoration: underline;
}

.facility-type-muni-detail {
  flex-shrink: 0;
  margin-top: 2px;
  padding: 4px 9px;
  border: 1px solid #cfe5ed;
  border-radius: 5px;
  background: #e7f4f9;
  color: #076780;
  font-size: .77rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

/* バッジ */
.facility-type-muni-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}

.facility-type-muni-badges span {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: .73rem;
  font-weight: 700;
}

.facility-type-muni-type-badge {
  background: #e7f4f9;
  color: #076780;
}

.facility-type-muni-beds-badge {
  background: #f0f3f6;
  color: #526878;
}

.facility-type-muni-review-badge {
  background: #fff3dd;
  color: #986b22;
}

/* 施設情報 */
.facility-type-muni-card-info {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}

.facility-type-muni-card-info p {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  color: #4f6573;
  font-size: .86rem;
  line-height: 1.65;
}

.facility-type-muni-info-label {
  flex-shrink: 0;
  width: 72px;
  color: #7b8d97;
  font-size: .8rem;
  font-weight: 700;
}

.facility-type-muni-card-info p>span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.facility-type-muni-card-info a {
  color: #087f9f;
  text-decoration: none;
}

.facility-type-muni-card-info a:hover {
  text-decoration: underline;
}

/* 掲載なし */
.facility-type-muni-empty {
  padding: 22px;
  border-radius: 8px;
  background: #f5fafc;
  text-align: center;
}

.facility-type-muni-empty p {
  margin: 0 0 12px;
  color: #657b87;
  font-size: .9rem;
}

.facility-type-muni-empty a {
  color: #087f9f;
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
}

/* ページネーション */
.facility-type-muni-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  margin: 22px 0 28px;
}

.facility-type-muni-pagination a,
.facility-type-muni-pagination .is-current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 37px;
  height: 37px;
  padding: 0 10px;
  border: 1px solid #d3e3e9;
  border-radius: 6px;
  background: #fff;
  color: #416272;
  font-size: .84rem;
  font-weight: 700;
  text-decoration: none;
}

.facility-type-muni-pagination a:hover {
  border-color: #087f9f;
  background: #eff8fb;
}

.facility-type-muni-pagination .is-current {
  border-color: #087f9f;
  background: #087f9f;
  color: #fff;
}

.facility-type-muni-page-ellipsis {
  padding: 0 3px;
  color: #8a9ba5;
}

/* 案内 */
.facility-type-muni-guide {
  margin-top: 26px;
  padding: 20px;
  border: 1px solid #dce9ee;
  border-radius: 10px;
  background: #f5fafc;
}

.facility-type-muni-guide h2 {
  margin: 0 0 10px;
  color: #173748;
  font-size: 1.1rem;
}

.facility-type-muni-guide p {
  margin: 0;
  color: #536b78;
  font-size: .9rem;
  line-height: 1.85;
}

.facility-type-muni-related {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 30px;
}

.facility-type-muni-related a {
  padding: 10px 14px;
  border: 1px solid #cfe5ed;
  border-radius: 7px;
  background: #e7f4f9;
  color: #076780;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
}

.facility-type-muni-related a:hover {
  background: #d6edf5;
}

/* モバイル */
@media (max-width: 767px) {
  .facility-type-muni-header h1 {
    font-size: 1.4rem;
  }

  .facility-type-muni-overview {
    gap: 7px;
  }

  .facility-type-muni-overview-item {
    padding: 13px 5px;
  }

  .facility-type-muni-overview-item strong {
    font-size: 1.02rem;
  }

  .facility-type-muni-overview-item span {
    font-size: .69rem;
  }

  .facility-type-muni-list {
    padding: 13px;
  }

  .facility-type-muni-card {
    padding: 13px;
  }

  .facility-type-muni-card-heading h3 {
    font-size: .96rem;
  }

  .facility-type-muni-card-info p {
    gap: 8px;
    font-size: .82rem;
  }

  .facility-type-muni-info-label {
    width: 65px;
  }

  .facility-type-muni-guide {
    padding: 16px;
  }
}

/* ========================================
   病院ログ ご利用ガイド
======================================== */

.guide-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 20px;
  color: #71818c;
  font-size: .85rem;
}

.guide-breadcrumb a {
  color: #087f9f;
  text-decoration: none;
}

.guide-header {
  margin-bottom: 22px;
}

.guide-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: #087f9f;
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.guide-header h1 {
  margin: 0 0 12px;
  color: #172d3c;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.45;
}

.guide-header p {
  margin: 0;
  color: #586c79;
  font-size: .95rem;
  line-height: 1.85;
}

/* 目次 */
.guide-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 28px;
}

.guide-nav a {
  padding: 11px 9px;
  border: 1px solid #cfe5ed;
  border-radius: 7px;
  background: #f2f9fc;
  color: #076780;
  font-size: .85rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.guide-nav a:hover {
  background: #e1f1f7;
  border-color: #9ccddb;
}

/* セクション */
.guide-section {
  margin-bottom: 20px;
  padding: 23px;
  border: 1px solid #dce8ee;
  border-radius: 11px;
  background: #fff;
  scroll-margin-top: 85px;
}

.guide-section-heading {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 17px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e3edf1;
}

.guide-section-heading>span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 31px;
  height: 31px;
  border-radius: 7px;
  background: #087f9f;
  color: #fff;
  font-size: .8rem;
  font-weight: 800;
}

.guide-section-heading h2 {
  margin: 0;
  color: #173748;
  font-size: 1.17rem;
}

.guide-section>p {
  margin: 0 0 13px;
  color: #536b78;
  font-size: .91rem;
  line-height: 1.9;
}

.guide-section>p:last-child {
  margin-bottom: 0;
}

.guide-section h3 {
  margin: 22px 0 10px;
  color: #27495b;
  font-size: 1rem;
}

/* 特徴 */
.guide-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
  margin: 20px 0;
}

.guide-feature {
  padding: 15px;
  border: 1px solid #dbe9ee;
  border-radius: 8px;
  background: #f5fafc;
}

.guide-feature strong {
  display: block;
  margin-bottom: 7px;
  color: #076780;
  font-size: .9rem;
}

.guide-feature p {
  margin: 0;
  color: #5b7180;
  font-size: .83rem;
  line-height: 1.7;
}

/* 検索方法 */
.guide-search-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin: 18px 0;
}

.guide-search-card {
  display: block;
  padding: 16px;
  border: 1px solid #dbe9ee;
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
}

.guide-search-card:hover {
  border-color: #8fc9d9;
  background: #f2f9fc;
}

.guide-search-card strong {
  display: block;
  margin-bottom: 7px;
  color: #087f9f;
  font-size: .97rem;
}

.guide-search-card p {
  margin: 0 0 10px;
  color: #5b7180;
  font-size: .84rem;
  line-height: 1.7;
}

.guide-search-card span {
  color: #076780;
  font-size: .82rem;
  font-weight: 700;
}

/* 施設種別 */
.guide-type-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0;
}

.guide-type-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  border: 1px solid #dbe9ee;
  border-radius: 7px;
  color: #203d4d;
  text-decoration: none;
}

.guide-type-list a:hover {
  border-color: #8fc9d9;
  background: #f2f9fc;
}

.guide-type-list strong {
  color: #087f9f;
  font-size: .9rem;
}

.guide-type-list span {
  color: #748994;
  font-size: .79rem;
  text-align: right;
}

/* 口コミ準備中 */
.guide-review-status {
  margin: 18px 0;
  padding: 16px;
  border: 1px solid #d3e6ed;
  border-radius: 8px;
  background: #f2f9fc;
}

.guide-review-status strong {
  display: block;
  margin-bottom: 7px;
  color: #076780;
  font-size: .93rem;
}

.guide-review-status p {
  margin: 0;
  color: #536b78;
  font-size: .85rem;
  line-height: 1.75;
}

/* 注記 */
.guide-note {
  margin-top: 15px !important;
  padding: 13px 15px;
  border-left: 3px solid #8fc9d9;
  border-radius: 0 6px 6px 0;
  background: #f5fafc;
  color: #5c7280 !important;
  font-size: .85rem !important;
  line-height: 1.8 !important;
}

.guide-note strong {
  display: block;
  margin-bottom: 5px;
  color: #375567;
}

.guide-note p {
  margin: 0;
}

/* FAQ */
.guide-faq {
  border-top: 1px solid #e2ebef;
}

.guide-faq details {
  border-bottom: 1px solid #e2ebef;
}

.guide-faq summary {
  position: relative;
  padding: 15px 30px 15px 5px;
  color: #27495b;
  font-size: .91rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.guide-faq summary::-webkit-details-marker {
  display: none;
}

.guide-faq summary::after {
  content: '+';
  position: absolute;
  top: 11px;
  right: 7px;
  color: #087f9f;
  font-size: 1.3rem;
  font-weight: 400;
}

.guide-faq details[open] summary::after {
  content: '−';
}

.guide-faq details p {
  margin: 0;
  padding: 0 7px 16px;
  color: #536b78;
  font-size: .87rem;
  line-height: 1.8;
}

/* お問い合わせ */
.guide-contact-link {
  display: inline-block;
  margin-top: 6px;
  padding: 11px 17px;
  border-radius: 7px;
  background: #087f9f;
  color: #fff;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
}

.guide-contact-link:hover {
  background: #076780;
}

/* タブレット */
@media (max-width: 850px) {
  .guide-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-feature-grid {
    grid-template-columns: 1fr;
  }
}

/* モバイル */
@media (max-width: 767px) {
  .guide-header h1 {
    font-size: 1.4rem;
  }

  .guide-section {
    padding: 16px;
    scroll-margin-top: 65px;
  }

  .guide-section-heading h2 {
    font-size: 1.05rem;
  }

  .guide-nav a {
    padding: 10px 6px;
    font-size: .79rem;
  }

  .guide-search-grid,
  .guide-type-list {
    grid-template-columns: 1fr;
  }

  .guide-type-list a {
    padding: 11px;
  }

  .guide-section>p {
    font-size: .88rem;
  }
}

/* 公式情報源リンク */
.guide-source-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 17px 0 22px;
}

.guide-source-links a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 15px;
  border: 1px solid #dbe9ee;
  border-radius: 8px;
  background: #f5fafc;
  text-decoration: none;
}

.guide-source-links a:hover {
  border-color: #8fc9d9;
  background: #e7f4f9;
}

.guide-source-links strong {
  color: #076780;
  font-size: .9rem;
}

.guide-source-links span {
  color: #657b87;
  font-size: .8rem;
  line-height: 1.6;
}

@media (max-width: 767px) {
  .guide-source-links {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   お問い合わせ・運営者情報
======================================== */

.contact-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 20px;
  color: #71818c;
  font-size: .85rem;
}

.contact-breadcrumb a {
  color: #087f9f;
  text-decoration: none;
}

.contact-header {
  margin-bottom: 24px;
}

.contact-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: #087f9f;
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.contact-header h1 {
  margin: 0 0 12px;
  color: #172d3c;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.45;
}

.contact-header p {
  margin: 0;
  color: #586c79;
  font-size: .95rem;
  line-height: 1.85;
}

/* 共通セクション */
.contact-section {
  margin-bottom: 18px;
  padding: 22px;
  border: 1px solid #dce8ee;
  border-radius: 11px;
  background: #fff;
}

.contact-section h2 {
  margin: 0 0 16px;
  padding: 0 0 12px 12px;
  border-bottom: 1px solid #e3edf1;
  border-left: 4px solid #087f9f;
  color: #173748;
  font-size: 1.15rem;
}

.contact-section p {
  margin: 0 0 12px;
  color: #536b78;
  font-size: .9rem;
  line-height: 1.85;
}

/* お問い合わせボタン */
.contact-external-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 8px 0 12px;
  padding: 12px 23px;
  border-radius: 7px;
  background: #087f9f;
  color: #fff;
  font-size: .94rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s;
}

.contact-external-link:hover {
  background: #076780;
}

.contact-section .contact-note {
  margin: 0;
  color: #82949e;
  font-size: .78rem;
}

/* 運営者情報 */
.contact-info-list {
  margin: 0;
}

.contact-info-list>div {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  gap: 15px;
  padding: 13px 4px;
  border-bottom: 1px solid #edf1f4;
}

.contact-info-list>div:last-child {
  border-bottom: 0;
}

.contact-info-list dt {
  color: #607784;
  font-size: .86rem;
  font-weight: 700;
}

.contact-info-list dd {
  min-width: 0;
  margin: 0;
  color: #263e4c;
  font-size: .9rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.contact-info-list dd a {
  color: #087f9f;
  text-decoration: none;
}

.contact-info-list dd a:hover {
  text-decoration: underline;
}

/* ガイドリンク */
.contact-guide-link {
  display: inline-block;
  margin-top: 5px;
  color: #087f9f;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
}

.contact-guide-link:hover {
  text-decoration: underline;
}

/* モバイル */
@media (max-width: 767px) {
  .contact-header h1 {
    font-size: 1.4rem;
  }

  .contact-section {
    padding: 16px;
  }

  .contact-section h2 {
    font-size: 1.05rem;
  }

  .contact-info-list>div {
    grid-template-columns: 95px minmax(0, 1fr);
    gap: 10px;
    padding: 12px 2px;
  }

  .contact-info-list dt,
  .contact-info-list dd {
    font-size: .84rem;
  }
}

/* ========================================
   プライバシーポリシー・利用規約
======================================== */

.legal-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 20px;
  color: #71818c;
  font-size: .85rem;
}

.legal-breadcrumb a {
  color: #087f9f;
  text-decoration: none;
}

.legal-header {
  margin-bottom: 24px;
}

.legal-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: #087f9f;
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.legal-header h1 {
  margin: 0 0 12px;
  color: #172d3c;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.45;
}

.legal-header p {
  margin: 0;
  color: #586c79;
  font-size: .95rem;
  line-height: 1.85;
}

.legal-content {
  padding: 10px 25px;
  border: 1px solid #dce8ee;
  border-radius: 11px;
  background: #fff;
}

.legal-section {
  padding: 21px 0;
  border-bottom: 1px solid #e7edf1;
}

.legal-section:last-child {
  border-bottom: 0;
}

.legal-section h2 {
  margin: 0 0 13px;
  padding-left: 12px;
  border-left: 4px solid #087f9f;
  color: #173748;
  font-size: 1.08rem;
  line-height: 1.5;
}

.legal-section p {
  margin: 0 0 11px;
  color: #536b78;
  font-size: .9rem;
  line-height: 1.9;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul,
.legal-section ol {
  margin: 10px 0 14px;
  padding-left: 23px;
  color: #536b78;
  font-size: .9rem;
  line-height: 1.85;
}

.legal-section li {
  margin-bottom: 6px;
}

.legal-section a {
  color: #087f9f;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-info {
  margin: 15px 0 0;
  border-top: 1px solid #e7edf1;
}

.legal-info>div {
  display: grid;
  grid-template-columns: 135px minmax(0, 1fr);
  gap: 12px;
  padding: 11px 5px;
  border-bottom: 1px solid #e7edf1;
}

.legal-info dt {
  color: #617b89;
  font-size: .85rem;
  font-weight: 700;
}

.legal-info dd {
  margin: 0;
  color: #344f5d;
  font-size: .88rem;
  overflow-wrap: anywhere;
}

.legal-date {
  margin: 19px 0 35px;
  color: #81929c;
  font-size: .83rem;
  text-align: right;
}

@media (max-width: 767px) {
  .legal-header h1 {
    font-size: 1.4rem;
  }

  .legal-content {
    padding: 4px 16px;
  }

  .legal-section {
    padding: 18px 0;
  }

  .legal-section h2 {
    font-size: 1rem;
  }

  .legal-section p,
  .legal-section ul,
  .legal-section ol {
    font-size: .86rem;
  }

  .legal-info>div {
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 9px;
  }
}

/* ========================================
   医療機関評価バー
======================================== */

.medical-rating-bar {
  margin: 16px 0;
  padding: 13px 17px;
  border: 1px solid #cfe4eb;
  border-radius: 9px;
  background: #f5fbfd;
}

.medical-rating-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.medical-rating-heading {
  min-width: 0;
}

.medical-rating-title {
  display: block;
  color: #173748;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.5;
}

.medical-rating-subtitle {
  display: block;
  margin-top: 3px;
  color: #78909c;
  font-size: .74rem;
}

.medical-rating-controls {
  display: flex;
  align-items: center;
  gap: 17px;
  flex-shrink: 0;
}

.medical-rating-stars {
  display: flex;
  align-items: center;
  gap: 3px;
}

.medical-rating-star {
  padding: 2px;
  border: 0;
  background: transparent;
  color: #cbd6db;
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
  transition: color .12s, transform .12s;
}

.medical-rating-star:hover {
  color: #e9aa32;
  transform: scale(1.12);
}

.medical-rating-star.is-selected {
  color: #e6a52d;
}

.medical-rating-star:disabled {
  cursor: wait;
  opacity: .65;
}

.medical-rating-summary {
  display: flex;
  align-items: baseline;
  gap: 3px;
  white-space: nowrap;
}

.medical-rating-average {
  color: #173748;
  font-size: 1.22rem;
  font-weight: 800;
}

.medical-rating-max {
  color: #8396a0;
  font-size: .78rem;
}

.medical-rating-count {
  margin-left: 8px;
  color: #637c89;
  font-size: .78rem;
}

.medical-rating-feedback {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid #dcecf1;
}

.medical-rating-feedback[hidden],
.medical-rating-error[hidden] {
  display: none;
}

.medical-rating-message {
  color: #087f9f;
  font-size: .83rem;
  font-weight: 700;
}

.medical-rating-review-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: #087f9f;
  font-size: .83rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.medical-rating-error {
  margin: 10px 0 0;
  color: #b42318;
  font-size: .82rem;
}

/* モバイル */
@media (max-width: 767px) {
  .medical-rating-bar {
    padding: 12px 13px;
  }

  .medical-rating-main {
    flex-direction: column;
    align-items: stretch;
    gap: 9px;
  }

  .medical-rating-controls {
    justify-content: space-between;
    gap: 8px;
  }

  .medical-rating-star {
    font-size: 1.8rem;
  }

  .medical-rating-count {
    margin-left: 5px;
    font-size: .73rem;
  }
}

/* ========================================
   病院詳細：基本情報・口コミタブ
======================================== */

.hospital-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 20px 0 18px;
  padding: 5px;
  background: #e7f4f9;
  border-radius: 10px;
}

.hospital-tab {
  padding: 13px 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #547484;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.hospital-tab.is-active {
  background: #087f9f;
  color: #fff;
  box-shadow: 0 2px 6px rgba(8, 127, 159, .15);
}

.hospital-tab:hover:not(.is-active) {
  background: #d4edf5;
  color: #076780;
}

.hospital-tab-panel[hidden] {
  display: none;
}

/* ========================================
   口コミ
======================================== */

.hospital-reviews {
  margin-bottom: 25px;
}

.hospital-reviews-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 18px;
}

.hospital-reviews-heading h2 {
  margin: 0 0 5px;
  color: #173748;
  font-size: 1.15rem;
}

.hospital-reviews-heading p {
  margin: 0;
  color: #718692;
  font-size: .82rem;
  line-height: 1.6;
}

.hospital-review-post-button,
.hospital-review-submit {
  padding: 10px 17px;
  border: 0;
  border-radius: 7px;
  background: #087f9f;
  color: #fff;
  font-size: .86rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.hospital-review-post-button:hover,
.hospital-review-submit:hover {
  background: #076780;
}

.hospital-review-submit:disabled {
  opacity: .55;
  cursor: wait;
}

/* 投稿フォーム */

.hospital-review-form-wrap {
  margin-bottom: 22px;
  padding: 18px;
  border: 1px solid #cde5ed;
  border-radius: 9px;
  background: #f5fbfd;
}

.hospital-review-form-wrap[hidden] {
  display: none;
}

.hospital-review-form-title {
  margin-bottom: 6px;
  color: #173748;
  font-size: 1rem;
  font-weight: 700;
}

.hospital-review-form-note {
  margin: 0 0 12px;
  color: #718692;
  font-size: .8rem;
  line-height: 1.65;
}

#hospital-review-body {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 135px;
  padding: 12px;
  border: 1px solid #cbdde5;
  border-radius: 7px;
  background: #fff;
  color: #253b48;
  font: inherit;
  font-size: .9rem;
  line-height: 1.75;
  resize: vertical;
}

#hospital-review-body:focus {
  outline: 2px solid #a9dfe9;
  border-color: #087f9f;
}

.hospital-review-form-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.hospital-review-length {
  color: #718692;
  font-size: .78rem;
}

.hospital-review-form-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hospital-review-cancel {
  padding: 10px 13px;
  border: 1px solid #d5e2e8;
  border-radius: 7px;
  background: #fff;
  color: #547484;
  font-size: .85rem;
  cursor: pointer;
}

.hospital-review-form-message {
  margin: 9px 0 0;
  color: #b42318;
  font-size: .82rem;
}

.hospital-review-form-message:empty {
  display: none;
}

/* 一覧 */

.hospital-review-list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 2px solid #e7f0f4;
}

.hospital-review-list-heading strong {
  color: #173748;
  font-size: .98rem;
}

.hospital-review-list-heading span {
  color: #81939c;
  font-size: .78rem;
}

.hospital-review-item {
  padding: 17px 3px;
  border-bottom: 1px solid #e5edf1;
}

.hospital-review-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.hospital-review-author {
  color: #315363;
  font-size: .85rem;
}

.hospital-review-date {
  color: #8b9ca5;
  font-size: .75rem;
}

.hospital-review-item-body {
  margin: 0;
  color: #334955;
  font-size: .9rem;
  line-height: 1.85;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.hospital-review-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 13px;
  color: #718692;
  font-size: .78rem;
}

.hospital-review-empty {
  padding: 32px 12px;
  color: #82939b;
  font-size: .87rem;
  text-align: center;
}

.hospital-review-more-wrap {
  margin-top: 20px;
  text-align: center;
}

.hospital-review-more {
  min-width: 180px;
  padding: 10px 20px;
  border: 1px solid #bddce6;
  border-radius: 7px;
  background: #fff;
  color: #087f9f;
  font-size: .87rem;
  font-weight: 700;
  cursor: pointer;
}

.hospital-review-more[hidden] {
  display: none;
}

.hospital-review-list-message {
  margin: 12px 0;
  color: #087f9f;
  font-size: .84rem;
}

.hospital-review-list-message:empty {
  display: none;
}

@media (max-width: 767px) {
  .hospital-tabs {
    margin: 16px 0;
  }

  .hospital-tab {
    padding: 12px 8px;
    font-size: .93rem;
  }

  .hospital-reviews-heading {
    align-items: flex-start;
    gap: 10px;
  }

  .hospital-reviews-heading h2 {
    font-size: 1.05rem;
  }

  .hospital-review-post-button {
    padding: 9px 11px;
    font-size: .8rem;
  }

  .hospital-review-form-wrap {
    padding: 13px;
  }

  .hospital-review-item {
    padding: 15px 2px;
  }

  .hospital-review-item-actions {
    gap: 12px;
  }
}

/* ========================================
   病院ログ：口コミカード・吹き出し・返信
======================================== */

.hospital-review-list {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.hospital-review-item {
  padding: 17px;
  border: 1px solid #dce8ed;
  border-radius: 11px;
  background: #f6fafc;
  box-shadow: 0 2px 7px rgba(20, 60, 80, .035);
}

.hospital-review-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.hospital-review-identity {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.hospital-review-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 35px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #d8eef5;
  color: #087f9f;
}

.hospital-review-avatar svg {
  width: 21px;
  height: 21px;
}

.hospital-review-author-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  min-width: 0;
}

.hospital-review-author {
  color: #254c5e;
  font-size: .82rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.hospital-review-mine {
  padding: 2px 6px;
  border-radius: 4px;
  background: #e0f2e8;
  color: #24734b;
  font-size: .68rem;
  font-weight: 700;
}

.hospital-review-date {
  color: #8296a0;
  font-size: .73rem;
  white-space: nowrap;
}

/* 白背景の吹き出し */

.hospital-review-bubble {
  position: relative;
  margin-left: 13px;
  padding: 14px 16px;
  border: 1px solid #dce7ec;
  border-radius: 9px;
  background: #fff;
}

.hospital-review-bubble::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 15px;
  width: 12px;
  height: 12px;
  border-top: 1px solid #dce7ec;
  border-left: 1px solid #dce7ec;
  background: #fff;
  transform: rotate(45deg);
}

.hospital-review-item-body {
  margin: 0;
  color: #304550;
  font-size: .9rem;
  line-height: 1.85;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* リアクション */

.hospital-review-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0 13px;
}

.hospital-review-reaction {
  padding: 6px 11px;
  border: 1px solid #d9e5eb;
  border-radius: 20px;
  background: #fff;
  color: #617b89;
  font-size: .77rem;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}

.hospital-review-reaction:hover {
  border-color: #9dcddc;
  background: #eef8fb;
  color: #087f9f;
}

.hospital-review-reaction.is-active {
  border-color: #087f9f;
  background: #e1f3f8;
  color: #076780;
  font-weight: 700;
}

.hospital-review-reaction:disabled {
  opacity: .6;
  cursor: wait;
}

.hospital-review-action-message {
  margin: 7px 0 0 13px;
  color: #b42318;
  font-size: .78rem;
}

.hospital-review-action-message:empty {
  display: none;
}

/* 返信操作 */

.hospital-review-reply-area {
  margin: 13px 0 0 13px;
  padding-top: 11px;
  border-top: 1px solid #e0eaf0;
}

.hospital-review-reply-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.hospital-review-reply-button {
  padding: 7px 12px;
  border: 1px solid #087f9f;
  border-radius: 6px;
  background: #087f9f;
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
}

.hospital-review-reply-button:hover {
  background: #076780;
}

.hospital-review-reply-count {
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: #087f9f;
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
}

.hospital-review-reply-count:hover {
  text-decoration: underline;
}

/* 返信投稿フォーム */

.hospital-review-reply-form-wrap {
  margin-top: 14px;
  padding: 13px;
  border: 1px solid #d4e8ee;
  border-radius: 8px;
  background: #fff;
}

.hospital-review-reply-form-wrap[hidden],
.hospital-review-reply-count[hidden],
.hospital-review-replies-more[hidden],
.hospital-review-replies[hidden] {
  display: none;
}

.hospital-review-reply-title {
  display: block;
  margin-bottom: 10px;
  color: #254c5e;
  font-size: .87rem;
}

.hospital-review-reply-textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 95px;
  padding: 11px;
  border: 1px solid #cbdde5;
  border-radius: 6px;
  background: #fff;
  color: #304550;
  font: inherit;
  font-size: .85rem;
  line-height: 1.7;
  resize: vertical;
}

.hospital-review-reply-textarea:focus {
  outline: 2px solid #a9dfe9;
  border-color: #087f9f;
}

.hospital-review-reply-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

/* 返信一覧 */

.hospital-review-replies {
  display: grid;
  gap: 9px;
  margin-top: 13px;
  padding-left: 16px;
  border-left: 3px solid #c5e5ee;
}

.hospital-review-item.is-reply {
  padding: 12px;
  border-color: #e0e9ed;
  border-radius: 8px;
  background: #edf5f8;
  box-shadow: none;
}

.hospital-review-item.is-reply .hospital-review-avatar {
  width: 29px;
  height: 29px;
  flex-basis: 29px;
}

.hospital-review-item.is-reply .hospital-review-avatar svg {
  width: 18px;
  height: 18px;
}

.hospital-review-item.is-reply .hospital-review-bubble {
  margin-left: 8px;
  padding: 11px 13px;
}

.hospital-review-item.is-reply .hospital-review-item-body {
  font-size: .85rem;
}

.hospital-review-replies-more {
  display: block;
  margin: 11px auto 0;
  padding: 8px 15px;
  border: 1px solid #c7dfe8;
  border-radius: 6px;
  background: #fff;
  color: #087f9f;
  font-size: .8rem;
  cursor: pointer;
}

/* 常時表示の口コミフォーム */

.hospital-review-form-wrap {
  margin-bottom: 22px;
  background: #f5fbfd;
}

/* スマートフォン */

@media (max-width: 767px) {
  .hospital-review-list {
    gap: 11px;
  }

  .hospital-review-item {
    padding: 12px;
  }

  .hospital-review-item-header {
    align-items: flex-start;
    gap: 6px;
  }

  .hospital-review-avatar {
    width: 31px;
    height: 31px;
    flex-basis: 31px;
  }

  .hospital-review-author {
    font-size: .75rem;
  }

  .hospital-review-date {
    font-size: .69rem;
  }

  .hospital-review-bubble {
    margin-left: 7px;
    padding: 12px;
  }

  .hospital-review-item-body {
    font-size: .85rem;
  }

  .hospital-review-item-actions {
    gap: 6px;
    margin-left: 7px;
  }

  .hospital-review-reaction {
    padding: 6px 9px;
    font-size: .73rem;
  }

  .hospital-review-reply-area {
    margin-left: 7px;
  }

  .hospital-review-replies {
    padding-left: 9px;
  }

  .hospital-review-item.is-reply {
    padding: 10px;
  }

  .hospital-review-reply-form-footer {
    align-items: flex-end;
  }
}

/* ========================================
   病院ログ：口コミ通報
======================================== */

.hospital-review-report-wrap {
  margin: 10px 0 0 13px;
}

.hospital-review-report-button {
  padding: 3px 0;
  border: 0;
  background: transparent;
  color: #8797a0;
  font-size: .73rem;
  cursor: pointer;
}

.hospital-review-report-button:hover {
  color: #b42318;
  text-decoration: underline;
}

.hospital-review-report-button:disabled {
  color: #789a8b;
  cursor: default;
}

.hospital-review-report-form {
  max-width: 400px;
  margin-top: 10px;
  padding: 12px;
  border: 1px solid #e2e8ec;
  border-radius: 8px;
  background: #fff;
}

.hospital-review-report-form[hidden] {
  display: none;
}

.hospital-review-report-label {
  display: block;
  margin-bottom: 8px;
  color: #4c6470;
  font-size: .8rem;
  font-weight: 700;
}

.hospital-review-report-select {
  box-sizing: border-box;
  width: 100%;
  padding: 9px;
  border: 1px solid #cbdde5;
  border-radius: 6px;
  background: #fff;
  color: #304550;
  font-size: .84rem;
}

.hospital-review-report-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 10px;
}

.hospital-review-report-submit {
  padding: 8px 13px;
  border: 0;
  border-radius: 6px;
  background: #087f9f;
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
}

.hospital-review-report-submit:disabled {
  opacity: .6;
}

.hospital-review-report-message {
  margin: 8px 0 0;
  color: #b42318;
  font-size: .78rem;
}

.hospital-review-report-message:empty {
  display: none;
}

@media (max-width: 767px) {
  .hospital-review-report-wrap {
    margin-left: 7px;
  }
}

/* ========================================
   トップページ：新着口コミ・評価
======================================== */

.home-review-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.home-review-column {
  min-width: 0;
}

.home-review-column-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 11px;
  padding-bottom: 9px;
  border-bottom: 2px solid #dceef3;
}

.home-review-column-heading h3 {
  margin: 0;
  color: #214a5b;
  font-size: 1rem;
  font-weight: 700;
}

.home-review-column-heading span {
  color: #8295a0;
  font-size: .75rem;
}

.home-review-list {
  display: grid;
  gap: 10px;
}

.home-review-card {
  display: block;
  min-width: 0;
  padding: 13px 15px;
  border: 1px solid #e0e9ed;
  border-radius: 9px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s;
}

.home-review-card:hover {
  border-color: #9fcddc;
  box-shadow: 0 3px 10px rgba(12, 87, 111, .08);
}

.home-review-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.home-review-facility-name {
  min-width: 0;
  color: #17475c;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.home-review-score {
  flex: 0 0 auto;
  color: #b87916;
  font-size: 1.05rem;
  font-weight: 800;
  white-space: nowrap;
}

.home-review-star {
  color: #f0ad26;
  font-size: 1.05rem;
}

.home-review-address {
  margin-top: 5px;
  color: #84949d;
  font-size: .75rem;
  line-height: 1.5;
}

.home-review-comment {
  position: relative;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 6px;
  background: #f3f8fa;
  color: #4b6470;
  font-size: .8rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.home-review-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  color: #8799a2;
  font-size: .73rem;
}

@media (max-width: 767px) {
  .home-review-columns {
    grid-template-columns: 1fr;
    gap: 23px;
  }

  .home-review-card {
    padding: 12px 13px;
  }

  .home-review-facility-name {
    font-size: .87rem;
  }

  .home-review-column-heading h3 {
    font-size: .95rem;
  }
}

/* 関連サイト */
.home-related-site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 16px 20px;
  border: 1px solid #dce7ec;
  border-radius: 9px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: border-color .15s, background .15s;
}

.home-related-site:hover {
  border-color: #8fc3d2;
  background: #f7fbfc;
}

.home-related-site-content {
  min-width: 0;
}

.home-related-site-content strong {
  display: block;
  margin-bottom: 5px;
  color: #17475c;
  font-size: 1rem;
}

.home-related-site-content p {
  margin: 0;
  color: #728995;
  font-size: .82rem;
  line-height: 1.7;
}

.home-related-site-arrow {
  flex: 0 0 auto;
  color: #6c9baa;
  font-size: 1.8rem;
  line-height: 1;
}

@media (max-width: 767px) {
  .home-related-site {
    padding: 13px 15px;
  }

  .home-related-site-content strong {
    font-size: .93rem;
  }

  .home-related-site-content p {
    font-size: .78rem;
  }
}

.hospital-map {
  width: 100%;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 10px;
  background: #f1f5f9;
}

.hospital-map iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
}

@media (max-width: 600px) {
  .hospital-map iframe {
    height: 240px;
  }
}

.hospital-region-link {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 14px 16px;
  background: #eef6ff;
  border: 1px solid #cbdff5;
  border-radius: 10px;
  color: #245b91;
  text-decoration: none;
  transition: background .2s, border-color .2s;
}

.hospital-region-link:hover {
  background: #dfeeff;
  border-color: #91bce7;
}

.hospital-region-link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: #d4e8fc;
  color: #2869a6;
  font-size: 25px;
}

.hospital-region-link-text {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.hospital-region-link-text strong {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.hospital-region-link-text small {
  color: #607d99;
  font-size: 11px;
  line-height: 1.5;
}

.hospital-region-link-arrow {
  flex-shrink: 0;
  font-size: 21px;
  font-weight: 600;
}

@media (max-width: 600px) {
  .hospital-region-link {
    gap: 10px;
    padding: 12px;
  }

  .hospital-region-link-icon {
    width: 34px;
    height: 34px;
  }

  .hospital-region-link-text strong {
    font-size: 13px;
  }
}