@charset "utf-8";
/***************************/
/********【mail form】********/
/***************************/
/****common form****/
.contact_form {
  position: relative;
}
.contact_form .input_ar {
  margin: 0 0 20px;
  border-bottom: dashed 1px #666;
  padding: 0 0 20px;
  /* flexbox */
  display: flex;
  justify-content: flex-start;
  align-items: center;
  align-content: start; /*複数行にした時の揃え*/
  flex-direction: row; /*子要素の並ぶ向き*/
  flex-wrap: wrap; /*子要素の折り返し*/
}
.contact_form .input_ar:last-child {
  border-bottom: solid 1px #666;
}
.contact_form .ttl {
  margin: 0 0 15px;
  width: 100%;
}
.contact_form .ttl_s {
  margin: 0 0 10px;
  width: 100%;
}
.contact_form .notice {
  font-size: 13px;
  font-weight: 300;
  margin: -10px 0 10px;
}
.contact_form .com {
  padding: 10px 0 10px 1.75em;
}
.contact_form .hissu {
  color: var(--accent-RED);
  ;
  border-radius: 3px;
  border: 1px solid #E83428;
  background: #FFF;
  display: inline-block;
  padding: 1px 5px 2px;
  margin: -3px 0 0 10px;
  vertical-align: middle;
}
.contact_form .comment {
  color: var(--accent-RED);
  ;
  display: inline-block;
  margin: 0 0 0 10px;
  vertical-align: middle;
}
/****policy****/
.contact_form .policy_ar {
  padding: 40px 0;
}
.contact_form .txt_policy {
  padding-left: 1em;
  text-indent: -1em;
  margin: 0 0 15px;
}
.contact_form .txt_policy a{
	display: inline-block;
	transition: .3s;
	padding: 0 0em 0 1em;
}
.contact_form .txt_policy a:hover{
	opacity: .6;
}
.contact_form .txt_bold {
  font-weight: bold;
}
.contact_form .ico_policy {
  padding: 0 5px;
}
.contact_form .policy_check_ar {
  width: 300px;
  margin: 30px auto;
  padding: 15px 0;
  border-top: dashed 1.5px #666;
  border-bottom: dashed 1.5px #666;
}
/****チェックボックス/ラジオボタン****/
.contact_form .label_ar {
  width: 100%;
  position: relative;
  margin: -15px 0 3px;
}
.contact_form .label_ar:last-child {
  margin: -15px 0 10px;
}
.contact_form label { /*項目表記*/
  display: block;
  position: relative;
  z-index: 10;
  padding: 0 0 0px 30px;
  margin: 0 0 0px;
}
.contact_form input[type=radio], .contact_form input[type=checkbox] { /*デフォルトチェックボックス*/
  width: 100%;
  display: block;
  cursor: pointer;
  height: 17px;
  position: relative;
  z-index: 20;
  top: 28px;
  opacity: 0
}
.contact_form .label_test:after { /*カスタムチェックボックス*/
  position: absolute;
  content: "";
  display: block;
  top: 50%;
  left: 0px;
  margin: -10px 0 0 0px;
  width: 20px;
  height: 20px;
  background: #eee;
  border-radius: 2px;
}
.contact_form .label_test:after, .contact_form .label_test:before {
  position: absolute;
  content: "";
  display: block;
  top: 50%;
}
.contact_form .label_test:before { /*チェックマークの追加*/
  left: 20px;
  margin: -6px 0 0 -16px;
  width: 12px;
  height: 12px;
  background: #000;
  opacity: 0;
  z-index: 20;
}
.contact_form input[type=radio]:checked + .label_test:before { /*チェックボックスがチェックされた時に動作する内容*/
  opacity: 1;
}
.contact_form input[type=checkbox]:checked + .label_test:before { /*チェックボックスがチェックされた時に動作する内容*/
  opacity: 1;
}
/****テキストエリア/テキスト/セレクトボックス/電話共通****/
.contact_form textarea.question_body, .contact_form input[type=text], .contact_form select, .contact_form input[type=tel], .contact_form input[type=mail], .contact_form textarea.contact_body {
  border-radius: 4px;
  background: #EEE;
  border: none;
  width: 100%;
  position: relative;
  padding: 15px;
  font-size: 14px;
  margin: 0 0 15px;
}
/****テキストエリア****/
.contact_form textarea.question_body {
  margin: 0 0 0px;
}
/****セレクトボックス****/
.contact_form select {
  margin: 0 0 10px;
}
.contact_form textarea::placeholder, .contact_form text::placeholder, .contact_form select::placeholder {
  color: #aaaaaa;
  font-size: 15px;
  font-weight: 300;
  padding: 10px;
}
.contact_form input::placeholder {
  color: #aaaaaa;
}
/* 「選択してください」の文字色をグレーに */
.contact_form select option[value=""] {
  color: #aaaaaa;
}
.contact_form select option:not([value=""]) {
  color: #000;
}
/****テキスト****/
.contact_form input.name {
  width: 47%;
  margin: 0 3% 10px 0;
}
.contact_form input.post_code {
  width: 47%;
  margin: 0 3% 10px 0;
}
/****セレクトボックス****/
.contact_form select.pref {
  width: 60%;
}
/****送信ボタン****/
.contact_form .bt_submit {
  width: 100%;
  border-radius: 4px;
  background: #222 url("../images/shared/arr_hor_wh.svg") no-repeat top 50% right 20px;
  color: #FFF;
  padding: 15px;
  border: none;
  position: relative;
  transition: .3s;
  cursor: pointer;
}
.contact_form .bt_submit:hover {
  transform: translateX(7px);
}
/********【form-validation】********/
/*リアルタイムバリデーション　エラーメッセージ*/
#post_codeError, #mailError, #telError, #name_first_kanaError, #name_last_kanaError {
  display: none;
  font-size: 13px;
  font-weight: 700;
  color: #E83428;
  margin: 0px 0 10px;
}
/*エラーメッセージ*/
.contact_form .error_message {
  width: 100%;
  color: #E83428;
  margin: 0px 0 10px;
}
/*エラーメッセージ/お名前/お名前 (フリガナ)*/
.contact_form #error03, .contact_form #error05 {
  margin: 0px 0 0px;
}
/****/
.contact_form .error_mark:before {
  position: absolute;
  content: "";
  width: 24px;
  height: 24px;
  left: -2px;
  top: 24.5px;
  border: solid 2px #f00;
  z-index: 1;
  border-radius: 4px;
}
.contact_form .policy_error.error_mark::before {
  top: 21.5px;
}
/****/
.contact_form .question_body.error_mark, .contact_form .name_first.error_mark, .contact_form .name_last.error_mark, .contact_form .name_first_kana.error_mark, .contact_form .name_last_kana.error_mark, .contact_form .post_code.error_mark, .contact_form .pref.error_mark, .contact_form .add.error_mark, .contact_form .validate_mail.error_mark, .contact_form .area.error_mark, .contact_form .validate_tel.error_mark, .validatename_first_kana, .validatename_last_kana, .contact_form .area_city.error_mark {
  border: solid 2px #f00;
}
.error_mark input, .error_mark select, .error_mark textarea {
  border: 2px solid #f00 !important;
}
.is-error {
  border: 2px solid #f00;
}
/****/
/* JSで親に .error_mark が付いたときのみ赤枠 */
.error_mark .label_ar.reason_error:before, .error_mark .label_ar.question_error:before {
  /*position: absolute;
  content: "";
  width: 24px;
  height: 25px;
  left: -2px;
  top: 23.5px;
  border: solid 2px #f00;
  z-index: 1;
  border-radius: 4px;*/
}
.contact_form .error_mark .label_ar.reason_error .label_test::after, .contact_form .error_mark .label_ar.question_error .label_test::after, .contact_form .error_mark .label_ar.policy_error .label_test::after {
  border: solid 2px #E83428;
  border-radius: 2px;
}
.contact_form .input_ar.error_mark:before {
  display: none;
}
.contact_form .input_ar.error_mark:before {
  display: none;
}
@media only screen and (max-width: 540px) {
  .contact_form .input_ar {
    margin: 0 0 15px;
    padding: 0 0 15px;
  }
  .contact_form .ttl {
    margin: 0 0 10px;
  }
  .contact_form .ttl_s {
    font-size: 13px;
  }
  .contact_form .notice {
    font-size: 12px;
  }
  .contact_form .com {
    padding: 10px 0 10px 1.5em;
  }
  .contact_form .hissu {
    padding: 0px 5px 1px;
    margin: 0 0 0 5px;
  }
  /****policy****/
  .contact_form .policy_ar {
    padding: 30px 0;
  }
  .contact_form .txt_policy {
    margin: 0 0 15px;
    font-size: 14px;
  }
  .contact_form .policy_check_ar {
    padding: 10px 0;
  }
  .contact_form .policy_check_ar .label_ar label {
    font-size: 13px;
  }
  /****チェックボックス****/
  .contact_form .label_ar {
    position: relative;
    margin: -15px 0 5px;
  }
  .contact_form .label_ar:last-child {
    margin: -15px 0 10px;
  }
  .contact_form label { /*項目表記*/
    display: block;
    position: relative;
    z-index: 10;
    padding: 0 0 0px 30px;
    margin: 0 0 0px;
  }
  /****テキストエリア/テキスト/セレクトボックス/電話共通****/
  .contact_form textarea.question_body, .contact_form input[type=text], .contact_form select, .contact_form input[type=tel], .contact_form input[type=mail], .contact_form textarea.contact_body {
    padding: 10px;
    font-size: 13px;
  }
  /****セレクトボックス****/
  .contact_form textarea::placeholder, .contact_form text::placeholder, .contact_form select::placeholder {
    font-size: 14px;
  }
	
  /****セレクトボックス iPhone****/
  @media only screen and (max-width: 540px) {
    .contact_form select::placeholder {
      -webkit-appearance: none;
      appearance: none;
      border: 1px solid #000;
      border-radius: 0px;
      padding: 5px 5px;
      color: #222;
    }
    .contact_form select {
      color: #727272;
      padding: 5px 5px;
    }
  }
  /****テキスト****/
  .contact_form input.name {
    width: 100%;
    margin: 0 0% 10px 0;
  }
  .contact_form input.post_code {
    width: 50%;
    margin: 0 0% 10px 0;
  }
  /****送信ボタン****/
  .contact_form .bt_submit {
    font-size: 16px;
    padding: 12px;
  }
  /********【form-validation】********/
  /*リアルタイムバリデーション　エラーメッセージ*/
  #post_codeError, #mailError, #telError, #name_first_kanaError, #name_last_kanaError {
    display: none;
    font-size: 13px;
    font-weight: 700;
    color: #E83428;
    margin: 0px 0 10px;
  }
  /*エラーメッセージ*/
  .contact_form .error_message {
    margin: -5px 0 5px;
  }
  .contact_form .error_mark:before {
    top: 27.5px;
  }
	
  .contact_form .policy_error.error_mark::before {
    top: 18px;
  }
  /****/
  .contact_form .question_body.error_mark, .contact_form .name_first.error_mark, .contact_form .name_last.error_mark, .contact_form .name_first_kana.error_mark, .contact_form .name_last_kana.error_mark, .contact_form .post_code.error_mark, .contact_form .pref.error_mark, .contact_form .add.error_mark, .contact_form .validate_mail.error_mark, .contact_form .area.error_mark, .contact_form .validate_tel.error_mark, .validatename_first_kana, .validatename_last_kana {
    border: solid 2px #f00;
  }
  /****/
  /* JSで親に .error_mark が付いたときのみ赤枠 */
  /*.error_mark .label_ar.reason_error:before, .error_mark .label_ar.question_error:before {
    height: 25px;
    top: 26px;
  }*/
	
}
/***************************/
/********【mail form(confirm)】********/
/***************************/
#formWrap {
  width: 100%;
  margin: 0 auto;
  color: #555;
  line-height: 120%;
  font-size: 90%;
}
table.formTable {
  width: 100%;
  margin: 0 auto;
  border-collapse: collapse;
}
table.formTable tr {
  margin: 0 0 20px;
  border-bottom: dashed 1px #666;
  padding: 0 0 20px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  align-content: start;
  flex-direction: row;
  flex-wrap: wrap;
}
table.formTable td, table.formTable th {}
table.formTable th {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 10px;
  width: 100%;
  text-align: left;
}
table.formTable td {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.3;
  margin: 0 0 5px;
}
p.error_messe {
  margin: 5px 0;
  color: red;
}