@charset "utf-8";


/*keyframes.cssの読み込み
---------------------------------------------------------------------------*/
@import url("keyframes.css");

/*Font Awesomeの読み込み
---------------------------------------------------------------------------*/
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css");

/*全端末（PC・タブレット・スマホ）共通設定
------------------------------------------------------------------------------------------------------------------------------------------*/

/*全体の設定
---------------------------------------------------------------------------*/
html, body {height: 100%;width: 100%;overflow: hidden;}
body {
	margin: 0px;
	padding: 0px;
	color: #666;	/*全体の文字色*/
	font-family: "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro","ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;	/*フォント種類*/
	font-size: 16px;	/*文字サイズ*/
	line-height: 2;		/*行間*/
	background: #fff;	/*背景色*/
}
h1,h2,h4,h5,p,ul,ol,li,dl,dt,dd,form,figure,form,select,textarea,input {margin: 0px;padding: 0px;font-size: 100%;font-weight: normal;}
ul {list-style-type: none;}
img {border: none;max-width: 100%;height: auto;vertical-align: middle;}
a {text-decoration: none;color: #666;transition: 0.5s;}

/*スライドショー
---------------------------------------------------------------------------*/
/*画像ブロック*/
#mainimg {
	clear: left;
	text-indent: -9999px;
	position: fixed;
	top: 0px;left: 0px;
	width: 100%;
	height: 100%;
	z-index: -1;
}
/*画像の共通設定*/
.slide0,.slide1,.slide2,.slide3 {width: 100%;height: 100%;}
.slide1,.slide2,.slide3 {
	animation-timing-function: linear;
	animation-duration: 20s;	/*実行する時間。「s」は秒の事。*/
	animation-iteration-count:infinite;		/*実行する回数。「infinite」は無限に繰り返す意味。*/
	position: absolute;left:0px;top:0px;width: 100%;height: 100%;
	animation-fill-mode: both;
}
/*土台画像*/
.slide0 {
	background: url(../images/0.jpg) no-repeat center center / cover;	/*土台画像（空）の読み込み*/
	position: relative;
}
/*１枚目*/
.slide1 {
	background: url(../images/1.jpg) no-repeat center bottom/cover;	/*１枚目画像（子供たち）の読み込み*/
	animation-name: slide1;		/*keyframes.cssで使う@keyframesの指定*/
}
/*２枚目*/
.slide2 {
	background: url(../images/2.jpg) no-repeat center center/cover;	/*２枚目画像（サッカー）の読み込み*/
	animation-name: slide2;		/*keyframes.cssで使う@keyframesの指定*/
}
/*３枚目*/
.slide3 {
	background: url(../images/3.jpg) no-repeat center top/cover;	/*３枚目画像（スイミング）の読み込み*/
	animation-name: slide3;		/*keyframes.cssで使う@keyframesの指定*/
}

/*ヘッダー（ロゴとお知らせが入ったブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
	animation-name: opa1;	/*keyframes.cssで使う@keyframesの指定*/
	animation-fill-mode: both;
	animation-duration: 1.5S;	/*アニメーションを実行する時間。「s」は秒の事。*/
	animation-delay: 4s;		/*出現するタイミング（秒後）*/
	position: absolute;
	left: 2%;		/*左からの配置場所指定*/
	bottom: 4%;		/*下からの配置場所指定*/
	width: 94%;		/*ブロックの幅*/
	height: 250px;	/*ブロックの高さ*/
	padding: 20px 0 20px 2%;	/*上、右、下、左へのブロック内の余白*/
	background: #fff;	/*背景色（古いブラウザ用）*/
	background: rgba(255,255,255,0.7);	/*背景色。255,255,255は白の事で0.7は色が70%出た状態の事。*/
}
/*ロゴ画像*/
header #logo img {
	width: 150px;	/*画像の幅*/
	float: left;	/*左に回り込み*/
	padding-right: 20px;	/*右に空ける余白*/
	padding-top: 20px;	/*右に空ける余白*/
}

/*「更新情報・お知らせ」ブロック
---------------------------------------------------------------------------*/
/*ブロック*/
#new {
	height: 250px;	/*高さ*/
	overflow: auto;	/*高さを超えたコンテンツになった場合にスクロールバーを出す*/
	line-height:1.8;
}
h3 {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  height:40px;
    line-height:40px;
    opacity: 0.8;
    background-color: #FFF;
}

/*日付設定*/
#new dt {
	float: left;
	width: 8em;		/*幅*/
	color: #f64d69;	/*文字色*/
	letter-spacing: 0.1em;
}

/*記事設定*/
#new dd {
	padding-left: 8em;
}
/*ボタン設定*/
.btn,
a.btn {
  color: #fff;
  background-color: #f64d69;
  padding:5px 10px;
}
.btn:hover,
a.btn:hover {
  color: #fff;
  background: #fa95b2;
}

a.btn--radius {
   border-radius: 0vh;/*角丸なし。*/
}

/*メインメニュー
---------------------------------------------------------------------------*/
/*メニュー１個あたりの設定*/
#menubar li {
	animation-name: scale1;		/*keyframes.cssで使う@keyframesの指定*/
	animation-fill-mode: both;
	animation-duration: 1S;		/*アニメーションを実行する時間。「s」は秒の事。*/
	opacity: 0.8;				/*透明度80%*/
	position: absolute;
}
#menubar li a {
	display: block;text-decoration: none;
	animation-name: rotate1;	/*keyframes.cssで使う@keyframesの指定*/
	animation-fill-mode: both;
	animation-duration: 4S;					/*アニメーションを実行する時間。「s」は秒の事。*/
	animation-iteration-count: infinite;	/*実行する回数。「infinite」は無限に繰り返す意味。*/
	animation-timing-function: linear;		/*アニメーションのパターン。速度を一定に変化させる指定。*/
	color: #fff;	/*文字色*/
	text-align: center;	/*文字をセンタリング*/
	width: 250px;		/*メニューの幅*/
	line-height: 250px;	/*メニューの高さ*/
}

/*１つ目のspanタグ（英語）への設定。通常時とマウスオン時で表示を切り替える設定です。*/
#menubar li span:first-child {display: block;}
#menubar li:hover span:first-child {display: none;}

/*２つ目のspanタグ（日本語）への設定。通常時とマウスオン時で表示を切り替える設定です。*/
#menubar li span:last-child {display: none;}
#menubar li:hover span:last-child {display: block;}

/*１つ目メニューへの追加設定*/
#menubar li:nth-of-type(1) {
	animation-delay: 4s;	/*出現するタイミング（秒後）*/
	left: 1%;	/*左からの配置場所指定*/
	top: -1%;	/*上からの配置場所指定*/
}
#menubar li:nth-of-type(1) a {
	background: url(../images/menu1.png) no-repeat center center / contain;	/*メニュー背景画像の読み込み*/
}
/*２つ目メニューへの追加設定*/
#menubar li:nth-of-type(2) {
	animation-delay: 4.2s;	/*出現するタイミング（秒後）*/
	left: 25%;	/*左からの配置場所指定*/
	top: 10%;	/*上からの配置場所指定*/
}
#menubar li:nth-of-type(2) a {
	background: url(../images/menu2.png) no-repeat center center / contain;	/*メニュー背景画像の読み込み*/
	animation-delay: 1s;	/*１個ずつメニューをずらしてスイングさせる為の指定*/
}
/*３つ目メニューへの追加設定*/
#menubar li:nth-of-type(3) {
	animation-delay: 4.4s;	/*出現するタイミング（秒後）*/
	right: 27%;	/*右からの配置場所指定*/
	top: 5%;	/*上からの配置場所指定*/
}
#menubar li:nth-of-type(3) a {
	background: url(../images/menu3.png) no-repeat center center / contain;	/*メニュー背景画像の読み込み*/
	animation-delay: 2s;	/*１個ずつメニューをずらしてスイングさせる為の指定*/
}
/*４つ目メニューへの追加設定*/
#menubar li:nth-of-type(4) {
	animation-delay: 4.6s;	/*出現するタイミング（秒後）*/
	right: 1%;	/*右からの配置場所指定*/
	top: -4%;	/*上からの配置場所指定*/
}
#menubar li:nth-of-type(4) a {
	background: url(../images/menu4.png) no-repeat center center / contain;	/*メニュー背景画像の読み込み*/
	animation-delay: 3s;	/*１個ずつメニューをずらしてスイングさせる為の指定*/
}

/*マウスオン時*/
#menubar li a:hover {
	width: 260px;	/*マウスオン時にちょっとだけ大きくする。通常サイズは上の「#menubar li a」で指定しています。*/
	animation-play-state: paused;	/*マウスオン時に一時停止する*/
}
#menubar li:hover {
	opacity: 1;	/*色を100%出す*/
}

/*フッター設定（copyrightなど）
---------------------------------------------------------------------------*/
footer {
	position: absolute;
	right: 0px;			/*右からの配置場所指定*/
	bottom: 0px;		/*下からの配置場所指定*/
	width: 100%;
	text-align: center;	/*センタリング*/
	font-size: 10px;	/*文字サイズ*/
}



/*画面幅900px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:900px){

/*ヘッダー（ロゴとお知らせが入ったブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
	bottom: 6%;		/*下からの配置場所指定*/
	padding: 5px 0 5px 2%;	/*上、右、下、左へのブロック内の余白*/
}
/*ロゴ画像*/
header #logo img {
	display: none;
}

/*メインメニュー
---------------------------------------------------------------------------*/
/*メニュー１個あたりの設定*/
#menubar li a {
	width: 200px;	/*幅*/
	line-height: 200px;	/*高さ*/
}
/*マウスオン時*/
#menubar li a:hover {
	width: 203px;	/*マウスオン時にちょっとだけ大きくする。通常サイズは上の「#menubar li a」で指定しています。*/
}

}



/*画面が縦向きの場合の設定、かつ、画面幅800px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (orientation:portrait) and (max-width:800px){

/*メインメニュー
---------------------------------------------------------------------------*/
/*１つ目メニューへの追加設定*/
#menubar li:nth-of-type(1) {
	left: -1%;	/*左からの配置場所指定*/
	top: 1%;	/*上からの配置場所指定*/
}
/*２つ目メニューへの追加設定*/
#menubar li:nth-of-type(2) {
	left: -1%;	/*左からの配置場所指定*/
	top: 20%;	/*上からの配置場所指定*/
}
/*３つ目メニューへの追加設定*/
#menubar li:nth-of-type(3) {
	right: -1%;	/*右からの配置場所指定*/
	top: 25%;	/*上からの配置場所指定*/
}
/*４つ目メニューへの追加設定*/
#menubar li:nth-of-type(4) {
	right: -1%;	/*右からの配置場所指定*/
	top: 4%;	/*上からの配置場所指定*/
}

/*フッター設定（copyrightなど）
---------------------------------------------------------------------------*/
footer .pr {
	display: block;
}

}


/*画面幅700px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:700px){

/*「更新情報・お知らせ」ブロック
---------------------------------------------------------------------------*/
/*ブロック*/
#new {
	font-size: 12px;
	height: 200px;	/*高さ*/
	line-height:1.6;
}

h3 {
	white-space: nowrap;
	font-size: 90%;
}
header {
	height: 200px;	/*ブロックの高さ*/
}
/*メインメニュー
---------------------------------------------------------------------------*/
/*メニュー１個あたりの設定*/
#menubar li a {
	width: 150px;	/*幅*/
	line-height: 150px;	/*高さ*/
}

}
