@charset "UTF-8";

/* ==== color ========================== */
:root {
  --color-black: #000000;
  --color-white: #ffffff;
  --color-primary: #8CBD3D;
  --color-blue: #0081C2;
  --color-bgGray: #F2F2F2;
  --futura: "futura-pt", sans-serif;
}

/*================================================
 *  subVisual
 ================================================*/
#subVisual::before {
  background-image: url(../../images/contact/subVisual.png);
}

@media screen and (max-width:767px) {
  #subVisual::before {
    background-position: center right 19%;
  }

}

/*================================================
 *  entry
 ================================================*/
#contact .inner {
  width: 70.6%;
  margin: 0 auto;
}

#contact dl {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  align-items: start;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

#contact dl dt {
  width: 23.8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  font-size: 1.076em;
  margin-bottom: 3.33vw;
}

#contact dl dt p:first-of-type {
  width: 73.8%;
  text-align: center;
}

#contact dl dt p:nth-of-type(2) span {
  display: block;
  font-size: 0.75em;
  color: var(--color-white);
  background: #E75775;
  padding: 0.2em 1em 0.3em;
  border-radius: 100px;
  line-height: 1.15;
}


#contact dl dd {
  width: 72%;
  font-size: 1.076em;
  margin-bottom: 3.33vw;
  font-weight: 400;
  line-height: 1.5;
}

#contact dl dd input[type=text],
#contact dl dd textarea,
#contact dl dd select {
  background: var(--color-bgGray);
  width: 100%;
  padding: 0 10px;
}

#contact dl dd input[type=text],
#contact dl dd select {
  height: 2.5vw;
}

#contact dl dd select {
  -webkit-appearance: none;
  appearance: none;
}

#contact dl dd textarea {
  height: 14.5vw;
  padding: 10px;
  font-size: 1em;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
}

#contact dl dd.check_box>span {
  margin-right: 1.05em;
  margin-left: 0;
}

#contact dl dd.check_box>span input {
  margin-right: 0.5em;
  width: 1em;
  height: 1em;
}

#contact dl dd.half input[type=text] {
  width: 11%;
  margin-right: 1em;
}

#contact dl dd.half select {
  width: 100%;
  display: block;
  cursor: pointer;
}

.select__arrow {
  position: relative;
  width: 30%;
  height: 100%;
}

.select__arrow::after {
  content: "";
  position: absolute;
  content: "";
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  display: inline-block;
  background-image: url(../../images/contact/select_arrow.jpg);
  width: 3.125vw;
  height: 0;
  padding-bottom: 2.5vw;
  top: 0;
  right: 0;
  pointer-events: none;
}

.mw_wp_form_confirm .select__arrow::after {
  content: none;
}

input[type=submit] {
  width: 17.5vw;
  height: 4.6vw;
  border: 1px solid var(--color-blue);
  background: var(--color-blue);
  display: grid;
  place-content: center;
  text-align: center;
  margin: 3.5% auto 0;
  color: var(--color-white);
  font-size: 1.078em;
  letter-spacing: 0.05em;
  font-weight: bold;
}

#contact .mw_wp_form_confirm dl dd small {
  display: none;
}

@media screen and (max-width:767px) {
  #contact .inner {
    width: 100%;
    margin: 0 auto;
  }

  #contact dl dt {
    width: 43%;
    font-size: 1em;
    margin-bottom: 6vw;
    display: block;
  }

  #contact dl dt p:nth-of-type(2) span {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin-left: 10vw;
    font-size: 0.8em;
  }

  #contact dl dt p:first-of-type {
    width: 100%;
    text-align: left;
    padding-left: 10vw;
    padding-top: 4vw;
    border-top: 1px solid #B9BABA;
  }

  #contact dl dd {
    width: calc(100% - 43%);
    padding-right: 5vw;
    padding-top: 6vw;
    margin-bottom: 6vw;
    border-top: 1px solid #B9BABA;
    padding-left: 1em;
  }

  #contact dl dt:last-of-type {
    width: 100%;
    border: none;
  }

  #contact dl dd:last-of-type {
    border-bottom: 1px solid #B9BABA;
    border-top: none;
    width: 100%;
    padding-left: 5vw;
    padding-top: 0;
    padding-bottom: 4vw;
    margin-bottom: 10vw;
  }

  #contact dl dd input[type=text],
  #contact dl dd select {
    height: 6.66vw;
    min-height: 30px;
    width: 76%;
    min-width: 150px;
  }

  #contact dl dd.half input[type=text] {
    width: 28%;
  }

  .select__arrow {
    position: relative;
    width: 76%;
    height: 100%;
    min-width: 150px;
  }

  .select__arrow::after {
    width: 8.125vw;
    padding-bottom: 0;
    height: 6.5vw;
    min-width: 37px;
    min-height: 30px;
  }

  #contact dl dd.check_box>span {
    display: block;
    margin-bottom: 4vw;
  }

  #contact dl dd.check_box>span:last-of-type {
    margin-bottom: 0;
  }

  #contact dl dd small {
    display: inline-block;
    margin-left: 1.5vw;
  }

  #contact dl dd textarea {
    height: 35vw;
  }

  #contact .entry__policy .entry__policy--inner {
    padding: 1.5em 1.5em 0.5em 1.5em;
    height: 44.1vw;
  }

  #contact .entry__policy .entry__policy--inner p {
    font-size: 1em;
  }



  input[type=submit] {
    width: 42.66vw;
    height: 11.5vw;
    margin: 0 auto;
    font-size: 1.2em;
  }

}