@charset "utf-8";

/* CSS Document */
/* ==============================================
    form Reset (SP)
================================================= */
input,
select {
  vertical-align: middle;
}

input[type="submit"] {
  -webkit-appearance: none !important;
  border-radius: 0;
  border: none;
  box-shadow: 0 0 0 0 transparent;
}

input[type="text"],
input[type="email"] {
  padding: 0;
  border: none;
  border-radius: 0;
  outline: none;
  background: none;
  box-sizing: border-box;
}

input[type="radio"]:checked+label {
  background: #ff0000;
}

input[type="checkbox"] {
  display: none;
}

input[type="checkbox"]:checked+label {
  background: #ff0000;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  outline: none;
  background: transparent;
}

textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  resize: none;
  padding: 0;
  border: 0;
  outline: none;
  background: transparent;
  box-sizing: border-box;
}

/* IE text マーク削除 */
input::-ms-clear {
  visibility: hidden;
}

/* IE password マーク削除 */
input::-ms-reveal {
  visibility: hidden;
}

/**
 * error message
 */
.mw_wp_form .error {
  position: absolute;
  left: 0;
}

/* ==============================================
   #secForm (SP)
================================================= */
#secForm {
  padding-top: 80px;
  padding-bottom: 80px;
}

#secForm h3 {
  margin-bottom: 40px;
  font-size: 30px;
  color: #529227;
  text-align: center;
  letter-spacing: .05em;
  white-space: nowrap;
}

#secForm p {
  margin-bottom: 40px;
  font-size: 16px;
  color: #333;
  text-align: center;
  line-height: 2;
}

#secForm .boxPrivaxy {
  margin: 40px auto;
  font-size: 16px;
  color: #333;
  text-align: center;
  line-height: 2;
}

#secForm .boxPrivaxy a {
  color: #529227;
}

#secForm dl {
  width: 100%;
}

#secForm dt {
  margin-bottom: 10px;
}

#secForm dd {
  position: relative;
  margin-bottom: 20px;
}

#secForm dd.boxAge {
  position: relative;
  width: 35%;
}

#secForm dd.boxAge .el_txt {
  display: inline-block;
}

#secForm dd.boxAge::after {
  content: "代";
  position: absolute;
  top: 50%;
  left: 103%;
  transform: translateY(-50%);
}

#secForm dd.boxAge input,
#secForm dd.boxAge input::placeholder {
  text-align: center;
}

/* 必須の色 */
.required {
  color: #e60011;
}

input::placeholder,
textarea::placeholder {
  color: #bfbfbf;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  background: #eee;
  padding: 12px;
}

/* 送信ボタン */
input[type="submit"] {
  display: block;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 20px;
  background: #d1c74e;
  font-size: 18px;
  color: #fff;
  text-align: center;
  letter-spacing: .1em;
  transition: all 0.2s ease-in-out;
}

/* radio
------------------------------ */
.radio {
  display: none;
}

.boxGender,
.boxPolicy {
  padding-top: .5em;
}

.boxGender {
  padding-left: 30px;
}

.boxGender label {
  position: relative;
  display: inline-block;
  padding: 3px;
  cursor: pointer;
}

.radio+span::before,
.radio+span::after {
  position: absolute;
  content: '';
  top: 50%;
  border-radius: 100%;
  transition: all .2s;
}

.radio+span::before {
  /* left: 2em; */
  left: -25px;
  width: 24px;
  height: 24px;
  margin-top: -12px;
  background: #f3f3f3;
  border: 1px solid #fff;
}

.radio+span::after {
  opacity: 0;
  /* left: 37px; */
  left: -19px;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  background: #d1c74e;
  -webkit-transform: scale(2);
  transform: scale(2);
}

.radio:checked+span::before {
  background: #fff;
  border: 1px solid #d1c74e;
}

.radio:checked+span::after {
  opacity: 1;
  -webkit-transform: scale(1);
  transform: scale(1);
}

/* ---------------------------- */
#secForm .mw_wp_form .horizontal-item+.horizontal-item {
  margin-left: 50px;
}

.mwform-radio-field-text {
  display: inline-block;
}

/* ---------------------------- */
/* プライバシーポリシー              */
/* ---------------------------- */
#secForm .bl_policy {
  width: 100%;
  height: 200px;
  padding: 1em;
  margin-bottom: 2rem;
  overflow: scroll;
  border: 1px solid #756f65;
}

#secForm .bl_policy h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

#secForm .bl_policy h2 {
  font-size: 1.8rem;
  color: #756f65;
  margin-top: 2em;
  margin-bottom: 6px;
}

#secForm .bl_policy p {
  font-size: 1.4rem;
  color: #212529;
  line-height: 1.5;
  text-align: justify;
  margin-bottom: 1em;
}

#secForm .bl_policy a {
  text-decoration: underline;
  color: #212529;
}

/* check box contactform
  ---------------------------------------- */
.checkbox {
  display: inline-block;
  margin-top: .5em;
  font-size: 90%
}

.checkboxSpan {
  padding-left: 1.5em;
  position: relative;
  margin-right: 20px
}

.mwform-checkbox-field-text {
  padding-left: 2rem;
  position: relative
}

.checkboxSpan::before,
.mwform-checkbox-field-text::before {
  content: "";
  display: block;
  position: absolute;
  top: 1px;
  left: 0;
  width: 15px;
  height: 15px;
  border: 1px solid #999;
  border-radius: 2px
}

.checkbox input:checked+.checkboxSpan {
  color: #000
}

.checkbox input:checked+.checkboxSpan::after,
input:checked+.mwform-checkbox-field-text::after {
  content: "";
  display: block;
  position: absolute;
  top: -3px;
  left: 5px;
  width: 7px;
  height: 14px;
  -webkit-transform: rotate(40deg);
  transform: rotate(40deg);
  border-bottom: 2px solid #000;
  border-right: 2px solid #000
}

@media screen and (min-width:960px) {
  .mw_wp_form .error {
    top: 12px;
    right: 0;
    left: auto;
  }

  .mw_wp_form .boxAge .error {
    right: -100px;
  }

  /* =================================================
			#secForm (min-width:960px) 
	================================================= */
  #secForm .secInner {
    max-width: 730px;
  }

  #secForm dt {
    margin-bottom: 10px;
    float: left;
    width: 160px;
    height: 46px;
    line-height: 46px;
    clear: both;
  }

  #secForm dd {
    height: 46px;
    margin-bottom: 10px;
    padding-left: 180px;
    vertical-align: middle;
  }

  #secForm dd.boxArea {
    height: auto;
    margin-bottom: 3em;
    padding-top: .5em;
  }

  #secForm input[type="submit"]:hover {
    background: #fff;
    color: #d1c74e;
    border: 1px solid #d1c74e;
  }

  #secForm .boxPrivaxy a:hover {
    text-decoration: underline;
  }

  .radio+span:hover::before {
    background: #fff;
    border: 1px solid #d1c74e;
  }

  #secForm dd.boxGender {
    padding-left: 211px;
  }


}