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

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

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

	overwrite

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

/*
datepicker ui
---------------------------*/
/*
.ui-datepicker td span, .ui-datepicker td a {
  text-align: center !important;
}
.ui-datepicker-next{
	right: 2px !important;
	top: 2px !important;
}
.ui-datepicker-prev{
	left: 2px !important;
	top: 2px !important;
}
*/
/*
autocomplete ui
---------------------------*/
/*
.ui-menu .ui-menu-item-wrapper {
  padding: 10px 14px;
}
.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active{
	border: 1px solid #d3d3d3;
	background: #E5EFF8;
	font-weight: normal;
	color: #212121;
}
*/
/*
exValidationでsubmit送信でformにsendedクラス付与、
submitの二重送信を防止
*/
.sended input[type='submit'] {
  pointer-events: none;
}
/* =================================== */

/*
 * プレースホルダー
 * hoverで透過
 *----------------------------------------------------------- */
::-webkit-input-placeholder,
::-moz-placeholder {
  color: #9c9c9c;
}
/* Webkit */
:focus::-webkit-input-placeholder,
:focus::-moz-placeholder {
  color: transparent;
}

/*
  .form-area
 ---------------------------*/
.form-area {
}
.jspanel {
  display: none;
}
.confirm .jspanel.show {
  display: block;
}

/*
  各フィールド基本スタイル
---------------------------*/
.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 {
  -ms-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
  padding: 14px 15px;
  border: 1px solid #b8b8b8;
  box-shadow: none;
  background: #fff;
  position: static;
  outline: none;
  font-size: 1.6rem;
  font-family: inherit;
}
/* select */
.form-area .select-wrap {
  position: relative;
  border: 1px solid #b8b8b8;
  background: #fff;
  font-size: 1.6rem;
}
.form-area .select-wrap::after {
  content: '';
  position: absolute;
  top: calc(50% - 5px);
  right: 13px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 9px 5px 0 5px;
  border-color: #000000 transparent transparent transparent;
  pointer-events: none;
}
.form-area .select-wrap select {
  width: 100%;
  padding: 0 34px 0 15px;
  height: 50px;
  font-size: 1.6rem;
  -ms-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  text-overflow: ellipsis;
  outline: none;
  border: none;
  border-radius: 0;
  color: #000;
  background: transparent;
  background-image: none;
  box-shadow: none;
}
.form-area .select-wrap select::-ms-expand {
  display: none;
}

/* radio */
.form-area input[type='radio'] {
  display: none;
}
.form-area input[type='radio'] + label > span {
  display: inline-block;
  position: relative;
  padding: 0 0 0 24px;
  cursor: pointer;
}
.form-area input[type='radio'] + label > span::before {
  content: '';
  position: absolute;
  left: 0;
  top: calc(50% - 9px);
  width: 18px;
  height: 18px;
  background: #fff;
  border: 1px solid #b8b8b8;
  border-radius: 20px;
}
.form-area input[type='radio'] + label > span::after {
  content: '';
  position: absolute;
  top: calc(50% - 5px);
  left: 4px;
  width: 10px;
  height: 10px;
  background: #e9293e;
  border-radius: 16px;
  opacity: 0;
  transform: 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: scale(1);
}

/* checkbox */
.form-area input[type='checkbox'] {
  display: none;
}
.form-area input[type='checkbox'] + label > span {
  display: inline-block;
  position: relative;
  padding: 0 0 0 24px;
  cursor: pointer;
}
.form-area input[type='checkbox'] + label > span::before {
  content: '';
  position: absolute;
  top: 0.9em;
  left: 0;
  width: 18px;
  height: 18px;
  background: #fff;
  border: 1px solid #b8b8b8;
  transform: translateY(-50%);
}
.form-area input[type='checkbox'] + label > span::after {
  content: '';
  position: absolute;
  top: 0.4em;
  left: 6px;
  width: 6px;
  height: 10px;
  border-bottom: 3px solid #e9293e;
  border-right: 3px solid #e9293e;
  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);
}

/* file */
.form-area input[type='file'] {
  display: none;
}
.form-area .filetype-wrap {
  display: flex;
  justify-content: space-between;
}
.form-area .filetype-wrap .filename-text {
  width: 69%;
  padding: 14px 15px;
  border: 1px solid #b8b8b8;
  background: #fff;
}
.form-area .filetype-wrap label {
  width: 30%;
  position: relative;
  display: block;
  padding: 14px 15px 14px 0;
  font-weight: 700;
  color: #fff;
  background: #737378;
  cursor: pointer;
  text-align: center;
  transition: background ease 0.3s;
}
.form-area .filetype-wrap label::after {
  content: '';
  position: absolute;
  right: 20px;
  top: calc(50% - 2px);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 4px 0 4px;
  border-color: #fff transparent transparent transparent;
}
@media screen and (min-width: 768px) {
  .no_touch .form-area .filetype-wrap label:hover {
    background: #ababab;
  }
}

/* アップロード画像の削除ボタン */
/*
.form-area #b_fileclear{
	background: #ebebeb;
	display: block;
	width: 100px;
	margin-top: 0.3em;
	margin-left: auto;
	cursor: pointer;
}
*/

/* 必須の背景色 */
.form-area .req input,
.form-area .req textarea,
.form-area .req input[type='checkbox'] + label > span::before,
.form-area .req input[type='radio'] + label > span::before,
.form-area .req .select-wrap {
  background: #f2e2e0;
  border-color: #f2e2e0;
}

/* 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-wrap,
.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 {
  transition: all ease 0.3s;
  border-color: #e77878;
  background: #f9ebeb;
  box-shadow: 0 0 3px 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-wrap,
.form-area .ok.chkccselectall .select-wrap,
.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 {
  transition: all ease 0.3s;
  /*
	border-color: #b8b8b8;
	background: #FFF;
	border-color: #60b15e;
	background: #fffbef;
	box-shadow:0 0 8px rgba(96,177,94,0.6);
	background: #FFF;
	border-color: #bbb;
	*/
  box-shadow: none;
}
.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 {
  transition: all ease 0.3s;
  text-shadow: 1px 1px 2px rgba(231, 121, 120, 0.3), -1px -1px 2px rgba(231, 121, 120, 0.3);
}
.form-area .err input[type='checkbox'] + label span::before,
.form-area input[type='checkbox'].err + label span::before,
.form-area .err input[type='radio'] + label span::before,
.form-area input[type='radio'].err + label span::before {
  background: #f9ebeb;
}
.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 {
  transition: all ease 0.3s;
  /*text-shadow:1px 1px 2px rgba(96,177,94,0.3),-1px -1px 2px rgba(96,177,94,0.3);*/
  text-shadow: none;
}
.form-area .ok input[type='checkbox'] + label span::before,
.form-area input[type='checkbox'].ok + label span::before,
.form-area .ok input[type='radio'] + label span::before,
.form-area input[type='radio'].ok + label span::before {
  /*
	background: #FFF;
	*/
}

@media screen and (min-width: 768px) {
  /* radio */
  .form-area input[type='radio'] + label > span {
    padding-left: 30px;
  }
  .form-area input[type='radio'] + label > span::before {
    top: calc(50% - 10px);
    width: 20px;
    height: 20px;
  }
  .form-area input[type='radio'] + label > span::after {
    top: calc(50% - 5px);
    width: 10px;
    height: 10px;
    left: 5px;
  }
  /* checkbox */
  .form-area input[type='checkbox'] + label > span {
    padding-left: 30px;
  }
  .form-area input[type='checkbox'] + label > span::before {
    top: 1.1em;
    width: 20px;
    height: 20px;
  }
  .form-area input[type='checkbox'] + label > span::after {
    top: 0.6em;
    left: 6px;
    width: 8px;
    height: 12px;
    border-width: 3px;
  }
}

/*
 * .e-style
 * エラーメッセージ
 *----------------------------------------------------------- */
.form-area .e-style {
  padding: 15px;
  margin: 0 10px 50px;
  border: 3px solid #f3494c;
  background-color: #fff3f3;
}
.form-area .e-style p {
  margin-bottom: 1em;
  font-size: 1.2rem;
  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;
}

/*
 * .h-msg
 * 冒頭メッセージ
 *----------------------------------------------------------- */
.h-msg {
  padding: 25px 0;
  background: #f8f5e5;
  font-size: 1.3rem;
}
.h-msg small {
  display: inline-block;
  line-height: 1.3;
}
@media screen and (min-width: 768px) {
  .h-msg {
    padding: 60px 0;
    font-size: 1.4rem;
  }
}
/*
 * .steps
 * 進捗ステップのスタイル
 *----------------------------------------------------------- */
.form-area .steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}
.form-area .steps li {
  position: relative;
  width: calc(32% - 20px);
  height: 40px;
  margin: 0 20px 0 0;
  font-size: 1.4rem;
  line-height: 40px;
  text-align: center;
  font-weight: 700;
  border: #1b1b1b 1px solid;
}
.form-area .steps li:last-child {
  width: 30%;
  margin-right: 0;
}
.form-area .steps li:before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  right: -15px;
  border-style: solid;
  border-width: 20px 0 20px 15px;
  border-color: transparent transparent transparent #1b1b1b;
}
.form-area .steps li:after {
  content: '';
  display: block;
  position: absolute;
  top: 1px;
  right: -14px;
  border-style: solid;
  border-width: 19px 0 19px 14px;
  border-color: transparent transparent transparent #fff;
}
.form-area .steps li.end {
  background: #313131;
  color: #fff;
}
.form-area .steps li.end:after {
  border-color: transparent transparent transparent #313131;
}
.form-area .steps li:last-child:after,
.form-area .steps li:last-child:before {
  content: none;
}
.form-area .steps li span {
  font-size: 1.5rem;
}
@media screen and (min-width: 768px) {
  .form-area .steps {
    margin-bottom: 50px;
  }
  .form-area .steps li {
    width: calc(35% - 30px);
    margin: 0 30px 0 0;
    font-size: 1.8rem;
    height: 60px;
    line-height: 60px;
  }
  .form-area .steps li:before {
    right: -20px;
    border-width: 30px 0 30px 20px;
  }
  .form-area .steps li:after {
    right: -19px;
    border-width: 29px 0 29px 19px;
  }
  .form-area .steps li span {
    font-size: 2rem;
  }
}

/*
 * .form-area
 * フォーム部分のレイアウト
 *----------------------------------------------------------- */
.form-area {
  padding-top: 30px;
}
.form-area h3 {
  margin: 0 0 1em;
  padding: 0 0 0 0.5em;
  font-size: 1.4rem;
  font-weight: 700;
  border-left: solid 3px #000;
}
@media screen and (min-width: 768px) {
  .form-area {
    padding-top: 50px;
    padding-bottom: 60px;
  }
  .form-area h3 {
    font-size: 1.6rem;
  }
}

.form-area .ttl-form {
  padding: 1em 15px;
  margin: 0 -15px 1.5em;
  background: #eeeeee;
  border: none;
}
.form-area .ttl-form span {
  display: block;
  border: none;
  margin: 0;
  padding-bottom: 0;
}
@media screen and (min-width: 768px) {
  .form-area .ttl-form {
    padding: 1em 20px;
    margin: 0;
  }
}

/* テーブルスタイル調整 */
.form-area .tablestyle {
  font-size: 1.4rem;
}
.form-area .tablestyle > li > dl > dt {
  padding: 0 0 0.5em;
  position: relative;
  border-bottom: 1px solid #737373;
  font-weight: 700;
}
.form-area .tablestyle > li > dl > dd {
  padding: 1em 0 2em;
}
@media screen and (min-width: 768px) {
  .form-area .tablestyle {
    margin-bottom: 2em;
    font-size: 1.6rem;
  }
  .form-area .tablestyle > li:not(:last-child) {
    border-bottom: 1px solid #e9e9e9;
  }
  .form-area .tablestyle > li > dl {
    display: table;
    width: 100%;
  }
  .form-area .tablestyle > li > dl > dt {
    background: none;
    width: 280px;
    padding: 40px 10px 0 25px;
    display: table-cell;
    vertical-align: top;
    border: none;
  }
  .form-area.confirm .tablestyle > li > dl > dt {
    padding: 30px 10px 30px 25px;
  }
  .form-area .tablestyle > li > dl > dd {
    padding: 30px 25px;
    display: table-cell;
    vertical-align: top;
  }
}

/* 入れ込みテーブルスタイル */
.form-area .in-table {
  border: none;
}
.form-area .in-table li dl dt {
  font-weight: 700;
  padding: 0 0 0.5em;
}
.form-area .in-table li dl dd {
  padding: 0 0 1.5em;
}
@media screen and (min-width: 768px) {
  .form-area .in-table li {
    display: table;
    width: 100%;
    margin-bottom: 1em;
  }
  .form-area .in-table li:last-child {
    margin-bottom: 0;
  }
  .form-area .in-table > li > dl > dt {
    width: 220px;
    padding: 21px 0;
    display: table-cell;
    vertical-align: top;
  }
  .form-area .in-table > li > dl > dd {
    display: table-cell;
    padding: 15px 0 15px 10px;
    vertical-align: top;
  }
  .form-area.confirm .in-table > li > dl > dt {
    padding: 0 0 20px;
  }
  .form-area.confirm .in-table > li > dl > dd {
    padding: 0 0 20px 10px;
  }
}

/* 入れ込みリスト */
/* 縦並び */
.form-area .vlist {
}
.form-area .vlist > li {
  margin: 0 0 0.5em;
}
/* 横並び */
.form-area .hlist {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.form-area .hlist > li {
  width: 50%;
  padding-right: 0.5em;
  margin-bottom: 0.5em;
}
@media screen and (min-width: 768px) {
  .form-area .vlist {
    padding-top: 0.8em;
  }
}

.form-area .caption {
  font-size: 0.9rem;
}
/*必須*/
.form-area .required {
  color: #cb3c3c;
}

/*
 * .privacy
 * プライバシーポリシー部分のレイアウト
 *----------------------------------------------------------- */
.form-area .privacy {
  padding: 15px;
  margin: 0 0 2em;
  background: #eeeeee;
  font-size: 1rem;
  line-height: 1.3;
}
.form-area .agree {
  padding: 10px 0;
  font-size: 1.4rem;
  font-weight: 700;
  border: 1px solid #aeaeae;
  text-align: center;
  line-height: 1.5;
}
.form-area .agree .policy-check {
  display: inline;
  text-align: left;
}
@media screen and (min-width: 768px) {
  .form-area .privacy {
    margin: 3em 0;
    padding: 25px;
    line-height: 1.7;
    font-size: 1.2rem;
  }
  .form-area .agree {
    padding: 20px 0;
    font-size: 1.6rem;
    line-height: 2;
  }
}

/*
 * .scroll-attention
 * スクロールエリア
 *----------------------------------------------------------- */
.form-area .scroll-attention {
  padding: 15px;
  margin: 2em 0;
  border: solid 1px #d9d9d9;
  font-size: 1rem;
  max-height: 200px;
  overflow-y: scroll;
}
.form-area .scroll-attention h4 {
  margin-bottom: 1em;
  padding-bottom: 1em;
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  border-bottom: solid 1px #d9d9d9;
}
.form-area .scroll-attention h5 {
  font-size: 110%;
  font-weight: 700;
}
.form-area .scroll-attention p {
  margin: 0 0 1em;
}
@media screen and (min-width: 768px) {
  .form-area .scroll-attention {
    margin: 3em 0;
    padding: 25px;
    font-size: 1.4rem;
  }
  .form-area .scroll-attention h4 {
    font-size: 1.8rem;
  }
}

/*
 * .btn-wrap
 * ボタン部分のレイアウト
 *----------------------------------------------------------- */
.form-area .btn-wrap {
  padding: 2em 0 0;
  margin: 0 auto;
  max-width: 840px;
}
.form-area .btn-wrap li {
  width: 100%;
  margin: 0 auto 15px;
  position: relative;
  max-width: 400px;
}
.form-area .btn-wrap li input {
  display: block;
  width: 100%;
  height: 100%;
  padding: 1em 30px;
  background: #e4a59b;
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  text-align: center;
  border: none;
  line-height: 1.3;
  border-radius: 6px;
  transition: all ease 0.3s;
  cursor: pointer;
}
.form-area .btn-wrap li.b-back input {
  background: #999;
}
.form-area .btn-wrap li.b-conf input[disabled],
.form-area .btn-wrap li.b-send input[disabled],
.form-area .btn-wrap li.b-next input[disabled],
.form-area .btn-wrap li.b-back input[disabled] {
  background: #ddd;
  pointer-events: none;
}
.form-area .btn-wrap li.b-conf input:hover,
.form-area .btn-wrap li.b-send input:hover,
.form-area .btn-wrap li.b-next input:hover {
  background: #d88578;
}
.form-area .btn-wrap li.b-back input:hover {
  background: #666;
}

@media screen and (min-width: 768px) {
  .form-area .btn-wrap {
    padding: 50px 0 0 0;
    display: flex;
    justify-content: center;
    flex-direction: row-reverse;
  }
  .form-area .btn-wrap li {
    margin: 0 20px;
  }
  .form-area .btn-wrap li.b-conf input,
  .form-area .btn-wrap li.b-send input,
  .form-area .btn-wrap li.b-next input,
  .form-area .btn-wrap li.b-back input {
    padding: 1.5em 60px;
    font-size: 2rem;
  }
}

/*
 * .thanks
 * サンキューページのレイアウト
 *----------------------------------------------------------- */
.form-area.thanks .block-msg {
  border: 1px solid #dbecff;
  background: #eff9ff;
  padding: 30px 15px;
}
.form-area.thanks .block-msg p {
  text-align: center;
  margin-bottom: 1em;
}
.form-area.thanks .block-msg p:last-child {
  margin-bottom: 0;
}

/*
 * .error
 * エラーページのレイアウト
 *----------------------------------------------------------- */
.form-area.error .block-msg {
  border: 1px solid #f89797;
  background: #ffeded;
  padding: 30px 15px;
}
.form-area.error .block-msg p {
  text-align: center;
  margin-bottom: 1rem;
}
.form-area.error .block-msg p:last-child {
  margin-bottom: 0;
}
