@charset "UTF-8";

#sub_main {
  background: url(../images/bg-contact.jpg) no-repeat center/cover;
}

/*================================================
 * contact
 ================================================*/
form {
  max-width: 700px;
  margin: 50px auto 0;
}

label {
  display: block;
  margin: 35px auto 10px;
}

label small {
  font-size: 11px;
}

input,
select {
  vertical-align: text-top;
  font-size: 30px;
  margin: 3px;
}

input[type="email"],
input[type="number"],
input[type="text"],
input[type="tel"],
input[type="zipcode"],
input[type="date"],
input[type="city"],
input[type="address"],
select,
textarea {
  width: 100%;
  display: block;
  border: 1px solid #c7c4b5;
  outline: none;
  height: 5.5rem;
  line-height: 1.8;
  background: #fff;
  font-size: 1.5rem;
  padding-left: 10px;
  border-radius: 5px;
  box-sizing: border-box;
  font-family: "Zen Kaku Gothic New", 游ゴシック体, "Yu Gothic", YuGothic, "ヒラギノ角ゴシック Pro", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

textarea {
  height: 300px;
  padding: 10px;
}

/* radioBtn */
.radioBtn {
  position: relative;
  cursor: pointer;
  padding-left: 25px;
  display: block;
  font-weight: normal;
  margin: 10px 0;
}

.radioBtn::before,
.radioBtn::after {
  content: "";
  display: block;
  border-radius: 50%;
  position: absolute;
  transform: translateY(-50%);
  top: 50%;
}

.radioBtn::before {
  background-color: #fff;
  border: 1px solid #555;
  border-radius: 50%;
  width: 15px;
  height: 15px;
  left: 5px;
}

.radioBtn::after {
  background-color: var(--color-primary);
  border-radius: 50%;
  opacity: 0;
  width: 11px;
  height: 11px;
  left: 7px;
}

input:checked+.radioBtn::after {
  opacity: 1;
}

.checkbox {
  position: absolute;
  white-space: nowrap;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
}

form sup {
  background-color: #e65a5a;
  color: #fff;
  font-size: 1rem;
  margin-left: 4px;
  padding: 1px 5px;
  border-radius: 5px;
  vertical-align: super;
}

form sup.any {
  background-color: #959796;
}


form button {
  border: 2px solid var(--color-primary);
  background: var(--color-primary);
  color: #fff;
  padding: 12px 90px;
  border-radius: 50px;
  font-size: 1.5rem;
  letter-spacing: .1em;
  font-family: "Zen Kaku Gothic New",
    游ゴシック体,
    "Yu Gothic",
    YuGothic,
    "ヒラギノ角ゴシック Pro",
    "Hiragino Kaku Gothic Pro",
    メイリオ,
    Meiryo,
    Osaka,
    "ＭＳ Ｐゴシック",
    "MS PGothic",
    sans-serif;
}

form button:hover {
  opacity: 1;
  background: #fff;
  color: var(--color-primary);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}


@media screen and (max-width:768px) {
  form {
    margin: 50px auto 50px;
  }

  .radioBtn {
    display: block;
    margin-right: 0;
    margin: 10px;
  }
}