@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 {
  font-size: 1.4rem;
  line-height: 1.3;
}
@media screen and (min-width: 768px) {
  .c-form-area {
    font-size: 1.6rem;
  }
}

/*
  各フィールド基本スタイル
---------------------------*/
.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: 1.6rem;
  font-family: inherit;
  color: inherit;
}

/* select */
.c-form-area .select-wrap {
  position: relative;
  border: 1px solid #bbb;
  background: #fff;
  font-size: 1.6rem;
}
.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: 1.6rem;
  -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;
}

.c-form-area input.required-bg,
.c-form-area select.required-bg {
  background: #feecea;
}
/* radio */
.c-form-area input[type='radio'] {
  display: none;
}
.c-form-area input[type='radio'] + label > span {
  display: inline-block;
  position: relative;
  padding: 0 0 0 25px;
  cursor: pointer;
  letter-spacing: -0.05em;
}
.c-form-area input[type='radio'] + label > span::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  background: #fff;
  border: 2px solid #aeaeae;
  border-radius: 20px;
}
.c-form-area input[type='radio'] + label > span::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 10px;
  height: 10px;
  background: #1b1b1b;
  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 25px;
  cursor: pointer;
  letter-spacing: -0.05em;
}
.c-form-area input[type='checkbox'] + label > span::before {
  content: '';
  position: absolute;
  top: 0.6em;
  left: 0;
  width: 19px;
  height: 19px;
  background: #fff;
  border: 2px solid #aeaeae;
  transform: translateY(-50%);
}
.c-form-area input[type='checkbox'] + label > span::after {
  content: '';
  position: absolute;
  top: 0.1em;
  left: 6px;
  width: 8px;
  height: 12px;
  border-bottom: 3px solid #1b1b1b;
  border-right: 3px solid #1b1b1b;
  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 select,
.c-form-area .ok.chkccselectall .select-wrap select,
.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 {
    letter-spacing: 0;
  }
  /* checkbox */
  .c-form-area input[type='checkbox'] + label > span {
    letter-spacing: 0;
  }
}

/*
 * .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: 1.2rem;
  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;
}

/*
 * .steps
 * 進捗ステップのスタイル
 *----------------------------------------------------------- */
.c-form-area .steps {
  margin-inline: -20px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  border-top: solid 1px #8ec1a2;
  border-bottom: solid 1px #8ec1a2;
  overflow: hidden;
}
.c-form-area .steps li {
  width: calc(100% / 3);
  height: 46px;
  padding-block: 15px;
  text-align: center;
  font-weight: bold;
  position: relative;
  white-space: nowrap;
  color: #719980;
}
.c-form-area .steps li:nth-child(2),
.c-form-area .steps li:nth-child(3) {
  padding-left: 15px;
}
.c-form-area .steps li::before {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-color: transparent transparent transparent #8ec1a2;
  border-width: 24px 0px 24px 19px;
  position: absolute;
  top: -1px;
  right: -19px;
  z-index: 5;
}
.c-form-area .steps li::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-color: transparent transparent transparent #fff;
  border-width: 24px 0px 24px 19px;
  position: absolute;
  top: -1px;
  right: -18px;
  z-index: 10;
}
.c-form-area .steps li:nth-child(3):before,
.c-form-area .steps li:nth-child(3):after {
  content: none;
}
.c-form-area .steps li.end {
  background: #8ec1a2;
  color: #fff;
}
.c-form-area .steps li.end::before {
  border-color: transparent transparent transparent #fff;
}
.c-form-area .steps li.end::after {
  border-color: transparent transparent transparent #8ec1a2;
}
.c-form-area .steps__en {
  font-size: min(1rem, 2.6vw);
}
.c-form-area .steps__ja {
  margin-left: 0.2em;
  font-size: min(1.4rem, 3.7vw);
}
@media screen and (max-width: 374px) {
  .c-form-area .steps {
    margin-inline: -10px;
  }
}
@media screen and (min-width: 768px) {
  .c-form-area .steps {
    margin-inline: 0;
    margin-bottom: 70px;
    border-top: solid 2px #8ec1a2;
    border-right: solid 2px #8ec1a2;
    border-bottom: solid 2px #8ec1a2;
  }
  .c-form-area .steps li {
    height: 58px;
    padding-block: 18px;
  }
  .c-form-area .steps li:nth-child(2),
  .c-form-area .steps li:nth-child(3) {
    padding-left: 15px;
  }
  .c-form-area .steps li::before {
    border-width: 32px 0px 32px 20px;
    top: -3px;
    right: -20px;
  }
  .c-form-area .steps li::after {
    border-width: 32px 0px 32px 20px;
    position: absolute;
    top: -3px;
    right: -18px;
  }
  .c-form-area .steps__en {
    font-size: 1.3rem;
  }
  .c-form-area .steps__ja {
    font-size: 1.8rem;
  }
}

/*
 * .c-form-area
 * フォーム部分のレイアウト
 *----------------------------------------------------------- */
.form-ttl {
  margin: 0 -20px 15px;
  padding: 15px 10px 15px 20px;
  background: #eee;
}
.form-ttl h2 {
  padding-left: 8px;
  font-size: 1.35rem;
  font-weight: bold;
  border-left: solid 4px #2c2c2c;
}
@media screen and (min-width: 768px) {
  .form-ttl {
    margin: 0 0 30px;
    padding: 0;
  }
  .form-ttl h2 {
    padding: 15px 20px;
    font-size: 1.6rem;
    border-left: solid 8px #2c2c2c;
  }
}
.form-ttl02 {
  margin-bottom: 10px;
  font-size: 1.4rem;
  font-weight: bold;
}
@media screen and (min-width: 768px) {
  .form-ttl02 {
    font-size: 1.6rem;
  }
}
/* form-list */
.c-form-area .form-list {
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: solid 1px #737373;
}
@media screen and (min-width: 768px) {
  .c-form-area .form-list {
    margin-bottom: 30px;
    padding-bottom: 20px;
  }
}
/* テーブルスタイル調整 */
.c-form-area .tablestyle {
}
.c-form-area .tablestyle > li {
}
.c-form-area .tablestyle > li > dl > dt {
  margin-bottom: 10px;
  padding: 10px 0;
  position: relative;
  font-weight: bold;
  border-bottom: solid 1px #737373;
}
.c-form-area .tablestyle > li > dl > dd {
  padding: 6px 0 10px;
}
@media screen and (min-width: 768px) {
  .c-form-area .tablestyle {
    margin: 0;
  }
  .c-form-area .tablestyle > li {
    border-bottom: solid 1px #737373;
  }
  .c-form-area .tablestyle > li:last-child {
    border-bottom: none;
  }
  .c-form-area .tablestyle > li > dl {
    display: table;
    width: 100%;
  }
  .c-form-area .tablestyle > li > dl > dt {
    width: 250px;
    padding: 45px 20px 0;
    display: table-cell;
    vertical-align: top;
    border-bottom: none;
  }
  .c-form-area .tablestyle > li > dl > dd {
    display: table-cell;
    padding: 40px 20px 30px;
    vertical-align: top;
  }
  /* 確認画面 */
  .c-form-area--confirm .tablestyle > li > dl > dt {
    padding: 30px 20px;
  }
  .c-form-area--confirm .tablestyle > li > dl > dd {
    padding: 30px 20px;
  }
}

/* 入れ込みテーブルスタイル */
.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 .hlist {
  display: flex;
  flex-wrap: wrap;
}
.c-form-area .hlist > li {
  margin: 0 0 1em;
  font-size: min(1.4rem, 3.7vw);
}
.c-form-area .hlist > li:nth-child(odd) {
  width: 52%;
}
.c-form-area .hlist > li:nth-child(even) {
  width: 48%;
}
@media screen and (max-width: 767px) {
  .c-form-area .hlist > li.mt--sp {
    margin-top: -1.3em;
  }
}
@media screen and (min-width: 768px) {
  .c-form-area .hlist {
    padding-top: 0.3em;
  }

  .c-form-area .hlist > li {
    width: calc(100% / 3);
    font-size: 1.6rem;
  }
  .c-form-area .hlist > li:nth-child(odd),
  .c-form-area .hlist > li:nth-child(even) {
    width: calc(100% / 3);
  }
}
.c-form-area .caption {
  font-size: 0.9rem;
}
/*必須*/
.c-form-area .required {
  display: inline-block;
  margin-left: 0.5em;
  padding: 0 0.4em;
  background: #b00c0c;
  color: #fff;
  border-radius: 3px;
  font-size: 1.3rem;
  font-weight: bold;
}

@media screen and (min-width: 768px) {
  /*必須*/
  .c-form-area .required {
    margin-left: 0.8em;
    padding: 0 0.8em;
    font-size: 1.3rem;
    line-height: 1.6;
  }
}

/*
 * .privacy
 * プライバシーポリシー部分のレイアウト
 *----------------------------------------------------------- */
.c-form-area .privacy-about {
  margin-top: 40px;
}
.c-form-area .privacy-about__ttl {
  margin-bottom: 10px;
  padding: 3px 0 3px 8px;
  font-size: 1.4rem;
  font-weight: bold;
  border-left: solid 4px #2c2c2c;
}
.c-form-area .privacy-about__detail {
  background: #f6f6f6;
  font-size: 1rem;
  height: 150px;
  overflow-y: auto;
}
.c-form-area .privacy-about__detail {
  padding: 15px;
}
.c-form-area .privacy-about__detail dl dd + dt {
  margin-top: 1em;
}
.c-form-area .privacy {
  padding: 14px 5px;
  margin-top: 1.5em;
  text-align: center;
  border: solid 1px #aeaeae;
  font-weight: bold;
}

@media screen and (min-width: 768px) {
  .c-form-area .privacy-about {
    margin-top: 60px;
  }
  .c-form-area .privacy-about__ttl {
    font-size: 1.6rem;
  }
  .c-form-area .privacy-about__detail {
    background: #f6f6f6;
    font-size: 1.3rem;
    height: 300px;
    overflow-y: auto;
  }
  .c-form-area .privacy-about__detail {
    padding: 20px;
  }
  .c-form-area .privacy-about__detail dl dd + dt {
    margin-top: 1em;
  }
  .c-form-area .privacy {
    padding: 1.5em;
  }
}

/*
 * .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 input {
  display: block;
  width: 100%;
  height: 100%;
  padding: 1.2em 30px;
  background: #8ec1a2;
  font-size: 1.4rem;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
  text-align: center;
  border: none;
  border-radius: 3px;
  line-height: 1.3;
  transition: all ease 0.3s;
  cursor: pointer;
}
.c-form-area .btn-wrap li.b-back input {
  padding: 0.8em 30px;
  font-size: 1.2rem;
  background: #bbb;
}
.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: #719980;
}
.c-form-area .btn-wrap li.b-back input:hover {
  background: #666;
}
@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: 1.5em 60px;
    font-size: 2rem;
  }
}

/*
 * .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: 1.4rem;
}
.c-form-area--thanks .msg p:last-child {
  margin-bottom: 0;
}
.c-form-area--thanks .btn {
  max-width: 300px;
  margin: 10px auto 0;
}
.c-form-area--thanks .btn a {
  padding: 0.5em 0;
  display: block;
  background: #444;
  color: #fff;
  text-align: center;
  font-size: 1.4rem;
  position: relative;
  font-weight: 600;
}

.c-form-area--thanks .btn a::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-top: solid 1px #fff;
  border-right: solid 1px #fff;
  transform: rotate(45deg);
  position: absolute;
  top: calc(50% - 3px);
  right: 20px;
}
.c-form-area--thanks .login {
  margin: 2em auto 0;
  text-align: center;
}
.c-form-area--thanks .login dt {
  margin-bottom: 4px;
  font-weight: 700;
}
.c-form-area--thanks .login .pw {
  margin-bottom: 1em;
  font-size: 1.8rem;
}
.c-form-area--thanks .login .pw span {
  display: block;
  font-size: 1.1rem;
}
.c-form-area--thanks .login .link-txt {
  margin-top: 1em;
  display: block;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .c-form-area--thanks .msg {
    margin-top: 100px;
  }
  .c-form-area--thanks .msg p {
    font-size: 1.6rem;
  }
  .c-form-area--thanks .btn {
    max-width: 350px;
    margin-inline: auto;
  }
  .c-form-area--thanks .btn a {
    padding: 0.8em 0;
    font-size: 1.6rem;
  }
  .c-form-area--thanks .btn a:hover {
    background: #aaa;
  }
  .c-form-area--thanks .login {
    max-width: 400px;
    margin: 2em auto 0;
    font-size: ;
  }
  .c-form-area--thanks .login dt {
    margin-bottom: 8px;
  }
  .c-form-area--thanks .login .pw {
    margin-bottom: 2em;
    font-size: 2rem;
  }
  .c-form-area--thanks .login .pw span {
    font-size: 1.3rem;
  }
  .c-form-area--thanks .login .link-txt {
    margin-top: 1em;
    display: block;
    text-align: center;
  }
}

/*
 * .error
 * エラーページのレイアウト
 *----------------------------------------------------------- */
.c-form-area--error .msg {
  margin-top: 60px;
  border: 1px solid #f89797;
  background: #ffeded;
  padding: 30px 15px;
}
.c-form-area--error .msg p {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}
.c-form-area--error .msg p:last-child {
  margin-bottom: 0;
}
@media screen and (min-width: 768px) {
  .c-form-area--error .msg {
    margin-top: 100px;
  }
  .c-form-area--error .msg p {
    font-size: 1.6rem;
  }
}
