/* Hachi Directory v1.1 — 業者詳細・一覧・絞り込み
   方針: 1カラム白カード / 明るい配色 / 大きめ文字と余白で視認性重視 */
:root {
  --hachi-navy: #04384c;
  --hachi-navy-2: #1c5a76;
  --hachi-text: #333;
  --hachi-muted: #6b7680;
  --hachi-border: #d9dfe5;
  --hachi-gray: #f4f6f8;
  --hachi-page: #eef1f4;
  --hachi-cream: #fdf7e8;
  --hachi-orange: #ed6103;
  --hachi-orange-soft: #f5a052;
  --hachi-blue-th: #d6e7ee;
  --hachi-bluebox: #eef5f8;
  --hachi-open: #1f7a45; --hachi-open-bg: #dff3e6;
  --hachi-later: #9a5b00; --hachi-later-bg: #fbe9cc;
  --hachi-closed: #5f6b76; --hachi-closed-bg: #e6eaee;
  --hachi-tel: #e8590c; --hachi-line: #06c755; --hachi-star: #f5a300;
  --hachi-cta: #1a9fd6; --hachi-cta-2: #1477a6;
}
/* ---------- レイアウト（サイドバー無し・1カラム） ---------- */
.hachi-page { background: var(--hachi-page); }
.l-content:has(> .hachi-main--nosidebar) { padding-top: 24px; }
.hachi-main--nosidebar { width: 100%; max-width: 1000px; margin: 0 auto; float: none; }
.hachi-main--nosidebar .l-mainContent__inner { background: #fff; border-top: 5px solid var(--hachi-navy); border-radius: 6px; box-shadow: 0 1px 4px rgba(0,0,0,.06); padding: 28px 32px 36px; margin: 0 0 40px; }
.hachi-content { font-size: 16px; line-height: 1.8; color: var(--hachi-text); }
.hachi-content > *:first-child { margin-top: 0; }
/* SWELL の post_content 既定スタイルを打ち消す */
.hachi-content ul.hachi-chips, .hachi-content ul.hachi-check-list, .hachi-content ul.hachi-bees, .hachi-content ul.hachi-card__strengths, .hachi-content ul.hachi-area-links, .hachi-content .hachi-pref-map ul, .hachi-content .hachi-secnav ul, .hachi-content ol.hachi-steps, .hachi-content .hachi-filter__chips { padding-left: 0; margin-left: 0; list-style: none; }
.hachi-content .hachi-section > h2::before, .hachi-content .hachi-section > h2::after, .hachi-content .hachi-section h3::before, .hachi-content .hachi-section h3::after { display: none; content: none; }
.hachi-content .hachi-table th, .hachi-content .hachi-hours-table th { background: var(--hachi-blue-th); color: var(--hachi-text); }
.hachi-content .hachi-table td, .hachi-content .hachi-hours-table td { background: #fff; }
.hachi-content .hachi-table tr.is-group td { background: var(--hachi-gray); }
@media (max-width: 767px) { .l-content:has(> .hachi-main--nosidebar) { padding-top: 12px; } .hachi-main--nosidebar .l-mainContent__inner { padding: 18px 16px 24px; margin: 0 0 24px; border-radius: 0; } }

/* ---------- 詳細ページ: ヘッダー ---------- */
.hachi-single__titlebar { padding-bottom: 16px; border-bottom: 1px solid var(--hachi-border); margin-bottom: 20px; }
.hachi-single__titlebar .hachi-card__labels { margin-bottom: 8px; }
.hachi-single__name { font-size: 28px; line-height: 1.35; margin: 0 0 4px; color: var(--hachi-text); }
.hachi-single__company { margin: 0 0 6px; font-size: 14px; color: var(--hachi-muted); }
.hachi-single__rating { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: 16px; }
.hachi-single__rating a { color: var(--hachi-navy-2); font-weight: 700; text-decoration: underline; }
.hachi-single__hero { display: flex; gap: 24px; align-items: flex-start; margin-bottom: 20px; }
.hachi-single__logo { flex: 0 0 200px; width: 200px; aspect-ratio: 4 / 3; height: auto; border: 1px solid var(--hachi-border); border-radius: 6px; overflow: hidden; display: grid; place-items: center; background: #fff; }
.hachi-single__logo img { width: 100%; height: 100%; object-fit: cover; }
.hachi-single__logo .hachi-card__logo-ph { font-size: 48px; color: var(--hachi-navy); }
.hachi-single__hero-body { min-width: 0; flex: 1; }
.hachi-single__catch { font-size: 20px; font-weight: 700; line-height: 1.5; margin: 0 0 10px; color: var(--hachi-navy); }
.hachi-single__desc { font-size: 15px; }
.hachi-single__desc p { margin: 0 0 8px; }
/* 受付状況・到着・最低料金のタイル */
.hachi-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 16px; }
.hachi-tile { background: var(--hachi-gray); border: 1px solid var(--hachi-border); border-radius: 6px; padding: 10px 14px; }
.hachi-tile__k { display: block; font-size: 12px; font-weight: 700; color: var(--hachi-muted); margin-bottom: 4px; letter-spacing: .04em; }
.hachi-tile__v { display: block; font-size: 17px; font-weight: 700; color: var(--hachi-text); line-height: 1.4; }
.hachi-tile__v b { color: var(--hachi-orange); font-size: 20px; }
.hachi-tile__sub { display: block; font-size: 13px; font-weight: 400; color: var(--hachi-text); margin-top: 4px; }
/* 電話バンド */
.hachi-ctaband { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; background: var(--hachi-gray); border: 1px solid var(--hachi-border); border-radius: 6px; padding: 16px 22px; margin: 0 0 8px; }
.hachi-ctaband__tel { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; text-decoration: none !important; color: var(--hachi-text); }
.hachi-ctaband__tag { display: inline-flex; align-items: center; gap: 6px; background: var(--hachi-open); color: #fff; font-weight: 700; font-size: 14px; border-radius: 4px; padding: 6px 12px; white-space: nowrap; }
.hachi-ctaband__tag svg { width: 15px; height: 15px; fill: currentColor; }
.hachi-ctaband__num { font-size: 38px; font-weight: 700; line-height: 1; letter-spacing: .01em; color: var(--hachi-navy); font-variant-numeric: tabular-nums; }
.hachi-ctaband__note { flex-basis: 100%; font-size: 13px; color: var(--hachi-muted); margin: 0; }
.hachi-ctaband__note .hachi-open-badge { vertical-align: middle; margin-right: 6px; }
.hachi-ctaband .hachi-btn--line, .hachi-ctaband .hachi-btn--site { min-width: 240px; font-size: 17px; padding: 14px 22px; }
@media (max-width: 767px) {
  .hachi-single__name { font-size: 22px; }
  .hachi-single__hero { flex-direction: column; gap: 12px; }
  .hachi-single__logo { width: 100%; flex-basis: auto; max-width: 320px; }
  .hachi-single__catch { font-size: 18px; }
  .hachi-tiles { grid-template-columns: 1fr; gap: 6px; }
  .hachi-tile { display: flex; align-items: baseline; gap: 12px; padding: 8px 12px; }
  .hachi-tile__k { flex: 0 0 68px; margin: 0; }
  .hachi-ctaband { padding: 14px; }
  .hachi-ctaband__num { font-size: 30px; }
  .hachi-ctaband .hachi-btn--line, .hachi-ctaband .hachi-btn--site { width: 100%; }
}
/* ---------- セクションナビ ---------- */
.hachi-secnav ul { display: grid; grid-template-columns: repeat(5, 1fr); list-style: none; padding: 0; margin: 20px 0 28px; border: 1px solid var(--hachi-border); border-radius: 6px; overflow: hidden; background: #fff; }
.hachi-secnav li { border-right: 1px solid var(--hachi-border); border-bottom: 1px solid var(--hachi-border); }
.hachi-secnav li:nth-child(5n) { border-right: 0; }
.hachi-secnav li:nth-last-child(-n+5) { border-bottom: 0; }
.hachi-secnav a { display: block; text-align: center; padding: 12px 6px 22px; font-size: 14px; font-weight: 700; color: var(--hachi-text); text-decoration: none; position: relative; background: #fff; border: 0; border-radius: 0; }
.hachi-secnav a::after { content: ""; position: absolute; left: 50%; bottom: 8px; width: 8px; height: 8px; border-right: 2px solid var(--hachi-orange-soft); border-bottom: 2px solid var(--hachi-orange-soft); transform: translateX(-50%) rotate(45deg); }
.hachi-secnav a:hover { background: var(--hachi-cream); color: var(--hachi-navy); }
@media (max-width: 767px) { .hachi-secnav ul { grid-template-columns: repeat(2, 1fr); } .hachi-secnav li:nth-child(5n) { border-right: 1px solid var(--hachi-border); } .hachi-secnav li:nth-child(2n) { border-right: 0; } .hachi-secnav li:nth-last-child(-n+5) { border-bottom: 1px solid var(--hachi-border); } .hachi-secnav li:nth-last-child(-n+2) { border-bottom: 0; } .hachi-secnav a { padding: 10px 4px 20px; font-size: 13px; } }

/* ---------- セクション ---------- */
.hachi-section { margin: 40px 0; scroll-margin-top: 80px; }
.hachi-content .hachi-section > h2, .hachi-content h2.hachi-h2 { background: var(--hachi-cream); border-left: 6px solid var(--hachi-orange-soft); border-bottom: 0; padding: 10px 14px; margin: 0 0 18px; font-size: 20px; line-height: 1.4; color: var(--hachi-text); border-radius: 0 4px 4px 0; }
.hachi-content .hachi-section h3 { font-size: 17px; margin: 22px 0 10px; padding: 0 0 6px; border-bottom: 2px dotted var(--hachi-border); color: var(--hachi-navy); background: none; }
.hachi-content .hachi-section h3:first-of-type { margin-top: 0; }
.hachi-section > p { font-size: 16px; }
.hachi-note { font-size: 13px; color: var(--hachi-muted); margin: 8px 0; }
.hachi-single__summary { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; margin: 6px 0 12px; }
/* テーブル */
.hachi-table-wrap, .hachi-hours-table-wrap { overflow-x: auto; }
.hachi-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.hachi-table th, .hachi-table td { border: 1px solid var(--hachi-border); padding: 11px 12px; text-align: left; vertical-align: top; line-height: 1.6; }
.hachi-table th { background: var(--hachi-blue-th); font-weight: 700; white-space: nowrap; text-align: center; }
.hachi-table td.is-price { font-weight: 700; color: var(--hachi-orange); white-space: nowrap; font-size: 17px; font-variant-numeric: tabular-nums; }
.hachi-table tr.is-group td { background: var(--hachi-gray); font-weight: 700; font-size: 13px; letter-spacing: .04em; color: var(--hachi-navy); }
.hachi-price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 8px 0 12px; }
.hachi-price-grid > div { background: #fff; border: 1px solid var(--hachi-border); border-top: 3px solid var(--hachi-blue-th); border-radius: 6px; padding: 12px 10px; text-align: center; }
.hachi-price-grid b { display: block; font-size: 24px; line-height: 1.2; color: var(--hachi-orange); font-variant-numeric: tabular-nums; }
.hachi-price-grid span { display: block; font-size: 13px; font-weight: 700; color: var(--hachi-text); margin-bottom: 4px; }
/* 定義リスト */
.hachi-dl { display: grid; grid-template-columns: 200px 1fr; gap: 0; border-top: 1px solid var(--hachi-border); font-size: 15px; }
.hachi-dl dt, .hachi-dl dd { padding: 11px 14px; border-bottom: 1px solid var(--hachi-border); margin: 0; line-height: 1.6; }
.hachi-dl dt { background: var(--hachi-gray); font-weight: 700; text-align: center; }
.hachi-dl dd small { color: var(--hachi-muted); font-size: 13px; }
@media (max-width: 599px) { .hachi-dl { grid-template-columns: 1fr; } .hachi-dl dt { border-bottom: 0; padding: 7px 12px; text-align: left; font-size: 13px; } .hachi-dl dd { padding-top: 6px; } }
/* チェックリスト */
.hachi-check-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px 12px; }
.hachi-check-list li { padding-left: 1.7em; position: relative; font-size: 15px; line-height: 1.6; }
.hachi-check-list li::before { content: "✓"; position: absolute; left: 0; top: .1em; width: 1.25em; height: 1.25em; border-radius: 50%; background: var(--hachi-open); color: #fff; font-size: .85em; font-weight: 700; display: grid; place-items: center; }
.hachi-check-list li.is-off { color: #9aa3ab; } .hachi-check-list li.is-off::before { content: "－"; background: #e3e7eb; color: #9aa3ab; }
/* 選ばれる理由 */
.hachi-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 0 0 16px; }
.hachi-fact { background: var(--hachi-bluebox); border: 1px solid var(--hachi-border); border-radius: 8px; padding: 14px 12px; text-align: center; }
.hachi-fact__v { display: block; font-size: 26px; font-weight: 700; line-height: 1.1; color: var(--hachi-orange); font-variant-numeric: tabular-nums; }
.hachi-fact__k { display: block; font-size: 12px; font-weight: 700; color: var(--hachi-muted); margin-top: 6px; }
.hachi-strengths { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.hachi-strengths li { position: relative; padding: 8px 12px 8px 34px; background: var(--hachi-open-bg); border-radius: 6px; font-size: 14px; font-weight: 700; color: var(--hachi-text); }
.hachi-strengths li::before { content: "✓"; position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; border-radius: 50%; background: var(--hachi-open); color: #fff; font-size: 12px; display: grid; place-items: center; }
.hachi-reasons { display: grid; gap: 12px; }
.hachi-reason { display: flex; gap: 14px; border: 1px solid var(--hachi-border); border-left: 4px solid var(--hachi-orange); border-radius: 8px; padding: 16px; background: #fff; }
.hachi-reason__no { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; background: var(--hachi-orange); color: #fff; font-size: 17px; font-weight: 700; display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.hachi-reason__body { min-width: 0; }
.hachi-reason__body h3 { margin: 3px 0 6px; padding: 0; border: 0; font-size: 16px; color: var(--hachi-navy); background: none; }
.hachi-reason__body p { margin: 0; font-size: 14px; line-height: 1.8; }
.hachi-staff { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.hachi-staff > div { border: 1px solid var(--hachi-border); border-radius: 8px; padding: 16px; text-align: center; background: var(--hachi-bluebox); }
.hachi-staff img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; margin: 0 auto 8px; border: 3px solid #fff; }
.hachi-staff__role { font-size: 12px; color: var(--hachi-muted); }
.hachi-staff__name { font-weight: 700; font-size: 17px; }
.hachi-staff__career { font-size: 12px; color: var(--hachi-muted); margin: 4px 0; }
.hachi-staff__msg { font-size: 14px; text-align: left; margin: 10px 0 0; background: #fff; border-radius: 6px; padding: 10px 12px; }
/* 口コミ */
.hachi-review-summary { display: flex; align-items: center; gap: 16px; border-top: 1px dotted var(--hachi-border); border-bottom: 1px dotted var(--hachi-border); padding: 12px 8px; margin-bottom: 16px; font-size: 16px; }
.hachi-review-summary b { font-size: 34px; line-height: 1; color: var(--hachi-orange); font-variant-numeric: tabular-nums; }
.hachi-review-summary small { font-size: 14px; color: var(--hachi-text); }
.hachi-reviews { display: grid; gap: 14px; }
.hachi-review { border: 1px solid var(--hachi-border); border-radius: 8px; padding: 0; background: #fff; overflow: hidden; }
.hachi-review__head { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; background: var(--hachi-gray); padding: 10px 16px; border-bottom: 1px solid var(--hachi-border); }
.hachi-review__head .hachi-stars { font-size: 18px; }
.hachi-review__who { font-size: 13px; color: var(--hachi-muted); }
.hachi-review__title { margin: 12px 16px 4px; font-size: 16px; }
.hachi-review__body { margin: 8px 16px 12px; font-size: 15px; }
.hachi-review__meta, .hachi-review__source { font-size: 13px; color: var(--hachi-muted); margin: 0 16px 12px; text-align: right; }
/* 施工事例 */
.hachi-cases { display: grid; gap: 20px; }
.hachi-case { background: #fff; border: 1px solid var(--hachi-border); border-radius: 10px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.hachi-case__head { display: flex; align-items: center; gap: 10px; background: var(--hachi-cream); border-bottom: 1px solid var(--hachi-border); padding: 12px 16px; }
.hachi-case__no { flex: 0 0 auto; background: var(--hachi-orange); color: #fff; font-size: 12px; font-weight: 700; border-radius: 4px; padding: 3px 10px; }
.hachi-case__title { margin: 0; padding: 0; border: 0; font-size: 16px; line-height: 1.5; color: var(--hachi-text); background: none; }
.hachi-case__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 16px 16px 0; }
.hachi-case__photos figure { position: relative; margin: 0; }
.hachi-case__photos img { width: 100%; height: 180px; object-fit: cover; border-radius: 6px; border: 1px solid var(--hachi-border); }
.hachi-case__ba { position: absolute; top: 8px; left: 8px; color: #fff; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 4px; }
.hachi-case__ba--before { background: #5f6b76; }
.hachi-case__ba--after { background: var(--hachi-open); }
.hachi-case__price { display: flex; align-items: baseline; gap: 10px; margin: 16px 16px 0; padding: 10px 14px; background: var(--hachi-gray); border-radius: 6px; }
.hachi-case__price-k { font-size: 13px; font-weight: 700; color: var(--hachi-muted); }
.hachi-case__price-v { font-size: 22px; font-weight: 700; color: var(--hachi-orange); font-variant-numeric: tabular-nums; }
.hachi-case__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--hachi-border); border-radius: 6px; overflow: hidden; margin: 16px; font-size: 14px; }
.hachi-case__specs > div { display: flex; border-top: 1px solid var(--hachi-border); }
.hachi-case__specs > div:nth-child(-n+2) { border-top: 0; }
.hachi-case__specs > div:nth-child(odd) { border-right: 1px solid var(--hachi-border); }
.hachi-case__specs dt { flex: 0 0 40%; background: var(--hachi-gray); padding: 8px 10px; margin: 0; font-weight: 700; color: var(--hachi-navy); }
.hachi-case__specs dd { flex: 1; padding: 8px 10px; margin: 0; }
.hachi-case__body { margin: 0 16px 16px; font-size: 15px; line-height: 1.9; }
@media (max-width: 599px) {
  .hachi-case__specs { grid-template-columns: 1fr; }
  .hachi-case__specs > div:nth-child(2) { border-top: 1px solid var(--hachi-border); }
  .hachi-case__specs > div:nth-child(odd) { border-right: 0; }
  .hachi-case__photos img { height: 150px; }
}
.hachi-faq details { border: 1px solid var(--hachi-border); border-radius: 6px; padding: 0; margin-bottom: 10px; background: #fff; }
.hachi-faq summary { font-weight: 700; cursor: pointer; padding: 12px 16px 12px 46px; position: relative; font-size: 15px; list-style: none; }
.hachi-faq summary::-webkit-details-marker { display: none; }
.hachi-faq summary::before { content: "Q"; position: absolute; left: 12px; top: 10px; width: 26px; height: 26px; border-radius: 50%; background: var(--hachi-navy); color: #fff; font-size: 14px; display: grid; place-items: center; }
.hachi-faq summary::after { content: "+"; position: absolute; right: 14px; top: 8px; font-size: 22px; color: var(--hachi-muted); }
.hachi-faq details[open] summary::after { content: "−"; }
.hachi-faq p { margin: 0; padding: 12px 16px 14px 46px; font-size: 15px; border-top: 1px dotted var(--hachi-border); position: relative; background: var(--hachi-cream); }
.hachi-faq p::before { content: "A"; position: absolute; left: 12px; top: 11px; width: 26px; height: 26px; border-radius: 50%; background: var(--hachi-orange-soft); color: #fff; font-size: 14px; font-weight: 700; display: grid; place-items: center; }
/* エリア */
.hachi-area-group { display: grid; grid-template-columns: 200px 1fr; border: 1px solid var(--hachi-border); border-bottom: 0; }
.hachi-area-group:last-of-type { border-bottom: 1px solid var(--hachi-border); }
.hachi-area-group h4 { margin: 0; padding: 11px 14px; font-size: 15px; background: var(--hachi-gray); text-align: center; }
.hachi-area-group h4 a { color: var(--hachi-text); text-decoration: none; }
.hachi-area-group h4 small { display: block; font-size: 12px; color: var(--hachi-open); font-weight: 700; }
.hachi-area-group p { font-size: 15px; margin: 0; padding: 11px 14px; line-height: 1.9; }
.hachi-area-group p a { color: var(--hachi-navy-2); }
.hachi-area-group:has(> h4:only-child) h4 { grid-column: 1 / -1; text-align: left; }
@media (max-width: 599px) { .hachi-area-group { grid-template-columns: 1fr; } .hachi-area-group h4 { text-align: left; padding: 8px 12px; } }
.hachi-area-links, .hachi-pref-map ul { list-style: none; padding: 0; margin: 8px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hachi-area-links a, .hachi-pref-map a { display: inline-flex; gap: 4px; align-items: center; border: 1px solid var(--hachi-border); border-radius: 4px; padding: 5px 12px; font-size: 14px; text-decoration: none; color: var(--hachi-navy-2); background: #fff; }
.hachi-area-links a span, .hachi-pref-map a span { font-size: 12px; color: var(--hachi-muted); }
.hachi-pref-map a.is-empty { color: #9aa3ab; }
.hachi-pref-map__region { margin-bottom: 12px; }
.hachi-pref-map__region h3 { font-size: 15px; margin: 0 0 6px; }
/* 受付時間表 */
.hachi-hours-table { width: 100%; border-collapse: collapse; font-size: 14px; text-align: center; min-width: 560px; }
.hachi-hours-table th, .hachi-hours-table td { border: 1px solid var(--hachi-border); padding: 9px 4px; }
.hachi-hours-table th { background: var(--hachi-blue-th); }
.hachi-hours-table th.is-sat { color: #1a5fb4; } .hachi-hours-table th.is-sun, .hachi-hours-table th.is-hol { color: #c9302c; }
.hachi-hours-table td.is-closed { color: #9aa3ab; }
.hachi-hours-table .is-today { background: var(--hachi-cream); font-weight: 700; }
.hachi-hours-note { font-size: 14px; margin: 8px 0; }
.hachi-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 16px 0 0; }
.hachi-photos img { width: 100%; height: 130px; object-fit: cover; border-radius: 6px; }
.hachi-empty { background: var(--hachi-gray); border-radius: 8px; padding: 24px; text-align: center; font-size: 15px; }
ol.hachi-steps { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; counter-reset: hachi-step; }
ol.hachi-steps li { border: 1px solid var(--hachi-border); border-radius: 8px; padding: 14px 14px 16px; text-align: center; font-size: 14px; background: #fff; }
ol.hachi-steps li::before { counter-increment: hachi-step; content: "ステップ" counter(hachi-step); display: block; background: var(--hachi-orange-soft); color: #fff; font-weight: 700; border-radius: 999px; padding: 3px 0; margin-bottom: 10px; }
@media (max-width: 599px) { ol.hachi-steps { grid-template-columns: 1fr; } }

/* ---------- ラベル・バッジ・チップ ---------- */
.hachi-label { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 3px; line-height: 1.5; }
.hachi-label--cert { background: var(--hachi-navy); color: #fff; }
.hachi-label--badge { background: #fff1dc; color: #8a4b00; border: 1px solid #f0c07a; }
.hachi-open-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding: 3px 12px; border-radius: 999px; background: var(--hachi-closed-bg); color: var(--hachi-closed); line-height: 1.5; }
.hachi-open-badge__dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.hachi-open-badge.is-open { background: var(--hachi-open-bg); color: var(--hachi-open); }
.hachi-open-badge.is-open .hachi-open-badge__dot { animation: hachi-pulse 1.6s infinite; }
.hachi-open-badge.is-later { background: var(--hachi-later-bg); color: var(--hachi-later); }
.hachi-open-badge.is-closed { background: var(--hachi-closed-bg); color: var(--hachi-closed); }
.hachi-open-badge--lg { font-size: 15px; padding: 5px 14px; }
@keyframes hachi-pulse { 0%,100% { opacity: 1 } 50% { opacity: .35 } }
@media (prefers-reduced-motion: reduce) { .hachi-open-badge.is-open .hachi-open-badge__dot { animation: none } }
.hachi-stars { position: relative; display: inline-block; font-size: 19px; line-height: 1; letter-spacing: 1px; color: #d5d9dd; vertical-align: middle; }
.hachi-stars__fg { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: var(--hachi-star); }
.hachi-stars__num { font-weight: 700; margin-left: 8px; color: var(--hachi-text); font-size: 18px; font-variant-numeric: tabular-nums; }
.hachi-stars__count { font-size: 14px; color: var(--hachi-muted); margin-left: 4px; }
.hachi-stars--none { font-size: 13px; color: var(--hachi-muted); }
.hachi-chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 10px 0 0; }
.hachi-chip { display: inline-flex; align-items: center; gap: 4px; background: #fff; border: 1px solid var(--hachi-border); border-radius: 4px; padding: 3px 10px; font-size: 13px; font-weight: 700; color: var(--hachi-navy-2); cursor: default; }
.hachi-chip.is-same-day, .hachi-chip.is-24h, .hachi-chip.is-guarantee { background: #fff1dc; border-color: #f0c07a; color: #8a4b00; }
.hachi-bees { display: inline-flex; flex-wrap: wrap; gap: 4px; list-style: none; padding: 0; margin: 0; }
.hachi-bees a { display: inline-block; border: 1px solid var(--hachi-navy-2); color: var(--hachi-navy-2); border-radius: 3px; padding: 0 8px; font-size: 12px; text-decoration: none; }

/* ---------- CTA ボタン ---------- */
.hachi-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.hachi-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; text-decoration: none !important; border-radius: 999px; padding: 12px 16px; font-weight: 700; line-height: 1.3; color: #fff !important; transition: opacity .15s, transform .1s; box-shadow: 0 2px 0 rgba(0,0,0,.12); font-size: 16px; }
.hachi-btn:hover { opacity: .9; transform: translateY(1px); box-shadow: none; }
.hachi-btn--tel { background: linear-gradient(#f4762a, var(--hachi-tel)); grid-column: 1 / -1; }
.hachi-btn--tel .hachi-btn__sub { font-size: 22px; font-variant-numeric: tabular-nums; }
.hachi-btn--tel .hachi-btn__label { font-size: 13px; opacity: .95; }
.hachi-btn--line { background: var(--hachi-line); }
.hachi-btn--site { background: linear-gradient(#9ccc65, #7cb342); }
.hachi-btn--detail { grid-column: 1 / -1; position: relative; flex-direction: row; background: #fff; color: var(--hachi-cta-2) !important; border: 2px solid var(--hachi-cta-2); border-radius: 10px; padding: 16px 44px 16px 20px; font-size: 17px; box-shadow: none; }
.hachi-btn--detail::after { content: ""; position: absolute; right: 18px; top: 50%; width: 10px; height: 10px; border-top: 3px solid var(--hachi-cta-2); border-right: 3px solid var(--hachi-cta-2); transform: translateY(-50%) rotate(45deg); }
.hachi-btn--detail:hover { opacity: 1; transform: none; background: var(--hachi-bluebox); }
.hachi-section .hachi-cta { max-width: 640px; margin: 20px auto 0; }
.hachi-cta--sticky { margin-top: 24px; }
@media (max-width: 959px) {
  .hachi-cta--sticky { position: sticky; bottom: 0; background: rgba(255,255,255,.96); padding: 8px 0; border-top: 1px solid var(--hachi-border); z-index: 5; margin-left: -16px; margin-right: -16px; padding-left: 12px; padding-right: 12px; }
  .hachi-cta--sticky .hachi-cta { grid-template-columns: 2fr 1fr; gap: 6px; margin-top: 0; }
  .hachi-cta--sticky .hachi-btn { border-radius: 8px; box-shadow: none; }
  .hachi-cta--sticky .hachi-btn--tel { grid-column: auto; padding: 6px 10px; }
  .hachi-cta--sticky .hachi-btn--tel .hachi-btn__sub { font-size: 17px; }
  .hachi-cta--sticky .hachi-btn--tel .hachi-btn__label { font-size: 11px; }
  .hachi-cta--sticky .hachi-btn--line, .hachi-cta--sticky .hachi-btn--site { padding: 6px 10px; font-size: 14px; }
}

/* ---------- 一覧カード ---------- */
.hachi-intro { font-size: 15px; }
.hachi-count { font-size: 15px; color: var(--hachi-muted); margin: 0 0 10px; }
.hachi-count b { color: var(--hachi-orange); font-size: 20px; }
.hachi-list { display: grid; gap: 22px; margin: 16px 0 32px; }
.hachi-card { position: relative; background: #fff; border: 1px solid var(--hachi-border); border-top: 4px solid var(--hachi-navy); border-radius: 8px; padding: 22px 22px 18px; box-shadow: 0 1px 4px rgba(0,0,0,.05); }
.hachi-card__rank { position: absolute; top: -14px; left: 16px; background: var(--hachi-orange); color: #fff; font-weight: 700; font-size: 14px; padding: 3px 14px; border-radius: 999px; }
.hachi-card__head { display: flex; gap: 16px; align-items: flex-start; }
.hachi-card__logo { flex: 0 0 128px; width: 128px; height: 128px; border: 1px solid var(--hachi-border); border-radius: 6px; overflow: hidden; display: grid; place-items: center; background: #fff; }
.hachi-card__logo img { width: 100%; height: 100%; object-fit: contain; }
.hachi-card__logo-ph { font-size: 44px; font-weight: 700; color: var(--hachi-navy); }
.hachi-card__title { min-width: 0; flex: 1; }
.hachi-card__labels { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; align-items: center; }
.hachi-card__namerow { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin: 0 0 6px; }
.hachi-card__namerow .hachi-hours-badge { flex: 0 0 auto; }
.hachi-card__name, .hachi-content .hachi-section h3.hachi-card__name { font-size: 28px; font-weight: 700; margin: 0; line-height: 1.4; }
.hachi-card__name a { color: #1d4ed8; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.hachi-card__name a:hover { color: #1e3a8a; }
.hachi-card__catch { margin: 14px 0 8px; font-weight: 700; font-size: 19px; color: var(--hachi-text); }
.hachi-card__prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 12px 0; border: 1px solid var(--hachi-border); border-radius: 6px; overflow: hidden; }
.hachi-card__price { display: flex; align-items: stretch; background: #fff; border-left: 1px solid var(--hachi-border); }
.hachi-card__price:first-child { border-left: 0; }
.hachi-card__price-name { display: flex; align-items: center; flex: 0 0 108px; padding: 10px 10px; justify-content: center; background: var(--hachi-gray); border-right: 1px solid var(--hachi-border); font-size: 14px; font-weight: 700; color: var(--hachi-text); }
.hachi-card__price-val { display: flex; align-items: center; flex: 1; padding: 10px 12px; font-size: 18px; font-weight: 700; color: var(--hachi-orange); font-variant-numeric: tabular-nums; }
.hachi-card__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 8px 0; font-size: 14px; }
.hachi-card__meta > div { display: flex; gap: 6px; align-items: center; }
.hachi-card__meta dt { background: var(--hachi-blue-th); border-radius: 3px; padding: 0 8px; font-size: 12px; font-weight: 700; color: var(--hachi-navy); }
.hachi-card__meta dd { margin: 0; }
.hachi-card__strengths { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-direction: column; gap: 4px; font-size: 17px; line-height: 1.5; }
.hachi-card__strengths li::before { content: "✓ "; color: var(--hachi-open); font-weight: 700; }
@media (max-width: 599px) { .hachi-card { padding: 18px 14px 14px; } .hachi-card__head { flex-direction: column; gap: 12px; } .hachi-card__logo { flex-basis: auto; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 8px; background: var(--hachi-gray); } .hachi-card__logo img { object-fit: contain; padding: 8px; } .hachi-card__logo-ph { font-size: 56px; } .hachi-card__prices { grid-template-columns: 1fr; } .hachi-card__price { border-left: 0; border-top: 1px solid var(--hachi-border); } .hachi-card__price:first-child { border-top: 0; } .hachi-card__price-val { font-size: 17px; } .hachi-card__name, .hachi-content .hachi-section h3.hachi-card__name { font-size: 24px; } .hachi-card__catch { font-size: 17px; } .hachi-card__strengths { font-size: 16px; } }

/* ---------- 絞り込み ---------- */
.hachi-filter { background: var(--hachi-gray); border: 1px solid var(--hachi-border); border-radius: 8px; padding: 16px 18px; margin: 12px 0 24px; display: grid; gap: 10px; }
.hachi-filter__row { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.hachi-filter__label { font-size: 13px; font-weight: 700; color: var(--hachi-navy); }
.hachi-filter select { padding: 7px 12px; border: 1px solid var(--hachi-border); border-radius: 4px; background: #fff; font-size: 15px; }
.hachi-filter__more summary { cursor: pointer; font-size: 14px; font-weight: 700; color: var(--hachi-navy-2); }
.hachi-filter__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.hachi-filter__chips .hachi-chip { cursor: pointer; background: #fff; font-weight: 400; color: var(--hachi-text); }
.hachi-filter__chips .hachi-chip input { margin: 0; }
.hachi-filter__chips .hachi-chip.is-on { background: #fff1dc; border-color: var(--hachi-orange-soft); }
.hachi-chip--open { cursor: pointer; background: #fff; font-weight: 400; color: var(--hachi-text); }
.hachi-chip--open input { margin: 0; }
.hachi-chip--open .hachi-open-badge__dot { background: var(--hachi-open); }
.hachi-filter__submit { margin-left: auto; background: linear-gradient(var(--hachi-cta), var(--hachi-cta-2)); color: #fff; border: 0; border-radius: 999px; padding: 9px 24px; font-weight: 700; font-size: 15px; cursor: pointer; }

/* ---------- SWELL 打ち消し（追加分） ---------- */
.hachi-content .hachi-review__title, .hachi-content .hachi-area-group h4, .hachi-content .hachi-case h3, .hachi-content .hachi-pref-map__region h3 { border: 0; padding: 0; background: none; }
.hachi-content .hachi-review__title::before, .hachi-content .hachi-review__title::after, .hachi-content .hachi-area-group h4::before, .hachi-content .hachi-area-group h4::after { display: none; content: none; }
.hachi-content .hachi-review__title { margin: 12px 16px 4px; font-size: 16px; }
.hachi-content .hachi-area-group h4 { margin: 0; padding: 11px 14px; }
.hachi-content .hachi-reason__body h3 { margin: 3px 0 6px; }
.hachi-content .hachi-case h3 { margin: 0 0 10px; }
.hachi-content .hachi-hours-table th, .hachi-content .hachi-hours-table td { text-align: center; }
.hachi-content .hachi-section .hachi-cta, .hachi-content .hachi-cta--sticky .hachi-cta { grid-template-columns: 3fr 2fr; }
.hachi-content .hachi-section .hachi-cta .hachi-btn--tel, .hachi-content .hachi-cta--sticky .hachi-cta .hachi-btn--tel { grid-column: auto; }
.hachi-content .hachi-section .hachi-cta .hachi-btn--tel:only-child, .hachi-content .hachi-cta--sticky .hachi-cta .hachi-btn--tel:only-child { grid-column: 1 / -1; }
.hachi-content .hachi-cta--sticky .hachi-cta { max-width: 640px; margin: 0 auto; }
@media (max-width: 959px) { .hachi-content .hachi-cta--sticky .hachi-cta { grid-template-columns: 2fr 1fr; } }

/* スマホ: SWELL のページトップボタンを固定CTAの上へ逃がす／チェックリスト2列 */
@media (max-width: 959px) {
  .hachi-page .p-fixBtnWrap { bottom: 84px !important; }
  .hachi-content .hachi-check-list { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px 8px; }
  .hachi-content .hachi-check-list li { font-size: 14px; }
}

/* ============================================================
 * 都道府県ページ（業者の親ページ）
 * ============================================================ */
.hachi-pref__hero { margin-bottom: 28px; }
.hachi-pref__title { font-size: 28px; line-height: 1.4; margin: 0 0 12px; color: var(--hachi-text); }
.hachi-pref__ttl-name { color: var(--hachi-orange); }
.hachi-pref__lead { font-size: 16px; line-height: 1.9; margin: 0 0 18px; }
.hachi-pref__lead b { color: var(--hachi-navy); }
.hachi-pref__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.hachi-pref__card { position: relative; display: block; border-radius: 8px; padding: 20px 48px 20px 22px; text-decoration: none !important; color: #fff !important; box-shadow: 0 2px 0 rgba(0,0,0,.12); transition: opacity .15s, transform .1s; }
.hachi-pref__card:hover { opacity: .92; transform: translateY(1px); box-shadow: none; }
.hachi-pref__card--list { background: linear-gradient(135deg, #f4762a, var(--hachi-orange)); }
.hachi-pref__card--consult { background: linear-gradient(135deg, var(--hachi-navy-2), var(--hachi-navy)); }
.hachi-pref__card-sub { display: block; font-size: 13px; opacity: .95; margin-bottom: 4px; }
.hachi-pref__card-sub b { font-size: 20px; margin: 0 2px; }
.hachi-pref__card-main { display: block; font-size: 21px; font-weight: 700; line-height: 1.35; }
.hachi-pref__card-arrow { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 20px; }
.hachi-pref__rating { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; background: var(--hachi-bluebox); border: 1px solid var(--hachi-border); border-radius: 8px; padding: 14px 18px; }
.hachi-pref__rating-score { display: flex; align-items: center; gap: 10px; }
.hachi-pref__rating-score b { font-size: 34px; line-height: 1; color: var(--hachi-orange); font-variant-numeric: tabular-nums; }
.hachi-pref__rating-note { flex: 1; min-width: 240px; font-size: 13px; color: var(--hachi-muted); margin: 0; }
@media (max-width: 767px) {
	.hachi-pref__title { font-size: 22px; }
	.hachi-pref__cards { grid-template-columns: 1fr; gap: 10px; }
	.hachi-pref__card { padding: 16px 44px 16px 18px; }
	.hachi-pref__card-main { font-size: 18px; }
}
/* エリア口コミの業者名リンク */
.hachi-review__shop { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--hachi-navy-2); text-decoration: underline; }
/* 都道府県の解説（SEOテキスト） */
.hachi-about__block { margin-bottom: 18px; }
.hachi-about__block:last-child { margin-bottom: 0; }
.hachi-about__block h3 { font-size: 16px; margin: 0 0 6px; padding: 0 0 6px; border-bottom: 2px dotted var(--hachi-border); color: var(--hachi-navy); }
.hachi-about__block p { font-size: 15px; line-height: 1.9; margin: 0; }

/* 料金表（詳細ページ）は横スクロールなしで折り返して収める */
.hachi-table-wrap--noscroll { overflow-x: visible; }
.hachi-table--price { min-width: 0; width: 100%; }
.hachi-table--price th, .hachi-table--price td { white-space: normal; word-break: break-word; }
.hachi-table--price td.is-price { white-space: nowrap; }

/* ファーストビューのメイン画像 */
.hachi-single__hero-img { margin: 0 0 16px; border-radius: 8px; overflow: hidden; background: var(--hachi-gray); }
.hachi-single__hero-img img { display: block; width: 100%; height: auto; }
.hachi-single__hero-img.is-empty { aspect-ratio: 16 / 9; display: grid; place-items: center; border: 1px dashed #c7cdd3; background: var(--hachi-gray); }
.hachi-single__hero-ph { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--hachi-muted); font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.hachi-single__hero-ph svg { width: 44px; height: 44px; fill: #c2c9cf; }
.hachi-single__lead { margin: 0 0 4px; }
.hachi-single__lead .hachi-single__catch { margin-top: 0; }

.hachi-hours-status { display: flex; align-items: center; gap: 8px; font-size: 15px; margin: 0 0 12px; }

/* 口コミ: 1件＋残りは半分見せてアコーディオン（チェックボックス） */
.hachi-reviews__peek { position: relative; max-height: 130px; overflow: hidden; display: grid; gap: 14px; margin-top: 14px; }
.hachi-reviews__peek::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(rgba(255,255,255,0), #fff); pointer-events: none; }
.hachi-reviews__cb:checked ~ .hachi-reviews .hachi-reviews__peek { max-height: none; }
.hachi-reviews__cb:checked ~ .hachi-reviews .hachi-reviews__peek::after { display: none; }
.hachi-reviews__toggle { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 14px auto 0; max-width: 360px; padding: 11px 18px; border: 1px solid var(--hachi-navy-2); border-radius: 999px; color: var(--hachi-navy-2); font-weight: 700; font-size: 15px; cursor: pointer; background: #fff; transition: background .15s; }
.hachi-reviews__toggle:hover { background: var(--hachi-bluebox); }
.hachi-reviews__toggle::after { content: "▾"; }
.hachi-reviews__toggle .is-less { display: none; }
.hachi-reviews__cb:checked ~ .hachi-reviews__toggle .is-more { display: none; }
.hachi-reviews__cb:checked ~ .hachi-reviews__toggle .is-less { display: inline; }
.hachi-reviews__cb:checked ~ .hachi-reviews__toggle::after { content: "▴"; }

/* 並び替えバー */
.hachi-sortbar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; background: #fff; border: 1px solid var(--hachi-border); border-radius: 8px; padding: 8px 12px; margin: 0 0 12px; font-size: 14px; line-height: 1.4; }
.hachi-sortbar__label { font-weight: 700; color: var(--hachi-text); padding: 4px 12px 4px 0; margin-right: 6px; border-right: 1px solid var(--hachi-border); }
.hachi-sortbar__item { display: inline-block; padding: 5px 10px; margin: 0 2px; border-radius: 4px; color: var(--hachi-cta-2) !important; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.hachi-sortbar__item:hover { background: var(--hachi-bluebox); }
.hachi-sortbar__item.is-on { background: var(--hachi-navy); color: #fff !important; text-decoration: none; font-weight: 700; }
.hachi-sortbar__price { display: inline-flex; flex-wrap: wrap; align-items: center; }
.hachi-sortbar__price-label { color: var(--hachi-text); padding: 4px 0; }
@media (max-width: 599px) { .hachi-sortbar { font-size: 13px; padding: 8px 10px; } .hachi-sortbar__label { width: 100%; border-right: 0; border-bottom: 1px solid var(--hachi-border); padding: 0 0 6px; margin: 0 0 4px; } .hachi-sortbar__item { padding: 5px 8px; } }

/* v1.7.3 自治体支援情報 */
.hachi-gov__lead{margin:0 0 12px;line-height:1.8}
.hachi-gov__dl{display:grid;grid-template-columns:9em 1fr;gap:8px 16px;margin:0 0 12px;padding:14px 16px;background:#fafaf7;border:1px solid #e6e3da;border-radius:8px}
.hachi-gov__dl dt{font-weight:700;color:#555}
.hachi-gov__dl dd{margin:0;line-height:1.7}
.hachi-gov__dl small,.hachi-table--gov small{color:#666;font-size:.85em}
.hachi-gov__src{font-size:.9em;color:#555;line-height:1.7}
.hachi-table--gov td{vertical-align:top;line-height:1.6}
@media (max-width:600px){.hachi-gov__dl{grid-template-columns:1fr;gap:2px 0}.hachi-gov__dl dt{margin-top:8px}}

/* エリア（地方1行） */
.hachi-area-group p { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; }
#area .hachi-area-pref a, .hachi-content #area .hachi-area-pref a { color: var(--hachi-text) !important; text-decoration: underline dotted !important; text-decoration-color: #999; text-underline-offset: 3px; }
.hachi-area-pref small { font-size: 12px; color: var(--hachi-muted, #777); margin-left: 2px; }
@media (max-width: 640px) { .hachi-area-group { grid-template-columns: 90px 1fr; } .hachi-area-group h4 { font-size: 14px; padding: 10px 8px; } }

/* 業者名→公式サイトリンク */
.hachi-single__name-link, .hachi-content .hachi-single__name-link { color: var(--hachi-link, #1a5fb4) !important; text-decoration: underline !important; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: rgba(26,95,180,.45); transition: color .15s, text-decoration-color .15s; }
.hachi-single__name-link:hover { color: var(--hachi-orange, #e8712b) !important; text-decoration-color: currentColor; }
.hachi-single__name-ext { display: inline-block; vertical-align: middle; margin-left: 6px; opacity: .8; }
.hachi-single__name-ext svg { width: .7em; height: .7em; display: block; }

.hachi-review__source a, .hachi-content .hachi-review__source a { color: var(--hachi-link, #1a5fb4) !important; text-decoration: underline !important; text-underline-offset: 2px; }

/* こだわり条件と絞り込むボタンを1行に */
.hachi-filter__head { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: start; }
.hachi-filter__head > .hachi-filter__more { min-width: 0; }
.hachi-filter__head .hachi-filter__more summary { padding: 9px 0; }
.hachi-filter__head > .hachi-filter__row--sort { margin: 0; }
.hachi-filter__head .hachi-filter__submit { margin-left: 0; }

/* CTAボタンの並びを全ページで統一（県ページ基準） */
.hachi-cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.hachi-cta > .hachi-btn--tel { flex: 3 1 260px; }
.hachi-cta > .hachi-btn--site { flex: 2 1 170px; }
.hachi-cta > .hachi-btn--detail { flex: 1 1 100%; }

/* CTAの最大幅も統一（市区町村ページでも県ページと同じ幅・中央寄せ） */
.hachi-card .hachi-cta { max-width: 640px; margin-left: auto; margin-right: auto; }

/* 支援制度テーブルの列幅（防護服貸出を狭める） */
.hachi-table--gov { table-layout: fixed; }
.hachi-table--gov th:nth-child(1), .hachi-table--gov td:nth-child(1) { width: 15%; }
.hachi-table--gov th:nth-child(2), .hachi-table--gov td:nth-child(2) { width: 29%; }
.hachi-table--gov th:nth-child(3), .hachi-table--gov td:nth-child(3) { width: 23%; }
.hachi-table--gov th:nth-child(4), .hachi-table--gov td:nth-child(4) { width: 33%; }
.hachi-table--gov td { overflow-wrap: anywhere; }

/* ページャーを横並びに */
.hachi-content .nav-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.hachi-content .nav-links .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; margin: 0; }

/* 補助・貸出の条件（ラベル＋箇条書き） */
.hachi-gov__cond { margin-top: 6px; }
.hachi-gov__cond-label { display: inline-block; font-size: .78em; font-weight: 700; color: #555; background: #f0f2f5; border-radius: 4px; padding: 1px 8px; margin-bottom: 4px; }
.hachi-gov__cond-one { display: block; font-size: .9em; color: #444; line-height: 1.6; }
.hachi-gov__cond-list { margin: 2px 0 0; padding-left: 1.1em; list-style: disc; }
.hachi-gov__cond-list li { font-size: .9em; color: #444; line-height: 1.6; margin: 0 0 2px; }
.hachi-table--gov .hachi-gov__cond-list li { font-size: .85em; }

/* FAQの質問見出し（h3）を通常テキストと同じ見た目に戻す */
.hachi-faq summary .hachi-faq__q { display: inline; margin: 0; padding: 0; background: none; border: 0; font-size: inherit; font-weight: inherit; line-height: inherit; color: inherit; }
.hachi-faq summary .hachi-faq__q::before, .hachi-faq summary .hachi-faq__q::after { content: none; display: none; }

/* 一覧ページのタイトル下の余白を詰める */
.hachi-content .hachi-archive__title { margin-bottom: 20px; }

.hachi-pref__ttl-sub { display: inline-block; font-size: .72em; line-height: 1.5; }

/* hachi-h2（セクション外の見出し）もSWELLの装飾を打ち消す */
.hachi-content h2.hachi-h2::before, .hachi-content h2.hachi-h2::after { display: none !important; content: none !important; }

/* H1の2行の行間を詰める */
.hachi-content .hachi-archive__title, .hachi-content .hachi-pref__title { line-height: 1.35; }
.hachi-pref__ttl-sub { margin-top: 2px; }

/* リード文の装飾を県ページと統一 */
.hachi-intro { font-size: 16px; line-height: 1.9; }
.hachi-intro b { color: var(--hachi-navy); }
.hachi-intro__guide { margin-top: 6px; font-size: 15px; }

/* WordPress標準ユーティリティ（classic-theme-styles を外した分の補完） */
.screen-reader-text { border: 0; clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; white-space: nowrap; }
.screen-reader-text:focus { background-color: #eee; clip-path: none; color: #444; display: block; font-size: 1em; height: auto; left: 5px; line-height: normal; padding: 15px 23px 14px; text-decoration: none; top: 5px; width: auto; z-index: 100000; }
.alignleft { float: left; margin-right: 1em; }
.alignright { float: right; margin-left: 1em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: .85em; color: #666; text-align: center; }
