/************************
 page-entry-form
************************/
.entry-form {
  padding-top: 200px;
  padding-bottom: 200px;
  background: #003023;
}
.entry-form h1 {
  margin-bottom: 80px;
}
.entry-form h1 span {
  display: block;
  color: #fff;
}
.entry-form h1 span:nth-of-type(1) {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 5px;
}
.entry-form h1 span:nth-of-type(2) {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 5px;
}
.entry-form table {
  background: #fff;
  border-color: transparent;
  border-radius: 10px;
  background: transparent;
}
.entry-form table th {
  background: #fff;
}
.entry-form table td {
  background: #fff;
}
.entry-form table tr:first-child th {
  border-radius: 10px 0 0 0;
}
.entry-form table tr:first-child td {
  border-radius: 0 10px 0 0;
}
.entry-form table tr:last-child th {
  border-radius: 0 0 0 10px;
}
.entry-form table tr:last-child td {
  border-radius: 0 0 10px 0;
}
.entry-form tr:not(:last-child) th {
  border-bottom: 1px solid #7c9e86;
}
.entry-form tr th {
  width: 300px;
  border-right: 1px solid #7c9e86;
}
.entry-form tr:not(:last-child) td {
  border-bottom: 1px solid #7c9e86;
}
.entry-form th p {
  margin-bottom: 0;
}
.entry-form td p {
  margin-bottom: 0;
}
.entry-form p.mb15 {
  margin-bottom: 15px;
}
.entry-form th,
.entry-form td {
  padding-top: 50px;
  padding-bottom: 50px;
  padding-left: 30px;
}

.entry-form td {
  padding-right: 50px;
  font-size: 20px;
}
.entry-form th {
  word-break: keep-all;
  vertical-align: middle;
  font-weight: bold;
  padding-right: 30px;
  font-size: 20px;
}
.entry-form .required {
  color: #a91d2c;
  margin-left: 15px;
}
.entry-form input::placeholder {
  color: #799c84;
}
.entry-form .selector {
  position: relative;
}
.entry-form .selector-w200 {
  width: 200px;
}
.entry-form .selector-w100 {
  width: 100px;
}
.entry-form .mb15 {
  margin-bottom: 15px;
}
.entry-form .selector select {
  width: 100%;
  padding: 5px 40px 5px 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  background: #7a9c85;
  border-radius: 6px;
  cursor: pointer;

  /* デフォルトの矢印を非表示 */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.entry-form .selector::before,
.entry-form .selector::after {
  content: "";
  position: absolute;
  right: 15px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  pointer-events: none; /* 矢印の上をクリックしてもセレクトが開くようにする */
  z-index: 10;
}
.entry-form .selector::before {
  border-bottom: 5px solid #000; /* 三角の色 */
  top: 13px;
}
.entry-form .selector::after {
  border-top: 5px solid #000; /* 三角の色 */
  top: 20px;
}
.entry-form input[type="text"],
.entry-form input[type="tel"],
.entry-form input[type="email"],
.entry-form textarea {
  border: 1px solid #b3c7ba;
  border-radius: 5px;
  width: 100%;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 15px;
}
.entry-form .selector-box {
  display: flex;
}
.entry-form .selector-box .selector-label {
  color: #799c84;
  margin-left: 10px;
  font-weight: bold;
}
.entry-form .font-sm {
  font-size: 12px;
}
/* 1. デフォルトのラジオボタンを「絶対に」非表示にする */
.custom-radio .wpcf7-list-item input[type="radio"] {
  display: none !important; /* 基本はこれ */
  opacity: 0 !important; /* 万が一表示されても透明にする */
  appearance: none !important; /* ブラウザ独自のスタイルを無効化 */
  -webkit-appearance: none !important;
  position: absolute !important; /* 空間を占有しないようにする */
}

/* 2. ラベルの配置を整える（ここから先は前回のデザイン維持） */
.custom-radio .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  line-height: 1.5;
  padding: 8px 0;
}

/* 3. 外側の円（未選択時） */
.custom-radio .wpcf7-list-item-label::before {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 2px solid #b3c7ba; /* 未選択時の枠色 */
  border-radius: 50%;
  background: #fff;
  margin-right: 10px;
  box-sizing: border-box;
  transform: translate(0, 3px);
}

/* 4. チェックされた時の中の丸（●） */
.custom-radio
  .wpcf7-list-item
  input[type="radio"]:checked
  + .wpcf7-list-item-label::after {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  background: #b3c7ba; /* 選択時の色 */
  border-radius: 50%;
  position: absolute;
  left: 6px; /* 位置がズレる場合はここを調整 */
  top: 50%;
  transform: translateY(-50%);
}
.entry-form .flex {
  display: flex;
  flex-wrap: wrap;
}
.entry-form .mr15 {
  margin-right: 15px;
}
/* 標準の見た目を消して、新しい枠を作る */
.custom-checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #b3c7ba; /* ここで「枠の色」を自由に変える */
  background-color: #fff;
  cursor: pointer;
  position: relative;
  vertical-align: -2px;
}

/* チェックが入った時の状態 */
.custom-checkbox input[type="checkbox"]:checked {
  background-color: #b3c7ba; /* 中の色 */
  border-color: #b3c7ba; /* 枠の色も合わせる */
}

/* チェックマーク（擬似要素でV字を作る） */
.custom-checkbox input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.entry-form table {
  margin-bottom: 80px;
}
.entry-form .catch span {
  display: block;
  color: #7e9b84;
  margin-bottom: 5px;
}
.entry-form .privacy-link {
  text-align: center;
  margin-bottom: 50px;
}
.entry-form .privacy-link a {
  color: #7e9b84;
  font-size: 20px;
}
.entry-form .catch {
  text-align: center;
  margin-bottom: 50px;
}
.entry-form .doui {
  color: #3e9b2e;
  text-align: center;
  margin-bottom: 50px;
  font-size: 18px;
}
/* 標準の見た目を消して、新しい枠を作る */
.entry-form .doui input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #3e9b2e; /* ここで「枠の色」を自由に変える */
  background-color: transparent;
  cursor: pointer;
  position: relative;
  vertical-align: -3px;
}

/* チェックが入った時の状態 */
.entry-form .doui input[type="checkbox"]:checked {
  background-color: #3e9b2e; /* 中の色 */
  border-color: #3e9b2e; /* 枠の色も合わせる */
}

/* チェックマーク（擬似要素でV字を作る） */
.entry-form .doui input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.entry-form .confirm-btn {
  text-align: center;
}
.entry-form .confirm-btn input {
  border: 2px solid #3e9b2e;
  font-size: 20px;
  color: #3e9b2e;
  border-radius: 5px;
  max-width: 450px;
  width: 100%;
  padding-top: 20px;
  padding-bottom: 20px;
  background: transparent;
  letter-spacing: 1em;
  text-indent: 1em;
  font-weight: bold;
}
.entry-form .wpcf7-spinner {
  display: none;
}
.entry-form .wpcf7 form.invalid .wpcf7-response-output,
.entry-form .wpcf7 form.unaccepted .wpcf7-response-output,
.entry-form .wpcf7 form.payment-required .wpcf7-response-output {
  border-color: #ffb900;
  color: #fff;
}
@media (max-width: 991px) {
  .entry-form .catch span {
    display: inline;
  }
  .entry-form .catch {
    text-align: left;
  }
}
@media (max-width: 767px) {
  .entry-form tr th,
  .entry-form tr td {
    width: 100%;
    display: block;
  }
  .entry-form .radio-box {
    margin-top: 15px;
  }
  .entry-form tr:last-child th {
    border-bottom: 1px solid #7c9e86;
  }
  .entry-form table tr:first-child th {
    border-radius: 10px 10px 0 0;
  }
  .entry-form table tr:first-child td {
    border-radius: 0 0 0 0;
  }
  .entry-form table tr:last-child th {
    border-radius: 0 0 0 0;
  }
  .entry-form table tr:last-child td {
    border-radius: 0 0 10px 10px;
  }
}
@media (max-width: 480px) {
  .entry-form .smb15 {
    margin-bottom: 15px;
  }
}
