@charset "utf-8";
main{
  background-color: var(--bg-rgreen);
  padding-bottom: 80px;
}
@media screen and (max-width :834px){
  main{
    padding-bottom: 40px;
  }
}
/* wrap_intro_form
=============================================== */
.wrap_intro_form{
  padding: 130px 0 50px;
}
.wrap_intro_form h1{
  font-size: 4rem;
  color: var(--main-color);
  text-align: center;
  font-weight: 700;
}

@media screen and (max-width :834px){
  .wrap_intro_form{
    padding: 90px 0 30px;
  }
  .wrap_intro_form h1{
    font-size: 2.64rem;
    line-height: 1.538;
  }
}

/* cmn_form
=============================================== */
.cmn_form{
  padding: 58px 64px;
  background-color: #fff;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}
/* txt_msg */
.cmn_form .txt_msg{
  margin-bottom: 35px;
}
.cmn_form .wpmem_msg {
  width: 100%;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  margin: 0;
}
/* txt_err */
.cmn_form .txt_err{
  margin-bottom: 30px;
  padding: 8px 12px;
  text-align: center;
  border: solid 1px var(--font-red);
}
.cmn_form .txt_err >p{
  display: inline-block;
  padding-left: 37px;
  color: var(--font-red);
  background: url(../img/ico_err.svg)no-repeat center left;
  background-size: 25px auto;
}
.cmn_form .bnt_submit{
  margin-top: 48px;
}

/* wrap_form */
.wrap_form fieldset{
  display: flex;
  padding: 32px 0;
  border-top: solid 1px var(--color-border);
}
.wrap_form fieldset.is_column{
  flex-direction: column;
}
.wrap_form fieldset:last-child{
  border-bottom: solid 1px var(--color-border);
}
.wrap_form fieldset .col_ttl{
  width: 320px;
  padding-right: 82px;
  font-weight: 500;
  line-height: normal;
}
.wrap_form fieldset .col_ttl legend > span,
.wrap_form fieldset .required{
  margin-left: 8px;
  padding: 1px 8px;
  background-color: var(--font-red);
  color: #fff;
  line-height: 1;
  font-size: 1.3rem;
  border-radius: 4px;
}

.wrap_form fieldset .txt_note{
  margin-bottom: 15px;
}
/* col_input */
.wrap_form fieldset .col_input{
  flex: 1;
  max-width: 512px;
}
.wrap_form fieldset .col_input >p+p{
  margin-top: 16px;
}
/* col_textarea */
.wrap_form fieldset .col_textarea{
  flex: 1;
}
.wrap_form fieldset .col_textarea textarea{
  height: 112px;
}
/* input_flex */
.wrap_form fieldset .input_flex{
  display: flex;
  align-items: center;
  gap: 0 40px;
}
/* input_row */
.wrap_form fieldset .input_row{
  display: flex;
  align-items: center;
  gap: 0 14px;
}
.wrap_form fieldset .input_row > span{
  flex-shrink: 0;
}
/* area_privacy */
.wrap_form .area_privacy{
  padding: 20px 0 32px;
}
.wrap_form .area_privacy .ttl_col{
  font-size: 1.8rem;
  margin-bottom: 5px;
}
.wrap_form .area_privacy .ttl_col::before{
  content: '';
  display:inline-block;
  width: 12px;
  height: 12px;
  margin-right:8px;
  border-radius: 50%;
  background-color: var(--font-black);
}
.wrap_form .area_privacy .txt_privacy{
  width: 100%;
  height: 150px;
  overflow-y: auto;
  padding: 11px 10px;
  border: solid 1px var(--color-border);
  border-radius: 4px;
}

.wrap_form .area_privacy .txt_privacy .txt_head {
  font-weight: bold;
}
.wrap_form .area_privacy .txt_privacy .txt_head:nth-child(n+2) {
  margin-top: 15px;
}
.wrap_form .area_privacy .txt_privacy .list_disc > li{
 position: relative;
 padding-left: 1.5em;
}
.wrap_form .area_privacy .txt_privacy .list_disc > li:before {
  display: block;
  position: absolute;
  top:calc(0.5em + 4px);
  left:0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
	background-color: var(--main-color);
	content:"";
}
.wrap_form .area_privacy .box_checkbox{
  margin-top: 32px;
  padding: 31px 10px;
  background-color: var(--bg-rgreen);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.wrap_form .area_privacy .box_checkbox .input{
  margin: 0;

}
.wrap_form .area_privacy .box_checkbox .col_ttl {
  width: auto;
  padding-right: 0;
  margin-bottom: 0;
}

/* input */
.wrap_form input:not([type="file"]):not([type="checkbox"]),
.wrap_form textarea{
  appearance: none;
  width: 100%;
  padding: 11px 10px;
  font-size: 16px;
  border: solid 1px var(--color-border);
  border-radius: 4px;
  background-color: #fff;
  box-sizing: border-box;
}
.wrap_form input:not([type="file"]):focus,
.wrap_form textarea:focus{
  border: solid 1px #fff;  
  outline: 1px solid var(--color-border);
  background-color: #fff;
}
.wrap_form .is_err input:not([type="file"]),
.wrap_form .is_err textarea{
  border: solid 1px #fff;  
  outline: 1px solid var(--font-red);
  background-color: #ffece7;
}
.wrap_form input:not([type="file"]):placeholder-shown,
.wrap_form textarea:placeholder-shown{
  background-color: var(--bg-gray);
}
/* box_checkbox */
.wrap_form .box_checkbox label{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 1.8rem;
}
.wrap_form .box_checkbox input{
  transform: scale(1.428);
}
@media (min-width :835px){
  .wrap_form .input_middle input{
    max-width: 300px;
  }
  .wrap_form .input_small input{
    max-width: 200px;
  }  
}

@media screen and (max-width :834px){
  .cmn_form{
    padding: 37px 20px;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
  }  
  /* txt_msg */
  .cmn_form .txt_msg{
    margin-bottom: 30px;
  }
  /* txt_err */
  .cmn_form .txt_err{
    margin-bottom: 20px;
    padding: 12px 16px;
  }
  .cmn_form .txt_err >p{
    text-align: left;
    line-height: 1.467;
    padding-left:35px;
    background-size: 25px auto;
  }
  .cmn_form .bnt_submit{
    margin-top: 32px;
  }

  /* wrap_form */
  .wrap_form fieldset{
    display: block;
    padding: 17px 0 24px;
  }
  .wrap_form fieldset .col_ttl{
    display: block;
    width: 100%;
    padding-right: 0;
    margin-bottom: 13px;
  }
  .wrap_form fieldset .col_ttl legend > span,
  .wrap_form fieldset .required{
    margin-left: 6px;
    padding: 1px 7px;
    font-size: 1.1rem;
  }
  .wrap_form fieldset .txt_note{
    margin-bottom: 16px;
  }
  /* col_input */
  .wrap_form fieldset .col_input >p+p{
    margin-top: 12px;
  }
  /* col_textarea */
  .wrap_form fieldset .col_textarea textarea{
    height: 189px;
  }  
  /* input_flex */
  .wrap_form fieldset .input_flex{
    flex-direction: column;
    gap: 12px 0;
  }
  /* input_row */
  .wrap_form fieldset .input_row{
    width: 100%;
    gap: 0 10px;
  }
  .wrap_form fieldset .input_row .label{
    width: 65px;
  }
  .wrap_form fieldset .input_row input{
    flex: 1;
  }    
  /* area_privacy */
  .wrap_form .area_privacy{
    padding: 20px 0 24px;
  }
  .wrap_form .area_privacy .ttl_col{
    font-size: 1.6rem;
    margin-bottom: 0;
  }
  .wrap_form .area_privacy .ttl_col::before{
    width: 11px;
    height: 11px;
  }
  .wrap_form .area_privacy .txt_privacy{
    padding:7px 10px;
  }
  .wrap_form .area_privacy .box_checkbox{
    padding: 20px 10px;
  }

  /* input */
  .wrap_form input:not([type="file"]):not([type="checkbox"]),
  .wrap_form textarea{
    padding:7px 10px;
  }
  /* box_checkbox */
  .wrap_form .box_checkbox label{
    gap: 10px;
    font-size: 1.5rem;
  }
  .wrap_form .box_checkbox input{
    transform: scale(1.07);
  }
}



/* box_form_flow */
.box_form_flow{
  margin-bottom: 30px;
}
.box_form_flow ul li{
  position: relative;
  width: calc(100% / 3);  
}
.box_form_flow ul li p{
  width: 100%;
  display: flex;
	align-items: center;
  justify-content: center;
  height: 80px;
  color: var(--font-gray);
  text-align: center;
  font-size: 2.2rem;
  background: var(--bg-gray);  
  border: solid 1px var(--color-border);
}
.box_form_flow ul li:first-child p{
  padding-right: 7.8%;
  border-right: none;
}
.box_form_flow ul li:nth-child(2) p{
  border-right: none;
}
.box_form_flow ul li:nth-child(n+2) p{
  padding-left: 7.8%;
}
.box_form_flow ul li.active p{
  color: #fff;
  background: var(--main-color);  
}

.box_form_flow ul li:not(:last-child):after,
.box_form_flow ul li:not(:last-child)::before{
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 40px 0 40px 32px;
  border-color: transparent transparent transparent var(--main-color);
  position: absolute;
  right: -31px;
  top: 0;
  z-index: 11;  
}
.box_form_flow ul li:not(:last-child):after{
  right: -32px;
  border-color: transparent transparent transparent var(--color-border);
  z-index: 10;
}
.box_form_flow ul li:not(.active)::before{
  border-color: transparent transparent transparent var(--bg-gray);
}

.box_form_flow ul li p .no{
  border-radius: 50%;
  color: #fff;
  background-color: var(--font-gray);
  width: 24px;
  height: 24px;
  margin-right: 12px;
  font-family: var(--font-ro);
  line-height: 24px;
  font-size: 1.7rem;
}
.box_form_flow ul li.active p .no{
  color: var(--main-color);
  background-color: #fff;
}
@media screen and (max-width :834px) {
  .box_form_flow{
    margin-bottom: 30px;
  }
  .box_form_flow ul li p{
    height: 60px;
    font-size: 1.6rem;
  }
  .box_form_flow ul li:first-child p{
    padding-right: 9.7%;
  }
  .box_form_flow ul li:nth-child(n+2) p{
    padding-left: 9.7%;
  } 
  .box_form_flow ul li:not(:last-child):after,
  .box_form_flow ul li:not(:last-child)::before{
    border-width: 30px 0 30px 12px;
    right: -11px;
  }
  .box_form_flow ul li:not(:last-child):after{
    right: -12px;
  }

  .box_form_flow ul li p .no{
    width:15px;
    height: 15px;
    margin-right: 6px;
    line-height: 15px;
    font-size: 1.1rem;
  }
}


/* wrap_confirm
=============================================== */
.wrap_confirm .row{
  display: flex;
  border-top: solid 1px var(--color-border);
  border-left: solid 1px var(--color-border);
  border-right: solid 1px var(--color-border);
}
.wrap_confirm .row+.row{
  border-top: solid 1px var(--color-border);
}
.wrap_confirm .row:last-child{
  border-bottom: solid 1px var(--color-border);
}
.wrap_confirm .row dt,
.wrap_confirm .row dd{
  padding: 12px 19px;
}
.wrap_confirm .row dt{
  width: 299px;
  background-color: var(--bg-rgreen);
}
@media (min-width :835px){
  .wrap_confirm .row dd{
    flex: 1;
    border-left: solid 1px var(--color-border);
  }
}
@media screen and (max-width :834px) {
  .wrap_confirm .row{
    display: block;
  }
  .wrap_confirm .row dt,
  .wrap_confirm .row dd{
    padding: 5px 12px;
  }
  .wrap_confirm .row dt{
    width: 100%;
  }
  .wrap_confirm .row dd{
    border-top: solid 1px var(--color-border);
  }  
}


/* wrap_finish
=============================================== */
.wrap_finish{
  padding-top: 30px;
  text-align: center;
}
.wrap_finish .ttl{
  margin-bottom: 30px;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: var(--lh-sub);
  color: var(--main-color);
}
@media screen and (max-width :834px) {
  .wrap_finish{
    padding-top: 0;
    text-align: left;
  }
  .wrap_finish .ttl{
    margin-bottom: 17px;
    font-size:1.6rem;
  }  
}
