﻿/* Shared subpage navigation; ESG keeps its three-section design. */
.sub-section-tabs,.board-tabs,.esg-nav{position:sticky;top:var(--sub-tabs-offset,0px);z-index:70;background:#fff;transition:top .35s var(--ease)}
.sub-section-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));height:91px;padding:0 var(--gutter,120px);border-bottom:1px solid #ddd}
.sub-section-tabs a{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;color:#999;font:400 28px/1.4 Pretendard,"Pretendard Fallback",sans-serif;white-space:nowrap}
.sub-section-tabs a:is(:hover,:focus-visible),.sub-section-tabs .is-current{color:#f38102}
.sub-section-tabs .is-current{font-weight:500}
.sub-section-tabs .is-current::after{content:'';position:absolute;left:0;right:0;bottom:-1px;height:2px;background:#f38102}
html:has(.sub-section-tabs),html:has(.board-tabs),html:has(.esg-nav){scroll-padding-top:var(--sub-sticky-stack,180px)}
@media(max-width:1200px){.sub-section-tabs a{font-size:18px}}
@media(max-width:700px){
  .sub-section-tabs{display:flex;height:64px;padding-inline:12px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;overscroll-behavior-x:contain}
  .sub-section-tabs::-webkit-scrollbar{display:none}
  .sub-section-tabs a{flex:1 0 auto;min-width:108px;font-size:16px;padding-inline:12px}
}
/* The pinned timeline reserves room for both the header and navigation. */
@media(prefers-reduced-motion:no-preference){
  .company-page .history-stage{padding-top:calc(120px + var(--sub-tabs-size,91px))}
  @media(max-width:700px),(max-height:700px){.company-page .history-stage{padding-top:calc(96px + var(--sub-tabs-size,64px))}}
}
@media(prefers-reduced-motion:reduce){.sub-section-tabs,.board-tabs,.esg-nav{transition:none}}
