/*全体*/
/*ヘッダー*/
header{
  max-width: 100%; 
  position:fixed;
  z-index: 9999;
  top:0;
  left: 0;
  right: 0;
  height: 95px;
  background-color: white;
  border: solid 0.3px gray;
}

nav{
  display: flex;
  justify-content: space-between;
  padding-left: 30px;
  padding-right: 30px;
}

.rogo img{
  width: 250px;
  height: 65px;
  padding-top: 20px;
}

ul{
  display: flex;
}

.menu{
  flex-direction: column;
  text-align: center;
  padding-left: 20px;
}

.menu img{
  width: 35px;
  height: 35px;
}

li{
  list-style: none;
}

header a{
  color: black;
  text-decoration: none;
  transition-property: opacity;
  transition-duration: 0.5s;
}

.menu:hover {
  opacity: 0.7;
}

.headercontact{
  display: block;
}

.headercontact a{
  color: #029dab;
  font-weight: bold;
  font-style: normal;
  font-size: 24px;
}

.headera{
  display: flex;
}

.headera img{
  width: 35px;
  height: 35px;
}

.headera:hover {
  opacity: 0.7;
}

/*メイン*/

/*ヒーローエリア*/
.hero{
  position: relative;
}

.hero h1{
  position: absolute;
  color: white;
  top: 130px;
  right: 30px;
  font-size: 60px;
  text-align: right;
  font-family: "Zen Old Mincho", serif;
  font-weight: 400;
  font-style: normal;
}

.hero h2{
  position: absolute;
  color: white;
  top: 380px;
  right: 30px;
  font-size: 30px;
  text-align: right;
  font-family: "Zen Old Mincho", serif;
  font-weight: 400;
  font-style: normal;
}

.herobutton{
  position: absolute;
  background: #f0d23c;
  width: 20rem;
  padding: 1rem;
  border-radius: .6rem;
  right: 18px;
  top: 550px;
  color: #FFF;
  text-align: center;
  text-decoration: none;
  letter-spacing: .1rem;
  box-shadow: 0px 10px 0px 0px  #f9be00;
  transition: .1s;
}

.herobuttona a{
 text-decoration: none;
}

.hero img{
  width: 100%;
}

.herobutton a{
  color: white;
  font-family: "Zen Old Mincho", serif;
  font-weight: 400;
  font-weight: bold;
}

/*About us*/
.us{
  display: flex;
  justify-content: center;
  margin-top: 100px;
  margin-bottom: 100px;
}

.us img{
  border-radius: 5%;
  margin: 10px 30px;
  width: 40%;
}

.usright{
  display: block;
  align-items: center;
  justify-content: center;
  width: 40%;
}

.usright h1{
  text-align: center;
  color: #029dab;
}

.usright h2{
  text-align: center;
  font-family: "Zen Old Mincho", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 36px; 
}

.checklist{
  display: flex;
  align-items: center;
  border-bottom: 0.5px solid #000;
  padding-left: 70px;
}

.checklist img{
  width: 40px;
  height: 40px;
}

.checklistt{
  display: flex;
  align-items: center;
  padding-left: 70px;
}

.checklistt img{
  width: 40px;
  height: 40px;
}

.aboutuscontact{
  display: block;
  padding: 15px;
  margin-left: 25px;
  margin-top: 20px;
  background: #f0d23c;
  box-shadow: 0px 10px 0px 0px  #f9be00;
  border-radius: 20%;
  align-items: center;
  justify-content: center;
}

.aboutuscontact p{
  font-family: "Kaisei Decol", serif;
  font-weight: 400;
  font-style: normal;
}

.aboutusa{
  display: flex;
}

.aboutusa a{
  text-decoration: none;
  color: #029dab;
  font-weight: bold;
  font-style: normal;
  font-size: 40px;
  justify-content: center;
  text-align: center;
}

.aboutusa img{
  width: 48px;
  height: 48px;
}

/*塗装について*/
#tosou h1{
  text-align: center;
  font-weight: bold;
  font-style: normal;
  font-size: 40px; 
  color: #029dab;
  font-family: "Kaisei Opti", serif;
}

.nayami{
  display: flex;
  align-items: center;
  justify-content: center;
}

.nayamilist{
  display: block;
  align-items: center;
  justify-content: center;
  border: 4px dotted #f0d23c;
  border-style: double;
  margin: 5px 30px 5px 30px;
  background-color: white;
}

.nayamilist img{
  width: 200px;
}

.nayamilist p{
  text-align: center;
  font-family: "Kaisei Opti", serif;
  font-weight: bold;
  font-style: normal;
  font-size: 20px;
}

#tosou img{
  max-width: 100%;
}

.tosou{
  background-color: #fff3b8;
  padding-top: 50px;
  padding-bottom: 50px;
}

#tosou{
  padding-top: 70px;
  padding-bottom: 70px;
}

/*選ばれる理由*/
#riyu h2{
  text-align: center;
  font-size: 30px;  
  font-family: "Kaisei Opti", serif;
  color: #029dab;
}

#riyu h1{
  text-align: center;
  font-size: 48px;  
  font-family: "Kaisei Opti", serif;
  color: #029dab;
}

#riyu h3{
  text-align: center;
  font-size: 48px;  
  font-family: "Kaisei Opti", serif;
  color: #029dab;
  padding-top: 40px;
}

#riyu h4{
  text-align: center;
  font-size: 36px;  
  font-family: "Kaisei Opti", serif;
}

#riyu p{
  text-align: center;
  font-size: 18px;  
}

.riyuright,.riyuleft{
  display: flex;
  margin-bottom: 80px;
}

.riyuright{
  justify-content: right;
}
.riyulefth{
  background-color: #fff3b8;
  width: 40%;
}

span{
  background: linear-gradient(transparent 70%, #FED900 70%);
}

/*施工メニュー*/
#mitsumori h2{
  text-align: center;
  font-size: 36px;
  padding: 40px 0;
  background-color: #00a497;
  font-weight: bold;
  font-style: normal;
  color: white;
  font-family: "Kaisei Opti", serif;
}

#mitsumori h4{
  background-color: #00a497;
  text-align: center;
  padding: 5px 0;
  tab-size: 24px;
  color: white;
  font-family: "Kaisei Opti", serif;
}

.mitsumori{
  display: flex;
  justify-content: center;
}

.mitsumolist{
  display: block; 
  max-width: 30%;
  margin: 10px 20px 10px 20px;
  background-color: #fff3b8;
  border-radius: 10%;
  padding-bottom: 20px;
}

.mitsumolist h3{
  text-align: center;
  color: #00a497;
  font-size: 36px;
  font-family: "Kaisei Opti", serif;
}

.mitsumolist p{
  text-align: center;
  font-size: 18px;
}

.mitsumolist img{
  width: 380px; 
  border-radius: 10% 10% 0 0;
}

.mitsumoritel{
  display: flex;
  background: #f0d23c;
  box-shadow: 0px 10px 0px 0px  #f9be00;
  border-radius: 20%;
  align-items: center;
  justify-content: center;
  width: 300px;
  margin-left: 40px;
}

.mitsumoritel a{
  color: #00a497;
  font-family: "Kaisei Opti", serif;
  font-weight: bold;
}

.mitsumoritel img{
  width: 50px;
  height: 50px;
}
#mitsumori{
  margin-top: 100px;
}

/*よくあるご質問*/
#qa{
  margin-top: 100px;
}

#qa h2{
  text-align: center;
  font-size: 36px;
  padding: 40px 0;
  font-family: "Kaisei Opti", serif;
  color: #00a497;
}
.q,.a{
  display: flex;
  padding: 10px 40px;
}

.q{
  border-top: 0.5px solid #000;
}

.a{
  border-top: 0.5px dotted #000;
}

.q img,.a img{
  width: 40px;
  height: 40px;
  padding-top: 5px;
}

.alast{
  display: flex;
  border-bottom: 0.5px solid #000;
  border-top: 0.5px dotted #000;
  padding: 10px 40px;
}

.alast img{
  width: 40px;
  height: 40px;
}

/*お問い合わせ*/
#contact{
  background-color: #fff3b8;
  padding-bottom: 100px;
}
#contact h2{
  text-align: center;
  font-size: 30px;
  padding-top: 40px;
  font-family: "Kaisei Opti", serif;
  color: #00a497;
}

#contact h3{
  text-align: center;
  font-size: 30px;
  padding: 40px 0;
  font-family: "Kaisei Opti", serif;
}

.contact{
  display: flex;
  justify-content: space-around;
  }

.contactleft{
  width: 40%;
  background: #f0d23c;
  box-shadow: 0px 10px 0px 0px  #f9be00;
  padding-bottom: 20px;
  border-radius: 10%;
  justify-content: center;
  align-items: center;
}

.contactright{
  width: 40%;
  background: #f0d23c;
  box-shadow: 0px 10px 0px 0px  #f9be00;
  padding-bottom: 20px;
  border-radius: 10%;
  justify-content: center;
  align-items: center;
}

.contact h4{
  text-align: center;
  color: white;
  font-size: 24px;
}

.contactleft a{
  text-decoration: none;
  color: #00a497;
  font-size: 36px;
  font-weight: bold;
}


.contacttel{
  display: flex;
  justify-content: center;
  align-items: center;
}

.line{
  display: flex;
  justify-content: space-around;
}

.line img{
  width: 150px;
  height: 150px;
  justify-content: center;
  align-items: center;
}

.line a img{
  width: 130px;
  height: 55px;
  justify-content: center;
  padding-top: 40px;
}

/*フッター*/
footer{
  text-align: center;
  padding: 50px 0;
}

.backgroundimg {
  width: 100%;
  height: 400px;
  background-image: url("./images/fotter.png");
  }

/*TOPへ戻るボタン*/
.topbutton{
  position: fixed;
  bottom: 38px;
  right: 28px;
  background-color: white;
  color: gray;
  text-align: center;
  padding: 15px 10px;
  display: none;
  border: 1px solid gray;
}

a{
  text-decoration: none;
  transition-property: opacity;
  transition-duration: 0.5s;
}

a:hover {
  opacity: 0.5; 
}

/*無料相談を申し込むボタン*/
.button2{
  display: block;
}

.button2 a{
  font-family: "Zen Old Mincho", serif;
  font-weight: 400;
  font-style: normal;
}

.button{
  position: fixed;
  bottom: 125px;
  right: 28px;
  background-color: white;
  color: white;
  text-align: center;
  padding: 15px 10px;
  background: #f0d23c;
  box-shadow: 0px 10px 0px 0px  #f9be00;
  border-radius: 10%;
  text-align: center;
}

/*メディアエクリ*/
@media screen and (max-width: 768px) {
  /*ヘッダー*/
  nav {
    position: fixed;
    top: 24px;
    width: 100%;
    z-index: 10;
}
ul {
    /*最初はナビゲーションボタンは非表示*/
    display: none;
    list-style:none;
}
li a{
    padding: 8px;
    font-size: 16px;
    color: #464646;
    display: block;
    text-align: center;
    text-decoration: none;
}
.hamburger {
    position: absolute;
    top: 32px;
    right:32px;
    cursor: pointer;
    width: 32px;
    height: 24px;
    z-index: 10;
}
.hamburger span {
    /*3本の線を作る*/
    transition: all .3s;
    position: absolute;
    height: 2px;
    background-color: #333;
    width:100%;
    z-index: 10;
}
.hamburger span:nth-of-type(1) {
    /*上の線の位置*/
    top: 4px;
}
.hamburger span:nth-of-type(2) {
    /*真ん中の線の位置*/
    top: 12px;
}
.hamburger span:nth-of-type(3) {
    /*下の線の位置*/
    top: 20px;
}
.hamburger.open span:nth-of-type(1) {
    /*openのとき、上の線を右斜めにする*/
    top: 10px;
    transform: translateY(6px) rotate(-33deg);
}
.hamburger.open span:nth-of-type(2) {
    /*真ん中の線を消す*/
    opacity: 0;
}
.hamburger.open span:nth-of-type(3) {
    /*下の線を左斜めにする*/
    top: 22px;
    transform: translateY(-6px) rotate(33deg);
}

.menu img{
  display: none;
}

.headercontact{
  display: none;
}

.rogo img{
  padding: 0;
  align-items: center;
}

.menu{
  padding: 0;
  margin-right: 40px;
}

.menu a{
  font-size: 14px;
  white-space: nowrap;
}

.header-menu{
  background-color: white;
  padding-top: 20px;
}

  /*ヒーローエリア*/
  .hero img{
    max-width: 100%;
    margin-top: 100px;
  }

  .hero{
    position: relative;
  }

  .hero h1{
    position: absolute;
    top: 130px;
    right: 20px;
    font-size: 18px;
    text-align: right;
  }
  
  .hero h2{
    position: absolute;
    top: 200px;
    right: 30px;
    font-size: 8px;
    text-align: right;
  }
  
  .herobutton{
    position: absolute;
    width: 130px;
    height: 10px;
    border-radius: .6rem;
    right: 18px;
    top: 240px;
    text-decoration: none;  
    padding: 10px;
    box-shadow: 0px 5px 0px 0px #f9be00;
  }

  .herobutton a{
    font-size: 8px;
    white-space: nowrap;
    position: relative;
    top: -10px;
  }

    /*About us*/
    .us{
      display: block;
      justify-content: center;
      margin-top: 100px;
      margin-bottom: 100px;
    }
    
    .us img{
      border-radius: 5%;
      width: 80%;
    }
    
    .usright{
      display: block;
      align-items: center;
      justify-content: center;
      width: 80%;
    }
    
    .usright h1{
      text-align: center;
      color: #029dab;
      font-size: 24px;
    }
    
    .usright h2{
      text-align: center;
      font-family: "Zen Old Mincho", serif;
      font-weight: 400;
      font-style: normal;
      font-size: 24px; 
    }
    
    .checklist{
      display: flex;
      align-items: center;
      border-bottom: 0.5px solid #000;
      padding-left: 0;
    }
    
    .checklist img{
      width: 20px;
      height: 20px;
    }
    
    .checklistt{
      display: flex;
      align-items: center;
      padding-left: 0;
    }
    
    .checklistt img{
      width: 20px;
      height: 20px;
    }
    
    .aboutuscontact{
      display: block;
      background: #f0d23c;
      box-shadow: 0px 10px 0px 0px  #f9be00;
      border-radius: 20%;
      align-items: center;
      justify-content: center;
    }
    
    .aboutuscontact p{
      font-family: "Kaisei Decol", serif;
      font-weight: 400;
      font-style: normal;
    }
    
    .aboutusa{
      display: flex;
    }
    
    .aboutusa a{
      text-decoration: none;
      font-size: 18px;
      justify-content: center;
      text-align: center;
    }
    
    .aboutusa img{
      width: 28px;
      height: 28px;
    }

   /*塗装について*/
    #tosou h1{
        text-align: center;
        font-size: 24px; 
    }
    .nayami{
        display: block;
        align-items: center;
        justify-content: center;
    }

    .nayamilist{
      display: block;
      align-items: center;
      justify-content: center;
      margin-bottom: 15px;
    }

    .nayamilist img{
      max-width: 80%;
      align-items: center;
      justify-content: center;
      padding-left: 60px;
    }

    /*選ばれる理由*/
    #riyu h2{
      font-size: 20px;  
    }

    #riyu h1{
      font-size: 28px;  
    }

    #riyu h3{
      text-align: center;
      font-size: 28px;  
      padding-top: 40px;
    }

    #riyu h4{
      text-align: center;
      font-size: 24px;  
      font-family: "Kaisei Opti", serif;
    }

    #riyu p{
      text-align: center;
      font-size: 14px;  
    }

    .riyuleft{
      flex-direction: column;
    }

    .riyuright{
      flex-direction: column-reverse;
    }
    
    .riyulefth{
      width: 100%;
    }

    img{
      max-width: 100%;
    }

    /*施工メニュー*/
    #mitsumori h2{
      font-size: 24px;
      padding: 40px 0;
    }

    #mitsumori h4{
      padding: 5px 0;
      tab-size: 24px;
    }

    .mitsumori{
      display: block;
      justify-content: center;
    }

    .mitsumolist{
      display: block; 
      max-width: 100%;
      margin: 30px 20px;
      padding-bottom: 20px;
    }

    .mitsumolist h3{
      font-size: 28px;
    }

    .mitsumolist p{
      text-align: center;
      font-size: 14px;
    }

    .mitsumolist img{
      width: 380px; 
      border-radius: 10% 10% 0 0;
    }

    .mitsumoritel a{
      color: #00a497;
      font-family: "Kaisei Opti", serif;
      font-weight: bold;
    }

    .mitsumoritel img{
      width: 40px;
      height: 40px;
    }
    #mitsumori{
      margin-top: 100px;
    }
    /*よくあるご質問*/
    #qa{
      margin-top: 100px;
    }

    #qa h2{
      font-size: 28px;
      padding: 40px 0;
    }
    
    .q img,.a img{
      width: 40px;
      height: 40px;
    }

    .alast img{
      width: 40px;
      height: 40px;
    }

    /*お問い合わせ*/
    #contact h2{
      font-size: 24px;
    }

    #contact h3{
      font-size: 20px;
    }

    .contact{
      display: block;
      }

    .contactleft{
      width: 90%;
      padding-bottom: 20px;
      justify-content: center;
      align-items: center;
    }

    .contactright{
      width: 90%;
      padding-bottom: 20px;
      justify-content: center;
      align-items: center;
    }

    .contact h4{
      font-size: 20px;
    }

    .contactleft a{
      font-size: 24px;
      font-weight: bold;
    }

    .contactleft img{
      width: 40px;
      height: 40px;
    }

    .line img{
      width: 90px;
      height:  90px;
      justify-content: center;
      align-items: center;
    }

    .line a img{
      width: 100px;
      height: 55px;
      justify-content: center;
}
}