#grade-and-price{
    padding:130px 0 106px 0;
    background-color:#F2F3F5;
}
#grade-and-price #grades-group{
    display:flex;
    justify-content: space-between;
    margin-bottom: 90px;
}
#grade-and-price #grades-group li{
    width:32%;
    box-sizing: border-box;
    box-shadow: 0px 0px 8px 0px #d8d8d8;
    background-color: #fff;
}
#grade-and-price #grades-group li .grade-content{
    padding: 33px 33px 46px 33px;
}
#grade-and-price #grades-group li .grade-content .grade-logo{
    position: relative;
    text-align: center;
    margin-bottom: 27px;
}
#grade-and-price #grades-group li .grade-content .grade-logo img{
    height: 13px;
}
#grade-and-price #grades-group li .grade-content .grade-logo:after{
    content: " ";
    width:160px;
    height:1px;
    background-color: #9D9D9D;
    position: absolute;
    bottom: -7px;
    left:50%;
    margin-left:-80px;
}
#grade-and-price #grades-group li .grade-content .grade-thumb{
    width:100%;
    border: 2px solid #D0D0D0;
    display:block;
    margin-bottom: 10px;
}
#grade-and-price #grades-group li .grade-content .grade-price{
    border-bottom:1px solid #8E8E8E;
    padding-bottom:6px;
    margin-bottom:12px;
}
#grade-and-price #grades-group li .grade-content .grade-price .aditional span{
    font-size:11px;
}
#grade-and-price #grades-group li .grade-content .grade-price .aditional strong{
    font-size:13px;
}
#grade-and-price #grades-group li .grade-content .grade-price span{
    font-size:15px;
}
#grade-and-price #grades-group li .grade-content .grade-price strong{
    font-size:22px;
}
#grade-and-price #grades-group li .grade-content p{
    font-size:15px;
    height:70px;
}
#grade-and-price #grades-group li .grade-link{
    width: 100%;
    display: block;
    background-color: #EAEAEA;
    color: #000;
    text-decoration: none;
    text-align: center;
    padding: 14px 0;
    border:none;
    cursor:pointer;
}
#grade-and-price #grades-group li .grade-link img{
    margin-left: 10px;
    vertical-align: middle;
}

#grade-and-price #grades-comparison{
    background-color: #fff;
    box-shadow: 0px 0px 4px 0px #d9d9d9;
    padding:20px 0 100px 0;
}
#grade-and-price #grades-comparison h2{
    font-weight: 500;
    font-size:28px;
    text-align:center;
    position:relative;
    margin-bottom:51px;
}
#grade-and-price #grades-comparison h2:after{
    content:" ";
    width:236px;
    height:1px;
    background-color:#707070;
    position: absolute;
    bottom:-9px;
    left:50%;
    margin-left:-118px;
}
#grade-and-price #grades-comparison table{
    width:885px;
    margin:0 auto;
    background-color:#8E8E8E;
    border-spacing: 1px;
}
#grade-and-price #grades-comparison table tr{
    background-color:#f1f1f1;
}
#grade-and-price #grades-comparison table tr th{
    padding:5px 0;
}
#grade-and-price #grades-comparison table tr td{
    text-align: center;
    color:#1d1d1d;
    padding:5px 0;
}
#grade-and-price #grades-comparison table tr th:nth-of-type(even), #grade-and-price #grades-comparison table tr td:nth-of-type(even){
    background-color:#fafafa;
}
#grade-and-price #grades-comparison table tr td .fa-window-minimize{
    vertical-align: top;
}
#grade-and-price #grades-comparison table tr th img{
    vertical-align: middle;
    height:11px;
}

#modal{
    width:100%;
    height:0;
    position:fixed;
    top:0;
    left:0;
    z-index: 99999;
    overflow-y: auto;
    opacity:0;
}
.show-modal{
    animation: show_modal 0.5s forwards;
}
@keyframes show_modal{
    0%{
        opacity:0;
        height:0;    
    }
    1%{
        height:100%;
    }
    100%{
        height:100%;
        opacity:1;
    }
}
.hide-modal{
    animation: hide_modal 0.5s forwards;
}
@keyframes hide_modal{
    0%{
        opacity:1;
        height:100%;    
    }
    99%{
        opacity:0;
        height:100%;
    }
    100%{
        opacity:0;
        height:0;
    }
}
#modal .close-layer{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:0;
    opacity:0;
    background-color:rgba(51,51,51,0.72);
}
.show-modal .close-layer{
    animation: show_modal 0.5s forwards;
}
.hide-modal .close-layer{
    animation: hide_modal 0.5s forwards;
}
#modal .modal-box{
    max-width: 930px;
    width: 90%;
    box-sizing: border-box;
    padding: 65px 61px 65px 61px;
    margin: 100px auto 0 auto;
    background-color: #fff;
    position: relative;
    display:none;
}
#modal .modal-box .main-picture{
    width:100%;
    display:block;
    border:2px solid #BFBFBF;
    margin-bottom:28px;
}
#modal .modal-box .grade-logo{
    height: 27px;
    display: block;
    margin: 0 auto 100px auto;
}
#modal .modal-box .grade-price{
    padding-bottom: 8px;
    border-bottom: 1px solid #8E8E8E;
    margin-bottom: 95px;
    display: table;
    margin: 0 0 95px auto;
}
#modal .modal-box .grade-price span{
    font-size:20px;
    color:#3E3E3E;
}
#modal .modal-box .grade-price strong{
    font-size:34px;
    color:#161A21;
    margin:0 22px 0 56px;
}
#modal .modal-box .grade-features{
    border-top: 1px solid #8E8E8E;
    padding-top: 12px;
}
#modal .modal-box .grade-features h2{
    font-size:26px;
    margin-bottom:26px;
}
#modal .modal-box .grade-features ul{
    display:flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom:50px;
}
#modal .modal-box .grade-features ul li{
    width: 48%;
    margin-bottom:50px;
}
#modal .modal-box .grade-features ul li img{
    width:100%;
}
#modal .modal-box .grade-features ul li h3{
    font-size:18px;
    font-weight: normal;
    margin-bottom:10px;
}
#modal .modal-box .option-link{
    max-width: 500px;
    display:block;
    margin: 0 auto 10px auto;
}
#modal .modal-box .option-link img{
    display: block;
    width: 100%;
    margin: 0 auto;
}
#modal .modal-box .option-link .mobile{
    display:none;
}


#modal .close-modal-1{
    position: absolute;
    top:-40px;
    right:0;
    height:30px;
    cursor:pointer;
}
#modal .close-modal-2{
    max-width: 930px;
    width: 90%;
    box-sizing: border-box;
    display: block;
    margin: 0 auto 100px auto;
    border: none;
    padding: 10px 0;
    font-size: 19px;
    cursor: pointer;
    font-family: 'Noto Sans JP', sans-serif;
    color: #191919;
    position: relative;
}
#modal .close-modal-2 img{
    vertical-align: middle;
    margin-left:5px;
    width:20px;
}


@media screen and (max-width: 1050px){
    #grade-and-price #grades-group li .grade-content{
        padding:33px 20px 46px 20px;
    }
    #grade-and-price #grades-group li .grade-content .grade-price span{
        font-size: 13px;
    }
    #grade-and-price #grades-group li .grade-content .grade-price strong{
        font-size:20px;
    }
    #grade-and-price #grades-comparison{
        padding:20px 20px 100px 20px;
    }
    #grade-and-price #grades-comparison table{
        width:100%;
    }
    #grade-and-price #grades-comparison table tr th{
        padding:5px;
    }
}
@media screen and (max-width: 850px){
    #grade-and-price #grades-group{
        display: block;
        justify-content: unset;
    }
    #grade-and-price #grades-group li{
        width:100%;
        margin-bottom:40px;
    }
    #grade-and-price #grades-group li .grade-content .grade-logo img{
        height:20px;
    }
    #grade-and-price #grades-comparison table tr td{
        font-size:13px;
    }
    #grade-and-price #grades-comparison table tr td:first-of-type{
        text-align:left;
        padding-left:10px;
    }
    #grade-and-price #grades-comparison table tr th img{
        height:9px;
    }
}
@media screen and (max-width: 650px){
    #modal .modal-box .grade-features ul li h3{
        font-size:15px;
    }
    #modal .modal-box .option-link img{
        width: 100%;
    }
}
@media screen and (max-width: 550px){
    #grade-and-price .container{
        width:100%;
    }
    #grade-and-price #grades-group{
        padding:0 20px;
    }
    #grade-and-price #grades-comparison table tr th img{
        height:6px;
    }
    #grade-and-price #grades-comparison table tr td{
        font-size:10px;
    }
    #modal .modal-box{
        padding:65px 40px 65px 40px;
    }
}
@media screen and (max-width: 500px){
    #grade-and-price #grades-group li .grade-link{
        font-size: 15px;
    }
    #modal .modal-box{
        width:100%;
        padding:65px 15px 65px 15px;
    }
    #modal .close-modal-2{
        width:100%;
        font-size:15px;
    }
    #modal .close-modal-2 img{
        width:10px;
    }
    #modal .modal-box .grade-features h2{
        font-size: 18px;
    }
    #modal .modal-box .grade-logo{
        height:17px;
        margin-bottom:17px;
    }
    #modal .modal-box .grade-price{
        margin: 0 auto 60px auto;
    }
    #modal .modal-box .grade-price span{
        font-size:15px;
    }
    #modal .modal-box .grade-price strong{
        font-size: 27px;
        margin: 0 5px 0 15px;
    }
    #modal .modal-box .grade-features ul{
        margin-bottom:30px;
    }
}
@media screen and (max-width: 400px){
    #modal .modal-box .grade-features ul li h3{
        font-size:14px;
    }
}