@charset "UTF-8";

/* =====================================================================
   クラウドPBX 接続可否番号一覧ページ（/smb/jbcloudpbx/access/・BIZ_PH2-252/253）
   jbcloudpbx.css・jbcloudpbx_price.css（料金ページ）を読んだうえで、このページだけの部品を足す。
   内容は tobilaphone.com/biz/cloud/access/ の「1XY系」〜「＊ABCD」を転記
   ===================================================================== */

/* ---------- アンカーボタン（v01 #3。ボタン本体はサイト共通 .link-anchor-btn） ---------- */
.cpbx-ac__nav {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  margin: 0 0 32px; padding: 0; list-style: none;
}
.cpbx-ac__nav li { margin: 0; }
.cpbx-ac__nav .link-anchor-btn { width: 100%; min-height: 56px; font-size: 14px; text-decoration: none !important; }
@media (min-width: 768px) {
  .cpbx-ac__nav { display: flex; justify-content: center; gap: 16px; margin-bottom: 48px; }
  .cpbx-ac__nav .link-anchor-btn { width: 160px; min-height: 64px; font-size: 16px; }
}

/* ---------- 系統ごとの枠（料金ページの紺ヘッダー枠を流用） ---------- */
.cpbx-ac__list { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 768px) { .cpbx-ac__list { gap: 48px; } }
/* アンカー位置：固定ヘッダーに隠れないよう余白をとる */
.cpbx-ac__box { scroll-margin-top: 80px; }
@media (min-width: 768px) { .cpbx-ac__box { scroll-margin-top: 140px; } }
/* 共通CSSの h2 装飾を打ち消す（見た目は料金ページの h3.cpbx-pr__head と同じ） */
.cpbx-ac__box .cpbx-pr__head::before,
.cpbx-ac__box .cpbx-pr__head::after { content: none; display: none; }

/* ---------- 表（番号／サービス／可否／備考） ---------- */
.cpbx-ac__table {
  width: 100%; margin: 0; border-collapse: collapse; table-layout: fixed;
  font-size: 12px; line-height: 1.6; overflow-wrap: anywhere;
}
.cpbx-ac__table th,
.cpbx-ac__table td { padding: 8px 6px; border: 1px solid var(--line); vertical-align: middle; background: #fff; }
.cpbx-ac__table thead th { background: var(--biz); color: var(--navy); font-weight: 700; text-align: center; }
.cpbx-ac__table thead th:nth-child(1) { width: 20%; }
.cpbx-ac__table thead th:nth-child(2) { width: 30%; }
.cpbx-ac__table thead th:nth-child(3) { width: 15%; }
.cpbx-ac__table tbody th { background: #f2f2f2; color: var(--navy); font-weight: 700; text-align: center; }
.cpbx-ac__table tbody td:nth-last-child(2) { font-weight: 700; text-align: center; }
.cpbx-ac__table tbody td:last-child { font-size: 11px; }
.cpbx-ac__table .link-blank { display: inline; padding-right: 0; word-break: break-all; }
.cpbx-ac__table .link-blank::after { position: static; display: inline-block; margin: 0 0 0 4px; vertical-align: -2px; width: 14px; height: 14px; }
@media (min-width: 768px) {
  .cpbx-ac__table { font-size: 14px; }
  .cpbx-ac__table th,
  .cpbx-ac__table td { padding: 12px 14px; }
  .cpbx-ac__table thead th:nth-child(1) { width: 16%; }
  .cpbx-ac__table thead th:nth-child(2) { width: 28%; }
  .cpbx-ac__table thead th:nth-child(3) { width: 10%; }
  .cpbx-ac__table tbody td:last-child { font-size: 13px; }
}

/* ---------- お問い合わせ：ボタン3つ（v01 #4・#5。上段にグレー枠2つ、お問い合わせは下段） ---------- */
/* SPはもともと縦積みなので不要（余計な行間が空くため非表示） */
.cpbx-ac__btnbreak { display: none; }
@media (min-width: 768px) { .cpbx-ac__btnbreak { display: block; flex-basis: 100%; height: 0; } }
