:root {
  --hpd-white: #ffffff;
  --hpd-black: #000000;
  --hpd-gray-50: #f8f8fb;
  --hpd-gray-100: #f1f2f4;
  --hpd-gray-200: #e6e8eb;
  --hpd-gray-300: #c9ced6;
  --hpd-gray-500: #6f7785;
  --hpd-gray-700: #3b4453;
  --hpd-gray-900: #1a1f29;
  --hpd-blue-50: #eef7ff;
  --hpd-blue-100: #d9efff;
  --hpd-blue-700: #005bac;
  --hpd-blue-800: #003f8c;
  --hpd-blue-900: #0017c1;
  --hpd-green-50: #e9f8f2;
  --hpd-green-700: #006e4f;
  --hpd-cyan-50: #e9fbff;
  --hpd-cyan-700: #006d75;
  --hpd-orange-50: #fff1e8;
  --hpd-orange-700: #a94300;
  --hpd-yellow-300: #f8e71c;
  --hpd-red-700: #b60000;
  --hpd-shadow: 0 12px 32px rgba(26, 31, 41, 0.08);
  --hpd-radius: 8px;
  --hpd-container: 1120px;
  --hpd-readable: 760px;
  --hpd-font-sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", Meiryo, system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--hpd-gray-900);
  background: var(--hpd-white);
  font-family: var(--hpd-font-sans);
  font-size: 16px;
  line-height: 1.75;
}

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

a {
  color: var(--hpd-blue-900);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--hpd-blue-800);
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--hpd-yellow-300);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--hpd-black);
}

.hpd-container {
  width: min(calc(100% - 32px), var(--hpd-container));
  margin-inline: auto;
}

.hpd-readable {
  max-width: var(--hpd-readable);
}

.hpd-main {
  min-height: 58vh;
}

.hpd-skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 14px;
  color: var(--hpd-white);
  background: var(--hpd-gray-900);
  border-radius: var(--hpd-radius);
}

.hpd-skip-link:focus {
  transform: translateY(0);
}

.hpd-site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--hpd-gray-200);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.hpd-site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.hpd-site-header__inner > * {
  min-width: 0;
}

.hpd-brand__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--hpd-gray-900);
  text-decoration: none;
}

.hpd-brand .custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.hpd-brand__image {
  display: block;
  width: min(190px, 42vw);
  height: auto;
  max-height: 58px;
  object-fit: contain;
}

.hpd-brand .custom-logo {
  display: block;
  width: min(190px, 42vw);
  height: auto;
  max-height: 58px;
  object-fit: contain;
}

.hpd-brand__mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  color: var(--hpd-white);
  background: var(--hpd-blue-900);
  border: 2px solid var(--hpd-blue-900);
  border-radius: 6px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
}

.hpd-brand__text {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.hpd-brand__name {
  color: var(--hpd-gray-900);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.hpd-brand__tagline {
  color: var(--hpd-gray-700);
  font-size: 12px;
  line-height: 1.45;
}

.hpd-menu-button {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  color: var(--hpd-gray-900);
  background: var(--hpd-white);
  border: 1px solid var(--hpd-gray-700);
  border-radius: var(--hpd-radius);
  font: inherit;
  font-weight: 700;
}

.hpd-menu-button__icon,
.hpd-menu-button__icon::before,
.hpd-menu-button__icon::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  content: "";
}

.hpd-menu-button__icon {
  position: relative;
}

.hpd-menu-button__icon::before,
.hpd-menu-button__icon::after {
  position: absolute;
  left: 0;
}

.hpd-menu-button__icon::before {
  top: -6px;
}

.hpd-menu-button__icon::after {
  top: 6px;
}

.hpd-site-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hpd-site-nav__item {
  position: relative;
}

.hpd-site-nav__list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  color: var(--hpd-gray-900);
  border-radius: var(--hpd-radius);
  font-weight: 700;
  text-decoration: none;
}

.hpd-site-nav__list a:hover {
  color: var(--hpd-blue-900);
  background: var(--hpd-blue-50);
}

.hpd-site-nav__top {
  white-space: nowrap;
}

.hpd-site-nav__top::after {
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  content: "";
}

.hpd-site-nav__submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 30;
  display: grid;
  min-width: 240px;
  margin: 0;
  padding: 8px;
  visibility: hidden;
  list-style: none;
  background: var(--hpd-white);
  border: 1px solid var(--hpd-gray-300);
  border-radius: var(--hpd-radius);
  box-shadow: var(--hpd-shadow);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.hpd-site-nav__item:last-child .hpd-site-nav__submenu {
  right: 0;
  left: auto;
}

.hpd-site-nav__item:hover .hpd-site-nav__submenu,
.hpd-site-nav__item:focus-within .hpd-site-nav__submenu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.hpd-site-nav__submenu a {
  display: flex;
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.45;
  white-space: normal;
}

.hpd-hero {
  padding: 56px 0 28px;
  border-bottom: 1px solid var(--hpd-gray-200);
  background:
    linear-gradient(90deg, rgba(233, 248, 242, 0.8) 0, rgba(233, 248, 242, 0.8) 12px, transparent 12px),
    var(--hpd-white);
  background-size: 72px 72px;
}

.hpd-hero--image {
  position: relative;
  isolation: isolate;
  min-height: 620px;
  padding: 64px 0 44px;
  overflow: hidden;
  background: var(--hpd-white);
}

.hpd-hero--image::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 34%, rgba(255, 255, 255, 0.62) 58%, rgba(255, 255, 255, 0.16) 100%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0) 28%);
  content: "";
}

.hpd-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hpd-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 440px);
  gap: 48px;
  align-items: center;
}

.hpd-hero--image .hpd-hero__grid {
  grid-template-columns: minmax(0, 640px);
  min-height: 510px;
}

.hpd-hero h1,
.hpd-page-header h1 {
  max-width: 780px;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.18;
}

.hpd-hero__content {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.hpd-hero--image .hpd-hero__content {
  align-content: center;
}

.hpd-hero__panel,
.hpd-page-header__panel,
.hpd-side-panel {
  padding: 24px;
  background: var(--hpd-white);
  border: 1px solid var(--hpd-gray-300);
  border-radius: var(--hpd-radius);
  box-shadow: var(--hpd-shadow);
}

.hpd-hero__actions,
.hpd-side-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hpd-eyebrow {
  margin: 0;
  color: var(--hpd-green-700);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.hpd-lead {
  max-width: 720px;
  margin: 0;
  color: var(--hpd-gray-700);
  overflow-wrap: anywhere;
  font-size: 20px;
  line-height: 1.7;
}

.hpd-section {
  padding: 64px 0;
}

.hpd-section--compact {
  padding: 40px 0;
}

.hpd-section--tinted {
  background: var(--hpd-gray-50);
  border-block: 1px solid var(--hpd-gray-200);
}

.hpd-section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 28px;
}

.hpd-section-heading h2,
.hpd-side-panel h2,
.hpd-review-policy h3,
.hpd-prose h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.35;
}

.hpd-section-heading--inline {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
}

.hpd-link-more {
  font-weight: 700;
}

.hpd-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 18px;
  border: 2px solid transparent;
  border-radius: var(--hpd-radius);
  font: inherit;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.hpd-button--primary {
  color: var(--hpd-white);
  background: var(--hpd-blue-900);
  border-color: var(--hpd-blue-900);
}

.hpd-button--primary:hover {
  color: var(--hpd-white);
  background: var(--hpd-blue-800);
  border-color: var(--hpd-blue-800);
}

.hpd-button--secondary {
  color: var(--hpd-blue-900);
  background: var(--hpd-white);
  border-color: var(--hpd-blue-900);
}

.hpd-button--secondary:hover {
  color: var(--hpd-blue-800);
  background: var(--hpd-blue-50);
  border-color: var(--hpd-blue-800);
}

.hpd-button--small {
  min-height: 40px;
  padding: 7px 12px;
  font-size: 14px;
}

.hpd-field {
  display: grid;
  gap: 6px;
}

.hpd-field--wide {
  grid-column: span 2;
}

.hpd-field__label {
  color: var(--hpd-gray-900);
  font-size: 14px;
  font-weight: 700;
}

.hpd-input,
.hpd-select,
.hpd-search-form input[type="search"] {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  color: var(--hpd-gray-900);
  background: var(--hpd-white);
  border: 1px solid var(--hpd-gray-700);
  border-radius: var(--hpd-radius);
  font: inherit;
}

.hpd-select {
  appearance: none;
  padding-right: 40px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--hpd-gray-900) 50%),
    linear-gradient(135deg, var(--hpd-gray-900) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 52%,
    calc(100% - 14px) 52%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.hpd-search-grid,
.hpd-search-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.hpd-search-grid .hpd-button,
.hpd-search-form .hpd-button {
  align-self: end;
}

.hpd-section--finder {
  padding-top: 34px;
}

.hpd-window-finder {
  display: grid;
  gap: 22px;
}

.hpd-window-finder__header {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 22px 26px;
  color: var(--hpd-white);
  background: var(--hpd-red-700);
  border-radius: var(--hpd-radius);
}

.hpd-window-finder__header .hpd-eyebrow {
  margin: 0 0 4px;
  color: var(--hpd-white);
}

.hpd-window-finder__header h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.35;
}

.hpd-window-finder__icon {
  display: grid;
  flex: 0 0 68px;
  place-items: center;
  width: 68px;
  height: 68px;
  color: var(--hpd-red-700);
  background: var(--hpd-white);
  border-radius: 999px;
  font-weight: 800;
  line-height: 1;
}

.hpd-window-finder__body {
  display: grid;
  gap: 24px;
}

.hpd-window-finder__body > p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--hpd-gray-700);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.9;
  text-align: center;
}

.hpd-window-finder__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.hpd-finder-card {
  display: grid;
  gap: 18px;
  align-content: start;
  min-width: 0;
  padding: 24px;
  background: var(--hpd-gray-50);
  border: 1px solid var(--hpd-gray-200);
  border-radius: var(--hpd-radius);
}

.hpd-finder-card h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.45;
}

.hpd-finder-card__fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
}

.hpd-finder-card__fields--keyword {
  grid-template-columns: minmax(0, 1fr) auto;
}

.hpd-finder-card--location {
  grid-column: 1 / -1;
}

.hpd-location-button {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  justify-content: center;
  width: min(100%, 620px);
  min-height: 72px;
  padding: 12px 28px;
  color: var(--hpd-gray-900);
  background: var(--hpd-white);
  border: 2px solid var(--hpd-gray-700);
  border-radius: 999px;
  font: inherit;
  cursor: pointer;
}

.hpd-location-button:hover {
  color: var(--hpd-blue-900);
  border-color: var(--hpd-blue-900);
}

.hpd-location-button span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--hpd-white);
  background: var(--hpd-red-700);
  border-radius: 999px;
  font-size: 28px;
  line-height: 1;
}

.hpd-location-button strong {
  overflow-wrap: anywhere;
  font-size: 22px;
  line-height: 1.35;
}

.hpd-location-status {
  margin: 0;
  color: var(--hpd-gray-700);
  line-height: 1.8;
}

.hpd-stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--hpd-gray-300);
  border-radius: var(--hpd-radius);
  background: var(--hpd-white);
  overflow: hidden;
}

.hpd-stat {
  display: grid;
  gap: 4px;
  padding: 22px;
  border-right: 1px solid var(--hpd-gray-200);
}

.hpd-stat:last-child {
  border-right: 0;
}

.hpd-stat__value {
  color: var(--hpd-blue-900);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
}

.hpd-stat__label {
  color: var(--hpd-gray-700);
  font-size: 14px;
  line-height: 1.45;
}

.hpd-check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hpd-check-card {
  display: grid;
  gap: 12px;
  padding: 22px;
  background: var(--hpd-white);
  border: 1px solid var(--hpd-gray-300);
  border-radius: var(--hpd-radius);
}

.hpd-check-card__number {
  width: max-content;
  padding: 2px 8px;
  color: var(--hpd-white);
  background: var(--hpd-green-700);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.hpd-check-card h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.45;
}

.hpd-check-card p {
  margin: 0;
  color: var(--hpd-gray-700);
  font-size: 15px;
}

.hpd-region-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.hpd-region-group {
  padding: 20px;
  border: 1px solid var(--hpd-gray-300);
  border-radius: var(--hpd-radius);
  background: var(--hpd-white);
}

.hpd-region-group h3 {
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--hpd-green-700);
  font-size: 18px;
  line-height: 1.45;
}

.hpd-prefecture-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hpd-prefecture-list a,
.hpd-tag,
.hpd-source-label {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 10px;
  color: var(--hpd-gray-900);
  background: var(--hpd-gray-50);
  border: 1px solid var(--hpd-gray-300);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}

.hpd-prefecture-list a:hover,
.hpd-tag:hover {
  color: var(--hpd-blue-900);
  background: var(--hpd-blue-50);
  border-color: var(--hpd-blue-700);
}

.hpd-prefecture-list a.is-current {
  color: var(--hpd-white);
  background: var(--hpd-blue-900);
  border-color: var(--hpd-blue-900);
}

.hpd-window-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.hpd-provider-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.hpd-provider-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 86px;
  padding: 16px;
  background: var(--hpd-white);
  border: 1px solid var(--hpd-gray-300);
  border-radius: var(--hpd-radius);
}

.hpd-provider-card span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--hpd-blue-900);
  background: var(--hpd-blue-50);
  border: 1px solid var(--hpd-blue-100);
  border-radius: var(--hpd-radius);
  font-weight: 700;
}

.hpd-provider-card h3 {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 18px;
  line-height: 1.45;
}

.hpd-provider-card h3 a {
  color: var(--hpd-gray-900);
  text-decoration: none;
}

.hpd-provider-card h3 a:hover {
  color: var(--hpd-blue-900);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.hpd-window-card,
.hpd-article-card,
.hpd-review-card {
  position: relative;
  background: var(--hpd-white);
  border: 1px solid var(--hpd-gray-300);
  border-radius: var(--hpd-radius);
  overflow: hidden;
}

.hpd-window-card {
  display: grid;
  grid-template-rows: auto 1fr;
}

.hpd-window-card__media {
  display: block;
  min-height: 148px;
  background: var(--hpd-blue-50);
  text-decoration: none;
}

.hpd-window-card__image {
  width: 100%;
  height: 148px;
  object-fit: contain;
  padding: 20px;
  background: var(--hpd-white);
}

.hpd-window-card__placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 148px;
  color: var(--hpd-blue-900);
  background:
    linear-gradient(135deg, var(--hpd-blue-50), var(--hpd-green-50));
  font-size: 52px;
  font-weight: 700;
}

.hpd-window-card__body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.hpd-window-card__body h3,
.hpd-review-card h3,
.hpd-article-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.45;
}

.hpd-window-card__body h3 a,
.hpd-article-card__link {
  color: var(--hpd-gray-900);
  text-decoration: none;
}

.hpd-window-card__body h3 a:hover,
.hpd-article-card__link:hover h3 {
  color: var(--hpd-blue-900);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.hpd-window-card__body p,
.hpd-review-card p,
.hpd-article-card p {
  margin: 0;
  color: var(--hpd-gray-700);
  font-size: 15px;
  line-height: 1.75;
}

.hpd-window-card__body .hpd-window-card__address {
  color: var(--hpd-gray-800);
  font-weight: 700;
}

.hpd-window-card__meta {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 12px;
  background: var(--hpd-gray-50);
  border: 1px solid var(--hpd-gray-200);
  border-radius: var(--hpd-radius);
}

.hpd-window-card__meta div {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 8px;
}

.hpd-window-card__meta dt,
.hpd-window-card__meta dd {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
}

.hpd-window-card__meta dt {
  color: var(--hpd-gray-500);
  font-weight: 700;
}

.hpd-window-card__meta dd {
  color: var(--hpd-gray-800);
  font-weight: 700;
}

.hpd-window-card__tags,
.hpd-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hpd-rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  color: var(--hpd-white);
  background: var(--hpd-gray-900);
  border-radius: 999px;
  font-weight: 700;
  line-height: 1;
}

.hpd-rating-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--hpd-gray-700);
  font-size: 14px;
  font-weight: 700;
}

.hpd-rating-row--large {
  font-size: 16px;
}

.hpd-stars {
  position: relative;
  display: inline-block;
  width: 6.1em;
  color: var(--hpd-gray-300);
  font-size: 18px;
  line-height: 1;
  white-space: nowrap;
}

.hpd-stars__base,
.hpd-stars__fill {
  display: block;
  overflow: hidden;
}

.hpd-stars__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  color: var(--hpd-orange-700);
}

.hpd-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.hpd-feature-list div {
  padding: 10px;
  border: 1px solid var(--hpd-gray-200);
  border-radius: var(--hpd-radius);
  background: var(--hpd-gray-50);
}

.hpd-feature-list dt,
.hpd-definition-list dt {
  color: var(--hpd-gray-700);
  font-size: 13px;
  font-weight: 700;
}

.hpd-feature-list dd,
.hpd-definition-list dd {
  margin: 0;
  color: var(--hpd-gray-900);
  font-weight: 700;
}

.hpd-review-policy {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
  padding: 18px;
  border: 1px solid var(--hpd-gray-300);
  border-radius: var(--hpd-radius);
  background: var(--hpd-white);
}

.hpd-review-policy ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hpd-review-policy li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--hpd-gray-700);
  font-size: 14px;
}

.hpd-guidance-strip {
  margin-bottom: 18px;
  padding: 16px 18px;
  color: var(--hpd-gray-900);
  background: var(--hpd-cyan-50);
  border-left: 6px solid var(--hpd-cyan-700);
  border-radius: var(--hpd-radius);
}

.hpd-guidance-strip p {
  margin: 0;
}

.hpd-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-bottom: 22px;
  color: var(--hpd-gray-700);
  font-size: 13px;
  font-weight: 700;
}

.hpd-breadcrumb a {
  color: var(--hpd-gray-700);
  text-decoration: none;
}

.hpd-breadcrumb a:hover {
  color: var(--hpd-blue-900);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.hpd-listing-header__content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 16px;
  max-width: 880px;
}

.hpd-listing-header__layout {
  display: grid;
  grid-template-columns: minmax(0, 820px);
  min-height: 410px;
  gap: 0;
  align-items: center;
}

.hpd-listing-header__visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  aspect-ratio: auto;
  background: var(--hpd-gray-100);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  pointer-events: none;
}

.hpd-listing-header__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
}

.hpd-listing-title {
  display: grid;
  gap: 0.14em;
  font-size: clamp(34px, 4.2vw, 48px);
}

.hpd-listing-title span {
  display: block;
  overflow-wrap: normal;
  word-break: keep-all;
}

.hpd-disclosure {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  max-width: 760px;
  padding: 14px 16px;
  background: var(--hpd-white);
  border: 1px solid var(--hpd-gray-300);
  border-radius: var(--hpd-radius);
}

.hpd-disclosure span,
.hpd-pr-label,
.hpd-match-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.hpd-disclosure span,
.hpd-pr-label {
  color: var(--hpd-white);
  background: var(--hpd-gray-900);
}

.hpd-disclosure p {
  min-width: min(100%, 360px);
  margin: 0;
  color: var(--hpd-gray-700);
  font-size: 14px;
  line-height: 1.7;
}

.hpd-section--diagnosis {
  background:
    linear-gradient(90deg, rgba(238, 247, 255, 0.92) 0, rgba(238, 247, 255, 0.92) 10px, transparent 10px),
    var(--hpd-white);
  background-size: 64px 64px;
}

.hpd-diagnosis {
  display: grid;
  gap: 28px;
  align-items: start;
}

.hpd-diagnosis__intro {
  display: grid;
  gap: 8px;
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.hpd-diagnosis__intro h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.35;
}

.hpd-diagnosis__intro p,
.hpd-diagnosis__result .hpd-section-heading p,
.hpd-area-group summary small,
.hpd-section-heading > p {
  margin: 0;
  color: var(--hpd-gray-700);
}

.hpd-diagnosis__form {
  display: grid;
  gap: 18px;
  width: min(100%, 780px);
  margin-inline: auto;
  padding: 20px;
  background: var(--hpd-white);
  border: 1px solid var(--hpd-gray-300);
  border-radius: var(--hpd-radius);
  box-shadow: var(--hpd-shadow);
}

.hpd-diagnosis-progress {
  display: grid;
  gap: 8px;
}

.hpd-diagnosis-progress span {
  color: var(--hpd-green-700);
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}

.hpd-diagnosis-progress div {
  height: 8px;
  overflow: hidden;
  background: var(--hpd-gray-200);
  border-radius: 999px;
}

.hpd-diagnosis-progress i {
  display: block;
  width: 25%;
  height: 100%;
  background: var(--hpd-blue-900);
  border-radius: inherit;
  transition: width 0.18s ease;
}

.hpd-diagnosis-question {
  display: none;
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.hpd-diagnosis-question.is-active {
  display: grid;
}

.hpd-diagnosis-question legend {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 0;
  color: var(--hpd-gray-900);
  font-weight: 700;
  line-height: 1.45;
}

.hpd-diagnosis-question legend span {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  min-height: 26px;
  color: var(--hpd-white);
  background: var(--hpd-green-700);
  border-radius: var(--hpd-radius);
  font-size: 12px;
  line-height: 1;
}

.hpd-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.hpd-choice {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 42px;
  padding: 8px 10px;
  background: var(--hpd-gray-50);
  border: 1px solid var(--hpd-gray-300);
  border-radius: var(--hpd-radius);
  cursor: pointer;
}

.hpd-choice:has(input:checked) {
  background: var(--hpd-blue-50);
  border-color: var(--hpd-blue-700);
}

.hpd-choice input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0;
}

.hpd-choice span {
  font-weight: 700;
  line-height: 1.45;
}

.hpd-diagnosis-area {
  padding-bottom: 2px;
}

.hpd-diagnosis__result {
  min-width: 0;
}

.hpd-diagnosis__result[hidden] {
  display: none;
}

.hpd-match-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.hpd-match-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  background: var(--hpd-white);
  border: 1px solid var(--hpd-gray-300);
  border-radius: var(--hpd-radius);
  box-shadow: 0 8px 22px rgba(26, 31, 41, 0.06);
}

.hpd-match-card[hidden] {
  display: none;
}

.hpd-match-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hpd-match-label {
  color: var(--hpd-green-700);
  background: var(--hpd-green-50);
  border: 1px solid rgba(0, 110, 79, 0.35);
}

.hpd-match-card h3,
.hpd-store-card h3 {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 20px;
  line-height: 1.45;
}

.hpd-match-card h3 a,
.hpd-store-card h3 a {
  color: var(--hpd-gray-900);
  text-decoration: none;
}

.hpd-match-card h3 a:hover,
.hpd-store-card h3 a:hover {
  color: var(--hpd-blue-900);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.hpd-match-card p {
  margin: 0;
  color: var(--hpd-gray-700);
  font-size: 14px;
  line-height: 1.7;
}

.hpd-match-card__facts,
.hpd-store-card__facts {
  display: grid;
  gap: 8px;
  margin: 0;
}

.hpd-match-card__facts div,
.hpd-store-card__facts div {
  display: grid;
  gap: 3px;
  padding: 10px;
  background: var(--hpd-gray-50);
  border: 1px solid var(--hpd-gray-200);
  border-radius: var(--hpd-radius);
}

.hpd-match-card__facts dt,
.hpd-store-card__facts dt {
  color: var(--hpd-gray-700);
  font-size: 12px;
  font-weight: 700;
}

.hpd-match-card__facts dd,
.hpd-store-card__facts dd {
  margin: 0;
  color: var(--hpd-gray-900);
  font-weight: 700;
  line-height: 1.55;
}

.hpd-match-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.hpd-table-scroll {
  overflow-x: auto;
  border: 1px solid var(--hpd-gray-300);
  border-radius: var(--hpd-radius);
  background: var(--hpd-white);
}

.hpd-comparison-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 14px;
}

.hpd-comparison-table th,
.hpd-comparison-table td {
  padding: 14px;
  border-bottom: 1px solid var(--hpd-gray-200);
  text-align: left;
  vertical-align: top;
}

.hpd-comparison-table thead th {
  color: var(--hpd-gray-900);
  background: var(--hpd-gray-50);
  font-weight: 700;
}

.hpd-comparison-table tbody tr:last-child th,
.hpd-comparison-table tbody tr:last-child td {
  border-bottom: 0;
}

.hpd-comparison-table .hpd-pr-label {
  margin-right: 6px;
}

.hpd-shop-list {
  display: grid;
  gap: 18px;
}

.hpd-shop-list-card {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: 22px;
  padding: 20px;
  background: var(--hpd-white);
  border: 1px solid var(--hpd-gray-300);
  border-radius: var(--hpd-radius);
  box-shadow: 0 10px 26px rgba(26, 31, 41, 0.05);
}

.hpd-shop-list-card__media {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--hpd-gray-100);
  border: 1px solid var(--hpd-gray-200);
  border-radius: var(--hpd-radius);
}

.hpd-shop-list-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hpd-shop-list-card__body {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.hpd-shop-list-card__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
}

.hpd-shop-list-card__head > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.hpd-shop-list-card__head h3 {
  flex-basis: 100%;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 23px;
  line-height: 1.45;
}

.hpd-shop-list-card__head h3 a {
  color: var(--hpd-gray-900);
  text-decoration: none;
}

.hpd-shop-list-card__head h3 a:hover {
  color: var(--hpd-blue-900);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.hpd-shop-list-card__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.hpd-shop-list-card__facts div {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  background: var(--hpd-gray-50);
  border: 1px solid var(--hpd-gray-200);
  border-radius: var(--hpd-radius);
}

.hpd-shop-list-card__facts dt,
.hpd-online-service-card dt {
  color: var(--hpd-gray-700);
  font-size: 12px;
  font-weight: 700;
}

.hpd-shop-list-card__facts dd,
.hpd-online-service-card dd {
  margin: 0;
  color: var(--hpd-gray-900);
  font-weight: 700;
  line-height: 1.55;
}

.hpd-online-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.hpd-online-service-card {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 18px;
  background: var(--hpd-white);
  border: 1px solid var(--hpd-gray-300);
  border-radius: var(--hpd-radius);
}

.hpd-online-service-card header {
  display: grid;
  justify-items: start;
  gap: 8px;
}

.hpd-online-service-card h3 {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 20px;
  line-height: 1.45;
}

.hpd-online-service-card p {
  margin: 0;
  color: var(--hpd-gray-700);
  font-size: 14px;
  line-height: 1.7;
}

.hpd-online-service-card dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.hpd-online-service-card dl div {
  padding: 10px;
  background: var(--hpd-gray-50);
  border: 1px solid var(--hpd-gray-200);
  border-radius: var(--hpd-radius);
}

.hpd-section--prefecture-editor {
  padding-top: 40px;
  padding-bottom: 40px;
  background: var(--hpd-white);
}

.hpd-prefecture-editor-content {
  max-width: 920px;
  margin: 0 auto;
}

.hpd-prefecture-editor-content > :first-child {
  margin-top: 0;
}

.hpd-prefecture-editor-content > :last-child {
  margin-bottom: 0;
}

.hpd-section--recommendations {
  background: var(--hpd-white);
}

.hpd-recommend-area {
  display: grid;
  gap: 18px;
  margin-top: 34px;
  padding-top: 34px;
  border-top: 1px solid var(--hpd-gray-200);
}

.hpd-recommend-area:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.hpd-recommend-area .hpd-section-heading h3 {
  margin: 0;
  font-size: 30px;
  line-height: 1.4;
}

.hpd-area-comparison-table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
  font-size: 14px;
}

.hpd-area-comparison-table th,
.hpd-area-comparison-table td {
  padding: 14px;
  border-bottom: 1px solid var(--hpd-gray-200);
  text-align: left;
  vertical-align: top;
}

.hpd-area-comparison-table thead th {
  color: var(--hpd-gray-900);
  background: var(--hpd-blue-50);
  font-weight: 700;
}

.hpd-area-comparison-table tbody tr:last-child th,
.hpd-area-comparison-table tbody tr:last-child td {
  border-bottom: 0;
}

.hpd-area-comparison-table td span {
  display: block;
}

.hpd-area-comparison-table td span + span {
  margin-top: 4px;
}

.hpd-window-profile-list {
  display: grid;
  gap: 26px;
}

.hpd-window-profile {
  display: grid;
  gap: 18px;
  padding: 24px;
  background: var(--hpd-white);
  border: 1px solid var(--hpd-gray-300);
  border-radius: var(--hpd-radius);
  box-shadow: 0 10px 28px rgba(26, 31, 41, 0.06);
}

.hpd-window-profile--promoted-cta {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--hpd-blue-900);
  box-shadow: 0 18px 46px rgba(0, 39, 213, 0.13);
  scroll-margin-top: 128px;
}

.hpd-window-profile--promoted-cta::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, #0027d5 0%, #00a3b5 58%, #ff4164 100%);
}

.hpd-window-profile__header {
  display: flex;
  gap: 16px;
  align-items: start;
  justify-content: space-between;
}

.hpd-window-profile--promoted-cta .hpd-window-profile__header {
  align-items: center;
  gap: 20px;
  padding-top: 8px;
}

.hpd-window-profile__type {
  display: inline-flex;
  margin: 0 0 8px;
  color: var(--hpd-green-700);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.hpd-window-profile__header h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.4;
}

.hpd-window-profile__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
  align-items: start;
}

.hpd-window-profile__media {
  margin: 0;
  overflow: hidden;
  background: var(--hpd-gray-50);
  border: 1px solid var(--hpd-gray-300);
  border-radius: var(--hpd-radius);
}

.hpd-window-profile__media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
}

.hpd-window-profile--promoted-cta .hpd-window-profile__media {
  border-color: rgba(0, 39, 213, 0.22);
}

.hpd-window-profile__placeholder {
  display: grid;
  place-items: center;
  min-height: 240px;
  padding: 20px;
  color: var(--hpd-blue-900);
  background:
    linear-gradient(90deg, rgba(238, 247, 255, 0.95) 0, rgba(238, 247, 255, 0.95) 10px, transparent 10px),
    var(--hpd-white);
  background-size: 64px 64px;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
}

.hpd-window-profile__facts {
  display: grid;
  gap: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--hpd-gray-300);
  border-radius: var(--hpd-radius);
}

.hpd-window-profile__facts div {
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
  border-bottom: 1px solid var(--hpd-gray-200);
}

.hpd-window-profile__facts div:last-child {
  border-bottom: 0;
}

.hpd-window-profile__facts dt,
.hpd-window-profile__facts dd {
  margin: 0;
  padding: 13px 14px;
  line-height: 1.65;
}

.hpd-window-profile__facts dt {
  color: var(--hpd-gray-900);
  background: var(--hpd-gray-50);
  font-size: 13px;
  font-weight: 700;
}

.hpd-window-profile__facts dd {
  color: var(--hpd-gray-800);
  font-weight: 700;
}

.hpd-window-profile__body {
  display: grid;
  gap: 16px;
}

.hpd-window-cta {
  display: inline-grid;
  place-items: center;
  gap: 2px;
  min-height: 58px;
  padding: 14px 22px;
  color: var(--hpd-white) !important;
  background: linear-gradient(135deg, #0027d5 0%, #0049ff 100%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--hpd-radius);
  box-shadow: 0 12px 24px rgba(0, 39, 213, 0.24);
  font-weight: 800;
  line-height: 1.32;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.hpd-window-cta:hover {
  color: var(--hpd-white) !important;
  background: linear-gradient(135deg, #001fad 0%, #003ee6 100%);
  box-shadow: 0 16px 30px rgba(0, 39, 213, 0.3);
  transform: translateY(-1px);
}

.hpd-window-cta span,
.hpd-window-cta small {
  color: var(--hpd-white) !important;
}

.hpd-window-cta span {
  display: block;
}

.hpd-window-cta small {
  display: block;
  font-size: 12px;
  font-weight: 700;
}

.hpd-window-cta--header {
  min-width: 260px;
  font-size: 17px;
}

.hpd-window-cta--strip,
.hpd-window-cta--full {
  background: linear-gradient(135deg, #e60033 0%, #ff4164 100%);
  box-shadow: 0 12px 24px rgba(230, 0, 51, 0.22);
}

.hpd-window-cta--strip:hover,
.hpd-window-cta--full:hover {
  background: linear-gradient(135deg, #c8002c 0%, #f02f55 100%);
  box-shadow: 0 16px 30px rgba(230, 0, 51, 0.28);
}

.hpd-window-cta--strip {
  min-width: 230px;
}

.hpd-window-cta--full {
  width: 100%;
  min-height: 66px;
  font-size: 18px;
}

.hpd-window-cta-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin: 2px 0 4px;
  padding: 18px;
  background: linear-gradient(90deg, #eef7ff 0%, #ffffff 100%);
  border: 1px solid #b9cfff;
  border-radius: var(--hpd-radius);
}

.hpd-window-cta-strip strong {
  display: block;
  margin-bottom: 3px;
  color: #001f80;
  font-size: 18px;
  line-height: 1.45;
}

.hpd-window-cta-strip > div > span {
  display: block;
  color: var(--hpd-gray-700);
  font-size: 14px;
  line-height: 1.65;
}

.hpd-window-cta-full {
  display: block;
}

.hpd-window-profile__body > p,
.hpd-point-box p,
.hpd-review-note p,
.hpd-window-profile__footer p {
  margin: 0;
  color: var(--hpd-gray-700);
  line-height: 1.85;
}

.hpd-profile-points {
  display: grid;
  gap: 10px;
  padding: 18px;
  background: var(--hpd-green-50);
  border: 1px solid rgba(0, 110, 79, 0.2);
  border-radius: var(--hpd-radius);
}

.hpd-profile-points h4,
.hpd-review-note h4 {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
}

.hpd-profile-points ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.2em;
  color: var(--hpd-gray-800);
  line-height: 1.75;
}

.hpd-point-box {
  display: grid;
  gap: 8px;
  padding: 18px;
  background: var(--hpd-blue-50);
  border-left: 6px solid var(--hpd-blue-900);
  border-radius: var(--hpd-radius);
}

.hpd-point-box strong {
  color: var(--hpd-blue-900);
  font-size: 18px;
  line-height: 1.45;
}

.hpd-review-note {
  display: grid;
  gap: 8px;
  padding: 18px;
  background: var(--hpd-gray-50);
  border: 1px solid var(--hpd-gray-200);
  border-radius: var(--hpd-radius);
}

.hpd-window-detail-accordion {
  overflow: hidden;
  background: var(--hpd-white);
  border: 1px solid var(--hpd-gray-300);
  border-radius: var(--hpd-radius);
}

.hpd-window-detail-accordion summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 16px 48px 16px 18px;
  color: var(--hpd-gray-900);
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
}

.hpd-window-detail-accordion summary::-webkit-details-marker {
  display: none;
}

.hpd-window-detail-accordion summary::after {
  position: absolute;
  top: 50%;
  right: 18px;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: translateY(-60%) rotate(45deg);
  transition: transform 0.16s ease;
}

.hpd-window-detail-accordion[open] summary {
  border-bottom: 1px solid var(--hpd-gray-200);
}

.hpd-window-detail-accordion[open] summary::after {
  transform: translateY(-35%) rotate(225deg);
}

.hpd-window-detail-accordion__body {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.hpd-window-detail-table {
  width: 100%;
  min-width: 680px;
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--hpd-gray-300);
  border-radius: var(--hpd-radius);
}

.hpd-window-detail-table th,
.hpd-window-detail-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--hpd-gray-200);
  line-height: 1.7;
  vertical-align: top;
}

.hpd-window-detail-table tr:last-child th,
.hpd-window-detail-table tr:last-child td {
  border-bottom: 0;
}

.hpd-window-detail-table th {
  width: 180px;
  color: var(--hpd-gray-900);
  background: var(--hpd-gray-50);
  font-weight: 700;
  text-align: left;
}

.hpd-window-detail-table td {
  color: var(--hpd-gray-800);
  font-weight: 600;
}

.hpd-google-map {
  overflow: hidden;
  border: 1px solid var(--hpd-gray-300);
  border-radius: var(--hpd-radius);
  background: var(--hpd-gray-50);
}

.hpd-google-map iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

.hpd-window-profile__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  justify-content: space-between;
  padding-top: 4px;
}

.hpd-section--advice {
  background: var(--hpd-white);
}

.hpd-advice-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 26px;
}

.hpd-advice-media {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--hpd-gray-300);
  border-radius: var(--hpd-radius);
  background: var(--hpd-gray-50);
}

.hpd-advice-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hpd-advice-content {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.hpd-advice-content h2,
.hpd-free-explain h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.35;
}

.hpd-advice-content > p,
.hpd-article-card p,
.hpd-free-explain p,
.hpd-free-list span {
  margin: 0;
  color: var(--hpd-gray-700);
  line-height: 1.8;
}

.hpd-advice-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hpd-advice-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
  background: var(--hpd-gray-50);
  border: 1px solid var(--hpd-gray-200);
  border-radius: var(--hpd-radius);
}

.hpd-advice-list li > span,
.hpd-article-card__icon {
  display: inline-grid;
  place-items: center;
  width: max-content;
  min-width: 38px;
  min-height: 30px;
  padding: 2px 8px;
  color: var(--hpd-white);
  background: var(--hpd-green-700);
  border-radius: var(--hpd-radius);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.hpd-advice-list strong {
  display: block;
  color: var(--hpd-gray-900);
  line-height: 1.5;
}

.hpd-advice-list p {
  margin: 3px 0 0;
  color: var(--hpd-gray-700);
  font-size: 14px;
  line-height: 1.7;
}

.hpd-article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.hpd-article-card {
  display: grid;
  gap: 12px;
  padding: 20px;
  background: var(--hpd-white);
  border: 1px solid var(--hpd-gray-300);
  border-radius: var(--hpd-radius);
  box-shadow: 0 8px 22px rgba(26, 31, 41, 0.05);
}

.hpd-article-card h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.45;
}

.hpd-prepare-panel {
  display: grid;
  gap: 18px;
  margin-top: 28px;
  padding: 24px;
  background: var(--hpd-blue-50);
  border: 1px solid rgba(0, 102, 204, 0.18);
  border-radius: var(--hpd-radius);
}

.hpd-prepare-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: var(--hpd-white);
  font-size: 14px;
}

.hpd-prepare-table th,
.hpd-prepare-table td {
  padding: 14px;
  border-bottom: 1px solid var(--hpd-gray-200);
  text-align: left;
  vertical-align: top;
}

.hpd-prepare-table thead th {
  color: var(--hpd-gray-900);
  background: var(--hpd-gray-50);
}

.hpd-prepare-table tbody tr:last-child th,
.hpd-prepare-table tbody tr:last-child td {
  border-bottom: 0;
}

.hpd-free-explain {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 22px;
  align-items: start;
  margin-top: 26px;
  padding: 24px;
  background: var(--hpd-gray-900);
  border-radius: var(--hpd-radius);
}

.hpd-free-explain .hpd-eyebrow,
.hpd-free-explain h2 {
  color: var(--hpd-white);
}

.hpd-free-explain p {
  color: rgba(255, 255, 255, 0.82);
}

.hpd-free-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hpd-free-list li {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--hpd-radius);
}

.hpd-free-list strong {
  color: var(--hpd-white);
  line-height: 1.5;
}

.hpd-free-list span {
  color: rgba(255, 255, 255, 0.82);
}

.hpd-area-accordion {
  display: grid;
  gap: 14px;
}

.hpd-area-group {
  background: var(--hpd-white);
  border: 1px solid var(--hpd-gray-300);
  border-radius: var(--hpd-radius);
  overflow: hidden;
}

.hpd-area-group summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  min-height: 58px;
  padding: 14px 18px;
  color: var(--hpd-gray-900);
  font-weight: 700;
  cursor: pointer;
}

.hpd-area-group summary::-webkit-details-marker {
  display: none;
}

.hpd-area-group summary::after {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  content: "";
}

.hpd-area-group[open] summary::after {
  transform: rotate(225deg);
}

.hpd-store-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0 18px 18px;
}

.hpd-store-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: var(--hpd-white);
  border: 1px solid var(--hpd-gray-200);
  border-radius: var(--hpd-radius);
}

.hpd-store-card__head {
  display: grid;
  gap: 6px;
}

.hpd-store-card__head span {
  width: max-content;
  max-width: 100%;
  padding: 3px 8px;
  color: var(--hpd-green-700);
  background: var(--hpd-green-50);
  border: 1px solid rgba(0, 110, 79, 0.35);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.hpd-store-card__media {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--hpd-gray-100);
  border: 1px solid var(--hpd-gray-200);
  border-radius: var(--hpd-radius);
}

.hpd-store-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.hpd-faq-list {
  display: grid;
  gap: 12px;
}

.hpd-faq-item {
  background: var(--hpd-white);
  border: 1px solid var(--hpd-gray-300);
  border-radius: var(--hpd-radius);
}

.hpd-faq-item summary {
  min-height: 56px;
  padding: 14px 18px;
  font-weight: 700;
  cursor: pointer;
}

.hpd-faq-item p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--hpd-gray-700);
}

.hpd-dot {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border-radius: 999px;
}

.hpd-dot--blue {
  background: var(--hpd-blue-900);
}

.hpd-dot--green {
  background: var(--hpd-green-700);
}

.hpd-dot--orange {
  background: var(--hpd-orange-700);
}

.hpd-dot--yellow {
  background: #b88600;
}

.hpd-review-list {
  display: grid;
  gap: 14px;
}

.hpd-review-card {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.hpd-review-card__header,
.hpd-review-card__footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.hpd-review-card__service {
  display: inline-flex;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 700;
}

.hpd-source-label {
  flex: 0 0 auto;
  color: var(--hpd-green-700);
  background: var(--hpd-green-50);
  border-color: rgba(0, 110, 79, 0.35);
}

.hpd-review-card__footer {
  align-items: center;
  color: var(--hpd-gray-700);
  font-size: 14px;
}

.hpd-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.hpd-category-tile {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 2px 10px;
  align-items: center;
  min-height: 92px;
  padding: 16px;
  color: var(--hpd-gray-900);
  background: var(--hpd-white);
  border: 1px solid var(--hpd-gray-300);
  border-radius: var(--hpd-radius);
  text-decoration: none;
}

.hpd-category-tile span {
  display: grid;
  grid-row: 1 / 3;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--hpd-blue-900);
  background: var(--hpd-blue-50);
  border: 1px solid var(--hpd-blue-100);
  border-radius: var(--hpd-radius);
  font-weight: 700;
}

.hpd-category-tile strong {
  overflow-wrap: anywhere;
  line-height: 1.45;
}

.hpd-category-tile small {
  color: var(--hpd-gray-700);
  font-size: 13px;
}

.hpd-category-tile:hover {
  color: var(--hpd-blue-900);
  background: var(--hpd-blue-50);
  border-color: var(--hpd-blue-700);
}

.hpd-article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.hpd-article-card__link {
  display: grid;
  gap: 10px;
  height: 100%;
  padding: 20px;
}

.hpd-article-card__meta {
  color: var(--hpd-green-700);
  font-size: 13px;
  font-weight: 700;
}

.hpd-page-header {
  padding: 54px 0;
  border-bottom: 1px solid var(--hpd-gray-200);
  background: var(--hpd-gray-50);
}

.hpd-page-header--prefecture {
  position: relative;
  isolation: isolate;
  min-height: 560px;
  overflow: hidden;
  padding: 46px 0 64px;
  background:
    linear-gradient(100deg, rgba(235, 246, 255, 0.96) 0%, rgba(255, 255, 255, 0.98) 62%),
    var(--hpd-gray-50);
}

.hpd-page-header--prefecture::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(246, 251, 255, 0.99) 0%, rgba(246, 251, 255, 0.96) 38%, rgba(246, 251, 255, 0.66) 60%, rgba(246, 251, 255, 0.14) 100%),
    linear-gradient(0deg, rgba(246, 251, 255, 0.96) 0%, rgba(246, 251, 255, 0.12) 42%, rgba(246, 251, 255, 0) 100%);
  content: "";
  pointer-events: none;
}

.hpd-page-header--prefecture .hpd-breadcrumb {
  position: relative;
  z-index: 2;
}

.hpd-page-header__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
  gap: 36px;
  align-items: start;
}

.hpd-page-header .hpd-eyebrow {
  margin-bottom: 8px;
}

.hpd-page-header .hpd-lead {
  margin-top: 14px;
}

.hpd-window-detail__header {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.hpd-window-detail__logo {
  border: 1px solid var(--hpd-gray-300);
  border-radius: var(--hpd-radius);
  background: var(--hpd-white);
  overflow: hidden;
}

.hpd-window-detail__logo .hpd-window-card__placeholder,
.hpd-window-detail__logo .hpd-window-card__image {
  height: 180px;
}

.hpd-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  align-items: start;
}

.hpd-side-panel {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
}

.hpd-definition-list {
  display: grid;
  gap: 0;
  margin: 0;
  border: 1px solid var(--hpd-gray-200);
  border-radius: var(--hpd-radius);
  overflow: hidden;
}

.hpd-definition-list div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-bottom: 1px solid var(--hpd-gray-200);
  background: var(--hpd-white);
}

.hpd-definition-list div:last-child {
  border-bottom: 0;
}

.hpd-prose {
  color: var(--hpd-gray-900);
}

.hpd-prose > * {
  max-width: var(--hpd-readable);
}

.hpd-prose p,
.hpd-prose ul,
.hpd-prose ol {
  margin-top: 0;
  margin-bottom: 1.2em;
}

.hpd-prose h2 {
  margin-top: 2em;
  margin-bottom: 0.6em;
  padding-top: 0.6em;
  border-top: 2px solid var(--hpd-gray-200);
}

.hpd-prose h3 {
  margin-top: 1.6em;
  margin-bottom: 0.5em;
  font-size: 22px;
  line-height: 1.45;
}

.hpd-article {
  padding: 52px 0 72px;
  background: var(--hpd-gray-50);
}

.hpd-article-shell {
  padding: 34px;
  background: var(--hpd-white);
  border: 1px solid var(--hpd-gray-200);
  border-radius: var(--hpd-radius);
  box-shadow: var(--hpd-shadow);
}

.hpd-article-shell > * {
  max-width: 100%;
}

.hpd-article-head {
  margin-bottom: 32px;
}

.hpd-article-head h1 {
  margin: 8px 0 0;
  font-size: 40px;
  line-height: 1.25;
}

.hpd-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
}

.hpd-prose th,
.hpd-prose td {
  padding: 12px;
  border: 1px solid var(--hpd-gray-300);
  text-align: left;
  vertical-align: top;
}

.hpd-prose th {
  background: var(--hpd-gray-50);
  font-weight: 700;
}

.hpd-notice,
.hpd-empty {
  padding: 16px;
  border: 1px solid var(--hpd-gray-300);
  border-radius: var(--hpd-radius);
  background: var(--hpd-white);
}

.hpd-notice--warning {
  border-color: rgba(169, 67, 0, 0.4);
  background: var(--hpd-orange-50);
}

.hpd-fv {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: 690px;
  padding: 82px 0 76px;
  overflow: hidden;
  border-bottom: 1px solid var(--hpd-gray-200);
  background: var(--hpd-white);
}

.hpd-fv::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.98) 33%, rgba(255, 255, 255, 0.78) 49%, rgba(255, 255, 255, 0.08) 73%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.1) 32%);
  content: "";
}

.hpd-fv__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hpd-fv__inner {
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(0, 1fr);
  align-items: center;
}

.hpd-fv__content {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.hpd-fv h1 {
  max-width: 760px;
  margin: 0;
  color: var(--hpd-gray-900);
  font-size: clamp(42px, 5.2vw, 68px);
  line-height: 1.16;
  word-break: keep-all;
}

.hpd-fv__line {
  display: block;
}

.hpd-fv__highlight {
  display: inline-block;
  padding: 0 0.08em;
  background: linear-gradient(transparent 58%, rgba(248, 231, 28, 0.75) 58%);
}

.hpd-fv .hpd-lead {
  max-width: 610px;
  font-size: 21px;
}

.hpd-fv__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 600px;
  margin-top: 4px;
}

.hpd-fv-stat {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.hpd-fv-stat__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: var(--hpd-white);
  background: var(--hpd-cyan-700);
  border-radius: var(--hpd-radius);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.hpd-fv-stat__body {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.hpd-fv-stat__body strong {
  color: var(--hpd-gray-900);
  font-size: 30px;
  line-height: 1.15;
}

.hpd-fv-stat__body small {
  color: var(--hpd-gray-700);
  font-size: 14px;
  font-weight: 700;
}

.hpd-fv .hpd-hero__actions {
  margin-top: 4px;
}

.hpd-fv .hpd-button {
  min-width: 180px;
  min-height: 56px;
  border-radius: 999px;
}

.hpd-hub-hero {
  padding: 64px 0 52px;
  border-bottom: 1px solid var(--hpd-gray-200);
  background:
    linear-gradient(90deg, rgba(238, 247, 255, 0.95) 0, rgba(238, 247, 255, 0.95) 12px, transparent 12px),
    linear-gradient(135deg, var(--hpd-white) 0%, var(--hpd-gray-50) 56%, var(--hpd-green-50) 100%);
  background-size: 72px 72px, auto;
}

.hpd-hub-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
  gap: 48px;
  align-items: center;
}

.hpd-hub-hero__content {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.hpd-hub-hero__grid > *,
.hpd-page-header__grid > * {
  min-width: 0;
}

.hpd-hub-hero h1 {
  max-width: 780px;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.18;
}

.hpd-hub-hero__panel {
  display: grid;
  gap: 12px;
  padding: 18px;
  background: var(--hpd-white);
  border: 1px solid var(--hpd-gray-300);
  border-radius: var(--hpd-radius);
  box-shadow: var(--hpd-shadow);
}

.hpd-hub-visual {
  margin: 0 0 6px;
  border: 1px solid var(--hpd-gray-200);
  border-radius: var(--hpd-radius);
  overflow: hidden;
}

.hpd-hub-visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center right;
}

.hpd-hub-mini {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 70px;
  padding: 12px;
  color: var(--hpd-gray-900);
  background: var(--hpd-white);
  border: 1px solid var(--hpd-gray-300);
  border-radius: var(--hpd-radius);
  text-decoration: none;
}

.hpd-hub-mini:hover {
  color: var(--hpd-blue-900);
  background: var(--hpd-blue-50);
  border-color: var(--hpd-blue-700);
}

.hpd-hub-mini__mark,
.hpd-portal-card__mark,
.hpd-placeholder-panel__mark {
  display: grid;
  place-items: center;
  color: var(--hpd-blue-900);
  background: var(--hpd-blue-50);
  border: 1px solid var(--hpd-blue-100);
  border-radius: var(--hpd-radius);
  font-weight: 700;
}

.hpd-hub-mini__mark {
  width: 44px;
  height: 44px;
}

.hpd-hub-mini--green .hpd-hub-mini__mark,
.hpd-portal-card--green .hpd-portal-card__mark,
.hpd-placeholder-panel__mark--green {
  color: var(--hpd-green-700);
  background: var(--hpd-green-50);
  border-color: rgba(0, 110, 79, 0.35);
}

.hpd-hub-mini--orange .hpd-hub-mini__mark,
.hpd-portal-card--orange .hpd-portal-card__mark,
.hpd-placeholder-panel__mark--orange {
  color: var(--hpd-orange-700);
  background: var(--hpd-orange-50);
  border-color: rgba(169, 67, 0, 0.35);
}

.hpd-hub-mini--cyan .hpd-hub-mini__mark,
.hpd-portal-card--cyan .hpd-portal-card__mark,
.hpd-placeholder-panel__mark--cyan {
  color: var(--hpd-cyan-700);
  background: var(--hpd-cyan-50);
  border-color: rgba(0, 109, 117, 0.35);
}

.hpd-hub-mini__body {
  display: grid;
  gap: 2px;
}

.hpd-hub-mini__body strong {
  overflow-wrap: anywhere;
  line-height: 1.45;
}

.hpd-hub-mini__body small {
  color: var(--hpd-gray-700);
  font-size: 13px;
}

.hpd-status {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 30px;
  padding: 4px 10px;
  border: 1px solid var(--hpd-gray-300);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.hpd-status--ready {
  color: var(--hpd-green-700);
  background: var(--hpd-green-50);
  border-color: rgba(0, 110, 79, 0.35);
}

.hpd-status--soon {
  color: var(--hpd-gray-700);
  background: var(--hpd-gray-50);
}

.hpd-portal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.hpd-portal-card {
  min-height: 100%;
  background: var(--hpd-white);
  border: 1px solid var(--hpd-gray-300);
  border-radius: var(--hpd-radius);
  overflow: hidden;
}

.hpd-portal-card__link {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 14px;
  height: 100%;
  padding: 18px;
  color: var(--hpd-gray-900);
  text-decoration: none;
}

.hpd-portal-card__link:hover {
  color: var(--hpd-blue-900);
  background: var(--hpd-blue-50);
}

.hpd-portal-card__mark {
  width: 68px;
  height: 68px;
  padding: 4px;
  overflow: hidden;
  background: var(--hpd-white);
  font-size: 0;
  box-shadow: 0 8px 18px rgba(26, 31, 41, 0.08);
}

.hpd-portal-card__mark img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: calc(var(--hpd-radius) - 2px);
  object-fit: contain;
}

.hpd-portal-card .hpd-portal-card__mark {
  background: var(--hpd-white);
}

.hpd-portal-card__body {
  display: grid;
  gap: 8px;
}

.hpd-portal-card__body small {
  color: var(--hpd-green-700);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.hpd-portal-card__body strong {
  overflow-wrap: anywhere;
  font-size: 21px;
  line-height: 1.35;
}

.hpd-portal-card__body span {
  color: var(--hpd-gray-700);
  font-size: 15px;
  line-height: 1.7;
}

.hpd-placeholder-header__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 20px;
}

.hpd-placeholder-panel {
  display: grid;
  gap: 14px;
}

.hpd-placeholder-panel__mark {
  width: 64px;
  height: 64px;
  padding: 4px;
  overflow: hidden;
  background: var(--hpd-white);
  font-size: 0;
}

.hpd-placeholder-panel__mark img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: calc(var(--hpd-radius) - 2px);
  object-fit: contain;
}

.hpd-placeholder-panel .hpd-placeholder-panel__mark {
  background: var(--hpd-white);
}

.hpd-placeholder-panel h2 {
  margin: 0;
  font-size: 23px;
  line-height: 1.35;
}

.hpd-placeholder-panel ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.3em;
  color: var(--hpd-gray-700);
}

.hpd-pagination {
  margin-top: 28px;
}

.hpd-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hpd-pagination .page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid var(--hpd-gray-300);
  border-radius: var(--hpd-radius);
  text-decoration: none;
}

.hpd-pagination .current {
  color: var(--hpd-white);
  background: var(--hpd-blue-900);
  border-color: var(--hpd-blue-900);
}

.hpd-site-footer {
  padding: 34px 0 22px;
  color: var(--hpd-white);
  background: var(--hpd-gray-900);
}

.hpd-site-footer a {
  color: var(--hpd-white);
}

.hpd-site-footer__grid {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.hpd-site-footer__brand {
  display: grid;
  justify-items: start;
  gap: 12px;
  max-width: 240px;
}

.hpd-site-footer__brand p {
  margin: 0;
  color: #d6dbe5;
  font-size: 13px;
  line-height: 1.7;
}

.hpd-site-footer__logo {
  display: block;
  box-sizing: content-box;
  width: 174px;
  max-width: 100%;
  height: auto;
  max-height: 42px;
  padding: 10px 14px;
  object-fit: contain;
  background: var(--hpd-white);
  border-radius: 6px;
}

.hpd-footer-sitemap {
  display: grid;
  grid-template-columns: repeat(4, minmax(132px, 1fr));
  gap: 22px;
}

.hpd-footer-sitemap__group,
.hpd-footer-sitemap > div {
  display: grid;
  align-content: start;
  gap: 7px;
  min-width: 0;
}

.hpd-footer-sitemap__title,
.hpd-footer-sitemap h2 {
  margin: 0;
  color: var(--hpd-white);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 700;
}

.hpd-footer-sitemap__title a {
  color: var(--hpd-white);
  text-decoration: none;
}

.hpd-footer-sitemap__list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hpd-footer-sitemap__list a,
.hpd-footer-sitemap > div > a {
  display: block;
  color: #e7e9ee;
  font-size: 13px;
  line-height: 1.65;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.hpd-footer-sitemap a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hpd-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hpd-site-footer__legal {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  color: #e7e9ee;
  font-size: 13px;
}

.hpd-site-footer__legal p {
  margin: 0;
}

@media (max-width: 1024px) {
  .hpd-window-grid,
  .hpd-article-grid,
  .hpd-provider-grid,
  .hpd-portal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hpd-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hpd-footer-sitemap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  .hpd-site-header__inner {
    min-height: 68px;
  }

  .hpd-menu-button {
    display: inline-flex;
  }

  .hpd-site-nav {
    position: absolute;
    top: 100%;
    right: 16px;
    left: 16px;
    display: none;
    padding: 10px;
    background: var(--hpd-white);
    border: 1px solid var(--hpd-gray-300);
    border-radius: var(--hpd-radius);
    box-shadow: var(--hpd-shadow);
  }

  .hpd-site-nav.is-open {
    display: block;
  }

  .hpd-site-nav__list {
    display: grid;
    gap: 4px;
  }

  .hpd-site-nav__item {
    display: grid;
    gap: 2px;
  }

  .hpd-site-nav__list a {
    width: 100%;
  }

  .hpd-site-nav__top::after {
    display: none;
  }

  .hpd-site-nav__submenu {
    position: static;
    display: grid;
    visibility: visible;
    min-width: 0;
    padding: 0 0 6px 14px;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hpd-site-nav__submenu a {
    min-height: 36px;
    color: var(--hpd-gray-700);
    font-size: 13px;
  }

  .hpd-hero {
    padding-top: 36px;
  }

  .hpd-fv {
    min-height: 620px;
    padding: 52px 0 54px;
  }

  .hpd-fv::after {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.97) 58%, rgba(255, 255, 255, 0.62) 100%),
      linear-gradient(0deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.12) 48%);
  }

  .hpd-fv__bg {
    object-position: 70% center;
    opacity: 0.76;
  }

  .hpd-fv__inner {
    grid-template-columns: 1fr;
  }

  .hpd-fv h1 {
    font-size: 44px;
  }

  .hpd-fv .hpd-lead {
    font-size: 18px;
  }

  .hpd-hero--image {
    min-height: auto;
    padding: 40px 0 34px;
  }

  .hpd-hero--image::after {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 64%, rgba(255, 255, 255, 0.54) 100%),
      linear-gradient(0deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.18) 56%);
  }

  .hpd-hero__bg {
    object-position: 62% center;
    opacity: 0.72;
  }

  .hpd-hero__grid,
  .hpd-fv__inner,
  .hpd-hub-hero__grid,
  .hpd-listing-header__layout,
  .hpd-diagnosis,
  .hpd-page-header__grid,
  .hpd-detail-grid,
  .hpd-window-detail__header {
    grid-template-columns: 1fr;
  }

  .hpd-hero--image .hpd-hero__grid {
    min-height: auto;
  }

  .hpd-side-panel {
    position: static;
  }

  .hpd-diagnosis__form {
    position: static;
  }

  .hpd-stat-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hpd-region-grid {
    grid-template-columns: 1fr;
  }

  .hpd-advice-hero,
  .hpd-article-grid,
  .hpd-free-explain,
  .hpd-window-profile__grid,
  .hpd-window-cta-strip,
  .hpd-shop-list-card,
  .hpd-online-service-grid {
    grid-template-columns: 1fr;
  }

  .hpd-window-profile__header {
    display: grid;
  }

  .hpd-window-cta,
  .hpd-window-cta--header,
  .hpd-window-cta--strip,
  .hpd-window-cta--full {
    width: 100%;
    min-width: 0;
  }

  .hpd-listing-header__visual {
    max-width: 520px;
    aspect-ratio: 16 / 9;
  }

  .hpd-page-header--prefecture {
    min-height: 620px;
    padding: 34px 0 54px;
  }

  .hpd-page-header--prefecture::before {
    background:
      linear-gradient(90deg, rgba(246, 251, 255, 0.99) 0%, rgba(246, 251, 255, 0.94) 56%, rgba(246, 251, 255, 0.58) 100%),
      linear-gradient(0deg, rgba(246, 251, 255, 0.97) 0%, rgba(246, 251, 255, 0.2) 58%, rgba(246, 251, 255, 0.08) 100%);
  }

  .hpd-page-header--prefecture .hpd-listing-header__layout {
    min-height: 500px;
  }

  .hpd-page-header--prefecture .hpd-listing-header__visual {
    max-width: none;
    aspect-ratio: auto;
  }

  .hpd-page-header--prefecture .hpd-listing-header__visual img {
    object-position: 62% center;
  }

  .hpd-check-grid,
  .hpd-store-grid {
    grid-template-columns: 1fr;
  }

  .hpd-review-policy ul {
    grid-template-columns: 1fr;
  }

  .hpd-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .hpd-container {
    width: min(calc(100% - 24px), var(--hpd-container));
  }

  .hpd-hero__grid,
  .hpd-fv__inner,
  .hpd-fv__content,
  .hpd-hub-hero__grid,
  .hpd-hero__content,
  .hpd-hub-hero__content,
  .hpd-hub-hero__panel {
    width: 100%;
    max-width: 100%;
  }

  .hpd-fv .hpd-button {
    min-width: 0;
  }

  .hpd-fv__stats {
    grid-template-columns: 1fr;
    max-width: 320px;
  }

  .hpd-brand__tagline {
    display: none;
  }

  .hpd-menu-button {
    justify-content: center;
    width: 48px;
    padding-inline: 0;
  }

  .hpd-menu-button span:last-child {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .hpd-hero h1,
  .hpd-fv h1,
  .hpd-hub-hero h1,
  .hpd-page-header h1 {
    font-size: 31px;
  }

  .hpd-page-header--prefecture {
    min-height: 650px;
    padding: 26px 0 42px;
  }

  .hpd-page-header--prefecture::before {
    background:
      linear-gradient(180deg, rgba(246, 251, 255, 0.98) 0%, rgba(246, 251, 255, 0.93) 54%, rgba(246, 251, 255, 0.62) 100%),
      linear-gradient(0deg, rgba(246, 251, 255, 0.96) 0%, rgba(246, 251, 255, 0.12) 100%);
  }

  .hpd-page-header--prefecture .hpd-listing-header__layout {
    min-height: 560px;
    align-items: start;
    padding-top: 22px;
  }

  .hpd-page-header--prefecture .hpd-listing-header__visual img {
    object-position: 78% center;
  }

  .hpd-lead {
    font-size: 17px;
  }

  .hpd-section {
    padding: 44px 0;
  }

  .hpd-section--compact {
    padding: 28px 0;
  }

  .hpd-section-heading--inline {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hpd-hero__panel,
  .hpd-page-header__panel,
  .hpd-side-panel {
    padding: 18px;
  }

  .hpd-search-grid,
  .hpd-search-form,
  .hpd-window-finder__grid,
  .hpd-finder-card__fields,
  .hpd-finder-card__fields--keyword,
  .hpd-choice-grid,
  .hpd-window-grid,
  .hpd-match-grid,
  .hpd-shop-list-card__head,
  .hpd-shop-list-card__facts,
  .hpd-article-grid,
  .hpd-provider-grid,
  .hpd-portal-grid,
  .hpd-category-grid {
    grid-template-columns: 1fr;
  }

  .hpd-diagnosis__intro h2 {
    font-size: 26px;
  }

  .hpd-disclosure {
    align-items: flex-start;
  }

  .hpd-match-card__actions .hpd-button {
    width: 100%;
  }

  .hpd-area-group summary {
    align-items: flex-start;
  }

  .hpd-article-shell {
    padding: 22px 18px;
  }

  .hpd-field--wide {
    grid-column: auto;
  }

  .hpd-search-grid .hpd-button,
  .hpd-search-form .hpd-button,
  .hpd-finder-card__fields .hpd-button {
    width: 100%;
  }

  .hpd-window-finder__header {
    align-items: flex-start;
    padding: 18px;
  }

  .hpd-window-finder__icon {
    flex-basis: 54px;
    width: 54px;
    height: 54px;
  }

  .hpd-window-finder__body > p {
    text-align: left;
  }

  .hpd-finder-card {
    padding: 18px;
  }

  .hpd-location-button {
    grid-template-columns: 42px minmax(0, 1fr);
    min-height: 64px;
    padding: 10px 18px;
  }

  .hpd-location-button span {
    width: 42px;
    height: 42px;
    font-size: 24px;
  }

  .hpd-location-button strong {
    font-size: 18px;
  }

  .hpd-stat-row {
    grid-template-columns: 1fr;
  }

  .hpd-stat {
    border-right: 0;
    border-bottom: 1px solid var(--hpd-gray-200);
  }

  .hpd-stat:last-child {
    border-bottom: 0;
  }

  .hpd-recommend-area .hpd-section-heading h3,
  .hpd-window-profile__header h3 {
    font-size: 23px;
  }

  .hpd-window-profile {
    padding: 16px;
  }

  .hpd-window-profile__facts div {
    grid-template-columns: 1fr;
  }

  .hpd-window-profile__facts dt {
    padding-bottom: 4px;
  }

  .hpd-window-profile__facts dd {
    padding-top: 4px;
  }

  .hpd-review-card__header,
  .hpd-review-card__footer,
  .hpd-site-footer__grid,
  .hpd-site-footer__legal {
    display: grid;
    justify-content: start;
  }

  .hpd-site-footer__grid,
  .hpd-footer-sitemap {
    grid-template-columns: 1fr;
  }

  .hpd-site-footer__grid {
    gap: 28px;
  }

  .hpd-footer-nav {
    justify-content: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}

/* Directory-style insurance listing prototype */
.hpd-directory-body {
  background: #f6f8fb;
}

.hpd-dir-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid #dde3ea;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.hpd-dir-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  gap: 24px;
}

.hpd-dir-logo {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.hpd-dir-logo img {
  width: 226px;
  max-width: 42vw;
}

.hpd-dir-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.hpd-dir-header__actions a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  color: #1a1f29;
  text-decoration: none;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #ffffff;
}

.hpd-dir-header__actions a:last-child {
  color: #ffffff;
  border-color: #c90019;
  background: #c90019;
}

.hpd-dir-hero {
  padding: 46px 0 34px;
  background:
    linear-gradient(90deg, rgba(239, 249, 255, 0.94) 0%, rgba(255, 255, 255, 0.84) 52%, rgba(255, 251, 238, 0.72) 100%);
  border-bottom: 1px solid #e4ebf2;
}

.hpd-dir-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.72fr);
  align-items: center;
  gap: 42px;
}

.hpd-dir-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
  color: #596579;
  font-size: 14px;
  font-weight: 700;
}

.hpd-dir-breadcrumb a {
  color: #445066;
  text-decoration: none;
}

.hpd-dir-region {
  margin: 0 0 14px;
  color: #00704e;
  font-weight: 800;
}

.hpd-dir-hero h1 {
  max-width: 820px;
  margin: 0;
  color: #151b26;
  font-size: 52px;
  line-height: 1.2;
  letter-spacing: 0;
}

.hpd-dir-lead {
  max-width: 790px;
  margin: 24px 0 0;
  color: #3b4453;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.9;
}

.hpd-dir-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 680px;
  gap: 10px;
  margin-top: 28px;
}

.hpd-dir-hero__stats div {
  padding: 14px 16px;
  border: 1px solid #d8e1ea;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
}

.hpd-dir-hero__stats strong {
  display: block;
  color: #c90019;
  font-size: 30px;
  line-height: 1.1;
}

.hpd-dir-hero__stats span {
  color: #4b5565;
  font-size: 13px;
  font-weight: 800;
}

.hpd-dir-hero__visual {
  margin: 0;
  border: 1px solid #d5dde8;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 20px 48px rgba(26, 31, 41, 0.11);
}

.hpd-dir-hero__visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hpd-dir-hero__visual figcaption {
  padding: 14px 18px;
  color: #3b4453;
  font-size: 14px;
  font-weight: 800;
  background: #ffffff;
}

.hpd-dir-search {
  position: relative;
  z-index: 2;
  margin-top: -24px;
  padding-bottom: 28px;
}

.hpd-dir-diagnosis + .hpd-dir-search {
  margin-top: 0;
}

.hpd-dir-diagnosis {
  padding: 36px 0 8px;
  background: #ffffff;
  border-bottom: 1px solid #e5eaf0;
}

.hpd-dir-diagnosis__panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 26px;
  padding: 26px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
}

.hpd-dir-diagnosis__intro p:first-child {
  margin: 0 0 6px;
  color: #00704e;
  font-size: 13px;
  font-weight: 900;
}

.hpd-dir-diagnosis__intro h2 {
  margin: 0 0 12px;
  color: #151b26;
  font-size: 30px;
  line-height: 1.35;
  letter-spacing: 0;
}

.hpd-dir-diagnosis__intro p:last-child {
  margin: 0;
  color: #3b4453;
  font-weight: 700;
}

.hpd-dir-diagnosis__form {
  display: grid;
  gap: 14px;
}

.hpd-dir-diagnosis__form fieldset {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

.hpd-dir-diagnosis__form legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
  color: #1a1f29;
  font-weight: 900;
}

.hpd-dir-diagnosis__form label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 11px;
  color: #263244;
  font-size: 14px;
  font-weight: 800;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
}

.hpd-dir-diagnosis__form input {
  accent-color: #006e4f;
}

.hpd-dir-diagnosis__button {
  min-height: 54px;
  padding: 10px 18px;
  color: #ffffff;
  font: inherit;
  font-weight: 900;
  border: 0;
  border-radius: 8px;
  background: #006e4f;
  cursor: pointer;
}

.hpd-dir-diagnosis__result {
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid #dbe2ea;
}

.hpd-dir-diagnosis__result[hidden] {
  display: none;
}

.hpd-dir-diagnosis__result-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.hpd-dir-diagnosis__result h3 {
  margin: 0;
  font-size: 24px;
  letter-spacing: 0;
}

.hpd-dir-diagnosis__result p {
  margin: 0;
  color: #596579;
  font-weight: 800;
}

.hpd-dir-diagnosis__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hpd-dir-diagnosis-card {
  padding: 16px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
}

.hpd-dir-diagnosis-card[hidden] {
  display: none;
}

.hpd-dir-diagnosis-card span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 4px 9px;
  color: #006e4f;
  font-size: 12px;
  font-weight: 900;
  border-radius: 999px;
  background: #e9f8f2;
}

.hpd-dir-diagnosis-card h3 {
  margin: 10px 0 6px;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: 0;
}

.hpd-dir-diagnosis-card p {
  margin: 0 0 12px;
  color: #3b4453;
  font-weight: 700;
}

.hpd-dir-diagnosis-card a {
  font-weight: 900;
  text-decoration: none;
}

.hpd-dir-search__panel {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(26, 31, 41, 0.09);
}

.hpd-dir-search__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 22px 26px;
  border-bottom: 1px solid #e5eaf0;
}

.hpd-dir-search__head p,
.hpd-dir-list-head p {
  margin: 0 0 4px;
  color: #00704e;
  font-size: 13px;
  font-weight: 900;
}

.hpd-dir-search__head h2,
.hpd-dir-list-head h2 {
  margin: 0;
  color: #151b26;
  font-size: 26px;
  line-height: 1.35;
  letter-spacing: 0;
}

.hpd-dir-view-toggle {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(96px, 1fr));
  overflow: hidden;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #eef2f6;
}

.hpd-dir-view-toggle button,
.hpd-dir-view-toggle a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 14px;
  color: #1a1f29;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  border: 0;
  background: transparent;
}

.hpd-dir-view-toggle .is-active {
  color: #ffffff;
  background: #1a1f29;
}

.hpd-dir-search__body {
  display: grid;
  gap: 18px;
  padding: 24px 26px 26px;
}

.hpd-dir-keyword {
  display: grid;
  gap: 8px;
  color: #2b3445;
  font-weight: 800;
}

.hpd-dir-keyword input {
  width: 100%;
  min-height: 54px;
  padding: 12px 16px;
  color: #1a1f29;
  font: inherit;
  border: 2px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
}

.hpd-dir-chip-group,
.hpd-dir-methods,
.hpd-dir-feature-row,
.hpd-dir-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hpd-dir-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  color: #1a1f29;
  font: inherit;
  font-weight: 800;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #ffffff;
  cursor: pointer;
}

.hpd-dir-chip span {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding-inline: 7px;
  color: #ffffff;
  font-size: 12px;
  background: #1a1f29;
  border-radius: 999px;
}

.hpd-dir-chip.is-active {
  color: #ffffff;
  border-color: #006e4f;
  background: #006e4f;
}

.hpd-dir-chip.is-active span {
  color: #006e4f;
  background: #ffffff;
}

.hpd-dir-methods span,
.hpd-dir-feature-row span,
.hpd-dir-card__badges span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 10px;
  color: #2b3445;
  font-size: 13px;
  font-weight: 800;
  border-radius: 999px;
  background: #eef2f6;
}

.hpd-dir-card__badges .hpd-dir-pr,
.hpd-dir-pr {
  color: #ffffff;
  background: #151b26;
}

.hpd-dir-results,
.hpd-dir-online {
  padding: 42px 0;
}

.hpd-dir-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  gap: 28px;
}

.hpd-dir-mainlist {
  min-width: 0;
}

.hpd-dir-list-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.hpd-dir-count {
  margin: 0;
  color: #596579;
  font-weight: 800;
}

.hpd-dir-notice {
  margin: 0 0 22px;
  padding: 18px 20px;
  color: #263244;
  font-weight: 700;
  border-left: 6px solid #007f8c;
  border-radius: 8px;
  background: #e8f8fb;
}

.hpd-dir-card-list {
  display: grid;
  gap: 20px;
}

.hpd-dir-card {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(26, 31, 41, 0.06);
  overflow: hidden;
}

.hpd-dir-card[hidden] {
  display: none;
}

.hpd-dir-card__number {
  display: grid;
  place-items: start center;
  padding-top: 28px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
  background: #1a1f29;
}

.hpd-dir-card__main {
  min-width: 0;
  padding: 24px;
}

.hpd-dir-card__head {
  margin-bottom: 18px;
}

.hpd-dir-card__head h3 {
  margin: 12px 0 8px;
  color: #0017c1;
  font-size: 29px;
  line-height: 1.35;
  letter-spacing: 0;
}

.hpd-dir-card__head h3 a {
  color: inherit;
  text-decoration: none;
}

.hpd-dir-card__head h3 a:hover {
  text-decoration: underline;
}

.hpd-dir-card__head p {
  margin: 0;
  color: #3b4453;
  font-weight: 600;
}

.hpd-dir-card__grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px;
}

.hpd-dir-card__media {
  margin: 0;
  align-self: start;
  border: 1px solid #d5dde8;
  border-radius: 8px;
  overflow: hidden;
  background: #f8fafc;
}

.hpd-dir-card__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hpd-dir-card__content {
  min-width: 0;
}

.hpd-dir-feature-row {
  margin-bottom: 14px;
}

.hpd-dir-feature-row span {
  color: #006e4f;
  background: #e9f8f2;
}

.hpd-dir-card__facts {
  display: grid;
  margin: 0;
  border: 1px solid #dbe2ea;
  border-radius: 8px;
  overflow: hidden;
}

.hpd-dir-card__facts div {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  min-width: 0;
  border-top: 1px solid #e5eaf0;
}

.hpd-dir-card__facts div:first-child {
  border-top: 0;
}

.hpd-dir-card__facts dt,
.hpd-dir-card__facts dd {
  margin: 0;
  padding: 12px 14px;
}

.hpd-dir-card__facts dt {
  color: #1a1f29;
  font-weight: 900;
  background: #f3f5f8;
}

.hpd-dir-card__facts dd {
  color: #2b3445;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.hpd-dir-actions {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  gap: 10px;
  margin-top: 16px;
}

.hpd-dir-primary-cta,
.hpd-dir-secondary-cta,
.hpd-dir-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 10px 16px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
}

.hpd-dir-primary-cta {
  flex-direction: column;
  gap: 2px;
  color: #ffffff;
  background: #c90019;
  border: 2px solid #c90019;
  box-shadow: 0 10px 22px rgba(201, 0, 25, 0.18);
}

.hpd-dir-primary-cta:hover {
  color: #ffffff;
  background: #a90015;
  border-color: #a90015;
}

.hpd-dir-primary-cta span {
  font-size: 12px;
  opacity: 0.92;
}

.hpd-dir-secondary-cta,
.hpd-dir-link-btn {
  color: #1a1f29;
  border: 1px solid #cbd5e1;
  background: #ffffff;
}

.hpd-dir-details {
  margin-top: 18px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  overflow: hidden;
}

.hpd-dir-details summary {
  padding: 14px 18px;
  font-weight: 900;
  cursor: pointer;
  background: #f8fafc;
}

.hpd-dir-details__body {
  padding: 16px;
  background: #ffffff;
}

.hpd-dir-details table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #dbe2ea;
}

.hpd-dir-details th,
.hpd-dir-details td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid #dbe2ea;
}

.hpd-dir-details tr:first-child th,
.hpd-dir-details tr:first-child td {
  border-top: 0;
}

.hpd-dir-details th {
  width: 150px;
  color: #1a1f29;
  background: #f3f5f8;
}

.hpd-dir-details td {
  font-weight: 700;
  overflow-wrap: anywhere;
}

.hpd-dir-sidebar {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 16px;
}

.hpd-dir-map-card,
.hpd-dir-side-box {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(26, 31, 41, 0.06);
}

.hpd-dir-map-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hpd-dir-map-card h2,
.hpd-dir-side-box h2 {
  margin: 0;
  padding: 18px 18px 4px;
  font-size: 21px;
  letter-spacing: 0;
}

.hpd-dir-map-card ul {
  display: grid;
  gap: 0;
  margin: 8px 0 0;
  padding: 0 18px 18px;
  list-style: none;
}

.hpd-dir-map-card li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid #e5eaf0;
}

.hpd-dir-map-card li:first-child {
  border-top: 0;
}

.hpd-dir-map-card strong {
  color: #c90019;
}

.hpd-dir-side-box {
  padding-bottom: 18px;
}

.hpd-dir-side-box p {
  margin: 8px 18px 0;
  color: #3b4453;
  font-weight: 700;
}

.hpd-dir-online {
  background: #ffffff;
  border-top: 1px solid #e5eaf0;
}

.hpd-dir-online-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.hpd-dir-online-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  padding: 20px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
}

.hpd-dir-online-card figure {
  margin: 0;
  border: 1px solid #d5dde8;
  border-radius: 8px;
  overflow: hidden;
}

.hpd-dir-online-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hpd-dir-online-card h3 {
  margin: 10px 0 8px;
  font-size: 24px;
  letter-spacing: 0;
}

.hpd-dir-online-card p {
  margin: 0 0 12px;
  color: #3b4453;
  font-weight: 700;
}

.hpd-dir-online-card dl {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
}

.hpd-dir-online-card dl div {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 10px;
}

.hpd-dir-online-card dt,
.hpd-dir-online-card dd {
  margin: 0;
}

.hpd-dir-online-card dt {
  font-weight: 900;
}

.hpd-dir-online-card dd {
  font-weight: 700;
}

.hpd-dir-article {
  padding: 52px 0;
  background: #ffffff;
  border-top: 1px solid #e5eaf0;
}

.hpd-dir-article__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
  gap: 32px;
}

.hpd-dir-prose {
  max-width: 820px;
  color: #263244;
}

.hpd-dir-article__eyebrow {
  margin: 0 0 8px;
  color: #00704e;
  font-size: 13px;
  font-weight: 900;
}

.hpd-dir-prose h2 {
  margin: 0 0 18px;
  color: #151b26;
  font-size: 34px;
  line-height: 1.35;
  letter-spacing: 0;
}

.hpd-dir-prose h3 {
  margin: 30px 0 8px;
  padding-left: 16px;
  color: #151b26;
  font-size: 24px;
  line-height: 1.45;
  letter-spacing: 0;
  border-left: 5px solid #006e4f;
}

.hpd-dir-prose p {
  margin: 0 0 18px;
  font-size: 17px;
  font-weight: 600;
  line-height: 2;
}

.hpd-dir-article-summary {
  position: sticky;
  top: 110px;
  padding: 20px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
}

.hpd-dir-article-summary h2 {
  margin: 0 0 14px;
  font-size: 22px;
  letter-spacing: 0;
}

.hpd-dir-article-summary dl {
  display: grid;
  margin: 0;
  border: 1px solid #dbe2ea;
  border-radius: 8px;
  overflow: hidden;
}

.hpd-dir-article-summary div {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-top: 1px solid #dbe2ea;
  background: #ffffff;
}

.hpd-dir-article-summary div:first-child {
  border-top: 0;
}

.hpd-dir-article-summary dt,
.hpd-dir-article-summary dd {
  margin: 0;
}

.hpd-dir-article-summary dt {
  color: #596579;
  font-size: 13px;
  font-weight: 900;
}

.hpd-dir-article-summary dd {
  color: #151b26;
  font-weight: 900;
}

.hpd-dir-faq {
  padding: 52px 0;
  background: #f6f8fb;
}

.hpd-dir-faq-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.hpd-dir-faq-list details {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

.hpd-dir-faq-list summary {
  padding: 18px 20px;
  color: #151b26;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}

.hpd-dir-faq-list p {
  margin: 0;
  padding: 0 20px 20px;
  color: #3b4453;
  font-weight: 700;
  line-height: 1.9;
}

@media (max-width: 980px) {
  .hpd-dir-hero__grid,
  .hpd-dir-layout,
  .hpd-dir-card__grid,
  .hpd-dir-online-grid,
  .hpd-dir-online-card,
  .hpd-dir-diagnosis__panel,
  .hpd-dir-article__grid {
    grid-template-columns: 1fr;
  }

  .hpd-dir-sidebar,
  .hpd-dir-article-summary {
    position: static;
  }

  .hpd-dir-hero h1 {
    font-size: 40px;
  }

  .hpd-dir-card__media,
  .hpd-dir-online-card figure {
    max-width: 460px;
  }
}

@media (max-width: 640px) {
  .hpd-dir-header__inner,
  .hpd-dir-search__head,
  .hpd-dir-list-head {
    align-items: stretch;
    flex-direction: column;
  }

  .hpd-dir-header__actions {
    display: none;
  }

  .hpd-dir-hero {
    padding-top: 30px;
  }

  .hpd-dir-hero h1 {
    font-size: 31px;
  }

  .hpd-dir-lead {
    font-size: 17px;
  }

  .hpd-dir-hero__stats,
  .hpd-dir-actions,
  .hpd-dir-card,
  .hpd-dir-card__facts div,
  .hpd-dir-details th,
  .hpd-dir-details td,
  .hpd-dir-online-card dl div,
  .hpd-dir-diagnosis__form fieldset,
  .hpd-dir-diagnosis__cards,
  .hpd-dir-diagnosis__result-head {
    grid-template-columns: 1fr;
  }

  .hpd-dir-diagnosis__result-head {
    align-items: start;
  }

  .hpd-dir-card__number {
    display: none;
  }

  .hpd-dir-card__main,
  .hpd-dir-search__head,
  .hpd-dir-search__body {
    padding: 18px;
  }

  .hpd-dir-card__head h3 {
    font-size: 24px;
  }

  .hpd-dir-diagnosis__panel {
    padding: 18px;
  }

  .hpd-dir-diagnosis__intro h2,
  .hpd-dir-prose h2 {
    font-size: 26px;
  }

  .hpd-dir-prose h3 {
    font-size: 21px;
  }

  .hpd-dir-view-toggle {
    grid-template-columns: 1fr 1fr;
  }

  .hpd-dir-primary-cta,
  .hpd-dir-secondary-cta,
  .hpd-dir-link-btn {
    width: 100%;
  }
}

/* Experimental directory refresh base */
.hpd-directory-body {
  --hpd-dir-ink: #0f1117;
  --hpd-dir-panel: #151820;
  --hpd-dir-line: #20242d;
  --hpd-dir-muted: #596171;
  --hpd-dir-paper: #fbfaf7;
  --hpd-dir-orange: #f6821f;
  --hpd-dir-orange-dark: #d86612;
  background: var(--hpd-dir-paper);
  color: var(--hpd-dir-ink);
}

.hpd-dir-header {
  border-bottom: 1px solid rgba(15, 17, 23, 0.16);
  background: rgba(251, 250, 247, 0.92);
}

.hpd-dir-header__inner {
  min-height: 82px;
}

.hpd-dir-header__actions a {
  border-color: rgba(15, 17, 23, 0.18);
  background: rgba(255, 255, 255, 0.76);
}

.hpd-dir-header__actions a:last-child {
  color: #0f1117;
  border-color: var(--hpd-dir-orange);
  background: var(--hpd-dir-orange);
}

.hpd-dir-hero {
  padding: 62px 0 48px;
  border-bottom: 1px solid rgba(15, 17, 23, 0.14);
  background-color: #fbfaf7;
  background-image:
    linear-gradient(rgba(15, 17, 23, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 17, 23, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
}

.hpd-dir-region,
.hpd-dir-search__head p,
.hpd-dir-list-head p,
.hpd-dir-article__eyebrow {
  color: var(--hpd-dir-orange-dark);
}

.hpd-dir-hero h1 {
  max-width: 900px;
  color: var(--hpd-dir-ink);
  font-size: 58px;
  line-height: 1.12;
}

.hpd-dir-lead {
  color: #252a34;
}

.hpd-dir-hero__stats {
  gap: 0;
  border: 1px solid var(--hpd-dir-line);
  border-radius: 8px;
  overflow: hidden;
}

.hpd-dir-hero__stats div {
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0;
  background: var(--hpd-dir-ink);
}

.hpd-dir-hero__stats div:first-child {
  border-left: 0;
}

.hpd-dir-hero__stats strong {
  color: var(--hpd-dir-orange);
}

.hpd-dir-hero__stats span {
  color: #e8eaee;
}

.hpd-dir-hero__visual,
.hpd-dir-search__panel,
.hpd-dir-card,
.hpd-dir-map-card,
.hpd-dir-side-box,
.hpd-dir-article-summary,
.hpd-dir-faq-list details {
  border-color: rgba(15, 17, 23, 0.22);
  box-shadow: 0 18px 42px rgba(15, 17, 23, 0.08);
}

.hpd-dir-hero__visual {
  background: var(--hpd-dir-ink);
}

.hpd-dir-hero__visual figcaption {
  color: #f4f5f6;
  background: var(--hpd-dir-ink);
}

.hpd-dir-diagnosis {
  padding: 54px 0;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(246, 130, 31, 0.18), transparent 42%),
    #101319;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hpd-dir-diagnosis__panel {
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 1fr);
  padding: 30px;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(21, 24, 32, 0.88);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.hpd-dir-diagnosis__intro p:first-child {
  color: var(--hpd-dir-orange);
}

.hpd-dir-diagnosis__intro h2 {
  color: #ffffff;
  font-size: 34px;
}

.hpd-dir-diagnosis__intro p:last-child {
  color: #c9ced6;
}

.hpd-dir-quiz {
  display: grid;
  gap: 18px;
}

.hpd-dir-quiz__progress {
  display: grid;
  gap: 8px;
}

.hpd-dir-quiz__progress span {
  color: #f1f2f4;
  font-size: 13px;
  font-weight: 900;
}

.hpd-dir-quiz__progress i {
  display: block;
  height: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.hpd-dir-quiz__progress b {
  display: block;
  inline-size: 33.333%;
  height: 100%;
  background: var(--hpd-dir-orange);
  border-radius: inherit;
  transition: inline-size 0.2s ease;
}

.hpd-dir-quiz-step {
  display: none;
  gap: 16px;
}

.hpd-dir-quiz-step.is-active {
  display: grid;
}

.hpd-dir-quiz-step p {
  margin: 0;
  color: var(--hpd-dir-orange);
  font-size: 13px;
  font-weight: 900;
}

.hpd-dir-quiz-step h3 {
  margin: 0;
  color: #ffffff;
  font-size: 30px;
  line-height: 1.35;
  letter-spacing: 0;
}

.hpd-dir-quiz-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hpd-dir-quiz-options button {
  min-height: 74px;
  padding: 14px 16px;
  color: #f8fafc;
  font: inherit;
  font-size: 17px;
  font-weight: 900;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.hpd-dir-quiz-options button:hover,
.hpd-dir-quiz-options button[aria-pressed="true"] {
  color: #101319;
  border-color: var(--hpd-dir-orange);
  background: var(--hpd-dir-orange);
}

.hpd-dir-quiz__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hpd-dir-quiz__controls button {
  min-height: 40px;
  padding: 8px 12px;
  color: #ffffff;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.hpd-dir-quiz__controls button:disabled {
  color: rgba(255, 255, 255, 0.42);
  cursor: not-allowed;
}

.hpd-dir-diagnosis__result {
  border-top-color: rgba(255, 255, 255, 0.14);
}

.hpd-dir-diagnosis__result h3 {
  color: #ffffff;
}

.hpd-dir-diagnosis__result p {
  color: #c9ced6;
}

.hpd-dir-diagnosis-card {
  border-color: rgba(255, 255, 255, 0.14);
  background: #ffffff;
}

.hpd-dir-diagnosis-card h3 {
  color: var(--hpd-dir-ink);
}

.hpd-dir-diagnosis-card span {
  color: #101319;
  background: #ffe5c9;
}

.hpd-dir-diagnosis-card a {
  color: #0f1117;
}

.hpd-dir-search {
  margin-top: 0;
  padding: 42px 0 26px;
  background: #fbfaf7;
}

.hpd-dir-search__panel {
  border-width: 1px;
  background: #ffffff;
}

.hpd-dir-view-toggle .is-active,
.hpd-dir-chip.is-active {
  color: #101319;
  background: var(--hpd-dir-orange);
  border-color: var(--hpd-dir-orange);
}

.hpd-dir-chip.is-active span {
  color: #ffffff;
  background: #101319;
}

.hpd-dir-results {
  padding-top: 34px;
  background: #fbfaf7;
}

.hpd-dir-card {
  border-color: rgba(15, 17, 23, 0.2);
  background: #ffffff;
}

.hpd-dir-card__number {
  color: var(--hpd-dir-orange);
  background: #101319;
}

.hpd-dir-card__head h3 {
  color: #0f1117;
}

.hpd-dir-card__badges .hpd-dir-pr,
.hpd-dir-pr {
  color: #101319;
  background: var(--hpd-dir-orange);
}

.hpd-dir-feature-row span {
  color: #101319;
  background: #fff1e2;
}

.hpd-dir-primary-cta {
  color: #101319;
  border-color: var(--hpd-dir-orange);
  background: var(--hpd-dir-orange);
  box-shadow: 0 10px 22px rgba(246, 130, 31, 0.22);
}

.hpd-dir-primary-cta:hover {
  color: #101319;
  border-color: #ff9c47;
  background: #ff9c47;
}

.hpd-dir-secondary-cta,
.hpd-dir-link-btn {
  color: #101319;
  border-color: rgba(15, 17, 23, 0.28);
}

.hpd-dir-prose h3 {
  border-left-color: var(--hpd-dir-orange);
}

@media (max-width: 980px) {
  .hpd-dir-hero h1 {
    font-size: 42px;
  }

  .hpd-dir-diagnosis__panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hpd-dir-hero h1 {
    font-size: 32px;
  }

  .hpd-dir-quiz-options,
  .hpd-dir-diagnosis__cards {
    grid-template-columns: 1fr;
  }

  .hpd-dir-quiz-step h3 {
    font-size: 24px;
  }
}

/* Digital Agency Design System-inspired correction */
.hpd-directory-body {
  --hpd-dads-blue: #0017c1;
  --hpd-dads-blue-dark: #000082;
  --hpd-dads-blue-soft: #e8f1fe;
  --hpd-dads-blue-pale: #f6f9ff;
  --hpd-dads-cyan: #006d75;
  --hpd-dads-ink: #1a1f29;
  --hpd-dads-text: #3b4453;
  --hpd-dads-border: #c5d7f4;
  --hpd-dads-border-strong: #8aa8e8;
  --hpd-dads-surface: #ffffff;
  background: #ffffff;
  color: var(--hpd-dads-ink);
}

.hpd-dir-header {
  border-bottom: 1px solid #d8e2f3;
  background: rgba(255, 255, 255, 0.98);
}

.hpd-dir-header__inner {
  min-height: 76px;
}

.hpd-dir-header__actions a {
  color: var(--hpd-dads-blue);
  border-color: var(--hpd-dads-blue);
  background: #ffffff;
}

.hpd-dir-header__actions a:last-child {
  color: #ffffff;
  border-color: var(--hpd-dads-blue);
  background: var(--hpd-dads-blue);
}

.hpd-dir-hero {
  padding: 46px 0 42px;
  border-bottom: 1px solid #d8e2f3;
  background:
    linear-gradient(90deg, #f6f9ff 0%, #ffffff 68%);
  background-size: auto;
}

.hpd-dir-breadcrumb {
  color: #5b6575;
}

.hpd-dir-region,
.hpd-dir-search__head p,
.hpd-dir-list-head p,
.hpd-dir-article__eyebrow,
.hpd-dir-diagnosis__intro p:first-child,
.hpd-dir-quiz-step p {
  color: var(--hpd-dads-cyan);
}

.hpd-dir-hero h1 {
  color: var(--hpd-dads-ink);
  font-size: 48px;
  line-height: 1.22;
}

.hpd-dir-lead {
  color: var(--hpd-dads-text);
  font-size: 19px;
}

.hpd-dir-hero__stats {
  gap: 12px;
  border: 0;
  border-radius: 0;
  overflow: visible;
}

.hpd-dir-hero__stats div {
  border: 1px solid var(--hpd-dads-border);
  border-left: 1px solid var(--hpd-dads-border);
  border-radius: 8px;
  background: #ffffff;
}

.hpd-dir-hero__stats strong {
  color: var(--hpd-dads-blue);
}

.hpd-dir-hero__stats span {
  color: var(--hpd-dads-text);
}

.hpd-dir-hero__visual {
  border: 1px solid var(--hpd-dads-border);
  background: #ffffff;
  box-shadow: none;
}

.hpd-dir-hero__visual figcaption {
  color: var(--hpd-dads-text);
  background: #ffffff;
  border-top: 1px solid #d8e2f3;
}

.hpd-dir-diagnosis {
  padding: 44px 0;
  color: var(--hpd-dads-ink);
  background: #ffffff;
  border-bottom: 1px solid #d8e2f3;
}

.hpd-dir-diagnosis__panel {
  grid-template-columns: minmax(260px, 0.36fr) minmax(0, 1fr);
  padding: 28px;
  color: var(--hpd-dads-ink);
  border: 2px solid var(--hpd-dads-border);
  background: var(--hpd-dads-blue-pale);
  box-shadow: none;
}

.hpd-dir-diagnosis__intro h2 {
  color: var(--hpd-dads-ink);
  font-size: 31px;
}

.hpd-dir-diagnosis__intro p:last-child {
  color: var(--hpd-dads-text);
}

.hpd-dir-quiz__progress span {
  color: var(--hpd-dads-text);
}

.hpd-dir-quiz__progress i {
  background: #d8e2f3;
}

.hpd-dir-quiz__progress b {
  background: var(--hpd-dads-blue);
}

.hpd-dir-quiz-step h3 {
  color: var(--hpd-dads-ink);
  font-size: 29px;
}

.hpd-dir-quiz-options button {
  min-height: 68px;
  color: var(--hpd-dads-ink);
  border: 2px solid var(--hpd-dads-border);
  background: #ffffff;
}

.hpd-dir-quiz-options button:hover,
.hpd-dir-quiz-options button[aria-pressed="true"] {
  color: #ffffff;
  border-color: var(--hpd-dads-blue);
  background: var(--hpd-dads-blue);
}

.hpd-dir-quiz__controls button {
  color: var(--hpd-dads-blue);
  border-color: var(--hpd-dads-border-strong);
  background: #ffffff;
}

.hpd-dir-quiz__controls button:disabled {
  color: #8b95a5;
  background: #f1f4f8;
}

.hpd-dir-diagnosis__result {
  border-top-color: var(--hpd-dads-border);
}

.hpd-dir-diagnosis__result h3 {
  color: var(--hpd-dads-ink);
}

.hpd-dir-diagnosis__result p {
  color: var(--hpd-dads-text);
}

.hpd-dir-diagnosis-card {
  border: 1px solid var(--hpd-dads-border);
  background: #ffffff;
}

.hpd-dir-diagnosis-card span {
  color: var(--hpd-dads-blue);
  background: var(--hpd-dads-blue-soft);
}

.hpd-dir-diagnosis-card a {
  color: var(--hpd-dads-blue);
}

.hpd-dir-search {
  padding: 36px 0 24px;
  background: #ffffff;
}

.hpd-dir-search__panel,
.hpd-dir-card,
.hpd-dir-map-card,
.hpd-dir-side-box,
.hpd-dir-article-summary,
.hpd-dir-faq-list details {
  border-color: var(--hpd-dads-border);
  box-shadow: none;
}

.hpd-dir-search__panel {
  background: #ffffff;
}

.hpd-dir-search__head {
  background: var(--hpd-dads-blue-pale);
}

.hpd-dir-view-toggle .is-active,
.hpd-dir-chip.is-active {
  color: #ffffff;
  background: var(--hpd-dads-blue);
  border-color: var(--hpd-dads-blue);
}

.hpd-dir-chip.is-active span {
  color: var(--hpd-dads-blue);
  background: #ffffff;
}

.hpd-dir-results {
  background: #ffffff;
}

.hpd-dir-card {
  background: #ffffff;
}

.hpd-dir-card__number {
  color: #ffffff;
  background: var(--hpd-dads-blue);
}

.hpd-dir-card__head h3 {
  color: var(--hpd-dads-blue);
}

.hpd-dir-card__badges .hpd-dir-pr,
.hpd-dir-pr {
  color: #ffffff;
  background: var(--hpd-dads-blue);
}

.hpd-dir-card__badges span {
  color: var(--hpd-dads-text);
  background: #f1f4f8;
}

.hpd-dir-feature-row span {
  color: var(--hpd-dads-cyan);
  background: #e9fbff;
}

.hpd-dir-card__facts {
  border-color: #d8e2f3;
}

.hpd-dir-card__facts dt {
  color: var(--hpd-dads-ink);
  background: #f5f7fb;
}

.hpd-dir-primary-cta {
  color: #ffffff;
  border-color: var(--hpd-dads-blue);
  background: var(--hpd-dads-blue);
  box-shadow: none;
}

.hpd-dir-primary-cta:hover {
  color: #ffffff;
  border-color: var(--hpd-dads-blue-dark);
  background: var(--hpd-dads-blue-dark);
}

.hpd-dir-secondary-cta,
.hpd-dir-link-btn {
  color: var(--hpd-dads-blue);
  border-color: var(--hpd-dads-blue);
  background: #ffffff;
}

.hpd-dir-details {
  border-color: var(--hpd-dads-border);
}

.hpd-dir-details summary {
  color: var(--hpd-dads-blue);
  background: var(--hpd-dads-blue-pale);
}

.hpd-dir-article {
  background: #ffffff;
  border-top-color: #d8e2f3;
}

.hpd-dir-prose h3 {
  border-left-color: var(--hpd-dads-blue);
}

.hpd-dir-article-summary {
  background: var(--hpd-dads-blue-pale);
}

.hpd-dir-faq {
  background: var(--hpd-dads-blue-pale);
}

.hpd-dir-faq-list summary {
  color: var(--hpd-dads-blue);
}

@media (max-width: 980px) {
  .hpd-dir-hero h1 {
    font-size: 38px;
  }
}

@media (max-width: 640px) {
  .hpd-dir-hero h1 {
    font-size: 30px;
  }

  .hpd-dir-quiz-step h3 {
    font-size: 23px;
  }
}

/* Compact DADS-style first view adjustment */
.hpd-dir-hero {
  padding: 28px 0 30px;
}

.hpd-dir-hero__grid {
  display: block;
}

.hpd-dir-hero__content {
  max-width: 920px;
}

.hpd-dir-breadcrumb {
  margin-bottom: 18px;
}

.hpd-dir-region {
  margin-bottom: 8px;
}

.hpd-dir-hero h1 {
  max-width: 900px;
  font-size: 40px;
  line-height: 1.28;
}

.hpd-dir-lead {
  max-width: 820px;
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.8;
}

.hpd-dir-hero__stats {
  max-width: 620px;
  margin-top: 18px;
}

.hpd-dir-hero__stats div {
  padding: 10px 14px;
}

.hpd-dir-hero__stats strong {
  font-size: 24px;
}

.hpd-dir-hero__visual {
  display: none;
}

.hpd-dir-map-card {
  padding: 16px;
}

.hpd-dir-map-card img {
  display: none;
}

.hpd-dir-map-card h2 {
  padding: 0 0 8px;
}

.hpd-dir-map-card ul {
  padding: 0;
}

@media (max-width: 640px) {
  .hpd-dir-hero {
    padding: 16px 0 18px;
  }

  .hpd-dir-hero h1 {
    font-size: 24px;
    line-height: 1.34;
  }

  .hpd-dir-breadcrumb {
    margin-bottom: 12px;
    font-size: 12px;
  }

  .hpd-dir-region {
    margin-bottom: 6px;
    font-size: 13px;
  }

  .hpd-dir-lead {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.7;
  }

  .hpd-dir-hero__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
  }

  .hpd-dir-hero__stats div {
    padding: 8px 6px;
  }

  .hpd-dir-hero__stats strong {
    font-size: 20px;
  }

  .hpd-dir-hero__stats span {
    font-size: 11px;
  }
}

/* Compact diagnosis sizing */
.hpd-dir-diagnosis {
  padding: 30px 0;
}

.hpd-dir-diagnosis__panel {
  grid-template-columns: 1fr;
  max-width: 920px;
  gap: 20px;
  margin-inline: auto;
  padding: 22px;
}

.hpd-dir-diagnosis__intro h2 {
  margin-bottom: 0;
  font-size: 25px;
  line-height: 1.42;
}

.hpd-dir-quiz-step h3 {
  font-size: 24px;
  line-height: 1.45;
}

.hpd-dir-quiz-options button {
  min-height: 56px;
  padding: 12px 14px;
  font-size: 16px;
}

@media (max-width: 1180px) {
  .hpd-dir-diagnosis__panel {
    grid-template-columns: 1fr;
  }

  .hpd-dir-diagnosis__intro {
    max-width: 680px;
  }
}

@media (max-width: 640px) {
  .hpd-dir-diagnosis {
    padding: 22px 0;
  }

  .hpd-dir-diagnosis__panel {
    gap: 16px;
    padding: 16px;
  }

  .hpd-dir-diagnosis__intro h2 {
    font-size: 21px;
  }

  .hpd-dir-quiz {
    gap: 14px;
  }

  .hpd-dir-quiz-step h3 {
    font-size: 20px;
  }

  .hpd-dir-quiz-options button {
    min-height: 48px;
    padding: 10px 12px;
    font-size: 15px;
  }

  .hpd-dir-quiz__controls button {
    min-height: 36px;
    font-size: 12px;
  }
}

/* Insurance directory visual pass: reference-like, not a copy */
.hpd-directory-body {
  --hpd-shop-orange: #f28c00;
  --hpd-shop-orange-dark: #db6f00;
  --hpd-shop-green: #00886f;
  --hpd-shop-ink: #2f3338;
  --hpd-shop-text: #555f6d;
  --hpd-shop-line: #d9dee6;
  --hpd-shop-soft: #f5f6f8;
  --hpd-shop-cream: #fff8ea;
  --hpd-container: 1080px;
  background: #f7f7f7;
  color: var(--hpd-shop-ink);
}

.hpd-dir-header {
  position: sticky;
  border-bottom: 1px solid #e2e4e8;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 0 rgba(47, 51, 56, 0.04);
}

.hpd-dir-header__inner {
  min-height: 70px;
}

.hpd-dir-logo img {
  width: 188px;
}

.hpd-dir-header__actions {
  gap: 10px;
  font-size: 14px;
}

.hpd-dir-header__actions a {
  min-height: 38px;
  padding: 7px 14px;
  color: var(--hpd-shop-ink);
  border: 1px solid var(--hpd-shop-line);
  border-radius: 4px;
  background: #ffffff;
}

.hpd-dir-header__actions a:last-child {
  color: #ffffff;
  border-color: var(--hpd-shop-orange);
  background: var(--hpd-shop-orange);
}

.hpd-dir-hero {
  padding: 22px 0 18px;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.hpd-dir-breadcrumb {
  margin-bottom: 14px;
  gap: 7px;
  color: #757d89;
  font-size: 12px;
  font-weight: 600;
}

.hpd-dir-breadcrumb a {
  color: #697386;
}

.hpd-dir-region {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin: 0 0 8px;
  padding: 2px 9px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  border-radius: 3px;
  background: var(--hpd-shop-green);
}

.hpd-dir-hero h1 {
  max-width: 100%;
  color: var(--hpd-shop-ink);
  font-size: 30px;
  line-height: 1.42;
  font-weight: 800;
}

.hpd-dir-lead {
  max-width: 850px;
  margin-top: 10px;
  color: var(--hpd-shop-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.85;
}

.hpd-dir-hero__stats {
  display: inline-grid;
  grid-template-columns: repeat(3, auto);
  max-width: none;
  gap: 0;
  margin-top: 14px;
  border: 1px solid var(--hpd-shop-line);
  border-radius: 4px;
  overflow: hidden;
  background: #ffffff;
}

.hpd-dir-hero__stats div {
  display: flex;
  align-items: baseline;
  gap: 5px;
  padding: 8px 14px;
  border: 0;
  border-left: 1px solid var(--hpd-shop-line);
  border-radius: 0;
  background: #ffffff;
}

.hpd-dir-hero__stats div:first-child {
  border-left: 0;
}

.hpd-dir-hero__stats strong {
  color: var(--hpd-shop-orange-dark);
  font-size: 21px;
}

.hpd-dir-hero__stats span {
  color: var(--hpd-shop-text);
  font-size: 12px;
}

.hpd-dir-diagnosis {
  padding: 22px 0 18px;
  background: #f7f7f7;
  border-bottom: 1px solid #e5e7eb;
}

.hpd-dir-diagnosis__panel {
  max-width: var(--hpd-container);
  gap: 18px;
  padding: 18px;
  color: var(--hpd-shop-ink);
  border: 1px solid var(--hpd-shop-line);
  border-top: 4px solid var(--hpd-shop-orange);
  border-radius: 4px;
  background: #ffffff;
  box-shadow: none;
}

.hpd-dir-diagnosis__intro p:first-child,
.hpd-dir-quiz-step p,
.hpd-dir-search__head p,
.hpd-dir-list-head p,
.hpd-dir-article__eyebrow {
  color: var(--hpd-shop-orange-dark);
}

.hpd-dir-diagnosis__intro h2 {
  color: var(--hpd-shop-ink);
  font-size: 22px;
  line-height: 1.45;
}

.hpd-dir-quiz__progress span {
  color: var(--hpd-shop-text);
}

.hpd-dir-quiz__progress i {
  height: 6px;
  background: #e8ebef;
}

.hpd-dir-quiz__progress b {
  background: var(--hpd-shop-orange);
}

.hpd-dir-quiz-step h3 {
  color: var(--hpd-shop-ink);
  font-size: 22px;
}

.hpd-dir-quiz-options {
  gap: 10px;
}

.hpd-dir-quiz-options button {
  min-height: 52px;
  color: var(--hpd-shop-ink);
  font-size: 15px;
  border: 1px solid var(--hpd-shop-line);
  border-radius: 4px;
  background: #ffffff;
}

.hpd-dir-quiz-options button:hover,
.hpd-dir-quiz-options button[aria-pressed="true"] {
  color: #ffffff;
  border-color: var(--hpd-shop-orange);
  background: var(--hpd-shop-orange);
}

.hpd-dir-quiz__controls button {
  color: var(--hpd-shop-ink);
  border: 1px solid var(--hpd-shop-line);
  border-radius: 4px;
  background: #ffffff;
}

.hpd-dir-diagnosis__result {
  border-top-color: var(--hpd-shop-line);
}

.hpd-dir-diagnosis-card {
  border: 1px solid var(--hpd-shop-line);
  border-radius: 4px;
  background: #ffffff;
}

.hpd-dir-diagnosis-card span {
  color: var(--hpd-shop-green);
  background: #eaf8f4;
}

.hpd-dir-diagnosis-card a {
  color: var(--hpd-shop-orange-dark);
}

.hpd-dir-search {
  padding: 18px 0 20px;
  background: #f7f7f7;
}

.hpd-dir-search__panel {
  border: 1px solid var(--hpd-shop-line);
  border-radius: 4px;
  background: #ffffff;
  box-shadow: none;
}

.hpd-dir-search__head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--hpd-shop-line);
  background: #f3f4f6;
}

.hpd-dir-search__head h2,
.hpd-dir-list-head h2 {
  color: var(--hpd-shop-ink);
  font-size: 22px;
}

.hpd-dir-view-toggle {
  border-color: var(--hpd-shop-line);
  border-radius: 4px;
  background: #ffffff;
}

.hpd-dir-view-toggle button,
.hpd-dir-view-toggle a {
  min-height: 38px;
  padding: 7px 14px;
  color: var(--hpd-shop-ink);
  font-size: 13px;
}

.hpd-dir-view-toggle .is-active {
  color: #ffffff;
  background: var(--hpd-shop-green);
}

.hpd-dir-search__body {
  gap: 14px;
  padding: 18px 20px 20px;
}

.hpd-dir-keyword {
  font-size: 13px;
}

.hpd-dir-keyword input {
  min-height: 46px;
  padding: 10px 13px;
  border: 1px solid var(--hpd-shop-line);
  border-radius: 4px;
}

.hpd-dir-chip {
  min-height: 36px;
  padding: 6px 11px;
  color: var(--hpd-shop-ink);
  font-size: 13px;
  border: 1px solid var(--hpd-shop-line);
  border-radius: 4px;
  background: #ffffff;
}

.hpd-dir-chip span {
  min-width: 22px;
  height: 22px;
  color: var(--hpd-shop-text);
  background: #edf0f3;
}

.hpd-dir-chip.is-active {
  color: #ffffff;
  border-color: var(--hpd-shop-orange);
  background: var(--hpd-shop-orange);
}

.hpd-dir-chip.is-active span {
  color: var(--hpd-shop-orange-dark);
  background: #ffffff;
}

.hpd-dir-methods span,
.hpd-dir-feature-row span,
.hpd-dir-card__badges span {
  min-height: 26px;
  padding: 4px 8px;
  color: var(--hpd-shop-text);
  font-size: 12px;
  border: 1px solid #e1e5eb;
  border-radius: 3px;
  background: #f7f8fa;
}

.hpd-dir-card__badges .hpd-dir-pr,
.hpd-dir-pr {
  color: #ffffff;
  border-color: #20242b;
  background: #20242b;
}

.hpd-dir-results {
  padding: 24px 0 42px;
  background: #f7f7f7;
}

.hpd-dir-layout {
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 20px;
}

.hpd-dir-list-head {
  margin-bottom: 12px;
  padding: 0 2px;
}

.hpd-dir-count {
  color: var(--hpd-shop-text);
  font-size: 13px;
}

.hpd-dir-card-list {
  gap: 16px;
}

.hpd-dir-card {
  display: block;
  border: 1px solid var(--hpd-shop-line);
  border-radius: 4px;
  background: #ffffff;
  box-shadow: none;
  overflow: visible;
}

.hpd-dir-card__number {
  display: none;
}

.hpd-dir-card__main {
  padding: 0;
}

.hpd-dir-card__head {
  margin: 0;
  padding: 16px 18px 0;
}

.hpd-dir-card__head h3 {
  margin: 9px 0 7px;
  color: var(--hpd-shop-ink);
  font-size: 23px;
  line-height: 1.35;
}

.hpd-dir-card__head h3 a {
  color: inherit;
  text-decoration: none;
}

.hpd-dir-card__head h3 a:hover {
  color: var(--hpd-shop-orange-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hpd-dir-card__head p {
  color: var(--hpd-shop-text);
  font-size: 14px;
  line-height: 1.75;
}

.hpd-dir-card__grid {
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  padding: 14px 18px 18px;
}

.hpd-dir-card__media {
  border: 1px solid var(--hpd-shop-line);
  border-radius: 3px;
  background: #ffffff;
}

.hpd-dir-card__media img {
  aspect-ratio: 4 / 3;
}

.hpd-dir-feature-row {
  margin-bottom: 11px;
}

.hpd-dir-feature-row span {
  color: var(--hpd-shop-green);
  border-color: #cde8df;
  background: #effaf6;
}

.hpd-dir-card__facts {
  border: 1px solid var(--hpd-shop-line);
  border-radius: 3px;
}

.hpd-dir-card__facts div {
  grid-template-columns: 96px minmax(0, 1fr);
  border-top-color: #e8ebef;
}

.hpd-dir-card__facts dt,
.hpd-dir-card__facts dd {
  padding: 9px 11px;
  font-size: 13px;
  line-height: 1.6;
}

.hpd-dir-card__facts dt {
  background: #f4f5f7;
}

.hpd-dir-card__facts dd {
  color: var(--hpd-shop-ink);
}

.hpd-dir-actions {
  grid-template-columns: minmax(220px, 1fr) minmax(150px, auto);
  gap: 10px;
  margin-top: 13px;
}

.hpd-dir-primary-cta,
.hpd-dir-secondary-cta,
.hpd-dir-link-btn {
  min-height: 48px;
  padding: 8px 13px;
  border-radius: 4px;
}

.hpd-dir-primary-cta {
  color: #ffffff;
  border-color: var(--hpd-shop-orange);
  background: var(--hpd-shop-orange);
  box-shadow: none;
}

.hpd-dir-primary-cta:hover {
  color: #ffffff;
  border-color: var(--hpd-shop-orange-dark);
  background: var(--hpd-shop-orange-dark);
}

.hpd-dir-primary-cta span {
  font-size: 11px;
}

.hpd-dir-secondary-cta,
.hpd-dir-link-btn {
  color: var(--hpd-shop-orange-dark);
  border: 1px solid var(--hpd-shop-orange);
  background: #ffffff;
}

.hpd-dir-details {
  margin: 0 18px 18px;
  border: 1px solid var(--hpd-shop-line);
  border-radius: 3px;
}

.hpd-dir-details summary {
  padding: 12px 14px;
  color: var(--hpd-shop-ink);
  background: #f4f5f7;
}

.hpd-dir-details__body {
  padding: 14px;
}

.hpd-dir-details table {
  border-color: var(--hpd-shop-line);
}

.hpd-dir-details th,
.hpd-dir-details td {
  padding: 10px 12px;
  border-top-color: #e8ebef;
  font-size: 13px;
  line-height: 1.7;
}

.hpd-dir-details th {
  width: 128px;
  background: #f4f5f7;
}

.hpd-dir-sidebar {
  top: 86px;
  gap: 12px;
}

.hpd-dir-map-card,
.hpd-dir-side-box,
.hpd-dir-article-summary,
.hpd-dir-faq-list details {
  border: 1px solid var(--hpd-shop-line);
  border-radius: 4px;
  box-shadow: none;
}

.hpd-dir-map-card,
.hpd-dir-side-box {
  background: #ffffff;
}

.hpd-dir-map-card h2,
.hpd-dir-side-box h2 {
  padding: 14px 14px 7px;
  font-size: 17px;
}

.hpd-dir-map-card ul {
  padding: 0 14px 14px;
}

.hpd-dir-map-card li {
  padding: 9px 0;
  border-top-color: #e8ebef;
  font-size: 13px;
}

.hpd-dir-map-card strong {
  color: var(--hpd-shop-orange-dark);
}

.hpd-dir-side-box p {
  margin: 6px 14px 0;
  color: var(--hpd-shop-text);
  font-size: 13px;
  line-height: 1.75;
}

.hpd-dir-article {
  padding: 42px 0;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
}

.hpd-dir-article__grid {
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
}

.hpd-dir-prose h2 {
  color: var(--hpd-shop-ink);
  font-size: 28px;
}

.hpd-dir-prose h3 {
  margin-top: 24px;
  padding-left: 12px;
  color: var(--hpd-shop-ink);
  font-size: 20px;
  border-left: 4px solid var(--hpd-shop-orange);
}

.hpd-dir-prose p {
  color: var(--hpd-shop-text);
  font-size: 15px;
  line-height: 2;
}

.hpd-dir-article-summary {
  background: #fffdf8;
}

.hpd-dir-faq {
  padding: 42px 0;
  background: #f7f7f7;
}

.hpd-dir-faq-list summary {
  padding: 15px 18px;
  color: var(--hpd-shop-ink);
  font-size: 16px;
}

.hpd-dir-faq-list p {
  padding: 0 18px 18px;
  color: var(--hpd-shop-text);
  font-size: 14px;
}

@media (max-width: 980px) {
  .hpd-dir-layout,
  .hpd-dir-article__grid,
  .hpd-dir-card__grid {
    grid-template-columns: 1fr;
  }

  .hpd-dir-card__media {
    max-width: 360px;
  }

  .hpd-dir-sidebar,
  .hpd-dir-article-summary {
    position: static;
  }
}

@media (max-width: 640px) {
  .hpd-dir-header__inner {
    min-height: 62px;
  }

  .hpd-dir-logo img {
    width: 160px;
  }

  .hpd-dir-hero {
    padding: 16px 0;
  }

  .hpd-dir-hero h1 {
    font-size: 23px;
  }

  .hpd-dir-hero__stats {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hpd-dir-hero__stats div {
    justify-content: center;
    padding: 8px 6px;
  }

  .hpd-dir-search__head,
  .hpd-dir-list-head {
    gap: 10px;
  }

  .hpd-dir-search__head h2,
  .hpd-dir-list-head h2 {
    font-size: 19px;
  }

  .hpd-dir-card__head,
  .hpd-dir-card__grid {
    padding-inline: 14px;
  }

  .hpd-dir-card__head h3 {
    font-size: 20px;
  }

  .hpd-dir-card__grid {
    padding-bottom: 14px;
  }

  .hpd-dir-card__media {
    max-width: none;
  }

  .hpd-dir-actions,
  .hpd-dir-card__facts div,
  .hpd-dir-details th,
  .hpd-dir-details td {
    grid-template-columns: 1fr;
  }

  .hpd-dir-details {
    margin-inline: 14px;
    margin-bottom: 14px;
  }
}

@media (min-width: 981px) {
  .hpd-dir-diagnosis__panel {
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    padding: 14px 16px 16px;
  }

  .hpd-dir-quiz-options {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .hpd-dir-quiz-options button {
    min-height: 42px;
    padding: 9px 10px;
    text-align: center;
  }

  .hpd-dir-diagnosis__intro h2 {
    font-size: 19px;
  }

  .hpd-dir-quiz-step h3 {
    font-size: 19px;
  }

  .hpd-dir-quiz,
  .hpd-dir-quiz-step {
    gap: 10px;
  }
}

/* Denser directory rhythm */
.hpd-directory-body {
  --hpd-container: 1060px;
}

.hpd-dir-header__inner {
  min-height: 60px;
}

.hpd-dir-logo img {
  width: 166px;
}

.hpd-dir-header__actions a {
  min-height: 34px;
  padding: 6px 12px;
  font-size: 13px;
}

.hpd-dir-hero {
  padding: 14px 0 13px;
}

.hpd-dir-breadcrumb {
  margin-bottom: 9px;
  font-size: 11px;
}

.hpd-dir-region {
  min-height: 21px;
  margin-bottom: 7px;
  padding: 1px 7px;
  font-size: 11px;
}

.hpd-dir-hero h1 {
  font-size: 27px;
  line-height: 1.35;
}

.hpd-dir-lead {
  margin-top: 7px;
  font-size: 13px;
  line-height: 1.7;
}

.hpd-dir-hero__stats {
  margin-top: 10px;
}

.hpd-dir-hero__stats div {
  padding: 6px 11px;
}

.hpd-dir-hero__stats strong {
  font-size: 18px;
}

.hpd-dir-hero__stats span {
  font-size: 11px;
}

.hpd-dir-diagnosis {
  padding: 14px 0;
}

.hpd-dir-diagnosis__panel {
  padding: 12px 14px;
}

.hpd-dir-diagnosis__intro p:first-child {
  margin-bottom: 3px;
  font-size: 11px;
}

.hpd-dir-diagnosis__intro h2 {
  font-size: 18px;
}

.hpd-dir-quiz__progress {
  gap: 5px;
}

.hpd-dir-quiz__progress span {
  font-size: 12px;
}

.hpd-dir-quiz__progress i {
  height: 5px;
}

.hpd-dir-quiz-step p {
  font-size: 11px;
}

.hpd-dir-quiz-step h3 {
  font-size: 18px;
}

.hpd-dir-quiz-options button {
  min-height: 38px;
  padding: 7px 9px;
  font-size: 13px;
}

.hpd-dir-quiz__controls {
  gap: 8px;
}

.hpd-dir-quiz__controls button {
  min-height: 34px;
  padding: 6px 10px;
  font-size: 12px;
}

.hpd-dir-search {
  padding: 12px 0 14px;
}

.hpd-dir-search__head {
  padding: 12px 16px;
}

.hpd-dir-search__head p,
.hpd-dir-list-head p {
  margin-bottom: 2px;
  font-size: 11px;
}

.hpd-dir-search__head h2,
.hpd-dir-list-head h2 {
  font-size: 20px;
}

.hpd-dir-view-toggle button,
.hpd-dir-view-toggle a {
  min-height: 34px;
  padding: 6px 11px;
  font-size: 12px;
}

.hpd-dir-search__body {
  gap: 10px;
  padding: 12px 16px 14px;
}

.hpd-dir-keyword {
  gap: 5px;
  font-size: 12px;
}

.hpd-dir-keyword input {
  min-height: 39px;
  padding: 8px 11px;
  font-size: 13px;
}

.hpd-dir-chip-group,
.hpd-dir-methods,
.hpd-dir-feature-row,
.hpd-dir-card__badges {
  gap: 6px;
}

.hpd-dir-chip {
  min-height: 30px;
  padding: 4px 9px;
  font-size: 12px;
}

.hpd-dir-chip span {
  min-width: 20px;
  height: 20px;
  font-size: 10px;
}

.hpd-dir-methods span,
.hpd-dir-feature-row span,
.hpd-dir-card__badges span {
  min-height: 23px;
  padding: 3px 7px;
  font-size: 11px;
}

.hpd-dir-results {
  padding: 18px 0 34px;
}

.hpd-dir-layout {
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 16px;
}

.hpd-dir-list-head {
  margin-bottom: 9px;
}

.hpd-dir-count {
  font-size: 12px;
}

.hpd-dir-card-list {
  gap: 12px;
}

.hpd-dir-card__head {
  padding: 12px 14px 0;
}

.hpd-dir-card__head h3 {
  margin: 7px 0 5px;
  font-size: 20px;
  line-height: 1.32;
}

.hpd-dir-card__head p {
  font-size: 13px;
  line-height: 1.55;
}

.hpd-dir-card__grid {
  grid-template-columns: 172px minmax(0, 1fr);
  gap: 13px;
  padding: 10px 14px 14px;
}

.hpd-dir-feature-row {
  margin-bottom: 8px;
}

.hpd-dir-card__facts div {
  grid-template-columns: 82px minmax(0, 1fr);
}

.hpd-dir-card__facts dt,
.hpd-dir-card__facts dd {
  padding: 7px 9px;
  font-size: 12px;
  line-height: 1.48;
}

.hpd-dir-actions {
  grid-template-columns: minmax(190px, 1fr) minmax(124px, auto);
  gap: 8px;
  margin-top: 10px;
}

.hpd-dir-primary-cta,
.hpd-dir-secondary-cta,
.hpd-dir-link-btn {
  min-height: 42px;
  padding: 7px 10px;
  font-size: 13px;
}

.hpd-dir-primary-cta span {
  font-size: 10px;
}

.hpd-dir-details {
  margin: 0 14px 14px;
}

.hpd-dir-details summary {
  padding: 9px 12px;
  font-size: 13px;
}

.hpd-dir-details__body {
  padding: 10px;
}

.hpd-dir-details th,
.hpd-dir-details td {
  padding: 7px 9px;
  font-size: 12px;
  line-height: 1.55;
}

.hpd-dir-details th {
  width: 110px;
}

.hpd-dir-sidebar {
  top: 76px;
  gap: 10px;
}

.hpd-dir-map-card,
.hpd-dir-side-box {
  padding-bottom: 12px;
}

.hpd-dir-map-card h2,
.hpd-dir-side-box h2 {
  padding: 12px 12px 6px;
  font-size: 16px;
}

.hpd-dir-map-card ul {
  padding: 0 12px 12px;
}

.hpd-dir-map-card li {
  padding: 7px 0;
  font-size: 12px;
}

.hpd-dir-side-box p {
  margin: 4px 12px 0;
  font-size: 12px;
  line-height: 1.65;
}

.hpd-dir-article {
  padding: 34px 0;
}

.hpd-dir-article__grid {
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 20px;
}

.hpd-dir-prose h2 {
  font-size: 25px;
}

.hpd-dir-prose h3 {
  margin-top: 20px;
  font-size: 18px;
}

.hpd-dir-prose p {
  font-size: 14px;
  line-height: 1.9;
}

.hpd-dir-faq {
  padding: 34px 0;
}

.hpd-dir-faq-list {
  gap: 9px;
  margin-top: 14px;
}

.hpd-dir-faq-list summary {
  padding: 12px 15px;
  font-size: 15px;
}

.hpd-dir-faq-list p {
  padding: 0 15px 15px;
  font-size: 13px;
}

@media (min-width: 981px) {
  .hpd-dir-diagnosis__panel {
    grid-template-columns: 230px minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .hpd-dir-header__inner {
    min-height: 56px;
  }

  .hpd-dir-logo img {
    width: 145px;
  }

  .hpd-dir-hero h1 {
    font-size: 21px;
  }

  .hpd-dir-diagnosis__panel,
  .hpd-dir-search__head,
  .hpd-dir-search__body,
  .hpd-dir-card__head,
  .hpd-dir-card__grid {
    padding-inline: 12px;
  }

  .hpd-dir-card__grid {
    gap: 10px;
  }

  .hpd-dir-card__media {
    max-width: 260px;
  }
}

/* SP layout rescue after dense desktop overrides */
@media (max-width: 640px) {
  .hpd-directory-body {
    overflow-x: hidden;
  }

  .hpd-container {
    width: min(calc(100% - 24px), var(--hpd-container));
  }

  .hpd-dir-header {
    position: static;
  }

  .hpd-dir-header__inner {
    min-height: 54px;
    flex-direction: row;
    align-items: center;
  }

  .hpd-dir-logo img {
    width: 138px;
    max-width: 64vw;
  }

  .hpd-dir-hero {
    padding: 12px 0 14px;
  }

  .hpd-dir-breadcrumb {
    gap: 5px;
    margin-bottom: 8px;
  }

  .hpd-dir-hero h1 {
    font-size: 21px;
    line-height: 1.38;
  }

  .hpd-dir-lead {
    font-size: 12px;
    line-height: 1.65;
  }

  .hpd-dir-hero__stats {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hpd-dir-hero__stats div {
    display: grid;
    justify-items: center;
    gap: 1px;
    padding: 7px 4px;
  }

  .hpd-dir-hero__stats strong {
    font-size: 17px;
  }

  .hpd-dir-diagnosis {
    padding: 12px 0;
  }

  .hpd-dir-diagnosis__panel {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px;
  }

  .hpd-dir-diagnosis__intro h2 {
    font-size: 18px;
  }

  .hpd-dir-quiz-step h3 {
    font-size: 17px;
  }

  .hpd-dir-quiz-options {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .hpd-dir-quiz-options button {
    min-height: 38px;
    padding: 7px 9px;
    font-size: 13px;
    text-align: left;
  }

  .hpd-dir-quiz__controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hpd-dir-search {
    padding: 10px 0 12px;
  }

  .hpd-dir-search__head {
    display: grid;
    gap: 10px;
    padding: 11px 12px;
  }

  .hpd-dir-search__head h2,
  .hpd-dir-list-head h2 {
    font-size: 18px;
  }

  .hpd-dir-view-toggle {
    width: 100%;
  }

  .hpd-dir-search__body {
    padding: 11px 12px 12px;
  }

  .hpd-dir-chip-group {
    gap: 6px;
  }

  .hpd-dir-chip {
    min-height: 30px;
    padding: 4px 8px;
  }

  .hpd-dir-results {
    padding: 14px 0 28px;
  }

  .hpd-dir-layout,
  .hpd-dir-article__grid,
  .hpd-dir-card__grid,
  .hpd-dir-online-grid,
  .hpd-dir-online-card,
  .hpd-dir-actions,
  .hpd-dir-card__facts div,
  .hpd-dir-details th,
  .hpd-dir-details td,
  .hpd-dir-online-card dl div {
    grid-template-columns: 1fr;
  }

  .hpd-dir-layout,
  .hpd-dir-article__grid {
    gap: 14px;
  }

  .hpd-dir-list-head {
    display: grid;
    align-items: start;
    gap: 4px;
  }

  .hpd-dir-card {
    overflow: hidden;
  }

  .hpd-dir-card__head {
    padding: 10px 12px 0;
  }

  .hpd-dir-card__head h3 {
    font-size: 18px;
    line-height: 1.36;
  }

  .hpd-dir-card__head p {
    font-size: 12px;
  }

  .hpd-dir-card__grid {
    gap: 9px;
    padding: 9px 12px 12px;
  }

  .hpd-dir-card__media {
    max-width: none;
    width: 100%;
  }

  .hpd-dir-card__media img {
    aspect-ratio: 16 / 9;
  }

  .hpd-dir-feature-row {
    gap: 5px;
  }

  .hpd-dir-card__facts dt,
  .hpd-dir-card__facts dd {
    padding: 7px 9px;
  }

  .hpd-dir-card__facts dt {
    padding-bottom: 2px;
    border-bottom: 0;
  }

  .hpd-dir-card__facts dd {
    padding-top: 2px;
  }

  .hpd-dir-actions {
    gap: 7px;
  }

  .hpd-dir-primary-cta,
  .hpd-dir-secondary-cta,
  .hpd-dir-link-btn {
    width: 100%;
    min-height: 42px;
  }

  .hpd-dir-details {
    margin: 0 12px 12px;
  }

  .hpd-dir-details th,
  .hpd-dir-details td {
    display: block;
    width: 100%;
  }

  .hpd-dir-sidebar {
    position: static;
    gap: 10px;
  }

  .hpd-dir-article {
    padding: 28px 0;
  }

  .hpd-dir-prose h2 {
    font-size: 22px;
  }

  .hpd-dir-prose h3 {
    font-size: 17px;
  }

  .hpd-dir-faq {
    padding: 28px 0;
  }
}

/* Pest control prefecture directory pass */
.hpd-pest-directory-body {
  --hpd-container: 1080px;
  --hpd-pest-accent: #d34b00;
  --hpd-pest-accent-dark: #a63a00;
  --hpd-pest-soft: #fff4e8;
  background: #f6f7f9;
  color: #1a202c;
}

.hpd-pest-directory-body .hpd-site-header {
  background: #fff;
  border-bottom: 1px solid #d8dde6;
  box-shadow: none;
}

.hpd-pest-directory-body .hpd-site-header__inner {
  min-height: 58px;
}

.hpd-pest-directory-body .hpd-brand__image {
  width: 152px;
}

.hpd-pest-directory-body .hpd-main {
  background: #f6f7f9;
}

.hpd-pest-directory-body .hpd-section {
  padding: 18px 0;
}

.hpd-pest-directory-body .hpd-section--compact {
  padding: 12px 0 6px;
}

.hpd-pest-directory-body .hpd-page-header--prefecture {
  min-height: 0;
  overflow: visible;
  padding: 16px 0 18px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 60%, rgba(255, 244, 232, 0.88) 100%),
    #fff;
  border-bottom: 1px solid #d8dde6;
}

.hpd-pest-directory-body .hpd-page-header--prefecture::before {
  display: none;
}

.hpd-pest-directory-body .hpd-breadcrumb {
  gap: 5px;
  margin-bottom: 10px;
  color: #4a5568;
  font-size: 12px;
}

.hpd-pest-directory-body .hpd-listing-header__layout {
  position: relative;
  grid-template-columns: minmax(0, 1fr) 290px;
  min-height: 0;
  gap: 20px;
  align-items: center;
}

.hpd-pest-directory-body .hpd-listing-header__content {
  gap: 9px;
  max-width: 760px;
}

.hpd-pest-directory-body .hpd-eyebrow {
  color: #007a5e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.hpd-pest-directory-body .hpd-listing-title {
  gap: 0.1em;
  margin: 0;
  color: #151b26;
  font-size: 30px;
  line-height: 1.33;
  letter-spacing: 0;
}

.hpd-pest-directory-body .hpd-lead {
  max-width: 680px;
  margin: 0;
  color: #3b4556;
  font-size: 13px;
  line-height: 1.78;
}

.hpd-pest-directory-body .hpd-disclosure {
  gap: 8px 10px;
  max-width: 680px;
  padding: 9px 11px;
  background: #fff;
  border: 1px solid #c8d1df;
  border-radius: 4px;
  box-shadow: none;
}

.hpd-pest-directory-body .hpd-disclosure span {
  min-height: 22px;
  padding: 3px 9px;
  background: #151b26;
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.hpd-pest-directory-body .hpd-disclosure p {
  margin: 0;
  color: #3b4556;
  font-size: 12px;
  line-height: 1.55;
}

.hpd-pest-directory-body .hpd-listing-header__visual {
  position: relative;
  inset: auto;
  z-index: 1;
  width: 100%;
  height: auto;
  overflow: hidden;
  background: #edf4f6;
  border: 1px solid #c8d1df;
  border-radius: 4px;
  box-shadow: 0 10px 22px rgba(28, 41, 61, 0.09);
  pointer-events: auto;
}

.hpd-pest-directory-body .hpd-listing-header__visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 82% center;
}

.hpd-pest-directory-body .hpd-stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #c8d1df;
  border-radius: 4px;
  box-shadow: none;
}

.hpd-pest-directory-body .hpd-stat {
  min-height: 66px;
  padding: 11px 14px;
  border-right: 1px solid #d8dde6;
}

.hpd-pest-directory-body .hpd-stat:last-child {
  border-right: 0;
}

.hpd-pest-directory-body .hpd-stat__value {
  color: #151b26;
  font-size: 21px;
}

.hpd-pest-directory-body .hpd-stat__label {
  color: #596579;
  font-size: 12px;
}

.hpd-pest-directory-body .hpd-section-heading {
  gap: 5px;
  margin-bottom: 10px;
}

.hpd-pest-directory-body .hpd-section-heading h2 {
  margin: 0;
  color: #151b26;
  font-size: 22px;
  line-height: 1.45;
  letter-spacing: 0;
}

.hpd-pest-directory-body .hpd-section-heading p {
  color: #4a5568;
  font-size: 13px;
  line-height: 1.65;
}

.hpd-pest-directory-body .hpd-section--diagnosis {
  padding: 12px 0;
}

.hpd-pest-directory-body .hpd-diagnosis {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
  background: #fff;
  border: 1px solid #b9c8df;
  border-top: 5px solid var(--hpd-pest-accent);
  border-radius: 4px;
  box-shadow: 0 12px 26px rgba(28, 41, 61, 0.08);
}

.hpd-pest-directory-body .hpd-diagnosis__intro {
  align-content: start;
  gap: 8px;
  max-width: none;
  margin: 0;
  text-align: left;
}

.hpd-pest-directory-body .hpd-diagnosis__intro h2 {
  font-size: 21px;
  line-height: 1.4;
}

.hpd-pest-directory-body .hpd-diagnosis__intro p {
  font-size: 13px;
  line-height: 1.68;
}

.hpd-pest-directory-body .hpd-diagnosis__form {
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.hpd-pest-directory-body .hpd-diagnosis-progress {
  gap: 6px;
}

.hpd-pest-directory-body .hpd-diagnosis-progress span {
  color: #151b26;
  font-size: 12px;
}

.hpd-pest-directory-body .hpd-diagnosis-progress div {
  height: 6px;
  background: #dce4f0;
}

.hpd-pest-directory-body .hpd-diagnosis-progress i {
  background: #0027d5;
}

.hpd-pest-directory-body .hpd-diagnosis-question legend {
  margin-bottom: 4px;
  color: #151b26;
  font-size: 17px;
}

.hpd-pest-directory-body .hpd-diagnosis-question legend span {
  min-width: 30px;
  min-height: 24px;
  background: #007a5e;
  border-radius: 4px;
}

.hpd-pest-directory-body .hpd-choice-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.hpd-pest-directory-body .hpd-choice {
  min-height: 42px;
  padding: 8px 10px;
  background: #fff;
  border: 1px solid #c8d1df;
  border-radius: 4px;
}

.hpd-pest-directory-body .hpd-choice:has(input:checked) {
  background: #eef4ff;
  border-color: #0027d5;
  box-shadow: inset 0 0 0 1px #0027d5;
}

.hpd-pest-directory-body .hpd-choice span {
  color: #151b26;
  font-size: 13px;
  line-height: 1.45;
}

.hpd-pest-directory-body .hpd-choice input {
  width: 16px;
  height: 16px;
  accent-color: #0027d5;
}

.hpd-pest-directory-body .hpd-diagnosis-question--area {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.hpd-pest-directory-body .hpd-diagnosis-question--area legend {
  grid-column: 1 / -1;
}

.hpd-pest-directory-body .hpd-select,
.hpd-pest-directory-body .hpd-input {
  min-height: 42px;
  border-radius: 4px;
}

.hpd-pest-directory-body .hpd-button {
  border-radius: 4px;
}

.hpd-pest-directory-body .hpd-button--primary {
  background: #0027d5;
}

.hpd-pest-directory-body .hpd-guidance-strip {
  margin-bottom: 10px;
  padding: 11px 13px;
  background: #e8f8fb;
  border-left: 5px solid #008ca7;
  border-radius: 4px;
}

.hpd-pest-directory-body .hpd-guidance-strip p {
  color: #151b26;
  font-size: 13px;
  line-height: 1.65;
}

.hpd-pest-directory-body .hpd-table-scroll {
  overflow: auto;
  background: #fff;
  border: 1px solid #c8d1df;
  border-radius: 4px;
}

.hpd-pest-directory-body .hpd-comparison-table {
  min-width: 860px;
  border-collapse: collapse;
}

.hpd-pest-directory-body .hpd-comparison-table th,
.hpd-pest-directory-body .hpd-comparison-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #d8dde6;
  color: #151b26;
  font-size: 13px;
  line-height: 1.55;
  vertical-align: middle;
}

.hpd-pest-directory-body .hpd-comparison-table thead th {
  background: #f1f3f7;
  color: #151b26;
  font-size: 12px;
}

.hpd-pest-directory-body .hpd-comparison-table a,
.hpd-pest-directory-body .hpd-link-more {
  color: #0027d5;
  font-weight: 800;
}

.hpd-pest-directory-body .hpd-pr-label {
  min-height: 24px;
  padding: 3px 8px;
  background: #151b26;
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.hpd-pest-directory-body .hpd-window-profile-list {
  gap: 12px;
}

.hpd-pest-directory-body .hpd-window-profile {
  overflow: hidden;
  background: #fff;
  border: 1px solid #c8d1df;
  border-radius: 4px;
  box-shadow: none;
}

.hpd-pest-directory-body .hpd-window-profile--promoted-cta {
  border-color: #f0b36e;
  box-shadow: 0 10px 22px rgba(211, 75, 0, 0.08);
}

.hpd-pest-directory-body .hpd-window-profile--promoted-cta::before {
  height: 4px;
  background: var(--hpd-pest-accent);
}

.hpd-pest-directory-body .hpd-window-profile__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 14px;
  align-items: center;
  padding: 13px 14px;
  background: #fff;
  border-bottom: 1px solid #d8dde6;
}

.hpd-pest-directory-body .hpd-window-profile--promoted-cta .hpd-window-profile__header {
  background: linear-gradient(90deg, var(--hpd-pest-soft) 0%, #fff 60%);
}

.hpd-pest-directory-body .hpd-window-profile__type {
  margin: 0 0 2px;
  color: #007a5e;
  font-size: 12px;
  font-weight: 800;
}

.hpd-pest-directory-body .hpd-window-profile__header h3 {
  margin: 0;
  color: #151b26;
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: 0;
}

.hpd-pest-directory-body .hpd-window-profile__grid {
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 13px 14px;
}

.hpd-pest-directory-body .hpd-window-profile__media {
  overflow: hidden;
  border: 1px solid #c8d1df;
  border-radius: 4px;
  box-shadow: none;
}

.hpd-pest-directory-body .hpd-window-profile__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hpd-pest-directory-body .hpd-window-profile__facts {
  border-color: #c8d1df;
  border-radius: 4px;
}

.hpd-pest-directory-body .hpd-window-profile__facts div {
  grid-template-columns: 112px minmax(0, 1fr);
  border-bottom-color: #d8dde6;
}

.hpd-pest-directory-body .hpd-window-profile__facts dt,
.hpd-pest-directory-body .hpd-window-profile__facts dd {
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.55;
}

.hpd-pest-directory-body .hpd-window-profile__facts dt {
  background: #f1f3f7;
}

.hpd-pest-directory-body .hpd-window-profile__facts dd {
  font-weight: 700;
}

.hpd-pest-directory-body .hpd-window-profile__body {
  gap: 10px;
  padding: 0 14px 14px;
}

.hpd-pest-directory-body .hpd-window-profile__body > p,
.hpd-pest-directory-body .hpd-point-box p,
.hpd-pest-directory-body .hpd-review-note p,
.hpd-pest-directory-body .hpd-window-profile__footer p {
  color: #3b4556;
  font-size: 13px;
  line-height: 1.75;
}

.hpd-pest-directory-body .hpd-window-cta {
  min-height: 46px;
  padding: 9px 14px;
  background: #0027d5;
  border: 1px solid #001faf;
  border-radius: 4px;
  box-shadow: none;
  color: #fff !important;
}

.hpd-pest-directory-body .hpd-window-cta:hover {
  background: #001faf;
  box-shadow: none;
}

.hpd-pest-directory-body .hpd-window-cta span {
  font-size: 15px;
  line-height: 1.25;
}

.hpd-pest-directory-body .hpd-window-cta small {
  font-size: 11px;
}

.hpd-pest-directory-body .hpd-window-cta--header {
  width: 100%;
  min-width: 0;
}

.hpd-pest-directory-body .hpd-window-cta--strip,
.hpd-pest-directory-body .hpd-window-cta--full {
  width: 100%;
  min-width: 0;
  background: var(--hpd-pest-accent);
  border-color: var(--hpd-pest-accent-dark);
}

.hpd-pest-directory-body .hpd-window-cta--strip:hover,
.hpd-pest-directory-body .hpd-window-cta--full:hover {
  background: var(--hpd-pest-accent-dark);
}

.hpd-pest-directory-body .hpd-window-cta-strip {
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 12px;
  margin: 0 14px 12px;
  padding: 12px;
  background: #fff8ef;
  border: 1px solid #f0b36e;
  border-radius: 4px;
}

.hpd-pest-directory-body .hpd-window-cta-strip strong {
  margin: 0;
  color: #823000;
  font-size: 15px;
}

.hpd-pest-directory-body .hpd-window-cta-strip > div > span {
  color: #4a5568;
  font-size: 12px;
}

.hpd-pest-directory-body .hpd-window-cta-full {
  margin-top: 2px;
}

.hpd-pest-directory-body .hpd-window-cta--full {
  min-height: 52px;
}

.hpd-pest-directory-body .hpd-profile-points,
.hpd-pest-directory-body .hpd-point-box,
.hpd-pest-directory-body .hpd-review-note {
  gap: 7px;
  padding: 12px;
  border-radius: 4px;
}

.hpd-pest-directory-body .hpd-profile-points {
  background: #f0fbf5;
  border-color: #b7dfc8;
}

.hpd-pest-directory-body .hpd-profile-points h4,
.hpd-pest-directory-body .hpd-review-note h4 {
  font-size: 15px;
}

.hpd-pest-directory-body .hpd-profile-points ul {
  gap: 5px;
  padding-left: 1.1em;
}

.hpd-pest-directory-body .hpd-profile-points li {
  color: #1a202c;
  font-size: 13px;
  line-height: 1.65;
}

.hpd-pest-directory-body .hpd-point-box {
  background: #eef4ff;
  border-left: 5px solid #0027d5;
}

.hpd-pest-directory-body .hpd-point-box strong {
  color: #0027d5;
  font-size: 15px;
}

.hpd-pest-directory-body .hpd-review-note {
  background: #fff;
  border: 1px solid #d8dde6;
}

.hpd-pest-directory-body .hpd-window-detail-accordion {
  overflow: hidden;
  border: 1px solid #c8d1df;
  border-radius: 4px;
}

.hpd-pest-directory-body .hpd-window-detail-accordion summary {
  min-height: 42px;
  padding: 10px 12px;
  color: #151b26;
  font-size: 14px;
  font-weight: 800;
}

.hpd-pest-directory-body .hpd-window-detail-accordion__body {
  padding: 0;
}

.hpd-pest-directory-body .hpd-window-detail-table th,
.hpd-pest-directory-body .hpd-window-detail-table td {
  padding: 9px 11px;
  font-size: 13px;
  line-height: 1.62;
}

.hpd-pest-directory-body .hpd-window-profile__footer {
  gap: 10px;
  margin-top: 0;
  padding-top: 10px;
  border-top: 1px solid #d8dde6;
}

.hpd-pest-directory-body .hpd-prefecture-editor-content,
.hpd-pest-directory-body .hpd-faq-list,
.hpd-pest-directory-body .hpd-google-map {
  background: #fff;
  border: 1px solid #c8d1df;
  border-radius: 4px;
  box-shadow: none;
}

.hpd-pest-directory-body .hpd-prefecture-editor-content {
  padding: 18px;
}

.hpd-pest-directory-body .hpd-prose h2 {
  font-size: 22px;
}

.hpd-pest-directory-body .hpd-prose h3 {
  font-size: 17px;
}

.hpd-pest-directory-body .hpd-prose p,
.hpd-pest-directory-body .hpd-prose li {
  font-size: 14px;
  line-height: 1.8;
}

@media (max-width: 980px) {
  .hpd-pest-directory-body .hpd-listing-header__layout,
  .hpd-pest-directory-body .hpd-diagnosis,
  .hpd-pest-directory-body .hpd-window-profile__header,
  .hpd-pest-directory-body .hpd-window-profile__grid,
  .hpd-pest-directory-body .hpd-window-cta-strip {
    grid-template-columns: 1fr;
  }

  .hpd-pest-directory-body .hpd-listing-header__visual {
    max-width: 420px;
  }

  .hpd-pest-directory-body .hpd-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hpd-pest-directory-body .hpd-window-profile__header {
    align-items: start;
  }
}

@media (max-width: 640px) {
  .hpd-pest-directory-body {
    overflow-x: hidden;
  }

  .hpd-pest-directory-body .hpd-container {
    width: min(calc(100% - 24px), var(--hpd-container));
  }

  .hpd-pest-directory-body .hpd-site-header__inner {
    min-height: 52px;
  }

  .hpd-pest-directory-body .hpd-brand__image {
    width: 132px;
    max-width: 58vw;
  }

  .hpd-pest-directory-body .hpd-page-header--prefecture {
    padding: 12px 0 14px;
  }

  .hpd-pest-directory-body .hpd-breadcrumb {
    margin-bottom: 8px;
    font-size: 11px;
  }

  .hpd-pest-directory-body .hpd-listing-header__layout {
    gap: 12px;
  }

  .hpd-pest-directory-body .hpd-listing-title {
    font-size: 23px;
    line-height: 1.38;
  }

  .hpd-pest-directory-body .hpd-lead {
    font-size: 12px;
    line-height: 1.68;
  }

  .hpd-pest-directory-body .hpd-disclosure {
    display: grid;
    gap: 6px;
    padding: 9px 10px;
  }

  .hpd-pest-directory-body .hpd-listing-header__visual {
    max-width: none;
  }

  .hpd-pest-directory-body .hpd-listing-header__visual img {
    aspect-ratio: 16 / 8;
  }

  .hpd-pest-directory-body .hpd-stat-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hpd-pest-directory-body .hpd-stat {
    min-height: 58px;
    padding: 8px 5px;
  }

  .hpd-pest-directory-body .hpd-stat__value {
    font-size: 17px;
  }

  .hpd-pest-directory-body .hpd-stat__label {
    font-size: 10px;
  }

  .hpd-pest-directory-body .hpd-section {
    padding: 14px 0;
  }

  .hpd-pest-directory-body .hpd-section-heading h2 {
    font-size: 19px;
  }

  .hpd-pest-directory-body .hpd-diagnosis {
    gap: 12px;
    padding: 12px;
  }

  .hpd-pest-directory-body .hpd-diagnosis__intro h2 {
    font-size: 19px;
  }

  .hpd-pest-directory-body .hpd-diagnosis-question legend {
    font-size: 16px;
  }

  .hpd-pest-directory-body .hpd-choice-grid,
  .hpd-pest-directory-body .hpd-diagnosis-question--area,
  .hpd-pest-directory-body .hpd-stat-row,
  .hpd-pest-directory-body .hpd-window-profile__facts div {
    grid-template-columns: 1fr;
  }

  .hpd-pest-directory-body .hpd-stat {
    border-right: 0;
    border-bottom: 1px solid #d8dde6;
  }

  .hpd-pest-directory-body .hpd-stat:last-child {
    border-bottom: 0;
  }

  .hpd-pest-directory-body .hpd-choice {
    min-height: 40px;
  }

  .hpd-pest-directory-body .hpd-comparison-table {
    min-width: 760px;
  }

  .hpd-pest-directory-body .hpd-window-profile__header {
    gap: 10px;
    padding: 11px 12px;
  }

  .hpd-pest-directory-body .hpd-window-profile__header h3 {
    font-size: 20px;
  }

  .hpd-pest-directory-body .hpd-window-profile__grid {
    gap: 10px;
    padding: 11px 12px;
  }

  .hpd-pest-directory-body .hpd-window-profile__media img {
    aspect-ratio: 16 / 9;
  }

  .hpd-pest-directory-body .hpd-window-profile__facts dt,
  .hpd-pest-directory-body .hpd-window-profile__facts dd {
    display: block;
    width: 100%;
    padding: 7px 9px;
  }

  .hpd-pest-directory-body .hpd-window-profile__facts dt {
    padding-bottom: 2px;
    border-bottom: 0;
  }

  .hpd-pest-directory-body .hpd-window-profile__facts dd {
    padding-top: 2px;
  }

  .hpd-pest-directory-body .hpd-window-profile__body {
    padding: 0 12px 12px;
  }

  .hpd-pest-directory-body .hpd-window-cta-strip {
    margin: 0 12px 10px;
    padding: 10px;
  }

  .hpd-pest-directory-body .hpd-window-cta {
    width: 100%;
    min-height: 46px;
  }

  .hpd-pest-directory-body .hpd-window-detail-table th,
  .hpd-pest-directory-body .hpd-window-detail-table td {
    display: block;
    width: 100%;
    padding: 8px 10px;
  }

  .hpd-pest-directory-body .hpd-window-detail-table th {
    padding-bottom: 2px;
  }

  .hpd-pest-directory-body .hpd-window-detail-table td {
    padding-top: 2px;
  }

  .hpd-pest-directory-body .hpd-prefecture-editor-content {
    padding: 14px;
  }
}
