/* 폰트 설정 */
@import url('https://fonts.googleapis.com/earlyaccess/jejumyeongjo.css');

/* 기본 스타일 리셋 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

ul {
    list-style: none;
}

body {
    font-family: 'Jeju Myeongjo', serif;
    font-size: 0.833vw;
    line-height: 1.6;
    padding: 0;
    min-width: 20rem;
    background: #222;
}

.sr-only{
    position:absolute;
    width:1px;
    height:1px;
    padding:0;
    margin:-1px;
    overflow:hidden;
    clip:rect(0, 0, 0, 0);
    white-space:nowrap;
    border:0
}

.only-pc{
    display: block !important;
}

.only-mo{
    display: none !important;
}

/* 컨테이너 스타일 */
.container {
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 1.667vw;
    width: 100%;
}

/* 헤더 스타일 */
header {
    height: 4.167vw;
    padding: 0 6.25vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #222;
}

header img {
    width: 8.125vw;
    height: 1.667vw;
}

header button {
    font-family: 'Jeju Myeongjo';
    font-size: 1.042vw;
    font-style: normal;
    font-weight: 400;
    line-height: 1.458vw;
    color: #FFF;
    background: none;
    border: none;
    cursor: pointer;
}

#menu-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(var(--vh, 1vh) * 100);
    background: #222;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; 
    transition: opacity 0.3s;
}

/* 메뉴 레이어가 활성화될 때 body 스크롤 방지 */
body.menu-open {
    overflow: hidden;
}

#menu-layer.hidden {
    display: none;
}

#close-menu {
    width: 2.083vw;
    height: 2.083vw;
    position: absolute;
    top: 2.083vw;
    right: 4.167vw;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    z-index: 1100;
    line-height: 1;
}

#close-menu img {
    width: 100%;
    height: 100%;
}

#menu-layer nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 3.333vw;
}

#menu-layer nav ul li a {
    display: block;
    text-align: center;
    font-size: 2.5vw;
    font-style: normal;
    font-weight: 400;
    line-height: 3.125vw;
    color: #7B7B7B;
    text-decoration: none;
    transition: color 0.2s;
}

#menu-layer nav ul li a:hover {
    color: #fff;
}

#menu-layer .menu-link-wrap {
    width: 100%;
    position: absolute;
    bottom: 2.083vw;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
}

#menu-layer .menu-link-wrap p {
    margin-right: 2.083vw;
    font-size: 1.042vw;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    color: #C7C7C7; 
}

#menu-layer .menu-link-wrap p span{
    display: none;
}

#menu-layer .menu-link-wrap ul {
    display: flex;
    /* gap: 0.833vw; */
}

#menu-layer .menu-link-wrap .menu-sns + p{
    position: relative;
    padding-left: 2.083vw;
    margin-left: 2.083vw;
}

#menu-layer .menu-link-wrap .menu-sns + p:before {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    content: '';
    display: block;
    width: 1px;
    height: 24px;
    background: #D9D9D9;
}

#menu-layer .menu-link-wrap li a {
    display: flex;
    align-items: center;
    gap: 0.4167vw;
    text-decoration: none;
    color: #C7C7C7;
    font-size: 0.72916vw;
    font-weight: 400;
    line-height: 1.42857;
}

#menu-layer .menu-link-wrap .menu-sns a img {
    width: 2.5vw;
    height: 2.5vw;
}

#menu-layer .menu-link-wrap .menu-sns > li:not(:last-child){
    position: relative;
    margin-right: 0.834vw;
    padding-right: 0.834vw;
}

#menu-layer .menu-link-wrap .menu-sns > li:not(:last-child):before{
    content:'';
    position:absolute;
    top: 50%;
    right: 0;
    width: 1px;
    height: 1.25vw;
    background: #464646;
    transform: translateY(-50%);
}

#menu-layer .menu-link-wrap .link-support > li:not(:last-child){
    position: relative;
    margin-right: 0.834vw;
}


/* 메인 콘텐츠 스타일 */
main {
    width: 100%;
}

section {
    margin-bottom: 1.667vw;
}

section h2 {
    font-size: 1.25vw;
    margin-bottom: 0.833vw;
}

section p {
    font-size: 0.833vw;
}

/* 푸터 스타일 */
footer {
    padding: 1.667vw 6.25vw;
    background: #222;
}

footer > div {
    /* height: 5vw; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.833vw;
    /* padding: 0.833vw 0 1.944vw 0; */
}

footer > div .footer-logo {
    width: 8.125vw;
    height: 1.667vw;
}

footer > div .footer-sns {
    display: flex;
    /* gap: 0.521vw; */
}

footer > div .footer-sns a {
    display: flex;
    align-items: center;
    gap: 0.4167vw;
    text-decoration: none;
    /* 0710 */
    /* color: #fff;*/
    gap: 0.2083vw;
    padding: 0.625vw;
    /* */
    font-size: 0.72916vw;
    font-weight: 400;
    line-height: 1.42857;
}


footer > div .footer-sns a:not(:last-child) {
    margin-right: .833vw;
}

/* 0710 */
/* 
footer div .footer-sns a:not(:last-child){
    position: relative;
    margin-right: 0.834vw;
    padding-right: 0.834vw;
}
 footer div .footer-sns a:not(:last-child):before{
    content:'';
    position:absolute;
    top: 50%;
    right: 0;
    width: 1px;
    height: 1.25vw;
    background: #464646;
    transform: translateY(-50%);
} 

footer div .footer-sns a img {
    width: 2.083vw;
    height: 2.083vw;
}
*/

/* 추가 */
footer div .footer-sns .icon{
    width: 2.083vw;
    height: 2.083vw;
    background-size: 100%;
}

footer div .footer-sns .icon_kakao{
    background-image:url(../img/icon_kakao_blk.svg);
}
footer div .footer-sns .icon_blog{
    background-image:url(../img/icon_blog_blk.svg);
}
footer div .footer-sns .icon_cafe{
    background-image:url(../img/icon_cafe_blk.svg);
}

footer > div .footer-sns .icon_arr{
    margin-left: 0.2083vw;
}

/* -- */

footer p {
    padding-top: 1.667vw;
    font-size: 0.938vw;
    font-style: normal;
    font-weight: 400;
    line-height: 1.25vw;
    color: #A4A4A4;
    border-top: 1px solid #464646;
}

.hero {
    position: relative;
    /*width: 100vw;*/
    height: calc(var(--vh, 1vh) * 100 - 4.167vw);
    overflow: hidden;
}

.hero h2{
    opacity: 0;
    transition: opacity .75s;
}

.hero.aos-animate h2{
    opacity: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: calc(var(--vh, 1vh) * 100 - 4.167vw);
    object-fit: cover;
    z-index: 1;
}

.hero-content {
    position: absolute;
    z-index: 2;
    color: #fff;
    text-align: left;
    bottom: 4.583vw;
    left: 6.25vw;
}

.hero-content div {
    font-family: 'Jeju Myeongjo';
    font-size: 3.333vw;
    font-style: normal;
    font-weight: 400;
    line-height: 4.167vw;
    letter-spacing: 0.333vw;
    color: #fff;
}

.hero-content div span:not(:first-child) {
    color: #a4a4a4;
}

.hero-content p {
    position: relative;
    padding-top: 0.625vw;
    margin-top: 1.25vw;
    font-family: 'Jeju Myeongjo';
    font-size: 0.938vw;
    font-style: normal;
    font-weight: 400;
    line-height: 1.354vw;
    color: #fff;
}

.hero-content p::after {
    content: '';
    display: block;
    width: 1.875vw;
    height: 0.167vw;
    background: #a4a4a4;
    position: absolute;
    top: 0;
    left: 0;
}

.scroll-down {
    width: 9.792vw;
    height: 2.917vw;
    position: absolute;
    bottom: 2.083vw;
    left: 50%;
    transform: translateX(-50%);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-down img {
    width: 100%;
    height: 100%;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-1.042vw) translateX(-50%);
    }
    60% {
        transform: translateY(-0.521vw) translateX(-50%);
    }
}

@keyframes bounce2 {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-1.5vw) translateX(-50%);
    }
    60% {
        transform: translateY(-0.9vw) translateX(-50%);
    }
}

/* 반응형에서 애니메이션 조정 */
@media screen and (max-width: 768px) {
    .scroll-down {
        bottom: 1.042vw;
    }
    
    .scroll-down img {
        width: 1.667vw;
        height: 1.667vw;
    }
    
    @keyframes bounce {
        0%, 20%, 50%, 80%, 100% {
            transform: translateY(0) translateX(-50%);
        }
        40% {
            transform: translateY(-0.781vw) translateX(-50%);
        }
        60% {
            transform: translateY(-0.365vw) translateX(-50%);
        }
    }

    @keyframes bounce2 {
        0%, 20%, 50%, 80%, 100% {
            transform: translateY(0) translateX(-50%);
        }
        40% {
            transform: translateY(-1.2vw) translateX(-50%);
        }
        60% {
            transform: translateY(-0.9vw) translateX(-50%);
        }
    }
}

.about {
    padding: 4.25vw 6.25vw 6.25vw;
    position: relative;
}

/* 초기 상태 설정 */
.about-content-text,
.about-content-img,
.about-content-text-bottom {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

/* 나타나는 효과 */
.about-content-text.visible,
.about-content-img.visible,
.about-content-text-bottom.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 각 요소별 지연 시간 설정 */
.about-content-text.visible {
    transition-delay: 0.2s;
}

.about-content-img.visible {
    transition-delay: 0.6s;
}

.about-content-text-bottom.visible {
    transition-delay: 1s;
}

.about-content-text {
    position: relative;
    z-index: 10;
    text-align: left;
    font-size: 6.944vw;
    font-style: normal;
    font-weight: 400;
    line-height: 6.944vw;
    color: #FFF;
}

.about-content-text p:not(:first-child) {
    margin-left: 8.333vw;
}

.about-content-img {
    display: flex;
    justify-content: space-between;
    margin-top: -4.427vw;
}

.about-content-img .img01 {
    width: 28.333vw;
    height: 24.479vw;
    margin-top: 1.042vw;
}

.about-content-img .img02 {
    width: 50.313vw;
    height: 41.667vw;
}

.about-content-text-bottom {
    position: relative;
    z-index: 10;
    margin-top: -13.438vw;
}

.about-content-text-bottom p:not(:first-child) {
    position: relative;
    padding-top: 2.083vw;
    margin-top: 1.25vw;
    font-size: 1.042vw;
    font-style: normal;
    font-weight: 400;
    line-height: 1.458vw;
    color: #A4A4A4;
    word-break: keep-all;
}

.about-content-text-bottom p:not(:first-child):after {
    content: '';
    display: block;
    width: 2.5vw;
    height: 0.167vw;
    background: #A4A4A4;
    position: absolute;
    top: 0;
    left: 0;
}

.about-content-text-bottom p:first-child {
    color: #FFF;
    font-size: 1.667vw;
    font-style: normal;
    font-weight: 400;
    line-height: 2.188vw;
}

.about-content-text-bottom p:first-child img {
    width: 10.156vw;
    height: 2.083vw;
    display: block;
}

.service {
    padding: 6.25vw;
    overflow: hidden;
}

.service ul {
    display: flex;
    gap: 1.25vw;
}

.service ul li {
    width: 13.542vw;
    height: 22.917vw;
    transition: all 0.5s ease;
}

.service ul li.active {
    width: 57.917vw;
}

.service ul li a {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.service ul li a:after {
    content:'';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.5);
    transition: .25s;
}

.service ul li img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service ul li img.img2{
    display: none;
}

.service ul li .service-title {
    position: absolute;
    top: 1.667vw;
    right: 1.667vw;
    z-index: 10;
    text-align: right;
    font-size: 6.25vw;
    font-style: normal;
    font-weight: 400;
    line-height: 6.25vw;
    letter-spacing: 0.438vw;
    color: #FFF;
    opacity: 0;
    transform: translateX(2.604vw);
    transition: all 0.3s ease;
}

.service ul li.active .service-title {
    opacity: 1;
    transform: translateX(0);
}

.service ul li.active a:after {
    opacity: 0;
}

.service ul li .service-content {
    position: absolute;
    bottom: 1.667vw;
    left: 1.667vw;
    z-index: 10;
    text-align: left;
    color: #FFF;
}

.service ul li .service-content strong {
    font-size: 1.667vw;
    font-style: normal;
    font-weight: 400;
    line-height: 2.188vw;
}

.service ul li .service-content p {
    margin-top: 0.833vw;
    font-size: 0.938vw;
    font-style: normal;
    font-weight: 400;
    line-height: 1.25vw;
    display: none;
}

.service ul li.active .service-content p {
    display: block;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 0; /* 필요한 경우 상단 여백 조정 */
}


.sub {
    padding: 20px 6.25vw 120px 6.25vw;
}

.sub .hero {
    position: relative;
    width: 100%;
    height: 33.438vw;
}

.sub .hero img {
    width: 100%;
    height: 29.167vw;
}

.sub .hero h2 {
    display: flex;
    align-items: center;
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 8.333vw;
    font-style: normal;
    font-weight: 400;
    line-height: 8.333vw; /* 100% */
    color: #FFF;    
}

.sub .hero h2 span {
    position: relative;
    padding-left: 1.667vw;
    margin-left: 1.667vw;
    font-size: 5.208vw;
    font-style: normal;
    font-weight: 400;
    line-height: 6.25vw; /* 100% */
}

.sub .hero h2 span::before {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    content: '';
    display: block;
    width: 0.156vw;
    height: 4.167vw;
    background: #6E6E6E;
}

.sub .hero .scroll-btn{
    display: none;
    position: absolute;
    right: 1.5vw;
    bottom: calc(var(--vh, 1vh) * 4.5);
    width: 32px;
    height: 32px;
    margin-bottom: 0.25rem;
    border-radius: 50%;
    border: 1px solid #fff;
    background-color: rgba(255,255,255,.2);
    animation: bounce2 2s infinite;
    cursor: pointer;
}

.sub .hero .icon-scroll-arr{
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    background: url(../img/icon_scroll_arr.svg) no-repeat center / 100% auto;
    transform: translate(-50%, -50%);
}

.sub .content {
    padding-top: 6.25vw;
}

.about-wrap .content_section {
    display: flex;
    align-items: center;
    gap: 2.292vw;
}

.about-wrap .content_section img {
    width: 43.229vw;
    height: auto;
    object-fit: cover;
}

.about-wrap .content_section h3 {
    font-size: 1.25vw;
    font-style: normal;
    font-weight: 400;
    line-height: 1.667vw; /* 133.333% */
    color: #FFF;
}

.about-wrap .content_section h3 img {
    width: 12.188vw;
    height: 2.5vw;
    display: block;
    margin-top: 0.417vw;
}

.about-wrap .content_section p {
    margin-top: 2.083vw;
    font-size: 0.833vw;
    font-style: normal;
    font-weight: 400;
    line-height: 1.146vw; /* 137.5% */
    color: #A4A4A4;
}

.rebuilt-wrap .content_section {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between; 
}
.rebuilt-wrap .content_section div {
    width: calc((100% / 2) - 0.625vw);
}

.rebuilt-wrap .content_section div img {
    width: 100%;
    height: 16.667vw;
    object-fit: cover;
}

.rebuilt-wrap .content_section div strong {
    display: block;
    margin-top: 1em;
    font-size: 1.667vw;
    font-style: normal;
    font-weight: 400;
    line-height: 2.188vw; /* 131.25% */
    color: #FFF;
}

.rebuilt-wrap .content_section div p {
    margin-top: 0.833vw;
    font-size: 0.938vw;
    font-style: normal;
    font-weight: 400;
    line-height: 1.25vw; /* 133.333% */
    color: #A4A4A4;
}

.rebuilt-wrap .content_section div:nth-child(n+3) {
    margin-top: 5.208vw;
}

.repair-wrap .content, .rental-wrap .content {
    padding-top: 0.833vw;
}

.storage-wrap .tab-container,
.gallery-wrap .tab-container {
    padding: 0;
}

.storage-wrap .tab-contents,
.gallery-wrap .tab-contents {
    margin-top: 0 !important;
}

.btn{
    display: inline-flex;
    align-items: center;
    gap: 4px;
    width: auto;
    padding: 0.625vw 1.04167vw;
    background: #fff;
    border: none;
    font-family: 'Jeju Myeongjo';
    font-size: 0.9375vw;
    font-style: normal;
    font-weight: 400;
    line-height: 1.334;
    color: #222;
    text-decoration: none;
    cursor: pointer;
}

.btn .icon_arr{
    display: inline-block;
    width: 1.25vw;
    height: 1.25vw;
    background: url(../img/icon_arr.svg) no-repeat center / 100% auto;
}

/* gallery v2 */
.gallery-wrap.v2 .tab-content{
    display: flex;
    margin-right: -0.834vw;
    margin-left: -0.834vw;
}
.gallery-wrap.v2 .tab-content > div{
    flex-direction: column;
    gap: 1.667vw;
    flex-basis: 33.33%;
    max-width: 33.33%;
    padding: 0 0.834vw;
}
.gallery-wrap.v2 .tab-content > div:nth-child(n+2){
    margin-top: 0;
}
.gallery-wrap.v2 .tab-content > div:nth-child(2n){
    justify-content: flex-start;
}
.gallery-wrap.v2 .tab-content > div:nth-child(2n) .txt_box{
    align-items: flex-start;
}
.gallery-wrap.v2 .tab-content > div a:not(.btn){
    width: 100%;
}

/* 탭 컨테이너 */
.tab-container {
    width: 100%;
    margin: 0 auto;
    /* padding: 20px; */
}

/* 탭 버튼 영역 */
.tab-buttons {
    display: flex;
    gap: 0.417vw;
}

.tab-buttons button {
    width: auto;
    padding: 0.729vw 2.083vw;
    background: #373737;
    border: none;
    font-family: 'Jeju Myeongjo';
    font-size: 1.042vw;
    font-style: normal;
    font-weight: 400;
    line-height: 1.458vw;
    color: #666;
    cursor: pointer;
}

.tab-buttons button.active {
    background: #FFF;
    color: #222;
}

.tab-buttons + .tab-contents {
    margin-top: 4.167vw;
}

/* 탭 컨텐츠 영역 */
.tab-contents {
    position: relative;
}

/* 개별 탭 컨텐츠 */
.tab-content {
    display: none;
}

/* 활성화된 탭 컨텐츠 */
.tab-content.active {
    display: block;
}

.tab-content > div {
    display: flex;
    gap: 3.75vw;
}

.tab-content > div:nth-child(2n) {
    justify-content: flex-end;
}

.tab-content > div:nth-child(2n) .txt_box{
    align-items: flex-end;
}

.tab-content > div:nth-child(n+2) {
    margin-top: 5.208vw;
}

.tab-content > div a:not(.btn){
    display: block;
    align-self: flex-end;
    position: relative;
    text-decoration: none;
    width: 42.969vw;
    height: 16.667vw;
}

.tab-content > div a:not(.btn) img{
    width: 100%;
    height: 100%;
}

.tab-content > div a:not(.btn) .txt_link{
    position: absolute;
    right: 1.25vw;
    bottom: 1.25vw;
    text-decoration: none;
    color: #fff;
    font-size: 0.72916vw;
    font-weight: 400;
    line-height: 1.42857;
}

.tab-content > div .btn{
    margin-top: 2.083vw;
}

.tab-content > div img {
    width: 42.969vw;
    height: 16.667vw;
    object-fit: cover;
}

.tab-content div.taL {
   text-align: left;
}

.tab-content div.taR {
    text-align: right;
}

.tab-content div.txt_box {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
}

.tab-content div.txt_box > span {
    display: block;
    font-size: 0.833vw;
    font-style: normal;
    font-weight: 400;
    line-height: 1.146vw; /* 137.5% */
    color: #FFF;
}

.tab-content div.txt_box h3 {
    position: relative;
    /* padding-bottom: 2.083vw; */
    margin-top: 0.208vw;
    padding-bottom: 0.833vw;
    font-size: 1.667vw;
    font-style: normal;
    font-weight: 400;
    line-height: 2.188vw; /* 131.25% */
    color: #FFF;
}

.tab-content div.txt_box h3:after {
    content: '';
    display: block;
    width: 2.5vw;
    height: 0.104vw;
    background: #A4A4A4;
    position: absolute;
    bottom: 0;
}

.tab-content div.txt_box p {
    position: relative;
    padding-top: 2.083vw;
    font-size: 0.938vw;
    font-style: normal;
    font-weight: 400;
    line-height: 1.25vw; /* 133.333% */
    color: #A4A4A4;
}

.tab-content .taL h3:after {   
    left: 0;
}

.tab-content .taR h3:after {
    right: 0;
}

.tab-content div.txt_box p span {
    color: #FFF;
}


/* 디바이스가 모바일일때 */
.is_mobile .service ul {
    flex-direction: column;
}

.is_mobile .service ul li {
    width: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease-out;
}

/* 각 li 요소별 지연 시간 설정 */
.is_mobile .service ul li:nth-child(1) {
    transition-delay: 0.2s;
}

.is_mobile .service ul li:nth-child(2) {
    transition-delay: 0.4s;
}

.is_mobile .service ul li:nth-child(3) {
    transition-delay: 0.6s;
}

.is_mobile .service ul li:nth-child(4) {
    transition-delay: 0.8s;
}

/* 나타나는 효과 */
.is_mobile .service ul li.visible {
    opacity: 1;
    transform: translateX(0);
}



