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

/* フォーム共通 */

/* 入力チェックエラー */
.input-error {
  display: none;
  margin: 10px 0 0 0;
  font-size: 14px;
  color: #b71e21;
  line-height: 100%;
}

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

/* テキストボックス */
.contact-form input[type="text"],
.contact-form input[type="number"],
.contact-form input[type="tel"] {
  width: 100%;
  height: 34px;
  padding: 0 10px;
  font-size: 16px;
  border: none;
  background-color: #ECECEC;
  -webkit-appearance: none;
  border-radius: 0;
}

.contact-form input.input01 {
  width: 80px;
}

.contact-form input.zip {
  width: 160px;
  margin: 0 0 0 10px;
}

.contact-form input.hinichi {
  width: 214px;
}

/*
.contact-form .hinichi-wrap {
  position: relative;
  width: 214px;
}

.contact-form .hinichi-wrap:before {
  content: '';
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  width: 34px;
  height: 34px;
  background: url(../images/contact-cal.webp) top center;
  background-size: 34px;
}
*/

.contact-form .hinichi02-wrap {
  display: none;
}

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

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

.contact-form textarea {
  width: 100%;
  height: 125px;
  padding: 10px;
  font-size: 16px;
  text-align: left;
  border: none;
  background-color: #ECECEC;
  -webkit-appearance: none;
  border-radius: 0;
}

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

/* select */
.select-wrap {
  display: block;
  overflow: hidden;
  width: 214px;
  position: relative;
  border: none;
  background: #ECECEC;
}

.select-wrap select {
  width: 100%;
  height: 34px;
  padding: 0 10px;
  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: 9px;
  right: 6px;
  width: 8px;
  height: 8px;
  padding: 0;
  content: '';
  border-top: 2px solid #FFFFFF;
  border-right: 2px solid #FFFFFF;
  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: 34px solid #333333;
  pointer-events: none;
  z-index: 1;
}

/* チェックボックス */
input[type="checkbox"] {
  position: relative;
  margin: 14px 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 #CCCCCC;
  width: 18px;
  height: 18px;
  top: -2px;
  left: 5px;
  transform: translateY(-50%);
  border-radius: 3px;
}

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

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

/* チェックボックスの並び */
.contact-form .check-list {
  width: 100%;
  margin: 5px 0 0 0;
  padding: 0;
}

.contact-form .check-list li {
  position: relative;
  width: 160px;
  margin: 0 0 0 10px;
  padding: 0 0 0 30px;
  font-size: 14px;
  line-height: 1.6;
}

.contact-form .check-list li.li02 {
  width: 260px;
}

.contact-form .check-list li.li03 {
  width: 560px;
}

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

/* プライバシーポリシーのチェック */
input[type="checkbox"]#privacy::before {
  background-color: #ffffff;
  border: 1px solid #AAAAAA;
  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 #333333;
  border-left: 2px solid #333333;
  height: 5px;
  width: 10px;
  top: -7px;
  left: 11px;
  transform: rotate(-45deg);
}

/* ラジオボタン */
input[type="radio"] {
  margin: 14px 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: 2px solid #CCCCCC;
  width: 18px;
  height: 18px;
  border-radius: 18px;
  top: -2px;
  left: 5px;
  transform: translateY(-50%);
}

input[type="radio"]:checked::after {
  width: 8px;
  height: 8px;
  border-radius: 8px;
  top: -6px;
  left: 12px;
  margin: auto;
  background-color: #333333;
}


/* フォーム　contact-box
---------------------------------------------------------- */
.contact-box {
  width: 88%;
  max-width: 800px;
  margin: 40px auto 80px auto;
  padding: 40px 0 0 0;
}

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

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

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

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

.contact-form > form div.wrap02 {
  position: relative;
  width: 240px;
  padding: 6px 0 0 65px;
  text-align: left;
  vertical-align: top;
}

.contact-form > form div.wrap03 {
  position: relative;
  width: 560px;
  margin: 0;
  text-align: left;
  vertical-align: top;
}

.contact-form > form div.wrap03 p.txt02 {
  padding: 5px 0 0 0;
  font-size: 16px;
}

.contact-form span.zip-chui {
  position: absolute;
  top: 4px;
  left: 200px;
  display: inline-block;
  font-size: 10px;
  line-height: 1.2;
}

.contact-form img.ui-datepicker-trigger {
  position: absolute;
  top: 0;
  left: 180px;
  width: 34px;
}

.contact-form > form div.wrap04 {
  position: relative;
  width: 100%;
  margin: 30px 0 0 0;
  padding: 6px 0 0 65px;
  text-align: left;
}

.contact-form .must,
.contact-form .nini {
  position: absolute;
  top: 6px;
  left: 0;
  width: 48px;
  height: 22px;
  padding: 5px 0 0 0;
  margin: 0 15px 0 0;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  text-align:center;
  background-color: #E16450;
  line-height: 1;
}

.contact-form .nini {
  background-color: #9D9D9D;
}

.contact-form > form .txt01{
  display: inline-block;
  font-size: 15px;
}

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

#btn_position a {
  display: block;
  width: 100%;
}

/* 確認画面 */
.header-sub-page {
  width: 100%;
  margin: 0 auto;
  padding: 60px 0 0 0;
}

.header-sub-page > a {
  display: block;
  width: 80%;
  max-width: 190px;
  margin: 0 auto;
}

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

.btn-confirm > a:nth-of-type(1) {
  display: block;
  width: 100%;
}

.btn-confirm > a:nth-of-type(2) {
  display: inline-block;
  margin: 40px auto 0 auto;
  font-size: 14px;
  text-decoration: underline;
}

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

.contact-box-thanks > p.txt01 {
  margin: 0 auto;
  font-size: 22px;
  font-weight: bold;
  line-height: 1;
}

.contact-box-thanks > p.txt02 {
  margin: 40px auto 0 auto;
  font-size: 14px;
  line-height: 1.9;
}

.box-tel {
  width: 690px;
  margin: 40px auto 0 auto;
}

.box-tel > div {
  width: 335px;
  margin: 0;
}

.box-tel > div:nth-of-type(1) {
  margin-right: 20px;
}

.btn-home {
  width: 800px;
  margin: 60px auto 0 auto;
}

.btn-home > a {
  display: block;
  width: 100%;
}


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

  .contact-box {
    margin: 10px auto 50px auto;
  }

  .contact-form {
    margin: 25px auto 0 auto;
  }

  .contact-form > form div.wrap01 span.title {
    margin: 2px 0 0 0;
    font-size: 14px;
  }

  .contact-form > form div.wrap02 {
    display: block;
    width: 100%;
    padding: 0 0 0 45px;
  }

  .contact-form > form div.wrap03 {
    display: block;
    width: 100%;
    margin: 20px 0 0 0;
  }

  .contact-form > form div.wrap03 p.txt02 {
    padding: 0;
    font-size: 14px;
  }

  .contact-form > form div.wrap04 {
    padding: 0 0 0 45px;
  }

  .contact-form .must,
  .contact-form .nini {
    top: 0;
    width: 34px;
    height: 20px;
    padding: 5px 0 0 0;
    font-size: 10px;
  }

  .contact-form > form .txt01{
    font-size: 14px;
  }

  /* 日にち */
  .contact-form input.hinichi {
    width: 184px;
  }

  .contact-form img.ui-datepicker-trigger {
    left: 150px;
  }

  /* select */
  .select-wrap {
    width: 184px;
  }

  /* チェックボックスの並び */
  .contact-form .check-list li {
    width: 120px;
    margin: 0 0 20px 0;
  }

  .contact-form .check-list li:last-of-type {
    margin: 0;
  }

  .contact-form .check-list li.li03 {
    width: 100%;
  }

  /* ボタン */
  #btn_position {
    width: 100%;
    margin: 30px auto 0 auto;
  }

  /* 確認画面 */
  .header-sub-page {
    padding: 30px 0 0 0;
  }

  .header-sub-page > a {
    width: 158px;
  }

  .btn-confirm {
    margin: 40px auto 0 auto;
  }

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

  .contact-box-thanks > p.txt01 {
    font-size: 16px;
  }

  .contact-box-thanks > p.txt02 {
    margin: 20px auto 0 auto;
  }

  .box-tel {
    width: 100%;
    margin: 30px auto 0 auto;
  }

  .box-tel > div {
    width: 100%;
    margin: 0 auto;
  }

  .box-tel > div:nth-of-type(1) {
    margin-bottom: 20px;
  }

  .btn-home {
    width: 95%;
    margin: 20px auto 0 auto;
  }

}

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

}


