.contactForm__container {
  max-width: 600px;
  margin: 0 auto;
  padding-top: 80px;
}

.contact label {
  font-size: 18px;
  font-weight: bold;
  color: var(--btn);
}

.contact input[type="text"],
.contact input[type="email"],
.contact input[type="tel"],
.contact textarea {
  width: 100%;
  margin-top: 8px;
  border: 2px solid var(--btn);
  border-radius: 5px;
  padding: 8px;
}

.contact [type="radio"] {
  margin-top: 8px;
  border: 4px solid var(--btn);
  border-radius: 40px;
  padding: 8px;
}

div#wpcf7-f89-o1 {
  padding-bottom: 120px;
}

.wpcf7-list-item.first {
  margin-top: 8px;
}
.wpcf7-list-item-label {
  cursor: pointer;
  display: flex;
}

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

.wpcf7-list-item-label::before {
  background: #fff;
  border: 2px solid var(--btn);
  border-radius: 100%; /* ラジオボタンっぽく丸くする */
  content: "";
  height: 1.2em;
  margin-bottom: auto;
  margin-right: 0.5em;
  margin-top: auto;
  transition: background-color 0.5s; /* 色をじんわり変化させる */
  width: 1.2em;
}

input[type="radio"]:checked + .wpcf7-list-item-label::before {
  background-color: var(--bg);
  box-shadow: inset 0 0 0 3px #fff; /* 中心の色のスタイル */
}

.contact__btn p {
  margin-bottom: 0px !important;
}

.wpcf7-submit {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 300px;
  margin: 40px auto;
  padding: 1rem 2.5rem !important;
  margin: 40px auto 0;
  font-weight: bold;
  text-decoration: none;
  border-radius: 40px !important;
  background: var(--btn) !important;
  color: var(--white) !important;
  border: 2px solid var(--bg) !important;
  transition: background-color 0.3s, color 0.3s;
}

.wpcf7-submit:hover {
  background-color: #fff !important;
  color: var(--bg) !important;
}

.wpcf7-spinner {
  display: none !important;
}

@media screen and (max-width: 960px) {
  .contactForm__container {
    width: 90%;
    padding-top: 60px;
  }
  .contact label {
    font-size: 16px;
  }
  .contact input[type="text"],
  .contact input[type="email"],
  .contact input[type="tel"],
  .contact textarea {
    margin-top: 4px;
  }
}
