@charset "utf-8";

*{
    padding: 0;
    margin: 0;

}

.header{
    max-width: 100%;
    height: 110px;
    margin-left: auto;
    margin-right: auto;
    background-image: url(./img/sikakuheader.png);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header h1{
    padding-top: 25px;
    padding-left: 30px;
}

ul{
    list-style: none;
    display: flex;
}

li{
    color: #fff;
    padding: 30px ;
}

a{
    color: inherit;
    text-decoration: none;
}

body{
    font-family: sans-serif;
    line-height: 2;
}
nav ul a:hover{
    color: rgb(253, 255, 139);
    }
    

.footernav {
    max-width: 100%;
    height: 350px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 30px;
    padding-right: 30px;
    background-image: url(./img/sikaku2.png);
}
.footernav ul{
    justify-content: center;
    align-items: center;
}
.footernav p{
    color: #fff;
    font-weight: bold;
    display: block;
    text-align: center;
}

.footer{
    display: flex;
    justify-content: space-between;
}

.footer h2{
    padding-left: 40px;
}
 .footer ul{
     padding-right: 80px;
 }
 .footernav ul a:hover{
    color: rgb(253, 255, 139);
    }

 /* ここからメイン↓ */

 main{
    background-image: url(./img/toiawase-haikei.png);
    background-size: cover;
    padding-top: 50px;
    padding-bottom: 50px;
 }

 h1{
     font-size: 1.5rem;
     text-align: center;
 }
 
 h2{
      font-size: 1.5rem;
      color: #29357d;
      font-weight: lighter;
      padding-top: 20px;
      text-align: center;
  }
  p{
      text-align: center;
  }

.contact{
    background-color: #92afe8b0;
    border-radius: 69px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px;
}
form {
    background-color: #fff;
    border-radius: 15px;
    border: 1.5px solid #000;
    color: #29357d;
    margin-top: 25px;
    padding: 20px 70px;
    width: 70%;
    max-width: 1100px;
    margin: 0 auto;
  }
  .message{
    background-color: #92afe8b0;
    border-radius: 15px;
    border: none;
    width: 100%;
    height: 200px;
    padding: 10px;
    line-height: 1.5;
}
  .form-area dt {
    /* width: 200px; */
    padding: 15px 0;
    font-size: 1.1rem;
    line-height: 24px;
  }
  .form-area dt .required::before {
    content: '必須';
    font-size: 0.8rem;
    color: #fff;
    background-color: #eb4f32;
    border-radius: 5px;
    margin-left: 10px;
    padding: 2px;
  }

  .contact p{
      color: #29357d;
      padding-bottom: 40px;
  }
  .input-text {
    width: 100%;
    max-width: 100%;
    height: 40px;
    padding-left: 10px;
    padding-right: 10px;
    background-color: #92afe8b0;
    border: none;
    border-radius: 15px;
  }

  .submit-button{
      background-color: #92afe8b0;
      text-align: center;
      border: none;
      border-radius: 15px;
      line-height: 35px;
      width: 130px;




  }
  