.business-section {
  position: relative;
  width: 100%;
  min-height: 850px;
  padding: 145px 0 160px;

  background:
    linear-gradient(
      rgba(0, 10, 18, 0),
      rgba(0, 10, 18, 0)
    ),
    url('/theme/koreamedi/img/business-bg.jpg');

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.business-inner {
  position: relative;
  z-index: 1;
}

/* 카드 전체 */
.business-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(0, 0, 0, 0.6);
}

/* 개별 카드 */
.business-card {
  min-height: 325px;
  padding: 80px 20px 80px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;

  color: #fff;
  background: transparent;

  transition: background-color 0.35s ease;
}

/* 아이콘 */
.business-card img {
  width: 85px;
  height: 85px;
  object-fit: contain;
  margin-bottom: 28px;
}

/* 카드 제목 */
.business-card h3 {
  margin: 0 0 12px;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.7px;
}

/* 카드 설명 */
.business-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
}

/* 활성화 카드 */
.business-card.is-active,
.business-card:hover,
.business-card:focus-visible {
  background-color: var(--color-primary);
}


/* 카드 순차 등장 애니메이션 */
.business-cards .business-card {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease,
    background-color 0.35s ease;
}

/* 부모 AOS가 활성화되면 카드 등장 */
.business-cards.aos-animate .business-card {
  opacity: 1;
  transform: translateY(0);
}

/* 카드별 시간차 */
.business-card:nth-child(1) {
  transition-delay: 0.2s;
}

.business-card:nth-child(2) {
  transition-delay: 0.5s;
}

.business-card:nth-child(3) {
  transition-delay: 0.8s;
}

/* 마우스 오버 시 즉시 색상 변경 */
.business-card:hover {
  background-color: #00a6dc;
  transition-delay: 0s;
}

/* 모션 감소 설정 */
@media (prefers-reduced-motion: reduce) {
  .business-cards .business-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* 모바일 */
@media (max-width: 768px) {

  .business-section {
    min-height: auto;
    padding: 85px 0;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .section-label {
    font-size: 26px;
  }

  .section-title {
    font-size: 25px;
  }

  .section-description {
    font-size: 14px;
  }

  .business-cards {
    grid-template-columns: 1fr;
  }

  .business-card {
    min-height: 240px;
    padding: 35px 20px;
  }

  .business-card img {
    width: 65px;
    height: 65px;
    margin-bottom: 18px;
  }

  .business-card h3 {
    font-size: 20px;
  }

}






/* =====================================
   KOREAMEDI - RESOURCE & NETWORK
===================================== */

.km-resource-section {
  padding: 125px 0 150px;
  background: #fff;
  font-family: 'Pretendard', sans-serif;
  color: #000;
  word-break: keep-all;
}

.km-resource-section * {
  box-sizing: border-box;
}

.km-resource-inner {
  width: calc(100% - 100px);
  max-width: 1320px;
  margin: 0 auto;
}

/* 자료실 작은 타이틀 */
.km-section-label {
  margin: 0 0 18px;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.4;
}

.km-section-label::first-letter {
  color: #00699d;
}

/* 타이틀과 바로가기 */
.km-resource-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.km-resource-text h2 {
  margin: 0;
  font-size: 52px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -2.5px;
}

.km-resource-text h2 span {
  font-weight: 300;
}

.km-resource-text p {
  margin: 18px 0 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  color: #777;
  letter-spacing: -0.5px;
}

/* 자료실 바로가기 */
.km-resource-more {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 7px;
  font-size: 19px;
  font-weight: 700;
  color: #111;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.3s;
}

.km-more-arrow {
  position: relative;
  display: inline-block;
  width: 65px;
  height: 1px;
  background: #111;
  transition: width 0.3s;
}

.km-more-arrow::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 12px;
  height: 1px;
  background: #111;
  transform: rotate(45deg);
  transform-origin: right center;
}

.km-resource-more:hover {
  color: #00699d;
}

.km-resource-more:hover .km-more-arrow {
  width: 85px;
}

/* =====================================
   GLOBAL NETWORK
===================================== */

.km-network {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 432px;
  margin-top: 110px;
  overflow: hidden;

  background-image: url('/theme/koreamedi/img/network-bg.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #082c4a;

  color: #fff;
}

/* 배경 어둡게 */
.km-network::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(2, 24, 44, 0.12),
    rgba(1, 20, 37, 0.24)
  );
}

.km-network-content {
  position: relative;
  z-index: 1;
  width: 54%;
  padding: 30px 7% 30px 0;
}

.km-network-content h2 {
  margin: 0 0 5px;
  font-size: 44px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -1px;
  color: #fff;
}

.km-network-content p {
  margin: 10px 0 31px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: -0.5px;
  color: #fff;
}

/* 네트워크 버튼 4개 */
.km-network-buttons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.km-network-buttons button {
  min-height: 48px;
  padding: 10px 4px;
  border: 1px solid transparent;

  background: rgba(4, 31, 52, 0.65);
  color: #fff;

  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;

  transition: all 0.3s ease;
}

/* 선택된 버튼 */
.km-network-buttons button.active {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

/* 마우스 오버 */
.km-network-buttons button:hover {
  background: rgba(0, 105, 157, 0.8);
}


/* =====================================
   TABLET
===================================== */

@media (max-width: 1024px) {

  .km-resource-section {
    padding: 90px 0 100px;
  }

  .km-resource-inner {
    width: calc(100% - 60px);
  }

  .km-resource-text h2 {
    font-size: 42px;
  }

  .km-resource-text p {
    font-size: 16px;
  }

  .km-resource-more {
    font-size: 16px;
  }

  .km-network {
    margin-top: 75px;
    min-height: 390px;
  }

  .km-network-content {
    width: 65%;
    padding-right: 5%;
  }

  .km-network-content h2 {
    font-size: 36px;
  }

  .km-network-content p {
    font-size: 16px;
  }
}


/* =====================================
   MOBILE
===================================== */

@media (max-width: 767px) {

  .km-resource-section {
    padding: 65px 0 80px;
  }

  .km-resource-inner {
    width: calc(100% - 36px);
  }

  .km-section-label {
    font-size: 23px;
    margin-bottom: 15px;
  }

  .km-resource-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }

  .km-resource-text h2 {
    font-size: clamp(28px, 7vw, 38px);
    line-height: 1.45;
    letter-spacing: -1.5px;
  }

  .km-resource-text p {
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.8;
  }

  .km-resource-more {
    font-size: 15px;
    margin: 0;
  }

  .km-more-arrow {
    width: 45px;
  }

  /* 모바일 네트워크 */
  .km-network {
    min-height: 370px;
    margin-top: 45px;
    justify-content: center;
    background-position: 35% center;
  }

  .km-network::before {
    background: rgba(0, 22, 43, 0.53);
  }

  .km-network-content {
    width: 100%;
    padding: 35px 20px;
    text-align: center;
  }

  .km-network-content h2 {
    font-size: 30px;
  }

  .km-network-content p {
    margin: 12px 0 28px;
    font-size: 14px;
    line-height: 1.7;
  }

  .km-network-buttons {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .km-network-buttons button {
    min-height: 46px;
    font-size: 14px;
  }

}




.km-network-buttons a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 4px;
  border: 1px solid transparent;
  background: rgba(4, 31, 52, 0.65);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.km-network-buttons a:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

/* 모바일 */
@media (max-width: 767px) {
  .km-network-buttons a {
    min-height: 46px;
    font-size: 14px;
  }
}






/* =====================================
   KOREAMEDI FOOTER
===================================== */

.km-footer {
  width: 100%;
  background: #1b1e1d;
  color: #fff;
  font-family: 'Pretendard', sans-serif;
  font-size: 14px;
  position: relative;
}

.km-footer * {
  box-sizing: border-box;
}

.km-footer a {
  color: inherit;
  text-decoration: none;
}

.km-footer-inner {
  width: calc(100% - 60px);
  max-width: 1320px;
  margin: 0 auto;
}

/* =====================================
   상단 메뉴
===================================== */

.km-footer-top {
  height: 84px;
  border-bottom: 1px solid #414443;
}

.km-footer-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* 제품 문의하기 */
.km-footer-inquiry {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 206px;
  height: 84px;
  background: #00a4dc;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  transition: background 0.3s ease;
}

.km-footer-inquiry svg {
  width: 29px;
  height: 29px;
}

.km-footer-inquiry:hover {
  background: #007fae;
}

/* 푸터 메뉴 */
.km-footer-nav {
  display: flex;
  align-items: center;
}

.km-footer-nav a {
  position: relative;
  padding: 0 27px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.3s;
}

.km-footer-nav a:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 1px;
  height: 14px;
  background: #676968;
  transform: translateY(-50%);
}

.km-footer-nav a:last-child {
  padding-right: 0;
}

.km-footer-nav a:hover {
  color: #00a4dc;
}

/* =====================================
   회사 정보
===================================== */

.km-footer-main {
  padding: 65px 0 100px; position: relative;
}

.km-footer-info {
  display: grid;
  grid-template-columns: 310px 1fr 1.2fr;
  align-items: start;
  gap: 55px;
}

/* 로고 */
.km-footer-logo img {
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
}

/* 주소 */
.km-footer-address h3 {
  margin: 12px 0 5px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.km-footer-address p {
  margin: 3px 0;
  font-size: 14px;
  line-height: 1.55;
  color: #f0f0f0;
  letter-spacing: -0.3px;
}

.km-footer-address p span {
  margin-left: 12px;
}

/* =====================================
   하단 카피라이트
===================================== */

.km-footer-bottom {
  min-height: 80px;
  background: #000;
}

.km-footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 80px;
}

.km-footer-bottom p {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  color: #aaa;
}

.km-footer-bottom a {
  color: #aaa;
}

.km-footer-bottom a:hover {
  color: #fff;
}


/* =====================================
   TABLET
===================================== */

@media (max-width: 1200px) {

  .km-footer-info {
    grid-template-columns: 250px 1fr 1fr;
    gap: 25px;
  }

  .km-footer-logo img {
    width: 230px;
  }

  .km-footer-address p {
    font-size: 13px;
  }

  .km-footer-address p span {
    margin-left: 0;
  }

  .km-footer-nav a {
    padding: 0 15px;
    font-size: 14px;
  }
}

@media (max-width: 991px) {

  .km-footer-top {
    height: auto;
  }

  .km-footer-top-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .km-footer-inquiry {
    width: 100%;
    height: 65px;
  }

  .km-footer-nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px 0;
    padding: 20px 0;
  }

  .km-footer-info {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .km-footer-logo {
    grid-column: 1 / -1;
  }

  .km-footer-main {
    padding: 50px 0 70px;
  }

}


/* =====================================
   MOBILE
===================================== */

@media (max-width: 767px) {

  .km-footer-inner {
    width: calc(100% - 36px);
  }

  .km-footer-inquiry {
    height: 60px;
    font-size: 16px;
  }

  .km-footer-inquiry svg {
    width: 23px;
    height: 23px;
  }

  .km-footer-nav {
    gap: 12px 0;
    padding: 22px 0;
  }

  .km-footer-nav a {
    font-size: 12px;
    padding: 0 12px;
  }

  .km-footer-nav a:last-child {
    padding-right: 12px;
  }

  .km-footer-main {
    padding: 45px 0 60px;
  }

  .km-footer-info {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .km-footer-logo {
    grid-column: auto;
    margin-bottom: 10px;
  }

  .km-footer-logo img {
    width: 230px;
  }

  .km-footer-address h3 {
    margin: 0 0 8px;
    font-size: 15px;
  }

  .km-footer-address p {
    font-size: 13px;
    line-height: 1.8;
  }

  .km-footer-address p span {
    display: block;
    margin-left: 0;
  }

  .km-footer-bottom-inner {
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 7px;
    padding: 22px 0;
  }

  .km-footer-bottom p {
    font-size: 12px;
    line-height: 1.6;
  }

}


#top_btn{position:fixed;bottom:40px;right:30px}
#top_btn a{display:block; width:50px;height:50px;line-height:50px;background:#83868d url(../img/icon_gotop.png) center top no-repeat;
  border-radius:50%;}







/* ======================================
   PRODUCT SECTION
====================================== */

.km-product-section {
  padding: 120px 0 150px;
  background: #fff;
  overflow: hidden;
  font-family: 'Pretendard', sans-serif;
  color: #111;
  word-break: keep-all;
}

.km-product-section * {
  box-sizing: border-box;
}

.km-product-inner {
  width: calc(100% - 60px);
  max-width: 1320px;
  margin: 0 auto;
}

/* ======================================
   PRODUCT TITLE
====================================== */

.km-product-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 48px;
}

.km-product-label {
  margin: 0 0 15px;
  font-size: 27px;
  font-weight: 300;
  letter-spacing: -1px;
}

.km-product-label strong {
  color: #006da4;
  font-weight: 800;
}

.km-product-heading h2 {
  margin: 0;
  font-size: 40px;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: -1.8px;
}

.km-product-heading h2 strong {
  font-weight: 800;
}

.km-product-desc {
  margin: 12px 0 0;
  font-size: 15px;
  color: #777;
}

/* 제품 전체보기 */
.km-product-more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 5px;
  color: #111;
  font-size: 19px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.km-product-arrow {
  position: relative;
  display: block;
  width: 48px;
  height: 1px;
  background: #111;
  transition: width 0.3s;
}

.km-product-arrow::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 10px;
  height: 1px;
  background: #111;
  transform: rotate(45deg);
  transform-origin: right center;
}

.km-product-more:hover {
  color: #006da4;
}

.km-product-more:hover .km-product-arrow {
  width: 65px;
}

/* ======================================
   PRODUCT SLIDER
====================================== */

/*
   왼쪽은 콘텐츠 기준 위치 유지
   오른쪽은 브라우저 끝까지 확장
*/

.km-product-slider-wrap {
  width: calc(
    100% + max(30px, (100vw - 1320px) / 2)
  );
  overflow: hidden;
}

/* 슬라이더 */
.km-product-swiper {
  width: 100%;
  overflow: visible;
}

/* 카드 너비 고정 */
.km-product-swiper .swiper-slide {
  width: 340px;
  height: 492px;
  flex-shrink: 0;
}

/* 위아래 엇갈림 */
.km-product-swiper .swiper-slide:nth-child(even) {
  padding-top: 36px;
}

.km-product-swiper .swiper-slide:nth-child(odd) {
  padding-bottom: 36px;
}

/* ======================================
   PRODUCT CARD
====================================== */

.km-product-card {
  position: relative;
  display: block;
  width: 100%;
  height: 456px;
  overflow: hidden;
  background: #174260;
  color: #fff;
  text-decoration: none;
}

/* 이미지 */
.km-product-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

/* 기본 어두운 오버레이 */
.km-product-card::before {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.48) 0%,
    rgba(0, 0, 0, 0.12) 50%,
    rgba(0, 0, 0, 0.2) 100%
  );
  transition: opacity 0.4s;
}

/* 마우스 오버 푸른색 그라데이션 */
.km-product-card::after {
  content: '';
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 117, 178, 0.9) 0%,
    rgba(0, 112, 177, 0.55) 40%,
    rgba(0, 80, 140, 0.08) 100%
  );
  opacity: 0;
  transition: opacity 0.45s ease;
}

.km-product-card:hover::after {
  opacity: 1;
}

.km-product-card:hover img {
  transform: scale(1.07);
}

/* 카드 내용 */
.km-product-card-content {
  position: absolute;
  z-index: 3;
  top: 40px;
  left: 40px;
  right: 25px;
  color: #fff;
  text-align: left !important;
}

.km-product-card-content h3 {
  margin: 0 0 2px;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -1px;
  color: #fff;
}

.km-product-card-content span {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
}

.km-product-card-content p {
  margin: 20px 0 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.75;
  color: #fff;

  opacity: 0;
  transform: translateY(12px);
  transition: all 0.4s ease;
}

/* 설명 등장 */
.km-product-card:hover .km-product-card-content p {
  opacity: 1;
  transform: translateY(0);
}


/* ======================================
   TABLET
====================================== */

@media (max-width: 1024px) {

  .km-product-section {
    padding: 90px 0 110px;
  }

  .km-product-heading h2 {
    font-size: 33px;
  }

  .km-product-swiper .swiper-slide {
    width: 300px;
    height: 450px;
  }

  .km-product-card {
    height: 414px;
  }

  .km-product-card-content {
    top: 32px;
    left: 28px;
  }

  .km-product-card-content h3 {
    font-size: 26px;
  }
}


/* ======================================
   MOBILE
====================================== */

@media (max-width: 767px) {

  .km-product-section {
    padding: 70px 0 80px;
  }

  .km-product-inner {
    width: calc(100% - 36px);
  }

  .km-product-heading {
    display: block;
    margin-bottom: 35px;
  }

  .km-product-label {
    font-size: 23px;
    margin-bottom: 12px;
  }

  .km-product-heading h2 {
    font-size: clamp(24px, 5.7vw, 30px);
    line-height: 1.5;
    letter-spacing: -1px;
  }

  .km-product-desc {
    font-size: 13px;
    line-height: 1.7;
    margin-top: 14px;
  }

  .km-product-more {
    margin-top: 25px;
    font-size: 14px;
  }

  .km-product-slider-wrap {
    width: calc(100% + 18px);
  }

  .km-product-swiper .swiper-slide {
    width: min(76vw, 290px);
    height: 405px;
  }

  .km-product-card {
    height: 375px;
  }

  .km-product-swiper .swiper-slide:nth-child(even) {
    padding-top: 30px;
  }

  .km-product-swiper .swiper-slide:nth-child(odd) {
    padding-bottom: 30px;
  }

  .km-product-card-content {
    top: 28px;
    left: 25px;
    right: 20px;
  }

  .km-product-card-content h3 {
    font-size: 25px;
  }

  .km-product-card-content span {
    font-size: 14px;
  }

  .km-product-card-content p {
    font-size: 13px;
    line-height: 1.7;
  }

  /* 터치 기기에서는 설명 표시 */
  @media (hover: none) {
    .km-product-card::after {
      opacity: 0.45;
    }

    .km-product-card-content p {
      opacity: 1;
      transform: none;
    }
  }
}

/* =====================================
   퀵메뉴 (Email / Blog / Cafe)
===================================== */
.km-quick{position:fixed;right:20px;top:50%;transform:translateY(-50%);z-index:80;display:flex;flex-direction:column;gap:10px}
.km-quick-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:64px;height:72px;border-radius:14px;background:#fff;box-shadow:0 6px 18px rgba(16,43,64,.18);color:#102b40;text-decoration:none;transition:transform .25s,box-shadow .25s}
.km-quick-item:hover{transform:translateX(-6px);box-shadow:0 10px 24px rgba(16,43,64,.28);text-decoration:none}
.km-quick-ico{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;color:#fff;font-size:16px}
.km-quick-mail .km-quick-ico{background:#102b40}
.km-quick-naver .km-quick-ico{background:#03c75a}
.km-quick-naver .km-quick-ico img{width:16px;height:16px;filter:brightness(0) invert(1)}
.km-quick-txt{font-size:11px;font-weight:700;letter-spacing:.5px;line-height:1}
.km-quick-naver:hover .km-quick-txt{color:#03c75a}
.km-quick-mail:hover .km-quick-txt{color:#009cdb}
@media (max-width:1024px){
  .km-quick{right:10px;top:auto;bottom:110px;transform:none;gap:8px}
  .km-quick-item{width:52px;height:58px;border-radius:12px}
  .km-quick-ico{width:28px;height:28px;font-size:13px}
  .km-quick-naver .km-quick-ico img{width:13px;height:13px}
  .km-quick-txt{font-size:10px}
}

/* 푸터 상단: 제품 문의하기 버튼 제거 후 메뉴만 오른쪽 정렬 */
.km-footer-top-inner{justify-content:flex-end}
@media (max-width:768px){.km-footer-top-inner{justify-content:center}}
