#eh-juku-finder {
  --ink: #17212b;
  --muted: #59636e;
  --line: #d9dee3;
  --soft: #f3f5f6;
  --white: #ffffff;
  --green: #147447;
  --green-dark: #0d5d37;
  --navy: #19324a;
  --red: #a6342b;
  --gold: #b98216;
  --focus: #1268c4;
  --shadow: 0 8px 22px rgba(23, 33, 43, 0.09);
  width: 100%;
  min-width: 0;
  container-type: inline-size;
}

body.englishhub-juku-finder-page #sidebar1,
body.englishhub-juku-finder-page #sidebar,
body.englishhub-juku-finder-page aside.sidebar {
  display: none !important;
}

body.englishhub-juku-finder-page #main,
body.englishhub-juku-finder-page main.main,
body.englishhub-juku-finder-page .main-content {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
}

#eh-juku-finder h1,
#eh-juku-finder h2,
#eh-juku-finder h3,
#eh-juku-finder h4 {
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  float: none !important;
  clear: none !important;
  color: inherit !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-family: inherit !important;
  letter-spacing: 0 !important;
  text-align: left !important;
  text-decoration: none !important;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  transform: none !important;
}

#eh-juku-finder h1::before,
#eh-juku-finder h1::after,
#eh-juku-finder h2::before,
#eh-juku-finder h2::after,
#eh-juku-finder h3::before,
#eh-juku-finder h3::after,
#eh-juku-finder h4::before,
#eh-juku-finder h4::after {
  content: none !important;
  display: none !important;
}

#eh-juku-finder, #eh-juku-finder * {
  box-sizing: border-box;
}

#eh-juku-finder [hidden] {
  display: none !important;
}

#eh-juku-finder {
  color: var(--ink);
  background: var(--white);
  scroll-behavior: smooth;
}

#eh-juku-finder {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  background: var(--white);
}

#eh-juku-finder button, #eh-juku-finder select, #eh-juku-finder input {
  font: inherit;
}

#eh-juku-finder button, #eh-juku-finder a, #eh-juku-finder select, #eh-juku-finder input {
  -webkit-tap-highlight-color: transparent;
}

#eh-juku-finder a {
  color: inherit;
}

#eh-juku-finder button {
  cursor: pointer;
}

#eh-juku-finder :focus-visible {
  outline: 3px solid rgba(18, 104, 196, 0.35);
  outline-offset: 2px;
}

#eh-juku-finder .container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

#eh-juku-finder .site-header {
  height: 58px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
}

#eh-juku-finder .site-header__inner {
  width: min(1120px, calc(100% - 40px));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

#eh-juku-finder .brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
}

#eh-juku-finder .brand__name {
  color: var(--navy);
  font-size: 21px;
  font-weight: 800;
}

#eh-juku-finder .brand__section {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

#eh-juku-finder .ad-label {
  color: var(--muted);
  font-size: 12px;
}

#eh-juku-finder .finder-head {
  padding: 44px 0 34px;
  border-bottom: 1px solid var(--line);
  background: #f7f8f8;
}

#eh-juku-finder .finder-head__eyebrow, #eh-juku-finder .section-heading__sub, #eh-juku-finder .result-heading__pref {
  margin: 0 0 6px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
}

#eh-juku-finder .finder-head h1 {
  max-width: 980px;
  margin: 0;
  font-size: 38px;
  line-height: 1.35;
}

#eh-juku-finder .finder-head__lead {
  max-width: 700px;
  margin: 12px 0 0;
  color: var(--muted);
}

#eh-juku-finder .finder-breadcrumbs {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

#eh-juku-finder .finder-breadcrumbs a {
  color: var(--green-dark);
  font-weight: 700;
  text-underline-offset: 3px;
}

#eh-juku-finder .search-panel {
  margin-top: 26px;
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(160px, 0.8fr) minmax(190px, 1fr) minmax(150px, 0.7fr) auto;
  align-items: end;
  gap: 14px;
  border-radius: 6px;
  background: var(--navy);
  box-shadow: var(--shadow);
}

#eh-juku-finder .field, #eh-juku-finder .area-field, #eh-juku-finder .grade-field, #eh-juku-finder .filter-field, #eh-juku-finder .sort-field {
  display: grid;
  gap: 6px;
}

#eh-juku-finder .field label {
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
}

#eh-juku-finder .field select, #eh-juku-finder .area-field select, #eh-juku-finder .grade-field select, #eh-juku-finder .filter-field input, #eh-juku-finder .sort-field select {
  width: 100%;
  min-height: 50px;
  padding: 10px 40px 10px 13px;
  border: 1px solid #cbd2d8;
  border-radius: 4px;
  color: var(--ink);
  background: var(--white);
}

#eh-juku-finder .field select:disabled {
  color: #8b949c;
  background: #edf0f2;
}

#eh-juku-finder .search-button, #eh-juku-finder .primary-link, #eh-juku-finder .secondary-link, #eh-juku-finder .no-results button {
  min-height: 50px;
  border: 0;
  border-radius: 4px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

#eh-juku-finder .search-button, #eh-juku-finder .primary-link {
  padding: 12px 22px;
  color: var(--white);
  background: var(--green);
}

#eh-juku-finder .search-button:hover, #eh-juku-finder .primary-link:hover {
  background: var(--green-dark);
}

#eh-juku-finder .quick-areas {
  margin-top: 16px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

#eh-juku-finder .quick-areas span {
  margin-right: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

#eh-juku-finder .quick-areas button,
#eh-juku-finder .quick-areas a {
  padding: 5px 10px;
  display: inline-flex;
  border: 1px solid #cbd2d8;
  border-radius: 4px;
  color: var(--navy);
  background: var(--white);
  font-size: 13px;
  text-decoration: none;
}

#eh-juku-finder .quick-areas a span {
  display: none;
}

#eh-juku-finder .quick-areas a strong {
  font-size: inherit;
}

#eh-juku-finder .quick-areas button:hover,
#eh-juku-finder .quick-areas a:hover {
  border-color: var(--navy);
}

#eh-juku-finder .loading {
  width: min(1120px, calc(100% - 40px));
  margin: 28px auto;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 6px;
}

#eh-juku-finder .loading__bar {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border: 3px solid #dce2e6;
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin{
  to { transform: rotate(360deg); }
}

#eh-juku-finder .results {
  padding: 40px 0 64px;
}

#eh-juku-finder .result-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

#eh-juku-finder .result-heading h2, #eh-juku-finder .section-heading h2, #eh-juku-finder .closing-cta h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.4;
}

#eh-juku-finder .result-counts {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

#eh-juku-finder .result-counts span {
  min-width: 112px;
  padding: 10px 14px;
  border-left: 3px solid var(--green);
  background: var(--soft);
  color: var(--muted);
  font-size: 13px;
}

#eh-juku-finder .result-counts strong {
  display: block;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.2;
}

#eh-juku-finder .featured, #eh-juku-finder .all-schools {
  padding-top: 42px;
}

#eh-juku-finder .area-overview {
  padding-top: 42px;
}

#eh-juku-finder .area-overview__heading {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

#eh-juku-finder .grade-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

#eh-juku-finder .grade-stat {
  min-width: 0;
  padding: 20px 22px 22px;
  border-right: 1px solid var(--line);
  border-top: 4px solid var(--gold);
}

#eh-juku-finder .grade-stat:nth-child(2) {
  border-top-color: var(--green);
}

#eh-juku-finder .grade-stat:nth-child(3) {
  border-top-color: var(--navy);
  border-right: 0;
}

#eh-juku-finder .grade-stat span,
#eh-juku-finder .grade-stat small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

#eh-juku-finder .grade-stat strong {
  display: block;
  margin: 3px 0 2px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.35;
}

#eh-juku-finder .area-overview__columns {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 36px;
  padding-top: 30px;
}

#eh-juku-finder .distribution-panel,
#eh-juku-finder .top-brands-panel {
  min-width: 0;
}

#eh-juku-finder .distribution-panel h3,
#eh-juku-finder .top-brands-panel h3,
#eh-juku-finder .decision-section h3 {
  font-size: 20px;
  line-height: 1.5;
}

#eh-juku-finder .distribution-panel > p,
#eh-juku-finder .top-brands-panel > p,
#eh-juku-finder .decision-section > p {
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 14px;
}

#eh-juku-finder .distribution-list,
#eh-juku-finder .top-brands-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

#eh-juku-finder .distribution-list li {
  min-height: 36px;
  display: grid;
  grid-template-columns: minmax(108px, 0.75fr) minmax(80px, 1fr) auto;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #e8ebee;
  font-size: 13px;
}

#eh-juku-finder .distribution-list__bar {
  height: 7px;
  overflow: hidden;
  border-radius: 2px;
  background: #e7ece9;
}

#eh-juku-finder .distribution-list__bar i {
  height: 100%;
  display: block;
  background: var(--green);
}

#eh-juku-finder .distribution-list strong {
  color: var(--green-dark);
  font-size: 12px;
  white-space: nowrap;
}

#eh-juku-finder .top-brands-list li {
  min-height: 38px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid #e8ebee;
}

#eh-juku-finder .top-brands-list li > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

#eh-juku-finder .top-brands-list strong {
  overflow-wrap: anywhere;
  font-size: 14px;
}

#eh-juku-finder .top-brands-list em {
  color: var(--green-dark);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

#eh-juku-finder .regional-brands {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 4px solid var(--gold);
  background: #fbf8ef;
}

#eh-juku-finder .regional-brands > strong {
  display: block;
  font-size: 13px;
}

#eh-juku-finder .regional-brands p {
  margin: 7px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

#eh-juku-finder .regional-brands span {
  padding: 3px 7px;
  border: 1px solid #dfd3ad;
  background: var(--white);
  font-size: 11px;
}

#eh-juku-finder .section-heading {
  margin-bottom: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

#eh-juku-finder .section-heading > p {
  max-width: 460px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

#eh-juku-finder .featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: 16px;
}

#eh-juku-finder .featured-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  box-shadow: var(--shadow);
}

#eh-juku-finder .featured-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7.5;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

#eh-juku-finder .featured-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#eh-juku-finder .featured-card__image span {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 2px 7px;
  color: var(--white);
  background: rgba(23, 33, 43, 0.84);
  font-size: 11px;
  font-weight: 700;
}

#eh-juku-finder .featured-card__body {
  padding: 18px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

#eh-juku-finder .featured-card__count {
  margin: 0 0 4px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
}

#eh-juku-finder .featured-card h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.4;
}

#eh-juku-finder .featured-card__copy {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

#eh-juku-finder .featured-card__points {
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
}

#eh-juku-finder .featured-card__points li {
  position: relative;
  padding-left: 19px;
  font-size: 13px;
  line-height: 1.65;
}

#eh-juku-finder .featured-card__points li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--green-dark);
  font-weight: 900;
}

#eh-juku-finder .featured-card__fit {
  margin: 16px 0 0;
  padding-top: 14px;
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
}

#eh-juku-finder .featured-card__fit div {
  display: grid;
  gap: 3px;
}

#eh-juku-finder .featured-card__fit dt {
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 900;
}

#eh-juku-finder .featured-card__fit dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
}

#eh-juku-finder .featured-card__schools-label {
  margin: 16px 0 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

#eh-juku-finder .school-preview {
  margin: 0 0 18px;
  padding: 8px 0 12px;
  border-bottom: 1px solid var(--line);
  list-style: none;
}

#eh-juku-finder .school-preview li {
  position: relative;
  padding-left: 14px;
  font-size: 13px;
}

#eh-juku-finder .school-preview li::before {
  content: "";
  position: absolute;
  top: 0.74em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

#eh-juku-finder .featured-card__action {
  margin-top: auto;
}

#eh-juku-finder .primary-link {
  width: 100%;
  display: block;
}

#eh-juku-finder .microcopy {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

#eh-juku-finder .featured-empty {
  padding: 22px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 4px;
  color: var(--muted);
  background: #fffbf2;
}

#eh-juku-finder .comparison-note {
  margin-top: 24px;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 18px;
  border-left: 4px solid var(--gold);
  background: #fffbf2;
  font-size: 13px;
}

#eh-juku-finder .comparison-note strong {
  color: #75520c;
}

#eh-juku-finder .comparison-note span {
  position: relative;
  padding-left: 14px;
}

#eh-juku-finder .comparison-note span::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

#eh-juku-finder .section-heading--tools {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 18px;
}

#eh-juku-finder .list-tools {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(220px, 1.4fr) minmax(0, 0.8fr);
  gap: 10px;
}

#eh-juku-finder .list-tools > label {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  display: grid;
  float: none;
  position: static;
}

#eh-juku-finder .list-tools select, #eh-juku-finder .list-tools input {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  display: block;
  float: none;
  position: static;
}

#eh-juku-finder .area-field span, #eh-juku-finder .grade-field span, #eh-juku-finder .filter-field span, #eh-juku-finder .sort-field span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

#eh-juku-finder .grade-badges {
  margin-top: 6px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

#eh-juku-finder .grade-badges__label {
  margin-right: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

#eh-juku-finder .grade-badge {
  padding: 2px 6px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #c9d4dc;
  border-radius: 3px;
  color: #31404b;
  background: #f5f8fa;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
}

#eh-juku-finder .grade-badge--j {
  border-color: #9dc9b2;
  color: #12603a;
  background: #eef8f2;
}

#eh-juku-finder .grade-badge--h {
  border-color: #b9c5dd;
  color: #263f70;
  background: #f1f4fa;
}

#eh-juku-finder .filtered-count {
  min-height: 28px;
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
}

#eh-juku-finder .brand-list {
  display: block;
}

#eh-juku-finder .brand-list__featured {
  display: grid;
  gap: 22px;
}

#eh-juku-finder .compact-brands {
  margin-top: 26px;
  padding: 22px;
  border: 1px solid #d7dfd9;
  border-radius: 8px;
  background: #f5f7f5;
}

#eh-juku-finder .compact-brands__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

#eh-juku-finder .compact-brands__heading p {
  margin: 0 0 3px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
}

#eh-juku-finder .compact-brands__heading h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.5;
}

#eh-juku-finder .compact-brands__heading > span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

#eh-juku-finder .compact-brands__lead {
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

#eh-juku-finder .compact-brand-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

#eh-juku-finder .brand-group {
  overflow: hidden;
  border: 1px solid #d7dfd9;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 6px 18px rgba(22, 44, 34, 0.06);
}

#eh-juku-finder .brand-group--compact {
  padding: 17px;
  display: flex;
  flex-direction: column;
  overflow: visible;
  box-shadow: 0 2px 8px rgba(22, 44, 34, 0.035);
}

#eh-juku-finder .brand-group--compact.is-expanded {
  padding: 0;
  grid-column: 1 / -1;
}

#eh-juku-finder .compact-brand__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
}

#eh-juku-finder .compact-brand__main {
  min-width: 0;
}

#eh-juku-finder .compact-brand__main .brand-group__title strong {
  font-size: 16px;
}

#eh-juku-finder .compact-brand__main .grade-badges {
  margin-top: 7px;
}

#eh-juku-finder .compact-brand__overview {
  margin: 12px 0 15px;
  color: #46534d;
  font-size: 13px;
  line-height: 1.75;
}

#eh-juku-finder .compact-brand__toggle {
  width: 100%;
  min-height: 42px;
  margin: auto 0 0 !important;
  padding: 9px 34px 9px 12px;
  position: relative;
  display: block !important;
  border: 1px solid #b8c8bd;
  border-radius: 4px;
  color: var(--green-dark);
  background: var(--white);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
}

#eh-juku-finder .compact-brand__toggle::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 13px;
  transform: translateY(-50%);
  font-size: 17px;
}

#eh-juku-finder .compact-brand__toggle[aria-expanded="true"]::after {
  content: "−";
}

#eh-juku-finder .compact-brand__toggle:hover,
#eh-juku-finder .compact-brand__toggle:focus-visible {
  color: var(--white);
  border-color: var(--green-dark);
  background: var(--green-dark);
}

#eh-juku-finder .brand-group--compact.is-expanded .compact-brand__header {
  padding: 17px 20px 10px;
}

#eh-juku-finder .brand-group--compact.is-expanded .compact-brand__overview {
  margin: 0;
  padding: 0 20px 14px;
}

#eh-juku-finder .brand-group--compact.is-expanded .compact-brand__toggle {
  width: min(100% - 40px, 420px);
  margin: 0 auto 18px !important;
}

#eh-juku-finder .compact-brand__detail {
  border-top: 1px solid #dce5df;
}

#eh-juku-finder .compact-brand__detail[hidden] {
  display: none !important;
}

#eh-juku-finder .brand-group__header {
  min-height: 76px;
  padding: 17px 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid #dce5df;
  background: linear-gradient(90deg, #f4f8f5 0%, #ffffff 72%);
}

#eh-juku-finder .brand-group__name {
  min-width: 0;
}

#eh-juku-finder .brand-group__name strong {
  overflow-wrap: anywhere;
  font-size: 17px;
}

#eh-juku-finder .brand-group__title {
  display: flex !important;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

#eh-juku-finder .brand-group__title strong {
  color: var(--ink);
  font-size: 19px;
  line-height: 1.4;
}

#eh-juku-finder .brand-group__model {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

#eh-juku-finder .brand-group__count {
  min-width: 72px;
  padding: 6px 10px;
  border: 1px solid #bdd4c5;
  border-radius: 999px;
  color: var(--green-dark);
  background: #fff;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
}

#eh-juku-finder .brand-group__body {
  padding: 22px 20px 20px;
  background: #fbfcfb;
}

#eh-juku-finder .brand-profile {
  margin: 0 0 24px;
  padding: 19px 20px 20px;
  border: 1px solid #e0e6e2;
  border-radius: 6px;
  background: var(--white);
}

#eh-juku-finder .brand-profile h4 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.5;
}

#eh-juku-finder .brand-profile__overview {
  max-width: 880px;
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.9;
}

#eh-juku-finder .brand-profile__features {
  margin-top: 18px;
  padding: 15px 18px;
  border-left: 4px solid var(--green-dark);
  border-radius: 0 4px 4px 0;
  background: #f3f7f4;
}

#eh-juku-finder .brand-profile__features > strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
}

#eh-juku-finder .brand-profile__features ul {
  margin: 7px 0 0;
  padding-left: 20px;
}

#eh-juku-finder .brand-profile__features li {
  margin: 4px 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.7;
}

#eh-juku-finder .brand-profile__details {
  margin: 18px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
}

#eh-juku-finder .brand-profile__details > div {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

#eh-juku-finder .brand-profile__details dt {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
}

#eh-juku-finder .brand-profile__details dd {
  margin: 5px 0 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.7;
}

#eh-juku-finder .brand-group__school-heading {
  margin: 0 0 13px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
}

#eh-juku-finder .brand-action {
  flex: 0 0 auto;
  margin: 0;
  padding: 6px 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--green-dark);
  border-radius: 4px;
  color: var(--green-dark);
  background: var(--white);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
}

#eh-juku-finder .brand-action::after {
  content: "›";
  margin-left: 8px;
  font-size: 18px;
  line-height: 1;
}

#eh-juku-finder .brand-action:hover {
  color: var(--white);
  background: var(--green);
}

#eh-juku-finder .school-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
}

#eh-juku-finder .school-list-toggle {
  width: min(100%, 420px);
  min-height: 48px;
  margin: 18px auto 0 !important;
  padding: 11px 42px 11px 16px;
  position: relative;
  display: block !important;
  border: 1px solid var(--green-dark);
  border-radius: 4px;
  color: var(--green-dark);
  background: var(--white);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
  cursor: pointer;
}

#eh-juku-finder .school-list-toggle::after {
  content: "↓";
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  font-size: 16px;
}

#eh-juku-finder .school-list-toggle[aria-expanded="true"]::after {
  content: "↑";
}

#eh-juku-finder .school-list-toggle:hover,
#eh-juku-finder .school-list-toggle:focus-visible {
  color: var(--white);
  background: var(--green-dark);
}

#eh-juku-finder .school-item {
  min-width: 0;
  min-height: 194px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid #d9e0dc;
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(22, 44, 34, 0.04);
}

#eh-juku-finder .school-item h4 {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

#eh-juku-finder .school-item .grade-badges {
  margin-top: 5px;
}

#eh-juku-finder .school-item p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

#eh-juku-finder .school-item__address {
  color: #3f4d47 !important;
}

#eh-juku-finder .school-item__access {
  font-size: 12px !important;
}

#eh-juku-finder .school-item__model {
  color: #6f4e0c !important;
}

#eh-juku-finder .school-item__links {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid #edf0ee;
  white-space: nowrap;
}

#eh-juku-finder .school-item__links a {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #b8c5be;
  border-radius: 4px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

#eh-juku-finder .school-item__links a:first-child {
  color: var(--green-dark);
  border-color: #b8c5be;
  background: var(--white);
}

#eh-juku-finder .school-item__links a:hover {
  border-color: var(--green-dark);
  background: #f1f7f3;
}

#eh-juku-finder .no-results {
  padding: 28px 20px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

#eh-juku-finder .no-results strong {
  display: block;
  margin-bottom: 10px;
}

#eh-juku-finder .no-results button {
  padding: 8px 16px;
  color: var(--navy);
  border: 1px solid var(--navy);
  background: var(--white);
}

#eh-juku-finder .closing-cta {
  margin-top: 46px;
  padding: 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 390px);
  align-items: center;
  gap: 32px;
  color: var(--white);
  border-radius: 6px;
  background: var(--navy);
}

#eh-juku-finder .closing-cta .section-heading__sub {
  color: #a7d9bf;
}

#eh-juku-finder .closing-cta p {
  margin: 10px 0 0;
  color: #d8e1e8;
  font-size: 14px;
}

#eh-juku-finder .closing-cta__links {
  display: grid;
  gap: 9px;
}

#eh-juku-finder .closing-cta__links a {
  min-height: 46px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 4px;
  color: var(--ink);
  background: var(--white);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

#eh-juku-finder .closing-cta__links a::after {
  content: "›";
  color: var(--green-dark);
  font-size: 21px;
  line-height: 1;
}

#eh-juku-finder .data-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
}

#eh-juku-finder .area-guide {
  margin-top: 54px;
  padding-top: 42px;
  border-top: 5px solid var(--navy);
}

#eh-juku-finder .decision-section {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

#eh-juku-finder .decision-section:first-of-type {
  border-top: 0;
}

#eh-juku-finder .local-comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

#eh-juku-finder .local-comparison-card {
  min-width: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-top: 4px solid var(--green);
  border-radius: 6px;
  background: var(--white);
}

#eh-juku-finder .local-comparison-card:nth-child(2) {
  border-top-color: var(--gold);
}

#eh-juku-finder .local-comparison-card:nth-child(3) {
  border-top-color: var(--navy);
}

#eh-juku-finder .local-comparison-card__role {
  margin: 0 0 8px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
}

#eh-juku-finder .local-comparison-card__title {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

#eh-juku-finder .local-comparison-card h4 {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.45;
}

#eh-juku-finder .local-comparison-card__title > strong {
  flex: 0 0 auto;
  padding: 4px 7px;
  color: var(--navy);
  background: #eef3f7;
  font-size: 12px;
}

#eh-juku-finder .local-comparison-card > p:not(.local-comparison-card__role) {
  margin: 12px 0 14px;
  color: var(--muted);
  font-size: 13px;
}

#eh-juku-finder .local-comparison-card dl {
  margin: 0 0 16px;
}

#eh-juku-finder .local-comparison-card dl div {
  padding: 9px 0;
  border-top: 1px solid var(--line);
}

#eh-juku-finder .local-comparison-card dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

#eh-juku-finder .local-comparison-card dd {
  margin: 3px 0 0;
  color: var(--ink);
  font-size: 12px;
}

#eh-juku-finder .local-comparison-card__link {
  min-height: 44px;
  margin-top: auto;
  padding: 10px 12px;
  display: grid;
  place-items: center;
  color: var(--white);
  border-radius: 4px;
  background: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

#eh-juku-finder .area-jump-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

#eh-juku-finder .area-jump-list button {
  min-width: 0;
  min-height: 54px;
  padding: 9px 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--ink);
  border: 1px solid #c8d2da;
  border-radius: 4px;
  background: var(--white);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

#eh-juku-finder .area-jump-list button:hover,
#eh-juku-finder .area-jump-list button:focus-visible {
  border-color: var(--green);
  outline: 2px solid transparent;
  background: #f3f8f5;
}

#eh-juku-finder .area-jump-list span {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 12px;
  font-weight: 700;
}

#eh-juku-finder .area-jump-list strong {
  flex: 0 0 auto;
  color: var(--green-dark);
  font-size: 11px;
}

#eh-juku-finder .area-jump-note {
  margin: 9px 0 0 !important;
  font-size: 11px !important;
}

#eh-juku-finder .local-brand-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  scrollbar-width: thin;
}

#eh-juku-finder .local-brand-table {
  width: 100%;
  min-width: 980px;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white);
  font-size: 12px;
}

#eh-juku-finder .local-brand-table th,
#eh-juku-finder .local-brand-table td {
  padding: 12px 13px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

#eh-juku-finder .local-brand-table thead th {
  color: var(--white);
  background: var(--navy);
  white-space: nowrap;
}

#eh-juku-finder .local-brand-table tbody th {
  width: 190px;
  color: var(--ink);
  background: var(--soft);
  font-size: 13px;
}

#eh-juku-finder .local-brand-table td:nth-child(2),
#eh-juku-finder .local-brand-table td:nth-child(3),
#eh-juku-finder .local-brand-table td:last-child {
  white-space: nowrap;
}

#eh-juku-finder .local-brand-table td:nth-child(4) {
  min-width: 360px;
  color: var(--muted);
}

#eh-juku-finder .local-brand-table a {
  color: var(--green-dark);
  font-weight: 800;
}

#eh-juku-finder .grade-shortlist-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

#eh-juku-finder .grade-shortlist-grid > section {
  min-width: 0;
  padding: 16px 18px;
  border-left: 4px solid var(--gold);
  background: var(--soft);
}

#eh-juku-finder .grade-shortlist-grid > section:nth-child(2) {
  border-left-color: var(--green);
}

#eh-juku-finder .grade-shortlist-grid > section:nth-child(3) {
  border-left-color: var(--navy);
}

#eh-juku-finder .grade-shortlist-grid h4 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 16px;
}

#eh-juku-finder .grade-shortlist-grid ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

#eh-juku-finder .grade-shortlist-grid li {
  padding: 7px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid #dfe5e1;
  font-size: 12px;
}

#eh-juku-finder .grade-shortlist-grid li span {
  overflow-wrap: anywhere;
}

#eh-juku-finder .grade-shortlist-grid li strong {
  flex: 0 0 auto;
  color: var(--green-dark);
}

#eh-juku-finder .grade-shortlist-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 11px;
}

#eh-juku-finder .decision-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
}

#eh-juku-finder .decision-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: var(--white);
  font-size: 13px;
}

#eh-juku-finder .decision-table th,
#eh-juku-finder .decision-table td {
  padding: 13px 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

#eh-juku-finder .decision-table thead th {
  color: var(--white);
  background: var(--navy);
}

#eh-juku-finder .decision-table tbody th {
  width: 120px;
  background: var(--soft);
  white-space: nowrap;
}

#eh-juku-finder .station-links {
  margin: -5px 0 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12px;
}

#eh-juku-finder .station-links button {
  min-height: 34px;
  padding: 5px 9px;
  border: 1px solid #c6d5e1;
  background: #f4f8fb;
  color: var(--navy);
  font: inherit;
  cursor: pointer;
}

#eh-juku-finder .station-links button:hover,
#eh-juku-finder .station-links button:focus-visible {
  border-color: var(--green);
  background: #eff8f2;
}

#eh-juku-finder .station-links button span {
  margin-left: 5px;
  color: var(--muted);
}

#eh-juku-finder .station-links-note {
  margin: -12px 0 20px;
  color: var(--muted);
  font-size: 12px;
}

#eh-juku-finder .access-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

#eh-juku-finder .access-checks div {
  padding: 16px 18px;
  border-left: 4px solid var(--green);
  background: var(--soft);
}

#eh-juku-finder .access-checks div:last-child {
  border-left-color: var(--gold);
}

#eh-juku-finder .access-checks p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
}

#eh-juku-finder .fee-checklist {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
  list-style: none;
}

#eh-juku-finder .fee-checklist li {
  padding: 12px 0;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

#eh-juku-finder .fee-checklist span {
  color: var(--muted);
}

#eh-juku-finder .selection-steps {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 26px;
  list-style: none;
}

#eh-juku-finder .selection-steps li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
}

#eh-juku-finder .selection-steps li > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--white);
  border-radius: 50%;
  background: var(--green);
  font-weight: 800;
}

#eh-juku-finder .selection-steps p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

#eh-juku-finder .data-method {
  margin-top: 10px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

#eh-juku-finder .data-method summary {
  padding: 15px 4px;
  color: var(--green-dark);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

#eh-juku-finder .data-method > div {
  padding: 0 4px 16px;
  color: var(--muted);
  font-size: 12px;
}

#eh-juku-finder .data-method p {
  margin: 7px 0 0;
}

#eh-juku-finder .empty-state {
  padding: 36px 0 60px;
  background: var(--white);
}

#eh-juku-finder .empty-state__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
}

#eh-juku-finder .empty-state__inner > div strong {
  font-size: 20px;
}

#eh-juku-finder .empty-state__inner > div p {
  margin: 6px 0 0;
  color: var(--muted);
}

#eh-juku-finder .empty-state dl {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(90px, 1fr));
  border: 1px solid var(--line);
}

#eh-juku-finder .empty-state dl div {
  min-width: 110px;
  padding: 12px 16px;
  border-right: 1px solid var(--line);
}

#eh-juku-finder .empty-state dl div:last-child {
  border-right: 0;
}

#eh-juku-finder .empty-state dt {
  color: var(--muted);
  font-size: 11px;
}

#eh-juku-finder .empty-state dd {
  margin: 1px 0 0;
  font-size: 21px;
  font-weight: 800;
}

#eh-juku-finder .pilot-areas {
  margin-top: 44px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

#eh-juku-finder .pilot-area-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

#eh-juku-finder .pilot-area-grid a {
  min-width: 0;
  padding: 13px 14px;
  display: grid;
  gap: 2px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

#eh-juku-finder .pilot-area-grid a:hover {
  background: var(--soft);
}

#eh-juku-finder .pilot-area-grid strong {
  color: var(--navy);
  font-size: 14px;
}

#eh-juku-finder .pilot-area-grid span {
  color: var(--muted);
  font-size: 11px;
}

#eh-juku-finder .site-footer {
  padding: 20px 0;
  color: #cbd7df;
  background: #101a23;
  font-size: 12px;
}

@container (max-width: 820px) {
  #eh-juku-finder .section-heading,
  #eh-juku-finder .section-heading--tools {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }

  #eh-juku-finder .list-tools {
    width: 100%;
    grid-template-columns: 1fr;
  }

  #eh-juku-finder .comparison-note,
  #eh-juku-finder .closing-cta {
    grid-template-columns: 1fr;
  }

  #eh-juku-finder .comparison-note strong {
    grid-column: auto;
  }
}

@container (max-width: 640px) {
  #eh-juku-finder .search-panel {
    grid-template-columns: 1fr;
  }

  #eh-juku-finder .search-button {
    grid-column: auto;
  }

  #eh-juku-finder .result-heading {
    align-items: start;
    flex-direction: column;
    gap: 16px;
  }

  #eh-juku-finder .result-counts {
    width: 100%;
  }

  #eh-juku-finder .result-counts span {
    width: 50%;
  }
}

@media (max-width: 900px){
  #eh-juku-finder .search-panel {
    grid-template-columns: 1fr 1fr;
  }

  #eh-juku-finder .search-button {
    grid-column: 1 / -1;
  }

  #eh-juku-finder .featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #eh-juku-finder .section-heading--tools {
    align-items: start;
    flex-direction: column;
  }

  #eh-juku-finder .list-tools {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #eh-juku-finder .comparison-note {
    grid-template-columns: 1fr 1fr;
  }

  #eh-juku-finder .comparison-note strong {
    grid-column: 1 / -1;
  }

  #eh-juku-finder .area-overview__columns {
    grid-template-columns: 1fr;
  }

  #eh-juku-finder .local-comparison-grid {
    grid-template-columns: 1fr;
  }

  #eh-juku-finder .school-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #eh-juku-finder .compact-brand-grid {
    grid-template-columns: 1fr;
  }

  #eh-juku-finder .area-jump-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #eh-juku-finder .pilot-area-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px){
  #eh-juku-finder {
    font-size: 15px;
  }

  #eh-juku-finder .container, #eh-juku-finder .site-header__inner, #eh-juku-finder .loading {
    width: min(100% - 28px, 1120px);
  }

  #eh-juku-finder .site-header {
    height: 52px;
  }

  #eh-juku-finder .brand__name {
    font-size: 18px;
  }

  #eh-juku-finder .finder-head {
    padding: 30px 0 24px;
  }

  #eh-juku-finder .finder-head h1 {
    font-size: 27px;
  }

  #eh-juku-finder .result-heading h2,
  #eh-juku-finder .section-heading h2,
  #eh-juku-finder .closing-cta h2 {
    font-size: 24px;
  }

  #eh-juku-finder .search-panel {
    margin-top: 20px;
    padding: 14px;
    grid-template-columns: 1fr;
  }

  #eh-juku-finder .search-button {
    grid-column: auto;
  }

  #eh-juku-finder .quick-areas {
    margin-inline: -14px;
    padding: 0 14px 4px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  #eh-juku-finder .quick-areas > span,
  #eh-juku-finder .quick-areas button,
  #eh-juku-finder .quick-areas a {
    flex: 0 0 auto;
  }

  #eh-juku-finder .results {
    padding: 28px 0 46px;
  }

  #eh-juku-finder .result-heading {
    align-items: start;
    flex-direction: column;
    gap: 16px;
  }

  #eh-juku-finder .result-counts {
    width: 100%;
  }

  #eh-juku-finder .result-counts span {
    width: 50%;
  }

  #eh-juku-finder .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 10px;
  }

  #eh-juku-finder .featured, #eh-juku-finder .all-schools {
    padding-top: 34px;
  }

  #eh-juku-finder .area-overview {
    padding-top: 34px;
  }

  #eh-juku-finder .grade-stat {
    padding: 13px 9px 15px;
  }

  #eh-juku-finder .grade-stat strong {
    font-size: 18px;
  }

  #eh-juku-finder .grade-stat small {
    font-size: 10px;
    line-height: 1.45;
  }

  #eh-juku-finder .area-overview__columns {
    gap: 30px;
  }

  #eh-juku-finder .distribution-list li {
    grid-template-columns: minmax(94px, 0.9fr) minmax(60px, 1fr) auto;
    gap: 8px;
  }

  #eh-juku-finder .featured-grid {
    margin-inline: -14px;
    padding: 0 14px 12px;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  #eh-juku-finder .featured-card {
    width: 86vw;
    max-width: 360px;
    flex: 0 0 86vw;
    scroll-snap-align: start;
  }

  #eh-juku-finder .comparison-note {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  #eh-juku-finder .comparison-note strong {
    grid-column: auto;
  }

  #eh-juku-finder .list-tools {
    grid-template-columns: 1fr;
  }

  #eh-juku-finder .brand-group__header {
    min-height: 64px;
    padding: 15px 14px;
  }

  #eh-juku-finder .compact-brands {
    margin-inline: -14px;
    padding: 18px 14px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  #eh-juku-finder .compact-brands__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  #eh-juku-finder .brand-group--compact.is-expanded .compact-brand__header {
    padding: 15px 14px 10px;
  }

  #eh-juku-finder .brand-group--compact.is-expanded .compact-brand__overview {
    padding: 0 14px 14px;
  }

  #eh-juku-finder .brand-group--compact.is-expanded .compact-brand__toggle {
    width: calc(100% - 28px);
  }

  #eh-juku-finder .brand-group__body {
    padding: 16px 14px 18px;
  }

  #eh-juku-finder .school-list {
    grid-template-columns: 1fr;
  }

  #eh-juku-finder .school-item {
    min-height: 0;
  }

  #eh-juku-finder .school-item__links {
    width: 100%;
  }

  #eh-juku-finder .school-item__links a {
    width: auto;
    min-width: 72px;
    text-align: center;
  }

  #eh-juku-finder .brand-group__title {
    align-items: flex-start;
    gap: 7px;
  }

  #eh-juku-finder .brand-action {
    padding: 5px 8px;
    font-size: 10px;
  }

  #eh-juku-finder .brand-profile {
    padding: 16px;
  }

  #eh-juku-finder .brand-profile h4 {
    font-size: 17px;
  }

  #eh-juku-finder .brand-profile__features {
    padding: 14px;
  }

  #eh-juku-finder .brand-profile__details {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  #eh-juku-finder .closing-cta {
    margin-inline: -14px;
    padding: 24px 18px;
    grid-template-columns: 1fr;
    border-radius: 0;
  }

  #eh-juku-finder .empty-state {
    padding: 28px 0 44px;
  }

  #eh-juku-finder .empty-state__inner {
    grid-template-columns: 1fr;
  }

  #eh-juku-finder .empty-state dl {
    width: 100%;
  }

  #eh-juku-finder .empty-state dl div {
    min-width: 0;
    padding: 10px;
  }

  #eh-juku-finder .empty-state dd {
    font-size: 18px;
  }

  #eh-juku-finder .area-guide {
    margin-top: 42px;
    padding-top: 34px;
  }

  #eh-juku-finder .access-checks,
  #eh-juku-finder .fee-checklist,
  #eh-juku-finder .selection-steps,
  #eh-juku-finder .grade-shortlist-grid {
    grid-template-columns: 1fr;
  }

  #eh-juku-finder .local-comparison-card {
    padding: 18px;
  }

  #eh-juku-finder .area-jump-list {
    grid-template-columns: 1fr;
  }

  #eh-juku-finder .local-brand-table {
    min-width: 850px;
  }

  #eh-juku-finder .local-brand-table thead th:first-child,
  #eh-juku-finder .local-brand-table tbody th {
    position: sticky;
    left: 0;
    z-index: 1;
  }

  #eh-juku-finder .local-brand-table thead th:first-child {
    z-index: 2;
  }

  #eh-juku-finder .local-brand-table tbody th {
    width: 150px;
    max-width: 150px;
    overflow-wrap: anywhere;
  }

  #eh-juku-finder .fee-checklist li {
    grid-template-columns: 106px minmax(0, 1fr);
  }

  #eh-juku-finder .pilot-area-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce){
  #eh-juku-finder {
    scroll-behavior: auto;
  }

  #eh-juku-finder .loading__bar {
    animation: none;
  }
}

/* Final UI polish: keep this block last so it wins over legacy theme CSS. */
#eh-juku-finder {
  --ink: #102033;
  --muted: #5e6977;
  --line: #dfe5ea;
  --soft: #f5f7f8;
  --soft-green: #eef7f2;
  --green: #0f7a4f;
  --green-dark: #075f3d;
  --navy: #14283d;
  --gold: #ba7a12;
  --shadow: 0 14px 36px rgba(16, 32, 51, 0.1);
  --card-shadow: 0 8px 22px rgba(16, 32, 51, 0.07);
  background: #fff;
}

#eh-juku-finder .container {
  width: min(1160px, calc(100% - 32px));
}

#eh-juku-finder .finder-head {
  padding: 42px 0 38px;
  border-bottom: 1px solid #d8e2dc;
  background:
    linear-gradient(135deg, rgba(15, 122, 79, 0.09), rgba(20, 40, 61, 0.04) 46%, rgba(186, 122, 18, 0.08)),
    #f8faf9;
}

#eh-juku-finder .finder-head__eyebrow,
#eh-juku-finder .section-heading__sub,
#eh-juku-finder .result-heading__pref {
  color: var(--green-dark);
  letter-spacing: 0;
}

#eh-juku-finder .finder-head h1 {
  max-width: 900px;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 850;
  line-height: 1.28 !important;
}

#eh-juku-finder .finder-head__lead {
  max-width: 760px;
  color: #465465;
  font-size: 15px;
}

#eh-juku-finder .search-panel {
  margin-top: 24px;
  padding: 18px;
  grid-template-columns: minmax(150px, 0.75fr) minmax(180px, 0.9fr) minmax(150px, 0.65fr) minmax(180px, auto);
  align-items: end;
  border: 1px solid rgba(11, 95, 61, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

#eh-juku-finder .field label,
#eh-juku-finder .area-field span,
#eh-juku-finder .grade-field span,
#eh-juku-finder .filter-field span,
#eh-juku-finder .sort-field span {
  color: #253549;
  font-size: 12px;
  font-weight: 850;
}

#eh-juku-finder .field select,
#eh-juku-finder .area-field select,
#eh-juku-finder .grade-field select,
#eh-juku-finder .filter-field input,
#eh-juku-finder .sort-field select {
  min-height: 48px;
  border-color: #cfd9df;
  border-radius: 7px;
  background-color: #fff;
  box-shadow: inset 0 1px 0 rgba(16, 32, 51, 0.03);
}

#eh-juku-finder .search-button,
#eh-juku-finder .primary-link,
#eh-juku-finder .brand-action,
#eh-juku-finder .local-comparison-card__link,
#eh-juku-finder .closing-cta__links a {
  border-radius: 7px;
  box-shadow: 0 8px 18px rgba(15, 122, 79, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

#eh-juku-finder .search-button:hover,
#eh-juku-finder .primary-link:hover,
#eh-juku-finder .brand-action:hover,
#eh-juku-finder .local-comparison-card__link:hover,
#eh-juku-finder .closing-cta__links a:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(15, 122, 79, 0.22);
}

#eh-juku-finder .quick-areas {
  margin-top: 14px;
}

#eh-juku-finder .quick-areas button,
#eh-juku-finder .quick-areas a {
  border-color: #d5dfd8;
  border-radius: 999px;
  background: #fff;
  color: #244234;
}

#eh-juku-finder .results {
  padding: 34px 0 64px;
  background: linear-gradient(#fff, #fbfcfd);
}

#eh-juku-finder .result-heading {
  padding: 22px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--card-shadow);
}

#eh-juku-finder .result-heading h2,
#eh-juku-finder .section-heading h2,
#eh-juku-finder .closing-cta h2 {
  font-size: clamp(22px, 2.7vw, 30px);
  font-weight: 850;
  line-height: 1.35 !important;
}

#eh-juku-finder .result-counts {
  gap: 8px;
}

#eh-juku-finder .result-counts span {
  min-width: 116px;
  padding: 12px 14px;
  border: 1px solid #dce6df;
  border-left: 4px solid var(--green);
  border-radius: 8px;
  background: #f7faf8;
}

#eh-juku-finder .section-heading {
  padding-bottom: 14px;
  border-bottom: 1px solid #e4eaee;
}

#eh-juku-finder .section-heading > p {
  color: #5d6976;
}

#eh-juku-finder .featured,
#eh-juku-finder .all-schools,
#eh-juku-finder .area-overview {
  padding-top: 36px;
}

#eh-juku-finder .featured-grid {
  gap: 18px;
  align-items: stretch;
}

#eh-juku-finder .featured-card {
  border-color: #dce5df;
  border-radius: 12px;
  box-shadow: var(--card-shadow);
}

#eh-juku-finder .featured-card__image {
  aspect-ratio: 16 / 7;
  background: #edf4f0;
}

#eh-juku-finder .featured-card__body {
  padding: 20px;
}

#eh-juku-finder .featured-card h3 {
  font-size: 22px;
  font-weight: 850;
}

#eh-juku-finder .featured-card__copy {
  color: #465465;
}

#eh-juku-finder .featured-card__points {
  padding: 13px 14px;
  border: 1px solid #e1ebe4;
  border-radius: 9px;
  background: #fbfdfb;
}

#eh-juku-finder .featured-card__fit {
  grid-template-columns: 1fr;
  padding-top: 0;
  border-top: 0;
}

#eh-juku-finder .featured-card__fit div {
  padding: 10px 12px;
  border: 1px solid #e4e9ee;
  border-radius: 8px;
  background: #fff;
}

#eh-juku-finder .comparison-note {
  border: 1px solid #eadab6;
  border-left: 5px solid var(--gold);
  border-radius: 10px;
  background: #fffaf0;
}

#eh-juku-finder .section-heading--tools {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--card-shadow);
}

#eh-juku-finder .list-tools {
  padding-top: 2px;
  grid-template-columns: minmax(150px, 0.8fr) minmax(220px, 1.4fr) minmax(150px, 0.8fr);
  align-items: end;
}

#eh-juku-finder .filtered-count {
  margin: 14px 0 14px;
  padding: 8px 12px;
  display: inline-flex;
  border-radius: 999px;
  background: #f2f6f4;
  color: #415044;
  font-weight: 700;
}

#eh-juku-finder .brand-list__featured {
  gap: 18px;
}

#eh-juku-finder .brand-group {
  border-color: #dbe5df;
  border-radius: 12px;
  box-shadow: var(--card-shadow);
}

#eh-juku-finder .brand-group__header {
  padding: 18px 20px;
  align-items: center;
  border-bottom: 1px solid #e2e9e5;
  background: linear-gradient(180deg, #fff, #fbfdfc);
}

#eh-juku-finder .brand-group__title {
  gap: 10px;
}

#eh-juku-finder .brand-group__title strong {
  font-size: 22px;
  font-weight: 850;
}

#eh-juku-finder .brand-group__count {
  border: 1px solid #cfe0d6;
  border-radius: 999px;
  background: var(--soft-green);
  color: var(--green-dark);
}

#eh-juku-finder .brand-action {
  min-height: 38px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--green);
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

#eh-juku-finder .brand-group__body {
  padding: 20px;
  background: #fff;
}

#eh-juku-finder .brand-profile {
  padding: 16px;
  border: 1px solid #e2e9e5;
  border-radius: 10px;
  background: #fbfdfc;
}

#eh-juku-finder .brand-profile h4 {
  font-size: 17px;
  font-weight: 850;
}

#eh-juku-finder .brand-profile__overview {
  color: #465465;
}

#eh-juku-finder .brand-profile__features {
  border-color: #dce9e1;
  border-radius: 8px;
  background: #fff;
}

#eh-juku-finder .brand-profile__details > div {
  border-radius: 8px;
  background: #fff;
}

#eh-juku-finder .brand-group__school-heading {
  margin-top: 20px !important;
}

#eh-juku-finder .school-list {
  display: grid;
  gap: 10px;
}

#eh-juku-finder .school-item {
  padding: 14px;
  grid-template-columns: minmax(0, 1fr) auto;
  border: 1px solid #e1e7ec;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 3px 10px rgba(16, 32, 51, 0.04);
}

#eh-juku-finder .school-item h4 {
  font-size: 16px;
  font-weight: 850;
}

#eh-juku-finder .school-item__address,
#eh-juku-finder .school-item__access,
#eh-juku-finder .school-item__model {
  color: #4f5c69;
}

#eh-juku-finder .school-item__links a {
  border-radius: 7px;
}

#eh-juku-finder .school-list-toggle,
#eh-juku-finder .compact-brand__toggle {
  border-radius: 8px;
  border-color: #bfd1c7;
  background: #fff;
  color: var(--green-dark);
}

#eh-juku-finder .school-list-toggle:hover,
#eh-juku-finder .compact-brand__toggle:hover {
  background: var(--green-dark);
  color: #fff;
}

#eh-juku-finder .compact-brands {
  border-radius: 12px;
  background: #f6f9f7;
}

#eh-juku-finder .compact-brand-grid {
  gap: 14px;
}

#eh-juku-finder .brand-group--compact {
  border-radius: 10px;
}

#eh-juku-finder .compact-brand__overview {
  color: #4f5c69;
}

#eh-juku-finder .closing-cta {
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), #123c2d);
  box-shadow: var(--shadow);
}

#eh-juku-finder .area-overview {
  margin-top: 34px;
  padding: 26px;
  border: 1px solid #e0e7ec;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--card-shadow);
}

#eh-juku-finder .grade-stats {
  overflow: hidden;
  border: 1px solid #e0e7ec;
  border-radius: 10px;
}

#eh-juku-finder .area-overview__columns {
  gap: 24px;
}

#eh-juku-finder .decision-section,
#eh-juku-finder .data-method {
  border-radius: 12px;
  box-shadow: 0 5px 16px rgba(16, 32, 51, 0.05);
}

#eh-juku-finder .empty-state {
  padding: 46px 0 66px;
  background: linear-gradient(180deg, #fff, #f7faf8);
}

#eh-juku-finder .empty-state__inner {
  border-radius: 14px;
  box-shadow: var(--card-shadow);
}

@container (max-width: 860px) {
  #eh-juku-finder .search-panel,
  #eh-juku-finder .list-tools {
    grid-template-columns: 1fr 1fr !important;
  }

  #eh-juku-finder .search-button {
    grid-column: 1 / -1;
  }

  #eh-juku-finder .result-heading {
    align-items: stretch !important;
  }

  #eh-juku-finder .featured-grid,
  #eh-juku-finder .compact-brand-grid,
  #eh-juku-finder .local-comparison-grid {
    grid-template-columns: 1fr !important;
  }
}

@container (max-width: 640px) {
  #eh-juku-finder .container {
    width: min(100% - 24px, 1160px);
  }

  #eh-juku-finder .finder-head {
    padding: 28px 0 26px;
  }

  #eh-juku-finder .search-panel,
  #eh-juku-finder .list-tools {
    grid-template-columns: 1fr !important;
  }

  #eh-juku-finder .result-heading,
  #eh-juku-finder .section-heading--tools,
  #eh-juku-finder .area-overview {
    padding: 16px;
  }

  #eh-juku-finder .result-counts {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  #eh-juku-finder .result-counts span {
    width: auto !important;
    min-width: 0;
  }

  #eh-juku-finder .brand-group__header,
  #eh-juku-finder .compact-brand__header,
  #eh-juku-finder .school-item {
    grid-template-columns: 1fr;
  }

  #eh-juku-finder .brand-group__title {
    align-items: stretch;
  }

  #eh-juku-finder .brand-action {
    width: 100%;
    white-space: normal;
  }

  #eh-juku-finder .brand-group__body,
  #eh-juku-finder .featured-card__body {
    padding: 16px;
  }

  #eh-juku-finder .school-item__links a {
    width: 100%;
  }

  #eh-juku-finder .comparison-note {
    grid-template-columns: 1fr !important;
  }
}

/* Orange CTA and softer editorial finish. */
#eh-juku-finder {
  --cta: #f28a22;
  --cta-dark: #d96f0d;
  --cta-soft: #fff4e8;
  --soft-green: #f3f7f4;
}

#eh-juku-finder .search-button,
#eh-juku-finder .primary-link,
#eh-juku-finder .brand-action,
#eh-juku-finder .local-comparison-card__link {
  color: #fff !important;
  border-color: var(--cta-dark) !important;
  background: linear-gradient(180deg, #ff9d3d, var(--cta)) !important;
  box-shadow: 0 10px 20px rgba(242, 138, 34, 0.24) !important;
}

#eh-juku-finder .search-button:hover,
#eh-juku-finder .primary-link:hover,
#eh-juku-finder .brand-action:hover,
#eh-juku-finder .local-comparison-card__link:hover {
  background: linear-gradient(180deg, #f28a22, var(--cta-dark)) !important;
  box-shadow: 0 13px 26px rgba(217, 111, 13, 0.28) !important;
}

#eh-juku-finder .closing-cta__links a {
  border: 1px solid rgba(242, 138, 34, 0.34);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(242, 138, 34, 0.12);
}

#eh-juku-finder .closing-cta__links a::after {
  color: var(--cta-dark);
}

#eh-juku-finder .closing-cta__links a:hover {
  border-color: var(--cta);
  background: var(--cta-soft);
  box-shadow: 0 11px 22px rgba(242, 138, 34, 0.18);
}

#eh-juku-finder .finder-head {
  background:
    radial-gradient(circle at 12% 18%, rgba(242, 138, 34, 0.13), transparent 28%),
    linear-gradient(135deg, rgba(15, 122, 79, 0.07), rgba(255, 255, 255, 0.86) 42%, rgba(242, 138, 34, 0.08)),
    #f8faf9;
}

#eh-juku-finder .search-panel {
  border-top: 4px solid var(--cta);
}

#eh-juku-finder .featured-card,
#eh-juku-finder .brand-group,
#eh-juku-finder .area-overview,
#eh-juku-finder .section-heading--tools {
  box-shadow: 0 10px 24px rgba(16, 32, 51, 0.075);
}

#eh-juku-finder .featured-card:nth-child(2n),
#eh-juku-finder .brand-list__featured .brand-group:nth-child(2n) {
  background: linear-gradient(180deg, #fff, #fffdf9);
}

#eh-juku-finder .featured-card__image span {
  background: rgba(217, 111, 13, 0.9);
}

#eh-juku-finder .featured-card__points li::before,
#eh-juku-finder .school-preview li::before {
  color: var(--cta-dark);
  background: var(--cta);
}

#eh-juku-finder .brand-group__count,
#eh-juku-finder .result-counts span {
  border-color: #f0d0ae;
  border-left-color: var(--cta);
  background: var(--cta-soft);
}

#eh-juku-finder .school-list-toggle,
#eh-juku-finder .compact-brand__toggle {
  border-color: #efc39a;
  color: #9b4c05;
}

#eh-juku-finder .school-list-toggle:hover,
#eh-juku-finder .compact-brand__toggle:hover {
  border-color: var(--cta-dark);
  background: var(--cta-dark);
}

/* Mobile layout: preserve breathing room inside narrow WordPress content areas. */
@media screen and (max-width: 640px) {
  #eh-juku-finder {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: clip;
  }

  #eh-juku-finder .container {
    width: auto !important;
    max-width: none !important;
    margin-right: 16px !important;
    margin-left: 16px !important;
  }

  #eh-juku-finder .finder-head {
    padding: 24px 0 28px;
  }

  #eh-juku-finder .finder-head h1 {
    font-size: 27px;
    line-height: 1.35 !important;
  }

  #eh-juku-finder .finder-head__lead {
    font-size: 14px;
    line-height: 1.8;
  }

  #eh-juku-finder .search-panel,
  #eh-juku-finder .list-tools {
    width: 100% !important;
    min-width: 0 !important;
    padding: 14px !important;
    gap: 13px !important;
    border-radius: 9px;
    box-shadow: 0 8px 22px rgba(16, 32, 51, 0.1);
  }

  #eh-juku-finder .field,
  #eh-juku-finder .area-field,
  #eh-juku-finder .grade-field,
  #eh-juku-finder .filter-field,
  #eh-juku-finder .sort-field {
    width: 100% !important;
    min-width: 0 !important;
  }

  #eh-juku-finder .field select,
  #eh-juku-finder .area-field select,
  #eh-juku-finder .grade-field select,
  #eh-juku-finder .filter-field input,
  #eh-juku-finder .sort-field select {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  #eh-juku-finder .results {
    overflow: hidden;
  }

  #eh-juku-finder .featured,
  #eh-juku-finder .all-schools,
  #eh-juku-finder .area-overview,
  #eh-juku-finder .closing-cta,
  #eh-juku-finder .brand-group,
  #eh-juku-finder .featured-card,
  #eh-juku-finder .section-heading--tools {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  #eh-juku-finder .featured-grid,
  #eh-juku-finder .brand-list__featured,
  #eh-juku-finder .compact-brand-grid,
  #eh-juku-finder .school-list {
    width: 100%;
    min-width: 0;
    gap: 14px;
  }

  #eh-juku-finder .result-heading,
  #eh-juku-finder .section-heading--tools,
  #eh-juku-finder .area-overview,
  #eh-juku-finder .closing-cta {
    padding: 15px !important;
    border-radius: 9px;
  }

  #eh-juku-finder .featured-card,
  #eh-juku-finder .brand-group,
  #eh-juku-finder .school-item {
    overflow: hidden;
    border-radius: 9px;
  }

  #eh-juku-finder .brand-group__header,
  #eh-juku-finder .compact-brand__header {
    padding: 15px !important;
    gap: 10px !important;
  }

  #eh-juku-finder .brand-group__body,
  #eh-juku-finder .featured-card__body {
    padding: 15px !important;
  }

  #eh-juku-finder .school-item {
    padding: 14px !important;
  }

  #eh-juku-finder .brand-action {
    width: auto !important;
    max-width: 100%;
    justify-self: start;
    padding-right: 15px;
    padding-left: 15px;
  }

  #eh-juku-finder .school-item__links a,
  #eh-juku-finder .school-list-toggle,
  #eh-juku-finder .compact-brand__toggle {
    max-width: 100%;
  }

  #eh-juku-finder .closing-cta__links {
    gap: 10px;
  }

  #eh-juku-finder .closing-cta__links a {
    width: 100%;
    max-width: 100%;
  }
}

@media screen and (max-width: 374px) {
  #eh-juku-finder .container {
    margin-right: 12px !important;
    margin-left: 12px !important;
  }

  #eh-juku-finder .result-counts {
    grid-template-columns: 1fr;
  }
}
