@charset "UTF-8";
/*********************************************************
共通
*********************************************************/
#contact {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin-right: auto;
  margin-left: auto;
  max-width: 1000px;
  font-family: Avenir, 'Helvetica neue', Helvetica, '游ゴシック', YuGothic, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo, 'ＭＳ Ｐゴシック', sans-serif;
}

@media (max-width: 1600px) {
  #contact {
    max-width: 800px;
  }
}

@media (max-width: 800px) {
  #contact {
    padding-right: 2%;
    padding-left: 2%;
  }
}

/*--タイトル・説明文--*/
#contact .title {
  font-size: 24px;
  background: #08A000;
  color: #fff;
  font-weight: bold;
  margin: 5% 0 2% 0;
  padding: 10px;
  text-align: center;
}

#contact .note {
  font-size: 12px;
  color: #4E4E4E;
  margin: 0 0 5% 0;
}

@media screen and (max-width: 768px) {
  #contact .title {
    font-size: 18px;
  }
}

/*--必須マーク--*/
.required-mark {
  background: #BC0003;
  border-radius: 3px;
  padding: 4px;
  font-weight: bold;
  font-size: 12px;
  color: #FFF;
  margin: 0 5px;
}

/*疑似要素で必須を表示させる場合*/
/*#contact tr:nth-child(n + 2) th::after {
  background: #BC0003;
  border-radius: 3px;
  color: #FFF;
  content: "必須";
  display: inline-block;
  font-weight: bold;
  font-size: 12px;
  margin: 0 5px;
  padding: 4px;
  vertical-align: middle;
}*/
/*--テーブル--*/
#contact table,
#contact tr,
#contact th,
#contact td {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

#contact table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

#contact th {
  text-align: left;
  padding: 3% 0 3% 1%;
}

#contact td {
  padding: 3% 1% 3% 3%;
}

#contact td input {
  width: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  height: 2em;
}

#contact td input[type=text] {
  border-radius: 5px;
  border-width: 1px;
  height: 4em;
  padding: 5px;
}

#contact td [type=radio],
#contact td [type=checkbox] {
  width: auto;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  height: auto;
}

#contact td textarea {
  width: 100%;
  border-radius: 10px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  height: 10em;
  padding: 5px;
}

@media screen and (max-width: 768px) {
  #contact table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
  }
  #contact th {
    display: block;
    text-align: center;
    padding: 3% 0 3% 1%;
    font-size: 18px;
  }
  #contact th span {
    background: #BC0003;
    border-radius: 3px;
    padding: 4px;
    font-weight: bold;
    font-size: 12px;
    color: #FFF;
    margin: 0 0 0 5px;
  }
  #contact td {
    display: block;
    padding: 0 1% 3% 0;
  }
  #contact td input {
    width: 100%;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    height: 45px;
  }
  #contact td textarea {
    width: 100%;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    height: 80px;
  }
}

/*--ボタン--*/
#contact .submit {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin: 3% auto;
}

@media (max-width: 480px) {
  #contact .submit {
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}

#contact .answerbutton,
#contact .returnbutton {
  border-radius: 15px;
  line-height: 50px;
  width: 200px;
  color: #FFF;
  cursor: pointer;
  font-weight: bold;
  font-size: 18px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

#contact .answerbutton:hover,
#contact .returnbutton:hover {
  opacity: 0.8;
}

#contact .answerbutton {
  background: #08A000;
  border: 1px solid #08A000;
  margin-right: 15px;
}

@media (max-width: 480px) {
  #contact .answerbutton {
    margin-right: 0;
  }
}

#contact .returnbutton {
  background: #0bd300;
  border: 1px solid #08A000;
}

@media (max-width: 480px) {
  #contact .returnbutton {
    margin-top: 15px;
  }
}

.append {
  margin-left: 1em;
  text-indent: -.5em;
}

.append::before {
  content: "※";
  display: inline-block;
}

/*--サンクスページ 末尾 「ご回答ありがとうございました。」削除--*/
#contact p[align="center"] {
  display: none;
}

#contact p:last-child {
  display: none;
}