/* お問い合わせページ */
/* contact */

/* from */
/* ttl */
#contact {
  margin: 0 auto;
  padding: 120px 0 120px;
  background: #fffdf4 url(../images/lower/contact_hr.png) repeat-x top;
}
#contact .form {
  margin: 0 auto;
  position: relative;
  z-index: 0;
  overflow: hidden;
}

#contact .form h3 {
  width: fit-content;
  margin: 10px auto 30px;
  text-align: center;
  font-size: 160%;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 20px;
}

#contact .form h3 span {
  position: relative;
}
#contact .form h3 span:after,
#contact .form h3 span:before {
  content: "";
  display: block;
  width: 100%;
  height: 8px;
  transform: skewx(-30deg);
}
#contact .form h3 span:before {
  background: #fbb03b;
  position: absolute;
  bottom: -15px;
  right: -5px;
  z-index: 2;
}
#contact .form h3 span:after {
  background: #ffff00;
  position: absolute;
  bottom: -18px;
  left: -5px;
  z-index: 1;
}
#contact .form .formTable {
  background: #ffffff;
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
  padding: 30px 60px;
  border: 1px solid #513832;
}
#contact .form .formTable dl {
  margin-bottom: 30px;
}
#contact .form .formTable dl dt {
  margin-bottom: 10px;
  padding-left: 15px;
  display: flex;
  align-items: baseline;
  font-weight: bold;
  position: relative;
}
#contact .form .formTable dl dt.list-beasic::before {
  content: " ";
  width: 10px;
  height: 10px;
  display: inline-block;
  border: #fbb03b solid 8px;
  border-color: transparent transparent transparent #fbb03b;
  position: absolute;
  top: calc(50% - 8px);
  left: 0;
}
#contact .form .formTable dl dt span {
  margin-left: 10px;
  font-size: 60%;
  color: #ffffff;
  background: #cc3333;
  padding: 3px 5px;
  border-radius: 5px;
}
#contact .form .formTable dl dd {
  line-height: 1.6;
}
#contact .form .formTable input[type="text"],
#contact .form .formTable textarea {
  width: 100% !important;
  height: 40px;
  display: block;
  padding: 1% 2%;
  background: #fff;
  font-size: 80%;
  border: 2px solid #999999;
  line-height: 1.6;
}
#contact .form .formTable textarea {
  height: 120px;
}
@media screen and (max-width: 1081px) {
  #contact {
    padding: 12vw 0 12vw;
  }
  #contact .form .formTable dl dt {
    font-size: calc(70vw / 32);
  }
}
#contact .form .formTable input[type="radio"] {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 1.2em;
  margin-right: 0.2em;
  font-size: 85%;
  transform: scale(1.5);
  border: 3px solid #999999;
}
#contact .form .formTable label {
  display: inline-block;
  margin-bottom: 10px;
}
@media screen and (max-width: 1081px) {
  #contact .form .formTable input[type="radio"] {
    border: 2px solid #999999;
  }
}
@media screen and (max-width: 768px) {
  #contact .form .formTable input[type="radio"] {
    width: 3vw;
    max-width: 16px;
    height: 3vw;
    min-height: 16px;
  }
  #contact .form .formTable label {
    margin: 2vw 0 3vw 0;
  }
}
#contact .form .formTable .form_txt {
  margin: 20px auto 30px;
  font-size: 100%;
  text-align: center;
  line-height: 1.6;
}
#contact .form .formTable .form_tyui {
  margin: 20px auto;
  font-size: 70%;
  line-height: 1.6;
}
@media screen and (max-width: 768px) {
  #contact .form {
    margin: 6vw auto 12vw;
  }
  #contact .form .formTable {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    padding: 2vw 0 6vw;
  }
  #contact .form h3 {
    font-size: 140%;
    gap: 3vw;
  }
  #contact .form h3 span:before {
    bottom: -2vw;
    height: 6px;
  }
  #contact .form h3 span:after {
    bottom: -3vw;
    height: 6px;
  }
  #contact .form .formTable input[type="text"],
  #contact .form .formTable textarea {
    font-size: calc(80vw / 20);
    border: 2px solid #666666;
  }
  #contact .form .formTable label {
    display: block;
    padding: 5px 0 0 0;
    font-size: 110%;
  }
  #contact .form .formTable dl {
    width: 90%;
    margin: auto;
    margin-bottom: 4vw;
  }
  #contact .form .formTable dl dt {
    margin-bottom: 1vw;
    font-size: 110%;
  }
  #contact .from .formTable input[type="radio"] {
    margin-left: 0;
  }
  #contact .form .formTable button[type="submit"] {
    width: 60%;
    min-height: 60px;
    padding: 5px 40px 5px 40px;
  }
  #contact .form .formTable .form_tyui {
    width: 90%;
    margin: 3vw auto 6vw;
  }
}
/* privacy */
#contact .privacy_box {
  width: 100%;
  height: 36vh;
  max-height: 360px;
  overflow-y: scroll;
  margin: 40px auto 30px;
  padding: 30px 50px;
  background: #fdfdfc;
  border: 2px solid #333333;
  position: relative;
  z-index: 0;
}
#contact .privacy_box h3 {
  width: fit-content;
  font-size: 120%;
  margin: 10px auto 20px;
  padding-bottom: 10px;
  font-weight: bold;
  text-align: center;
  border-bottom: 4px solid #fbb03b;
  position: relative;
}
#contact .privacy_box h3::after {
  content: "";
  width: 120px;
  height: 4px;
  background: #513832;
  position: absolute;
  bottom: -4px;
  left: calc(50% - 60px);
  margin: 0 auto;
}
#contact .privacy_box p {
  font-size: 80%;
  line-height: 1.4;
  margin-bottom: 30px;
  text-indent: 1em;
}
#contact .privacy_box dl dt {
  font-weight: bold;
}
#contact .privacy_box dl dd {
  font-size: 80%;
  line-height: 1.4;
  margin: 10px 0 40px;
  text-indent: 20px;
}
#contact .privacy_box dl dd ul {
  margin: 10px 0;
  text-indent: 0;
}
#contact .privacy_box dl dd ul li {
  margin-bottom: 10px;
}
#contact .privacy_box dl dd ul li.list-beasic::before {
  top: 5px;
}
@media screen and (max-width: 1081px) {
  #contact .privacy_box {
    margin: 0 auto 6vw;
    height: 32vh;
    min-height: 180px;
    padding: 6vw 6vw;
    font-size: calc(80vw / 42);
    overflow-y: scroll;
    z-index: 0;
  }
  #contact .privacy_box p,
  #contact .privacy_box dl dd {
    line-height: 1.6;
  }
}
@media screen and (max-width: 768px) {
  #contact .privacy_box {
    width: 90%;
    height: 30vh;
    overflow-y: scroll;
    margin-bottom: 10vw;
    padding: 4vw 6vw 0;
    border: 2px solid #513832;
    font-size: calc(68vw / 18);
  }
  #contact .privacy_box dl dd {
    line-height: 1.6;
  }
  #contact .privacy_box h3 {
    margin-bottom: 20px;
    font-size: calc(68vw / 16);
  }
}

/* thanks */
#contact.thanks {
  margin: 0 auto;
  padding: 120px 0 120px;
  background: #ffffff url(../images/index/top_contactad_bg.png) center center;
}
#contact.thanks .contactad_cntns {
  max-width: 920px;
  margin: 30px auto;
  padding: 40px 30px 60px;
  background: #ffffff;
  text-align: center;
  border: 4px solid #fbb03b;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}
#contact.thanks .form .formTable {
  padding: 0;
  border: none;
}
#contact.thanks .form .formTable p {
  line-height: 1.6;
}

#contact.thanks .form h3 {
  width: fit-content;
  margin: 10px auto 20px;
  text-align: center;
  font-size: 160%;
  display: flex;
  align-items: center;
  gap: 20px;
}

#contact.thanks .form h3::after,
#contact.thanks .form h3::before {
  content: "";
  display: block;
  width: 30px;
  height: 60px;
  background: url(../images/common/wa-i01.png) no-repeat 100%;
  background-size: cover;
}

#contact.thanks .form h3::after {
  transform: scale(-1, 1);
}
@media screen and (max-width: 768px) {
  #contact.thanks {
    margin: 0 auto;
    padding: 10vw 0 10vw;
    background: #ffffff url(../images/index/top_contactad_bg_sp.png) center center;
  }
  #contact.thanks .contactad_cntns {
    padding: 4vw 3vw 6vw;
    background: #ffffff;
    text-align: center;
    border: 4px solid #fbb03b;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
  }
  #contact.thanks .form .formTable {
    padding: 0 0 3vw;
  }
  #contact.thanks .form h3 {
    font-size: 140%;
    line-height: 1.4;
    gap: 10px;
  }
  #contact.thanks .form h3::after,
  #contact.thanks .form h3::before {
    content: "";
    display: block;
    width: 7vw;
    height: 14vw;
    background: url(../images/common/wa-i01.png) no-repeat 100%;
    background-size: contain;
  }
}
