@charset "UTF-8";
@import url('font.css');

:root {
    --engFont: 'Sweet', 'Noto Sans KR', sans-serif;
    --koFont: 'Pretendard', 'Noto Sans KR', sans-serif;
    --mainColor: #0201c9;
    --colorBlack: #333;
    --colorWhite:#fff;
    --borderR: 5px;
}
/* 초기화 */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a{
    text-decoration: none;
    color: var(--colorBlack);
}
ul{
    list-style: none;
}
img{
    display: block;
}
.container{
    max-width: 1920px;
    margin: 0 auto;
    width: 100%;
    padding: 0 25px 0 25px;
}
/* 공통 btns */
.moreBtn{
    display: inline-block;
    width: 152px;
    height: 38px;
    text-align: center;
    padding: 0 10px;
    border: 1px solid var(--mainColor);
    transition: all .3s linear;
}
.moreBtn:hover{
    background-color: var(--mainColor);
    border-color: var(--mainColor);
}
.moreBtn span{
    /* 너비높이줘야해서 */
    display: block;
    color: var(--colorBlack);
    font-size: 12px;
    transition: all .3s linear;
    line-height: 38px;
    /* 화살표 부모 */
    position: relative;
}
.moreBtn:hover span{
    color: var(--colorWhite);
}


/* 더보기 버튼 */
.moreBtn.w {
    border-color: var(--colorWhite);
    text-align: left;
}
.moreBtn.w:hover{
    background-color: var(--colorWhite);
}
.moreBtn.w span{
    color: var(--colorWhite);
}
.moreBtn.w:hover span{
    color: var(--mainColor);
}
.moreBtn.w span svg{
    fill: var(--colorWhite);
}
.moreBtn.w:hover span svg{
    fill: var(--mainColor);
}
.moreBtn span svg{
    /* svg컨트롤 */
    width: 15px;
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    fill: var(--mainColor);
    transition: all .3s linear;
}
.moreBtn:hover span svg{
    fill: var(--colorWhite);
}




/* ========== 기본 스타일 ========== */

/* nav-inner 카테고리창 */
.nav-inner{
    position: fixed;
    top: 0;
    left: 0;
    width: 1268px;
    height: 983px;
    background: rgba(255,255,255,1);
    display: none;
    transition: all 0.4s ease;
}

.nav-inner.active {
    display: block;
    left: 0;
    z-index: 9999;
}

.nav-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255,255,255,0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.nav-bg.active {
    opacity: 1;
    visibility: visible;
}

/* 닫기 버튼 */
.mb-btn-close {
    display: inline-block;
    padding: 25px;
    font-size: 24px;
    color: #000;
    transition: all 0.3s ease;
}

.nav-inner .menu-top{
    display: flex;
    align-items: center;
    margin-top: 70px;
    margin-left: 243px;
}

.nav-inner .menu-top a span{
    color: var(--mainColor);
    font-size: 42px;
    margin-top: 15px;
}

.nav-inner .menu-top .nav-logo a img{
    width: 403px;
}

.nav-inner .menu-bottom{
    display: flex;
    margin-left: 230px;
    margin-top: -50px;
}

.nav-inner .menu-bottom .depth1-list {
    text-align: right;
    padding: 80px;
    position: relative;
    cursor: pointer;
}

.nav-inner .menu-bottom .depth1-list::before{
    content: "";
    position: absolute;
    top: 98px;
    right: 20px;
    display: block;
    width: 1px;
    height: 80%;
    background: #e0e0e0;
}

.nav-inner .menu-bottom .depth1-list .depth1-item {
    font-size: 18px;
    font-weight: 300;
    line-height: 60px;
    color: var(--mainColor);
    transition: all 0.3s ease;
}

/* Active */
.nav-inner .menu-bottom .depth1-list .depth1-item.active {
    font-weight: 800;
}

/* Right - Depth2 영역 */
.nav-inner .menu-bottom .depth2-wrap {
    padding: 30px 60px;
    position: relative;
    transition: all 0.3s ease;
}

/* 다른 Depth2 컨테이너 */
.nav-inner .menu-bottom .depth2-wrap .depth2-container {
    display: none;
    gap: 87px;
}

.nav-inner .menu-bottom .depth2-wrap .depth2-container.active {
    display: flex;
    flex-wrap: wrap;
}

.nav-inner .menu-bottom .depth2-wrap .depth2-container:nth-child(3){
    gap: 40px;
}

/* Depth2 서브타이틀 */
.nav-inner .menu-bottom .depth2-wrap .depth2-container .depth2 .sub-title {
    font-size: 16px;
    font-weight: 500;
    margin-top: 68px;
    color: #00005f;
}

.nav-inner .menu-bottom .depth2-wrap .depth2-container .depth2 li {
    line-height: 40px;
}

.nav-inner .menu-bottom .depth2-wrap .depth2-container .depth2 li a {
    font-weight: 300;
    color: #00005f;
    transition: all 0.2s ease;
}

.nav-inner .menu-bottom .depth2-wrap .depth2-container .depth2 li a:hover {
    text-decoration: underline;
}

/* header */
.header .container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100px;
    background-color: var(--mainColor);
}

/* 햄버거 */
.header .nav-btn {
    /* display: none; */
    display: block;
    width: 28px;
    height: 28px;
    position: relative;
}
.header .nav-btn span{
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #fff;
    left: 0;
}
.header .nav-btn span:nth-child(1){
    top: 2px;
}
.header .nav-btn span:nth-child(2){
    top:10px;
}
.header .nav-btn span:nth-child(3){
    top: 18px;
}

/* logo */
.header .logo{
    position: relative;
}
.header .logo a{}
.header .logo a img{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-10%,-50%);
    width:240px;
    filter: brightness(0) invert(1);

}
/* icon */
.header .icon{
    display: flex;
    align-items: center;
    gap: 24px;
}
.header .icon li a{}
.header .icon li a img{
    width: 32px;
    height: 32px;
}
/* main */

/* visual */
.visual{
    background-color: var(--mainColor);
    width: 100%;
    height: 100vh;
    max-height: 900px; 
    min-height: 400px; 
    margin: 0 auto;
}
.visual .container{}
.visual .visual-desktop{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.visual .visual-desktop img{
    width: 100%;
    height: 100%;
}
.visual .visual-mb{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}
.visual .visual-mb {
    width: 100%;
    height: 100%;
}


/* key-note */

.key-note{
    width: 100%;
    height: 1080px;
    position: relative;
}
.key-note .container{
    display: flex;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    align-items: center;
    justify-content: center;
    gap: 100px;
}

.key-note .ader{
    display: flex;
    align-items: center;
}

.key-note .ader .logo-left{}
.key-note .ader .logo-left li{}
.key-note .ader .logo-left li a{}
.key-note .ader .logo-left li a img{}


.key-note .ader .logo-right{
    margin-top: 100px;
}
.key-note .ader .logo-right li{}
.key-note .ader .logo-right li a{}
.key-note .ader .logo-right li a img{}

/* 이미지 호버 */
.key-note .ader .img-wrap {
    position: relative;
    display: block;
    width: 316px;
    height: 353px;
    margin-right: 3px;
    margin-bottom: 3px;
    overflow: hidden;
}

.key-note .ader .img-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s linear;
}

.key-note .ader .img-wrap img.img-hover {
    opacity: 0;
}

.key-note .ader .img-wrap:hover .img-default {
    opacity: 0;
    transform: scale(1.1);
}

.key-note .ader .img-wrap:hover .img-hover {
    opacity: 1;
    transform: scale(1.1);
}


.key-note .desc{
    width: 30%;
    text-align: right;
    color: var(--mainColor);
}
.key-note .desc h2{
    font-size: 43px;
    font-weight: 800;
    font-family: "Sweet";

}
.key-note .desc h1{
    font-size: 79px;
    font-weight: 1000;
    font-family: "Sweet";
    -webkit-text-stroke:2px var(--mainColor);
    color: transparent;
}
.key-note .desc p{
    margin-top: 20px;
    line-height: 25px;
}

/* ======================== animation */

/* 1. .box는 배경 + 흰 오버레이만 담당 */
.box {
    width: 100%;
    height: 643px;
    padding: 200px 0;
    position: relative;
    overflow: hidden;

    background-image: url("../img/section5_bg.png"); /* ← 동일 이미지 */
    background-repeat: no-repeat;
    background-size: 100% cover;
    background-position: 0 0;
    /* background-size는 JS에서 box 크기에 맞춰 강제로 넣을 거라 여기선 안 적어도 OK */
}

/* 전체를 연하게 만드는 흰색 오버레이 */
.box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 1;
    pointer-events: none;
}

/* 2. 큐브: 창틀 역할 */
.cube {
    position: absolute;
    width: 300px;
    height: 300px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transform-origin: center center;
    z-index: 2; /* 흰 오버레이 위로 */
    background: transparent;
}

.cube-inner {
    position: absolute;
    inset: 0;
    background-image: url('../img/section5_bg.png');
    background-repeat: no-repeat;
    background-position: 0 0;
    
}

/* ========================== slide */

.item-slide {
    width: 100%; 
    height: 830px; 
    position: relative;
}
.item-slide .container {
    margin: 150px 0 ;
} 
.item-slide .item-title {
    text-align: center;
}
.item-slide .item-title h3
{
    font-size: 27px; 
    font-weight: 400; 
    color: #555; 
    margin-bottom: 5px;
}
.item-slide .item-title h2 {
    font-size: 39px; 
    font-weight: 700; 
    color: #000;
}

.item-slide .item-slide-img {
    width: 80%;
    position: relative;
    margin-top: 130px;
    margin-bottom: 40px
}

.item-slide .item-slide-img img {
    display: block;
    width: 100%;
    transition: 0.3s ease;

    /* box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3); */
}

.item-slide .item-slide-img .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--colorBlack);
    font-size: 30px;
    font-weight: 700;
    opacity: 0;
    transition: 0.3s ease;
}

.item-slide .item-slide-img:hover img {
    opacity: 0.6; 
}

.item-slide .item-slide-img:hover .overlay {
    opacity: 1;
}

/* 버튼 */
.item-prev,
.item-next {
  position: absolute;
  top: 20px;
  z-index: 999;
  font-size: 16px;
  transition: color 0.3s;
}

.item-next {
  right: 115px; 
}

.item-prev {
  right: calc(100px + 50px + 15px); 
}

.item-prev::after {
    content: '';            
    display: inline-block;   
    width: 0.5px;  
    height: 9px;     
    margin-left: 18px; 
    background-color: var(--mainColor);
}

.item-prev:hover,
.item-next:hover {
    color: var(--mainColor);
}

/* ======================== video */

.video {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.video .container {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video .youtube-area {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 98%;
    max-width: 1820px;
    height: 717px;
    background-color: var(--mainColor);

    display: flex;
    overflow: hidden;
}
.video .youtube-area::before{
    content: '';
    display: block;
    width: 70%;
    height: 100%;

}

.video .youtube-area #player {
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: 100%;
    
}

.video .youtube-area #player iframe {
    height: 100%;
    object-fit: cover;
}

.video .youtube-area .video-desc {
    width: 30%;
    padding: 250px 60px;
    color: var(--colorWhite);
}

/* 제목 */
.video .youtube-area .video-desc h1 {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 800;
}

/* 본문 */
.video .youtube-area .video-desc p {
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* 버튼 */
.video .youtube-area .video-desc .video-btn {
    margin-top: 20px;
}

/* ======================================블루마크 */

.blue-mark {
  width: 100%;
  height: 1080px;
  display: flex;
  overflow: hidden;
}

.blue-mark .container {
  display: flex;
  gap: 95px;
  align-items: center;
  flex-wrap: nowrap;
  transition: all 0.5s ease;
} 
.blue-mark .video-area video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blue-mark .image-wrap {
    height: 750px; 
    display: flex;
    align-items: center; 
}

.blue-mark .image-wrap img {
    height: 100%;
    width: auto;
    object-fit: contain;
}
.blue-mark .text-box {
    min-width: 500px;
}
.blue-mark .text-box h2{
    margin-bottom: 20px;
}
.blue-mark .text-box h2 .mark{
    color: var(--mainColor);
}
.blue-mark .text-box p{
    margin-bottom: 40px;
}


/* =============================footer */
.footer {
    padding: 100px 0 80px;
}

/* 로고 */
.footer .footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0 auto;
    display: block;
}

/* COPYRIGHT */
.footer .copy {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 60px;
    margin: 50px 20px 60px;
}

.footer .footer-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer .drop-down {
    display: flex;
    gap: 40px;
    margin-left: 20px;
}

.footer .drop-title {
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
}

.footer .drop-title .sub-menu {
    display: none;
    position: absolute;
    left: 50%;
    top: 35px;
    padding: 10px 0;
    background: #fff;
    border: 1px solid var(--mainColor);
    width: 130px;
    text-align: left;
    z-index: 10;
}

.footer .drop-title.active .sub-menu {
    display: block;
}

.footer .drop-title .sub-menu li {
    padding: 8px 14px;
    font-size: 12px;
}


.footer .sns .sub-menu li a {
    display: block;
    padding-left: 28px;
    background-repeat: no-repeat;
    background-size: 16px 16px;
    background-position: 6px center;
    font-size: 12px;
    color: #666;
}

/* SNS 아이콘 이미지 */
.footer .sns .sub-menu li a.instagram  { background-image: url('../img/instagram.svg'); }
.footer .sns .sub-menu li a.facebook   { background-image: url('../img/facebook.svg'); }
.footer .sns .sub-menu li a.youtube    { background-image: url('../img/youtube.svg'); }
.footer .sns .sub-menu li a.kakao      { background-image: url('../img/kakao.svg'); }
.footer .sns .sub-menu li a.pinterest  { background-image: url('../img/pinterest.svg'); }
.footer .sns .sub-menu li a.x          { background-image: url('../img/x.svg'); }
.footer .sns .sub-menu li a.wechat     { background-image: url('../img/wechat.svg'); }
.footer .sns .sub-menu li a.weibo      { background-image: url('../img/weibo.svg'); }
.footer .sns .sub-menu li a.line       { background-image: url('../img/line.svg'); }


.footer .footer-about ul {
    display: flex;
    gap: 40px;
}

.footer .footer-about ul li a {
    font-size: 16px;
    font-weight: 500;
}

.footer .footer-info {
    width: 100%;
    margin: 60px auto 0;
    padding-top: 30px;
    position: relative;
}

.footer .footer-info::before {
    content: "";
    width: 100%;
    height: 1px;
    background: #ddd;
    position: absolute;
    top: 0;
    left: 0;
}

.footer .footer-info p {
    font-size: 12px;
    color: #666;
    line-height: 1.7;
}
