@charset "utf-8";

/* =Reset default browser CSS.
Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */

* {
	box-sizing: border-box;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}

:focus {
	outline: 0;
}

ol,
ul {
	list-style: none;
}

table {
	border-collapse: separate;
	border-spacing: 0;
}

caption,
th,
td {
	font-weight: normal;
	text-align: left;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

a img {
	border: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
	display: block;
}

body {
	font: 16px/1.5 "Lucida Sans Unicode", "Lucida Grande", Arial, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", sans-serif;
	color: #252525;
}


/* リンク設定
------------------------------------------------------------*/
a {
	margin: 0;
	padding: 0;
	text-decoration: none;
	outline: 0;
	vertical-align: baseline;
	background: transparent;
	font-size: 100%;
	color: #624e24;
}

a:hover,
a:active {
	transition: opacity 1s;
	outline: none;
	opacity: .75;
}


/* レイアウト
------------------------------------------------------------*/
#wrapper,
.inner {
	margin: 0 auto;
	width: 1000px;
}

#header,
#mainNav {
	background: #fff;
}

#header {
	overflow: hidden;
}

#content {
	width: 100%;
	padding: 1.5rem 0;
}

#sidebar {
	width: 100%;
	padding: 1.5rem 0;
	padding-top: 0;
}


/* ヘッダー
*****************************************************/

#header h1 a {
	clear: both;
	float: left;
	color: #497715;
	font-size: 1.85rem;
	font-weight: bold;
	text-box: trim-both cap alphabetic;
	margin: 1.25rem 0;
}


/* トップページ　メイン画像
----------------------------------*/
#mainImg {
	line-height: 0;
	text-align: center;
	background-image: url(images/main_bg.jpg);
	z-index: 0;
}

#mainImg img {
	width: 1000px;
	height: 500px;
	object-fit: cover;
}


/* タイポグラフィ
*****************************************************/

h1,
h2,
h3,
h4 {
	font-weight: bold;
	color: #3c2f13;
}

h2.title {
	clear: both;
	margin: 0 0 10px 0;
	font-size: 1.5rem;
	text-align: center;
	color: #497715;
}

.post h3 {
	margin: 10px 0;
	font-size: 1.35rem;
	color: #497715;
	border-bottom: 1px solid rgba(73, 119, 21, .75);
}

.post h3>* {
	margin: 1rem 0 10px 0;
}


.post h4 {
	margin: 1rem 0 5px 0;
	font-size: 1.15rem;
	color: #252525;
}

.dateLabel {
	margin: -10px 0 10px;
	text-align: right;
	font: italic 1em "Palatino Linotype", "Book Antiqua", Palatino, serif;
}

.post p+p {
	padding-top: 1rem;
}

.post a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.post ul,
.post ol {
	background-color: #eee;
	padding: .75rem 0 .75rem .75rem;
	box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
	margin: 1rem 0;
}

.post ul li {
	margin-bottom: .25rem;
	padding-left: 1rem;
	background: url(images/bullet.png) no-repeat 0 8px;
}

.post ul li:last-of-type,
.post ol li:last-of-type {
	margin-bottom: 0;
}

.post ol {
	padding-left: 2.5rem;
	padding-right: 1rem;
}

.post ol li {
	margin-bottom: .25rem;
	list-style: decimal;
}

table {
	width: 100%;
	border-collapse: collapse;
	box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

table tr {
	border-bottom: solid 2px white;
}

table tr:last-child {
	border-bottom: none;
}

table th {
	position: relative;
	text-align: left;
	width: 30%;
	background-color: #497715;
	color: white;
	text-align: center;
	padding: 1rem;
	font-weight: bold;
	vertical-align: middle;
}

table tr:nth-of-type(even) th {
	background-color: #568d18;
}

table tr:nth-of-type(even) th:after {
	border-left: 10px solid #568d18;
}

table th:after {
	display: block;
	content: "";
	width: 0px;
	height: 0px;
	position: absolute;
	top: calc(50% - 10px);
	right: -10px;
	border-left: 10px solid #497715;
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
}

table td {
	text-align: left;
	width: 70%;
	text-align: center;
	background-color: #eee;
	vertical-align: middle;
	padding: 1rem;
}

.post table td ol {
	text-align: start;
	margin: 0;
	padding-bottom: 0;
	box-shadow: none;
}

*+table {
	margin: 1rem 0;
}

.post dt {
	font-weight: bold;
}

.post dd {
	padding-bottom: 10px;
}

.post img {
	max-width: 100%;
	height: auto;
}


/* サイドバー　ウィジェット
*****************************************************/

section.widget h3 {
	clear: both;
	margin: 0 0 10px;
	font-size: 1.35rem;
	color: #3c2f13;
	border-bottom: 1px solid #3c2f13;
}

section.widget li {
	margin: 0 10px 10px 5px;
	border-bottom: 1px dotted #ccc;
}

section.widget li:last-of-type {
	margin-bottom: 0;
}

section.widget a {
	display: block;
	padding-left: 15px;
	background: url(images/arrow.png) no-repeat 0 50%;
}

section.widget a:hover {
	background-position: 3px 50%;
}

/* フッター
*****************************************************/

#copyright {
	clear: both;
	text-align: center;
	font-size: .85rem;
	zoom: 1;
	padding: .75rem 0;
}

/* メインメニュー　PC用
------------------------------------------------------------*/
@media only screen and (min-width: 1025px) {
	nav#mainNav {
		position: relative;
		z-index: 200;
		background: #f3ffe6;
		box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
	}

	nav#mainNav ul {
		display: flex;
		justify-content: center;
		list-style: none;
		padding: 0;
		margin: 0;
	}

	nav#mainNav ul li {
		position: relative;
		height: 60px;
		line-height: 60px;
		flex: 1;
	}

	nav#mainNav ul li a {
		display: block;
		text-align: center;
		color: #3c2f13;
		font-weight: bold;
		text-decoration: none;
		/* border-left: solid 1px rgba(60, 47, 19, .25); */
	}

	nav#mainNav ul li.current-menu-item a,
	nav#mainNav ul li a:hover,
	nav#mainNav ul li a:active,
	nav#mainNav ul li.current-menu-parent a {
		background: #497715;
		color: #fff;
		border: none;
	}

	nav#mainNav ul li ul {
		display: none;
		flex-direction: column;
		width: 160px;
		position: absolute;
		top: 40px;
		left: -7px;
		z-index: 500;
	}

	nav#mainNav ul li:hover ul {
		display: flex;
	}

	nav#mainNav ul li li a span {
		padding: 0 10px;
	}

	nav#mainNav ul li li a:hover,
	nav#mainNav ul li li.current-menu-item a {
		color: #fff;
	}

	nav#mainNav ul li:hover ul li {
		margin: 0;
		background: #e1e5e5;
		border-bottom: 1px solid #dadcdc;
	}

	nav#mainNav ul li:hover ul li:last-child {
		border: 0;
		border-radius: 0 0 6px 6px;
	}

	nav div.panel {
		display: block !important;
	}

	a#menu {
		display: none;
	}
}

/* メインメニュー iPadサイズ以下から
------------------------------------------------------------*/
@media only screen and (max-width:1024px) {
	nav#mainNav {
		clear: both;
		width: 100%;
		margin: 0 auto;
		margin-bottom: .5rem;
	}

	nav#mainNav a.menu {
		width: 100%;
		display: block;
		height: 40px;
		line-height: 40px;
		font-weight: bold;
		text-align: left;
		color: #fff;
		border: 1px solid #497715;
		background: #497715 url(images/menuOpen.png) no-repeat 5px 10px;
	}

	nav#mainNav a#menu span {
		padding-left: 2.5em;
	}

	nav#mainNav a.menuOpen {
		border-bottom: 0;
		color: #fff;
		background: #497715 url(images/menuOpen.png) no-repeat 5px -32px;
	}

	nav#mainNav a#menu:hover {
		cursor: pointer;
	}

	nav .panel {
		display: none;
		width: 100%;
		position: relative;
		right: 0;
		top: 0;
		z-index: 1;
	}

	.panel ul {
		margin: 0;
		padding: 0;
	}

	.panel ul li {
		float: none;
		clear: both;
		width: 100%;
		height: auto;
		line-height: 1.2;
	}

	.panel ul li a,
	.panel ul li.current-menu-item li a {
		display: block;
		width: 100%;
		padding: 1em 0;
		text-align: left;
		background: #fff;
		font-weight: bold;
	}

	.panel ul li a span {
		padding-left: 1em;
	}

	.panel ul li.current-menu-item a,
	.panel ul li a:hover,
	.panel ul li.current-menu-item a,
	.panel ul li a:active,
	.panel ul li li.current-menu-item a,
	.panel ul li.current-menu-item li a:hover,
	.panel ul li.current-menu-item li a:active {
		background: #f3ffe6;
	}

	.panel ul li li {
		float: left;
		border: 0;
	}

	.panel ul li li a,
	.panel ul li.current-menu-item li a,
	.panel ul li li.current-menu-item a {
		background: #fff url(images/sub1.png) no-repeat 20px 50%;
	}

	.panel ul li li.current-menu-item a,
	.panel ul li li a:hover,
	.panel ul li.current-menu-item li a:hover {
		background: #faf4f3 url(images/sub1.png) no-repeat 20px 50%;
	}

	.panel ul li li:last-child a {
		background: #fff url(images/subLast.png) no-repeat 20px 50%;
	}

	.panel ul li li:last-child.current-menu-item a,
	.panel ul li li:last-child a:hover,
	.panel ul li.current-menu-item li:last-child a:hover {
		background: #faf4f3 url(images/subLast.png) no-repeat 20px 50%;
	}

	.panel ul li li a span {
		padding-left: 35px;
	}

	nav div.panel {
		float: none;
	}

	#mainImg {
		margin-bottom: 20px;
	}
}


/* 959px以下から 1カラム表示
------------------------------------------------------------*/
@media only screen and (max-width: 959px) {

	#wrapper,
	#header,
	.inner {
		width: 100%;
	}

	#header h1 {
		padding: 10px;
	}

	#headerInfo {
		padding-right: 10px;
	}

	.panel ul,
	.thumbWrap {
		margin: 0 auto;
	}

	.panel ul ul {
		padding: 0;
	}

	nav div.panel {
		float: none;
	}

	#mainImg img {
		width: 100%;
		height: auto;
	}

	#content,
	#sidebar {
		clear: both;
		width: 95%;
		float: none;
		margin: 0 auto;
		padding: 0;
	}

	#sidebar {
		padding-top: 1rem;
	}

	section.widget_search {
		text-align: center;
	}

	#contactBanner {
		margin: 0 auto;
	}

	#footer {
		margin: 0;
		border: 0;
		text-align: center;
	}

}

/* 画面幅767px以下のスマホサイズに適用 */
@media screen and (max-width: 767px) {
	table tr {
		display: flex;
		flex-direction: column;
		border-bottom: solid 2px white;
	}

	table th, table td {
		display: block;
		width: 100% !important;
	}

	/* 矢印の位置を下側に変更 */
	table th:after {
		top: auto;
		right: calc(50% - 10px); /* 中央に配置 */
		bottom: -10px; /* 下側に飛び出す */
		z-index: 10;
		/* 下向きの三角を作る設定 */
		border-left: 10px solid transparent !important;
		border-right: 10px solid transparent !important;
		border-top: 10px solid #497715 !important;
		border-bottom: none !important;
	}

	/* 背景色（偶数行）に合わせた矢印の色調整 */
	table tr:nth-of-type(even) th:after {
		border-top: 10px solid #568d18 !important;
		border-left: 10px solid transparent !important;
	}
	
	/* 矢印が重なるため、tdの上の余白を少し広げる */
	table td {
		padding-top: 1.5rem;
	}
}



/* 幅644px以下から ヘッダー等微調節
------------------------------------------------------------*/
@media only screen and (max-width: 644px) {
	#header h1 a {
		font-size: 1.5rem;
	}

	h2.title {
		font-size: 1.35rem;
	}


	.post h3,
	section.widget h3 {
		font-size: 1.25rem;
	}

	h2.title b {
		display: none;
	}
}