@charset "UTF-8";

body,ul,li,h1,h2,h3,table, td, th{
    margin: 0px;
    padding: 0px;
}
header,main{
    display: block;
}
li{
  list-style: none;
}
svg{
  display: block;
  height: 2em;
  vertical-align: -0.125em;
  padding-right: .4em;
}
span{
  line-height: 1;
}
section{
  width: 100%;
  padding: 50px 0;
}
section:nth-child(3){
  background-color: #E5EDF3;
}
section:nth-child(4){
  background-color: #E5EDF3;
}
section:nth-child(6){
  background-color: #84A2B2;
  padding: 0 0 50px 0;
}
h1{
  color: #001A6F;
  font-size: .345rem;
  background: white;
  display: inline-block;
  padding-top: 6px;
  padding-left: 20px;
  letter-spacing: 2px;
  margin-bottom: .545em;
}
h2{
  color: #001A6F;
  font-size: .875em;
  letter-spacing: .145rem;
  transform: skewX(-20deg);
}
p{
  font-size: .875rem;
  line-height: 1.8em;
  letter-spacing: .075em;
}
a{
  color: inherit;
  text-decoration: none;
}
@media screen and (min-width: 768px){
  p{
    font-size: 1em;
  }
  h2{
    font-size: 2.188em;
  }
  h1{
    font-size: 2.875em;
  }
  .title p{
    width: 550px;
  }
  iframe{
    width: 500;
    height: 350px;
  }
  .lp_top_txt br{
    display: none;
  }
  div.title{
    max-width: 800px;
    justify-content: space-between;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-bottom: 3em;
  }
}
@media screen and (max-width: 767px){
  h1{
    font-size: 2.575em;
    padding-right: 8px;
    line-height: 1.245em;
    padding-left: 15px;
    padding-bottom: 3px;
  }
  h2{
    font-size: 2.357em;
  }
  p{
    font-size: 1em;
  }
  .title p{
    width: 96%;
  }
  iframe{
    width: 80%;
    height: 300px;
  }
  div.title{
    justify-content: space-between;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 2em;
  }
}



/*header*/
header{
  width: 100%;
  background-color: white;
  margin: 0 auto;
  position: fixed;
  z-index: 99;
}
.header{
  max-width: 1230px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  margin: 0 auto;
}
.hd_logo{
  width: auto;
}
.hd_logo img{
  display: block;
}
.hd_top{
  padding-top: 10px;
}
.hd_top ul li{
  text-align: right;
}
.hd_top li a span{ 
  font-size: .875rem;
  font-weight: bold;
  text-decoration: none;
  transition: .25s;
}
.hd_top li span{
  font-size: .625rem;
}
.rh_text{
  padding-left: 2em;
}
.right{
  display: flex;
  align-items: center;
}
.hd_link{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 17px;
  width: 70%;
}
.hd_right{
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1em;
}
.hd_text ul{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}
.hd_text li{
  font-size: .875rem;
}
@media screen and (min-width: 768px){
  .header{
    justify-content: space-between;
    padding-right: 1em;
  }
  .hd_top li a span{
    font-size: 1.8em;
  }
  .rh_text{
    padding-left: 4em;
  }
  .hd_text ul{
    gap: 30px;
  }
  .header img{
    width: 280px;
  }
  button{
    display: none;
  }
  nav{
    display: none;
  }
  .rh_text br{
    display: none;
  }
  .sp{
    display: none;
  }
}
@media screen and (max-width: 767px){
  .header{
    justify-content: space-between;
    padding-top: 5px;
    padding-right: 10px;
    padding-bottom: 10px;
  }
  .hd_top li a span{
    font-size: 1.345em;
  }
    .hd_top li span{
    font-size: .845em;
  }
  .header .right{
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 5px;
  }
  .header .right svg{
    height: 1em;
  }
  .header img{
    width: 100%;
  }
  .hd_logo{
    width: calc(35% - 5px);
    padding-left: 5px;
  }
  .hd_text{
    display: none;
  }
  button{
    position: relative;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 10%;
    padding: 0;
    background-color: #fff;
    border-width: 0;
  }
  button span{
    position: absolute;
    display: block;
    width: 30px;
    height: 3px;
    content: "";
    background-color: #000;
    transition: .25s;
  }
  button::before{
    bottom: 10px;
    position: absolute;
    display: block;
    width: 30px;
    height: 3px;
    content: "";
    background-color: #000;
    transition: .25s;
  }
  button::after{
    top: 10px;
    position: absolute;
    display: block;
    width: 30px;
    height: 3px;
    content: "";
    background-color: #000;
    transition: .25s;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(11, 18, 37, 0.877);
    transform: translateY(-100%);
    transition: transform 0.25s ease-in-out;
    z-index: 99;
    visibility: hidden;
    text-align: center;
    font-size: 1.188em;
    font-weight: bold;
    color: white;
  }
  nav li{
    padding: 20px;
  }
  
  /* メニューが開いた状態 */
  nav.open {
    transform: translateY(0);
    visibility: visible;
  }
  
  /* ハンバーガーボタンのアクティブ状態 */
  button.active span {
    transform: rotate(45deg) translateY(-7px);
  }
  button.active::before {
    transform: rotate(-45deg) translateY(9px);
  }
  button.active::after {
    opacity: 0;
  }

  .pc{
    display: none;
  }
  .hd_top ul li{
    text-align: end;
  }
  .rh_text{
    padding-left: 4em;
  }
}








/*top*/
.top_Wrapper{
    width: 100%;
    min-height: 180px;
    z-index: 1;
    position: relative;
}
.lp_top{
    position: relative;
    display: flex;
    height: 100%;
}
.lp_top img{
    width: 100%;
    position: absolute;
    /*transform: translate(0%, -25%);*/
}
.lp_top::after{
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    content: "";
    background: rgba(24, 32, 45, 0.489);
}
.lp_top_txt{
    position: absolute;
    color: white;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 1230px;
    height: 100%;
    z-index: 1;
}
.lp_top_txt span{
  font-size: 1rem;
  font-weight: bold;
  display: block;
  letter-spacing: 2px;
}
@media screen and (min-width: 768px){
    .top_Wrapper{
        height: 493px;
        overflow: hidden;
    }
    .lp_top_txt{
        position: relative;
        margin: -280px auto 0;
    }
    .lp_top_txt span{
      font-size: 1.475em;
    }
    .lp_top_txt span br{
      display: none;
    }
}
@media screen and (min-width: 1400px){
    h1{
        left: -100px;
    }
}
@media screen and (max-width: 767px){
  .top_Wrapper{
    height: 386px;
    overflow: hidden;
    }
    .lp_top_txt{
      position: relative;
      margin: -235px auto 0;
  }
  .lp_top_txt span{
    font-size: 1.475em;
    padding-left: 10px;
    line-height: 1.288em;
  }
  .lp_top img{
    /*transform: translate(-25%, 20%);*/
    width: auto;
    height: 100%;
}
}






/*サービス*/
.service{
  max-width: 1000px;
  margin: 0 auto;
}
ul .service{
  display: flex;
  flex-direction: wrap;
  margin: 0 auto;
}
.service li{
  text-align: center;
  height: 16em;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
  width: 100%;
}
.service li p{
  text-align: left;
}
.service li:nth-child(1){
  background-image: url(img/scratch.png);
  background-repeat: no-repeat;
  background-size: cover;
}
.service li:nth-child(2){
  background-image: url(img/inspection.png);
  background-repeat: no-repeat;
  background-size: cover;
}
@media screen and (min-width: 768px){
  .service{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: calc(94% - 10px);
  }
}
@media screen and (max-width: 767px){
  .service{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
  }
  .service li{
    padding: 0;
  }
}





/*キズ・へこみ*/
.scratch{
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 50px;
  max-width: 900px;
  margin: 0 auto;
}
.scratch li{
  display: flex;
}

@media screen and (min-width: 768px){
  .scratch li{
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
  }
  .scratch li p{
    width: 430px;
  }
  .scratch img{
    width: 380px;
  }
}
@media screen and (max-width: 767px){
  .scratch li{
    flex-direction: column;
    flex-wrap: nowrap;
  }
  .scratch img{
    width: 95%;
    margin: 0 auto;
    padding-bottom: 1em;
  }
  .scratch div h3{
    text-align: center;
  }
  .scratch div p{
    width: 95%;
    margin: 0 auto;
  }
}




/*車検・点検*/
section .inspection{
  padding: 50px 0;
}
@media screen and (min-width: 768px){
  section:nth-child(6)::before{
    content: "";
    background-image: url(img/Polygon\ 2.png);
    background-size: auto;
    background-position: 50% 0%;
    background-repeat: no-repeat;
    height: 140px;
    width: 100%;
    display: inline-block;
  }
}
@media screen and (max-width: 767px){
  section:nth-child(6)::before{
    content: "";
    background-image: url(img/Polygon\ 2.png);
    background-size: cover;
    background-position: 50% 0%;
    background-repeat: no-repeat;
    height: 30px;
    width: 100%;
    display: inline-block;
  }
}



/*問い合わせ*/
section:nth-child(5){
  padding: 71px 0;
}
.form_Wrapper{
  width: 100%;
  min-height: 180px;
  z-index: 1;
  position: relative;
}
.form_top{
  position: relative;
  display: flex;
  height: 100%;
  background: #02213e;
}
.form_top img{
  width: 100%;
  position: absolute;
  transform: translate(0%, -25%);
  opacity: 0.23;
}
.form_Wrapper .group{
  position: absolute;
  bottom: 3%;
  left: 77%;
  width: 100%;
}
.group img{
  width: 20%;
}
.form_top_txt{
  position: absolute;
  color: white;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 1230px;
  z-index: 1;
  text-align: center;
}
.form_top_txt h2{
  color: #F6E66B;
}
.form_top_txt h3{
  font-style: .285rem;
  letter-spacing: .145em;
}
h2.form{
  width: auto;
  transform: skewX(0);
}
.number{
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  gap: .9em;
  padding-top: 1.8em;
}
.number ul{
  background: #033059;
  padding: 20px 40px;
}
.number li a span{ 
  font-size: .875rem;
  font-weight: bold;
  text-decoration: none;
  transition: .25s;
}
.number li span{
  font-size: .625rem;
}
.nm_txt{
  display: flex;
  align-items: center;
  gap: .4em;
}

@media screen and (min-width: 768px){
  .form_Wrapper{
      height: 400px;
      overflow: hidden;
  }
  .form_top_txt{
      position: relative;
      margin: -315px auto 0;
  }
  .form_top_txt h3{
    font-size: 1.7em;
  }
  .form_top_txt img{
      top: auto;
      transform: none;
  }
  .number li a span{
    font-size: 3em;
  }
  .nm_text{
    line-height: 1.8em;
  }
}
@media screen and (min-width: 1400px){
  h1{
      left: -100px;
  }
}
@media screen and (max-width: 767px){
  .form_Wrapper{
      height: 450px;
      overflow: hidden;
  }
  .form_top_txt{
      position: relative;
      margin: -365px auto 0;
  }
  .form_top_txt h3{
    font-size: 1.288em;
  }
  .form_top_txt img{
      top: auto;
      transform: none;
  }
  .number li a span{
    font-size: 1.525em;
  }
  .form_top img{
    width: 220%;
    position: absolute;
    transform: translate(-10%, 0%);
    opacity: 0.23;
  }
  h2.form{
    padding: 0 20px;
  }
  .nm_text{
    padding: 0 20px;
    line-height: 1.488em;
  }
}






/*ご挨拶*/
section .greeting{
  max-width: 900px;
}


/*会社概要*/
section .overview{
  padding-bottom: 1px;
  max-width: 950px;
}
.about{
  display: flex;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
}
th{
  border-bottom: 2px solid #001A6F;
  color: #001A6F;
  text-align: left;
  padding: 20px 20px 20px 10px;
}
td{
  border-bottom: 1px solid #C6CDE3;
  padding: 20px 70px 20px 20px;
}
table {
  border-collapse: collapse;
}
@media screen and (min-width: 768px){
  .about{
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 27px;
  }
}
@media screen and (max-width: 767px){
  .about{
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    gap: 40px;
  }
}





/*footer*/
footer{
  background: #0A3054;
  color: white;
  padding: 30px 0;
}
.footer{
  display: flex;
  max-width: 900px;
  margin: 0 auto;
}
.right_top{
  padding-top: 10px;
}
.right_top p{
  padding: 0;
  margin: 0;
  text-align: right;
}
.right_top li a span{ 
  font-size: .875rem;
  font-weight: bold;
  text-decoration: none;
  transition: .25s;
}
.right_top li span{
  font-size: .625rem;
}
.right_text{
  padding-left: 2em;
}
.right_text ul{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 30px;
}
.right_text li{
  font-size: .875rem;
}
@media screen and (min-width: 768px){
  .footer{
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
  }
  .footer img{
    width: 200px;
  }
  footer p{
    font-size: .845em;
  }
  .right_top li a span{
    font-size: 1.9em;
  }
  .right_text{
    padding-left: 4em;
  }
}
@media screen and (max-width: 767px){
  .footer{
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    padding: 60px 0;
    gap: 2em;
  }
  footer p{
    font-size: 1.188em;
    text-align: center;
    margin: 0;
  } 
  div .left{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
  }
  div .left img{
    width: 280px;
    margin-bottom: 2em;
  }
  .center p{
    padding: 10px 0;
  }
  .right_top{
    padding-top: 2em;
  }
  .footer .right{
    justify-content: center;
    padding-bottom: 1em;
  }
  .right_top li span{
    font-size: .845em;
  }
  .right_text{
    padding-left: 0;
  }
  .right_top li a span{
    font-size: 1.945em;
  }
  .right_text{
    padding-left: 1.345em;
  }
  .footer .right svg{
    height: 2em;
    padding-right: 1em;
  }
  footer{
    padding: 0;
  }
}