/* One shared hierarchy: vermilion slash, English title, Japanese subtitle. */
body #main .ymh-section-heading {
  --section-ink: #302d35;
  --section-accent: #bf451b;
  --section-indent: clamp(30px, 4vw, 52px);
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0 0 36px;
  padding: 0 0 0 var(--section-indent);
  text-align: left;
  color: var(--section-ink);
}
body #main .ymh-section-heading__en {
  position: relative;
  display: block;
  margin: 0 0 12px;
  padding: 0;
  color: var(--section-ink);
  font: 700 clamp(34px, 5vw, 64px)/1.12 'Roboto', sans-serif;
  letter-spacing: .015em;
  text-transform: none;
  overflow-wrap: normal;
  text-wrap: balance;
}
body #main .ymh-section-heading__en::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--section-indent) + 5px);
  top: .14em;
  width: .17em;
  height: .83em;
  background: var(--section-accent);
  transform: skewX(-22deg);
}
body #main .ymh-section-heading.ymh-section-heading.ymh-section-heading > h2 {
  display: block;
  position: static;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--section-ink);
  background: none;
  -webkit-text-fill-color: currentColor;
  font: 500 clamp(19px, 2.1vw, 26px)/1.6 var(--ymh-sans);
  letter-spacing: .015em;
  text-align: left;
  text-shadow: none;
}
body #main .ymh-section-heading.ymh-section-heading.ymh-section-heading > h2 :is(span, strong) {
  color: inherit;
  font: inherit;
  background: none;
  -webkit-text-fill-color: currentColor;
}
body #main .ymh-section-heading.ymh-section-heading.ymh-section-heading > h2::before,
body #main .ymh-section-heading.ymh-section-heading.ymh-section-heading > h2::after { content: none; }
body #main .ymh-section-heading.ymh-section-heading.ymh-section-heading > h2 br { display: none; }
body #main .ymh-news__heading > div:first-child {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip-path: none;
}
body #main .ymh-section-title { padding-top: 0; margin-bottom: 0; }
body #main .ymh-contact__title > .ymh-section-heading {
  --section-ink: #fff;
  --section-accent: #dc7048;
  grid-column: 1;
  margin-bottom: 8px;
}
body #main .ymh-contact-online-badge { grid-row: 1 / 3; }
body #main .lp-directory-intro .ymh-section-heading__en { font-size: clamp(32px, 3.6vw, 48px); }
body #main .lp-section-heading { text-align: left; }
@media (max-width: 600px) {
  body #main .ymh-section-heading { margin-bottom: 28px; --section-indent: 30px; }
  body #main .ymh-section-heading__en { font-size: clamp(30px, 8vw, 40px); margin-bottom: 10px; }
  body #main .ymh-section-heading.ymh-section-heading.ymh-section-heading > h2 { font-size: 19px; }
  body #main .ymh-contact__title > .ymh-section-heading { grid-column: 1 / -1; grid-row: 1; padding-right: 100px; }
  body #main .ymh-contact-online-badge { grid-row: 1; }
  body #main .ymh-contact__title .ymh-section-heading__en { font-size: 30px; }
  body #main .ymh-contact__title .ymh-section-heading > h2 { font-size: 18px; }
}
/* Retire the old centered underline when the new section title is present. */
body #main .lp-section-heading:has(> .ymh-section-heading)::after { content: none; }
