@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%;
    padding: 0 40px;
  }
  .main {
    width: calc(100% - 280px);
  }

  /* ヘッダー */
  header{
    width: 280px;
  }
  .logo a {
    padding: 18px 48px 30px 35px;
  }
  .under_logo a {
    padding: 25px 0 40px 14px;
  }
  header .fixed {
    padding: 240px 14px 0px
  }
  .logo a .arial {
    font-size: 40px;
  }
  .home header .fixed {
    padding: 260px 0px 0px 20px;
  }
  .arial.one{
    margin-right: 50px;
  }
  .arial.one::after {
    right: -46px;
  }
  .arial.two{
    margin-right: 60px;
  }
  .arial.two::after {
    right: -55px;
  }
  .arial.three{
    margin-right: 70px;
  }
  .arial.three::after{
    right: -63px;
  }
  .arial.four{
    margin-right: 85px;
  }
  .arial.four::after{
    right: -78px;
  }
  .arial.five{
    margin-right: 50px;
  }
  .arial.five::after{
    right: -47px;
  }

  /* 会社案内 */
  .company_tbl1 th {
    width: 20%;
  }
  .company_tbl1 td {
    width: 80%;
  }
  .company_tbl2 td {
    padding-left: 25px;
  }

  /* 事業案内 */
  .service_wrap .box {
    padding: 0px 10px;
  }

  /* お問い合わせ */
  .contact_form {
    width: 100%;
    margin-left: 0px;
  }

  /* お知らせ一覧 */
  .pagination{
    margin-top: 80px;
    padding-bottom: 70px;
  }

  /* お知らせ詳細 */
  .pg_single .section#sec1{
    padding: 0px 0px 70px 0px;
  }

  /* 下層ヘッダー */
  .pg_header .container:after {
    right: 46.6%;
  }

  /* 施工実績 */
  .works_items .item {
    width: 50%;
    padding: 0 46px;
  }
  .works_items .item:nth-child(n+4) {
    margin-top: 0px;
  }
  .works_items .item:nth-child(n+3) {
    margin-top: 50px;
  }

  /* TOPページ */
  .home_news_box {
    padding: 18px 0px 20px 120px;
  }
  .home_news_box .box1 {
    margin-right: 30px;
  }
  .home_news_box .box1 h2::after {
    right: -29px;
  }

}/* ↑max-width:1220px */

@media only screen and (max-width:1023px){
  .contact_form th {
    width: 250px;
  }
  .contact_form td .wpcf7-text{
    width: 100%;
  }
  .contact_form td [name="zipcode"]{
    width: 150px;
  }
  .main {
    width: calc(100% - 230px);
  }

  /* ヘッダー */
  header{
    width: 230px;
  }
  header .fixed{
    padding: 220px 0px 0px 15px;
  }
  .home header .fixed {
    padding: 280px 0px 0px 20px;
  }

  .logo a .arial {
    font-size: 36px;
  }
  .under_logo a .gothic {
    font-size: 10px;
    letter-spacing: 0;
  }
  .under_logo a .arial {
    font-size: 24px;
  }
  .under_logo a {
    padding: 18px 0 18px 18px;
  }
  .arial.one{
    margin-right: 30px;
  }
  .arial.two{
    margin-right: 40px;
  }
  .arial.three{
    margin-right: 50px;
  }
  .arial.four{
    margin-right: 65px;
  }
  .arial.five{
    margin-right: 30px;
  }
  .arial.one::after {
    right: -36px;
  }
  .arial.two::after {
    right: -45px;
  }
  .arial.three::after{
    right: -53px;
  }
  .arial.four::after{
    right: -68px;
  }
  .arial.five::after{
    right: -37px;
  }

  /* 会社案内 */
  .company_tbl1 th {
    width: 25%;
  }
  .company_tbl1 td {
    width: 75%;
  }
  .company_tbl2 {
    width: 100%;
  }
  .company_tbl2 td {
    padding-left: 20px;
  }

  /* 事業案内 */
  .service_wrap .box {
    width: 50%;
    margin-bottom: 35px;
  }
  .service_wrap {
    justify-content: space-around;
  }
  .service_wrap:nth-of-type(1) {
    margin-bottom: 20px;
  }
  .pg_service .section#sec1 {
    padding: 13px 0px 50px 0px;
  }

  /* お問い合わせ */
  .contact_form th {
    width: 100%;
  }
  .contact_form td {
    width: 100%;
  }
  .pg_contact .section#sec1 {
    padding: 13px 0px 30px 0px;
  }

  /* お知らせ一覧 */
  .post_items .item .title {
    width: calc(100% - 140px - 20px);
  }

  /* 下層ヘッダー */
  .pg_header .container:after {
    right: 45.4%;
  }

  /* 施工実績 */
  .works_items .item {
    width: 50%;
    padding: 0 10px;
  }
  .works_items .item:nth-child(n+3) {
    margin-top: 30px;
  }
  .works_items .img {
    width: 230px;
  }

  /* TOPページ */
  .home_news_box .box1 h2::after {
    right: -38px;
  }
  .home_news_box {
    padding: 18px 0px 20px 85px;
  }

}/* ↑max-width:1023px */

@media only screen and (max-width:767px){

  body{
    min-height: 0;
    font-size: 14px;
  }
  .container {
    padding: 0 30px;
  }

  /* ヘッダー */
  header .fixed{
    width: 100%;    
    padding: 10px 0;
  }
  header .hdr1{
    width: 100%;
    margin-bottom: 0;
    left: 0;
  }
  header .hdr1 .hdr_logo{
    width: 100%;
    margin: 5px 0;
  }
  header .hdr1 .hdr_logo img{
    width: 240px;
  }
  header .hdr1 .hdr_contact{
    display: none;
  }
  .gnav{
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #FFF;
    padding: 0;
    z-index: 20;
    overflow-y: scroll;

    /*transition: all 0.2s;*/
    transform: translateX(100%);
    padding: 80px 75px 0px 80px;
  }
  .gnav.active{
    transform: translateX(0%);
  }
  .gnav > ul{
    display: block;
  }
  .gnav > ul > li{
    width: 100%;
    padding: 11px 0;
    border: 0;
  }
  .gnav ul li:nth-child(5){
    padding-bottom: 8px;
  }
  .gnav ul li:nth-child(6){
    padding-bottom: 4px;
  }
  .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;
  }
  .gnav .children, .gnav .sub-menu{
    display: block;
    position: static;
    background: #EEE;
  }
  .gnav.active {
    background-image: url(/img/header/hdr_bg.jpg);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
  }
  header .hidden{
    display: block;
  }
  .logo a .arial {
    font-size: 22px;
  }
  .logo a .gothic {
    font-size: 10px;
  }
  header{
    width: auto;
    min-height: 0;
  }
  header .hdr1 .hdr_logo {
    margin: 0;
  }
  header .logo {
    width: 65%;
  }
  .under_logo a .arial br{
    display: none;
  }
  .under_logo a .arial {
    font-size: 14px;
  }
  .under_logo a{
    background-color: rgba(0,0,0,0.8);
  }
  .under_logo a .gothic {
    margin-bottom: 8px;
  }
  .arial.one{
    margin-right: 60px;

  }
  .arial.two{
    margin-right: 70px;

  }
  .arial.three{
    margin-right: 80px;

  }
  .arial.four{
    margin-right: 95px;

  }
  .arial.five{
    margin-right: 60px;

  }
  .arial.one::after{
    right: -50px;
  }
  .arial.two::after{
    right: -59px;
  }
  .arial.three::after{
    right: -68px;
  }
  .arial.four::after{
    right: -84px;
  }
  .arial.five::after{
    right: -50px;
  }

  /* フッター */
  footer{
    z-index: 5;
    background-color: inherit;
    /*position: absolute;
    bottom: 0;
    left: 0;*/
  }
  .home footer{
  }
  footer .ftr2 .container{
    flex-wrap: wrap;
  }
  .footer_fix{
    display: block;
  }
  footer .policy {
    display: none;
  }
  footer .copy {
    margin-left: 0px;
  }
  footer .ftr2 .box2{
    justify-content: flex-end;
  }
  footer .ftr2 {
    padding: 2px 19px 4px 17px;
    z-index: 2;
    background-color: #222222;
  }
  footer .ftr2 .box1,
  footer .ftr2 .box2{
    width: 50%;
  }
  .footer_fix ul li.btn1 {
    display: none;
  }
  .footer_fix ul li.btn2 {
    width: 100%;
  }
  .ftr2 .box1 a img{
    width: 67%;
  }
  .footer_fix .fa-bars:before {
    content: url("/img/footer/menu.png");
  }
  .footer_fix .fa-times:before {
    content: url("/img/footer/return.png");;
  }

  /* パンくずリスト */
  .breadcrumb{
    font-size: 12px;
  }
  .breadcrumb li{
    white-space: nowrap;
  }

  /* 下層ヘッダー */
  .tt1{
    font-size: 12px;
  }
  .tt1 span{
    font-size: 14px;
  }
  .pg_header .container {
    height: 100px;
  }

  .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_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"],
  .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%;
  }

  /* 下層ヘッダー */
  .pg_header {
    /*margin-top: 190px;*/
  }
  .pg_header .container:after {
    right: 44%;
    top: 46%;
  }
  .blackBg{
    min-height: 0;
    height: 100%; 
  }

  /* サイトマップ */
  .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;
  }
  .privacy_items .item + .item {
    margin-top: 40px;
  }

  /* TOPページ */
  .main{
    width: 100%;
    min-height: 0;
    height: 100%;
    padding-top: 190px;
    padding-bottom: 0;
    background: 0;
    position: relative;
  }
  .mainbg{
    width: 100%;
    height: 100%;
    background-image: url(/img/home/mv_home_sp.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: inherit;
    position: fixed;
    left: 0;
    top: 0;
    display:block;
    z-index:-1;
  }
  body.home .main{
    min-height: 0;
  }
  body.home .mainbg{
    display: none;
  }
  .mv{
    min-height: 0;
  }

  .home_news_box {
    padding: 18px 15px 38px;
    z-index: 0;
    position: relative;
    top: 0;
    left: 0;
  }
  .home_news_box .box1 h2::after {
    display: none;
  }
  .home_news_box .box1 {    
    width: auto;
    margin-right: 0;
    position: absolute;
    bottom: 81%;
    left: 5%;
  }
  .logo a {
    padding: 12px 18px 28px 16px;
  }
  .logo a .gothic {
    margin-bottom: 4px;
  }
  .home_news_box .box2 {
    width: 100%;
    padding-left: 0px;
  }
  .home_news_box .box2 .date {
    width: 80px;
    font-size: 12px;
    margin-right: 0;
  }
  .home_news_box .box3 {
    position: relative;
  }
  .home_news_box .box3 .more {
    font-size: 12px;
    position: absolute;
    top: 15px;
    right: 25px;
  }
  .home_news_box .box2 .title {
    width: calc(100% - 80px);
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* 会社案内 */
  .company_tbl1 th {
    width: 100%;
  }
  .company_tbl1 td {
    width: 100%;
  }
  .company_photo_wrap .box1 {
    width: 100%;
  }
  .company_photo_wrap .box2,
  .company_photo_wrap .box3{
    padding-left: 0px;
    margin-top: 10px;
    width: 100%;
  }
  .company_tbl2 th {
    width: 100%;
    padding: 10px 0px 5px 0px;
  }
  .pg_company #sec3 h2 {
    margin-bottom: 10px;
  }
  .company_tbl2 td {
    width: 100%;
    padding-left: 0px;
    padding: 5px 0px 22px 0px;
  }
  .company_tbl2 th, .company_tbl2 td {
    text-align: left;
  }
  .pg_company #sec1 .txt {
    margin-bottom: 30px;
  }
  .pg_company .section#sec2 {
    padding: 30px 0px 10px 0px;
  }
  .company_photo_wrap {
    margin-bottom: 40px;
  }

  /* 事業案内 */
  .service_wrap .box {
    width: 100%;
    margin-bottom: 30px;
  }

  /* お問い合わせ */
  .contact_form th {
    width: 100%;
    text-align: left;
    padding-left: 60px;
  }
  .contact_form td {
    width: 100%;
  }
  .contact_form th .require {
    top: 33%;
    left: 15px;
  }
  .contact_form .message .require {
    top: 48%;
  }
  .contact_info .box2 .tel {
    font-size: 18px;
  }

  /* 404 */
  .pg_404 p br{
    display: inline;
  }

  /* お知らせ一覧 */
  .pagination {
    margin-top: 50px;
    padding-bottom: 0;
  }

  /* 施工実績 */
  .pg_service, .pg_works, .pg_news {
    min-height: 0;
    padding-bottom: 0;

    /*position: absolute;
    top: 315px;
    bottom: 0;*/
  }
  .pg_works{
    padding-bottom: 50px; 
  }
  .works_tabs {
    margin: 0 -15px;
  }
  .works_tabs li {
    padding: 1px 15px;
  }
  .works_items .item {
    width: 50%;
    padding: 0px 10px;
  }
  .works_items .item:nth-child(n+3) {
    margin-top: 0px;
  }
  .works_items .img {
    margin: 0 auto;
    margin-bottom: 4px;
    width: 155px;
  }
  .works_items .flex {
    justify-content: flex-start;
    overflow-x: hidden;
    text-overflow: ellipsis;
    padding-left: 7px;
    margin-top: 10px;
  }
  .works_items .flex .category{
    width: 100%;
    margin-right: 0;
    line-height: 1.0;
  }
  .works_items .item .category span{
    min-width: 45px;
    margin: 0 3px;
  }
  .works_items .item .title {  
    width: 100%;  
    margin-top: 10px;
    text-align: left;
  }
  .works_items .item {
    text-align: center;
  }
  .works_items .item:nth-child(n+3) {
    margin-top: 20px;
  }

  .works_items.term_15 .beaf .box {
    width: 100%;
    padding: 0;
  }
  .works_items.term_15 .beaf {
    margin: 0;
  }
  .works_items.term_15 .beaf .box.after{
    margin-top: 50px;
  }
  .works_items.term_15 .beaf .box.after .img:after {
    content: "▼";
    left: 50%;
    top: -50px;
    transform: translateX(-50%);
  }
  .works_items.term_15 .item + .item {
    margin-top: 40px;
    padding-top: 40px;
  }
  .works_items.term_15 .title {
    font-size: 16px;
  }
  .post-type-archive-works .lb-data .lb-close {
    right: 0;
    top: -35px;
  }
  .post-type-archive-works .lb-nav a.lb-prev {
    left: 0;
  }
  .post-type-archive-works .lb-nav a.lb-next{    
    right: 0;
  }

}/* ↑max-width:767px */

@media only screen and (max-width:359px){
  .footer_fix ul{
    font-size: 12px;
  }
  .gnav {
    padding: 80px 40px 0px 55px;
  }
  .tt1{
    font-size: 12px;
  }
  .home_news_box .box2 .title {
    font-size: 12px;
  }
  .arial.five {
    margin-right: 60px;
  }

  /* 会社案内 */
  .pg_company #sec1 .txt {
    margin-bottom: 30px;
    line-height: 1.7;
    font-size: 13px;
  }
  .company_tbl1 th, .company_tbl1 td {
    padding: 13px 0px 13px 0px;
  }
  .pg_company #sec2 iframe {
    height: 230px;
  }
  .company_photo_wrap {
    margin-bottom: 40px;
  }
  .pg_company .section#sec3 {
    padding: 50px 0px 50px 0px;
  }

  /* 事業案内 */
  .service_wrap .box {
    margin-bottom: 20px;
  }

  /* お問い合わせ */
  .contact_info .box1 {
    font-size: 12px;
    margin-top: 18px;
  }
  .contact_info .box2 .tel {
    font-size: 14px;
  }
  .contact_form th .require {
    left: 13px;
  }

  /* 下層ヘッダー */
  .pg_header .container:after {
    right: 42%;
    top: 47%;
  }

  /* 施工実績 */
  .works_items .img {
    width: 140px;
  }
  .pg_works .container {
    padding: 0 20px;
  }
  .works_items .flex {
    padding-left: 0px;
  }

}