﻿ /**************************************
formSetting
**************************************/
input[type=text],
input[type=password],
input[type=tel],
input[type=email],
input[type=number] {
  width: 100%;
  padding: 1.6rem 2.4rem;
  border: 1px solid #A6A6A6;
  background-color: #F0F0F0;
  font-size: 2.8rem;
  outline: none;
  line-height: 1;
}

textarea {
  width: 100%;
  min-height: 16rem;
  padding: 2.4rem 2.4rem;
  border: 1px solid #A6A6A6;
  background-color: #F0F0F0;
  font-size: 2.8rem;
  outline: none;
}

input[type=text].formrun-has-error,
input[type=password].formrun-has-error,
input[type=tel].formrun-has-error,
input[type=email].formrun-has-error,
input[type=number].formrun-has-error,
textarea.formrun-has-error{
  border-color: #E64747;
  border-width: 2px;
  box-shadow: 0 4px 4px rgba(0,0,0,.25);
}

:placeholder-shown { color: #A5A5A5;}
::-webkit-input-placeholder { color: #A5A5A5;}
:-moz-placeholder { color: #A5A5A5;}
::-moz-placeholder { color: #A5A5A5;}
:-ms-input-placeholder { color: #A5A5A5;}


input[type=radio] {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  vertical-align: middle;
  background-color: #FFFFFF;
  border: 1px solid #A6A6A6;
  cursor: pointer;
  position: relative;
  transition: all 0.15s ease-in-out;
  line-height: 1.5;
}


input[type=radio]::after {
  content: "";
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.8rem;
  height: 1.8rem;
  background-color: #3889FF;
  border-radius: 50%;
  transform: scale(0) translate(-50%, -50%);
  transform-origin: left top;
  transition: all 0.15s ease-in-out;
}


input[type=radio]:checked::after {
  transform: scale(1) translate(-50%, -50%);
}


input[type=checkbox] {
  width: 3rem;
  height: 3rem;
  vertical-align: middle;
  background-color: #FFFFFF;
  background-size: 2.5rem;
  background-image: url( "../img/common/icon_checkbox.svg");
  background-repeat: no-repeat;
  background-position: center;
  border: 1px solid #000000;
  cursor: pointer;
  transition: background-color 0.15s ease-in-out, background-position 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

input[type=checkbox]:checked {
  background-color: #3889FF;
  border-color: #3889FF;
  background-image: url( "../img/common/icon_checkbox_active.svg");
}





/**************************************
newsDetail
**************************************/
#formSection{
  display: block;
  width: 100%;
  padding: 30rem 5rem 16rem;
  margin: 0 auto;
  position: relative;
}

#formSection .errMsg{
  margin-top: 1.6rem;
  font-size: 2.4rem;
  font-weight: 500;
  color: #E64747;
}

#formSection a{
  color: #3889FF;
  text-decoration: underline;
}

#formSection .fomtTTL{
  font-size: 4.8rem;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 8rem;
  text-align: center;
}

#formSection .formLede{
  text-align: left;
  margin-bottom: 3.2rem;
  padding-bottom: 3.2rem;
  border-bottom: 1px solid #A5A5A5;
}
#formSection .formLede .required{
  color: #E64747;
}


#formSection .formContentsBG{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip-path: inset(0);
  z-index: -1;
}

#formSection .formContentsBG::after{
  content: '';
  display: block;
  width: 100vw;
  height: 100vh;
  background: url("../img/common/background_gray_sp.jpg") center center repeat;
  background-size: 100% auto;
  position: fixed;
  top: 0;
  right: 0;
  z-index: -1;
}

/****/
#formSection .formSectionInner{
  display: block;
  width: 100%;
  margin: 0 auto;
}

#formSection .formTable{
  display: block;
  width: 100%;
  margin: 0 auto;
  padding: 4rem;
  background: #FFFFFF;
}


#formSection .formTable > dl{
  display: block;
}
#formSection .formTable > dl + dl{
  display: block;
  margin-top: 3.2rem;
}

#formSection .formTable > dl > dt{
  margin-bottom: 0.4rem;
  font-size: 2.8rem;
  font-weight: 700;
}
#formSection .formTable > dl.required > dt::after{
  content: '*';
  color: #E64747;
}
#formSection .formTable > dl > dd.note{
  margin-bottom: 1.6rem;
  font-size: 2.4rem;
}

#formSection .formTable > dl > dd.note ul.cautionList > li{
  text-indent: -1em;
  padding-left: 1em;
}

#formSection .formTable > dl > dd.input{
  display: block;
}

#formSection .formTable > dl > dd.input.radioList{
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  gap: 0.4rem 0;
}

#formSection .formTable > dl > dd.input.radioList label{
  display: inline-flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0 0.4rem;
  cursor: pointer;
}


#formSection .privacyCheck{
  display: block;
  margin-top: 6.4rem;
  text-align: center;
}

#formSection .privacyCheck > p{
  display: flex;
  justify-content: center;
  align-items: center;
}

#formSection .privacyCheck input[type=checkbox]{margin-right: 0.8rem;}

#formSection .privacyCheck .required{
  color: #E64747;
}

#formSection .btnBlack{
  margin: 6.4rem auto 0;
}

/*thanks page**********/

#formSection .formThanksMsg{
  display: block;
  width: 100%;
  margin: 0 auto;
  padding: 4rem;
  background: #FFFFFF;
}

#formSection .thanksTTL{
  display: block;
  padding-bottom: 4.8rem;
  margin-bottom: 4rem;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  color: #000000;
  position: relative;
}

#formSection .thanksTTL::after{
  content: '';
  display: block;
  width: 6.4rem;
  height: 1px;
  background: #A6A6A6;
  position: absolute;
  left: calc(50% - 32px);
  bottom: 0;
}

#formSection .formThanksMsg .msg{
  font-size: 2.8rem;
  text-align: center;
}


/**************/
#formSection .contactTel{
  display: block;
  width: 100%;
  margin: 0 auto 6.4rem;
  padding: 5.6rem 3rem 4.9rem;
  border: 1px solid #000000;
  background: #F0F0F0;
}

#formSection .contactTel > dl{
  display: block;
}
#formSection .contactTel .ttl{
  display: block;
  font-size: 2.8rem;
  font-weight: 400;
  margin-bottom: 2.4rem;
  padding-bottom: 1.6rem;
  text-align: center;
  position: relative;
}

#formSection .contactTel .ttl::after{
  content: '';
  display: block;
  width: 6.4rem;
  height: 1px;
  background: #A5A5A5;
  position: absolute;
  left: calc(50% - 3.2rem);
  bottom: 0;
}


#formSection .contactTel .tel{
  display: block;
  margin-bottom: 1.6rem;
  text-align: center;
}

#formSection .contactTel .tel .num{
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0 2.4rem;
  font-size: 4.8rem;
  font-weight: 700;
  color: #000000;
  text-decoration: none;
}
#formSection .contactTel .tel .num::before{
  content: '';
  display: block;
  width: 4.8rem;
  height: 4.8rem;
  background: url("../img/common/icon_tel.svg") center center no-repeat;
  background-size: 100% auto;
}

#formSection .contactTel .reception{
  text-align: center;
  font-size: 2.8rem;
}

