@charset "utf-8";

/*-------------------------------------
css初期化
--------------------------------------*/
* {
	margin: 0;
	padding: 0;
}

body {
	font-family: sans-serif;
	font-size: 100%;
}

div:after {
	content: "";
	display: block;
	clear: both;
}

/*-------------------------------------
タグの基本設定
--------------------------------------*/
body {
	background: rgb(251, 255, 199);
	line-height: 1.6;
	font-size: 81.25%;
	color: #414141;
}

html {
	overflow-y: scroll;
}

a {
	text-decoration: none;
	outline: none;
	color: #333333;
}

a:hover{
	text-decoration: underline;
	color: #666666;
}

a:hover img{
	opacity: 0.80;
}

/*--------------------------------------------------------------------
Container
--------------------------------------------------------------------*/
div#Container {
	width: 945px;
	padding: 10px 0;
	margin: 0 auto;
	background: rgb(251, 255, 199);
}

/*--------------------------------------------------------------------
h1
--------------------------------------------------------------------*/
h1 {
	padding: 10px 0;
	text-align: center;
}

/*--------------------------------------------------------------------
Contents
--------------------------------------------------------------------*/
div#Contents {
	width: 945px;
	margin: 0 auto;
	padding: 10px 0;
	overflow: hidden;
}

div#Contents:after {
	display: block;
	clear: both;
	height: 0;
	line-height: 0;
	font-size: 0;
}

/*--------------------------------------------------------------------
Nav
--------------------------------------------------------------------*/
nav {
	width: 945px;
	margin: 0 auto;
}

nav ul li {
	list-style: none;
	width: 189px;
	margin: 0 0 20px 0;
	float: left;
}

nav ul li a {
	display: block;
	width: 189px;
	height: 0px;
	padding-top:50px;
	overflow: hidden;
}

nav ul li#nav01 a {
  background-image: url(../img/button01.png);
}

nav ul li#nav02 a {
  background-image: url(../img/button02.png);
}

nav ul li#nav03 a {
  background-image: url(../img/button03.png);
}

nav ul li#nav04 a {
  background-image: url(../img/button04.png);
}

nav ul li#nav05 a {
  background-image: url(../img/button05.png);
}

nav ul li a:hover,
	nav ul#index li#nav01 a,
	nav ul#kadai01 li#nav02 a,
	nav ul#kadai02 li#nav03 a,
	nav ul#kadai03 li#nav04 a,
	nav ul#kadai04 li#nav05 a{
	background-position: 0 -50px;
  transition: all 0.35s ease-out;
}

/*--------------------------------------------------------------------
Main
--------------------------------------------------------------------*/
div#Main {
	width: 700px;
	margin: 0 auto;
}

div#Main h2 {
	font-size: 350%;
	font-weight: bold;
	color: #a7f2ff;
}

div#Main div#TopImg {
	margin: 20px auto 0 auto;
	text-align: center;
}

div#Main div#PortImg {
	margin: 25px auto 0 auto;
	text-align: center;
}

div#Main p {
	color: #504946;
	margin-top: 25px;
}

div#Main table {
	width: 80%;
	margin: 10px auto 20px auto;
	border-collapse: collapse;
	border: 0 none;
}

div#Main table tr th {
	width: 25%;
	padding: 5px 10px;
	background: rgb(48, 32, 32);
	border: 1px solid #504946;
	text-align: left;
	vertical-align: top;
	color: #86dbd0;
}

div#Main table tr td {
	width: 75%;
	padding: 5px 10px;
	border: 1px solid #504946;
	text-align: left;
	vertical-align: top;
}

div#Main table tr td ul {
	padding: 0 0 0 8px;
	margin: 0 0 0 8px;
}

div#Main table tr td ol {
	padding: 0 0 0 8px;
	margin: 0 0 0 8px;
}

.movie__youtube {
    position: relative;
    aspect-ratio: 16 / 9;
}


/*--------------------------------------------------------------------
pagetop
--------------------------------------------------------------------*/
.pagetop {
	text-align: right;
}

/*--------------------------------------------------------------------
address
--------------------------------------------------------------------*/
address {
	clear: both;
	text-align: center;
	color: #504946;
}
/*-------------------------------------
歩くキャラクター
--------------------------------------*/

.walking-area {
    position: relative;
    width: 100%;
    height: 80px;
    overflow: hidden;
}

.walking-character {
    position: absolute;
    bottom: 0;
    left: 0;
    animation: walking 10s linear infinite;
}

.walking-character img {
    width: 200px;
}

@keyframes walking {
    0% {
        left: 0;
    }

    100% {
        left: calc(100% - 60px);
    }
}
/* =========================
   カルーセル
========================= */

.carousel {
    width: 700px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 20px;
    animation: carousel 32s infinite ease-in-out;
}

.slide {
    width: 700px;
    flex-shrink: 0;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
}


/* =========================
   8枚のスライド
========================= */

@keyframes carousel {

    /* 1枚目 */
    0%, 10% {
        transform: translateX(0);
    }

    /* 2枚目 */
    12%, 22% {
        transform: translateX(-720px);
    }

    /* 3枚目 */
    24%, 34% {
        transform: translateX(-1440px);
    }

    /* 4枚目 */
    36%, 46% {
        transform: translateX(-2160px);
    }

    /* 5枚目 */
    48%, 58% {
        transform: translateX(-2880px);
    }

    /* 6枚目 */
    60%, 70% {
        transform: translateX(-3600px);
    }

    /* 7枚目 */
    72%, 82% {
        transform: translateX(-4320px);
    }

    /* 8枚目 */
    84%, 94% {
        transform: translateX(-5040px);
    }

    /* 最初に戻る */
    96%, 100% {
        transform: translateX(0);
    }
}
/* =================================
   チョコレートが降ってくる
================================= */

.chocolate-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;

    pointer-events: none;
    overflow: hidden;

    z-index: 9998;
}

.chocolate-rain span {
    position: absolute;
    top: -50px;

    font-size: 25px;

    animation-name: chocolateFall;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}


/* チョコ① */
.chocolate-rain span:nth-child(1) {
    left: 5%;
    animation-duration: 7s;
    animation-delay: 0s;
}

/* チョコ② */
.chocolate-rain span:nth-child(2) {
    left: 12%;
    font-size: 18px;
    animation-duration: 9s;
    animation-delay: 2s;
}

/* チョコ③ */
.chocolate-rain span:nth-child(3) {
    left: 20%;
    font-size: 30px;
    animation-duration: 8s;
    animation-delay: 4s;
}

/* チョコ④ */
.chocolate-rain span:nth-child(4) {
    left: 28%;
    font-size: 20px;
    animation-duration: 10s;
    animation-delay: 1s;
}

/* チョコ⑤ */
.chocolate-rain span:nth-child(5) {
    left: 200%;
    font-size: 100px;
    animation-duration: 7s;
    animation-delay: 3s;
}

/* チョコ⑥ */
.chocolate-rain span:nth-child(6) {
    left: 43%;
    font-size: 18px;
    animation-duration: 9s;
    animation-delay: 5s;
}

/* チョコ⑦ */
.chocolate-rain span:nth-child(7) {
    left: 50%;
    font-size: 27px;
    animation-duration: 8s;
    animation-delay: 2s;
}

/* チョコ⑧ */
.chocolate-rain span:nth-child(8) {
    left: 58%;
    font-size: 20px;
    animation-duration: 10s;
    animation-delay: 4s;
}

/* チョコ⑨ */
.chocolate-rain span:nth-child(9) {
    left: 65%;
    font-size: 35px;
    animation-duration: 7s;
    animation-delay: 0s;
}

/* チョコ⑩ */
.chocolate-rain span:nth-child(10) {
    left: 72%;
    font-size: 20px;
    animation-duration: 9s;
    animation-delay: 3s;
}

/* チョコ⑪ */
.chocolate-rain span:nth-child(11) {
    left: 80%;
    font-size: 30px;
    animation-duration: 8s;
    animation-delay: 5s;
}

/* チョコ⑫ */
.chocolate-rain span:nth-child(12) {
    left: 87%;
    font-size: 18px;
    animation-duration: 10s;
    animation-delay: 1s;
}

/* チョコ⑬ */
.chocolate-rain span:nth-child(13) {
    left: 93%;
    font-size: 28px;
    animation-duration: 7s;
    animation-delay: 4s;
}

/* チョコ⑭ */
.chocolate-rain span:nth-child(14) {
    left: 16%;
    font-size: 22px;
    animation-duration: 11s;
    animation-delay: 6s;
}

/* チョコ⑮ */
.chocolate-rain span:nth-child(15) {
    left: 78%;
    font-size: 25px;
    animation-duration: 9s;
    animation-delay: 7s;
}


/* =================================
   チョコが上から下へ落ちる
================================= */

@keyframes chocolateFall {

    0% {
        top: -50px;
        transform: rotate(0deg);
    }

    50% {
        transform: translateX(30px) rotate(180deg);
    }

    100% {
        top: 110vh;
        transform: translateX(-30px) rotate(360deg);
    }

}


/* =================================
   歩くキャラクター
================================= */

.walk-character {
    position: fixed;

    right: 100px;
    top: -120px;

    z-index: 9999;

    animation: walkDown 12s linear infinite;

    pointer-events: none;
}

.walk-character img {
    width: 250px;
    height: auto;
    display: block;
}


/* キャラクターが上から下へ歩く */

@keyframes walkDown {

    0% {
        top: -120px;
    }

    100% {
        top: 100vh;
    }

}
/* =================================
   左側を歩くキャラクター
================================= */

.walk-character-left {
    position: fixed;

    left: 100px;
    top: -120px;

    z-index: 9999;

    animation: walkDownLeft 15s linear infinite;

    pointer-events: none;
}

.walk-character-left img {
    width: 250px;
    height: auto;
    display: block;

    /* 左右反転 */
    transform: scaleX(-1);
}


/* 左上から左下へ移動 */

@keyframes walkDownLeft {

    0% {
        top: -120px;
    }

    100% {
        top: 100vh;
    }

}
/* =================================
   カルーセル
================================= */

.carousel {
    width: 700px;
    margin: 0 auto 40px;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 20px;

    animation: carousel 32s infinite ease-in-out;
}

.slide {
    width: 700px;
    flex-shrink: 0;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
}


/* 6枚のスライド */

@keyframes carousel {

    0%, 10% {
        transform: translateX(0);
    }

    12%, 22% {
        transform: translateX(-720px);
    }

    24%, 34% {
        transform: translateX(-1440px);
    }

    36%, 46% {
        transform: translateX(-2160px);
    }

    48%, 58% {
        transform: translateX(-2880px);
    }

    60%, 70% {
        transform: translateX(-3600px);
    }

    72%, 82% {
        transform: translateX(-4320px);
    }

    84%, 94% {
        transform: translateX(-5040px);
    }

    96%, 100% {
        transform: translateX(0);
    }

}
/* =========================
   カルーセル
========================= */

.carousel {
    width: 700px;
    height: 394px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 20px;
    
    animation: slide 45s infinite;
}

.slide {
    width: 700px;
    min-width: 700px;
    height: 394px;
    flex-shrink: 0;
}

.slide img {
    width: 700px;
    height: 394px;
    object-fit: contain;
    display: block;
}


/* =========================
   YouTube
========================= */

.slide iframe {
    width: 700px;
    height: 394px;
    border: none;
    display: block;
}


/* =========================
   スライド
========================= */

@keyframes slide {

    /* ① */
    0% {
        transform: translateX(0);
    }

    /* ② */
    20% {
        transform: translateX(0);
    }

    22% {
        transform: translateX(-720px);
    }

    /* ③ 動画 */
    32% {
        transform: translateX(-720px);
    }

    34% {
        transform: translateX(-1440px);
    }

    /* ④ */
    44% {
        transform: translateX(-1440px);
    }

    46% {
        transform: translateX(-2160px);
    }

    /* ⑤ */
    56% {
        transform: translateX(-2160px);
    }

    58% {
        transform: translateX(-2880px);
    }

    /* ⑥ */
    68% {
        transform: translateX(-2880px);
    }

    70% {
        transform: translateX(-3600px);
    }

    /* 最初に戻る */
    100% {
        transform: translateX(0);
    }
}
/* ========================================
   銭湯アニメーション
======================================== */

.sento-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;

    pointer-events: none;
    z-index: 9999;
}


/* ========================================
   富士山
======================================== */

.fuji-mountain {
    position: fixed;

    right: 30px;
    bottom: 20px;

    font-size: 180px;

    opacity: 0.12;

    animation: fujiFloat 5s ease-in-out infinite;
}


/* 富士山がほんの少し浮く */

@keyframes fujiFloat {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }

}


/* ========================================
   湯気
======================================== */

.steam {
    position: fixed;

    left: 50%;
    bottom: 20px;

    width: 200px;
    height: 300px;

    transform: translateX(-50%);
}


/* 湯気の線 */

.steam span {
    position: absolute;

    bottom: 0;

    width: 35px;
    height: 180px;

    border-radius: 50%;

    border-left: 5px solid rgba(255,255,255,0.5);

    animation: steamUp 5s ease-in-out infinite;
}


/* それぞれ少しずつ動きを変える */

.steam span:nth-child(1) {
    left: 30px;
    animation-delay: 0s;
}

.steam span:nth-child(2) {
    left: 90px;
    height: 220px;
    animation-delay: 1.5s;
}

.steam span:nth-child(3) {
    left: 150px;
    height: 160px;
    animation-delay: 3s;
}


/* 湯気がゆらゆら上がる */

@keyframes steamUp {

    0% {
        transform: translateY(50px) rotate(-8deg);
        opacity: 0;
    }

    20% {
        opacity: 0.8;
    }

    50% {
        transform: translateY(-80px) rotate(8deg);
        opacity: 0.5;
    }

    100% {
        transform: translateY(-180px) rotate(-8deg);
        opacity: 0;
    }

}


/* ========================================
   泡
======================================== */

.bath-bubbles {
    position: fixed;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 100vh;

    overflow: hidden;

    pointer-events: none;
}


/* 泡 */

.bath-bubbles span {
    position: absolute;

    bottom: -50px;

    width: 22px;
    height: 22px;

    border: 3px solid rgba(255,255,255,0.8);

    border-radius: 50%;

    background: rgba(255,255,255,0.25);

    animation: bubbleUp 9s linear infinite;
}


/* 泡の場所 */

.bath-bubbles span:nth-child(1) {
    left: 5%;
    animation-delay: 0s;
}

.bath-bubbles span:nth-child(2) {
    left: 15%;
    transform: scale(0.6);
    animation-delay: 2s;
}

.bath-bubbles span:nth-child(3) {
    left: 25%;
    transform: scale(1.3);
    animation-delay: 4s;
}

.bath-bubbles span:nth-child(4) {
    left: 35%;
    transform: scale(0.8);
    animation-delay: 1s;
}

.bath-bubbles span:nth-child(5) {
    left: 45%;
    transform: scale(1.1);
    animation-delay: 5s;
}

.bath-bubbles span:nth-child(6) {
    left: 55%;
    transform: scale(0.7);
    animation-delay: 3s;
}

.bath-bubbles span:nth-child(7) {
    left: 65%;
    transform: scale(1.4);
    animation-delay: 6s;
}

.bath-bubbles span:nth-child(8) {
    left: 75%;
    transform: scale(0.8);
    animation-delay: 2.5s;
}

.bath-bubbles span:nth-child(9) {
    left: 85%;
    transform: scale(1.2);
    animation-delay: 4.5s;
}

.bath-bubbles span:nth-child(10) {
    left: 95%;
    transform: scale(0.6);
    animation-delay: 7s;
}

.bath-bubbles span:nth-child(11) {
    left: 40%;
    transform: scale(0.5);
    animation-delay: 6.5s;
}

.bath-bubbles span:nth-child(12) {
    left: 80%;
    transform: scale(0.9);
    animation-delay: 8s;
}


/* 泡がふわふわ上昇 */

@keyframes bubbleUp {

    0% {
        bottom: -50px;
        margin-left: 0;
        opacity: 0;
    }

    15% {
        opacity: 0.8;
    }

    50% {
        margin-left: 35px;
        opacity: 0.7;
    }

    100% {
        bottom: 100vh;
        margin-left: -35px;
        opacity: 0;
    }

}


/* ========================================
   桶
======================================== */

.bath-bucket {
    position: fixed;

    left: -120px;
    top: 45%;

    font-size: 65px;

    animation: bucketMove 14s linear infinite;

}


/* 桶がゆっくり横切る */

@keyframes bucketMove {

    0% {
        left: -120px;
        transform: rotate(-12deg);
    }

    20% {
        transform: rotate(10deg);
    }

    40% {
        transform: rotate(-8deg);
    }

    60% {
        transform: rotate(8deg);
    }

    80% {
        transform: rotate(-10deg);
    }

    100% {
        left: 110%;
        transform: rotate(10deg);
    }

}
/* =========================
   ロード画面
========================= */

#LoadingScreen {
    position: fixed;
    z-index: 9999;

    top: 0;
    left: 0;

    width: 100%;
    height: 100vh;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background: linear-gradient(
        135deg,
        #fff7fb,
        #f5f1ff
    );

    transition: opacity 1s ease;
}


/* タイトル */

.loading-title {
    font-family: "Yomogi", cursive;

    font-size: 70px;
    color: #ff8fba;

    text-shadow:
        3px 3px 0 white,
        5px 5px 0 #ffd7e7;

    margin-bottom: 15px;
}


/* サブタイトル */

.loading-subtitle {
    font-family: "Yomogi", cursive;

    font-size: 20px;
    color: #9b8ca5;

    margin-bottom: 30px;
}


/* ロードバー */

.loading-bar {
    width: 500px;
    max-width: 75%;

    height: 25px;

    padding: 5px;

    background: white;

    border-radius: 50px;

    box-shadow:
        0 5px 20px rgba(210,160,190,0.2);
}


#LoadingProgress {
    width: 0%;
    height: 100%;

    border-radius: 50px;

    background: linear-gradient(
        90deg,
        #ffb6d5,
        #d9c7ff
    );

    transition: width 0.15s ease;
}


/* パーセント */

#LoadingPercent {
    margin-top: 15px;

    font-family: "Yomogi", cursive;

    font-size: 25px;
    color: #ff91ba;
}


/* Loading文字 */

#LoadingText {
    margin-top: 5px;

    font-family: "Yomogi", cursive;

    font-size: 17px;
    color: #aaa0ad;
}
/* =========================
   アイドル風ロード画面
========================= */

#LoadingScreen {
    position: fixed;
    z-index: 99999;

    top: 0;
    left: 0;

    width: 100%;
    height: 100vh;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background: linear-gradient(
        135deg,
        #fff5fa,
        #f8f2ff
    );

    animation: loadingFade 4s forwards;
}


/* タイトル */

.loading-title {
    font-family: "Yomogi", cursive;

    font-size: 70px;

    color: #ff8fba;

    letter-spacing: 5px;

    text-shadow:
        3px 3px 0 #ffffff,
        5px 5px 0 #ffd7e7;

    margin-bottom: 15px;

    animation: titleFloat 2s infinite;
}


/* サブタイトル */

.loading-subtitle {
    font-family: "Yomogi", cursive;

    font-size: 20px;

    color: #a999aa;

    margin-bottom: 30px;
}


/* プログレスバー */

.loading-bar {
    width: 500px;
    max-width: 70%;

    height: 25px;

    padding: 5px;

    background: #ffffff;

    border-radius: 30px;

    box-shadow:
        0 5px 20px rgba(220,160,190,0.25);
}


/* バー */

#LoadingProgress {
    width: 0%;
    height: 100%;

    border-radius: 30px;

    background: linear-gradient(
        90deg,
        #ffafd0,
        #d8c5ff
    );

    animation: progress 4s linear forwards;
}


/* Loading文字 */

.loading-percent {
    margin-top: 15px;

    font-family: "Yomogi", cursive;

    font-size: 20px;

    color: #ff8fb9;

    animation: percentText 4s linear forwards;
}


/* =========================
   アニメーション
========================= */

@keyframes progress {

    0% {
        width: 0%;
    }

    25% {
        width: 25%;
    }

    50% {
        width: 50%;
    }

    75% {
        width: 75%;
    }

    100% {
        width: 100%;
    }

}


@keyframes loadingFade {

    0% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        pointer-events: none;
    }

}


@keyframes titleFloat {

    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

}