@charset "UTF-8";
.wpcf7 {
  margin: auto;
  max-width: 800px;
  width: 100%;
  padding: 0;
  font-size: 16px;
}

.wpcf7 form {
  margin: 1.5em 1.5em 0;
}

.wpcf7 p {
  margin-bottom: 1em;
  font-size: 16px;
  text-align: left;
}

.wpcf7 input,
.wpcf7 textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 8px;
  /*   border: 1px solid #ccc; */
  border: 1px solid #dfdfdf;
  line-height: 1.2;
  border-radius: 10px;
}

.wpcf7 select,
.wpcf7 input[type=checkbox],
.wpcf7 input[type=radio] {
  width: auto;
  max-width: 97%;
  padding: 8px;
  border: 1px solid #ccc;
}

.wpcf7 select,
.wpcf7 .wpcf7-list-item-label {
  font-size: 16px;
  line-height: 1.2;
}

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

.wpcf7 textarea {
  height: 300px;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
  border: 1px solid #bbb;
  outline: none;
}

.wpcf7 .wpcf7-submit,
.wpcf7 .wpcf7-previous {
  -webkit-transition: all 0.3s;
  box-sizing: border-box;
  display: block;
  position: relative;
  width: 225px;
  height: 48px;
  margin: 30px auto 0;
  border: 1px solid #00A0E9;
  outline: none;
  background-color: #00A0E9;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 30px;
}

.wpcf7 .wpcf7-submit:before,
.wpcf7 .wpcf7-submit:after {
  box-sizing: border-box;
}

.wpcf7 .wpcf7-submit:hover,
.wpcf7 .wpcf7-previous:hover {
  background-color: #ffffff;
  color: #333333;
}

.wpcf7 .wpcf7-submit .wpcf7-not-valid {
  background: pink;
}

.wpcf7 .wpcf7-submit .wpcf7-response-output {
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  margin: 10px 0 0;
  padding: 8px 35px 8px 14px;
  border-radius: 4px;
}

.wpcf7 .wpcf7-submit .wpcf7-validation-errors {
  border: 1px solid #EED3D7;
  background-color: #F2DEDE;
  color: #B94A48;
}

.wpcf7 .wpcf7-submit .wpcf7-mail-sent-ok {
  border: 1px solid #BCE8F1;
  background-color: #D9EDF7;
  color: #3A87AD;
}

.wpcf7 .wpcf7-previous + br {
  display: none;
}

.wpcf7 form .wpcf7-response-output {
  margin: 2em 0.5em 2em;
  padding: 0;
  border: none;
  text-align: center;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
  color: #dc3232;
  font-size: 1em;
}

.contact {
  padding: 100px 0;
}

.contact .contents-wrapper {
  max-width: 800px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

input, textarea {
  background-color: #fafafa;
}

/* ラジオボタンを非表示にする（アクセシビリティのために `opacity: 0` を使用） */
.radio-label input[type=radio] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* カスタムラジオボタンのデザイン */
.custom-radio {
  display: inline-block;
  padding: 10px 15px;
  border: 2px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  font-size: 16px;
  background-color: white;
  color: black;
}

/* 選択されたときのデザイン（input がチェックされたら隣の .custom-radio に適用） */
.radio-label input[type=radio]:checked + .custom-radio {
  background-color: #007bff;
  border-color: #007bff;
  color: white;
}

/* ホバー時のデザイン */
.custom-radio:hover {
  border-color: #007bff;
  color: #007bff;
}/*# sourceMappingURL=page-form.css.map */