@charset "UTF-8";

/*
 * 会員フォームの共通部品(2026-10-26 会員フォームの見直し)
 *
 * Phase 0: 説明の窓(components/member/InfoSheet.tsx)
 *   - 開くボタンはティールの文字に下線と i の印(旧来の .info-txt は使わない。旧来の飾りは div.contract-box の中でしか効かない)
 *   - 窓の中身(.info-sheet)の文字の大きさ・見出し・注記
 *
 * 【自分の接頭辞(.info-sheet)の下だけを飾る】style.css には手を触れない。
 * 色は tokens.css の値を使い、読み込めなかったときの値も必ず書く(MemberDesignTokenTest が見張る)。
 *
 * 【戻し方】app/(member)/layout.tsx から /css/forms.css の1行を消す(ボタンにブラウザの素の枠が付くだけで、窓は開く)。
 */

/* ── 説明の窓を開くボタン ───────────────────── */
/* ティールの文字に下線と i の印。縦に並べ、指で押しやすい高さ(44px)を持たせる */
#main-content button.info-sheet-open {
  display: flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  min-height: 44px;
  margin: 0;
  padding: 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--c-interaction-ink, #00796b);
  background: none;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

#main-content button.info-sheet-open svg {
  flex: none;
  width: 18px;
  height: 18px;
}

/* 欄のすぐ下に置くときの間 */
#main-content div.info:has(> button.info-sheet-open) {
  margin-top: 8px;
}

/* ── 窓の中身 ─────────────────────────────── */
.msheet .info-sheet {
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-slate, #273343);
}

.msheet .info-sheet p {
  margin: 0;
}

.msheet .info-sheet p + p {
  margin-top: 6px;
}

.msheet .info-sheet h3 {
  margin: 18px 0 4px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.msheet .info-sheet .info-sheet-note {
  font-size: 12px;
  color: var(--n-500, #666);
}

.msheet .info-sheet .info-sheet-list {
  margin: 10px 0 0;
  padding-left: 1.2em;
  list-style: disc;
}

.msheet .info-sheet .info-sheet-list li {
  /* reset.css が li の印を消しているので、ここで付け直す */
  list-style: disc;
}

.msheet .info-sheet .info-sheet-list li + li {
  margin-top: 6px;
}

.msheet .info-sheet .info-sheet-list + .info-sheet-note {
  margin-top: 12px;
}

/* ================================================================
 * Phase 1(2026-10-26): 申込の入力画面の共通部品(components/member/FormParts.tsx・ContractSummary.tsx)
 * ================================================================ */

/* ── ご契約中の回線(ContractSummary)。以前の5行の表(約300px)を、電話番号が主役の札にした ── */
.fc-contract {
  padding: 14px 16px;
  background: var(--c-tint-blue, #f5f7fa);
  border-radius: var(--radius-md, 8px);
}

#main-content .fc-contract p {
  margin: 0;
}

#main-content .fc-contract .fc-contract-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--n-500, #666);
}

#main-content .fc-contract .fc-contract-tel {
  margin-top: 2px;
  font-family: var(--font-num, "Roboto", "Noto Sans JP", sans-serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--c-slate, #273343);
}

.fc-contract-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin: 6px 0 0;
  padding: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--c-slate, #273343);
}

.fc-contract-meta li {
  list-style: none;
}

.fc-contract-k {
  margin-right: 6px;
  font-size: 12px;
  color: var(--n-500, #666);
}

/* 札の下に節が続くときの間 */
.fc-contract + * {
  margin-top: 24px;
}

/* ── 欄の枠(fieldset)と名前 ── */
/* 札(必須・ご利用中・現在/変更後)の文字は 12px より小さくしない(会員画面の文字の下限。e2e member-mobile) */
/* 節の見出し(h2)のすぐ下の欄の名前は、見出しに貼り付かないようあける */
#main-content div.inner > h2 + p.fc-label,
#main-content div.inner > h2 + fieldset.fc-field {
  margin-top: 16px;
}

#main-content fieldset.fc-field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

#main-content * + fieldset.fc-field,
#main-content fieldset.fc-field + * {
  margin-top: 20px;
}

#main-content .fc-legend,
#main-content p.fc-label {
  display: block;
  margin: 0 0 10px;
  padding: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-slate, #273343);
}

.fc-req {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 6px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  vertical-align: 2px;
  color: var(--c-pink, #e92b66);
  border: 1px solid var(--c-pink, #e92b66);
  border-radius: var(--radius-xs, 4px);
}

#main-content p.fc-hint {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--n-500, #666);
}

/* 欄のまとまりの名前のすぐ下の説明は、名前に寄せて選択肢との間をあける */
#main-content .fc-legend + p.fc-hint {
  margin: -4px 0 10px;
}

/* ── 選ぶカード ── */
.fc-choices {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.fc-choices.is-2col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#main-content label.fc-choice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 56px;
  margin: 0;
  padding: 14px;
  background: var(--n-0, #fff);
  border: 1.5px solid var(--n-250, #e0e0e0);
  border-radius: 10px;
  cursor: pointer;
}

#main-content label.fc-choice:hover {
  border-color: var(--n-400, #999);
}

#main-content label.fc-choice:has(input:checked) {
  background: var(--c-tint-teal-weak, #f1faf9);
  border-color: var(--c-interaction-ink, #00796b);
  box-shadow: inset 0 0 0 1px var(--c-interaction-ink, #00796b);
}

#main-content label.fc-choice:has(input:focus-visible),
#main-content label.fc-check:has(input:focus-visible) {
  outline: 2px solid var(--c-pink, #e92b66);
  outline-offset: 2px;
}

/* 押せない選択肢: 名前と丸・四角だけ薄くし、押せない理由(補足の文)は読める濃さのまま(2026-10-26 Phase 6) */
#main-content label.fc-choice.is-disabled {
  cursor: not-allowed;
  background: var(--n-100, #f5f5f5);
}

#main-content label.fc-choice.is-disabled:hover {
  border-color: var(--n-250, #e0e0e0);
}

#main-content label.fc-choice.is-disabled .fc-choice-mark,
#main-content label.fc-choice.is-disabled .fc-choice-label {
  opacity: 0.55;
}

#main-content label.fc-choice.is-disabled .fc-choice-sub {
  color: var(--n-550, #555);
}

.fc-choice-mark,
.fc-check-mark {
  display: flex;
  flex: none;
}

.fc-choice-mark {
  padding-top: 1px;
}

/* 【本物の丸・四角を見せる】旧来の指定(div.area input は 1px に縮めて隠す。controls.css)を、この部品の中だけ戻す */
#main-content div.area .fc-choice-mark input[type="radio"],
#main-content div.area .fc-check-mark input[type="checkbox"] {
  display: block;
  position: static;
  width: 22px;
  height: 22px;
  margin: 0;
  padding: 0;
  opacity: 1;
  pointer-events: auto;
  cursor: pointer;
  accent-color: var(--c-interaction-ink, #00796b);
}

.fc-choice-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.fc-choice-label {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-slate, #273343);
}

.fc-choice-sub {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--n-500, #666);
}

.fc-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  vertical-align: 1px;
  color: var(--c-interaction-ink, #00796b);
  background: var(--c-tint-teal, #e5f7f5);
  border-radius: var(--radius-pill, 999px);
}

/* ── 申し込む前に確かめること と 同意 ── */
#main-content .fc-consent {
  margin-top: 28px;
}

#main-content .fc-consent h3.fc-consent-title {
  margin: 0 0 10px;
  padding: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
  color: var(--c-slate, #273343);
  background: none;
  border: 0;
}

#main-content ul.fc-notes {
  margin: 0;
  padding: 14px 16px 14px 32px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--c-slate, #273343);
  background: var(--c-tint-blue, #f5f7fa);
  border-radius: var(--radius-md, 8px);
}

#main-content ul.fc-notes li {
  list-style: disc;
}

#main-content ul.fc-notes li + li {
  margin-top: 6px;
}

#main-content label.fc-check {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  margin: 14px 0 0;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-slate, #273343);
  background: var(--n-0, #fff);
  border: 1.5px solid var(--n-250, #e0e0e0);
  border-radius: 10px;
  cursor: pointer;
}

#main-content label.fc-check:has(input:checked) {
  background: var(--c-tint-teal-weak, #f1faf9);
  border-color: var(--c-interaction-ink, #00796b);
}

/* ── 量を選ぶ ── */
.fc-stepper {
  display: flex;
  align-items: center;
  gap: 10px;
}

#main-content button.fc-stepper-btn {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  font-family: inherit;
  font-size: 22px;
  line-height: 1;
  color: var(--c-slate, #273343);
  background: var(--n-0, #fff);
  border: 1.5px solid var(--n-300, #ccc);
  border-radius: var(--radius-pill, 999px);
  cursor: pointer;
}

#main-content button.fc-stepper-btn:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

.fc-stepper-box {
  position: relative;
  flex: 0 1 180px;
  min-width: 0;
}

#main-content div.area .fc-stepper-box input[type="number"] {
  width: 100%;
  height: 48px;
  margin: 0;
  padding: 0 44px 0 14px;
  font-family: var(--font-num, "Roboto", "Noto Sans JP", sans-serif);
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  border: 1.5px solid var(--n-300, #ccc);
  border-radius: 10px;
  -moz-appearance: textfield;
  appearance: textfield;
}

#main-content .fc-stepper-box input[type="number"]::-webkit-outer-spin-button,
#main-content .fc-stepper-box input[type="number"]::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.fc-stepper-unit {
  position: absolute;
  top: 50%;
  right: 14px;
  font-weight: 700;
  color: var(--n-500, #666);
  pointer-events: none;
  transform: translateY(-50%);
}

#main-content .fc-stepper + p.fc-hint {
  margin: 8px 0 0;
}

/* ── 確認画面の「現在 → 変更後」 ── */
.fc-change {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fc-change-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.fc-change-tag {
  display: inline-block;
  flex: none;
  min-width: 3.6em;
  padding: 1px 6px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  color: var(--n-500, #666);
  background: var(--n-100, #f5f5f5);
  border-radius: var(--radius-xs, 4px);
}

.fc-change-tag.is-new {
  color: var(--c-interaction-ink, #00796b);
  background: var(--c-tint-teal, #e5f7f5);
}

.fc-change-from {
  color: var(--n-500, #666);
}

.fc-change-to {
  font-weight: 700;
  color: var(--c-slate, #273343);
}

/* ── 画面の上に出す知らせ(受付中の申込・申し込めない理由) ── */
.fc-notice {
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-slate, #273343);
  background: var(--c-tint-teal-weak, #f1faf9);
  border: 1px solid var(--c-interaction, #00b19f);
  border-radius: var(--radius-md, 8px);
}

.fc-notice.is-warn {
  background: var(--c-danger-tint-weak, #ffefef);
  border-color: var(--c-danger-ink, #b91512);
}

#main-content .fc-notice p {
  margin: 0;
}

#main-content .fc-notice p.fc-notice-title {
  font-weight: 700;
}

.fc-notice-body {
  margin-top: 6px;
}

#main-content .fc-notice-body > * + * {
  margin-top: 6px;
}

#main-content ul.fc-notice-list {
  margin: 0;
  padding-left: 1.2em;
}

#main-content ul.fc-notice-list li {
  list-style: disc;
}

#main-content .fc-notice p.fc-notice-note {
  font-size: 13px;
  color: var(--n-500, #666);
}

#main-content .fc-notice a {
  font-weight: 700;
  color: var(--c-interaction-ink, #00796b);
}

/* ================================================================
 * Phase 2(2026-10-26): お届け先・サービスの札・文章の欄
 * ================================================================ */

/* ── お届け先(ShippingAddress)。ご契約中の回線の札と同じ地の色 ── */
.fc-ship {
  padding: 14px 16px;
  background: var(--c-tint-blue, #f5f7fa);
  border-radius: var(--radius-md, 8px);
}

#main-content .fc-ship p {
  margin: 0;
}

#main-content .fc-ship .fc-ship-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--n-500, #666);
}

#main-content .fc-ship .fc-ship-addr {
  margin-top: 2px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--c-slate, #273343);
}

#main-content .fc-ship .fc-ship-note {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--n-500, #666);
}

#main-content .fc-ship a {
  font-weight: 700;
  color: var(--c-interaction-ink, #00796b);
}

#main-content * + .fc-ship {
  margin-top: 20px;
}

/* ── 申し込むサービスの札(ServiceCard) ── */
.fc-service {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--n-0, #fff);
  border: 1.5px solid var(--n-250, #e0e0e0);
  border-radius: 10px;
}

.fc-service-icon {
  flex: none;
  width: 56px;
  height: 56px;
}

.fc-service-body {
  min-width: 0;
}

#main-content .fc-service p {
  margin: 0;
}

#main-content .fc-service .fc-service-name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-slate, #273343);
}

#main-content .fc-service .fc-service-price {
  margin-top: 2px;
  font-family: var(--font-num, "Roboto", "Noto Sans JP", sans-serif);
  font-size: 14px;
  font-weight: 700;
  color: var(--c-interaction-ink, #00796b);
}

#main-content .fc-service .fc-service-desc {
  margin-top: 6px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--c-slate, #273343);
}

#main-content div.inner > h2 + .fc-service {
  margin-top: 16px;
}

/* ── 文章を書く欄(TextAreaField) ── */
#main-content * + .fc-text,
#main-content .fc-text + * {
  margin-top: 20px;
}

#main-content div.inner > h2 + .fc-text {
  margin-top: 16px;
}

#main-content div.area .fc-text textarea {
  width: 100%;
  min-height: 120px;
  font-size: 16px;
  line-height: 1.7;
}

#main-content .fc-text p.fc-count {
  margin: 4px 0 0;
  font-size: 12px;
  text-align: right;
  color: var(--n-500, #666);
}

/* ── 日付の欄(遅延相談) ── */
#main-content div.area input.fc-date {
  width: 100%;
  max-width: 240px;
  height: 48px;
  font-size: 16px;
}

#main-content p.fc-label + input.fc-date + p.fc-hint {
  margin: 6px 0 0;
}

/* ── 残量の取り直し(GB残量確認の札の中。部品は TrafficRefreshButton。ホームと同じ見た目) ── */
#main-content .fc-ship .button.gb-refresh {
  width: 100%;
  min-height: 46px;
  margin: 10px 0 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-interaction-ink, #00796b);
  background: var(--n-0, #fff);
  border: 1.5px solid var(--c-interaction, #00b19f);
  border-radius: 12px;
}

#main-content .fc-ship .button.gb-refresh::after {
  display: none;
}

#main-content .fc-ship .button.gb-refresh:hover:not(:disabled):not([disabled]) {
  background: var(--c-tint-teal-weak, #f1faf9);
}

#main-content .fc-ship .index-gb-note {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--n-500, #666);
}

/* 待ちの間(取得できたあと、次に押せる時刻まで。2026-11-03)。押すと真ん中に知らせる。色だけに頼らず下に文字で */
#main-content .fc-ship .button.gb-refresh.is-waiting,
#main-content .fc-ship .button.gb-refresh.is-waiting:hover:not(:disabled):not([disabled]) {
  color: #5f6b7a;
  background: #eef1f4;
  border-color: #d5dbe1;
}

#main-content .fc-ship .gb-refresh-wait {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--n-500, #666);
}

#main-content .fc-ship .gb-refresh-timer {
  display: block;
  font-weight: 700;
  color: var(--c-interaction-ink, #00796b);
  font-variant-numeric: tabular-nums;
}

/* 取得のボタンが無い回線: 数字の下に GB残量確認(担当者に依頼)への道 */
#main-content .fc-ship p.fc-remain-ask {
  margin-top: 8px;
}

/* ── 欄の名前の上の間(文や前の欄に貼り付かないように)。h2 のすぐ下は上の指定(16px)が勝つ ── */
#main-content * + p.fc-label {
  margin-top: 20px;
}

/* ================================================================
 * Phase 3(2026-10-26): 住所・書類の添付・パスワード・横並びの欄
 * ================================================================ */

/* ── 横に2つ・3つ並べる欄(姓と名・建物名と部屋番号・生年月日) ── */
.fc-two,
.fc-three {
  display: grid;
  gap: 10px;
}

.fc-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fc-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#main-content .fc-two p.fc-label {
  margin-top: 0;
}

#main-content * + .fc-two,
#main-content * + .fc-three {
  margin-top: 0;
}

.fc-hint-inline {
  margin-left: 6px;
  font-size: 12px;
  font-weight: 400;
  color: var(--n-500, #666);
}

/* ── 住所(AddressFields) ── */
#main-content fieldset.fc-address p.fc-label:first-of-type {
  margin-top: 0;
}

.fc-zip {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

#main-content div.area .fc-zip input[type="text"] {
  flex: 1 1 auto;
  min-width: 0;
}

#main-content button.fc-zip-btn,
#main-content button.fc-sub-btn {
  flex: none;
  min-height: 48px;
  padding: 0 14px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-interaction-ink, #00796b);
  background: var(--n-0, #fff);
  border: 1.5px solid var(--c-interaction, #00b19f);
  border-radius: 10px;
  cursor: pointer;
}

#main-content button.fc-zip-btn:hover,
#main-content button.fc-sub-btn:hover:not(:disabled) {
  background: var(--c-tint-teal-weak, #f1faf9);
}

#main-content button.fc-sub-btn:disabled {
  cursor: not-allowed;
  color: var(--n-500, #666);
  border-color: var(--n-250, #e0e0e0);
}

#main-content p.fc-hint[role="status"] {
  margin-top: 6px;
  font-weight: 700;
  color: var(--c-interaction-ink, #00796b);
}

.fc-zip-cands {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

#main-content button.fc-zip-cand {
  min-height: 48px;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
  color: var(--c-slate, #273343);
  background: var(--n-0, #fff);
  border: 1.5px solid var(--n-250, #e0e0e0);
  border-radius: 10px;
  cursor: pointer;
}

#main-content button.fc-zip-cand:hover {
  border-color: var(--c-interaction-ink, #00796b);
}

/* ── 書類・写真の添付(FileUploadField) ──
   button は身分証の「カメラで撮る」(画面の中でカメラを起動する形。2026-11-07)。label と同じ見た目にそろえる */
#main-content label.fc-file-pick,
#main-content button.fc-file-pick {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--c-interaction-ink, #00796b);
  background: var(--c-tint-teal-weak, #f1faf9);
  border: 1.5px dashed var(--c-interaction, #00b19f);
  border-radius: 10px;
  cursor: pointer;
}

/* ボタンの既定(字形・余白・行の高さ)を外す */
#main-content button.fc-file-pick {
  margin: 0;
  font-family: inherit;
  line-height: 1.4;
  text-align: center;
}

#main-content label.fc-file-pick svg,
#main-content button.fc-file-pick svg {
  width: 22px;
  height: 22px;
}

#main-content label.fc-file-pick.is-busy,
#main-content button.fc-file-pick:disabled {
  cursor: progress;
  opacity: 0.7;
}

#main-content label.fc-file-pick:focus-within,
#main-content button.fc-file-pick:focus-visible {
  outline: 2px solid var(--c-pink, #e92b66);
  outline-offset: 2px;
}

/* 旧来の指定(div.area input[type="file"] は display:none)を戻し、見えないがフォーカスできる形にする
   (display:none だとキーボードで選べない) */
#main-content div.area label.fc-file-pick input[type="file"] {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  opacity: 0;
  overflow: hidden;
}

.fc-file-picked {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: var(--n-0, #fff);
  border: 1.5px solid var(--n-250, #e0e0e0);
  border-radius: 10px;
}

.fc-file-thumb {
  flex: none;
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-sm, 6px);
  background: var(--n-100, #f5f5f5);
}

.fc-file-icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  color: var(--n-500, #666);
  background: var(--n-100, #f5f5f5);
  border-radius: var(--radius-sm, 6px);
}

.fc-file-icon svg {
  width: 28px;
  height: 28px;
}

.fc-file-name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13.5px;
  overflow-wrap: anywhere;
  color: var(--c-slate, #273343);
}

#main-content button.fc-file-clear {
  display: flex;
  flex: none;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  padding: 0 10px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-slate, #273343);
  background: var(--n-0, #fff);
  border: 1.5px solid var(--n-300, #ccc);
  border-radius: var(--radius-pill, 999px);
  cursor: pointer;
}

#main-content button.fc-file-clear svg {
  width: 16px;
  height: 16px;
}

/* 確認画面の書類の名前(1行ずつ)。土台の word-break: break-all を戻し、はみ出すときだけ折る(「photo-2.pn / g」と折れていた) */
.fc-file-line {
  display: block;
  word-break: normal;
  overflow-wrap: anywhere;
}

/* 金額・郵便番号を数字の途中で折らない(確認画面の NamePrice など) */
.fc-nowrap {
  white-space: nowrap;
}

/* 商品の名前(確認画面の NamePrice)。土台の word-break: break-all を戻し、語の途中で折らない
   (「スマートフォンA 32 / GB」と折れていた。2026-10-29 商品購入の改善 Phase 1・A5)。はみ出すときだけ折る */
.fc-name {
  word-break: normal;
  line-break: strict;
  overflow-wrap: anywhere;
}

/* 電話番号のリンクを、番号の途中(「03-6240 / -1293」)で折らない(パスワード再発行の完了画面などの案内) */
#main-content a[href^="tel:"] {
  white-space: nowrap;
}

/* ── 外のページへの道(個人情報の取り扱いなど) ── */
#main-content a.fc-ext-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-interaction-ink, #00796b);
}

/* ── パスワード(PasswordField) ── */
.fc-pw-box {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

#main-content div.area .fc-pw-box input {
  flex: 1 1 auto;
  min-width: 0;
  height: 48px;
  padding: 12px;
  font-size: 16px;
  color: var(--c-slate, #273343);
  background: var(--n-0, #fff);
  border: 1px solid var(--n-300, #ccc);
  border-radius: 4px;
  -webkit-appearance: none;
  appearance: none;
}

#main-content div.area .fc-pw-box input:focus {
  border-color: var(--c-interaction, #00b19f);
  outline: 2px solid var(--c-interaction, #00b19f);
  outline-offset: 0;
}

#main-content button.fc-pw-toggle {
  display: flex;
  flex: none;
  align-items: center;
  gap: 4px;
  min-width: 72px;
  min-height: 48px;
  padding: 0 10px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-interaction-ink, #00796b);
  background: var(--n-0, #fff);
  border: 1.5px solid var(--c-interaction, #00b19f);
  border-radius: 10px;
  cursor: pointer;
}

#main-content button.fc-pw-toggle svg {
  width: 18px;
  height: 18px;
}

#main-content ul.fc-pw-rules {
  margin: 8px 0 0;
  padding: 0;
}

#main-content ul.fc-pw-rules li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  line-height: 1.6;
  list-style: none;
  color: var(--n-500, #666);
}

#main-content ul.fc-pw-rules li svg {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--n-300, #ccc);
}

#main-content ul.fc-pw-rules li.is-ok {
  color: var(--c-interaction-ink, #00796b);
  font-weight: 700;
}

#main-content ul.fc-pw-rules li.is-ok svg {
  color: var(--c-interaction-ink, #00796b);
}

#main-content * + .fc-pw {
  margin-top: 18px;
}

/* ── 間あけの補い(Phase 3) ── */
/* 入力欄のすぐ下に横並びの欄(建物名と部屋番号)が続くとき */
#main-content input + .fc-two {
  margin-top: 20px;
}

/* 書類の枠どうし */
#main-content .fc-file + .fc-file {
  margin-top: 16px;
}

/* 身分証の枠どうし(枠ごとに箱で囲むので、上の決まりが届かない。2026-11-05 身分証管理 Phase 1) */
#main-content .fc-identity-slot + .fc-identity-slot {
  margin-top: 16px;
}

/* 書類の種類を読めなかったとき(種類はサーバの設定から読む。2026-11-06 身分証管理 Phase 4) */
#main-content .fc-identity-reload {
  margin-top: 8px;
}

#main-content .fc-identity-reload button.fc-sub-btn {
  margin-top: 10px;
}

/* ── 本人確認書類の撮りやすさ(2026-11-06 身分証管理 Phase 5) ── */

/* 書類の絵(どの種類も同じ、ただのカードの形) */
.ida .ida-card {
  fill: var(--n-0, #fff);
  stroke: var(--c-interaction-ink, #00796b);
  stroke-width: 1.5;
}

.ida .ida-card.is-dashed {
  fill: none;
  stroke-dasharray: 3 2.5;
}

.ida .ida-line {
  fill: var(--n-300, #ccc);
}

.ida .ida-photo {
  fill: var(--c-tint-teal, #e5f7f5);
  stroke: var(--c-interaction, #00b19f);
  stroke-width: 1;
}

.ida .ida-frame {
  fill: var(--c-tint-blue, #f5f7fa);
  stroke: var(--n-250, #e0e0e0);
  stroke-width: 1;
}

.ida .ida-number {
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 9px;
  font-weight: 700;
  fill: var(--c-slate, #273343);
}

.ida .ida-sticky {
  fill: #ffe27a;
  stroke: #e0b400;
  stroke-width: 0.8;
}

/* 種類のカードの絵(丸ではなく横長に) */
#main-content .fc-choice-icon:has(.ida-type) {
  width: 64px;
  height: 46px;
  border-radius: 10px;
}

#main-content .fc-choice-icon svg.ida-type {
  width: 56px;
  height: 40px;
}

/* 撮るときのポイント(写真の枠の前に短く) */
#main-content .fc-identity-tips {
  margin: 10px 0 16px;
  padding: 12px 14px;
  background: var(--c-tint-blue, #f5f7fa);
  border-radius: var(--radius-md, 8px);
}

#main-content .fc-identity-tips p.fc-identity-tips-title {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-slate, #273343);
}

#main-content ul.fc-identity-tips-list {
  margin: 0;
  padding-left: 1.2em;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--c-slate, #273343);
}

#main-content ul.fc-identity-tips-list li {
  list-style: disc;
}

#main-content ul.fc-identity-tips-list li + li {
  margin-top: 4px;
}

#main-content details.fc-identity-samples {
  margin-top: 10px;
}

#main-content details.fc-identity-samples > summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-interaction-ink, #00796b);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  list-style: none;
}

#main-content details.fc-identity-samples > summary::-webkit-details-marker {
  display: none;
}

#main-content details.fc-identity-samples > summary::before {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 0.15s;
}

#main-content details.fc-identity-samples[open] > summary::before {
  transform: rotate(45deg);
}

#main-content .fc-samples {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 6px;
}

@media (min-width: 560px) {
  #main-content .fc-samples {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

#main-content figure.fc-sample {
  margin: 0;
  padding: 8px;
  background: var(--n-0, #fff);
  border: 1.5px solid var(--n-250, #e0e0e0);
  border-radius: var(--radius-md, 8px);
}

#main-content figure.fc-sample.is-good {
  border-color: var(--c-interaction, #00b19f);
}

#main-content figure.fc-sample svg.ida-sample {
  display: block;
  width: 100%;
  height: auto;
}

#main-content figure.fc-sample figcaption {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 6px;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-slate, #273343);
}

#main-content .fc-sample-mark {
  flex: none;
  font-size: 14px;
}

#main-content figure.fc-sample.is-good .fc-sample-mark {
  color: var(--c-interaction-ink, #00796b);
}

#main-content figure.fc-sample.is-bad .fc-sample-mark {
  color: var(--c-danger-ink, #b91512);
}

/* 写真の枠(表面・裏面は身分証と同じ横長の形に四隅の印) */
#main-content .fc-idfile-empty {
  display: grid;
  gap: 10px;
}

#main-content .fc-idfile-frame {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1.586 / 1;
  margin: 0 auto;
  overflow: hidden;
  background: var(--c-tint-teal-weak, #f1faf9);
  border: 1.5px dashed var(--c-interaction, #00b19f);
  border-radius: 12px;
}

#main-content .fc-idfile-frame svg.ida-face {
  width: 62%;
  height: auto;
  opacity: 0.4;
}

#main-content .fc-idfile-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: var(--c-interaction-ink, #00796b);
  border-style: solid;
  border-width: 0;
}

#main-content .fc-idfile-corner.is-tl {
  top: 10px;
  left: 10px;
  border-top-width: 3px;
  border-left-width: 3px;
  border-top-left-radius: 6px;
}

#main-content .fc-idfile-corner.is-tr {
  top: 10px;
  right: 10px;
  border-top-width: 3px;
  border-right-width: 3px;
  border-top-right-radius: 6px;
}

#main-content .fc-idfile-corner.is-bl {
  bottom: 10px;
  left: 10px;
  border-bottom-width: 3px;
  border-left-width: 3px;
  border-bottom-left-radius: 6px;
}

#main-content .fc-idfile-corner.is-br {
  right: 10px;
  bottom: 10px;
  border-right-width: 3px;
  border-bottom-width: 3px;
  border-bottom-right-radius: 6px;
}

#main-content .fc-idfile-side {
  position: absolute;
  bottom: 10px;
  left: 50%;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--c-interaction-ink, #00796b);
  background: var(--n-0, #fff);
  border-radius: var(--radius-pill, 999px);
  transform: translateX(-50%);
}

#main-content .fc-idfile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#main-content .fc-idfile-actions > label.fc-idfile-btn,
#main-content .fc-idfile-actions > button.fc-idfile-btn {
  flex: 1 1 140px;
}

/* その場で撮る(スマホだけ)。よく使うほうなので塗りの札に */
#main-content label.fc-file-pick.fc-idfile-btn.is-camera,
#main-content button.fc-file-pick.fc-idfile-btn.is-camera {
  color: var(--n-0, #fff);
  background: var(--c-interaction-ink, #00796b);
  border-style: solid;
  border-color: var(--c-interaction-ink, #00796b);
}

#main-content .fc-idfile-progress {
  display: grid;
  gap: 6px;
}

#main-content .fc-idfile-bar {
  display: block;
  height: 6px;
  overflow: hidden;
  background: var(--n-250, #e0e0e0);
  border-radius: var(--radius-pill, 999px);
}

#main-content .fc-idfile-bar > span {
  display: block;
  height: 100%;
  background: var(--c-interaction, #00b19f);
  border-radius: inherit;
  transition: width 0.2s;
}

#main-content .fc-idfile-percent {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-interaction-ink, #00796b);
}

/* 選んだあと(表面・裏面は写真を枠いっぱいに) */
#main-content .fc-idfile.is-photo .fc-file-picked {
  flex-direction: column;
  align-items: stretch;
}

#main-content .fc-idfile-frame.is-filled {
  background: var(--n-100, #f5f5f5);
  border: 1.5px solid var(--n-250, #e0e0e0);
}

#main-content .fc-idfile-frame.is-noimage svg {
  width: 36px;
  height: 36px;
  color: var(--n-500, #666);
}

#main-content img.fc-file-thumb.fc-idfile-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
}

#main-content .fc-idfile-meta {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

#main-content p.fc-idfile-warn {
  margin: 0;
  padding: 8px 10px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-slate, #273343);
  background: var(--c-tint-beige, #f8f7f4);
  border-left: 4px solid #d99a00;
  border-radius: var(--radius-sm, 6px);
}

/* 確認の画面の書類(見本の写真と名前) */
#main-content .fc-file-line.fc-idconfirm {
  display: flex;
  align-items: center;
  gap: 10px;
}

#main-content .fc-file-line.fc-idconfirm + .fc-file-line.fc-idconfirm {
  margin-top: 8px;
}

#main-content .fc-idconfirm-thumb {
  flex: none;
  width: 64px;
  height: 40px;
  object-fit: cover;
  background: var(--n-100, #f5f5f5);
  border: 1px solid var(--n-250, #e0e0e0);
  border-radius: 4px;
}

#main-content .fc-idconfirm-text {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* ── その場で撮るカメラ(IdentityCamera。2026-11-07)──
   body の直下に描くので、#main-content の中の指定は届かない(.fc-cam から書く)。画面いっぱいの黒い地に、映像と枠 */
body.fc-cam-open {
  overflow: hidden;
}

.fc-cam {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  padding: env(safe-area-inset-top, 0) env(safe-area-inset-right, 0) env(safe-area-inset-bottom, 0) env(safe-area-inset-left, 0);
  font-family: inherit;
  color: #fff;
  background: #0b0f14;
  touch-action: none;
  overscroll-behavior: contain;
}

.fc-cam button {
  font-family: inherit;
  touch-action: manipulation;
}

.fc-cam-head {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 56px;
  padding: 4px 4px 4px 16px;
}

/* 見出しの既定(上下の線・余白)を外す */
.fc-cam h2.fc-cam-title {
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: #fff;
  border: 0;
}

.fc-cam h2.fc-cam-title:focus {
  outline: none;
}

.fc-cam button.fc-cam-close {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.fc-cam-close svg {
  width: 26px;
  height: 26px;
}

.fc-cam-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.fc-cam-stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  background: #000;
}

.fc-cam video.fc-cam-video,
.fc-cam img.fc-cam-shot {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
}

/* 映像は枠いっぱいに(はみ出た分も、撮った写真には入る) */
.fc-cam video.fc-cam-video {
  object-fit: cover;
}

.fc-cam-stage.is-review video.fc-cam-video,
.fc-cam-stage.is-error video.fc-cam-video {
  visibility: hidden;
}

/* 撮った写真は全体を見せる */
.fc-cam img.fc-cam-shot {
  object-fit: contain;
}

/* 枠(SVG)は映像の真ん中に、縦横の比を保って収める。外を暗くする面は SVG の外まで描く */
.fc-cam-guide {
  position: absolute;
  top: 7%;
  left: 6%;
  width: 88%;
  height: 86%;
  overflow: visible;
  pointer-events: none;
}

.fc-cam-dim {
  fill: rgba(0, 0, 0, 0.5);
}

.fc-cam-edge {
  fill: none;
  stroke: rgba(255, 255, 255, 0.6);
  stroke-width: 1.5px;
  vector-effect: non-scaling-stroke;
}

.fc-cam-corner {
  fill: none;
  stroke: #fff;
  stroke-width: 4px;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.fc-cam p.fc-cam-status {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  color: #fff;
  background: rgba(0, 0, 0, 0.65);
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.fc-cam-problem {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px 20px;
}

.fc-cam-problem p {
  max-width: 30em;
  margin: 0;
  padding: 16px 18px;
  font-size: 15px;
  line-height: 1.7;
  color: #273343;
  background: #fff;
  border-left: 4px solid #d99a00;
  border-radius: 8px;
}

.fc-cam p.fc-cam-hint {
  flex: none;
  margin: 0;
  padding: 12px 18px 4px;
  font-size: 14px;
  line-height: 1.6;
  color: #e8edf2;
}

.fc-cam-actions {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 16px 20px;
}

/* 撮るとき: やめる | 撮る | (空き) */
.fc-cam-actions.is-starting,
.fc-cam-actions.is-live {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
}

.fc-cam button.fc-cam-text {
  justify-self: start;
  min-height: 48px;
  margin: 0;
  padding: 8px 12px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.fc-cam button.fc-cam-shutter {
  display: grid;
  justify-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.fc-cam-shutter-ring {
  display: block;
  box-sizing: border-box;
  width: 72px;
  height: 72px;
  padding: 5px;
  border: 4px solid #fff;
  border-radius: 50%;
}

.fc-cam-shutter-ring::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.1s;
}

.fc-cam button.fc-cam-shutter:active .fc-cam-shutter-ring::after {
  transform: scale(0.9);
}

.fc-cam button.fc-cam-shutter:disabled {
  cursor: default;
  opacity: 0.45;
}

.fc-cam button.fc-cam-btn {
  flex: 1 1 0;
  max-width: 240px;
  min-height: 52px;
  margin: 0;
  padding: 10px 16px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  cursor: pointer;
}

.fc-cam button.fc-cam-btn.is-primary {
  color: #0b0f14;
  background: #fff;
  border-color: #fff;
}

.fc-cam button:focus-visible {
  outline: 3px solid #ffd54f;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  #main-content .fc-idfile-bar > span,
  #main-content details.fc-identity-samples > summary::before,
  .fc-cam-shutter-ring::after {
    transition: none;
  }
}

/* 節の見出しのすぐ下のパスワードの欄 */
#main-content div.inner > h2 + .fc-pw {
  margin-top: 16px;
}

/* 進み具合を出さない画面(パスワード変更)の最初の節。題に貼り付かないようにあける */
#main-content div.area.fc-area-first {
  margin-top: clamp(20px, 3.597vw, 30px);
}

/* 再入力が一致しないとき */
#main-content p.fc-hint.is-ng {
  font-weight: 700;
  color: var(--c-error-ink, #d81b60);
}

#main-content p.fc-hint.is-ok {
  font-weight: 700;
  color: var(--c-interaction-ink, #00796b);
}

/* ================================================================
 * Phase 4(2026-10-26): お問い合わせ(入口・APN・故障/操作方法・端末故障・支払/入金・その他)
 * 部品は components/member/InquiryParts.tsx・ApnSettings.tsx・FormParts.tsx(CheckCards・AnsweredSteps)
 * 【span は inline-block】reset.css が span を inline-block にしているので、並べ方はここで決める
 * ================================================================ */

/* ── 節の見出しの下の一言 ── */
#main-content p.fc-lead {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-slate, #273343);
}

#main-content p.fc-lead + * {
  margin-top: 16px;
}

/* ── APN の設定(ApnSettings) ── */
.fc-apn {
  display: grid;
  gap: 16px;
}

#main-content * + .fc-apn {
  margin-top: 16px;
}

.fc-apn-os {
  padding: 14px 16px;
  background: var(--n-0, #fff);
  border: 1.5px solid var(--n-250, #e0e0e0);
  border-radius: 10px;
}

#main-content .fc-apn h3.fc-apn-title {
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-slate, #273343);
  background: none;
  border: 0;
}

#main-content .fc-apn p.fc-apn-lead {
  margin: 6px 0 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--n-500, #666);
}

#main-content dl.fc-apn-list {
  margin: 10px 0 0;
  container-type: inline-size;
}

/* 狭いとき(端末故障のご案内の中など)は、項目名の下に値とコピーを並べる。広ければ横に並べる */
.fc-apn-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
  align-items: center;
  padding: 8px 0;
  border-top: 1px solid var(--n-250, #e0e0e0);
}

@container (min-width: 312px) {
  .fc-apn-row {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 10px;
  }
}

.fc-apn-row:first-child {
  border-top: 0;
}

#main-content .fc-apn-row dt {
  font-size: 13px;
  font-weight: 700;
  color: var(--n-500, #666);
}

#main-content .fc-apn-row dd {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
}

.fc-apn-value {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--font-num, "Roboto", "Noto Sans JP", sans-serif);
  font-size: 16px;
  font-weight: 700;
  overflow-wrap: anywhere;
  color: var(--c-slate, #273343);
}

/* コピーのボタンは指で押せる高さに(会員画面の押しやすさの下限 44px。e2e member-mobile) */
#main-content .fc-apn .copy-btn {
  min-height: 44px;
  padding: 0 14px;
  font-size: 13px;
}

#main-content ol.fc-apn-steps {
  margin: 8px 0 0;
  padding-left: 1.4em;
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-slate, #273343);
}

#main-content ol.fc-apn-steps li {
  list-style: decimal;
}

#main-content a.fc-apn-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  margin-top: 12px;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--c-interaction-ink, #00796b);
  background: var(--c-tint-teal-weak, #f1faf9);
  border: 1.5px solid var(--c-interaction, #00b19f);
  border-radius: 10px;
}

#main-content a.fc-apn-link svg {
  width: 18px;
  height: 18px;
}

#main-content a.fc-apn-link:hover {
  background: var(--c-tint-teal, #e5f7f5);
}

/* ── 「それでも解決しないとき」(InquiryReveal) ── */
.fc-reveal {
  padding: 16px;
  text-align: center;
  background: var(--c-tint-blue, #f5f7fa);
  border-radius: var(--radius-md, 8px);
}

#main-content .fc-reveal p.fc-reveal-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-slate, #273343);
}

#main-content .fc-reveal p.fc-reveal-lead {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-slate, #273343);
}

#main-content .fc-reveal .button.fc-reveal-btn {
  margin-top: 14px;
}

/* ── お問い合わせの種類(札) ── */
#main-content p.fc-case {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: baseline;
  margin: 16px 0 0;
  padding: 10px 14px;
  background: var(--c-tint-blue, #f5f7fa);
  border-radius: var(--radius-md, 8px);
}

.fc-case-k {
  font-size: 12px;
  font-weight: 700;
  color: var(--n-500, #666);
}

.fc-case-v {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-slate, #273343);
}

#main-content p.fc-case + * {
  margin-top: 20px;
}

/* お問い合わせの欄の送るボタン(文章の欄の下) */
#main-content .fc-text + .button.apply {
  margin-top: 24px;
}

/* ── 文章の欄の説明(書いていただきたいこと) ── */
#main-content .fc-text-hint {
  margin: 0 0 10px;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-slate, #273343);
  background: var(--c-tint-blue, #f5f7fa);
  border-radius: var(--radius-md, 8px);
}

#main-content .fc-text-hint p.fc-text-hint-title {
  font-weight: 700;
}

#main-content .fc-text-hint ul {
  margin: 4px 0 0;
  padding-left: 1.2em;
}

#main-content .fc-text-hint li {
  list-style: disc;
}

/* ── よくあるお困りごと(QaItem。details/summary) ── */
.fc-qa-list {
  display: grid;
  gap: 10px;
}

#main-content * + .fc-qa-list {
  margin-top: 16px;
}

.fc-qa {
  background: var(--n-0, #fff);
  border: 1.5px solid var(--n-250, #e0e0e0);
  border-radius: 10px;
}

.fc-qa[open] {
  border-color: var(--c-interaction, #00b19f);
}

summary.fc-qa-q {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
}

summary.fc-qa-q::-webkit-details-marker {
  display: none;
}

summary.fc-qa-q:focus-visible {
  outline: 2px solid var(--c-pink, #e92b66);
  outline-offset: 2px;
  border-radius: 10px;
}

.fc-qa-mark {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-family: var(--font-num, "Roboto", "Noto Sans JP", sans-serif);
  font-size: 14px;
  font-weight: 700;
  color: var(--n-0, #fff);
  background: var(--c-slate, #273343);
  border-radius: var(--radius-pill, 999px);
}

.fc-qa-text {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-slate, #273343);
}

svg.fc-qa-icon {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--n-500, #666);
  transition: transform 0.2s ease;
}

.fc-qa[open] svg.fc-qa-icon {
  transform: rotate(180deg);
}

.fc-qa-a {
  padding: 4px 14px 16px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-slate, #273343);
  border-top: 1px dashed var(--n-250, #e0e0e0);
}

#main-content .fc-qa-a > * {
  margin-top: 12px;
}

.fc-qa-step {
  padding: 12px 14px;
  background: var(--c-tint-blue, #f5f7fa);
  border-radius: var(--radius-md, 8px);
}

.fc-qa-step.is-warn {
  background: var(--c-danger-tint-weak, #ffefef);
}

#main-content .fc-qa-step p.fc-qa-step-title {
  font-weight: 700;
  color: var(--c-slate, #273343);
}

.fc-qa-step.is-warn p.fc-qa-step-title {
  color: var(--c-danger-ink, #b91512);
}

#main-content .fc-qa-step > * + * {
  margin-top: 6px;
}

#main-content .fc-qa-step ul {
  padding-left: 1.2em;
}

#main-content .fc-qa-step li {
  list-style: disc;
}

/* 答えの中から次の画面へ(APN設定方法・端末故障・機種変更など) */
#main-content a.fc-qa-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--c-interaction-ink, #00796b);
  background: var(--n-0, #fff);
  border: 1.5px solid var(--c-interaction, #00b19f);
  border-radius: var(--radius-pill, 999px);
}

#main-content a.fc-qa-link::after {
  content: "›";
  margin-left: 8px;
  font-size: 18px;
  line-height: 1;
}

#main-content a.fc-qa-link:hover {
  background: var(--c-tint-teal-weak, #f1faf9);
}

#main-content a.fc-qa-link + a.fc-qa-link {
  margin-left: 0;
}

#main-content .fc-qa-step a.fc-qa-link {
  margin-right: 8px;
}

#main-content p.fc-more {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.7;
}

#main-content p.fc-more a {
  font-weight: 700;
  color: var(--c-interaction-ink, #00796b);
  text-decoration: underline;
}

/* ── 答えに合わせたご案内(GuideCard) ── */
.fc-guide {
  padding: 14px 16px;
  background: var(--c-tint-teal-weak, #f1faf9);
  border: 1px solid var(--c-interaction, #00b19f);
  border-radius: var(--radius-md, 8px);
}

.fc-guide.is-warn {
  background: var(--c-danger-tint-weak, #ffefef);
  border-color: var(--c-danger-ink, #b91512);
}

#main-content * + .fc-guide {
  margin-top: 16px;
}

#main-content .fc-guide p.fc-guide-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-slate, #273343);
}

.fc-guide.is-warn p.fc-guide-title {
  color: var(--c-danger-ink, #b91512);
}

.fc-guide-body {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-slate, #273343);
}

#main-content .fc-guide-body > * + * {
  margin-top: 8px;
}

#main-content .fc-guide-body p.fc-guide-sub {
  margin-top: 14px;
  font-weight: 700;
}

#main-content ul.fc-guide-list {
  padding-left: 1.2em;
}

#main-content ul.fc-guide-list li {
  list-style: disc;
}

#main-content .fc-guide-body p.fc-guide-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#main-content .fc-guide-body p.fc-guide-note {
  font-size: 13px;
  color: var(--n-500, #666);
}

/* ご案内の中の APN の設定(白い箱を並べる) */
#main-content .fc-guide-body .fc-apn {
  margin-top: 12px;
}

/* ── ここまでのお答え(AnsweredSteps) ── */
.fc-answers {
  padding: 12px 14px;
  background: var(--c-tint-blue, #f5f7fa);
  border-radius: var(--radius-md, 8px);
}

#main-content * + .fc-answers {
  margin-top: 16px;
}

#main-content .fc-answers + * {
  margin-top: 16px;
}

#main-content .fc-answers p.fc-answers-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--n-500, #666);
}

.fc-answer {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 6px 0;
}

.fc-answer + .fc-answer {
  border-top: 1px solid var(--n-250, #e0e0e0);
}

#main-content .fc-answer dt {
  font-size: 12.5px;
  color: var(--n-500, #666);
}

#main-content .fc-answer dd {
  min-width: 0;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--c-slate, #273343);
}

#main-content button.fc-answer-edit {
  min-width: 64px;
  min-height: 44px;
  padding: 0 12px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-interaction-ink, #00796b);
  background: var(--n-0, #fff);
  border: 1.5px solid var(--c-interaction, #00b19f);
  border-radius: var(--radius-pill, 999px);
  cursor: pointer;
}

#main-content button.fc-answer-edit:hover {
  background: var(--c-tint-teal-weak, #f1faf9);
}

/* ── 支払金額(数字の欄 + 円) ── */
.fc-amount {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 260px;
}

#main-content div.area .fc-amount input[type="text"] {
  flex: 1 1 auto;
  min-width: 0;
  height: 48px;
  font-size: 16px;
  text-align: right;
}

.fc-amount-unit {
  flex: none;
  font-size: 15px;
  font-weight: 700;
  color: var(--c-slate, #273343);
}

#main-content p.fc-hint.fc-pay-fee {
  margin-top: 10px;
  font-weight: 700;
  color: var(--c-danger-ink, #b91512);
}

/* 欄の名前の下の説明(添付の枠) */
#main-content .fc-file p.fc-file-hint {
  margin: -4px 0 10px;
}

/* 欄の名前の横の「分かれば」「任意」(必須の札と同じ位置) */
#main-content p.fc-label .fc-hint-inline {
  margin-left: 8px;
}

/* ── お問い合わせの入口(/contact/。お困りごとから選ぶ) ── */
.fc-topic-group + .fc-topic-group {
  margin-top: 20px;
}

#main-content * + .fc-topic-group {
  margin-top: 16px;
}

#main-content h3.fc-topic-group-title {
  margin: 0 0 8px;
  padding: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--n-500, #666);
  background: none;
  border: 0;
}

#main-content ul.fc-topics {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}

#main-content ul.fc-topics li {
  list-style: none;
}

#main-content a.fc-topic {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 12px 14px;
  color: var(--c-slate, #273343);
  background: var(--n-0, #fff);
  border: 1.5px solid var(--n-250, #e0e0e0);
  border-radius: 10px;
}

#main-content a.fc-topic:hover {
  border-color: var(--c-interaction-ink, #00796b);
}

.fc-topic-icon {
  flex: none;
  width: 40px;
  height: 40px;
}

.fc-topic-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.fc-topic-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  word-break: keep-all;
  overflow-wrap: anywhere;
  color: var(--c-slate, #273343);
}

.fc-topic-sub {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--n-500, #666);
}

svg.fc-topic-arrow {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--c-interaction-ink, #00796b);
}

#main-content h2.fc-topic-h2 {
  margin-top: 32px;
}

#main-content ul.fc-reply-notes {
  margin: 12px 0 0;
  padding: 12px 14px 12px 30px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-slate, #273343);
  background: var(--c-tint-blue, #f5f7fa);
  border-radius: var(--radius-md, 8px);
}

#main-content ul.fc-reply-notes li {
  list-style: disc;
}

#main-content ul.fc-reply-notes + ul.fc-topics {
  margin-top: 12px;
}

/* 旧来の「li a・p a は青い下線」(style.css)を、カードとボタンの形のリンクでは消す(文字に線が通って読みにくい) */
#main-content a.fc-topic,
#main-content a.fc-qa-link,
#main-content a.fc-apn-link {
  text-decoration: none;
}

/* 支払/入金: 名義の欄の説明と、添付の枠の間 */
#main-content * + .fc-pay-file {
  margin-top: 20px;
}

/* ================================================================
 * 2026-10-26 利用者指摘「レイアウトが左寄り」: PC・スマホとも釣り合いよく
 * 列(PC 640px・スマホは画面の幅)の中で、短い欄を左に詰めていたところを直す
 * ================================================================ */

/* 量を選ぶ(QuantityStepper): 列の幅いっぱいの面に、−・数字・＋ を中央(最大360px)。範囲の説明も面の中央 */
.fc-stepper-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px;
  background: var(--c-tint-blue, #f5f7fa);
  border-radius: var(--radius-md, 8px);
}

.fc-stepper-panel .fc-stepper {
  justify-content: center;
  width: 100%;
  max-width: 360px;
}

.fc-stepper-panel .fc-stepper-box {
  flex: 1 1 auto;
}

#main-content .fc-stepper-panel p.fc-stepper-hint {
  margin: 0;
  text-align: center;
}

/* 日付・時刻・金額: 幅を決め打ちせず、ほかの入力欄と同じく列の幅いっぱい */
#main-content div.area input.fc-date {
  max-width: none;
}

.fc-amount {
  max-width: none;
}

/* 2つの短い欄を横に並べる(支払日と時間など)。狭い画面では縦に積む */
@media screen and (min-width: 600px) {
  .fc-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
    align-items: start;
  }
}

/* 量を選ぶ面のすぐ下の「〜について」(説明の窓)は、面と同じく中央に */
#main-content .fc-stepper-panel + div.info {
  display: flex;
  justify-content: center;
}

/* 並べた2つの欄(.fc-pair)の前後の間は、ほかの欄の名前の上と同じ 20px。中の先頭の名前は詰める */
#main-content * + .fc-pair {
  margin-top: 20px;
}

#main-content .fc-pair-item > p.fc-label:first-child {
  margin-top: 0;
}

/* 狭い画面(縦に積む)では、2つ目の欄の上もあける */
#main-content .fc-pair-item + .fc-pair-item {
  margin-top: 20px;
}

@media screen and (min-width: 600px) {
  #main-content .fc-pair-item + .fc-pair-item {
    margin-top: 0;
  }
}

/* ================================================================
 * Phase 6(2026-10-26): ご購入・WiFi追加契約・追加契約のご相談
 * 商品を選ぶカード(components/member/ProductCards.tsx)と金額のまとめ(PriceSummary)
 * ================================================================ */

/* ── 商品を選ぶカード ── */
/* スマホは1列。広い画面(600px〜)は2列に並べ、列の幅(640px)を左右釣り合いよく使う */
.fc-products {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

@media screen and (min-width: 600px) {
  .fc-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* 「買わない」は2列にまたがる横長の1枚 */
  .fc-products > .fc-product-none {
    grid-column: 1 / -1;
  }
}

.fc-product {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--n-0, #fff);
  border: 1.5px solid var(--n-250, #e0e0e0);
  border-radius: 10px;
}

.fc-product:hover {
  border-color: var(--n-400, #999);
}

.fc-product:has(input:checked) {
  background: var(--c-tint-teal-weak, #f1faf9);
  border-color: var(--c-interaction-ink, #00796b);
  box-shadow: inset 0 0 0 1px var(--c-interaction-ink, #00796b);
}

/* 写真・名前・価格をまとめて押せる面(指で押しやすい高さを持たせる) */
#main-content label.fc-product-pick {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  margin: 0;
  padding: 14px;
  border-radius: 10px;
  cursor: pointer;
}

#main-content label.fc-product-pick:has(input:focus-visible) {
  outline: 2px solid var(--c-pink, #e92b66);
  outline-offset: 2px;
}

.fc-product-pick .fc-choice-mark {
  align-self: center;
  padding-top: 0;
}

/* 写真は縦横の比を保ったまま枠に収める(縦長の端末の写真でもカードの高さがそろう) */
#main-content img.fc-product-img {
  flex: none;
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: var(--n-0, #fff);
  border-radius: var(--radius-sm, 6px);
}

.fc-product-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
}

.fc-product-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  /* 土台の word-break: break-all を戻す。PC の2列で「スマートフォンC 128G / B」と語の途中で折れていた
     (2026-10-29 商品購入の改善 Phase 1・A5)。はみ出すときだけ折る */
  word-break: normal;
  line-break: strict;
  overflow-wrap: anywhere;
  color: var(--c-slate, #273343);
}

/* 句のまとまりで折れるブラウザ(Android の Chrome など)では、「ポケットWiFi / ルーターB」のように句の切れ目で折る */
@supports (word-break: auto-phrase) {
  .fc-product-name,
  .fc-name {
    word-break: auto-phrase;
  }
}

.fc-product-price {
  font-family: var(--font-num, "Roboto", "Noto Sans JP", sans-serif);
  /* 価格は目立たせる(2026-10-29 Phase 2。以前は名前と同じ 15px) */
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-slate, #273343);
}

.fc-product-price small {
  margin-left: 2px;
  font-size: 12px;
  font-weight: 400;
  color: var(--n-500, #666);
}

/* 「詳細を見る」は押せる面の下。文字の頭を名前にそろえる(余白 14px + 丸 22px + 間 12px + 写真の枠 88px + 間 12px。
   2026-10-29 商品購入の改善 Phase 2 で写真の枠を 72px → 88px にした) */
#main-content .fc-product > button.info-sheet-open {
  margin: -6px 14px 8px 148px;
}

/* 売り切れ: 押せない。文字は薄くしすぎない(読める濃さのまま、地を灰色にする) */
.fc-product.is-soldout {
  background: var(--n-100, #f5f5f5);
}

.fc-product.is-soldout:hover {
  border-color: var(--n-250, #e0e0e0);
}

#main-content .fc-product.is-soldout label.fc-product-pick {
  cursor: not-allowed;
}

#main-content .fc-product.is-soldout img.fc-product-img {
  filter: grayscale(1);
  opacity: 0.6;
}

.fc-product.is-soldout .fc-product-name,
.fc-product.is-soldout .fc-product-price {
  color: var(--n-550, #555);
}

#main-content div.area .fc-product.is-soldout .fc-choice-mark input[type="radio"] {
  cursor: not-allowed;
}

.fc-badge.is-soldout {
  margin: 2px 0 0;
  color: var(--n-550, #555);
  background: var(--n-200, #e9e9e9);
}

/* 「買わない」(ふつうの選ぶカード。写真の列ぶんは空けない) */
#main-content label.fc-choice.fc-product-none {
  align-items: center;
}

/* 詳細の窓の中のスペック(項目名と値の2列。狭い窓では項目名を上に) */
.msheet dl.fc-spec {
  margin: 0;
}

.msheet dl.fc-spec > div {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--n-200, #e9e9e9);
}

.msheet dl.fc-spec > div:first-child {
  padding-top: 0;
}

.msheet dl.fc-spec dt {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--n-550, #555);
}

.msheet dl.fc-spec dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  color: var(--c-slate, #273343);
}

/* ── 金額のまとめ(PriceSummary) ── */
#main-content .fc-summary {
  margin-top: 24px;
  padding: 16px;
  background: var(--c-tint-blue, #f5f7fa);
  border-radius: var(--radius-md, 8px);
}

#main-content div.inner > h2 + .fc-summary {
  margin-top: 16px;
}

#main-content .fc-summary p {
  margin: 0;
}

#main-content .fc-summary p.fc-summary-title {
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-slate, #273343);
}

#main-content .fc-summary p.fc-summary-empty {
  font-size: 13px;
  line-height: 1.6;
  color: var(--n-500, #666);
}

.fc-summary-list {
  margin: 0;
  padding: 0;
}

.fc-summary-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-slate, #273343);
}

.fc-summary-list li + li {
  border-top: 1px dashed var(--n-250, #e0e0e0);
}

.fc-summary-k {
  min-width: 0;
  /* 商品の名前を語の途中で折らない(2026-10-29 Phase 1・A5) */
  word-break: normal;
  line-break: strict;
  overflow-wrap: anywhere;
}

.fc-summary-v {
  flex: none;
  font-family: var(--font-num, "Roboto", "Noto Sans JP", sans-serif);
  white-space: nowrap;
}

#main-content .fc-summary p.fc-summary-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  padding-top: 10px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-slate, #273343);
  border-top: 1.5px solid var(--n-300, #ccc);
}

.fc-summary-total b {
  font-family: var(--font-num, "Roboto", "Noto Sans JP", sans-serif);
  font-size: 20px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--c-slate-strong, #1f2936);
}

.fc-summary-total b small {
  margin-left: 2px;
  font-size: 12px;
  font-weight: 400;
  color: var(--n-500, #666);
}

#main-content .fc-summary p.fc-summary-note {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--n-500, #666);
}

/* まとめのすぐ下の知らせ(何も選んでいない など)と同意の枠 */
#main-content .fc-summary + p.msc-form-error {
  margin-top: 12px;
}

/* ================================================================
 * 紹介ポイントの利用(2026-10-26 利用者回答「紹介コードとは別機能なので改修する」)
 * ================================================================ */

/* ── お持ちのポイント(残高の札) ── */
#main-content .fc-balance {
  padding: 16px;
  text-align: center;
  background: var(--c-tint-blue, #f5f7fa);
  border-radius: var(--radius-md, 8px);
}

#main-content div.inner > h2 + .fc-balance {
  margin-top: 16px;
}

#main-content .fc-balance p {
  margin: 0;
}

#main-content .fc-balance p.fc-balance-label {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--n-500, #666);
}

#main-content .fc-balance p.fc-balance-value {
  margin-top: 2px;
  font-family: var(--font-num, "Roboto", "Noto Sans JP", sans-serif);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--c-slate-strong, #1f2936);
}

.fc-balance-value small {
  margin-left: 4px;
  font-size: 16px;
}

#main-content .fc-balance p.fc-balance-note {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--n-500, #666);
}

/* ポイントの有効期限(2026-10-30 保有ポイントの利用の改善 Phase 1。期限が来ても、いまは消さない。出すだけ) */
#main-content .fc-balance p.fc-balance-expire {
  margin-top: 2px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--c-slate-strong, #1f2936);
}

/* 履歴への道は札の下の右に(指で押せる高さ) */
#main-content p.fc-balance-link {
  margin: 4px 0 0;
  text-align: right;
}

#main-content p.fc-balance-link a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
}

/* ── 使うポイント(数字の欄 + P + 「すべて使う」) ── */
.fc-point-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.fc-point-row > .fc-amount {
  flex: 1 1 auto;
  min-width: 0;
}

#main-content .fc-point-row + p.fc-hint {
  margin-top: 8px;
}

/* ================================================================
 * 契約情報(/info/。2026-10-27 作り直し)。灰色の表 → 項目のカード
 * ================================================================ */

#main-content .fc-info-card {
  background: var(--n-0, #fff);
  border: 1.5px solid var(--n-250, #e0e0e0);
  border-radius: 10px;
}

#main-content div.inner > h2 + .fc-info-card {
  margin-top: 16px;
}

#main-content dl.fc-info-list {
  margin: 0;
  padding: 0 16px;
}

#main-content .fc-info-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 0;
  border-top: 1px solid var(--n-200, #e9e9e9);
}

#main-content .fc-info-row:first-child {
  border-top: 0;
}

#main-content .fc-info-row dt {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--n-500, #666);
}

#main-content .fc-info-row dd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  min-height: 24px;
}

.fc-info-value {
  min-width: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  overflow-wrap: anywhere;
  color: var(--c-slate, #273343);
}

/* 値の下に添える小さな文(フリガナ・オプションの料金・契約から何か月) */
.fc-info-sub {
  display: block;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--n-500, #666);
}

.fc-info-tel {
  font-family: var(--font-num, "Roboto", "Noto Sans JP", sans-serif);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* 行の右の「変更 ›」「申し込む ›」(指で押せる高さ) */
#main-content a.fc-info-action {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 2px;
  min-height: 44px;
  padding: 0 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: var(--c-interaction-ink, #00796b);
}

#main-content a.fc-info-action svg {
  width: 16px;
  height: 16px;
}

#main-content a.fc-info-action:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

#main-content .fc-info-row .copy-btn.fc-info-copy {
  min-height: 44px;
  padding: 0 14px;
  font-size: 13px;
}

#main-content p.fc-info-note {
  margin: 10px 0 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--n-500, #666);
}

/* 広い画面(600px〜)は、項目名と値を横に並べる */
@media screen and (min-width: 600px) {
  #main-content .fc-info-row {
    display: grid;
    grid-template-columns: 9em minmax(0, 1fr);
    align-items: center;
    gap: 0 16px;
  }
}

/* お知らせが0件のとき(2026-10-27。以前は空の一覧だけで、読み込みに失敗したようにも見えた) */
#main-content p.news-empty {
  margin: 12px 0 0;
  padding: 16px;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
  color: var(--n-500, #666);
  background: var(--c-tint-blue, #f5f7fa);
  border-radius: var(--radius-md, 8px);
}

/* ================================================================
 * 保有回線一覧(/lines/。2026-10-27 作り直し)。灰色の表 → 電話番号が主役の回線のカード
 * ================================================================ */
#main-content ul.fc-lines {
  display: grid;
  gap: 12px;
  margin: 16px 0 24px;
  padding: 0;
}

#main-content li.fc-line {
  list-style: none;
  padding: 14px 16px;
  background: var(--n-0, #fff);
  border: 1.5px solid var(--n-250, #e0e0e0);
  border-radius: 10px;
}

#main-content li.fc-line.is-current {
  background: var(--c-tint-teal-weak, #f1faf9);
  border-color: var(--c-interaction-ink, #00796b);
}

#main-content .fc-line-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 0;
}

#main-content .fc-line-head p.fc-line-tel {
  margin: 0;
  font-family: var(--font-num, "Roboto", "Noto Sans JP", sans-serif);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--c-slate, #273343);
}

#main-content dl.fc-line-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  margin: 10px 0 0;
}

#main-content .fc-line-meta dt {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--n-500, #666);
}

#main-content .fc-line-meta dd {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  overflow-wrap: anywhere;
  color: var(--c-slate, #273343);
}

.fc-line-note {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--c-danger-ink, #b91512);
}

#main-content p.fc-line-current {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-interaction-ink, #00796b);
}

/* 「この回線に切り替える」は控えめなボタン(戻るの紺の丸いボタンと形を分ける) */
#main-content button.fc-line-switch {
  width: 100%;
  margin-top: 12px;
}

@media screen and (min-width: 600px) {
  #main-content dl.fc-line-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ================================================================
 * 色をそろえる(2026-10-27 洗い出し B-1)。土台の style.css は直さず、会員画面の上から足す
 * ================================================================ */

/* 文中のリンク: 土台の青(#0068B7)→ 手続きの画面と同じ緑。下線は残す(リンクだと分かるように)。
   形のあるリンク(ボタン・カード。class が付いている)はそれぞれの見た目のまま */
#main-content p a:not([class]),
#main-content li a:not([class]),
#main-content dd a:not([class]),
#main-content td a:not([class]) {
  color: var(--c-interaction-ink, #00796b);
}

/* 確認画面の「変わる値」の行の名前: 薄い緑の地に白い文字(2.7:1。読みやすさの基準 4.5:1 に届かない)→ 濃い緑(5.3:1) */
#main-content table.lower-user-data tr.update th {
  background: var(--c-interaction-ink, #00796b);
}

/* 合計の行の名前: 桃色の地に白い文字(4.2:1)→ 読める濃さの桃色(4.95:1) */
#main-content table.lower-user-data tr.total th {
  background: var(--c-error-ink, #d81b60);
}

/* ================================================================
 * 商品購入の改善 Phase 1(2026-10-29)
 * ================================================================ */

/* 商品を読み込めなかったときの「もう一度読み込む」(ProductsLoadError)。確認画面の「修正」と同じ形の控えめなボタン */
#main-content button.fc-retry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-interaction-ink, #00796b);
  cursor: pointer;
  background: #fff;
  border: 1.5px solid #bfe3dd;
  border-radius: 999px;
}

#main-content button.fc-retry:hover {
  background: #eef6f5;
}

/* 確認画面の表(スマホ 480px 以下): 項目名を上・値を下に並べる(A6)。
   以前は項目名の列が 115px で、「スマートフォンの端 / 末」「スマートフォンの充 / 電器」と語の途中で折れ、
   値の「名前 価格」も詰まっていた。28画面の確認画面すべてに効く(確認画面の表だけ。ほかの表はそのまま) */
@media screen and (max-width: 480px) {
  #main-content .flow-confirm table.lower-user-data tr th,
  #main-content .flow-confirm table.lower-user-data tr td {
    display: block;
    width: auto;
  }

  #main-content .flow-confirm table.lower-user-data tr th {
    padding: 8px 15px;
    font-size: 12px;
    text-align: left;
  }

  #main-content .flow-confirm table.lower-user-data tr td {
    padding: 12px 15px;
    border-top: 0;
    border-left: 0;
  }
}

/* ================================================================
 * 商品購入の改善 Phase 2(2026-10-29): 購入画面の作り直し
 * ================================================================ */

/* ── 目次(スマートフォン・ポケットWi-Fi・お支払いとお届け先。C2) ── */
/* 外枠は div.area(列の幅と左右の余白をほかの節とそろえる。2026-10-30)。すぐ下の節とのあきは、
   節と節のあき(div.area + div.area の 30〜50px)より少し詰め、目次が上の段に付いて見えるようにする */
#main-content div.area.fc-jump + div.area {
  margin-top: clamp(20px, 3.597vw, 30px);
}

#main-content ul.fc-jump-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#main-content ul.fc-jump-list li {
  margin: 0;
  padding: 0;
}

#main-content ul.fc-jump-list li::before {
  content: none;
}

#main-content button.fc-jump-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 16px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-slate, #273343);
  cursor: pointer;
  background: var(--n-0, #fff);
  border: 1.5px solid var(--n-250, #e0e0e0);
  border-radius: var(--radius-pill, 999px);
}

#main-content button.fc-jump-link:hover {
  border-color: var(--c-interaction-ink, #00796b);
}

.fc-jump-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  font-family: var(--font-num, "Roboto", "Noto Sans JP", sans-serif);
  font-size: 12px;
  color: var(--c-interaction-ink, #00796b);
  background: var(--c-tint-teal, #e5f7f5);
  border-radius: var(--radius-pill, 999px);
}

/* ── 商品のカード(C1) ── */
/* 写真は正方形の薄い地の枠に収める(縦長の端末でも枠の大きさがそろう) */
.fc-product-photo {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  overflow: hidden;
  background: var(--n-100, #f5f5f5);
  border-radius: var(--radius-md, 8px);
}

#main-content .fc-product-photo img.fc-product-img {
  width: 80px;
  height: 80px;
  background: transparent;
}

#main-content .fc-product.is-soldout .fc-product-photo img.fc-product-img {
  filter: grayscale(1);
  opacity: 0.6;
}

/* 要点の札(容量など)と、選択中・残りわずか・売り切れの札 */
.fc-product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  margin-top: 4px;
}

.fc-product-tags .fc-badge {
  margin: 0;
}

.fc-product-chip {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
  color: var(--n-550, #555);
  background: var(--n-0, #fff);
  border: 1px solid var(--n-250, #e0e0e0);
  border-radius: var(--radius-pill, 999px);
}

.fc-badge.is-picked {
  color: var(--n-0, #fff);
  background: var(--c-interaction-ink, #00796b);
}

/* 残りわずか(読める濃さの茶色の文字に、薄い黄色の地) */
.fc-badge.is-few {
  color: #7a4300;
  background: #fff1db;
}

/* 選んだあとに出す「選択を外す」(以前の「〇〇は買わない」の札の代わり。C4) */
#main-content p.fc-product-clear-row {
  margin: 8px 0 0;
  text-align: right;
}

#main-content button.fc-product-clear {
  min-height: 44px;
  padding: 0 4px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-interaction-ink, #00796b);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  background: none;
  border: 0;
}

/* ── 詳細の窓(大きな写真・価格・スペック・「この端末を選ぶ」。B4) ── */
.msheet .fc-detail-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  margin: 0 0 12px;
  background: var(--n-100, #f5f5f5);
  border-radius: var(--radius-md, 8px);
}

.msheet .fc-detail-photo img {
  max-width: 100%;
  max-height: 164px;
  object-fit: contain;
}

.msheet p.fc-detail-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  margin: 0 0 12px;
  font-family: var(--font-num, "Roboto", "Noto Sans JP", sans-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--c-slate-strong, #1f2936);
}

.msheet p.fc-detail-price small {
  font-size: 12px;
  font-weight: 400;
  color: var(--n-500, #666);
}

.msheet p.fc-detail-price .fc-badge {
  margin: 0;
  font-family: inherit;
}

.msheet button.fc-detail-pick {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-top: 16px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: var(--n-0, #fff);
  cursor: pointer;
  background: var(--c-interaction-ink, #00796b);
  border: 0;
  border-radius: var(--radius-pill, 999px);
}

/* ── 商品の情報(状態とランク・おすすめ・新着・写真の切り替え・説明文。2026-10-29 商品購入の改善 Phase 3) ── */
/* 状態とランク(新品・未使用品・中古・Aランク)。良し悪しを色で決めつけない、白い地に灰色の縁 */
.fc-badge.is-condition {
  color: var(--c-slate, #273343);
  background: var(--n-0, #fff);
  box-shadow: inset 0 0 0 1px var(--n-400, #999);
}

/* おすすめ(読める濃さの赤紫の文字に、薄い桃色の地) */
.fc-badge.is-tag-recommend {
  color: #a3123f;
  background: #fde8ef;
}

/* 新着(読める濃さの青の文字に、薄い水色の地) */
.fc-badge.is-tag-new_arrival {
  color: #0b4f8a;
  background: #e3f0fb;
}

/* 詳細の窓: 札の行 */
.msheet p.fc-detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  margin: -4px 0 12px;
}

.msheet p.fc-detail-badges .fc-badge {
  margin: 0;
}

/* 詳細の窓: 写真を選ぶ小さな写真(指で押せる 56px) */
.msheet ul.fc-detail-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -4px 0 12px;
  padding: 0;
  list-style: none;
}

.msheet ul.fc-detail-thumbs li {
  margin: 0;
  padding: 0;
}

.msheet button.fc-detail-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 2px;
  cursor: pointer;
  background: var(--n-100, #f5f5f5);
  border: 1.5px solid var(--n-250, #e0e0e0);
  border-radius: var(--radius-sm, 6px);
}

.msheet button.fc-detail-thumb[aria-pressed="true"] {
  border-color: var(--c-interaction-ink, #00796b);
  box-shadow: inset 0 0 0 1px var(--c-interaction-ink, #00796b);
}

.msheet button.fc-detail-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* 詳細の窓: ランクの説明(管理画面「販売の設定」。2026-10-29 #53・利用者回答「詳細に出す」) */
.msheet p.fc-detail-grade {
  margin: 0 0 12px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.7;
  word-break: normal;
  line-break: strict;
  overflow-wrap: anywhere;
  color: var(--c-slate, #273343);
  background: var(--n-100, #f5f5f5);
  border-radius: var(--radius-sm, 6px);
}

.msheet p.fc-detail-grade b {
  margin-right: 4px;
}

/* 詳細の窓: 説明文(改行はそのまま。語の途中では折らない) */
.msheet p.fc-detail-desc {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.8;
  white-space: pre-line;
  word-break: normal;
  line-break: strict;
  overflow-wrap: anywhere;
  color: var(--c-slate, #273343);
}

/* ── お支払い方法(選べるのが銀行振込だけのとき) ── */
#main-content .fc-pay-fixed {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin: 0 0 20px;
  padding: 14px 16px;
  background: var(--c-tint-blue, #f5f7fa);
  border-radius: var(--radius-md, 8px);
}

.fc-pay-fixed-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--n-550, #555);
}

.fc-pay-fixed-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-slate, #273343);
}

/* ── ご注文のお支払い(完了画面・ご注文の詳細。OrderPayment) ── */
#main-content .fc-pay {
  margin: 20px 0;
  padding: 16px;
  text-align: left;
  background: var(--c-tint-blue, #f5f7fa);
  border-radius: var(--radius-md, 8px);
}

#main-content .fc-pay.is-convenience {
  background: var(--c-tint-teal-weak, #f1faf9);
  border: 1.5px solid var(--c-interaction-ink, #00796b);
}

#main-content .fc-pay p {
  margin: 0;
}

#main-content .fc-pay p.fc-pay-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-slate, #273343);
}

#main-content .fc-pay p.fc-pay-amount {
  margin-top: 6px;
  font-size: 14px;
  color: var(--c-slate, #273343);
}

#main-content .fc-pay p.fc-pay-amount b {
  font-family: var(--font-num, "Roboto", "Noto Sans JP", sans-serif);
  font-size: 20px;
}

#main-content .fc-pay p.fc-pay-amount small {
  margin-left: 2px;
  font-size: 12px;
  color: var(--n-500, #666);
}

#main-content .fc-pay a.fc-pay-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 12px;
  font-size: 16px;
  font-weight: 700;
  color: var(--n-0, #fff);
  text-decoration: none;
  background: var(--c-interaction-ink, #00796b);
  border-radius: var(--radius-pill, 999px);
}

#main-content .fc-pay a.fc-pay-button:hover {
  opacity: 0.92;
}

#main-content .fc-pay p.fc-pay-note {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--n-550, #555);
}

/* お振込み先(銀行振込。管理画面「販売の設定」。2026-10-29 本番SQL #53) */
#main-content .fc-pay p.fc-pay-sub {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-slate, #273343);
}

#main-content .fc-pay dl.fc-bank {
  margin: 6px 0 0;
  padding: 2px 14px;
  background: var(--n-0, #fff);
  border-radius: var(--radius-sm, 6px);
}

#main-content .fc-pay dl.fc-bank > div {
  display: grid;
  grid-template-columns: 7.5em minmax(0, 1fr);
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--n-200, #e9e9e9);
}

#main-content .fc-pay dl.fc-bank > div:last-child {
  border-bottom: 0;
}

#main-content .fc-pay dl.fc-bank dt {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--n-550, #555);
}

#main-content .fc-pay dl.fc-bank dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  word-break: normal;
  line-break: strict;
  overflow-wrap: anywhere;
  color: var(--c-slate, #273343);
}

#main-content .fc-pay dl.fc-bank dd.fc-bank-deadline {
  font-weight: 700;
}

/* 口座番号をコピー(指で押せる 44px) */
#main-content .fc-pay button.fc-bank-copy {
  display: flex;
  align-items: center;
  min-height: 44px;
  margin-top: 6px;
  padding: 0 14px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-interaction-ink, #00796b);
  cursor: pointer;
  background: var(--n-0, #fff);
  border: 1.5px solid var(--c-interaction-ink, #00796b);
  border-radius: var(--radius-pill, 999px);
}

/* 補足は改行のまま */
#main-content .fc-pay p.fc-bank-note {
  white-space: pre-line;
  word-break: normal;
  overflow-wrap: anywhere;
}

/* 端末が届いたあとの設定(APN)への道(完了画面。B10) */
#main-content p.fc-after-guide {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
}

/* ================================================================
 * お友だち紹介(紹介コード。2026-10-30 紹介コードの改善 Phase 1〜2)
 * あなたの紹介コード(読みやすく・コピー・送り方)・特典・これまでのご紹介・流れ・入れる欄と状況・よくある質問。
 * スマホを先に考える(会員はスマホだけで使う)。色は会員の画面と同じ(緑=操作・紺=文字)。PC は列(640px)の中
 * ================================================================ */
#main-content .fc-ref-mine {
  margin: 12px 0 4px;
  padding: 16px;
  background: var(--c-tint-teal-weak, #f1faf9);
  border: 1.5px solid var(--c-tint-teal, #e5f7f5);
  border-radius: 14px;
}

#main-content p.fc-ref-code {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
}

/* 1文字ずつ読み上げても伝わるよう、字の間を少しあけた太い数字 */
#main-content .fc-ref-code-value {
  font-family: var(--font-num, "Roboto", "Noto Sans JP", sans-serif);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.12em;
  color: var(--c-slate, #273343);
  word-break: keep-all;
}

#main-content p.fc-ref-note {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--n-500, #666);
}

/* 入れたあと・入れられないときの状況 */
#main-content .fc-ref-entry-closed {
  margin-top: 12px;
  padding: 16px;
  text-align: center;
  border: 1.5px solid var(--n-250, #e0e0e0);
  border-radius: 14px;
}

#main-content .fc-ref-entry-closed p {
  margin: 6px 0 0;
}

/* ── お友だち紹介の作り直し(2026-10-30 紹介コードの改善 Phase 2・B2〜B8・B10) ──
   スマホを先に考える(会員はスマホだけで使う)。色は会員の画面と同じ(緑=操作・紺=文字)。
   PC の幅でも列(640px)の中に収まる */

/* 最初の一文 */
#main-content p.fc-ref-lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
}

/* キャンペーンの名前・説明・終わりの日(2026-10-30 紹介コードの改善 Phase 4。空なら出さない) */
#main-content div.fc-ref-campaign {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-left: 4px solid var(--c-interaction-ink, #00796b);
  border-radius: 10px;
  background: var(--c-tint-teal-weak, #f1faf9);
}

#main-content p.fc-ref-campaign-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--c-interaction-ink, #00796b);
}

#main-content p.fc-ref-campaign-note {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.7;
}

#main-content p.fc-ref-campaign-period {
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--n-500, #666);
}

/* 特典(2枚のカード) */
#main-content ul.fc-ref-rewards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

#main-content ul.fc-ref-rewards li::before {
  content: none;
}

#main-content li.fc-ref-reward {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 14px 8px 12px;
  text-align: center;
  background: var(--c-tint-teal-weak, #f1faf9);
  border: 1.5px solid var(--c-tint-teal, #e5f7f5);
  border-radius: 14px;
}

#main-content .fc-ref-reward-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--c-interaction-ink, #00796b);
  background: var(--n-0, #fff);
  border-radius: 999px;
}

#main-content .fc-ref-reward-icon svg {
  width: 22px;
  height: 22px;
}

#main-content .fc-ref-reward-who {
  font-size: 13px;
  font-weight: 700;
  color: var(--n-500, #666);
}

#main-content .fc-ref-reward-pt {
  font-family: var(--font-num, "Roboto", "Noto Sans JP", sans-serif);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--c-interaction-ink, #00796b);
  word-break: keep-all;
}

/* あなたの紹介コード */
#main-content p.fc-ref-mine-label {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--n-500, #666);
}

#main-content p.fc-ref-send-title {
  margin: 16px 0 8px;
  font-size: 14px;
  font-weight: 700;
}

#main-content ul.fc-ref-send {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#main-content ul.fc-ref-send li {
  margin: 0;
}

#main-content ul.fc-ref-send li::before {
  content: none;
}

#main-content .fc-ref-send-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  min-height: 48px;
  padding: 0 8px;
  font-family: inherit;
  font-size: 13.5px;
  white-space: nowrap;
  font-weight: 700;
  line-height: 1.3;
  color: var(--c-interaction-ink, #00796b);
  text-decoration: none;
  cursor: pointer;
  background: var(--n-0, #fff);
  border: 1.5px solid var(--c-interaction-ink, #00796b);
  border-radius: 999px;
}

#main-content .fc-ref-send-btn svg {
  flex: none;
  width: 18px;
  height: 18px;
}

#main-content .fc-ref-send-btn.is-line {
  color: #fff;
  background: #06c755;
  border-color: #06c755;
}

#main-content .fc-ref-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 12px;
  padding: 12px;
  background: var(--n-0, #fff);
  border-radius: 12px;
}

#main-content .fc-ref-message {
  margin-top: 14px;
}

#main-content p.fc-ref-message-text {
  margin: 0;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.8;
  white-space: pre-line;
  background: var(--n-0, #fff);
  border: 1px dashed var(--n-250, #e0e0e0);
  border-radius: 10px;
}

#main-content .fc-ref-message-copy {
  margin-top: 8px;
}

/* これまでのご紹介 */
#main-content .fc-ref-summary {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1.5px solid var(--n-250, #e0e0e0);
  border-radius: 12px;
}

#main-content p.fc-ref-summary-title {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

#main-content p.fc-ref-summary-title svg {
  width: 18px;
  height: 18px;
  color: var(--c-interaction-ink, #00796b);
}

#main-content dl.fc-ref-summary-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 10px 0 0;
}

#main-content dl.fc-ref-summary-list div {
  padding: 8px 10px;
  background: var(--n-50, #fafafa);
  border-radius: 8px;
}

#main-content dl.fc-ref-summary-list dt {
  font-size: 12px;
  color: var(--n-500, #666);
}

#main-content dl.fc-ref-summary-list dd {
  margin: 2px 0 0;
  font-family: var(--font-num, "Roboto", "Noto Sans JP", sans-serif);
  font-size: 17px;
  font-weight: 800;
  color: var(--c-slate, #273343);
}

/* ご紹介の流れ */
#main-content ol.fc-ref-flow {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

#main-content ol.fc-ref-flow li {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 0 0 16px;
}

#main-content ol.fc-ref-flow li::before {
  content: none;
}

#main-content .fc-ref-flow-no {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  font-family: var(--font-num, "Roboto", "Noto Sans JP", sans-serif);
  font-weight: 800;
  color: #fff;
  background: var(--c-interaction-ink, #00796b);
  border-radius: 999px;
}

#main-content .fc-ref-flow-text {
  font-size: 14px;
  line-height: 1.7;
}

#main-content .fc-ref-flow-text b {
  display: block;
  font-size: 15px;
}

/* 紹介コードを入れる */
#main-content p.fc-ref-deadline {
  margin: 8px 0 0;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 700;
  background: var(--c-tint-teal-weak, #f1faf9);
  border-radius: 8px;
}

#main-content label.fc-ref-input-label {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 16px 0 6px;
  font-size: 14px;
  font-weight: 700;
}

#main-content input.fc-ref-input {
  width: 100%;
  font-family: var(--font-num, "Roboto", "Noto Sans JP", sans-serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

#main-content input.fc-ref-input::placeholder {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

#main-content p.fc-ref-error {
  margin: 8px 0 0;
  font-size: 14px;
  font-weight: 700;
}

#main-content .fc-ref-entry .button.apply {
  margin-top: 18px;
}

/* 入れたあとの状況 */
#main-content p.fc-ref-entry-title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
}

#main-content ol.fc-ref-track {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  text-align: left;
  list-style: none;
}

#main-content ol.fc-ref-track li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--n-500, #666);
  background: var(--n-50, #fafafa);
  border-radius: 10px;
}

#main-content ol.fc-ref-track li::before {
  content: none;
}

#main-content ol.fc-ref-track li svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--n-250, #e0e0e0);
}

#main-content ol.fc-ref-track li.is-done {
  color: var(--c-slate, #273343);
}

#main-content ol.fc-ref-track li.is-done svg {
  color: var(--c-interaction-ink, #00796b);
}

#main-content ol.fc-ref-track li.is-now {
  color: var(--c-interaction-ink, #00796b);
  background: var(--c-tint-teal-weak, #f1faf9);
}

#main-content ol.fc-ref-track li.is-off {
  text-decoration: line-through;
}

/* よくある質問 */
#main-content .fc-ref-faq {
  margin-top: 10px;
  border-top: 1px solid var(--n-250, #e0e0e0);
}

#main-content details.fc-ref-faq-item {
  border-bottom: 1px solid var(--n-250, #e0e0e0);
}

#main-content details.fc-ref-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 48px;
  padding: 10px 2px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

#main-content details.fc-ref-faq-item summary::-webkit-details-marker {
  display: none;
}

#main-content details.fc-ref-faq-item summary::after {
  flex: none;
  font-size: 18px;
  color: var(--c-interaction-ink, #00796b);
  content: "+";
}

#main-content details.fc-ref-faq-item[open] summary::after {
  content: "−";
}

#main-content details.fc-ref-faq-item p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.8;
}

/* ================================================================
 * 保有ポイントの利用(Phase 2。2026-10-30 保有ポイントの利用の改善・利用者回答 Q7〜Q9)
 * 保有ポイントの札・お手続き中(取り消し)・すぐ入れられるポイント・使ったあとの保有ポイント・
 * ほかの使い方(ドットマネー)・貯め方・よくある質問。部品は components/member/PointUse.tsx。
 * スマホを先に考える(会員はスマホだけで使う)。色は会員の画面と同じ(緑=操作・紺=文字・赤=期限が近い)
 * ================================================================ */

/* 選ぶカードの右の絵(飾り。選ぶカード全体で使える) */
#main-content .fc-choice-icon {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: auto;
  color: var(--c-interaction-ink, #00796b);
  background: var(--c-tint-teal-weak, #f1faf9);
  border-radius: 999px;
}

#main-content .fc-choice-icon svg {
  width: 22px;
  height: 22px;
}

#main-content label.fc-choice.is-disabled .fc-choice-icon {
  opacity: 0.55;
}

/* 選んだカードは地が薄い緑になるので、絵の丸は白にする(地と同じ色で丸が消えないように) */
#main-content label.fc-choice:has(input:checked) .fc-choice-icon {
  background: var(--n-0, #fff);
}

/* ── 保有ポイントの札 ── */
#main-content .fc-pu-balance {
  border: 1.5px solid var(--c-tint-teal, #e5f7f5);
  background: var(--c-tint-teal-weak, #f1faf9);
}

#main-content .fc-balance p.fc-balance-expire {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 6px;
}

#main-content .fc-balance p.fc-balance-expire svg {
  width: 16px;
  height: 16px;
  color: var(--n-500, #666);
}

#main-content .fc-pu-soon {
  display: inline-block;
  padding: 1px 8px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--c-danger-ink, #b91512);
  background: var(--c-danger-tint, #fbeceb);
  border-radius: 999px;
}

#main-content .fc-balance p.fc-pu-pending-line {
  margin-top: 8px;
}

#main-content p.fc-pu-pending-line a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-interaction-ink, #00796b);
  background: var(--n-0, #fff);
  border: 1.5px solid var(--c-tint-teal, #e5f7f5);
  border-radius: 999px;
  text-decoration: none;
}

#main-content p.fc-pu-pending-line a svg {
  width: 16px;
  height: 16px;
}

/* 履歴と貯め方への道(札の下の右。指で押せる高さ) */
#main-content p.fc-pu-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0 16px;
  margin: 4px 0 0;
}

#main-content p.fc-pu-links a {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
}

#main-content p.fc-pu-links a svg {
  width: 16px;
  height: 16px;
}

/* ── お手続き中のポイントの利用 ── */
#main-content p.fc-pu-lead {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.8;
}

#main-content ul.fc-pu-pending {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

#main-content ul.fc-pu-pending li::before {
  content: none;
}

#main-content li.fc-pu-pending-item {
  margin: 0;
  padding: 14px;
  background: var(--n-0, #fff);
  border: 1.5px solid var(--n-250, #e0e0e0);
  border-radius: 12px;
}

#main-content .fc-pu-pending-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
}

#main-content .fc-pu-status {
  display: inline-block;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  border-radius: 999px;
}

#main-content .fc-pu-status.is-accepted {
  color: var(--c-interaction-ink, #00796b);
  background: var(--c-tint-teal, #e5f7f5);
}

#main-content .fc-pu-status.is-working {
  color: var(--c-slate, #273343);
  background: var(--n-100, #f5f5f5);
}

#main-content .fc-pu-pending-date {
  font-size: 13px;
  line-height: 1.6;
  color: var(--n-500, #666);
}

#main-content p.fc-pu-pending-body {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 2px 12px;
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.6;
}

#main-content .fc-pu-pending-amount {
  font-family: var(--font-num, "Roboto", "Noto Sans JP", sans-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--c-slate-strong, #1f2936);
}

#main-content .fc-pu-pending-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  margin-top: 10px;
}

#main-content button.fc-pu-cancel {
  min-width: 112px;
  min-height: 44px;
  margin: 0;
  padding: 0 18px;
  font-family: inherit;
  line-height: 1.4;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-danger-ink, #b91512);
  background: var(--n-0, #fff);
  border: 1.5px solid var(--c-danger-ink, #b91512);
  border-radius: 999px;
  cursor: pointer;
}

#main-content button.fc-pu-cancel:hover {
  background: var(--c-danger-tint-weak, #ffefef);
}

#main-content button.fc-pu-cancel:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

#main-content p.fc-pu-pending-note {
  flex: 1 1 200px;
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--n-550, #555);
}

#main-content a.fc-pu-pending-link {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 44px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-interaction-ink, #00796b);
}

#main-content a.fc-pu-pending-link svg {
  width: 16px;
  height: 16px;
}

#main-content p.fc-pu-help {
  margin: 10px 0 0;
  text-align: right;
}

/* ── すぐ入れられるポイント(数字の欄の下) ── */
#main-content .fc-pu-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

#main-content button.fc-pu-chip {
  min-height: 40px;
  margin: 0;
  padding: 0 14px;
  font-family: var(--font-num, "Roboto", "Noto Sans JP", sans-serif);
  font-size: 14px;
  font-weight: 700;
  color: var(--c-interaction-ink, #00796b);
  background: var(--n-0, #fff);
  border: 1.5px solid var(--c-tint-teal, #e5f7f5);
  border-radius: 999px;
  cursor: pointer;
}

#main-content button.fc-pu-chip:hover {
  border-color: var(--c-interaction-ink, #00796b);
}

#main-content button.fc-pu-chip.is-on {
  color: var(--n-0, #fff);
  background: var(--c-interaction-ink, #00796b);
  border-color: var(--c-interaction-ink, #00796b);
}

/* 使ったあとの保有ポイント */
#main-content p.fc-pu-after {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 2px 12px;
  margin: 14px 0 0;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.6;
  background: var(--c-tint-blue, #f5f7fa);
  border-radius: 10px;
}

#main-content p.fc-pu-after b {
  font-family: var(--font-num, "Roboto", "Noto Sans JP", sans-serif);
  font-size: 18px;
  color: var(--c-slate-strong, #1f2936);
}

/* ── ほかの使い方・貯め方(絵 + 説明 + 道) ── */
#main-content ul.fc-pu-earn {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

#main-content ul.fc-pu-earn li::before {
  content: none;
}

#main-content .fc-pu-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 14px 0 0;
  padding: 14px;
  background: var(--n-0, #fff);
  border: 1.5px solid var(--n-250, #e0e0e0);
  border-radius: 12px;
}

#main-content ul.fc-pu-earn .fc-pu-card {
  margin: 0;
}

#main-content .fc-pu-card-icon {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--c-interaction-ink, #00796b);
  background: var(--c-tint-teal-weak, #f1faf9);
  border-radius: 999px;
}

#main-content .fc-pu-card-icon svg {
  width: 22px;
  height: 22px;
}

#main-content .fc-pu-card-body {
  min-width: 0;
}

#main-content .fc-pu-card-body p {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.8;
}

#main-content .fc-pu-card-body p.fc-pu-card-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--c-slate, #273343);
}

#main-content .fc-pu-card-body p.fc-pu-card-meta {
  font-size: 13px;
  font-weight: 700;
  color: var(--n-500, #666);
}

#main-content a.fc-pu-card-link {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-interaction-ink, #00796b);
}

#main-content a.fc-pu-card-link svg {
  width: 16px;
  height: 16px;
}

/* ── よくある質問(お友だち紹介と同じ形) ── */
#main-content .fc-pu-faq {
  margin-top: 10px;
  border-top: 1px solid var(--n-250, #e0e0e0);
}

#main-content details.fc-pu-faq-item {
  border-bottom: 1px solid var(--n-250, #e0e0e0);
}

#main-content details.fc-pu-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 48px;
  padding: 10px 2px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

#main-content details.fc-pu-faq-item summary::-webkit-details-marker {
  display: none;
}

#main-content details.fc-pu-faq-item summary::after {
  flex: none;
  font-size: 18px;
  color: var(--c-interaction-ink, #00796b);
  content: "+";
}

#main-content details.fc-pu-faq-item[open] summary::after {
  content: "−";
}

#main-content details.fc-pu-faq-item p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.8;
}

/* ================================================================
 * 保有ポイントの利用の改善 Phase 4(2026-10-31・利用者回答 Q4・Q5)
 *  - 商品購入(/item/)の「保有ポイント」(使わない/使う・使うポイント)と完了画面の使ったポイント
 *  - 全額をポイントで払ったご注文のお支払い(OrderPayment is-points)
 *  - 保有ポイントの利用のお手続き中に「◯月のご請求から差し引きます」
 * ================================================================ */
#main-content .fc-order-points {
  margin: 0 0 24px;
  padding: 16px;
  background: var(--c-tint-teal-weak, #f1faf9);
  border-radius: var(--radius-md, 8px);
}

#main-content .fc-order-points p.fc-order-points-have {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-slate, #273343);
}

#main-content .fc-order-points p.fc-order-points-have b {
  margin-left: 4px;
  font-family: var(--font-num, "Roboto", "Noto Sans JP", sans-serif);
  font-size: 18px;
  color: var(--c-slate-strong, #1f2936);
}

#main-content .fc-order-points .fc-order-points-expire {
  margin-left: 4px;
  font-size: 12px;
  color: var(--n-500, #666);
  white-space: nowrap;
}

#main-content .fc-order-points .fc-point-row {
  margin-top: 4px;
}

#main-content p.fc-after-points {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
  color: var(--c-slate, #273343);
}

#main-content .fc-pay.is-points {
  background: var(--c-tint-teal-weak, #f1faf9);
}

#main-content .fc-pay.is-points p.fc-pay-note {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.7;
}

#main-content p.fc-pu-pending-billing {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-slate, #273343);
}

/* ── Wi-Fi追加契約の月額基本料金の表(2026-11-02 利用者依頼。components/member/WifiMonthlyTable.tsx) ──
   容量と月額の2列(同日の利用者依頼)。月額を赤で目立たせる・いちばん選ばれている容量に「人気No.1」・選んでいる容量の行に色 */
.fc-wifi-month {
  margin-top: 16px;
}

.fc-wifi-month-scroll {
  overflow-x: auto;
  border: 1px solid var(--n-250, #e0e0e0);
  border-radius: var(--radius-md, 8px);
  background: var(--n-0, #fff);
}

#main-content .fc-wifi-month table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.4;
  color: var(--c-slate, #273343);
  word-break: keep-all;
}

#main-content .fc-wifi-month th,
#main-content .fc-wifi-month td {
  padding: 10px 8px;
  text-align: center;
  border-top: 1px solid var(--n-250, #e0e0e0);
  border-left: 1px solid var(--n-250, #e0e0e0);
  white-space: nowrap;
}

#main-content .fc-wifi-month tr > :first-child {
  width: 45%;
  border-left: 0;
}

#main-content .fc-wifi-month thead th {
  border-top: 0;
  font-size: 12px;
  font-weight: 700;
  background: var(--n-75, #f8f8f8);
}

#main-content .fc-wifi-month tbody th {
  position: relative;
  font-size: 14px;
  font-weight: 700;
}

#main-content .fc-wifi-month tbody td {
  color: #c8281c;
}

#main-content .fc-wifi-month tbody td b {
  font-family: var(--font-num, "Roboto", "Noto Sans JP", sans-serif);
  font-size: clamp(15px, 4.4vw, 19px);
  font-weight: 700;
}

/* 会員の画面の文字は 12px 以上(e2e member-mobile「文字の下限」) */
#main-content .fc-wifi-month tbody td small {
  margin-left: 1px;
  font-size: 12px;
  font-weight: 700;
}

#main-content .fc-wifi-month tbody tr.is-selected > * {
  background: var(--c-tint-teal, #e5f7f5);
}

/* 人気No.1 の札(容量の上に小さく) */
#main-content .fc-wifi-month-badge {
  display: block;
  width: max-content;
  margin: 0 auto 3px;
  padding: 1px 8px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  color: #fff;
  background: #1565c0;
  border-radius: var(--radius-pill, 999px);
}

#main-content p.fc-wifi-month-note {
  margin-top: 6px;
  font-size: 12px;
  color: var(--n-550, #555);
}

/* 選ぶカードの「◯円/月」 */
.fc-wifi-from {
  display: block;
  margin-top: 2px;
}

.fc-wifi-from b {
  color: #c8281c;
  font-size: 15px;
}
