@charset "UTF-8";

.ContactBox,
.button-cube {
  display: none;
}
/*-------------------------------------------
タイトル枠
-------------------------------------------*/
.TtlBox {
  width: 100%;
  height: 50vh;
}

.TtlBox h1 {
  color: #0a2341;
  font-size: 4.472vw;
  font-weight: 700;
  line-height: 1.6;
  padding: 10vw;
  letter-spacing: 0.1em;
  transition: 0.3s;
}

.TtlBox h1 span {
  font-size: 2.38vw;
  display: block;
  font-weight: 700;
}

@media only screen and (max-width: 780px) {
  .TtlBox {
    width: 100%;
    height: 60vh;
  }

  .TtlBox h1 {
    font-size: 10.472vw;
    line-height: 1;
    padding: 40vw 0 0 10vw;
  }

  .TtlBox h1 span {
    font-size: 4.38vw;
    display: block;
    margin-left: 0;
    margin-top: 3vh;
  }
}

/*-------------------------------------------
プライバシー枠
-------------------------------------------*/
.FormBox {
  padding: 0 15vw 0 10vw;
}

.ContactBlock {
  width: 100%;
  margin: 0 auto;
  list-style: none;
  border-top: 1px solid #0a2341;
  padding-top: 5vw;
  margin-bottom: 10vw;
}

.FormBox p.comentT {
  width: 100%;
  margin-bottom: 5vw;
}

.FormBox p span {
  color: #e52828;
}

.formbody {
  margin: 0 auto;
  max-width: 800px;
}

.mw_wp_form dl {
  border-bottom: none !important;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.mw_wp_form dl dt .mwform-require {
  position: unset !important;
}

.mw_wp_form dl dd {
  width: 75%;
}

.mw_wp_form .mwform-require {
  color: #e52828 !important;
  margin-left: 0.5rem !important;
}

.mw_wp_form dl dd input,
.mw_wp_form dl dd textarea {
  border: none !important;
  border-radius: 15px !important;
  background: #e8ebf0;
  margin: 0;
  max-width: 100% !important;
  padding: 15px !important;
  vertical-align: middle;
  width: 100%;
}

.mw_wp_form dl dd textarea {
  width: 100% !important;
}

.checkbox input[type="checkbox"].checkbox__item,
.checkbox input[type="radio"].radiobtn__item {
  display: none;
}

.checkbox label {
  display: inline-block;
  /* width: 100%; */
  margin-right: 1.2vw;
}

.mw_wp_form .horizontal-item + .horizontal-item {
  margin-left: 0 !important;
}

.checkbox .checkbox__item + span,
.checkbox .radiobtn__item + span {
  padding-left: 2rem;
  display: inline-block;
  position: relative;
  font-size: 12px;
  margin-bottom: 10px;
  line-height: 24px;
}

.checkbox .checkbox__item + span::after,
.checkbox .checkbox__item + span::before {
  content: "";
  display: block;
  position: absolute;
  width: 25px;
  height: 25px;
  top: 0;
  left: 0;
  background-color: #e8ebf0;
  border-radius: 5px;
}

.checkbox .checkbox__item + span::after {
  opacity: 0;
  width: 8px;
  height: 13px;
  transform: rotate(45deg);
  left: 9px;
  border: none;
  border-right: 3px solid #0a2341;
  border-bottom: 3px solid #0a2341;
  border-radius: 0px;
  top: 5px;
}

.checkbox label input[type="radio"] {
  opacity: 0;
  appearance: none;
  position: absolute;
}

.checkbox .radiobtn__item + span::before {
  position: absolute;
  top: 0px;
  left: 0;
  width: 22px;
  height: 22px;
  border: 1px solid #fffcf2;
  background: #fffcf2;
  content: "";
  border-radius: 50%;
}

.checkbox .radiobtn__item + span::after {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #3c3c3b;
  content: "";
  opacity: 0;
  transition: all 0.3s;
}

.checkbox .mwform-radio-field label input:checked + span::after {
  opacity: 1;
}

/*
  checked状態
  文字のcolorとボタンのopacityを変更
*/
.checkbox .checkbox__item:checked + span,
.checkbox .radiobtn__item:checked + span {
  color: #3c3c3b;
}

.checkbox .checkbox__item:checked + span::after {
  opacity: 1;
}

::placeholder {
  color: #ccc;
}

/* ボタンの共通CSS */
.ContactBtn {
  margin-top: 50px;
  text-align: center;
}

.ContactBtn a {
  width: 20rem;
  height: 4.5rem;
  font-size: 1rem;
  border-radius: 10px;
  position: relative;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  background: linear-gradient(70deg, #0a2341, #1d4373);
  transition: 400ms;
  letter-spacing: 0.1rem;
  color: #ffffff;
}

.ContactBtn a::after {
  content: "";
  display: block;
  position: absolute;
  top: calc(50% - 6px);
  right: 3vw;
  width: 40px;
  height: 10px;
  border: none;
  border-right: 2px solid #fff;
  border-bottom: 1px solid #fff;
  transform: skew(45deg);
  transition: 0.3s;
}

.ContactBtn a:hover::after {
  right: 2vw;
}

.ContactBtn a input {
  width: 20rem;
  height: 4.5rem;
  z-index: 10;
}

.ContactBtn a::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0;
  display: block;
  border-radius: 10px;
  background: linear-gradient(70deg, #f0f75d, #02b9b0);
  transition: 0.2s;
}

.ContactBtn a:hover::before {
  width: 100%;
}

/* 矢印が画像(hoverで矢印移動) */

.ContactBtn.back a::after {
  content: "";
  display: block;
  position: absolute;
  top: calc(50% - 6px);
  left: 3vw;
  width: 40px;
  height: 10px;
  border: none;
  border-left: 2px solid #fff;
  border-bottom: 1px solid #fff;
  transform: skew(-45deg);
  transition: 0.3s;
}

.ContactBtn.back a:hover::after {
  left: 2vw;
}

.conBtnBox {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.ContactBtn.back,
.Er .ContactBtn.back {
  display: none;
}

.Conf .ContactBtn.back {
  display: block;
}

.Comp .mw_wp_form_complete {
  text-align: center;
  font-size: 0.9rem;
  margin: unset;
}

.mw_wp_form .mw_wp_form_complete {
  font-size: 1rem;
  line-height: 2rem;
}

@media only screen and (max-width: 1024px) {
}

@media only screen and (max-width: 780px) {
  .FormBox {
    padding: 10vw 10vw 0;
  }

  .FormBox p.comentT {
    width: 100%;
    margin: 0 auto 5rem;
    font-size: 1.8rem;
    line-height: 3rem;
  }

  .ContactBlock {
    width: 100%;
    margin: 0 auto;
    list-style: none;
    border-top: 1px solid #0a2341;
    padding-top: 5vw;
    margin-bottom: 10vw;
  }

  section.Article {
    padding: 2rem;
  }

  .mw_wp_form dl {
    display: block;
  }

  .mw_wp_form dl dd {
    width: 100%;
  }

  .checkbox .checkbox__item + span,
  .checkbox .radiobtn__item + span {
    padding-left: 4rem;
    display: inline-block;
    position: relative;
    font-size: 12px;
    margin-bottom: 10px;
    line-height: 24px;
  }

  .mw_wp_form .horizontal-item + .horizontal-item {
    margin-left: 0 !important;
  }

  .checkbox label {
    display: inline-block;
    /* width: 100%; */
    margin-right: 3vw;
  }

  .ContactBtn a {
    width: 20rem;
    height: 7.5rem;
    font-size: 1.6rem;
  }

  .ContactBtn a input {
    width: 20rem;
    height: 7.5rem;
  }

  .ContactBtn a::after {
    right: 5vw;
    top: calc(50% - 5px);
    width: 20px;
    height: 5px;
  }

  .ContactBtn.back a::after {
    top: calc(50% - 5px);
    left: 5vw;
    width: 20px;
    height: 5px;
  }

  .mwform-note {
    margin: 2vw 0;
  }

  input[type="text"],
  input[type="email"],
  textarea,
  select {
    font-size: 16px;
  }

  .mw_wp_form .mw_wp_form_complete {
    font-size: 1.4rem;
    line-height: 2.4rem;
  }

  .ContactBox,
  .button-cube {
    display: none !important;
  }
}
