@charset "utf-8";

/* ==========================================================
   tanabata_2026 — 七夕クーポンLP
   ========================================================== */

/* ----------------------------------------------------------
   W2 リセットCSS（カート埋め込み時の干渉を除去）
   ---------------------------------------------------------- */
.global-header {
  display: none;
}
.global-contents__inner {
  width: 100% !important;
  padding: 0 !important;
}
#tblLayout {
  width: 100% !important;
}
table {
  border-collapse: collapse;
  margin: 0;
  padding: 0;
}
td,
th {
  padding: 0;
  margin: 0;
}
main + div {
  display: none;
}

/* ----------------------------------------------------------
   ベースリセット
   ---------------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 62.5%; /* 1rem = 10px */
  scroll-behavior: smooth;
}
img {
  display: block;
  width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
li {
  list-style: none;
}

body {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 1.4rem;
  background: linear-gradient(180deg, #102a45 0%, #2d2a52 30%, #4a3a5c 55%, #6e4f5e 75%, #c79a6b 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}

.tanabata {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 0 auto;
  overflow: hidden;
}

/* ----------------------------------------------------------
   背面デコレーション（星の点滅／短冊の揺れ）
   画面に固定し、スクロールしてもページ全体に七夕の雰囲気を添える
   ---------------------------------------------------------- */
.bg-deco {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.bg-deco .star {
  position: absolute;
  width: 5px;
  height: 5px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 6px 2px rgba(255, 255, 255, 0.8);
  animation: twinkle 2.4s ease-in-out infinite;
}
.bg-deco .star:nth-child(1) { top: 6%; left: 10%; animation-delay: 0s; }
.bg-deco .star:nth-child(2) { top: 16%; left: 82%; width: 4px; height: 4px; animation-delay: 0.4s; }
.bg-deco .star:nth-child(3) { top: 32%; left: 28%; width: 3px; height: 3px; animation-delay: 0.9s; }
.bg-deco .star:nth-child(4) { top: 48%; left: 90%; animation-delay: 1.3s; }
.bg-deco .star:nth-child(5) { top: 64%; left: 14%; width: 4px; height: 4px; animation-delay: 1.7s; }
.bg-deco .star:nth-child(6) { top: 78%; left: 70%; width: 3px; height: 3px; animation-delay: 0.6s; }
.bg-deco .star:nth-child(7) { top: 90%; left: 35%; animation-delay: 1.1s; }

@keyframes twinkle {
  0%, 100% { opacity: 0.15; transform: scale(0.7); }
  50% { opacity: 1; transform: scale(1.2); }
}

.bg-deco .tanzaku {
  position: absolute;
  top: 0;
  width: 14px;
  height: 56px;
  border-radius: 2px;
  transform-origin: top center;
  animation: sway 3.6s ease-in-out infinite;
  opacity: 0.55;
}
.bg-deco .tanzaku--left { left: 4%; background: #ffd76a; animation-delay: 0s; }
.bg-deco .tanzaku--right { right: 5%; background: #ff9fb0; animation-delay: 0.5s; height: 44px; }

@keyframes sway {
  0%, 100% { transform: rotate(-6deg); }
  50% { transform: rotate(6deg); }
}

/* ----------------------------------------------------------
   ヒーロー（1040×1040）／タップでクーポンへスクロール
   ---------------------------------------------------------- */
.hero {
  width: 100%;
  aspect-ratio: 1 / 1;
}
.hero-link {
  display: block;
  cursor: pointer;
}

/* ----------------------------------------------------------
   ノーティス（5,000円以上／繰り返し利用可）— ヒーロー直下
   ---------------------------------------------------------- */
.notice-bar {
  background: #0d2238;
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  font-size: 1.25rem;
  line-height: 1.6;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.notice-bar strong {
  color: #ffd76a;
  font-weight: 700;
}
.notice-bar span {
  display: block;
}

/* ----------------------------------------------------------
   クーポンセクション
   ---------------------------------------------------------- */
.coupon-section {
  padding: 28px 20px 8px;
  text-align: center;
  color: #fff;
  scroll-margin-top: 16px;
}
.coupon-section .lead {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.7;
  margin-bottom: 18px;
}
.coupon-section .lead em {
  color: #ffd76a;
  font-style: normal;
}

.coupon-box {
  position: relative;
  margin: 0 auto;
  max-width: 320px;
  background: rgba(255, 255, 255, 0.08);
  border: 2px dashed #ffd76a;
  border-radius: 14px;
  padding: 18px 16px;
}
.coupon-box .code-label {
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  opacity: 0.85;
  margin-bottom: 6px;
}
.coupon-box .code {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #ffd76a;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.copy-btn {
  display: block;
  width: 100%;
  margin-top: 14px;
  background: #ffd76a;
  color: #1a1a2e;
  border: none;
  border-radius: 999px;
  padding: 13px 18px;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.2s ease;
}
.copy-btn:active {
  transform: scale(0.97);
}
.copy-btn.is-copied {
  background: #6fcf97;
}

.copy-alert {
  display: block;
  margin-top: 10px;
  font-size: 1.15rem;
  color: #6fcf97;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.copy-alert.is-visible {
  opacity: 1;
}

/* ----------------------------------------------------------
   CTAボタン
   ---------------------------------------------------------- */
.cta-area {
  padding: 28px 20px 8px;
  text-align: center;
}
.cta-btn {
  display: block;
  margin: 0 auto;
  max-width: 320px;
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  font-weight: 700;
  font-size: 1.3rem;
  padding: 14px 22px;
  border-radius: 999px;
}

/* ----------------------------------------------------------
   注意事項
   ---------------------------------------------------------- */
.attn-list {
  padding: 36px 24px 28px;
  color: rgba(255, 255, 255, 0.85);
}
.attn-list .attn-title {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: #fff;
}
.attn-list li {
  font-size: 1.1rem;
  line-height: 1.8;
  padding-left: 1.2em;
  position: relative;
  margin-bottom: 8px;
}
.attn-list li::before {
  content: "※";
  position: absolute;
  left: 0;
}

/* ----------------------------------------------------------
   フッター
   ---------------------------------------------------------- */
.footer {
  text-align: center;
  padding: 20px;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ----------------------------------------------------------
   PC（min-width: 600px）
   ---------------------------------------------------------- */
@media screen and (min-width: 600px) {
  .tanabata {
    max-width: 600px;
  }
  .notice-bar {
    font-size: 1.6rem;
  }
  .coupon-section .lead {
    font-size: 2rem;
  }
  .coupon-box {
    max-width: 380px;
  }
  .coupon-box .code {
    font-size: 3.2rem;
  }
  .cta-btn,
  .copy-btn {
    font-size: 1.4rem;
  }
  .attn-list li {
    font-size: 1.15rem;
  }
}