@charset "utf-8";
/* ===================================================================

 file name  :common/form.css
 style info :フォーム共通スタイル 入力エリアの設定、エラーメッセージの設定

=================================================================== */
/* =============================

	overwrite

=============================== */

/* =================================== */

#headerWrap.fixed {
  position: absolute !important;
}

.form-area {
  position: relative;
  font-size: 2rem;
}

.form-area .cl-b71e11 {
  color: #b71e11;
}

.ui-datepicker {
  font-size: 145% !important;
}

/*
 * 各フィールド基本スタイル
 *
 *----------------------------------------------------------- */
.form-area input[type='tel'],
.form-area input[type='email'],
.form-area input[type='password'],
.form-area input[type='number'],
.form-area input[type='text'],
.form-area input[type='submit'],
.form-area input[type='reset'],
.form-area input[type='button'],
.form-area textarea {
  -webkit-appearance: none;
  border-radius: 0;
  height: 70px;
  padding: 18px 28px;
  border: 1px solid #c1c1c1;
  background: #fff;
  position: static;
  transition: all ease 0.3s;
  outline: none;
  font-size: 2rem;
  font-family: YakuHanMP, 'Noto Serif JP', serif;
}
.form-area select {
  border: 1px solid #c1c1c1;
  outline: none;
  border-radius: 0;
  font-size: 2rem;
  height: 70px;
  padding: 18px 80px 18px 28px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none !important;
  background: url(../../images/form/ico_select.png) no-repeat right 50% / auto 100%;
  font-family: YakuHanMP, 'Noto Serif JP', serif;
}
.form-area select option:first-child {
  color: #929292;
}

.form-area select::-ms-expand {
  display: none;
}
.form-area select:focus,
.form-area .err select,
.form-area select.err,
.form-area .ok select,
.form-area select.ok {
  background: #fffbef url(../../images/form/ico_select.png) no-repeat right 50% / auto 100% !important;
}

.form-area textarea {
  height: auto;
  font-size: 2rem;
  font-family: YakuHanMP, 'Noto Serif JP', serif;
}

.bukken-val {
  font-size: 2rem;
  height: 50px;
  padding: 6px 0 0;
  font-family: YakuHanMP, 'Noto Serif JP', serif;
}

/* checkbox */
.form-area input[type='checkbox'] {
  display: none;
}
.form-area input[type='checkbox'] + label > span {
  position: relative;
  padding: 0 0 0 34px;
  cursor: pointer;
}
.form-area input[type='checkbox'] + label > span::before {
  content: '';
  display: block;
  position: absolute;
  top: calc(50% - 12px);
  left: 0;
  width: 24px;
  height: 24px;
  background: #fff;
  border: 1px solid #c1c1c1;
}
.form-area input[type='checkbox'] + label > span::after {
  content: '';
  position: absolute;
  top: calc(50% - 12px);
  left: 7px;
  width: 10px;
  height: 18px;
  border-bottom: 7px solid #005491;
  border-right: 4px solid #005491;
  opacity: 0;
  transform: rotate(45deg) scale(0);
  transition: all cubic-bezier(0.47, 0.34, 0.275, 1.46) 0.2s;
}
.form-area input[type='checkbox']:checked + label > span::after {
  opacity: 1;
  transform: rotate(45deg) scale(1);
}
.form-area .err input[type='checkbox'] + label > span::before {
  border: 1px solid #e77878;
  background: #fffbef;
  -webkit-box-shadow: 0 0 8px rgba(231, 120, 120, 0.6);
  box-shadow: 0 0 8px rgba(231, 120, 120, 0.6);
}

/* radio */
.form-area input[type='radio'] {
  display: none;
}
.form-area input[type='radio'] + label > span {
  position: relative;
  padding: 0 0 0 34px;
  cursor: pointer;
}
.form-area input[type='radio'] + label > span::before {
  content: '';
  display: block;
  position: absolute;
  top: calc(50% - 12px);
  left: 0;
  width: 24px;
  height: 24px;
  background: #fff;
  border: 1px solid #c1c1c1;
  border-radius: 50%;
}
.form-area input[type='radio'] + label > span::after {
  content: '';
  position: absolute;
  top: calc(50% - 7px);
  left: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #005491;
  opacity: 0;
  transform: rotate(45deg) scale(0);
  transition: all cubic-bezier(0.47, 0.34, 0.275, 1.46) 0.2s;
}
.form-area input[type='radio']:checked + label > span::after {
  opacity: 1;
  transform: rotate(45deg) scale(1);
}
.form-area .err input[type='radio'] + label > span::before {
  border: 1px solid #e77878;
  background: #fffbef;
  -webkit-box-shadow: 0 0 8px rgba(231, 120, 120, 0.6);
  box-shadow: 0 0 8px rgba(231, 120, 120, 0.6);
}

/* focus */
.form-area input[type='tel']:focus,
.form-area input[type='email']:focus,
.form-area input[type='password']:focus,
.form-area input[type='number']:focus,
.form-area input[type='text']:focus,
.form-area textarea:focus,
.form-area select:focus {
  border: 1px solid #78b9e7;
  background: #fffbef;
  box-shadow: 0 0 8px rgba(120, 185, 231, 0.6);
}

/* exvalidation用　errorスタイル */
.form-area .err input[type='tel'],
.form-area .err input[type='email'],
.form-area .err input[type='password'],
.form-area .err input[type='number'],
.form-area .err input[type='text'],
.form-area .err textarea,
.form-area .err select,
.form-area input.err[type='tel'],
.form-area input.err[type='email'],
.form-area input.err[type='password'],
.form-area input.err[type='number'],
.form-area input.err[type='text'],
.form-area textarea.err,
.form-area select.err {
  border: 1px solid #e77878;
  background: #fffbef;
  box-shadow: 0 0 8px rgba(231, 120, 120, 0.6);
}
.formErrorMsg {
  clear: both;
}

/* exvalidation用　okスタイル */
.form-area .ok input[type='tel'],
.form-area .ok input[type='email'],
.form-area .ok input[type='password'],
.form-area .ok input[type='number'],
.form-area .ok input[type='text'],
.form-area .ok textarea,
.form-area .ok select,
.form-area input.ok[type='tel'],
.form-area input.ok[type='email'],
.form-area input.ok[type='password'],
.form-area input.ok[type='number'],
.form-area input.ok[type='text'],
.form-area textarea.ok,
.form-area select.ok {
  border: 1px solid #60b15e;
  background: #fffbef;
  box-shadow: 0 0 8px rgba(96, 177, 94, 0.6);
}
.form-area .err input[type='checkbox'] + label,
.form-area input[type='checkbox'].err + label,
.form-area .err input[type='radio'] + label,
.form-area input[type='radio'].err + label {
  text-shadow: 1px 1px 2px rgba(231, 121, 120, 0.3), -1px -1px 2px rgba(231, 121, 120, 0.3);
}
.form-area .ok input[type='checkbox'] + label,
.form-area input[type='checkbox'].ok + label,
.form-area .ok input[type='radio'] + label,
.form-area input[type='radio'].ok + label {
  text-shadow: 1px 1px 2px rgba(96, 177, 94, 0.3), -1px -1px 2px rgba(96, 177, 94, 0.3);
}
/*
.textshadow .form-area .err input[type=checkbox] + label,
.textshadow .form-area input[type=checkbox].err + label,
.textshadow .form-area .err input[type=radio] + label,
.textshadow .form-area input[type=radio].err + label{
	text-shadow:1px 1px 2px rgba(231,121,120,0.3),-1px -1px 2px rgba(231,121,120,0.3);
}
.textshadow .form-area .ok input[type=checkbox] + label,
.textshadow .form-area input[type=checkbox].ok + label,
.textshadow .form-area .ok input[type=radio] + label,
.textshadow .form-area input[type=radio].ok + label{
	text-shadow:1px 1px 2px rgba(96,177,94,0.3),-1px -1px 2px rgba(96,177,94,0.3);
}
*/

/*
 * プレースホルダー
 * hoverで透過
 *----------------------------------------------------------- */
/* Webkit */
:focus::-webkit-input-placeholder {
  color: transparent;
}
/* Firefox 18 以前 */
:focus:-moz-placeholder {
  color: transparent;
}
/* Firefox 19 以降 */
:focus::-moz-placeholder {
  color: transparent;
}

/* プレースホルダー */
input::placeholder {
  color: #929292;
}
/* IE */
input:-ms-input-placeholder {
  color: #929292;
}
/* Edge */
input::-ms-input-placeholder {
  color: #929292;
}

/*
 * .e-style
 * エラーメッセージ
 *----------------------------------------------------------- */
.form-area .e-style {
  padding: 15px;
  margin-bottom: 1em;
  border: 3px solid #f3494c;
  background-color: #fff3f3;
  font-size: 1.4rem;
}
.form-area .e-style p {
  margin-bottom: 1em;
  font-size: 1.4rem;
  font-weight: bold;
  text-align: center;
  color: #333;
}
.form-area .e-style ul {
  padding-left: 1em;
}
.form-area .e-style li {
  color: #f00;
  text-align: left;
  line-height: 1.8;
}

/*
 * .steps
 * 進捗ステップ表示のスタイル
 *----------------------------------------------------------- */
.form-area .steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}
.form-area .steps li {
  width: 234px;
  margin: 0 20px 0 0;
  position: relative;
  background: #eaeaea;
  font-size: 2rem;
  padding: 0 1em;
  line-height: 60px;
  text-align: center;
}
.form-area .steps li:after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  right: -20px;
  border-style: solid;
  border-width: 30px 0 30px 20px;
  border-color: transparent transparent transparent #eaeaea;
}
.form-area .steps li.end {
  background: #161616;
  color: #fff;
}
.form-area .steps li.end:after {
  border-color: transparent transparent transparent #161616;
}

/*
 * .form-area
 * フォーム部分のレイアウト
 *----------------------------------------------------------- */
.form-area .h-mes {
  margin-bottom: 75px;
}

/* 確認画面 */
.confirm.form-area .h-mes {
  margin-bottom: 2.5em;
}
.confirm.form-area .tablestyle > li > dl > dt::before {
  content: '■ ';
}

.form-area .tablestyle {
  margin: 0 0 60px;
}
.form-area .tablestyle > li {
}
.form-area .tablestyle > li > dl {
}
.form-area .tablestyle > li > dl > dt {
  margin: 0 0 18px;
}
.form-area .tablestyle > li > dl > dt.line {
  margin: 0 0 25px;
  padding: 0 0 15px;
  border-bottom: solid 1px #c1c1c1;
}
.form-area .tablestyle > li > dl > dd {
  margin: 0 0 60px;
}

/* 入れ込みテーブルスタイル */
.form-area .in-table {
}
.form-area .in-table li {
  margin: 30px 0 0;
}
.form-area .in-table li dl {
  display: flex;
}
.form-area .in-table li dl dt {
  width: 230px;
  line-height: 70px;
}
.form-area .in-table li dl dd {
  width: calc(100% - 230px);
}

/* リストスタイル */
.form-area .list-ipt-flex {
  display: flex;
  justify-content: space-between;
}
.form-area .list-ipt-flex li {
  width: 50%;
  margin: 0 0 20px;
}

/* kibo */
.form-area .kibo li + li {
  margin: 6px 0 0;
}
.form-area .kibo li dl {
  display: flex;
  justify-content: space-between;
}
.form-area .kibo li dl dt {
  width: 150px;
  line-height: 50px;
}
.form-area .kibo li dl dd {
  width: 250px;
}

/*例*/
.form-area dt .ex {
  font-size: 1.4rem;
}

/*必須*/
.form-area .required {
  color: #fff;
  background: #b71e11;
  margin: 0 0.8em;
  padding: 0 0.5em;
  display: inline-block;
  position: relative;
  top: -0.1em;
  border-radius: 2px;
  font-size: 1.6rem;
  line-height: 26px;
}

.form-area .optional {
  color: #fff;
  background: #b1b1b1;
  margin: 0 0.8em;
  padding: 0 0.5em;
  display: inline-block;
  position: relative;
  top: -0.1em;
  border-radius: 2px;
  font-size: 1.6rem;
  line-height: 26px;
}

/*
 * .privacy
 * プライバシーポリシー部分のレイアウト
 *----------------------------------------------------------- */
.form-area .agree {
  margin: 0 0 77px;
  padding: 50px 60px 62px;
  background: #f6f6f6;
}
.form-area .agree .txt {
  font-size: 1.6rem;
  line-height: 2;
  margin-bottom: 35px;
}
.form-area .agree .policy-check {
  margin: 0 0 50px;
}
.form-area .agree a {
  color: #006f83;
  text-decoration: underline;
}
.form-area .agree a:hover {
  text-decoration: none;
}

/*
 * .btn-wrap
 * ボタン部分のレイアウト
 *----------------------------------------------------------- */
.form-area .btn-wrap {
  margin: 0 auto;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
}
.form-area .btn-wrap li {
  width: 400px;
  height: 80px;
  position: relative;
}

.form-area .btn-wrap li.b-conf {
  margin: 0 auto;
}
.form-area .btn-wrap li.b-back {
  width: 300px;
}

.form-area .btn-wrap li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  position: absolute;
  top: 50%;
  margin: -3px 0 0;
  z-index: 20;
}
.form-area .btn-wrap li.b-conf::before,
.form-area .btn-wrap li.b-send::before {
  border-top: solid 1px #fff;
  border-right: solid 1px #fff;
  transform: rotate(45deg);
  right: 40px;
}
.form-area .btn-wrap li.b-back::before {
  border-top: solid 1px #fff;
  border-left: solid 1px #fff;
  transform: rotate(-45deg);
  left: 40px;
}

.form-area .btn-wrap li input {
  width: 100%;
  height: 100%;
  border: 0;
  cursor: pointer;
  background: #161616;
  color: #fff;
  font-size: 2rem;
}

.form-area .btn-wrap li input:hover {
  opacity: 0.6;
}
.form-area .btn-wrap li.b-back input {
  background: #bfc1c4;
}

/*
 * .thanks
 * サンキューページのレイアウト
 *----------------------------------------------------------- */
.form-area .thanks {
  border: 1px solid #dbecff;
  background: #eff9ff;
  padding: 30px 15px;
  color: #000;
}
.form-area .thanks p {
  text-align: center;
  margin-bottom: 1em;
  font-size: 1.6rem;
}

/*
 * .error
 * エラーページのレイアウト
 *----------------------------------------------------------- */
.form-area .error {
  border: 1px solid #f89797;
  background: #ffeded;
  padding: 30px 15px;
  color: #000;
}
.form-area .error p {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 1.6rem;
}
.form-area .error a {
  color: #006f83;
  text-decoration: underline;
}
.form-area .error a:hover {
  text-decoration: none;
}

/* ==========================================================================
   smartPhone
   ========================================================================== */
@media screen and (max-width: 767px) {
  .form-area {
    position: relative;
    font-size: 1.6rem;
  }
  .ui-datepicker {
    font-size: 5.2vw !important;
  }

  /*
	 * 各フィールド基本スタイル
	 *
	 *----------------------------------------------------------- */
  .form-area input,
  .form-area select {
    height: auto !important;
  }
  .form-area input,
  .form-area select,
  .form-area textarea {
    font-size: 1.6rem !important;
    padding: 10px 10px !important;
    line-height: 1.5;
  }

  /* select画像必須注意 */
  .form-area select {
    width: 100%;
    padding: 10px 50px 10px 10px !important;
    height: auto;
    border: 1px solid #c1c1c1;
    -webkit-appearance: button;
    -moz-appearance: button;
    appearance: button;
    position: relative;
  }
  .form-area select.ok,
  .form-area .ok select,
  .form-area select.err,
  .form-area .err select {
    background: #fffbef url(../../images/form/ico_select.png) no-repeat right 50%;
    background-size: 21px 13px;
  }
  .bukken-val {
    padding: 0 !important;
    font-size: 1.6rem;
    height: auto;
  }

  /*
	 * プレースホルダー
	 * hoverで透過
	 *----------------------------------------------------------- */
  /* プレースホルダー */
  input::placeholder {
    color: #929292;
    font-size: 1.6rem;
    line-height: 1.5;
  }
  /* IE */
  input:-ms-input-placeholder {
    color: #929292;
    font-size: 1.6rem;
    line-height: 1.5;
  }
  /* Edge */
  input::-ms-input-placeholder {
    font-size: 1.6rem;
    color: #929292;
    line-height: 1.5;
  }

  /*
	 * .steps
	 * 進捗ステップ表示のスタイル
	 *----------------------------------------------------------- */
  .form-area .steps {
    margin-bottom: 40px;
  }
  .form-area .steps li {
    width: calc(100% / 3);
    margin: 0 20px 0 0;
    font-size: 1.8rem;
    line-height: 50px;
  }
  .form-area .steps li:after {
    right: -15px;
    border-width: 25px 0 25px 15px;
  }

  /*
	 * .form-area
	 * フォーム部分のレイアウト
	 *----------------------------------------------------------- */
  .form-area .h-mes {
    margin: 0 0 30px;
    font-size: 1.4rem;
  }

  .form-area .tablestyle {
  }
  .form-area .tablestyle > li {
  }
  .form-area .tablestyle > li > dl {
  }
  .form-area .tablestyle > li > dl > dt {
    margin: 0 0 10px;
  }
  .form-area .tablestyle > li > dl > dt.line {
    margin: 0 0 15px;
    padding: 0 0 10px;
  }
  .form-area .tablestyle > li > dl > dd {
    margin: 0 0 30px;
  }

  /* 入れ込みテーブルスタイル */
  .form-area .in-table {
  }
  .form-area .in-table li {
    margin: 15px 0 0;
  }
  .form-area .in-table li dl {
    display: block;
  }
  .form-area .in-table li dl dt {
    width: 100%;
    margin: 0 0 10px;
    line-height: 2;
  }
  .form-area .in-table li dl dd {
    width: 100%;
  }

  /* リストスタイル */
  .form-area .list-ipt-flex {
    display: block;
  }
  .form-area .list-ipt li,
  .form-area .list-ipt-flex li {
    width: 100%;
    margin: 0 0 5px;
  }

  /* kibo */
  .form-area .kibo li + li {
    margin: 30px 0 0;
  }
  .form-area .kibo li dl {
    display: block;
  }
  .form-area .kibo li dl dt {
    width: 100%;
    line-height: 2;
  }
  .form-area .kibo li dl dd {
    width: 100%;
    margin: 5px 0 0;
  }

  /*例*/
  .form-area dt .ex {
    font-size: 1.2rem;
    line-height: 1.5;
  }
  /*必須*/
  .form-area .required {
    font-size: 1.4rem;
    line-height: 20px;
  }
  /*任意*/
  .form-area .optional {
    font-size: 1.4rem;
    line-height: 20px;
  }

  /*
	 * .privacy
	 * プライバシーポリシー部分のレイアウト
	 *----------------------------------------------------------- */
  .form-area .agree {
    margin: 0 0 40px;
    padding: 30px 15px;
  }
  .form-area .agree .txt {
    font-size: 1.3rem;
    line-height: 1.7;
    margin-bottom: 20px;
  }

  /*
	 * .btn-wrap
	 * ボタン部分のレイアウト
	 *----------------------------------------------------------- */
  .form-area .btn-wrap {
    margin: 0 auto;
    display: block;
  }
  .form-area .btn-wrap li {
    width: 100%;
    height: 60px;
  }

  .form-area .btn-wrap li.b-conf {
    margin: 0 auto;
  }
  .form-area .btn-wrap li.b-back {
    width: 100%;
    height: 40px;
    margin: 10px 0 0;
  }
  .form-area .btn-wrap li.b-conf::before,
  .form-area .btn-wrap li.b-send::before {
    right: 20px;
  }
  .form-area .btn-wrap li.b-back::before {
    left: 20px;
  }

  .form-area .btn-wrap li input {
    height: 100% !important;
    font-size: 1.8rem;
  }
  .form-area .btn-wrap li.b-back input {
    font-size: 1.4rem;
  }
}
