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

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

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

	overwrite

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

/*
exValidationでsubmit送信でformにsendedクラス付与、
submitの二重送信を防止
*/
.sended input[type='submit'] {
  pointer-events: none;
}
/* =================================== */

/*
 * プレースホルダー
 * hoverで透過
 *----------------------------------------------------------- */
::placeholder {
  color: #a3a3a3;
  font-size: 76%;
}
/* Webkit */
:focus::placeholder {
  color: transparent;
}
@media screen and (min-width: 768px) {
  ::placeholder {
    font-size: 1.4rem;
  }
}

/*
  各フィールド基本スタイル
---------------------------*/
input[type='tel'],
input[type='email'],
input[type='password'],
input[type='number'],
input[type='text'],
input[type='submit'],
input[type='reset'],
input[type='button'],
textarea {
  -ms-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
  padding: 8px 14px;
  border: none;
  border-top: 1px solid #d7d6d6;
  border-left: 1px solid #d7d6d6;
  box-shadow: none;
  background: #fff;
  position: static;
  outline: none;
  font-size: 1.6rem;
  font-family: inherit;
  color: inherit;
}
@media screen and (min-width: 768px) {
  input[type='tel'],
  input[type='email'],
  input[type='password'],
  input[type='number'],
  input[type='text'],
  input[type='submit'],
  input[type='reset'],
  input[type='button'],
  textarea {
    padding: 12px 16px;
  }
}

/* select */
.c-select-wrap {
  position: relative;
  border-top: 1px solid #d7d6d6;
  border-left: 1px solid #d7d6d6;
  background: #fff;
  font-size: 1.6rem;
}
.c-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: #111111 transparent transparent transparent;
  pointer-events: none;
}
.c-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-select-wrap select::-ms-expand {
  display: none;
}

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

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

/* focus */
/*
input[type=tel]:focus,
input[type=email]:focus,
input[type=password]:focus,
input[type=number]:focus,
input[type=text]:focus,
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スタイル */
.err input[type='tel'],
.err input[type='email'],
.err input[type='password'],
.err input[type='number'],
.err input[type='text'],
.err textarea,
.err.select-wrap,
input.err[type='tel'],
input.err[type='email'],
input.err[type='password'],
input.err[type='number'],
input.err[type='text'],
textarea.err,
.select-wrap 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スタイル */
.ok input[type='tel'],
.ok input[type='email'],
.ok input[type='password'],
.ok input[type='number'],
.ok input[type='text'],
.ok textarea,
.ok.select-wrap,
.ok.chkccselectall .select-wrap,
input.ok[type='tel'],
input.ok[type='email'],
input.ok[type='password'],
input.ok[type='number'],
input.ok[type='text'],
textarea.ok,
.select-wrap 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;
}
.err input[type='checkbox'] + label,
input[type='checkbox'].err + label,
.err input[type='radio'] + label,
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);
}
.err input[type='checkbox'] + label span::before,
input[type='checkbox'].err + label span::before,
.err input[type='radio'] + label span::before,
input[type='radio'].err + label span::before {
  background: #f9ebeb;
}
.ok input[type='checkbox'] + label,
input[type='checkbox'].ok + label,
.ok input[type='radio'] + label,
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;
}
.ok input[type='checkbox'] + label span::before,
input[type='checkbox'].ok + label span::before,
.ok input[type='radio'] + label span::before,
input[type='radio'].ok + label span::before {
  background: #fff;
}

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

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

/*
.form-ajax__body
---------------------------*/
.form-ajax__body li > dl {
  font-size: 1.3rem;
}
.form-ajax__body li > dl > dt {
  color: #005486;
  font-weight: 700;
}
.form-ajax__body li > dl > dd {
  padding: 0.3em 0 1em;
}
.form-ajax__body .c-form-hlist span {
  line-height: 1.2;
}
.form-ajax__body input[type='checkbox'] + label > span::before {
  top: 0.7em;
}
.form-ajax__body input[type='checkbox'] + label > span::after {
  top: 0.1em;
}
@media screen and (min-width: 768px) {
  .form-ajax__lists {
    margin-bottom: 10px;
  }
  .form-ajax__body li > dl {
    display: table;
    width: 100%;
    font-size: 1.4rem;
  }
  .form-ajax__body li > dl > dt {
    display: table-cell;
    width: 126px;
    vertical-align: middle;
  }
  .form-ajax__body li > dl > dd {
    display: table-cell;
    padding: 5px 0;
  }
  .form-ajax__body input[type='tel'],
  .form-ajax__body input[type='email'],
  .form-ajax__body input[type='password'],
  .form-ajax__body input[type='number'],
  .form-ajax__body input[type='text'],
  .form-ajax__body input[type='submit'],
  .form-ajax__body input[type='reset'],
  .form-ajax__body input[type='button'],
  .form-ajax__body textarea {
    padding: 5px 10px;
    font-size: 1.4rem;
  }
  .form-ajax__body input[type='radio'] + label > span {
    padding-left: 20px;
  }
  .form-ajax__body input[type='radio'] + label > span::before {
    top: calc(50% - 8px);
    width: 16px;
    height: 16px;
  }
  .form-ajax__body input[type='radio'] + label > span::after {
    top: calc(50% - 3px);
    width: 6px;
    height: 6px;
  }
  .form-ajax__body input[type='checkbox'] + label > span {
    padding-left: 20px;
  }
  .form-ajax__body input[type='checkbox'] + label > span::before {
    top: 0.65em;
    width: 16px;
    height: 16px;
  }
  .form-ajax__body input[type='checkbox'] + label > span::after {
    top: calc(50% - 5px);
    left: 5px;
    height: 10px;
  }
  .form-ajax__body .c-form-hlist {
    padding-top: 0;
  }
  .form-ajax__body .c-form-hlist > li {
    padding: 0.2em 0;
  }
}
.form-ajax__body .c-form-privacy {
  padding: 0;
  margin: 0 0 0.5em;
  font-size: 1rem;
  line-height: 1.3;
}

/*
.form-static
---------------------------*/
.form-static {
  background: #f9f9f9;
  margin: 0 -15px;
  padding-bottom: 30px;
}
.c-form-tablestyle > li {
  padding: 0 15px;
}
@media screen and (max-width: 374px) {
  .form-static {
    margin-left: -10px;
    margin-right: -10px;
  }
  .c-form-tablestyle > li {
    padding: 0 10px;
  }
}
.c-form-tablestyle > li:nth-of-type(odd) {
  background: #f3f3f3;
}
.c-form-tablestyle > li > dl > dt {
  padding-top: 1.3em;
}
.c-form-tablestyle > li > dl > dd {
  padding: 1em 0 1.3em;
}
@media screen and (min-width: 768px) {
  .form-static {
    margin: 0;
    padding-bottom: 50px;
    margin-bottom: 50px;
  }
  .c-form-tablestyle > li {
    padding: 0;
  }
  .c-form-tablestyle > li > dl {
    display: table;
    width: 100%;
  }
  .c-form-tablestyle > li > dl > dt {
    width: 230px;
    padding: 0 35px;
    display: table-cell;
    vertical-align: middle;
    line-height: 1.7;
  }
  .c-form-tablestyle > li > dl > dd {
    display: table-cell;
    padding: 30px 20px;
    vertical-align: top;
  }
  .form-ajax__body .c-required {
    font-size: 1rem;
    padding: 0 0.2em;
    margin-left: 0.3em;
    position: relative;
    top: -0.1em;
  }
}

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

/*必須*/
.c-required {
  display: inline-block;
  padding: 0 0.6em;
  margin-left: 0.5em;
  background: #e74291;
  color: #fff;
  border-radius: 3px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
}
@media screen and (min-width: 768px) {
  /*必須*/
  .c-required {
    padding: 0 0.8em;
    font-size: 1.3rem;
  }
}

/*
 * .privacy
 * プライバシーポリシー部分のレイアウト
 *----------------------------------------------------------- */
.c-form-privacy {
  padding: 15px;
  margin-top: 1.5em;
  font-size: 1rem;
}
@media screen and (max-width: 374px) {
  .c-form-privacy {
    padding: 10px;
  }
}
@media screen and (min-width: 768px) {
  .c-form-privacy {
    padding: 1.5em 30px 0;
    font-size: 1.4rem;
  }
}

/*
 * .btn-wrap
 * ボタン部分のレイアウト
 *----------------------------------------------------------- */
.c-form-btnwrap {
  padding: 40px 15px 0;
  margin: 0 auto;
  max-width: 840px;
}
.c-form-btnwrap li {
  width: 100%;
  margin: 0 auto 15px;
  position: relative;
  max-width: 400px;
}
.c-form-btnwrap li::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 16px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-50%);
}
.c-form-btnwrap li.b-back::after {
  right: auto;
  left: 16px;
  border-right: none;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg) translateY(-50%);
}
.c-form-btnwrap li input {
  display: block;
  width: 100%;
  height: 100%;
  padding: 1.2em 20px;
  background: #e74291;
  font-size: 1.6rem;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  text-align: center;
  border: none;
  border-radius: 100px;
  line-height: 1.3;
  transition: all ease 0.3s;
  cursor: pointer;
  box-shadow: inset -3px -3px 0px rgba(0, 0, 0, 0.1);
}
.c-form-btnwrap li.b-back input {
  background: #999;
}
.c-form-btnwrap li.b-conf input[disabled],
.c-form-btnwrap li.b-send input[disabled],
.c-form-btnwrap li.b-next input[disabled],
.c-form-btnwrap li.b-back input[disabled] {
  background: #ddd;
  pointer-events: none;
}
.c-form-btnwrap li.b-conf--mail::before {
  content: '';
  background: url(../img/ico_mail.svg) no-repeat center center / contain;
  pointer-events: none;
  width: 26px;
  height: 16px;
  position: absolute;
  top: calc(50% - 8px);
  left: calc(50% - 70px);
}
.c-form-btnwrap li.b-conf--mail input {
  padding-left: 40px;
}
@media screen and (min-width: 768px) {
  .c-form-btnwrap {
    padding: 50px 0 0 0;
    display: flex;
    justify-content: center;
    flex-direction: row-reverse;
  }
  .c-form-btnwrap li {
    margin: 0 20px;
  }
  .c-form-btnwrap li::after {
    right: 30px;
    width: 10px;
    height: 10px;
  }
  .c-form-btnwrap li.b-back::after {
    left: 30px;
  }
  .c-form-btnwrap li.b-conf input,
  .c-form-btnwrap li.b-send input,
  .c-form-btnwrap li.b-next input,
  .c-form-btnwrap li.b-back input {
    padding: 1.2em 30px;
    font-size: 2.2rem;
  }
  .c-form-btnwrap li.b-conf input:hover,
  .c-form-btnwrap li.b-send input:hover,
  .c-form-btnwrap li.b-next input:hover {
    background: #c41468;
  }
  .c-form-btnwrap li.b-back input:hover {
    background: #666;
  }
  .c-form-btnwrap li.b-conf--mail {
    max-width: 230px;
  }
  .c-form-btnwrap li.b-conf--mail::after {
    right: 20px;
  }
  .c-form-btnwrap li.b-conf--mail::before {
    width: 34px;
    height: 18px;
    top: calc(50% - 9px);
    left: calc(50% - 76px);
  }
  .c-form-btnwrap li.b-conf--mail input {
    padding: 1em 30px 1em 62px;
    font-size: 1.8rem;
  }
}

/*
 * .thanks
 * サンキューページのレイアウト
 *----------------------------------------------------------- */
.c-form-area--thanks {
  padding-bottom: 0;
  margin: 20px 0 100px;
}
.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;
}

/*
 * .error
 * エラーページのレイアウト
 *----------------------------------------------------------- */
.c-form-area--error {
  padding-bottom: 0;
  margin: 20px 0 100px;
}
.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: 1.4rem;
}
.c-form-area--error .msg p:last-child {
  margin-bottom: 0;
}
