/** Shopify CDN: Minification failed

Line 359:10 Expected identifier but found whitespace
Line 359:11 Unexpected "100.nav-belt"
Line 412:3 Expected identifier but found "%"

**/
html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 20px;
}

#coupon-display-container, 
.button-container {
  max-width: 1000px; 
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

#coupon-display-container {
  padding: 20px;
}

.button-container {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 0 20px; 
  margin-top: -20px;
}

.coupon-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  width: 100%;
}

.coupon-card {
  position: relative;
  flex: 1 1 calc(50% - 15px);
  max-width: calc(50% - 15px);
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
  cursor: pointer;
  background-color: #fff;
  box-sizing: border-box;
}

.line-coupon-card {
  position: relative;
  flex: 1 1 calc(50% - 15px);
  max-width: calc(50% - 15px);
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
  cursor: pointer;
  background-color: #fff;
  box-sizing: border-box;
}

.btn-pink-light {
  flex: 1;
  background-color: #23B183;
  color: #ffffff;
  border-radius: 15px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  padding: 12px 5px;
  text-align: center;
  font-weight: bold;
  box-sizing: border-box;
}

.coupon-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.line-coupon-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.coupon-card.unused {
  border-color: #ec5858;
  background-color: rgb(236, 143, 143);
}

.line-coupon-card.unused {
  border-color: #047e37;
  background-color: #06C755
}

.coupon-card.used {
  border-color: #ccc;
  background-color: #9fa3a5;
  opacity: 0.7;
  cursor: default;
}

.line-coupon-card.used {
  border-color: #ccc;
  background-color: #9fa3a5;
  opacity: 0.7;
  cursor: default;
}

.coupon-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1px;
}

.status-badge {
  font-size: 0.85em;
  padding: 4px 8px;
  border-radius: 4px;
  color: white;
  font-weight: bold;
}

.line-status-badge {
  font-size: 0.85em;
  padding: 4px 8px;
  border-radius: 4px;
  color: #000000;
  font-weight: bold;
}

.coupon-card.unused .status-badge {
  background-color: #f82525;
}

.line-coupon-card.unused .line-status-badge {
  background-color: #ffff00;
}

.coupon-card.used .status-badge {
  background-color: #6c757d;
}

.line-coupon-card.used .line-status-badge {
  background-color: #6c757d;
}

.coupon-details {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dotted #e0e0e0;
}

.detail-item:last-child {
  border-bottom: none;
}

.label {
  font-size: 0.8em;
  color: #ffffff;
}

.line-label {
  font-size: 0.8em;
  color: #ffffff;
}

.value {
  font-weight: bold;
  font-size: 1em;
}

.line-value {
  font-weight: bold;
  font-size: 1em;
}

.amount-item .value {
  font-size: 1em;
  color: #ffffff;
}

.amount-item .line-value {
  font-size: 1em;
  color: #ffffff;
}

.code-item .value {
  color: #ffffff;
  padding: 1px 1px;
  border-radius: 3px;
  letter-spacing: 1px;
  font-family: monospace;
}

.expiry-item .value {
  color: #ffffff;
  padding: 1px 1px;
  border-radius: 3px;
  letter-spacing: 1px;
  font-family: monospace;
}

.amount-item .line-value {
  font-size: 1em;
  color: #ffffff;
}

.code-item .line-value {
  color: #ffffff;
  padding: 1px 1px;
  border-radius: 3px;
  letter-spacing: 1px;
  font-family: monospace;
}

.expiry-item .line-value {
  color: #ffffff;
  padding: 1px 1px;
  border-radius: 3px;
  letter-spacing: 1px;
  font-family: monospace;
}

.copy-message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(192, 196, 193, 0.9);
  color: rgba(0, 0, 0, 0.9);
  padding: 8px 16px;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 10;
  font-weight: bold;
  white-space: nowrap;
}

.coupon-card.copied .copy-message {
  opacity: 1;
}

.line-coupon-card.copied .copy-message {
  opacity: 1;
}

#campaign-status {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.order-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.order-table th,
.order-table td {
  border: 1px solid #ddd;
  background-color:rgb(255, 255, 255);
  padding: 10px;
  text-align: left;
}

.order-table th {
  background-color:rgb(218, 214, 214);
  font-weight: bold;
}

.order-table td.no-data {
  text-align: center;
  color: #6c757d;
}

.coupon-box {
  border: 2px solid #ffc107;
  padding: 15px;
  margin-top: 15px;
  background-color: #fffbe6;
  text-align: center;
}

.coupon-code {
  font-size: 1.5em;
  line-height: 1.4em;
  color: #dc3545;
  font-weight: bold;
}

.line-coupon-code {
  font-size: 1.5em;
  line-height: 1.4em;
  color: #dc3545;
  font-weight: bold;
}

h2 {
  font-size: 1.3em;
  font-family: Zen maru gothic;
  color: #4e454a;
  line-height: 1.4em;
}

h1 {
  font-size: 1em;
  font-family: Zen maru gothic;
  line-height: 2.5em;
  color: #4e454a;
}

h4 {
  font-size: 1.2em;
  font-family: Zen maru gothic;
  line-height: 2.5em;
}

h5 {
  font-size: 0.8em;
  font-family: Zen kaku Gothic new, sans-serif;
  color: #4e454a;
  padding: 0px 15px 0px 15px;
}

  .nav-belt {
    display: block;
    width: 100.nav-belt {
    display: block;
    width: 100%;
    background-color: #ffffff;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }

  .nav-belt::-webkit-scrollbar {
    display: none;
  }

  .nav-list {
    display: flex;
    padding: 0 10px;
    margin: 0;
    list-style: none;
    align-items: center;
    height: 45px;
    /* --- 追加：PCで中央寄せにする設定 --- */
    justify-content: center;
    min-width: max-content; /* 項目が少ない時も中央に寄るように保証 */
  }

  .nav-item {
    padding: 0 12px;
    flex: 0 0 auto;
  }

  .nav-item a {
    text-decoration: none;
    color: #888888;
    font-size: 13px;
    font-weight: 600;
    display: block;
    transition: all 0.3s ease;
  }

  .nav-item a:active,
  .nav-item a:hover {
    color: #d87093;
    background-color: #fff0f5;
    border-radius: 4px;
  }

  /* スマホなど画面が狭い時、項目が溢れる場合は左寄せにする（スクロールさせるため） */
  @media (max-width: 600px) {
    .nav-list {
      justify-content: flex-start;
    }
  }%;
    background-color: #ffffff;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    position: sticky;
    z-index: 0;
    white-space: nowrap;
  }

  .nav-belt::-webkit-scrollbar {
    display: none;
  }

  .nav-list {
    display: flex;
    padding: 0 10px;
    margin: 0;
    list-style: none;
    align-items: center;
    height: 45px;
  }

  .nav-item {
    padding: 0 12px;
    flex: 0 0 auto;
  }

  .nav-item a {
    text-decoration: none;
    color: #888888;
    font-size: 13px;
    font-weight: 600;
    display: block;
    transition: all 0.3s ease;
  }

  .nav-item a:active,
  .nav-item a:hover {
    color: #d87093;
    background-color: #fff0f5;
    border-radius: 4px;
  }

  .nav-item.current a {
    color: #4e454a;
    font-weight: bold;
  }

@media (min-width: 1024px) {
  .coupon-card {
    flex: 0 0 calc(33.333% - 15px);
    max-width: calc(33.333% - 15px);
  }
}

@media (min-width: 1024px) {
  .line-coupon-card {
    flex: 0 0 calc(33.333% - 15px);
    max-width: calc(33.333% - 15px);
  }
}

@media (max-width: 768px) {
  .pc-space {
    display: none;
  }
  .sp-break {
    display: block;
    height: 0;
  }
}

@media (max-width: 600px) {
  .coupon-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .line-coupon-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .btn-pink-light {
    aspect-ratio: 1 / 1;
    font-size: 20px;
    padding: 5px;
    white-space: normal;
    line-height: 1.4;
    border-radius: 10px;
    max-width: none;
  }
}

