.car-j-chugata-layout {
  --jch-navy: #26343a;
  --jch-navy-soft: #34474f;
  --jch-gold: #c89a2b;
  --jch-gold-pale: #fff9e6;
  --jch-blue-pale: #eef5f7;
  --jch-border: #e3e7e8;
}

.car-j-chugata-page {
  padding-bottom: 84px;
}

.jch-hero {
  position: relative;
  min-height: 330px;
  padding: 0;
  overflow: hidden;
  background: var(--jch-navy);
  border-bottom: 0;
}

.jch-hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(27, 39, 44, 0.97) 0%, rgba(27, 39, 44, 0.82) 47%, rgba(27, 39, 44, 0.18) 100%);
  content: "";
}

.jch-hero > img {
  width: 100%;
  height: 330px;
  object-fit: cover;
}

.jch-hero__copy {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: clamp(24px, 6vw, 54px);
  width: min(72%, 620px);
  transform: translateY(-50%);
  color: #fff;
}

.jch-hero .jch-eyebrow {
  margin: 0 0 14px;
  color: #e8c66f;
  font-family: Poppins, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.jch-hero h1 {
  color: #fff;
  font-size: clamp(1.7rem, 4.2vw, 2.65rem);
  line-height: 1.45;
}

/* H1の補足（料金・期間・校数）。guide-common.css の
   .guide-page-header h1 span は #744d56 で、紺色ヒーローの上では読めない。 */
.jch-hero h1 span {
  display: block;
  margin-top: 8px;
  color: #e8c66f;
  font-size: 0.46em;
  font-weight: 700;
  line-height: 1.6;
}

.jch-hero__copy > p:last-child {
  margin: 16px 0 0;
  font-weight: 700;
}

.car-j-chugata-guide {
  color: var(--jch-navy);
}

.jch-intro {
  border-color: #d6dfe2;
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(38, 52, 58, 0.08);
}

.jch-intro > p:not(.guide-intro__definition) {
  margin-bottom: 0;
}

.jch-quick-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 24px;
}

.jch-quick-links a {
  display: grid;
  min-height: 52px;
  padding: 10px;
  place-items: center;
  background: var(--btn-plain-bg, #fff);
  border: 1px solid var(--btn-plain-border, #d8dcdd);
  border-radius: 8px;
  color: var(--btn-plain-text, #2d3436);
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.jch-quick-links a:last-child {
  background: var(--btn-order-bg, #ff6b35);
  border-color: transparent;
  color: var(--btn-order-text, #fff);
}

.car-j-chugata-guide .guide-section {
  border-bottom: 1px solid #ebebeb;
}

.jch-price-source-note,
.jch-benefit-note {
  margin: 24px 0;
  padding: 18px 20px;
  background: #f5f7f8;
  border-left: 4px solid #87969d;
  border-radius: 0 10px 10px 0;
}

.jch-price-source-note strong,
.jch-benefit-note strong {
  display: block;
  margin-bottom: 6px;
}

.jch-price-source-note p,
.jch-benefit-note p {
  margin: 0;
  color: var(--guide-muted);
  font-size: 0.88rem;
}

.jch-price-table {
  min-width: 760px;
}

.jch-price-table thead th {
  background: #2d3436;
  color: #fff;
}

.jch-price-table tbody tr:nth-child(even) th,
.jch-price-table tbody tr:nth-child(even) td {
  background: #f7f9f9;
}

.jch-price-table td:nth-child(2),
.jch-price-table td:nth-child(3) {
  white-space: nowrap;
}

.jch-flow-list {
  display: grid;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: jch-flow;
  gap: 10px;
}

.jch-flow-list li {
  position: relative;
  padding: 14px 16px 14px 52px;
  background: var(--jch-blue-pale);
  border-radius: 10px;
  counter-increment: jch-flow;
}

.jch-flow-list li::before {
  position: absolute;
  top: 50%;
  left: 16px;
  display: grid;
  width: 26px;
  height: 26px;
  transform: translateY(-50%);
  background: var(--jch-navy);
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  content: counter(jch-flow);
  place-items: center;
}

.jch-vehicle-grid,
.jch-license-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 26px;
}

.jch-vehicle-card {
  padding: 26px;
  border: 1px solid var(--jch-border);
  border-radius: 14px;
}

.jch-vehicle-card--can {
  background: #f2f8f4;
  border-top: 5px solid #3c8b61;
}

.jch-vehicle-card--caution {
  background: #fff7f4;
  border-top: 5px solid #c76b50;
}

.jch-vehicle-card h3 {
  margin: 0 0 15px;
  font-size: 1.15rem;
}

.jch-vehicle-card ul {
  padding-left: 1.25em;
}

.jch-spec-list {
  margin: 20px 0 0;
  border-top: 1px solid #cedbd3;
}

.jch-spec-list > div {
  display: flex;
  gap: 16px;
  padding: 10px 0;
  justify-content: space-between;
  border-bottom: 1px solid #cedbd3;
}

.jch-spec-list dt {
  font-size: 0.82rem;
  font-weight: 700;
}

.jch-spec-list dd {
  margin: 0;
  font-weight: 800;
}

.jch-important-box {
  margin-top: 24px;
  padding: 24px;
  background: #fff9e6;
  border-left: 5px solid var(--jch-gold);
  border-radius: 0 12px 12px 0;
}

.jch-important-box p {
  margin: 0;
}

.jch-important-box p + p {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #eadcae;
}

/* 2本のリンクを縦積みにする。横並びだと「エリアで給付金プランを探す」と1文に読めてしまう */
.jch-link-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 20px;
}

.jch-link-row a,
.jch-license-grid a {
  color: #245c72;
  font-weight: 700;
  text-underline-offset: 3px;
}

.jch-benefit-note {
  background: var(--jch-gold-pale);
  border-color: var(--jch-gold);
}

.jch-pref-jump {
  margin: 24px 0 32px;
  padding: 18px 20px;
  background: #f5f7f8;
  border-radius: 10px;
}

.jch-pref-jump__title {
  margin: 0 0 10px;
  font-size: 0.85rem;
  font-weight: 800;
}

.jch-pref-jump ul {
  display: flex;
  margin: 0;
  padding: 0;
  gap: 8px;
  flex-wrap: wrap;
  list-style: none;
}

.jch-pref-jump a {
  display: inline-block;
  padding: 6px 14px;
  background: #fff;
  border: 1px solid var(--jch-border);
  border-radius: 999px;
  color: var(--jch-navy);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

.jch-school-region + .jch-school-region {
  margin-top: 44px;
}

.jch-school-region > h3 {
  margin: 0 0 16px;
  padding: 10px 15px;
  background: var(--jch-navy);
  border-radius: 8px;
  color: #fff;
  font-size: 1.05rem;
}

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

.jch-school-card {
  display: flex;
  min-width: 0;
  padding: 22px;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--jch-border);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(38, 52, 58, 0.07);
}

.jch-school-card__prefecture {
  padding: 5px 10px;
  background: var(--jch-blue-pale, #eef5f7);
  border-radius: 999px;
  color: #536970;
  font-size: 0.72rem;
  font-weight: 800;
}

.jch-benefit-badge {
  align-self: flex-start;
  padding: 5px 9px;
  background: var(--jch-gold-pale);
  border: 1px solid #dec36f;
  border-radius: 4px;
  color: #795c0e;
  font-size: 0.7rem;
  font-weight: 800;
}

.jch-school-card h4 {
  margin: 0 0 16px;
  font-size: 1.08rem;
  line-height: 1.55;
}

.jch-school-card dl {
  margin: 0 0 16px;
}

.jch-school-card dl > div {
  padding: 11px 0;
  border-top: 1px solid var(--jch-border);
}

.jch-school-card dl > div:last-child {
  border-bottom: 1px solid var(--jch-border);
}

.jch-school-card dt {
  margin-bottom: 5px;
  color: var(--guide-muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.jch-school-card dd {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.jch-school-card dd small {
  display: block;
  margin-top: 3px;
  color: var(--guide-muted);
  font-weight: 400;
}

.jch-school-card__note {
  margin: 0 0 16px;
  color: var(--guide-muted);
  font-size: 0.75rem;
}

.jch-school-card .guide-button {
  width: 100%;
  margin-top: auto;
}

.jch-requirement-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.jch-requirement-list > div {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 12px;
  padding: 16px;
  background: var(--jch-blue-pale);
  border-radius: 10px;
}

.jch-requirement-list dt {
  font-weight: 800;
}

.jch-requirement-list dd {
  margin: 0;
}

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

.jch-license-grid article {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--jch-border);
  border-top: 4px solid var(--jch-gold);
  border-radius: 12px;
}

.jch-license-grid article > span {
  color: #bdc5c8;
  font-family: Poppins, sans-serif;
  font-weight: 800;
}

.jch-license-grid h3 {
  margin: 8px 0 12px;
}

.jch-license-grid p {
  font-size: 0.88rem;
}

@media (max-width: 767px) {
  .jch-hero,
  .jch-hero > img {
    height: 360px;
  }

  .jch-hero > img {
    object-position: 64% center;
  }

  .jch-hero::after {
    background: linear-gradient(0deg, rgba(27, 39, 44, 0.98) 0%, rgba(27, 39, 44, 0.76) 62%, rgba(27, 39, 44, 0.18) 100%);
  }

  .jch-hero__copy {
    top: auto;
    right: 22px;
    bottom: 28px;
    left: 22px;
    width: auto;
    transform: none;
  }

  .jch-quick-links,
  .jch-vehicle-grid,
  .jch-school-grid,
  .jch-requirement-list,
  .jch-license-grid {
    grid-template-columns: 1fr;
  }

  .jch-quick-links {
    gap: 8px;
  }

  .jch-quick-links a {
    min-height: 46px;
  }

  .jch-pref-jump {
    padding: 16px;
  }

  .jch-school-region + .jch-school-region {
    margin-top: 34px;
  }

  .jch-vehicle-card,
  .jch-important-box,
  .jch-school-card,
  .jch-license-grid article {
    padding: 20px;
  }

  .jch-school-region + .jch-school-region {
    margin-top: 34px;
  }

  .jch-requirement-list > div {
    grid-template-columns: 74px 1fr;
  }
}

@media (max-width: 420px) {
  .jch-hero h1 {
    font-size: 1.55rem;
  }

  .jch-hero__copy > p:last-child {
    font-size: 0.86rem;
  }

  .jch-spec-list > div {
    display: block;
  }

  .jch-spec-list dd {
    margin-top: 3px;
  }

}
