@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@300;500&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Lexend+Peta:wght@300&family=Zen+Kurenaido&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Fuzzy+Bubbles:wght@700&display=swap');

/* =============================================================================
   base
   ========================================================================== */

body {
	background: #ffffff;
	margin: 0px;
	padding: 0px;
	color: #333;
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;	
	font-size: 16px;
	line-height: 2;	
	}


h1,h2,h3,h4,h5,p,ul,ol,li,dl,dt,dd,form,figure,form,select,input,textarea {margin: 0px;padding: 0px;font-size: 100%;}
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;}
iframe {width: 100%;}
video,audio {max-width: 100%;}

a {color: #333;transition: 0.5s;text-decoration: none;}
a:hover {color: #8ba365;text-decoration: none;}

/*サイトの最大幅の設定---*/
.inner {
	max-width: 1200px;	/*サイトの最大幅。*/
	margin: 0 auto;
}





/*--- ふわっと ---*/
.scroll_up {
  transition: 0.8s ease-in-out;
  transform: translateY(30px);
  opacity: 0;
}

.scroll_up.on {
  transform: translateY(0);
  opacity: 1.0;
}





/*一番上の部分のコンテンツ-----#fffbef---*/
#contents1-s {
	clear: both;overflow: hidden;
	box-sizing: border-box;
	background-color:#fff;
	margin-top:5px;  /*ボックス外の余白*/
	padding: 0% 0px 0px 0px;	/*ボックス内の余白*/
	box-shadow: 0px 0px 0px rgba(0,0,0,0);	/*影の設定。右へ、下へ、ぼかし幅。rgbaは色設定で0,0,0は黒。0.1は10%色がついた状態の事。*/
}

/*文字部分---*/
#moji-s {
	float: left;	/*右に回り込み*/
	width:95%;		/*ボックス幅*/
	padding: 20px 0px 10px 10px;	/*ボックス内の余白*/
}


#moji-s h1 {
	font-family: 'Fuzzy Bubbles', cursive;
	clear: both;
	padding: 2px 5px;	/*上下、左右への余白*/
	font-size: 190%;	/*文字サイズ*/
	color: #000;		/*文字色*/
	border-bottom: 3px solid #fdd23c;	/*---下線の幅、線種、色---*/
}



/*--	background: #fff url(../e/nehan.png) no-repeat right center/40%;--*/


/*----ホームなどのメニューバー--------*/
/*---BOXの設定---*/
#bar {
	overflow: hidden;
	background: #fff;	/*---古いブラウザの背景色---*/
	/*--background: linear-gradient(#fff 0%, #eee);	-背景グラデーション---*/
	border-bottom: 3px solid #fdd23c;	/*---下線の幅、線種、色---*/
	margin-bottom: 20px;	/*---下とのスペース---*/
}
/*メニュー１個あたりの設定*/
#bar li {
	font-family: 'Zen Maru Gothic', sans-serif;
	font-size: 120%;	/*文字サイズ*/
	float: left;	/*---左に---*/
	width: 14.2%;	/*---メニュー幅（100÷6個=16.66%）　４個なら100÷4=25%になる。---*/
}
#bar li a {
	text-decoration: none;display: block;text-align: center;
	padding: 0px 1px;	/*---上下、左右へのメニュー内の余白---*/
	margin: 5px 5px;	/*---上下、左右へのメニューの外への余白---*/
	border-radius: 10px;	/*---角丸のサイズ---*/
}
/*マウスオン時と、現在表示中(current)のメニューの設定*/
#bar li a:hover, #menubar li.current a {
	background: #fdd23c;	/*背景色*/
	color: #333;			/*文字色*/
}
/*----スマホ用表示させない----*/
#bar-s {display: none;}
/*----３本バー-表示させない----*/
#bar_hdr {display: none;}




/*メインのコンテンツ-------*/

#contents {
	font-family: 'Zen Maru Gothic', sans-serif;
	font-size: 120%;	/*文字サイズ*/
	clear: both;overflow: hidden;
	box-sizing: border-box;
	padding: 1%;	/*ボックス内の余白*/
	box-shadow: 0px 0px 0px rgba(0,0,0,0);	/*影の設定。右へ、下へ、ぼかし幅。rgbaは色設定で0,0,0は黒。0.1は10%色がついた状態の事。*/
	margin-bottom: 2px;	/*下のフッターブロックとの間に空けるスペース*/
}


/*メインのコンテンツｰ右側---------------------------------------------------------------------------*/
/*メインコンテンツブロック*/
#main {
	float: left;	/*右に回り込み*/
	width: 75%;		/*ボックス幅*/
	padding-bottom: 40px;
}

/*mainコンテンツのh1タグ設定*/
#main h1 {
	clear: both;
	padding: 10px 20px;	/*上下、左右への余白*/
	margin: 0px 0px 50px 0px;
	font-size: 140%;	/*文字サイズ*/
	color: #000;		/*文字色*/
	background: #fff;	/*背景色*/
	box-shadow: 0px 0px 8px rgba(0,0,0,0.1);	/*影の設定。右へ、下へ、ぼかし幅。rgbaは色設定で0,0,0は黒。0.1は10%色がついた状態の事。*/
	border-radius: 5px;	/*角丸のサイズ。この行を削除すれば角が尖った長方形になります。*/
	font-family: 'Zen Maru Gothic', sans-serif;
}

#main h5 {
	text-align: center;
	clear: both;
	margin-bottom: 0px;
	padding: 60px 20px 10px 20px;
}


/*画面幅680px以下の設定------*/
@media screen and (max-width:680px){

#main h1 {
	font-size: 120%;
}

} /*-- 消さんといてや --*/

#main h1::first-letter {
	border-left: 3px solid #fdd23c;	/*左の線の幅、線種、色*/
	padding-left: 15px;				/*線とテキストとの余白*/
}

#main h2 {
	clear: both;
	margin-bottom: 30px;
	margin-top: 30px;
	padding: 10px 20px;	/*上下、左右への余白*/
	font-size: 120%;	/*文字サイズ*/
	color: #fff;		/*文字色*/
	background: #8ba365;	/*背景色*/
	border-radius: 5px;	/*角丸のサイズ。この行を削除すれば角が尖った長方形になります。*/
}
/*h2タグの１文字目への追加設定*/
#main h2::first-letter {
	border-left: 3px solid #fff;	/*左の線の幅、線種、色*/
	padding-left: 15px;				/*線とテキストとの余白*/
}

/*mainコンテンツのh3タグ設定*/
#main h3 {
	
	clear: both;
	margin-bottom: 20px;
	padding: 5px 20px;	/*上下、左右への余白*/
	font-size: 110%;	/*文字サイズ*/
	border: 0px solid #ccc;	/*枠線の幅、線種、色*/
	border-radius: 5px;	/*角丸のサイズ。この行を削除すれば角が尖った長方形になります。*/
}

/*h3タグの１文字目への追加設定*/
#main h3::first-letter {
	border-left: 3px solid #8ba365;	/*左の線の幅、線種、色*/
	padding-left: 15px;				/*線とテキストとの余白*/
}



/*listブロック-----------------------------*/

/*ブロック１個あたりの設定*/

#main .list {
	overflow: hidden;position: relative;
	border: 1px solid #ccc;	/*枠線の幅、線種、色*/
	box-shadow: 3px 4px 2px rgba(0,0,0,0.1);	/*ボックスの影。右へ、下へ、ぼかし幅、色。0,0,0は黒の事で、0.1は色が10%出た状態。*/
	padding: 10px 20px 10px 20px;	/*ボックス内の余白 ［上］［右］［下］［左］*/
	margin-bottom: 20px;	/*ボックス同士に空けるスペース*/
	border-radius: 15px;
}

/*画像*/
#main .list figure {
	float: left;	/*左に回り込み*/
	width: 25%;		/*画像の幅*/
	margin-right: 15px;	/*画像の右側に空けるスペース*/
	text-align: center;
}

/*h4（見出し）タグの設定*/
#main .list h4 {
	color: #333;		/*文字色*/
	font-size: 150%;	/*文字サイズ*/
}

#main .list h4::first-letter {
	border-left: 3px solid #fdd23c;	/*左の線の幅、線種、色*/
	padding-left: 15px;				/*線とテキストとの余白*/
}

#main .list a:hover {
	color: #fdd23c;text-decoration: none;
}


/*画面幅680px以下の設定------*/
@media screen and (max-width:680px){

#main .list h4 {
	font-size: 110%;
}

#main .list figure {margin-left: 10px;	}

} /*-- 消さんといてや --*/


/*p（段落）タグの設定*/
#main .list p {
	overflow: hidden;
	padding: 0;
}


/*list END-------------------------------------------------------------------------*/


/*メインのコンテンツｰ左側-------------------------------------------------------------------------------*/
#sub {
	float: right;	/*左に回り込み*/
	width: 22%;		/*ブロックの幅*/
	padding-bottom: 40px;
}



/*画面幅900px以下の設定------*/
@media screen and (max-width:900px){

/*文字サイズ変更ボタン--------*/
/*ボタンブロック全体*/
#fsize {
	display: none;	/*非表示にする*/
}

/*メインメニュー-------*/
/*スマホ用メニューブロック*/
#bar-s {
	display: block;
	animation-name: opa1;		/*冒頭のkeyframesの名前*/
	animation-duration: 0.5S;	/*アニメーションの実行時間。0.5秒。*/
	animation-fill-mode: both;	/*アニメーションの待機中は最初のキーフレームを維持、終了後は最後のキーフレームを維持。*/
}
/*メニュー１個あたりの設定*/
#bar-s li a {
	display: block;text-decoration: none;
	padding: 5px;	/*メニュー内の余白*/
	border-bottom: 1px solid #eee;	/*下の線の幅、線種、色*/
	background: #fff;	/*背景色*/
	font-size: 16px;		/*文字サイズ*/
	color: #222;		/*文字色*/
}
/*英語表記（飾り文字）*/
#bar-s li a span {
	font-size: 12px;	/*文字サイズ*/
	margin-left: 20px
}
/*PC用メニューを非表示にする*/
#bar {display: none;}

/*３本バーアイコン設定
---------------------------------------------------------------------------*/
/*３本バーブロック*/
#bar_hdr {
	display: block;position: absolute;z-index: 2;
	top: 15px;	/*上からの配置場所指定*/
	right: 2%;	/*右からの配置場所指定*/
	border: 1px solid #fff;	/*枠線の幅、線種、色*/
}
/*アイコン共通設定*/
#bar_hdr.close,
#bar_hdr.open {
	width: 50px;		/*幅*/
	height: 50px;		/*高さ*/
	border-radius: 50%;	/*円形にする。この行削除すれば正方形になります。*/
}
/*三本バーアイコン*/
#bar_hdr.close {
	background: #8ba365 url(../images/icon_menu.png) no-repeat center top/50px;	/*背景色、アイコンの読み込み、上半分(top)を表示、幅50px*/
}
/*閉じるアイコン*/
#bar_hdr.open {
	background: #333 url(../images/icon_menu.png) no-repeat center bottom/50px;	/*背景色、アイコンの読み込み、上半分(bottom)を表示、幅50px*/
}

/*main,sub
---------------------------------------------------------------------------*/
#main, #sub {
	float: none;
	width: auto;
	overflow: hidden;
}


/*moji-s,illus-s
---------------------------------------------------------------------------*/
#moji-s, #illus-s {
	float: none;
	width: auto;
	overflow: hidden;
}



/*その他
---------------------------------------------------------------------------*/
body.s-n #sub,body.s-n #side {display: none;}
.big1 {font-size: 150%;letter-spacing: normal;}
.sh {display:block;}
.pc {display:none;}

}



/*画面幅800px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:800px){

/*ヘッダー（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header .inner {
	position: static;
	height: auto;
	padding: 10px;
	background-position: right center;	/*背景画像の配置場所の変更。右側に寄せる。*/
}
/*ロゴ画像*/
header #midasi {
	position: static;
	margin: 0 auto;
}









