@charset "UTF-8";

/* CSS reset */
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,
pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,
strong,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,
caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,
figure,footer,header,hgroup,menu,nav,section,summary,time,mark,
audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;
vertical-align:baseline;background:transparent;font-weight:normal;}
body{line-height:1}article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section{display:block}
ul{list-style:none}blockquote,q{quotes:none}blockquote:before,
blockquote:after,q:before,q:after{content:none}a{margin:0;padding:0;
font-size:100%;vertical-align:baseline;background:transparent}
del{text-decoration:line-through}abbr[title],dfn[title]
{border-bottom:1px dotted;cursor:help}
table{border-collapse:collapse;border-spacing:0}
hr{display:block;height:1px;border:0;border-top:1px solid #ccc;
margin:1em 0;padding:0}input,select{vertical-align:middle}
/* removed from resetting: small,sub,sup,*/

/* Header format */

header {
	width: 90%;
	height: 40px;
	margin: 0px;
	margin-top: 10px;
	padding-top: 10px;
	position: fixed;
	top: -10px;
}

#mytitle {
	color: white;
	font-size: 24px;
	width: 97%;
	height: 60px;
	border-radius: 8px;
	padding-left: 100px;
	padding-top: 30px;
	text-align: left;
	background-color: #202050;
}

#myacounter {
	float: right;
	position: fixed;
	top: 15px;
	right: 20px;
	color: white;
	font-size: 12px;
	width: 250px;
	height: 60px;
	text-align: right;
	background-color: #202050;
}

#title {
	border-radius: 8px;
	width: 108%;
	color: white;
	font-size: 24px;
	padding-top: 15px;
	padding-bottom: 5px;
	text-align: center;
	background-color: #202050;
}

.hr {
	display: block;
	height: 0;
	width: 75%;
	margin: auto;
	border: 1px solid;
	color: #aaaaaa;
}

/* Body format */

body {
	font: 16px/22px Meiryo;
	margin: 5px;
	margin-top: 0px;
	padding: 5px;
}

a {
	color: #4080bf;
	text-decoration: none;
}

a:hover {
	color: #87ceeb;
	text-decoration: underline;
}
	
a:visited {
	color: #ba55d3;
}

strong {
	font-weight: bold;
}

button {
	max-width: 20em;
	height: 2em;
	margin-left: 5px;
	font-size: 10px;
	border-width: 1px;
	border-color: grey;
	background-color: #222222;
	color: white;
	border-radius: 5px;
	cursor: pointer;
}

button:disabled {
	opacity: 0.2;
	cursor: default;
}

button:disabled {
	color: red;
	background-color: lightgrey;
	border-color: darkgrey;
	opacity: 0.5;
	cursor: default;
}

/* Drop Menu Button */

#drop_caption {
	margin-right: 5px;
	font-size: 10px;
	line-height: 14px;
	text-align: right;
	position: absolute;
	float: right;
	top: 4px;
	right: 120px;
}

#dropmenu {
	list-style-type: none;
	position: absolute;
	float: right;
	top: 0px;
	right: 20px;
	width: 100px;
	opacity: 0.8;
}

#dropmenu:hover {
	opacity: 1.0;
	z-index: 20;
}

#dropmenu li {
	position: relative;
	width: 92%;
	float: left;
	margin: 2px;
	padding-left: 2px;
	padding-right: 2px;
	padding-top: 1px;
	padding-bottom: 1px;
	font-size: 11px;
	line-height: 16px;
	border-radius: 4px;
	background-color: #555555;
	color: #dddddd;
	text-align: center;
}

#dropmenu li ul {
	margin-top: 2px;
	display: none;
}

#dropmenu li:hover ul {
	display: block;
}

#dropmenu li ul li {
	margin: 2px;
	background-color: #dddddd;
	color: #333333;
}

#dropmenu li ul li:hover {
	opacity: 0.8;
	border: solid 1px;
}

/* Slideshow area style */

#slideshow-onoff {
	position: absolute;
	float: left;
	left: 2px;
	top: 2px;
	width: 140px;
	height: 20px;
	background: url("images/slideshow_off.png");
	background-size: contain;
	background-repeat: no-repeat;
	cursor: pointer;
}

#slideshow_area {
	display: none;
	margin-top: 26px;
}

#slideshow {
	overflow: hidden;
	width: 99%;
	height: 300px;
	margin: 0px;
	margin-top: 5px;
	margin-bottom: 5px;
	padding: 0px;
}

#top-photo {
	margin: 0px;
	margin-top: 10px;
	padding: 4px;
	padding-top: 8px;
	border: 1px grey solid;
	border-radius: 7px;
}

#top-photo p {
	margin: 0px;
	margin-left: 10px;
	margin-right: 10px;
	margin-bottom: 10px;
	text-align: justify;
	font-size: 12px;
	line-height: 14px;
}

.swiper img {
	width: 100%;
	height: auto;
}

.normal_caption {
	display: none;
}

.blank_caption {
	display: block;
}

.interval_input {
	float: left;
	margin-top: 4px;
	margin-bottom: 4px;
	margin-left: 10px;
	font-size: 11px;
	line-height: 12px;
	text-align: right;
}

#input0 {
	max-width: 30px;
	text-align: right;
}

#change_mode {
	margin-top: 2px;
	margin-right: 5px;
	font-size: 10px;
	line-height: 12px;
	text-align: right;
}

#swiper-caption-onoff {
	position: absolute;
	float: left;
	left: 5px;
	top: 64px;
	width: 35px;
	height: 15px;
	background: url("images/swiper/caption-on.png");
	background-size: contain;
	background-repeat: no-repeat;
	cursor: pointer;
}

#swiper-scroll-onoff {
	position: absolute;
	float: left;
	left: 42px;
	top: 64px;
	width: 35px;
	height: 15px;
	background: url("images/swiper/scroll-on.png");
	background-size: contain;
	background-repeat: no-repeat;
	cursor: pointer;
}

#swiper-thumb-onoff {
	position: absolute;
	float: left;
	left: 78px;
	top: 64px;
	width: 35px;
	height: 15px;
	background: url("images/swiper/thumb-on.png");
	background-size: contain;
	background-repeat: no-repeat;
	cursor: pointer;
}

#changeEffect {
	position: absolute;
	float: left;
	left: 110px;
	top: 60px;
	width: 90px;
	height: 18px;
	margin-top: 2px;
	margin-left: 2px;
	background: url("images/swiper/slide.png");
	background-size: contain;
	background-repeat: no-repeat;
	cursor: pointer;
}

#swiper-thumbnail_area {
	display: none;
}

#swiper-hok100-onoff {
	position: absolute;
	float: right;
	right: 144px;
	top: 64px;
	width: 35px;
	height: 15px;
	background: url("images/swiper/hok100-on.png");
	background-size: contain;
	background-repeat: no-repeat;
	cursor: pointer;
}

#swiper-randomNext {
	position: absolute;
	float: right;
	right: 120px;
	top: 62px;
	cursor: pointer;
}

#swiper-slidenum {
	position: absolute;
	float: right;
	right: 32px;
	top: 62px;
	width: 79px;
	height: 18px;
	padding-top: 1px;
	padding-bottom: 1px;
	text-align: center;
	font-size: 11px;
	border-radius: 10%;
	color: rgba(225,225,225,0.9);
	background-color: rgba(128,128,128,0.8);
}

#swiper-help {
	position: absolute;
	float: right;
	right: 14px;
	top: 66px;
	width: 14px;
}

.swiper-exlink {
	position: absolute;
	float: right;
	right: 2px;
	top: 26px;
	width: 20px;
	opacity: 0.7;
}

.swiper-exlink:hover {
	opacity: 1.0;
}

.swiper-reflink {
	position: absolute;
	float: right;
	right: 2px;
	top: 46px;
	width: 20px;
	opacity: 0.7;
}

.swiper-reflink:hover {
	opacity: 1.0;
}

.swiper-slidelink {
	position: absolute;
	float: right;
	right: 2px;
	top: 66px;
	width: 20px;
	cursor: pointer;
	opacity: 0.7;
}

.swiper-slidelink:hover {
	opacity: 1.0;
}

.swiper-hok100link {
	display: block;
	position: absolute;
	float: right;
	right: 2px;
	top: 86px;
	width: 20px;
	cursor: pointer;
	opacity: 0.7;
}

.swiper-hok100link:hover {
	opacity: 1.0;
}

#swiper-prevButton {
	position: absolute;
	top: 40%;
	left: 1%;
	opacity: 0.6;
	z-index: 30;
}

#swiper-nextButton {
	position: absolute;
	top: 40%;
	right: 3%;
	opacity: 0.6;
	z-index: 30;
}

#swiper-prevButton:hover {
	opacity: 1.0;
}

#swiper-nextButton:hover {
	opacity: 1.0;
}

#swiper-countdown {
	position: absolute;
	float: right;
	right: 4px;
	top: 6px;
	z-index: 2;
	padding-right: 1px;
	min-width: 18px;
	height: 16px;
	line-height: 17px;
	text-align: center;
	font-size: 11px;
	border-radius: 30%;
	color: rgba(32,32,32,0.9);
	background-color: rgba(192, 192, 192, 0.7);
}

/* Remove Spin Button from Input Box */
/* for Chrome, Safari */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
/* for FireFox, IE */
input[type="number"] {
	-moz-appearance: textfield;
	appearance: textfield;
}

/* Search area style */

#search_area {
	margin-top: 0px;
}

#change_search {
	margin-right: 5px;
	font-size: 11px;
	line-height: 20px;
	text-align: right;
}

/* Begin of test style for Google Search Box (doesn't work) */
.gcse-search {
	display: none;
	float: left;
	width: 300px;
}

.gsc-search-box {
	background-color: #88888822;
}

/* End of test style for Google Search Box */

#google-official {
	display: none;
	float: right;
	margin-top: 10px;
	margin-right: 10px;
	width: 400px;
}

#google-form {
	display: none;
	float: right;
	right: 0px;
	width: 300px;
}

#google-s input {
	color: black;
}

/* Whole div format */

#whole {
	width: 98%;
	margin-top: 110px;
	margin-bottom: 70px;
	margin-left: 10px;
	margin-right: 10px;
	position: fixed;
	top: 0px;
	bottom: 0px;
	left: 0px;
	right: 0px;
	overflow-y: auto;
	scrollbar-width: auto;
}

#whole p {
	margin-right:10px;
}

#whole h1 {
	font-size: 125%;
	border-left: 10px #d95483 solid;
	padding-left: 10px;
	margin-bottom: 15px;
}

#whole h2 {
	font-size: 110%;
	border-left: 10px #1c781c solid;
	margin-left: 15px;
	padding-left: 10px;
	margin-bottom: 15px;
}

#whole h3 {
	font-size: 100%;
	border-left: 5px #8eb0ed solid;
	padding-left: 10px;
	margin-left: 30px;
	margin-bottom: 15px;
}

#whole h4{
	font-size: 100%;
	font-weight: normal;
	border-left: 6px #888888 solid;
	padding-left: 10px;
	margin-bottom: 15px;
	margin-left: 45px;
}

/* Scroll Bar style */

div#whole::-webkit-scrollbar {
	width: 6px;
}

div#whole::-webkit-scrollbar-thumb {
	border-radius: 5px;
}

div#whole::-webkit-scrollbar-track {
	border-radius: 0px;
}

/* for Headline */

#headline_eval {
	position: absolute;
	top: -1000px;
	left: -1000px;
	font-size: 14px;
	white-space: nowrap;
}

#headline {
	max-width: 85%;
	margin-left: 5%;
	margin-right: 10%;
	font-size: 14px;
	text-overflow: ellipsis;
	overflow: hidden;
	/*overflow-x: auto;*/
	white-space: nowrap;
}

/* History description style */

.history {
	font-size: 14px;
	padding-left: 5em;
	text-indent: -2em;
	margin-right: 10px;
}

.achieve {
	font-size: 14px;
	padding-left: 5em;
	text-indent: -2em;
	margin-right: 10px;
}

/* Menu bar style */

.menu_label {
	background: #1b2538;
	display: block;
	position: relative;
	margin: 0 0 2px 0;
	padding: 12px;
	line-height: 1;
	color: #ffffff;
	cursor: pointer;
}

.menu_list {
	width: 90%;
	margin-left: 30px;
	padding: 0;
}

.menu_list a {
	display: block;
	padding: 0px;
	padding-bottom: 0px;
	margin-top: 6px;
	text-decoration: none;
	line-height: 1;
}

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

/* Article bar operation */

#article_img {
	transform: rotateX(0deg);
	transition: 1s;
}

#article_link {
	overflow-y: hidden;
	max-height: 1000px;
	transition: 0.5s;
}

#article_link li {
	overflow-y: hidden;
	max-height: 46px;
	transition: 0.75s;
	margin: 0 0 0 16px;
	margin-top: 6px;
}

#article_link a {
	display:inline;
}

/* Article NotYet bar operation */

#notyet_img {
	transform: rotateX(180deg);
	transition: 1s;
}

#notyet_link {
	overflow-y: hidden;
	max-height: 0px;
	transition: 0.5s;
}

#notyet_link li {
	overflow-y: hidden;
	max-height: 0px;
	transition: 0.75s;
	margin: 0 0 0 16px;
	margin-top: 6px;
	color: #777777;
}

#notyet_link a {
	display:inline;
}

/* Misc bar operation */

#misc_img {
	transform: rotateX(0deg);
	transition: 1s;
}

#misc_link {
	overflow-y: hidden;
	max-height: 1000px;
	transition: 0.5s;
}

#misc_link li {
	overflow-y: hidden;
	max-height: 46px;
	transition: 0.75s;
	margin: 0 0 0 16px;
	margin-top: 6px;
}

#misc_link a {
	display:inline;
}

/* Misc NotYet bar operation */

#misc_notyet_img {
	transform: rotateX(180deg);
	transition: 1s;
}

#misc_notyet_link {
	overflow-y: hidden;
	max-height: 0px;
	transition: 0.5s;
}

#misc_notyet_link li {
	overflow-y: hidden;
	max-height: 0px;
	transition: 0.75s;
	margin: 0 0 0 16px;
	margin-top: 6px;
	color: #777777;
}

#misc_notyet_link a {
	display:inline;
}

/* Footer format */

footer {
	width: 98%;
	height: 30px;
	background-color: #333333;
	border-radius: 6px;
	margin-top: 10px;
	margin-bottom: 0px;
	padding-top: 0px;
	padding-bottom: 15px;
	float: left;
	text-align: center;
	position: fixed;
	bottom: 10px;
}

footer p {
	border-radius: 6px;
	color: white;
	padding-top: 5px;
	padding-bottom: 5px;
	background-color: #202050;
}

/* for Responsive Design */

@media screen and (max-width:420px), (max-height:420px) {

	body {
		font: 16px Meiryo;
	}

	header {
		width: 96%;
	}

	#mytitle {
		font-size: 13px;
		width: 70%;
	}

	#myacounter {
		display: none;
	}

	#title {
		font-size: 18px;
	}

	#drop_caption {
		display: none;
		position: absolute;
		top: 110px;
		right: 136px;
		font-size: 12px;
		line-height: 20px;
	}

	#dropmenu {
		display: table;
		position: absolute;
		float: right;
		top: 70px;
		right: 30px;
		width: 110px;
		/*height: 20px;*/
		font-size: 12px;
	}

	#dropmenu li {
		padding-top: 4px;
		padding-bottom: 4px;
	}

	#whole {
		width: 96%;
		font: 16px Meiryo;
		scrollbar-width: none;
	}

	div#whole::-webkit-scrollbar {
		display: none;
	}

	#search_area {
		display: none;
	}

	.article_list li {
		height: 32px;
	}

	footer {
		width: 96%;
	}

}

@media screen and (min-width:1280px) {

	body {
		font: 24px Meiryo;
	}

	#whole {
		font: 24px Meiryo;
	}

}

@media screen and (max-height:720px) {

	header {
		position: static;
		height: auto;
		margin: auto;
	}

	#whole {
		position: static;
		margin: auto;
	}

	footer {
		position: static;
	}

}
