/* style.css (FINAL) - HEADER CSS Á¦¿Ü ¹öÀü */
:root {
  --topbar-h: 90px;
  --side-gap: 28px;


  /* &#9989; header º¯¼ö¿´´ø °Íµé Á¦°Å:
     --topbar-fg
     --topbar-bg
  */


  /* Biz layout tokens (Desktop) */
  --biz-maxw: 1560px;
  --biz-right-pad: 40px;
  --biz-gap: 10px;
  --biz-h: 520px;


  /* Desktop */
  --biz-card-base: 380px;
  --biz-card-active: 960px;
  --biz-card-min: 260px;


  /* Mobile(<=768) */
  --biz-mobile-base-h: 220px; /* Á¢Èû ³ôÀÌ */
  --biz-mobile-active-h: 480px; /* &#9989; (Âü°í¿ë) ½ÇÁ¦ ÆîÄ§Àº JS°¡ height=480px °­Á¦ */


  /* IndexNav theme */
  --index-fg: #fff;
  --index-active-underline: rgba(255, 255, 255, 0.95);
  --index-idle-underline: rgba(255, 255, 255, 0.55);
}


/* &#9989; Topbar / Header °ü·Ã CSS Á¦°ÅµÊ */


/* IndexNav theme */
.indexNav {
  position: fixed;
  right: var(--side-gap);
  top: 86%;
  transform: translateY(-50%);
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--index-fg);
}


body.theme-light {
  --index-fg: #111;
  --index-active-underline: rgba(0, 0, 0, 0.95);
  --index-idle-underline: rgba(0, 0, 0, 0.45);
}


.indexNav__item {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: inherit;
}


.indexNav__num {
  font-weight: 600;
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--index-idle-underline);
}


.indexNav__item.is-active .indexNav__num {
  text-decoration-color: var(--index-active-underline);
}


/* Viewport & Track */
.viewport {
  height: 100vh;
  width: 100%;
  overflow: hidden;
  position: relative;
}
.track {
  height: 100%;
  width: 100%;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}


/* Sections */
.section {
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--topbar-h);
  opacity: 0.55;
  transform: scale(0.985);
  transition:
    opacity 600ms ease,
    transform 1100ms cubic-bezier(0.2, 0.9, 0.18, 1);
}
.section.is-active {
  opacity: 1;
  transform: scale(1);
}
.section__inner {
  max-width: 1560px;
  width: 100%;
  margin: 0 auto;
}
.section__inner > h2 {
  font-size: 5rem;
}


/* Section 1 */
.section.s1 {
  position: relative;
  overflow: hidden;
}
.section.s1 .section__inner--banner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.section.s1 .bannerSwiper {
  width: 100%;
  height: 100%;
}
.section.s1 .swiper-wrapper,
.section.s1 .swiper-slide {
  height: 100%;
}
.slide1 {
  background-image: url("/base_3/img/01.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.slide2 {
  background-image: url("/base_3/img/02.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


/* &#9989; ¹è³Ê ¿À¹ö·¹ÀÌ max-width Á¦°Å */
.heroOverlay {
  position: relative;
  width: 100%;
  max-width: none;
  height: 100%;
  padding: 44px;
  padding-top: calc(var(--topbar-h) + 24px);
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.62) 0%,
    rgba(0, 0, 0, 0.34) 45%,
    rgba(0, 0, 0, 0.18) 70%,
    rgba(0, 0, 0, 0.08) 100%
  );
}


.heroOverlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.22);
  pointer-events: none;
}


/* &#9989; ¹è³Ê ÅØ½ºÆ® "³ªÅ¸³ª´Â È¿°ú" Á¦°Å: Ç×»ó º¸ÀÌ°Ô */
.heroText {
  position: absolute;
  left: 96px;
  bottom: 170px;
  z-index: 2;
  max-width: min(860px, calc(100% - 140px));
  color: #fff;


  opacity: 1;
  transform: none;
  transition: none;
}


/* ³»ºÎ ½ºÅÂ°Åµµ Á¦°Å: Ç×»ó º¸ÀÌ°Ô */
.heroKicker,
.heroTitle,
.heroDesc {
  opacity: 1;
  transform: none;
  transition: none;
}


.heroKicker {
  margin: 0 0 14px;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
}
.heroTitle {
  margin: 0 0 16px;
  font-size: clamp(52px, 6vw, 104px);
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 900;
}
.heroDesc {
  margin: 0;
  font-size: 2.05rem;
  opacity: 0.95;
  line-height: 1.55;
  max-width: 52ch;
}


.sub_tit {
  display: flex;
  align-items: center;
  gap: 16px;
}
.sub_tit > p {
  font-size: 1.3rem;
  font-weight: 600;
  white-space: nowrap;
}
.sub_tit > .line {
  height: 1px;
  background-color: #222;
  width: 100%;
  flex: 1;
}


/* OUR BUSINESS (Desktop) */
.biz_sec {
  display: flex;
  align-items: stretch;
  gap: var(--biz-gap);
  height: var(--biz-h);
  max-width: var(--biz-maxw);
  margin-top: 60px;
  padding: 0 var(--biz-right-pad) 0 0;
  overflow: hidden;
}


.biz_item {
  flex: 0 0 var(--biz-card-base);
  min-width: var(--biz-card-min);
  position: relative;
  transition: flex-basis 520ms cubic-bezier(0.2, 0.9, 0.18, 1);
}
.biz_item.is-active {
  flex-basis: var(--biz-card-active);
}


.biz_coverLink {
  position: absolute;
  inset: 0;
  z-index: 1;
}


.biz_card {
  position: relative;
  height: 100%;
  overflow: hidden;
  color: #fff;
  border-radius: 0;
}


.biz_media {
  position: absolute;
  inset: 0;
}
.biz_thumb,
.biz_video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ±âº»: ½æ³×ÀÏ º¸ÀÓ */
.biz_video {
  opacity: 0;
  transition: opacity 360ms ease;
}
.biz_thumb {
  opacity: 1;
  transition: opacity 360ms ease;
}


/* PC hoverÀÏ ¶§¸¸ ¿µ»ó/½æ³×ÀÏ ÀüÈ¯ */
@media (hover: hover) and (pointer: fine) {
  .biz_item:hover .biz_video {
    opacity: 1;
  }
  .biz_item:hover .biz_thumb {
    opacity: 0;
  }
}


/* &#9989; °øÅë: JS°¡ is-playing ºÙÀÌ¸é ¿µ»óÀÌ º¸ÀÌ°Ô */
.biz_item.is-playing .biz_video {
  opacity: 1;
}
.biz_item.is-playing .biz_thumb {
  opacity: 0;
}


.biz_overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.55) 100%
  );
}


.biz_content {
  position: absolute;
  left: 36px;
  bottom: 28px;
  right: 80px;
  z-index: 3;
}
.biz_title {
  margin: 0 0 6px;
  font-size: 2.2rem;
  letter-spacing: 0.02em;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}


.biz_title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background: currentColor;
  opacity: 0.9;
}


.biz_desc {
  margin: 0 0 14px;
  font-size: 1.1rem;
  opacity: 0.9;
}


.biz_tags {
  display: none;
  flex-direction: column;
  gap: 8px;
  max-width: 520px;
  position: relative;
  z-index: 5;
}


@media (hover: hover) and (pointer: fine) {
  .biz_item:hover .biz_tags {
    display: flex;
  }
}
.biz_item.is-active .biz_tags {
  display: flex;
}


.biz_tags > a {
  display: inline-block;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 10px;
  font-size: 1.05rem;
  backdrop-filter: blur(2px);
  background: rgba(0, 0, 0, 0.18);
  position: relative;
  z-index: 5;
}


.biz_icon {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 6;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.15);
  color: #fff;
  cursor: pointer;
}


/* BG */
.s2 {
  background: url("/base_3/img/biz_bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.s3 {
  background: url("/base_3/img/str_bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


/* free scroll */
.section--free {
  align-items: stretch;
  justify-content: stretch;
}
.freeScroll {
  height: calc(100vh - var(--topbar-h));
  width: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}


/* footer fix */
.freeScroll__inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  width: 100%;
  align-items: stretch;
}
.freeScroll__inner > .section__inner {
  max-width: 1560px;
  width: 100%;
  margin: 0 auto;
}


/* Strength Cards (Desktop) */
.str_con {
  margin: 70px 0;
  display: flex;
  gap: 25px;
}


.str_con > li {
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 5px;
  padding: 19px 39px;
  max-width: 370px;
  box-sizing: border-box;
  color: #fff;
}


.str_con > li:hover {
  background-color: #fff;
  color: #222;
}


.str_con > li:hover .gif_c {
  display: block;
}
.str_con > li:hover .gif_w {
  display: none;
}


.str_con > li .gif_c {
  display: none;
}
.str_con > li .gif_w {
  display: block;
}


.str_con .gif_box {
  max-width: 140px;
  height: auto;
  margin: 0 auto;
}


.str_con .gif_box > img {
  width: 100%;
}


.str_con > li > h4 {
  font-size: 1.5rem;
  line-height: 1.5;
  text-align: center;
}


/* UL: ºí·ÏÀº °¡¿îµ¥, ³»¿ëÀº ¿ÞÂÊ */
.str_con > li > ul {
  margin-top: 23px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  padding-left: 1.2em;
  display: block;
}


.str_con > li > ul > li {
  font-size: 1.1rem;
  line-height: 1.4;
  list-style: disc;
  list-style-position: outside;
}


/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .section {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}


/* 1024px ÀÌÇÏ: °­Á¡ 2¿­ + Ä«µå ³»ºÎ(ÁÂ ¾ÆÀÌÄÜ / ¿ì ÅØ½ºÆ®) */
@media (max-width: 1024px) {
  .str_con {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 40px;
    align-items: stretch;
  }


  .str_con > li {
    max-width: none;
    width: 100%;
    padding: 22px 22px;


    display: grid;
    grid-template-columns: 160px 1fr;
    grid-template-areas:
      "gif title"
      "gif list";
    column-gap: 15px;
    align-items: start;
  }


  .str_con .gif_box {
    grid-area: gif;
    max-width: none;
    width: 140px;
    margin: 0;
  }


  .str_con > li > h4 {
    grid-area: title;
    text-align: left;
  }


  .str_con > li > ul {
    grid-area: list;
    width: auto;
    margin: 0;
    text-align: left;
    padding-left: 1.2em;
  }
}


/* 769~1024 »çÀÌ º¸Á¤ */
@media (min-width: 769px) and (max-width: 1024px) {
  .section__inner {
    padding: 0 16px;
  }


  .section__inner > h2 {
    font-size: 3.8rem;
  }


  .sub_tit > p {
    font-size: 1.1rem;
  }


  .str_con > li > h4 {
    font-size: 1.3rem;
  }
}


/* Mobile menu + Mobile biz stack (<=768) */
@media (max-width: 768px) {
  :root {
    --topbar-h: 64px;
    --side-gap: 12px;
    --biz-right-pad: 18px;


    --biz-mobile-base-h: 220px;
    --biz-mobile-active-h: 480px; /* &#9989; Âü°í¿ë(½ÇÁ¦´Â JS°¡ height·Î °íÁ¤) */
  }


  /* &#9989; header °ü·Ã(.gnb/.gnb__link/.menu-toggle) Á¦°ÅµÊ */


  .heroText {
    left: 50px;
    max-width: calc(100% - 70px);
    bottom: 140px;
  }
  .heroKicker {
    font-size: 1rem;
    margin-bottom: 10px;
  }
  .heroDesc {
    font-size: 1.1rem;
    width: 80%;
  }


  .section__inner {
    padding: 0 16px;
  }


  .section__inner > h2 {
    font-size: clamp(34px, 7vw, 44px);
    line-height: 1.1;
    margin-top: 10px;
  }


  /* s2 scroll stabilize */
  .section.s2 {
    align-items: flex-start;
    justify-content: flex-start;
    overflow: hidden;
    -webkit-overflow-scrolling: auto;
    padding-bottom: 0;
  }


  .section.s2 .section__inner {
    height: calc(100vh - var(--topbar-h));
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding: 18px 18px 22px;
  }


  /* &#9989; ¸ð¹ÙÀÏ biz: JS°¡ height¸¦ Á÷Á¢ ÁöÁ¤ (220 / 480) */
  .biz_sec {
    flex-direction: column;
    height: auto;
    overflow: visible;
    margin-top: 28px;
    padding: 0;
  }


  .biz_item {
    flex: none;
    flex-basis: auto !important;
    width: 100%;
    min-width: 0;
    height: var(--biz-mobile-base-h);
    overflow: hidden;
    transition: height 520ms cubic-bezier(0.2, 0.9, 0.18, 1);
  }


  /* CSS »óÇÑÀº ÀÇ¹Ì °ÅÀÇ ¾øÀ½(JS°¡ height·Î °­Á¦) */
  .biz_item.is-active {
    max-height: var(--biz-mobile-active-h) !important;
  }


  .biz_title {
    font-size: 24px;
  }


  .biz_content {
    left: 18px;
    right: 18px;
    bottom: 16px;
  }


  .biz_tags {
    max-width: 100%;
    gap: 6px;
  }


  .sub_tit > p {
    font-size: 1rem;
  }


  .biz_tags > a {
    padding: 8px 10px;
    font-size: 11px;
    border-radius: 10px;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    display: block;
    line-height: 1.35;
  }


  /* 768px ÀÌÇÏ: °­Á¡ 2¿­ À¯Áö */
  .str_con {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
    align-items: stretch;
  }


  .str_con > li {
    padding: 18px 18px;
    display: block;
  }


  .str_con .gif_box {
    max-width: 110px;
    width: auto;
    margin: 0 auto;
  }


  .str_con > li > h4 {
    text-align: center;
    font-size: 1.25rem;
  }


  .str_con > li > ul {
    margin-top: 14px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    padding-left: 1.2em;
  }


  .str_con > li > ul > li {
    font-size: 1rem;
  }
}


/* 425px ÀÌÇÏ */
@media (max-width: 425px) {
  .str_con {
    grid-template-columns: 1fr;
    gap: 12px;
  }


  .str_con > li {
    padding: 18px 16px;


    display: grid;
    grid-template-columns: 120px 1fr;
    grid-template-areas:
      "gif title"
      "gif list";
    column-gap: 16px;
    row-gap: 8px;
    align-items: start;
  }


  .str_con .gif_box {
    grid-area: gif;
    width: 96px;
    margin: 0;
    max-width: none;
  }


  .str_con > li > h4 {
    grid-area: title;
    text-align: left;
    font-size: 1.05rem;
  }


  .str_con > li > ul {
    grid-area: list;
    width: auto;
    margin: 0;
    text-align: left;
    padding-left: 1.2em;
    font-size: 0.95rem;
  }
}