/* ==========================================================================
   名刺作成ツール
   PC: 左に入力フォーム / 右にプレビュー（sticky）
   SP: 入力 → プレビュー → 印刷操作 の1カラム
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  background: #f3f5f8;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  color: #1f2937;
  line-height: 1.6;
}

button, input, select, textarea { font-family: inherit; }

:focus-visible {
  outline: 2px solid #2f6fb0;
  outline-offset: 2px;
}

/* ── パンくず・導入 ───────────────────────────────────────────── */
.bcm-breadcrumb,
.bcm-seo-header,
.bcm-main-container,
.bcm-doc-section {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.bcm-breadcrumb { margin-top: 14px; padding: 0 16px; }

.bcm-seo-header {
  margin-top: 10px;
  margin-bottom: 18px;
  padding: 0 16px;
}

.bcm-seo-header h1 {
  margin: 0 0 8px;
  font-size: 1.58rem;
  font-weight: 700;
  line-height: 1.4;
}

.bcm-seo-lead {
  margin: 0 0 12px;
  max-width: 760px;
  color: #444;
  line-height: 1.75;
}

.bcm-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.bcm-features li {
  padding: 4px 10px;
  border: 1px solid #dbe7f3;
  border-radius: 999px;
  background: #f7faff;
  color: #315d8c;
  font-size: .8rem;
  font-weight: 600;
}

/* ── メインレイアウト ─────────────────────────────────────────── */
.bcm-main-container {
  margin-bottom: 48px;
  padding: 0 16px;
  display: grid;
  grid-template-columns: minmax(340px, .85fr) minmax(0, 1.15fr);
  gap: 20px;
  align-items: start;
}

.bcm-form-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bcm-panel {
  background: #fff;
  border: 1px solid #e4e9f0;
  border-radius: 10px;
  padding: 22px 22px 18px;
}

.bcm-block-title {
  margin: 0 0 14px;
  font-size: .95rem;
  font-weight: 700;
  color: #374151;
}

/* ── ツールバー ───────────────────────────────────────────── */
.bcm-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.bcm-intro-note {
  margin: 0;
  color: #6b7280;
  font-size: .82rem;
  line-height: 1.6;
}

/* ── フォーム項目 ───────────────────────────────────────────── */
.bcm-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.bcm-form-field:last-child { margin-bottom: 0; }

.bcm-form-field label {
  font-size: .85rem;
  font-weight: 600;
  color: #4b5563;
}

.bcm-form-field input[type="text"],
.bcm-form-field input[type="email"],
.bcm-form-field textarea,
.bcm-form-field select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  font-size: .95rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #1f2937;
}

.bcm-form-field textarea {
  min-height: 60px;
  resize: vertical;
  line-height: 1.5;
}

.bcm-form-field input:focus,
.bcm-form-field textarea:focus,
.bcm-form-field select:focus {
  border-color: #2f6fb0;
}

.bcm-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.bcm-field-note {
  margin: 8px 0 0;
  font-size: .76rem;
  color: #9ca3af;
  line-height: 1.6;
}

.bcm-field-group-label {
  margin: 0 0 8px;
  font-size: .85rem;
  font-weight: 600;
  color: #4b5563;
}

/* ── 折りたたみ項目（その他の項目・文字サイズ配置・ロゴ） ───────────── */
.bcm-more-details {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid #eef1f5;
}

.bcm-more-summary {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  font-size: .9rem;
  font-weight: 700;
  color: #2f6fb0;
  cursor: pointer;
  list-style: none;
}

.bcm-more-summary::-webkit-details-marker { display: none; }

.bcm-toggle-icon::before { content: "＋"; }
details[open] > summary .bcm-toggle-icon::before { content: "－"; }

.bcm-more-body { padding-top: 14px; }

/* ── デザイン選択（テンプレート） ─────────────────────────────── */
.bcm-design-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}

.bcm-design-choice {
  position: relative;
  cursor: pointer;
}

.bcm-design-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.bcm-design-choice span {
  display: flex;
  min-height: 76px;
  padding: 8px;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  flex-direction: column;
  gap: 7px;
  align-items: center;
  justify-content: center;
  color: #475569;
  font-size: .78rem;
  text-align: center;
}

.bcm-design-choice input:checked + span {
  border-color: #2f6fb0;
  box-shadow: 0 0 0 2px rgba(47,111,176,.12);
  color: #1f4f8a;
}

.bcm-design-choice input:focus-visible + span {
  outline: 2px solid #2f6fb0;
  outline-offset: 2px;
}

.bcm-tpl-icon {
  display: block;
  width: 48px;
  height: 28px;
  border: 1px solid #d7dde5;
  border-radius: 3px;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.bcm-tpl-icon::before,
.bcm-tpl-icon::after {
  content: "";
  position: absolute;
  background: #94a3b8;
}

.bcm-tpl-icon-standard::before { top: 6px; left: 6px; width: 22px; height: 3px; }
.bcm-tpl-icon-standard::after { bottom: 5px; left: 6px; right: 6px; height: 2px; background: #2f6fb0; }

.bcm-tpl-icon-simple::before { top: 9px; left: 8px; width: 18px; height: 3px; }
.bcm-tpl-icon-simple::after { top: 16px; left: 8px; width: 12px; height: 2px; }

.bcm-tpl-icon-leftline::before { top: 0; left: 0; bottom: 0; width: 4px; background: #2f6fb0; }
.bcm-tpl-icon-leftline::after { top: 8px; left: 10px; width: 22px; height: 3px; }

/* ── カラー選択 ───────────────────────────────────────────── */
.bcm-color-options {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.bcm-color-choice {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.bcm-color-label {
  font-size: .72rem;
  color: #6b7280;
  white-space: nowrap;
}

.bcm-color-swatch {
  width: 32px;
  height: 32px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: 0 0 0 1px #cbd5e1;
  cursor: pointer;
}

.bcm-color-swatch.is-active {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #2f6fb0;
}

/* ── ロゴ ─────────────────────────────────────────────────── */
.bcm-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.bcm-logo-input-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.bcm-logo-input-hidden:focus-visible + .bcm-logo-select {
  outline: 2px solid #2f6fb0;
  outline-offset: 2px;
}

.bcm-logo-preview {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bcm-logo-preview img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border: 1px solid #e4e9f0;
  border-radius: 8px;
  background: #fff;
}

/* ── 印刷方法（セグメント） ─────────────────────────────────── */
.bcm-segmented {
  display: flex;
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  overflow: hidden;
  margin-bottom: 16px;
}

.bcm-segmented-option {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
}

.bcm-segmented-option input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.bcm-segmented-option span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 9px 5px;
  border-right: 1px solid #cbd5e1;
  color: #475569;
  text-align: center;
  line-height: 1.3;
}
.bcm-segmented-option:last-child span { border-right: none; }
.bcm-segmented-option span b { font-size: .86rem; }
.bcm-segmented-option span small { margin-top: 2px; font-size: .7rem; font-weight: 500; }

.bcm-segmented-option input:checked + span { background: #2f6fb0; color: #fff; }
.bcm-segmented-option input:focus-visible + span { outline: 2px solid #2f6fb0; outline-offset: -2px; }

.bcm-segmented-compact { margin-bottom: 10px; }
.bcm-segmented-compact .bcm-segmented-option span {
  min-height: 40px;
  padding: 7px 5px;
}
.bcm-segmented-compact .bcm-segmented-option span b { font-size: .82rem; }

.bcm-checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #333;
  font-size: .88rem;
  cursor: pointer;
}
.bcm-checkbox-row input { width: 18px; height: 18px; flex: 0 0 18px; }

/* ── ボタン ───────────────────────────────────────────────── */
.bcm-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 50px;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  background: #1d4ed8;
  border: 1px solid #1d4ed8;
  color: #fff;
}

.bcm-btn-primary:hover { background: #1e40af; }

.bcm-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 8px;
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  background: #fff;
  border: 1px solid #2f6fb0;
  color: #2f6fb0;
}

.bcm-btn-outline:hover { background: #eff6ff; }

.bcm-btn-text {
  background: none;
  border: none;
  padding: 6px 4px;
  font-size: .85rem;
  color: #9ca3af;
  text-decoration: underline;
  cursor: pointer;
}
.bcm-btn-text:hover { color: #6b7280; }

.bcm-btn-text-danger {
  background: none;
  border: none;
  padding: 4px;
  font-size: .8rem;
  color: #a83232;
  text-decoration: underline;
  cursor: pointer;
}
.bcm-btn-text-danger:hover { color: #7a1f1f; }

.bcm-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bcm-auto-save-note {
  font-size: .78rem;
  color: #9ca3af;
}

/* ── プレビュー ───────────────────────────────────────────── */
.bcm-preview-column {
  position: sticky;
  top: 20px;
  min-width: 0;
}

.bcm-preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 6px;
}

.bcm-preview-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1f2937;
}

.bcm-preview-status {
  margin: 0 0 10px;
  color: #64748b;
  font-size: .8rem;
  font-weight: 600;
}

.bcm-preview-zoom-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin: 0 0 12px;
  color: #64748b;
  font-size: .78rem;
  font-weight: 600;
  flex-wrap: wrap;
}

.bcm-zoom-buttons {
  display: inline-flex;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  overflow: hidden;
  background: #fff;
}

.bcm-zoom-btn {
  min-height: 34px;
  padding: 6px 10px;
  border: 0;
  border-right: 1px solid #cbd5e1;
  background: #fff;
  color: #475569;
  font: inherit;
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
}
.bcm-zoom-btn:last-child { border-right: 0; }
.bcm-zoom-btn:hover { background: #f1f5f9; }
.bcm-zoom-btn.is-active { background: #2f6fb0; color: #fff; }
.bcm-zoom-btn:focus-visible { position: relative; z-index: 1; outline: 2px solid #2f6fb0; outline-offset: -2px; }

.bcm-scale-wrap {
  overflow: auto;
  margin-bottom: 16px;
  padding: 26px 14px 14px;
  border-radius: 10px;
  background: #e5e7eb;
}

.bcm-preview-item {
  position: relative;
  margin: 0 auto;
}

.bcm-sheet {
  position: relative;
  width: 210mm;
  height: 297mm;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.18);
  transform-origin: top left;
}

.bcm-sheet-solo {
  box-shadow: 0 2px 14px rgba(0,0,0,.16);
}

.bcm-sheet-grid {
  position: absolute;
  inset: 0;
  display: grid;
}

.bcm-sheet-grid-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.bcm-card-slot { position: relative; }

/* 裁断ガイド：名刺の縁には線を引かず、四隅の外側だけに短いトンボ風のマークを表示する。
   マーク位置はSVG内でmm単位そのまま数値化しているため、::beforeの表示範囲
  （名刺サイズ91×55mmの外側1.6mmずつ）にぴったり重ねて表示している。 */
.bcm-cut-guide::before {
  content: "";
  position: absolute;
  top: -1.6mm;
  right: -1.6mm;
  bottom: -1.6mm;
  left: -1.6mm;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 94.2 58.2'%3E%3Cg stroke='%239aa5b1' stroke-width='0.15'%3E%3Cline x1='0' y1='1.6' x2='1.2' y2='1.6'/%3E%3Cline x1='1.6' y1='0' x2='1.6' y2='1.2'/%3E%3Cline x1='93' y1='1.6' x2='94.2' y2='1.6'/%3E%3Cline x1='92.6' y1='0' x2='92.6' y2='1.2'/%3E%3Cline x1='0' y1='56.6' x2='1.2' y2='56.6'/%3E%3Cline x1='1.6' y1='57' x2='1.6' y2='58.2'/%3E%3Cline x1='93' y1='56.6' x2='94.2' y2='56.6'/%3E%3Cline x1='92.6' y1='57' x2='92.6' y2='58.2'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.bcm-print-actions { margin-bottom: 8px; }

.bcm-note-small {
  margin: 0;
  font-size: .78rem;
  color: #9ca3af;
  line-height: 1.6;
  text-align: center;
}

/* ── 名刺本体 ─────────────────────────────────────────────── */
.bcm-card {
  --bcm-accent: #1f2937;
  --bcm-name-size: 4.4mm;
  --bcm-company-size: 2.6mm;
  position: relative;
  overflow: hidden;
  width: 91mm;
  height: 55mm;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.6mm;
  padding: 5mm 6mm;
  border: 1px solid #d8dee6;
  background: #fff;
  color: #23282f;
  text-align: left;
  font-family: -apple-system, BlinkMacSystemFont, 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
}

.bcm-card.bcm-align-center {
  text-align: center;
  align-items: center;
}

.bcm-card-toprow {
  display: flex;
  align-items: flex-start;
  gap: 3mm;
  min-width: 0;
}

.bcm-card.bcm-align-center .bcm-card-toprow {
  flex-direction: column;
  align-items: center;
}

.bcm-card-logo {
  width: 8mm;
  height: 8mm;
  object-fit: contain;
  flex: 0 0 auto;
}

.bcm-card-heading { min-width: 0; }

.bcm-card-company {
  color: #4b5563;
  font-size: var(--bcm-company-size);
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.bcm-card-company-sub {
  margin-top: .3mm;
  color: #6b7280;
  font-size: calc(var(--bcm-company-size) * .78);
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.bcm-card-role {
  margin-top: .6mm;
  color: #4b5563;
  font-size: calc(var(--bcm-company-size) * .92);
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.bcm-card-name {
  margin-top: 1mm;
  color: var(--bcm-accent);
  font-size: var(--bcm-name-size);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .02em;
  overflow-wrap: anywhere;
}

.bcm-card-name-sub {
  margin-top: .3mm;
  color: #6b7280;
  font-size: calc(var(--bcm-name-size) * .45);
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.bcm-card-divider {
  margin: .8mm 0;
  border-top: .3mm solid var(--bcm-accent);
  opacity: .35;
}

.bcm-card-contact {
  display: flex;
  flex-direction: column;
  gap: .5mm;
  color: #374151;
  font-size: 2.3mm;
  line-height: 1.4;
}

.bcm-card.bcm-align-center .bcm-card-contact { align-items: center; }

.bcm-card-contact-line { overflow-wrap: anywhere; }
.bcm-card-contact-label {
  display: inline-block;
  min-width: 8mm;
  color: #6b7280;
  font-weight: 600;
}

/* ── テンプレート差分 ─────────────────────────────────────── */
.bcm-tpl-simple {
  padding: 6.5mm 7.5mm;
  gap: 2.2mm;
}
.bcm-tpl-simple .bcm-card-divider { display: none; }

.bcm-tpl-leftline {
  padding-left: 8.5mm;
}
.bcm-tpl-leftline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3mm;
  background: var(--bcm-accent);
}
.bcm-tpl-leftline .bcm-card-divider { display: none; }

/* ── 出力操作（no-print） ─────────────────────────────────── */
.bcm-mobile-action-bar { display: none; }

/* ── 印刷専用コンテナ（画面には出さず@media printでのみ表示） ─────── */
.bcm-print-only { display: none; }

/* ── 解説 ─────────────────────────────────────────────────── */
.bcm-doc-section {
  margin-top: 40px;
  margin-bottom: 60px;
  padding: 0 16px;
  color: #374151;
  line-height: 1.85;
}

.bcm-doc-section h2 {
  margin: 38px 0 14px;
  padding-left: 10px;
  border-left: 4px solid #1d4ed8;
  color: #111827;
  font-size: 1.22rem;
  font-weight: 700;
}
.bcm-doc-section h2:first-of-type { margin-top: 0; }
.bcm-doc-section h3 { margin: 0 0 6px; color: #1d4ed8; font-size: 1rem; font-weight: 700; }
.bcm-doc-section p,
.bcm-doc-section li { color: #374151; font-size: .92rem; line-height: 1.85; }
.bcm-doc-section p { margin: 0 0 12px; }
.bcm-doc-section a { color: #1d4ed8; font-weight: 600; }

.bcm-steps { counter-reset: bcm-step; margin: 0; padding: 0; list-style: none; }
.bcm-steps li { counter-increment: bcm-step; position: relative; margin-bottom: 14px; padding-left: 2.4em; }
.bcm-steps li::before {
  content: counter(bcm-step);
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.7em;
  height: 1.7em;
  border-radius: 50%;
  background: #1d4ed8;
  color: #fff;
  font-size: .875rem;
  font-weight: 700;
}

.related-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.related-links li a {
  display: block;
  margin: 0;
  padding: 11px 13px;
  border: 1px solid #e5e7eb;
  border-radius: 9px;
  background: #fff;
  color: #1d4ed8;
  font-weight: 600;
  font-size: .88rem;
  text-decoration: none;
}
.related-links li a:hover { background: #eff6ff; }

.bcm-faq-item {
  margin-bottom: 10px;
  padding: 13px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
}
.bcm-faq-item p { margin: 0; }

/* ── レスポンシブ ─────────────────────────────────────────── */
@media (max-width: 991px) {
  body { padding-bottom: 70px; }

  .bcm-seo-header { max-width: 900px; }
  .bcm-main-container {
    max-width: 900px;
    grid-template-columns: 1fr;
  }

  .bcm-preview-column { position: static; }

  .bcm-print-actions { display: none; }

  .bcm-mobile-action-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    display: flex;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid #e4e9f0;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,.06);
  }
}

@media (max-width: 560px) {
  .bcm-seo-header h1 { font-size: 1.42rem; }
  .bcm-actions { flex-direction: column-reverse; align-items: stretch; text-align: center; }
  .bcm-form-grid { grid-template-columns: 1fr; gap: 0; }
  .bcm-design-choices { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 6px; }
  .bcm-scale-wrap { padding: 20px 8px 10px; }
}

/* ── 印刷 ─────────────────────────────────────────────────── */
@media print {
  .no-print { display: none !important; }

  body { margin: 0; padding: 0; background: #fff; }

  #header,
  #footer,
  .bcm-breadcrumb,
  .bcm-seo-header,
  .bcm-doc-section,
  .bcm-mobile-action-bar { display: none !important; }

  .bcm-main-container {
    display: block !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .bcm-form-column { display: none !important; }

  .bcm-preview-column { position: static; }

  .bcm-panel {
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
  }

  .bcm-preview-toolbar,
  .bcm-preview-status,
  .bcm-preview-zoom-row,
  .bcm-segmented-compact,
  .bcm-scale-wrap { display: none !important; }

  .bcm-print-only { display: block !important; }

  .bcm-preview-item {
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
  }

  .bcm-sheet {
    width: 210mm;
    height: 296mm;
    margin: 0;
    box-shadow: none;
    transform: none !important;
  }

  .bcm-sheet.bcm-sheet-solo {
    width: 210mm !important;
    height: 296mm !important;
  }

  /* 名刺本体の外枠線はカットの目安として画面表示のみに使うもので、
     切り離した後の名刺に線が残らないよう印刷時は非表示にする。
     内部のデザイン線（.bcm-card-divider等）は別要素のため影響を受けない。 */
  .bcm-card { border: none !important; }

  /* ブラウザの印刷ダイアログで「背景のグラフィック」がOFFのままだと、
     左ラインのアクセントバーや裁断ガイドの背景（background）が印刷されず
     消えてしまうため、印刷時は常に背景色・背景画像を出力させる。 */
  .bcm-sheet,
  .bcm-sheet * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  @page { size: A4 portrait; margin: 0; }
}
