@charset "utf-8";

/* @group reset */
* {
	margin: 0;
	padding: 0;
}

html {
	background-color: #e6f7fd;
	background-image: url(/images/bg1.jpg);
	background-repeat: repeat-x;
	color: #333;
	font-family: "Hiragino Kaku Gothic Pro", "Yu Gothic", "Meiryo", sans-serif;
}

a {
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

ul,
ol {
	list-style: none;
}

img {
	vertical-align: middle;
	border: 0;
}

address,
em {
	font-style: normal;
}

em {
	font-weight: bold;
}

img.alignright {
	display: block;
	margin: 0 0 0 auto;
}

img.alignleft {
	display: block;
	margin: 0 auto 0 0;
}

img.aligncenter {
	display: block;
	margin: 0 auto;
}

/* @end */

/* @group header */
header h1 {
	text-align: center;
}

@media screen and (min-width:960px) {
	.main-menu ul {
		display: flex;
	}

	.main-menu li {
		flex: auto;
	}

	.main-menu ul a {
		display: block;
		text-decoration: none;
		color: #fff;
		text-align: center;
		font-size: 14px;
		padding: 5px 2px;
		box-sizing: border-box;
		transition: all 0.5s ease;
	}

	.main-menu ul a:hover {
		background-color: rgba(255, 255, 255, 0.3);
	}
}

/* @end */

/* @group footer */
footer {
	background-color: #c7e1fb;
}

footer h2 {
	background-color: #999;
	color: #ededed;
	font-size: 14px;
	padding: 3px 5px;
	margin-bottom: 5px;
}

footer a {
	color: #fff;
}

footer a:hover {
	text-decoration: underline;
}

footer #return {
	background-color: #fff;
	padding: 5px;
	text-align: center;
}

footer ul {
	background-color: #7982e4;
	background: -moz-linear-gradient(top, #96BDF6, #a8caf8);
	background: -webkit-gradient(linear, left top, left bottom, from(#96BDF6), to(#a8caf8));
	background: -webkit-linear-gradient(top, #96BDF6, #a8caf8));
	background: linear-gradient(to bottom, #96BDF6, #a8caf8);
	color: #fff;
	font-size: 14px;
	list-style: disc;
	margin: 0 5px 2px;
	padding-bottom: 1em;
	padding-top: 5px;
}

footer ul li {
	margin-left: 1.5em;
}

footer address {
	font-size: 12px;
	margin: 0 5px 5px;
}

footer address em {
	font-size: 14px;
	font-weight: bold;
}

footer p {
	color: #96BDF6;
	font-size: 12px;
	text-align: right;
	padding: 0 5px 5px;
}

/* @end */


/* @group contents */
#contents {
	background-color: #fff;
}

#top-stage {
	position: relative;
	overflow: hidden;
}

.top-image {
	max-width: 100%;
}

#sp1 {
	position: absolute;
	top: -30%;
	left: 50%;
	width: 10%;
}

section#message h2 {
	border-bottom: 1px solid #AFD0F9;
	margin-bottom: 5px;
}

section#message #message-body {
	border-right: 5px solid #AFD0F9;
}

section#message p {
	margin: 0 5px 10px;
	line-height: 1.5;
	font-size: 14px;
}

section#news {
	border: 1px solid #999;
	margin: 5px;
}

section#news h2 {
	border-bottom: 1px solid #999;
	font-size: 16px;
}

section#news dl {
	font-size: 14px;
	margin-left: 5px;
}

section#news dl dt {
	color: #999;
}

section#news dl dt:nth-child(4n-1) {
	background-color: #E4F6FD;
}

section#news dl dd {
	padding-left: 10px;
}

section#news dl dd:nth-child(4n) {
	background-color: #E4F6FD;
}

#breadcrumb {
	margin: 10px 10px 2px;
}

#breadcrumb li {
	color: #666;
	font-size: 12px;
	display: inline;
	margin: 0 2px;
	line-height: 1.5;
}

#cat {
	margin-left: 5px;
}

#cat img {
	max-width: 100%;
	width: auto;
	height: auto;
}

#main-content {
	margin: 0 5px 15px;
}

#main-content h2 {
	border-bottom: 1px solid #AFD0F9;
	margin-bottom: 15px;
	background-image: url(/images/bg_h2.png);
	background-repeat: no-repeat;
	padding-left: 38px;
}

#main-content a {
	text-decoration: underline;
}

#main-content a:hover {
	text-decoration: none;
}

#main-content .entry {
	margin-left: 10px;
	background-color: #fcfcfc;
	padding: 5px;
}

#main-content .entry h3 {
	margin-bottom: 1em;
	background-color: #fff;
	background-image: url(/images/bg_h3.png);
	background-repeat: no-repeat;
	padding-left: 30px;
}

#main-content .entry h4 {
	border-left: 8px solid #AFD0F9;
	padding-left: 3px;
	margin: 1em 0 0.5em;
}

#main-content .entry p {
	margin: 1em 0;
	line-height: 1.5;
}

#main-content .entry ul {
	list-style: disc;
}

#main-content .entry ol {
	list-style: decimal;
}

#main-content .entry ul li,
#main-content .entry ol li {
	margin-left: 2em;
	margin-bottom: 5px;
}

#main-content .entry img.alignleft {
	float: left;
}

#main-content .entry img.alignright {
	float: right;
}

#main-content .entry p.postdate {
	border-top: 1px solid #999;
	text-align: right;
	font-size: 12px;
	color: #666;
	margin-bottom: 25px;
	padding-top: 5px;
}

#main-content .sec1 {
	background-color: #f0eee0;
	border: 1px solid #e0ccc0;
	margin-bottom: 1em;
	padding: 10px 15px;
}

#main-content .tbl1 {
	border-collapse: collapse;
	margin-bottom: 2em;
	width: 100%;
}

#main-content .tbl1 th {
	border-top: 1px solid #999;
	border-bottom: 1px solid #999;
	text-align: left;
	font-size: 14px;
	padding: 3px;
}

#main-content .tbl1 td {
	border-top: 1px solid #999;
	border-bottom: 1px solid #999;
	font-size: 14px;
	padding: 3px;
}

.wp-pagenavi {
	margin-left: 10px;
}

/*画像レスポンシブ対応*/
img.size-thumnail,
img.size-medium,
img.size-large,
img.size-full {
	max-width: 100%;
	width: auto;
	height: auto;
}



/* page.php */

/* @end */

/* @group aside */
aside {
	background-color: #E4F6FD;
	margin: 5px;
}

aside h2 {
	background-color: #dcebfc;
}

aside h2 img {
	display: block;
	margin: 0 auto;
}

aside h3 {
	background: -moz-linear-gradient(top, #E4F6FD, #F0F9FF);
	background: -webkit-gradient(linear, left top, left bottom, from(#E4F6FD), to(#F0F9FF));
	background: -webkit-linear-gradient(top, #E4F6FD, #F0F9FF));
	background: linear-gradient(to bottom, #E4F6FD, #F0F9FF);
	border-bottom: 1px solid #AFD0F9;
	border-top: 1px solid #AFD0F9;
	font-size: 16px;
	padding: 5px;
}

aside h3.recent {
	margin-top: 5px;
}

aside ul {
	font-size: 12px;
	list-style: disc;
	padding: 5px;
	margin-bottom: 15px;
}

aside ul li {
	margin-left: 1.5em;
	margin-bottom: 5px;
}

aside mbp {
	margin: 5px 0;

}

/* @end */

/* 800px */
@media screen and (min-width : 800px) {
	header {
		position: relative;
	}

	header h1 {
		text-align: left;
		width: 366px;
		padding: 5px;
	}

	header nav .nav1 {
		margin-bottom: 5px;
		width: 320px;
		position: absolute;
		top: 20px;
		left: 380px;
	}

	footer #return {
		text-align: right;
	}
}

/* 800px end */

/* 960px */
@media screen and (min-width : 960px) {
	div#wrapper {
		width: 960px;
		margin: 0 auto;
	}

	header h1 {
		text-align: left;
		width: 366px;
		padding: 5px;
	}

	ul.nav1 {
		margin-bottom: 5px;
		width: 550px;
		position: absolute;
		top: 20px;
		right: 0px;
		display: flex;
	}

	ul.nav1 li {
		flex: auto;
	}

	ul.nav1 a {
		display: block;
		margin-left: 5px;
		text-decoration: none;
		color: #fff;
		background-color: #5f79d9;
		border: 1px solid #fff;
		text-align: center;
		font-size: 14px;
		padding: 2px 2px;
		box-sizing: border-box;
		transition: all 0.5s ease;
	}

	ul.nav1 a:hover {
		background-color: rgba(255, 255, 255, 0.3);
	}

	ul.nav1 i {
		margin-right: 5px;
	}

	div#contents {
		overflow: hidden;
	}

	div#main {
		width: 620px;
		float: left;
	}

	aside {
		width: 310px;
		float: right;
	}

	footer {
		overflow: hidden;
	}

	footer ul {
		width: 310px;
		margin: 0 5px 10px;
		float: left;
		height: 12em;
	}
}

/* 960px end */

/* 959px */
@media screen and (max-width : 959px) {
	ul.nav1 {
		display: none;
	}

	#sb_instagram {
		display: none;
	}