@charset "utf-8";
/* txt_msg
=============================================== */
.txt_msg{
  font-size: 1.9rem;
  font-weight: 500;
}
.txt_note{
  padding-left: 1em;
  text-indent: -1em;
  line-height: 1.75;
}
.area_err,
.wpcf7 form.area_form .wpcf7-response-output{
  padding:17px 30px;
  background-color: #ffeced;
  border: solid 1px var(--font-red);
  border-radius: var(--radius);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--font-red);
}
.wpcf7 form.area_form .wpcf7-response-output{
  margin: 0 0 30px;
}
.wpcf7 form.area_form.invalid .wpcf7-response-output,
.wpcf7 form.area_form.unaccepted .wpcf7-response-output,
.wpcf7 form.area_form.payment-required .wpcf7-response-output  {
  border-color: var(--font-red);
}
.area_err ul{
  list-style: disc;
  line-height: 1.733;
}
@media screen and (max-width :834px) {
  .txt_msg{
    font-size: 1.5rem;
  }
  .area_err{
    padding:15px 16x;
    font-size: 1.3rem;
    
  }  
  .area_err ul{
    line-height: 1.615;
  }  
  .area_err ul li+li{
    margin-top: 3px;
  }
}

/* area_form
=============================================== */
.area_form{
  line-height: 1.625;
}
.area_form fieldset+fieldset{
  margin-top: 40px;
}
.area_form dt{
  position: relative;
  font-weight: 500;
}
.area_form dt span{
  display: inline-block;
  margin-left: 12px;
  padding: 3px 6px 4px;
  line-height: 1;
  color: #fff;
  background: #e60012;
  border-radius: 4px;
  font-size: 1.3rem;
}
.area_form dd input:not([type="file"]):not([type="checkbox"]),
.area_form dd textarea,
.area_form .box_select select{
  appearance: none;
  width: 100%;
  border:none;
  font-size:16px;
  font-family:var(font-main);
  color: var(--font-black);
  font-weight: 400;      
  line-height: var(--lh-sub);
  border-radius: 8px;
  padding: 15px 20px;
  box-sizing: border-box;
  border: solid 1px var(--color-border);  
}
.area_form dd.is_error input:not(:focus),
.area_form dd.is_error textarea:not(:focus){
  color: var(--font-red);
  border-color:  var(--font-red);
}
.area_form dd input::placeholder,.area_form dd textarea::placeholder {
  color: var(-font-glay);
  opacity: 1;
}

.area_form dd input:not([type="file"]):focus,
.area_form dd textarea:focus,
.area_form .box_select select:focus{
  border: solid 1px #fff;  
  outline: 1px solid var(--main-color);
  box-shadow: 0 0 8px rgba(40, 81, 174, 0.3);
}

/* box_select */
.area_form .box_select select{
  display:block;
  overflow:hidden;
  padding: 0;
  background:url("/assets/img/ico_select.svg")no-repeat right 16px center;
  width:100%;
  padding: 15px 45px 15px 20px;
  background-color:transparent;
  appearance: none;
  cursor: pointer;
  font-size:16px;  
  border-radius: 8px;  
  color: var(--font-black);
  font-weight: 400;  
}
.area_form .box_select label{
  display: block;
  position: relative;
}
.area_form .box_select label::after{
  content: '';
  display: block;
  width: 1px;
  height: 30px;
  position: absolute;
  top: 12px;
  right: 42px;
  background-color: var(--color-border);
}

/*box_checkbox*/
.area_form .box_checkbox{
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px 29px;
}
.area_form .box_checkbox input{
  width: 16px !important;
  margin-right: 7px;  
  accent-color: var(--main-color);
}


/*box_file*/
.area_form .box_file{
  padding: 11px 0;
}
.area_form .box_file input{
  width: 100%;
  padding: 4px;
}

.area_form .box_file input::file-selector-button {
  appearance: none;
  margin-right: 12px;
  width: 140px;
  list-style: 1;
  padding: 12px 0;
  background: #fff;
  border: solid 1px var(--color-border);
  border-radius: 22px;
  text-align: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.5s ease;
  color: var(--font-black);
  font-weight: 400;    
  transition-property: all ;
  transition-duration: .5s;
  transition-timing-function: cubic-bezier(.4,0,.2,1);  
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
}

/*txt_poricy*/
.txt_poricy{
  margin-top: 64px;
}
.txt_poricy .box_checkbox{
  justify-content: center;
}
.txt_poricy .box_checkbox label:nth-child(n+2){
  margin-top: 10px;
}
.txt_poricy .box_checkbox label .checkbox_text{
  line-height: var(--lh-sub);
}
.txt_poricy .err{
  text-align: center;
}
/*cmn_btn*/
.area_form .cmn_btn{
  margin-top: 30px;
  text-align: center;
}
.area_form .cmn_btn button{
  border-radius: 8px;
}
/*err*/
.area_form .err,
.area_form .wpcf7-not-valid-tip{
  display: block;
  color: var(--font-red);
  margin-top: 3px;
  font-size: 1.3rem;
  font-weight: 500;
}
/*txt*/
.area_form .txt{
  font-weight: 500;
  color: var(--font-glay);
}
.area_form *+.txt,
.area_form .txt+*{
  margin-top: 5px;
}
@media (hover: hover) and (pointer: fine) {
  .area_form .box_file input::file-selector-button:hover{
    box-shadow: 0px 4px 8px 0px rgba(40, 81, 174, 0.1);
    border-color: var(--main-color);
     color: var(--main-color);
  }
}
@media (min-width :835px){
  .area_form dl >*{
    display:flex;  
    align-items: flex-start;
  }  
  .area_form dt{
    width: 258px;
    min-height: 54px;
    padding-right: 39px;
    display: flex;
    align-items: center;
  }
  .area_form dd{
    flex:1;
  }  
  .area_form .size_s{ 
    width: 242px;
    flex-grow:0;
    flex-basis: inherit;
  }
  .area_form .size_m{ 
    width: 396px;
    flex-grow:0;
    flex-basis: inherit;
  }  
  .area_form .size_l{ 
    width: 443px;
    flex-grow:0;
    flex-basis: inherit;
  }    
}
@media screen and (max-width :834px) {
  .area_form fieldset+fieldset{
    margin-top: 20px;
  }

  .area_form dt span{
    margin-left: 6px;
    padding: 3px 4.5px 4px;
    font-size: 1.2rem;
  }
  .area_form dd{
    margin-top: 7px;
  }
  .area_form dd input:not([type="file"]):not([type="checkbox"]),
  .area_form dd textarea,
  .area_form .box_select select{
    padding: 6px 10px;
  }
  /* box_select */
  .area_form .box_select select{
    background-position:right 12px center;
    padding: 6px 40px 6px 10px;
  }
  .area_form .box_select label::after{
    height: 24px;
    top: 8px;
    right: 32px;
  }

  /*box_checkbox*/
  .area_form .box_checkbox{
    gap: 8px 22px;
  }
  .area_form .box_checkbox input{
    width: 14px !important;
  }


  /*box_file*/
  .area_form .box_file{
    padding: 0;
  }
  .area_form .box_file input{
    width: 100%;
    padding: 2px 0;
  }
  .area_form .box_file input::file-selector-button {
    margin-right: 8px;
    width:123px;
    padding: 3px 0 !important;
    border-radius:30px;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.1);
  }

  /*txt_poricy*/
  .txt_poricy{
    margin-top: 24px;
  }
  .txt_poricy .box_checkbox{
    justify-content: flex-start;
  }
  .txt_poricy .box_checkbox label{
    display: flex;
    align-items: flex-start;
  }
  .txt_poricy .box_checkbox label:nth-child(n+2){
    margin-top: 0;
  }
  .txt_poricy .box_checkbox label input{
    margin-top: 5px;
  }
  .txt_poricy .err{
    text-align: left;
  }
  /*cmn_btn*/
  .area_form .cmn_btn{
    margin-top: 20px;
  }
  /*err*/
  .area_form .err,
  .area_form .wpcf7-not-valid-tip{
    margin-top: 3px;
    font-size: 1.2rem;
  }
}

/* 非アクティブ時 */
.area_form.is_close dd input:not([type="file"]):not([type="checkbox"]),
.area_form.is_close dd textarea,
.area_form.is_close dd .box_select select{
  background-color: #f3f6f7;
  pointer-events: none;
  color: #a5a7a8;
}
.area_form.is_close dd input[type="file"] {
  pointer-events: none;
  color: #a5a7a8;
}
.area_form.is_close dd input[type="file"]::file-selector-button {
  background-color: #f3f6f7;
  color: #a5a7a8;
}
.area_form.is_close dd .box_select select:active{
  outline: none;
}
.area_form.is_close .txt_poricy {
  color: #a5a7a8;
  pointer-events: none;
}
.area_form.is_close input[type="checkbox"] {
  border: 1px solid #a5a7a8;
}
.area_form.is_close a,
.area_form.is_close a:link,
.area_form.is_close a:visited{
  color: #a5a7a8;
}
.area_form.is_close .cmn_btn button {
  opacity: 0.6;
  pointer-events: none;
}
/* フォームページのみ表示 */
.grecaptcha-badge {
  display: block!important;
}
#pagetop {
  display: none;
}