﻿@charset "utf-8";



p, h1, h2, ul{/*デフォルトマージンのクリア*/
	margin: 0;
}


/* 全体 */
* {
	font-family: "メイリオ", "ＭＳ Ｐゴシック", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "MS PGothic", sans-serif;
	font-size: 16px;
}

img {
	border-style:none;
	vertical-align:middle;
	max-width: 100%;
	height: auto;
}

p {
	padding: 15px;
	line-height: 1.2;
}

div {
	line-height: 1.2;
}


h2 {
	font-size: 22px;
	background-color: #cbdf97;
	border: 1px solid green;
	margin: 5px 5px 5px 0;
	padding: 5px 10px 5px 10px;
	border-radius: 8px;
}

h2:before {
	content: url("../images/092.png");
}


h3 {
	font-size: 16px;
} 

h4{
	font-size: 16px;
	background-color: #e2efba;
	border: 1px solid green;
	padding: 2px 2px 2px 5px;
	max-width: 650px;
	width: 95%;
	border-radius: 5px;
}

h4:before {
	content: url("../images/017.gif");
}

h5 {
	color: #3333cc;
	margin: 0;
	padding: 10px 0 5px 0;
}


a	{/*リンクされた文字*/
	color: #336699;
	font-style: normal;
	text-decoration: underline;
}
a:link {/*未訪問のリンク*/
	color: #336699;
	font-style: normal;
	text-decoration: underline;
} 
a:visited {/*訪問後のリンク*/
	color: #336699;
	text-decoration: underline;
}
a:hover {/*マウスをのせたとき*/
	color: #264a2e;
	font-style: normal;
	text-decoration: underline;
}
a:active {/*クリック中*/
	text-decoration: none;
}

p 	{/*段落設定*/
	padding: 5px;
}
	


/*ここまで全体要素*/


body {
	margin: 0px;
	padding: 0px;
	background-color: #eff3cd;
}


/* ヘッダー */

.wrapper-header {
	background-color: #99cc99;
	background-image: url(../images/header_bg_c.png);
	background-repeat: repeat-x;
}

.header{
	margin: 0 auto 0 auto;
	max-width: 1000px;
	height: 380px;
	position: relative;
}

h1#header_copy{/*右上部文章*/
	position: absolute;
	text-align: right;
	top: 65px;
	right: 0px;
	color: #006B33;
}

.title {/*タイトルバナーポジション*/
	position: absolute;
	max-width: 78%;
	left: 20px;
	bottom: 55px;
}


.byouji-bunner {
	position: absolute;
	max-width: 18%;
	bottom: 55px;
	right: 10px;

}

/*ヘッダーここまで*/

/*ナビここから*/

/*ナビゲーションバー*/
.nav {
	background-color: #55aa68;	/*ポジション・バーカラー指定*/
	position: absolute;
	bottom: 0;
	left: 10px;
	border-radius: 5px;
	max-width: 1000px;
}

.nav ul {
	margin: 0 auto 0 auto;
	padding: 0;
}

.nav ul li {
	list-style-type: none;
	float: left;
	width: 20%;
	height: 38px;
	text-align: center;
	position: relative;
	line-height: 38px;
	font-weight: bold;
	color: #fafad2;
	
}

.nav ul li a{
	display: block;
	text-decoration: none;
	color: #fafad2;
	font-weight: bold;
}

.nav ul li:last-child a{
	border-right: none;
}

.nav ul li a:visited{/*訪問後のリンク*/
	color: #fafad2;
}

.nav ul li a:hover{/*マウスをのせたとき*/
	color: #264a2e;
	background-color: #8cd98c;
}

.nav ul li:first-child a:hover{/*マウスをのせた時のボックスの角を取る*/
	border-radius: 5px 0 0 5px;
}

.nav ul li:last-child a:hover{/*マウスをのせた時のボックスの角を取る*/
		border-radius: 0 5px 5px 0;
}


/*ここまでナビバー本体*/

	/*ここからナビバーの入れ子設定*/

	.nav ul li ul{
		top: 38px;
		width: 100%;
		z-index: 100;
	}

	.nav ul li ul li a{/*リンクの色と背景色などの設定*/
		background: #55aa68;
		text-align: center;
		font-weight: normal;
		border-right: none;

	}

	.nav ul li ul li{
		visibility: hidden;
		overflow: hidden;
		width: 100%;
		height: 0;
		background: #55aa68;
	}

	.nav ul li:hover ul li a:hover{
		border-radius:0;
	}


	.nav ul li:hover ul li, .nav ul li a:hover ul li{
		visibility: visible;
		overflow: visible;
		height: 38px;
		z-index: 10;
	}

	.nav ul li:hover ul li:last-child a, .nav ul li:hover ul li:last-child{
		border-radius: 0 0 5px 5px;
	}

	.nav * {
		  -webkit-transition: 0.2s;
		  -moz-transition: 0.2s;
		  -ms-transition: 0.2s;
		  -o-transition: 0.2s;
		  transition: 0.2s;
	}








/*ナビここまで*/



.copyright {/*ふったー*/
	border-top: 1px solid gray;
	margin: 100px auto 50px auto;
	width: 98%;
	max-width: 980px;
	padding: 10px;
	text-align: center;
}



/*うえにもどるぼたん*/
#page_top{
  width: 50px;
  height: 50px;
  position: fixed;
  right: 0;
  bottom: 0;
  background: #ace6d2;
  opacity: 0.6;
  border-radius: 50%;
}
#page_top a{
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  text-decoration: none;
}
#page_top a::before{
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f102';
  font-size: 25px;
  color: #fff;
  position: absolute;
  width: 25px;
  height: 25px;
  top: -5px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}
/*うえにもどるぼたんここまで*/


@media (max-width: 767px){


h2 {
	font-size: 16px;
	background-color: #cbdf97;
	border: 1px solid green;
	margin: 5px 5px 5px 0;
	padding: 5px 10px 5px 10px;
	border-radius: 8px;
}


	.nav ul li a{
		display: block;
		text-decoration: none;
		color: #fafad2;
		font-weight: bold;
		font-size: 2.5vw;
	}

	.nav ul li {
		font-size: 2.5vw;

	}





}


