﻿@charset "utf-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;600;900&&display=swap");

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font: inherit; font-size: 100%; vertical-align: baseline; }

html { line-height: 1; }
ol, ul { list-style: none; }
table { border-collapse: collapse; border-spacing: 0; }
caption, th, td { text-align: left; font-weight: normal; vertical-align: middle; }
q, blockquote { quotes: none; }
q:before, q:after, blockquote:before, blockquote:after { content: ""; content: none; }
a img { border: none; }
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary { display: block; }
html { overflow: auto; scroll-behavior: smooth; }
body { 
	overflow: hidden;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
	color: #333333;
	font-size: 100%;
	line-height: 160%;
}

a {color: #fff;text-decoration: none;}
img {max-width: 100%;height: auto;width /***/: auto;margin: 0;padding: 0;vertical-align: bottom;}
.clear {clear: both;}
strong {font-weight: bold;}
.sp{display:none;}

/* ヘッダー
=========================================================================================== */
.head{
	width: 100%;
	background:#FFF;
	border-bottom: 1px solid #CCC;
    position: relative;
    z-index: 1;
}
.head .cont{
	max-width: 1000px;
	margin: 0 auto;
	padding: 5px 0;
	display: block;
	overflow: hidden;
}
.head .cont img{
    height: 55px;
    margin: 1% 0;
}
.petal-area{
  position: relative;
  width: 100%;       /* 落下させたい範囲の高さ。必要に応じて */
  overflow: hidden;       /* 範囲外は非表示 */
  pointer-events: none;
  background: url(../img/main.png) center / cover no-repeat;
  aspect-ratio: 1918 / 1356;   /* 箱の比率 */
}

.petal{
  position: absolute;
  top: -40px;
  left: 0;
  will-change: transform;
  user-select: none;
  -webkit-user-drag: none;
}
/* タイトル
=========================================================================================== */
#title{
	width: 100%;
    background: url(../img/back-flower.png) no-repeat #ffeb2b;
    background-size: 8%;
    background-position: -1% 6%;
    text-align: center;
    position: relative;
    z-index: 0;
}
#title .tx1{
	width: 70%;
    margin: 0 auto;
    padding: 5% 0 3% 0;
    opacity: 0;
}
#title .tx1.is-active{
    animation: inTx1 1.2s ease forwards;
}
#title .tx2{
	width: 90%;
    opacity: 0;
    margin: 0 auto;
    padding: 0;
}
#title .tx2 p{
    display: inline-block;
    font-family: 'Noto Sans JP', sans-serif;
    color: #00b7e7;
    font-size: calc(20 *(100vw/768));
    font-weight: 600;
    line-height: 1.8;
}
#title .tx2 span{
    color: #fff100;
}
#title .tx2.is-active{
    animation: inTx2 0.6s ease forwards;
}
@keyframes inTx1 {
0% {
    opacity: 0;
    transform: scaleX(0) scaleY(0);
}
50% {
    opacity: 1;
    transform: scaleX(1.2) scaleY(1.2);
}
100% {
    opacity: 1;
    transform: scaleX(1) scaleY(1);
}
}
@keyframes inTx2 {
0% {
    opacity: 0;
    transform: translateY(10%); 
}
100% {
    opacity: 1;
    transform: translateY(0);
}
}

#title .menu ul{
    width: 90%;
    margin: 0 auto;
    padding: 5% 0 8% 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#title .menu ul li{
    width: 48%;
    margin: 1%;
}

.event{
    background: url(../img/back-dot.png);
    background-size: 100%;
}
.event h2{
    margin: 0 auto;
    padding: 5% 0 2% 0;
    text-align: center;
}
.event h2 img{
    width: 70%;
}
.event .left, .event .right {
    opacity: 0;
}
.event .evt1{
    background: url(../img/sakura1.png) top right no-repeat;
    background-size: 102%;
    background-position: -0% 0;
}
.event .evt2{
    background: url(../img/sakura2.png) top left no-repeat;
    background-size: 8%;
    background-position: -1% 40%;
    margin-top: -2.6%;
}
.event .evt3{
    background: url(../img/sakura3.png) top right no-repeat;
    background-size: 9%;
    background-position: 102% 30%;
    margin-top: -2.6%;
}
.event .evt4{
    background: url(../img/sakura4.png) top left no-repeat;
    background-size: 9%;
    background-position: -1% 75%;
    margin-top: -2.6%;
}
.event .evt5{
    background: url(../img/sakura5.png) top right no-repeat;
    background-size: 4%;
    background-position: 98% 80%;
}
.event .evt6{
    background: url(../img/sakura6.png) top left no-repeat;
    background-size: 4%;
    background-position: 5% 85%;
}
.event .evt7{
    background: url(../img/sakura7.png) top right no-repeat;
    background-size: 8%;
    background-position: 98% 55%;
    margin-top: -2.6%;
}
.event .evt8{
    background: url(../img/sakura8.png) top left no-repeat;
    background-size: 4%;
    background-position: 2% 45%;
    margin-top: -2.6%;
}
.event .evt9{
    background: url(../img/sakura9.png) top right no-repeat;
    background-size: 9%;
    background-position: 96% 45%;
    margin-top: -2.6%;
}
.event .evt10{
    background-size: 9%;
    background-position: -1% 80%;
    margin-top: -2.6%;
}



.event .left.is-active{
   animation: evtLeftIn 0.5s ease forwards;
   }
.event .right.is-active{
   animation: evtRightIn 0.5s ease forwards;
}
@keyframes evtLeftIn {
0% {
    opacity: 0;
    transform: translateX(-110%); 
}
100% {
    opacity: 1;
    transform: translateX(-10%);
}
}
@keyframes evtRightIn {
0% {
    opacity: 0;
    transform: translateX(110%); 
}
100% {
    opacity: 1;
    transform: translateX(10%);
}
}/* .event を基準にして上から被せる */
.event{
  position: relative; /* 追加：花びらの絶対配置の基準 */
}

/* イベント用の花びらレイヤー（上に被せるだけ） */
.petal-area--event{
  position: absolute;
  inset: 0;              /* top/right/bottom/left:0 と同じ */
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  background: none;      /* 既存の main.png 背景は不要なら消す */
  aspect-ratio: auto;    /* 既存の比率固定も不要なら解除 */
  z-index: 2;            /* 画像の上に出したいなら */
}

/* イベント内のコンテンツを花びらより上/下どちらにするか調整
   花びらを“手前”にしたい→コンテンツは z-index:1
   花びらを“奥”にしたい→.petal-area--event の z-index を下げる */
.event > *:not(.petal-area--event){
  position: relative;
  z-index: 1;
}

/* バナー
======================================================== */
.banner{
    background: #ffeb2b;
    text-align: center;
    padding: 5% 0;
}
.banner ul {
    width: 80%;
    margin: 0 auto;
}
.banner ul li{
    margin-bottom: 5%;
}
.banner p{
    font-size: calc(8 *(100vw/768));
    line-height: 1.8;
}

/* ページトップ
======================================================== */
#page-top {
    position: fixed;
    bottom: 6%;
    right: 20px;
    z-index: 1;
    border: 2px solid #FFF;
    text-align: center;
    font-weight: bold;
    padding: 0.5em 1em ;
    background: #00b7e7;
    border-radius: 5px;
    filter: drop-shadow(0px 0px 5px rgba(0,0,0,0.5));    
}


/* フッター
=========================================================================================== */
footer{
    width: 100%;
    margin: 0 auto;
	padding: 8px 0;
	font-size: 10px;
    background:#FFF;
	color:#333;
	text-align:center;
	clear:both;
    border-bottom:  1px solid #333;
}

ul.ft_menu { width:1000px; text-align:center; margin:40px auto; }
ul.ft_menu li { font-size:1.5em; margin:20px 1em; display:inline; }
ul.ft_menu li a { color:#333; display: inline-block; }

.copyright{
    width: 100%;
    margin: 0 auto;
	padding: 8px 0;
	font-size: 10px;
    background:#FFF;
	color:#333;
	text-align:center;
	clear:both;  
}
.copyright .tx{margin: 1em 0;}
.copyright .link{
    width: 600px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin:40px auto;padding-bottom: 40px}
.copyright .link a:nth-child(1) img{height: 50px;}
.copyright .link a:nth-child(2) img{height: 35px;}

/*===============================================
●style.css 画面の横幅が1000pxまで
===============================================*/
@media screen and (max-width: 1000px) {
.head .cont{
	width: 98%;
	margin: 0 auto;
	padding: 5px 0;
	display: block;
	overflow: hidden;
}
.head .cont img{
    height: 40px;
}



#page-top {
    font-size: 80%;
    padding: 0.2em 1em ;
    bottom: 2%;
    
}

/* タイトル
=========================================================================================== */
#title img.tx1{
	width: 90%;
}
#title img.tx2{
	width: 90%;
}
#title .tx3 p{
    font-size: calc(24 *(100vw/768));
}

#title .menu ul{
    width: 90%;
    margin: 0 auto;
    padding: 5% 0 8% 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#title .menu ul li{
    width: 48%;
    margin: 2% 1%;
}
/* フッター
=========================================================================================== */
footer{
    width: 100%;
    margin: 0 auto;
	padding: 8px 0;
	font-size: 10px;
    background:#FFF;
	color:#333;
	text-align:center;
	clear:both;
    border-bottom:  1px solid #333;
}
ul.ft_menu { width:95%; text-align:center; margin:2% auto; }
ul.ft_menu li { font-size:1.2em; margin:3%; display:block; text-align:center; width:100%; }
	
.copyright .link{
    width: 95%;
    flex-wrap: wrap;
}
.copyright .link a:nth-child(1) img{height: auto;width: 65%;margin-bottom: 10%;}
.copyright .link a:nth-child(2) img{height: auto;width: 70%;}

/* ボトム
======================================================== */
.bottom p{
    font-size: 50%;
}
}
/*===============================================
●tablet.css 画面の横幅が768pxまで
===============================================*/
@media screen and (max-width: 768px) {

.sp{display:block;}
.pc{display: none;}
	
}
/*===============================================
●smart.css  画面の横幅が640pxまで
===============================================*/
@media screen and (max-width:640px) {
.head .cont img{
	height: 25px;	
}
	
}



