/* Common */
.app--main #contents{
    padding:0;
}

.main-section .container{
    max-width: calc(var(--main-max-width) + 12px*2);
}

/* section1 */

/* Tab Menu */
.tab-list{
    margin-bottom: 32px;
}

.tab-contents { position: relative; }
.tab-contents > li { display: none; position: absolute; top: 0; left: 0; }
.tab-contents > li.on { display: block; height:auto; position:relative; animation: contents-on ease-in-out .5s forwards; }
@-webkit-keyframes contents-on { from { opacity: 0; } to { opacity: 1; } }
@keyframes contents-on { from { opacity: 0; } to { opacity: 1; } }

.s1-tab-btn-wrap{
    position: relative;
    width: 100%;
    overflow: hidden;
}

.s1-tab-btn-wrap::after{
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: #9c9c9c;
    bottom: 0;
    left: 0;
    z-index: 1;
}

.s1-tab-btn-wrap.on::after{
    height: 2px;
    background-color: var(--v-primary-base);
}

.s1-tab-btn{
    position: relative;
    width: 100%;
}

.s1-tab-btn .tab-arrow{
    position: absolute;
    top: calc(50% - 8px);
    left: 42px;
    opacity: 0;
    transition: 0.25s ease-out;
}

.s1-tab-btn p{
    font-weight: 500;
    position: relative;
    left: 0;
    transition: 0.25s ease-out;
    width: 100%;
}

.s1-tab-btn-wrap.on .s1-tab-btn .tab-arrow{
    left: 0;
    opacity: 1;
}

.s1-tab-btn-wrap.on .s1-tab-btn p{
    font-weight: 700;
    left: 42px;
    color: var(--v-primary-base);
}

.s1-tab-content{
    position: relative;
}

.s1-tab-content-img{
    position: relative;
}

.s1-tab-content-img::after{
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
    transform: translate(50%, 50%) rotate(45deg);
    width: 64px;
    height: 64px;
    background-color: #fff;
}

.s1-tab-content-txt{
    margin-top: 20px;
}

.s1-btn{
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid #e4e4e4;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transform: rotate(0);
    transition: 0.25s ease-out;
}

.s1-btn-plus{
    width: 16px;
    height: 16px;
    position: relative;
}

.s1-btn-plus::after,
.s1-btn-plus::before{
    content: "";
    display: block;
    position: absolute;
    background-color: var(--v-primary-base);
    transition: 0.25s ease-out;
}

.s1-btn-plus::after{
    top: 50%;
    left: 0;
    transform: translate(0, -50%);
    width: 100%;
    height: 2px;
}

.s1-btn-plus::before{
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
    width: 2px;
    height: 100%;
}

@media (min-width:576px){
}
@media (min-width:768px){
    .main-section1{
        background-image: url(/res/images/main/s1-bg.svg);
        background-repeat: no-repeat;
        background-size: 320px auto;
        background-position: left bottom;
    }

    .s1-tab-content-txt{
        margin-top: 0;
        position: absolute;
        background-color: #fff;
        left: 0;
        bottom: 0;
        z-index: 2;
    }
    .tab-list{
        margin-bottom: 0;
    }

    .s1-tab-btn-wrap{
        width: 300px;
        max-width: calc(100% - 20px);
    }

}
@media (min-width:1024px){
    .main-section1{
        background-size: 430px auto;
    }

    .s1-btn{
        position: absolute;
        bottom: 3px;
        right: 3px;
        width: 70px;
        height: 70px;
    }

    .s1-btn-plus{
        width: 22px;
        height: 22px;
    }
    .s1-btn-plus::after{
        height: 4px;
    }

    .s1-btn-plus::before{
        width: 4px;
    }

    .s1-tab-content-img::after{
        width: 116px;
        height: 116px;
    }

}
@media (min-width:1200px){
    .s1-tab-btn:hover{
        color: var(--v-primary-base);
    }

    .s1-btn:hover{
        background-color: var(--v-primary-base);
        border-color: var(--v-primary-base);
        transform: rotate(180deg);
    }
    .s1-btn:hover .s1-btn-plus::after,
    .s1-btn:hover .s1-btn-plus::before{
        background-color: #fff;
    }
}

/* section2 */
.main-section2{
    background-color: #f4f4f4;
}

.partner-wrap{
    position: relative;
    height: 0;
    width: 100%;
    padding-top : calc(100 / 218 * 100%);
    border: 1px solid #e4e4e4;
    background-color: #fff;
    transition: 0.15s ease-out;

}
.partner{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
}

.partner-hidden{
    display: none;
}

/* section3 */
.main-section3{
    background-image: url(/res/images/main/s3-bg-m.png);
    background-repeat: no-repeat;
    background-size: 100% calc(100% - 462px) cover;
    background-position: center top;
    margin-bottom: -10px;
}

.main-section3 .container{
    position: relative;
}

.main-section3 iframe{
    position: relative;
    width: calc(100% + 24px);
    height: 450px;
    left: -12px;
    margin-top: 50px;
}

.location-txt{
    position: relative;
    background-color: #fff;
    border: 1px solid #e4e4e4;
    margin-top: 30px;
}

@media (min-width:576px){
}
@media (min-width:768px){

}
@media (min-width:1024px){

}
@media (min-width:1200px){
    .main-section3{
        background-image: url(/res/images/main/s3-bg.png);
        padding-bottom: 470px;
        background-repeat: no-repeat;
        background-size: 45% 100%;
        background-position: left center;
        margin-bottom: 0;
    }

    .partner-wrap:hover {
        border: 1px solid var(--v-primary-base);
    }

    .location-txt{
        position: absolute;
        left: 12px;
        top: 174px;
        z-index: 2;
        margin-top: 0;
    }

    .main-section3 iframe{
        width: 60vw;
        height: calc(100% + 610px);
        position: absolute;
        top: -140px;
        left: 530px;
        margin-top: 0;
    }
}
@media (min-width:1320px){
    .main-section3 iframe{
        left: 587px;
    }
}
