@charset "UTF-8";
/**
 * css/bto-desktop/bto_desktop_sub.css - デスクトップPC サブページ（office/・compact/・guide/）で共通に使う部品
 * 読み込み順: bto_desktop_base.css → bto_desktop.css → このファイル → ページ別（bto_desktop_office.css など）
 *
 * @changelog
 *   2026-11-11  AI(Cursor)  初版作成
 */

/* ---------- 小見出し ---------- */
.bd-sub-title {
  margin: 48px 0 16px;
  color: var(--bd-navy);
  font-size: 22px;
}

/* ---------- 表：狭い画面で 1 行ずつのカードにする ---------- */
.bd-table__sub {
  display: block;
  color: var(--bd-muted);
  font-size: 16px;
  font-weight: 400;
}

.bd-table--stack tbody th {
  white-space: normal;
}

.bd-table td > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* ---------- ボタンの文字：狭い画面で最後の 1 文字だけが次の行に落ちないように ---------- */
.bd-page .bd-btn {
  text-wrap: balance;
}

@media (max-width: 374px) {
  .bd-page .bd-btn--lg {
    padding-right: 18px;
    padding-left: 18px;
  }
}

@media (max-width: 767px) {
  .bd-table--stack,
  .bd-table--stack tbody,
  .bd-table--stack tr,
  .bd-table--stack th,
  .bd-table--stack td {
    display: block;
  }

  .bd-table--stack {
    border: 0;
    background: transparent;
  }

  .bd-table--stack thead {
    display: none;
  }

  .bd-table--stack tr {
    margin-bottom: 12px;
    border: 1px solid var(--bd-line);
    border-radius: var(--bd-radius);
    background: var(--bd-white);
    overflow: hidden;
  }

  .bd-table--stack tbody th {
    background: var(--bd-navy);
    color: var(--bd-white);
  }

  .bd-table--stack tbody th .bd-table__sub {
    color: #d4deea;
  }

  .bd-table--stack td {
    display: grid;
    grid-template-columns: 8em minmax(0, 1fr);
    gap: 10px;
    padding: 10px 16px;
  }

  .bd-table--stack td::before {
    content: attr(data-label);
    color: var(--bd-muted);
    font-weight: 700;
  }

  .bd-table--stack tbody tr:last-child td {
    border-bottom: 1px solid var(--bd-line);
  }

  .bd-table--stack tbody tr td:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 374px) {
  .bd-table--stack td {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
}

/* ---------- 評価の記号（◎○△－） ---------- */
.bd-mark {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-right: 8px;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  vertical-align: middle;
}

.bd-mark--good {
  background: #e3f3ea;
  color: var(--bd-ok);
}

.bd-mark--mid {
  background: #e4effb;
  color: var(--bd-brand);
}

.bd-mark--low {
  background: #eef0f3;
  color: var(--bd-muted);
}

/* ---------- 補足の囲み ---------- */
.bd-callout {
  margin-top: 32px;
  padding: 22px 26px;
  border: 1px solid #bcd7f2;
  border-left: 5px solid var(--bd-brand-2);
  border-radius: var(--bd-radius);
  background: #f4f9ff;
}

.bd-callout__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: var(--bd-navy);
  font-size: 18px;
  font-weight: 700;
}

.bd-callout__title .bd-icon {
  color: var(--bd-brand-2);
}

/* ---------- ポイントの箇条書き ---------- */
.bd-points {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.bd-points li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  line-height: 1.75;
}

.bd-points .bd-icon {
  margin-top: 2px;
  color: var(--bd-brand-2);
}

.bd-points strong {
  color: var(--bd-navy);
}

/* ---------- 容量の段階（メモリ・SSD） ---------- */
.bd-tier {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.bd-tier--single {
  grid-template-columns: minmax(0, 1fr);
  margin-top: 24px;
}

.bd-tier__group {
  padding: 24px;
  border: 1px solid var(--bd-line);
  border-radius: var(--bd-radius);
  background: var(--bd-white);
}

.bd-tier__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--bd-navy);
  font-size: 20px;
}

.bd-tier__title .bd-icon {
  color: var(--bd-brand-2);
}

.bd-tier__list {
  display: grid;
  gap: 16px;
}

.bd-tier__item {
  display: grid;
  grid-template-columns: 5.5em minmax(0, 1fr);
  grid-template-areas:
    "size meter"
    "size text";
  column-gap: 16px;
  row-gap: 6px;
  align-items: center;
}

.bd-tier__size {
  grid-area: size;
  color: var(--bd-navy);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.bd-tier__meter {
  grid-area: meter;
  display: block;
  height: 12px;
  border-radius: 6px;
  background: #e6ebf1;
  overflow: hidden;
}

.bd-tier__meter span {
  display: block;
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--bd-brand-2), var(--bd-cyan));
}

.bd-tier__item--1 .bd-tier__meter span {
  width: 25%;
}

.bd-tier__item--2 .bd-tier__meter span {
  width: 50%;
}

.bd-tier__item--3 .bd-tier__meter span {
  width: 100%;
}

.bd-tier__text {
  grid-area: text;
  color: var(--bd-ink-soft);
  line-height: 1.65;
}

@media (max-width: 899px) {
  .bd-tier {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 479px) {
  .bd-tier__group {
    padding: 18px 16px;
  }

  .bd-tier__item {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "size"
      "meter"
      "text";
  }
}
