@charset "UTF-8" ;

body {
    /* iphone スクロールを滑らかに */
    -webkit-overflow-scrolling: touch;
}


.modal-overlay {
    display:none;
    position:fixed;
    top:0;
    left:0;
    
    width:100%;
    height:100vh;
    background-color: rgba(255,255,255,1);
    
    z-index:100;
}

.modal-content {
    display:none;
    position:fixed;
    width:100%;
    height: 100vh;
    margin:0;
    padding: 0;
    /*background: rgba(255,255,255,1);*/
    background: rgba(255,243,184,0.25);

    overflow: scroll;
    overflow-x: hidden;
    
    z-index:101;
}

/*------------------------------------------*/
/*                 head                     */
/*------------------------------------------*/
.modal-content #head {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 70px;
    text-align: right;
    margin: 0;
    padding: 10px 20px;
    background: #fff;
    
    z-index: 102;
}

/*------------------------------------------*/
/*                 body                     */
/*------------------------------------------*/
.modal-content #body {
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
    
    padding: 100px 0;

    z-index: 102;
}

/*------------------------------------------*/
/*                    news                  */
/*------------------------------------------*/
/*--- h3 ---*/
.modal-content .h3-box {
    display: block;
    width: 100%;
    margin-bottom: 40px;
    text-align: center;
}
.modal-content h3 {
    display: inline-block;
    text-transform: capitalize;
    text-align: center;
    letter-spacing: 2px;
    font-weight: 600;
    line-height: 1.6;
    color: #ff0;
    font-size: 30px;
    
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
    padding: 30px 0;
    border-radius: 10px;
    background: #ff0000;
}
.modal-content h3 span {
    display: block;
    margin-top: 20px;
    color: #fff;
    font-size: 25px;
}

/*--- h4 ---*/
.modal-content h4 {
    display: block;
    margin-bottom: 40px;
    text-align: center;
    letter-spacing: 2px;
    font-weight: 600;
    line-height: 1.8;
    font-size: 20px;
}
/*--- p ---*/
.modal-content p {
    display: inline-block;
    text-align: center;
    line-height: 2;
}




.modal-content .tojiru-btn {
    display: table;
    width: 100%;
    margin-top: 100px;
    text-align: center;
}
.modal-content .tojiru-btn a {
    padding-bottom: 5px;
    border-bottom: 1px rgba(0,0,0,0.3) solid;
    color: #000;
    text-align: center;
    font-weight: 100;
    font-size: 20px;
}






@media screen and (max-width: 1024px) {
}
@media screen and (max-width: 767px) {
}
@media screen and (max-width: 480px) {
    .modal-content h3 {
        font-size: 23px;
    }
    .modal-content h3 span {
        font-size: 20px;
    }
    .modal-content h4 {
        font-size: 16px;
    }
    .modal-content h4 span {
        display: block;
    }
    .modal-content .tojiru-btn a {
        font-size: 16px;
    }
}










/*------------------------------------------*/
/*               original                   */
/*------------------------------------------*/
/*
.modal-open {
    color:#00f;
}
*/
.modal-open:hover {
    cursor:pointer;
    opacity: 0.8;
}

.modal-close {
    color:#00f;
}

.modal-close:hover {
    cursor:pointer;
    color:#f00;
}