@charset "UTF-8";
/**
 * css/bto-desktop/bto_desktop_compact.css - 小型・省スペースデスクトップPC（/bto-desktop/compact/）のページ部品
 * テンプレート: app/templates/bto-desktop/compact.tpl
 * 設置面積の図（.bd-foot__svg）は width / height 属性が実寸の 0.5px/mm。CSS で拡大縮小しない（縮尺がずれるため）。
 *
 * @changelog
 *   2026-11-11  AI(Cursor)  初版作成
 */

/* ---------- 3つの形 ---------- */
.bd-shape__grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1023px) {
  .bd-shape__grid--3 {
    grid-template-columns: minmax(0, 1fr);
    max-width: 640px;
    margin: 0 auto;
  }
}

/* ---------- 上から見た設置面積 ---------- */
.bd-foot {
  margin: 32px 0 0;
  padding: 28px 28px 24px;
  border: 1px solid var(--bd-line);
  border-radius: var(--bd-radius);
  background: var(--bd-white);
}

.bd-foot .bd-size-block__lead {
  margin-bottom: 24px;
}

.bd-foot__list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  gap: 24px 28px;
}

.bd-foot__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.bd-foot__svg {
  display: block;
  max-width: none;
  overflow: visible;
  margin-bottom: 8px;
}

.bd-foot__grid {
  stroke: #e3e9f0;
  stroke-width: 1px;
  vector-effect: non-scaling-stroke;
}

.bd-foot__rect {
  fill: rgba(0, 109, 204, .12);
  stroke: var(--bd-brand-2);
  stroke-width: 2px;
  vector-effect: non-scaling-stroke;
}

.bd-foot__front {
  stroke: var(--bd-navy);
  stroke-width: 5px;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.bd-foot__item--paper .bd-foot__rect {
  fill: #fffdf4;
  stroke: #b08a1e;
  stroke-dasharray: 6 4;
}

.bd-foot__name {
  max-width: 10em;
  color: var(--bd-navy);
  font-weight: 700;
  line-height: 1.45;
}

.bd-foot__dims {
  color: var(--bd-ink-soft);
  line-height: 1.5;
}

.bd-foot__dims span {
  display: block;
  color: var(--bd-muted);
}

@media (max-width: 639px) {
  .bd-foot {
    padding: 20px 16px;
  }

  .bd-foot__list {
    gap: 20px 16px;
  }

  .bd-foot__name {
    max-width: 8.5em;
  }
}

/* ---------- ケース別の比較 ---------- */
.bd-cases__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.bd-cases__item {
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--bd-line);
  border-radius: var(--bd-radius);
  background: var(--bd-white);
}

.bd-cases__media {
  display: grid;
  place-items: center;
  height: 200px;
  margin-bottom: 14px;
  border-radius: 8px;
  background: linear-gradient(180deg, #f6f8fb, #e9eef4);
}

.bd-cases__media img {
  width: auto;
  max-height: 170px;
}

.bd-cases__name {
  color: var(--bd-navy);
  font-size: 19px;
}

.bd-cases__feature {
  margin: 8px 0 14px;
  color: var(--bd-ink-soft);
  line-height: 1.7;
}

.bd-cases__spec {
  display: grid;
  margin: 0 0 16px;
  border-top: 1px solid var(--bd-line);
}

.bd-cases__spec div {
  display: grid;
  grid-template-columns: 6.5em minmax(0, 1fr);
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--bd-line);
  line-height: 1.6;
}

.bd-cases__spec dt {
  color: var(--bd-muted);
  font-weight: 700;
}

.bd-cases__spec dd {
  margin: 0;
}

.bd-cases__foot {
  margin-top: auto;
}

.bd-cases__count {
  color: var(--bd-muted);
}

.bd-cases__price {
  margin-top: 4px;
  line-height: 1.6;
}

.bd-cases__price a {
  font-weight: 700;
}

.bd-cases__price span {
  display: block;
}

.bd-cases__price strong {
  color: var(--bd-ink);
  font-size: 22px;
}

@media (max-width: 1199px) {
  .bd-cases__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 639px) {
  .bd-cases__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- 置き場所の測り方 ---------- */
.bd-place__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 32px;
  align-items: center;
}

.bd-place__figure {
  margin: 0;
  padding: 20px;
  border: 1px solid var(--bd-line);
  border-radius: var(--bd-radius);
  background: var(--bd-white);
}

.bd-place__svg {
  display: block;
  width: 100%;
  height: auto;
}

.bd-place__wall {
  fill: #dfe5ec;
}

.bd-place__shelf,
.bd-place__desk {
  fill: #c9b79c;
}

.bd-place__leg {
  fill: #b6a283;
}

.bd-place__monitor {
  fill: #3a4553;
}

.bd-place__monitor-arm {
  stroke: #3a4553;
  stroke-width: 6;
}

.bd-place__pc {
  fill: #1f2a37;
  stroke: #0b1d3a;
  stroke-width: 2;
}

.bd-place__vent {
  stroke: #6b7a8c;
  stroke-width: 3;
  stroke-linecap: round;
}

.bd-place__cable {
  fill: none;
  stroke: #3a4553;
  stroke-width: 4;
  stroke-linecap: round;
}

.bd-place__clear {
  fill: rgba(232, 125, 30, .14);
  stroke: #c25f0f;
  stroke-width: 2;
  stroke-dasharray: 6 5;
}

.bd-place__clear--top {
  fill: rgba(29, 122, 70, .12);
  stroke: var(--bd-ok);
}

.bd-place__dim {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
}

.bd-place__dim--depth,
.bd-place__pin--1 {
  stroke: var(--bd-brand-2);
}

.bd-place__dim--back,
.bd-place__pin--2 {
  stroke: #c25f0f;
}

.bd-place__dim--height,
.bd-place__pin--3 {
  stroke: #6a3fb5;
}

.bd-place__dim--top,
.bd-place__pin--4 {
  stroke: var(--bd-ok);
}

.bd-place__pin {
  fill: var(--bd-white);
  stroke-width: 5;
}

.bd-place__list {
  display: grid;
  gap: 14px;
}

.bd-place__item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  line-height: 1.75;
}

.bd-place__item strong {
  display: block;
  color: var(--bd-navy);
}

.bd-place__num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 5px solid var(--bd-brand-2);
  border-radius: 50%;
  background: var(--bd-white);
  color: var(--bd-ink);
  font-weight: 700;
  line-height: 1;
}

.bd-place__item--2 .bd-place__num {
  border-color: #c25f0f;
}

.bd-place__item--3 .bd-place__num {
  border-color: #6a3fb5;
}

.bd-place__item--4 .bd-place__num {
  border-color: var(--bd-ok);
}

@media (max-width: 1023px) {
  .bd-place__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 479px) {
  .bd-place__figure {
    padding: 12px;
  }
}

/* ---------- 得意・不得意の表 ---------- */
.bd-table--fit thead th:first-child {
  width: 13%;
}

.bd-table--fit td {
  line-height: 1.6;
}

/* ---------- 小型でもゲーム ---------- */
.bd-small-game__box {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 5fr);
  gap: 36px;
  align-items: center;
  padding: 32px;
  border-radius: var(--bd-radius);
  background: linear-gradient(135deg, var(--bd-navy), var(--bd-navy-2));
  color: #e6edf6;
}

.bd-small-game__media {
  display: grid;
  place-items: center;
  padding: 16px;
  border-radius: 8px;
  background: radial-gradient(circle at 50% 60%, rgba(108, 196, 255, .28), transparent 70%);
}

.bd-small-game__media img {
  max-height: 260px;
  width: auto;
}

.bd-small-game__body .bd-eyebrow {
  color: var(--bd-cyan);
}

.bd-small-game__body .bd-section__title {
  margin-bottom: 14px;
  color: var(--bd-white);
}

.bd-small-game__body p {
  line-height: 1.8;
}

.bd-small-game__body .bd-chips {
  margin-top: 20px;
}

@media (max-width: 899px) {
  .bd-small-game__box {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 24px 20px;
  }

  .bd-small-game__media img {
    max-height: 200px;
  }
}
