@charset "utf-8";
/* CSS Document */

/* ===============================
	contact_top
 =============================== */
#contact_top {
  overflow-x: clip;
  margin-bottom: 40px;
  padding-top: 90px;
}
#contact_top .wrap {
  position: relative;
}
#contact_top .contact_top_txt {
  font-size: 15px;
  letter-spacing: 0.05em;
  line-height: 1.666666666666667;
  margin-top: 20px;
  margin-bottom: 24px;
}
#contact_top .tel_btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0 12px;
  padding: 4px 30px 8px 20px;
}
#contact_top .tel_btn::before,
#contact_top .tel_btn::after {
  content: '';
  width: 12px;
  height: 100%;
  background: url(../img/contact/content_frame.svg) left no-repeat;
  background-size: auto 100%;
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
}
#contact_top .tel_btn::before {
  left: 0;
}
#contact_top .tel_btn::after {
  right: 0;
  transform: rotate(180deg);
}
#contact_top .tel_btn p {
  font-size: 16px;
}
#contact_top .tel_btn span {
  font-size: 38px;
  line-height: 1;
  position: relative;
  padding-left: 28px;
}
#contact_top .tel_btn span::before {
  content: '';
  width: 24px;
  height: 24px;
  background: url(../img/common/icon_tel.svg) center no-repeat;
  background-size: contain;
  display: inline-block;
  position: absolute;
  bottom: 0;
  left: 0;
}
#contact_top .req_txt {
  font-size: 15px;
  letter-spacing: 0.05em;
  color: var(--C-red);
  border-bottom: #e1e2e2 1px solid;
  margin-top: 26px;
  padding-bottom: 28px;
}
.contact_top_bg {
  border-radius: 1000px;
  width: 450px;
  height: 450px;
  position: absolute;
  bottom: -90px;
  right: -350px;
  display: inline-block;
  background: var(--C-red);
  mix-blend-mode: multiply;
  z-index: +1;
}
@media screen and (max-width: 640px) {
  #contact_top {
    margin-bottom: 6vw;
    padding-top: 10vw;
  }
  #contact_top .wrap {
    overflow: visible;
  }
  #contact_top .contact_top_txt {
    font-size: 3.125vw;
    margin-top: 2.8125vw;
    margin-bottom: 8vw;
}
  #contact_top .tel_btn {
    flex-direction: column;
    gap: 1vw;
    width: 100%;
    padding: 4vw;
  }
  #contact_top .tel_btn::before,
  #contact_top .tel_btn::after {
    width: 4.2vw;
  }
  #contact_top .tel_btn p {
    font-size: 3.125vw;
  }
  #contact_top .tel_btn span {
    font-size: 7.8125vw;
    padding-left: 5.625vw;
  }
  #contact_top .tel_btn span::before {
    width: 4.84375vw;
    height: 5vw;
  }
  #contact_top .req_txt {
    font-size: 3.125vw;
    margin-top: 12vw;
    padding-bottom: 4vw;
  }
  .contact_top_bg {
    width: 30vw;
    height: 30vw;
    bottom: -2vw;
    right: -6vw;
  }
}

/* ===============================
	form
 =============================== */
#form {
  padding-bottom: 154px;
}
#form dl {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 58px 0;
}
#form dl.txtbox_con {
  align-items: flex-start;
  margin-top: 58px;
  margin-bottom: 130px;
}
#form dt {
  width: 170px;
}
#form dt p {
  font-size: 15px;
  letter-spacing: 0.05em;
  line-height: 1.6;
}
#form dt.req p::after {
  content: '*';
  color: var(--C-red);
  margin-left: 1ch;
}
#form dd {
  width: calc(100% - 170px);
}
#form dd * {
  font-size: 15px;
  letter-spacing: 0.05em;
}
#form dd small {
  font-size: 13px;
  letter-spacing: 0;
  line-height: 1.538461538461538;
  display: block;
  margin-top: 8px;
}
#form dd .select_con {
  position: relative;
  display: inline-block;
}
#form dd .select_con::after {
  content: '';
  background: var(--C-black);
  height: 6px;
  width: 8px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  position: absolute;
  top: 0;
  bottom: 0;
  right: 10px;
  display: block;
  margin: auto;
}
#form dd select {
  width: 216px;
  max-width: 100%;
  border: #e1e2e2 1px solid;
  padding: 4px 10px;
}
#form dd input {
  width: 420px;
  max-width: 100%;
  border: #e1e2e2 1px solid;
  padding: 4px 10px;
}
#form dd textarea {
  line-height: 1.6;
  width: 100%;
  height: 200px;
  border: #e1e2e2 1px solid;
  padding: 4px 10px;
}
@media screen and (max-width: 640px) {
  #form {
    padding-bottom: 22vw;
  }
  #form dl {
    flex-direction: column;
    align-items: flex-start;
    gap: 2vw 0;
  }
  #form dl.txtbox_con {
    margin-top: 2vw;
    margin-bottom: 4vw;
  }
  #form dt {
    width: 100%;
  }
  #form dt p {
    font-size: 3.125vw;
  }
  #form dd {
    width: 100%;
    margin-bottom: 6vw;
  }
  #form dd * {
    font-size: 3.125vw;
  }
  #form dd small {
    font-size: 2.8125vw;
    margin-top: 1vw;
  }
  #form dd select {
    width: 60vw;
    padding: 3vw 4vw;
  }
  #form dd input {
    width: 100%;
    padding: 3vw 4vw;
  }
  #form dd textarea {
    height: 60vw;
    padding: 3vw 4vw;
  }
}

/* ===============================
	btn
 =============================== */
#form input[type="submit"] {
  font-size: 15px;
  text-align: center;
  color: var(--C-black);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: url(../img/contact/btn_before.svg) center no-repeat;
  background-size: contain;
  width: 286px;
  max-width: 100%;
  height: 48px;
  border-radius: 100px;
  position: relative;
  cursor: pointer;
  margin: auto calc((100% - 286px) / 2);
  transition: .4s;
}
#form input[type="submit"]:hover {
  opacity: 1;
  color: var(--C-white);
  background-image: url(../img/contact/btn_after.svg);
}
@media screen and (max-width: 640px) {
  #form input[type="submit"] {
    font-size: 3.90625vw;
    width: 69.375vw;
    min-height: 11.5625vw;
    margin: auto calc((100% - 69.375vw) / 2);
  }
}

/* ===============================
	エラー画面
 =============================== */
#form dd .error {
  font-size: 13px;
  font-weight: 500;
  color: var(--C-red);
  display: block;
  margin-top: 8px;
}
@media screen and (max-width: 640px) {
  #form dd .error {
    font-size: 2.8125vw;
    margin-top: 1vw;
  }
}

/* ===============================
	確認ページ
 =============================== */
.mw_wp_form_confirm #form dd .select_con::after {
  content: none;
}
.mw_wp_form_confirm #form dd {
  font-size: 15px;
  letter-spacing: 0.05em;
  line-height: 1.6;
}
.mw_wp_form_confirm #form input[type="submit"] {
  margin: auto calc(((100% - (286px * 2)) / 4) - 1px);
}
.mw_wp_form_confirm #form input[type="submit"]:last-child {
  color: var(--C-white);
  background-image: url(../img/contact/btn_after.svg);
}
.mw_wp_form_confirm #form input[type="submit"]:last-child:hover {
  color: var(--C-black);
  background-image: url(../img/contact/btn_before.svg);
}
@media screen and (max-width: 640px) {
  .mw_wp_form_confirm #form dd {
    font-size: 3.125vw;
  }
  .mw_wp_form_confirm #form input[type="submit"] {
    margin: auto calc((100% - 69.375vw) / 2);
  }
  .mw_wp_form_confirm #form input[type="submit"]:last-child {
    margin-top: 8vw;
  }
}

/* ===============================
	thanks
 =============================== */
#thanks {
  text-align: center;
  padding-top: 80px;
  padding-bottom: 140px;
}
.thanks_txt {
  font-size: 15px;
  letter-spacing: 0.05em;
  line-height: 2;
}
.thanks_txt span {
  font-size: 30px;
  font-weight: 500;
  display: block;
  position: relative;
  margin-bottom: 40px;
  padding-bottom: 20px;
}
.thanks_txt span::after {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--C-red);
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}
@media screen and (max-width: 640px) {
  #thanks {
    padding-top: 18vw;
    padding-bottom: 22vw;
  }
  .thanks_txt {
    font-size: 3.125vw;
  }
  .thanks_txt span {
    font-size: 6vw;
    margin-bottom: 6vw;
    padding-bottom: 3vw;
  }
  .thanks_txt span::after {
    width: 8vw;
  }
}