/* ── オープニング：漫画の効果音・名言が画面を埋め尽くし、最後にロゴとキャラクターが残る ── */
.op{position:fixed;inset:0;z-index:300;background:#0E0E10;overflow:hidden;cursor:pointer}
.op.done{opacity:0;visibility:hidden;transition:opacity .7s ease,visibility .7s}
.op-fx{position:absolute;inset:0}
.op-fx.shake{animation:opShake .45s cubic-bezier(.36,.07,.19,.97)}
@keyframes opShake{10%,90%{transform:translate(-3px,2px)}20%,80%{transform:translate(6px,-4px)}30%,50%,70%{transform:translate(-10px,6px) rotate(-.6deg)}40%,60%{transform:translate(10px,-6px) rotate(.6deg)}}

/* 効果音：白文字＋黒フチ（添付イメージのような切り抜き風） */
.sfx{position:absolute;white-space:nowrap;line-height:1;color:#fff;font-weight:400;
  -webkit-text-stroke:var(--sw,6px) #0E0E10;paint-order:stroke fill;
  filter:drop-shadow(0 0 0 #fff) drop-shadow(3px 3px 0 #fff);
  transform:translate(-50%,-50%) rotate(var(--r,0deg)) scale(0);opacity:0;
  animation:opPop .32s cubic-bezier(.2,1.6,.4,1) forwards}
.sfx.f1{font-family:"Op Dela Gothic One","Dela Gothic One",sans-serif}
.sfx.f2{font-family:"Op Reggae One","Reggae One",sans-serif}
.sfx.f3{font-family:"Op RocknRoll One","RocknRoll One",sans-serif}
.sfx.blue{color:var(--accent,#2F5BFF)}
.sfx.ink{color:#0E0E10;-webkit-text-stroke:var(--sw,6px) #fff}
@keyframes opPop{0%{transform:translate(-50%,-50%) rotate(var(--r)) scale(2.6);opacity:0}60%{opacity:1}100%{transform:translate(-50%,-50%) rotate(var(--r)) scale(1);opacity:1}}

/* 名言：フキダシ */
.quote{position:absolute;transform:translate(-50%,-50%) rotate(var(--r,0deg)) scale(0);opacity:0;
  background:#fff;color:#0E0E10;border:4px solid #0E0E10;border-radius:50% / 46%;
  padding:clamp(18px,2vw,34px) clamp(26px,3vw,52px);font-family:"Zen Kaku Gothic New",sans-serif;font-weight:900;
  font-size:clamp(16px,1.6vw,30px);line-height:1.5;text-align:center;writing-mode:horizontal-tb;
  box-shadow:0 0 0 6px #fff;animation:opPop .38s cubic-bezier(.2,1.5,.4,1) forwards}
.quote.v{writing-mode:vertical-rl;padding:clamp(26px,3vw,52px) clamp(18px,2vw,30px)}

/* 中央の決め：ドン!!（left:50% で置くと使える幅が画面の半分になるので、折り返さない。狭い画面では、傾き・縁取り・影を含めて左右に 10px 以上空くように小さく） */
.op-don{position:absolute;left:50%;top:50%;z-index:5;font-family:"Op Dela Gothic One","Dela Gothic One",sans-serif;font-size:min(clamp(120px,22vw,420px),calc((100vw - 40px) / 2.83));white-space:nowrap;
  color:#fff;-webkit-text-stroke:14px #0E0E10;paint-order:stroke fill;filter:drop-shadow(8px 8px 0 var(--accent,#2F5BFF));
  transform:translate(-50%,-50%) scale(0) rotate(-8deg);opacity:0}
.op-don.on{animation:opDon .5s cubic-bezier(.2,1.7,.3,1) forwards}
@keyframes opDon{0%{transform:translate(-50%,-50%) scale(4) rotate(-8deg);opacity:0}100%{transform:translate(-50%,-50%) scale(1) rotate(-8deg);opacity:1}}

/* 集中線 */
.op-lines{position:absolute;inset:-20%;z-index:4;opacity:0;background:repeating-conic-gradient(from 0deg at 50% 50%,rgba(255,255,255,.0) 0deg 4deg,rgba(255,255,255,.55) 4deg 5deg);
  -webkit-mask:radial-gradient(circle at 50% 50%,transparent 0 22%,#000 46%);mask:radial-gradient(circle at 50% 50%,transparent 0 22%,#000 46%)}
.op-lines.on{animation:opLines .9s ease-out forwards}
@keyframes opLines{0%{opacity:0;transform:scale(1.4)}30%{opacity:1}100%{opacity:.85;transform:scale(1) rotate(4deg)}}

/* 白い画面に切り替わってロゴとキャラクター */
.op-end{position:absolute;inset:0;z-index:10;background:#fff;clip-path:circle(0% at 50% 50%);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(16px,3vh,40px)}
.op-end.on{animation:opWipe .7s cubic-bezier(.7,0,.2,1) forwards}
@keyframes opWipe{to{clip-path:circle(150% at 50% 50%)}}
.op-logo-w{display:flex;justify-content:center;color:#111114;line-height:0}
.op-logo{display:block;width:auto;height:clamp(140px,30vh,320px);max-width:70vw;opacity:0;transform:translateY(30px) scale(.9)}
.op-end.on .op-logo{animation:opIn .7s .45s cubic-bezier(.2,1.4,.4,1) forwards}
.op-chars{display:flex;align-items:flex-end;justify-content:center;gap:clamp(4px,1vw,16px);height:min(clamp(105px,24vh,270px),calc(70vw / 1.95));opacity:0;transform:translateY(60px)}
.op-chars img{width:auto;height:100%}
.op-chars .op-dog{height:92%}
.op-end.on .op-chars{animation:opIn .8s .75s cubic-bezier(.2,1.5,.4,1) forwards}
.op-copy{font-family:"Zen Kaku Gothic New",sans-serif;font-weight:900;font-size:clamp(14px,1.2vw,20px);letter-spacing:.2em;color:#0E0E10;opacity:0}
.op-end.on .op-copy{animation:opIn .6s 1.1s ease forwards}
@keyframes opIn{to{opacity:1;transform:none}}

.op-skip{position:absolute;right:20px;top:20px;z-index:20;height:40px;padding:0 18px;border-radius:999px;border:1.5px solid rgba(255,255,255,.6);background:rgba(14,14,16,.6);color:#fff;font-family:Anton,sans-serif;letter-spacing:.12em;font-size:14px;cursor:pointer}
.op-skip:hover{background:#fff;color:#0E0E10}
.op.end .op-skip{border-color:#0E0E10;color:#0E0E10;background:#fff}

@media (max-width:767px){.sfx{--sw:4px}.op-don{-webkit-text-stroke:8px #0E0E10}}
@media (prefers-reduced-motion:reduce){.op{display:none}}
