/* ハナのサンタ 公式サイト｜共通リセット & ユーティリティ
   M's Factory 2026 */
*,*::before,*::after{box-sizing:border-box}
*{margin:0}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}}
body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;overflow-x:hidden}
img,svg,video{display:block;max-width:100%;height:auto}
a{color:inherit}
button,input,select,textarea{font:inherit;color:inherit}
input,textarea,select{font-size:16px}
:where(h1,h2,h3,h4){text-wrap:balance;line-height:1.28}
p{text-wrap:pretty}
/* 日本語の改行位置を文節単位に（不自然な行末を防ぐ） */
body,p,li,dd,dt,blockquote,figcaption,h1,h2,h3,h4,td,th,button,a,span,strong,em,small,time{
  word-break:auto-phrase;line-break:strict;overflow-wrap:break-word}
ul,ol{padding:0;list-style:none}
table{border-collapse:collapse}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
:focus-visible{outline:3px solid #ffd76a;outline-offset:3px;border-radius:4px}
.tnum{font-variant-numeric:tabular-nums}
/* スクロール表示 */
.reveal{opacity:0;transform:translateY(44px);
  transition:opacity 1.5s cubic-bezier(.22,.7,.2,1),transform 1.6s cubic-bezier(.22,.7,.2,1);
  will-change:opacity,transform}
.reveal.is-in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none}}
