@charset "UTF-8";

/* Large pale lettering keeps the Japanese heading as the semantic title. */
:root { --heading-watermark-color: #e6eef5; }
.heading-watermark {
  display: block;
  width: max-content;
  max-width: 100%;
  padding-right: .065em;
  margin: 0 0 -.28em -.045em;
  position: relative;
  z-index: 0;
  color: var(--heading-watermark-color);
  font: 700 clamp(96px, 12vw, 164px)/.82 Arial, Helvetica, sans-serif;
  letter-spacing: -.065em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.heading-watermark + h1, .heading-watermark + h2 { position: relative; z-index: 1; }
.intro-section { --about-word-size: clamp(72px, 12vw, 164px); }
.intro-heading .heading-watermark { font-size: var(--about-word-size); }
.intro-section .intro-copy { padding-top: calc(var(--about-word-size) * .54); }
.business-home .heading-watermark { color: #dfe8f0; }
.business-home .section-heading > div { min-width: 0; }
.recruit-copy { min-width: 0; }
.recruit-copy .heading-watermark { font-size: clamp(58px, 9.5vw, 132px); }
.recruit-copy > .section-subtitle { margin-bottom: 24px; }
.contact-band .heading-watermark { font-size: clamp(84px, 10vw, 140px); color: #d7e3ed; }
.contact-band-inner > div { min-width: 0; }
.page-index .contact-band-inner > div { flex: 1; width: 100%; }

/* Company section labels use the same small, separated treatment. */
.company-section-heading { display: block; }
.company-section-heading > .heading-watermark, .company-access-copy > .heading-watermark { max-width: none; }
.company-profile-content, .company-timeline, .company-sales-content { padding-top: 0; }
.company-access { align-items: start; }
.company-map { margin-top: 0; }
.company-profile .heading-watermark, .company-sales .heading-watermark { color: #dfe8f0; }

/* Small section labels sit above the Japanese title; only large titles overlap. */
.business-detail-text .heading-watermark, .recruit-message .heading-watermark,
.working > .heading-watermark, .recruit-jobs > .heading-watermark,
.benefits > .heading-watermark, .recruit-apply .heading-watermark,
.company-section-heading > .heading-watermark, .company-access-copy > .heading-watermark,
.company-message-title > .heading-watermark,
.phone-contact-heading > .heading-watermark, .inquiry > .heading-watermark,
.business-attitude-heading > .heading-watermark,
.contact-band-small .heading-watermark { font-size: 48px; margin-bottom: 12px; }
.recruit-jobs > .heading-watermark { color: #dfe8f0; }
.recruit-apply .heading-watermark { color: rgba(230,238,245,.2); margin-inline: auto; }
.footer-top nav { font-weight: 700; color: var(--navy); }

/* An English line echoes the Japanese serif headline without replacing it. */
.hero-kicker { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 25px; }
.hero-english { margin: 0; color: var(--blue); font: italic 400 clamp(21px, 1.8vw, 26px)/1.35 Georgia, "Times New Roman", serif; letter-spacing: -.02em; }
.hero-full .hero-kicker .hero-location { margin: 0; font-size: 16px; line-height: 1.6; letter-spacing: .06em; }

@media (max-width: 980px) {
  .business-home .section-heading { flex-direction: column; align-items: flex-start; gap: 24px; }
}
@media (max-width: 600px) {
  .heading-watermark { font-size: clamp(56px, 17.5vw, 90px); }
  .intro-section { --about-word-size: clamp(76px, 24vw, 104px); }
  .intro-section .intro-copy { padding-top: 0; }
  .recruit-copy .heading-watermark { font-size: clamp(64px, 20vw, 96px); }
  .contact-band .heading-watermark { font-size: clamp(56px, 18.5vw, 82px); }
  .company-section-heading > .heading-watermark, .company-access-copy > .heading-watermark { max-width: 100%; }
  .business-detail-text .heading-watermark { font-size: 28px; }
  .recruit-message .heading-watermark, .working > .heading-watermark,
  .recruit-jobs > .heading-watermark, .benefits > .heading-watermark,
  .recruit-apply .heading-watermark,
  .company-section-heading > .heading-watermark, .company-access-copy > .heading-watermark,
  .company-message-title > .heading-watermark,
  .phone-contact-heading > .heading-watermark, .inquiry > .heading-watermark,
  .business-attitude-heading > .heading-watermark,
  .contact-band-small .heading-watermark { font-size: 36px; }
  .hero-kicker { flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 23px; }
  .hero-english { font-size: 20px; }
  .hero-full .hero-kicker .hero-location { font-size: 15px; }
}
@media (max-width: 600px) and (max-height: 740px) {
  .hero-kicker { margin-bottom: 18px; }
}
@media print {
  .heading-watermark { display: none; }
  .intro-section .intro-copy { padding-top: 0; }
  .company-profile-content, .company-timeline, .company-sales-content { padding-top: 0; }
  .company-map { margin-top: 0; }
}
