/* Company content: no TOP section selectors or scroll-animation dependencies. */
.company-hero { position: relative; overflow: hidden; padding: calc(var(--header-height) + 24px) 0 60px; background: linear-gradient(90deg, rgba(245,248,250,.99) 5%, rgba(245,248,250,.93) 38%, rgba(245,248,250,.3)), url('../img/hero-bg.webp') center / cover; border-bottom: 1px solid #d3dee6; }
.company-hero-en { margin: 42px 0 12px; color: #0a304e; font-size: clamp(42px, 8vw, 108px); font-weight: 800; line-height: 1.1; letter-spacing: .055em; }
.company-hero .sub-eyebrow { margin-bottom: 8px; }
.company-hero h1 { margin: 0; font-size: clamp(22px, 2.5vw, 30px); letter-spacing: .12em; }
.company-hero-copy { margin: 36px 0; font-size: clamp(24px, 3vw, 38px); line-height: 1.8; font-weight: 700; letter-spacing: .06em; }
.company-hero-note { display: flex; align-items: center; gap: 16px; margin: 0; font-size: 10px; letter-spacing: .14em; }
.company-hero-note::before { content: ""; width: 44px; height: 2px; background: var(--blue); }
.company-hero > .sub-container { position: relative; z-index: 1; }
.company-hero-photo { position: absolute; inset: 0 0 0 40%; pointer-events: none; mask-image: linear-gradient(90deg, transparent, #000 35%); }
.company-hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 65% 55%; }
.company-hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(245,248,250,.94), rgba(245,248,250,.18) 75%), linear-gradient(0deg, rgba(7,27,48,.16), transparent 55%); }
.company-photo { position: relative; margin: 0; border-bottom: 2px solid #4bb4e8; }
.company-photo img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.95) contrast(1.03); }
.company-photo figcaption { position: absolute; left: 0; bottom: 0; padding: 12px 20px; color: #fff; background: rgba(7,27,48,.88); border-left: 2px solid #4bb4e8; font-size: 11px; letter-spacing: .14em; line-height: 1.8; }
.company-factory-photo { aspect-ratio: 2 / 1; margin-bottom: 36px; }
.company-factory-photo img { object-position: center 65%; }
.company-entrance-photo { aspect-ratio: 4 / 5; }
.company-entrance-photo img { object-position: 65% center; }
.company-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.company-prose { font-size: 15px; line-height: 2.2; color: #344d60; }
.company-prose p { margin: 0 0 22px; }
.company-prose p:last-child { margin-bottom: 0; }
.company-process { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.company-process span { padding: 10px 13px; border-top: 2px solid var(--blue); background: #edf4f8; font-size: 12px; }
.company-strengths { background: #f2f5f7; }
.company-strength-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #c9d8e3; }
.company-strength-list li { display: grid; grid-template-columns: 64px 1fr 1fr; align-items: start; gap: 28px; padding: 32px 0; border-bottom: 1px solid #c9d8e3; }
.company-number { color: #0874c8; font-size: 32px; font-weight: 400; line-height: 1.3; }
.company-label { margin: 0 0 10px; color: #0870be; font-size: 11px; font-weight: 700; letter-spacing: .12em; line-height: 1.8; }
.company-strength-list li > p { margin: 0; font-size: 14px; line-height: 2; color: #344d60; }
.company-environment { color: #fff; background-color: #071b30; background-image: linear-gradient(#64bcdf09 1px, transparent 1px), linear-gradient(90deg, #64bcdf09 1px, transparent 1px); background-size: 40px 40px; }
.company-environment .sub-eyebrow, .company-environment .company-label { color: #74d8ff; }
.company-equipment { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.company-equipment section { padding: 28px 24px; border: 1px solid #315067; border-top: 2px solid #4bb4e8; background: #ffffff05; }
.company-equipment ul { list-style: none; padding: 24px 0 0; margin: 24px 0 0; border-top: 1px solid #315067; }
.company-equipment li { margin-block: 12px; color: #d4e0e9; font-size: 14px; line-height: 1.8; }
.company-profile-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 50px; }
.company-profile { margin: 0; border-top: 2px solid var(--navy); font-size: 15px; line-height: 2; }
.company-profile > div { display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding: 23px 0; border-bottom: 1px solid #d8e1e7; }
.company-profile dt { font-weight: 700; }
.company-profile dd { margin: 0; color: #344d60; }
.company-phone { display: inline-flex; align-items: center; min-height: 44px; color: #0865a7; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.company-english-name { font-size: 12px; letter-spacing: .06em; }
.company-access { background: #f2f5f7; }
.company-access-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.company-access address { font-style: normal; font-size: 15px; line-height: 2; }
.company-station { margin-top: 24px; font-size: 14px; line-height: 1.8; }
.company-map-area { min-width: 0; }
.company-map { height: 450px; border-top: 2px solid #4bb4e8; background: #fff; }
.company-map iframe { display: block; width: 100%; height: 100%; border: 0; }
/* Shared group line and engineering-style company registers. */
.company-group-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #a9c4d6; }
.company-group-member { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 32px 28px 0; }
.company-group-member:first-child { padding-left: 0; }
.company-group-member:last-child { padding-right: 0; }
.company-group-member + .company-group-member { border-left: 1px solid #d8e1e7; }
.company-group-member::before { content: ""; position: absolute; top: -3px; left: 28px; width: 22px; height: 5px; background: var(--blue); }
.company-group-member:first-child::before { left: 0; }
.company-group-number { margin-bottom: 24px; color: #0874c8; font-size: 32px; line-height: 1; font-weight: 400; letter-spacing: .06em; }
.company-group-member h3 { margin: 0 0 22px; color: var(--navy); font-size: clamp(18px, 1.7vw, 22px); line-height: 1.6; }
.company-group-member address { margin-bottom: 18px; font-style: normal; color: #344d60; font-size: 15px; line-height: 2; overflow-wrap: anywhere; }
.company-group-contact { margin: 0 0 22px; color: #344d60; font-size: 14px; line-height: 2; }
.company-group-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; align-self: flex-start; margin-top: auto; min-height: 44px; border-bottom: 1px solid #a9c4d6; color: #0870be; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-decoration: none; }
.company-group-link span { font-size: 20px; }
.company-group-link:hover { border-color: var(--blue); color: var(--navy); }
.company-group-link:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
.company-partners { background: #f2f5f7; }
.company-name-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--navy); }
.company-name-grid li { position: relative; display: flex; align-items: center; min-width: 0; padding: 22px 0 22px 18px; border-bottom: 1px solid #c9d8e3; color: #344d60; font-size: 15px; line-height: 1.8; overflow-wrap: anywhere; }
.company-name-grid li::before { content: ""; position: absolute; top: 30px; left: 0; width: 5px; height: 5px; background: var(--blue); }
.company-list-note { margin: 20px 0 0; color: #526b7e; font-size: 12px; text-align: right; letter-spacing: .06em; }
@media (max-width: 1199px) {
  .company-group-member { padding-inline: 20px; }
  .company-group-member::before { left: 20px; }
  .company-name-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .company-about-grid { gap: 40px; }
  .company-equipment { gap: 14px; }
  .company-equipment section { padding: 24px 16px; }
  .company-profile-grid { grid-template-columns: 1fr 2fr; gap: 28px; }
}
@media (max-width: 900px) {
  .company-group-grid { grid-template-columns: 1fr; }
  .company-group-member, .company-group-member:first-child, .company-group-member:last-child { padding: 28px 0; }
  .company-group-member + .company-group-member { border-left: 0; border-top: 1px solid #a9c4d6; }
  .company-group-member::before { left: 0; }
  .company-group-number { margin-bottom: 18px; }
  .company-group-member h3 { font-size: 22px; }
  .company-group-member address, .company-group-contact { font-size: 16px; }
  .company-hero-photo { position: relative; inset: auto; width: 100%; aspect-ratio: 4 / 3; margin: 28px 0 -60px; mask-image: linear-gradient(180deg, transparent, #000 18%, #000 75%, transparent); }
  .company-hero-photo img { object-fit: contain; object-position: center; }
  .company-hero-photo::after { background: linear-gradient(180deg, rgba(245,248,250,.18), transparent 35%, rgba(245,248,250,.3)); }
  .company-factory-photo, .company-entrance-photo { aspect-ratio: 4 / 3; }
  .company-factory-photo img, .company-entrance-photo img { object-fit: contain; object-position: center; }
  .company-entrance-photo { margin-top: 28px; }
  .company-about-grid, .company-profile-grid { grid-template-columns: 1fr; gap: 32px; }
  .company-profile-grid .sub-heading { margin-bottom: 0; }
  .company-strength-list li { grid-template-columns: 48px 1fr; gap: 12px 20px; }
  .company-strength-list li > p { grid-column: 2; }
  .company-access-grid { grid-template-columns: 1fr; gap: 28px; }
  .company-map { height: 360px; }
}
@media (max-width: 768px) {
  .company-prose, .company-strength-list li > p, .company-equipment li, .company-profile, .company-access address, .company-station { font-size: 16px; }
  .company-prose { line-height: 2; }
}
@media (max-width: 600px) {
  .company-name-grid { grid-template-columns: 1fr; }
  .company-name-grid li { font-size: 16px; padding-block: 20px; }
  .company-hero { background-position: 60% center; background-image: linear-gradient(90deg, rgba(245,248,250,.97), rgba(245,248,250,.82)), url('../img/hero-bg.webp'); }
  .company-hero-en { margin-top: 32px; }
  .company-equipment, .company-access-grid { grid-template-columns: 1fr; }
  .company-equipment section { padding: 24px; }
  .company-strength-list li { grid-template-columns: 36px 1fr; gap: 12px; }
  .company-strength-list h3 { font-size: 18px; }
  .company-number { font-size: 26px; }
  .company-profile > div { grid-template-columns: 1fr; gap: 6px; }
}
