﻿@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;
}

h1{
	text-align: right;
}


h2 {
	font-size: 22px;
	background-color: #cbdf97;
	border: 1px solid green;
	margin: 15px 5px 15px 0;
	padding: 5px 10px 5px 10px;
	border-radius: 8px;
}

h2:before {
	content: url("../images/090.gif");
}


h3 {
	font-size: 16px;
} 

h4{
	font-size: 16px;
	background-color: #e2efba;
	border: 1px solid green;
	padding: 3px 3px 3px 5px;
	width: 650px;
	max-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;
}


	

/*ここまで全体要素*/

body {
	margin: 0px;
	padding: 0px;
	background-color: #f4f3d5;
}

/* ヘッダー */

.wrapper-header {
	background-color: #c8d9ac;
	background-image: url(../images/31.png);
	background-repeat: repeat-x;

}

.header{
	margin: 0 auto 0 auto;
	max-width: 960px;
	height: 360px;
	position: relative;
}




.title {/*タイトルバナーポジション*/
	position: absolute;
	max-width: 78%;
	bottom: 50px;
	left: 15px;
}


h1#header_copy{
	position: absolute;
	top: 65px;
	right: 0px;
	color: #006B33;
}



.hukidasi {
	position: absolute;
	bottom : 55px;
	right : 10px;
	max-width: 18%;
}


/*ナビゲーションバー*/
.nav {
	background-color: #55aa68;	/*ポジション・バーカラー指定*/
	position: absolute;
	bottom: 0;
	left: 10px;
	border-radius: 5px;
	max-width: 960px;
	width: 98%;

}

.nav ul {
	margin: 0 auto 0 auto;
	padding: 0;
	
}

.nav ul li {
	list-style-type: none;
	float: left;
	width: 25%;
	height: 38px;
	text-align: center;
	position: relative;
	line-height: 38px;
	color: #fafad2;
	font-weight: bold;

}

.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{
		position: absolute;
		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;
	}




/*メイン*/
.main {
	margin: 0 auto 0 auto;
	width: 960px;

}


.copyright {
	border-top: 1px solid gray;
	margin: 100px auto 50px auto;
	max-width: 980px;
	padding: 10px;
	text-align: center;
}

.return {/*上に戻るボタン*/
	text-align: right;
}

/*うえにもどるぼたん*/
#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){


	.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;

	}





}


