/* S367: 解約手続き (デザイン「10 解約アンケート(会員)」「10b 解約手続き完了(会員)」)。style.css + session.css の上に読む */
.cx{background:#F6F1E7;padding:44px 24px 64px;min-height:60vh}
.cx-bc{text-align:center;margin-bottom:20px}
.cx-card{width:680px;max-width:100%;margin:0 auto;background:#fff;border-radius:6px;padding:40px 40px 36px;box-shadow:0 4px 24px rgba(60,40,30,.06)}
.cx-card h1{font-size:19px;font-weight:700;color:#14100F;margin:0 0 16px}
.cx-lead{font-size:13px;color:#574E49;line-height:1.8;margin:0 0 18px}
/* ご利用プラン / 期間 / 請求のまとめ */
.cx-sum{margin:0;background:#FAF6EE;border-radius:4px;padding:14px 16px}
.cx-sum div{display:grid;grid-template-columns:140px 1fr;gap:12px;padding:6px 0;font-size:12.5px;line-height:1.7}
.cx-sum dt{font-weight:700;color:#14100F}
.cx-sum dd{margin:0;color:#574E49}
.cx-hr{border:0;border-top:1px solid #EFEAE0;margin:22px 0 4px}
/* 設問 */
.cx-q{border:0;padding:0;margin:20px 0 0;min-width:0}
.cx-q legend,.cx-legend{display:block;padding:0;font-size:13.5px;font-weight:700;color:#14100F;margin:0 0 10px;line-height:1.5}
.cx-q legend small,.cx-legend small{display:block;font-size:11.5px;font-weight:400;color:#8C837D;margin-top:3px}
.cx-opts{display:grid;gap:8px}
.cx-opt{display:flex;align-items:center;gap:12px;margin:0;padding:12px 14px;border:1px solid #E7E0D4;border-radius:4px;background:#fff;font-size:13.5px;color:#2B2626;cursor:pointer;line-height:1.5}
.cx-opt:hover{background:#FAF6EE}
.cx-opt:has(input:checked){border-color:#7B1F2F;background:#F5ECEC}
.cx-opt input{width:18px;height:18px;margin:0;padding:0;flex:none;accent-color:#7B1F2F}
.cx-opt:has(input:focus-visible){outline:2px solid #B08A4F;outline-offset:1px}   /* キーボード操作 (Tab) のときだけ。クリックでは付けない */
.cx-q textarea{width:100%;min-height:120px;margin:0;padding:14px 16px;background:#FAF6EE;border:1px solid #E7E0D4;border-radius:4px;font-size:13.5px;line-height:1.7;color:#14100F;font-family:inherit;resize:vertical}
.cx-q textarea::placeholder{color:#8C837D}
.cx-q textarea:focus{outline:none;border-color:#B08A4F;box-shadow:0 0 0 3px rgba(176,138,79,.15)}
/* ボタン */
.cx-actions{display:flex;gap:12px;flex-wrap:wrap;margin:26px 0 0}
.cx-actions .btn{margin:0;padding:11px 18px;border-radius:4px;font-size:13.5px;font-weight:700}
.btn.cx-back{background:#fff;color:#7B1F2F;border:1px solid #7B1F2F}
.btn.cx-back:hover{background:#FAF6EE}
.btn.cx-submit{background:#6A1928;color:#fff}
.btn.cx-submit:hover{background:#521321}
.btn.cx-submit:disabled{background:#C7B9BC;cursor:not-allowed;opacity:1}
.cx-help{font-size:12px;color:#6B615C;margin:18px 0 0;line-height:1.7}
.cx-help a{color:#7D5C2E;text-decoration:none}
.cx-help a:hover{text-decoration:underline;text-underline-offset:3px}
.cx .msg{margin-top:12px}
.cx .msg:empty{display:none}
@media (max-width:640px){
  .cx{padding:28px 16px 48px}
  .cx-card{padding:26px 20px 24px}
  .cx-sum div{grid-template-columns:1fr;gap:2px}
  .cx-actions{flex-direction:column}
  .cx-actions .btn{text-align:center}
}
