#lb2 p,
#lb3 p,
#lb4 p,
#lb5 p {
    margin-left: 30px;
    margin-bottom: 30px;
}

#contents_box .wap {
    max-width: 100%;
}

#contents_box img {
    margin: 0 auto;
    margin-bottom: 10px;  
}

#contents_box .area {
    width: 100%;
    margin-top: 50px;
    margin-bottom: 30px;
}

a {
    color: white;
    text-decoration: none;
}

a:hover {
    opacity: 0.7;
    color: aqua;
}

.map-img {
    width: 100%;
}

.main_modal {
    display: none;
}

.main_modal {
    display: none;
    max-width: 980px;
    max-height: 741px;
    margin: 0;
    padding: 30px 29px;
    padding-bottom: 40px;
    position:fixed;
    border-radius: 0.6em;
    background-color: white;
    z-index: 10000;
}

.popup-iframe-wap .modal_img {
    width: 100%;
}

#modal_bg {
    display:none;
    width:100%;
    height:100%;
    background-color: rgba(0,0,0,0.5);
    position:fixed;
    top:0;
    left:0;
    z-index: 9999;
}

#modal_main_bg {
    display:none;
    width: 1000px;
    height: 800px;
    margin-left: -10px;
    background-color: rgba(255,255,255,0.5);
    position:fixed;
    top:0;
    left:0;
    z-index: 10005;
}

.map_btn {
    position: absolute;
    top: 290px;
    right: 60px;
}

.modal_map {
    display: none;
    top: 0;
    left: 0;
    position:fixed;
    z-index: 10010;
}

.pn_box {
    position: absolute;
    bottom: 10px;
    left: 28px;
    color: black;
    z-index: 10003;
}

.pn_box a {
    font-size: 20px;
    line-height: 20px;
    color: black;
}

.close_btn {
    position: absolute;
    right: 28px;
    bottom: 0;
    z-index: 10002;
}

.close_btn:hover {
    opacity: 0.7;
}

@media screen and (max-width: 820px){
    #lb1-topic {
        flex-direction: column;
        flex-wrap: wrap;
        text-align: center;
    }
    
    #lb1-topic .wap {
        text-align: left;
        margin-bottom: 15px;
    }
}

@media screen and (max-width: 480px){
    #contents_box img {
        margin-bottom: 10px;
    }

    .flex {
        display: block;
        margin: 0;
    }
    
    #contents_box .wap {
        max-width: 350px;
        margin: 0;
        margin-left: 0;
    }
    
    #contents_box .wap h3{
        font-size: 15px;
        line-height: 15px;
    }
    
    #lb2 p,
    #lb3 p,
    #lb4 p,
    #lb5 p {
        margin-left: 15px;
        margin-bottom: 23px;
        font-size: 8px;
        line-height: 12px;
    }
    
    .sp_img {
        max-width: 420px;
        margin: 0 auto;
    }
    
    .sp_img img {
        width: 100%;
    }
}




.mfp-wrap.popup-iframe-wap .mfp-content {
    max-width: 980px;
    height: 781px;
}

.mfp-wrap.popup-iframe-wap .mfp-iframe {
    padding: 34px 29px 18px;
    border-radius: 1em;
    background-color: white;
    overflow-x: scroll;
}

.mfp-wrap.popup-iframe-wap .mfp-close {
    width: 75px;
    height: 22px;
    top: 792px;
    right: -30px;
    padding: 0;
    z-index: 1000;
    background-image: url("/products/gd2020_switch/image/common/close.png");
}

@media screen and (max-width: 480px) {
    .mfp-wrap.popup-iframe-wap .mfp-content {
        width: 430px;
        height: 606px;
    }
    
    .mfp-wrap.popup-iframe-wap .mfp-iframe {
        padding: 10px;
    }

    .mfp-wrap.popup-iframe-wap .mfp-close {
        width: 36px;
        height: 36px;
        top: 15px;
        right: -5px;
        padding: 0;
        z-index: 1000;
        background-image: url("/products/gd2020_switch/image/common/close_s.png");
    }
}

@media screen and (max-width: 449px) {
    .mfp-wrap.popup-iframe-wap .mfp-content {
        width: 300px;
        height: 430px;
    }
}
