@charset "UTF-8";

/* 印刷用 */
@media only print{
  /*
    A4 847 * 595 px
    A3 1191 * 842 px
    B5 729 * 516 px
  */
  body{
    width: 1140px;
    overflow: hidden;
    /*zoom: 0.9;*/
  }
  .container{
    width: 100%;
  }
  .tb{
    display: none;
  }
  .sp{
    display: none;
  }
  
  /* 固定ヘッダーを使用している場合など */
  header .hdr1{
    position: static !important;
  }
  /* animate のフェードインを可視化 */
  [data-animate]{
    opacity:1 !important;
  }
}

@media only screen and (max-width:1220px){
  .container{
    width: 100%;
  }
  
  /* **********************************
   *  Home
   * ********************************* */
  .pg_home .section#sec2,
  .contact_box{
    background-size: 100% auto;
  }
  .pg_home .section#sec3 .box .ttlbox {
    width: 200px;
  }
  
  
  .ov_common .txt {
    height: auto;
  }
}

@media only screen and (max-width:1023px){
  
  
  /**/
  
  .contact_info .box2 .icon{
    font-size: 20px;
  }
  .contact_info .box2 .tel{
    font-size: 20px;
  }
  
  .contact_form th {
    width: 250px;
  }
  .contact_form td .wpcf7-text{
    width: 100%;
  }
  .contact_form td [name="zipcode"]{
    width: 150px;
  }
  
  footer .ftr2 .container{
    flex-wrap: wrap;
    justify-content: center;
  }
  footer .ftr2 .box1{
    width: 580px;
    margin-bottom: 20px;
  }
  
  
  .pg_header .en img{
    height: 120px;
  }
  
  /* **********************************
   *  Home
   * ********************************* */
  header .hdr1 .hdr_logo{
    width: 250px;
  }
  .mv .container {
    height: 50vw;
  }
  .mv .mv_box .txt {
    width: 70vw;
  }
  .pg_home .section#sec2 {
    padding: 100px 0 120px;
  }
  .pg_home .section#sec2 .img, 
  .pg_home .section#sec2 .txt {
    width: 100%;
  }
  .pg_home .section#sec2 .txt{
    margin-top: 20px;
    padding: 0 10px;
  }
  .pg_home .section#sec3 .box {
    width: 50%;
  }
  .pg_home .section#sec3 .box .ttlbox {
    width: 280px;
  }
  .contact_box {
    padding: 140px 0 0;
  }
  .contact_box .txt, 
  .contact_box .info {
    padding: 35px;
  }
  

  /* **********************************
   *  事業内容
   * ********************************* */
  .pg_header {
    background: no-repeat center top / auto 45vw;
  }
  
  .ov_common .flex{
    padding: 0 10px;
    justify-content: center;
  }
  .ov_common{
    background: none!important;
  }
  .ov_common .img .sp{
    display: block;
  }
  .ov_common .txt {
    width: 100%;
    padding: 0;
    margin-top: 30px;
  }
  .pg_business .section#sec2 .flex {
    margin: 0 -10px;
  }
  .pg_business .section#sec2 .box {
    padding: 0 10px;
  }
  .pg_business .section#sec2 .large {
    font-size: 20px;
  }
  .pg_business .section#sec3 .flow_box .txt {
    padding-left: 30px;
  }
  
  /* **********************************
   *  設備紹介
   * ********************************* */
  .pg_slug_facility .pg_header .tt1 {
    margin-top: -50px;
  }
  
  
  /* **********************************
   *  製品紹介
   * ********************************* */
  .pg_products .section#sec1 .box {
    width: 50%;
  }
  
  /* **********************************
   *  採用情報
   * ********************************* */
  .interview_items{
    margin-left: -10px;
    margin-right: -10px;
  }
  .interview_items .item{
    padding-left: 10px;
    padding-right: 10px;
  }
  .pagination .nav-posts .page-archive a{
    padding: 10px 80px;
  }
}

@media only screen and (max-width:767px){
  
  body{
    font-size: 14px;
    padding-bottom: 60px;
  }
  

  header {
    padding: 15px 0;
  }
  header .hdr1{
    background-size: 100% 100%;
  }
  header .hdr1 .container {  
    height: auto;  
    padding: 10px 0;
    flex-wrap: wrap;
    justify-content: center;
  }
  header .hdr1 .hdr_logo,
  header .hdr1 .hdr_contact{
    float: none;
    text-align: center;
    margin: 5px 0;
  }
  header .hdr1 .hdr_contact .form{
    display: none;
  }
  
  footer {
    padding: 50px 0 0;
  }
  footer .ftr2 .container{
    flex-wrap: wrap;
  }
  footer .ftr2 .box1,
  footer .ftr2 .box2{
    width: 100%;
    text-align: center;
  }
  footer .ftr2 .box2{
    margin-top: 10px;
  }
  .footer_fix{
    display: block;
  }
  footer .ftr2 .box1 .golink{
    margin: 20px auto 0;
  }
  footer .ftr2 .box2 .desc{
    text-align: left;
  }
  footer .ftr_links,
  .min_nav{
    display: none;
  }
  footer .ftr2 {
    margin-bottom: 0;
  }
  footer .copy{
    font-size: 12px;
  }
  
  .gnav{
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #FFF;
    padding: 0;
    z-index: 99999;
    overflow-y: scroll;
    margin: 0;

    /*transition: all 0.2s;*/
    transform: translateX(100%);
    padding: 15px;
  }
  .gnav.active{
    transform: translateX(0%);
  }
  .gnav .container > ul{
    display: block;
    margin: 0;
  }
  .gnav .container > ul > li{
    width: 100%;
    padding: 10px 0;
    border: 0;
    border-bottom: 1px dashed #CCC;
  }
  .gnav .container > ul > li + li,
  .gnav .container > ul > li:first-child,
  .gnav .container > ul > li:last-child{
    border-left: 0;
    border-right: 0;
  }
  .gnav .container > ul > li a{
    padding: 10px 0;
  }
  .gnav .children, .gnav .sub-menu{
    display: block;
    position: static;
    background: #EEE;
  }
  
  .breadcrumb{
    font-size: 12px;
  }
  
  .post_items{
    
  }
  .post_items .item{
    flex-wrap: wrap;
  }
  .post_items .item .title{
    width: 100%;
  }
  .post_items .item.single_item .title{
    font-size: 16px;
  }
  .pagination .nav-posts .page-next,
  .pagination .nav-posts .page-prev{
    min-width: 100px;
  }
  .pagination .nav-posts .page-next a, 
  .pagination .nav-posts .page-prev a,
  .pagination .nav-posts .page-archive a{
    padding: 10px 10px;
    font-size: 11px;
  }
  
  .contact_info{
    padding: 10px;
  }
  .contact_info .box1{
    font-size: 13px;
  }
  .contact_info .box2{
    margin-top: 10px;
  }
  .contact_info .box2 .icon{
    font-size: 15px;
  }
  .contact_info .box2 .tel{
    font-size: 24px;
  }
  .contact_info .box2 .txt{
    width: 100%;
    margin: 10px 0 0 0;
  }
  
  .contact_info .box2{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .contact_info .box2 .icon{
    width: 75px;
    margin-right: 0;
    margin-bottom: 10px;
  }
  .contact_info .box2 .tel{
    width: calc(100% - 75px - 50px);
  }
  .contact_info .box2 .tel + .icon{
    margin-left: 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 td [name="zipcode"]{
    width: 100px;
  }
  .contact_form dl.date dt{
    width: 100%;
  }
  .contact_form dl.date dt.wide{
    width: 100%;
  }
  
  .contact_form td .wpcf7-text,
  .contact_form td .wpcf7-textarea,
  .contact_form td .wpcf7-select{
    width: 100%;
    font-size: 16px;
  }
  
  .contact_form_btns input[type="submit"], 
  .contact_form_btns input[type="button"]{
    width: 35%;
  }
  
  
  /* サイトマップ */
  .sitemap_items .item{
    width: 100%;
    margin-bottom: 15px;
  }
  .sitemap_items .item h4 a{
    padding: 10px 10px;
  }
  
  /* プライバシーポリシー */
  .privacy_tt{
    font-size: 18px;
  }
  .privacy_tt br{
    display: inline;
  }
  .privacy_items .item h4{
    font-size: 15px;
  }
  
  .pg_header .en img{
    height: 15vw;
  }
  
  /* **********************************
   *  Home
   * ********************************* */
  .mv .mv_box .txt {
    width: 75vw;
  }
  .pg_home .section#sec1 {
    padding: 80px 0 50px;
  }
  .pg_home .section#sec1 .golink {
    max-width: 160px;
    position: inherit;
    right: 0;
    top: 0;
    margin: 30px auto 0;
  }
  .post_items .item .date {
    width: 120px;
    margin-bottom: 10px;
  }
  .post_items .item .title {
    font-weight: 500;
    padding-left: 0;
  }
  .pg_home .section#sec2 {
    padding: 55px 0 100px;
  }
  .pg_home .section#sec2 .txt .large {
    font-size: 18px;
    margin-bottom: 20px;
  }
  .pg_home .section#sec2 .txt .golink {
    padding: 12px;
    margin: 40px auto 0;
  }
  .pg_home .section#sec3 .box {
    width: 100%;
  }
  
  .contact_box {
    padding: 90px 0 0;
    margin-bottom: 80px;
  }
  .contact_box .container{
    padding: 0;
  }
  .contact_box .txt, .contact_box .info {
    width: 100%;
    padding: 50px 15px 30px;
  }
  .contact_box:before{
    display: none;
  }
  .contact_box .txt{
    padding: 15px 15px 30px;
    background-image: -moz-linear-gradient( 90deg, rgb(1,10,53) 0%, rgb(1,22,115) 100%);
    background-image: -webkit-linear-gradient( 90deg, rgb(1,10,53) 0%, rgb(1,22,115) 100%);
    background-image: -ms-linear-gradient( 90deg, rgb(1,10,53) 0%, rgb(1,22,115) 100%);
  }
  .contact_box .txt .ttl {
    font-size: 20px;
    padding: 15px 0;
  }
  .contact_box .info .border {
    padding-bottom: 20px;
    margin-bottom: 20px;
  }
  .contact_box .flex {
    height: auto;
  }
  
  /* **********************************
   *  事業内容
   * ********************************* */
  .main {
    padding: 0 0 50px;
  }
  
  .pg_header .container {
    padding-top: 35vw;
  }
  .pg_header .tt1 {
    font-size: 26px;
    margin-top: -20px;
  }
  .breadcrumb{
    margin-bottom: 80px;
  }
  .under_ttl {
    font-size: 20px;
  }
  .ov_common {
    margin-bottom: 50px;
  }
  .pg_business .section#sec2 .flex{
    justify-content: center;
  }
  .pg_business .section#sec2 .box {
    max-width: 350px;
    width: 100%;
  }
  .pg_business .section#sec2 .box + .box{
    margin-top: 40px;
  }
  .pg_business .section#sec3 {
    padding: 80px 0 50px;
  }
  .pg_business .section#sec3 .flow_box .ttl span {
    width: 90px;
    margin-right: 20px;
  }
  .pg_business .section#sec3 .flow_box .ttl:before{
    width: 90px;
  }
  .pg_business .section#sec3 .flow_box .ttl {
    font-size: 18px;
    letter-spacing: 2px;
  }
  .pg_business .section#sec3 .flow_box .flex{
    justify-content: center;
  }
  .pg_business .section#sec3 .flow_box .txt{
    width: 100%;
    padding-left: 0;
    margin-top: 20px;
  }
  .pg_business .section#sec3 .flow_box .txt p img{
    height: 14px;
  }
  
  /* **********************************
   *  設備紹介
   * ********************************* */  
  .pg_slug_facility .pg_header .tt1 {
    margin-top: -30px;
  }
  
  .pg_facility .section#sec2 .box .ttl, 
  .pg_facility .section#sec3 .ttl {
    font-size: 16px;
  }
  .pg_facility .section#sec2 .img {
    width: 100%;
    text-align: center;
  }
  .pg_facility .section#sec2 .txt {
    width: 100%;
    padding-left: 0;
    margin-top: 20px;
  }
  .pg_facility .section#sec2 .box + .box {
    margin-top: 40px;
  }
  .pg_facility .section#sec3 {
    padding: 60px 0;
  }
  .pg_facility .section#sec4 {
    padding: 40px 0 10px;
  }
  .pg_facility .section#sec4 .under_ttl {
    margin-bottom: 30px;
  }
  .pg_facility .section#sec4 .box {
    width: 100%;
  }
  .pg_facility .section#sec4 .box .name {
    font-size: 18px;
  }
  .pg_facility .section#sec4 .box .number {
    font-size: 16px;
    margin-bottom: 10px;
  }
  
  /* **********************************
   *  製品紹介
   * ********************************* */
  .pg_products .section#sec1 .flex{
    justify-content: center;
  }
  .pg_products .section#sec1 .box {
    max-width: 500px;
    width: 100%;
    margin-bottom: 50px;
  }
  .pg_products .section#sec1 .box .ttl {
    font-size: 16px;
  }
  .pg_products .section#sec1 .box .img{
    margin: 0 auto;
  }
  
  /* **********************************
   *  採用情報
   * ********************************* */
  .pg_recruit .under_ttl{
    font-size: 20px;
  }
  .interview_ttl + .under_ttl{
    margin-top: 0;
  }
  
  .interview_items .item{
    width: 100%;
  }
  .interview_items .item + .item{
    margin-top: 20px;
  }
  .interview_items .item .inner{
    display: flex;
  }
  .interview_items .item .img{
    width: 30%;
  }
  .interview_items .item .info{
    width: 70%;
  }
  
  
  .interview_deitails .box1,  
  .interview_deitails .box2{
    width: 100%;
  }
  .interview_deitails .box1{
    padding: 15px;
    text-align: center;
    margin-bottom: 30px;
  }
  .interview_deitails .box1 img{
    max-width: 250px;
  }
  .interview_deitails .box1:before{
    top: 0;
    bottom: 0;
    left: -10px;
    right: -10px;
    width: auto;
    height: auto;
  }
  .interview_deitails .box2:before{
    display: none;
  }
  
  /* **********************************
   *  採用情報
   * ********************************* */
  .company_wrap{
    flex-wrap: wrap;
    justify-content: center;
  }
  .company_wrap .box1,
  .company_wrap .box2{
    width: 100%;
  }
  .company_wrap .box1{
    max-width: 250px;
    text-align: center;
    margin-bottom: 30px;
  }
  .company_wrap .box1 img{
    max-width: 250px;
  }
  
  .tbl th,
  .tbl td{
    padding: 10px;
  }
  .tbl th{
    width: 100px;
  }
}