/* CF7 確認画面（同一ページ内切替） */

.entry-content__inner table tbody tr td input[type="checkbox"],
.wpcf7-form input[type="checkbox"] {
  width: auto;
}

.wpcf7-form.js-cf7-confirm .cf7-confirm-real-submit {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
}

.cf7-confirm-panel {
  margin-top: 1.5em;
}

.cf7-confirm-panel__heading {
  margin-bottom: 1em;
  font-size: 1.25em;
  font-weight: 700;
}

.cf7-confirm-panel__table {
  width: 100%;
  margin-bottom: 1.5em;
  border-collapse: collapse;
}

.cf7-confirm-panel__table th,
.cf7-confirm-panel__table td {
  padding: 10px;
  vertical-align: top;
  text-align: left;
  border-bottom: 1px solid #e5e5e5;
  white-space: pre-wrap;
  word-break: break-word;
}

.cf7-confirm-panel__table th {
  width: 32%;
  font-weight: 700;
  background-color: #f4f8ed;
}

@media (max-width: 767px) {
  .cf7-confirm-panel__table th,
  .cf7-confirm-panel__table td {
    display: block;
    width: 100%;
  }

  .cf7-confirm-panel__table th {
    border-bottom: none;
  }
}

.cf7-confirm-trigger-wrap,
.cf7-confirm-panel__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1em;
  margin-top: 1.5em;
}

.cf7-confirm-trigger,
.cf7-confirm-back,
.cf7-confirm-submit {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  line-height: 1;
  background: #ffe200;
  border: #ffe200 2px solid;
  padding: 16px 24px;
  text-align: center;
  color: #231815;
  text-decoration: none;
  font-size: 24px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.5s;
}

.cf7-confirm-back {
  background: #fff;
  border-color: #231815;
}

.cf7-confirm-trigger:hover,
.cf7-confirm-submit:hover {
  background: #fff;
  border-color: #231815;
}

.cf7-confirm-back:hover {
  background: #ffe200;
  border-color: #ffe200;
}

@media (max-width: 1024px) {
  .cf7-confirm-trigger,
  .cf7-confirm-back,
  .cf7-confirm-submit {
    font-size: 20px;
  }
}
