/* お問い合わせページ以外に表示させる誘導枠 */
.contactadd {
  width: 100%;
  margin-bottom: 120px;
  position: relative;
}
.contactadd .contactadd_cntns {
  max-width: 920px;
  margin: 0 auto;
  padding: 60px 30px;
  background: #ffffff;
  text-align: center;
  border: 4px solid #8cd8f5;
  border-radius: 10px; 
  position: relative;
}
.contactadd .contactadd_cntns p {
  width: fit-content;
  margin: 30px auto;
  font-size: 24px;
  font-weight:bold;
  color: #a0cf31;
  line-height: 1.4;
  position: relative;
}
.contactadd .contactadd_cntns p::before,
.contactadd .contactadd_cntns p::after {
  content:"";
  display: block;
  width: 50px;
  height: 3px;
  background:#000000;
  transform: rotate(45deg);
  border-radius: 10px;
}
.contactadd .contactadd_cntns p::before {
  position: absolute;
  bottom:0;
  left: -40px;
}
.contactadd .contactadd_cntns p::after {
  position: absolute;
  bottom:0;
  right: -40px;
  transform: scale(-1,1) rotate(45deg);
}
.contactadd .contactadd_cntns .contactadd_cntns_form{
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}
.contactadd .contactadd_cntns .contactadd_cntns_form .main_btn {
  width: 100%
}
.contactadd .contactadd_cntns .contactadd_cntns_form .main_btn {
  width: 100%
}
.contactadd .contactadd_img01 {
  width: 20vw;
  position: absolute;
  top: -100px;
  right: -30px;
  transition: all 0.3s ease 0s;
  z-index: -1;
}
.contactadd .contactadd_img02 {
  width: 20vw;
  position: absolute;
  bottom:-100px;
  left: -70px;
  transition: all 0.3s ease 0s;
  z-index: -1;
}

@media screen and (max-width: 1025px) {
  .contactadd .contactadd_cntns {
  width: 90%;
  padding: 5vw;
  }
  .contactadd .contactadd_img img {
  }
  .contactadd .contactadd_cntns .contactadd_cntns_form .main_btn {
    font-size: calc(50vw / 20);
  }
}
@media screen and (max-width: 768px) {
  .contactadd .cotns_box {
  margin: 20vw auto 26vw;
  }
  .contactadd .contactadd_cntns p {
    margin: 5vw auto;
    font-size: calc(80vw / 18);
    padding-left: 4px;
  }
  .contactadd .contactadd_cntns p::before,
  .contactadd .contactadd_cntns p::after {
    width: 40px;
    height: 2px;
  }
  .contactadd .contactadd_cntns p::before {
    left: -8vw;
  }
  .contactadd .contactadd_cntns p::after {
    right: -8vw;
  }
  .contactadd .contactadd_cntns .contactadd_cntns_form li{
    width: 100%;
    margin-bottom:10px;
  }
  .contactadd .contactadd_img01 {
    width: 40vw;
    position: absolute;
    top: -33vw;
    right: -5vw;
  }
  .contactadd .contactadd_img02 {
    width: 40vw;
    position: absolute;
    bottom: -30vw;
    left: -7vw;
  }
}
@media screen and (max-width: 391px) {
  .contactadd .cotns_box {
  }
}



/* from */
/* ttl */
@media screen and (max-width: 768px) {
  #contact #form.sub_title {
    background: #fffbdd url("../images/contact/cnts_ttl_contact_h_sp2.png") no-repeat center left;
    background-size: cover;
  }
  #contact #form.sub_title .cotns_box {
    background: none;
  }
}

#contact .form {
  margin: 120px auto;
  position: relative;
  z-index: 0;
  overflow: hidden;
}
#contact .form .formTable {
  background: #ffffff99;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 100px;
}
#contact .form .formTable dl {
  margin-bottom: 30px;
}
#contact .form .formTable dl dt {
  margin-bottom: 10px;
  padding-left: 20px;
  display: flex;
  align-items: baseline;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: bold;
  position: relative;
}
#contact .form .formTable dl dt.list-beasic::before {
  content: " ";
  width: 16px;
  height: 16px;
  display: inline-block;
  background: url("../images/common/footer_icon.png") no-repeat;
  background-size: contain;
  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: 50px;
  display: block;
  padding: 2%;
  background: #fff;
  font-size: 18px;
  border: 3px solid #999999;
  border-radius: 5px;
  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 60px;
  width: fit-content;
  min-height: 60px;
  background: #ffe71a;
  font-size: 18px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: bold;
  line-height: 1;
  color: #000000;
  text-align: center;
  border: 3px solid #ffffff;
  border-radius: 80px;
  box-shadow: 0 6px 0 #ffd980;
  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_tyui {
  font-size: 80%;
}
@media screen and (max-width: 768px) {
  #contact .form {
    margin: 12vw auto;
  }
  #contact .form .formTable {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 6vw 6vw;
  }
  #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: 120%;
  }
  #contact .from .formTable input[type="radio"] {
    margin-left: 0;
  }
}
/* privacy */
#contact .privacy_box {
  width: 80%;
  max-width: 1075px;
  margin: 0 auto 120px;
  padding: 30px 60px;
  background: #f4fbfe;
  border: 2px solid #40505b;
  position: relative;
  z-index: 0;
}
#contact .privacy_box h3 {
  margin-bottom: 20px;
  font-weight: bold;
  text-align: center;
}
#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 / 12);
  }
}

/* thanks */
#contact.thanks .form .formTable {
  background: #ffffff99;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 60px;
}
@media screen and (max-width: 768px) {
  #contact.thanks .form .formTable {
    padding: 6vw 6vw;
  }
}