@charset "utf-8";

/*-----------------------------------------------
 __default style
-----------------------------------------------*/

/*モバイル・タブレット共通*/
/*  (max-width: 480px) and (orientation: portrait) */

 
@media screen{
  
/* @media screen
  and (max-width: 480px)
  and (orientation: portrait) { */
  
    body {
      font-size: 100%;
      min-width: 320px;
      height: 100%;
      -webkit-text-size-adjust: 100%;
      position: relative;
    }
    
    #wrapper_out{
      width: 100%;
      min-width: 100%;
      max-width: 100%;
    }


    #wrapper_out{
      /* padding-top: 58px; */
    }
    
    .wrapper{
      display: block;
    }
    h1.fes_name{
      font-size: 2.2em;
      width: 95%;
    }
    h2 {
      font-size: 2.0em;
      padding: 0.25em;
    }
    h2.top{
      font-size: 2em;
      letter-spacing: 0.1em;
      margin: 20px auto;
    }
     h2.top p{
      font-size: 1.1em;
      margin-bottom: 0;
     }
     h2.top span{
      font-size: 0.6em;
     }
    h2.page p{
      font-size: 1.0em;
      margin-bottom: 10px;
    }
    h2.page span{
      font-size: 1.0em;
    }
    h3{
      font-size: 1.5em;
      letter-spacing: 0;
    }
  
    h4{
      font-size: 1.4em;
    }
/*    .wt100, .w98, .w90, .wt10, .wt15, .wt20, .wt23, .wt25, .wt30, .wt33, .wt35 ,.wt40, .wt43, .w60, .wt65, .wt70, .w80{
      width: 100%;
    } */
    
    
    .pc{
      display: none;
     }
    .pc-br{
      display: none;
     }
  
    .sp{
      display: inherit;
    }
      
    .sp-br{
      display: none;
    }
      

/*-----------------------------------------------
 __header footer container
-----------------------------------------------*/
    section{
      padding: 30px 0;
    }
    section.pagetop{
      padding: 60px 0 0;
    }

    .title{
      min-height: 280px;
    }
    .content {
      width: calc(100% - 20px);
      margin: 0px auto;
      padding: 10px 10px 30px;
    }

    header{
      min-width: 100%;
      height: 60px;
    background-color: #ffffff;
    }
    .header_sec{
    margin: 0 0;
    padding-right: 0;
    width: 100%;

    }
    .page-header{
      height: 60px;
    }
    .page-header nav {
      display: none;
    }
    .logo a {
      margin-top: 5px;
      padding: 3px 0px;
      background-image:url(../img/tanaka_logo2.png);
      color: #000000;
    }
    .logo a p.headname{
      font-size: 1.5em;
      padding-left: 60px;
    }

  
  
    /* フッター
    ------------------------------- */

    .fotmenu{
      flex-wrap: wrap;
      padding: 0 0;
    }

    .fotmenu .flitem {
      border: none;
      width: 50%;
      text-align: center;
      margin: 15px 0;
      padding: 0 0px;
    }
    .foot_bg{
      padding: 10px 0;
    }
    .foot_add{
      min-height: 320px;
      flex-direction: column-reverse;
    }
    .fm_left,.fm_right{
      width: 100%;
      letter-spacing: normal;
    }
    .fm_right{
      margin-top: 0px;
    }
    .fm_left{
      margin-top: 50px;
      padding-top: 20px;
      border-top: 2px solid #ffffff;;
    }
  
    .fm_left p.fm_txt {
      font-size: 1.6em;
      padding: 10px 0;
      text-align: center;
    }
    
    
  /*----------------------------------------
  ホバーメニュー
  ------------------------------------------*/ 
  
  .navbtn{
      top: 0;
      right: 0;
    display: block;
  }

    .menu_link{
      flex-basis: calc(100% - 40px);
    }
    

  /*----------------------------------------
  トップスライド
  ------------------------------------------*/
    
    #pcontainer {
      height:auto;
      min-height: 240px;
      margin: 60px 0 0px;
    }

    .top_video{
      width: 100%;
      /* height: auto; */
      max-height: 240px;
    }
    .top_img{
      height:260px;
    }
    .top_img.single{
      background: url(img/top_img.jpg) center right / cover no-repeat ;
    }

    .fes_name.top{
      top:auto;
      left: 50%;
      bottom: 0%;
      width: 100%;
      transform: translate(-50%, -50%);
    }

    .fes_name p{
      font-size: 1.5em;
      text-align: center;
      letter-spacing: normal;
      padding-bottom: 10px;
    }

    .fes_name span{
      /* font-size: 1.2em;
      text-align: center;
      letter-spacing: normal; */
      font-weight: 700;
    }
  
    /*----------------------------------------
  トップページ
  ------------------------------------------*/
  .catch_sec{
    padding: 70px 0 150px;
  }
    .catchcopy{
      margin: 0px 0 30px;
      text-align: center;
      letter-spacing: 0.0em;
      color: #0c6400;
    }
    .catchcopy span{
      font-size:1.5em;
    }
    .catchcopy p{
      font-size: 1.15em;
    }
    .catch_text{
      text-align: left;
      font-size: 0.97em;
      font-weight: 300;
      margin-bottom: 10px;
    }


    .flbox.catch{
      flex-wrap: wrap;
      align-items: flex-start;
      flex-direction: column-reverse;
      justify-content: center;
    }
    .flbox.catch.sec2{
      flex-direction: column;
      justify-content: center;
    }
    .flbox.catch .flitem,.flbox.catch .flitem.i-text,.flbox.catch .flitem.i-img{
      width: 100%;
      min-height: auto;
    }
    .flbox.catch .flitem.i-img{
      height: auto;
    }

    .flbox.catch .flitem .catch_img{
      z-index: 1;
      text-align: right;
    }
    .flbox.catch .flitem .catch_img img{
      height: auto;
      max-height: auto;
      min-height: 300px;
      width: 100%;
      vertical-align: bottom;
    }
      .top_catch_white{
      background-color: #ffffff;
      width: calc(90% - 30px);
      display: block;
      position: relative;
      left: 5%;
      top:-40px;
      z-index: 20;
      padding: 10px 15px 30px;
      box-shadow: 0px 10px 30px rgba(90,90,90,0.3);
      transform: translate(-0%, 0%);
      -webkit-transform: translate(-0%, 0%);
      -ms-transform: translate(-0%, 0%);
      /* display: none; */
    }

      .top_catch_white.sec2{
      top:20px;
    }

    .top_catch_white h2.top{
      width: 100%;
      text-align: center;
      /* padding-left: 0; */
      margin-left: 0;
      margin-bottom: 20px;
    }
  
    a.flbox.service{
      width: 95%;
      margin: 0 auto 50px;
      flex-direction: column-reverse;
      justify-content: flex-start;
      flex-wrap: wrap;
      padding: 20px 0;
    }

    .flbox.results.toped{
      flex-wrap: wrap;
      justify-content: center;
      padding-top: 10px;
    }
    .flbox.results.toped .flitem {
      width: 90%;
      margin-bottom: 30px;
    }

    .flbox.results.toped .flitem .r_pic > img{
      min-height: 180px;
      height: 180px;
    }
  
    .flbox.service .flitem{
      width: 90%;
      margin: 0 5% 0;
    }
    .flbox.service .flitem.link{
      padding: 30px 0;
    }
    .flbox.service .flitem.photo{
      opacity: 1.0;
    }
    .infosec{
      width: 95%;
      min-height: 300px;
      margin: 0 auto;
    }
  
    a.flbox.service.child2{
      flex-direction: column;
    }
  
    .flbox.service .flitem.link p.txt_e{
      padding-bottom: 15px;
    }
    .content p.compadd {
      letter-spacing: normal;
    }
    .contact_num{
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .con_img.fm{
      width: 60px;
    }
    .con_num{
       font-size: 1.1em;
       text-align: center;
       padding-bottom: 10px;
    }

    .con_num.fm{
      color: #ffffff;
      font-size: 2.2em;
    }
    p.cort_cacth {
      font-weight: 700;
      font-size: 1.4em;
    }

  
    /*お知らせ*/

    /* .infosec{
      height: 520px;
    }

    .info_inner{
      width: calc(100% - 10px);
      padding: 20px 5px;
    }
    .infotext{
      width: 100%;
    }
    .infotext p{
      padding: 10px 5px;
      font-size: 1.00em;
    }
    .info_img{
      width: 90%;
      margin: 20px auto;
    } */
     .news dl{
      width: 95%;
      padding: 15px 0;
      flex-wrap: wrap;
     }
     .news dt{
      padding: 0 0 0;
    }
     .news dd{
      padding: 15px 0 0;
      flex-wrap: wrap;
     }

  /*お問い合わせ*/
  .flbox.contact{
    flex-direction: row;
    flex-wrap: wrap;
  }

  .flbox.contact .flitem{
    width: 95%;
    margin: 0 auto;
  }
  .flbox.contact .flitem:first-child {
      border:none;
      border-bottom: 3px solid #f3f3f3;
      padding: 30px 0;
  }

  .tel_item{
    padding: 0 0;
  }
  /*----------------------------------------
  コンテンツ
  ------------------------------------------*/
     p.biz_catch{
      font-size: 1.0em;
      text-align: left;
     }
     /*会社概要*/
     dl.rec_tbl dt,dl.rec_tbl dd{
      width: 100%;
     } 
     dl.rec_tbl dt{
      padding-bottom: 0;
     }
     dl.rec_tbl dd{
      padding-top: 5px;
     }
     .flbox.gyosyu .flitem{
      width: 100%;
     }
     .flbox.csr.biz {
      width: 95%;
      margin: 0 auto;
      padding: 0px 0 0;
     }
     .flbox.csr.biz .flitem{
      width: 45%;
     }
     .flbox.hyosyo {
      width: 95%;
      margin: 0 auto;
     }
     .flbox.hyosyo .flitem{
      width: 45%;
     }
     .flbox.hyosyo .flitem .s_img{
      min-height: 100px;
     }
     .phil_text {
      font-size: 1.5em;
     }
     .timeline{
      width:calc(100% - 20px);
      padding-right: 0;
     }
     .line_item.days,.line_item.text{
      width: calc(100% - 41px);
      border-left: none;
      padding: 10px 20px;
     }
     .flbox.gyosyu{
      width: 95%;
      margin: 0 auto;
     }
     .flbox.gyosyu .engineer{
      width: 100%;
     }

     /*事業内容*/
     h2.biz p{
      font-size: 1.3em;
      padding: 10px 40px 10px 0;
     }
     .flbox.business{
      padding-top: 60px;
     }
     .flbox.business .b-img p.img_copy{
      line-height: 2.0;
      font-size: 1.2em;
      background-color: #ffffffe9;
      top: -3rem;
      left: 50%;
      transform: translate(-50%, -0%);
      width: calc(100% - 18px);
      text-align: center;
     }
     .flbox.business .b-img p.img_copy span{
      background-color: transparent;
      padding: 0;
     }

     .flitem .catch_img img{
      min-height: 320px;
      object-position: center;
     }
     .flbox.card .flitem{
      width: calc(100% - 30px);
      margin-bottom: 10px;
     }
     .flbox.card.hukuri{
      margin: 20px 0;
     }
    .flbox.card.hukuri .flitem{
       padding: 10px 15px;
    }
    .flbox.worktab .flitem{
      margin: 0 5px;
    }
    .flbox.worktab .flitem a{
      min-width: 40px;
    }
    .work_list .flitem{
      width: calc(48% - 22px);
    }
    .flbox.results.iji {
      padding-top: 20px;
    }
    .flbox.results.iji .flitem{
      width: 46%;
      margin: 0 2%;
    }
    .flbox.results.iji .flitem .r_pic > img{
      min-height: 140px;
    }


    /*採用情報*/
    .timeline-list-item{
      flex-wrap: wrap;
    }
    .timeline-list-item .date{
      width: 95%;
      margin: 0 auto;
      padding-left: 0;
    }
    .timeline-list-item .content{
      width: calc(100% - 30px);
      padding: 20px 10px;
      margin-left: 20px;
    }
    .timeline-list.jobs .content span{
      font-size: 1.1em;
    }
    .timeline-list-item .content::before{
      display: none;
    }

    .flbox.results.career .flitem{
      width:100%;
      margin-bottom: 50px;
    }



    .comp_sec{
      width: 95%;
    }

    .compitem{
      width: calc(100% - 30px);
      margin: 0 0 0px;
      padding: 10px 15px;
    }

    .comptext{
      width:  calc(100% - 30px);
      margin: 0 0 10px;
      padding: 10px 15px;
    }
  
    .flbox.shopimg{
      flex-wrap: wrap;
    }

    .flbox.shopimg .flitem{
      width: 45%;
    }
    .content p.compname {
        font-size: 1.6em;
    }
  
/*車検ページ*/
    .flbox.syaken{
      justify-content:flex-start;
      margin-bottom: 20px;
    }
    .flbox.syaken .flitem{
      width: 100%;
      margin-bottom: 20px;
    }
    .flbox.cost{
      width: 100%;
      justify-content: flex-start;
      flex-wrap: wrap;
    }

    .flbox.cost .flitem{
      width: 100%;
      margin: 10px 0;
    }
    .flbox.s_step{
      flex-wrap: wrap;
    }
    .flbox.s_step .flitem{
      padding: 10px;
    }
    .flbox.s_step .flitem.step{
      width: calc(100% - 20px);
      padding: 0 10px;
    }
    .triangle {
      margin: 0 auto;
    }
    .flbox.s_step.rental .flitem.step p{
      padding: 0px 0;
    }
    .flbox.s_step .flitem.step img{
      width: 25%;
    }
  
 
     /*ダウンロード*/
    ol.format{
      width: 85%;
      margin: 0 auto;
    }
    ol.format li {
      padding: 1.5rem 0;
    }
    ol.format li .flbox{
    justify-content: flex-start;
    flex-wrap: wrap;
    flex-direction: column;
    }
    ol.format li .flbox .flname{
    padding-bottom: 20px;
    width: 100%;
    }
    ol.format li .flbox .flname p{
      width: 100%;
      margin: 0;
    }
    ol.format li .flbox a{
      margin: 0 0 0 auto;
    }

    /*works*/
    .flbox.w-photo .flitem.x3,.flbox.w-photo .flitem.x6{
      width: 100%;
    }


  /*-----------------------------------------------
   __トップへ戻る
  -----------------------------------------------*/

    /* pagetop */
    #page-top {
      bottom: -40px;
      right: 0px;
    }
    
  /*-----------------------------------------------
   __ホバーメニュー
  -----------------------------------------------*/
    .navbtn{
      position: fixed;
      top: 3px;
      right: 0px;
      display: block;
    }

  /*-----------------------------------------------
   __追加CSS
  -----------------------------------------------*/
  #calendar{
    width: calc(100% - 30px);
  }
    
		
  /*-----------------------------------------------
   __ページャー
  -----------------------------------------------*/
	
.post-navi{
	display:flex;
	flex-direction:column;
}

.post-navi .prev, .post-navi .next{
	margin:50px 0;
}

	
	
	
  /*-----------------------------------------------
   __ここまで
  -----------------------------------------------*/

}



@media screen
  and (min-width: 361px)
  and (max-width: 399px)
  and (orientation: portrait){
    
    h2{
      font-size: 1.9em;
    }
}

@media screen
  and (max-width: 360px)
  and (orientation: portrait){
    
    h2.top{
      font-size: 2.6em;
    }
    
    .catchcopy span {
        font-size: 1.4em;
    }
    
    h3{
      font-size: 1.4em;
    }
}


/*##############################################*/
/*タブレット縦*/

@media screen
  and (min-width: 768px)
  and (max-width: 1080px){
      
    .sp-br{
      display: inherit;
    }
    .sp{
      display: none;
    }
    
    .pc-br{
      display: inherit;
      display: inline-block;
    }
    .pc{
      display: none;
    }
    
  .menu_inner{
    overflow-y: hidden;
  }
    
  .linkbtn {
    margin: 25px auto;
  }
/* トップページ
  ------------------------------- */
  
    /* .fes_name{
      top: 35%;
      left: 5%;
    } */

    .fes_name p{
      font-size: 2.3em;
    }

    .fes_name span{
      font-size: 1.1em;
    }
    
    .catchcopy{
      margin: 0px 0 30px;
      text-align: center;
      letter-spacing: 0.0em;
      color: #0c6400;
    }
    .catchcopy span{
      font-size:2.0em;
    }
    .catchcopy p{
      font-size: 1.3em;
    }
    .catch_text{
      width: 90%;
      text-align: left;
      margin: 0 auto 20px;
      font-size: 1.0em;
    }
    .flbox.results.toped {
      width: 93%;
      margin: 0 auto;
    }

    .flbox.results.toped {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .flbox.results.toped .flitem {
        width: 48%;
        margin-bottom: 30px;
    }







/*フッター
  ------------------------------- */
    .fotmenu .flitem {
        width: 25%;
    }
    .flbox.contact .flitem {
        width: 50%;
    }
    .flbox.contact .flitem:first-child {
      width: calc(50% - 3px);
        border: none;
        border-right: 3px solid #f3f3f3;
    }
/*各ページ
  ------------------------------- */
p.biz_catch{
  text-align: center;
  width:73%;
  margin: 0 auto;
  padding: 50px 0;
}


     dl.rec_tbl dt,dl.rec_tbl dd{
      width: 100%;
     } 
     dl.rec_tbl dt{
      width: calc(30% - 40px);
      padding-bottom: 20px;
     }
     dl.rec_tbl dd{
      width: calc(70% - 40px);
      padding-top:20px;
     }

    .phil_text {
        font-size: 1.8em;
    }
    .flbox.card.hukuri{
        width: 95%;
        margin: 0 auto;
    }
    .flbox.card .flitem {
        width: calc(48% - 30px);
        margin-bottom: 10px;
    }

    .flbox.results.career .flitem {
        width: 49%;
        margin-bottom: 50px;
    }
    .flbox.results.career .flitem p{
      padding: 0 20px;
    }
        .timeline-list-item {
          flex-wrap: nowrap;
        }
    .timeline-list-item .date {
        width: 23%;
        margin: 0 auto;
        padding-left: 20px;
    }
    .timeline-list-item .content {
        position: relative;
        width: 75%;
        padding: 20px 20px 60px 50px;

    }
    .timeline-list-item:last-child .content {
        padding: 20px 20px 20px 50px;
    }
    .timeline-list.jobs .content{
      padding-top: 20px;
    }

    .timeline-list.jobs .content::before{
      display: block;
    }





 .content p.compname {
    margin: 10px 0px 0;
    font-weight: 700;
    font-size: 1.5em;
  }
    
    
  .comp_sec{
    width: 90%;
  }

  .compitem{
    width: calc(25% - 30px);
    margin: 0 0 15px;
    padding: 15px;
  }

  .comptext{
    width:  calc(75% - 30px);
    margin: 0 0 15px;
    padding: 15px;
  }
    

    .flbox.top_company{
      flex-wrap: nowrap;
      border: 1px solid #cccccc;
    }
    .flbox.top_company.tenpo{
      flex-direction: row;
    }
  
    .flbox.top_company .flitem{
      width: 50%;
      min-height: 300px;
    }
    .flbox.top_company .flitem:nth-child(1) {
        margin-top: 0px;
    }
    
    .flbox.shopimg{
      flex-wrap: nowrap;
    }

    .flbox.shopimg .flitem{
      width: 23%;
    }
    
    .flbox.service .flitem{
      width: 44%;
    }
    
    
/*車検ページ*/
    .flbox.s_step .flitem{
      width: calc(80% - 30px);
      padding: 0 15px;
    }
    .flbox.s_step .flitem.step{
      width: calc(20% - 20px);
    }
    .flbox.s_step.rental .flitem.step{
      padding: 25px 10px;
    }
    .flbox.s_step.rental .flitem.step img{
      width: 60%;
    }
/*コーティング*/
    .flbox.cort .flitem.text{
      width: calc(55% - 20px);
      padding: 0 10px;
    }

    .flbox.cort .flitem.image{
      width: 45%;
    }

}


@media screen
  and (min-width: 1024px)
  and (max-width: 1180px){
    
    #pcontainer {
      height:calc(100% - 50px);
      max-height: 500px;
      margin: 50px 0 0px;
    }
  
    .pc-br{
      display: none;
    }
    
    .pc-br.tb{
      display: inline-block;
    }
    
    .sp-br{
      display: none;
    }
    .sp{
      display: none;
    }
    
/* トップページ
  ------------------------------- */
  
    .fes_name{
      top: 30%;
      left: 5%;
    }

    .fes_name p{
      font-size: 2.3em;
    }

    .fes_name span{
      font-size: 1.3em;
    }
    
    .catchcopy{
      margin: 0px 0 30px;
      text-align: center;
      letter-spacing: 0.0em;
      color: #0c6400;
    }
    .catchcopy span{
      font-size:2.5em;
    }
    .catchcopy p{
      font-size: 1.5em;
    }
    .catch_text{
      width: 90%;
      text-align: left;
      margin: 0 auto 20px;
      font-size: 1.2em;
    }
    
    /* フッター
    ------------------------------- */
  
    .fotmenu{
      flex-wrap: wrap;
    }

    .fotmenu .flitem {
      border: none;
      width: 40%;
      text-align: center;
      margin: 15px 0;
      padding: 0 10px;
    }
    .foot_add{
      min-height: 320px;
    }
    .fm_left,.fm_right{
      width: 50%;
      letter-spacing: normal;
    }
    
/*各ページ
  ------------------------------- */
 .content p.compname {
    margin: 10px 0px 0;
    font-weight: 700;
    font-size: 1.5em;
  }
    
    
  .comp_sec{
    width: 90%;
  }

  .compitem{
    width: calc(25% - 30px);
    margin: 0 0 15px;
    padding: 15px;
  }

  .comptext{
    width:  calc(75% - 30px);
    margin: 0 0 15px;
    padding: 15px;
  }
    

    .flbox.top_company{
      flex-wrap: nowrap;
      border: 1px solid #cccccc;
    }
    .flbox.top_company.tenpo{
      flex-direction: row;
    }
  
    .flbox.top_company .flitem{
      width: 50%;
      min-height: 300px;
    }
    .flbox.top_company .flitem:nth-child(1) {
        margin-top: 0px;
    }
    
    .flbox.shopimg{
      flex-wrap: nowrap;
    }

    .flbox.shopimg .flitem{
      width: 23%;
    }
    
    .flbox.service .flitem{
      width: 44%;
    }
    
    
    
    .flbox.cort .flitem.text{
      width: calc(50% - 40px);
      padding: 0 20px;
    }

    .flbox.cort .flitem.image{
      width: 50%;
    }


    
}

/*##############################################*/