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

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

label {
  display: block;
  margin: 35px auto 10px;
  font-family: ten-mincho, serif;
  font-weight: 400;
}

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: YuGothic, "游ゴシック体 Pr6N M", "Yu Gothic Pr6N M", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

input[type="zipcode"] {
  width: 40%;
}

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

/* radioBtn */
.radioBtn {
  position: relative;
  cursor: pointer;
  padding-left: 25px;
  display: inline;
  font-weight: normal;
  margin-right: 15px;
  font-family: YuGothic, "游ゴシック体 Pr6N M", "Yu Gothic Pr6N M", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

.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-accent);
  border-radius: 50%;
  opacity: 0;
  width: 13px;
  height: 13px;
  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: var(--color-accent);
  color: #fff;
  font-size: 10px;
  margin-left: 4px;
  padding: 1px 4px;
  border-radius: 3px;
  vertical-align: text-top;
}

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

/* policy */
.policy {
  font-size: 1.3rem;
  font-weight: normal;
  height: 200px;
  margin: 50px 0 15px;
  overflow: auto;
  padding: 20px;
  border: 1px solid #c7c4b5;
  border-radius: 3px;
  background: #fff;
}

.policy dl dt {
  margin-bottom: 10px;
  font-weight: bold;
}

.policy dl dd {
  margin-bottom: 20px;
}

.policy ul,
.policy ol {
  padding-left: 20px;
}

.policy ul li {
  list-style: disc;
}

.policy ol li {
  margin-bottom: 10px;
}

form button {
  border: 1px solid var(--color-green);
  padding: 12px 60px;
  font-size: 1.6rem;
  letter-spacing: .15em;
  letter-spacing: 2px;
  border-radius: 5px;
  background-color: var(--color-green);
  position: relative;
  color: #fff;
  font-family: ten-mincho, serif;
  font-weight: 400;
}

form button:hover {
  color: var(--color-green);
  background: #fff;
  -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;
  }

  input[type="zipcode"] {
    width: 60%;
  }

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