@charset "UTF-8";
/* トップページを開いたときの「誰かの心を、動かす」演出（2026年12月 追加）
   書体：Outfit（Google Fonts） */
html.is-opening{ overflow:hidden; }

#opening{
	position:fixed;
	top:0; left:0; right:0; bottom:0;
	z-index:10000;
	display:flex;
	justify-content:center;
	align-items:center;
	background:#000;
	overflow:hidden;
	animation:op-out .7s cubic-bezier(.65,0,.35,1) 2.75s forwards;
}
#opening .op-text{
	display:flex;
	gap:0;
	font-family:'Outfit', 'Noto Sans JP', sans-serif;
	font-weight:400;
	font-size:40px;
	line-height:1.2;
	letter-spacing:.12em;
	color:#fff;
	white-space:nowrap;
	animation:op-text-out 1s linear 2.0s forwards;
}
/* 1語ずつ、ぼかしから浮かび上がる */
#opening .op-word{
	display:inline-block;
	opacity:0;
	transform:translateY(.4em);
	filter:blur(8px);
	animation:op-word .9s cubic-bezier(.22,1,.36,1) forwards;
}
#opening .op-word:nth-child(1){ animation-delay:.3s; }
#opening .op-word:nth-child(2){ animation-delay:.5s; }

@keyframes op-word{ to{ opacity:1; transform:none; filter:blur(0); } }
/* 画面に向かって迫ってきながら、ぼけて消える */
@keyframes op-text-out{
	0%  { opacity:1; filter:blur(0);    transform:scale(1); }
	30% { opacity:1; filter:blur(0);    transform:scale(1.35); }
	55% { opacity:1; filter:blur(1px);  transform:scale(2.4); }
	75% { opacity:.9; filter:blur(4px); transform:scale(4.5); }
	100%{ opacity:0; filter:blur(16px); transform:scale(9); }
}
@keyframes op-out{ to{ opacity:0; visibility:hidden; } }

@media only screen and (max-width: 768px){
	#opening .op-text{ font-size:24px; } /* 30px→24px（20%小さく） */
}
/* 2回目以降（同じタブで戻ってきたとき）と、動きを減らす設定の方には出さない */
html.skip-opening #opening{ display:none; }
@media (prefers-reduced-motion: reduce){
	html.is-opening{ overflow:visible; }
	#opening{ display:none; }
}
