@charset "UTF-8";

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

body {
  background: var(--color-surface);
  color: var(--color-text-primary);
  font-family: -apple-system,BlinkMacSystemFont,"Roboto","游ゴシック Medium","Yu Gothic Medium","游ゴシック","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic ProN","メイリオ",sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

/* 補助金ページの本文色（--color-text-secondary）を#333に上書き */
/* 淡いアクセント背景（--color-surface-accent-subtle）を#f4f3f2に上書き */
.page-hojokin {
  --color-text-secondary: #333;
  --color-surface-accent-subtle: #f4f3f2;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

.container {
  width: min(var(--container-width), 100% - var(--container-padding) * 2);
  margin-inline: auto;
}

.divider {
  width: 100%;
  height: 1px;
  background: var(--color-border);
}
.page-footer,
.site-footer {
  background-color: #e8e9e6;
  margin-top: 80px;
}
/* ===== Page layout ===== */
.page-content {
  display: flex;
  flex-direction: column;
  gap: 64px;
  padding: 96px 0;
}

/* ===== Section heading ===== */
.section-heading {
  display: flex;
  align-items: center;
  gap: var(--space-16);
  color: var(--color-accent);
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}

.section-heading::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 40px;
  border-radius: 2px;
  background: var(--color-accent);
}

.section-heading--highlight::before {
  background: var(--color-accent-highlight);
}

.heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

section.container > .section-heading,
section.container > .heading-row {
  margin-bottom: var(--space-24);
}

/* ===== Text link ===== */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  color: var(--color-accent);
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  white-space: nowrap;
}

.text-link__arrow {
  font-weight: 500;
}

/* ===== Card grid ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-24);
}

.card-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

/* ===== Page Header (FV) ===== */
.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.page-header__heading {
  flex: 1 0 0;
  min-width: 1px;
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.update-date {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 20px;
}

.page-header__title {
  color: var(--color-accent);
  font-size: 42px;
  font-weight: 700;
  line-height: 56px;
}

.page-header__illustration {
  width: 351px;
  height: 233px;
}

/* ===== Hero Search ===== */
.section-hero-search {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
}

.hero-search__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
}

.search-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
  padding: 31px;
  background: var(--color-surface-accent-subtle);
  border: 1px solid var(--color-border-accent);
  border-radius: 8px;
}

.search-panel__fields {
  display: flex;
  align-items: flex-end;
  gap: var(--space-16);
}

.search-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.search-field--select {
  width: 240px;
}

.search-field--keyword {
  flex: 1 0 0;
  min-width: 1px;
}

.search-field__label {
  color: var(--color-text-secondary);
  font-size: 16px;
  line-height: 24px;
}

.search-field__box {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  height: 46px;
  padding: 12px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  color: var(--color-text-secondary);
  font-size: 16px;
  line-height: 24px;
  white-space: nowrap;
}

.search-field__box--select {
  justify-content: space-between;
  width: 160px;
}

.search-field--select {
  position: relative;
}

.search-field__box--select {
  cursor: pointer;
  text-align: left;
}

.search-field__input {
  width: 100%;
  font: inherit;
  color: var(--color-text-primary);
  outline: none;
}

.search-field__input::placeholder {
  color: var(--color-text-secondary);
  opacity: 1;
}

.search-field__input:focus,
.search-field__box--select:focus-visible {
  border-color: var(--color-border-accent);
}

.select-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 10;
  width: 160px;
  max-height: 242px;
  overflow-y: auto;
  padding: 4px 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(34, 34, 34, 0.12);
  list-style: none;
}

.select-dropdown__option {
  padding: 8px 16px;
  font-size: 14px;
  line-height: 20px;
  cursor: pointer;
}

.select-dropdown__option:hover {
  background: var(--color-surface-accent-subtle);
}

.select-dropdown__option.is-selected {
  color: var(--color-accent);
  font-weight: 700;
}

.search-panel__choices {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

.search-panel__choices-label {
  font-size: 16px;
  line-height: 24px;
}

.choice-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
}

.choice {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  padding: 11px 15px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 16px;
  line-height: 24px;
  white-space: nowrap;
  cursor: pointer;
}

.choice__checkbox {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 4px;
}

.choice--selected {
  border-color: var(--color-border-accent);
}

.choice--selected .choice__checkbox {
  position: relative;
  background: var(--color-accent);
  border-color: var(--color-border-accent);
}

.choice--selected .choice__checkbox::after {
  content: "✓";
  position: absolute;
  left: 2px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-surface);
  font-size: 12px;
  line-height: 1;
}

.search-panel__actions {
  display: flex;
  justify-content: flex-end;
}

.button-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  width: 240px;
  padding: 20px 60px;
  background: var(--color-accent);
  border-radius: 8px;
  color: var(--color-surface);
  font-size: 16px;
  line-height: 24px;
  white-space: nowrap;
}

.total-count {
  display: flex;
  align-items: baseline;
  gap: var(--space-12);
  padding: var(--space-4) 0;
}

.total-count__label {
  color: var(--color-text-secondary);
  font-size: 16px;
  line-height: 24px;
}

.total-count__value {
  color: var(--color-accent-highlight);
  font-size: 44px;
  font-weight: 700;
  line-height: 52px;
}

.total-count__unit {
  margin-left: -10px;
  font-size: 16px;
  line-height: 24px;
}

/* ===== Browse By Category ===== */
.browse-panel__tabs {
  display: flex;
  gap: var(--space-8);
  margin-bottom: -1px;
  position: relative;
  z-index: 1;
}

.browse-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  padding: 13px 19px;
  background: var(--color-surface-accent-subtle);
  border: 1px solid var(--color-border);
  border-radius: 10px 10px 0 0;
  color: var(--color-text-secondary);
  font-size: 15px;
  font-weight: 500;
  line-height: 22px;
  white-space: nowrap;
}

.browse-tab img {
  width: 16px;
  height: 16px;
}

.browse-tab--active {
  background: var(--color-surface);
  border-color: var(--color-accent);
  border-bottom: none;
  padding-bottom: 14px;
  color: var(--color-accent);
  font-weight: 700;
}

.browse-panel__content {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-16) var(--space-24);
  padding: 27px;
  background: var(--color-surface);
  border: 1px solid var(--color-accent);
  border-radius: 12px 0 12px 12px;
}

.browse-panel__content[hidden] {
  display: none;
}

.browse-panel__content--area {
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-8);
  border-radius: 0 12px 12px 12px;
}

.region-row {
  display: flex;
  align-items: center;
  gap: var(--space-24);
  min-height: 51px;
}

.region-row__label {
  flex-shrink: 0;
  width: 110px;
  font-size: 15px;
  font-weight: 700;
  line-height: 24px;
}

.region-row__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-size: 14px;
  line-height: 20px;
}

.region-row__links a:hover {
  color: var(--color-accent);
}

.region-divider {
  height: 1px;
  background: rgba(229, 201, 154, 0.6);
}

.category-card {
  display: flex;
  align-items: center;
  gap: var(--space-16);
  width: 23%;
  min-width: 0;
  height: auto;
  min-height: 72px;
  padding: 16px 20px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  white-space: normal;
  overflow-wrap: anywhere;
}

.category-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--color-surface-accent-subtle);
  border-radius: 8px;
}

/* ===== Review card ===== */
.review-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  padding: 15px 23px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.review-card__pill {
  align-self: flex-start;
  padding: 6px 12px;
  background: var(--color-surface-accent-subtle);
  border-radius: 6px;
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
  white-space: nowrap;
}

.review-card__rating-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.review-card__rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-24);
}

.stars {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.stars--m {
  gap: 2px;
}

.stars--m img {
  width: 24px;
  height: 24px;
}

.review-card__score {
  color: var(--color-accent);
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
}

.review-card__quote {
  display: flex;
  flex-direction: column;
}

.quote-icon {
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 28px;
  opacity: 0.5;
}

.quote-icon--close {
  align-self: flex-end;
  transform: rotate(180deg);
}

.review-card__quote-text {
  padding: 6px 0;
  font-size: 15px;
  line-height: 22px;
}

.review-card__meta {
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 20px;
}

.review-card__action {
  display: flex;
  justify-content: flex-end;
  margin-top: auto;
}

/* ===== Satisfaction ===== */
.satisfaction-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 298px;
  gap: var(--space-24);
  align-items: stretch;
}

.satisfaction-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-32);
  padding: 27px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.satisfaction-card--result {
  justify-content: center;
}

.satisfaction-card__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}

.rating-summary {
  display: flex;
  gap: var(--space-48);
}

.rating-summary__overview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-16);
}

.rating-summary__score {
  color: var(--color-accent);
  font-size: 56px;
  font-weight: 700;
  line-height: 56px;
}

.rating-summary__overview .stars {
  margin-top: -8px;
}

.rating-summary__note {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 18px;
}

.rating-distribution {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

.rating-distribution__row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rating-distribution__row img {
  width: 16px;
  height: 16px;
}

.rating-distribution__level {
  width: 10px;
  font-size: 16px;
  line-height: 24px;
}

.bar-track {
  display: block;
  width: 240px;
  height: 16px;
  background: var(--color-chart-track);
  border-radius: 4px;
  overflow: hidden;
}

.bar-fill {
  display: block;
  height: 16px;
  background: var(--color-accent);
  border-radius: 4px;
}

.rating-distribution__pct {
  width: 36px;
  font-size: 16px;
  line-height: 24px;
  text-align: right;
}

.donut-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

.donut-block__row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-32);
}

.donut {
  position: relative;
  width: 164px;
  height: 164px;
}

.donut__track,
.donut__arc {
  position: absolute;
  inset: 0;
}

.donut__label {
  position: absolute;
  left: 50%;
  top: 53px;
  transform: translateX(-50%);
  color: var(--color-text-secondary);
  font-size: 16px;
  line-height: 24px;
}

.donut__value {
  position: absolute;
  left: 50%;
  top: 71px;
  transform: translateX(-50%);
  color: var(--color-accent);
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
  white-space: nowrap;
}

.donut__value span {
  font-size: 16px;
  line-height: 24px;
}

.donut-legend {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.donut-legend__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 256px;
}

.donut-legend__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 230px;
  font-size: 16px;
  line-height: 24px;
  white-space: nowrap;
}

.donut-block__note {
  align-self: flex-end;
  color: var(--color-text-secondary);
  font-size: 12px;
  line-height: 14px;
}

/* ===== Stat cards ===== */
.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-12);
  padding: 23px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.stat-card__label {
  color: var(--color-text-secondary);
  font-size: 16px;
  line-height: 24px;
}

.stat-card__value {
  display: flex;
  align-items: flex-end;
  gap: var(--space-4);
  color: var(--color-accent-highlight);
  font-size: clamp(22px, 4vw, 58px);
  font-weight: 700;
  line-height: 40px;
  margin-bottom: 20px;
}

.stat-card__unit {
  color: var(--color-accent);
  font-size: 16px;
  line-height: 24px;
}

.stat-card__caption {
  color: var(--color-text-secondary);
  font-size: 13px;
  line-height: 18px;
  text-align: center;
}

.data-source-note {
  margin-top: var(--space-24);
  color: var(--color-text-secondary);
  font-size: 12px;
  line-height: 14px;
}

/* ===== Subsidy card (compact) ===== */
.subsidy-card-compact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-12);
  padding: 23px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.subsidy-card-compact__badge {
  padding: 4px 10px;
  background: var(--color-accent);
  border-radius: 4px;
  color: var(--color-surface);
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  white-space: nowrap;
}

.subsidy-card-compact__name {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.35;
}

.subsidy-card-compact__name a:hover {
  text-decoration: underline;
}

.subsidy-card-compact__benefit {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  white-space: normal;
}

.subsidy-card-compact__benefit-label {
  color: var(--color-text-secondary);
  font-size: 13px;
  line-height: 18px;
}

.subsidy-card-compact__benefit-value {
  color: var(--color-accent);
  font-size: 30px;
  font-weight: 700;
  line-height: 36px;
}

.subsidy-card-compact__benefit-unit {
  font-size: 13px;
  line-height: 18px;
}

.subsidy-card-compact__region {
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 20px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
}

.tag {
  padding: 3px 7px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
}

.subsidy-card-compact__desc {
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 20px;
}

.card-grid--start {
  align-items: start;
}

.subsidy-card-compact__spacer {
  flex: 1 0 1px;
}

.subsidy-card-compact__spacer--l {
  flex-basis: 8px;
}

.subsidy-card-compact__action {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

/* ===== Article card ===== */
.article-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-12);
  min-width: 0;
  padding: 23px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.article-card__thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background: #f3f3f3;
}

.article-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-grid--2 .article-card__title {
  min-height: 0;
}

.article-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px;
  max-width: 100%;
  min-width: 0;
}

.article-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--color-surface-accent-subtle);
  border-radius: 12px;
}

.article-card__tag {
  padding: 4px 10px;
  background: var(--color-surface-accent-subtle);
  border-radius: 6px;
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  white-space: nowrap;
}

.article-card__title {
  min-height: 64px;
  font-size: 20px;
  font-weight: 700;
  line-height: 32px;
}

.article-card__desc {
  color: var(--color-text-secondary);
  font-size: 16px;
  line-height: 24px;
}

.article-card__spacer {
  flex: 1 0 1px;
}

.article-card__action {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

/* ===== 検索結果一覧 ===== */
.container--narrow {
  width: min(1080px, 100% - var(--container-padding) * 2);
}

.page-content--sub {
  gap: var(--space-32);
  padding: var(--space-32) 0 96px;
}

.breadcrumb {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  color: var(--color-text-secondary);
  font-size: 18px;
  line-height: 28px;
}

.breadcrumb__path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4) var(--space-8);
}

/* パンくず直下：同じ市区町村の会社一覧へのリンク */
.breadcrumb-company-link {
  color: var(--color-accent);
  font-size: inherit;
  font-weight: 400;
  line-height: inherit;
  text-decoration: underline;
}

.breadcrumb__link {
  font-weight: 400;
}

.breadcrumb__current {
  color: var(--color-text-primary);
}

.results-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

.results-header__title {
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
}

.results-header__em {
  color: var(--color-accent);
}

.results-header__count {
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 20px;
}

.result-controls {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.result-controls__count {
  font-size: 16px;
  line-height: 24px;
}

.note-text {
  color: var(--color-text-secondary);
  font-size: 12px;
  line-height: 14px;
}

.results-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
}

.subsidy-card-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 31px;
  background: var(--color-surface);
  border: 1px solid var(--color-border-accent);
  border-radius: 12px;
  min-width: 0;
  overflow: hidden;
}

.subsidy-card-list__header {
  display: flex;
  align-items: center;
  gap: var(--space-16);
}

.status {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
}

.status--open {
  background: var(--color-accent);
  color: var(--color-surface);
}

.status--upcoming {
  padding: 3px 7px;
  background: var(--color-surface-accent-subtle);
  border: 1px solid var(--color-border-accent);
  color: var(--color-accent);
}

.status--closed {
  padding: 3px 7px;
  background: #f5f5f5;
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
}

.status--unknown {
  padding: 3px 7px;
  background: #f0f0f0;
  border: 1px solid var(--color-border);
  color: #555;
}

.status--confirm {
  padding: 3px 7px;
  background: #fff3bf;
  border: 1px solid #e6b800;
  color: #7a5b00;
}

.subsidy-card-list__name {
  color: var(--color-accent);
  font-size: 30px;
  font-weight: 700;
  line-height: 32px;
}

.subsidy-card-list__scope {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-32);
  color: var(--color-text-secondary);
  font-size: 15px;
  line-height: 22px;
}

.subsidy-card-list__benefit {
  display: flex;
  gap: 56px;
}

.benefit-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.benefit-item__label {
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 20px;
}

.benefit-item__amount {
  display: flex;
  align-items: baseline;
  gap: var(--space-4);
}

.benefit-item__number {
  color: var(--color-accent);
  font-size: 32px;
  font-weight: 700;
  line-height: 38px;
}

.benefit-item__unit {
  font-size: 15px;
  line-height: normal;
}

.benefit-item__strong {
  font-size: 24px;
  font-weight: 700;
  line-height: 150%;
  white-space: normal;
  overflow-wrap: anywhere;
}

.benefit-item__text {
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 17px;
}

.subsidy-card-list__details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-16);
  padding: 20px;
  background: var(--color-surface-accent-subtle);
  border-radius: 8px;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.subsidy-card-list__period {
  font-size: 14px;
  line-height: 20px;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.tag-list--accent {
  gap: var(--space-8);
}

/* 施工箇所タグ（company/1030/555 の .kuchi-box .tag span を流用） */
.tag--accent {
  padding: 0.2em 0.8em;
  background: #fff7f1;
  border: 1px solid #ff8d32;
  border-radius: 9999px;
  color: #ae4d00;
  font-weight: 600;
}

.subsidy-card-list__example {
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 20px;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.subsidy-card-list__action {
  display: flex;
  justify-content: flex-end;
  padding: 0 10px;
}

.search-field__box--filled {
  color: var(--color-text-primary);
}

/* ===== Pagination ===== */
.pagination-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-8);
}

.pagination {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.pagination__arrow {
  width: 12px;
  height: 24px;
}

.pagination__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 60px;
  border-radius: 8px;
  color: var(--color-accent);
  font-size: 16px;
  line-height: 24px;
  white-space: pre;
}

.pagination__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
}

.pagination__item--current {
  background: var(--color-accent);
  border-color: var(--color-border-accent);
  color: var(--color-surface);
}

.pagination__ellipsis {
  color: var(--color-text-secondary);
  font-size: 16px;
  line-height: 24px;
}

/* ===== 補助金個別詳細 ===== */
.page-content--detail {
  gap: 64px;
}

.subsidy-summary {
  padding: 30px;
  background: var(--color-surface);
  border: 2px solid var(--color-border-accent);
  border-radius: 12px;
  min-width: 0;
  overflow: hidden;
}

.subsidy-summary__main {
  display: flex;
  gap: var(--space-48);
}

.subsidy-summary__basic {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  width: 600px;
  max-width: 100%;
  min-width: 0;
}

.subsidy-summary__status-row {
  display: flex;
  align-items: center;
  gap: var(--space-12);
}

.subsidy-summary__status-note {
  color: var(--color-text-secondary);
  font-size: 15px;
  line-height: 22px;
}

.subsidy-summary__name {
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
}

.subsidy-summary__benefit-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  width: 380px;
}

.subsidy-summary__update {
  color: var(--color-text-secondary);
  font-size: 18px;
  line-height: 22px;
}

.subsidy-summary__benefit {
  display: flex;
  gap: var(--space-32);
}

.summary-benefit-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.summary-benefit-item__label {
  color: var(--color-text-secondary);
  font-size: 18px;
  line-height: 22px;
}

.summary-benefit-item__value {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 2px;
  color: var(--color-accent);
  font-weight: 700;
  white-space: normal;
  overflow-wrap: anywhere;
}

.summary-benefit-item__number {
  font-size: 32px;
  line-height: 40px;
}

.summary-benefit-item__suffix {
  font-size: 20px;
  line-height: 32px;
}

.subsidy-summary__period {
  font-size: 18px;
  line-height: 28px;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.detail-section > .section-heading {
  margin-bottom: var(--space-24);
}

section.container.detail-section--tight > .section-heading {
  margin-bottom: var(--space-16);
}

.detail-section__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
}

.detail-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.detail-block--flow {
  gap: var(--space-12);
}

.detail-block__heading {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
}

.detail-block > .detail-block__heading:not(:first-child) {
  margin-top: var(--space-24);
}

.detail-block__heading img {
  width: 16px;
  height: 16px;
}

.detail-block__text {
  color: var(--color-text-secondary);
  font-size: 15px;
  line-height: 26px;
}

.detail-block__text--lh24 {
  line-height: 24px;
}

.detail-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-32);
}

/* シミュレーション */
.simulation-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-12);
  padding: 23px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.simulation-card__label {
  padding: 4px 11px;
  background: var(--color-surface);
  border: 1px solid var(--color-border-accent);
  border-radius: 30px;
  color: var(--color-accent);
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
}

.simulation-card__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
}

.simulation-card__cost {
  color: var(--color-text-secondary);
  font-size: 16px;
  line-height: 26px;
}

.simulation-card__result {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: auto;
  padding: 20px 0;
  background: var(--color-surface-accent-subtle);
  border-radius: 8px;
  color: var(--color-accent);
  font-size: 20px;
  font-weight: 700;
  line-height: 22px;
}

/* 申請の流れ */
.flow-steps {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  width: 100%;
}

.flow-step {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 0 0;
  height: 60px;
  background: var(--color-surface-accent-subtle);
  border: 1px solid var(--color-accent);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 26px;
  text-align: center;
}

.flow-arrow {
  flex-shrink: 0;
  width: 16px;
  color: var(--color-text-secondary);
  font-size: 16px;
  font-weight: 700;
  line-height: normal;
}

/* 注意点 */
.cautions {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  padding: 20px;
  background: var(--color-surface-accent-subtle);
  border-radius: 8px;
}

.cautions__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}

.cautions__text {
  color: var(--color-text-secondary);
  font-size: 15px;
  line-height: 24px;
}

/* 問い合わせ */
.contact-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-8);
  padding: 23px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  font-size: 15px;
  line-height: 24px;
}

/* 関連口コミ */
.related-reviews {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-24);
}

/* ===== 口コミ個別詳細 ===== */
.page-content--review {
  gap: var(--space-48);
}

.review-summary {
  display: flex;
  flex-direction: column;
  gap: var(--space-32);
}

.review-summary__title-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: -8px;
}

.review-summary__title {
  color: var(--color-accent);
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
}

.review-summary__subtitle {
  padding: 0 20px;
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}

.cost-breakdown {
  display: flex;
  align-items: flex-end;
  gap: var(--space-32);
  padding: 0 20px;
}

.cost-breakdown__divider {
  align-self: center;
  width: 1px;
  height: 30px;
  background: var(--color-border);
}

.cost-item {
  display: flex;
  align-items: flex-end;
  gap: var(--space-12);
  white-space: nowrap;
}

.cost-item__label {
  color: var(--color-text-secondary);
  font-size: 13px;
  line-height: 22px;
}

.cost-item__value {
  display: flex;
  align-items: flex-end;
  gap: var(--space-4);
  color: var(--color-accent);
  font-size: 32px;
  font-weight: 700;
  line-height: 32px;
}

.cost-item__unit {
  font-size: 20px;
  line-height: 22px;
}

.review-summary > .divider {
  background: rgba(233, 135, 16, 0.5);
}

.review-summary__info-row {
  display: flex;
  gap: 64px;
  padding: 0 20px;
}

.review-summary__rating-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

.review-summary__small-label {
  color: var(--color-text-secondary);
  font-size: 13px;
  line-height: 18px;
}

.review-summary__subsidy {
  display: flex;
  align-items: flex-end;
  gap: var(--space-16);
}

.review-summary__overall {
  display: flex;
  align-items: center;
  gap: 6px;
}

.review-summary__overall .stars {
  margin-right: 18px;
}

.review-summary__score {
  color: var(--color-accent);
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
}

.review-summary__profile {
  display: flex;
  gap: var(--space-32);
}

.review-summary__profile > img {
  width: 64px;
  height: 64px;
}

.review-summary__meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 20px;
}

/* Before / After */
.experience-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-24);
}

.photo-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.photo-block__frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 240px;
  border: 1px dashed var(--color-border);
  border-radius: 8px;
  overflow: hidden;
}

.photo-block__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.photo-block__photo--before {
  object-position: 50% 42%;
}

.photo-block__label {
  position: relative;
  color: var(--color-surface);
  font-size: 14px;
  line-height: normal;
}

.photo-block__caption {
  color: var(--color-text-secondary);
  font-size: 13px;
  line-height: 18px;
}

/* Q&A */
.qa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12) var(--space-24);
}

.qa-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  padding: 23px 19px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
}

.qa-card__question {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}

.qa-card__question img {
  width: 30px;
  height: 25px;
}

.qa-card__answer {
  color: var(--color-text-secondary);
  font-size: 15px;
  line-height: 22px;
}

/* 満足度と利用の流れ */
.rating-section-wrap {
  margin-top: -8px;
}

.rating-section-wrap > .section-heading {
  margin-bottom: var(--space-32);
}

.rating-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-48);
  padding: 0 20px;
}

.rating-cost-row {
  display: flex;
  align-items: flex-end;
  gap: var(--space-24);
}

.rating-stats {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
}

.icon-heading {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}

.icon-heading--l {
  font-size: 24px;
  line-height: 32px;
}

.rating-rows {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  padding: 0 var(--space-32);
}

.rating-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 428px;
}

.rating-row p {
  font-size: 16px;
  line-height: 24px;
}

/* 利用者平均パネル */
.cost-stats {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-32);
  padding-bottom: 23px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
}

.cost-stats__heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  width: 100%;
  padding: 15px 0;
  background: var(--color-surface-accent-subtle);
  border-bottom: 1px solid var(--color-border-accent);
  border-radius: 8px 8px 0 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}

.cost-stats__row {
  display: flex;
  align-items: center;
  gap: var(--space-32);
  padding: 0 30px;
}

.cost-stats__values {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.cost-stats__item {
  display: flex;
  align-items: flex-end;
  gap: var(--space-12);
  white-space: nowrap;
}

.cost-stats__label {
  color: var(--color-text-secondary);
  font-size: 13px;
  line-height: 18px;
}

.cost-stats__value {
  min-width: 72px;
  color: var(--color-accent);
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  text-align: right;
}

.cost-stats__value--xl {
  font-size: 32px;
}

.cost-stats__unit {
  color: var(--color-text-secondary);
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}

.cost-stats__unit--l {
  font-size: 20px;
  line-height: 22px;
}

.cost-stats__divider {
  width: 1px;
  height: 60px;
  background: var(--color-border);
}

/* タイムライン・アドバイス */
.timeline-advice {
  display: flex;
  flex-direction: column;
  gap: var(--space-32);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
}

.timeline-steps {
  display: flex;
  align-items: center;
  gap: var(--space-24);
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  width: 120px;
  padding: 11px;
  background: var(--color-surface-accent-subtle);
  border: 1px solid var(--color-accent);
  border-radius: 8px;
  font-size: 16px;
  line-height: 20px;
  text-align: center;
}

.timeline-step__month {
  font-weight: 400;
}

.advice {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.advice__text {
  font-size: 14px;
  line-height: 20px;
}

/* ===== Responsive (中間幅: コンテナ縮小の吸収) ===== */
@media (min-width: 769px) and (max-width: 1279px) {
  .satisfaction-row {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
}

/* ===== Responsive (SP: フロー化近似) ===== */
@media (max-width: 768px) {
  .page-content {
    gap: 48px;
    padding: 18px 0;
    width: 90%;
    margin-right: auto;
    margin-left: auto;
  }

  .page-header {
    flex-direction: column;
    gap: var(--space-24);
  }

  .page-header__title {
    font-size: 28px;
    line-height: 40px;
    white-space: normal;
  }

  .page-header__illustration {
    display: none;
  }

  .page-content > .page-header {
    display: none;
  }

  .section-heading {
    font-size: 25px;
    line-height: 28px;
  }

  .breadcrumb {
    font-size: 16px;
    line-height: 24px;
  }

  .page-hojokin .search-field__label,
  .page-hojokin .search-field__box,
  .page-hojokin .search-panel__choices-label,
  .page-hojokin .choice,
  .page-hojokin .text-link,
  .page-hojokin .total-count__unit {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-hojokin-top .browse-panel__tabs {
    width: 100%;
  }

  .page-hojokin-top .browse-tab {
    flex: 1 1 0;
    min-width: 0;
    padding: 10px 8px;
    font-size: 15px;
    line-height: 1.35;
    white-space: nowrap;
  }

  /* 本文・主要テキストは既存ページ（会社/市区町村）に合わせて16px */
  .page-hojokin .region-row__label,
  .page-hojokin .region-row__links,
  .page-hojokin .review-card__quote-text,
  .page-hojokin .review-card__meta,
  .page-hojokin .category-card,
  .page-hojokin .article-card__desc,
  .page-hojokin .subsidy-card-compact__desc,
  .page-hojokin .subsidy-card-compact__region,
  .page-hojokin .subsidy-card-compact__benefit-label,
  .page-hojokin .subsidy-card-compact__benefit-note,
  .page-hojokin .detail-block__text,
  .page-hojokin .detail-block__text--lh24,
  .page-hojokin .contact-panel,
  .page-hojokin .qa-card__question,
  .page-hojokin .qa-card__answer,
  .page-hojokin .subsidy-card-list__scope,
  .page-hojokin .subsidy-card-list__period,
  .page-hojokin .subsidy-card-list__example,
  .page-hojokin .benefit-item__text,
  .page-hojokin .cost-item__label,
  .page-hojokin .review-summary__meta,
  .page-hojokin .timeline-step,
  .page-hojokin .rating-row p,
  .page-hojokin .section-satisfaction .satisfaction-card__title,
  .page-hojokin .section-satisfaction .rating-distribution__level,
  .page-hojokin .section-satisfaction .rating-distribution__pct,
  .page-hojokin .section-satisfaction .donut__label,
  .page-hojokin .section-satisfaction .donut__value span,
  .page-hojokin .section-satisfaction .donut-legend__label,
  .page-hojokin .section-amount .stat-card__unit {
    font-size: 16px;
    line-height: 1.6;
    line-height: 190%;
  }

  .page-hojokin .article-card__title {
    font-size: 18px;
    line-height: 1.5;
    min-height: 0;
  }

  .page-hojokin .subsidy-card-compact__name {
    font-size: 24px;
    line-height: 1.35;
  }

  /* 補足・ラベル・バッジ類は14px */
  .page-hojokin .review-card__pill,
  .page-hojokin .article-card__tag,
  .page-hojokin .subsidy-card-compact__badge,
  .page-hojokin .data-source-note,
  .page-hojokin .stat-card__caption,
  .page-hojokin .summary-benefit-item__label,
  .page-hojokin .benefit-item__label,
  .page-hojokin .subsidy-summary__period,
  .page-hojokin .tag,
  .page-hojokin .section-satisfaction .rating-summary__note,
  .page-hojokin .section-satisfaction .donut-block__note,
  .page-hojokin .section-amount .data-source-note {
    font-size: 18px;
    line-height: 1.5;
  }

  .page-hojokin .section-satisfaction .rating-summary__score {
    font-size: 52px;
  }

  .page-hojokin .section-satisfaction .donut__value {
    font-size: 32px;
    line-height: 1.2;
  }

  .page-hojokin .section-amount .stat-card__value {
    font-size: 50px;
  }

  .page-hojokin .section-amount .stat-card__label {
    font-size: 22px;
    line-height: 1.4;
  }

  .page-hojokin .section-amount .stat-card__caption {
    font-size: 16px;
    line-height: 1.5;
  }

  .page-hojokin .section-satisfaction .section-heading,
  .page-hojokin .section-amount .section-heading {
    justify-content: center;
  }

  .page-hojokin .section-satisfaction .satisfaction-card,
  .page-hojokin .section-satisfaction .satisfaction-card__title,
  .page-hojokin .section-satisfaction .donut-block,
  .page-hojokin .section-satisfaction .donut-legend,
  .page-hojokin .section-amount .stat-card,
  .page-hojokin .section-amount .data-source-note {
    text-align: center;
  }

  .page-hojokin .section-satisfaction .satisfaction-card {
    align-items: stretch;
  }

  .page-hojokin .section-satisfaction .donut-block,
  .page-hojokin .section-satisfaction .donut-legend,
  .page-hojokin .section-amount .stat-card {
    align-items: center;
  }

  .page-hojokin .section-satisfaction .donut-block__note {
    align-self: center;
  }

  .page-hojokin .section-satisfaction .donut-legend__row,
  .page-hojokin .section-satisfaction .donut-legend__label {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    justify-content: center;
  }

  .heading-row {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-12);
  }

  .page-hojokin-top .heading-row .text-link {
    white-space: normal;
  }

  .search-panel {
    padding: var(--space-16);
  }

  .search-panel__fields {
    flex-direction: column;
    align-items: stretch;
  }

  .search-field--select,
  .search-field__box--select,
  .select-dropdown {
    width: 100%;
  }

  .button-primary {
    width: 100%;
  }

  .browse-panel__content {
    padding: var(--space-16);
    width: 100%;
    border-radius: 0 0 12px 12px;
  }

  .browse-panel__content--area {
    border-radius: 0 0 12px 12px;
  }

  .browse-panel__content--construction {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .region-row {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-8);
    padding: var(--space-8) 0;
  }

  .category-card {
    width: auto;
    max-width: 100%;
    padding: 12px;
    gap: var(--space-8);
    height: auto;
    min-height: 64px;
    font-size: 13px;
    line-height: 1.35;
    white-space: normal;
    align-items: flex-start;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .satisfaction-row {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .rating-summary {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-24);
    width: 100%;
  }

  .rating-distribution {
    width: 100%;
  }

  .bar-track {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }

  .donut-block__row {
    flex-direction: column;
    align-items: center;
    gap: var(--space-16);
  }

  .results-header__title {
    font-size: 24px;
    line-height: 34px;
    width: 90%;
    margin-right: auto;
    margin-left: auto;
  }

  .subsidy-card-list {
    padding: var(--space-16);
  }

  .subsidy-card-list__header {
    flex-wrap: wrap;
    gap: var(--space-8) var(--space-16);
  }

  .subsidy-card-list__name {
    font-size: 20px;
    line-height: 28px;
  }

  .subsidy-card-list__scope {
    flex-direction: column;
    gap: var(--space-4);
  }

  .subsidy-card-list__benefit {
    flex-direction: column;
    gap: var(--space-16);
  }

  .pagination {
    flex-wrap: wrap;
    justify-content: center;
  }

  .pagination__nav {
    padding: 0 16px;
  }

  .subsidy-summary {
    padding: var(--space-16);
  }

  .subsidy-summary__main {
    flex-direction: column;
    gap: var(--space-24);
  }

  .subsidy-summary__basic,
  .subsidy-summary__benefit-info {
    width: 100%;
  }

  .subsidy-summary__name {
    font-size: 24px;
    line-height: 34px;
  }

  .detail-columns {
    grid-template-columns: 1fr;
    gap: var(--space-24);
  }

  .flow-steps {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-8);
  }

  .flow-step {
    flex: none;
    width: 100%;
    height: auto;
    min-height: 48px;
    padding: 12px 14px;
    text-align: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1.6;
    overflow-wrap: anywhere;
  }

  .flow-steps .flow-arrow {
    display: block;
    width: 100%;
    text-align: center;
    transform: rotate(90deg);
  }

  .timeline-steps .flow-arrow {
    display: none;
  }

  .related-reviews {
    grid-template-columns: 1fr;
  }

  .review-summary__title {
    font-size: 24px;
    line-height: 34px;
  }

  .review-summary__subtitle {
    padding: 0;
    font-size: 20px;
    line-height: 28px;
  }

  .cost-breakdown {
    flex-wrap: wrap;
    gap: var(--space-16);
    padding: 0;
  }

  .review-summary__info-row {
    flex-direction: column;
    gap: var(--space-24);
    padding: 0;
  }

  .before-after {
    grid-template-columns: 1fr;
  }

  .qa-grid {
    grid-template-columns: 1fr;
  }

  .rating-section {
    padding: 0;
  }

  .rating-cost-row {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-32);
  }

  .rating-rows {
    padding: 0;
  }

  .rating-row {
    width: 100%;
  }

  .rating-row .stars--l img {
    width: 24px;
    height: 24px;
  }

  .timeline-steps {
    flex-wrap: wrap;
    gap: var(--space-8);
  }

  .timeline-step {
    width: calc(50% - var(--space-8));
  }

  .cost-stats__row {
    flex-wrap: wrap;
    padding: 0 16px;
  }
}

/* ===== PC（デスクトップ）フォントサイズ ===== */
@media (min-width: 769px) {
  /* 基本フォントサイズを18pxに */
  .page-hojokin {
    font-size: 18px;
  }

  /* 本文・主要テキストはPCで18px */
  .page-hojokin .search-field__label,
  .page-hojokin .search-field__box,
  .page-hojokin .search-panel__choices-label,
  .page-hojokin .choice,
  .page-hojokin .text-link,
  .page-hojokin .total-count__unit,
  .page-hojokin .region-row__label,
  .page-hojokin .region-row__links,
  .page-hojokin .review-card__quote-text,
  .page-hojokin .review-card__meta,
  .page-hojokin .category-card,
  .page-hojokin .article-card__desc,
  .page-hojokin .subsidy-card-compact__desc,
  .page-hojokin .subsidy-card-compact__region,
  .page-hojokin .subsidy-card-compact__benefit-label,
  .page-hojokin .subsidy-card-compact__benefit-note,
  .page-hojokin .detail-block__text,
  .page-hojokin .detail-block__text--lh24,
  .page-hojokin .contact-panel,
  .page-hojokin .cautions__text,
  .page-hojokin .qa-card__question,
  .page-hojokin .qa-card__answer,
  .page-hojokin .subsidy-card-list__scope,
  .page-hojokin .subsidy-card-list__period,
  .page-hojokin .subsidy-card-list__example,
  .page-hojokin .benefit-item__text,
  .page-hojokin .cost-item__label,
  .page-hojokin .review-summary__meta,
  .page-hojokin .rating-row p,
  .page-hojokin .section-satisfaction .satisfaction-card__title,
  .page-hojokin .section-amount .stat-card__label,
  .page-hojokin .section-amount .stat-card__unit {
    font-size: 18px;
    line-height: 1.7;
  }

  /* h2相当の見出し（.section-heading など）は28px */
  .page-hojokin .section-heading {
    font-size: 28px;
    line-height: 38px;
  }

  /* h3相当の見出し（.detail-block__heading など）は22px */
  .page-hojokin .detail-block__heading {
    font-size: 22px;
    line-height: 32px;
  }
}

/* ===== 記事ページ流用 CTA ===== */
.page-hojokin .sp-only {
  display: none;
}

.page-hojokin section.form {
  clear: both;
  display: block;
  margin-inline: auto;
  text-align: center;
  background-color: #f6fbff;
  padding: 20px;
  border: solid 1px #9d9d9d;
}

.page-hojokin section.form span {
  display: inline-block;
  font-weight: 600;
  letter-spacing: .1em;
  margin: 0 0 1em;
  text-align: center;
  text-indent: .1em;
}

.page-hojokin .cta-catch {
  font-size: 1.5em;
  font-weight: 700;
  text-align: center;
  color: #ff8d32;
  line-height: 150%;
}

.page-hojokin p.formbtn {
  background-color: #5dce4f;
  border-radius: 10px;
  color: #FFFFFF;
  display: block;
  font-size: 1.25em;
  font-weight: 500;
  height: 90px;
  margin: 0 auto;
  overflow: hidden;
  padding: 0;
  position: relative;
  text-align: center;
  z-index: 0;
  transition: all 0.5s ease;
}

.page-hojokin p.formbtn a {
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  inset: 0;
  text-decoration: none;
  z-index: 1;
  transition: all 0.5s ease;
}

.page-hojokin p.formbtn a::after {
  content: "\025b6";
  margin-left: .25em;
}

.page-hojokin p.formbtn::after {
  background-color: #338f28;
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 100%;
  transform: scale(1, 0);
  transform-origin: left;
  transition: .25s cubic-bezier(0.45, 0, 0.55, 1);
  z-index: 0;
  pointer-events: none;
}

.page-hojokin p.formbtn:hover::after {
  transform: scale(1, 1.01);
}

@media (max-width: 768px) {
  .page-hojokin .sp-only {
    display: inline;
  }

  .page-hojokin .cta-catch {
    align-items: center;
    display: flex;
    font-size: 1.25em;
    justify-content: center;
    margin: 0 auto .5em;
    line-height: 140%;
  }

  .page-hojokin p.formbtn {
    height: 100px;
  }

  .page-hojokin p.formbtn a {
    padding: 0 2.4em 0 1em;
  }

  .page-hojokin p.formbtn a::after {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 0;
  }
}
.page-footer a {
  display: inline-block;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  color: inherit;
  padding: 0 2px;
  margin: 0 2px;
}
.footer-container {
  width: 100%;
  margin: 0 auto;
  text-align: center;
  padding: 8.8vw 2.667vw 10.067vw 7.067vw;
  font-size: 3.733vw;
  line-height: 1.65;
  color: #333;
  font-family: -apple-system,BlinkMacSystemFont,"Roboto","游ゴシック Medium","Yu Gothic Medium","游ゴシック","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic ProN","メイリオ",sans-serif;
}
@media screen and (min-width: 1200px) {
  .footer-container {
    width: 1000px;
    font-size: 16px;
  }
}
@media screen and (min-width: 768px) {
  .page-footer address {
    margin-bottom: 1.25em;
  }
.footer-container {
  padding: 8.8vw 2.667vw 10.067vw 7.067vw;
}
}