/* 動きを1段階強くする追加設定（style.css のあとに読み込む） */
@keyframes p-title{from{opacity:0;transform:translateY(70%);clip-path:inset(0 0 100% 0)}to{clip-path:inset(0 0 -20% 0)}}
@keyframes p-lantern{from{filter:brightness(.18) saturate(.6)}45%{filter:brightness(.45) saturate(.9)}to{filter:none}}
/* 右と下は、ずらした色の面が切れないように広げる */
@keyframes p-open{from{clip-path:inset(0 100% -16px 0)}to{clip-path:inset(0 -16px -16px 0)}}
@keyframes p-up{from{opacity:0;transform:translateY(60%)}}
@keyframes p-slide{from{transform:translateX(-36px);opacity:0}}
@media screen and (prefers-reduced-motion:no-preference){
  /* ロゴ：スクロールに合わせて回り、速く動かすと広がり、止まると集まる */
  .bgmark{rotate:var(--rot,0deg);transform-origin:42.4% 50.4%}
  .bgmark i{translate:calc(var(--x)*var(--sp,0)*1px) calc(var(--y)*var(--sp,0)*1px)}
  /* ヘッダーの下：どこまで読んだかを3色の線で示す */
  body>header.fixed::after{content:"";position:absolute;left:0;right:0;bottom:-2px;height:4px;background:var(--tri);clip-path:inset(0 calc(100% - var(--p,0)*100%) 0 0)}
  /* 冒頭：見出しが1行ずつせり上がる */
  .hero h1>span{animation-name:p-title;animation-duration:1.2s}
  /* 湯あかり：暗い写真に、ゆっくり灯りがともる */
  .heroimg img{height:118%!important;translate:0 calc(var(--hp,0)*-15%)}
  .heroimg.m-in,.heroimg.m-wait{animation:none;opacity:1}
  .heroimg.p-dark img{animation:none;filter:brightness(.18) saturate(.6)}
  .heroimg.p-lit img{animation:settle 3.4s var(--ease) both,p-lantern 3.4s ease-in-out both}
  /* 受賞団体：賞の名前 → 写真 → 数字の順に現れる */
  .p-wait:not(.award){opacity:0}
  .award.p-wait .emblem{opacity:0}
  .award.p-in .emblem{animation:p-slide 1s var(--ease) both}
  .award.p-in .emblem i{animation:gather 1.4s var(--ease) .15s both;--from:translate(calc(var(--x)*45%),calc(var(--y)*45%))}
  img.p-in{animation:p-open 1.3s var(--ease) .15s both}
  dl>div.p-in{animation:p-up .9s var(--ease) var(--pd,0s) both}
}
