﻿body {
	/* overflow : hidden; */
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	font-family: 'メイリオ', 'Hiragino Kaku Gothic Pro', sans-serif;
}

/* サイト名 */

.header-box {
	/*width: 100%;*/
	/*height: 100px;*/
	background-color: #ff8800
}

.header-site {
	overflow : hidden;
	height: 80px;
	background-color: #ff8800
}

.header-box1 {
	margin: 5px;
}

.header-box1 img {
	border: none;
	width: 80px;
	height: 64px
}

.header-box2 h1 {
	margin: 7px 5px 0px 20px;
	padding: 0px;
	color: #000000;
	text-decoration: none;
	font-size: 24px
}

.header-box2 h2 {
	margin: 0px 0px 5px 20px;
	padding: 0px;
	color: #000000;
	text-decoration: none;
	font-size: 16px
}

.header-box2 h3 {
	margin: 0px 0px 2px 20px;
	padding: 0px;
	color: #000000;
	text-decoration: none;
	font-size: 12px
}

.box7-1-1 {
	display: none;
}
.box7-1-1.show {
	display: block;
}

#mainImage {
	padding: 0px;
	width: 100%;
	height: 250px;
}
#mainImage img {
	border: none;
	/*width: 100%;*/
	height: 250px;
	/*backgound-size: contain;*/
	background-position: 50% 50%;
	margin-left: auto;
	margin-right: auto;
}

.fadeout{
opacity: 0;
transition: 2s ease-in-out;
-webkit-transition: 2s ease-in-out;
}
.fadein{
opacity: 1;
transition: 2s ease-in-out;
-webkit-transition: 2s ease-in-out;
}

#imgCtrlBtn {
	margin-right: 15px;
	/* float: right; */
}

/* サイドメニュー */
.sidemenu {
	border: solid 6px #dddddd
}

.sidemenu h1 {
	margin: 0;
	padding: 10px;
	font-size: 16px;
	font-weight: normal
}

.sidemenu h1 i {
	margin-right: 5px;
	color: #8abc60;
	font-size: larger
}

.sidemenu ul {
	margin: 0;
	padding: 0;
	list-style: none
}

.sidemenu li a {
	display: block;
	padding: 10px;
	border-top: solid 1px #dddddd;
	color: #000000;
	font-size: 14px;
	text-decoration: none
}

.sidemenu li a i {
	color: #4169e1;
	/* font-size: larger */
}

.sidemenu li a:hover	{background-color: #eeeeee}



/* コピーライト */
.copyright p {
	margin: 0;
	color: #666666;
	font-size: 14px
}


/* BOX Aの下に罫線を挿入（コンテンツページのみ） */
.contents .header-box {
	border-bottom: solid 1px #dddddd
}

/* BOX5をバーの形にする */
.footer {
	padding-top: 15px;
	padding-bottom: 15px;
	background-color: #dddddd
}

/* ボックスの左右 */
.header-box, .footer, .box7 {
	padding-left: 15px;
	padding-right: 15px
}


/* ボックスの上下 */
.header-box {
	padding-top: 10px;
	/*padding-bottom: 10px*/
}


.box7 {
	padding-top: 4px;
	padding-bottom: 15px
}


/* header-box1とheader-box2を横に並べる設定 */
.header-site:after {
	content: "";
	display: block;
	clear: both
}

.header-box1 {
	float: left;
	width: auto
}

.header-box2 {
	float: left;
	width: auto
}


/*メニューオープン時にメイン画面を覆うフィルター*/
.menufilter {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 999;
	background: rgba(0,0,0,0.2);
	visibility: hidden;
	opacity: 0;
	transition: all 0.5s;
}

.menufilter--show {
	visibility: visible;
	opacity: 1;
}
/*ポップアップメニュー*/
.popupMenu {
	/*width: 290px;*/
	/*height: 50%;*/
	transition: all 0.5s;
	transform: translate(-300px);
	position: fixed;
	top: 90px;
	left: 15px;
	z-index: 1000;
	background-color: #f9f9f9;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;/*iPhone,iPadで慣性スクロール*/
	visibility: hidden;
	border: solid 6px #dddddd
}
.popupMenu--open{
	transform: translate(0px);
	box-shadow: 0px 0px 8px 1px #858792;
	visibility: visible;
}

.popupMenu h1 {
	margin: 0;
	padding: 10px;
	font-size: 16px;
	font-weight: normal
}

.popupMenu h1 i {
	margin-right: 5px;
	color: #8abc60;
	font-size: larger
}

.popupMenu ul {
	margin: 0;
	padding: 0;
	list-style: none
}

.popupMenu li a {
	display: block;
	padding: 10px;
	border-top: solid 1px #dddddd;
	color: #000000;
	font-size: 14px;
	text-decoration: none
}

.popupMenu li a i {
	color: #4169e1;
	/* font-size: larger */
}

.popupMenu li a:hover	{background-color: #eeeeee}


/* ########### 599px以下 ########### */
@media (max-width: 599px) {
	/* 記事 */
	.kiji h1	{font-size: 26px}

	.kiji h2	{font-size: 20px}

	.kiji .lead	{font-size: 16px}
}


/* ナビゲーション */
#menu {
	display: block !important
}

.menu ul	{
	margin: 0;
	padding: 6px 0px;
	list-style: none}

.menu li a	{display: block;
	padding: 2px 7px;
	color: #000000;
	font-size: 14px;
	text-decoration: none}

.menu li a:hover {
	background-color: #eeeeee
}

.menu ul:after {
	content: "";
	display: block;
	clear: both
}

.menu li {
	float: left;
	width: auto;
}

.header-box3 {
	width: auto;
	background-color: #ff8800;
	margin-right: 15px
}

#box-pageTitle {
	text-align: center;
	margin-bottom: 10px;
}

#hd-subTitle {
	margin: 0;
	border-style: groove none;
}

/* ########### 767px以下 ########### */
@media (max-width: 710px) {
	.box7-1 {
		/*margin-top: 10px;*/
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		box-sizing: border-box
	}
	
	/* トグルボタン */
	#menubtn {
		float: left;
		margin: 5px 0px 0px 0px;
		padding: 6px 12px;
		border: solid 1px #aaaaaa;
		border-radius: 5px;
		background-color: #ffffff;
		/*bottom : 10px;*/
		cursor: pointer;
	}
	#menubtn:hover {
		background-color: #dddddd;
	}
	#menubtn:focus {
		outline: none;
	}
	#menubtn i {
		color: #888888;
		font-size: 18px;
	}
	#menubtn span {
		display: inline-block;
		text-indent: -9999px;
	}

	.box7-2 {
		display: none;
		/* float: left;
		width: 20% */
	}

}

/* ########### 768px以上 ########### */
@media (min-width: 711px) {
	/* トグルボタン */
	#menubtn {
		display: none;
	}

	/* BOX7-1とBOX7-2を横に並べる設定 */
	.box7:after {
		content: "";
		display: block;
		clear: both
	}
	.box7-1 {
		float: right;
		width: 80%;
		padding-left: 20px;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		box-sizing: border-box
	}
	.box7-2 {
		float: left;
		width: 20%
	}
}


/* ########### 1190px以上 ########### */
@media (min-width: 1190px) {
	/* 全体の横幅を固定 */
	.header-site, .header-box3, .footer-inner, .box7
	{
		width: 1140px;
		margin-left: auto;
		margin-right: auto}
	}
	/* BOX Aの下に罫線を挿入 */
	.header-box {
		margin-bottom: 10px;
		border-bottom: solid 1px #dddddd
	}
}




