.pc__obj {
  display: block;
}

.sp__obj{
  display: none;
}

@media screen and (max-width: 768px) {
  .pc__obj {
      display: none;
    }
  .sp__obj {
      display: block;
    }
}


/* main */
.main__formTitle {
  margin: 70px auto 100px;
  padding: 60px 0;
  background-color: #D7E4EB;
  color: #003366;
  font-family: "Noto Serif JP", serif;
  font-size: 4.7rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-align: center;
}
.main__textRequired {
  margin:100px auto 50px;
  font-size: 1.8rem;
  letter-spacing: 0.06em;
  font-weight: 400;
}

.formTitle_under{
  padding: 66px 0;
}

@media screen and (max-width: 768px) {
  .body {
      width: 100%;
      max-width: 400px;
      margin: 0 auto;
    }
    .main__formTitle {
      width: 100%;
      margin: 0 auto 40px;
      padding: 25px 0;
      font-size: 2.8rem;
      line-height: 1.5;
      }

    .main__textRequired {
      margin: 30px auto 0;
      font-size: 1.4rem;
    }
  }

/* 中央寄せ */
.contentsCenter,
.contentCenter {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 50px;
  box-sizing: border-box;
}

.contentCenter {
  max-width: 1100px;
}
.g-recaptcha {
    /* reCAPTCHAの要素をブロック要素として強制的に扱う */
    display: block !important; 
    /* 左右のマージンを自動にして中央寄せ */
    margin: 0 auto !important;
}
.g-recaptcha > div {
    /* 左右のマージンを自動にして中央寄せを適用 */
    margin: 0 auto !important;
}

@media screen and (max-width: 768px) {

  .contentsCenter,
  .contentCenter {
    width: 100%;
    padding: 0 20px;
  }
}

/* stepNav */
.stepNav {
  display: flex;
  align-items: center;
  height: 62px;
  background-image: url('../img/3step_current1.svg');
  background-size: 100% 62px;
  background-repeat: no-repeat;
}

.stepNav.step3.current2 {
  background-image: url('../img/3step_current2.svg');
}

.stepNav.step3.current3 {
  background-image: url('../img/3step_current3.svg');
}


.stepNav__item {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 25%;
  height: 100%;
  padding: 0 12px 0 0;
  font-size: 1.8rem;
}

.step3 .stepNav__item {
  width: calc(100% / 3);
}

.stepNav__wh{
  color: #ffffff;
}

@media screen and (max-width: 768px) {
  .stepNav {
      display: flex;
      align-items: center;
      max-width: 400px;
      margin: 0 auto;
      height: 80px;
      background-image: url('../img/3step_current1_sp.svg');
      background-size: 100% 80px;
      background-repeat: no-repeat;
    }
  .stepNav__item {
        padding: 0;
        font-size: 1.4rem;
        
  }
 .stepNav.step3.current2 {
   background-image: url('../img/3step_current2_sp.svg');
 }

 .stepNav.step3.current3 {
   background-image: url('../img/3step_current3_sp.svg');
 }

.step3 .stepNav__item:first-child{
  padding-left:  7px;
}

.step3 .stepNav__item:nth-child(2){
  padding-left: 5%;
}

.step3 .stepNav__item:last-child {
  /* padding-right: 2vw;
  padding-left: 2vw; */
  margin-right: 0;
}



}

/*form*/
.pair-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 41px 40px;
  align-items: start;
}

@media screen and (max-width: 768px) {
  .container {
    padding: 18px;
  }
  .pair-grid {
    grid-template-columns: 1fr;
    gap: 6px 0;
  }
}

.left-label {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  min-height: 72px;
  padding-right: 7px;
}

.left-label_s {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  min-height: 34px;
  padding-right: 4px;
}
.left-label_l {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  min-height: 26px;
  padding-right: 4px;
}

.left-label_m{
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 9px;
  min-height: 34px;
  padding-right: 4px;
}
.left-label_m2 {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 35px;
  min-height: 34px;
  padding-right: 4px;
}

.left-label_d{
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 22px;
  min-height: 72px;
  padding-right: 4px;
}

.left-label_c {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0;
  min-height: 72px;
  padding-right: 7px;
}

.left-label__name {
  font-size: 1.8rem;
  color: #333;
  font-weight: 600;
}

.left-label__red{
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6px 6px 5px;
  line-height: 1;
  background: #af9441;
  color: #fff;
  font-size: 1.4rem;
  letter-spacing: 0.01em;
}

.field {
  display: grid;
  gap: 8px;
}

.field_s {
  display: grid;
  gap: 8px;
  min-height: 34px;
}

.field_l {
  display: grid;
  gap: 8px;
  padding-top: 7px;
  margin-bottom: 12px;
}

.field_m2 {
  display: grid;
  gap: 8px;
  margin-top:10px;
}

.field_d {
  display: grid;
  gap: 8px;
  margin-top: 9px;
}

.field_c {
  display: grid;
  gap: 8px;
  margin-top: 10px;;
}



@media screen and (max-width: 768px) {
  .left-label {
      justify-content: flex-start;
      min-height: 26px;
      margin-top: 27px;
  }
  .left-label_s {
    justify-content: flex-start;
    min-height: 23px;
    margin-top: 27px;
  }
  .left-label_l {
    justify-content: flex-start;
    min-height: 23px;
    margin-top: 27px;
  }

  .left-label_m {
      justify-content: flex-start;
        min-height: 23px;
        margin-top: 27px;
  }
  
  .left-label_m2 {
      justify-content: flex-start;
      min-height: 23px;
      margin-top: 32px;
  }

  .left-label_d {
      justify-content: flex-start;
      min-height: 23px;
      margin-top: 31px;
  }

  .left-label_c {
      justify-content: flex-start;
      min-height: 23px;
      margin-top: 31px;
    }


  .left-label__name{
  font-size: 1.6rem;
  }
      
  .left-label__red {
    margin-left: 19px;
  }
  
  .field_m2 {
    display: grid;
    gap: 8px;
    margin-top: 0px;
  }
  .field_c {
    display: grid;
    gap: 8px;
    margin-top: 14px;
  }
  
}


/* マイクロラベル */
.micro {
  display: grid;
  gap: 24px;
  margin-top: 4px;
}

.micro-field {
  display: grid;
  gap: 6px;
  /* margin-top: 10px; */
}
.micro-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.micro-label {
  font-size: 1.6rem;
  color: #6b7280;
  line-height: 1;
}

.micro-label__txt{
  margin: 0;
  display: flex;
  align-items: center;
  font-size: 1.6rem;;
}
@media screen and (max-width: 768px) {

/* .micro-field {
  gap: 4px
} */

.micro-head {
  margin-top: 15px;
}

.micro-label {
  font-size: 1.4rem;
}
.micro-label__txt {
  font-size: 1.4rem;
  ;
}
}

.email__notice{
  margin-top: 8px;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  line-height: 1.4;
}

/* 入力 */
.row-2 {
  display: flex;
  gap: 8px;
}

.row-3 {
  display: flex;
  gap: 10px;
}

.row-2>*,
.row-3>* {
  flex: 1;
}

@media screen and (max-width: 768px) {

.email__notice {
  width: 100%;
  max-width: 382px;
  margin-top: 6px;
  font-size: 1.4rem;
  letter-spacing: 0.075em;
  line-height: 1.2;
  }

  .row-3 {
      display: flex;
      gap: 13px;
    }
  .row-2,
  .row-3 {
    flex-direction: column;
  }
.row-2_sp {
  flex-direction: row;
}
}

#email {
  /* width: 322px; */
}

/* .radio__btn{
  font-size: 1.8rem;
  min-width: 56px;
  padding: 12px 16px 12px 0;
  display: flex;
  align-items: center;
}
.radio__btn input[type="radio"]{
  width: 30px;
  height: 30px;
  margin-right: 6px;
} */

input[type="radio"] {
  display: none;
}

.radio__btn {
  font-size: 1.8rem;
  min-width: 56px;
  padding: 12px 0;
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  gap: 10px;
}


.btn__first {
  padding: 12px 0 12px 0;
}

.radio__btn::before {
  content: '';
  display: flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  border: 2px solid #C3C8CB;
  border-radius: 50%;
  /* margin-right: 6px; */
  margin-bottom: 2px;
  transition: border-color 0.2s ease-in-out;
}

input[type="radio"]:checked+.radio__btn::before {
  border-color: #00A5F7;
}

input[type="radio"]:checked+.radio__btn::after {
  content: '';
  position: absolute;
  top: 48%;
  left: 13.7px;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  background-color: #00A5F7;
  border-radius: 50%;
  /* transition: background-color 0.2s ease-in-out; */
}

.radio__btn span {
  display: contents;
}

.radio_gap{
  gap:6px;
}

/* .gender-radio input[type="radio"]:checked+.radio__btn::after {
  content: '';
  position: absolute;
  top: 48%;
  left: 9%;
  transform: translateY(-50%);
  left: 13.5px;
  transform: translate(-50%, -50%);
  width: 17px;
  height: 17px;
  background-color: #00A5F7;
  border-radius: 50%;
  transition: background-color 0.2s ease-in-out;
} */

/* .radio__btn span.checkmark {
  display: flex;
  align-items: center;
  gap: 0;
} */

/*end.radioボタン*/

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea,
input[type="file"] {
  width: 100%;
  height: 50px;
  padding: 10px 6px;
  border: 2px solid #C3C8CB;
  background: #fff;
  font-size: 1.5rem;
  box-sizing: border-box;
}

@media screen and (max-width: 768px) {
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
input[type="file"] {
  width: 100%;
  max-width: 382px;
  height: 40px;
  padding: 10px 5px;
  font-size: 1.4rem;
  border-radius: 0;
}

select {
  /* width: 100%; */
  padding: 10px 18px;
  font-size: 1.6rem;
}

.radio__btn input[type="radio"] {
  width: 25px;
  height: 25px;
  margin-right: 9px;
}

}


.foreign {
  height: 126px !important;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.radio {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  min-height: 54px;
  /* margin-top: 17px; */
}
.radio__btn {
  font-size: 1.4rem;
}

.error {
  color: #fff;
  background: #E22525;
  padding: 8px 10px;
  display: none;
}

.error.show {
  display: block
}

.actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px
}

.btn {
  appearance: none;
  border: none;
  padding: 11px 18px;
  font-weight: 700;
  cursor: pointer
}

.btn-primary {
  background: var(--brand);
  color: #fff
}

.btn-outline {
  background: #fff;
  color: var(--brand);
  border: 1px solid var(--brand)
}

.mini {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  color: #333;
  margin-top: 8px
}

#agree[type="checkbox"]{
  width: 30px;
  height: 30px;
}


@media screen and (max-width: 768px) {
  .mini {
  justify-content: start;
  font-size: 1.4rem;
  letter-spacing: 0.07em;
  }
  .foreign {
    height: 150px !important;
  }
}


/* 個人情報ボックス */
 .policy__content {
   min-height: 1000px;
   padding-right: 20px;
 }

.policy {
  border: 2px solid #D9D9D9;
  padding: 20px 43px 11px 23px;
  height: 340px;
  overflow-y: scroll;
  box-sizing: content-box;
  scrollbar-gutter: stable;
}

.policy__content {
  height: 1000px;
  padding-right: 20px;
}

.policy::-webkit-scrollbar {
  width: 34px;
}

.policy::-webkit-scrollbar-track {
  background: transparent;
}

.policy::-webkit-scrollbar-thumb {
  background-color: #D9D9D9;
  border-radius: 20px;
  border: 10px solid transparent;
  background-clip: content-box;
  min-height: var(--scrollbar-thumb-height, 100px);
}

.policy h4 {
  margin-bottom: 4px;
  font-size: 1.6rem;
  font-weight: 700;
}

.policy h2{
    margin-bottom: 4px;
    font-size: 1.6rem;
    font-weight: 700;
}

.policy_txt_right{
  font-size: 1.6rem;
  color: #333;
  line-height: 1.6;
  letter-spacing: 0.06em;
  text-align: right;
  /* margin-top: 10px; */
}

.policy p,
.policy li {
  font-size: 1.6rem;
  color: #333;
  line-height: 1.6;
  letter-spacing: 0.06em;
  margin-top: 10px;
}

.policy td {
  font-size: 1.6rem;
  color: #333;
  line-height: 1.6;
  letter-spacing: 0.06em;
  margin-top: 10px;
}

.policy__ul{
  padding-left: 24px;
}

@media screen and (max-width: 768px) {
    .policy {
      padding: 17px 11px 1px 18px;
      margin-top: 20px;
      min-height: 407px;
      max-height: 0;
      width: 100%;
      max-width: 382px;
      box-sizing: border-box;
      }
  
    .policy h4 {
      font-size: 1.4rem;
      margin-bottom: 0;
    }

    .policy__ul {
      padding-left: 0;
    }
    .policy p,
    .policy li {
      font-size: 1.4rem;
       line-height: 1.2;
    }
    .policy li{
      margin-left:0;
    }

    .policy::-webkit-scrollbar {
      width: 34px;
      /* height: 50px; */
    }

    .policy::-webkit-scrollbar-thumb {
      border: 12px solid transparent;
    }
    
    .agreebox{
      justify-content: center;
      margin-top: 19px !important;
      gap: 10px;
    }

    #agree[type="checkbox"] {
      width: 25px;
      height: 25px;
    }

}


.buttonWrap {
  display: flex;
  justify-content: center;
}

.buttonWrap a{
  display: inline-block;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.formButton.commonBtn {
  width: 400px;
}
.formButton {
    display: inline-block;
    margin: 150px auto 300px;
    padding: 24px 0;
    background-color: #C3C8CB;
    color: #fff;
    font-size: 1.6rem;
    text-align: center;
}
.formButton__icon {
  position: relative;
  color: #fff;
  font-size: 1.8rem;
}
.formButton__icon.nextIcon::before {
  left: auto;
  right: -80px;
  transform: translateY(-50%) rotate(45deg);
}

.formButton__icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%) rotate(-135deg);
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

.c_confirm{
  background-color: #004165;
}


@media screen and (max-width: 768px) {
  .formButton.commonBtn {
      width: 100%;
    }
  .formButton {
      display: inline-block;
      margin: 40px auto 200px;
      padding: 20px 70px;
      color: #fff;
      font-size: 1.8rem;
  }
  .formButton__icon.nextIcon::before {
    right: -40px;
  }
}

/*width サイズ*/
.w518{
  max-width: 518px;
  gap: 22px;
}
.w560{
  max-width: 560px;
}
.w458{
  max-width: 458px;
}
.w160{
  min-width: 160px;
  height: 47px;
}
.w100{
  min-width: 100px;
  height: 47px;
}
.w350{
  max-width: 350px;
}
.w366{
  max-width: 366px;
  gap: 11px;
}

.w200 {
  max-width: 200px;
}

.mt0 {
  margin-top: 0;
  margin-bottom: 0;
}
.mt10{
  margin-top: 10px;
}
.gap0{
  gap: 0;
}

@media screen and (max-width: 768px) {
.w518 {
    gap: 1px;
  }
.w160 {
  min-width: 160px;
  height: 37px;
}

.w100 {
  min-width: 100px;
  height: 37px;
}
.w180_sp{
  gap: 3px;
}

.name {
  margin-top: 33px;
}
  
.name-head-u {
  margin-top: 17px;
}
  
.name-head-l {
  margin-top: 14px;
}
.furi{
  margin-top: 27px;
}
.furi-head-u{
  margin-top: 16px;
}

.furi-head-l{
  margin-top: 14px;
}

.birth{
  margin-top: 29px;
}

.birth-head{
  margin-top: 15px;
  margin-left: 8px;
}
.gender{
  margin-top: 33px;
}
.gender-radio{
  gap: 8px;
  min-height: 52px;
}
.address{
  margin-top: 17px;
}
.address_box {
padding-top: 2px;
}
.address-radio{
  gap: 25px;
  min-height: 49px;
}
.micro-address{
  margin-top: 3px;
  gap: 8px;
}
.micro-address-zip{
  margin-top: 0;
}
.phone{
  margin-top: 20px;
}
.micro-field-phone{
  margin-top: 0;
}
.mail{
  margin-top: 30px;
}
.micro-field-mail{
  margin-top: 14px;
}
.maicro-head-madori{
  margin-top: 4px;
}
.madori{
  gap: 9px;
}
.pii{
  margin-top:31px;
}

.pii__box{
  margin-top: 13px;
}

}

/* @media screen and (max-width: 768px) {
  .w180_sp input[type="text"]{
  max-width: 180px;
  }
} */

.fotter__bottom-copy{
  font-size: 1.8rem;
  text-align: center;
  padding-bottom: 50px;
}

#pref{
  height: 46px;
}

#questionType{
  height: 48px;
}

#zip{
  width: 171px;
}

.select__box {
  position: relative;
  /* display: inline-block; */
}

.select__icon {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  padding: 10px 0 10px 14px;
  border: 2px solid #C3C8CB;
  background-color: #fff;
  cursor: pointer;
  padding-right: 30px;
  background-image: url("../img/select_arrow.svg");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  letter-spacing: 0.12em;
}

.header__block01 {
  height: 70px;
}

@media screen and (max-width: 768px) {

  .select__icon {
    padding-right: 8px;
    width: 180px;
    height: 40px;
    font-size: 1.4rem;
  }
  #pref {
    height: 40px;
  }
  
  #questionType {
    height: 40px;
  }
}

/*チェックボックスカスタマイズ*/
.agreebox {
  /* display: block; */
  display: flex;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  padding-left: 50px;
  cursor: pointer;
  font-size: 1.6rem;
  user-select: none;
  height: 33px;
  margin-right: 10px;
  /**/
  color: #D9D9D9;
  cursor: default;
  pointer-events: none;
}

.agreebox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.agreebox .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  border: 2px solid #C3C8CB;
  /**/
  border-color: #D9D9D9;
}

.agreebox input:checked~.checkmark {
  background-color: #00A5F7;
  border-color: #00A5F7;
}

.agreebox .checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 7px;
  top: 2px;
  width: 11px;
  height: 16px;
  border: solid white;
  border-width: 0 3px 3px 0;
  transform: rotate(31deg);
}

.agreebox input:checked~.checkmark:after {
  display: block;
}

/**/
.scrolled {
  color: #333;
  cursor: pointer;
  pointer-events: auto;
}

.scrolled .checkmark {
  border-color: #333;
}

/* ボタンのデフォルトスタイル */
.formButton {
  display: inline-block;
  margin: 150px auto 300px;
  padding: 24px 0;
  background-color: #D9D9D9;
  color: #fff;
  font-size: 1.6rem;
  text-align: center;
  cursor: default;
  pointer-events: none;
  transition: background-color 0.3s ease;
  @media screen and (max-width: 768px) {
    width: 80%;
  }
}

.formButton.active {
  background-color: #004165;
  cursor: pointer;
  pointer-events: auto;
}


@media screen and (max-width: 768px) {

  .agreebox{
    height: 27px;
    padding-left: 30px;
    justify-content: center;
    width: 105px;
    margin: 0 auto;
  }

  .agreebox .checkmark {
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
  }
  .agreebox .checkmark:after {
    left: 6px;
    top: 2px;
    width: 9px;
    height: 13px;
  }
}
