/* 公司历程页样式。 */
.placeholder-main { --placeholder-gutter: var(--gutter-page); color: var(--c-ink); }
.placeholder-banner { position: relative; isolation: isolate; overflow: hidden; height: var(--application-banner-height); }
.placeholder-banner__image { position: absolute; inset: 0; z-index: -2; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.placeholder-banner__panel { position: absolute; inset: 0; z-index: -1; background: url('../imgs/infobox_green_left.png') left top / 100% 100% no-repeat; clip-path: polygon(0 0, 46% 0, 41% 100%, 0 100%); }
.placeholder-banner__inner { display: flex; align-items: center; height: 100%; padding-inline: var(--placeholder-gutter); padding-bottom: calc(var(--application-banner-height) * var(--inner-banner-title-lift) * 2); }
.placeholder-banner h1 { max-width: 40%; font-size: var(--fs-6xl); font-weight: 700; line-height: 1.4; }
.history-content { padding: var(--company-space) var(--placeholder-gutter) var(--sp-8); background: var(--c-ink); color: var(--c-paper); }
.history-inner { max-width: 1560px; margin-inline: auto; }
.history-title { margin-bottom: var(--sp-7); font-size: var(--fs-6xl); font-weight: 400; line-height: 1.4; text-align: center; }
.history-years { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--sp-4) var(--sp-6); margin-bottom: var(--sp-7); }
.history-years a { display: flex; align-items: center; justify-content: center; min-height: 40px; padding: var(--sp-2) var(--sp-4); border-radius: 999px; background: #10aa91; color: var(--c-ink); font-size: var(--fs-xl); font-weight: 700; line-height: 1.3; }
.history-years a:hover, .history-years a[aria-current] { background: var(--c-accent-green); }
.history-content a:focus-visible { outline: 2px solid #fff; outline-offset: 6px; }
.history-era { scroll-margin-top: calc(var(--nav-h) + var(--sp-5)); }
.history-year { display: flex; align-items: center; gap: var(--sp-5); margin-bottom: var(--sp-7); color: var(--c-accent-green); font-size: var(--fs-5xl); font-weight: 700; line-height: 1.4; }
.history-year::before, .history-year::after { content: ''; flex: 1; height: 1px; background: currentColor; }
.history-year span { flex-shrink: 0; }
.history-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: var(--history-column-gap); width: 76%; margin: 0 auto var(--history-row-gap); }
.history-copy { min-width: 0; }
.history-copy--left { text-align: right; }
.history-copy h4 { margin-bottom: var(--sp-4); color: #10aa91; font-size: var(--fs-3xl); font-weight: 400; line-height: 1.4; }
.history-copy p { font-size: var(--fs-lead); line-height: 1.5; overflow-wrap: anywhere; }
.history-photo { position: relative; display: block; width: 100%; max-width: 100%; cursor: zoom-in; }
.history-photo img { display: block; width: 100%; height: auto; transition: filter .6s ease; }
.history-photo__zoom { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: var(--history-zoom-size); height: var(--history-zoom-size); border: 2px solid #fff; border-radius: 50%; transform: translate(-50%, -50%); opacity: 0; pointer-events: none; transition: opacity .6s ease; }
.history-photo__zoom::before, .history-photo__zoom::after { content: ''; position: absolute; width: 42%; height: 1px; background: #fff; }
.history-photo__zoom::after { transform: rotate(90deg); }
.history-photo:hover img, .history-photo:focus-visible img { filter: brightness(.35); }
.history-photo:hover .history-photo__zoom, .history-photo:focus-visible .history-photo__zoom { opacity: 1; }
.history-photo--portrait, .history-photo--catalogue { width: 70%; }
.history-stack { display: flex; flex-direction: column; align-items: flex-end; gap: var(--sp-5); min-width: 0; }
.history-photo--advert { width: 57%; }
.history-stack--mine { align-items: flex-start; padding-top: var(--history-row-gap); gap: var(--sp-6); }
.history-photo--mine { width: 94%; }
.history-row--mine { align-items: start; }
.history-row--catalogue .history-copy { align-self: start; padding-top: var(--history-row-gap); }
.history-era:last-child .history-row:last-child { margin-bottom: 0; }
.history-row--collage { align-items: start; }
.history-stack--offset { align-items: flex-start; padding-top: var(--history-row-gap); gap: var(--sp-7); }
.history-row--dryers .history-stack, .history-row--lathe .history-stack { align-items: stretch; }
.history-row--ore, .history-row--armature { align-items: start; }
.history-row--ore .history-copy, .history-row--armature .history-copy { padding-top: var(--sp-6); }
.history-row--lathe .history-copy { padding-top: var(--sp-5); }
.history-photo--logo { width: 80%; border: 1px solid var(--c-accent-green); }
.history-photo--round { width: 68%; overflow: hidden; border-radius: 50%; }
.history-stack--start { align-items: flex-start; gap: var(--sp-6); }
.history-row--solenoid > .history-stack:first-child { gap: var(--sp-7); padding-top: var(--sp-6); }
.history-row--management .history-stack { padding-top: var(--sp-6); }
.history-row--rename .history-stack { gap: var(--sp-7); }
.history-row--board > .history-photo { justify-self: end; }
.history-row--herdorf > .history-photo--logo { width: 90%; }
.history-row--herdorf .history-stack { gap: var(--sp-6); }
.history-row--brake-assist { align-items: start; }
.history-row--brake-assist .history-copy { padding-top: var(--sp-6); }
.history-row--generation { align-items: start; }
.history-row--generation .history-copy { padding-top: var(--sp-7); }
.history-row--park-three > .history-stack { padding-top: var(--sp-6); }
.history-row--pressure-valves { row-gap: var(--sp-5); }
.history-photo--cpa { grid-column: 2; }
.history-outlook { padding: var(--company-space) var(--placeholder-gutter); background: var(--c-paper); text-align: center; }
.history-outlook p { font-size: var(--fs-lead); font-weight: 700; line-height: 2; }
html:has(.history-content) { scroll-behavior: smooth; }
html.history-lightbox-open { overflow: hidden; }
.history-lightbox { position: fixed; inset: 0; width: fit-content; max-width: calc(100vw - 48px); max-height: calc(100dvh - 48px); margin: auto; padding: 0; border: 0; overflow: visible; background: transparent; color: #fff; }
.history-lightbox::backdrop { background: rgba(0, 0, 0, .8); }
.history-lightbox__figure { margin: 0; text-align: center; }
.history-lightbox__image { display: block; width: auto; height: auto; max-width: min(1400px, calc(100vw - 48px)); max-height: calc(100dvh - 120px); margin-inline: auto; object-fit: contain; }
.history-lightbox__close { position: fixed; top: 12px; right: 16px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(0, 0, 0, .45); color: #fff; font-size: 36px; line-height: 1; cursor: pointer; }
.history-lightbox__close:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 768px) {
  .placeholder-main { --placeholder-gutter: 16px; }
  .placeholder-banner__panel { clip-path: none; background-size: 70% 100%; }
  .placeholder-banner__image { object-position: 65% center; }
  .placeholder-banner h1 { max-width: 65%; font-size: var(--fs-5xl); }
  .history-title { font-size: var(--fs-5xl); }
  .history-years { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-3); }
  .history-row { grid-template-columns: minmax(0, 1fr); width: 100%; gap: var(--sp-5); }
  .history-copy--left { text-align: left; }
  .history-photo { max-width: 520px; margin-inline: auto; }
  .history-photo--portrait, .history-photo--catalogue { width: 65%; }
  .history-photo--wheelbarrow { width: 80%; }
  .history-stack { gap: var(--sp-5); }
  .history-stack--mine, .history-stack--offset { padding-top: 0; gap: var(--sp-5); }
  .history-row--ore .history-copy, .history-row--armature .history-copy { grid-row: 1; padding-top: 0; }
  .history-row--lathe .history-copy { padding-top: 0; }
  .history-photo--advert { width: 52%; margin-right: 0; }
  .history-photo--mine { width: 85%; margin-left: 0; }
  .history-row--catalogue .history-copy { padding-top: 0; }
  .history-row--established .history-copy { grid-row: 1; }
  .history-row--solenoid > .history-stack:first-child, .history-row--management .history-stack { padding-top: 0; }
  .history-row--first-products .history-copy, .history-row--buyout .history-copy, .history-row--board .history-copy { grid-row: 1; }
  .history-row--rename .history-stack, .history-stack--start { gap: var(--sp-5); }
  .history-row--rename .history-stack > .history-photo { margin-right: 0; }
  .history-row--board > .history-photo { justify-self: center; }
  .history-row--brake-assist .history-copy, .history-row--assembly .history-copy { grid-row: 1; padding-top: 0; }
  .history-row--generation .history-copy, .history-row--rennerod .history-copy { grid-row: 1; padding-top: 0; }
  .history-row--park-three > .history-stack { padding-top: 0; }
  .history-row--ema .history-copy, .history-row--pressure-valves .history-copy, .history-row--electric-cars .history-copy { grid-row: 1; }
  .history-photo--cpa { grid-column: auto; }

}
@media (prefers-reduced-motion: reduce) {
  html:has(.history-content) { scroll-behavior: auto; }
  .history-photo img, .history-photo__zoom { transition: none; }
}
