/* Noto Sans JP 基調・余白多めの整理されたUI */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-weight: 500;
  color: #1f2937;
  background: #fff;
  line-height: 1.65;
}
.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-weight: 500;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  vertical-align: middle;
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
}
.nav-side__icon,
.site-nav__icon,
.dash-card__icon,
.stat-tile-admin__icon,
.empty-state-admin__icon,
.mypage-nav__icon,
.mypage-tile__icon,
.btn-icon {
  font-size: 20px;
  margin-right: 0.35rem;
  opacity: 0.85;
}
.site-nav__icon {
  margin-right: 0.2rem;
  font-size: 18px;
}
a {
  color: #2563eb;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
.site-header {
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 200;
}
.body-storefront .site-header {
  z-index: 300;
}
.site-header__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  position: relative;
}
.site-header__admin-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #b45309;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 6px;
  padding: 0.2rem 0.45rem;
  z-index: 50;
  pointer-events: none;
}
@media (min-width: 960px) {
  .site-header__admin-badge {
    right: 5.5rem;
  }
}
.site-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111;
  letter-spacing: 0.02em;
}
.site-logo:hover {
  text-decoration: none;
  color: #2563eb;
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
}
.site-nav a {
  font-size: 0.9375rem;
  color: #374151;
}
.site-nav a:hover {
  color: #111;
}
.site-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
  min-height: 60vh;
}
.site-footer {
  border-top: 1px solid #e5e7eb;
  margin-top: auto;
  padding: 2rem 1.25rem;
  background: #f9fafb;
  color: #6b7280;
  font-size: 0.875rem;
}
.site-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.flash {
  padding: 0.875rem 1rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  border: 1px solid #e5e7eb;
}
.flash--success {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}
.flash--error {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}
.flash--info {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1e40af;
}
.page-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1.5rem;
  letter-spacing: 0.02em;
}
.lead {
  color: #6b7280;
  margin-bottom: 2rem;
}
.btn {
  display: inline-block;
  padding: 0.625rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  line-height: 1.4;
  font-family: inherit;
}
.btn:hover {
  text-decoration: none;
}
.btn--primary {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}
.btn--primary:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: #fff;
}
.btn--secondary {
  background: #fff;
  color: #374151;
  border-color: #d1d5db;
}
.btn--secondary:hover {
  background: #f9fafb;
  color: #111;
}
.btn--danger {
  background: #fff;
  color: #b91c1c;
  border-color: #fecaca;
}
.btn--danger:hover {
  background: #fef2f2;
}
.btn--block {
  display: block;
  width: 100%;
}
.btn--sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.8125rem;
}
.btn--lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.375rem;
  color: #374151;
}
.form-label .req {
  color: #dc2626;
  font-weight: 400;
  margin-left: 0.25rem;
}
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  max-width: 100%;
  padding: 0.625rem 0.75rem;
  font-size: 1rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-family: inherit;
  background: #fff;
}
.form-textarea {
  min-height: 120px;
  resize: vertical;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}
.form-hint {
  font-size: 0.8125rem;
  color: #6b7280;
  margin-top: 0.25rem;
}
.form-error {
  font-size: 0.8125rem;
  color: #b91c1c;
  margin-top: 0.25rem;
}
.grid-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .grid-products {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
  }
}
.product-card {
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.15s ease;
}
.product-card:hover {
  border-color: #d1d5db;
}
.product-card__link {
  display: block;
  color: inherit;
}
.product-card__link:hover {
  text-decoration: none;
}
.product-card__img-wrap {
  aspect-ratio: 1;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #e5e7eb;
}
.product-card__img-wrap--empty {
  color: #9ca3af;
  font-size: 0.75rem;
  padding: 1rem;
  text-align: center;
}
.product-card__img-wrap img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.product-card__body {
  padding: 1rem;
}
.product-card__name {
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card__price {
  font-size: 1rem;
  font-weight: 700;
  color: #111;
  margin: 0;
}
.product-detail {
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) {
  .product-detail {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}
.product-detail__gallery {
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  overflow: hidden;
  background: #f9fafb;
}
.product-detail__gallery img {
  width: 100%;
  display: block;
}
.product-detail__placeholder {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 0.875rem;
  padding: 2rem;
  text-align: center;
}
.product-detail__title {
  font-size: 1.375rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  line-height: 1.35;
}
.product-detail__price {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1rem;
}
.product-detail__badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  background: #f3f4f6;
  color: #4b5563;
  border-radius: 4px;
  margin-bottom: 1rem;
}
.product-detail__section-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 1.5rem 0 0.5rem;
}
.product-detail__desc {
  margin: 0;
  color: #374151;
  white-space: pre-wrap;
}
.product-detail__actions {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (min-width: 480px) {
  .product-detail__actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.table th,
.table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
  vertical-align: top;
}
.table th {
  background: #f9fafb;
  font-weight: 600;
  color: #374151;
}
.table tr:last-child td {
  border-bottom: none;
}
.table-num {
  text-align: right;
}
.cart-qty-form {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.cart-qty-form input[type="number"] {
  width: 4rem;
  padding: 0.375rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
}
.checkout-summary {
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 1.25rem;
  margin-top: 2rem;
  background: #fafafa;
}
.checkout-summary__row {
  display: flex;
  justify-content: space-between;
  padding: 0.375rem 0;
  font-size: 0.9375rem;
}
.checkout-summary__total {
  font-weight: 700;
  font-size: 1.125rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e5e7eb;
}
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: #6b7280;
  border: 1px dashed #d1d5db;
  border-radius: 6px;
  background: #fafafa;
}
.mypage-block {
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}
.mypage-block h2 {
  font-size: 1rem;
  margin: 0 0 1rem;
  color: #374151;
}

/* 管理画面 */
.admin-body {
  background: #f3f4f6;
}
.admin-header {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}
.admin-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.admin-logo {
  font-weight: 700;
  color: #111;
  font-size: 1.0625rem;
}
.admin-logo:hover {
  text-decoration: none;
  color: #2563eb;
}
.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.875rem;
}
.admin-nav a {
  color: #4b5563;
}
.admin-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}
.admin-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
}
.admin-card h1,
.admin-card h2 {
  margin-top: 0;
  font-size: 1.25rem;
}
.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.admin-stat {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 1rem;
  text-align: center;
}
.admin-stat__num {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111;
}
.admin-stat__label {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 0.25rem;
}
.badge {
  display: inline-block;
  padding: 0.2rem 0.45rem;
  font-size: 0.6875rem;
  font-weight: 600;
  border-radius: 4px;
  background: #f3f4f6;
  color: #4b5563;
}
.badge--ok {
  background: #d1fae5;
  color: #065f46;
}
.badge--warn {
  background: #fef3c7;
  color: #92400e;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* サービストップ（ストア開設導線） */
.lp-hero {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
  margin-bottom: 3rem;
  overflow: hidden;
}
.lp-hero__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) {
  .lp-hero__inner {
    grid-template-columns: 1fr minmax(200px, 280px);
    align-items: start;
    padding: 3rem 2rem;
  }
}
.lp-hero__badge {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1e40af;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 4px;
}
.lp-hero__title {
  margin: 0 0 1rem;
  font-size: 1.625rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: #111;
}
@media (min-width: 640px) {
  .lp-hero__title {
    font-size: 2rem;
  }
}
.lp-hero__br {
  display: none;
}
@media (min-width: 480px) {
  .lp-hero__br {
    display: inline;
  }
}
.lp-hero__lead {
  margin: 0 0 1.5rem;
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.65;
  max-width: 36rem;
}
.lp-hero__cta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
@media (min-width: 480px) {
  .lp-hero__cta {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
}
.lp-hero__btn-primary {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.lp-hero__note {
  margin: 0;
  font-size: 0.8125rem;
  color: #6b7280;
  line-height: 1.5;
  max-width: 36rem;
}
.lp-hero__steps {
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  background: #fff;
}
.lp-hero__steps-title {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.lp-hero__steps-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.lp-hero__steps-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #374151;
  border-bottom: 1px solid #f3f4f6;
}
.lp-hero__steps-list li:last-child {
  border-bottom: none;
}
.lp-hero__steps-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  font-size: 0.875rem;
  font-weight: 800;
  color: #2563eb;
  background: #eff6ff;
  border-radius: 50%;
  flex-shrink: 0;
}
.section-heading {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #111;
}
.section-lead {
  margin: 0 0 1.5rem;
  color: #6b7280;
  font-size: 0.9375rem;
}

/* ストア開設ウィザード */
.wizard-hero {
  text-align: center;
  margin-bottom: 2rem;
  padding: 0 0.25rem;
}
.wizard-hero__label {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #6b7280;
  text-transform: uppercase;
}
.wizard-hero__title {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.35;
  color: #111;
}
@media (min-width: 640px) {
  .wizard-hero__title {
    font-size: 1.75rem;
  }
}
.wizard-hero__lead {
  margin: 0 auto;
  max-width: 32rem;
  color: #6b7280;
  font-size: 0.9375rem;
  line-height: 1.6;
}
.wizard-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 0;
  margin-bottom: 2rem;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}
.wizard-steps__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  color: #9ca3af;
  font-size: 0.9375rem;
  font-weight: 600;
}
.wizard-steps__item--current {
  color: #1e40af;
  background: transparent;
}
.wizard-steps__item--done {
  color: #065f46;
}
.wizard-steps__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  font-size: 0.875rem;
  font-weight: 800;
  background: #e5e7eb;
  color: #6b7280;
}
.wizard-steps__item--current .wizard-steps__num {
  background: #2563eb;
  color: #fff;
}
.wizard-steps__item--done .wizard-steps__num {
  background: #10b981;
  color: #fff;
}
.wizard-steps__connector {
  width: 1.5rem;
  height: 2px;
  background: #e5e7eb;
  margin: 0 0.15rem;
  flex-shrink: 0;
}
@media (max-width: 520px) {
  .wizard-steps__connector {
    display: none;
  }
}
.wizard-panel {
  max-width: 520px;
  margin: 0 auto;
  padding: 1.75rem 1.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
}
.wizard-panel__title {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #111;
}
.wizard-panel__text {
  margin: 0 0 1.5rem;
  color: #6b7280;
  font-size: 0.9375rem;
  line-height: 1.6;
}
.wizard-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin: 0;
}
.wizard-panel__sub {
  margin: 1.5rem 0 0;
  font-size: 0.875rem;
  color: #6b7280;
}
.wizard-panel__inline-flash {
  margin-bottom: 1rem;
}
.wizard-form {
  margin: 0;
}
.wizard-complete-card {
  margin: 0 0 1.5rem;
  padding: 1.25rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  text-align: center;
}
.wizard-complete-card__name {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #111;
}
.wizard-complete-card__url {
  margin: 0;
  font-size: 0.875rem;
  word-break: break-all;
}

/* --- タイポ（PC基準 / SPはメディアクエリ） --- */
.page-title {
  font-size: 2rem;
  font-weight: 700;
}
.lead {
  font-size: 0.9375rem;
  font-weight: 500;
}
@media (max-width: 639px) {
  .page-title {
    font-size: 1.5rem;
  }
  .lead {
    font-size: 0.875rem;
  }
}

/* --- 運営・ストア管理レイアウト --- */
.layout-admin {
  margin: 0;
  min-height: 100vh;
  display: flex;
  background: #f8f8f5;
}
.layout-admin__menu-toggle {
  display: none;
  position: fixed;
  top: 0.65rem;
  right: 0.65rem;
  left: auto;
  z-index: 200;
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: 0;
  background: transparent;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.layout-admin__menu-icon {
  font-size: 1.5rem;
  line-height: 1;
  color: #374151;
}
.layout-admin__backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 150;
}
.layout-admin--menu-open .layout-admin__backdrop {
  display: block;
}
.layout-admin__sidebar {
  width: 240px;
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid #e8eaed;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: sticky;
  top: 0;
  align-self: flex-start;
}
.layout-admin__brand {
  padding: 1.5rem 1.25rem 1rem;
  border-bottom: 1px solid #f3f4f6;
}
.layout-admin__brand-link,
.layout-admin__brand-text {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  text-decoration: none;
}
.layout-admin__brand-link:hover {
  color: #2563eb;
  text-decoration: none;
}
.layout-admin__brand-sub {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #6b7280;
  line-height: 1.4;
}
.layout-admin__sidebar-foot {
  margin-top: auto;
  padding: 1rem 0;
  border-top: 1px solid #f3f4f6;
}
.layout-admin__main {
  flex: 1;
  min-width: 0;
}
.layout-admin__content {
  max-width: 1040px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}
.nav-side {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 0;
  gap: 0.125rem;
}
.nav-side__link {
  display: flex;
  align-items: center;
  padding: 0.65rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #4b5563;
  text-decoration: none;
  border-left: 3px solid transparent;
}
.nav-side__link:hover {
  background: #f9fafb;
  color: #111827;
  text-decoration: none;
}
.nav-side__link--active {
  background: #f3f4f6;
  color: #111827;
  font-weight: 700;
  border-left-color: #2563eb;
}
.nav-side__link--sub {
  font-size: 0.875rem;
  color: #6b7280;
}
.page-title-admin {
  margin: 0 0 0.5rem;
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
  letter-spacing: 0.02em;
}
.section-title-admin {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
}
.page-lead-admin {
  margin: 0 0 2rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #6b7280;
  line-height: 1.6;
  max-width: 40rem;
}
.breadcrumb-admin {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #6b7280;
  margin: 0 0 0.75rem;
}
.breadcrumb-admin a {
  color: #2563eb;
}
.dash-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.dash-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.25rem 1.35rem;
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.dash-card:hover {
  border-color: #d1d5db;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  text-decoration: none;
}
.dash-card__label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #6b7280;
  margin-top: 0.5rem;
}
.dash-card__value {
  font-size: 1.75rem;
  font-weight: 700;
  color: #111827;
  margin-top: 0.25rem;
}
.dash-card__badge {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: #dc2626;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.35rem;
  text-align: center;
}
.panel-admin {
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 10px;
  padding: 1.5rem 1.5rem;
  margin-bottom: 1.5rem;
}
.panel-admin--inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
}
.panel-admin--mypage {
  margin-bottom: 1rem;
}
.panel-admin__foot {
  margin: 1rem 0 0;
  font-size: 0.875rem;
}
.stat-grid-admin {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.stat-tile-admin {
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 10px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.stat-tile-admin__label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #6b7280;
}
.stat-tile-admin__value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
}
.table-wrap--admin {
  border-radius: 8px;
  border-color: #e8eaed;
}
.table--admin th,
.table--admin td {
  font-size: 0.9375rem;
  font-weight: 500;
  background: #fff;
}
.table--admin th {
  background: #fff;
  font-weight: 700;
}
.layout-admin .table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}
@media (max-width: 767px) {
  .layout-admin .table:not(.table--kv) {
    min-width: 560px;
  }
}
.table-subrow td {
  border-bottom: 1px solid #f3f4f6 !important;
  padding-top: 0.5rem !important;
  padding-bottom: 1rem !important;
}
.text-sub {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #6b7280;
}
.text-mono {
  font-family: ui-monospace, monospace;
  font-size: 0.875rem;
}
.form-inline-admin {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.form-label-admin {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #374151;
}
.form-select--admin {
  padding: 0.4rem 0.65rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
}
.empty-state-admin {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 2rem 1rem;
  text-align: center;
  justify-content: center;
  color: #6b7280;
  font-weight: 500;
  font-size: 0.9375rem;
}
.empty-state-admin__icon {
  opacity: 0.5;
}
.link-arrow {
  font-weight: 700;
  color: #2563eb;
}

/* マイページ */
.page-title-mypage {
  margin: 0 0 0.5rem;
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
}
.page-lead-mypage {
  margin: 0 0 1.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #6b7280;
}
.card-title-mypage {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
}
.text-body-mypage {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #374151;
  line-height: 1.6;
}
.mypage-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 767px) {
  .mypage-layout {
    grid-template-columns: 1fr;
  }
}
.mypage-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem;
  background: #fafafa;
  border: 1px solid #e8eaed;
  border-radius: 10px;
}
.mypage-nav__link {
  display: flex;
  align-items: center;
  padding: 0.6rem 0.75rem;
  border-radius: 6px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #4b5563;
  text-decoration: none;
}
.mypage-nav__link:hover {
  background: #fff;
  color: #111827;
  text-decoration: none;
}
.mypage-nav__link--active {
  background: #fff;
  font-weight: 700;
  color: #111827;
  border: 1px solid #e8eaed;
}
.mypage-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
}
.mypage-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.25rem 1rem;
  background: #fafafa;
  border: 1px solid #e8eaed;
  border-radius: 10px;
  text-decoration: none;
  color: #111827;
  font-weight: 700;
  font-size: 0.9375rem;
  text-align: center;
}
.mypage-tile:hover {
  border-color: #d1d5db;
  text-decoration: none;
}
.mypage-tile__icon {
  margin-right: 0;
  font-size: 22px;
  color: #2563eb;
}
.table--mypage th,
.table--mypage td {
  font-size: 0.9375rem;
  font-weight: 500;
}

/* フッター拡張 */
.site-footer--full {
  text-align: left;
  padding: 3rem 1.25rem 2rem;
}
.site-footer__grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 767px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}
.site-footer__brand {
  font-weight: 700;
  font-size: 1.125rem;
  margin: 0 0 0.5rem;
  color: #111827;
}
.site-footer__note {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #6b7280;
  line-height: 1.5;
}
.site-footer__heading {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #374151;
  letter-spacing: 0.04em;
}
.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer__links li {
  margin-bottom: 0.5rem;
}
.site-footer__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #4b5563;
}
.site-footer__muted {
  font-size: 0.875rem;
  font-weight: 500;
  color: #9ca3af;
}
.site-footer__copy {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e8eaed;
  text-align: center;
}
.site-footer__copy p {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #9ca3af;
}
.site-footer__logo-link,
.site-footer__brand-link {
  color: inherit;
  text-decoration: none;
}
.site-footer__logo-link:hover,
.site-footer__brand-link:hover {
  text-decoration: none;
  opacity: 0.85;
}
.admin-store-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.35rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 0 1.5rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid #e8eaed;
}
.admin-store-tabs__item {
  flex: 0 0 auto;
  padding: 0.5rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #6b7280;
  text-decoration: none;
  border-radius: 8px 8px 0 0;
  white-space: nowrap;
}
.admin-store-tabs__item:hover {
  color: #111827;
  text-decoration: none;
  background: #f9fafb;
}
.admin-store-tabs__item--active {
  color: #111827;
  background: #fff;
  border: 1px solid #e8eaed;
  border-bottom-color: #fff;
  margin-bottom: -1px;
}

/* ストア画面コンテンツ幅 900px */
.body-storefront .site-header__inner,
.body-storefront .site-main {
  max-width: 900px;
}
.grid-products--store-list {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
@media (min-width: 640px) {
  .grid-products--store-list {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
  }
}

/* フッター（中央・横並びリンク） */
.site-footer--centered {
  text-align: center;
  padding: 2.5rem 1.25rem 2rem;
  background: #fafafa;
  border-top: 1px solid #e8eaed;
}
.site-footer__center {
  max-width: 720px;
  margin: 0 auto;
}
.site-footer--centered .site-footer__brand {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
}
.site-footer__brand--hidden {
  display: none !important;
  margin: 0;
  padding: 0;
  height: 0;
  overflow: hidden;
}
.site-footer__desc {
  margin: 0 auto 1.5rem;
  max-width: 36rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b7280;
  line-height: 1.65;
}
.site-footer__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 1.25rem;
  margin-bottom: 1.75rem;
}
.site-footer__row a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #4b5563;
  white-space: nowrap;
}
.site-footer__row a:hover {
  color: #111827;
}
.site-footer--centered .site-footer__copy {
  margin: 0;
  padding: 0;
  border: none;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #9ca3af;
}

/* 法務ページ */
.legal-page {
  max-width: 720px;
  margin: 0 auto;
}
.legal-page__body {
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.75;
  color: #374151;
}
.legal-page__body h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
}
.legal-page__body h2:first-child {
  margin-top: 0;
}
.legal-page__body h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #1f2937;
}
.legal-page__body p {
  margin: 0 0 0.75rem;
}
.legal-page__body ul,
.legal-page__body ol {
  margin: 0 0 0.75rem;
  padding-left: 1.25rem;
}

.form-textarea--legal {
  width: 100%;
  min-height: 200px;
  font-family: ui-monospace, monospace;
  font-size: 0.8125rem;
}

.btn {
  font-weight: 700;
}
.btn--sm {
  font-weight: 700;
}

@media (max-width: 959px) {
  .layout-admin__menu-toggle {
    display: inline-flex;
  }
  .layout-admin__sidebar {
    position: fixed;
    right: 0;
    left: auto;
    top: 0;
    z-index: 160;
    transform: translateX(100%);
    transition: transform 0.2s ease;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.08);
    max-height: 100vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .layout-admin__sidebar--open {
    transform: translateX(0);
  }
  .layout-admin__main {
    width: 100%;
  }
  .layout-admin__content {
    padding-top: 4rem;
  }
  .page-title-admin {
    font-size: 1.5rem;
  }
  .section-title-admin {
    font-size: 1.25rem;
  }
  .page-title-mypage {
    font-size: 1.5rem;
  }
}

/* --- 商品詳細（メルカリ風レイアウト） --- */
.product-mercari {
  max-width: 1100px;
  margin: 0 auto;
}
.product-mercari__grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 900px) {
  .product-mercari__grid {
    grid-template-columns: 1fr;
  }
}
.product-mercari__main {
  background: #f9fafb;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
}
.product-mercari__main img {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  vertical-align: middle;
}
.product-mercari__placeholder {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #9ca3af;
}
.product-mercari__thumbs {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.25rem;
  scrollbar-gutter: stable;
}
.product-mercari__thumb {
  flex: 0 0 auto;
  border: 2px solid transparent;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
}
.product-mercari__thumb--active {
  border-color: #111827;
}
.product-mercari__thumb img {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: contain;
}
.product-mercari__main {
  position: relative;
}
.product-mercari__main--mosaic {
  cursor: default;
}
.product-mercari__mosaic-overlay {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    rgba(0, 0, 0, 0.12),
    rgba(0, 0, 0, 0.12) 6px,
    rgba(255, 255, 255, 0.08) 6px,
    rgba(255, 255, 255, 0.08) 12px
  );
  backdrop-filter: blur(6px);
  pointer-events: none;
}
.product-mercari__ph-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  background: #f9fafb;
}
.product-mercari__ph-wrap .product-mercari__ph {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.product-card--premium-mosaic .product-card__img-wrap {
  position: relative;
}
.product-card__mosaic {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    rgba(0, 0, 0, 0.15),
    rgba(0, 0, 0, 0.15) 5px,
    rgba(255, 255, 255, 0.1) 5px,
    rgba(255, 255, 255, 0.1) 10px
  );
  backdrop-filter: blur(5px);
  pointer-events: none;
}
.product-card__mosaic-label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 0.35rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #111;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  pointer-events: none;
}
.product-card__ph,
.checkout-line-row__ph {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.checkout-line-row__thumb .checkout-line-row__ph {
  width: 72px;
  height: 72px;
}
.site-footer__logo {
  margin: 0 0 0.75rem;
}
.site-footer__logo-img {
  max-height: 48px;
  width: auto;
  display: block;
  margin: 0 auto;
}
.site-footer__logo-img--svg {
  max-height: 48px;
  width: 160px;
  pointer-events: none;
}
.page-service-home .site-header__inner {
  max-width: 900px;
}
.page-service-home .site-main {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
.page-service-home .site-footer--centered .site-footer__center {
  max-width: 900px;
}
.page-login-wizard .site-main {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  min-height: 0;
}
.page-register-wizard .site-main {
  min-height: 0;
}

/* ログイン・会員登録・年齢確認・閲覧パス（body に背景、フッター手前まで） */
body.body--gate-fullbg {
  background-color: #f9fafb;
  background-image: var(--ec-body-bg-image, none);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto;
}
.body--gate-fullbg .site-main {
  position: relative;
  z-index: 0;
}
.login-wizard-page {
  margin: 2rem auto;
}
.product-mercari__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  line-height: 1.35;
}
.product-mercari__price {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}
.product-mercari__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  color: #4b5563;
  margin: 0 0 0.5rem;
}
.product-mercari__status {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0 0 1rem;
}
.product-mercari__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.product-mercari__text-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  margin: 0;
}
.product-mercari__icon-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}
.product-mercari__icon-link:hover {
  color: #111;
  text-decoration: none;
}
.product-mercari__icon-link span {
  text-decoration: none;
}
.product-mercari__icon-link:hover span {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.product-mercari__icon-link .material-symbols-outlined {
  font-size: 1.25rem;
  text-decoration: none !important;
}
.modal {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.modal[hidden] {
  display: none !important;
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  max-height: min(85vh, 640px);
  overflow: auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  border: 1px solid #e5e7eb;
}
.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e5e7eb;
}
.modal__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.modal__close {
  border: none;
  background: #f3f4f6;
  border-radius: 999px;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #374151;
}
.modal__body {
  padding: 1rem 1.25rem 1.25rem;
}
@media (max-width: 640px) {
  .modal {
    align-items: flex-end;
    padding: 0.5rem;
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
  }
  .modal__dialog {
    width: 100%;
    max-width: 100%;
    max-height: min(88vh, calc(100dvh - 1rem));
    border-radius: 14px 14px 0 0;
    -webkit-overflow-scrolling: touch;
  }
}
.shipping-modal-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.shipping-modal-list__item {
  padding: 0.85rem 0;
  border-bottom: 1px solid #f3f4f6;
}
.shipping-modal-list__item:last-child {
  border-bottom: none;
}
.shipping-modal-list__name {
  margin: 0 0 0.35rem;
  font-weight: 700;
  font-size: 0.9375rem;
}
.shipping-modal-list__desc {
  margin: 0 0 0.35rem;
  font-size: 0.8125rem;
  color: #6b7280;
  line-height: 1.5;
}
.shipping-modal-list__fee {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
}
.product-mercari__form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.product-mercari__qty-input {
  max-width: 6rem;
}
.product-mercari__desc {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}
.product-mercari__desc-title {
  font-size: 1.125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 1rem;
}
.product-mercari__desc-body {
  font-size: 0.9375rem;
  color: #374151;
  line-height: 1.8;
}
.product-breadcrumb {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #6b7280;
  margin: 0 0 1rem;
  line-height: 1.5;
}
.product-breadcrumb a {
  color: #333;
  text-decoration: none;
}
.product-breadcrumb a:hover {
  text-decoration: underline;
  color: #111;
}
.product-breadcrumb__sep {
  margin: 0 0.35rem;
  color: #d1d5db;
}
.product-mercari__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.65rem 0.75rem;
  margin-bottom: 0.35rem;
}
.product-mercari__title-row .product-mercari__title {
  margin: 0;
  flex: 1 1 12rem;
}
.product-stock-badge {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: #b45309;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  line-height: 1.2;
}
.product-mercari__category {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.product-related {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}
.product-related__title {
  font-size: 1.125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 1.25rem;
}
.product-mercari__main--clickable {
  position: relative;
  cursor: zoom-in;
}
.product-mercari__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.product-mercari__nav--prev {
  left: 0.5rem;
}
.product-mercari__nav--next {
  right: 0.5rem;
}
.product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 3rem;
}
.product-lightbox[hidden] {
  display: none !important;
}
.product-lightbox__inner {
  max-width: min(96vw, 1100px);
  max-height: 90vh;
}
.product-lightbox__inner img {
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.product-lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-lightbox__nav--prev {
  left: 0.75rem;
}
.product-lightbox__nav--next {
  right: 0.75rem;
}
.btn__icon {
  margin-right: 0.35rem;
  vertical-align: middle;
}
.badge-digital {
  display: inline-block;
  margin-left: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  background: #eef2ff;
  color: #4338ca;
  vertical-align: middle;
}

/* ストアゲート */
.store-gate {
  max-width: 520px;
  margin: 3rem auto;
}
.store-gate__card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 2rem 1.75rem;
}
.store-gate__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.store-gate__text,
.store-gate__notice {
  font-size: 0.9375rem;
  color: #374151;
  margin: 0 0 1rem;
  line-height: 1.75;
}
.store-gate__notice {
  color: #b45309;
  background: #fffbeb;
  padding: 0.75rem 1rem;
  border-radius: 8px;
}
.store-gate__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.store-gate--has-bg {
  position: relative;
  max-width: none;
  margin: 0;
  min-height: 0;
  padding: 2rem 1rem 3rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.store-gate--has-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(2px);
  z-index: 0;
}
.store-gate--body-bg.store-gate--has-bg::before {
  display: none;
}
.store-gate--has-bg .store-gate__card {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 0 auto;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
}
@media (max-width: 640px) {
  .store-gate--has-bg {
    padding: 1.25rem 0.75rem 2rem;
    min-height: 0;
  }
}

/* チェックアウト・ギャラリー */
.form-row-postal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.form-row-postal .form-input {
  flex: 1;
  min-width: 140px;
}
.shipping-method-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.shipping-method-option {
  display: block;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  cursor: pointer;
}
.shipping-method-option:hover {
  border-color: #cbd5e1;
}
.shipping-method-option input {
  margin-right: 0.5rem;
}
.shipping-method-option__main {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-weight: 700;
}
.shipping-method-option__fee {
  font-variant-numeric: tabular-nums;
}
.shipping-method-option__desc {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #6b7280;
  margin-top: 0.35rem;
}
.checkout-summary__muted {
  color: #6b7280;
  font-size: 0.9375rem;
}
.gallery-dropzone {
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  color: #6b7280;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.gallery-dropzone--active,
.gallery-dropzone:focus {
  border-color: #6366f1;
  background: #eef2ff;
  outline: none;
}
.gallery-dropzone__input {
  display: none;
}
.gallery-dropzone__icon {
  display: block;
  margin: 0 auto 0.5rem;
  font-size: 2rem;
  opacity: 0.6;
}
.gallery-existing {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.gallery-existing__item img {
  border-radius: 8px;
  object-fit: cover;
}
.gallery-new-thumb {
  list-style: none;
}
.gallery-new-thumb img {
  border-radius: 8px;
  object-fit: cover;
}
.form-textarea--code {
  font-family: ui-monospace, monospace;
  font-size: 0.8125rem;
}
.mail-preview-iframe {
  width: 100%;
  min-height: 420px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
}
.var-list-mail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.var-list-mail li {
  margin: 0;
}

/* 商品一覧サムネ */
.table-thumb-cell {
  width: 72px;
  vertical-align: middle;
}
.table-product-thumb {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: contain;
  object-position: center;
  background: #f9fafb;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}
.table-product-thumb--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  font-size: 0.6875rem;
  color: #9ca3af;
  background: #f9fafb;
  border-radius: 8px;
  border: 1px dashed #e5e7eb;
  text-align: center;
  line-height: 1.2;
}
.mypage-subheading {
  font-size: 1rem;
  font-weight: 700;
  margin: 1.5rem 0 0.75rem;
}

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

/* ストアフロント背景（body に CSS 変数） */
.body-storefront--bg {
  background-color: #fff;
  background-image: var(--sf-bg-image, none);
  background-repeat: var(--sf-bg-repeat, no-repeat);
  background-position: var(--sf-bg-position, center);
  background-size: var(--sf-bg-size, cover);
  background-attachment: scroll;
  min-height: 100vh;
}
.body-storefront__overlay {
  display: none;
}
.body-storefront__content {
  position: relative;
  z-index: 0;
}
.body-storefront--bg .body-storefront__overlay {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: var(--sf-overlay, #fff);
  opacity: var(--sf-overlay-op, 0);
}
.body-storefront--bg .body-storefront__content > .site-header,
.body-storefront--bg .body-storefront__content > .site-main {
  position: relative;
  z-index: 1;
}
.body-storefront--bg .body-storefront__content > .site-header {
  z-index: 400;
}
.site-footer-outer {
  position: relative;
  z-index: 2;
  background: #fff;
}

/* ヘッダーロゴ */
.site-logo--with-img {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.site-logo__img {
  max-height: 36px;
  width: auto;
  object-fit: contain;
}
.site-logo__text {
  font-weight: 700;
}
.site-logo--logo-only .site-logo__text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.site-nav-owner {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.site-nav-owner__avatar-wrap {
  display: inline-flex;
  cursor: default;
  border-radius: 999px;
  border: 2px solid #e5e7eb;
  overflow: hidden;
  background: #fff;
}
.site-nav-owner__avatar {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: cover;
}
.site-nav-owner__menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  min-width: 12rem;
  padding: 0.35rem 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  z-index: 300;
  flex-direction: column;
  gap: 0;
}
.site-nav-owner__menu a {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.85rem;
  font-size: 0.875rem;
  color: #374151;
  text-decoration: none;
}
.site-nav-owner__menu a:hover {
  background: #f9fafb;
  color: #111;
}
.site-nav-owner:hover .site-nav-owner__menu,
.site-nav-owner:focus-within .site-nav-owner__menu {
  display: flex;
}

/* ストアトップ ヒーロー */
.store-hero {
  margin: 0 0 2rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
}
.store-hero__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 900 / 360;
  object-fit: cover;
}

/* チェックアウト共通（カート / 入力 / 確認） */
.body-checkout-flow .site-main {
  overflow-x: clip;
  padding-bottom: 2rem;
}
.checkout-flow-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1rem;
}
.checkout-flow-page--empty {
  padding-top: 0.5rem;
}
.checkout-breadcrumb {
  font-size: 0.8125rem;
  color: #6b7280;
  margin: 0 0 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}
.checkout-breadcrumb a {
  color: #374151;
  text-decoration: none;
}
.checkout-breadcrumb a:hover {
  text-decoration: underline;
}
.checkout-breadcrumb__sep {
  color: #d1d5db;
}
.checkout-breadcrumb__current {
  color: #111827;
  font-weight: 600;
}
.checkout-flow-page__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e5e7eb;
}
.checkout-flow-page__header-text {
  min-width: 0;
  flex: 1 1 240px;
}
.checkout-flow-page__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.02em;
}
.checkout-flow-page__lead {
  margin: 0;
  font-size: 0.9375rem;
  color: #6b7280;
  line-height: 1.6;
}
.checkout-flow__page-title,
.checkout-flow__lead {
  /* 旧クラス互換 */
  margin: 0;
}
.checkout-flow__hint {
  margin-bottom: 1.5rem;
}
.checkout-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #9ca3af;
}
.checkout-steps__item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.checkout-steps__item--current {
  color: #111827;
}
.checkout-steps__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: #e5e7eb;
  font-size: 0.6875rem;
  font-weight: 700;
}
.checkout-steps__item--current .checkout-steps__num {
  background: #111827;
  color: #fff;
}
.checkout-steps--inline {
  margin: 0;
  flex-shrink: 0;
}
@media (min-width: 961px) {
  .checkout-steps--inline {
    justify-content: flex-end;
  }
}
@media (max-width: 960px) {
  .checkout-steps--inline {
    width: 100%;
    justify-content: flex-start;
  }
}
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) min(380px, 36%);
  gap: 2rem;
  align-items: start;
}
@media (max-width: 960px) {
  .checkout-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
.checkout-layout__main {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}
.checkout-cart-mobile-cta {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.25rem;
}
@media (max-width: 960px) {
  .checkout-cart-mobile-cta {
    display: flex;
  }
}
.checkout-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 1.35rem 1.5rem 1.5rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.checkout-card--empty {
  text-align: center;
  padding: 2.5rem 1.5rem;
}
.checkout-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 1.1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #f3f4f6;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #111827;
}
.checkout-empty-msg {
  margin: 0 0 1.25rem;
  color: #4b5563;
  font-size: 0.9375rem;
}
.checkout-line-list {
  margin: 0 -0.25rem;
}
.checkout-line-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) minmax(5.5rem, auto);
  gap: 1rem 1.25rem;
  padding: 1.15rem 0.25rem;
  border-bottom: 1px solid #f3f4f6;
  align-items: start;
}
.checkout-line-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.checkout-line-row:first-child {
  padding-top: 0;
}
@media (max-width: 640px) {
  .checkout-line-row {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 0.85rem 1rem;
  }
  .checkout-line-row__sub {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 0.5rem 1rem;
    text-align: left;
    padding-top: 0.25rem;
    border-top: 1px dashed #e5e7eb;
    margin-top: 0.25rem;
  }
  .checkout-line-row__sub-label {
    grid-column: 1;
  }
  .checkout-line-row__sub-val {
    grid-column: 2;
    justify-self: end;
  }
  .checkout-line-row__remove {
    grid-column: 1 / -1;
    justify-self: start;
  }
}
.checkout-line-row__thumb {
  display: block;
  flex-shrink: 0;
}
.checkout-line-row__thumb img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  display: block;
}
@media (max-width: 640px) {
  .checkout-line-row__thumb img {
    width: 72px;
    height: 72px;
  }
}
.checkout-line-row__thumb-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: #f9fafb;
  border-radius: 10px;
  color: #9ca3af;
  font-size: 0.75rem;
  border: 1px solid #e5e7eb;
}
.checkout-line-row__name {
  font-weight: 700;
  color: #111827;
  font-size: 0.9375rem;
  line-height: 1.45;
  text-decoration: none;
  word-break: break-word;
}
.checkout-line-row__name:hover {
  text-decoration: underline;
}
.checkout-line-row__unit {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  color: #6b7280;
}
.checkout-line-row__digital-hint {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  color: #6b7280;
}
.checkout-line-row__qty {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
  margin-top: 0.65rem;
}
.form-label--inline {
  margin: 0;
  font-size: 0.8125rem;
}
.form-input--qty {
  max-width: 4.75rem;
  min-height: 2.75rem;
  border-radius: 10px;
}
.checkout-line-row__sub {
  text-align: right;
}
.checkout-line-row__sub-label {
  display: block;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #9ca3af;
  margin-bottom: 0.15rem;
}
.checkout-line-row__sub-val {
  display: block;
  font-weight: 700;
  font-size: 1.0625rem;
  color: #111827;
}
.checkout-line-row__remove {
  margin-top: 0.5rem;
}
.btn--ghost {
  background: transparent;
  border: 1px solid transparent;
  color: #6b7280;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0.25rem 0;
  min-height: auto;
  font-size: 0.8125rem;
}
.btn--ghost:hover {
  color: #111827;
  background: transparent;
}
.checkout-aside {
  position: sticky;
  top: calc(4.5rem + 0.75rem);
  align-self: start;
}
@media (max-width: 960px) {
  .checkout-aside {
    position: static;
    top: auto;
  }
}
.checkout-aside__inner {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 1.35rem 1.5rem 1.5rem;
  background: #fff;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}
.checkout-aside__title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 1.1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #f3f4f6;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #111827;
}
.checkout-aside__thumb-link {
  flex-shrink: 0;
  display: block;
  line-height: 0;
}
.checkout-aside__items {
  list-style: none;
  padding: 0;
  margin: 0 0 1.15rem;
  max-height: min(42vh, 320px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.checkout-aside__item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f3f4f6;
}
.checkout-aside__item:first-child {
  padding-top: 0;
}
.checkout-aside__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.checkout-aside__thumb,
.checkout-aside__thumb--empty {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid #e5e7eb;
}
.checkout-aside__thumb--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9fafb;
  color: #9ca3af;
  font-size: 0.75rem;
}
.checkout-aside__item-body {
  flex: 1;
  min-width: 0;
}
.checkout-aside__name {
  font-weight: 600;
  font-size: 0.8125rem;
  color: #111827;
  display: block;
  line-height: 1.4;
  word-break: break-word;
  text-decoration: none;
}
.checkout-aside__name:hover {
  text-decoration: underline;
}
.checkout-aside__meta {
  margin: 0.2rem 0 0;
  font-size: 0.75rem;
  color: #6b7280;
}
.checkout-aside__line-total {
  font-weight: 700;
  font-size: 0.8125rem;
  white-space: nowrap;
  color: #111827;
}
.checkout-aside__totals {
  border-top: 1px solid #e5e7eb;
  padding-top: 1rem;
}
.checkout-aside__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.45rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #374151;
}
.checkout-aside__row--muted {
  color: #6b7280;
  font-size: 0.875rem;
}
.checkout-aside__row--grand {
  margin-top: 0.85rem;
  padding-top: 1rem;
  border-top: 2px solid #e5e7eb;
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
}
.checkout-aside__row--grand span:first-child {
  font-size: 0.9375rem;
}
.checkout-aside__row--grand span:last-child {
  font-size: clamp(1.35rem, 4vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111827;
}
.checkout-aside__note {
  margin: 1rem 0 0;
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1.65;
}
.checkout-aside__footer-slot {
  margin-top: 1.15rem;
}
.checkout-aside__cta-stack {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.checkout-aside__cta-stack--after-primary {
  margin-top: 0.65rem;
}
.checkout-aside__confirm-form {
  margin: 0;
}
.checkout-aside__confirm-form .btn {
  width: 100%;
  justify-content: center;
}
.checkout-aside__actions-wrap {
  margin-top: 0.5rem;
}
.checkout-aside__actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 0;
}
.checkout-aside__actions .btn {
  width: 100%;
  justify-content: center;
}
.btn--cta-primary {
  background: #111827;
  border-color: #111827;
  color: #fff;
  border-radius: 10px;
  min-height: 3.15rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(17, 24, 39, 0.12);
}
.btn--cta-primary:hover {
  background: #000;
  border-color: #000;
  color: #fff;
}
.btn--checkout-secondary {
  border-radius: 10px;
  min-height: 3rem;
  font-weight: 600;
  border-color: #d1d5db;
  color: #374151;
  background: #fff;
}
.btn--checkout-secondary:hover {
  border-color: #9ca3af;
  background: #f9fafb;
  color: #111827;
}
.pager-admin {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin: 0 0 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #4b5563;
}
.pager-admin__per {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.pager-admin__label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
}
.pager-admin__range {
  margin: 0;
  flex: 1 1 auto;
}
.pager-admin__nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.pager-admin__link {
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
}
.pager-admin__link:hover {
  text-decoration: underline;
}
.pager-admin__muted {
  color: #9ca3af;
}
.pager-squares {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0 0;
}
.pager-squares__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}
.pager-squares__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.4rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #374151;
  text-decoration: none;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #fff;
}
.pager-squares__btn:hover {
  border-color: #d1d5db;
  color: #111;
}
.pager-squares__btn--current {
  background: #111827;
  color: #fff;
  border-color: #111827;
}
.pager-squares__gap {
  padding: 0 0.15rem;
  color: #9ca3af;
  font-weight: 700;
}
.admin-edit-list__item {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e5e7eb;
}
.admin-edit-list__item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.admin-edit-list__card {
  margin-bottom: 0.5rem;
}
.admin-edit-list__delete {
  margin: 0;
}
.checkout-pay-note {
  margin: 0;
  font-size: 0.9375rem;
  color: #4b5563;
  line-height: 1.7;
}
.checkout-confirm-line {
  margin: 0.35rem 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #374151;
}
.checkout-confirm-line--pre {
  white-space: pre-wrap;
  word-break: break-word;
}
.checkout-confirm-line--break {
  word-break: break-all;
  font-size: 0.875rem;
}
.checkout-form-main .form-group {
  margin-bottom: 1.15rem;
}
.checkout-form-main .form-input,
.checkout-form-main .form-textarea,
.checkout-form-main .form-select {
  border-radius: 10px;
  min-height: 2.75rem;
}
.checkout-form-main .form-textarea {
  min-height: 6rem;
}
.btn--checkout-lg {
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  min-height: 3rem;
  border-radius: 10px;
}
.btn--block {
  display: block;
  width: 100%;
  text-align: center;
}
.checkout-flow__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.checkout-flow__actions--split {
  justify-content: space-between;
}
@media (max-width: 600px) {
  .checkout-flow__actions--split {
    flex-direction: column;
  }
  .checkout-flow__actions--split .btn {
    width: 100%;
    justify-content: center;
  }
}

/* デザイン設定プレビュー */
.design-preview-stage {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  min-height: 200px;
  position: relative;
  overflow: hidden;
  background: #fff;
}
.design-preview-stage__bg {
  position: absolute;
  inset: 0;
  background-repeat: var(--dp-repeat, no-repeat);
  background-position: var(--dp-position, center);
  background-size: var(--dp-size, cover);
}
.design-preview-stage__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.design-preview-stage__hero {
  position: relative;
  z-index: 1;
  margin: 1rem;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}
.design-preview-stage__hero img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 900 / 360;
  object-fit: cover;
}
.design-preview-stage__placeholder {
  position: relative;
  z-index: 1;
  padding: 2rem;
  text-align: center;
  color: #9ca3af;
  font-size: 0.875rem;
}

/* --- 商品画像：一覧・詳細でスクエア全幅（contain） --- */
.table-thumb-cell {
  width: 88px;
}
.table-product-thumb,
.table-product-thumb--empty {
  width: 100%;
  max-width: 88px;
  aspect-ratio: 1 / 1;
  height: auto;
}
.product-mercari__main {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-mercari__main img {
  max-height: none;
  height: 100%;
  width: 100%;
  object-fit: contain;
}
.product-mercari__thumb {
  width: 100%;
  max-width: 5.5rem;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-mercari__thumb img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
}

/* 商品フォーム：ギャラリー ×・メイン選択 */
.gallery-thumb-square {
  position: relative;
  width: 5.5rem;
  aspect-ratio: 1 / 1;
}
.gallery-thumb-square .gallery-existing__radio-wrap {
  display: block;
  width: 100%;
  height: 100%;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.gallery-thumb-square .gallery-existing__radio-wrap:has(.gallery-main-pick:checked) {
  border-color: #111827;
}
.gallery-thumb-square img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #f9fafb;
}
.gallery-main-pick {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.gallery-existing__remove {
  position: absolute;
  top: -0.35rem;
  right: -0.35rem;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  border: none;
  background: #111827;
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.gallery-existing__item--remove {
  opacity: 0.45;
}
.gallery-existing__item--remove .gallery-existing__radio-wrap {
  pointer-events: none;
}

/* 商品一覧ツールバー */
.admin-page-headline {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1rem;
}
.products-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.products-toolbar__pager {
  flex: 1 1 14rem;
  min-width: 12rem;
}
.products-toolbar__pager .pager-admin {
  margin: 0;
  justify-content: flex-end;
}

/* 注文詳細 KV テーブル 3:7 */
.table--kv {
  table-layout: fixed;
  width: 100%;
}
.table--kv__th {
  width: 30%;
}
.table--kv__td {
  width: 70%;
}
.table--kv th {
  vertical-align: top;
  font-weight: 600;
  background: #f9fafb;
}
.order-payment-link {
  word-break: break-all;
  font-size: 0.875rem;
}
.order-section-title {
  font-size: 1rem;
  margin: 1.5rem 0 0.5rem;
}

/* 管理モーダル */
.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 6000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.admin-modal[hidden] {
  display: none !important;
}
.admin-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.admin-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}
.admin-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e5e7eb;
}
.admin-modal__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}
.admin-modal__close {
  border: none;
  background: #f3f4f6;
  border-radius: 999px;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.admin-modal__body {
  padding: 1.25rem;
}

/* サイドメニュー通知バッジ */
.nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  margin-left: 0.25rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #fff;
  background: #dc2626;
  border-radius: 999px;
  vertical-align: middle;
}

/* SVG ロゴ */
.site-logo__img--svg {
  max-height: 36px;
  width: auto;
  pointer-events: none;
}

/* 会員登録（ウィザード風・中央） */
.page-register-wizard .site-main {
  max-width: 640px;
}
.register-wizard-page {
  margin: 0 auto;
}
.wizard-hero--compact {
  text-align: center;
  margin-bottom: 1.5rem;
}
.register-wizard-panel {
  max-width: 100%;
}

/* 旧カートレイアウト用クラス（互換） */
.checkout-layout--cart.checkout-layout--head-aligned {
  align-items: start;
}

/* --- サイトヘッダー：ハンバーガー・アカウント（PCのみメニュー） --- */
.site-header__menu-toggle {
  display: none;
  margin-left: auto;
  margin-right: 0;
  padding: 0.35rem;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #374151;
  border-radius: 6px;
  line-height: 0;
}
.site-header__menu-toggle:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
.site-header__menu-icon {
  font-size: 1.75rem;
  line-height: 1;
}
.site-header__backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 140;
  background: rgba(0, 0, 0, 0.25);
}
.site-header-drawer-open .site-header__backdrop {
  display: block;
}
.site-nav--drawer {
  display: flex;
}
@media (max-width: 959px) {
  .site-header__inner {
    flex-wrap: nowrap;
    align-items: center;
  }
  .site-header__menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    order: 3;
    flex-shrink: 0;
  }
  .site-nav--drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(20rem, 88vw);
    max-height: 100vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex-direction: column;
    align-items: stretch;
    gap: 0.125rem;
    padding: 4rem 0.65rem 1.5rem;
    margin: 0;
    background: #fff;
    border-left: 1px solid #e8eaed;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.06);
    z-index: 160;
    transform: translateX(100%);
    transition: transform 0.2s ease;
  }
  .site-nav--drawer.site-nav--open {
    transform: translateX(0);
  }
  .site-nav--drawer a {
    display: flex;
    align-items: center;
    padding: 0.65rem 1rem;
    border-bottom: none;
    border-radius: 6px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #4b5563;
  }
  .site-nav--drawer a:hover {
    background: #f9fafb;
    color: #111827;
    text-decoration: none;
  }
  .site-nav__logout {
    margin-top: 0.5rem;
    border-top: 1px solid #e5e7eb;
    padding-top: 1rem;
  }
}
@media (min-width: 960px) {
  .site-header__backdrop {
    display: none !important;
  }
  .site-nav--drawer {
    flex: 1;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem 1rem;
    position: static;
    width: auto;
    max-height: none;
    overflow: visible;
    padding: 0;
    margin: 0;
    background: transparent;
    box-shadow: none;
    transform: none !important;
    transition: none;
  }
  .site-nav--drawer a {
    border-bottom: none;
    padding: 0;
  }
}
.site-header__account {
  display: none;
  align-items: center;
  margin-left: 0.75rem;
  flex-shrink: 0;
  position: relative;
  z-index: 8200;
}
@media (min-width: 960px) {
  .site-header__account {
    display: flex;
  }
}
.account-menu {
  position: relative;
  z-index: 8100;
}
.account-menu__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.2rem 0.35rem 0.2rem 0.2rem;
  border: none;
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.account-menu__trigger:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
.account-menu__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 1px solid #e5e7eb;
}
.account-menu__avatar--initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  font-size: 0.875rem;
  font-weight: 700;
  color: #374151;
}
.account-menu__avatar--logo object {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  pointer-events: none;
}
.account-menu__chevron {
  font-size: 1.25rem;
  color: #6b7280;
}
.account-menu__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.35rem);
  min-width: 15rem;
  max-width: min(20rem, calc(100vw - 2rem));
  padding: 0.65rem 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  z-index: 8000;
}
.account-menu__panel[hidden] {
  display: none !important;
}
.account-menu--open .account-menu__panel {
  animation: accountMenuIn 0.15s ease;
}
@keyframes accountMenuIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.account-menu__meta {
  margin: 0 0 0.5rem;
  padding: 0 1rem 0.65rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #6b7280;
  line-height: 1.45;
  border-bottom: 1px solid #f3f4f6;
}
.account-menu__name {
  font-weight: 700;
  color: #111827;
}
.account-menu__links {
  display: flex;
  flex-direction: column;
  padding: 0.35rem 0;
}
.account-menu__links a[role="menuitem"] {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
}
.account-menu__links a[role="menuitem"]:hover {
  background: #f9fafb;
  text-decoration: none;
}
.account-menu__logout {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.35rem 0.65rem 0;
  padding: 0.65rem 0.35rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #b91c1c;
  text-decoration: none;
  border-top: 1px solid #f3f4f6;
  border-radius: 0 0 8px 8px;
}
.account-menu__logout:hover {
  background: #fef2f2;
  text-decoration: none;
}

/* マイページ 900px 中央 */
.page-mypage .site-main {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.mypage-layout--wide {
  max-width: 900px;
  margin: 0 auto;
}

/* チェックアウト：右カラムの決済リンク */
.checkout-aside__payment-block {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e8eaed;
}
.checkout-aside__payment-block .form-label {
  font-size: 0.8125rem;
}
.checkout-aside__payment-block .form-input {
  border-radius: 10px;
  min-height: 2.75rem;
}
@media (max-width: 480px) {
  .body-checkout-flow .form-row-postal {
    flex-direction: column;
    align-items: stretch;
  }
  .body-checkout-flow .form-row-postal .btn {
    width: 100%;
    justify-content: center;
    min-height: 2.75rem;
    border-radius: 10px;
  }
}

/* 商品：カートボタン（オレンジ） */
.product-mercari__cta--cart.btn--primary {
  background: #ea580c;
  border-color: #ea580c;
  color: #fff;
}
.product-mercari__cta--cart.btn--primary:hover {
  background: #c2410c;
  border-color: #c2410c;
  color: #fff;
}

/* プレミアム：ゲート画像に加え、視覚的に明確なモザイク層 */
.product-card__mosaic--subtle {
  opacity: 0.65;
  background: rgba(30, 30, 35, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.product-card--premium-mosaic .product-card__img-wrap--protected img {
  filter: blur(1px);
}
.product-mercari--premium-mosaic .product-mercari__main-img,
.product-mercari--premium-mosaic .product-mercari__thumb img {
  filter: blur(2px);
}
.product-mercari__mosaic-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: rgba(20, 20, 24, 0.2);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.product-mercari__main {
  position: relative;
}
.product-card__img-wrap--protected img,
.product-mercari__main-img,
.product-mercari__thumb img {
  -webkit-user-drag: none;
  user-select: none;
}

/* 問い合わせチャット */
.inquiry-chat {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.25rem 0;
  max-width: 640px;
}
.inquiry-chat__msg {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 92%;
}
.inquiry-chat__msg--me {
  align-self: flex-end;
  align-items: flex-end;
}
.inquiry-chat__msg--them {
  align-self: flex-start;
}
.inquiry-chat__meta {
  font-size: 0.75rem;
  font-weight: 500;
  color: #9ca3af;
  margin-bottom: 0.25rem;
}
.inquiry-chat__bubble {
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  font-size: 0.9375rem;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}
.inquiry-chat__msg--them .inquiry-chat__bubble {
  background: #f3f4f6;
  color: #111827;
  border: 1px solid #e5e7eb;
}
.inquiry-chat__msg--me .inquiry-chat__bubble {
  background: #2563eb;
  color: #fff;
  border: 1px solid #1d4ed8;
}
.inquiry-chat__composer-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 1.5rem 0 0.5rem;
  color: #111827;
}
.inquiry-chat--line {
  max-width: 100%;
  min-height: 12rem;
  max-height: min(50vh, 420px);
  overflow-y: auto;
  padding: 0.75rem;
  background: #f9fafb;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
}
.inquiry-chat-composer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}
.inquiry-chat-composer--sticky {
  position: sticky;
  bottom: 0;
  background: #fff;
  padding-bottom: 0.5rem;
  z-index: 2;
}
.inquiry-chat-composer__form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 100%;
}
.inquiry-chat-composer__input {
  min-height: 4.5rem;
  resize: vertical;
}
@media (max-width: 640px) {
  .inquiry-chat--line {
    max-height: min(45vh, 360px);
  }
}

/* ストアチャット（contact） */
.store-chat-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 0 2rem;
}
.store-chat-page__crumb {
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
  color: #6b7280;
}
.store-chat-page__crumb a {
  color: #2563eb;
  text-decoration: none;
}
.store-chat-page__crumb a:hover {
  text-decoration: underline;
}
.store-chat-page__crumb-sep {
  margin: 0 0.35rem;
  color: #d1d5db;
}
.store-chat-page__title {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.store-chat-page__title-icon {
  font-size: 1.5rem;
  color: #2563eb;
}
.store-chat-page__lead {
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #4b5563;
}
.store-chat-thread {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 0 0 1.25rem;
  padding: 1rem;
  background: #f3f4f6;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  max-height: min(55vh, 420px);
  overflow-y: auto;
}
.store-chat-thread--empty {
  min-height: 6rem;
  justify-content: center;
}
.store-chat-thread__empty-msg {
  margin: 0;
  text-align: center;
  color: #6b7280;
  font-size: 0.9375rem;
}
.store-chat-msg {
  display: flex;
  flex-direction: column;
  max-width: 88%;
}
.store-chat-msg--me {
  align-self: flex-end;
  align-items: flex-end;
}
.store-chat-msg--them {
  align-self: flex-start;
  align-items: flex-start;
}
.store-chat-msg__meta {
  font-size: 0.6875rem;
  color: #9ca3af;
  margin-bottom: 0.2rem;
}
.store-chat-msg__bubble {
  padding: 0.55rem 0.75rem;
  border-radius: 14px;
  font-size: 0.9375rem;
  line-height: 1.5;
  word-break: break-word;
}
.store-chat-msg--them .store-chat-msg__bubble {
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #111827;
}
.store-chat-msg--me .store-chat-msg__bubble {
  background: #2563eb;
  color: #fff;
  border: 1px solid #1d4ed8;
}
.store-chat-composer {
  padding: 1.15rem 1.25rem 1.35rem;
}
.card-flat {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
}
.store-chat-composer__title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}
.store-chat-composer__form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.store-chat-composer__submit {
  align-self: flex-start;
}

/* マイページお気に入り（コンパクト） */
.mypage-fav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr));
  gap: 1rem 1rem;
}
@media (min-width: 640px) {
  .mypage-fav-grid {
    grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
  }
}
.mypage-fav-card .product-card__link {
  display: block;
}
.mypage-fav-card .product-card__img-wrap {
  aspect-ratio: 1;
  max-height: 9.5rem;
}
.mypage-fav-card .product-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mypage-fav-card .product-card__name {
  font-size: 0.875rem;
  line-height: 1.35;
  margin: 0 0 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mypage-fav-card .product-card__price {
  font-size: 0.875rem;
  margin: 0;
}
.mypage-fav-card__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.mypage-fav-card__store {
  border-top: 1px solid #f3f4f6;
  padding: 0.45rem 0.65rem;
  background: #fafafa;
}
.mypage-fav-card__store-link {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: #111827;
  font-size: 0.8125rem;
  font-weight: 600;
}
.mypage-fav-card__store-link:hover .mypage-fav-card__store-name {
  text-decoration: underline;
}
.mypage-fav-card__store-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid #e5e7eb;
  background: #fff;
}
.mypage-fav-card__store-logo--svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.mypage-fav-card__store-logo--ph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #e5e7eb;
  color: #6b7280;
  font-size: 1.1rem;
}
.mypage-fav-card__store-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mypage-fav-card__store-go {
  font-size: 1.1rem;
  color: #9ca3af;
  flex-shrink: 0;
}

.catalog-toolbar--with-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  margin-bottom: 1rem;
}
.catalog-toolbar__primary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  flex: 1 1 280px;
  min-width: 0;
}
.catalog-toolbar__primary .catalog-toolbar__count {
  margin: 0;
  font-size: 0.9375rem;
  color: #374151;
  flex-shrink: 0;
}
.catalog-toolbar__primary .catalog-toolbar__form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem 1rem;
}
.catalog-toolbar__range {
  margin: 0;
  width: 100%;
  font-size: 0.875rem;
  color: #6b7280;
}
.catalog-toolbar--with-pager .catalog-pager--top {
  margin-bottom: 0;
  flex: 0 0 auto;
}
.catalog-toolbar--with-pager .catalog-pager__nav {
  flex-wrap: wrap;
  gap: 0.35rem;
}

.catalog-pager--top {
  margin-bottom: 1rem;
}
.catalog-pager--bottom {
  margin-top: 1.5rem;
}
