/* Contact Form 7 のラジオ・同意チェックを、以前のフォームと同じ見た目にする（layout.css の指定を CF7 の HTML に合わせて写したもの・2026-10-28） */
.table_form .wpcf7-list-item,
.doui_wrap .wpcf7-list-item {
  margin: 0;
}
.doui_wrap .wpcf7-list-item input {
  display: none;
}
.doui_wrap .wpcf7-list-item input + span {
  display: inline-block;
  position: relative;
  padding-left: 40px;
}
.doui_wrap .wpcf7-list-item input + span::before {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  background-color: #F5F5F5;
  left: 0;
  top: calc(50% - 11px);
  transition: 0.3s;
}
.doui_wrap .wpcf7-list-item input + span::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 8px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg) scale(0);
  left: 4px;
  top: calc(50% - 6px);
  transition: 0.3s;
}
.doui_wrap .wpcf7-list-item input:checked + span::before {
  background-color: #80BA9E;
}
.doui_wrap .wpcf7-list-item input:checked + span::after {
  transform: rotate(-45deg) scale(1);
}
.table_form .wpcf7-list-item {
  display: inline-block;
  padding: 15px 0;
  margin-right: 50px;
}
.table_form .wpcf7-list-item label {
  display: inline-block;
  cursor: pointer;
}
.table_form .wpcf7-list-item label input {
  display: none;
}
.table_form .wpcf7-list-item label input:checked + span::before {
  background-color: #80BA9E;
}
.table_form .wpcf7-list-item label input:checked + span::after {
  transform: rotate(-45deg) scale(1);
}
.table_form .wpcf7-list-item label span {
  display: block;
  position: relative;
  padding-left: 40px;
}
.table_form .wpcf7-list-item label span::before {
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  background-color: #F5F5F5;
  left: 0;
  top: calc(50% - 15px);
  transition: 0.3s;
}
.table_form .wpcf7-list-item label span::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 8px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg) scale(0);
  left: 8px;
  top: calc(50% - 6px);
  transition: 0.3s;
}
/* 入力欄を包む枠が「必須」の札の上に重ならないようにする */
.table_form .wpcf7-form-control-wrap {
  position: static;
}
.table_form .wpcf7-list-item-label,
.doui_wrap .wpcf7-list-item-label {
  font-weight: 400;
}
/* 送信中の印でボタンの下に余白ができないようにする */
.form_wrap .wpcf7-spinner {
  position: absolute;
}
