/* 名刺 LP 固有のビジュアル（ヒーロー装飾） */

.dot-grid {
  min-height: 100vh;
  background-color: var(--bg);
  background-image: radial-gradient(rgba(148, 163, 184, 0.38) 1px, transparent 1px);
  background-size: 14px 14px;
}

.head-card-stack {
  flex-shrink: 0;
  width: min(180px, 42vw);
  height: 132px;
}

.stack-stage {
  position: relative;
  height: 120px;
  display: grid;
  place-items: end center;
}

.mini-sheet {
  position: absolute;
  width: min(158px, 38vw);
  height: 98px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.mini-sheet::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 5px;
  background: var(--primary);
}

.mini-sheet::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 38px;
  height: 20px;
  border-radius: 4px;
  background: var(--accent);
}

.mini-sheet--1 { transform: rotate(-7deg) translate(-18px, 6px); z-index: 1; }
.mini-sheet--2 { transform: rotate(4deg) translate(8px, 2px); z-index: 2; }
.mini-sheet--3 { transform: rotate(-2deg) translate(-4px, -4px); z-index: 3; }
.mini-sheet--4 { transform: rotate(6deg) translate(14px, -8px); z-index: 4; }

.system-prompt-panel {
  margin-bottom: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f8fafc, #fff);
  border: 1px solid var(--line);
}

.system-prompt-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text);
  font-weight: 600;
}

.sample-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-bottom: 12px;
  text-decoration: none;
}

.btn-sample {
  background: #fffbeb;
  border-color: #fde68a;
  color: var(--text);
}

.btn-sample:hover {
  background: #fef3c7;
  border-color: #fcd34d;
}
.product-shell {
  width: min(70vw, 920px);
  max-width: 100%;
  margin: 0 auto;
  padding: 20px 18px 28px;
  border-radius: 16px;
  background-color: var(--bg);
  background-image: radial-gradient(rgba(148, 163, 184, 0.38) 1px, transparent 1px);
  background-size: 14px 14px;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.12);
}

.product-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.page-head-split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}

.page-head-copy {
  flex: 1;
  min-width: min(100%, 260px);
}

.page-title {
  margin: 0;
  font-size: clamp(18px, 4vw, 24px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.page-lead {
  margin: 8px 0 0;
  font-size: clamp(13px, 2.8vw, 15px);
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.45;
}

.t-divider {
  width: 100%;
  height: 1px;
  background: var(--line);
  margin: 0 0 20px;
}

.t-divider-wide {
  margin-top: 4px;
}

.ship-notice {
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #eff6ff, #f8fafc);
  border-color: #bfdbfe;
}

.ship-notice-title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 900;
  color: #1d4ed8;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ship-notice-list {
  margin: 0;
  padding-left: 1.15em;
  font-size: 13px;
  line-height: 1.65;
  color: #1e3a8a;
}

.ship-notice-list li {
  margin-bottom: 5px;
}

.ship-notice-list li:last-child {
  margin-bottom: 0;
}

.ship-notice-list strong {
  font-weight: 800;
  color: #1e40af;
}

.section-h {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.pricing-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.panel-card-title {
  margin: 0;
  padding: 14px 16px 12px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--line);
}

.price-table-card {
  overflow: hidden;
  box-shadow: var(--shadow);
  border-radius: 12px;
}

.price-tier-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 4px 16px 12px;
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 0 2px;
  font-size: 14px;
  font-weight: 700;
  border-bottom: none;
}

.price-tier-row {
  align-items: center;
  padding: 10px 0;
  font-size: 15px;
  border-bottom: 1px solid var(--line);
}

.price-tier-row:last-child {
  border-bottom: none;
}

.price-tier-row .price-row-label {
  font-weight: 800;
}

.price-row-value {
  flex-shrink: 0;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  font-size: 15px;
  color: var(--primary);
}

.price-tier-row .price-row-value {
  font-size: 18px;
}

.price-opt-row {
  align-items: center;
}

.price-opt-row .opt-desc-label {
  flex: 1;
  min-width: 0;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.45;
}

.price-opt-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.toggle-ui {
  position: relative;
  flex-shrink: 0;
  width: 48px;
  height: 28px;
}

.toggle-sr {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.toggle-track {
  display: block;
  width: 48px;
  height: 28px;
  border-radius: 999px;
  background: #e2e8f0;
  transition: background 0.18s ease;
}

.toggle-sr:checked + .toggle-track {
  background: var(--primary);
}

.toggle-sr:focus-visible + .toggle-track {
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.28);
}

.toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.14);
  transition: transform 0.18s ease;
  pointer-events: none;
}

.toggle-sr:checked + .toggle-track .toggle-knob {
  transform: translateX(20px);
}

.estimate-card {
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.estimate-card-body {
  display: flex;
  flex-direction: column;
}

.est-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
}

.est-line-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  flex-shrink: 0;
}

.est-qty-control {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.est-qty-input {
  width: 76px;
  height: 40px;
  margin: 0;
  padding: 0 8px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  font-variant-numeric: tabular-nums;
  border-radius: 8px;
  background: #f8fafc;
  -moz-appearance: textfield;
  appearance: textfield;
}

.est-qty-input::-webkit-inner-spin-button,
.est-qty-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.est-qty-unit {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.est-qty-hint {
  margin: -4px 0 0;
  padding: 0 16px 10px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--warn);
}

.est-opt-text {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  min-width: 0;
}

.est-opt-label {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
}

.est-opt-price {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.est-total-line {
  padding: 16px;
  border-bottom: none;
  background: #f8fafc;
}

.est-yen {
  font-size: 22px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  color: var(--primary);
  letter-spacing: -0.01em;
}

.est-cap {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.confirm-summary {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.6;
}

.confirm-summary p {
  margin: 0 0 6px;
}

.confirm-summary p:last-child {
  margin-bottom: 0;
}

.cta-section {
  padding-bottom: 4px;
}

.order-btn {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.cta-note {
  margin: 14px 0 0;
  font-size: 13px;
  text-align: center;
}

/* Order modal */
.order-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 8500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.55);
}

.order-modal-backdrop.open {
  display: flex;
}

.order-modal {
  width: min(640px, 100%);
  max-height: min(92vh, 720px);
  overflow-y: auto;
  padding: 20px 18px 18px;
}

.order-modal-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.order-modal-title {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 8px;
}

.order-close-btn {
  border: none;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
  padding: 0 4px;
}

.inset-card {
  padding: 14px;
  margin-bottom: 12px;
  background: #f8fafc;
}

.qty-hero-input {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 900;
  text-align: center;
  margin-top: 8px;
}

.estimate-inset .estimate-yen {
  margin: 6px 0 0;
  font-size: 26px;
  font-weight: 900;
  color: var(--primary);
}

.estimate-inset .estimate-yen small {
  font-size: 0.55em;
  font-weight: 800;
}

.estimate-fine {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.5;
}

.estimate-hint {
  margin: 8px 0 0;
  font-size: 12px;
}

.order-confirm-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  padding: 14px 16px;
  border: 1px solid #fcd34d;
  border-radius: 12px;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.08);
}

.order-confirm-notice__icon {
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 18px;
  color: #d97706;
}

.order-confirm-notice__text {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.65;
  color: #92400e;
}

.modal-row {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 16px;
}

.btn-accent {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-text, #422006);
}

.return-ship-block {
  margin-top: 4px;
}

.return-ship-q {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 700;
}

.return-ship-hint {
  margin: 0 0 8px;
  font-size: 12px;
}

.lbl {
  font-size: 13px;
  font-weight: 800;
}

.zip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.zip-row .input {
  flex: 1 1 160px;
}

.zip-btn {
  flex: 0 0 auto;
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.return-block {
  margin-top: 12px;
}

.complete-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px 14px;
  background: rgba(15, 23, 42, 0.55);
}

.complete-backdrop.open {
  display: flex;
}

.complete-modal {
  width: min(720px, calc(100vw - 24px));
  max-height: min(92vh, 680px);
  padding: 24px 22px 20px;
  overflow-y: auto;
}

.complete-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 20px 28px;
  align-items: center;
}

.complete-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.complete-card-art {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 52px;
  color: #fff;
  background: linear-gradient(145deg, var(--primary), #818cf8);
  box-shadow: 0 12px 36px rgba(37, 99, 235, 0.35);
}

.complete-card-art i {
  line-height: 1;
}

.complete-copy {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.complete-title {
  margin: 0;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 950;
  color: var(--success);
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.3;
}

.complete-title i {
  flex-shrink: 0;
  line-height: 1;
}

.complete-lead,
.complete-ship-instr {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  font-weight: 700;
}

.complete-email-note {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--primary);
  font-weight: 800;
}

.complete-guide {
  margin-top: 16px;
}

.complete-guide-text {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.65;
  font-weight: 700;
}

.complete-address {
  margin: 0;
  padding: 16px 18px;
  font-size: 15px;
  font-weight: 800;
  font-style: normal;
  line-height: 1.7;
  white-space: pre-line;
  text-align: center;
  background: #fff;
  border: 2px dashed var(--primary);
}

.complete-actions {
  margin-top: 20px;
}

.complete-close-btn {
  min-width: 140px;
}

.product-main {
  padding-top: 20px;
  padding-bottom: 40px;
}

@media (max-width: 640px) {
  .product-shell {
    width: 100%;
  }

  .complete-layout {
    grid-template-columns: 1fr;
  }

  .complete-card-art {
    width: 100px;
    height: 100px;
    font-size: 38px;
  }
}
