/* ボタン */
.form_btn a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 80px;
  margin: auto;
  padding: 10px 100px 10px 60px;
  background: #0251c7;
  color: #ffffff;
  font-size: 150%;
  text-align: center;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.form_btn a::before {
  content: "";
  display: block;
  background: url(../images/common/btn_icon.png) no-repeat center center;
  background-size: contain;
  width: 20px;
  height: 20px;
  position: absolute;
  top: calc(50% - 10px);
  right: 30px;
  transition: all 0.3s ease 0s;
}
.form_btn a::after {
  background: #000000;
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 100%;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: 0.2s cubic-bezier(0.45, 0, 0.55, 1);
  z-index: -1;
}
.form_btn a:hover::after {
  transform: scale(1, 1);
}
@media screen and (max-width: 1025px) {
  .form_btn a {
    padding: 2vw 9vw 2vw 3vw;
    min-height: 60px;
    font-size: calc(30vw / 10);
  }
}
@media screen and (max-width: 768px) {
  .form_btn a {
    width: 90%;
    min-height: 40px;
    margin: auto;
    padding: 5vw 10vw 5vw 5vw;
    font-size: calc(40vw / 8);
  }
}

/* ========== contactad.php ========== */
/* お問い合わせページ以外に表示させる誘導枠(埋め込み) */
.contactad {
  padding: 100px 0;
  width: 100%;
  background: url(../images/index/contactad_bg.jpg) no-repeat center center;
  background-size: cover;
  position: relative;
}
.contactad .contactad_box {
  width: 92%;
  max-width: 1280px;
  margin: 0 auto;
}
.contactad .contactad_cntns {
  max-width: 920px;
  margin: 0 auto;
  padding: 60px 30px;
  background: #ffffffcc;
  text-align: center;
  border: 4px solid #ffffff;
  border-radius: 10px;
  position: relative;
}
.contactad .contactad_cntns .contactad_txt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin: auto;
  background: url(../images/contact/marker.png) no-repeat center center;
  background-size: contain;
  margin-bottom: 30px;
  font-size: 200%;
  line-height: 1.4;
  font-weight: bold;
  color: #000000;
}

.contactad .contactad_cntns .contactad_txt::after,
.contactad .contactad_cntns .contactad_txt::before {
  content: "";
  display: block;
  width: 46px;
  height: 92px;
  background: url(../images/contact/wa-i02.png) no-repeat;
  background-size: contain;
}
.contactad .contactad_cntns .contactad_txt::after {
  transform: scale(-1, 1);
}

.contactad .contactad_cntns .contactad_cntns_form {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.contactad .contactad_img01 {
  width: 20vw;
  position: absolute;
  top: -100px;
  right: -30px;
  transition: all 0.3s ease 0s;
  z-index: -1;
}
.contactad .contactad_img02 {
  width: 20vw;
  position: absolute;
  bottom: -100px;
  left: -70px;
  transition: all 0.3s ease 0s;
  z-index: -1;
}

@media screen and (max-width: 1025px) {
  .contactad .contactad_cntns {
    width: 80%;
    padding: 5vw 2vw;
  }
  .contactad .contactad_cntns .contactad_txt {
    font-size: 180%;
  }
  .contactad .contactad_cntns .contactad_txt::after,
  .contactad .contactad_cntns .contactad_txt::before {
    width: 40px;
    height: 80px;
    background: url(../images/contact/wa-i02.png) no-repeat;
    background-size: contain;
  }
}
@media screen and (max-width: 768px) {
  .contactad {
    padding: 10vw 5vw 24vw;
    background-size: cover;
    position: relative;
  }
  .contactad .contactad_cntns {
    width: 100%;
    padding: 2vw;
  }
  .contactad .contactad_box {
    margin: 0 auto;
  }
  .contactad .contactad_cntns .contactad_txt {
    margin: 5vw auto;
    font-size: calc(80vw / 20);
    gap: 2vw;
  }
  .contactad .contactad_cntns .contactad_txt::before,
  .contactad .contactad_cntns .contactad_txt::after {
    width: 10vw;
    height: 14vw;
  }
  .contactad .contactad_cntns .contactad_cntns_form li {
    width: 100%;
    margin-bottom: 10px;
  }
}
@media screen and (max-width: 391px) {
}

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

/* from */
/* ttl */
#contact .cotns_box {
  max-width: 980px;
}
#contact .form {
  margin: 0 auto 60px;
  position: relative;
  z-index: 0;
  overflow: hidden;
}

#contact .form h3 {
  width: fit-content;
  margin: 10px auto 20px;
  text-align: center;
  font-size: 160%;
  display: flex;
  align-items: center;
  gap: 20px;
}
#contact .form h3::after,
#contact .form h3::before {
  content: "";
  display: block;
  width: 30px;
  height: 60px;
  background: url(../images/index/wa-i01.png) no-repeat 100%;
  background-size: cover;
}
#contact .form h3::after {
  transform: scale(-1, 1);
}

#contact .form h3 span {
  position: relative;
}
#contact .form h3 span:after,
#contact .form h3 span:before {
  content: "";
  display: block;
  width: 96%;
  height: 10px;
  transform: skewx(-30deg);
}
#contact .form h3 span:before {
  background: #ffcc00;
  position: absolute;
  bottom: -20px;
  right: 0;
  z-index: 2;
}
#contact .form h3 span:after {
  background: #ffff00;
  position: absolute;
  bottom: -27px;
  left: 0;
  z-index: 1;
}
#contact .form .formTable {
  background: #ffffff99;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 30px 100px;
}
#contact .form .formTable dl {
  margin-bottom: 20px;
}
#contact .form .formTable dl dt {
  margin-bottom: 5px;
  padding-left: 20px;
  display: flex;
  align-items: baseline;
  font-weight: bold;
  position: relative;
}
#contact .form .formTable dl dt.list-beasic::before {
  content: " ";
  width: 16px;
  height: 16px;
  display: inline-block;
  border: #0251c7 solid 10px;
  border-color: transparent transparent transparent #0251c7;
  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 input[type="text"],
#contact .form .formTable textarea {
  width: 100%;
  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: 1025px) {
  #contact .form .formTable dl dt {
    font-size: calc(70vw / 32);
  }
}
#contact .form .formTable button[type="submit"] {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  margin: auto;
  width: fit-content;
  min-height: 50px;
  background: #0251c7;
  font-size: 18px;
  font-weight: bold;
  line-height: 1;
  color: #ffffff;
  text-align: center;
  border-radius: 6px;
  box-shadow: 0 6px 0 #ffd98000;
  position: relative;
  transition: all 0.3s ease 0s;
  cursor: pointer;
}
#contact .form .formTable button:hover[type="submit"] {
  transform: translateY(6px);
  box-shadow: 0 0 0 #ffd98000;
  transition: all 0.3s ease 0s;
}
#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: 800px;
    margin: 0 auto;
    padding: 2vw 0 6vw;
  }
  #contact .form h3 {
    font-size: 140%;
    gap: 3vw;
  }
  #contact .form .formTable input[type="text"],
  #contact .form .formTable textarea {
    font-size: calc(80vw / 20);
    border: 2px solid #333333;
  }
  #contact .form .formTable label {
    display: block;
    padding: 5px 0 0 0;
    font-size: 110%;
  }
  #contact .form .formTable button[type="submit"] {
    width: fit-content;
    min-height: 60px;
    padding: 5px 40px 5px 40px;
  }
  #contact .form .formTable dl {
    margin-bottom: 4vw;
  }
  #contact .form .formTable dl dt {
    margin-bottom: 1vw;
    font-size: 110%;
  }
  #contact .from .formTable input[type="radio"] {
    margin-left: 0;
  }
}
/* privacy */
#contact .privacy_box {
  width: 90%;
  max-width: 1075px;
  margin: 0 auto 120px;
  padding: 30px 60px;
  background: #f4fbfe;
  font-size: 90%;
  border: 2px solid #40505b;
  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;
  color: #0251c7;
  border-bottom: 4px solid #207fdd;
  position: relative;
}
#contact .privacy_box h3::after {
  content: "";
  width: 60px;
  height: 4px;
  background: #40505b;
  position: absolute;
  bottom: -4px;
  left: calc(50% - 30px);
  margin: 0 auto;
}
#contact .privacy_box p {
  margin-bottom: 30px;
  text-indent: 20px;
}
#contact .privacy_box dl dt {
  font-weight: bold;
}
#contact .privacy_box dl dd {
  line-height: 1.8;
  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: 1025px) {
  #contact .privacy_box {
    width: 90%;
    margin: 0 auto 12vw;
    height: 42vh;
    min-height: 280px;
    padding: 6vw 6vw;
    font-size: calc(80vw / 42);
    overflow: 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%;
    overflow: scroll;
    margin-bottom: 25vw;
    padding: 6vw 6vw 0;
    border: 2px solid #40505b;
    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 .form .formTable {
  background: #ffffff99;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 0;
}
@media screen and (max-width: 768px) {
  #contact.thanks .form .formTable {
    padding: 0 0 3vw;
  }
}
