  
.modal-open {
    /*postion: -webkit-sticky;
    position: sticky;*/
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 1;
}
#td_lp02_wrap .modal-open {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1;
}
.modal-open{
    display: inline-block;
    background-color: #f17070;
    color: #fff;
    width: 65px;
}


.modal-open a{
    display: block;
    padding: 38px 10% 5px;
    text-decoration: none;
    color: #fff !important;
    font-weight: bold;
    position: relative;
    width: 80%;
    text-align: center;
}
.modal-open a span {
    width: 30px;
    margin: 0 auto;
    height: 3px;
    background: #fff;
}
.modal-open a span:nth-child(1){
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    margin: 0 auto;
}
.modal-open a span:nth-child(2){
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    margin: 0 auto;
}
.modal-open a span:nth-child(3){
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    margin: 0 auto;
}
.modal{
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
}
.modal:not(:target) {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s, visibility 0.5s;
}
.modal:target{
    opacity: 1;
    z-index: 15;
    visibility: visible;
    transition: opacity 0.5s, visibility 0.5s;
}
.modal .overlay{
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: #000;
    opacity: 0.7 !important;
    top: 0;
    left: 0;
}
.modal .overlay{}
.modal-wrapper{
    width: 100%;
    max-width: 600px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow: visible;
    /*グラデーション*/
    background: #f17070;
    background: -moz-linear-gradient(top,  #f17070 0%, #ffa59a 100%);
    background: -webkit-linear-gradient(top,  #f17070 0%,#ffa59a 100%);
    background: linear-gradient(to bottom,  #f17070 0%,#ffa59a 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f17070', endColorstr='#ffa59a',GradientType=0 );
    /*グラデーション*/
}
.modal-contents{
    overflow: visible;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    position: relative;
    padding: 10% 10% 5%;
}
.modal-content{
    /*margin: 25px;*/
}
.modal-close{
    position: absolute;
    top: 10px;
    right: 20px;
    text-decoration: none;
    width: 60px;
    z-index: 1;
}
.modal-contents h3{
    width: 90px;
    margin: 0 auto 40px;
    text-align: center;
    border-top: 2px solid #fff;
    border-bottom: 2px solid #fff;
    padding: 10px 0 5px;
}
.modal-contents h3 span{
    line-height: 1;
}
.modal-contents ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}
.modal-contents ul li {
    list-style: none;
    width: 45%;
    max-width: 227px;
    margin: 0 10px 10px;
}
.modal-contents ul li a {
    display: block;
    transition: 0.3s;
}
.modal-contents ul li a:hover {
    opacity: 0.7;
}
.modal-contents ul li.top_back {
    width: 100%;
    max-width: 464px;
}
.modal-contents ul.modal-logo_area {
    align-items:center;
    margin-top: 20px;
}
.modal-contents ul.modal-logo_area li:nth-child(1) {
    width: 45%;
    max-width: 176px;
}
.modal-contents ul.modal-logo_area li:nth-child(2) {
    width: 45%;
    max-width: 166px;
}


/*=============================
sp
=============================*/
@media only screen and (max-width: 768px) {

    .modal-open {
        top: 10px;
        right: 10px;
        width: 50px;
    }
    .modal-open a {
        font-size: 80%;
    }

    .modal-wrapper {
        width: 85%;
    }
    .modal-contents {
        padding: 30px 20px 15px;
    }
    .modal-contents h3 {
        margin: 0 auto 20px;
    }
    .modal-close {
        width: 40px;
        right: 10px;
    }
    .modal-contents ul li {
        width: 100%;
        margin: 0 auto 10px;
        max-width: 100%;
    }
    .modal-contents ul.modal-logo_area {
        max-width: 90%;
        margin: 10px auto 0;
    }

}
