@charset "UTF-8";

/*================================================
 * 下層ページのタイトル
 ================================================*/
.underVis {
  background: url(../images/bg-class_pc.jpg);
  background-position: center;
  background-size: cover;
}

@media screen and (max-width:768px) {
  .underVis {
    background: url(../images/bg-class_sp.jpg);
    background-position: center;
    background-size: cover;
  }
}

/*================================================
 *  contact
 ================================================*/
/* ボタン */
.info_btn {
  text-align: center;
  margin-bottom: 50px;
  letter-spacing: .1em;
}

/* モーダル */
.modal-btn {
  display: inline-block;
  margin: 0 auto;
  color: #fff;
  font-weight: bold;
  background-color: rgb(183 121 129);
  text-align: center;
  border-radius: 5px;
  padding: 15px 100px;
  border: 1px solid #fff;
  box-shadow: 3px 3px 15px rgb(119 85 72 / 40%);

}

.modal-content {
  display: none;
}


.caption a {
  text-decoration: underline;
}

.caption span {
  color: #c15855;
  font-weight: bold;
}

.number img {
  width: 150px;
  vertical-align: middle;
}

.line {
  color: #56ba2e;
  font-size: 16px;
  margin-top: 30px;
}

.line img {
  width: 160px;
  margin: 10px;
}

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

label {
  display: block;
  margin: 35px auto 7px;
  text-align: left;
}

label small {
  font-size: 11px;
}
label small a {
  color: #c15855;
  text-decoration: underline;
}

input[type="radio"] {
  margin: 0;
}

input[type="email"],
input[type="number"],
input[type="text"],
input[type="tel"],
select,
textarea {
  width: 100%;
  display: block;
  border: 0;
  outline: none;
  line-height: 1.8;
  letter-spacing: .06em;
  background-color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  padding: 10px 15px;
  border-radius: 5px;
  color: #333;
  font-family: "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

input[type="email"],
input[type="number"],
input[type="text"],
input[type="tel"],
select {
  height: 3.5rem;
  padding: 0px 10px;
}

select[type="age"],
select[type="detail"] {
  width: 30%;
}

input[type="checkbox"] {
  vertical-align: top;
  margin-bottom: 20px;
}


sup {
  color: #c15855;
  font-size: 10px;
  margin-left: 5px;
  vertical-align: super;
}

button {
  background-color: #b77981;
  color: #fff;
  border: 1px solid #b77981;
  outline: none;
  padding: 15px 70px;
  font-size: 16px;
  letter-spacing: 0.15em;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  border-radius: 50px;
  font-family: 'Noto Sans Japanese', "メイリオ", Meiryo, sans-serif;
}

button:hover {
  color: #b77981;
  background-color: #fff;
}

/* 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: #74aba3;
  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;
}

@media screen and (max-width:559px) {

  /* モーダル */
  .modal-btn {
    width: 100%;
    padding: 15px;
  }

  .line,
  .number {
    text-align: center;
  }

  .number img {
    width: 130px;
  }

  .line i {
    transform: rotate(90deg);
  }

  .line img {
    width: 45%;
    margin-top: 10px;
  }

  select[type="age"],
  select[type="detail"] {
    width: 100%;
  }

  input[type="checkbox"] {
    vertical-align: baseline;
    margin-bottom: 0;
  }

  .radioBtn::after {
    width: 11px;
    height: 11px;
  }
}