@media (max-width:1400px){
/*サイズ*/
header#sp-header .container{
    width: 100%!important;
}
.container,
header#sp-header .container .row #sp-menu ul,
#sp-top-contents .container #sp-top-contents .top_contents_all .top_contents_container,
header#sp-header .container .row #sp-logocustoms,
  section#sp-top-bar #sp-top2,
  section#sp-footermenu .container,
#sp-top-contents .container #sp-top-contents .top_news{
    width:1200px;
    padding-right:0;
    padding-left:0;
}
.body-wrapper{
    background-size: 1200px auto!important;
}
#sp-menu .sp-megamenu-wrapper ul.sp-megamenu-parent{
    display: block!important;
}

/*top contentsを調整*/

.top_contents_04_line3 .line3_left,
.top_contents_04_line3 .line3_center,
.top_contents_04_line3 .line3_right{
    padding: 20px 20px;
}
  
  


}

@media (max-width:1240px){
/*サイズ*/
header#sp-header .container{
    width: 100%!important;
}
.container,
header#sp-header .container .row #sp-menu ul,
#sp-top-contents .container #sp-top-contents .top_contents_all .top_contents_container,
header#sp-header .container .row #sp-logocustoms,
  section#sp-top-bar #sp-top2,
  section#sp-footermenu .container,
#sp-top-contents .container #sp-top-contents .top_news{
    width:980px;
    padding-right:0;
    padding-left:0;
}
.body-wrapper{
    background-size: 980px auto!important;
}
#sp-menu .sp-megamenu-wrapper ul.sp-megamenu-parent{
    display: block!important;
}

/*top contentsを調整*/

.top_contents_04_line3 .line3_left,
.top_contents_04_line3 .line3_center,
.top_contents_04_line3 .line3_right{
    padding: 20px 20px;
}
  
.footer_logo {
    margin: 36px 0;
    /* margin-left: 25px; */
    max-width: 122px;
}


}

@media (max-width:980px) and (min-width: 768px){
#sp-menu .sp-megamenu-wrapper ul.sp-megamenu-parent li{
/*
    margin: 0px 0.5%;
    font-size: 10px;
    width: 15.67%;
*/
}
#sp-menu .sp-megamenu-wrapper ul.sp-megamenu-parent li a{
    font-size: 10px;
    line-height: 35px;
}
.container,
header#sp-header .container .row #sp-menu ul,
/*#sp-top-contents .container #sp-top-contents .top_contents_all .top_contents_container,*/
header#sp-header .container .row #sp-logocustoms,
  section#sp-top-bar #sp-top2,
section#sp-footermenu .container,
#sp-top-contents .container #sp-top-contents .top_news{
    width:768px;
    padding-right:0;
    padding-left:0;
}
.body-wrapper{
    background-size: 768px auto!important;
}
#sp-menu .sp-megamenu-wrapper ul.sp-megamenu-parent li,
section#sp-footermenu ul.menu li{
    margin: 0px 0.5%;
    padding: 0 0.5%!important;
    margin-top: 10px;
}
#sp-footer-menu .sp-module{
    float: unset;
}
#sp-top-contents .container #sp-top-contents .top_contents_all .top_contents_container{
    width:90%;
    margin:0 5%;
}
.top_contents_line_bottom{
    margin-top: 50px;
    margin-bottom: 30px;
}
#sp-top-contents .container #sp-top-contents .top_contents_02{
    height: 750px;
}
.top_contents_04_line3 .line3_left,
.top_contents_04_line3 .line3_center,
.top_contents_04_line3 .line3_right{
    padding: 10px 10px;
}
#sp-top-contents .container #sp-top-contents .top_contents_all .top_contents_title_area{
    margin-bottom: 50px;
}
#sp-top-contents .container #sp-top-contents .top_contents_line .culumn_3_left,
#sp-top-contents .container #sp-top-contents .top_contents_line .culumn_3_right{
    width: 43%;
}
#sp-top-contents .container #sp-top-contents .top_contents_line .culumn_3_center{
    width: 10%;
    margin:0 2%;
}
#sp-top-contents .container #sp-top-contents .top_contents_line .culumn_3_center img{
    margin-top: 130%;
}
#sp-top-contents .container #sp-top-contents .top_contents_line .top_contents_line_inside .top_contents_line_inside_left{  
    width: 45%;
    margin-right: 5%;
}
#sp-top-contents .container #sp-top-contents .top_contents_line .top_contents_line_inside .top_contents_line_inside_center{
    width: 20%;
}
#sp-top-contents .container #sp-top-contents .top_contents_line .top_contents_line_inside .top_contents_line_inside_right{
    float: right;
}
#sp-top-contents .container #sp-top-contents .top_contents_line .top_contets_line_title{
    margin-top: 30px;
    margin-bottom: 30px;
}
#sp-top-contents .container #sp-top-contents .top_contents_04{
    height: 600px;
}
.top_contents_04_line1{
    margin-bottom: 30px;
    padding: 20px 20px;
}
.top_contents_04_line1 .left_flg{
    width: 20%;
}
.top_contents_04_line1 .center_text{
    width: 60%;
    margin-left: 3%;
    font-size: 14px;
    line-height: 24px;
}
.top_contents_04_line1 .right_btn{
    margin-top: 70px;
}
.top_contents_04_line3 div .line3_inside_left{
    width: 40%;
}
.top_contents_04_line3 div .line3_inside_title{
    width: 60%;
    font-size: 15px;
}
.top_contents_04_line3 div .line3_inside_text{
    width: 60%;
}
#sp-top-contents .container #sp-top-contents .top_contents_05{
    margin-bottom: 0px;
}
#sp-top-contents .container #sp-top-contents .top_contents_06{
    height: 750px;
}
#sp-top-contents .container #sp-top-contents .top_contents_06 .contents06_left{
    display: none;
}
#sp-top-contents .container #sp-top-contents .top_contents_06 .contents06_right{
    width: 100%;
    max-width: 100%;
    float: left;
    margin: 0 auto;
}
#sp-top-contents .container #sp-top-contents .top_contents_08{
    height: 440px;
}
#sp-top-contents .container #sp-top-contents .top_contents_08 .top_contents_line_bottom .bottomtext{
    font-size: 16px;
    line-height: 28px;
}
section#sp-footermenu ul.menu li{
    padding: 0 10px;
}

#sp-footer-menu .sp-module:nth-child(2n){
    width: 100%;
    float: left;
    text-align: center;
    margin: 0 auto;
}
.footer_logo{
    margin: 10px 0 50px 0;
    max-width: 100%;
    text-align: center;
}  
ul.category-moduletop_news li span.mod-articles-category-date{
    width: 30%;
}
ul.category-moduletop_news li a{
    width: 70%;
}
  
}








