/* 共通　*/
body{
font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', /*'游ゴシック', */ Meiryo, sans-serif;
}

#contact main,
#thanks main {
  margin: 84px auto 2em;
  line-height: 1.8;
}

#contact section,
#thanks section {
  padding-bottom: 60px;
}
#contact section .ttl-area h2,
#thanks section .ttl-area h2 {
  padding: 0 15px;
}
#contact section .ttl-area,
#thanks section .ttl-area{
  padding-top: 72px;
  padding-bottom: 20px;
}
#contact .text,
#thanks .text {
  margin: 0 auto;
  max-width: 700px;
  text-align: center;
  width: 100%;
  padding: 0 15px;
}
#contact .text p,
#thanks .text p{
  font-size: 16px;
  font-weight: normal;
}

@media (max-width: 768px) {
  #contact,
  #thanks {
    min-width: 100%;
  }
}

/* お問合せフォーム */
#contact .section1 .text h3{
  background: linear-gradient(to bottom, rgba(255, 242, 38, 0) 60%, rgba(255, 242, 38, 1) 40%);
  display: inline-block;
  line-height: 1.5;
  margin-bottom: 1rem;
}
#form_area {
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
  background: #fff;
  padding: 0 15px;
}
#form_area form .form_group {
  margin-bottom: 1em;
}
#form_area form .form_legend,
#form_area form .form_label {
  font-weight: bold;
  font-size: 15px;
  margin-top: 1rem;
}
#form_area form .required{
  display: block;
  position: relative;
}
#form_area form .required::after{
  content: "*";
  margin-left: 0.5em;
  font-size: 1em;
  color: #dc3545;
}
#form_area form label{
  font-size: 15px;
  font-weight: normal;
}
#form_area form input[type="text"],
#form_area form input[type="email"],
#form_area form select {
  width: 100%;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  padding: 0.5rem;
  color: #495057;
  font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', /*'游ゴシック', */ Meiryo, sans-serif;
  font-size: 15px;
}
#form_area form input[type="checkbox"] {
  accent-color: #008ba5;
}
#form_area form input[type="checkbox"]:hover {
  background-color: transparent;
  accent-color: #008ba5;
}
#form_area form textarea {
  width: 100%;
  height: 90px;
  padding: 10px;
  border: solid 1px #ced4da;
  box-sizing: border-box;
  font-size: 16px;
  font-family: inherit;
  resize: vertical;
}
#contact a.link,
#thanks a.link {
  color: #EA7B12;
  text-decoration: none;
  font-weight: normal;
  font-size: 1rem;
}
#contact a.link:hover,
#thanks a.link:hover {
  color: #EA7B12;
  text-decoration: underline;
}
#form_area form .g-recaptcha {
  margin: 1em 0;
}
#form_area form button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  box-shadow: none;
}
#form_area form button:disabled:hover {
  background-color: #ccc;
}
#form_area form button {
  display: block;
  margin: 2em auto 0;
  width: 70%;
  max-width: 100%;
  text-align: center;
  text-decoration: none;
  transition: 0.1s all ease 0s;
  border: none;
  font-size: 16px;
  font-weight: bold;
  line-height: 52px;
  font-size: 20px;
  border-radius: 25px;
  color: #fff;
  box-shadow: rgba(0, 0, 0, 0.15) -4px 5px 5px 5px;
  background-color: #ee7800;
  cursor: pointer;
}
#form_area form button:hover {
  color: #fff;
  text-decoration: none;
  background-color: #006b7d;
}

/* 送信完了ページ */
#thanks .section2 .text {
  padding: 0;
}
#thanks .section2 .supplement_text{
  border: 1px dotted #008ba5;
  padding: 1.75rem 1rem 2rem;
  max-width: 700px;
  margin: 0 auto;
  border-radius: 10px;
}
#thanks .section2 .supplement_text h3{
  background: linear-gradient(to bottom, rgba(255, 242, 38, 0) 60%, rgba(255, 242, 38, 1) 40%);
  display: inline-block;
  line-height: 1.5;
  margin-bottom: 1rem;
}
#thanks .section2 .supplement_text strong{
  color: #008ba5;
  font-size: 1rem;
  font-weight: normal;
}
#thanks .section2 .supplement_text strong::before{
content: "\f071";
 font-family: "Font Awesome 5 Free";
  font-weight: 900;
  padding-right: 5px;
  color: #008ba5;
}
#thanks a.link {
  margin-top: 1em;
  text-align: center;
  display: inline-block;
}

