@charset "utf-8";

/* /////////////////////////////
      下層共通
///////////////////////////// */
@media screen and (max-width:1000px){
}
@media screen and (max-width:768px){
}
@media screen and (max-width:767px){
  .ttl_sub{
    font-size: 22px;
  }
  .ttl_sub02{
    font-size: 14px;
  }
  .ttl_sub03{
    font-size: 20px;
  }
  .ttl_sub04{
    font-size: 16px;
  }
  .mb30_tab{
    margin-bottom: 30px;
  }
  .mb40_tab{
    margin-bottom: 40px;
  }
  .pb0_tab{
    padding-bottom: 0;
  }
}
/* /////////////////////////////
      aboutus
///////////////////////////// */
.aboutus .pageTop{
  width: calc(50% + 600px);
  height: 440px;
  background: url(../img/aboutus/aboutus_mv.jpg) right / cover no-repeat ;
  margin-left: auto;
  position: relative;
}
.pageTop .txtArea{
  display: flex;
  background-color: #00346f;
  color: #fff;
  padding: 20px 60px 20px 20px;
  position: absolute;
  top: 50%;
  left: -70px;
  align-items: baseline;
  margin-left: 15px;
}
.pageTop .txtArea .title{
  font-size: 38px;
  margin-left: 30px;
}
.pageTop .txtArea .eng{
  font-size: 26px;
  margin-left: 20px;
}
table{
  width: 100%;
}
.company th, .company td{
  border: solid 1px #c9caca;
  padding: 24px 30px;
  text-align: left;
  white-space: nowrap
}
.company th{
  vertical-align: middle;
  width: 16%;
  background-color: #efefef;
}

.accessmap{
  background: #efefef;
  margin-top: 100px;
  padding: 80px 0;
}
.accessmap .ttl_main .ttl_main_inner span{
  background: #efefef;
}

.title-border-right h2{
display: flex;
align-items: center;
}
.title-border-right h2::after {
border-top: 1px solid #00346f;
content: "";
flex-grow: 1;
margin-left: 1rem;
}

@media all and (-ms-high-contrast: none){
  .pageTop .txtArea{
    padding: 25px 80px 5px;
  }
}
@media screen and (max-width: 1460px){
  .aboutus .pageTop{
    width: 100%;
  }
  .pageTop .txtArea{
    left: 0;
    margin-left: 0;
  }
  .pageTop .txtArea .title{
    margin-left: 0;
  }
}
@media screen and (max-width: 1200px){
  /* .pageTop .txtArea{
    left: 0;
    margin-left: 0;
  }
  .pageTop .txtArea .title{
    margin-left: 0;
  } */
}
@media screen and (max-width: 767px) {
  .aboutus .pageTop{
    background: url(../img/aboutus/aboutus_mv.jpg) right / cover no-repeat;
    height: 150px;
    margin-bottom: 20px;
    width: 100%;
  }
  .pageTop .txtArea{
    padding: 5px 10px;
    left: 0;
    margin: 0;
    top: 37%;
  }
  .pageTop .txtArea .title{
    margin: 0;
    font-size: 24px;
  }
  .pageTop .txtArea .eng{
    font-size: 14px;
    margin-left: 10px;
  }
  .title-border-right h2{
  display: block;
  align-items: center;
  border-bottom:1px solid #00346f;
  padding-bottom: 10px;
  }
  .company th, .company td{
    display: block;
    width: 100%;
    box-sizing: border-box;
    white-space: normal;
  }
  .company th{
    border-bottom: 0;
  }
  .company td{
    border-top: 0;
    border-bottom: 0;
  }
  .company tr:last-child td {
      border-bottom: 1px solid #c9caca;
  }
  .accessmap {
    margin-top: 50px;
    padding: 50px 0;
  }
}

/* /////////////////////////////
      contact
///////////////////////////// */
.contact .pageTop{
  width: calc(50% + 600px);
  height: 440px;
  background: url(../img/contact/contact_mv.jpg) right / cover no-repeat ;
  margin-left: auto;
  position: relative;
}
.contact tr{
  border: 1px solid #ccc;
}
.contact th{
  padding: 40px 0px 40px 30px;
  background: #efefef;
  display: table-cell;
  vertical-align: top;
}

.contact table .must {
  background-color: #c82e2e;
  color: #fff;
  font-size: 16px;
  margin: 0 40px auto auto;
  padding: 3px 5px;
  border-radius: 3px;
  font-weight: normal;
}
.contact td {
  padding: 40px;
  vertical-align: middle;
}
.last_name, .first_Name, .from_address, .tel_number, .mail_body, .street_address, .postal_code, .street_address01, .street_address02{
  border: 1px solid #D1D1D1;
  border-radius: 0.3em;
}
.contact .txtArea{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.from_address, .mail_body, .street_address01, .street_address02{
  width: 100%;
}
.address p{
  margin-bottom: 6px;
}
.address input{
  margin-bottom: 20px;
}
.mail_body{
  height: 200px;
}
textarea, input {
    padding: 8px;
    font-family: 'Noto Sans JP',"Helvetica Neue", "Segoe UI",'Noto Sans JP',"游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
    line-height: 1.6;
    font-size: 15px;
    -webkit-appearance: none;
    appearance: none;
}
input[type="button"] {
    width: 300px;
    height: 60px;
    background-color: #00346f;
    color: #FFFFFF;
    border-style: none;
    cursor: pointer;
    text-align: center;
    margin: 50px auto 60px auto;
    display: block;
    font-size: 24px;
    letter-spacing: 3px;
}
.error {
    display: none;
    color: red;
}
@media screen and (max-width: 1460px){
  .contact .pageTop{
    width: 100%;
  }
}
@media screen and (max-width: 870px){
  .last_name,.first_Name{
    width: 44%;
  }
  .contact td{
    padding: 4vw;
  }
  .contact th{
    padding: 4vw 0 4vw 3vw;
  }
  .contact table .must{
    margin: 0 10px auto auto;
  }
}
@media screen and (max-width: 767px){
  .contact .pageTop{
    background: url(../img/contact/contact_mv.jpg) right / cover no-repeat;
    height: 150px;
    margin-bottom: 20px;
    width: 100%;
  }
  .contact th{
    padding: 10px 0px 10px 20px;
  }
  .contact td{
    padding: 20px;
  }
  .contact table, textarea, input{
    box-sizing: border-box;
    width: 100%;
  }
  .last_name{
    margin-bottom: 10px;
  }
  .contact th, .contact td{
    display: block;
    box-sizing: border-box;
    width: 100%;
  }
  .contact .txtArea{
    justify-content: start;
  }
  .contact table .must{
    margin: 0 0 0 10px;
    font-size: 12px;
  }
  .last_name,.first_Name{
    width: 100%;
  }
}

/* /////////////////////////////
      works
///////////////////////////// */
.works .pageTop{
  width: calc(50% + 600px);
  height: 440px;
  background: url(../img/works/works_mv.jpg) right / cover no-repeat ;
  margin-left: auto;
  position: relative;
}
.tab-wrap {
    display: flex;
    flex-wrap: wrap;
}
.tab-label {
    color: #00346f;
    background: #fff;
    padding: 27px 0;
    order: -1;
    border: 2px solid #00346f;
    box-sizing: border-box;
    font-size: 24px;
    width: calc(100%/4 - 45px);
    margin-right: 60px;
    margin-bottom: 60px;
    text-align: center;
}
.tab-label:hover{
  cursor: pointer;
  opacity: 0.7;
}
.tab-label.mr0{
  margin-right: 0;
}
.tab-content {
    width: 100%;
    display: none;
}
/* アクティブなタブ */
.tab-switch:checked+.tab-label {
    background: #00346f;
    color: #fff;
}
.tab-switch:checked+.tab-label:hover{
  opacity: 1;
}
.tab-switch:checked+.tab-label+.tab-content {
     display: block;
}
/* ラジオボタン非表示 */
.tab-switch {
    display: none;
}
.works_allbox .works_box{
  width: calc(100%/4 - 45px);
  margin-right: 60px;
}
.works_box img{
  margin-bottom: 15px;
}
.works_box_daytxt{
  font-size: 18px;
  color: #00346f;
  text-align: right;
  margin-bottom: 20px;
}
.works_txt{
  font-size: 20px;
  margin-bottom: 60px;
}
.works_allbox .works_box:nth-child(4n){
  margin-right: 0;
}
@media screen and (max-width:1460px){
  .works .pageTop{
    width: 100%;
  }
}
@media screen and (max-width:1000px){
  .tab-label{
    font-size: 2vw;
    padding: 2vw 0;
    margin-right: 30px;
    width: calc(100%/2 - 15.5px);
    margin-bottom: 30px;
  }
  .works_allbox .works_box{
    width: calc(100%/2 - 15.5px);
    margin-right: 30px;
  }
  .works_allbox .works_box:nth-child(2n){
    margin-right: 0;
  }
  .works_box img{
    width: 450px;
  }
  .works_txt{
    margin-bottom: 30px;
    font-size: 1.8vw;
  }
  .tab-label.mr0_tab{
    margin-right: 0;
  }
  .works_box_daytxt{
    font-size: 1.6vw;
  }
}
@media screen and (max-width:767px){
  .works .pageTop {
    background: url(../img/works/works_mv.jpg) right / cover no-repeat;
    height: 150px;
    margin-bottom: 20px;
    width: 100%;
  }
  .tab-label{
    width: 100%;
    margin-right: 0;
    margin-bottom: 15px;
    padding: 15px 0;
    border: 1px solid #00346f;
    font-size: 14px;
  }
  .works_allbox .works_box {
    width: 100%;
    margin-right: 0;
  }
  .works_txt{
    font-size: 14px;
  }
  .works_box_daytxt{
    font-size: 12px;
  }
  .works_box img{
    width: 100%;
  }
}

/* /////////////////////////////
      business
///////////////////////////// */
.business .pageTop{
  width: calc(50% + 600px);
  height: 440px;
  background: url(../img/business/business_mv.jpg) right / cover no-repeat ;
  margin-left: auto;
  position: relative;
}
.bus_box{
  height: 390px;
}
.bus_img_box_out{
  position: absolute;
  width: calc(58% - 120px);
}
.bus_img_box_out.right{
  right: 0;
}
.bus_img_box{
  width: 100%;
  height: 220px;
  background: url(../img/business/business_img01.jpg) center / cover no-repeat ;
  border-right: 10px solid #fff;
  border-bottom: 10px solid #fff;
}
.bus_img_box02{
  width: 100%;
  height: 220px;
  background: url(../img/business/business_img02.jpg) center / cover no-repeat ;
  position: absolute;
  top: 170px;
  right: -60px;
  z-index: -1;
}
.bus_img_box02.left{
  left: -60px;
}
.bus_img_box.img03{
  background: url(../img/business/business_img03.jpg) center / cover no-repeat ;
}
.bus_img_box02.img04{
  background: url(../img/business/business_img04.jpg) center / cover no-repeat ;
}
.bus_img_box.img05{
  background: url(../img/business/business_img05.jpg) center / cover no-repeat ;
}
.bus_img_box02.img06{
  background: url(../img/business/business_img06.jpg) center / cover no-repeat ;
}
.bus_img_box.img07{
  background: url(../img/business/business_img07.jpg) center / cover no-repeat ;
}
.bus_img_box02.img08{
  background: url(../img/business/business_img08.jpg) center / cover no-repeat ;
}
.bus_txt_box{
  width: 42%;
  position: absolute;
  top: 20px;
  right: 0;
}
.bus_txt_box.left{
  left: 0;
}
.bus_txt_box .top_ttl_sub:after {
    content: "";
    display: block;
    background: #00346f;
    height: 3px;
    width: 32px;
    margin: 10px 0;
}
#bus_ele{
  margin-top: -115px;
  padding-top: 115px;
}
#bus_sol{
  margin-top: -130px;
  padding-top: 200px;
}
#bus_sto{
  margin-top: -130px;
  padding-top: 150px;
}
#bus_sur{
  margin-top: -130px;
  padding-top: 200px;
}
@media screen and (max-width:1460px){
  .business .pageTop{
    width: 100%;
  }
}
@media screen and (max-width:1000px){
  .top_about{
    padding-top: 50px;
  }
  .bus_img_box_out{
    width: calc(100% - 60px);
    position: relative;
    padding-bottom: 160px;
  }
  .bus_txt_box{
    width: 100%;
    position: relative;
  }
  .bus_img_box02.left{
    left: 60px;
  }
  .bus_box{
    margin-bottom: 342px;
  }
  .bus_box:last-child{
    margin-bottom: 327px;
  }
  #bus_ele{
    margin-top: -110px;
    padding-top: 110px;
  }
  #bus_sol{
    margin-top: -130px;
    padding-top: 130px;
  }
  #bus_sto{
    margin-top: -130px;
    padding-top: 130px;
  }
  #bus_sur{
    margin-top: -130px;
    padding-top: 130px;
  }
}
@media screen and (max-width:767px){
  .top_about{
    padding-top: 0;
  }
  .business .pageTop {
    background: url(../img/business/business_mv.jpg) right / cover no-repeat;
    height: 150px;
    margin-bottom: 20px;
    width: 100%;
  }
  .bus_box{
    margin-bottom: 162px;
  }
  .bus_box:last-child{
    margin-bottom: 102px;
  }
  .bus_img_box_out{
    padding-bottom: 90px;
  }
  .bus_img_box{
    height: 120px;
    border-right: 5px solid #fff;
    border-bottom: 5px solid #fff;
  }
  .bus_img_box02{
    height: 120px;
    top: 100px;
  }
  #bus_ele{
    margin-top: -70px;
    padding-top: 70px;
    padding-bottom: 80px;
  }
  #bus_sol{
    margin-top: -70px;
    padding-top: 70px;
    padding-bottom: 80px;
  }
  #bus_sto{
    margin-top: -70px;
    padding-top: 70px;
    padding-bottom: 80px;
  }
  #bus_sur{
    margin-top: -70px;
    padding-top: 70px;
    padding-bottom: 80px;
  }
}
