:root{--tan:#c5a066;--cream:#f4e8d7;--ink:#121114;--scale:1}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f6ecdc;font-family:Arial,'Noto Sans JP','Hiragino Kaku Gothic ProN',Meiryo,sans-serif;color:var(--ink)}img{display:block;max-width:100%;height:auto}.page{width:min(100%,390px);margin:auto;background:#fff;overflow:hidden}.countdown{height:47px;background:var(--tan);display:flex;align-items:center;justify-content:center;gap:26px;font-weight:800}.countdown span{font-size:12px;line-height:1.15;color:#fff}.countdown strong{font-size:24px;font-variant-numeric:tabular-nums;white-space:nowrap}.hero img,.campaign-main,.campaign-wave{width:100%}.campaign{background:linear-gradient(90deg,#8f1d30 0 50%,#06365d 50%);position:relative;padding-bottom:0}.campaign-main{position:relative}.campaign-deadline{width:80.5%;margin:-135px auto 0;position:relative;z-index:1}.campaign-wave{margin-top:4px}.tan-sections{background:var(--tan);padding-top:55px;padding-bottom:55px}.section{display:flex;flex-direction:column;align-items:center}.ribbon{width:82.05%;margin:0 auto 24px}.content-image{width:86.15%}.wchance{margin-top:22px}.entry-link{display:block;width:76.9%;margin:20px auto 0;transition:transform .2s,filter .2s}.entry-link:hover,.aside-button:hover{transform:none;filter:brightness(1.06)}.entry-link img{width:100%}.products{margin-top:30px}.section-lead{align-self:stretch;width:80%;margin:0 auto 22px;font-size:13px;font-weight:800;line-height:1.5}.stores{margin-top:30px}.cream-panel{width:86.15%;border-radius:22px;background:var(--cream);padding:23px 20px}.store-copy{font-size:11px;line-height:1.65}.store-copy p{margin:0 0 13px}.store-copy p:last-child{margin:0}.small{font-size:10px}.white-section{background:#fff}.howto{padding-top:42px;padding-bottom:24px}.howto .ribbon{margin-bottom:16px}.step-image{width:83.6%}.receipt-notes{padding-top:10px}.legal-copy{width:82%;font-size:11px;line-height:1.7}.legal-copy p{margin:0 0 13px}.tips-image{width:83.6%;margin-top:22px}.terms{padding-top:30px}.legal-intro{width:82%;font-size:11px;font-weight:700;margin:0 auto 12px}.terms-panel{width:82%;border:1px solid #999;border-radius:6px;min-height:180px;margin:0 auto 25px;font-size:12px}.terms-panel summary{list-style:none;cursor:pointer;min-height:180px;display:flex;align-items:center;justify-content:center;font-weight:700}.terms-panel summary::-webkit-details-marker{display:none}.terms-panel[open] summary{min-height:48px;border-bottom:1px solid #ddd}.terms-body{padding:15px}.contact{padding-top:15px;padding-bottom:26px}.contact-body{width:82%;font-size:11px;line-height:1.6}.contact-body h2{font-size:13px;color:#19365c;margin:0 0 10px}.contact-body p{margin:0 0 8px}.editor-note{color:#9a2436!important;font-size:10px!important;font-weight:400!important}.entry-note{width:82%;text-align:center;margin:7px auto}.footer{background:#101012;color:#fff;padding:30px 20px 35px;min-height:230px}.footer>img{width:87.7%;margin:0 auto 22px}.footer-links{display:flex;flex-direction:column;gap:12px;font-size:11px}.footer-logo{display:block;font-size:22px;margin-top:18px}.footer small{font-size:9px;color:#aaa}.desktop-aside{display:none}@media(min-width:900px){:root{--scale:2}.page{width:780px}.countdown{height:94px;gap:52px}.countdown span{font-size:24px}.countdown strong{font-size:48px}.campaign-deadline{margin-top:-270px}.campaign-wave{margin-top:8px}.tan-sections{padding-top:110px;padding-bottom:110px}.ribbon{margin-bottom:48px}.wchance{margin-top:44px}.entry-link{margin-top:40px}.products,.stores{margin-top:60px}.section-lead{font-size:26px;margin-bottom:44px}.cream-panel{border-radius:44px;padding:46px 40px}.store-copy{font-size:22px}.store-copy p{margin-bottom:26px}.small{font-size:20px}.howto{padding-top:84px;padding-bottom:48px}.howto .ribbon{margin-bottom:32px}.receipt-notes{padding-top:20px}.legal-copy{font-size:22px}.legal-copy p{margin-bottom:26px}.tips-image{margin-top:44px}.terms{padding-top:60px}.legal-intro{font-size:22px;margin-bottom:24px}.terms-panel{border-radius:12px;min-height:360px;margin-bottom:50px;font-size:24px}.terms-panel summary{min-height:360px}.terms-panel[open] summary{min-height:96px}.terms-body{padding:30px}.contact{padding-top:30px;padding-bottom:52px}.contact-body{font-size:22px}.contact-body h2{font-size:26px}.editor-note{font-size:17px!important}.footer{padding:60px 40px 70px}.footer>img{margin-bottom:44px}.footer-links{gap:24px;font-size:22px}.footer-logo{font-size:44px}.footer small{font-size:18px}.desktop-aside{display:flex;position:fixed;top:50%;transform:translateY(-50%);width:min(180px,calc((100vw - 800px)/2 - 20px));flex-direction:column;align-items:center;z-index:5}.desktop-aside--left{right:calc(50% + 410px)}.desktop-aside--right{left:calc(50% + 410px)}.aside-copy,.aside-button img{width:100%}.aside-copy{height:auto}.desktop-aside--left{gap:16px}.aside-button{display:block;width:100%;transition:transform .2s,filter .2s}.qr-placeholder{border:2px dashed #aaa;border-radius:8px;padding:30px 8px;text-align:center;font-size:14px;color:#777;background:#fff;width:100%}}@media(min-width:1200px){.desktop-aside{width:180px}}@media(max-width:389px){.countdown{gap:12px}.countdown strong{font-size:20px}}

/* Formal campaign terms and accessible product names */
.terms-panel{min-height:0}.terms-panel summary{min-height:56px;padding:12px 18px}.terms-panel[open] summary{min-height:56px}.terms-body{font-size:12px;line-height:1.75;overflow-wrap:anywhere}.terms-body h3{font-size:1.1em;margin:1.7em 0 .55em}.terms-body h4{font-size:1.05em;margin:1.4em 0 .5em}.terms-body h5{font-size:1em;margin:1.1em 0 0}.terms-body p{margin:0 0 .65em}.terms-body .terms-bullet{padding-left:1em;text-indent:-1em}.terms-body a{color:#123e75;text-decoration:underline}.product-names{width:86.15%;background:var(--cream);border-radius:0 0 20px 20px;padding:0 22px 24px;font-size:12px;line-height:1.7}.product-names h3{margin:0 0 8px;font-size:14px}.product-names ul{padding-left:1.5em;margin:0}.product-names li{margin-bottom:3px}.product-names p{font-size:11px}.products>.content-image{margin-bottom:-1px}@media(min-width:900px){.terms-panel{min-height:0;font-size:24px}.terms-panel summary,.terms-panel[open] summary{min-height:80px}.terms-body{font-size:18px}.product-names{padding:0 44px 48px;font-size:20px;border-radius:0 0 40px 40px}.product-names h3{font-size:24px}.product-names p{font-size:18px}}

/* Product names follow the photographs inside one responsive card. */
.products-card{width:86.15%;border-radius:22px;background:#f4e8d7 url("images/products-list@4x.png") no-repeat top center;background-size:100% auto;overflow:hidden;padding-top:27%;}
.products-card .product-names{width:100%;background:transparent;border-radius:0;padding:0 19px 24px;font-size:11px;line-height:1.6;}
.products-card .product-names h3{font-size:13px;margin:0 0 8px;}
.products-card .product-names ul{margin:0;padding-left:1.4em;}
.products-card .product-names li{margin-bottom:3px;}
.products-card .product-names p{font-size:10px;margin:10px 0 0;}
/* Always-visible terms, scrolling inside the bounded panel. */
.terms-panel{height:240px;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;border:1px solid #888;background:#fff;}
.terms-body{padding:14px;font-size:11px;line-height:1.7;}
@media(min-width:900px){.products-card{border-radius:44px;padding-top:27%;}.products-card .product-names{padding:0 38px 48px;font-size:19px;line-height:1.7;}.products-card .product-names h3{font-size:23px;}.products-card .product-names p{font-size:17px;}.terms-panel{height:480px;min-height:0;}.terms-body{font-size:18px;padding:28px;}}

/* Footer: official logo and functional links */
.footer-links a{color:inherit;text-decoration:none;width:fit-content}.footer-links a:hover{text-decoration:underline}.footer-links a:focus-visible{outline:2px solid #fff;outline-offset:4px}.footer .footer-copyright{display:block;font-size:9px;color:#aaa}@media(min-width:900px){.footer .footer-copyright{font-size:18px}}

/* 応募期間終了後のカウントダウン表示 */
.countdown--ended { gap: 0; }
.countdown--ended strong { font-size: 18px; text-align: center; white-space: normal; }
@media (min-width: 900px) { .countdown--ended strong { font-size: 36px; } }

/* Give the copyright breathing room below footer navigation. */
.footer .footer-copyright{margin-top:28px}
@media(min-width:900px){.footer .footer-copyright{margin-top:48px}}

/* SP: edge-to-edge content, without desktop beige side gutters. */
@media (max-width: 899px) {
  body { background: #fff; }
  .page { width: 100%; max-width: none; margin: 0; }
}

/* Official campaign contact details (supplied design copy). */
.contact-body{color:#21385e;overflow-wrap:anywhere}
.contact-details{margin:20px 0 24px}
.contact-details dt{font-weight:700;margin:9px 0 2px}
.contact-details dd{margin:0}
.contact-details a{color:inherit;text-decoration:none}
.contact-details a:hover{text-decoration:underline}
.contact-notes{font-size:10px;line-height:1.65}
.contact-notes p{margin:0 0 4px}
.contact-indent{display:inline-block;padding-left:1em}
@media(min-width:900px){.contact-details{margin:40px 0 48px}.contact-details dt{margin-top:18px}.contact-notes{font-size:20px}}

/* Campaign-to-prize wavy transition: full-width and flush on all screens. */
.campaign-wave {
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:780 / 81;
  margin:0;
  padding:0;
  background:#c5a066 url("images/deco-campaign-bottom@4x.png") center top / 100% 100% no-repeat;
  position:relative;
  z-index:2;
}
.campaign {padding-bottom:0;}
.tan-sections {margin-top:0;}

/* Place the decorative wave at the actual end of the campaign artwork.
   The deadline is pulled upward, leaving 22.5/45px of the campaign background
   that must appear BEFORE the wave, not as a straight strip after it. */
.campaign-wave{margin-top:22.5px;}
@media(min-width:900px){.campaign-wave{margin-top:45px;}}

/* SP: improve readability of the product purchase threshold lead. */
@media (max-width: 899px) {
  .products .section-lead {
    font-size: 16px;
    line-height: 1.55;
  }
}

/* 応募開始前・終了後は応募導線を表示しない（JS実行前も非表示） */
body:not([data-campaign-state="active"]) .entry-link,
body:not([data-campaign-state="active"]) .aside-button,
body:not([data-campaign-state="active"]) .desktop-aside--right { display:none !important; }
.countdown--ended { gap:0; padding:0 12px; }
.countdown--ended strong { font-size:15px; text-align:center; white-space:normal; line-height:1.35; }
.qr-panel { width:100%; text-align:center; background:#fff; border-radius:10px; padding:15px 10px; }
.qr-panel p { margin:0 0 8px; font-size:12px; font-weight:700; line-height:1.5; }
.qr-panel img { width:100%; height:auto; max-width:180px; margin:0 auto; }
.qr-panel .qr-caption { font-size:10px; margin:8px 0 0; font-weight:400; }
@media (min-width:900px) { .countdown--ended strong { font-size:30px; } }

/* 対象商品名：写真は固定し、商品一覧部分のみ縦スクロール */
.products-card .product-names {
  height: 180px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
@media (min-width: 900px) {
  .products-card .product-names {
    height: 360px;
  }
}

/* 対象商品一覧：下端をやわらかくフェード（スクロール操作は妨げない） */
.products-card { position: relative; }
.products-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 14px;
  bottom: 0;
  height: 30px;
  background: linear-gradient(to bottom, rgba(244,232,215,0), #f4e8d7 92%);
  pointer-events: none;
}
@media (min-width: 900px) {
  .products-card::after { right: 20px; height: 48px; }
}

/* 対象店舗：購入先リンク（2列×2段） */
.shop-links{width:86.15%;margin:20px auto 0;padding:16px 14px;background:var(--cream);border-radius:16px}
.shop-links-title{margin:0 0 12px;text-align:center;font-size:12px;font-weight:700}
.shop-links-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.shop-link{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;min-height:68px;padding:10px 22px 10px 10px;border:1px solid #d9c5a8;border-radius:10px;background:#fff;transition:background-color .2s,border-color .2s,box-shadow .2s;text-decoration:none}
.shop-link img{width:100%;max-width:135px;height:46px;object-fit:contain}
.shop-link-icon{position:absolute;right:8px;top:7px;color:#715638;font-size:15px;line-height:1}
.shop-link:hover{background:#fffaf2;border-color:#967447;box-shadow:0 2px 8px rgba(65,44,22,.12)}
.shop-link:focus-visible{outline:3px solid #19365c;outline-offset:2px}
@media(min-width:900px){.shop-links{margin-top:40px;padding:32px 28px;border-radius:32px}.shop-links-title{font-size:24px;margin-bottom:24px}.shop-links-grid{gap:20px}.shop-link{min-height:136px;padding:20px 44px 20px 20px;border-radius:20px}.shop-link img{max-width:270px;height:92px}.shop-link-icon{right:16px;top:14px;font-size:30px}}

/* Corporate logo below copyright */
.footer > img.footer-bex-logo{width:90px;max-width:100%;height:auto;margin:20px auto 0}
@media(min-width:900px){.footer > img.footer-bex-logo{width:180px;margin-top:40px}}

/* フッター：テキストリンクの視認性 */
.footer-links a { text-decoration: none; }
.footer-links a::before { content: none; }
.footer-links a::after { content: ">"; display: inline-block; margin-left: .45em; color: #aaa; font-size: .8em; vertical-align: .08em; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-links a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }

/* フッター：企業ロゴをリンク化（既存の表示サイズを維持） */
.footer .footer-bex-link { display: block; width: 90px; margin: 20px auto 0; }
.footer .footer-bex-link img { display: block; width: 100%; max-width: 100%; height: auto; }
.footer .footer-bex-link:hover { opacity: .8; }
.footer .footer-bex-link:focus-visible { outline: 2px solid #fff; outline-offset: 6px; }
@media (min-width: 900px) {
  .footer .footer-bex-link { width: 180px; margin-top: 40px; }
}


/* 商品一覧：紺色のスクロールバーを常時表示（iOS含む） */
.products-card .product-names {
  scrollbar-width: none; /* Firefox: 標準バーと二重にしない */
}
.products-card .product-names::-webkit-scrollbar { display: none; }
.products-card .products-scroll-track {
  position: absolute;
  top: 27%; /* 商品写真の下から一覧が始まる位置 */
  right: 7px;
  bottom: 8px;
  width: 6px;
  border-radius: 999px;
  background: rgba(25, 54, 92, .16);
  pointer-events: none;
  z-index: 3;
}
.products-card .products-scroll-thumb {
  width: 100%;
  border-radius: 999px;
  background: #19365c;
  will-change: transform;
}
@media (min-width: 900px) {
  .products-card .products-scroll-track { right: 14px; bottom: 14px; width: 10px; }
}

/* スマホ専用：応募ボタンを右下に追従表示。既存の期間判定を利用 */
.mobile-fixed-entry { display: none; }
@media (max-width: 899px) {
  body[data-campaign-state="active"] .mobile-fixed-entry {
    display: block;
    position: fixed;
    right: max(12px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    width: min(44vw, 170px);
    z-index: 100;
  }
  .mobile-fixed-entry img { display: block; width: 100%; height: auto; }
  .mobile-fixed-entry:focus-visible { outline: 3px solid #19365c; outline-offset: 3px; }
}

/* テストページ限定：スマホ右下の追従応募ボタンを期間外でも表示 */
@media (max-width: 899px) {
  body.lp-preview .mobile-fixed-entry {
    display: block;
    position: fixed;
    right: max(12px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    width: min(44vw, 170px);
    z-index: 100;
  }
}


/* オンラインショップ購入ボタン：縦方向だけコンパクトに */
@media (max-width: 899px) {
  .shop-links { padding-top: 11px; padding-bottom: 11px; }
  .shop-links-title { margin-bottom: 8px; }
  .shop-links-grid { row-gap: 7px; }
  .shop-link { min-height: 52px; padding-top: 5px; padding-bottom: 5px; }
  .shop-link img { height: 36px; }
}
@media (min-width: 900px) {
  .shop-links { padding-top: 22px; padding-bottom: 22px; }
  .shop-links-title { margin-bottom: 16px; }
  .shop-links-grid { row-gap: 14px; }
  .shop-link { min-height: 104px; padding-top: 10px; padding-bottom: 10px; }
  .shop-link img { height: 72px; }
}

/* オンラインショップ購入ボタン：さらに薄く、矢印を > に */
@media (max-width: 899px) {
  .shop-links { padding-top: 8px; padding-bottom: 8px; }
  .shop-links-title { margin-bottom: 6px; }
  .shop-links-grid { row-gap: 5px; }
  .shop-link { min-height: 40px; padding-top: 3px; padding-bottom: 3px; }
  .shop-link img { height: 28px; }
  .shop-link-icon { top: 5px; right: 7px; font-size: 14px; }
}
@media (min-width: 900px) {
  .shop-links { padding-top: 16px; padding-bottom: 16px; }
  .shop-links-title { margin-bottom: 12px; }
  .shop-links-grid { row-gap: 10px; }
  .shop-link { min-height: 80px; padding-top: 6px; padding-bottom: 6px; }
  .shop-link img { height: 56px; }
  .shop-link-icon { top: 10px; right: 14px; font-size: 28px; }
}

/* オンラインショップ：余白を詰め、四角いボタンと中央揃えの > に */
.shop-link { border-radius: 0; }
.shop-link-icon { top: 50%; transform: translateY(-50%); line-height: 1; }
@media (max-width: 899px) {
  .shop-links { padding: 6px 8px; }
  .shop-links-title { margin-bottom: 4px; }
  .shop-links-grid { gap: 4px; }
  .shop-link { min-height: 36px; padding: 2px 20px 2px 6px; }
  .shop-link-icon { right: 7px; font-size: 14px; }
}
@media (min-width: 900px) {
  .shop-links { padding: 12px 16px; }
  .shop-links-title { margin-bottom: 8px; }
  .shop-links-grid { gap: 8px; }
  .shop-link { min-height: 72px; padding: 4px 40px 4px 12px; }
  .shop-link-icon { right: 14px; font-size: 28px; }
}

/* 購入リンク最終微調整：余白を軽く、ボタン間隔は維持 */
@media (max-width: 899px) {
  .shop-links { border-radius: 12px; padding: 8px 10px; }
  .shop-links-title { margin-bottom: 6px; }
  .shop-link { min-height: 44px; padding-top: 2px; padding-bottom: 2px; }
  .shop-link img { height: 28px; }
}
@media (min-width: 900px) {
  .shop-links { border-radius: 22px; padding: 12px 16px; }
  .shop-links-title { margin-bottom: 10px; }
  .shop-link { min-height: 60px; padding-top: 3px; padding-bottom: 3px; }
  .shop-link img { height: 48px; }
}


/* 対象店舗：メーカー公式店リストの余白と行間 */
.store-copy .shop-list {
  margin: 10px 0 16px;
  padding-left: 1.5em;
  line-height: 1.8;
}
.store-copy .shop-list li { margin-bottom: 8px; }
.store-copy .shop-list li:last-child { margin-bottom: 0; }

/* メーカー公式店見出し：対象店舗内もh5として余白を統一 */
.store-copy h5 { font-size: inherit; line-height: inherit; margin: 0; }

/* 対象店舗：メーカー公式店の見出しと箇条書きの間隔を微調整 */
.store-copy p:has(+ h5) { margin-bottom: 7px; }
.store-copy h5 { margin: 0 0 3px; }
.store-copy .shop-list { margin: 3px 0 12px; line-height: 1.7; }
.store-copy .shop-list li { margin-bottom: 5px; }
.store-copy .shop-list li:last-child { margin-bottom: 0; }

/* オンラインショップ：矢印の余白に左右されずロゴ画像をボタン中央へ配置 */
.shop-link img {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
}
