/* ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
　　　contact
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
.contact-wrapper {
  width: 70%;
  margin: 0 auto;
  margin-top: 100px;
}

.section-inner {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

.contact_title {
  text-align: center;
  font-size: 24px;;
  font-family: 'Century Gothic', Futura, sans-serif;
  font-weight: lighter;
  font-style: italic;
  letter-spacing: 0.2rem;
  margin: 100px auto 40px;
}

.medium {
  font-size: 14px;
  padding: 40px 0;
}

.small {
  font-size: 12px;
  padding: 0 0 30px 0;
}

small a {
  color: #000;
}

div#wpcf7-f43-p44-o1 {
  margin: 100px 0;
}

span.CF7_req_mark {
  color: #9DC6D2;
}

input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required, textarea.wpcf7-form-control.wpcf7-textarea,input.wpcf7-form-control.wpcf7-text {
  display: inline-block;
  width: 100%;
  margin: 20px 0 30px;
  border-color: #f0f0f0;
  border-style: solid;
  font-family: 游明朝体, "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
}

.wpcf7-validates-as-required {
  height: 40px;
}

.wpcf7-textarea {
  height: 200px;
}


/* ラジオボタン */
.wpcf7-list-item.first {
  margin: 0;
}
.wpcf7-list-item-label {
  cursor: pointer;
  display: flex;
  /* margin: 20px 0 40px 20px; */
}

/* デフォルトのボタン */
input[type="radio"] {
  opacity: 0; /* デフォルトのボタンを非表示 */
  position: absolute;
}

/* チェック前のボタン */
.wpcf7-list-item-label::before {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 100%; /* ラジオボタンっぽく丸くする */
  content: "";
  height: 1.1em;
  margin-bottom: auto;
  margin-right: .5em;
  margin-top: auto;
  transition: background-color .5s; /* 色をじんわり変化させる */
  width: 1.1em;
}
/* チェック後のボタン */
input[type="radio"]:checked + .wpcf7-list-item-label::before {
  background-color: #9DC6D2; /* チェック後の中心の色 */
  box-shadow: inset 0 0 0 3px #fff; /* 中心の色のスタイル */
}


/* 送信ボタン */
.wpcf7 input.wpcf7-submit {
  /* font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif; */
  display: block;
  background-color: #444444;
  border: 1px solid #444444;
  color: #fff;
  margin: 24px auto;
  padding: 1em;
  transition: all 0.5s 0s ease;
  height: 60px;
  width: 40%;
  font-size: 13px;
  border-radius: 0;
}

.wpcf7 input.wpcf7-submit:hover {
  background: #fff;
  color: #444444;
  transition: all 0.5s 0s ease;
}


/* ーーーータブレットーーーーーーーーーーーーーーーーーー */
@media screen and (max-width: 1024px){
  .wpcf7-list-item-label {
    margin: 12px 0 20px 12px;
  }

  .wpcf7-list-item {
    margin: 0;
    display: block;
  }

}

/* ーーーースマホーーーーーーーーーーーーーーーーーーーー */
@media screen and (max-width: 520px) {
  .contact-wrapper {
    width: 85%;
    margin-top: 0;
  }

  .contact_title {
    font-size: 20px;
    margin: 80px auto 40px;
  }

  .small {
    font-size: 12px;
  }

  div#wpcf7-f6-p11-o1 {
    margin: 60px auto;
  }

  form.wpcf7-form.init {
    font-size: 14px;
  }

  .wpcf7-list-item-label {
    margin: 12px 0 12px 12px;
  }

  .wpcf7 input.wpcf7-submit {
    padding: 0.5em;
    height: 40px;
  }

}


/* ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
　　　thanks
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
h2 {
    position: relative;
    text-align: center;
    font-size: 35px;
    letter-spacing: 4px;
    font-weight: normal;
    margin-top: 150px;
    padding: 50px;
}

.thanksp {
    font-size: 13px;
    letter-spacing: 1px;
    text-align: center;
}

.thanks-p {
  text-align: center;
}

.thanks-p a {
  text-decoration: underline;
  color: #a8605f;
}

.thanks-p a:hover {
  color: #005243;
}

.thanks-button {
  display: block;
  width: 320px;
  font-size: 16px;
  font-weight:lighter;
  text-align: center;
  padding: 20px;
  color: #fff;
  background-color: #a8605f;
  letter-spacing: 0.1rem;
  margin: 40px auto;
  text-decoration: none;
  transition: 0.8s;
}

.thanks-button:hover {
  color: #a8605f;
  background-color: #fff;
  transition: 0.8s;
}

/* ーーーータブレットーーーーーーーーーーーーーーーーーー */
@media screen and (max-width: 1024px){
  .section-inner {
    max-width: 80%;
  }

}

/* ーーーースマホーーーーーーーーーーーーーーーーーーーー */
@media screen and (max-width: 520px) {
  h2 {
    margin-top: 60px;
    padding: 32px;
  }

  .thanks-button {
    width: 70%;
    font-size: 14px;
  }

  .thanks-p {
    font-size: 14px;
    text-align: left;
  }

}
