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

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

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

/* チェックボックス */
input[type="checkbox"] {
  margin: 0 10px 0 0;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

input[type="checkbox"] {
  cursor: pointer;
  padding-left: 30px;
  vertical-align: middle;
  position: relative;
}

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: 1px solid #035ECC;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  top: -2px;
  left: 5px;
}

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

/* ラジオボタン */
input[type="radio"] {
  margin: 0 10px 0 0;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

input[type="radio"] {
  cursor: pointer;
  padding-left: 30px;
  vertical-align: middle;
  position: relative;
}

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

input[type="radio"]::before {
  background-color: #ffffff;
  border: 1px solid #AAAAAA;
  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: 11px;
  background-color: #035ECC;
}

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


/* contact-box
---------------------------------------------------------- */
.contact-box {
  width: 90%;
  margin: 6% auto 60px auto;
  padding: 6% 0 0 0;
}

.contact-box > p.title {
  margin: 0 auto;
  font-size: 22px;
  font-weight: 700;
}

.contact-box > .box-tel {
  width: 100%;
  margin: 8% auto 0 auto;
  padding: 7% 0;
  background-color: #FAFAFA;
}

.contact-box > .box-tel > p {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.contact-box > .box-tel > a {
  display: block;
  width: 250px;
  margin: 10px auto 0 auto;
}

/* フォーム */
.contact-form {
  width: 100%;
  margin: 10% auto 0 auto;
}

.contact-form > img.step {
  width: 280px;
  margin: 0 auto;
}

.contact-form > form div.input-title {
  width: 100%;
  margin: 35px auto 30px auto;
  padding: 0 0 10px 0;
  font-size: 24px;
  font-weight: bold;
  line-height: 100%;
  text-align: left;
  border-bottom: #000000 1px solid;
}

.contact-form > form div.input-title span.num {
  display: inline-block;
  width: 30px;
  height: 30px;
  margin: -1px 10px 0 0;
  padding: 6px 0 0 0;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  line-height: 100%;
  text-align: center;
  background-color: #333333;
  border-radius: 36px;
  line-height: 1;
  vertical-align: top;
}

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

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

.contact-form > form div.wrap02 {
  display: inline-block;
  position: relative;
  width: 25%;
  padding: 16px 0 0 0;
  text-align: left;
  vertical-align: top;
}

.contact-form > form div.wrap03 {
  display: inline-block;
  width: 73%;
  margin: 0;
  text-align: left;
  vertical-align: top;
}

.contact-form > form span.title {
  display: inline-block;
  margin: 2px 0 0 0;
  font-size: 15px;
  font-weight: bold;
  line-height: 1.4;
  vertical-align: top;
}

.txt-s {
  display: inline-block;
  margin: 0 0 0 10px;
  font-size: 14px;
  font-weight: normal;
  line-height: 1;
}

.contact-form .must {
  display: inline-block;
  width: 44px;
  height: 24px;
  padding: 5.5px 0 0 0;
  margin: 0 10px 0 0;
  font-size: 12px;
  color: #fff;
  text-align:center;
  background-color: #A6211E;
  line-height: 1;
  vertical-align: top;
}

.contact-form .nini {
  display: inline-block;
  width: 44px;
  height: 24px;
  padding: 5.5px 0 0 0;
  margin: 0 10px 0 0;
  font-size: 12px;
  color: #fff;
  text-align:center;
  background-color: #ABABAC;
  line-height: 1;
  vertical-align: top;
}

.contact-form > form .chui{
  margin: 10px 0 0 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.8;
  text-align: left;
}

.contact-form > form .chui02{
  color: #DC0023;
}

.contact-form input[type="text"],
.contact-form input[type="number"],
.contact-form input[type="tel"] {
  width: 100%;
  height: 50px;
  padding: 5px 20px 0 20px;
  font-size: 16px;
  border: #D6D2D2 1px solid;
  background-color: #FAFAFA;
  -webkit-appearance: none;
  border-radius: 0;
}

.contact-form input#hinichi {
  position: relative;
  width: 100%;
  z-index: 999;
}

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

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

.select-wrap {
  display: inline-block;
  overflow: hidden;
  width: 100%;
  position: relative;
  border: 1px solid #D6D2D2;
  background: #FAFAFA;
}

.select-wrap select {
  width: 100%;
  height: 50px;
  padding: 5px 20px 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:#333333;
}

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

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

.select-wrap:after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  content: '';
  border-left: 50px solid #fff;
  pointer-events: none;
  z-index: 1;
}

.contact-form textarea {
  width: 100%;
  height: 150px;
  padding: 20px;
  font-size: 16px;
  text-align: left;
  border: #D6D2D2 1px solid;
  background-color: #FAFAFA;
  -webkit-appearance: none;
  border-radius: 0;
}

.contact-form .check-list li {
  width: 100%;
  margin: 10px 0 0 0;
  font-size: 14px;
  font-weight: 700;
  background-color: #FAFAFA;
  border: 1px solid #D6D2D2;
}

.contact-form .check-list02 li {
  width: 48%;
  margin: 10px 4% 0 0;
}

.contact-form .check-list02 li:nth-of-type(2n) {
  margin: 10px 0 0 0;
}

.contact-form .check-list li label {
  position: relative;
  display: block;
  width: 100%;
  line-height: 1.6;
  padding: 12px 15px 12px 50px;
}

.contact-form .check-list li label input {
  position: absolute;
  top: 25px;
  left: 10px;
}

.contact-form div.privacy {
  margin: 50px auto 0 auto;
  font-size: 16px;
  line-height: 1;
}

.contact-form div.privacy > a {
  margin: 0 5px 0 0;
  color: #004EA2;
  text-decoration: underline;
}

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

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

/* 確認画面 */
.box-sub-page {
  width: 90%;
  margin: 40px auto 70px auto;
}

.box-sub-page > p.txt01 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: #DF1F1C;
}

.box-sub-page > p.txt02 {
  margin: 15px auto 0 auto;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.box-sub-page > p.txt02 span {
  color: #DF1F1C;
}

.btn-confirm {
  width: 100%;
  margin: 35px auto 0 auto;
}

.btn-confirm > a {
  display: block;
  width: 250px;
  margin: 0 auto;
}

.btn-confirm > a:nth-of-type(2) {
  margin: 30px auto 0 auto;
}

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

.contact-box-thanks > p:nth-of-type(1) {
  margin: 0 auto;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.contact-box-thanks > p:nth-of-type(2) {
  width: 90%;
  margin: 20px auto 0 auto;
  font-size: 14px;
  line-height: 1.6;
  text-align: left;
}

.contact-box-thanks > p:nth-of-type(2) span {
  font-size: 18px;
  font-weight: 700;
}

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

.btn-home > a {
  display: block;
  width: 250px;
}



/*===============================================
●画面の横幅が667px以上(タブレット・PC)
===============================================*/
@media screen and (min-width: 667px) {

}

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

}


