@charset "utf-8";

/* ============================================================
   名刺ページ — モダンな仕様カード / 価格表
   ============================================================ */

.bc-page .item-page__body {
  padding-top: 32px;
}

.bc-sample {
  position: relative;
  width: min(200px, 42vw);
  margin: 0;
}

.bc-sample img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 140px;
  object-fit: cover;
  margin: 0;
  border-radius: 8px;
  border: 1px solid var(--color-border-light);
}

.bc-plans {
  display: grid;
  gap: 24px;
  margin: 0 0 56px;
}

.bc-plan {
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: 12px;
  overflow: hidden;
}

.bc-plan__head {
  padding: 24px 28px 20px;
  background: var(--color-bg-warm);
  border-bottom: 1px solid var(--color-border-light);
}

.bc-plan--template .bc-plan__head {
  box-shadow: inset 0 3px 0 #62ba2e;
}

.bc-plan--copy .bc-plan__head {
  box-shadow: inset 0 3px 0 #e79911;
}

.bc-plan--original .bc-plan__head {
  box-shadow: inset 0 3px 0 #de6a87;
}

.bc-plan__badge {
  display: inline-block;
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.bc-plan__title {
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  border-left: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-black);
}

.item-page__body .bc-plan__title,
.item-page__body h2.bc-plan__title {
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  border-left: none;
}

.bc-plan__lead {
  margin: 0;
  color: var(--color-text-sub);
  line-height: 1.7;
}

.bc-spec {
  margin: 0;
  padding: 0;
}

.bc-spec__row {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 16px 28px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--color-border-light);
  align-items: start;
}

.bc-spec__row:last-child {
  border-bottom: 0;
}

.bc-spec__row:first-child {
  padding-top: 22px;
}

.bc-spec__row dt {
  margin: 0;
  padding: 2px 0 0;
  background: transparent;
  border: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.bc-spec__row dd {
  margin: 0;
  padding: 0;
  color: var(--color-text);
  line-height: 1.8;
}

.bc-spec__row dd p {
  margin: 0 0 10px;
}

.bc-spec__row dd p:last-child {
  margin-bottom: 0;
}

.bc-spec__label {
  margin: 14px 0 8px !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
}

.bc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
}

.bc-chips li {
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eef6ff;
  color: #2a5f8a;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.bc-chips li::before {
  content: none;
}

.bc-note {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.7;
  color: #888;
}

.bc-price-caption {
  margin: 0 0 10px !important;
  font-size: 13px;
  color: var(--color-text-sub);
}

.bc-price-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bc-price-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  padding: 10px 12px;
  background: var(--color-bg-sub);
  border-radius: 8px;
  font-weight: 600;
}

.bc-price-list li:last-child {
  margin-bottom: 0;
}

.bc-price-list li::before {
  content: none;
}

.bc-section {
  margin: 0 0 56px;
}

.item-page__body .bc-section__title,
.item-page__body h2.bc-section__title {
  margin: 0 0 12px;
  padding-left: 14px;
  border-left: 3px solid var(--color-black);
  font-size: 22px;
  font-weight: 700;
}

.bc-section__note {
  margin: 0 0 20px;
  font-size: 13px;
  color: var(--color-text-muted);
}

.item-page__body .bc-subtitle,
.item-page__body h3.bc-subtitle {
  margin: 32px 0 14px;
  padding: 0;
  border: 0;
  font-size: 17px;
  font-weight: 700;
}

.bc-subtitle span {
  display: inline-block;
  margin-left: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
}

.bc-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--color-border-light);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.bc-flow__item {
  position: relative;
  margin: 0;
  padding: 22px 18px 24px;
  border-right: 1px solid var(--color-border-light);
  background: #fff;
}

.bc-flow__item:last-child {
  border-right: 0;
}

.bc-flow__item::before {
  content: none;
}

.bc-flow__num {
  display: block;
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--color-text-muted);
}

.bc-flow__title {
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-black);
}

.item-page__body .bc-flow__title,
.item-page__body h3.bc-flow__title {
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  font-size: 16px;
}

.bc-flow__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--color-text-sub);
}

.bc-flow__meta {
  margin: 12px 0 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-black);
}


.bc-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--color-border-light);
  border-radius: 10px;
  background: #fff;
  margin: 0 0 12px;
}

/* 共通 .item-page__body table / th / td の枠線を打ち消し */
.item-page__body .bc-matrix {
  width: 100%;
  min-width: 640px;
  margin: 0;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 13px;
  line-height: 1.4;
  background: transparent;
}

.item-page__body .bc-matrix th,
.item-page__body .bc-matrix td {
  width: auto;
  padding: 14px 12px;
  border: 0 !important;
  border-bottom: 1px solid var(--color-border-light) !important;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  background: transparent;
}

.item-page__body .bc-matrix thead th {
  background: #1a1a1a;
  color: #fff;
  font-weight: 600;
  border-bottom: 0 !important;
}

.item-page__body .bc-matrix tbody th {
  background: #fafafa;
  text-align: left;
  font-weight: 700;
  color: var(--color-black);
  padding-left: 14px;
}

.item-page__body .bc-matrix tbody tr:last-child th,
.item-page__body .bc-matrix tbody tr:last-child td {
  border-bottom: 0 !important;
}

.item-page__body .bc-matrix tbody tr:hover td {
  background: #fafafa;
}

.bc-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 28px;
}

.bc-option {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--color-border-light);
  border-radius: 10px;
  background: #fff;
  min-height: 120px;
}

.bc-option strong {
  font-size: 14px;
  color: var(--color-black);
}

.bc-option span,
.bc-option small {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.bc-option em {
  margin-top: auto;
  font-style: normal;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-black);
}

.bc-surubo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 40px;
  padding: 20px 22px;
  background: var(--color-bg-warm-alt);
  border-radius: 12px;
}

.bc-surubo__text {
  margin: 0;
  font-weight: 600;
}

.item-page__cta--modern {
  margin-top: 8px;
  padding: 32px 24px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #f7f5f0 0%, #f3f1eb 100%);
}

.item-page__cta--modern .btn--solid {
  color: #fff;
  background: var(--color-black);
  border-color: var(--color-black);
}

.item-page__cta--modern .btn--solid:hover {
  color: #fff;
  opacity: 0.88;
}

.bc-page .cmyk-icon,
.bc-page .k-icon,
.bc-page .item-page__body .cmyk-icon,
.bc-page .item-page__body .k-icon {
  display: inline-block;
  width: 15px;
  height: 15px;
  margin: 0 2px;
  background-size: cover;
  vertical-align: middle;
  transform: none;
}

.bc-page .cmyk-icon {
  background-image: url("../images/cmyk.svg");
}

.bc-page .k-icon {
  background-image: url("../images/k.svg");
}

@media (max-width: 960px) {
  .bc-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bc-flow {
    grid-template-columns: 1fr;
  }

  .bc-flow__item {
    border-right: 0;
    border-bottom: 1px solid var(--color-border-light);
    padding: 18px 20px;
  }

  .bc-flow__item:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 720px) {
  .bc-plan__head {
    padding-left: 20px;
    padding-right: 20px;
  }

  .bc-spec__row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px 20px;
  }

  .bc-spec__row dt {
    padding: 0;
  }

  .bc-options {
    grid-template-columns: 1fr;
  }

  .bc-surubo {
    flex-direction: column;
    align-items: flex-start;
  }

  .bc-subtitle span {
    display: block;
    margin: 4px 0 0;
  }
}
