/* Service hub: keep the approved layout, with phone-sized type and spacing. */
body[data-service-page="hub"] #page-root .route-hub-service-title {
  text-wrap: balance;
}
body[data-service-page="hub"] #page-root .route-hub-hero-paragraph {
  font-size: 15px !important;
  line-height: 1.85 !important;
  max-width: 46ch;
}
body[data-service-page="hub"] #page-root .route-hub-issue-intro {
  margin: -12px auto 32px;
  color: #555;
  font: 14px/1.8 'Zen Kaku Gothic New', sans-serif;
  text-align: center;
}
body[data-service-page="hub"] #page-root .route-hub-contact-paragraph {
  margin: 0 !important;
}
body[data-service-page="hub"] #page-root .route-hub-contact-paragraph + .route-hub-contact-paragraph {
  margin-top: 10px !important;
}
body[data-service-page="hub"] #page-root .route-hub-consultation {
  display: block;
  margin: 24px 0;
  color: #191841;
  font: 700 14px/1.6 'Zen Kaku Gothic New', sans-serif;
}

/* The six "課題から探す" headings read as one phrase, without forced breaks. */
body[data-service-page="hub"] #page-root > section:nth-of-type(3) a > div:first-child > .serif:first-child {
  white-space: nowrap;
}
body[data-service-page="hub"] #page-root > section:nth-of-type(3) a > div:first-child > .serif:first-child br {
  display: none;
}

@media (max-width: 599px) {
  body[data-service-page="hub"] #page-root .route-hub-hero-paragraph {
    font-size: 14px !important;
    line-height: 1.75 !important;
  }
  body[data-service-page="hub"] #page-root .route-hub-issue-intro {
    margin: -8px auto 24px;
    text-align: left;
  }
  body[data-service-page="hub"] #page-root .route-hub-consultation {
    margin: 22px 0;
  }
  body[data-service-page="hub"] #page-root > section:nth-of-type(3) a {
    padding-right: clamp(12px, 4vw, 20px) !important;
    padding-left: clamp(12px, 4vw, 20px) !important;
  }
  body[data-service-page="hub"] #page-root > section:nth-of-type(3) a > div:first-child > .serif:first-child {
    font: 700 clamp(14px, 4.5vw, 18px)/1.5 'Shippori Mincho', serif !important;
    letter-spacing: -.04em;
  }
  body[data-service-page="hub"] #page-root .route-service-overview {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }
  body[data-service-page="hub"] #page-root .route-service-overview h2 {
    margin-bottom: 24px !important;
  }
  body[data-service-page="hub"] #page-root .route-service-overview .route-visual-row {
    padding-top: 20px !important;
    padding-bottom: 24px !important;
  }
  body[data-service-page="hub"] #page-root .route-hub-service-title {
    font: 700 clamp(20px, 5.4vw, 23px)/1.5 'Shippori Mincho', serif !important;
    letter-spacing: -.02em;
    line-break: strict;
    overflow-wrap: anywhere;
    text-wrap: balance;
  }
  body[data-service-page="hub"] #page-root .route-hub-service-title br {
    display: none;
  }
}
