@charset "utf-8";

main {
	min-height: 400px;
}
main section:first-of-type {
	padding-top: 0;
}
main section {
	padding-bottom: 48px;
}
main a {
	color: #234027;
	font-weight: 500;
}
#pankuzu {
	width: 100%;
}
#pankuzu ul {
	display: flex;
	flex-wrap: wrap;
	padding: 0;
	margin: 16px 0;
}
#pankuzu li {
	list-style: none;
}
#pankuzu li::after {
	content: "＞";
	display: inline-block;
	width: 4em;
	text-align: center;
	font-size: 0.8em;
}
#pankuzu li:last-of-type {
}
#pankuzu li:last-of-type::after {
	display: none;
}

.main_area {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}
.main_l {
	width: calc( 75% - 1em );
	position: relative;
	margin-right: 1em;
}
#side_menu {
	width: 288px;
	background-color: #fff;
	padding: 0 1em;
	flex-grow: 1;
	border-radius: 16px;
}
#side_menu h2 {
	font-size: 1.5em;
	padding-left: 0;
}
#side_menu h2::before,
#side_menu h2::after {
	display: none;
}
#side_menu ul {
	padding-left: 0;
}
#side_menu li {
	list-style: none;
	padding-left: 1em;
	margin-bottom: 0.5em;
	position: relative;
}
#side_menu li a:not(:has(img))::before {
	content: "";
	display: block;
	width: 2px;
	height: 1em;
	background-color: #2f6b3a;
	border-radius: 2px;
	position: absolute;
	left: 0;
	top: 0.25em;
}

main h1,h2,h3,h4,h5 {
	position: relative;
	color: #003300;
}
main h1::before {
	content: "";
	display: block;
	width: 100%;
	height: 2px;
	border-radius: 2px;
	background-color: #234027;
	position: absolute;
	bottom: 0;
}
main h2::before,
main h3::before,
main h4::before,
main h5::before {
	content: "";
	display: block;
	width: 1em;
	height: 1em;
	background-color: #87ab2c;
	position: absolute;
	border-radius: 25%;
	left: 0;
	top: 0.2em;
}
main h2::after,
main h3::after, 
main h4::after, 
main h5::after {
	content: "";
	display: block;
	width: 0.5em;
	height: 0.5em;
	background-color: #29902a;
	position: absolute;
	left: 0;
	top: 0.2em;
}
main h2::after {
	border-radius: 50% 0 0 0;
	top: 0.2em;
	left: 0;
}
main h3::after {
	border-radius: 0 50% 0 0;
	top: 0.2em;
	left: 0.5em;
}
main h4::after {
	border-radius: 0 0 50% 0;
	top: 0.7em;
	left: 0.5em;
}
main h5::after {
	border-radius: 0 0 0 50%;
	top: 0.7em;
	left: 0;
}
main h2,
main h3,
main h4,
main h5 {
	padding-left: 1.2em;
}
main h2:not(:first-of-type) {
	margin-top: 48px;
}
main .inner p {
	margin-left: 1em;
	margin-right: 1em;
}

table.default{
	width: auto;
	background-color: #fff;
}
table.default,
table.default th,
table.default td {
	border-collapse: collapse;
	border: 1px solid #666;
}
table.default th {
	/*background-color: #c8e9f3;*/
	background-color: #eee;
	padding: 8px;
}
table.default td {
	padding: 8px;
}

.waku {
	width: auto;
	padding: 1em;
	border: 1px solid #2f6b3a;
	border-radius: 8px;
}

.more_btn_g {
	display: block;
	background-color: #2f6b3a;
	color: #fff !important;
	border-radius: 1em;	
	width: 6em;
	text-align: center;
	padding: 4px;
	margin-left: auto;
	margin-right: auto;
}
.more_btn_g.off {
	background-color: #ddd;
	pointer-events: none;
}

#news,
.news {
	width: 90%;
	margin-left: auto;
	margin-right: auto;
	margin-top: 16px;
	display: flex;
	flex-wrap: wrap;
	font-weight: 500;
}
#news dt,
.news dt {
	width: 20%;
	position: relative;
}
#news dt::after,
.news dt::after {
	content: "";
	display: block;
	width: 2px;
	height: 1em;
	background-color: #005413;
	position: absolute;
	right: 25%;
	top: 0;
}
#news dd,
.news dd {
	width: 70%;
	margin-bottom: 1.5em;
	margin-left: 0;
}
#news a,
.news a {
	color: #333;
}

footer h3 {
	color: #fff;
}

.photo_area {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
}
.photo_area img {
	margin: 4px;
}

.gmap iframe {
	width: 100%;
}
.gmap_w iframe{
	width: 100%;
	height: 240px;	
}

.flex_box {
	display: flex;
}
.flex_box .p_area {
}
.flex_box .photo_area {
}
.flex_box .photo_area img {
	max-width: 280px;
	height: auto;
}

@media screen and (max-width: 768px){
	main section:first-of-type {
		padding-top: 64px;
	}
	.main_area {
		flex-wrap: wrap;
	}
	.main_l {
		width: 100%;
		margin-bottom: 1em;
	}
	.main_l img {
		width: 100%;
		height: auto;
	}
	.main_l h1 {
		margin-top: 0;
	}
	.main_l p {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
	#side_menu {
		width: 100%;
	}
	
	table.default{
		width: 100%;
	}
	table.default,
	table.default thead,
	table.default tbody,
	table.default tr,
	table.default th,
	table.default td {
		display: block;
		border: 0px;
	}
	table.default th {
	}
	table.default td {
	}
	
	#pankuzu {
	}
	#pankuzu ul {
	}
	#pankuzu li {
	}
	#pankuzu li:first-of-type {
		display: none;
	}
	#pankuzu li::after {
		content: ">";
		display: inline-block;
		width: 2em;
		height: 1em;
		text-align: center;
		font-size: 0.8em;
	}
	#pankuzu li:last-of-type {
	}
	#pankuzu li:last-of-type::after {
	}
	
	#news dl,
	#news dt,
	#news dd,
	.news dl,
	.news dt,
	.news dd {
		margin: 0;
	}
	#news dl,
	.news dl {
		width: 90%;
		flex-wrap: wrap;
		font-weight: 500;
		margin-left: auto;
		margin-right: auto;
		margin-top: 1em;
	}
	#news dt,
	.news dt {
		width: 100%;
		position: relative;
		padding-left: 1em;
	}
	#news dd,
	.news dd {
		width: 100%;
		margin-bottom: 1.5em;
		position: relative;
		padding-left: 1em;
	}
	#news dt::after,
	#news dd::after,
	.news dt::after,
	.news dd::after{
		content: "";
		display: block;
		width: 2px;
		height: 100%;
		background-color: #005413;
		position: absolute;
		left: 0;
		top: 0;
	}
	#news a,
	.news a {
		color: #333;
	}
	
	.flex_box {
		flex-wrap: wrap;
	}
}
