/* CSS Document */

.sp-nav-header {
    background: #444;
    height: 60px;
}

#top_movie video{
    filter: drop-shadow(0px 0px #000);
    object-fit: cover;
    width: 100%;
    height: 100svh;
}

#top_main{
    text-align: center;
    margin-top: 80px;
}

#top_main h2.sub{
    margin-bottom: 80px;
    font-family: var(--En-san);
    letter-spacing: 0.3rem;
    font-weight: normal;
    font-size: clamp(1.4rem, 1.215rem + 0.78vw, 1.8rem);
}

#top_main h2.sub::after{
    content: "";
    width: 50px;
    display: block;
    margin: auto;
    height: 1px;
    border-bottom: 1px solid #9A9A9A;
    margin-top: 20px;
}



#top_main ol{
    justify-content: center;
}

#top_main ol li{
    width: 21%;
    max-width: 180px;
    margin: 0 2% 8%;
    cursor: pointer;
}


#top_main ol::after {
    content: '';
    width: 100%;
}
#top_main ol li:nth-child(n+3) {
    order: 1;
}




/*
サロン　モーダル
-------------------------------------------------------------------------------*/
.modal{
    display: none;
    height: 100vh;
    position: fixed;
    top: 0;
    width: 100%;
}
.modal__bg{
    background: rgba(0,0,0,0.8);
    height: 100vh;
    position: absolute;
    width: 100%;
}
.modal__content {
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    max-width: 600px;
    max-height: 80vh; 
    overflow: auto;
}
.modal__content .inner {
    background: #fff;
    padding: 35px 5% 60px;
    box-sizing: border-box;
    font-size: clamp(1.35rem, 1.207rem + 0.39vw, 1.6rem);
    word-break: keep-all;
    overflow-wrap: anywhere;
}


.modal__content .inner dt h2{
    font-size: 18px;
    margin: 30px auto 20px;
}

.modal__content .inner dt img{
    width: 30%;
    max-width: 130px;
    margin-bottom: 20px;
}


.modal__content .inner dt span{
    display: block;
    margin-bottom: 10px;
    font-size: 12px;
}

.modal__content .inner dt h2 span {
    font-weight: normal;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.modal__content .inner dd{
    margin-top: 15px;
    line-height: 2;
}

.modal__content .inner .btn{
    text-align: left;
    border: 1px solid var(--base-color);
    max-width: 300px;
    margin: 60px auto 20px;
    border-radius: 50px;
}

.modal__content .inner .btn a{
    display: block;
    padding: 20px 0;
    text-indent: 25px;
    box-sizing: border-box;
    font-family: var(--En-san);
    letter-spacing: 0.12rem;
    background: url("../img/top/arrow.png") no-repeat 90%;
}

.modal__content .inner ul.mall{
    margin-top: 20px;
    justify-content: center;
}

.modal__content .inner ul.mall li{
    font-size: 70%;
    border: 1px solid;
    border-radius: 25px;
    line-height: 1.3;
    display: flex;
    align-items: center;
}

.modal__content .inner ul.mall li:nth-of-type(2){
    margin: 0 1%;
}


.modal__content .inner ul.mall li a{
    display: block;
    padding: 5px 15px;
}








.modal .close {
    position: absolute;
    top: 4.3vh;
    font-size: 35px;
    font-weight: 100;
    cursor: pointer;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    max-width: 600px;
    text-align: right;
    background: none;
    border: none;
    color: #fff;
}

.modal .close a {
    color: #fff;
    text-decoration: none;
}




@media only screen and (max-width: 789px) {  
.modal__content,
.modal .close{
    width: 85%;
}

.modal .close{
    text-align: center;
    margin: auto;
}


#top_main {
    text-align: center;
    margin-top: 60px;
}
#top_main h2.sub {
    margin-bottom: 60px;
}




}


@media only screen and (max-width: 580px) {  
#top_main ol {
    justify-content: space-evenly;
}
#top_main ol li{
    width: 47%;
    max-width: 180px;
    margin: 0 0 15%;
}

}


@media only screen and (max-width: 450px) {  
#top_main ol {
    justify-content: space-between;
}

}







