/* ============================================================
   phase：ヒーローを開催時期で切替
   xmas(12/1-12/25 クリスマス) / yearend(12/26-12/31 年末) / newyear(1/1- 新春)
   ============================================================ */
.hero>.px,.hero .lrow .lt{display:none!important}
.hero .pxs{position:absolute;inset:0;z-index:1;pointer-events:none}
.hero .pxs img{position:absolute;filter:drop-shadow(0 14px 24px rgba(0,0,0,.5));transform:translate(calc(var(--mx,0)*var(--dp)*1px),calc(var(--my,0)*var(--dp)*1px));transition:transform .25s ease-out;will-change:transform;opacity:0}
.hero .pxs img.fl{transform:scaleX(-1) translate(calc(var(--mx,0)*var(--dp)*-1px),calc(var(--my,0)*var(--dp)*1px))}
.go .pxs img{animation:pxin .9s cubic-bezier(.2,1,.3,1) forwards;animation-delay:calc(.35s + var(--i,0)*.1s)}
@keyframes pxin{from{opacity:0;translate:0 40px}to{opacity:1;translate:0 0}}
#phsnow{position:absolute;inset:0;width:100%;height:100%;z-index:3;pointer-events:none}
.lrow.lights,.lrow.garland,.lrow.kohaku{display:block;padding:0;left:0;right:0}
.lrow.lights::before{display:none}
.phchip{display:inline-flex;align-items:center;gap:10px;margin-top:14px;padding:7px 18px;border:1.5px solid var(--gold);background:rgba(7,4,10,.45);font-family:var(--fc);font-weight:700;font-size:clamp(11px,2.8vw,13px);letter-spacing:.22em;color:var(--gold2);opacity:0}
.phchip b{font-family:var(--fc);font-weight:900;font-size:1.5em;color:#fff;letter-spacing:.06em}
.phchip .ja{font-family:var(--fj);font-weight:700;letter-spacing:.14em}
.go .phchip{animation:up .6s .65s forwards}

/* ===== XMAS ===== */
html.ph-xmas .hero{background:radial-gradient(ellipse at 50% 30%,#0f4a36 0,#082a1f 38%,#06120f 72%,#030806 100%)}
html.ph-xmas .hero .art{background-image:url(bg-xmas.webp);background-position:center 55%}
html.ph-xmas .hero .art::after{background:radial-gradient(ellipse at 50% 46%,rgba(3,10,8,.12) 0,rgba(3,10,8,.5) 45%,rgba(3,10,8,.92) 100%),linear-gradient(180deg,rgba(3,10,8,.55),transparent 30%,transparent 70%,rgba(3,10,8,.96))}
html.ph-xmas .hero::before{opacity:.12}
html.ph-xmas .hero .rays{background:repeating-conic-gradient(from 0deg,rgba(255,244,210,.2) 0 5deg,transparent 5deg 12deg)}
html.ph-xmas .hero .glow{background:radial-gradient(circle,rgba(255,236,170,.5),rgba(120,220,160,.14) 40%,transparent 68%)}
html.ph-xmas .eyebrow{background:linear-gradient(180deg,#1b6b48,#0d4530);box-shadow:0 0 0 2px #072a1c,0 6px 20px rgba(0,0,0,.5)}
/* 電飾 */
.lrow.lights{height:140px;overflow:visible}
.lrow.lights svg{position:absolute;left:0;top:0;width:100%;height:140px;overflow:visible}
.lrow.lights .bulb{position:absolute;width:20px;height:32px;margin-left:-10px;transform-origin:50% 0;animation:sway 3.2s ease-in-out infinite alternate;animation-delay:var(--sd)}
.lrow.lights .bulb::before{content:"";position:absolute;left:50%;top:0;width:9px;height:13px;margin-left:-4.5px;background:linear-gradient(#7a6424,#2a2008);border-radius:2px 2px 1px 1px}
.lrow.lights .bulb i{position:absolute;left:0;top:11px;width:20px;height:24px;border-radius:50%/42% 42% 58% 58%;background:radial-gradient(circle at 38% 32%,#fff 0,var(--c) 38%,var(--c2) 100%);box-shadow:0 0 8px var(--c),0 0 22px var(--c),0 0 46px var(--g);animation:twk 1.5s ease-in-out infinite alternate;animation-delay:var(--d)}
@keyframes twk{from{opacity:.5;filter:brightness(.75)}to{opacity:1;filter:brightness(1.3)}}
.go .lrow.lights .bulb i{animation:twk 1.5s ease-in-out infinite alternate,bon .4s forwards;animation-delay:var(--d),calc(var(--i)*.07s + .4s)}
@keyframes bon{from{opacity:0}to{opacity:1}}
.lrow.lights .bulb.c1{--c:#ffd36a;--c2:#b8710a;--g:rgba(255,200,90,.6)}
.lrow.lights .bulb.c2{--c:#ff4a4a;--c2:#8c0a12;--g:rgba(255,70,70,.55)}
.lrow.lights .bulb.c3{--c:#6cf0a0;--c2:#0f6a3a;--g:rgba(90,230,150,.5)}
.lrow.lights .bulb.c4{--c:#fff6e0;--c2:#c9a15a;--g:rgba(255,245,220,.6)}
/* 飾り */
.pxs .wr-l{left:-1%;top:7%;width:clamp(90px,14vw,230px);--i:1}.pxs .wr-r{right:-1%;top:7%;width:clamp(90px,14vw,230px);--i:2}
.pxs .tr-l{left:-3%;bottom:-2%;width:clamp(150px,24vw,380px);--i:3}.pxs .tr-r{right:-3%;bottom:-2%;width:clamp(150px,24vw,380px);--i:4}
.pxs .gf-l{left:15%;bottom:0;width:clamp(100px,14vw,220px);--i:5}.pxs .gf-r{right:15%;bottom:0;width:clamp(100px,14vw,220px);--i:6}
.pxs .ho-l{left:2%;top:46%;width:clamp(70px,9vw,140px);--i:7}.pxs .ho-r{right:2%;top:46%;width:clamp(70px,9vw,140px);--i:8}

/* ===== YEAREND（漆黒×朱×金・花火） ===== */
html.ph-yearend .hero{background:radial-gradient(ellipse at 50% 30%,#7a0a14 0,#36060c 40%,#10040a 72%,#040204 100%)}
html.ph-yearend .hero .art{background-image:url(bg-fireworks.webp);background-position:center 45%}
html.ph-yearend .hero .art::after{background:radial-gradient(ellipse at 50% 46%,rgba(5,2,6,.05) 0,rgba(5,2,6,.42) 48%,rgba(5,2,6,.9) 100%),linear-gradient(180deg,rgba(5,2,6,.45),transparent 28%,transparent 70%,rgba(5,2,6,.96))}
html.ph-yearend .hero::before{opacity:.28}
html.ph-yearend .hero .rays{background:repeating-conic-gradient(from 0deg,rgba(255,220,110,.3) 0 5deg,transparent 5deg 12deg)}
html.ph-yearend .hero .wrap{padding-top:clamp(84px,11vw,130px)}
html.ph-yearend .logo3d .bk img{transform:scale(var(--bks,1));transform-origin:50% 52%}
/* ガーランド（中央1枚＋左右に続き） */
.lrow.garland{--gh:clamp(70px,11vw,150px);height:var(--gh);overflow:hidden}
.lrow.garland::before{height:7px;background:linear-gradient(#fff4c2,#d9b765 45%,#7a4b00);z-index:1}
/* width:max-content が無いと、left:50% の絶対配置は幅が「親の半分」に縮んで中身が右へはみ出し、中央からずれる（スマホで左が空いて右が切れていた原因） */
.lrow.garland .gw{position:absolute;left:50%;top:-2%;width:max-content;transform:translateX(-50%);display:flex;align-items:flex-start;height:100%}
.lrow.garland img{display:block;height:100%;width:auto;flex:none;filter:drop-shadow(0 10px 18px rgba(0,0,0,.6))}
.lrow.garland img+img{margin-left:calc(var(--gh)*-.272)}
.lrow.garland img.f{transform:scaleX(-1)}
.pxs .fa-l{left:-2%;top:6%;width:clamp(110px,17vw,280px);--i:1;rotate:-14deg}.pxs .fa-r{right:-2%;top:6%;width:clamp(110px,17vw,280px);--i:2;rotate:14deg}
.pxs .rb-l{left:0;top:38%;width:clamp(90px,13vw,220px);--i:3}.pxs .rb-r{right:0;top:38%;width:clamp(90px,13vw,220px);--i:4}
.pxs .pe-l{left:-2%;bottom:-3%;width:clamp(120px,18vw,300px);--i:5}.pxs .pe-r{right:-2%;bottom:-3%;width:clamp(120px,18vw,300px);--i:6}
.pxs .kb-l{left:14%;bottom:-2%;width:clamp(110px,15vw,240px);--i:7}.pxs .kb-r{right:14%;bottom:-2%;width:clamp(110px,15vw,240px);--i:8}

/* ===== NEWYEAR（明るい・白×朱×金） ===== */
html.ph-newyear .hero{background:radial-gradient(ellipse at 50% 28%,#fff8e4 0,#ffe7b4 36%,#ffc07a 64%,#ef7a3a 100%)}
html.ph-newyear .hero .art{background-image:url(bg-newyear.webp);background-position:center 58%}
html.ph-newyear .hero .art::after{background:radial-gradient(ellipse at 50% 46%,rgba(255,250,236,0) 0,rgba(255,246,224,.3) 48%,rgba(255,238,205,.7) 100%),linear-gradient(180deg,rgba(255,250,236,.35),transparent 28%,transparent 72%,rgba(255,243,220,.92))}
html.ph-newyear .hero::before{opacity:.22}
html.ph-newyear .hero .rays{background:repeating-conic-gradient(from 0deg,rgba(255,150,40,.22) 0 5deg,transparent 5deg 12deg);mix-blend-mode:normal;opacity:.9}
html.ph-newyear .hero .glow{background:radial-gradient(circle,rgba(255,255,255,.85),rgba(255,240,200,.4) 40%,transparent 68%)}
html.ph-newyear .hero .god{opacity:.2}
html.ph-newyear #bokeh{mix-blend-mode:normal;opacity:.55}
html.ph-newyear .hero .wrap{padding-top:clamp(96px,13vw,150px)}
html.ph-newyear .catch{color:#3b2412;text-shadow:0 1px 0 rgba(255,255,255,.6)}
html.ph-newyear .hero .catch .d>b{background:linear-gradient(180deg,#d4121f 0%,#a30d18 55%,#6a0510 100%);-webkit-background-clip:text;background-clip:text}
html.ph-newyear .hero .catch .d{filter:drop-shadow(0 1px 0 rgba(255,255,255,.7)) drop-shadow(0 8px 18px rgba(120,20,0,.25))}
html.ph-newyear .hero .sub{color:#6b4a22}
html.ph-newyear .hero .cue{color:#b1101b}
html.ph-newyear .hero .cue i{background:linear-gradient(#b1101b,transparent)}
html.ph-newyear .logo img{filter:drop-shadow(0 0 18px rgba(255,255,255,.9)) drop-shadow(0 22px 34px rgba(110,10,0,.35))}
html.ph-newyear .logo3d .fr canvas{filter:drop-shadow(0 0 18px rgba(255,255,255,.9)) drop-shadow(0 16px 20px rgba(110,10,0,.4))}
html.ph-newyear .phchip{background:rgba(255,255,255,.55);border-color:#b1101b;color:#8c0a12}
html.ph-newyear .phchip b{color:#b1101b}
html.ph-newyear .period{box-shadow:0 0 0 3px #5a0008,0 0 0 5px var(--gold2),0 16px 40px rgba(120,20,0,.35)}
/* 紅白幕 */
.lrow.kohaku{--kw:clamp(34px,6vw,66px);height:clamp(58px,9vw,100px);background:repeating-linear-gradient(90deg,#d7141f 0 var(--kw),#fff var(--kw) calc(var(--kw)*2));
  -webkit-mask:linear-gradient(#000,#000) top/100% calc(100% - 13px) no-repeat,radial-gradient(14px 14px at 50% 0,#000 95%,transparent 100%) bottom/var(--kw) 13px repeat-x;
  mask:linear-gradient(#000,#000) top/100% calc(100% - 13px) no-repeat,radial-gradient(14px 14px at 50% 0,#000 95%,transparent 100%) bottom/var(--kw) 13px repeat-x}
.lrow.kohaku::before{height:9px;background:linear-gradient(#fff4c2,#d9b765 45%,#7a4b00);display:block}
.lrow.kohaku::after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(90deg,rgba(0,0,0,.22) 0,transparent 18%,transparent 82%,rgba(0,0,0,.22) 100%);background-size:var(--kw) 100%;mix-blend-mode:multiply}
.pxs .um-l{left:-2%;top:-1%;width:clamp(150px,22vw,360px);--i:1}.pxs .um-r{right:-2%;top:-1%;width:clamp(150px,22vw,360px);--i:2}
.pxs .km-l{left:3%;bottom:-1%;width:clamp(100px,14vw,220px);--i:3}
.pxs .hg-r{right:3%;bottom:-2%;width:clamp(90px,12vw,200px);--i:4;rotate:8deg}
.pxs .fn-l{left:16%;bottom:2%;width:clamp(90px,12vw,190px);--i:5}
.pxs .tk-r{right:16%;top:38%;width:clamp(70px,10vw,160px);--i:6;animation:tako 5s ease-in-out infinite alternate}
@keyframes tako{from{translate:0 0;rotate:-4deg}to{translate:0 -18px;rotate:5deg}}
.go .pxs .tk-r{animation:pxin .9s .9s cubic-bezier(.2,1,.3,1) forwards,tako 5s 1.8s ease-in-out infinite alternate}
.hero .crane-fly{position:absolute;left:-30%;top:18%;width:clamp(110px,16vw,260px);z-index:1;pointer-events:none;filter:drop-shadow(0 10px 18px rgba(80,0,0,.3));animation:crane 16s linear infinite;animation-delay:2.5s;opacity:0}
@keyframes crane{0%{opacity:0;transform:translate(0,0) rotate(-4deg)}4%{opacity:1}30%{transform:translate(45vw,-30px) rotate(2deg)}56%{opacity:1;transform:translate(95vw,10px) rotate(-3deg)}62%{opacity:0;transform:translate(110vw,0)}100%{opacity:0;transform:translate(110vw,0)}}

/* ===== SP ===== */
@media(max-width:900px){
  .hero .pxs img{filter:drop-shadow(0 8px 14px rgba(0,0,0,.45))}
  .pxs .wr-l,.pxs .wr-r{width:64px;top:12%}
  .pxs .tr-l,.pxs .tr-r{width:118px;bottom:-1%}
  .pxs .gf-l,.pxs .gf-r,.pxs .ho-l,.pxs .ho-r,.pxs .rb-l,.pxs .rb-r,.pxs .kb-l,.pxs .kb-r,.pxs .fn-l,.pxs .tk-r{display:none}
  .pxs .fa-l,.pxs .fa-r{width:88px;top:9%}
  .pxs .pe-l,.pxs .pe-r{width:104px;bottom:-2%}
  .pxs .um-l,.pxs .um-r{width:150px;top:3%}
  .pxs .km-l{width:86px;left:1%}
  .pxs .hg-r{width:74px;right:2%}
  .lrow.lights{height:110px}.lrow.lights svg{height:110px}
  .lrow.garland{--gh:66px}
  html.ph-yearend .hero .wrap{padding-top:84px}
  html.ph-newyear .hero .wrap{padding-top:92px}
  .hero .crane-fly{width:110px;top:22%}
}

/* 2026-11-20 キャッチの「大盤振る舞い」＝虹色グラデが流れる（hue-rotate は濁るので使わず、グラデの位置を動かす。両端を同じ色にして継ぎ目なし） */
.hero .catch .rbw{font-style:normal;display:inline-block;background:linear-gradient(90deg,#ff2d8a 0%,#ff7a00 14%,#ffd800 28%,#3fe04f 43%,#00cfff 57%,#5f74ff 71%,#c84bff 85%,#ff2d8a 100%) 0 0/200% 100% repeat-x;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;animation:rbwflow 3.2s linear infinite;font-weight:800;filter:saturate(1.25) drop-shadow(0 1px 0 rgba(0,0,0,.55)) drop-shadow(0 0 12px rgba(255,255,255,.3))}
@keyframes rbwflow{to{background-position:-200% 0}}
html.ph-newyear .hero .catch .rbw{background-image:linear-gradient(90deg,#e0146a 0%,#e86a00 14%,#c79a00 28%,#1f9d3a 43%,#0a8fc4 57%,#3d4fd6 71%,#9a2fd0 85%,#e0146a 100%);filter:none}
@media(prefers-reduced-motion:reduce){.hero .catch .rbw{animation:none}}

/* 2026-11-21 トップのロゴを少し明るく */
.hero .logo{filter:brightness(1.2) saturate(1.08) contrast(1.03)}
