﻿/***** Color Chart *****/
/*
Normal Text : #342f2d;
Hover Text : #093696;
*/
/***********************/

/* 스크롤 효과를 위한 애니메이션 설정 */
@keyframes scroll {
  0% { background-position: 0% 45%; }
  100% { background-position: 0% 80%; }
}


/* Main Slider section */

.main_slider {
    position: relative;
    z-index: 100;

    display: inline-flex;
    flex-direction: row;
    width: 100%;
    background-image : url("../image/bg_main_slider.jpg");
    background-size: cover;
    background-repeat: no-repeat;
}

.main_slider .container {
    position: relative;
    width: 100%;
    max-width: max-content;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

@media screen and (max-width : 1500px) {
    .main_slider .container {
        padding: 0;
    }
}

@media screen and (max-width : 640px) {
    .main_slider {
        height: 100vh;
    }
}

#hero_swiper {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

#hero_swiper .swiper-slide {
    display: flex;
    width: 100%;
    align-items: center;
    position: relative;
}

#hero_swiper .product-img-full {
    display: inline-flex;
    opacity: 0;
    width: 100vw;
    height: 100%;
    justify-content: center;
}

#hero_swiper .product-img-full img{
    min-width: 100vw;
    height: 100%;
}

#hero_swiper .product-img-full .full_desc{
    display: none;
}

#hero_swiper .swiper-slide-active .product-img-full {
    opacity: 1;

    transition: 0.3s;
    transition-delay: 0.3s;
    transition-duration: 1s;
}

#hero_swiper .product-area {
    display: inline-flex;
    flex-direction: row;
    max-width: 1500px;
    margin: 0 auto;
}

#hero_swiper .product-img {
    z-index: -1;
    opacity: 0;
    padding-right: 500px;
}

#hero_swiper .product-img img {
    max-width: 375px;
    min-width: 300px;
    max-height: 860px;

    filter: drop-shadow(5px 5px 10px rgba(0,0,0,0.7));
}

#hero_swiper .swiper-slide-active .product-img {
    opacity: 1;

    transition: 0.3s;
    transition-delay: 0.3s;
    transition-duration: 1s;
}

#hero_swiper .product-img-title {
    opacity: 0;

    display: inline-flex;
    flex-direction: column;
    gap: 50px;

    position: absolute;
    left: 50vw;
    top: 32%;
}

img.slider_fixed_img_new {
    width: 260px;
}

.slider_fixed_img.new {
    display: flex;
    flex-direction: column;
}

span.hero_new_txt_second {
    font-weight: 800;
    font-size: 90px;
    line-height: 90px;
    color: rgba(3, 184, 223, 1);
}

#hero_swiper .product-img.new img {
    filter: revert;
}

@media screen and (max-width : 860px) {
    #hero_swiper .product-img.new {
        bottom: 25%;
    }

    #hero_swiper .product-img.new img {
        max-width: 50%;
    }

    span.hero_new_txt_first {
        font-size: 74px;
    }

    span.hero_new_txt_second {
        font-size: 74px;
    }

}

@media screen and (max-width : 640px) {

    img.slider_fixed_img_new {
        width: 60% !important;
    }

    span.hero_new_txt_first {
        font-size: 50px;
        line-height: 70px;
        margin-top: 30px;
    }

    span.hero_new_txt_second {
        font-size: 50px;
        line-height: 70px;
    }

    #hero_swiper .product-img.new {
         bottom: 0;
    }
}




#hero_swiper .swiper-slide-active .product-img-title {
    opacity: 1;

    transition: 0.3s;
    transition-delay: 0.3s;
    transition-duration: 1s;
}

#hero_swiper .product-title-button {

    display: inline-flex;
    justify-content: center;
    align-items: center;

    width: fit-content;
    min-width: 245px;
    padding: 10px 20px;
    border: 3px solid white;
    border-radius: 55px;
    color: white;

    font-weight : 600;
    font-size : 1.4rem;
}

#hero_swiper .swiper-pagination {
    width: 90vw;
    top: 820px;
    left: 5vw;
}

#hero_swiper .swiper-button-prev,
#hero_swiper .swiper-button-next {
    cursor: pointer;

    position: absolute;
    width: 50px;
    height: 50px;
    top: 600px;
    color: white;
}

#hero_swiper .swiper-button-prev:hover,
#hero_swiper .swiper-button-next:hover {
    color: #969696;
}

#hero_swiper .swiper-button-next:after,
#hero_swiper .swiper-button-prev:after {
    font-size: 50px !important;
    font-weight: 300 !important;
}

#hero_swiper .swiper-button-prev {
    left: auto;
    right: 24% !important;
}

#hero_swiper .swiper-button-next {
    right: 20% !important;
}

@media screen and (max-width : 1500px) {
    #hero_swiper .product-img {
        right: 0;
        bottom: 0;
        z-index: -1;
    }
}

@media screen and (max-width: 1200px) {
    #hero_swiper .swiper-button-prev {
        right: 15% !important;
    }
    #hero_swiper .swiper-button-next {
        right: 10% !important;
    }
}

@media screen and (max-width : 860px) {

    .slider_fixed_img img {
        width: 90%;
    }

    #hero_swiper .swiper-slide {
        align-items: flex-start;
    }

    #hero_swiper .product-area {
        position: relative;
        width: 100%;
        height: 100%;
        padding-top: 12%;
    }

    #hero_swiper .product-img-full img{
        min-width: auto !important;
    }

    #hero_swiper .product-img-full a{
        position: relative;
        display: inline-flex;
        justify-content: center;
        width: 100%;
        height: 100%;
    }

    #hero_swiper .product-img-full .full_desc{
        position: fixed;
        display: inline-flex;
        flex-direction: column;
        justify-content: flex-end;
        padding: 0 30px 120px;
        width: 100vw;
        height: 100%;
        bottom: 0;
        z-index: 100;
        background: linear-gradient(180deg, rgba(230, 194, 122, 0) 40%,rgb(230, 194, 122) 72%);

        color: rgba(0, 0, 0, 0.7);
        text-align: center;
        font-weight: 500;
        font-size: 1.4rem;
        line-height: 2rem;
        word-break: keep-all;
    }

    #hero_swiper .product-img {
        position: absolute;
        padding: 0;
        right: 10%;
        bottom: 13%;
    }

    #hero_swiper .product-img img {
        max-width: 80%;
        min-width: 300px;
        max-height: 80%;
    }

    #hero_swiper .swiper-button-prev,
    #hero_swiper .swiper-button-next {
        display: none;
    }
}

@media screen and (max-width:768px){
    #hero_swiper .product-img-title {
        left: 15vw;
        top: 10%;
    }
}

@media screen and (max-width : 640px) {

    .slider_fixed_img {
        top: 15%;
        left: 10%;
    }

    .slider_fixed_img img {
        width: 90%;
    }

    #hero_swiper .swiper-slide {
        align-items: flex-start;
    }

    #hero_swiper .product-area {
        position: relative;
        width: 100%;
        height: 100%;
        padding-top: 12%;
    }

    #hero_swiper .product-title-button {
        top: 35%;
        left: 15%;
    }

    #hero_swiper .product-img-full {
        display: inline-flex;
        opacity: 0;
        width: 100%;
        height: 100%;
    }

    #hero_swiper .product-img {
        position: absolute;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0;
        left: 10%;
        top: 40%;
    }

    #hero_swiper .product-img img {
        max-width: 300px;
        min-width: 180px;
        max-height: 400px;
    }
}

section.product {
    background-image: url('../image/bg_main_product.jpg');
    background-size: cover;
}

.container.product_detail {
    padding: 150px 50px 220px !important;
}

#product_swiper {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

#product_swiper .swiper-slide {
    position: relative;
}

#product_swiper .product-img2 {
    z-index: 1;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 180px;
}

#product_swiper .product-img2 img {
    max-width: 300px;
    max-height: 400px;

    filter: drop-shadow(5px 5px 10px rgba(0,0,0,0.3));
}

#product_swiper .product-txt {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding-top: 200px;
    margin-top: 200px;

    border-radius: 20px;
    background-color: white;
    color: white;

    box-shadow : 0px 10px 30px rgba(0,0,0,0.3);
}

#product_swiper .swiper-slide-active .product-txt {
    background-color: #008CD6;
}

#product_swiper .product-title {
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 14px;
    word-break: keep-all;
    color: black;
}

#product_swiper .swiper-slide-active .product-title {
    color: white;
}

#product_swiper .product-subtitle {
    font-size: 30px;
    font-weight: 400;
    margin-bottom: 50px;

    color: #AFAFAF;
}

#product_swiper .swiper-slide-active .product-subtitle {
    color: white;
}

@media screen and (max-width : 1500px) {
    #product_swiper .product-title {
        line-height: 70px;
    }
}

@media screen and (max-width : 860px) {
    .container.product_detail {
        padding: 100px 50px 150px !important;
    }

    #product_swiper .product-txt {
        width: 100%;
        margin-left: 0;
        height: 100%;
    }

    #product_swiper .product-img2 {
        bottom: 140px;
    }

    #product_swiper .product-subtitle {
        font-size: 22px;
        font-weight: 300;
        margin-bottom: 20px;
    }
    #product_swiper .product-title {
        line-height: 50px;
    }
}

@media screen and (max-width : 640px) {
    .container.product_detail {
        padding: 100px 20px 150px !important;
    }

    #product_swiper .product-txt {
        margin-top: 150px;
    }

    #product_swiper .more {
        top: 170px;
        width: 34px;
        height: 34px;
        font-size: 30px;
    }
    #product_swiper .product-img2 {
        z-index: 1;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: 140px;
    }

    #product_swiper .product-img2 img {
        max-width: 200px;
        max-height: 300px;
    }

    #product_swiper .product-title {
        font-size: 2rem;
        margin-bottom: 10px;
    }
}

.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
    background: white;
}


#product_swiper .swiper-pagination {
    top: 600px;
}

#product_swiper .swiper-button-prev,
#product_swiper .swiper-button-next {
    cursor: pointer;

    position: absolute;
    width: 50px;
    height: 50px;
    top: 380px;
    color: #969696;
}

#product_swiper .swiper-button-next:after,
#product_swiper .swiper-button-prev:after {
    font-size: 50px !important;
    font-weight: 300 !important;
}

#product_swiper .swiper-button-prev {
    left: calc((100% - 1500px)/2) !important;
}

#product_swiper .swiper-button-next {
    right: calc((100% - 1500px)/2) !important;
}

#product_swiper .swiper-button-prev:hover,
#product_swiper .swiper-button-next:hover {
    cursor: pointer;
}

@media screen and (max-width : 1500px) {
    #product_swiper .swiper-button-prev {
        left: 10px !important;
    }

    #product_swiper .swiper-button-next {
        right: 10px !important;
    }
}

@media screen and (max-width : 640px) {
    #product_swiper .swiper-button-prev,
    #product_swiper .swiper-button-next {
        top: 4% !important;
        width: 30px;
        height: 30px;
    }
    #product_swiper .swiper-button-prev::after,
    #product_swiper .swiper-button-next::after {
        font-size: 30px !important;
    }

    #product_swiper .swiper-button-prev {
        left: 78% !important;
    }

    #product_swiper .swiper-button-next {
        left: 90% !important;
    }

    #product_swiper .swiper-pagination {
        top: 500px;
    }
}

section.business {
    background-image: url("../image/bg_business.jpg");
    background-size: contain;
    padding: 130px 70px 100px;
}

.dark {
    color: white;
}

@media screen and (max-width: 1200px) {
    section.business {
        padding: 100px 50px 500px;
    }
}

@media screen and (max-width: 860px) {
    section.business {
        padding: 100px 50px 500px;
    }
}

@media screen and (max-width : 640px) {
    section.business {
        padding: 50px 30px;
        word-break: keep-all;
    }
}

#case_swiper {
    margin-top: 30px;
}

#case_swiper .swiper-slide {
    justify-content: flex-end;
    display: inline-flex;
    padding-right: 2%;
}

@media screen and (max-width : 860px) {
    #case_swiper .swiper-slide {
        justify-content: center;
        display: inline-flex;
        padding-right: 2%;
    }
}

.case_circle {
    position :relative;
    width: 320px;
    height: 670px;
    border-radius: 160px;

    box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.25);
}

#case_swiper .swiper-slide .case_circle,
#case_swiper .swiper-slide-prev .case_circle,
#case_swiper .swiper-slide-next .case_circle {
    transform: scale(0.6);
    transform-origin: top;
    opacity: 0.7;

    transition: 0.3s ease-in-out;
}

#case_swiper .swiper-slide-active .case_circle {
    transform: scale(1);
    opacity: 1;
}

#case_swiper .swiper-slide .case_title,
#case_swiper .swiper-slide-prev .case_title,
#case_swiper .swiper-slide-next .case_title,
#case_swiper .swiper-slide .case_desc,
#case_swiper .swiper-slide-prev .case_desc,
#case_swiper .swiper-slide-next .case_desc {
    opacity: 0;
}

#case_swiper .swiper-slide-active .case_title,
#case_swiper .swiper-slide-active .case_desc {
    opacity: 1;

    transition: 0.3s;
    transition-delay: 0.3s;
    transition-duration: 1s;
}

.case_title {
    position: absolute;
    width: 100%;
    display: inline-flex;
    justify-content: center;
    text-align: center;
    top: 76%;

    font-size: 2.2rem;
    font-weight: 600;
    color: white;

    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7);
}

.case_desc {
    position: fixed;
    width: 30vw;
    left: 350px;
    top: 77%;
    display: inline-flex;

    font-size: 1.4rem;
    line-height: 1.8rem;
    font-weight: 400;
    color: white;

    word-break: keep-all;
}

@media screen and (max-width:1200px) {
    .case_desc {
        display: none;
    }
}

/********************** Board Group ********************/

section.board .container {
    padding: 100px 50px;
}

@media screen and (max-width: 860px){
    section.board .container {
        padding: 100px 30px;
    }
}

@media screen and (max-width: 640px){
    section.board .container {
        padding: 50px 30px;
    }
}

section.support {
    background-image: url("../image/bg_support.jpg");
    background-size: cover;
    padding: 130px 70px 100px;
}

section.support .container {
    max-width: 1300px;
    display : inline-flex;
    flex-direction: row;
    justify-content: space-between;
}

section.support .support_left {
    display: inline-flex;
    flex-direction: column;
}

section.support .support_left .section_subtitle {
    margin-top: 0;
}

section.support .support_right {
    display: inline-flex;
    justify-content: center;
    gap: 40px;
}

section.support .support_right a {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    height: fit-content;
    padding: 30px;
    gap: 25px;

    border: 1px solid #E8E8E8;
    color: white;
}

section.support .support_right a:hover {
    opacity: 0.8;
}

@media screen and (max-width:1200px) {

    section.support .container {
        flex-direction: column;
    }

    section.support .support_right {
        display: inline-flex;
        margin-top: 40px;
        justify-content: space-between;
        padding: 0 50px;
        gap: 40px;
    }
    
}

@media screen and (max-width:860px) {
    section.support .support_right {
        padding: 0;
        gap: 20px;
    }
    
}

@media screen and (max-width:640px) {
    section.support {
        padding: 100px 20px 100px;
    }

    section.support .support_right a{
        width: 30%;
        padding: 10px;
    }
    section.support .support_right img{
        width: 100%;
    }
    
}

/********************************* Tab Section *********************************/
.tabs {
    display: inline-block;
    overflow: hidden;
    background: none;
    width: 100%;

    margin-top: 10px;
}

.tab-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 16.4%;
    height: 40px;
    margin: 1px;

    background-color: #f1f1f1;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 10px 16px;
    transition: 0.3s;
    
    font-weight: 600;
    font-size: 16px;
}

.tab-link:hover {
    background-color: #ddd;
}

.tab-link.active, .tab-link:hover {
    background-color: #09338e;
    color: white;
}

@media screen and (max-width: 640px) {
    .tab-link {
        width: 16%;
        height: 40px;
        margin: 1px;
    
        background-color: #f1f1f1;
        padding: 10px;
        
        font-weight: 500;
        font-size: 12px;
    }
}

/********************************* Tab content *********************************/

.tab-content {
    display: none;
    padding: 30px 0 0;
    -webkit-animation: fadeEffect 1s;
    animation: fadeEffect 1s;
}

.tab-content img {
    height: 240px;
}

@-webkit-keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}

.tab-content h3 {
    margin: auto 0 5px;
}

.tab-content .culture_content {
    display: inline-block;
    width: 99%;
    height: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-inline-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    font-size: 14px;
    line-height: 2.1rem;
}

.swiper-slide.new.swiper-slide-active {
    background: linear-gradient(0deg, rgba(8, 1, 44, 0.45), rgba(8, 1, 44, 0.45)), url("../image/hero_new_bg.jpg");
    background-size: cover;
    background-repeat: no-repeat;
}

img.new_hero_ces {
    width: 100%;
    height: 820px;
    object-fit: cover;
    object-position: left calc(59%) bottom 0;
    align-self: self-end;
    display: none;
    position: absolute;
}

.swiper-slide-active img.new_hero_ces {
    display: block;
}

span.hero_new_txt_first {
    font-weight: 700;
    font-size: 65px;
    line-height: 75px;
    color: rgba(255, 255, 255, 1);
    margin-top: 40px;
    filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.7));
}

#hero_swiper .product-img-title.new {
    bottom: 15%;
    left: 20%;
    top: revert;
}

@media screen and (max-width: 860px) {
    img.new_hero_ces {
        height: 840px;
        object-position: left calc(59%) bottom 0;
    }
}

@media screen and (max-width: 821px) {
    img.new_hero_ces {
        object-position: left calc(65%) bottom 0;
    }

    #hero_swiper .product-img-title.new {
        bottom: 15%;
        left: 11%;
        top: revert;
    }
}

@media screen and (max-width: 640px) {
    img.new_hero_ces {
        object-position: left calc(61%) bottom 0;
    }

    #hero_swiper .product-img-title.new {
        bottom: 58%;
        left: 11%;
        top: revert;
    }
}

/*@media screen and (max-width: 821px) {*/
/*    img.new_hero_ces {*/
/*        object-position: left calc(61%) bottom 0;*/
/*    }*/
/*}*/