@charset "UTF-8";
html {
  font-size: 62.5%;
}

body {
  margin: 0;
  padding: 0;
  line-height: 1.6;
  letter-spacing: 1px;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 1.3rem;
  color: #333;
  background-color: #EFEBDC;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -o-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

#wrap {
  width: 100%;
  margin: 0 auto;
  max-width: 980px;
  font-size: 1.4rem;
  color: #222;
}

#wrap #contact {
  line-height: 1.4;
}

#wrap #contact p {
  margin: 0 0 1em 0;
  color: #666;
}

#wrap #contact .title {
  text-align: center;
  font-size: 3rem;
  font-weight: bold;
  color: #333;
}

@media screen and (max-width: 768px) {
  #wrap #contact .title {
    padding: 30px 0 0 0;
  }
}
#wrap #contact .note {
  color: #ff0000;
  font-size: 1.4rem;
  border-radius: 4px;
  padding: 10px 10px 20px 10px;
}
#wrap #contact .note .form-fc-black,
#wrap #contact .note .form-entry-note {
  display: block;
}
#wrap #contact .note .form-fc-black {
  color: #000;
  line-height: 1.5;
}
#wrap #contact .note .form-entry-note {
  font-size: 13px;
  margin: 1em 0 0 1em;
  text-indent: -1em;
}

#wrap #contact table {
  width: 100%;
  border-collapse: collapse;
}

#wrap #contact table tr th {
  width: 30%;
  white-space: normal;
  font-weight: bold;
  padding: 10px;
  box-sizing: border-box;
  text-align: left;
}
#wrap #contact table tr th p {
  font-size: 12px;
}

#wrap #contact table tr th span {
  font-size: 1.2rem;
  color: #fff;
  background-color: #CD3301;
  padding: 1px 5px;
  margin: 0 0 0 5px;
  border-radius: 3px;
}

#wrap #contact table tr td {
  width: 70%;
  padding: 10px;
  box-sizing: border-box;
}

#wrap #contact table tr td input {
  font-size: 1.6rem;
}
#wrap #contact table tr td input[name=vg_1388_text], #wrap #contact table tr td input[name=vg_1389_text], #wrap #contact table tr td input[name=vg_1392_text], #wrap #contact table tr td input[name=vg_1393_text], #wrap #contact table tr td input[name=vg_1396_text] {
  width: 15em;
}
#wrap #contact table tr td input[name=vg_1390_text], #wrap #contact table tr td input[name=vg_1395_text] {
  width: 5em;
}

#wrap #contact table tr td textarea {
  width: 90%;
  font-size: 1.6rem;
  height: 150px;
}

#wrap #contact .submit {
  display: flex;
  justify-content: center;
  margin: 2em auto;
  text-align: center;
  width: 98%;
  max-width: 600px;
}
@media (max-width: 480px) {
  #wrap #contact .submit {
    align-items: center;
    flex-direction: column;
  }
}

#wrap #contact .answerbutton {
  cursor: pointer;
  width: 200px;
  font-size: 1.6rem;
  font-weight: bold;
  padding: 10px 0;
  color: #fff;
  background-color: #4393B4;
  border: none;
  border-radius: 20px;
}

#wrap #contact .returnbutton {
  cursor: pointer;
  width: 200px;
  font-size: 1.6rem;
  font-weight: bold;
  padding: 10px 0;
  color: #fff;
  background-color: #305362;
  border: none;
  border-radius: 20px;
}
@media (min-width: 481px) {
  #wrap #contact .returnbutton {
    margin-left: 50px;
  }
}
@media (max-width: 480px) {
  #wrap #contact .returnbutton {
    margin-top: 20px;
  }
}

#contact input[type=text] {
  width: 60%;
}

@media screen and (max-width: 640px) {
  #wrap {
    width: 100%;
  }
  #wrap #contact .title {
    font-size: 2rem;
  }
  #wrap #contact table tr th {
    width: 100%;
    display: block;
  }
  #wrap #contact table tr td {
    width: 100%;
    display: block;
  }
  #contact input[type=text] {
    width: 94%;
  }
  #wrap #contact table tr td textarea {
    width: 98%;
    font-size: 1.6rem;
  }
}