/* ボタン */
.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: #a72125;
  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);
  }
}

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

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

#contact .form .formTable {
  background: #ffffff;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 30px 100px;
  position: relative;
  z-index: 0;
}

#contact .form h3 {
  width: fit-content;
  margin: 10px auto 20px;
  padding: 0 10px 10px;
  text-align: center;
  font-size: 160%;
  display: flex;
  align-items: center;
  gap: 20px;
}
#contact .form h3 span {
  position: relative;
}
#contact .form h3 span:before {
  content: "";
  display: block;
  width: 100%;
  height: 20px;
  transform: skewx(-30deg);
  background: #cc333333;
  position: absolute;
  bottom: -10px;
  right: 0;
  z-index: -1;
}

#contact .form .formTable dl {
  margin-bottom: 20px;
}
#contact .form .formTable dl dt {
  margin-bottom: 5px;
  padding-left: 0.75em;
  display: flex;
  align-items: baseline;
  font-weight: bold;
  position: relative;
}
#contact .form .formTable dl dt.list-beasic::before {
  content: " ";
  width: 1em;
  height: 1em;
  display: inline-block;
  border: #a72125 solid 0.5em;
  border-color: transparent transparent transparent #a72125;
  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 label {
  display: inline-block;
  padding-left: 1em;
  padding-bottom: 5px;
}
#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 !important;
}
@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;
  margin: auto;
  width: fit-content;
  min-height: 50px;
  background: #a72125;
  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 .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;
}
#contact .form .formTable .form_tyui a {
  display: inline;
  color: #a72125;
  text-decoration: underline;
  font-weight: bold;
}
@media screen and (max-width: 768px) {
  #contact .form {
    margin: 6vw auto 12vw;
  }
  #contact .form .formTable {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    padding: 2vw 5vw 6vw;
  }
  #contact .form h3 {
    font-size: 140%;
    gap: 3vw;
  }
  #contact .form .formTable input[type="text"],
  #contact .form .formTable textarea {
    font-size: calc(80vw / 26);
    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;
  }
  #contact .form .formTable textarea {
    height: 40vw !important;
  }
}
/* privacy */
#contact .privacy_box {
  width: 80%;
  height: 36vh;
  max-height: 360px;
  overflow: scroll;
  max-width: 1075px;
  margin: 0 auto;
  padding: 30px 50px;
  background: #fdfdfc;
  border: 2px solid #603813;
  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: #a72125;
  border-bottom: 4px solid #603813;
  position: relative;
}
#contact .privacy_box h3::after {
  content: "";
  width: 86%;
  height: 4px;
  background: #a72125;
  position: absolute;
  bottom: -4px;
  left: calc(50% - 43%);
  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 .sclool_tsubaki {
  height: 100%;
}
#contact.thanks .form .formTable {
  background: #ffffff;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 0;
  line-height: 1.4;
  border: 2px solid #a72125;
}
#contact.thanks .form .formTable .cntns_hl1 {
  background: #ffffff;
}
#contact.thanks .form .formTable p {
  line-height: 1.4;
}
@media screen and (max-width: 768px) {
  #contact.thanks .form .formTable {
    padding: 0 0 3vw;
  }
}
