@charset "UTF-8";

/* 印刷用 */
@media only print{
  
}

@media only screen and (max-width:1120px){
  .container{
    width: 100%;
  }
  
  .order_nav li{
    width: 49%;
  }
  
  .order_rules{
    margin-left: -5px;
    margin-right: -5px;
    font-size: 14px;
  }
  .order_rules li{
    width: 50%;
    padding-left: 5px;
    padding-right: 5px;
    margin-bottom: 5px;
  }
}

@media only screen and (max-width:1023px){
  
  .gnav .logo h1 img{
    height: 30px;
  }
  .gnav .logo span{
    font-size: 11px;
  }
  .gnav .gnav_ul{
    font-size: 14px;
  }
  
  
  .mv{
    height: 400px;
    background-size: auto 100%;
  }
  .mv .mv_box .img1 .img1{
    width: 200px;
  }
  .mv .mv_box .img2 .img2{
    width: 80%;
  }
  
  
  .link_form_btns a{
    /*font-size: 15px;*/
  }
  
}

@media only screen and (max-width:767px){
  
  body{
    font-size: 14px;
    padding-bottom: 60px;
  }
  
  header .hdr1 .hdr_logo,
  header .hdr1 .hdr_contact{
    float: none;
    width: 100%;
    text-align: center;
    margin: 5px 0;
  }
  
  .header_sp{
    display: block
  }
  
  footer .ftr_logo1{
    text-align: center;
  }
  footer .ftr_logo1 img{
    height: 30px;
  }
  footer .ftr1 .container{
    flex-wrap: wrap;
  }
  footer .ftr1 .ftr_logo2,
  footer .ftr1 .ftr_links{
    width: 100%;
  }
  footer .ftr1 .ftr_links{
    display: none;
  }
  footer .ftr1 .ftr_logo2 .txt{
    text-align: center;
  }
  
  .footer_fix{
    display: block;
  }
  
  
  .gnav{
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    /*background: #FFF;*/
    background-repeat: repeat;
    padding: 0;
    z-index: 5;
    overflow-y: scroll;

    transition: all 0.2s;
    transform: translateX(100%);
    padding: 15px;
  }
  .gnav.active{
    transform: translateX(0%);
  }
  
  .gnav > .container{
    height: auto;
    flex-wrap: wrap;
  }
  .gnav .logo{
    width: 100%;
  }
  .gnav .logo span{
    display: block;
    font-size: 14px;
    margin-top: 10px;
  }
  .gnav .gnav_ul{
    width: 100%;
    display: block;
    font-size: 16px;
  }
  .gnav .gnav_ul > li{
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px dashed #CCC;
  }
  .gnav .children, .gnav .sub-menu{
    display: block;
    position: static;
    background: #EEE;
  }
  
  .contact_form tr th,
  .contact_form tr:not(:last-child) td{
    border-bottom: 0;
  }
  .contact_form th,
  .contact_form td{
    display: block;
    width: 100%;
    padding: 10px 10px;
  }
  .contact_form th{
    padding-bottom: 5px;
  }
  .contact_form td{
    /*padding-top: 0;*/
  }
  .contact_form_btns input[type="submit"], 
  .contact_form_btns input[type="button"]{
    width: 35%;
  }

  .pagination .nav-posts .page-next,
  .pagination .nav-posts .page-prev,
  .pagination .nav-posts .page-archive{
    width: 32%;
  }   
  .pagination .nav-posts .page-next a,
  .pagination .nav-posts .page-prev a,
  .pagination .nav-posts .page-archive a{
    padding: 10px 5px;
  }
  .pagination .nav-posts .page-next a:before{
    left: 5px;
  }
  .pagination .nav-posts .page-prev a:after{
    right: 5px;
  }
  
  .main{
    padding-bottom: 0;
  }
  .home .main{
    padding-top: 0;
  }
  
  .pg_section{
    padding-top: 25px;
    padding-bottom: 25px;
  }
  
  .pg_header{
    background-size: auto 100%;
  }
  .pg_header .container{
    height: 200px;
  }
  .pg_header .tt1{
    font-size: 20px;
    width: 80%;
    height: 150px;
  }
  .pg_header .tt1:before{
    margin-bottom: 10px;
    height: 24px;
    background-size: auto 100%;
  }
  .tt2{
    font-size: 20px;
  }
  .tt2 span{
    font-size: 14px;
  }
  .tt3{
    font-size: 20px;
  }
  .tt4{
    
  }
  .tt4{
    font-size: 16px;
    padding-bottom: 5px;
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
  }
  .tt4 .date{
    width: 100%;
    font-size: 14px;
  }
  
  .link_btn1 a{
    width: 300px;
    font-size: 16px;
    background-size: contain;
    background-position: center center;
  }
  .link_btn2 a{
    width: 96%;
    background-size: contain;
    background-position: center center;
    font-size: 16px;
  }
  
  
  .map{
    margin-top: 20px;
  }
  .map iframe{
    height: 250px;
  }
  
  .about_items{
    flex-wrap: wrap;
  }
  .about_items .item{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
  }
  .about_items .item .img{
    width: 100%;
    text-align: center;
  }
  .about_items .item .img img{
    width: 80%;
  }
  
  .about_items .item .txt{
    width: 100%;
    line-height: 1.6;
  }
  
  
  .msg_box .box1,
  .msg_box .box2{
    width: 100%;
  }
  .msg_box .box1{
    text-align: center;
    margin-bottom: 15px;
  }
  .msg_box .box1 img{
    width: 50%;
  }
  .msg_box .title{
    font-size: 20px;
    text-align: center;
  }
  
  .msg_image_items{
    padding: 15px 0;
  }
  .msg_image_items .item{
    padding: 4px;
  }
  
  
  .products_items{
    margin-left: -5px;
    margin-right: -5px;
    margin-bottom: 10px;
  }
  .products_items .item{
    width: 50%;
    padding-left: 5px;
    padding-right: 5px;
    margin-bottom: 10px;
  }
  
  .products_data .box1,
  .products_data .box2{
    width: 100%;
  }
  .products_data .box2{
    margin-top: 15px;
  }
  .link_form_btns a:after{
    right: 2px;
  }
  
  .products_gallery .gallery_main,
  .products_gallery .gallery_thumb{
    width: 100%; 
  }
  .products_gallery .gallery_thumb{
    margin-top: 10px;
  }
  .products_gallery .gallery_thumb ul li{
    width: 24%;
  }
  .works_bfaf_items .item .title{
    font-size: 16px;
  }
  
  .order_nav li{
    font-size: 16px;
  }
  
  .order_rules{
    margin-left: -5px;
    margin-right: -5px;
    font-size: 14px;
  }
  .order_rules li{
    width: 100%;
    padding-left: 5px;
    padding-right: 5px;
    margin-bottom: 5px;
  }
  
  .order_desc_items .item h4{
    font-size: 14px;
  }
  
  .privacy_items{
    border: 3px solid #e5e5e5;
    padding: 10px;
  }
  .privacy_items .item h4{
    font-size: 15px;
  }
  
  .tbl{
    
  }
  .tbl th,
  .tbl td{
    display: block;
    width: 100%;
    text-align: left;
  }
  .tbl th{
    border-bottom: 0;
  }
  .tbl tr:not(:last-child) td{
    border-bottom: 0;
  }
}