
/*
*フォーム
*contact.css
*/

/* フォーム共通 */
.input-error {
  display: none;
  margin: 10px 0 0 0;
  font-size: 14px;
  color: #b71e21;
  line-height: 100%;
}

.error-disp {
  display: block !important;
}

.w150 {
  width: 48% !important;
  max-width: 150px !important;
}

.w150-right {
  width: 48% !important;
  max-width: 150px !important;
  margin: 0 0 0 4%;
}

.chui {
  margin: 5px 0 0 0;
  font-size: 12px;
  line-height: 2;
}

/* チェックボックス */
input[type="checkbox"] {
  position: relative;
  margin: 10px 5px 0 0;
  padding: 0 0 0 30px;
  background: none;
  border: none;
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  vertical-align: top;
}

input[type="checkbox"]::before,
input[type="checkbox"]::after {
  content: "";
  display: block;
  position: absolute;
}

input[type="checkbox"]::before {
  background-color: #ffffff;
  border: 1px solid #AAAAAA;
  width: 20px;
  height: 20px;
  top: -2px;
  left: 5px;
  transform: translateY(-50%);
}

input[type="checkbox"]:checked::after {
  border-bottom: 2px solid #035ECC;
  border-left: 2px solid #035ECC;
  height: 5px;
  width: 10px;
  top: -7px;
  left: 11px;
  transform: rotate(-45deg);
}

input[type="checkbox"]:checked::before {
  border: 1px solid #035ECC;
}

/* プライバシーポリシーのチェック */
input[type="checkbox"]#privacy::before {
  background-color: #ffffff;
  border: none;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  top: -2px;
  left: 5px;
  border-radius: 5px;
}

input[type="checkbox"]#privacy:checked::after {
  border-bottom: 2px solid #5E5252;
  border-left: 2px solid #5E5252;
  height: 5px;
  width: 10px;
  top: -7px;
  left: 9px;
  transform: rotate(-45deg);
}

input[type="checkbox"].checked::after {
  border-bottom: 2px solid #5E5252;
  border-left: 2px solid #5E5252;
  height: 5px;
  width: 10px;
  top: -7px;
  left: 9px;
  transform: rotate(-45deg);
}

/* ラジオボタン */
input[type="radio"] {
  margin: 0 10px 0 0;
  padding: 0;
  cursor: pointer;
  padding-left: 30px;
  vertical-align: middle;
  position: relative;
  background: none;
  border: none;
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

input[type="radio"]::before,
input[type="radio"]::after {
  content: "";
  display: block;
  position: absolute;
}

input[type="radio"]::before {
  background-color: #ffffff;
  border: none;
  width: 20px;
  height: 20px;
  border-radius: 20px;
  top: -2px;
  left: 5px;
  transform: translateY(-50%);
}

input[type="radio"]:checked::after {
  width: 10px;
  height: 10px;
  border-radius: 10px;
  top: -7px;
  left: 10px;
  margin: auto;
  background-color: #5E5252;
}


/* フォーム
---------------------------------------------------------- */
#contact-form {
  width: 100%;
  margin: 60px auto 0 auto;
  padding: 0 0 80px 0;
  color: #5E5252;
  letter-spacing: 0.05em;
  background-color: #F6EFEA;
}

#contact-form > img.title {
  width: 100%;
  margin: 0 auto;
}

.contact-box {
  width: 100%;
  margin: 25px auto 0 auto;
  padding: 0 30px;
}

.contact-box > p.txt {
  margin: 0 auto;
  font-size: 14px;
  text-align: left;
  line-height: 1.7;
}

.contact-box > img.step {
  width: 100%;
  margin: 35px auto 0 auto;
}

.contact-box > form {
  width: 100%;
  margin: 60px auto 0 auto;
}

.contact-box > form div.wrap01 {
  width: 100%;
  margin: 0 0 15px 0;
  text-align: left;
}

.contact-box > form div.wrap01-02 {
  margin: 0 0 35px 0;
}

.contact-box > form div.wrap02 {
  position: relative;
  width: 15%;
  padding: 20px 0 0 10px;
  text-align: left;
  vertical-align: top;
}

.contact-box > form div.wrap03 {
  width: 85%;
  margin: 0;
  text-align: left;
  vertical-align: top;
}

.contact-box > form div.wrap01 > span.title {
  display: inline-block;
  margin: 0;
  line-height: 1.4;
  vertical-align: top;
}

.contact-box .must,
.contact-box .nini {
  display: inline-block;
  width: 35px;
  height: 19px;
  padding: 3px 0 0 0;
  margin: 3px 0 0 10px;
  font-size: 12px;
  color: #fff;
  text-align:center;
  background-color: #DDA698;
  line-height: 1;
  vertical-align: top;
  border-radius: 5px;
}

.contact-box .nini {
  background-color: #C1B5B2;
}

.contact-box input[type="text"],
.contact-box input[type="number"],
.contact-box input[type="tel"] {
  font-family: 'Noto Sans JP', sans-serif;
  width: 100%;
  height: 50px;
  padding: 0 10px;
  font-size: 16px;
  background-color: #FFFFFF;
  border: none;
  -webkit-appearance: none;
  border-radius: 5px;
}

.contact-box input[type="number"]::-webkit-inner-spin-button,
.contact-box input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
  -moz-appearance:textfield;
}

.hinichi-wrap {
  position: relative;
}

.hinichi-wrap:before {
  position: absolute;
  top: 1.3em;
  right: 0.9em;
  width: 6px;
  height: 6px;
  padding: 0;
  content: '';
  border-top: 1px solid #8A5B5B;
  border-right: 1px solid #8A5B5B;
  transform: translateX(-50%) rotate(135deg);
  pointer-events: none;
  z-index: 2;
}

.hinichi-wrap:after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  content: '';
  pointer-events: none;
  z-index: 1;
}

input::placeholder,
textarea::placeholder {
  color: #D6D6D6;
}
input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
  color: #D6D6D6;
}

input::-ms-input-placeholder,
textarea::-ms-input-placeholder {
  color: #D6D6D6;
}

.select-wrap {
  display: block;
  overflow: hidden;
  width: 100%;
  position: relative;
  border: none;
  background: #FFFFFF;
  border-radius: 5px;
}

.select-wrap select {
  width: 100%;
  height: 50px;
  padding: 0 20px;
  cursor: pointer;
  text-indent: 0.01px;
  text-overflow: ellipsis;
  border: none;
  outline: none;
  background: transparent;
  background-image: none;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  color:#040000;
}

.select-wrap select::-ms-expand {
  display: none;
}

.select-wrap:before {
  position: absolute;
  top: 1.3em;
  right: 0.9em;
  width: 6px;
  height: 6px;
  padding: 0;
  content: '';
  border-top: 1px solid #8A5B5B;
  border-right: 1px solid #8A5B5B;
  transform: translateX(-50%) rotate(135deg);
  pointer-events: none;
  z-index: 2;
}

.select-wrap:after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  content: '';
  pointer-events: none;
  z-index: 1;
}

.contact-box textarea {
  font-family: 'Noto Sans JP', sans-serif;
  width: 100%;
  height: 150px;
  padding: 20px;
  font-size: 16px;
  text-align: left;
  border: none;
  background-color: #ffffff;
  -webkit-appearance: none;
  border-radius: 5px;
}

.contact-box .check-list li {
  display: inline-block;
  margin: 0 7px 10px 0;
}

.contact-box .check-list li label {
  position: relative;
  display: block;
  width: 100%;
  line-height: 1.4;
  margin: 0;
  padding: 0 0 0 33px;
}

.contact-box .check-list li label input {
  position: absolute;
  top: 14px;
  left: 0;
}

/* プライバシーポリシー */
.contact-box div.privacy-txt {
  width: 100%;
  margin: 30px auto 0 auto;
  padding: 20px 10px 20px 20px;
  background-color: #FFFFFF;
  border-radius: 5px;
}

.contact-box div.privacy-txt > p {
  font-size: 14px;
  line-height: 1;
}

.contact-box div.privacy-txt > div {
  width: 100%;
  height: 100px;
  margin: 20px 0 0 0;
  overflow-y: scroll;
  padding-right: 20px;
  font-size: 12px;
  text-align: left;
}

.contact-box div.privacy-txt > div::-webkit-scrollbar {
  height: 20px;
  width: 2px;
}

.contact-box div.privacy-txt > div::-webkit-scrollbar-thumb {
  background-color: #918A8A;
  border-radius: 10px;
}

.contact-box div.privacy-txt > div::-webkit-scrollbar-track {
  background-color: #fff;
  border-radius: 10px;
}

/* Firefox用 */
.contact-box div.privacy-txt > div {
  scrollbar-width: thin;
  scrollbar-color: #918A8A #fff;
}

.contact-box div.privacy {
  margin: 20px 0 0 0;
  font-size: 16px;
  line-height: 1;
  text-align: left;
}

/* ボタン */
#btn_position {
  margin: 50px auto 0 auto;
  text-align:center;
}

#btn_position a {
  display: block;
  width: 90%;
  max-width: 255px;
  margin: 0 auto;
}

#btn_position02 {
  margin: 30px auto 0 auto;
  text-align:center;
}

#btn_position02 a {
  margin: 0 auto;
  color: #040000;
  letter-spacing: 0.05em;
  text-decoration: underline;
}

/* 完了画面 */
.contact-box-thanks {
  width: 100%;
  margin: 60px auto 0 auto;
}

.contact-box-thanks > p.txt01 {
  margin: 0 auto;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.contact-box-thanks > p.txt02 {
  margin: 30px auto 0 auto;
  font-size: 14px;
  text-align: left;
  letter-spacing: 0.05em;
}

.btn-home {
  margin: 50px auto 0 auto;
}

.btn-home > a {
  display: block;
  width: 90%;
  max-width: 255px;
  margin: 0 auto;
}

/*===============================================
●画面の横幅が768px以下(スマホのみ)
===============================================*/
@media screen and (max-width: 768px) {

}

/*===============================================
●画面の横幅が360px以下(スマホのみ)
===============================================*/
@media screen and (max-width: 360px) {

}


