
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* bootstrap 초기화 */
ol, ul{padding-left : 0;}
hr{opacity : 1;}
p{margin-bottom : 0;}

.header-section {
    position: relative;
    width: 100%;
    height: 50vh;
    overflow: hidden;
}

.quote-section{
    position: relative;
    width: 100%;
    overflow: hidden;
    background-image: url("../imgs/AboutUs/CONTACT-US-1536x1025.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}

.header-image, .quote-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.header-content {
    position : absolute;
    top : 50%;
    transform: translateY(-50%);
    text-align: center;
    color: white;
    width: 100%;
    padding: 0 20px;
    z-index : 2;
}


.portfolio .header-content{
    position : absolute;
    top : 50%;
    left : 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 100%;
    padding: 0 20px;
    z-index : 2;
    font-weight : 600;
}

.quote-content{
    text-align: center;
    color: white;
    width: 100%;
}


.header-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0;
    color : #fff;
    transform: translateY(30px);
    animation: slideUp 1s ease forwards;
    text-shadow: 1px 1px 0px #000000;
}

.header-subtitle {
    font-size: 1.8rem;
    color: #B9F302;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 1s ease forwards;
    text-shadow: 1px 1px 0px #000000;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-section {

    width: 100%;
    position: relative;
}

.tab-buttons {
    width : 60%;
    min-width : 1100px;
    margin-left: auto;
    margin-right : auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    border-bottom: 1px solid #ddd;
    position: relative;
    margin-top: -120px; /* 탭 버튼의 높이만큼 위로 올림 */
}

.count_odd .tab-buttons {
    width : 60%;
    min-width : 1100px;
    margin-left: auto;
    margin-right : auto;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #ddd;
    margin-top: -60px;
}

.tab-button {
    flex : 0 0 auto;
    height : 60px;
    padding: 15px 30px;
    border: none;
    background: #444444DB;
    color : #fff;
    font-weight : 700;
    cursor: pointer;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing : border-box;
}

.count_odd .tab-button {
    width : 20%;
    height : 60px;
    padding: 15px 30px;
    border: none;
    background: #444444DB;
    color : #fff;
    font-weight : 700;
    cursor: pointer;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing : border-box;
}



.tab-button:hover{background-color: rgba(255,255,255,0.4); color : black;}

.tab-button.active {
    background-color: rgba(255, 255, 255, 0.7);
    color: black;
    font-weight : 700;
}

.tab-button.clicked {
    background-color: rgba(255, 255, 255, 1);
    color: black;
    font-weight : 700;
}


.tab-content {
    display: none;
    padding: 20px;
    height: calc(50vh - 51px);
    overflow-y: auto;
}

.tab-content.active {
    display: block;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

.chessboard-container {
    width : 60%;
    margin: 0 auto;
    padding: 20px 0;
    min-width : 1100px;
}

.content-section, .content-section-reverse{
    display: flex;
    align-items: center;
    height : 450px;
    gap: 10px;
    margin: 10px 0;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}



.content-section.fade-in, .content-section-reverse.fade-in{
    opacity: 1;
    transform: translateY(0);
}


.content-section:nth-child(even), .content-section-reverse:nth-child(odd) {
    flex-direction: row-reverse;
}



.history-content-section {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 60px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    aspect-ratio: 1/0.4;
}

.history-content-section li::marker{content : "•"; color : #666; font-size : 1.5em;}
.history-content-section .text-container{height : 100%; border-bottom : 1px solid #AFAFAF; display : flex; align-items: center; padding-bottom : 20px;}
.history-content-section .image-container{height : 100%; align-self: flex-end;}

.history-content-section li{
}


.history-content-section.fade-in {
    opacity: 1;
    transform: translateY(0);
}


.image-container {
    flex: 1;
    height : 100%;
    overflow: hidden;
    border-radius: 20px;
}

.image-container img {
    width : 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}


.text-container {
    flex: 1;
    color : #7A7A7A;
}

.text-container h2 {
    text-align : center;
    font-size: 1.5em;
    color: #333;
}

.text-container h3{color : black;}

.text-container p {
    color: #666;
    margin-bottom: 15px;
}

.text-container div{padding : 0 20px;}

.text-container .under-bar{width :95%; border : 2px solid #FD2772; margin : 20px auto; }

.feature-list {
    list-style: none;
}

.feature-list li {
    margin: 10px 0;
    padding-left: 20px;
    position: relative;
}

.feature-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    width : 5px;
    height : 5px;
    color: #666;
}


.subpage-slider{margin : 100px auto;}
.subpage-slider #slide4{background-color: #fff;;}





/* ai solution */
#ai_solution_page .aisolution-content-section p, #ai_solution_page .aisolution-content-section strong, #ai_solution_page .aisolution-content-section li,
#ai_solution_page .chessboard-container p, #ai_solution_page .chessboard-container strong, #ai_solution_page .chessboard-container li
{color : #7A7A7A;}

.aisolution-content-section{
    /*width : 60%; margin: 0 auto; text-align : center; min-width : 1100px;*/
    max-width: 100%;
    width: 1100px !important;
    min-width: auto !important;
    margin : 0 auto;
}
.aisolution-content-section .image-wrapper{border-radius: 20px; margin-top : 20px; overflow: hidden; width : 100%; height : 50vh; display : flex; justify-content: center; align-items: center;}
.aisolution-content-section .image-wrapper img{width: 100%; object-fit: cover;}

#ai_solution_page .aisolution-content-section .content-title{font-size : 2em; color : #6E74E4; font-weight : 600; margin-top : 20px; margin-bottom : 20px;}



/* shopingmall */


.shoppingmall-content-section{width : 60%; margin : 0 auto; flex-wrap : wrap; overflow : hidden; min-width : 1100px;}
.section-title{font-weight : 600; text-align : center; color : #5F5F5F; font-size : 2.2em; height : 57px;}
.shoppingmall-content-section .section-title{text-align : center;}
.image-section{
    border-radius: 20px;
    /* box-shadow: 11px 12px 8px 0px rgba(0, 0, 0, 0.5); */
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;}

.half-section{flex : 1;}
.image-section img{width : 100%; height : 100%; object-fit: cover; border-radius: 20px;}
.content-wrapper div{padding : 20px 40px; border-radius: 12px; border : 1px solid black;}


.media-container{width : 70%; margin : 0 auto;}



.title-wrapper {
    text-align: center;
    position: relative;
    margin: 40px 0;
}

.title-wrapper::before,
.title-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    height: 4px;
    background-color: #FD2772; /* 분홍색 선 */
    width: 35%;
}

.title-wrapper::before {
    left: 0;
}

.title-wrapper::after {
    right: 0;
}

.title-text {
    display: inline-block;
    padding: 0 20px;
    background-color: white;
    font-size: 24px;
    position: relative;
    z-index: 1;
}

.under-bar-video{border : 2px solid #FD2772; margin : 40px 0;}


/* quote */
.quote-section{width : 100%;}


/* company */
.company-content-section{width : 60%;  margin : 100px auto; min-width : 1100px;}

.company-content-section .image-section{flex : 0.55;}
.company-content-section .text-section{flex : 0.45;}
.fadeSwiper, .fadeSwiper2{height : 100%;}
.fadeSwiper .swiper-slide img{height : 110%;}

.company-content-text{margin-bottom :20px; color : #636363;}
.company-content-title{font-size : 1.5em; font-weight : 400; line-height: 1.3em; color : black; margin-bottom: 20px;}
p.ceo{font-size : 1.5em; color : black; font-weight : 700; padding-top : 20px;}
.ceo span{font-size : 1.5em; margin-left : 50px;}


/* history */
.history-title{color : #00B3FF; font-size : 3em; font-weight : 500; margin-bottom : 30px;}
.history-content-section .text-container div{padding : 0;}
.history-content-section ul li{position: relative; padding-left: 15px; line-height : 1.2;}



/* Clients */
#clientLogo{width : 60%; margin : 0 auto; overflow: hidden; min-width : 1100px;}


@media (max-width: 1100px) {

    .text-container{width : 100%;}

    .tab-buttons, .count_odd .tab-buttons{width : 100%; min-width : 0;}
    .tab-button, .count_odd .tab-button{font-size : 0.8em; padding : 10px 20px;}

    #clientLogo{width : 90%; margin : 0 auto; min-width : auto;}

    .chessboard-container, .aisolution-content-section{width : 90%; min-width: 0;}
    .chessboard-container .content-section{flex-direction: column-reverse; height : auto; margin-bottom : 60px;}
    .chessboard-container .content-section:last-child{margin-bottom: 0;}
    .chessboard-container .image-container{width : 100%; aspect-ratio: 1/0.7; overflow : hidden;}
    .chessboard-container .image-container img{width : 100%; object-fit: cover;}

    .company-content-section{width : 90%; min-width : auto;}

    .history-content-section{flex-direction: column; align-items: flex-start; aspect-ratio: auto;}
    .history-content-section .text-container{width : 100%;}
    .history-content-section .image-container{width : 100%; height : 400px; overflow : hidden;}


}



@media screen and (max-width: 1000px)  {
    .shoppingmall-content-section{width : 90%;}
    .media-container{width : 90%; margin : 0 auto;}

}

@media (max-width: 750px) {
    .image-container {min-width: 100%;}

    .quote-content{width : 100%;}

    .tab-button, .count_odd .tab-button{padding : 8px 16px; font-size : 13px;}

    .history-content-section{flex-direction: column; align-items: flex-start;}


}

@media (max-width: 450px) {
    .tab-button, .count_odd .tab-button{padding : 4px 4px;}
    .text-container h2{font-size : 1.2em;}
}

/* company info */
#companyInfo{margin-top : 100px; margin-bottom : 100px; color : #666;}
#companyInfo .text-container h2, #companyInfo .text-container b{color : #666;}
#companyInfo .text-container h2{padding : 0 20px;}
/*#companyInfo .content-section{flex-direction: row-reverse;}*/
/*#companyInfo .content-section:nth-child(2){flex-direction: row;}*/

#companyInfo .under-bar{border : 2px solid #79d81c;}



.company-content-section .image-section, .company-content-section .image-section img{object-fit: cover;}
.company-content-section .image-section {overflow : hidden; aspect-ratio: 1/0.6;}
.company-content-section .image-section img{width : 100%;}

.fadeSwiper{height : 100%;}
.fadeSwiper .swiper-slide img{height : 100%;}

/* shoppingmall에 추가한 swiper */
.fadeSwiper-wrapper{overflow : hidden;}
.fadeSwiper2{height : 100%;}
.fadeSwiper2 .swiper-wrapper{height : 100%; display: flex; justify-content: center; align-items: center;}
.shoppingmall-content-section .swiper{padding : 0;}
.shoppingmall-content-section .swiper-slide{width : 100%; height : 80%;}
.fadeSwiper2 .swiper-slide img{width : 100%;}


@media (max-width : 1200px){
    .fadeSwiper-wrapper{width : 100%; height : 100%;}
    .fadeSwiper2 .swiper-slide{height : 100%;}


    .shoppingmall-content-section{width : 90%; min-width : auto;}
    .shoppingmall-content-section.flex_row_responsive{flex-direction: column;}

}



/* faq */

#clientLogo .swiper {
width: 100%;
height: 100%;
/*min-height : 600px;*/
margin-left: auto;
margin-right: auto;
margin-top : 50px;
    margin-bottom : 50px;
}
#clientLogo .swiper-slide {
text-align: center;
font-size: 18px;
background: #fff;
height: calc((100% - 30px) / 2) !important;
aspect-ratio: 1/0.7;

/* Center slide text vertically */
display: flex;
justify-content: center;
align-items: center;
border : 1px solid #c4c4c4;

position : relative;
overflow: hidden;
}

#clientLogo .swiper-slide::before{
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0;  /* 처음에는 높이 0 */
    background-color: rgba(184, 184, 184, 0.842);  /* 채워질 색상 */
    transition: height 0.3s ease;  /* 높이 변화에 애니메이션 적용 */
    z-index: 1;  /* 내용물 뒤에 위치 */
}

#clientLogo .swiper-slide:hover::before {
    height: 100%;  /* hover 시 전체 높이로 */
}

/* 내용물이 배경 위에 보이도록 */
#clientLogo .swiper-slide > * {
    position: relative;
    z-index: 2;
}

#clientLogo .swiper-slide img{width : 100%;}

#clientLogo .swiper-pagination{bottom : 1px;}

@media (max-width: 1100px){
    /*#clientLogo .swiper{min-height : 400px;}*/
}


.accordion-button {
    background-color: #f8f9fa !important;
    color: #6c757d !important;
    font-weight : 700;
}

.accordion-button:not(.collapsed){
    background-color: #444 !important;
    color: #fff !important;
}

.accordion-button:not(.collapsed) .question{
    color: #fff !important;
}

/* 기본 + 아이콘 설정 */
.accordion-button::before {
    content: '+';
    margin-right: 1rem;
    font-size: 1.2rem;
    font-weight: bold;
    color : black;
}

/* 활성화 시 - 아이콘으로 변경 */
.accordion-button:not(.collapsed)::before {
    content: '-';
    color : #fff;
}

/* 기본 화살표 제거 */
.accordion-button::after {
    display: none;
}

.accordion-button .question{width : 85%;}

/* 커스텀 화살표 추가 */
.accordion-button .custom-arrow {
    position: absolute;
    right: 1rem;
    transition: transform 0.2s ease-in-out;
}

/* 활성화 시 화살표 회전 */
.accordion-button:not(.collapsed) .custom-arrow {
    transform: rotate(90deg);
    color : #fff;
}

.faq_title-wrapper{display : flex; justify-content: center; align-items: center; margin : 80px auto; flex-direction: column;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 1s ease forwards;
}
.faq-title{font-weight : 500; font-size : 2.0em; transition : all 0.3 ease;}

.title-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top : 3px;
}

.dots {
    color: #FD8127;
    font-size: 20px;
    line-height: 0;
    letter-spacing: 1px;
    margin-right: 2px;
}

.line {
    width: 80px;
    height: 3px;
    margin-top : 3px;
    background: linear-gradient(90deg, #FD8127 0%, #FD8127 100%);
    /* 또는 더 단순하게: background: #FD8127; */
}

.bootstrap-accordion{margin-bottom : 100px;}
.mt-5{margin-top : 100px !important;}

@media (max-width: 750px){
    .accordion-item span{font-size : 15px;}
    .header-title{font-size : 2.2em;}
    .header-subtitle{font-size : 1.5em;}

    /*#clientLogo .swiper{min-height : 400px; }*/
}


/* location */
#location{width : 60%; margin: 50px auto; min-width: 1100px;}
#location .map{overflow: hidden; box-shadow: 2px 2px 10px 0px #000000; margin-bottom : 20px; aspect-ratio: 2.5/1; position : relative;}
#location .map img{
    position: absolute;
    bottom: 0;
    left: 50%;           /* 가운데 정렬 */
    transform: translateX(-50%) scale(1.2); /* 초기 확대 비율 */
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;  /* 크기 변화 애니메이션 */
}

#location .map:hover img {
    transform: translateX(-50%) scale(1.6);  /* 마우스 호버 시 확대 */
}

.loation-info-wrapper{ box-shadow: 2px 2px 10px 0px #000000;}
.loation-info-wrapper .logo{aspect-ratio: 1/1; overflow: hidden;}
.loation-info-wrapper .logo img{width :100%;}
.loation-info-wrapper .info{text-align : center; width : 100%;}

.loation-info-wrapper p{font-size : 18px; font-weight : 500;}
.loation-info-wrapper .info .phone{font-size : 2em; font-weight : 800; margin-top : 30px;}
.loation-info-wrapper .info .business_hour{color : #7a7a7a; font-weight : 500;}

.location_img_wrapper .pc{display : block;}
.location_img_wrapper .mobile{display : none;}


.shoppingmall-content-section .swiper-wrapper {padding-top : 87px;}


@media (max-width: 1100px){
    #location{width : 90%; margin: 100px auto; min-width: auto;}
    #location .flex_row_responsive{flex-direction: row;}

}

@media (max-width : 1000px){
    .location_img_wrapper .pc{display : none;}
    .location_img_wrapper .mobile{display : block;}
}

@media (max-width : 750px) {
    #location .flex_row_responsive{flex-direction: column;}
    .loation-info-wrapper .logo{aspect-ratio: auto; display : flex; justify-content: center; align-items: center;}
    #location .map{aspect-ratio: 1.5/1;}

    .shoppingmall-content-section .swiper-wrapper {padding-top : 20px;}
    .shoppingmall-content-section .section-title{font-size : 1.8em;}

}

@media (max-width : 450px) {
    .loation-info-wrapper p{font-size : 15px; font-weight : 500;}
    .loation-info-wrapper .info .phone{font-size : 2em; font-weight : 800; margin-top : 30px;}
    .loation-info-wrapper .info .business_hour{color : #7a7a7a; font-weight : 500;}
    #location .map{aspect-ratio: 1.4/1;}

    .shoppingmall-content-section .section-title{font-size : 24px;}

}


#clientLogo .swiper-slide{cursor : default;}




