@charset "utf-8";
@import url("_template.css");
/* CSS Document */

.sp{
	display: none;
}

.pc{
	display: block;
}
/* ==========================================================================
   TOPアニメ
========================================================================== */
.special-site-container {
  position: relative; 
  overflow: hidden;
  width: 100%;
  height: 920px;
}

.animation-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ===================================================
   アニメーション 1：斜めずーしーほっきー
=================================================== */
.naname-chara {
  position: absolute;
  height: auto;
  opacity: 0;
  animation: slideDiagonal 2s linear infinite;
}

.delay-1 {
  top: 0;
  left: 340px;
  animation-delay: 0s;
}
.delay-2 {
  top: 540px;
  right: 0;
  animation-delay: 0.1s;
}

.delay-3 {
  top: 0;
  right: 0;
  animation-delay: 0.5s;
}

.delay-4 {
  top: 400px;
  right: 0;
  animation-delay: 1.2s;
}

.delay-5 {
  top: 0;
  left: 720px;
  animation-delay: 0.3s;
}

.delay-6 {
  top: 0;
  right: 500px;
  animation-delay: 0s;
}

@keyframes slideDiagonal {
  0% {

    transform: translate(0, 0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translate(-100vw, 100vh);
    opacity: 0;
  }
}


/* ===================================================
   アニメーション 2：横歩きずーしーほっきー
=================================================== */
.walking-chara {
  position: absolute;
  bottom: 100px;
  height: auto;
  animation: walkAndTurn 5s linear infinite; 
	z-index: 3;
}

@keyframes walkAndTurn {
  0% {
    left: 100%;
    transform: scaleX(1);
  }
  45% {
    left: -5%;
    transform: scaleX(1);
  }
  48% {
    left: -5%;
    transform: scaleX(-1);
  }

  50% {
    left: -5%;
    transform: scaleX(-1);
  }
  98% {
    left: 100%;
    transform: scaleX(-1);
  }
  99% {
    left: 100%;
    transform: scaleX(1);
  }
  100% {
    left: 100%;
    transform: scaleX(1);
  }
}

/* ==========================================================================
   ファストビュー
========================================================================== */
header {
   background: url("../images/top-bg.jpg") no-repeat top center;
  overflow: hidden;
  height: 820px;
}

header .inner {
  position: relative;
	z-index: 1;
}

header h2{
	position: absolute;
	top: 15px;
	left: 268px;
}

header .notice{
	position: absolute;
	top: 264px;
	left: 52px;
}

header .txt{
	position: absolute;
	top: 160px;
	left: 85px;
}

header .button{
	position: absolute;
	right: 1px;
	top: 380px;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

header .button li{
	margin-bottom: 12px
}


.chara-container {
  position: absolute;
  top: 254px;
  left: 50%;
  transform: translateX(-50%);
}

.chara-loop {
  width: 414px;
  height: 360px;
  margin: 0 auto;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  animation: changeChara 2s infinite;
}

@keyframes changeChara {
  /* 0%〜45%（最初の10秒弱）は1枚目の画像 */
  0%, 45% {
    background-image: url('../images/zushi_pose1.png');
  }
  /* 50%〜95%（後半の10秒弱）は2枚目の画像 */
  50%, 95% {
    background-image: url('../images/zushi_pose2.png');
  }
  /* 100%で1枚目に戻る */
  100% {
    background-image: url('../images/zushi_pose1.png');
  }
}

header .game-start{
	position: absolute;
	top: 614px;
	left: 50%;
  	transform: translateX(-50%);
}

header .zushicopy{
	position: absolute;
	top: 643px;
	left: 11px;
}

/* ==========================================================================
   about
========================================================================== */
#about {
   background: url("../images/about-bg.jpg") no-repeat top center;
  height: 714px;
}

#about .inner {
  position: relative;
}
#about h2{
	position: absolute;
	top: -20px;
	left: 197px;
}
#about .video-wrap{
	background: url("../images/about-video.png") no-repeat top center;
	width: 931px;
	height: 443px;
	position: relative;
	position: absolute;
	top: 216px;
	left: 30px;
}

#about .video-wrap iframe {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 906px;
  height: 414px;
}

/* ==========================================================================
   hokutoshi
========================================================================== */
#hokutoshi {
   background: url("../images/hokutoshi-bg.jpg") repeat top center;
  height: 930px;
	overflow: hidden;
}

#hokutoshi .inner {
  position: relative;
}

#hokutoshi h2{
	position: absolute;
	top: 66px;
	left: 36px;
}

#hokutoshi .alternate{
	position: absolute;
	top: 221px;
	left: 96px;
	background-color: white;
	width: 813px;
	height: 159px;
	overflow: hidden;
}

#hokutoshi .alternate .anime{
	display: flex;
	align-items: flex-end;
	padding-top: 5px;
	white-space: nowrap;
	animation: move-x 0.5s linear infinite alternate;
}
#hokutoshi .alternate img{
	max-width: none;
	margin-right: 7px;
}

#hokutoshi .alternate p{
	color: #1800ff;
	font-size: 30px;
	display: inline-block;
    transform: skewX(-15deg);
    text-decoration: underline;
	font-weight: bold;
	
}

@keyframes move-x {
      0% {
        transform: translateX(-70px);
      }
      100% {
        transform: translateX(10px);
      }
}

#hokutoshi .chara li{
	position: absolute;
}

#hokutoshi .chara li:nth-of-type(1){
	top: 381px;
	left: -297px;
}

#hokutoshi .chara li:nth-of-type(2){
	top: 381px;
	right: -297px;
}

#hokutoshi .hokutoshi-intro{
	position: absolute;
	top: 445px;
	left: 95px;
	background-color: #ffbebe;
	width: 813px;
	height: 267px;
}

#hokutoshi .hokutoshi-intro p{
	text-align: center;
	font-size: 20px;
	line-height: 1.7;
	padding-top: 12px;
}

#hokutoshi .hokutoshi-intro span{
	color: red;
	display: inline-block;
	 transform: skewX(-15deg);
    text-decoration: underline;
	font-weight: bold;
}
#hokutoshi .btn{
	position: absolute;
	top:752px;
	left: 80px;
	display: flex;
	gap: 20px;
}

#hokutoshi .balloon{
	position: absolute;
	top: 194px;
	right: -445px;
}

/* ==========================================================================
   gift
========================================================================== */
#gift {
   background: url("../images/gift-bg.jpg") no-repeat top center;
  height: 1004px;
	overflow: hidden;
}

#gift .inner {
  position: relative;
}

#gift h2{
	position: absolute;
	top: 49px;
	left: 0;
}

#gift p, #gift h3, #gift .chara li{
	position: absolute;
}

#gift p.modal-img1{
	top: 206px;
	left: 258px;
}

#gift h3.subhead{
	top: 527px;
	left: 31px;
}

#gift p.modal-img2{
	top: 647px;
	left: 7px;
}

#gift h3.subhead2{
	top: 527px;
	right: 8px;
}

#gift p.modal-img3{
	top: 647px;
	right: 7px;
}

#gift .chara li:nth-of-type(1){
	top: 400px;
	left: -427px;
}

#gift .chara li:nth-of-type(2){
	top: 400px;
	right: -427px;
}
/* ==========================================================================
   zushi-hokky
========================================================================== */
#zushi-hokky {
   background: url("../images/zushi-hokki-bg.jpg") no-repeat top center;
  height: 654px;
}

#zushi-hokky .inner {
  position: relative;
}

#zushi-hokky .waku{
	 background: url("../images/zushi-hokki-waku.png") no-repeat top center;
	width: 941px;
  height: 533px;
	position: absolute;
	top: 59px;
	left: 36px;
}

#zushi-hokky .waku h2{
	position: absolute;
	top: 30px;
	left: 49px;
}

#zushi-hokky .waku .zushi-hokky-txt{
	position: absolute;
	top: 205px;
	left: 60px;
	font-size: 20px;
	line-height: 1.7;
}

#zushi-hokky .waku .zushi-hokky-btn{
	position: absolute;
	top: 399px;
	left: 27px;
}

/* ==========================================================================
   footer-btn
========================================================================== */
.footer-btn{
	 background: url("../images/footer-bg.jpg") no-repeat top center;
	height: 208px;
}
.footer-btn ul{
	padding-top: 40px;
	display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
}


/* ==========================================================================
   footer
========================================================================== */

footer{
	padding: 30px 0;
}

footer .footer-logos{
	display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
	padding-bottom: 34px;
}

footer .footer-copyright{
	text-align: center;
	font-size: 12px;
}

/* ==========================================================================
   loading
========================================================================== */
#loading {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .5s ease;
  }
  #loading.is-end { opacity: 0; pointer-events: none; }

  .loading__stage {
    position: relative;
    width: min(70vw, 440px);
    aspect-ratio: 878 / 637;          /* 1フレームのサイズ比 */
  }

  /* 6コマのスプライト（縦並び）。0.1秒/コマ = 0.6秒で1ループ */
  .loading__sprite {
    position: absolute;
    inset: 0;
    background: url("../images/loading-sprite.jpg") no-repeat 0 0 / 100% 600%;
    animation: sprite .7s steps(6, jump-none) forwards; 
    transition: opacity .5s ease;
  }
  @keyframes sprite {
    from { background-position: 0 0; }
    to   { background-position: 0 100%; }
  }
  .is-sprite-out .loading__sprite { opacity: 0; }

  /* ロゴ：下から上へフェードイン */
  .loading__logo {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(80vw, 520px);
    height: auto;
    opacity: 0;
    transform: translate(-50%, calc(-50% + 40px));
    transition: opacity .6s ease, transform .6s cubic-bezier(.22,.61,.36,1);
  }
  .is-logo-in .loading__logo {
    opacity: 1;
    transform: translate(-50%, -50%);
  }

  /* ローディング中はスクロール禁止 
  html.is-loading, html.is-loading body { overflow: hidden; }*/

  @media (prefers-reduced-motion: reduce) {
    .loading__sprite { animation-duration: 0.8s; }
  }