@charset "utf-8";


/*/shizenkagakukoubou/css/keyframes.cssの読み込み
---------------------------------------------------------------------------*/
@import url("/shizenkagakukoubou/css/keyframes.css");
@import url("/shizenkagakukoubou/css/bootstrap.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,h3,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;}
a.anchor {
    display: block;
    padding-top: 100px;
    margin-top: -100px;
}
/*------*/
h1 {
  color: #505050;/*文字色*/
  padding: 0.5em;/*文字周りの余白*/
/*  display: inline-block;/*おまじない*/
  line-height: 1.3;/*行高*/
  background: #dbebf8;/*背景色*/
  vertical-align: middle;
  border-radius: 25px 25px 25px 25px;/*左側の角を丸く*/
}

h1:before {
  content: '●';
  color: white;
  margin-right: 8px;
}
/*スライドショー
---------------------------------------------------------------------------*/
/*画像ブロック*/
#mainimg {
	clear: left;
/*	text-indent: -9999px;*/
	position: relative;
	top: 10%;left: 5vw;
	width: 90vw;
	height: 40vw;
	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(/shizenkagakukoubou/images/0.jpg) no-repeat center center / cover;	/*土台画像（空）の読み込み*/
	position: relative;
	top: 100px;
}
/*１枚目*/
.slide1 {
	background: url(/shizenkagakukoubou/images/1.jpg) no-repeat center bottom/cover;	/*１枚目画像（子供たち）の読み込み*/
	animation-name: slide1;		/*/shizenkagakukoubou/css/keyframes.cssで使う@keyframesの指定*/
	top: 100px;
}
/*２枚目*/
.slide2 {
	background: url(/shizenkagakukoubou/images/2.jpg) no-repeat center center/cover;	/*２枚目画像（サッカー）の読み込み*/
	animation-name: slide2;		/*/shizenkagakukoubou/css/keyframes.cssで使う@keyframesの指定*/
	top: 100px;
}
/*３枚目*/
.slide3 {
	background: url(/shizenkagakukoubou/images/3.jpg) no-repeat center top/cover;	/*３枚目画像（スイミング）の読み込み*/
	animation-name: slide3;		/*/shizenkagakukoubou/css/keyframes.cssで使う@keyframesの指定*/
	top: 100px;
}

/*  navbar*/
.navbar{
	padding-left:2%;
}
.navbar-logo img{
	width :30%;
}

.message_on_slide{
	width : 60%;
	color: #fff;	/*文字色*/
	position: relative;
	bottom:8vw ;left: 10%;
	/*z-index: 1;*/
}
.message_on_slide h2{
	padding-left:2%;
	font-size: 3vw;font-weight: normal;
	background: rgba(40,40,40,0.1);
}
.message_on_slide h2 small{
	padding-left:2%;
	font-size: 2vw;font-weight: normal;
}
.message_on_slide h3{
	padding-left:2%;
	background: rgba(40,40,40,0.1);
	font-size: 2vw;font-weight: normal;
}
/*-------------*/
.logo{
	display: none;
}
/*新着情報（ロゴとお知らせが入ったブロック）
---------------------------------------------------------------------------*/
/*新着情報*/
.top_news {
	/*animation-name: opa1;	/*/shizenkagakukoubou/css/keyframes.cssで使う@keyframesの指定*/
	/*animation-fill-mode: both;
	animation-duration: 1S;	/*アニメーションを実行する時間。「s」は秒の事。*/
	/*animation-delay: 1s;		/*出現するタイミング（秒後）*/
	/*position: relative;
	/* top: 30px;		*/
	margin-left: auto;
    margin-right: auto; 
	width: 94%;		/*ブロックの幅*/
	height: 250px;	/*ブロックの高さ*/
	padding: 20px 0 20px 2%;	/*上、右、下、左へのブロック内の余白*/
	/*background: #fff;	/*背景色（古いブラウザ用）*/
	/*background: rgba(255,255,255,0.8);	/*背景色。255,255,255は白の事で0.7は色が70%出た状態の事。*/
	/*z-index: 3;*/
}
/*ロゴ画像*/
.top_news #logo img {
	width: 300px;	/*画像の幅*/
	float: left;	/*左に回り込み*/
	padding: 15px 40px 0 2%;	/*上、右、下、左に空ける余白*/
}

.container {
	display: flex;
	flex-wrap: wrap;
	width: 94%;		/*ブロックの幅*/
  }
  
.box {
	flex: 1;
	margin: 10px;
	padding: 20px;
	border: 1px solid #ccc;
    box-shadow: 0 0 15px 0 rgba(0,0,0,.10);
	text-align: center;
    transition: ease all 0.5s;
	height: 350px;	/*高さ*/
	overflow: scroll;
  }
.box:hover,
.box:focus {
	background: #07528d;
	color: #fff;
  }
.box h2 {
	font-size: 20px;
	margin-bottom: 15px;
	margin-top: 15px;
}  
.box h3 {
	font-size: 14px;
	color: #8ED1E0;
}  
/*ブロック*/
#new {
	height: 220px;	/*高さ*/
	overflow: auto;	/*高さを超えたコンテンツになった場合にスクロールバーを出す*/
}
/*日付設定*/
#new dt {
	float: left;
	width: 8em;		/*幅*/
	color: #D1708C;	/*文字色*/
	letter-spacing: 0.1em;
}
/*記事設定*/
#new dd {
	padding-left: 8em;
}
/*  最近の活動 */
.recent{
	position: relative;
    margin-left: auto;
    margin-right: auto;
	width: 94%;		/*ブロックの幅*/
	padding: 20px 0 20px 2%;	/*上、右、下、左へのブロック内の余白*/
	/* z-index: 3;*/
}
.recent ul {
	text-align: left;
	padding: 0 15px;
	margin-bottom: 15px;
}
.tw_timeline{
	position: relative;
    margin-left: auto;
    margin-right: auto;
  	max-width: 40%;
}
/*メニュー
---------------------------------------------------------------------------*/
/*========= ナビゲーションドロップダウンのためのCSS ===============*/
header{
	position :fixed;
	width: 100%;
	z-index: 100;
}
/*==ナビゲーション全体の設定*/
#menubar{
	background:#005834;
	color:#fff;
	text-align: center;
  margin: 0 0 10px 0;	/*上、右、下、左に空ける余白*/
}
/*ロゴ画像*/
#menubar #logo img {
	width: 280px;	/*画像の幅*/
	float: left;	/*左に回り込み*/
	padding: 5px 20px 10px 2%;	/*上、右、下、左に空ける余白*/
}
/*ナビゲーションを横並びに*/
#menubar ul{
	list-style: none;
	display: flex;
	justify-content: center;
}
/*2階層目以降は横並びにしない*/
#menubar ul ul{
	display: block;
}

#menubar ul li img{
  width: 200px ;
  height: auto;
}
/*下の階層のulや矢印の基点にするためliにrelativeを指定*/
#menubar ul li{
	position: relative;
}

/*ナビゲーションのリンク設定*/
#menubar ul li a{
	display: block;
	text-decoration: none;
	color: #ddd;
	padding: 35px 2vw 10px 2vw;
	transition:all .3s;
}

#menubar ul li li a{
	padding:10px 5px;
}

#menubar ul li a:hover{
	background:#fff;
	color:#005834;
}

/*==矢印の設定*/

/*2階層目を持つliの矢印の設定*/
#menubar ul li.has-child::before{
	content:'';
	position: absolute;
	left:15px;
	top:25px;
	width:6px;
	height:6px;
	border-top: 2px solid #999;
    border-right:2px solid #999;
    transform: rotate(135deg);
}

/*3階層目を持つliの矢印の設定*/
#menubar ul ul li.has-child::before{
	content:'';
	position: absolute;
	left:6px;
	top:17px;
	width:6px;
	height:6px;
    border-top: 2px solid #fff;
    border-right:2px solid #fff;
    transform: rotate(45deg);
}

/*== 2?3階層目の共通設定 */

/*下の階層を持っているulの指定*/
#menubar li.has-child ul{
    /*絶対配置で位置を指定*/
	position: absolute;
	left:0;
	top:72px;
	/* z-index: 4;*/
    /*形状を指定*/
	background:#fff;
	width:200px;
    /*はじめは非表示*/
	visibility: hidden;
	opacity: 0;
    /*アニメーション設定*/
	transition: all .3s;
}

/*hoverしたら表示*/
#menubar li.has-child:hover > ul,
#menubar li.has-child ul li:hover > ul,
#menubar li.has-child:active > ul,
#menubar li.has-child ul li:active > ul{
  visibility: visible;
  opacity: 1;
}

/*ナビゲーションaタグの形状*/
#menubar li.has-child ul li a{
	color: #005834;
	border-bottom:solid 1px rgba(255,255,255,0.6);
}

#menubar li.has-child ul li:last-child a{
	border-bottom:none;
}

#menubar li.has-child ul li a:hover,
#menubar li.has-child ul li a:active{
	background:#fff;
  color:#FFD700
}


/*==3階層目*/

/*3階層目の位置*/
#menubar li.has-child ul ul{
	top:0;
	left:182px;
	background:#fff;
}

#menubar li.has-child ul ul li a:hover,
#menubar li.has-child ul ul li a:active{
	background:#fff;
}

#menubar p{
  margin:0 ;
  padding:0 ;
  margin-top: -1px;
  text-align: left;
}
/*スマホ用メニューを表示させない*/
#menubar-s {display: none;text-indent: -9999px;}
/*３本バーアイコンを表示させない*/
#menubar_hdr {display: none;}


/*--------------------------*/
/*==900px以下の形状*/

@media screen and (max-width:1000px){

/*==ナビゲーション全体の設定*/
#menubar{
	font-size: 14px;
}
/*ロゴ画像*/
#menubar #logo img {
	width: 180px;	/*画像の幅*/
	padding: 5px 0px 0 2%;	/*上、右、下、左に空ける余白*/
}

/*ナビゲーションのリンク設定*/
#menubar ul li a{
	padding: 20px 10px;
}
}
/*矢印の位置と向き*/
/*
nav ul li.has-child::before{
	left:20px;	
}

nav ul ul li.has-child::before{
    transform: rotate(135deg);
	left:20px;
}
    
nav ul li.has-child.active::before{
    transform: rotate(-45deg);
}

}*/
/* 

【ドロップダウンメニューが他の要素の下に来てしまう場合】
リストの親要素にposition 指定＋z-index 指定をして他の要素よりもz-indexの値を大きくすると解決します。

※例：
nav{
position:relative;
z-index:999;
} */

/*フッター設定（copyrightなど）
---------------------------------------------------------------------------*/
footer {
	color: #fff;	/*全体の文字色*/
	width: 100%;
	text-align: center;	/*センタリング*/
	font-size: 10px;	/*文字サイズ*/
    background: #005834;
} 
footer a{
	color: #fff;	/*全体の文字色*/
} 
.footer-box {
	margin-top: 20px;
    padding: 10px 0px;
}

footer.footer-box p {
    font-size: 16px;
}

/*------------------*/
.icon{
	height: 5vw;
	width: 20vw;
}
.icon ul {
	display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
}
.icon img {
    width: 35px;
}
.icon ul li {
	display: inline;
	margin: 20px 10px; /*上、右、下、左に空ける余白*/
}

/*------------------*/
.footer_content{
	height: 5vw;
	width: 20vw;
}

/*------------------*/
.footer_content img{
	width: 200px;
}
/*------------------*/
.footer_content_link{
	height: 5vw;
	width: 20vw;
	margin: 20px 10px; /*上、右、下、左に空ける余白*/
}

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

/*全体の設定
---------------------------------------------------------------------------*/
body {
	font-size: 13px;
}

/*ヘッダー
---------------------------------------------------------------------------*/
/*ヘッダーブロック。ロゴとメニューブロックです。*/
header {
	float: none;
	position: static;
	height: auto;
}
/*ロゴ画像（Macaroon Shop）*/
header #logo img {
	width: 80px;	/*幅*/
	top: 20px;		/*上からの配置場所指定*/
	left: 20px;		/*左からの配置場所指定*/
	transform: rotate(-15deg);	/*マイナス15度回転する*/
}
/*h2タグ設定（ロゴの下に重なった左右にスイングする見出し）*/
header h2 {
	position: absolute;
	top: 0px;			/*上からの配置場所指定*/
	left: 60px;			/*左からの配置場所指定*/
	width: 200px;		/*幅*/
	padding: 10% 0;		/*上下、左右へのの余白*/
}

/*mainコンテンツ
---------------------------------------------------------------------------*/
#main {
	float: none;
	width: auto;
	padding-top: 45%;	/*上のブロック内の余白の再設定*/
}
/*メインコンテンツのh2タグ設定*/
#main h2 {
	font-size: 20px;		/*文字サイズ*/
}
/*メインコンテンツのh3タグ設定*/
#main h3 {
	padding-left: 0px;		/*左側余白をゼロに*/
	font-size: 18px;		/*文字サイズ*/
}
/*mainコンテンツの段落タグ設定*/
#main p {
	padding: 0px 0px 20px;	/*上、左右、下への余白*/
}

#mainimg {
	top: -10vw;left: 5vw;
	width: 90vw;
	height: 40vw;
}

.message_on_slide{
	width : 80%;
	color: #fff;	/*文字色*/
	position: relative;
	bottom:70px ;left: 10%;
	z-index: 1;
}
.message_on_slide h1{
	padding-left:2%;
	font-size: 24px;font-weight: normal;
	background: rgba(40,40,40,0.1);
}
.message_on_slide h1 small{
	padding-left:2%;
	font-size: 18px;font-weight: normal;
}
.message_on_slide h2{
	padding-left:2%;
	background: rgba(40,40,40,0.1);
	font-size: 14px;font-weight: normal;
}
/*メインメニュー
---------------------------------------------------------------------------*/
/*スマホ用メニューブロック*/
#menubar-s {
	display: block;text-indent: inherit;
	animation-name: opa1;		/*/shizenkagakukoubou/css/keyframes.cssで使う@keyframesの指定*/
	animation-duration: 1S;		/*アニメーションの実行時間*/
	animation-fill-mode: both;	/*アニメーションの待機中は最初のキーフレームを維持、終了後は最後のキーフレームを維持。*/
	background: rgba(0,0,0,0.85);	/*背景色。0,0,0は黒の事で、0.85は色が85%出た状態の事。*/
	position: fixed;overflow: auto;z-index: 100;
	left: 0px;
	top: 0px;
	width: 100%;		/*幅。上のpaddingと合わせて100%になるように。*/
	height: 100%;	/*高さ。上のpaddingと合わせて100%になるように。*/
	text-align: center;	/*テキストをセンタリング*/
	font-size: 20px;
}
#menubar-s > ul {
	margin-top: 100px;	/*メニューの上側にあける余白*/
}
/*メニュー１個あたりの設定*/
#menubar-s li a {
	text-decoration: none;display: block;
	color: #fff;
	padding-bottom: 30px;
}
/*小文字の指定（最後のspanタグ）*/
#menubar-s li span:last-child {
	display: block;
	font-size: 11px;	/*文字サイズ*/
}
/*PC用メニューを非表示にする*/
#menubar {display: none;}
/*-------------*/
.logo{
	display:block;
	width : 200px;
	padding : 10px 0;
}
.logo img{
	margin-left:10px;
}
/*３本バーアイコン設定
---------------------------------------------------------------------------*/
/*３本バーブロック*/
#menubar_hdr {
	display: block;
	position: fixed;
	z-index: 100;
	top: 20px;	/*上からの配置場所指定*/
	right: 3%;	/*右からの配置場所指定*/
	border: 1px solid #fff;	/*枠線の幅、線種、色*/
}
/*アイコン共通設定*/
#menubar_hdr.close,
#menubar_hdr.open {
	width: 50px;	/*幅*/
	height: 50px;	/*高さ*/
	border-radius: 50%;
}
/*三本バーアイコン*/
#menubar_hdr.close {
	background: #f64d69 url(../images/icon_menu.png) no-repeat center top/50px;
}
/*閉じるアイコン*/
#menubar_hdr.open {
	background: #f64d69 url(../images/icon_menu.png) no-repeat center bottom/50px;
}

/*テーブル
---------------------------------------------------------------------------*/
/*テーブル内の余白の変更*/
.ta1 caption,
.ta1, .ta1 td, .ta1 th {
	padding: 5px;
}
/*ta1の左側ボックス*/
.ta1 th {
	width: 100px;
}

/*ul.disc,olタグ
---------------------------------------------------------------------------*/
ul.disc {
	padding: 0 0px 20px 25px;
}
ol {
	padding: 0 0px 20px 25px;
}

/*その他
---------------------------------------------------------------------------*/
.ws {width: 96%;}
.big1 {font-size: 18px;letter-spacing: normal;}

/*------------------*/
.icon{
	height: initial;
	width: 45vw;
}
/*------------------*/
.footer_content{
	height: initial;
	width: 45vw;
}
/*------------------*/
.footer_content img{
	width: 150px;
}
/*------------------*/
.footer_content_link{
	height: initial;
	width: 45vw;
	margin: 20px 10px; /*上、右、下、左に空ける余白*/
}

}

@media screen and (max-width:700px){
	#main .fig img {
		display: none;
	}
}

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

/*ヘッダー
---------------------------------------------------------------------------*/
/*h2タグ設定（ロゴの下に重なった左右にスイングする見出し）*/
header h2 {
	font-size: 18px;		/*文字サイズ*/
}

/*2枚目*/
.slide1,.slide2,.slide3 {
	display: none;
}

.message_on_slide{
	display: none;
}

.top_news {
	margin-top: 60px;
	height: 120px;	/*ブロックの高さ*/
	padding: 10px 0 10px 2%;	/*上、右、下、左へのブロック内の余白*/
}
/*listブロック（menu.html マカロンメニューページで使っています）
---------------------------------------------------------------------------*/
/*ブロック１個あたりの設定*/
#main .list {
	float: none;	/*回り込みの解除*/
	width: 60%;		/*ボックスの幅*/
	margin: 0 auto 30px;
}
/*h4タグと段落タグ。１カラムになるので、文字数により切れてしまうのを解除。*/
#main .list h4,
#main .list p {
	height: auto;
	overflow: auto;
}

/*PAGE TOP（↑）設定
---------------------------------------------------------------------------*/
/*ボタンの設定*/
body.is-fixed-pagetop .nav-fix-pos-pagetop a {
	width: 70px;		/*幅を少し小さくリサイズする*/
}

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

/*ヘッダー（ロゴとお知らせが入ったブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
.top_news {
  margin-top: 20px;
  height: auto; /* 高さ固定を解除 */
  padding: 10px 0 10px 2%;
  overflow: hidden;
}

/*ロゴ画像*/
.top_news #logo img {
	display: none;
}

/*-----*/
footer.footer-box p {
    font-size: 12px;
    margin-top: 10px;
    line-height: 15px;
}
footer.footer-box p small{
    font-size: 12px;
    margin-top: 0;
    line-height: 15px;
}
footer.footer-box h4{
    font-size: 12px;
    margin-top: 0;
    line-height: 15px;
}
.footer_blog_snn ul li a i h4{
    color: #fff;
	display: inline;
    font-size: 12px;
    line-height: 20px;
}
.footer_blog_snn ul {
    margin-top: 0px;
    float: left;
    list-style: none;
    width: 100%;
}
.footer_blog_snn img {
    width: 20px;
}
.footer_blog_last a {
    font-size: 14px;
}
.footer_blog_last{
	padding-left: 0px;
    font-size: 14px;
    margin-right: 10px;
    margin-top:5px
}
#new {
  max-height: 200px;
  overflow-y: auto;
  padding-right: 10px;
}

.recent {
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

.container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.box {
  flex: 1 1 45%;  /* 2列に収まるよう調整 */
  margin: 10px 0;
  height: auto;
  overflow: visible;
}

.logo img {
  width: 100%;
  height: auto;
}

}


@media screen and (max-width:768px) {
	#new {
	  max-height: 150px;
	  overflow-y: auto;
	  padding-right: 10px;
	}
	#new dl {
	  display: block;
	}
	#mainimg {
		position: relative;  /* ← absoluteじゃなくてrelativeで高さを保持 */
		top: 0;
		margin-top: 60px;
		margin-bottom: 80px; /* recent との隙間を確保 */
		z-index: auto;       /* -1をやめて通常の重なり順に */
		height: auto;        /* 高さ固定を解除（画像が自動で広がる） */
	  }
	  
	  .slide1,
	  .slide2,
	  .slide3 {
		display: none; /* モバイルでは重いスライドを非表示 */
	  }
	  
	  .message_on_slide {
		display: none; /* メッセージも不要なら非表示（表示したければ調整可） */
	  }
	  
	  .top_news {
		margin-top: 20px;
		position: relative;
		z-index: 1;
	  }
	  
	  .recent {
		margin-top: 20px;
		position: relative;
		z-index: 1;
	  }
  }