@charset "UTF-8";

/* ------------------------------------------------------------------
placeholder
------------------------------------------------------------------ */
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder{
  color: #999;
  font-size: 1.6rem;
}
input:-moz-placeholder,
textarea:-moz-placeholder {
  color: #999;
  font-size: 1.6rem;
}

/* ------------------------------------------------------------------
form__parts
------------------------------------------------------------------ */
.form__body form{
  width: 100%;
}
.form__body textarea,
.form__body input[type="text"],
.form__body input[type="date"],
.form__body input[type="tel"],
.form__body input[type="email"],
.form__body input[type="number"],
.form__body select{
  font-size: 1.6rem;
  font-family: 'Noto Sans JP', "ヒラギノ角ゴシック Pro", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  width: 100%;
  background: #fff;
  border: 1px solid #bbb;
  border-radius: 3px;
  padding: 12px;
}
.form__body input[type="radio"]{
  display: none;
}
.form__body input[type="radio"] + span{
  display: inline-flex;
  align-items: center;
  line-height: 1.4;
}
.form__body input[type="radio"] + span i{
  position: relative;
  margin-top: 0.08em;
}
.form__body input[type="radio"] + span i:before{
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  border: 1px solid #bbb;
  background: #fff;
  border-radius: 50%;
  margin: 0 10px 0 0;
}
.form__body input[type="radio"]:checked + span{
  color: #0F367A;
}
.form__body input[type="radio"]:checked + span i:after{
  content: "";
  display: block;
  position: absolute;
  top: 5px;
  left: 5px;
  width: 12px;
  height: 12px;
  background: #0F367A;
  border-radius: 50%;
}
.form__body input[type="checkbox"]{
  display: none;
}
.form__body input[type="checkbox"] + span{
  display: inline-flex;
  align-items: center;
  line-height: 1.4;
}
.form__body input[type="checkbox"] + span i{
  position: relative;
  margin-top: 0.08em;
}
.form__body input[type="checkbox"] + span i:before{
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  border: 1px solid #bbb;
  background: #fff;
  border-radius: 3px;
  margin: 0 10px 0 0;
}
.form__body input[type="checkbox"]:checked + span{
  color: #0F367A;
}
.form__body input[type="checkbox"]:checked + span i:after{
  content: "";
  display: block;
  position: absolute;
  top: 5px;
  left: 5px;
  width: 12px;
  height: 12px;
  background: #0F367A;
  border-radius: 2px;
}
.form__body label{
  cursor: pointer;
}
.form__body .select__wrap {
  position: relative;
}
.form__body .select__wrap:before {
  z-index: 1;
  content: "";
  position: absolute;
  right: 15px;
  top: 45%;
  -webkit-transform: translate(0, -50%);
  -moz-transform: translate(0, -50%);
  transform: translate(0, -50%);
  border: 4px solid transparent;
  border-top: 8px solid #222;
  margin: 5px 0 0;
  pointer-events: none;
}
.form__body .select__wrap select {
  outline:none;
  text-overflow: '';
  vertical-align: middle;
  font-size: inherit;
  color: inherit;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 12px;
  background: #fff;
  border: 1px solid #bbb;
  border-radius: 3px;
  width: 100%;
}
.form__body .select__wrap select:-ms-expand {
  display: none;
}
.form__body .select__wrap select:-moz-focus-inner {
  border: 0;
}
.form__body .select__wrap select:-moz-focusring { 
  color: transparent; 
  text-shadow: 0 0 0 #999;
}
.form__btn__submit input[type="submit"],
.form__btn__submit button{
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: left;
  min-width: 480px;
  height: 80px;
  border-radius: 40px;
  background: #0F367A;
  color: #fff;
  font-size: 2.4rem;
  font-weight: 700;
  padding: 0 30px;
  margin: auto;
  transition: all 0.2s ease;
}
.form__btn__back input[type="submit"],
.form__btn__back button{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 240px;
  height: 50px;
  border-radius: 25px;
  background: #999;
  font-size: 1.8rem;
  font-weight: 900;
  margin: 30px auto 0;
  color: #fff;
  transition: all 0.2s ease;
}
.form__btn__submit input[type="submit"]:hover,
.form__btn__submit button:hover,
.form__btn__back input[type="submit"]:hover,
.form__btn__back button:hover{
  opacity: 0.75;
}
.form__btn__submit input[type="submit"]:disabled,
.form__btn__submit button:disabled,
.form__btn__back input[type="submit"]:disabled,
.form__btn__back button:disabled{
  opacity: 0.2;
}
@media only screen and (max-width:767.98px) {
  .form__body textarea,
  .form__body input[type="text"],
  .form__body input[type="date"],
  .form__body input[type="tel"],
  .form__body input[type="email"],
  .form__body input[type="number"],
  .form__body select{
    font-size: 4.2666vw;
    padding: 10px;
  }
  .form__body input[type="radio"] + span i:before{
    width: 18px;
    height: 18px;
    margin: 0 8px 0 0;
  }
  .form__body input[type="radio"]:checked + span i:after{
    top: 4px;
    left: 4px;
    width: 10px;
    height: 10px;
  }
  .form__body input[type="checkbox"] + span i:before{
    width: 18px;
    height: 18px;
    margin: 0 8px 0 0;
  }
  .form__body input[type="checkbox"]:checked + span i:after{
    top: 4px;
    left: 4px;
    width: 10px;
    height: 10px;
  }
  .form__body .select__wrap:before {
    border: 3px solid transparent;
    border-top: 6px solid #222;
  }
  .form__btn__submit input[type="submit"],
  .form__btn__submit button{
    min-width: 100%;
    height: 50px;
    font-size: 4.2666vw;
    padding: 0 20px;
  }
  .form__btn__back input[type="submit"],
  .form__btn__back button{
    width: 140px;
    height: 40px;
    font-size: 3.7333vw;
    margin: 15px auto 0;
  }
}

/* ------------------------------------------------------------------
required
------------------------------------------------------------------ */
.form__ttl:after {
	display: flex;
	font-size: 1.2rem;
	line-height: 1;
	border-radius: 3px;
  width: 40px;
	height: 20px;
	font-weight: 400;
	align-items: center;
	justify-content: center;
  margin-top: 5px;
	color: #FFF;
}
.form__ttl.required:after {
	content: '必須';
	background: #CC0000;
}
.form__ttl.option:after {
	content: '任意';
	background: #999;
}
@media only screen and (max-width:767.98px) {
  .form__ttl{
    position: relative;
  }
  .form__ttl:after {
    position: absolute;
    top: 6px;
    right: 5%;
    font-size: 2.6666vw;
    height: 20px;
  }
}

/* ------------------------------------------------------------------
form_layout
------------------------------------------------------------------ */
.form__item__wrap{
  margin-bottom: 60px;
  border-top: 1px solid #ddd;
}
.form__item{
  display: flex;
  border-bottom: 1px solid #ddd;
}
.form__item:last-child{
  margin: 0;
}
.form__item .form__ttl{
  display: flex;
  flex-direction: column;
  width: 280px;
  line-height: 1.6;
  padding: 25px;
  background: #f9f9f9;
}
.form__parts{
  padding: 25px;
  flex: 1;
}
.item__list__horizontal .form__parts__list{
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 -10px;
}
.item__list__horizontal .horizontal__item{
  display: block;
  margin: 0 20px 10px 0;
}
.item__list__horizontal .horizontal__item:last-child{
  margin: 0 0 10px;
}
.item__list__vertical .vertical__item{
  display: block;
  margin: 0 0 15px;
}
.item__list__vertical .vertical__item:last-child{
  margin: 0;
}
.form__parts__row{
  display: flex;
  align-items: center;
  margin: 0 0 20px;
}
.form__parts__row:last-child{
  margin: 0;
}
.item__name .form__parts__col{
  display: flex;
  align-items: center;
  width: 48.5%;
  margin: 0 3% 0 0;
}
.item__name .form__parts__col:last-child{
  margin: 0;
}
.item__name .form__parts__label{
  width: 2.2em;
  justify-content: flex-end;
  margin: 0 0.5em 0 0;
}
.item__name .form__parts__col input[type="text"]{
  flex: 1;
}
.item__address .form__parts__label{
  width: 150px;
}
.item__address .form__parts__label .s{
  display: block;
  font-size: 1.2rem;
  margin: 3px 0 0;
  color: #666;
}
.item__address .form__parts__col{
  flex: 1;
}
.item__day .form__parts__label{
  width: 120px;
}
.item__day .form__parts__col{
  flex: 1;
}
.mwform-zip-field{
  display: flex;
  align-items: center;
}
.mwform-zip-field input[type="text"]{
  width: 6em;
  margin: 0 0.5em;
}
.form__notice{
  margin: 10px 0 0;
  font-size: 1.4rem;
  line-height: 1.6;
}
.form__notice:first-child{
  margin: 0 0 10px;
}
.form__unit{
  margin: 0 0 0 0.5em;
}
@media only screen and (max-width:767.98px) {
  .form__item__wrap{
    margin: 0 -5% 40px;
  }
  .form__item{
    display: block;
  }
  .form__item .form__ttl{
    display: block;
    width: 100%;
    padding: 10px 5%;
  }
  .form__parts{
    padding: 15px 5% 30px;
  }
  .form__parts__row{
    display: block;
    margin: 0 0 15px;
  }
  .item__name .form__parts__col{
    width: 100%;
    margin: 0 0 15px;
  }
  .form__parts__label{
    font-size: 3.2vw;
    color: #666;
  }
  .item__address .form__parts__label{
    display: block;
    width: inherit;
    margin: 0 0 10px
  }
  .item__address .form__parts__label .s{
    font-size: 1.0rem;
  }
  .item__day .form__parts__label{
    display: block;
    width: inherit;
    margin: 0 0 10px
  }
  .item__day .form__parts__label .s{
    font-size: 1.0rem;
  }
  .form__notice{
    font-size: 3.2vw;
  }
}

/* ------------------------------------------------------------------
agreebox
------------------------------------------------------------------ */
.form__agreebox{
}
.form__agreebox p{
  font-size: 1.6rem;
  line-height: 1.8;
}
.form__agreebox a{
  text-decoration: underline;
}
.form__agreebox .agree__i{
  margin: 20px 0 0;
}
.form__agreebox .agree__i label{
  display: inline-block;
  vertical-align: middle;
  padding: 15px 30px;
  border: 4px solid #CC0000;
  border-radius: 5px;
  cursor: pointer;
}
@media only screen and (max-width:767.98px) {
	.form__agreebox p{
		font-size: 3.2vw;
		line-height: 1.6;
	}
  .form__agreebox .agree__i{
    margin: 10px 0 0;
  }
  .form__agreebox .agree__i label{
    display: block;
		text-align: center;
    padding: 15px;
  }
}

/* ------------------------------------------------------------------
error
------------------------------------------------------------------ */
.form__body .error{
  display: flex;
  align-items: center;
  margin: 10px 0 0 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: #ea4949;
  background: #ffeeee;
  padding: 5px 15px;
  border-radius: 3px;
}
.form__body .error:before{
  content: "！";
  margin: 0 0.5em 0 0;
}
@media only screen and (max-width:767.98px) {
  .form__body .error{
    font-size: 3.2vw;
    padding: 5px 10px;
  }
}

/* ------------------------------------------------------------------
message
------------------------------------------------------------------ */
.form__message{
  display: block;
  padding: 20px 0;
  margin: 0 0 40px 0;
  font-size: 2.0rem;
  font-weight: 700;
  text-align: center;
  background: #fff;
}
.form__message.error{
  border: 4px solid #CC0000;
  color: #CC0000;
}
.form__message.confirm{
  border: 4px solid #0F367A;
  color: #0F367A;
}

@media only screen and (max-width:767.98px) {
  .form__message{
    padding: 10px;
    margin: 0 0 20px;
    font-size: 4.2666vw;
    line-height: 1.4;
  }
}

/* ------------------------------------------------------------------
width
------------------------------------------------------------------ */
@media print,screen and (min-width:768px) {
  .item__txt--ss input[type="text"]{
    width: 20%;
  }
  .item__txt--s input[type="text"]{
    width: 40%;
  }
  .item__txt--m input[type="text"],
  .item__txt--m input[type="email"]{
    width: 60%;
  }
  .item__txt--l input[type="text"]{
    width: 100%;
  }
}
@media only screen and (max-width:767.98px) {
  .item__txt--ss input[type="text"],
  .item__txt--s input[type="text"]{
    width: 60%;
  }
}

/* ------------------------------------------------------------------
confirm
------------------------------------------------------------------ */
.mw_wp_form_confirm .select__wrap{
  width: auto !important;
}
.mw_wp_form_confirm .select__wrap:before {
  display: none !important;
}

/* ------------------------------------------------------------------
thanks
------------------------------------------------------------------ */
.form__thanks{
  width: 900px;
  margin: auto;
  text-align: center;
}
.form__thanks .ttl{
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1.6;
  color: #0F367A;
  margin-bottom: 40px;
}
.form__thanks .txt{
  line-height: 1.8;
  margin-bottom: 40px;
}
@media only screen and (max-width:767.98px) {
  .form__thanks{
    width: 100%;
  }
  .form__thanks .ttl{
    font-size: 4.2666vw;
    margin-bottom: 30px;
  }
  .form__thanks .txt{
    line-height: 1.6;
    margin-bottom: 30px;
  }
}
