/* ==========================================================================
   宛名ラベル作成・印刷ツール（A4・12面）専用CSS
   すべて .address-label-tool 配下に限定してスコープする
   ========================================================================== */

.address-label-tool {
  color: #1f2937;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 20px;
  margin: 0 0 32px;
}

.address-label-tool *,
.address-label-tool *::before,
.address-label-tool *::after {
  box-sizing: border-box;
}

/* ---------- ページ冒頭のリード文 ---------- */
.als-lead {
  max-width: 680px;
  margin: 20px auto 0;
  padding: 20px 24px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  font-size: 0.9375rem;
  line-height: 1.9;
  color: #374151;
}
.als-lead p {
  margin: 0 0 1em;
}
.als-lead p:last-child {
  margin-bottom: 0;
}
.als-lead-intro {
  font-weight: 600;
  color: #111827;
}
.als-lead-features {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.als-lead-features li {
  position: relative;
  padding-left: 1.6em;
}
.als-lead-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: #1d4ed8;
  font-weight: 700;
}
.als-lead-note {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.875rem;
  line-height: 1.7;
}
@media (min-width: 640px) {
  .als-lead {
    font-size: 1rem;
  }
}

/* ---------- メッセージ / 注意書き ---------- */
.address-label-tool .als-message {
  min-height: 1.5em;
  margin: 0 0 12px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.875rem;
  line-height: 1.5;
}
.address-label-tool .als-message:empty { display: none; }
.address-label-tool .als-message.is-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.address-label-tool .als-message.is-error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.address-label-tool .als-message.is-info    { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }

.address-label-tool .als-privacy-note {
  font-size: 0.8125rem;
  color: #6b7280;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px 14px;
  margin: 0 0 16px;
}

.address-label-tool .als-count-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 0 0 12px;
}
.address-label-tool .als-count-bar span {
  display: inline-flex;
  align-items: center;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1e3a8a;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  padding: 5px 14px;
}

/* ---------- 操作ボタン行 ---------- */
.address-label-tool .als-btn-row {
  grid-area: ops;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0 0 16px;
}
.address-label-tool .als-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.address-label-tool button.als-btn {
  font: inherit;
  cursor: pointer;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #374151;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.875rem;
  line-height: 1.4;
  transition: background .15s ease, border-color .15s ease;
}
.address-label-tool button.als-btn:hover { background: #f3f4f6; }
.address-label-tool button.als-btn:focus-visible,
.address-label-tool input:focus-visible,
.address-label-tool select:focus-visible,
.address-label-tool textarea:focus-visible,
.address-label-tool [tabindex]:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
.address-label-tool button.als-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.address-label-tool button.als-btn-primary {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: #fff;
  font-weight: 700;
  padding: 10px 20px;
  font-size: 0.9375rem;
}
.address-label-tool button.als-btn-primary:hover { background: #1e40af; }

.address-label-tool button.als-btn-danger {
  color: #b91c1c;
  border-color: #fca5a5;
  background: #fff;
}
.address-label-tool button.als-btn-danger:hover { background: #fef2f2; }

.address-label-tool button.als-btn-sm {
  padding: 4px 9px;
  font-size: 0.75rem;
  border-radius: 6px;
}

/* ---------- 全体レイアウト ---------- */
.address-label-tool .als-layout {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "input"
    "print"
    "list"
    "preview";
  gap: 20px;
}

@media (min-width: 1200px) {
  .address-label-tool .als-layout {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 650px);
    grid-template-areas:
      "input   preview"
      "print   preview"
      "list    preview";
    align-items: start;
  }
}

.address-label-tool .als-panel {
  min-width: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  margin: 0 0 16px;
}
.address-label-tool .als-panel:last-child { margin-bottom: 0; }
.address-label-tool .als-panel > h2,
.address-label-tool .als-panel > h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 12px;
  color: #111827;
}

.address-label-tool .als-input-area { grid-area: input; }
.address-label-tool .als-print-settings { grid-area: print; }
.address-label-tool .als-list-area { grid-area: list; }
.address-label-tool .als-preview-area { grid-area: preview; }

@media (min-width: 1200px) {
  .address-label-tool .als-preview-area {
    position: sticky;
    top: 16px;
  }
}

/* ---------- タブ ---------- */
.address-label-tool .als-tabs {
  display: flex;
  gap: 4px;
  margin: 0 0 16px;
  padding: 4px;
  background: #e5e7eb;
  border-radius: 10px;
  flex-wrap: wrap;
}
.address-label-tool .als-tab {
  font: inherit;
  cursor: pointer;
  background: transparent;
  border: 1px solid transparent;
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #4b5563;
  border-radius: 7px;
  flex: 1 1 auto;
}
.address-label-tool .als-tab:hover {
  background: rgba(255, 255, 255, 0.6);
}
.address-label-tool .als-tab[aria-selected="true"] {
  color: #1d4ed8;
  font-weight: 700;
  background: #fff;
  border-color: #d1d5db;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

@media (max-width: 480px) {
  .address-label-tool .als-tabs {
    flex-direction: column;
  }
  .address-label-tool .als-tab {
    width: 100%;
    text-align: center;
  }
}

.address-label-tool .als-tabpanel[hidden] { display: none; }

/* ---------- フォーム共通 ---------- */
.address-label-tool .als-field {
  margin: 0 0 12px;
}
.address-label-tool .als-field label,
.address-label-tool .als-field legend {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #374151;
  margin: 0 0 4px;
}
.address-label-tool .als-field input[type="text"],
.address-label-tool .als-field select,
.address-label-tool .als-field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.9375rem;
  padding: 8px 10px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  color: #111827;
}
.address-label-tool .als-field textarea { resize: vertical; }
.address-label-tool .als-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 480px) {
  .address-label-tool .als-field-row { grid-template-columns: 1fr; }
}
.address-label-tool .als-hint {
  font-size: 0.75rem;
  color: #6b7280;
  margin: 4px 0 0;
}
.address-label-tool .als-error-text {
  font-size: 0.8125rem;
  color: #b91c1c;
  margin: 8px 0 0;
}
.address-label-tool .als-error-text:empty { display: none; }

.address-label-tool .als-form-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.address-label-tool .als-radio-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.address-label-tool .als-radio-row .als-radio-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  margin: 0;
}
.address-label-tool .als-radio-label input[type="radio"] {
  margin: 0;
}

/* ---------- 貼り付け欄 ---------- */
.address-label-tool .als-paste-textarea {
  width: 100%;
  min-height: 160px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8125rem;
  padding: 10px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  white-space: pre;
}
.address-label-tool .als-sample-box {
  background: #f9fafb;
  border: 1px dashed #d1d5db;
  border-radius: 8px;
  padding: 10px 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  overflow-x: auto;
  white-space: pre;
  margin: 0 0 10px;
}

.address-label-tool .als-preview-table-wrap {
  overflow-x: auto;
  margin: 12px 0;
}
.address-label-tool table.als-preview-table,
.address-label-tool table.als-address-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.8125rem;
}
.address-label-tool table.als-preview-table th,
.address-label-tool table.als-preview-table td,
.address-label-tool table.als-address-table th,
.address-label-tool table.als-address-table td {
  border: 1px solid #e5e7eb;
  padding: 6px 8px;
  text-align: left;
  white-space: nowrap;
}
.address-label-tool table.als-preview-table tr.als-row-invalid td {
  background: #fef2f2;
}
.address-label-tool .als-paste-errors {
  margin: 8px 0 0;
  padding-left: 1.2em;
  font-size: 0.8125rem;
  color: #b91c1c;
}

/* ---------- 一覧 ---------- */
.address-label-tool .als-list-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.address-label-tool .als-list-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.address-label-tool .als-list-toolbar-actions .als-btn-danger {
  margin-left: 8px;
}
.address-label-tool table.als-address-table td.als-col-ops {
  white-space: nowrap;
}
.address-label-tool table.als-address-table td.als-col-ops button {
  margin-right: 4px;
}
.address-label-tool table.als-address-table td.als-col-ops button.als-row-delete {
  margin-left: 8px;
}
.address-label-tool table.als-address-table tbody tr[draggable="true"] {
  cursor: grab;
}
.address-label-tool table.als-address-table tbody tr.als-drag-over {
  outline: 2px dashed #93c5fd;
  outline-offset: -2px;
}
.address-label-tool .als-empty-list {
  color: #6b7280;
  font-size: 0.875rem;
  padding: 12px 0;
}

/* ---------- 印刷設定パネル ---------- */
.address-label-tool .als-accordion {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin: 4px 0 0;
  overflow: hidden;
}
.address-label-tool .als-accordion summary {
  cursor: pointer;
  padding: 10px 12px;
  font-weight: 700;
  font-size: 0.9375rem;
  color: #111827;
  list-style: none;
  background: #f9fafb;
}
.address-label-tool .als-accordion summary::-webkit-details-marker {
  display: none;
}
.address-label-tool .als-accordion summary::before {
  content: "\25B8";
  display: inline-block;
  margin-right: 6px;
  color: #6b7280;
  transition: transform 0.15s ease;
}
.address-label-tool .als-accordion[open] summary::before {
  transform: rotate(90deg);
}
.address-label-tool .als-accordion-body {
  padding: 12px;
}

.address-label-tool .als-adjust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 480px) {
  .address-label-tool .als-adjust-grid { grid-template-columns: 1fr; }
}
.address-label-tool .als-adjust-item label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #374151;
}
.address-label-tool .als-adjust-item input[type="range"] {
  width: 100%;
}
.address-label-tool .als-adjust-value {
  font-variant-numeric: tabular-nums;
  color: #1d4ed8;
}
.address-label-tool .als-reset-adjust {
  margin-top: 10px;
}

/* ---------- プレビュー ---------- */
.address-label-tool .als-preview-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.address-label-tool .als-zoom-select { font-size: 0.8125rem; }
.address-label-tool .als-page-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
}

.address-label-tool .als-test-print-note {
  font-size: 0.8125rem;
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
  border-radius: 8px;
  padding: 8px 10px;
  margin: 0 0 10px;
}

.address-label-tool .als-preview-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 0.75rem;
  color: #6b7280;
  margin: 0 0 10px;
}
.address-label-tool .als-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.address-label-tool .als-legend-swatch {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  border: 1px solid #d1d5db;
  flex: none;
}
.address-label-tool .als-legend-swatch.als-legend-skip {
  background: repeating-linear-gradient(
    45deg,
    #f3f4f6,
    #f3f4f6 4px,
    #e5e7eb 4px,
    #e5e7eb 8px
  );
}
.address-label-tool .als-legend-swatch.als-legend-empty {
  background: #fff;
}

.address-label-tool .als-overflow-warning {
  font-size: 0.8125rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  border-radius: 8px;
  padding: 8px 10px;
  margin: 0 0 10px;
}
.address-label-tool .als-overflow-warning[hidden] { display: none; }
.address-label-tool .als-overflow-warning ul { margin: 4px 0 0; padding-left: 1.2em; }

.address-label-tool .als-scale-wrap {
  overflow: auto;
  background: #e5e7eb;
  border-radius: 10px;
  padding: 14px;
}

.address-label-tool .als-sheet-scale-item {
  position: relative;
  overflow: hidden;
  margin: 0 auto 30px;
}
.address-label-tool .als-sheet-scale-item:last-child { margin-bottom: 0; }
.address-label-tool .als-sheet-scale-item[hidden] { display: none; }

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

.address-label-tool .als-sheet-page-label {
  position: absolute;
  top: -20px;
  left: 0;
  font-size: 0.75rem;
  color: #4b5563;
}

.address-label-tool .als-grid {
  position: absolute;
  display: grid;
}

.address-label-tool .als-slot {
  position: relative;
  overflow: hidden;
  border: 1px dashed #cbd5e1;
}
.address-label-tool .als-slot .als-slot-number {
  position: absolute;
  top: 2px;
  left: 4px;
  font-size: 8px;
  color: #9ca3af;
}
.address-label-tool .als-slot.als-slot-empty::after {
  content: "空き";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d1d5db;
  font-size: 0.75rem;
}
.address-label-tool .als-slot.als-slot-skip {
  background: repeating-linear-gradient(
    45deg,
    #f3f4f6,
    #f3f4f6 6px,
    #e5e7eb 6px,
    #e5e7eb 12px
  );
}
.address-label-tool .als-slot.als-slot-skip::after {
  content: "使用済み";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 0.75rem;
  font-weight: 700;
}

.address-label-tool .als-slot-content {
  position: absolute;
  inset: 3mm;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.25;
  overflow: hidden;
  transform-origin: left center;
}
.address-label-tool .als-slot-content.als-align-center {
  align-items: center;
  text-align: center;
  transform-origin: center center;
}
.address-label-tool .als-slot-content.als-align-left {
  align-items: flex-start;
  text-align: left;
}
.address-label-tool .als-slot-content.als-tight {
  line-height: 1.05;
}

.address-label-tool .als-line-postal {
  font-size: calc(10pt * var(--als-font-scale, 1));
}
.address-label-tool .als-line-address {
  font-size: calc(10pt * var(--als-font-scale, 1));
  word-break: break-word;
}
.address-label-tool .als-line-company {
  font-size: calc(10.5pt * var(--als-font-scale, 1));
  font-weight: 700;
  margin-top: 0.15em;
  word-break: break-word;
}
.address-label-tool .als-line-role {
  font-size: calc(9.5pt * var(--als-font-scale, 1));
  color: #374151;
  word-break: break-word;
}
.address-label-tool .als-line-name {
  margin-top: 0.15em;
  white-space: nowrap;
}
.address-label-tool .als-name-text {
  font-size: calc(13pt * var(--als-font-scale, 1));
  font-weight: 700;
}
.address-label-tool .als-honorific-text {
  font-size: calc(10.5pt * var(--als-font-scale, 1));
  margin-left: 0.3em;
}

.address-label-tool .als-slot.als-slot-overflow .als-slot-content {
  outline: 1px solid #f59e0b;
}

/* ---------- 編集中の表示 ---------- */
.address-label-tool .als-editing-banner {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.8125rem;
  margin: 0 0 10px;
}
.address-label-tool .als-editing-banner[hidden] { display: none; }

.address-label-tool .als-duplicate-banner {
  background: #f5f3ff;
  border: 1px solid #ddd6fe;
  color: #5b21b6;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.8125rem;
  margin: 0 0 10px;
}
.address-label-tool .als-duplicate-banner[hidden] { display: none; }

/* ---------- 使い方 / 説明セクション（宛名ラベル作成ツール専用のSEO本文） ---------- */
.als-doc-section {
  max-width: 960px;
  margin: 32px 0;
  padding: 0 16px 40px 0;
  line-height: 1.8;
  color: #333;
}
.als-doc-section h2 {
  margin: 36px 0 12px;
  font-size: 1.3rem;
  font-weight: 700;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 6px;
}
.als-doc-section h2:first-child { margin-top: 0; }
.als-doc-section h3 {
  margin: 20px 0 6px;
  font-size: 1.05rem;
  font-weight: 700;
}
.als-doc-section p { margin: 0 0 12px; }
.als-doc-section ul { padding-left: 1.4em; margin: 0 0 12px; }
.als-doc-section li { margin-bottom: 4px; }

.als-doc-box {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px 20px;
  margin: 0 0 16px;
}
.als-doc-box ul { margin: 0; }
.als-doc-box li:last-child { margin-bottom: 0; }

.als-doc-tip {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 12px;
  padding: 14px 20px;
  margin: 0 0 16px;
}
.als-doc-tip h3 {
  margin: 0 0 6px;
  color: #92400e;
}
.als-doc-tip p { margin: 0; }

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

.als-column-sample-table {
  overflow-x: auto;
}
.als-column-sample-table table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.8125rem;
}
.als-column-sample-table th,
.als-column-sample-table td {
  border: 1px solid #e5e7eb;
  padding: 6px 8px;
  white-space: nowrap;
}
.als-column-sample-table th { background: #f9fafb; }

.als-faq-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 12px;
}
.als-faq-item h3 { margin: 0 0 6px; font-size: 1rem; color: #1d4ed8; }
.als-faq-item p { margin: 0; }

ul.related-links {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}
ul.related-links li a {
  display: block;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px 14px;
  color: #1d4ed8;
  text-decoration: none;
  font-size: 0.875rem;
  background: #fff;
}
ul.related-links li a:hover { background: #eff6ff; }

/* ==========================================================================
   印刷用スタイル
   ========================================================================== */
@media print {
  @page {
    size: A4 portrait;
    margin: 0;
  }

  body > *:not(main) { display: none !important; }

  main > *:not(.address-label-tool) { display: none !important; }

  .address-label-tool > *:not(.als-layout) { display: none !important; }

  .address-label-tool .als-layout {
    display: block !important;
    width: auto !important;
    gap: 0 !important;
  }

  .als-layout > *:not(.als-preview-area) { display: none !important; }

  .address-label-tool {
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .als-preview-area {
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
  }

  .als-preview-area > *:not(#alsScaleWrap) { display: none !important; }

  .als-scale-wrap {
    all: unset !important;
    display: block !important;
  }

  .address-label-tool .als-sheet-scale-item {
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    margin: 0 !important;
  }
  .address-label-tool .als-sheet-scale-item[hidden] { display: block !important; }

  .address-label-tool .als-sheet {
    width: 210mm;
    /* 297mmちょうどにすると、ブラウザのヘッダー/フッター印刷設定や
       mm→px換算の丸め誤差でごく僅かに1枚目からあふれ、
       ほぼ空白の2枚目が生成されることがあるため、わずかに安全マージンを取る */
    height: 296mm;
    margin: 0;
    box-shadow: none;
    transform: none !important;
    break-after: page;
    page-break-after: always;
  }
  .address-label-tool .als-sheet-scale-item:last-child .als-sheet {
    break-after: auto;
    page-break-after: auto;
  }

  .address-label-tool .als-sheet-page-label { display: none !important; }

  .address-label-tool .als-slot {
    border: none !important;
  }
  .address-label-tool .als-slot .als-slot-number { display: none !important; }
  .address-label-tool .als-slot.als-slot-empty::after,
  .address-label-tool .als-slot.als-slot-skip::after {
    content: none !important;
    display: none !important;
  }
  .address-label-tool .als-slot.als-slot-skip {
    background: none !important;
  }
  .address-label-tool .als-slot.als-slot-overflow .als-slot-content {
    outline: none !important;
  }

  /* 通常印刷ではラベル枠を出さない。テスト印刷モードのみ枠と番号を出す */
  body.als-mode-test .address-label-tool .als-slot {
    border: 1px solid #000 !important;
  }
  body.als-mode-test .address-label-tool .als-slot .als-slot-number {
    display: block !important;
    color: #000 !important;
    font-size: 9px !important;
  }
}
