/* ▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼
フォームカスタマイズ
▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲ */
#page_wrap:has(.cf7-switcher) {
  margin: 48px 0;
}
.cf7-switcher {
  --accent: #0ea5e9;
  text-align: center;
}
.cf7-switcher__legend {
  margin: 0 0 24px;
  font-weight: 700;
  font-size: 20px;
}
.cf7-switcher__fieldset {
  margin: 0 0 24px;
}

/* ラジオの見た目 */
.cf7-switcher__options {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: baseline;
  max-width: 410px;
  margin: 0 auto;
}

.cf7-switcher__opt {
  position: relative;
  display: inline-flex;
  width: 100%;
}

.cf7-switcher__opt input {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.cf7-switcher__btn {
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 9999px;
  padding: 1rem;
  line-height: 1;
  background: #fff;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.08s;
  font-size: 18px;
  width: 100%;
}

.cf7-switcher__opt:hover .cf7-switcher__btn {
  transform: translateY(-1px);
}

.cf7-switcher__opt input:checked + .cf7-switcher__btn {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.25);
}

.cf7-switcher__opt input:focus-visible + .cf7-switcher__btn {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.the_text p.cf7-switcher__notice {
  font-size: 16px;
  margin: 0 0 18px;
  padding: 0;
}

/* ===== アコーディオン＋フェードの簡易アニメーション ===== */
.cf7-pane {
  display: block;
  height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
  margin: 0;
  padding: 0;
}

.cf7-pane.is-active {
  height: auto;
  overflow: visible;
  opacity: 1;
  pointer-events: auto;
  margin-top: 0.5rem;
}

.cf7-pane.is-fade-out {
  opacity: 0;
}

.WSP #page_wrap:has(.cf7-switcher) {
  margin: 7.5vw 0;
}
.WSP .cf7-switcher__legend {
  font-size: 1.6rem;
  margin-bottom: 3.75vw;
}
.WSP .cf7-switcher__options {
  gap: 2.8125vw;
  width: 78vw;
}
.WSP .cf7-switcher__fieldset {
  margin-bottom: 3.75vw;
}
.WSP .cf7-switcher__btn {
  font-size: 1.4rem;
}
.WSP .the_text p.cf7-switcher__notice {
  font-size: 1.4rem;
}
