@charset "utf-8";
/* Modal */
#container{
    width: 100%;
}
#header.modalOpen,
#header.modalOpen + #megaNav,
.headerSwitchFixed:has(#header.modalOpen) #pnkz{
    top: -100%;
}
.headerSwitchFixed:has(#header.modalOpen) .secNormal .secNav.active{
    top: 0;
    position: fixed;
    height: 80px;
}
@media screen and (max-width: 767px){
    .headerSwitchFixed:has(#header.modalOpen) .secNormal .secNav.active{
        height: 120px;
    }
}

#Modal{
    display: none;
    position: relative;
    z-index: 9998;
    min-height: 100vh;
    top: 0;
    width: 100%;
    background-color:rgba(0,0,0,0.5);
    color: #000;
}
#Modal .modalIn{
    display: block;
    width: 100%;
    height: 100%;
}
#Modal .modalContent{
    width: 100%;
    padding: 50px 0;
}
#Modal .modal_overlay{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}
.secModal{
    width: calc(100% - 100px);
    max-width: 1100px;
    margin: 0 auto;
    background-color: #fff;
    position: relative;
    padding: 70px;
    box-sizing: border-box;
    z-index: 3;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}
#Modal.Open .secModal{
    transform: scale(1);
}
.secModal .modalClose{
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: #000;
    top: 0;
    right: 0;
    pointer-events: all;
    cursor: pointer;
}
.secModal.lazyloaded .modalClose{
    background: url(../img/estate/imgIconclose.png) center center no-repeat #000;
    background-size: 21px auto;
}
.secModal .modallist{
    display: block;
    width: 100%;
}
.secModal .modalitem{
    display: block;
    width: 100%;
}
.secModal .modalitem + .modalitem{
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid;
    border-color: rgba(204,204,204,0.8);
}
.secModal .itemIn{
    display: block;
    position: relative;
    padding-left: calc(360px + 40px);
    min-height: 260px;
}
.secModal .imgbox{
    position: absolute;
    width: 360px;
    height: 260px;
    left: 0;
    top: 0;
}
.secModal .ontxtbox{
    text-align: left;
    display: block;
}
.secModal .onboxtit{
    font-size: 24px;
    line-height: 30px;
    font-weight: bold;
    display: inline;
    color: #30415d;
}
.secModal .onboxtxt{
    font-size: 18px;
    line-height: 30px;
    font-weight: bold;
    display: inline;
}
.secModal .underbox{
    margin-top: 6px;
}
.secModal .undertxt{
    font-size: 14px;
    line-height: 2;
}
.secModal .underbtnbox{
    width: 200px;
    margin-top: 14px;
}
.secModal .underlink{
    display: flex;
    align-items: center;
    width: 100%;
    height: 50px;
    border-radius:10px;
    background-color: #ff9900;
    color: #fff;
}
.secModal .linkIntxt{
    display: inline-block;
    width: 100%;
    text-align: center;
    font-size: 18px;
    line-height: 24px;
    font-weight: 500;
    letter-spacing: 1px;
}
@media screen and (max-width: 767px){
    #Modal .modalContent{
        padding: 20px 0 30px;
    }
    .secModal{
        width: calc((335 / 375) * 100%);
        max-width:690px;
        padding: 20px;
    }
    .secModal .modalClose{
        top: 0px;
        width: 40px;
        height: 40px;
    }
    .secModal .modalitem + .modalitem{
        margin-top: 20px;
        padding-top: 20px;
    }
    .secModal .itemIn{
        padding-left: 0;
        min-height: 0;
    }
    .secModal .onbox{
        display: flex;
        align-items: center;
    }
    .secModal .imgbox{
        position: static;
        width: 124px;
        height:89px;
    }
    .secModal .ontxtbox{
        flex: 1;
        padding-left: 10px;
        display: inline-block;
    }
    .secModal .onboxtit{
        font-size: 16px;
        line-height: calc(24 / 16);
        display: block;
    }
    .secModal .onboxtxt{
        font-size: 13px;
        line-height: calc(20 / 13);
        display: block;
    }
    .secModal .underbox{
        margin-top: 12px;
    }
    .secModal .undertxt{
        font-size:12px;
        line-height:calc(20 / 12);
    }
    .secModal .underbtnbox{
        width: 200px;
        margin: 0 auto;
        margin-top: 17px;
    }
    .secModal .linkIntxt{
        font-size: 16px;
    }
}
@media screen and (max-width: 360px){
    .secModal .onboxtit{
        font-size: 13px;
    }
    .secModal .onboxtxt{
        font-size: 11px;
    }
    .secModal .undertxt{
        font-size: 10px;
    }
}