@charset "utf-8";

#contact .inner {
  max-width: 970px;
}

/* case */
main{
  background: url("../img/mainttl_img.jpg") no-repeat center center;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1920px;
  height: 240px;
  margin: 0 auto;
  text-align: center;
}
main h1{
  color: #FFF;
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  position: relative;
  text-shadow: #000 1px 0 10px;
}
main h1:before {
  position: absolute;
  bottom: -10px;
  left: calc(50% - 40px);
  width: 80px;
  height: 3px;
  content: '';
  background: #cf0027;
}
.contact_telarea{
  border: 1px solid #9fa0a0;
  padding: 20px;
  margin: 20px 0 60px;
}
.contact_telarea .note{
  border-top: 1px solid #9fa0a0;
  margin-top: 5px;
  padding-top: 10px;
}
.contact_telarea .telbottom{
  font-size: 22px;
}
.contact_telarea .telbottom strong{
  font-size: 32px;
}
.formhead{
  margin: 20px 0;
}
.formhead p a{
  color: #2885ed;
  text-decoration: underline;
}
.formhead p a:hover{
  text-decoration: none;
}
#contact span.required{
  color: #cf0027;
}
.please_area{
  border: 1px solid #9fa0a0;
  margin: 40px 0 20px;
}
.please_label{
  background: #3e3a39;
  color: #FFF;
  padding: 10px;
  text-align: center;
}
.please_area .please_text{
  padding: 15px;
}
.please_area .please_text p{
  font-size: 16px;
}
.sendbtn{
  margin-top: 40px;
  text-align: center;
}
.sendbtn input[type="submit"]{
  background: #2885ed;
  border: none;
  color: #FFF;
  display: inline-flex;
  font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
  font-size: 20px;
  align-items: center;
  justify-content: center;
  height: 80px;
  min-width: 370px;
  border-radius: 10px;
}
.contact_tel{
  margin-top: 60px;
}

@media screen and (max-width: 767px){
  main {
    height: 120px;
  }
  main h1 {
    font-size: 18px;
  }
  main.casedetail_main{
    display: none;
  }
  .contact_telarea{
    padding: 15px;
    margin: 20px 0 40px;
  }
  .contact_telarea .note{
    font-size: 14px;
    margin-top: 10px;
  }
  .contact_telarea .telbottom{
    font-size: 16px;
  }
  .contact_telarea .telbottom strong{
    font-size: 22px;
    display: block;
  }
  .formhead{
    margin: 20px 0;
  }
  .formhead p {
    font-size: 14px;
  }
  .please_area .please_text p {
    font-size: 14px;
  }
  .sendbtn input[type="submit"]{
    width: 80%;
    font-size: 14px;
    height: 50px;
    min-width: 100px;
  }
}