@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で透過
 *----------------------------------------------------------- */
::placeholder {
  color: #b1b1b1;
}
/* Webkit */
:focus::placeholder {
  color: transparent;
}

/*
  .c-form-area
 ---------------------------*/
.c-form-area {
  padding-bottom: 50px;
  text-align: left;
  font-size: 1rem;
}
.c-form-area * {
  margin: 0;
  padding: 0;
  list-style-type: none;
  box-sizing: border-box;
}

.c-form-area .note {
  margin-top: 10px;
  font-size: 0.625rem;
  line-height: 1.5;
}
.c-form-area .note strong {
  color: #099;
}
@media screen and (min-width: 768px) {
  .c-form-area {
    padding-bottom: 120px;
  }
  .c-form-area .note {
    margin-top: 20px;
    font-size: 0.75rem;
  }
}

/*
  各フィールド基本スタイル
---------------------------*/
.c-form-area input[type='tel'],
.c-form-area input[type='email'],
.c-form-area input[type='password'],
.c-form-area input[type='number'],
.c-form-area input[type='text'],
.c-form-area input[type='submit'],
.c-form-area input[type='reset'],
.c-form-area input[type='button'],
.c-form-area textarea {
  -ms-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
  padding: 10px 14px;
  border: 1px solid #bbb;
  box-shadow: none;
  background: #fff;
  position: static;
  outline: none;
  font-size: 1rem;
  font-family: inherit;
  color: inherit;
}
/* select */
.c-form-area .select-wrap {
  position: relative;
  border: 1px solid #bbb;
  background: #fff;
  font-size: 1rem;
}
.c-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;
}
.c-form-area .select-wrap select {
  width: 100%;
  padding: 0 34px 0 10px;
  height: 46px;
  font-size: 1rem;
  -ms-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  text-overflow: ellipsis;
  outline: none;
  border: none;
  border-radius: 0;
  background: transparent;
  background-image: none;
  box-shadow: none;
  color: inherit;
}
.c-form-area .select-wrap select::-ms-expand {
  display: none;
}

/* radio */
.c-form-area input[type='radio'] {
  display: none;
}
.c-form-area input[type='radio'] + label > span {
  display: inline-block;
  position: relative;
  padding: 0.3em 0 0.3em 40px;
  cursor: pointer;
}
.c-form-area input[type='radio'] + label > span::before {
  content: '';
  position: absolute;
  left: 0;
  top: calc(50% - 15px);
  width: 30px;
  height: 30px;
  background: #fff;
  border: 1px solid #bbb;
  border-radius: 20px;
}
.c-form-area input[type='radio'] + label > span::after {
  content: '';
  position: absolute;
  top: calc(50% - 10px);
  left: 5px;
  width: 20px;
  height: 20px;
  background: #006699;
  border-radius: 16px;
  opacity: 0;
  transform: scale(0);
  transition: all cubic-bezier(0.47, 0.34, 0.275, 1.46) 0.2s;
}
.c-form-area input[type='radio']:checked + label > span::after {
  opacity: 1;
  transform: scale(1);
}

/* checkbox */
.c-form-area input[type='checkbox'] {
  display: none;
}
.c-form-area input[type='checkbox'] + label > span {
  display: inline-block;
  position: relative;
  padding: 0 0 0 30px;
  cursor: pointer;
}
.c-form-area input[type='checkbox'] + label > span::before {
  content: '';
  position: absolute;
  top: 0.9em;
  left: 0;
  width: 20px;
  height: 20px;
  background: #fff;
  border: 1px solid #bbb;
  transform: translateY(-50%);
}
.c-form-area input[type='checkbox'] + label > span::after {
  content: '';
  position: absolute;
  top: 0.1em;
  left: 5px;
  width: 8px;
  height: 12px;
  border-bottom: 4px solid #006699;
  border-right: 4px solid #006699;
  opacity: 0;
  transform: rotate(45deg) scale(0);
  transition: all cubic-bezier(0.47, 0.34, 0.275, 1.46) 0.2s;
}
.c-form-area input[type='checkbox']:checked + label > span::after {
  opacity: 1;
  transform: rotate(45deg) scale(1);
}

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

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

/* exvalidation　errorスタイル */
.c-form-area .err input[type='tel'],
.c-form-area .err input[type='email'],
.c-form-area .err input[type='password'],
.c-form-area .err input[type='number'],
.c-form-area .err input[type='text'],
.c-form-area .err textarea,
.c-form-area .err.select-wrap,
.c-form-area input.err[type='tel'],
.c-form-area input.err[type='email'],
.c-form-area input.err[type='password'],
.c-form-area input.err[type='number'],
.c-form-area input.err[type='text'],
.c-form-area textarea.err,
.c-form-area select.err {
  transition: all ease 0.3s;
  border-color: #e77878;
  background: #f9ebeb;
  box-shadow: 0 0 8px rgba(231, 120, 120, 0.6);
}
.formErrorMsg {
  clear: both;
}

/* exvalidation用　okスタイル */
.c-form-area .ok input[type='tel'],
.c-form-area .ok input[type='email'],
.c-form-area .ok input[type='password'],
.c-form-area .ok input[type='number'],
.c-form-area .ok input[type='text'],
.c-form-area .ok textarea,
.c-form-area .ok.select-wrap,
.c-form-area .ok.chkccselectall .select-wrap,
.c-form-area input.ok[type='tel'],
.c-form-area input.ok[type='email'],
.c-form-area input.ok[type='password'],
.c-form-area input.ok[type='number'],
.c-form-area input.ok[type='text'],
.c-form-area textarea.ok,
.c-form-area select.ok {
  transition: all ease 0.3s;
  /*
	border-color: #60b15e;
	background: #fffbef;
	box-shadow:0 0 8px rgba(96,177,94,0.6);
	*/
  border-color: #bbb;
  background: #fff;
  box-shadow: none;
}
.c-form-area .err input[type='checkbox'] + label,
.c-form-area input[type='checkbox'].err + label,
.c-form-area .err input[type='radio'] + label,
.c-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);
}
.c-form-area .err input[type='checkbox'] + label span::before,
.c-form-area input[type='checkbox'].err + label span::before,
.c-form-area .err input[type='radio'] + label span::before,
.c-form-area input[type='radio'].err + label span::before {
  background: #f9ebeb;
}
.c-form-area .ok input[type='checkbox'] + label,
.c-form-area input[type='checkbox'].ok + label,
.c-form-area .ok input[type='radio'] + label,
.c-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;
}
.c-form-area .ok input[type='checkbox'] + label span::before,
.c-form-area input[type='checkbox'].ok + label span::before,
.c-form-area .ok input[type='radio'] + label span::before,
.c-form-area input[type='radio'].ok + label span::before {
  background: #fff;
}

@media screen and (min-width: 768px) {
  /* radio */
  .c-form-area input[type='radio'] + label > span {
    padding-left: 30px;
  }
  .c-form-area input[type='radio'] + label > span::before {
    top: calc(50% - 10px);
    width: 20px;
    height: 20px;
  }
  .c-form-area input[type='radio'] + label > span::after {
    top: calc(50% - 5px);
    width: 10px;
    height: 10px;
  }
  /* checkbox */
  .c-form-area input[type='checkbox'] + label > span {
    padding-left: 30px;
  }
  .c-form-area input[type='checkbox'] + label > span::before {
    top: 0.8em;
  }
  .c-form-area input[type='checkbox'] + label > span::after {
    top: calc(50% - 10px);
    left: 6px;
    width: 8px;
    height: 12px;
    border-width: 3px;
  }
}
/*
 * .e-style
 * エラーメッセージ
 *----------------------------------------------------------- */
.c-form-area .e-style {
  padding: 15px;
  margin: 0 10px 50px;
  border: 3px solid #f3494c;
  background-color: #fff3f3;
}
.c-form-area .e-style p {
  margin-bottom: 1em;
  font-size: 0.75rem;
  font-weight: bold;
  text-align: center;
  color: #333;
}
.c-form-area .e-style ul {
  padding-left: 1em;
}
.c-form-area .e-style li {
  color: #f00;
  text-align: left;
  line-height: 1.8;
}

/*
 * .c-form-area
 * フォーム部分のレイアウト
 *----------------------------------------------------------- */
.c-form-area .h-mes {
  margin-bottom: 1em;
  text-align: center;
  font-size: 1.125rem;
}
.c-form-area .h-mes a {
  color: currentColor;
  text-decoration: none;
}
.c-form-area .h-link {
  margin-bottom: 2em;
  font-size: 0.75rem;
  text-align: center;
}
.c-form-area .h-mes02 {
  margin-bottom: 2em;
  text-align: center;
  font-size: 0.75rem;
}
.c-form-area .h-txt {
  margin-bottom: 0.5em;
  font-size: 0.75rem;
}
@media screen and (min-width: 768px) {
  .c-form-area .h-mes {
    margin-bottom: 1em;
    text-align: center;
    font-size: 1.375rem;
    line-height: 2;
  }
  .c-form-area .h-link {
    margin-bottom: 2em;
    font-size: 1rem;
    text-align: center;
  }
  .c-form-area .h-link a:hover {
    color: #363;
  }
  .c-form-area .h-mes02 {
    margin-bottom: 3em;
    font-size: 1rem;
  }
  .c-form-area .h-txt {
    font-size: 0.875rem;
  }
}

/* テーブルスタイル調整 */
.c-form-area .tablestyle {
  margin: 0 -10px;
  text-align-last: left;
}
.c-form-area .tablestyle > li {
}
.c-form-area .tablestyle > li > dl > dt {
  border-top: 1px solid #dddddd;
  border-bottom: 1px solid #dddddd;
  padding: 10px;
  position: relative;
  background: #eef2f2;
}
/* 確認画面 */
.c-form-area .tablestyle > li > dl > dd {
  padding: 15px 10px;
}
@media screen and (min-width: 768px) {
  .c-form-area .tablestyle > li > dl > dd {
    padding: 15px 50px;
  }
}

/* 入れ込みテーブルスタイル */
.c-form-area .in-table {
  border: none;
}
.c-form-area .in-table li dl dt {
  position: relative;
  padding: 10px 0 0;
}
.c-form-area .in-table li dl dd {
  padding: 6px 0 0;
}
@media screen and (min-width: 768px) {
  .c-form-area .in-table li {
    width: 100%;
    margin-bottom: 1em;
  }
  .c-form-area .in-table li:last-child {
    margin-bottom: 0;
  }
  .c-form-area .in-table > li > dl > dt {
    width: 180px;
    padding: 21px 0;
    vertical-align: top;
  }
  .c-form-area .in-table > li > dl > dd {
    padding: 15px 0 15px 10px;
    vertical-align: top;
  }
}

/* 入れ込みリスト */
/* 縦並び */
.c-form-area .vlist {
  padding-top: 10px;
  padding-bottom: 10px;
}
.c-form-area .vlist > li {
  margin: 0 0 1em;
}
/* 横並び */
.c-form-area .hlist > li {
  display: block;
  margin-bottom: 0.3em;
  margin-right: 1.5em;
  padding: 0.5em 0;
}
@media screen and (min-width: 768px) {
  .c-form-area .vlist {
    padding-top: 0.5em;
  }
  .c-form-area .hlist {
    padding-top: 0.3em;
  }
  .c-form-area .hlist > li {
    display: inline-block;
  }
}

.c-form-area .caption {
  font-size: 0.56rem;
}
/*必須*/
.c-form-area .required {
  display: inline-block;
  margin-left: 1em;
  padding: 0 0.6em;
  background: #f22c47;
  color: #fff;
  border-radius: 3px;
  font-size: 0.812em;
  line-height: 1.4;
  font-weight: normal;
}

.required-en {
  color: #f22c47;
}
@media screen and (min-width: 768px) {
  /*必須*/
  .c-form-area .required {
    padding: 0 0.8em;
    top: 44px;
    right: 0;
    font-size: 0.875rem;
  }
  .c-form-area--confirm .required {
    top: 32px;
  }
  .c-form-area .in-table .required {
    top: 24px;
  }
}

/*
 * .privacy
 * プライバシーポリシー部分のレイアウト
 *----------------------------------------------------------- */
.c-form-area .privacy-policy {
  border: solid 1px #888;
  height: 100px;
  overflow: scroll;
}
.c-form-area .privacy-policy__inner {
  padding: 1em;
  font-size: 0.625rem;
  line-height: 1.5;
}
.c-form-area .privacy-policy__inner dd {
  margin-bottom: 0.5em;
}
.c-form-area .privacy {
  background: #eef2f2;
  padding: 14px 5px;
  margin-top: 1.5em;
  text-align: center;
  font-size: 0.812rem;
}
.c-form-area .privacy-ttl {
  width: fit-content;
  margin-inline: auto;
  margin-bottom: 1em;
  font-weight: 700;
  border-bottom: solid 1px #000;
}

@media screen and (min-width: 768px) {
  .c-form-area .privacy-policy {
    border: solid 1px #888;
    height: 300px;
    overflow: scroll;
  }
  .c-form-area .privacy-policy__inner {
    padding: 2em;
    font-size: 0.8125rem;
    line-height: 1.5;
  }
  .c-form-area .privacy {
    padding: 1.5em;
    font-size: 1rem;
  }
}

/*
 * .btn-wrap
 * ボタン部分のレイアウト
 *----------------------------------------------------------- */
.c-form-area .btn-wrap {
  padding: 40px 0 0;
  margin: 0 auto;
  max-width: 840px;
}
.c-form-area .btn-wrap li {
  width: 100%;
  margin: 0 auto 15px;
  position: relative;
  max-width: 400px;
}
.c-form-area .btn-wrap li::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 10px;
  width: 8px;
  height: 8px;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  transform: rotate(-45deg) translateY(-50%);
}
.c-form-area .btn-wrap li.b-back::after {
  right: auto;
  left: 10px;
  border-right: none;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
  transform: rotate(45deg) translateY(-50%);
}
.c-form-area .btn-wrap li input {
  display: block;
  width: 100%;
  height: 100%;
  padding: 1em 30px;
  background: #006699;
  font-size: 1rem;
  text-decoration: none;
  color: #fff;
  text-align: center;
  border: none;
  line-height: 1.3;
  transition: all ease 0.3s;
  cursor: pointer;
}
.c-form-area .btn-wrap li.b-back input {
  background: #999;
}
.c-form-area .btn-wrap li.b-conf input[disabled],
.c-form-area .btn-wrap li.b-send input[disabled],
.c-form-area .btn-wrap li.b-next input[disabled],
.c-form-area .btn-wrap li.b-back input[disabled] {
  background: #ddd;
  pointer-events: none;
}
.c-form-area .btn-wrap li.b-conf input:hover,
.c-form-area .btn-wrap li.b-send input:hover,
.c-form-area .btn-wrap li.b-next input:hover {
  background: #0b82be;
}
.c-form-area .btn-wrap li.b-back input:hover {
  background: #ddd;
}
@media screen and (min-width: 768px) {
  .c-form-area .btn-wrap {
    padding: 50px 0 0 0;
    display: flex;
    justify-content: center;
    flex-direction: row-reverse;
  }
  .c-form-area .btn-wrap li {
    margin: 0 20px;
  }
  .c-form-area .btn-wrap li::after {
    right: 30px;
    width: 10px;
    height: 10px;
  }
  .c-form-area .btn-wrap li.b-back::after {
    left: 30px;
  }
  .c-form-area .btn-wrap li.b-conf input,
  .c-form-area .btn-wrap li.b-send input,
  .c-form-area .btn-wrap li.b-next input,
  .c-form-area .btn-wrap li.b-back input {
    padding: 1em 60px;
    font-size: 1.25rem;
  }
}

/*
 * .thanks
 * サンキューページのレイアウト
 *----------------------------------------------------------- */
.c-form-area--thanks .msg {
  border: 1px solid #dbecff;
  background: #eff9ff;
  padding: 30px 15px;
}
.c-form-area--thanks .msg p {
  text-align: center;
  margin-bottom: 1em;
  font-size: 0.75rem;
  letter-spacing: -0.05em;
}
.c-form-area--thanks .msg .en {
  letter-spacing: 0;
}
.c-form-area--thanks .msg p:last-child {
  margin-bottom: 0;
}
@media screen and (min-width: 768px) {
  .c-form-area--thanks .msg p {
    text-align: center;
    margin-bottom: 1em;
    font-size: 0.875rem;
  }
}
/*
 * .error
 * エラーページのレイアウト
 *----------------------------------------------------------- */
.c-form-area--error .msg {
  border: 1px solid #f89797;
  background: #ffeded;
  padding: 30px 15px;
}
.c-form-area--error .msg p {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}
.c-form-area--error .msg p:last-child {
  margin-bottom: 0;
}
