@charset "UTF-8";

/*
 * 解約の手続き(MNP転出・携帯電話の解約・Wi-Fiの解約)の画面。2026-10-17 解約改善 Phase 1
 *
 * 【落ち着いた見た目にする】解約は喜ぶ場面ではない。ほかの申込と同じ明るい強調(ティールの塗り・
 * ピンクの選択)は使わず、地は白と灰、注意(違約金・返却が要る)だけを読める濃さの赤で示す。
 * 回線の選択肢は、現行の「解約」用のピンク(label.cancellation)ではなく、ほかの選択肢と同じ見た目にする。
 *
 * 【自分の接頭辞(.cxl-)の下だけを飾る】style.css には手を触れない。
 * 色は tokens.css の値を使い、読み込めなかったときの値も必ず書く(MemberDesignTokenTest が見張る)。
 *
 * 【戻し方】app/(member)/layout.tsx から /css/cancellation.css の1行を消せば元に戻る
 * (画面の部品は残るが、飾りの無い素の表示になる)。
 */

/* ── 書き出しとご案内 ───────────────────────── */
/* 画面の題(h1 の帯)のすぐ下に来るので、帯との間をあける */
.cxl p.cxl-lead {
  margin-top: clamp(15px, 3.597vw, 30px);
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-slate, #273343);
}

.cxl p.cxl-hint {
  margin-top: 15px;
  padding: 12px 15px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-slate, #273343);
  background: var(--c-tint-blue, #f5f7fa);
  border: 1px solid var(--n-250, #e0e0e0);
  border-radius: var(--radius-md, 8px);
}

.cxl p.cxl-note {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--n-550, #555);
}

/* 項目名(p.heading)の中の label は、「必須」「任意」の札と同じ行に置く
   (既定の div.area label は1行を占めるので、札が次の行へ落ちていた) */
div.area .cxl p.heading label {
  display: inline;
}

/* ── 回線の選択肢 ─────────────────────────── */
/* 2026-10-27: ほかの手続きの画面と同じ選ぶカード(forms.css の .fc-choice)にした。
   以前の旧来の作り(本物の丸を隠し、文字の側に丸を描く)では、選んでいるのに丸が白抜きに見えた。
   ここでは回線の札らしさ(電話番号を大きく・受付中の知らせ)だけを足す */
#main-content .cxl .cxl-line-choice .cxl-line-tel {
  font-family: var(--font-num, "Roboto", "Noto Sans JP", sans-serif);
  font-size: 17px;
  letter-spacing: 0.02em;
}

#main-content .cxl .cxl-line-choice span.cxl-line-blocked {
  margin-top: 4px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--c-danger-ink, #b91512);
}

/* 受付中の申込の状況・担当者とのやり取りへ(メッセージ) */
#main-content .cxl .cxl-line-choice a.cxl-line-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-interaction-ink, #00796b);
}

/* 見出し(h2)のすぐ下の回線の欄 */
#main-content .cxl h2 + fieldset.cxl-lines {
  margin-top: 12px;
}

/* ── 違約金と端末の返却 ───────────────────── */
.cxl div.cxl-terms dl {
  display: grid;
  grid-template-columns: 7.5em minmax(0, 1fr);
  gap: 10px 15px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-slate, #273343);
}

.cxl div.cxl-terms dt {
  font-weight: 600;
  color: var(--n-550, #555);
}

.cxl div.cxl-terms dd {
  margin: 0;
  min-width: 0;
  /* 金額が途中で折り返さないように(body の word-break: break-all だと「22,00」「0円」に割れる。2026-11-05) */
  word-break: normal;
  overflow-wrap: anywhere;
}

/* 注意(違約金がかかる・返却が要る)だけを読める濃さの赤で */
.cxl-warn {
  color: var(--c-danger-ink, #b91512);
  font-weight: 700;
}

.cxl-address {
  display: block;
  white-space: pre-line;
}

.cxl div.cxl-terms dd.cxl-address {
  padding: 8px 12px;
  background: var(--n-75, #f8f8f8);
  border-radius: var(--radius-xs, 4px);
}

@media screen and (max-width: 480px) {
  .cxl div.cxl-terms dl {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .cxl div.cxl-terms dd + dt {
    margin-top: 10px;
  }
}

/* ── ご注意 ─────────────────────────────── */
.cxl ul.cxl-notes {
  font-size: 13px;
  line-height: 1.8;
  color: var(--c-slate, #273343);
}

.cxl ul.cxl-notes li + li {
  margin-top: 6px;
}

/* ── 使えなくなるもの ─────────────────────── */
.cxl div.cxl-losses ul {
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-slate, #273343);
}

.cxl div.cxl-losses li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--n-250, #e0e0e0);
}

.cxl div.cxl-losses li strong {
  font-family: var(--font-num, "Roboto", "Noto Sans JP", sans-serif);
  font-weight: 700;
  white-space: nowrap;
}

/* ── 選べる回線が無いとき ─────────────────── */
.cxl ul.cxl-blocked-list {
  margin: 15px 0;
  padding: 12px 15px;
  font-size: 13px;
  line-height: 1.8;
  background: var(--n-75, #f8f8f8);
  border-radius: var(--radius-md, 8px);
}

/* ── 確認画面の同意 ───────────────────────── */
div.cxl-consent {
  margin-bottom: 20px;
}

div.cxl-consent p.apply-message {
  color: var(--c-slate, #273343);
}

/* ── ご提案(特典)。確認画面の前に出す(Phase 2) ─────────────── */
.cxl div.cxl-offers {
  margin-top: 20px;
}

/* ご提案の札: 落ち着いた見た目の中で、ここだけ淡いティールの地で目に留まるようにする */
.cxl div.cxl-offer {
  text-align: center;
  background: var(--c-tint-teal-weak, #f1faf9);
  border-color: var(--c-interaction, #00b19f);
}

.cxl div.cxl-offer + div.cxl-offer {
  margin-top: 15px;
}

.cxl p.cxl-offer-value {
  font-size: clamp(18px, 2.398vw, 22px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--c-interaction-ink, #00796b);
}

.cxl p.cxl-offer-title {
  margin-top: 6px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--c-slate, #273343);
}

.cxl p.cxl-offer-desc {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.8;
  text-align: left;
  white-space: pre-line;
  color: var(--c-slate, #273343);
}

.cxl div.cxl-offer .button {
  margin-top: 15px;
}

/* 「ご提案を受けずに、解約の手続きを続ける」
   【隠さない・小さくしない】解約を不当に妨げないため、ご提案のボタンと同じ大きさで、
   いつも見える場所に置く。白地に枠で、ご提案のボタン(紺)と見分けられるようにする。 */
.cxl .button.cxl-continue {
  width: auto;
  min-width: 250px;
  max-width: 100%;
  padding: 0 20px;
  color: var(--c-slate, #273343);
  background: var(--n-0, #fff);
  border: 1px solid var(--c-slate, #273343);
}

.cxl .button.cxl-continue::after {
  display: none;
}

.cxl .button.cxl-continue:hover:not(:disabled):not([disabled]) {
  background: var(--n-100, #f5f5f5);
}

/* 特典のお申込みを受け付けたあと */
.cxl div.cxl-offer-done {
  text-align: center;
  font-size: 14px;
  line-height: 1.8;
}

.cxl div.cxl-offer-done p + p {
  margin-top: 10px;
}

/* ── 解約・転出のご相談(入口 /cancel/)。2026-10-17 解約改善 Phase 4 ─────── */
/* 手続きの選択は、ほかのマイページのカードと同じ白い札にする(強い色で急かさない) */
.cxl.cxl-hub h2 {
  margin-top: 30px;
}

.cxl-hub section.cxl-hub-pending {
  margin-top: 20px;
  padding: 12px 15px;
  background: var(--c-tint-blue, #f5f7fa);
  border: 1px solid var(--n-250, #e0e0e0);
  border-radius: var(--radius-md, 8px);
}

/* 箱の中の見出しは、節の見出し(上下の罫線・大きな余白)にしない */
.cxl-hub section.cxl-hub-pending h2 {
  margin-top: 0;
  padding: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  border-top: 0;
  border-bottom: 1px solid var(--n-250, #e0e0e0);
}

.cxl-hub section.cxl-hub-pending h2 + * {
  margin-top: 0;
}

.cxl-hub section.cxl-hub-pending li {
  display: grid;
  gap: 2px;
  padding: 10px 0;
}

.cxl-hub section.cxl-hub-pending li + li {
  border-top: 1px dashed var(--n-250, #e0e0e0);
}

.cxl-hub span.cxl-hub-pending-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-slate, #273343);
}

.cxl-hub span.cxl-hub-pending-sub {
  font-size: 13px;
  color: var(--n-550, #555);
}

.cxl-hub section.cxl-hub-pending a.cxl-line-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-interaction-ink, #00796b);
}

.cxl-hub span.cxl-hub-pill {
  display: inline-block;
  padding: 1px 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--n-500, #666);
  background: var(--n-0, #fff);
  border: 1px solid var(--n-300, #ccc);
  border-radius: var(--radius-pill, 999px);
}

.cxl-hub ul.cxl-hub-types {
  display: grid;
  gap: 10px;
  margin-top: 15px;
}

.cxl-hub a.cxl-hub-type {
  display: grid;
  gap: 4px;
  padding: 15px 44px 15px 15px;
  position: relative;
  color: var(--c-slate, #273343);
  text-decoration: none;
  background: var(--n-0, #fff);
  border: 1px solid var(--n-250, #e0e0e0);
  border-radius: var(--radius-md, 8px);
  box-shadow: var(--elev-1, 0 2px 6px rgba(39, 51, 67, 0.1));
}

/* 押せることが分かる矢印(文字ではなく形。読み上げには渡さない) */
.cxl-hub a.cxl-hub-type::after {
  position: absolute;
  top: 50%;
  right: 18px;
  width: 9px;
  height: 9px;
  content: "";
  border-top: 2px solid var(--c-slate, #273343);
  border-right: 2px solid var(--c-slate, #273343);
  transform: translateY(-50%) rotate(45deg);
}

.cxl-hub a.cxl-hub-type:hover {
  border-color: var(--c-interaction, #00b19f);
}

.cxl-hub span.cxl-hub-type-title {
  font-size: 16px;
  font-weight: 700;
}

.cxl-hub span.cxl-hub-type-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--n-550, #555);
}

.cxl-hub span.cxl-hub-type-none {
  font-size: 12px;
  font-weight: 600;
  color: var(--c-danger-ink, #b91512);
}

.cxl-hub div.cxl-hub-consult {
  margin-top: 25px;
  padding: 12px 15px;
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
  color: var(--c-slate, #273343);
  background: var(--n-75, #f8f8f8);
  border-radius: var(--radius-md, 8px);
}

.cxl-hub div.cxl-hub-consult a {
  display: inline-block;
  /* 指で押しやすい高さ(44px)。文字の位置は変えずに上下を広げる */
  padding: 11px 8px;
  margin-top: -7px;
  margin-bottom: -11px;
  font-weight: 600;
  color: var(--c-interaction-ink, #00796b);
}

/* トップのマイページメニューの「解約・転出のご相談」と、メニュー(ハンバーガー)の同じ入口。
   アイコンは現行の赤い×の絵(解約3種)ではなく、相談の吹き出し(落ち着いた見た目) */
div.mypage-menu a.myp-icon35 img {
  width: 50px;
}

/* スマホの3列では9文字の名前が1文字だけ折り返す(「…ご相」「談」)。この入口だけ少し小さくして1行に収める */
@media screen and (max-width: 480px) {
  div.mypage-menu a.myp-icon35 span {
    font-size: 11px;
    letter-spacing: 0;
  }
}

nav#nav ul.menu li.nav_i24 a span::before {
  left: 17px;
  width: 25px;
  height: 25px;
  background: url(../img/icon/mypage/icon35.svg) center/contain no-repeat;
}
