/* ラジオ行 */
.radio-item {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 8px;
  cursor: pointer;
}

.radio-item input[type="radio"] {
  margin-top: 3px;
  flex-shrink: 0;
  width: 5%;
  height: 20px;
}

.insurance-select > input[type="radio"] {
  position: relative;
  top: 2px;
  margin-right: 6px;
}

.label-text {
  line-height: 1.6;
}

.content {
  display: none;
  margin-top: 10px;
  padding: 10px;
  background: #f7f7f7;
  border-radius: 4px;
}



/* ラジオ＋文言 */
.radio-item {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 8px;
  cursor: pointer;
}

.radio-item input[type="radio"] {
  margin-top: 3px;
}

/* 初期非表示 */
.content {
  display: none;
  margin-top: 10px;
  padding: 10px;
  background: #f7f7f7;
  border-radius: 4px;
}

/* ★ 選択に応じて表示切替 */
.insurance-select:has(#actual_object_181:checked) .content1,
.insurance-select:has(#actual_object_223:checked) .content1{
  display: block;
}

.insurance-select:has(#actual_object_239:checked) .content2,
.insurance-select:has(#actual_object_236:checked) .content2{
  display: block;
}

.insurance-select:has(#actual_object_242:checked) .content3,
.insurance-select:has(#actual_object_241:checked) .content3{
  display: block;
}


/* * 
 2026.06.09

他のスクリプトが display: none や visibility: hidden を上書きしてきても絶対に無視する
.insurance-select .choices label,
.insurance-select .choices li,
.insurance-select .choices input[type="radio"],
.insurance-select .choices .radio-item {
    display: inline-block !important; 成形後のレイアウトに合わせて block や flex にしてもOK
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    width: auto !important;
    pointer-events: auto !important; クリック無効化も強制解除
} */

/* 他のスクリプトによって「disabled（無効化）」属性が付与されても、見た目やクリックを通常通りに保つ */
.insurance-select .choices input[type="radio"]:disabled {
    opacity: 1 !important;
    cursor: pointer !important;
    border-color: #ccc !important; /* 必要に応じて通常時の枠線色に固定 */
    background-color: #fff !important;
}

/* ラジオボタンの隣のテキスト（スパン）も絶対に消さない */
.insurance-select .choices .label-text {
    display: inline !important;
    visibility: visible !important;
    opacity: 1 !important;
}


