@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%;
  }
}

@media only screen and (max-width:1023px){
  .contact_form th {
    width: 250px;
  }
  .contact_form td .wpcf7-text{
    width: 100%;
  }
  .contact_form td .wpcf7-text[name="zipcode"]{
    width: 150px;
    margin-right: 20px;
  }
  
  /* **********************************
   *  トップページ
   * ********************************* */
  .top_business .box {
    width: calc(100% / 4);
    margin-bottom: 20px;
  }
  .top_business .box .img{
    text-align: center;
  }
  .top_about .txt {
    width: 52%;
  }
  .top_about .map {
    width: 42%;
  }
  .top_about .txt li, 
  .top_careers ul li {
    margin-right: 20px;
  }
  
  /* **********************************
   *  実績紹介
   * ********************************* */
  .pagelinks li {
    padding-right: 15px;
    font-size: 14px;
  }
  
  /* **********************************
   *  会社案内
   * ********************************* */
  .about_tbl th {
    width: 200px;
  }
  .about_tbl th, .about_tbl td {
    padding: 15px 15px 15px 30px;
  }
  
  /* **********************************
   *  お問い合わせ
   * ********************************* */
  .contact_form th, .contact_form td {
    padding: 15px;
  }
  .contact_form th {
    width: 220px;
    padding: 22px 15px;
  }
  
  /* **********************************
   *  お知らせ
   * ********************************* */
  .pg_news .sidebar {
    width: 200px;
  }
  .pg_news .main_content {
    width: calc(100% - 200px);
  }
  
  /* **********************************
   *  採用情報
   * ********************************* */
  .pg_careers .content#c_4 .gallery ul, 
  .pg_careers .content#c_5 .gallery ul {
    margin: 0 -5px;
  }
  .pg_careers .content#c_4 .gallery li, 
  .pg_careers .content#c_5 .gallery li {
    padding: 0 5px;
  }
}

@media only screen and (max-width:767px){
  
  body{
    font-size: 14px;
    padding-bottom: 60px;
  }
  header .hdr1 {
    margin-bottom: 0;
    flex-wrap: wrap;
    justify-content: center;
  }
  header .hdr1 .hdr_logo,
  header .hdr1 .hdr_contact{
    float: none;
    width: auto;
    text-align: center;
    margin: 5px 0;
  }
  header .hdr1 .hdr_logo h1 {
    font-size: 24px;
  }
  header .hdr1 .hdr_logo img {
    width: 35px;
  }
  header .hdr1 .hdr_contact a {
    font-size: 18px;
  }
  header .hdr1 .hdr_contact a i img{
    width: 30px;
    height: 30px;
  }
  
  
  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 {
    padding: 30px 0 20px;
    margin-top: 60px;
  }
  footer .ftr1 .ftr_links{
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  footer .ftr1 .ftr_links li {
    font-size: 16px;
    padding: 0 10px;
  }  
  footer .ftr1 .links a {
    margin: 0 10px;
  }
  
  .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;
    font-size: 16px;
  }
  .gnav > ul > li{
    width: 100%;
    border: 0;
    border-bottom: 1px dashed #052E4F;
  }  
  #menu-item-35{
    display: block;
  }
  .gnav > ul > li a,
  .gnav li#menu-item-19 a{
    padding: 15px 0;
  }
  .gnav .children, .gnav .sub-menu{
    display: block;
    position: static;
    background: #EEE;
  }
  .gnav li#menu-item-19 a{
    background: none;
    color: inherit;
  }

  .gnav > ul > li:first-child {
    border-left: 0;
  }
  
  
  .post_items{
    
  }
  .post_items .item{
    flex-wrap: wrap;
  }
  .post_items .item .title{
    width: 100%;
  }
  
  .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_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%;
  }
  
  .contact_form_btns input[type="submit"], 
  .contact_form_btns input[type="button"]{
    width: auto;
  }
  
  
  /* サイトマップ */
  .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;
  }
  
  .home .main {
    padding: 40px 0 60px;
  }
  .top_ttl h2 {
    width: 100%;
    font-size: 20px;
    padding-right: 0;
    padding-bottom: 10px;
    margin-right: 0;
    margin-bottom: 10px;
    border-right: 0;
    border-bottom: 1px solid #707070;
  }
  .top_ttl {
    margin-bottom: 30px;
  }
  .top_business .flex, 
  .top_case .flex {
    margin: 0 -5px;
  }
  .top_business .box,
  .top_case .box{
    width: 50%;
    padding: 0 5px;
  }
  .top_business .box h3, 
  .top_case .box h3 {
    font-size: 14px;
  }
  .top_business .box h3:after, 
  .top_case .box h3:after {
    content: "";
    width: 18px;
    height: 18px;
  }
  .golink {
    font-size: 16px;
    margin: 30px auto 0;
  }
  .top_business, .top_case {
    margin-bottom: 80px;
  }
  .top_about {
    padding: 60px 0;
  }
  .top_about .txt {
    width: 100%;
    margin-bottom: 30px;
  }
  .top_about .txt li, 
  .top_careers ul li {
    margin-right: 10px;
  }
  .top_about .map {
    width: 100%;
  }
  .top_about .top_ttl {
    margin-bottom: 30px;
  }
  .top_about .news_ttl {
    font-size: 18px;
  }
  .top_careers {
    padding: 50px 0;
  }
  .top_careers .white_box {
    padding: 20px;
  }
  .top_careers .white_box h2 {
    font-size: 22px;
    margin-bottom: 15px;
  }
  .info_box .flex > div {
    width: 100%;
    padding: 0;
  }
  .info_box .form {
    border-left: 0;
    border-top: 2px solid #052E4F;
    margin-top: 30px;
    padding-top: 30px!important;
  }
  .info_box .flex > div .large {
    font-size: 18px;
  }
  .info_box .form a {
    font-size: 20px;
  }
  
  /* **********************************
   *  実績紹介
   * ********************************* */ 
  .pg_header {
    margin-bottom: 50px;
  }
  .pg_header .container {
    height: 120px;
  }
  .pg_header .tt1 {
    font-size: 24px;
  }
  .pagelinks a:after {
    width: 20px;
    height: 20px;
  }
  .pagelinks {
    margin: 20px 0;
  }
  
  .pg_business .content .flex{
    justify-content: center;
  }
  .pg_business .content .img {
    width: 80%;
    text-align: center;
  }
  .pg_business .content .txt {
    width: 100%;
    margin-top: 20px;
    padding-left: 0;
  }
  .pg_business .content .txt h3 {
    font-size: 20px;
  }
  
  /* **********************************
   *  実績紹介
   * ********************************* */
  .case_items {
    margin: 0 -5px;
  }
  .case_items .item {
    width: 50%;
    padding: 0 5px;
  }
  .case_items .item .title {
    font-size: 14px;
  }
  .case_items .item .title:after {
    width: 18px;
    height: 18px;
  }
  
  .case_items_detail .title {
    font-size: 20px;
    margin-bottom: 30px;
  }
  .case_items_detail .img {
    width: 100%;
  }
  .case_items_detail .content {
    width: 100%;
    padding-left: 0;
    margin-top: 30px;
  }
  .case_items_detail .thumb_p {
    margin: 0 -5px;
  }
  .case_items_detail .img .main_p {
    margin-bottom: 20px;
  }
  .case_items_detail .thumb_p li {
    width: 25%;
    padding: 0 5px;
  }
  .pagination {
    margin-top: 50px;
  }
  .pg_case .ov_list {
    padding: 20px 15px 30px;
  }
  .pg_case .ov_list .ttl {
    font-size: 16px;
  }
  
  /* **********************************
   *  会社案内
   * ********************************* */
  .pg_aboutus .top_ttl {
    margin-bottom: 10px;
  }
  
  /* **********************************
   *  会社案内
   * ********************************* */
  .pg_aboutus .content {
    padding: 30px 0;
  }
  .about_tbl th,
  .about_tbl td{
    display: block;
    width: 100%;
    padding: 10px 10px;
  }
  .pg_aboutus .top_ttl h2{
    border-bottom: 0;
  }
  .pg_aboutus .content#c_4 .map, 
  .pg_aboutus .content#c_4 .txt {
    width: 100%;
  }
  .pg_aboutus .content#c_4 .map iframe{
    height: 350px;
  }
  .pg_aboutus .content#c_4 .txt {
    padding-left: 0;
    margin-top: 20px;
  }
  
  /* **********************************
   *  お問い合わせ
   * ********************************* */
  .contact_form td .wpcf7-form-control-wrap.zipcode {
    flex-wrap: wrap;
  }
  .contact_form td .addr_auto {
    margin-left: 0;
  }
  .contact_form_acceptance p{
    text-align: left;
  }
  
  /* **********************************
   *  お知らせ
   * ********************************* */
  .pg_news .contents{
    justify-content: center;
  }
  .pg_news .sidebar {
    width: auto;
    margin-bottom: 20px;
  }
  .pg_news .main_content {
    width: 100%;
    padding-left: 0;
  }
  .pg_news .post_items .item .date {
    width: 80px;
  }
  .pg_news .post_items .item .title {
    width: 100%;
  }
  
  .pg_news .post_items .item.single_item .title {
    font-size: 20px;
  }
  .pg_news .post_items .item.single_item .meta {
    margin-bottom: 20px;
  }
  
  /* **********************************
   *  採用情報
   * ********************************* */
  .top_ttl h3 {
    font-size: 20px;
  }
  .careers_list .box .meta {
    font-size: 16px;
  }   
  .pg_careers .about_tbl tr > td:first-of-type {
    width: 100%;
  }
  .careers_list .box .telbox {
    padding: 10px;
  }
  .careers_list .box .bold {
    font-size: 16px;
  }
  .careers_list .box .telbox .num {
    font-size: 28px;
  }
  .pg_careers .content#c_4 .flex, 
  .pg_careers .content#c_5 .flex {
    margin-bottom: 20px;
  }
  .pg_careers .content#c_4 .msg, 
  .pg_careers .content#c_5 .msg {
    width: 100%;
  }
  .pg_careers .content#c_4 .gallery, 
  .pg_careers .content#c_5 .gallery {
    width: 100%;
    padding-left: 0;
  }
  .pg_careers .content#c_4 .gallery li, 
  .pg_careers .content#c_5 .gallery li {
    width: 100%;
    margin-bottom: 10px;
  }  
  .careers_menu {
    margin: 0 -5px;
  }
  .careers_menu li {
    width: 100%;
    padding: 0 5px;
    margin-bottom: 10px;
  }
  .careers_menu li a {
    font-size: 14px;
  }
  
  .caseListsWrap {
    padding: 2em 10px;
  }
  .caseListsWrap table th:nth-of-type(1) {
    width: 16%;
  }
  .caseListsWrap table th:nth-of-type(5) {
    width: 14%;
  }
}