@charset "utf-8";


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


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

/*全体の設定
---------------------------------------------------------------------------*/
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 no-repeat center top / 100%;	/*背景色、背景画像の読み込み*/
	background-attachment: fixed;
}
h1,h2,h3,h4,h5,p,ul,ol,li,dl,dt,dd,form,figure,form,input,textarea {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;}
table {border-collapse:collapse;font-size: 100%;border-spacing: 0;}
video {max-width: 100%;}
/*iframe {width: 100%;}*/

/*body class="bg2"にした場合の背景画像。about.htmlの上部背景に適用されています。*/
body.bg1 {background-image: url(/shizenkagakukoubou/images/bg1.png);}
body.bg2 {background-image: url(/shizenkagakukoubou/images/bg2.png);}
body.bg3 {background-image: url(/shizenkagakukoubou/images/bg3.png);}
body.bg4 {background-image: url(/shizenkagakukoubou/images/bg4.png);}

/*リンク（全般）設定
---------------------------------------------------------------------------*/
a {
	 color: #2B7578;		/*リンクテキストの色*/
	transition: 0.5s;	/*マウスオン時の移り変わるまでの時間設定。0.5秒。*/
}
a:hover {
	 color: #f64d69;			/*マウスオン時の文字色*/
	text-decoration: none;	/*マウスオン時に下線を消す設定。残したいならこの１行削除。*/
}
h4.anchor {
    display: block;
    padding-top: 100px;
    margin-top: -100px;
}
/*コンテナー（サイト全体を囲むブロック）
---------------------------------------------------------------------------*/
#container {
/*	padding: 3%;	/*ブロック内の余白*/
}

/*---------------------------------------------------------------------------*/
/*サイドブロック*/
.side {
	background: #ffee66;
	overflow: auto; height: 100%;
	float: left;	/*左に回り込み*/
	width: 18%;		/*幅*/
	padding: 0 0;	/*h2がスイングするので、若干の左右の余白を作っておきます*/
	position: fixed;	/*スクロールしても固定表示させる指定*/
	top: 0;		/*上からの配置場所指定*/
	left: 0;		/*左からの配置場所指定*/
}
/*ロゴ画像*/
.side #logo img {
	width: 35%;	/*幅*/
	position: absolute;z-index: 1;
	left: 10%;	/*左からの配置場所指定*/
	top: 0px;	/*上からの配置場所指定*/
	border-radius: 50%;	/*丸くする指定*/
}
/*h2タグ設定（ロゴの下に重なった左右にスイングする見出し）*/
.side h2 {
	animation-name: rotate1;	/*/shizenkagakukoubou/css/keyframes.cssで使う@keyframesの指定*/
	animation-duration: 8S;		/*アニメーションを実行する時間。「s」は秒の事。*/
	animation-iteration-count: infinite;	/*実行する回数。「infinite」は無限に繰り返す意味。*/
	animation-timing-function: linear;		/*アニメーションのパターン。速度を一定に変化させる指定。*/
	background: url(/shizenkagakukoubou/images/menu1.png) no-repeat center center / 100% 100%;	/*背景画像の読み込み*/
	width: 100%;
	text-align: center;		/*文字をセンタリング*/
	color: #fff;			/*文字色*/
	font-size: 20px;		/*文字サイズ*/
	padding: 23% 0;			/*上下、左右への余白*/
	margin: 10px 0px;		/*上下、左右へのタグの外側へとる余白。ロゴや下のメニューとの余白バランスをとって下さい。*/
}
/*h2タグ内の小文字*/
.side h2 span {
	display: block;
	font-size: 13px;	/*文字サイズ*/
}

/*メインメニュー
---------------------------------------------------------------------------*/
/*メニューブロック全体*/
#menubar {
	font-size: 18px;	/*文字サイズ*/
	text-align: center;	/*文字をセンタリング*/
}
/*メニュー１個あたりの設定*/
#menubar a {
	text-decoration: none;
	display: block;
	padding: 10px 0;	/*上下、左右へのメニュー内の余白*/
	margin-bottom: 10px;	/*メニュー間の余白*/
}
#menubar li{
	position: relative;
}
/*文字の指定*/
#menubar li a{
	color: #005834;		/*文字色*/
}
/*小文字の指定*/
#menubar li span:last-child {
	display: block;
	font-size: 12px;	/*文字サイズ*/
	color: #666;		/*文字色*/
}
/*マウスオン時*/
#menubar a:hover {
	background: #666;
	color: #fff;	/*文字色*/
}
#nav-list li.current{
		background: #fff;
		color: #26D118;		/*文字色*/
		/*border-radius: 10px;	/*角丸の指定*/
}
#nav-list li ul {
  overflow: hidden;
  list-style: none;
  position: relative;
  z-index: 80;
  top: 100%;
  left: 0;
  width: 100%;
}
#nav-list li ul li {
  width: 100%;
  height: 0;
  color: #fff;
  transition: .5s;
}
#nav-list li ul li a {
  padding: 5px 0px 5px 30px ;
  background: #FFE;
  text-align: left;
  font-size: 14px;
  font-weight: normal;
	border-top: 1px solid #bbb; */
}
#nav-list > li:hover {
	background: #666;
	color: #fff;
	transition: 0s;
}
#nav-list > li:hover span {
	color: #fff;
}
#nav-list > li:hover > ul > li {
  overflow: visible;
  height: 38px;
}
/*スマホ用メニューを表示させない*/
#menubar-s {display: none;text-indent: -9999px;}
/*３本バーアイコンを表示させない*/
#menubar_hdr {display: none;}

/*facebookやtwitterなどのアイコン
---------------------------------------------------------------------------*/
/*アイコン全体を囲むブロック*/
ul.icon {
	text-align: center;
}
/*アイコン１個あたりの設定*/
ul.icon li {
	display: inline-block;	/*横並びにさせる指定*/
}
/*アイコン画像の設定*/
ul.icon img {
	width: 30px;		/*画像の幅*/
}
ul.icon img:hover {
	opacity: 0.8;
}

/*mainコンテンツ
---------------------------------------------------------------------------*/
/*mainブロック*/
#main {
	float: right;		/*右に回り込み*/
	width: 80%;			/*幅*/
	padding: 100px 1% 100px;	/*上、左右、下へのブロック内の余白*/
	animation-name: opa2;		/*/shizenkagakukoubou/css/keyframes.cssで使う@keyframesの指定*/
	animation-fill-mode: both;
	animation-duration: 0.8S;	/*アニメーションを実行する時間。「s」は秒の事。*/
	animation-delay: 0.8s;		/*出現するタイミング（秒後）*/
	position: relative;
}
/*メインコンテンツのh2タグ設定*/
#main h2 {
	clear: both;
	color: #f64d69;	/*文字色*/
	margin-bottom: 20px;	/*見出しの下に空けるスペース*/
	padding: 0 20px 10px;	/*上、左右、下へのタグ内の余白*/
	font-size: 36px;		/*文字サイズ*/
	background: url(/shizenkagakukoubou/images/line1.png) repeat-x left bottom / 300px;	/*下線の画像の読み込み*/
	text-align: center;	/*テキストをセンタリング*/
}

/*メインコンテンツのh3タグ設定*/
#main h3{
	clear: both;
	color: #f64d69;	/*文字色*/
	padding: 15px 20px 5px;	/*上、左右、下へのタグ内の余白*/
	margin-bottom: 20px;	/*見出しの下に空けるスペース*/
	font-size: 24px;		/*文字サイズ*/?
}
#main h3 span{
	background: linear-gradient(transparent 40%, #ff6 60%);
	padding: 0px 10px;	/*上、左右、下へのタグ内の余白*/
}

#main h3 a{
	color: #f64d69;	/*文字色*/
	/* border-bottom: 2px solid #f64d69;*/
	}

/*メインコンテンツのh3タグ設定*/
#main ul {
	clear: both;
	padding-left: 40px;		/*左側にあける余白*/
	margin-bottom: 20px;	/*下に空けるスペース*/
}
#main h4 {
	clear: both;
	color: #578CA1;	/*文字色*/
	padding-left: 20px;		/*左側にあける余白*/
	margin-bottom: 10px;	/*見出しの下に空けるスペース*/
	font-size: 20px;		/*文字サイズ*/
}
#main p a{
	padding-left: 40px;	
}

/*mainコンテンツの段落タグ設定*/
#main p {
	padding: 0px 20px 20px;	/*上、左右、下への余白*/
}
#main p span {
  background: linear-gradient(transparent 50%, rgb(255, 255, 127) 50%);
}
/*他。微調整。*/
#main p + p {
	margin-top: -5px;
}
#main h2 + p,
#main h3 + p {
	margin-top: -10px;
}
#main section + section {
	margin-top: 50px;
}

/*mainブロック*/
#main .fig img{
	width: 90%;
  position: float;
}
/*              */

/* ITEMIZE  */
.itemize{
	padding: 0px 30px 10px;
}


/*listブロック（menu.html マカロンメニューページで使っています）
---------------------------------------------------------------------------*/
/*ブロック１個あたりの設定*/
#main .list {
	overflow: hidden;position: relative;
	float: left;	/*左に回り込み*/
	width: 30%;		/*幅*/
	margin-left: 2%;
	margin-bottom: 30px;
	font-size: 10px;	/*文字サイズ*/
	text-align: center;	/*文字をセンタリング*/
}
/*画像*/
#main .list figure {
	border-radius: 50%;	/*円形にする。角丸四角形にしたいなら、ここを20pxなどにしてみる。角が尖った正方形にしたいなら、この１行を削除する。*/
	overflow: hidden;
	margin-bottom: 10px;
}
/*h4タグ*/
#main .list h4 {
	font-size: 13px;	/*文字サイズ*/
	height: 2em;		/*高さ１行分。冒頭のbody内のline-heightで「2」と指定しているので、この行の2emというのは１文字の高さの事になります。２行表示にしたいならこの行を「4em」にして下さい。*/
	overflow: hidden;	/*上のheightを超えた文字は非表示にする指定*/
}
/*段落タグ*/
#main .list p {
	padding: 0;
	height: 2em;		/*高さ１行分。上のh4と同じ内容の設定です。*/
	overflow: hidden;	/*これもh4と同じです。*/
}
/*左上に配置している価格*/
#main .list p.price {
	text-align: center;
	position: absolute;
	left: 0px;	/*listブロックに対しての左からの配置場所指定*/
	top: 0px;	/*listブロックに対しての上からの配置場所指定*/
	background: #fff;	/*背景色*/
	color: #f64d69;		/*文字色*/
	width: 60px;		/*幅*/
	height: 60px;		/*高さ*/
	line-height: 60px;	/*行間*/
	border-radius: 50%;	/*円形にする指定*/
}

.ofh h5.img1{
	width:100%;
	height:150px;
	background: no-repeat center top;
	background-image: url(/shizenkagakukoubou/images/dokusyo.JPG);
}
.ofh h5.img2{
	width:100%;
	height:300px;
	background: no-repeat center top;
	background-image: url(/shizenkagakukoubou/images/activity/dokusyo.JPG);
}
.ofh h5.img3{
	width:100%;
	height:150px;
	background: no-repeat center top;
	background-image: url(/shizenkagakukoubou/images/wasan.JPG);
}



/*  プロジェクト採択用テーブル
---------------------------------------------------------------------------*/
table.project {
  margin: 0px auto 20px;
}
.project th {
  background: #e9727e;
  border: solid 1px #ccc;
  color: #fff;
  padding: 10px;
  text-align: center;
}
.project td {
  border: solid 1px #ccc;
  padding: 10px 20px;
}

.project td:first-child {
  color: #917700;
}

@media screen and (max-width: 640px) {
  .project {
    width: 80%;
  }
  .project .thead {
    display: none;
  }
  .project tr {
    width: 100%;
  }
  .project th {
    display: none;
  }
  .project td {
    display: block;
    text-align: left;
    width: 100%;
  }
  .project td:first-child {
    background: #e9727e;
    color: #fff;
    font-weight: bold;
    text-align: center;
  }
  .project td:first-child a{
    background: #e9727e;
    color: #fff;
    font-weight: bold;
    text-align: center;
  }
  .project td:before {
    content: attr(data-label);
    float: left;
    font-weight: bold;
    margin-right: 10px;
  }
}
/*フッター設定
---------------------------------------------------------------------------*/
footer {
	clear: both;
	text-align: right;	/*テキストを右寄せ*/
	font-size: 12px;	/*文字サイズ*/
}
/*リンクテキスト*/
footer a {text-decoration: none;}

/*テーブル
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta1 caption {
	border-top: 1px solid #999;	/*上の枠線の幅、線種、色*/
	font-weight: bold;		/*太字に*/
	padding: 20px 15px;		/*上下、左右へのボックス内の余白*/
	background: #fff;	/*背景色*/
}
/*テーブル途中に見出しを使いたい場合（※tamidashi）*/
.ta1 .tamidashi {
	width: auto;
	background: #fff;	/*背景色*/
	text-align: left;		/*文字を左寄せ*/
}

/*教員一覧
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
table.teacher {
	table-layout: auto;
	width: 100%;
}
.teacher, .teacher td, .teacher th {
	padding: 20px 15px;	/*上下、左右へのボックス内の余白*/
	word-break: break-all;
}
.teacher td{
	border-top: 2px solid #bbb;	/*テーブルの下線。幅、線種、色*/
}
/*ta1の左側ボックス*/
.teacher th {
	width: 140px;		/*幅*/
	text-align: center;	/*センタリング*/
}

/*PAGE TOP（↑）設定
---------------------------------------------------------------------------*/
/*デフォルトでは非表示に*/
body .nav-fix-pos-pagetop a {display: none;}
/*ボタンの設定*/
body.is-fixed-pagetop .nav-fix-pos-pagetop a {
	display: block;text-decoration: none;text-align: center;z-index: 99;position: fixed;
	width: 100px;		/*幅*/
	bottom: 30px;		/*下からの配置場所指定*/
	right: 1%;			/*右からの配置場所指定*/
	animation-name: opa1;	/*/shizenkagakukoubou/css/keyframes.cssで使う@keyframesの指定*/
	animation-duration: 1S;		/*アニメーションの実行時間*/
	animation-fill-mode: forwards;	/*アニメーションの完了後、最後のキーフレームを維持する*/
}
/*通常時の透明度。70%色を出す。*/
body.is-fixed-pagetop .nav-fix-pos-pagetop img {
	opacity: 0.7;
}
/*マウスオン時の透明度。100%色を出す。*/
body.is-fixed-pagetop .nav-fix-pos-pagetop img:hover {
	opacity: 1;
}

/*「NEW」アイコン
---------------------------------------------------------------------------*/
.newicon {
	background: #F00;	/*背景色*/
	color: #FFF;		/*文字色*/
	font-size: 70%;		/*文字サイズ*/
	line-height: 1.5;
	padding: 2px 5px;
	border-radius: 2px;
	margin: 0px 5px;
	vertical-align: text-top;
}

/*check
---------------------------------------------------------------------------*/
p.check {
	background: #ff0000;
	color:#fff;
	padding: 10px 25px !important;
	margin-bottom: 20px;
}
p.check a {color: #fff;}

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

/*その他
---------------------------------------------------------------------------*/
.look {background: rgba(0,0,0,0.1);border: 1px solid #ccc;padding: 5px 10px;border-radius: 4px;}
.mb15,.mb1em {margin-bottom: 15px;}
.mb20 {margin-bottom: 20px;}
.clear {clear: both;}
.color1, .color1 a {color: #dd1500;}
.pr {font-size: 10px;}
.wl {width: 96%;}
.ws {width: 50%;}
.c {text-align: center;}
.r {text-align: right;}
.l {text-align: left;}
img.fr {float: right;margin: 10px;}
img.fl {float: left;margin: 10px;}
.fr {float: right;}
.fl {float: left;}
.big1 {font-size: 28px;letter-spacing: 0.1em;}
.mini1 {font-size: 11px;display: inline-block;line-height: 1.5;}
.sh {display: none;}
.clearfix::after {content: "";display: block;clear: both;}
.ofh {overflow: hidden;}


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

/*全体の設定
---------------------------------------------------------------------------*/
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: 30%;	/*上のブロック内の余白の再設定*/
}
/*メインコンテンツのh2タグ設定*/
#main h2 {
	font-size: 20px;		/*文字サイズ*/
}
/*メインコンテンツのh3タグ設定*/
#main h3 {
	padding-left: 0px;		/*左側余白をゼロに*/
	font-size: 18px;		/*文字サイズ*/
}
/*mainコンテンツの段落タグ設定*/
#main p {
	padding: 0px 0px 20px;	/*上、左右、下への余白*/
}

/*メインメニュー
---------------------------------------------------------------------------*/
/*スマホ用メニューブロック*/
#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;}
.side {display: none;}

/*３本バーアイコン設定
---------------------------------------------------------------------------*/
/*３本バーブロック*/
#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;}

}

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

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

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

/*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;		/*幅を少し小さくリサイズする*/
}

}
