/* 既存LPへの影響を避けるため、このエリア内に限定 */
#goods-campaign.bgc {
  --navy:#07366a;
  margin:0;
  padding:0;
  color:var(--navy);
  background-color:#e60012;
  background-image:url('../images/bg_left.png'),url('../images/bg_right.png');
  background-position:left top,right top;
  background-repeat:repeat-y;
  background-size: min(50%,735px) auto;
  font-family:Arial,'Noto Sans JP',sans-serif;
  line-height:1.5;
}
#goods-campaign *,#goods-campaign *::before,#goods-campaign *::after {
  box-sizing:border-box;
}
#goods-campaign,
#goods-campaign h2,
#goods-campaign h3,
#goods-campaign p,
#goods-campaign li,
#goods-campaign button {
  letter-spacing: normal !important;
}
#goods-campaign :is(h2,h3,p,ul,ol) {
  margin:0;
  padding:0;
}
#goods-campaign :is(ul,ol) {
  list-style:none;
}
#goods-campaign img {
  display:block;
  width:100%;
  height:auto;
  max-width:100%;
}
#goods-campaign .bgc__mv {
  position: relative;
  left: auto;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  padding: 0;
  transform: none;
}

#goods-campaign .bgc__mv picture {
  display: block;
  width: 100%;
  height: auto;
}

#goods-campaign .bgc__mv img {
  display: block;
  position: static;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  transform: none;
}
#goods-campaign .bgc__inner {
  width:81%;
  max-width:1200px;
  margin:0 auto;
}
#goods-campaign .bgc__intro {
  padding:60px 0 34px;
}
/* サブタイトル画像：メインタイトルより小さく中央配置 */
#goods-campaign .bgc__lead {
  width:100%;
  max-width:760px;
  margin:0 auto 15px;
  text-align:center;
}
#goods-campaign .bgc__lead img {
  display:block;
  width:100%;
  height:auto;
}
#goods-campaign .bgc__main-title {
  width:90%;
  margin:8px auto 20px;
}
#goods-campaign .bgc__period {
  width:70%;
  margin:0 auto 24px;
  background:#fff;
  border:2px solid var(--navy);
  border-radius:40px;
  text-align:center;
  font-size:26px;
  font-weight:700;
  padding:5px 8px;
  letter-spacing: 1px !important;
}
#goods-campaign .bgc__prizes {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
#goods-campaign .bgc__prize {
  position:relative;
  border-radius:8px;
  overflow:hidden;
  background:linear-gradient(#dedede,#fff);
  padding:18px 16px;
}
#goods-campaign .bgc__ribbon {
  position:absolute;
  left:4%;
  top:0;
  width:20%;
}
#goods-campaign .bgc__prize-image {
  width:83%;
  margin-left:auto;
}
#goods-campaign .bgc__prize-bottom {
  display:flex;
  align-items:flex-end;
  gap:8px;
  padding-left: 20px;
  padding-bottom: 10px;
}
#goods-campaign .bgc__prize-bottom>div {
  flex:1;
  min-width:0;
}
#goods-campaign .bgc__prize-bottom p {
  font-size:clamp(10px,1.4vw,18px);
  font-weight:700;
}
#goods-campaign .bgc__prize-bottom h3 {
  font-size:clamp(12px,1.6vw,25px);
  font-weight:900;
  line-height:1.25;
}
#goods-campaign .bgc__count {
  width:31%;
  flex-shrink:0;
}
#goods-campaign .bgc__condition {
  background:#fff000;
  padding:28px 0;
}
#goods-campaign .bgc__condition h2 {
  width:66%;
  max-width:960px;
  margin:auto;
}
#goods-campaign .bgc__body {
  padding:18px 0 90px;
}
/* 旗の画像は幅いっぱいの領域で表示。カードを前面に重ねて棒の下端を隠す */
#goods-campaign .bgc__section-title {
  position:relative;
  z-index:1;
  width:100%;
  margin:0 0 -40px;
  pointer-events:none;
}
#goods-campaign .bgc__section-title img {
  display:block;
  width:90%;
  height:auto;
}
#goods-campaign .bgc__product-groups,
#goods-campaign .bgc__steps {
  position:relative;
  z-index:2;
}
#goods-campaign .bgc__steps {
  display:block;
  width:100%;
}
#goods-campaign :is(.bgc__cta,.bgc__coupon) {
  display:block;
  appearance:none;
  font:inherit;
  margin:36px auto 0;
  cursor:pointer;
  opacity:1;
  transition:background-color .3s ease, color .3s ease, border-color .3s ease;
}
#goods-campaign .bgc__cta {
  width:70%;
  border:4px solid var(--navy);
  border-radius:60px;
  background:#fff000;
  color:var(--navy);
  padding:18px 24px;
  font-size:clamp(14px,2.4vw,32px);
  font-weight:900;
  text-align:center;
  text-decoration:none;
}
#goods-campaign .bgc__cta span {
  margin-left:12px;
}
@media (hover: hover) {
  #goods-campaign .bgc__cta:hover {
    border-color:#fff000;
    background:var(--navy);
    color:#fff000;
    transition : .3s;
  }
  #goods-campaign .bgc__coupon:hover {
    border-color:#005eae;
    transition : .3s;
  }
}
#goods-campaign .bgc__coupon {
  width:100%;
  padding:0;
  border:2px solid transparent;
  background:transparent;
  margin-top:72px;
}
#goods-campaign button:disabled {
  cursor:default;
  opacity:1;
}
#goods-campaign a:focus-visible {
  outline:3px solid #fff;
  outline-offset:5px;
}
@media(max-width:767px) {
  #goods-campaign .bgc__inner {
    width:90%;
  }
  #goods-campaign .bgc__intro {
    padding:22px 0;
  }
  #goods-campaign .bgc__main-title {
    width:100%;
  }
  #goods-campaign .bgc__lead {
    width:100%;
    margin-bottom:10px;
  }
  #goods-campaign .bgc__section-title img {
    width:100%;
  }
  #goods-campaign .bgc__section-title {
    width: 95%;
    margin: 0 0 -18px 10px;
  }
  #goods-campaign .bgc__period {
    width:100%;
    font-size:18px;
    margin-bottom:18px;
    padding: 5px 15px;
  }
  #goods-campaign .bgc__prizes {
    gap:8px;
  }
  #goods-campaign .bgc__prize {
    padding:10px 8px;
  }
  #goods-campaign .bgc__prize-bottom {
    gap:4px;
    flex-wrap:wrap;
  }
  #goods-campaign .bgc__prize-bottom>div {
    flex-basis:100%;
  }
  #goods-campaign .bgc__count {
    width:70%;
    margin-left:auto;
  }
  #goods-campaign .bgc__condition {
    padding:20px 0;
  }
  #goods-campaign .bgc__condition h2 {
    width:90%;
  }
  #goods-campaign .bgc__steps {
    max-width:400px;
    margin:0 auto;
  }
  #goods-campaign .bgc__cta {
    width:100%;
    padding:15px 8px;
    border-width:3px;
    margin-top:24px;
    font-size: 20px;
  }
  #goods-campaign .bgc__coupon {
    margin-top:40px;
  }
}
/* 対象商品：上段2＋4商品、下段6商品 */
#goods-campaign .bgc__product-groups {
  display:grid;
  grid-template-columns:repeat(12,minmax(0,1fr));
  gap:16px;
  margin-bottom:30px;
}
#goods-campaign .bgc__product-group {
  min-width:0;
  border:2px solid #315e8c;
  border-radius:14px;
  background:linear-gradient(160deg,#ccc 0%,#fff 65%);
  padding:16px 30px 22px;
}
#goods-campaign .bgc__product-group--gokusen {
  grid-column:span 4;
}
#goods-campaign .bgc__product-group--sweetio {
  grid-column:span 8;
}
#goods-campaign .bgc__product-group--others {
  grid-column:span 12;
}
#goods-campaign .bgc__product-group-title {
  margin:0 0 18px;
  color:#315e8c;
  text-align:center;
  font-size:clamp(18px,2vw,26px);
  font-weight:800;
}
#goods-campaign .bgc__product-items {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
#goods-campaign .bgc__product-group--sweetio .bgc__product-items {
  grid-template-columns:repeat(4,minmax(0,1fr));
}
#goods-campaign .bgc__product-group--others .bgc__product-items {
  grid-template-columns:repeat(6,minmax(0,1fr));
}
#goods-campaign .bgc__product-item {
  min-width:0;
  text-align:center;
}
#goods-campaign .bgc__product-image {
  height:clamp(100px,13vw,175px);
  display:flex;
  align-items:center;
  justify-content:center;
}
#goods-campaign .bgc__product-image img {
  width:100%;
  height:100%;
  object-fit:contain;
}
#goods-campaign .bgc__product-item p {
  margin:12px 0 0;
  color:#222;
  font-size:clamp(10px,1.1vw,14px);
  line-height:1.4;
  font-weight:700;
}
@media(max-width:767px) {
  #goods-campaign .bgc__product-groups {
    grid-template-columns:1fr;
    gap:14px;
    margin-bottom:24px;
  }
  #goods-campaign .bgc__product-group {
    grid-column:auto;
    padding:16px 12px 20px;
  }
  #goods-campaign .bgc__product-group-title {
    font-size:20px;
    margin-bottom:14px;
  }
  #goods-campaign .bgc__product-group--sweetio .bgc__product-items,
  #goods-campaign .bgc__product-group--others .bgc__product-items {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:20px 10px;
  }
  #goods-campaign .bgc__product-image {
    height:150px;
  }
  #goods-campaign .bgc__product-item p {
    font-size:12px;
  }
}
/* タイトル登場：①→②→飛行機。点線はタイトル背面 */
#goods-campaign .bgc__animated-title {
  position:relative;
  isolation:isolate;
  padding-top:10px;
}
#goods-campaign .bgc__animated-title .bgc__lead,
#goods-campaign .bgc__animated-title .bgc__main-title {
  position:relative;
  z-index:2;
}
#goods-campaign .flight,#goods-campaign .plane-front {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  overflow:visible;
  pointer-events:none;
}
#goods-campaign .flight {
  z-index:1;
}
#goods-campaign .plane-front {
  z-index:3;
}
#goods-campaign .trail {
  fill:none;
  stroke:#fff;
  stroke-width:2;
  stroke-dasharray:7 8;
}
#goods-campaign .trail-mask {
  fill:none;
  stroke:#fff;
  stroke-width:8;
  stroke-dasharray:1;
  stroke-dashoffset:0;
}
#goods-campaign .plane {
  fill:#fff;
  filter:drop-shadow(3px 3px 0 #07366a);
}
#goods-campaign .bgc__animated-title.is-pending .bgc__lead,
#goods-campaign .bgc__animated-title.is-pending .bgc__main-title {
  opacity:0;
}
#goods-campaign .bgc__animated-title.is-pending .flight,
#goods-campaign .bgc__animated-title.is-pending .plane-front {
  visibility:hidden;
}
@media(prefers-reduced-motion:reduce) {
  #goods-campaign .bgc__animated-title.is-pending .bgc__lead,
  #goods-campaign .bgc__animated-title.is-pending .bgc__main-title {
    opacity:1;
  }
  #goods-campaign .bgc__animated-title.is-pending .flight,
  #goods-campaign .bgc__animated-title.is-pending .plane-front {
    visibility:visible;
  }
}
/* スクロール表示：JSが有効な場合だけ非表示にして待機 */
#goods-campaign .bgc-reveal {
  opacity:0;
  transform:translateY(24px);
  transition:opacity .75s ease,transform .75s cubic-bezier(.2,.65,.3,1);
}
#goods-campaign .bgc-reveal.is-visible {
  opacity:1;
  transform:translateY(0);
}
@media(prefers-reduced-motion:reduce) {
  #goods-campaign .bgc-reveal {
    opacity:1;
    transform:none;
    transition:none;
  }
}
/* 2026-10-13: 旗タイトルと飛行機画像の表示調整 */
/* plane-frontはSVGではなくdiv。全面サイズのimg化を防ぐ */
#goods-campaign .bgc__animated-title .plane-front {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  z-index:3;
  overflow:visible;
  pointer-events:none;
}
#goods-campaign .bgc__animated-title .plane-front img.plane {
  position:absolute;
  top:0;
  left:0;
  width:clamp(36px,5.2vw,78px);
  height:auto;
  max-width:none;
  transform:translate(-50%,-50%);
  transform-origin:center center;
  filter:drop-shadow(3px 3px 0 #07366a);
}
@media(max-width:767px) {
  #goods-campaign .bgc__animated-title .plane-front img.plane {
    width:clamp(28px,10vw,48px);
  }
}

/* 商品情報への補助導線・応募条件のご案内 */
#goods-campaign .bgc__product-link-wrap {
  margin: 0 0 36px;
  text-align: center;
}
#goods-campaign .bgc__product-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 100%;
  min-height: 44px;
  padding: 10px 24px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  transition: background-color .2s;
}
#goods-campaign .bgc__product-link:hover {
  background-color: var(--navy);
}
#goods-campaign .bgc__cta-note {
  margin: 10px auto 0;
  padding: 0 16px;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  text-align: center;
}
@media (max-width: 767px) {
  #goods-campaign .bgc__product-link {
    padding: 9px 18px;
    font-size: 13px;
  }
  #goods-campaign .bgc__cta-note {
    font-size: 12px;
    text-align: left;
  }
}
.sp_only {
  display: none;
}
@media (max-width: 767px) {
  .sp_only {
    display: block;
  }
}
