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



/*==============================
共通
==============================*/

#headWrap{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 500px;
  border: 100px solid #fff;
  border-top: none;
  background-image: url("../img/headWrap.jpg");
  background-position: center center;
  background-size: cover;
}

#headWrap .titleBox{
  margin-bottom: 0;
}

#headWrap .titleBox h2,
#headWrap .titleBox h3{
  color: #fff;
}

.titleBox{
  display: inline-block;
  margin: 0 auto;
  margin-bottom: 50px;
  text-align: center;
  position: relative;
}

.titleBox h2{
  font-size: 40px;
  letter-spacing: 0;
  margin-bottom: 20px;
}

.titleBox hr{
  border: none;
  margin: 0 auto;
  width: 50px;
  height: 5px;
  background-color: #84b9e1;
  margin-bottom: 20px;
}
.titleBox h3{
  font-size: 22px;
  letter-spacing: 2px;
  font-weight: 500;
  margin-bottom: 0;
}

.titleBox > img{
  position: absolute;
}

.titleBox > img:nth-of-type(1){
  width: 80px;
  top: -10px;
  left: -100px;
}

.titleBox > img:nth-of-type(2){
  width: 60px;
  top: -10px;
  right: -80px;
}

@media screen and (max-width: 1000px){
  
  #headWrap{
    border: none;
    height: 300px;
  }
}

@media screen and (max-width: 600px){
  
  #headWrap{
    background-image: url("../img/headWrapsp.jpg");
  }
}

@media screen and (max-width: 600px){
  
  .titleBox{
    margin-bottom: 30px;
  }
  
  .titleBox h2{
    font-size: 26px;
    line-height: 26px;
    letter-spacing: 2px;
    margin-bottom: 10px;
  }
  
  .titleBox hr{
    margin-bottom: 10px;
  }
  
  .titleBox h3{
    font-size: 16px;
    line-height: 16px;
  }

  .titleBox > img:nth-of-type(1){
    width: 45px;
    top: -10px;
    left: -65px;
  }

  .titleBox > img:nth-of-type(2){
    width: 35px;
    top: -10px;
    right: -65px;
  }
}

/*==============================
メイン
==============================*/
#contactWrap{
  width: 100%;
  text-align: center;
  padding: 100px 20px 100px;
}

#contactWrap > p{
  margin-bottom: 50px;
}

.faqBox{
  display: block;
  max-width: 600px;
  margin: 0 auto 50px;
  border: 2px solid #ccc;
  border-radius: 20px;
  padding: 30px 20px;
}

.faqBox > p{
  margin-bottom: 20px;
}

.telBox{
  width: 100%;
  max-width: 800px;
  margin: 0 auto 50px;
  padding: 50px;
  background-color: #f1f1f1;
  border-radius: 20px;
}

.telBox h4{
  font-size: 20px;
  letter-spacing: 2px;
  margin-bottom: 20px;
  font-weight: 500;
}

.telBox p{
  margin-bottom: 20px;
}

.telBox p:last-of-type{
  margin-bottom: 0;
}

.telBox hr{
  border: none;
  margin: 0 auto;
  width: 50px;
  height: 5px;
  background-color: #84b9e1;
  margin-bottom: 20px;
}

.telBox > a{  
  display: inline-block;
  font-size: 40px;
  line-height: 40px;
  letter-spacing: 0;
}

.formBox{
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto 50px;
  padding: 50px;
  background-color: #f1f1f1;
  border-radius: 20px;
}

.formBox h4{
  font-size: 20px;
  letter-spacing: 2px;
  margin-bottom: 20px;
  font-weight: 500;
}

.formBox > p{
  margin-bottom: 20px;
}

.formBox hr{
  border: none;
  margin: 0 auto;
  width: 50px;
  height: 5px;
  background-color: #84b9e1;
  margin-bottom: 20px;
}

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

.formBox form p{
  width: 100%;
  max-width: 600px;
  text-align: left;
  margin: 0 auto;
  font-weight: bold;
}

.formBox input[type="text"],
.formBox textarea{
  padding: 10px;
  border: none;
  width: 100%;
  max-width: 600px;
  margin: 0 auto 10px;
  border-radius: 10px;
}

.formBox input[type="submit"]{
  display: block;
  margin: 0 auto 10px;
  border: none;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  padding: 10px 50px;
  cursor: pointer;
  background-color: #b6b2a6;
  border-radius: 10px;
}

.junbi{
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  background-color: rgba(255,255,255,.8);
  width: 100%;
  height: 100%;
  padding: 100px 20px;
  text-align: center;
}

.junbi p{
  color: #e41a1a;
}

.blinking{
	-webkit-animation:blink 1.5s ease-in-out infinite alternate;
    -moz-animation:blink 1.5s ease-in-out infinite alternate;
    animation:blink 1.5s ease-in-out infinite alternate;
}
@-webkit-keyframes blink{
    0% {opacity:0;}
    100% {opacity:1;}
}
@-moz-keyframes blink{
    0% {opacity:0;}
    100% {opacity:1;}
}
@keyframes blink{
    0% {opacity:0;}
    100% {opacity:1;}
}

/*==============================
レスポンシブ
==============================*/

@media screen and (max-width: 1600px) {
}
@media screen and (max-width: 1400px) {
}

@media screen and (max-width: 1300px) {
}

@media screen and (max-width: 1200px) {
}

@media screen and (max-width: 1000px) {
}

@media screen and (max-width: 800px) {
}

@media screen and (max-width: 600px){
  #contactWrap{
    padding: 60px 10px;
  }
  
  #contactWrap > p{
    display: none;
  }
  
  .faqBox{
    padding: 20px 10px;
    margin-bottom: 30px;
  }
  
  .faqBox > p{
    margin-bottom: 10px;
  }
  
  .telBox{
    padding: 0;
    margin-bottom: 30px;
    background-color: transparent;
  }
  
  .telBox h4,.formBox h4{
    font-size: 18px;
    margin-bottom: 10px;
  }
  
  .formBox{
    padding: 30px 20px;
  }
  
  .telBox hr,.formBox hr{
    margin-bottom: 10px;
  }
  
  .telBox > a{
    font-size: 30px;
    line-height: normal;
  }
}

@media screen and (max-width: 414px){
}