@charset "UTF-8";

html {
  font-size: 62.5%;
}

h2 {
  font-size: 4.8rem;
  font-weight: 600;
  color: #2162b6;
  line-height: 1.5;
  margin-bottom: 8rem;
  text-align: center;
}

.inner {
  width: 1400px;
  max-width: 100%;
  padding-left: 20px !important;
  padding-right: 20px !important;
  box-sizing: border-box;
  margin: auto;
}

.br_m {
  display: none;
}

/* --- Intro Screen (페이지 전체 가림) --- */

.intro_screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #fff;
  z-index: 3000;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.intro_logo_wrap img {
  width: 320px; /* 초기 로고 크기 */
  opacity: 0;
}

/* 애니메이션 중 pointer-events 방지 */
.intro_screen.disable {
  pointer-events: none;
}

.intro_logo_wrap {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5000;
}

.intro_logo_wrap img {
  display: block;
  transform-origin: center center;
}

/* 헤더 */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100px;
  padding: 0 100px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.8);
  transition: all 0.5s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-sizing: border-box;
  transform: translateZ(0);
}

header.active {
  height: 60px;
}

header.active:hover {
  height: 100px;
}

header a {
  font-size: 16px;
  font-weight: 500;
  padding: 8px 40px;
  border-radius: 50px;
  background: #407ece;
  color: #fff;
  transition: all 0.5s ease;
}

header a:hover {
  background: #2162b6;
}

header .logo-link {
  background: none;
}

header .logo-link:hover {
  background: none;
}

header .logo-link img {
  display: block;
  height: 28px;
}

/* 푸터 */

footer {
  padding: 48px 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer p {
  font-size: 14px;
  font-weight: 400;
  color: #aaa;
  letter-spacing: -0.02em;
}

footer .family_site {
  width: 200px;
  box-shadow: inset 0 0 0 1px #ddd;
  padding: 0 8px;
  position: relative;
  border-radius: 8px;
}

footer .family_site p {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #222;
  letter-spacing: -0.02em;
}

footer .family_site p span {
  color: #2162b6;
}

footer .family_site ul {
  display: flex;
  flex-direction: column;
  box-shadow: inset 0 0 0 1px #ddd;
  border-radius: 8px;
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 40px;
  background: #fff;
  overflow: hidden;
  max-height: 0;
  transition: all 0.5s ease-in-out;
}

footer .family_site ul li a {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #222;
  letter-spacing: -0.02em;
  padding: 12px 8px;
  cursor: pointer;
  transition: all 0.5s ease;
}

footer .family_site ul li:hover {
  background: #d3e0f0;
}

/* 비쥬얼 */

.visual {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: #fff;
}

.visual_background {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 0;
  width: 100%;
}

.visual_background::after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

video {
  width: 100%;
}

.visual_txt {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  position: relative;
  z-index: 1;
  gap: 40px;
}

/********************************************************************************************/

.visual_txt h1 {
  font-size: 6rem;
  font-weight: 400;
  color: #407ece;
  margin-bottom: 4rem;
  text-align: center;
  opacity: 0;
  transform: translateY(40px);
}

.visual_txt h1 span {
  color: #2162b6;
  font-weight: 600;
}

/*******************************************************************************************/

.visual_txt ul {
  display: flex;
  gap: 40px;
}

.visual_txt ul li {
  opacity: 0;
  transform: translateY(20px);
}

.visual_txt ul li img {
  width: 64px;
}

/* 섹션01 */
.sec01 {
  padding: 12rem 0;
}

.sec01 ul {
  display: flex;
  gap: 12px;
}

.sec01 ul li {
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.sec01 ul li .img_box {
  height: 220px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.sec01 ul li h3 {
  font-size: 24px;
  font-weight: 600;
  color: #2162b6;
  margin-bottom: 12px;
  text-align: center;
}

.sec01 ul li p {
  font-size: 18px;
  font-weight: 400;
  color: #444;
  text-align: center;
}

.sec01 ul li .hover_cont {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: #2162b6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  transform: translateY(100%);
  transition: all 0.5s ease;
  border-radius: 20px;
}

.sec01 ul li:hover .hover_cont {
  transform: translateY(0);
}

.sec01 ul li .hover_cont h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 24px;
  color: #fff;
}

.sec01 ul li .hover_cont p {
  font-size: 24px;
  font-weight: 400;
  color: #ddd;
  text-align: center;
}

.sec01 ul li .hover_cont p span {
  font-weight: 600;
  color: #fff;
}

/* 섹션02 */
.sec02 {
  background: url(../img/sec02_back.svg) no-repeat center center / cover fixed
    #2162b6;
  padding: 12rem 0;
  overflow: hidden;
}
/* 
.sec02-bg-fixed {
  will-change: transform, opacity;
} */

.sec02 h2 {
  color: #fff;
  margin-bottom: 16rem;
}

.sec02 ul {
  display: flex;
  flex-direction: column;
  gap: 8rem;
}

.sec02 ul li {
  display: flex;
  align-items: center;
  gap: 40px;
}

.sec02 ul li:nth-child(2) {
  flex-direction: row-reverse;
}

.sec02 ul li div {
  flex: 1;
}

.sec02 ul li .txt h3 {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 32px;
}

.sec02 ul li .txt p {
  font-size: 20px;
  font-weight: 400;
  color: #eee;
  margin-bottom: 12px;
}

.sec02 ul li .txt p:last-child {
  margin-bottom: 0;
}

.sec02 ul li .img_box {
  padding: 20px;
  border-radius: 20px;
  background: #fdfdfd;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.sec02 ul li:first-child .img_box {
  padding: 0;
}

.sec02 ul li:nth-child(3) .img_box {
  background: #1f2937;
}

/* 섹션03 */

.sec03 {
  padding: 12rem 0;
}

.sec03 ul {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.sec03 ul li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 40px 20px;
  flex: 1;
  height: 340px;
  transition: all 0.5s ease;
  background: #fff;
}

.sec03 ul li:hover {
  flex: 1.15;
  border-color: #2162b6;
}

.sec03 ul li .img_box,
.sec03 ul li .img_box img,
.sec03 ul li .txt,
.sec03 ul li h3,
.sec03 ul li p,
.sec03 ul li span {
  transition: all 0.5s ease;
}

.sec03 ul li .img_box {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 280px;
  height: 160px;
  overflow: hidden;
  margin-bottom: 32px;
}

.sec03 ul li .img_box img {
  object-fit: contain;
}

.sec03 ul li h3 {
  font-size: 24px;
  font-weight: 600;
  color: #2162b6;
  text-align: center;
  cursor: default;
}

.sec03 ul li:hover .txt {
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.sec03 ul li:hover .img_box {
  margin-bottom: 0;
}

.sec03 ul li span {
  display: block;
  height: 0;
  opacity: 0;
  overflow: hidden;
  font-size: 15px;
  font-weight: 400;
  color: #444;
  width: 280px;
  cursor: default;
  text-align: center;
  transform: translateY(20px);
}

.sec03 ul li:hover span {
  height: auto;
  max-height: 500px;
  opacity: 1;
  padding-top: 36px;
  transform: translateY(0);
}

.sec03 ul li span em {
  color: #2162b6;
  font-size: inherit;
  font-style: normal;
  font-weight: 500;
}

/* 섹션04 */

.sec04 {
  padding: 12rem 0;
  overflow: hidden;
}

.sec04 .tab_btn {
  margin-bottom: 60px;
  display: flex;
  justify-content: center;
}

.sec04 .tab_btn ul {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  border-radius: 50px;
  background: #d3e0f0;
  padding: 4px;
}

.sec04 .tab_btn ul::after {
  position: absolute;
  content: "";
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  top: 50%;
  left: 4px;
  transform: translateY(-50%);
  background: #2162b6;
  border-radius: 50px;
  z-index: 0;
  transition: all 0.5s ease;
}

.sec04 .tab_btn ul:has(li:nth-child(2).active)::after {
  left: 50%;
}

.sec04 .tab_btn ul li {
  position: relative;
  z-index: 1;
  font-size: 16px;
  font-weight: 500;
  color: #2162b6;
  padding: 8px 32px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sec04 .tab_btn ul li.active {
  color: #fff;
}

.sec04 .tab_cont .swiper-slide {
  border-radius: 20px;
  overflow: hidden;
}

.sec04 .tab_cont .swiper-slide img {
  object-fit: cover;
}

.sec04 .tab_cont .btn_box {
  display: flex;
  margin: 0 20px 20px;
}

.sec04 .swiper-pagination-bullets {
  position: absolute;
  bottom: 20px;
  left: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.sec04 .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  background: #fff;
  opacity: 0.5;
  margin: 0 !important;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.sec04 .swiper-pagination-bullet-active {
  opacity: 1;
  position: relative;
}

.sec04 .sec04_navigation {
  padding: 0 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 0%);
  display: flex;
  justify-content: space-between;
  z-index: 2;
  width: 100%;
  opacity: 0;
  transition: all 0.3s ease;
}

.sec04:hover .sec04_navigation {
  transform: translate(-50%, -50%);
  opacity: 1;
}

.sec04 .sec04_navigation > div i {
  font-size: 20px;
  color: #fff;
}

.sec04 .sec04_navigation .next {
  transform: scale(-1);
}

/* 섹션05 */
.sec05 {
  padding: 12rem 0;
}

.sec05 ul {
  display: flex;
}

.sec05 ul li {
  border-right: 1px solid #ddd;
  flex: 1;
  padding: 40px;
  position: relative;
}

.sec05 ul li:last-child {
  border: 0;
}

.sec05 ul li h3 {
  margin-bottom: 16px;
  text-align: center;
  font-size: 48px;
  font-weight: 800;
  color: #2162b6;
}

.sec05 ul li h4 {
  margin-bottom: 8px;
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  color: #407ece;
}

.sec05 ul li p {
  text-align: center;
  color: #aaa;
  font-size: 12px;
  font-weight: 400;
  margin: auto;
  max-width: 240px;
}

/* 컨텍트 */
.sec06 {
  background: url(../img/contact_img.png) no-repeat center center / cover;
  height: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.sec06 h2 {
  font-size: 40px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 24px;
}

.sec06 a {
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  padding: 12px 32px;
  background: #407ece;
  border-radius: 50px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sec06 a:hover {
  background: #2162b6;
}

.sec06 a span {
  display: flex;
  align-items: center;
  font-size: 40px;
}

/* 모달 */
.contact-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
}

.contact-modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  width: 90%;
  height: auto;
  max-width: 1200px;
  max-height: 90vh;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #222;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease;
}

.modal-close:hover {
  transform: rotate(90deg);
}

.modal-close i {
  font-size: 24px;
}

.contact-iframe {
  width: 100%;
  height: 795px;
  max-height: 90vh;
  border: none;
  display: block;
}
