@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%;
  }
  
  footer .ftr_links{
    flex-wrap: wrap;
  }
  footer .ftr_links li{
    margin: 10px 0;
  }
  
  .mv{
    height: 650px;
  }
  
  .pg_home .section#sec1{
    padding: 100px 0;
  }
  
  .home_company_wrap{
    background-position: right -275px center;
  }
  
  .facility_msg_wrap{
    display: flex;
    justify-content: space-between;
    padding-top: 50px;
    height: auto;
  }
  .facility_msg_wrap .box{
    width: 50%;
    padding-top: 0;
  }
  .facility_msg_wrap .bg{
    width: 49%;
    position: static;
  }
  .facility_msg_wrap .title img{
    height: 80px;
  }
  
  .facility_details_wrap ul li .s2{
    width: 100px;
  }
  
  .works_items{
    margin-top: 0;
  }
  
  .pg_news .section#sec1{
    margin-top: 0;
  }
}

@media only screen and (max-width:1023px){
  
  
  footer{
    margin-top: 150px;
  }
  footer .ftr_links{
    justify-content: center;
    flex-wrap: wrap;
  }
  footer .ftr_links li{
    margin: 5px 10px;
  }
  
  .mv{
    align-items: flex-end;
    padding-bottom: 120px;
    height: 500px;
  }
  
  .mv .mv_box .img img{
    width: 60%;
  }
  
  .gnav ul{
    flex-wrap: wrap;
    justify-content: center;
  }
  .gnav ul > li{
    margin: 0 15px;
  }
  
  .tt2{
    margin-bottom: 20px;
  }
  
  .pg_home .section#sec1{
    padding: 50px 0;
  }
  .pg_home .section#sec4{
    padding-top: 30px;
  }
  
  .home_about_wrap .inner{
    width: 70%;
  }
  
  .home_about_links{
    margin-top: 30px;
  }
  
  .home_company_wrap{
    height: 380px;
    background-position: right -235px center;
  }
  .home_company_wrap .title{
    margin-bottom: 20px;
  }
  .home_company_wrap .read_more{
    margin-top: 30px;
  }
  .home_company_wrap .read_more a{
    
  }
  .home_recruit_wrap{
    height: 450px;
  }
  
  
  .tech_about_inner{
    min-height: 500px;
  }
  .tech_about_inner .box1{
    width: 30%;
  }
  
  .tech_about_inner .title1 img{
    height: 45px;
  }
  .tech_about_inner .title2 {
    margin-bottom: 20px;
  }
  .tech_about_inner .title2 img{
    height: 70px;
  }
  .tech_about_inner .title3{
    font-size: 18px;
    margin-top: 30px;
    margin-bottom: 15px;
  }
  
  /**/
  .facility_msg_wrap{
    flex-wrap: wrap;
    height: auto;
  }
  .facility_msg_wrap .box{
    width: 100%;
    margin-bottom: 20px;
  }
  .facility_msg_wrap .bg{
    width: 100%;
    position: static;
    text-align: center;
  }
  .facility_msg_wrap .title {
    margin-bottom: 20px;
  }
  
  .facility_details_wrap ul li .s2{
    width: 60px;
  }
  
  /**/
  .faq_msg {
    font-size: 16px;
  }
  
  /**/
  .flow_msg {
    font-size: 16px;
  }
  .flow_items .item .box1{
    width: 200px;
  }
  .flow_items .item .box2 {
    width: calc(100% - 200px);
  }
  
  .flow_items .item .step img{
    height: 20px;
  }
  
  /**/
  .company_tbl th{
    width: 150px;
  }
  
  .contact_form th {
    width: 250px;
  }
  .contact_form td .wpcf7-text{
    width: 100%;
  }
  .contact_form td [name="zipcode"]{
    width: 150px;
  }
  
  .pagination .nav-posts .page-next a,
  .pagination .nav-posts .page-prev a{
    width: 160px;
  }
  .pagination .nav-posts .page-archive a{
    width: 200px;
  }
}

@media only screen and (max-width:767px){
  
  body{
    font-size: 14px;
    padding-bottom: 60px;
  }
  
  header{
  }
  header .hdr1{
    width: 100%;
    margin-bottom: 0;
  }
  header .hdr1 .hdr_logo{
    width: 100%;
    text-align: center;
    margin: 5px 0;
  }
  header .hdr1 .hdr_logo img{
    width: 240px;
  }
  header .hdr1 .hdr_contact{
    display: none;
  }
  header .hdr2{
    padding: 0;
  }
  
  footer{
    margin-top: 100px;
  }
  footer .ftr_contact .read_more a{
    width: 200px;
    font-size: 14px;
  }
  
  footer .ftr_links{
    flex-wrap: wrap;
  }
  footer .ftr_links li{
    margin: 5px 10px;
  }
  
  .footer_fix{
    display: block;
  }
  
  
  .gnav{
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #FFF;
    padding: 0;
    z-index: 99999;
    overflow-y: scroll;

    /*transition: all 0.2s;*/
    transform: translateX(100%);
    padding: 15px;
  }
  .gnav.active{
    transform: translateX(0%);
  }
  .gnav > ul{
    display: block;
        filter: none;
  }
  .gnav > ul > li{
    width: 100%;
    padding: 10px 0;
    margin: 0;
    border: 0;
    border-bottom: 1px dashed #CCC;
    
  }
  .gnav > ul > li + li,
  .gnav > ul > li:first-child,
  .gnav > ul > li:last-child{
    border-left: 0;
    border-right: 0;
  }
  .gnav > ul > li a{
    padding: 10px 0;
    color: #111;
  }
  .gnav .children, .gnav .sub-menu{
    display: block;
    position: static;
    background: #EEE;
  }
  
  .pg_header .container{
    height: 250px;
  }
  
  .mv {
    height: 300px;
  }
  .mv .mv_box .img img {
    width: 80%;
  }
  .breadcrumb{
    font-size: 12px;
  }
  .breadcrumb li{
    white-space: nowrap;
  }
  
  
  .main{
    padding-top: 30px;
  }
  .tt1{
    font-size: 24px;
    margin-bottom: -50px;
  }
  .tt1 span{
    font-size: 14px;
  }
  .tt1 img{
    height: 25px;
  }
  
  .tt2{
    font-size: 24px;
  }
  .tt2 span{

  }
  .tt3{

  }
  .tt3 span{

  }
  .tt4{

  }
  .tt4 span{

  }
  .tt5{

  }
  .tt5 span{

  }
  
  /**/
  
  .pg_home .section#sec2{
    padding: 50px 0px;
  }
  .pg_home .section#sec4{
    padding-bottom: 50px;
  }
  
  .home_msg_wrap1{
    padding: 30px 10px;
  }
  .home_msg_wrap1 .txt {
    font-size: 14px;
    text-align: left;
  }  
  .home_msg_wrap1 .read_more{
    margin-top: 20px;
  }
  
  .home_tt1 {
    font-size: 16px;
  }
  .home_tt1 em {
    font-size: 28px;
  }
  
  
  .home_msg_wrap1 .read_more a{
    width: 200px;
  }
  
  .news_items + .read_more a{
    width: 200px;
  }
  
  .home_about_wrap{
    height: auto;
  }
  .home_about_wrap .inner {
    width: 90%;
    padding-top: 30px;
    padding-bottom: 30px;
  }
  
  .home_about_wrap:nth-child(odd) .inner,
  .home_about_wrap:nth-child(even) .inner{
    margin-left: auto;
    margin-right: auto;
  }
  
  .home_about_wrap .title{
    margin-bottom: 20px;
  }
  .home_about_wrap .title img{
    height: 50px;
  }
  .home_about_wrap .read_more{
    margin-top: 30px;
  }
  .home_about_wrap .read_more a {
    width: 200px;
    margin: 0 auto;
  }
  
  .home_about_links li a{
    font-size: 15px;
    padding: 10px 5px;
  }
  
  .home_company_wrap .txt {
    font-size: 14px;
  }
  
  
  .home_recruit_wrap {
    height: 300px;
    padding-bottom: 20px;
  }
  .home_recruit_wrap .title{
    
  }
  .home_recruit_wrap .title img{
    height: 60px;
  }
  .home_recruit_wrap .read_more {
    margin-top: 30px;
  }
  .home_recruit_wrap .read_more a{
    width: 200px;
  }
  
  /**/
  .news_items .item .date ,
  .news_items .item .date.w {
    width: 80px;
    letter-spacing: 0;
  }
  .news_items .item .title ,
  .news_items .item .date.w+.title {
    width: calc(100% - 90px);
  }
  
  /**/
  .pg_tech .section#sec2 {
    margin-top: 50px;
  }
  .tech_about_inner{
    min-height: 0;
    padding: 30px 0;
  }
  .tech_about_inner .box1,
  .tech_about_inner .box2{
    width: 100%;
  }
  .tech_about_inner .box1{
    margin-bottom: 20px;
  }
  .tech_about_inner .title1{
    text-align: center;
  }
  .tech_about_inner .title1 img {
    height: 35px;
  }
  .tech_about_inner .title2{
    text-align: center;
  }
  .tech_about_inner .title3 {
    font-size: 16px;
  }
  
  .tech_about_details .item{
    width: 100%;
  }
  .tech_about_details .item+.item{
    margin-top: 30px;
  }
  .tech_about_details .inner .title{
    font-size: 20px;
  }
  
  /**/
  .pg_facility .section#sec2 {
    margin-top: 50px;
  }
  
  .facility_msg_wrap .title img {
    height: 60px;
  }
  
  .facility_details_wrap .item + .item{
    margin-top: 40px;
  }
  .facility_details_wrap .title1{
    font-size: 20px;
    margin-bottom: 20px;
  }
  .facility_details_wrap .title2{
    font-size: 16px;
  }
  
  .facility_details_wrap ul{
    font-size: 15px;
  }
  .facility_details_wrap ul li{
    width: 100%;
  }
  
  /**/
  
  .works_items {
    margin-left: -5px;
    margin-right: -5px;
  }
  .works_items .item{
    width: 50%;
    padding: 0 5px;
  }
  
  .works_items .item:nth-child(n+3){
    margin-top: 10px;
  }
  
  .works_items .item .meta{
    font-size: 13px;
    padding: 5px;
  }
  .works_items .item .date{
    width: 100%;
  }
  .works_items .item .title {
    width: 100%;
  }
  
  
  .works_nav_wrap {
    margin-top: 50px;
  }
  .works_nav_wrap .inner{
    width: 250px;
  }
  .works_nav_wrap .page-archive {
    font-size: 16px;
  }
  .works_detail .meta .date{
    width: 80px;
    font-size: 14px;
  }
  .works_detail .meta .title{
    font-size: 15px;
  }
  
  /**/
  .faq_msg{
    font-size: 15px;
    text-align: left;
    margin-bottom: 30px;
  }
  
  /**/
  .flow_msg{
    font-size: 15px;
    text-align: left;
    margin-bottom: 30px;
  }
  
  /**/
  .flow_items .item .box1 {
    width: 100px;
  }
  .flow_items .item .box2 {
    width: calc(100% - 100px);
    padding: 15px 15px 15px 10px;
  }
  .flow_items .item .step img {
    height: 15px;
  }
  .flow_items .item .title {
    font-size: 16px;
  }
  
  /**/
  .company_msg_wrap{
    height: auto;
    padding: 30px 0;
  }
  .company_msg_wrap .title{
    margin-bottom: 30px;
  }
  .company_msg_wrap .title img{
    height: 60px;
  }
  .company_msg_wrap .txt{
    text-align: left;
  }
  .company_msg_wrap .logo {
    margin-top: 30px;
  }
  
  .company_tbl th, 
  .company_tbl td{
    
    padding: 10px;
    padding-top: 15px;
  }
  .company_tbl th {
    width: 100px;
  }
  
  .company_factory_items .item{
    width: 100%;
  }
  .company_factory_items .item+.item{
    margin-top: 30px;
  }
  
  .recruit_job_nav{
    font-size: 14px;
  }
  .recruit_job_nav li{
    width: auto;
  }
  .recruit_job_nav li a{
    padding: 5px 10px;
  }
  
  .js_tab_contents_item .message{
    margin-bottom: 50px;
  }
  .js_tab_contents_item .imgs{
    margin-bottom: 50px;
  }
  
  /**/
  .post_items{
    
  }
  .post_items .item{
    flex-wrap: wrap;
  }
  .post_items .item .title{
    width: 100%;
  }
  .post_items .item.single_item .title{
    font-size: 16px;
  }
  
  .pagination {
    margin-top: 50px;
  }
  .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;
  }
  
  
  .pagination .nav-posts .page-next a,
  .pagination .nav-posts .page-prev a{
    width: 100px;
  }
  .pagination .nav-posts .page-archive a{
    width: 120px;
  }
  
  .post_items .item.single_item{
    padding: 15px 10px;
  }
  
  
  .posts_slider{
    padding: 15px 5px;
  }
  .posts_slider .posts_slider_main{
    margin: 0 10px;
  }
  
  
  .contact_info_tel + .contact_info_tel{
    margin-left: 0;
    margin-top: 10px;
  }
  
  .contact_tt{
    font-size: 20px;
    margin-bottom: 15px;
  }
  
  .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: 80px;
  }
  .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%;
  }
  
  .contact_form_btns input[type="submit"], 
  .contact_form_btns input[type="button"],
  .contact_form_btns button  {
    width: 48%;
    margin: 0 1%;
    font-size: 12px;
  }
  .contact_form_btns input[type="submit"]{
    /* テキストが長いとき */
    /*width: 66%;*/
  }
  .contact_form_btns button {
    width: 30%;
  }
  
  .mw_wp_form .horizontal-item + .horizontal-item{
    margin-left: 15px;
  }
  
  
  .contact_form td .addr_auto{
    font-size: 12px;
  }
  
  /* サイトマップ */
  .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;
  }
}

@media only screen and (max-width:359px){
  .footer_fix ul{
    font-size: 12px;
  }
  
  .contact_form td [name="zipcode"]{
    width: 70px;
  }
  .contact_form td .addr_auto{
    font-size: 10px;
  }
}