@charset "UTF-8";

/* ==== root ========================== */
:root {
  --color-black: #030E1D;
  --color-white: #ffffff;
  --color-primary: #014094;
  --color-gray: #F9F9F9;

  --noto-sans: "Noto Sans JP", sans-serif;
  --din: "din-2014", sans-serif;
}

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

@media screen and (max-width:767px) {
  #subVisual {
    background-image: url(../../images/contact/subvis_sp.webp);
  }
}

/*================================================
 * intro
 ================================================*/
#intro {
  padding-bottom: 6rem;
}

#intro .wrap {
  text-align: center;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 5rem 0 6rem;
}

#intro .wrap h2 {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.intro_tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
}

.intro_tel a {
  font-size: 6.8rem;
  color: var(--color-white);
  font-family: var(--din);
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.2;
  position: relative;
  padding-left: 7rem;
}

.intro_tel a::before {
  position: absolute;
  content: "";
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  display: inline-block;
  background-image: url(../../images/contact/icon_tel_wt.png);
  width: 5.5rem;
  height: 5.5rem;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

#intro .wrap p {
  font-weight: 400;
  line-height: 1.5;
}

@media screen and (max-width:767px) {
  #intro {
    padding-bottom: 4rem;
  }

  #intro .wrap {
    padding: 4rem 0;
  }

  #intro .wrap h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .intro_tel a {
    font-size: 3.5rem;
    padding-left: 3.7rem;
  }

  .intro_tel a::before {
    width: 2.6rem;
    height: 2.6rem;
  }

  #intro .wrap p {
    font-size: 1.2rem;
    margin-top: 2rem;
  }
}



/*================================================
 *  form
 ================================================*/

#form .wrap {
  padding: 6rem 10rem 7rem;
  background: var(--color-gray);
}

.form_list {
  margin-top: 6rem;
  display: flex;
  align-items: stretch;
  justify-content: start;
  flex-wrap: wrap;
}

.form_list dt {
  width: 23rem;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4rem;
}

.form_list dt.at {
  align-items: start;
}

.form_list dt span {
  display: block;
  font-size: 1.4rem;
  color: var(--color-white);
  background: #CD290E;
  line-height: 1;
  padding: 0.6rem 1rem;
}

.form_list dd {
  font-size: 1.6rem;
  width: calc(100% - 23rem);
  margin-bottom: 4rem;
  padding-left: 7rem;
  position: relative;
}

.form_list dd input,
.form_list dd textarea {
  font-size: 1.6rem;
  font-family: var(--noto-sans);
  display: block;
  width: 100%;
  height: 5rem;
  padding: 1.5rem 2.5rem;
  background: var(--color-white);
}

.form_list dd textarea {
  height: 25rem;
}

.form_list dd.radio_box {
  display: flex;
  align-items: center;
  justify-content: start;
  flex-wrap: wrap;
  gap: 5rem;
}

.form_list dd input[type="radio"] {
  display: inline-block;
  width: 2.6rem;
  height: 2.6rem;
  accent-color: var(--color-primary);
  position: relative;
  border: 1px solid var(--color-black);
  border-radius: 50%;
  margin: 0 1.5rem 0 0;
  appearance: none;
  padding: 0;
}

.form_list dd span {
    position: absolute;
    bottom: -2.5rem;
    left: 7rem;
}

.form_list input[type="radio"]::before {
  position: absolute;
  content: "";
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0;
  margin: auto;
  width: 1.4rem;
  height: 1.4rem;
  background-color: var(--color-primary);
  border-radius: 50%;
  transition: .2s;
}

.form_list input[type="radio"]:checked::before {
  opacity: 1;
}

.submit_wrap .policy {
  text-align: center;
  font-size: 1.6rem;
}

.submit_wrap .policy input {
  width: 2.2rem;
  height: 2.2rem;
  margin-right: 1rem;
  position: relative;
  appearance: none;
  border: 1px solid #B7B7B7;
  background: var(--color-white);
}

.submit_wrap .policy input[type="checkbox"]::before {
  position: absolute;
  content: "";
  margin: auto;
  opacity: 0;
  top: -17%;
  bottom: 0;
  left: 0;
  right: 0;
  transition: .2s;
  width: 1.4rem;
  height: 0.6rem;
  border-left: 0.2rem solid var(--color-primary);
  border-bottom: 0.2rem solid var(--color-primary);
  transform: rotate(-45deg);
}

.submit_wrap .policy input[type="checkbox"]:checked::before {
  opacity: 1;
}

.submit_wrap .policy label a {
    display: inline-block;
    border-bottom: .1rem solid #030E1D;
    transition: all .3s ease;
}

.submit_wrap .policy label a:hover {
    opacity: .5;
    border-bottom: .1rem solid transparent;
}

.submit_wrap input[type="submit"].submitBtn {
  width: 40rem;
  height: 6.5rem;
  background: var(--color-primary);
  color: var(--color-white);
  display: grid;
  place-content: center;
  text-align: center;
  border-radius: 1000px;
  margin: 3rem auto 0;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  border: 1px solid var(--color-primary);
  transition: all .4s;
}

.submitBtn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.submitBtn:enabled {
  opacity: 1;
  cursor: pointer;
}

.submit_wrap input[type="submit"].submitBtn:enabled:hover {
  background: var(--color-white);
  color: var(--color-primary);
}

::placeholder {
  color: #7E7E7E;
}

/* 旧Edge対応 */
::-ms-input-placeholder {
  color: #7E7E7E;
}

/* IE対応 */
:-ms-input-placeholder {
  color: #7E7E7E;
}




input span::after {
  display: inline-block;
  width: 8px;
  height: 8px;
}

input:user-invalid~span::after {
  content: "※ご入力をお願いします";
  color: #CD290E;
  font-size: 1.2rem;
}



@media screen and (max-width:767px) {
  #form .wrap {
    padding: 6rem 2.5rem 4rem;
  }

  .form_list {
    margin-top: 4rem;
  }

  .form_list dt {
    width: 100%;
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }

  .form_list dt span {
    font-size: 1.2rem;
  }

  .form_list dd {
    width: 100%;
    font-size: 1.4rem;
    padding-left: 0;
    margin-bottom: 3rem;
  }

  .form_list dd.radio_box {
    gap: 1.5rem;
  }

  .form_list dd input,
  .form_list dd textarea {
    padding: 1.5rem;
  }

  .form_list dd input[type="radio"] {
    width: 2rem;
    height: 2rem;
    margin: 0 1rem 0 0;
  }

  .form_list dd span {
    bottom: -2.2rem;
    left: 0;
  }

  .form_list input[type="radio"]::before {
    width: 1rem;
    height: 1rem;
  }

  .submit_wrap .policy {
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .submit_wrap .policy label {
    display: block;

    font-size: 1.2rem;
  }

  .submit_wrap input[type="submit"].submitBtn {
    width: 100%;
    height: 5rem;
    margin: 2.5rem auto 0;
    font-size: 1.6rem;
  }
}


/*================================================
 *  
 ================================================*/

#form.thanks .wrap {
  padding: 13rem 0 0;
  background: var(--color-white);
  text-align: center;
}

#form.thanks .wrap h2.hd .ja {
  margin-top: 1rem;
}

#form.thanks .wrap p {
  margin: 5rem 0;
  line-height: 1.7;
}

#form.thanks .wrap .contactBtn a {
  width: 40rem;
  background: var(--color-primary);
  color: var(--color-white);
  display: block;
  margin: 0 auto;
  border-radius: 1000px;
  height: 6.5rem;
  display: grid;
  place-content: center;
  font-size: 2rem;
  letter-spacing: 0.15em;
  font-weight: 700;
}


@media screen and (max-width:767px) {
  #form.thanks {
    padding-bottom: 8rem;
  }

  #form.thanks .wrap {
    padding: 6rem 0 0
  }

  #form.thanks .wrap h2.hd .en {
    font-size: 2.8rem;
    letter-spacing: 0.02em;
  }

  #form.thanks .wrap h2.hd .ja {
    font-size: 1.5rem;
  }

  #form.thanks .wrap p {
    margin: 4rem 0;
  }

  #form.thanks .wrap .contactBtn a {
    width: 29rem;
    height: 5.3rem;
    font-size: 1.6rem;
  }
}

/*================================================
 * privacy
 ================================================*/

#privacy .wrap {
    width: 100rem;
    margin: 0 auto;
}

#privacy .privacy_exp {
    font-size: 1.6rem;
    letter-spacing: 0.05em;
    line-height: 1.7;
}

#privacy .privacy_block {
    margin-top: 4rem;
}

#privacy .privacy_block h3 {
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

#privacy .privacy_block p {
    font-size: 1.6rem;
    letter-spacing: 0.05em;
    line-height: 1.7;
    margin-top: 1rem;
}

@media screen and (max-width:767px) {
    #privacy .wrap {
        width: 35rem;
    }
    
    #privacy .privacy_exp {
        font-size: 1.4rem;
    }
    
    #privacy .privacy_block {
        margin-top: 3rem;
    }
    
    #privacy .privacy_block h3 {
        font-size: 1.8rem;
    }
    
    #privacy .privacy_block p {
        font-size: 1.4rem;
        margin-top: 1rem;
    }
}