@charset "utf-8";
/* CSS Document */


/*==============================
共通
==============================*/
#headWrap{
  background-image: url("../img/headBack.jpg");
  background-size: cover;
  background-position: center center;
  width: 100%;
  height: 400px;
}

.titleBox{
  text-align: center;
  margin-bottom: 50px;
}

.titleBox > h2{
  text-decoration: underline;
  text-decoration-thickness: 2px;
  margin-bottom: 20px;
  font-family: 'Sawarabi Mincho', serif;
  letter-spacing: 10px;
  font-weight: normal;
}

.titleBox > hr{
  width: 50px;
  height: 5px;
  border: none;
  background-color: #9ec6ce;
  margin: 0 auto;
}

@media screen and (max-width: 600px){
  #headWrap{
    height: 250px;
  }
}



/*==============================
contactWrap
==============================*/

span.hissu{
  font-weight: bold;
  color: #e41a1a;
}

#contactWrap{
  padding: 100px 20px;
}

.contactBox{
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  background-color: #f1f1f1;
  padding: 100px;
}

.contactBox > p{
  margin-bottom: 30px;
  text-align: center;
}

.contactBox > h3{
  margin-bottom: 10px;
  text-align: center;
}

.contactBox > hr{
  border: none;
  display: block;
  background-color: #84b9e1;
  width: 50px;
  height: 5px;
  margin: 0 auto 10px;
}

.contactBox > form input,
.contactBox > form select,
.contactBox > form textarea{
  width: 100%;
  padding: 15px;
  border: none;
  margin-bottom: 20px;
}

.contactBox > form > input[type=submit]{
  display: inline-block;
  padding: 20px 50px;
  background-color: #9ec6ce;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  letter-spacing: 2px;
}

.contactBox > form p{
  margin-bottom: 5px;
}

.nameBox{
  width: 100%;
  display: flex;
}

.nameBox > div{
  width: 40%;
  margin-right: 5%;
}

.adressBox > div{
  width: 100%;
  display: flex;
}

.adressBox > div > div{
  width: 30%;
  margin-right: 5%;
}

.renrakuBox{
  width: 100%;
  display: flex;
}

.renrakuBox > div:first-of-type{
  width: 25%;
  margin-right: 5%;
}

.renrakuBox > div:last-of-type{
  width: 60%;
}


@media screen and (max-width: 800px){
  
  .contactBox{
    max-width: 600px;
    padding: 30px 20px;
  }

  .contactBox > form input,
  .contactBox > form select,
  .contactBox > form textarea{
    width: 100%;
    padding: 10px;
    border: none;
    margin-bottom: 20px;
  }

  .nameBox{
    width: 100%;
    display: flex;
    justify-content: space-between;
  }

  .nameBox > div{
    width: 48%;
    margin-right: 1%;
  }

  .nameBox > div:last-of-type{
    margin-right: 0;
  }

  .adressBox > div{
    width: 100%;
    display: flex;
    justify-content: space-between;
  }

  .adressBox > div > div{
    width: 48%;
    margin-right: 1%;
  }

  .adressBox > div > div:last-of-type{
    margin-right: 0;
  }

  .renrakuBox{
    width: 100%;
    display: flex;
    justify-content: space-between;
  }

  .renrakuBox > div:first-of-type{
    width: 40%;
    margin-right: 5%;
  }

  .renrakuBox > div:last-of-type{
    width: 55%;
  }
}







