@charset "UTF-8";
/* =========================================================
   CIW 홈페이지 - 메인(index.jsp) 전용 스타일
   기존 Tailwind 유틸을 옮겨온 것. 브레이크포인트는 Tailwind 기본값:
     max-md ~767.98px, max-lg ~1023.98px, lg 1024px~, xl 1280px~
   ========================================================= */

/* ---------------------------------------------------------
   공통 애니메이션 (메인 전용)
   --------------------------------------------------------- */
@keyframes fadeup {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes scrollline {
  0% { top: -56px; }
  100% { top: 56px; }
}

/* 섹션 공통 타이틀 */
.sec-tit {
  color: var(--navy);
  letter-spacing: -0.03em;
}

.sec-eng {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--brand);
  margin-bottom: 14px;
}

.sec-desc {
  margin-top: 18px;
  font-size: 17px;
  color: var(--graytxt);
}

@media (max-width: 767.98px) {
  .sec-eng { font-size: 13px; }
  .sec-desc { font-size: 15px; margin-top: 12px; }
}

/* =========================================================
   01. MAIN VISUAL
   ========================================================= */
.main-visual {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  background: #00143d; /* 모바일 상단 여백(pt) 구간이 슬라이드 배경 밖이라 흰색으로 뜨는 것 방지 */
}

@media (max-width: 767.98px) {
  .main-visual {
    height: auto;
    min-height: 0;
    padding-top: 130px;
    padding-bottom: 150px;
  }
}

.visual-swiper,
.visual-swiper .swiper-wrapper {
  height: 100%;
}

.visual-swiper .swiper-slide {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

@media (max-width: 767.98px) {
  .visual-swiper,
  .visual-swiper .swiper-wrapper {
    height: auto;
  }
  .visual-swiper .swiper-slide {
    height: auto;
    min-height: 560px;
  }
}

.visual-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-color: #00143d;
  transform: scale(1.06);
  transition: transform 7000ms ease-out;
}

.swiper-slide-active .visual-bg {
  transform: scale(1);
}

.visual-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 14, 44, 0.72) 0%, rgba(0, 26, 78, 0.42) 52%, rgba(0, 32, 99, 0.12) 100%);
}

.visual-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.6) 1px, transparent 1px);
  background-size: 90px 90px;
}

.slide01 .visual-bg { background-color: #00143d; background-image: url("/img/main/visual01.jpg"); }
.slide02 .visual-bg { background-color: #041d3f; background-image: url("/img/main/visual02.jpg"); }
.slide03 .visual-bg { background-color: #00102e; background-image: url("/img/main/visual03.jpg"); }

.main-visual .inner {
  position: relative;
  z-index: 2;
}

.visual-text {
  color: #fff;
  padding-top: 60px;
}

.visual-text .eng {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--skyaccent);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(30px);
}

.visual-text h2 {
  font-size: 60px;
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: -0.035em;
  opacity: 0;
  transform: translateY(30px);
}

.visual-text h2 strong {
  font-weight: 800;
}

.visual-text .desc {
  margin-top: 28px;
  font-size: 19px;
  color: rgba(255, 255, 255, 0.82);
  opacity: 0;
  transform: translateY(30px);
}

.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 44px;
  padding: 16px 38px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(30px);
}

.btn-more:hover {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

.swiper-slide-active .visual-text .eng { animation: fadeup 0.8s 0.3s forwards; }
.swiper-slide-active .visual-text h2 { animation: fadeup 0.8s 0.45s forwards; }
.swiper-slide-active .visual-text .desc { animation: fadeup 0.8s 0.6s forwards; }
.swiper-slide-active .btn-more { animation: fadeup 0.8s 0.75s forwards; }

@media (max-width: 767.98px) {
  .visual-text .eng { font-size: 13px; letter-spacing: 0.16em; margin-bottom: 16px; }
  .visual-text h2 { font-size: 31px; }
  .visual-text .desc { font-size: 16px; margin-top: 20px; }
  .btn-more { margin-top: 30px; padding: 13px 28px; font-size: 15px; }
}

/* ---- 비주얼 하단 컨트롤 ---- */
.visual-control {
  position: absolute;
  left: 50%;
  bottom: 70px;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 26px;
}

@media (max-width: 767.98px) {
  .visual-control {
    left: 20px;
    transform: translateX(0);
    bottom: 40px;
    padding-inline: 0;
    gap: 14px;
  }
}

.visual-paging {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 15px;
}

.visual-paging .current { font-weight: 800; }
.visual-paging i { width: 18px; height: 1px; background: rgba(255, 255, 255, 0.5); }
.visual-paging .total { color: rgba(255, 255, 255, 0.6); }

.visual-btns {
  display: flex;
  align-items: center;
  gap: 8px;
}

.visual-btns button {
  position: relative;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 9999px;
  transition: background-color 0.2s;
}

.visual-btns button:hover {
  background: rgba(255, 255, 255, 0.15);
}

.v-prev::before,
.v-next::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

.v-prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
.v-next::before { transform: translate(-70%, -50%) rotate(45deg); }

.v-play::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 11px;
  transform: translate(-50%, -50%);
  border-left: 3px solid #fff;
  border-right: 3px solid #fff;
}

.v-play.paused::before {
  width: 0;
  height: 0;
  border: 0;
  border-left: 9px solid #fff;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  transform: translate(-35%, -50%);
}

.visual-progress {
  width: 200px;
  height: 2px;
  background: rgba(255, 255, 255, 0.25);
}

.visual-progress i {
  display: block;
  height: 100%;
  background: #fff;
}

@media (max-width: 767.98px) {
  .visual-progress { display: none; }
}

.scroll-down {
  position: absolute;
  right: 40px;
  bottom: 70px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  letter-spacing: 0.18em;
  font-weight: 600;
}

.scroll-down i {
  position: relative;
  display: block;
  width: 1px;
  height: 56px;
  background: rgba(255, 255, 255, 0.4);
  overflow: hidden;
}

.scroll-down i::after {
  content: "";
  position: absolute;
  left: 0;
  top: -56px;
  width: 1px;
  height: 56px;
  background: #fff;
  animation: scrollline 1.8s infinite;
}

@media (max-width: 767.98px) {
  .scroll-down { display: none; }
}

/* =========================================================
   02. BUSINESS
   ========================================================= */
.sec-business {
  background: #fff;
  padding-top: 130px;
  padding-bottom: 120px;
}

.sec-business .sec-head {
  text-align: center;
  margin-bottom: 60px;
}

.sec-business .sec-tit,
.sec-quick .sec-tit {
  font-size: 44px;
}

@media (max-width: 767.98px) {
  .sec-business { padding-top: 70px; padding-bottom: 66px; }
  .sec-business .sec-head { margin-bottom: 36px; }
  .sec-business .sec-tit,
  .sec-quick .sec-tit { font-size: 27px; }
}

.biz-slider {
  position: relative;
}

.biz-swiper .swiper-slide {
  height: auto;
}

.biz-card {
  display: block;
  height: 100%;
  padding: 52px 40px 46px;
  background: var(--graybg);
  border-radius: 6px;
  transition: background 0.35s, transform 0.35s, box-shadow 0.35s;
}

.biz-card:hover {
  background: linear-gradient(150deg, #002063 0%, #105aac 100%);
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 32, 99, 0.22);
}

@media (max-width: 767.98px) {
  .biz-card { padding: 36px 26px 32px; }
}

.biz-num {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--brand);
  margin-bottom: 34px;
  transition: color 0.35s;
}

.biz-card:hover .biz-num { color: var(--skyaccent); }

.biz-ico {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1.1 / 1;
  margin-bottom: 28px;
  background: no-repeat center / contain;
  transition: transform 0.35s;
}

.biz-card:hover .biz-ico { transform: scale(1.05); }

.ico-check { background-image: url("/img/biz/ico-check.png"); }
.ico-data { background-image: url("/img/biz/ico-data.png"); }
.ico-tpa { background-image: url("/img/biz/ico-tpa.png"); }
.ico-partner { background-image: url("/img/biz/ico-partner.png"); }

.biz-tit {
  display: block;
  font-size: 25px;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 18px;
  letter-spacing: -0.03em;
  transition: color 0.35s;
}

.biz-card:hover .biz-tit { color: #fff; }

.biz-txt {
  display: block;
  font-size: 16px;
  color: var(--graytxt);
  line-height: 1.65;
  min-height: 82px;
  transition: color 0.35s;
}

.biz-card:hover .biz-txt { color: rgba(255, 255, 255, 0.82); }

.biz-more {
  position: relative;
  display: inline-block;
  margin-top: 30px;
  padding-right: 26px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--graysub);
  transition: color 0.35s;
}

.biz-card:hover .biz-more { color: #fff; }

.biz-more::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  margin-top: -4px;
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

@media (max-width: 767.98px) {
  .biz-tit { font-size: 21px; }
  .biz-txt { min-height: 0; font-size: 15px; }
}

.biz-prev,
.biz-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  background: #fff;
  border: 1px solid var(--grayline);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: background-color 0.2s, border-color 0.2s;
}

.biz-prev { left: -28px; }
.biz-next { right: -28px; }

.biz-prev:hover,
.biz-next:hover {
  background: var(--navy);
  border-color: var(--navy);
}

.biz-prev::before,
.biz-next::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--navy);
  border-right: 2px solid var(--navy);
}

.biz-prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
.biz-next::before { transform: translate(-70%, -50%) rotate(45deg); }

.biz-prev:hover::before,
.biz-next:hover::before { border-color: #fff; }

@media (max-width: 1023.98px) {
  .biz-prev { left: -10px; }
  .biz-next { right: -10px; }
}

@media (max-width: 767.98px) {
  .biz-prev,
  .biz-next { display: none; }
}

/* =========================================================
   03. NEWS
   ========================================================= */
.sec-news {
  background: var(--graybg);
  padding-block: 110px;
}

@media (max-width: 767.98px) {
  .sec-news { padding-block: 64px; }
}

.news-wrap {
  display: flex;
  flex-direction: column;
  gap: 44px;
  align-items: flex-start;
}

@media (min-width: 1024px) {
  .news-wrap { flex-direction: row; gap: 60px; }
}

.news-left {
  flex: 1;
  min-width: 0;
  width: 100%;
}

.news-head {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 34px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--navy);
}

.sec-news .sec-tit { font-size: 36px; }

@media (max-width: 767.98px) {
  .news-head { gap: 16px; padding-bottom: 18px; }
  .sec-news .sec-tit { font-size: 26px; width: 100%; }
}

.btn-plus {
  position: absolute;
  right: 0;
  top: 6px;
  width: 36px;
  height: 36px;
  line-height: 32px;
  text-align: center;
  border: 1px solid var(--grayline);
  border-radius: 9999px;
  background: #fff;
  font-size: 20px;
  color: var(--graysub);
  transition: all 0.2s;
}

.btn-plus:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

@media (max-width: 767.98px) {
  .btn-plus { top: 2px; }
}

.news-panel:not(.on) { display: none; }

.news-list li {
  border-bottom: 1px solid var(--grayline);
}

.news-list a {
  display: flex;
  gap: 36px;
  align-items: flex-start;
  padding: 30px 10px;
  transition: background-color 0.2s, padding 0.2s;
}

.news-list a:hover {
  background: #fff;
  padding-left: 22px;
  padding-right: 22px;
}

.news-list .date {
  flex-shrink: 0;
  width: 86px;
  text-align: center;
  color: var(--graysub);
  font-size: 14px;
  padding-top: 4px;
}

.news-list .date em {
  display: block;
  font-size: 34px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 4px;
}

.news-list .cont {
  min-width: 0;
}

.news-list .cont strong {
  display: block;
  font-size: 19px;
  font-weight: 600;
  color: #252525;
  margin-bottom: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s;
}

.news-list a:hover .cont strong { color: var(--brand); }

.news-list .txt {
  display: block;
  font-size: 15px;
  color: var(--graysub);
  line-height: 1.6;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 767.98px) {
  .news-list a { gap: 18px; padding: 20px 0; }
  .news-list a:hover { padding-left: 0; padding-right: 0; }
  .news-list .date { width: 62px; font-size: 12px; }
  .news-list .date em { font-size: 25px; }
  .news-list .cont strong { font-size: 16px; }
  .news-list .txt { font-size: 14px; }
}

.news-right {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 1024px) {
  .news-right { width: 340px; flex-shrink: 0; }
}

@media (max-width: 767.98px) {
  .news-right { flex-direction: row; }
}

.side-banner {
  position: relative;
  display: block;
  flex: 1;
  padding: 38px 34px 34px;
  border-radius: 6px;
  color: #fff;
  overflow: hidden;
  transition: transform 0.3s;
  background-position: center;
  background-size: cover;
}

.side-banner:hover { transform: translateY(-6px); }

.side-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(0, 16, 50, 0.62) 0%, rgba(0, 24, 74, 0.38) 100%);
  transition: background 0.3s;
}

.side-banner:hover::before {
  background: linear-gradient(150deg, rgba(0, 16, 50, 0.48) 0%, rgba(0, 24, 74, 0.24) 100%);
}

.side-banner.banner-01 { background-color: var(--navy); background-image: url("/img/banner/banner01.jpg"); }
.side-banner.banner-02 { background-color: var(--brand); background-image: url("/img/banner/banner02.jpg"); }

.side-banner > * {
  position: relative;
  z-index: 2;
}

.side-banner .bn-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  opacity: 0.75;
  margin-bottom: 14px;
}

.side-banner strong {
  display: block;
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.side-banner .bn-txt {
  display: block;
  margin-top: 12px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
}

.side-banner .bn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-top: 26px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 9999px;
  font-size: 16px;
}

/* =========================================================
   04. QUICK ZONE
   ========================================================= */
.sec-quick {
  background: #fff;
  padding-block: 110px;
}

@media (max-width: 767.98px) {
  .sec-quick { padding-block: 64px; }
}

.quick-head {
  text-align: center;
  margin-bottom: 52px;
}

.quick-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 767.98px) {
  .quick-list { grid-template-columns: 1fr; gap: 14px; }
}

.quick-list a {
  display: block;
  padding: 46px 30px 42px;
  text-align: center;
  border: 1px solid var(--grayline);
  border-radius: 6px;
  transition: all 0.3s;
}

.quick-list a:hover {
  border-color: var(--navy);
  background: var(--navy);
  transform: translateY(-8px);
}

@media (max-width: 767.98px) {
  .quick-list a {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 18px;
    padding: 28px 22px;
    flex-wrap: wrap;
  }
  .quick-list a:hover { transform: translateY(0); }
}

.q-ico {
  position: relative;
  display: block;
  width: 56px;
  height: 56px;
  margin: 0 auto 22px;
  border-radius: 9999px;
  background: var(--bluelight);
  transition: background-color 0.3s;
}

.quick-list a:hover .q-ico { background: rgba(255, 255, 255, 0.14); }

@media (max-width: 767.98px) {
  .q-ico { margin: 0; flex-shrink: 0; }
}

.ico-people::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 3px solid var(--brand);
  border-radius: 50% 50% 40% 40%;
}

.ico-map::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  width: 20px;
  height: 20px;
  border: 3px solid var(--brand);
  border-radius: 50% 50% 50% 0;
}

.quick-list a:hover .q-ico::before { border-color: #fff; }

.quick-list strong {
  display: block;
  font-size: 21px;
  color: var(--navy);
  margin-bottom: 10px;
  transition: color 0.3s;
}

.quick-list a:hover strong { color: #fff; }

.q-txt {
  display: block;
  font-size: 15px;
  color: var(--graysub);
  transition: color 0.3s;
}

.quick-list a:hover .q-txt { color: rgba(255, 255, 255, 0.75); }

@media (max-width: 767.98px) {
  .quick-list strong { font-size: 18px; margin-bottom: 4px; }
}

/* =========================================================
   05. PARTNERS
   ========================================================= */
.sec-partner {
  background: var(--graybg);
  padding-top: 80px;
  padding-bottom: 100px;
}

@media (max-width: 767.98px) {
  .sec-partner { padding-top: 56px; padding-bottom: 66px; }
}

.partner-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 34px;
}

.sec-partner .sec-tit { font-size: 30px; }

@media (max-width: 767.98px) {
  .sec-partner .sec-tit { font-size: 23px; }
}

.partner-btns {
  display: flex;
  gap: 8px;
}

.p-prev,
.p-next {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 9999px;
  border: 1px solid var(--grayline);
  background: #fff;
  transition: all 0.2s;
}

.p-prev:hover,
.p-next:hover {
  background: var(--navy);
  border-color: var(--navy);
}

.p-prev::before,
.p-next::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--navy);
  border-right: 2px solid var(--navy);
}

.p-prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
.p-next::before { transform: translate(-70%, -50%) rotate(45deg); }

.p-prev:hover::before,
.p-next:hover::before { border-color: #fff; }

.partner-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 110px;
  background: #fff;
  border: 1px solid var(--grayline);
  border-radius: 4px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.partner-swiper .swiper-slide:hover {
  border-color: var(--navy);
  box-shadow: 0 8px 20px rgba(0, 32, 99, 0.1);
}

.p-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 16px;
}

.p-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.62;
  transition: filter 0.3s, opacity 0.3s;
}

.p-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
}
