@import url(history.css);

/* ******************************

historyY.css
Jan-9-2024

****************************** */

/* ------------------------------ */

#sidebox {
	display: none;
}

/* ------------------------------ */
section {
	width: 100%;
	margin: 10px 0px 35px;
}

#mainbox1 h4 {
	width: 96%;
	margin: 0 auto 1em;
	padding: 0em 0.25em;
	box-sizing: border-box;
	border: solid 1px #006400;
	border-left: solid 10px #006400;
	font-size: 18px;
	line-height: 2;
	color: #006400;
}

#mainbox1 figure {
	width: 96%;
	min-width: 240px;
	max-width: 360px;
	margin: 10px auto 20px;
	text-align: center;
	overflow: hidden;
}

#mainbox1 figure img,
#mainbox1 figure img.landscape {
	width: auto;
	max-width: 100%;
	transition: transform 0.5s ease 0.3s;
}

#mainbox1 figure img.square,
#mainbox1 figure img.portrait {
	width: 60%;
}

#mainbox1 figure img.border {
	border: 1px solid #eee;
}

#mainbox1 figure a {
	display: inline-block;
	text-decoration: none;
	overflow: hidden;
	font-size: 0;
}

#mainbox1 figure a:hover img {
	transform: scale(1.05);
}

#mainbox1 figcaption {
	width: fit-content;
	margin: 0 auto;
	padding: 0 5px;
	font-size: 12px;
	line-height: 1.33;
	color: #888;
	text-align: left;
}

#mainbox1 ul.plb {
	width: 98%;
	margin: 0.5em auto 2em;
	padding: 0px;
	list-style-type: none;
	list-style-position: outside;
	text-align: left;
}

#mainbox1 ul.plb li {
	display: list-item;
	width: 96%;
	margin: 0 auto 0;
	padding: 0.4em 0;
	font-size: 1.6em;
	text-align: left;
	line-height: 1.25;
	vertical-align: top;
	border-bottom: 1px dashed silver;
}

#mainbox1 ul.plb li a {
	display: inline-block;
	width: 100%;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	text-decoration: none;
	font-size: 1em;
	line-height: 1.25;
	color: #000;
	vertical-align: top;
}

#mainbox1 ul.plb li a::after {
	content: "";
	display: inline-block;
	border-left: 10px solid #090;
	border-top: 5px solid #fff;
	border-bottom: 5px solid #fff;
	border-right: 0px;
	margin: 0 0 4px 4px;
	padding: 0;
	vertical-align: middle;
}

#mainbox1 ul.plb li a:hover {
	color: #00f;
	text-decoration: none;
}

#mainbox1 ul.plb li a:hover::after {
	border-left: 10px solid #00f;
}

/* --------------- */
#mainbox1 h5 {
	clear: both;
	width: 96%;
	margin: 1em auto 0px;
	padding: 0em 0.5em;
	box-sizing: border-box;
	background: #006400;
	font-size: 1.6em;
	line-height: 2;
	color: #ffffff;
}

#mainbox1 ul.news {
	width: 96%;
	margin: 0px auto;
	padding: 0.5em;
	box-sizing: border-box;
	list-style-type: none;
	list-style-position: outside;
	text-align: left;
	background: #f8f8f8;
	border: solid 1px #006400;
}

#mainbox1 ul.news li {
	display: list-item;
	width: 96%;
	margin: 0.25em auto;
	padding: 0.2em;
	box-sizing: border-box;
	font-size: 1.4em;
	text-align: left;
	line-height: 1.25;
}

/* ------------------------------ */
#NaviContainer {
	width: 96%;
	margin: 40px auto 20px;
	overflow: auto;
}

#NaviContainer::-webkit-scrollbar {
	height: 2px;
}

#mainbox1 ul#pageNavi {
	width: calc(70px*8);
	margin: 10px auto;
	padding: 0;
	list-style-type: none;
	text-align: center;
}

#mainbox1 ul#pageNavi li {
	display: inline-block;
	width: 70px;
	margin: 0;
	padding: 0 2px;
	font-size: 14px;
	line-height: 1.0;
	color: #f0f0f0;
	text-align: center;
}

#mainbox1 ul#pageNavi li a {
	display: inline-block;
	width: 100%;
	margin: 0px;
	padding: 0.8em 0;
	box-sizing: border-box;
	color: #aaa;
	text-decoration: none;
	border: solid 1px #ccc;
	border-radius: 5px;
}

#mainbox1 ul#pageNavi li a.current {
	font-weight: bold;
	color: #ffffff;
	background: #006400;
	border: solid 1px #006400;
}

#mainbox1 ul#pageNavi li a:hover {
	color: #006400;
	border: solid 1px #006400;
}

#mainbox1 ul#pageNavi li a.current:hover {
	color: #ffffff;
}

@media screen and (min-width:600px) {

	/* ****************************************
	
	Style for iPhone6/7/8 landscape, iPad

	**************************************** */
	section {
		margin-bottom: 75px;
	}

	#mainbox1 figure {
		float: right;
		width: 40%;
		max-width: 330px;
		margin: 0px 15px 20px 0px;
	}

	#mainbox1 ul.plb {
		width: 600px;
		max-width: 55%;
		margin: 0px 10px 20px;
	}


}

@media screen and (min-width:960px) {
	/* ******************************
	for PC
	****************************** */

	#mainbox1 ul.plb {
		width: 55%;
	}

}

/* ******************************
****************************** */