a:hover{
    text-decoration: none;
}
.new_toc_banner>img,.toc_page_box>img,.new_toc_purchasebox>img,.new_toc_banner_sp>img{
    width: 100%;
   
}
.new_toc_box_page>a{
    display: block;
}
.toc_page_box{
    width: 23%;
    margin-bottom: 2%;
    margin-left: 2.66%;
}
.toc_page_box img{
    border: 1px solid #F5F5F5;
}
.new_toc_box_page .toc_page_box:hover img{
    box-shadow: 0px 5px 15px rgb(0 0 0 / 20%);
    -webkit-transition: -webkit-box-shadow .3s linear;
    transition: box-shadow .3s linear;
}
.toc_page_news .toc_page_box:hover img,.new_toc_purchasebox:hover img{
    opacity: 0.7;
}

.toc_page_box:hover p,.new_toc_purchasebox:hover p,.toc_page_news .toc_page_box:hover h4,.toc_page_news .toc_page_box:hover p{
color: #CC0000;
}
.toc_page_box:nth-child(4n+1),.new_toc_purchasebox:nth-child(5n+1){
    margin-left: 0;
}
.toc_page_box>p{
    font-size: 20px;
    color: #000;
    font-weight: bold;
    margin-top: 15px;
}
.new_toc_page_title{
    font-size: 30px;
    color: #111111;
    font-weight: 400;
    margin: 30px auto;
    text-align: center;
}
.toc_page_newsc{
    background-color: #F5F5F5;
    padding: 10px 20px;
}
.toc_page_newsc>h4{
    font-weight: bold;
    color: #111111;
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.6;
    word-break: break-all;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: 51px;
}
.toc_page_newsc>p{
    font-size: 15px;
    font-weight: 400;
    color: #494747;
}
.new_toc_purchasebox{
    width: 15.2%;
    display: block;
    margin-left: 6%;
}
.new_toc_purchasebox>p{
    font-weight: 400;
    color: #111111;
    text-align: center;
    margin-top: 2px;
    font-size: 16px;
}
.new_toc_banner_sp{
    display: none;
}
@media screen and (max-width:974px) {
    .toc_page_box{
        width: 48%;
        margin-left: 4%;
        max-width: 100%;
        margin-bottom: 40px;
    }
    .toc_page_box:nth-child(2n+1){
        margin-left: 0%;
    }
    .new_toc_purchasebox {
        width: 48%;
        margin-left: 4%;
        margin-bottom: 40px;
    }
    .new_toc_purchasebox:nth-child(2n+1){
        margin-left: 0%;
    }
    .new_toc_banner_sp{
        display: block;
    }
    .new_toc_banner{
        display: none;
    }
}

