/* Editorial typography shared by the group homepage and all business pages. */
:root {
  --font-body:
    "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-heading:
    "Zen Kaku Gothic New", "Noto Sans JP", "Yu Gothic", sans-serif;
  --font-latin: Inter, "Noto Sans JP", sans-serif;
  --type-body: 16px;
  --type-heading: clamp(32px, 3.25vw, 46px);
  --type-english: clamp(26px, 2.9vw, 42px);
  --leading-heading: 1.38;
  --tracking-heading: 0.005em;
  --heading-gap: 24px;
  --section: 128px;
}
body {
  font-family: var(--font-body);
  font-size: var(--type-body);
  letter-spacing: 0.015em;
  line-height: 1.95;
  font-synthesis: none;
}
h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: var(--tracking-heading);
}
h2,
.interior h2 {
  font-size: var(--type-heading);
  line-height: var(--leading-heading);
  text-wrap: balance;
}
h3,
.interior h3 {
  line-height: 1.5;
}
.hero-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  column-gap: 50px;
  align-items: end;
  padding: 64px 0 52px;
}
.hero-heading .eyebrow {
  grid-column: 1 / -1;
  font-size: 13px;
  letter-spacing: 0.16em;
  margin-bottom: 26px;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(64px, 5.6vw, 82px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.015em;
  white-space: normal;
}
.hero h1 > span {
  display: block;
  padding-left: 0;
}
.hero-phrase {
  display: inline-block;
  white-space: nowrap;
}
.hero-summary {
  position: static;
  font-size: 16px;
  line-height: 1.95;
  padding: 0 0 7px 24px;
  border-left: 1px solid var(--line);
}
.hero-summary .scroll-link {
  font-size: 11px;
  letter-spacing: 0.08em;
  margin-top: 30px;
  gap: 24px;
}
.hero-enter {
  animation-duration: 0.75s;
}
.hero h1.hero-enter {
  animation-delay: 0.08s;
}
.hero-summary.hero-enter {
  animation-delay: 0.16s;
}
.eyebrow.section-kicker {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: var(--heading-gap);
  color: var(--ink);
}
.eyebrow.section-kicker:before {
  display: none;
}
.section-index {
  flex: none;
  padding-top: 7px;
  font: 500 12px/1 var(--font-latin);
  color: #92743e;
  letter-spacing: 0.05em;
  border-top: 1px solid var(--gold);
  align-self: flex-start;
  margin-top: 6px;
}
.section-en {
  font: 500 var(--type-english) / 1.08 var(--font-latin);
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.section-heading {
  align-items: end;
  gap: 48px;
  margin-bottom: 58px;
}
.section-heading > p {
  font-size: 16px;
  line-height: 1.95;
  max-width: 32em;
}
.about-copy .lead,
.interior .lead {
  font-size: 20px;
  line-height: 1.85;
  font-weight: 500;
  letter-spacing: 0.025em;
}
.about-copy > p:not(.eyebrow) {
  font-size: 16px;
  line-height: 1.95;
}
.about-copy h2,
.recruit h2 {
  font-size: var(--type-heading);
  line-height: var(--leading-heading);
}
.strength-list h3 {
  font-size: clamp(22px, 1.8vw, 27px);
}
.strength-list p,
.business-card p,
.logistics-details p,
.contact > .wrap > p {
  font-size: 16px;
  line-height: 1.95;
}
.logistics-item h3 {
  font-family: var(--font-heading);
}
.business-card h3 {
  font-size: 26px;
}
.contact h2 {
  font-size: clamp(38px, 4.2vw, 60px);
  line-height: 1.3;
}
.contact .section-kicker,
.contact .section-index {
  color: white;
}
.source-note,
.demo-note,
.photo-status,
.draft-label,
.image-label,
.business-tag,
.status-label,
.recruit figcaption {
  font-size: 12px;
  line-height: 1.8;
}
.hero-slide figcaption {
  font-size: 12px;
  line-height: 1.65;
}
.hero-slide figcaption > span {
  font-size: 10px;
}
.hero-bottom > p {
  font-size: 12px;
}
.motion-toggle,
.quiet-link,
.text-link {
  font-size: 14px;
}
.desktop-nav {
  font-size: 14px;
}
.footer-main p,
.footer-bottom,
.footer-nav a {
  font-size: 13px;
}
.motion-ready .reveal {
  transition-duration: 0.75s, 0.8s;
}
.motion-ready .diagonal-reveal:after {
  transition-duration: 1.35s;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* The numbers are a calm, stationary counterpoint to the diagonal photographs. */
.numbers {
  background: #112e49;
  color: #fff;
  padding-block: 104px 82px;
  position: relative;
}
.numbers .section-kicker {
  color: #fff;
}
.numbers .section-index {
  color: #d9bd87;
}
.numbers .section-en {
  font-size: clamp(36px, 4.6vw, 66px);
  font-weight: 500;
  letter-spacing: -0.04em;
}
.numbers h2 {
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.4;
}
.numbers h2 > span {
  display: block;
}
.numbers .section-heading {
  margin-bottom: 64px;
}
.numbers-context {
  max-width: 300px;
  display: grid;
  justify-items: start;
  gap: 18px;
  padding-bottom: 3px;
}
.numbers-owner {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.06em;
  border-bottom: 1px solid #5b7284;
  padding-bottom: 9px;
}
.numbers-context p {
  font-size: 14px;
  color: #c1cfdb;
  line-height: 1.8;
}
.numbers-motion {
  color: white;
  padding: 7px 10px;
  margin: 0;
  border: 1px solid #61788b;
  font-size: 12px;
}
.facts {
  grid-template-columns: 1.08fr 0.76fr 1.4fr;
  border-top: 1px solid #516b80;
  border-bottom: 1px solid #516b80;
}
.facts > .fact {
  position: relative;
  padding: 36px 30px 32px;
  border-left: 1px solid #516b80;
  min-width: 0;
}
.facts > .fact:first-child {
  padding-left: 0;
  border-left: 0;
}
.facts > .fact:last-child {
  padding-right: 0;
}
.facts dt {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.045em;
}
.facts dt small {
  display: inline;
  font-size: 12px;
  color: #c1cfdb;
  margin-left: 8px;
}
.facts .fact-value {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 22px 0 18px;
  white-space: nowrap;
  min-height: 108px;
}
.facts .fact-value strong {
  font: 550 clamp(70px, 7.1vw, 102px) / 1.02 var(--font-latin);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.055em;
}
.facts .fact-value .fact-unit {
  font-family: var(--font-body);
  font-size: 21px;
  font-weight: 400;
  letter-spacing: 0;
}
.facts [data-target] {
  display: inline-block;
  flex-shrink: 0;
  text-align: right;
}
.facts [data-target="32"] {
  width: 2ch;
}
.facts [data-target="30000"] {
  width: 6ch;
}
.facts .fact-label {
  font: 500 12px/1.5 var(--font-latin);
  color: #b9cbd9;
  letter-spacing: 0.16em;
  margin: 0;
}
.facts .year-value {
  display: inline-flex;
  overflow: hidden;
  vertical-align: top;
  padding-block: 0.04em;
  margin-block: -0.04em;
}
.year-digit {
  display: inline-block;
  transform: translateY(0);
  opacity: 1;
  transition:
    transform 0.72s cubic-bezier(0.18, 0.75, 0.25, 1),
    opacity 0.6s ease;
}
.year-digit:nth-child(2) {
  transition-delay: 0.08s;
}
.year-digit:nth-child(3) {
  transition-delay: 0.16s;
}
.year-digit:nth-child(4) {
  transition-delay: 0.24s;
}
.facts-ready [data-number-state="pending"] .year-digit {
  transform: translateY(108%);
  opacity: 0;
}
.motion-paused .year-digit,
[data-number-state="complete"] .year-digit {
  transform: none;
  opacity: 1;
  transition: none;
}
.numbers .source-note {
  max-width: 920px;
  font-size: 12px;
  color: #c1cfdb;
  line-height: 1.9;
  margin-top: 28px;
}
.numbers .source-note a {
  color: white;
}
.interior .mast h1 {
  font-family: var(--font-latin);
  font-weight: 550;
  font-size: clamp(44px, 6.1vw, 88px);
  letter-spacing: -0.045em;
  line-height: 1.12;
}
.interior .mast {
  padding: 64px 0 56px;
}
.interior .mast .eyebrow {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
}
.interior .breadcrumbs {
  font-size: 12px;
}
.interior .info-table {
  font-size: 16px;
}
.interior .source,
.interior .small,
.interior .page-notice {
  font-size: 13px;
}

@media (max-width: 1100px) {
  .hero-heading {
    grid-template-columns: 1fr;
    padding-top: 46px;
  }
  .hero-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    border-left: 0;
    margin-top: 28px;
  }
  .hero-summary .scroll-link {
    margin-top: 0;
  }
  .hero h1 {
    font-size: clamp(48px, 7.1vw, 70px);
  }
  .numbers .section-heading {
    align-items: start;
  }
  .numbers-context {
    max-width: 235px;
  }
  .facts > .fact {
    padding-inline: 20px;
  }
  .facts .fact-value strong {
    font-size: clamp(56px, 7.4vw, 82px);
  }
  .facts .fact-value {
    min-height: 86px;
    gap: 8px;
  }
  .facts .fact-value .fact-unit {
    font-size: 18px;
  }
}
@media (max-width: 800px) {
  .section-heading {
    gap: 28px;
  }
  .section-heading > p {
    max-width: 23em;
  }
  .numbers .section-heading {
    display: block;
  }
  .numbers-context {
    max-width: none;
    margin-top: 26px;
    grid-template-columns: 1fr auto;
    gap: 12px 24px;
  }
  .numbers-context p {
    grid-column: 1;
  }
  .numbers-motion {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: end;
  }
  .facts {
    grid-template-columns: 1fr 1fr;
  }
  .facts > .fact {
    padding: 28px 24px;
  }
  .facts > .fact:last-child {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid #516b80;
    padding-left: 0;
  }
  .facts .fact-value strong {
    font-size: 88px;
  }
  .facts .fact-value {
    min-height: 90px;
  }
}
@media (max-width: 600px) {
  :root {
    --type-body: 16px;
    --type-heading: 32px;
    --type-english: 29px;
    --heading-gap: 20px;
    --leading-heading: 1.45;
    --section: 80px;
  }
  .hero-heading {
    padding: 34px 0 32px;
  }
  .hero-heading .eyebrow {
    font-size: 11px;
    letter-spacing: 0.12em;
    margin-bottom: 24px;
  }
  .hero h1 {
    font-size: clamp(34px, 9.3vw, 44px);
    letter-spacing: -0.025em;
    line-height: 1.28;
  }
  .hero-summary {
    font-size: 14px;
    line-height: 1.9;
    margin-top: 26px;
    gap: 10px;
    display: grid;
    grid-template-columns: 1fr auto;
  }
  .hero-summary p {
    white-space: nowrap;
  }
  .hero-summary .scroll-link {
    font-size: 10px;
    gap: 10px;
    letter-spacing: 0.025em;
    max-width: 90px;
  }
  .hero-slide figcaption {
    font-size: 12px;
    max-width: calc(100% - 74px);
    padding: 8px;
    line-height: 1.6;
  }
  .hero-slide figcaption > span {
    font-size: 9px;
  }
  .hero-bottom > p {
    font-size: 12px;
  }
  .motion-toggle {
    font-size: 12px;
  }
  .section-heading {
    margin-bottom: 36px;
  }
  .section-heading > p,
  .about-copy > p:not(.eyebrow),
  .recruit p {
    font-size: 16px;
  }
  .about-copy .lead {
    font-size: 19px;
  }
  .strength-list h3,
  .logistics-item h3 {
    font-size: 23px;
  }
  .business-card h3 {
    font-size: 26px;
  }
  .contact h2 {
    font-size: 36px;
  }
  .section-en {
    letter-spacing: -0.04em;
  }
  .numbers {
    padding-block: 70px 60px;
  }
  .numbers .section-en {
    font-size: clamp(34px, 9.4vw, 45px);
  }
  .numbers h2 {
    font-size: 30px;
  }
  .numbers .section-heading {
    margin-bottom: 36px;
  }
  .numbers-context {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
  }
  .numbers-context p {
    font-size: 14px;
  }
  .numbers-motion {
    grid-column: 1;
    grid-row: auto;
  }
  .facts {
    display: block;
  }
  .facts > .fact,
  .facts > .fact:first-child,
  .facts > .fact:last-child {
    padding: 28px 0 24px;
    border-left: 0;
    border-top: 1px solid #516b80;
  }
  .facts > .fact:first-child {
    border-top: 0;
  }
  .facts dt {
    font-size: 16px;
    padding-right: 0;
  }
  .facts dt small {
    display: inline;
    margin-left: 8px;
  }
  .facts .fact-label {
    position: static;
    font-size: 11px;
    letter-spacing: 0.14em;
  }
  .facts .fact-value {
    margin: 16px 0 14px;
    gap: 12px;
    min-height: 0;
  }
  .facts .fact-value strong {
    font-size: 88px;
  }
  .facts .fact-area strong {
    font-size: clamp(60px, 18.5vw, 80px);
  }
  .facts .fact-value .fact-unit {
    font-size: 20px;
  }
  .numbers .source-note {
    font-size: 12px;
  }
  .interior .mast h1 {
    font-size: clamp(39px, 10vw, 58px);
  }
  .interior .mast {
    padding-block: 42px;
  }
  .interior .section {
    padding-block: 68px;
  }
  .interior .lead {
    font-size: 19px;
  }
  .footer-main p,
  .footer-bottom,
  .footer-nav a {
    font-size: 12px;
  }
}
@media (max-width: 360px) {
  :root {
    --type-heading: 29px;
    --type-english: 25px;
  }
  .hero-summary {
    align-items: start;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .hero h1 {
    font-size: 34px;
  }
  .hero-summary .scroll-link {
    margin-top: 0;
  }
  .contact h2 {
    font-size: 32px;
  }
  .numbers h2 {
    font-size: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .year-digit,
  .facts-ready [data-number-state="pending"] .year-digit {
    transform: none;
    opacity: 1;
    transition: none;
  }
}
