.goofont{
  font-family: 'M PLUS 1p', sans-serif;
}
/*ハンバーガーメニュー*/
.nav-box{
  display: flex;
  align-items: center;
}

.logo-img{
  width: 25%;
  min-width: 180px;
  margin-bottom: 0;
}

.logo-img img{
  width: 100%;
}

.nav-first{
  width: 100%;
  background-color: #fff;
}

.nav-ul{
  justify-content: right;
  list-style: none;
  gap: 38px;
  margin-bottom: 0;
  align-items: center;
}

.nav-li{
  font-size: 16px;
  margin-bottom: 15px;
  font-family: 'M PLUS 1p', sans-serif;
}

.nav-li a{
  color: #FD6E26;
  text-align: center;
  display: block;
  font-weight: bold;
}

.nav-li a:hover{
  text-decoration: none;
  color: #D82802;
}

/*ハンバーガーボタン*/
.openbtn1{
  position: relative;/*ボタン内側の基点となるためrelativeを指定*/
  background:#FD6E26;
  cursor: pointer;
  width: 50px;
  height:50px;
  border-radius: 5px;
}

/*ボタン内側*/
.openbtn1 span{
  display: inline-block;
  transition: all .4s;/*アニメーションの設定*/
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
  background: #fff;
  width: 45%;
  }

.openbtn1 span:nth-of-type(1) {
  top:15px; 
}

.openbtn1 span:nth-of-type(2) {
  top:23px;
}

.openbtn1 span:nth-of-type(3) {
  top:31px;
}

/*activeクラスが付与されると線が回転して×に*/

.openbtn1.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}

.openbtn1.active span:nth-of-type(2) {
  opacity: 0;/*真ん中の線は透過*/
}

.openbtn1.active span:nth-of-type(3){
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}


/*header終わり*/

/*main*/
main{
  background-color: #fff2eb;
  padding-bottom: 30px;
  margin-top: 90px;
}

@media screen and (max-width: 991px){
  main{
    background-color: #fff;
    padding-bottom: 0px;
    margin-top: 90px;
  }
}

.topbuy img{
  width: 100%;
}

.topbuy{
  width: 100%;
}

.topbuy{
  width: 100%;
}

.ather{
  width: 60%;
  margin: 0 auto;
  margin-bottom: 30px;
}

.title{
  font-size: 40px;
  font-weight: bold;
  text-align: center;
  color: #D82802;
  margin-top: 40px;
  margin-bottom: 40px;
  font-family: 'M PLUS 1p', sans-serif;
}

.imgbox{
  display: flex;
}

.shuri{
  width: 25%;
  padding: 5px;
}

.shuri img{
  width: 100%;
}

.shuri div{
  font-size: min(1.7vw, 20px);
  font-weight: bold;
  color: #FD6E26;
  text-align: center;
  margin-top: 5px;
}

.tire{
  width: 25%;
  padding: 5px;
}

.tire img{
  width: 100%;
}

.tire div{
  font-size: 20px;
  font-weight: bold;
  color: #FD6E26;
  text-align: center;
  margin-top: 5px;
}

.rentacer{
  width: 25%;
  padding: 5px;
}

.rentacer img{
  width: 100%;
}

.rentacer div{
  font-size: 20px;
  font-weight: bold;
  color: #FD6E26;
  text-align: center;
  margin-top: 5px;
}

.recker{
  width: 25%;
  padding: 5px;
}

.recker img{
  width: 100%;
}

.recker div{
  font-size: 20px;
  font-weight: bold;
  color: #FD6E26;
  text-align: center;
  margin-top: 5px;
}

.kotira{
  font-size: 18px;
  text-align: center;
  margin-top: 20px;
}

@media screen and (max-width: 991px){
  .ather{
    width: 85%;
    margin: 0 auto;
    margin-bottom: 50px;
  }
  
  .title{
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    color: #D82802;
    margin-top: 40px;
    margin-bottom: 20px;
    font-family: 'M PLUS 1p', sans-serif;
  }
  
  .imgbox{
    display: flex;
  }
  
  .shuri{
    width: 50%;
    padding: 5px;
  }
  
  .shuri img{
    width: 100%;
  }
  
  .shuri div{
    font-size: min(4.7vw, 20px);
    font-weight: bold;
    color: #FD6E26;
    text-align: center;
    margin-top: 5px;
  }
  
  .tire{
    width: 50%;
    padding: 5px;
  }
  
  .tire img{
    width: 100%;
  }
  
  .tire div{
    font-size: 20px;
    font-weight: bold;
    color: #FD6E26;
    text-align: center;
    margin-top: 5px;
  }
  
  .rentacer{
    width: 50%;
    padding: 5px;
  }
  
  .rentacer img{
    width: 100%;
  }
  
  .rentacer div{
    font-size: 20px;
    font-weight: bold;
    color: #FD6E26;
    text-align: center;
    margin-top: 5px;
  }
  
  .recker{
    width: 50%;
    padding: 5px;
  }
  
  .recker img{
    width: 100%;
  }
  
  .recker div{
    font-size: 20px;
    font-weight: bold;
    color: #FD6E26;
    text-align: center;
    margin-top: 5px;
  }
  
  .kotira{
    font-size: 12px;
    text-align: center;
    margin-top: 10px;
  }
}

/*お問い合わせフォーム*/
.confirm-div{
  width: 60%;
  margin: 0 auto;
  margin-top: 40px;
  margin-bottom: 50px;
  background-color: #fb8246;
  padding: 20px;
  border-radius: 10px;
}

.main_p{
  text-align: center;
  color: #fff;
  font-weight: bold;
  font-size: 45px;
}

table{
  margin: auto;
}

.name{
  font-size:max(1.5vw, 16px);
  color: rgb(255, 255, 255);
  padding-bottom: 30px;
}

.tel-th{
  display: flex;
}

.tel-div{
  font-size:max(1.5vw, 16px);
  color: rgb(255, 255, 255);
}

.any{
  font-size:max(1.2vw, 13px);
  color: rgb(255, 255, 255);
  background-color: #059207;
  margin-left: 8px;
  padding: 2px;
  border-radius : 7%;
}

.mail{
  display: flex;
  font-size:max(1.5vw, 16px);
  color: rgb(255, 255, 255);
}

.con{
  display: flex;
  font-size:max(1.5vw, 15px);
  color: rgb(255, 255, 255);
}

.con-s{
  display: flex;
  font-size:max(1.5vw, 15px);
  color: rgb(255, 255, 255);
}

td{
  width: 75%;
  padding-left: 10px;
  padding-bottom: 30px;
}

.ft_white{
  padding: 10px;
  font-size: 23px;
  font-weight: bold;
  color: rgb(25, 75, 133);
}

.input_div{
  text-align: center;
  margin-top: 10px;
  margin-bottom: 10px;
}

.confirm_input{
  border: 2px solid rgb(255, 255, 255);
  background-color: #f89665;
  color: rgb(255, 255, 255);
  font-weight: bold;
  font-size: 18px;
  padding:8px 60px;
  display: inline-block;
  text-decoration: none; 
  outline: none;
  /*アニメーションの指定*/
  transition: all .3s;
}

.confirm_input:hover {
  box-shadow: 0 7px 10px rgba(0, 0, 0, 0.3);
  border-color: transparent;
}

.comp{
  text-align: center;
  color: #fff;
  font-weight: bold;
  font-size: 26px;
}

@media screen and (max-width: 991px){
  .confirm-div{
    width: 85%;
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 30px;
    background-color: #fb8246;
    padding: 5px;
    border-radius: 10px;
  }

  .main_p{
    text-align: center;
    color: #fff;
    font-weight: bold;
    font-size: max(5.5vw, 24px);
  }

  table{
    margin: auto;
  }

  .name{
    font-size:max(2vw, 15px);
    color: rgb(255, 255, 255);
    padding-bottom: 30px;
  }

  .tel-th{
    display: block;
  }

  .tel-div{
    font-size:max(2vw, 15px);
    color: rgb(255, 255, 255);
  }

  .any{
    font-size:max(1.2vw, 12px);
    color: rgb(255, 255, 255);
    background-color: #059207;
    margin-left: 0px;
    border-radius : 7%;
    display: inline-block;
  }

  .mail{
    display: block;
    font-size:max(1.6vw, 14px);
    color: rgb(255, 255, 255);
  }

  .con{
    display: block;
    font-size:max(1.6vw, 14px);
    color: rgb(255, 255, 255);
  }

  .con-s{
    display: block;
    font-size:max(1.6vw, 14px);
    color: rgb(255, 255, 255);
  }

  td{
    width: 75%;
    padding-left: 10px;
    padding-bottom: 30px;
    padding-right: 5px;
  }
  
  .ft_white{
    padding: 10px;
    font-size: 23px;
    font-weight: bold;
    color: rgb(25, 75, 133);
  }
  
  .input_div{
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
  }
}

/*お問い合わせ*/
.contact-container{
  width: 45%;
  margin: 0 auto;
  margin-top: 60px;
  padding-bottom: 60px;
}

.contact-p{
  font-size: min(2vw, 36px);
  font-weight: bold;
  color: #059207;
  text-align: center;
  margin-bottom: 20px;
}

.tell-box{
  width: 100%;
}

.tell-box img{
  width: 100%;
}


@media screen and (max-width: 991px){
  .contact-container{
    width: 85%;
    margin: 0 auto;
    margin-top: 60px;
    padding-bottom: 60px;
  }
  
  .contact-p{
    font-size:max(2.3vw, 15px);
    font-weight: bold;
    color: #059207;
    text-align: center;
    margin-bottom: 20px;
  }

  .tell-box{
    width: 100%;
  }
  
  .tell-box img{
    width: 100%;
  }
}

/*フッター*/
footer{
  border-top: solid 1px silver;
}

footer ul{
  list-style: none;
  display: flex;
  justify-content: center;
  font-size: 12px;
}

footer a{
  color: #f9621f;
}

.footer-container{
  width: 70%;
  margin: 0 auto;
  margin-top: 30px;
}

.footer-box{
  display: flex;
}

.footer-subbox{
  width: 50%;
  margin: 0 auto;
  text-align: center;
  padding: 5%;
}

.footer-imgbox{
  margin-bottom: 20px;
}

.footer-imgbox img{
  width: 100%;
}

.footer-address{
  margin-bottom: 10px;
  font-size: 18px;
}

.footer-address p{
  margin-bottom: 0px;
}

.footer-permission p{
  font-size: 12px;
  margin-bottom: 0;
}

.autoimg{
  padding: 20 20 20 20;
}

.autoimg img{
  width: 60%;
}

.footer-mapbox{
  width: 50%;
  padding: 10px;
}

.footer-mapbox iframe{
  width: 100%;
}

@media screen and (max-width: 991px){
  footer{
    border-top: solid 1px silver;
  }
  
  footer ul{
    list-style: none;
    display: flex;
    justify-content: center;
    font-size: 8px;
    padding-left: 0;
  }
  
  footer a{
    color: #f9621f;
  }

  .footer-container{
    width: 85%;
    margin: 0 auto;
    margin-top: 30px;
  }
  
  .footer-box{
    display: block;
  }
  
  .footer-subbox{
    width: 90%;
    margin: 0 auto;
    text-align: center;
    padding: 5%;
  }
  
  .footer-imgbox{
    margin-bottom: 10px;
  }
  
  .footer-imgbox img{
    width: 100%;
  }
  
  .footer-address{
    margin-bottom: 10px;
    font-size: 15px;
  }
  
  .footer-address p{
    margin-bottom: 0px;
  }
  
  .footer-permission p{
    font-size: 10px;
    margin-bottom: 0;
  }
  
  .autoimg{
    padding: 10 20 20 20;
  }
  
  .autoimg img{
    width: 100%;
  }
  
  .footer-mapbox{
    width: 100%;
    padding: 10px;
  }
  
  .footer-mapbox iframe{
    width: 100%;
  }
}

.copyright{
  font-size: 8px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: silver 1px solid;
  text-align: center;
}