
/* modal
--------------------------------------------------------------*/
/*html.openModal {
    overflow: hidden !important;
}*/

/*body {position: relative;}*/

#modalWrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: -1;
}

#modalWrap * {
    box-sizing: border-box;
}

#modalWrap .mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: -1;
    background: rgba(0, 0, 0, 0.5);
}
#modalWrap .mask a {
    display: block;
    width: 100%;
    height: 100%;
    cursor: default;
}

#modalWrap .inner {
    position: relative;
    width: 1170px;
    margin: 0 auto;
    z-index: 1;
}

#modalWrap .detailWrap {
    position: fixed;
    top: 0;
    left: 0;
    overflow-y: auto;
    overflow-x: hidden;
    width: 100%;
}

#detailModal {
    position: relative;
    left: auto;
    display: none;
    width: 1050px;
    /*height: 100%;*/
    margin: 0 auto;
}

#detailModal .modal_cnt .box.typeC {
    margin: 0;
}

#detailModal .pop_obj .btn_pop_close {
    cursor: pointer;
}

#detailModal .pop_obj.pop_item .btn_pop_close,
#detailModal .pop_obj.pop_list .btn_pop_close {
    position: absolute;
    top: 0;
    right: -60px;
    width: 60px;
    height: 60px;
    background: none;
    border: none;
    text-indent: -9999em;
    z-index: 2;
}

#detailModal .pop_obj.pop_item .btn_pop_close {
    right: -60px;
}

#detailModal .pop_obj.pop_list .btn_pop_close {
    right: 65px;
}
#detailModal .pop_obj.pop_message .btn_pop_close {
    display: block;
    font-size:18px;
    font-weight: 600;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    border-radius:5px;
    padding: 6px 37px;
    text-decoration:none;
    width: 90%;
    border: none;
    color: #ffffff;
    margin: 0 auto 8px;
    background-color: #999999;
}
#detailModal .btn_pop_close:focus {
    outline: 0;
}

#detailModal .modal_cnt {
    display: none;
}

html.openModal #modalWrap {
    height: 100%;
    z-index: 9999;
}

html.openModal #modalWrap .mask {
    height: 100%;
}

html.openModal #modalWrap .detailWrap {
    height: 100%;
}

html.openModal #detailModal {
    display: block;
}

#contentArea .pop_obj {
    display: none;
}

#contentArea .pop_obj.pop_message {
    width: 320px;
    height: 250px;
    margin-left: auto;
    margin-right: auto;
    background: #ffffff;
    -webkit-border-radius: 5px;
            border-radius: 5px;
    position: relative;
}
#contentArea .pop_obj.pop_message:before {
    content: '';
    width: 80px;
    height: 80px;
    position: absolute;
    top: 17px;
    left: 50%;
    margin-left: -40px;
    background: url(https://static.ncsoft.jp/images/bns/common/icon_modal.png) no-repeat;
}
#contentArea .pop_obj.pop_message .boxInn {
    display: table;
    position: relative;
    width: 100%;
    height: 195px;
}

#contentArea .pop_obj.pop_message .boxInn p {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    font-size: 18px;
    color: #333333;
    padding-top: 90px;
}

#contentArea .pop_obj.pop_list {
    width: 800px;
    margin-left: 125px;
    margin-bottom: 100px;
}
@media (max-width: 767px){
    #modalWrap .inner,
    #detailModal {
        width: 100%;
    }
    #contentArea .pop_obj.pop_message {
        width: 280px;
        height: 220px;
    }
    #contentArea .pop_obj.pop_message .boxInn {
        height: 163px;
    }
}