/* 共通　*/
body {
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", メイリオ,
    Meiryo, 游ゴシック, YuGothic, Verdana, sans-serif;
  font-size: 15px;
  font-size: 1.5rem;
}

h1,
h2,
h3,
h1:lang(ja),
h2:lang(ja),
h3:lang(ja),
.entry-title:lang(ja) {
  font-family: "見出ゴMB31";
}

#contact,
#thanks {
  min-width: 1110px;
  overflow: hidden;
}
#contact main,
#thanks main {
  margin: 0 auto;
  padding-bottom: 5em;
  line-height: 1.8;
  border-top: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc;
}
#contact .title h1,
#thanks .title h1 {
  margin: 0 auto;
  padding: 0 20px 10px;
  line-height: 1.6em;
  font-size: 38px;
  font-weight: bold;
  color: #379ad6;
  display: inline-block;
  border-bottom: double 6px #379ad6;
}
#contact .text,
#thanks .text {
  margin: 0 auto;
  max-width: 700px;
  text-align: center;
  width: 100%;
}

@media (max-width: 768px) {
  #contact,
  #thanks {
    min-width: 100%;
  }
}
@media (max-width: 640px) {
  #contact .title h1,
  #thanks .title h1 {
    padding: 0 15px 10px;
    font-size: 34px;
  }
}
@media (max-width: 480px) {
  #contact .title h1,
  #thanks .title h1 {
    font-size: 25px;
  }
}

/* お問合せフォーム */
#contact .title{
  text-align: center;
  margin: 3em auto 2em;
}
#contact .text {
  margin-bottom: 3em;
}
#form_area {
  max-width: 700px;
  margin: 0 auto 4em;
  text-align: left;
  background: #fff;
  padding: 0 15px;
}
#form_area form .form_group {
  margin-bottom: 1em;
}
#form_area form input,
#form_area form select,
#form_area form textarea {
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", メイリオ,
    Meiryo, 游ゴシック, YuGothic, Verdana, sans-serif;
}
#form_area form .form_legend,
#form_area form .form_label {
  font-weight: bold;
  margin-top: 1rem;
  position: relative;
  display: block;
}
#form_area form .form_legend::after,
#form_area form .form_label::after {
  content: "*";
  margin-left: 0.5em;
  font-size: 1em;
  color: #dc3545;
}
#form_area form .form_label.use::after {
  content: "";
  margin-left: 0;
  font-size: 0;
  color: transparent;
}

#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.75rem;
  color: #495057;
}
#form_area form input[type="checkbox"] {
  accent-color: #379ad6;
}
#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: #004196;
  text-decoration: none;
}
#contact a.link:hover,
#thanks a.link:hover {
  color: #379ad6;
  text-decoration: underline;
}
#form_area form .g-recaptcha {
  margin: 1em 0;
}
#form_area form button {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 2em auto 0;
  padding: 0.75rem;
  font-size: 1.25rem;
  color: #fff;
  background-color: #007bff;
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
}
#form_area form button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  box-shadow: none;
  transform: translate3d(0, 4px, 0);
}
#form_area form button {
  position: relative;
  display: block;
  padding: 1em 0.75em;
  margin: 2em auto;
  width: 80%;
  max-width: 100%;
  text-align: center;
  text-decoration: none;
  transition: 0.1s all ease 0s;
  line-height: 1;
  border-radius: 5px;
  border: none;
  background: #379ad6;
  box-shadow: 0 4px 0 #1f71a3;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
}
#form_area form button:hover {
  box-shadow: none;
  transform: translate3d(0, 4px, 0);
}

/* 送信完了ページ */
#thanks .title {
  text-align: center;
  margin: 3em auto;
}
#thanks .text {
  padding: 0 15px;
}
#thanks a.link {
  margin-top: 1em;
  text-align: center;
  display: inline-block;
}
