/********* Minimal CSS Style **********/

/*  BASIC */

* {
	margin: 0;
	padding: 0;
	line-height: 100%;
	text-decoration: none;
	/*
	background-color: #FFEFD5;　←　Lightbox等が正常に動かなくなります。
	color:#333333;
	*/
}

body{
	/* background: #FFF5EE; */
	font-family: '游ゴシック', 'Hiragino Kaku Gothic ProN', 'メイリオ', meiryo, 'Helvetica Neue', sans-serif;
	word-wrap: break-word;
}

a{
	color: 	#4682B4;
}

a:hover{
  color:#89c3eb;
}

h1,h2{
	margin-bottom: 0.5rem;
}
h3,h4,h5,h6 {
	margin-bottom: 1rem;
}

hr {
	border-width: 1px 0px 0px 0px;
	border-style: solid;
	border-color: gray;
	margin-bottom: 1rem;
}

pre{
	border-left: 6px solid #DDD;
	margin-top: 0.5rem;
	padding-left: 1rem;
	margin-bottom: 1rem;
	line-height: 150%;
}

table.style_table {
	width: 100%;
	border-collapse: collapse;
	border: none;
	border-spacing: 0;
	margin-bottom: 1rem;
}

td.style_td {
	border: 1px solid #CCC;
	padding: 0.2rem 0.5rem;
	font-size: 1rem;
	background-color:transparent;
	line-height: 180%;
}

thead td.style_td {
	color:#222;
	font-weight:600;
}

tbody td.style_td {
	font-weight: 200;
}

tfoot td.style_td {
	color:#222;
	font-weight:400;
}

/* PUKIWIKI CLASS */

.small{
	font-size: 0.75rem;
}

.clear{
	clear: both;
	height: 0;
	margin-bottom: 0 !important;
}

.jumpmenu, .anchor_super, .note_hr{
	visibility:hidden;
	height: 0;
}

.note_super{
	font-size: 0.75rem;
	vertical-align: top;
}


/********* Header ***********/

header {
	height: 144px;
	width: 100%;
	background-image: url(../../image/water.jpg);
	background-size: cover;
}

#LogoMark {
	position: absolute;
	left: 4rem;
	top: 2.5rem;
	width: 3.6rem;
}

header h1.site_title {
	position: absolute;
	left: 8rem;
	top: 3rem;
	font-size: 1.6rem;
	color:white;
}

header h1.title {
	position: absolute;
	left: 8rem;
	top: 5.2rem;
	font-size: 0.8rem;
	font-weight: lighter;
	color: yellow;
}

header h1.title a{
	color: white;
}

#HeadNavigator{
	position: absolute;
	top: 0.8rem;
	right: 4.5rem;
	color:#CCC;
	font-size: 0.75rem;
}

#HeadNavigator a{
	color:#CCF;
}

#SearchBox{
	position: absolute;
	right: 6rem;
	top: 3.6rem;
	width:175px;
}

#SearchBox form input[name="word"] {
	padding: 0.2rem;
	width: 100% !important;
}

#SearchBox form input[type="submit"] {
	display: none;
}


/**** Site Navigator (Button + MenuBar) ****/

#SiteNavigator{
	width: 100%;
}

#button{
	display: none;
	z-index: 99999;
}

#MenuBar{
	position: absolute;
	top: 144px;
	left: 0;
	width: 100%;
	background-color: #274a78;
	z-index: 9999;
}

#MenuBar.fixed {
	position: fixed;
	top: 0;
}

#MenuBar ul.list1{
	width:auto;
	display: flex;
	flex-direction: row;
}

#MenuBar ul.list1 li:first-child{
	margin-left: 4rem;
}

#MenuBar ul.list1 li{
	list-style-type: none;
	margin-right: 2rem;
}

#MenuBar ul.list1 li a{
	display: block;
	padding-top: 0.75rem;
	padding-bottom: 0.75rem;
	color: white;
	text-align: center;
}

#MenuBar ul.list1 li a:hover{
	color:#507ea4;
}

/******* MAIN BLOCK *********/

#main {
	position: relative;
	width: 960px;
	margin: auto;
	margin-bottom: 2rem;
	padding-top: 7rem;
}

/* MAIN BLOCK in READ MODE */

#readModeWindow {
	display: flex;
	flex-direction: row;
	justify-content:space-between;
	padding-left: 2rem;
	padding-right: 2rem;
}

#wrapper{
	width: 76%;
}

/* article */
#wrapper article {
	width: 92%;
	text-align: justify;
}

#wrapper article a{
	text-decoration: underline
}

#wrapper article h2{
	font-size: 1.8rem;
}

#wrapper article p{
	line-height: 180%;
	margin-bottom: 1rem;
	word-wrap: break-all;
}

#wrapper article > div{
	line-height: 180%;
	margin-bottom: 1rem;
}

#wrapper article ul.list1{
	margin-bottom: 1rem;
}

#wrapper article ul.list2{
	margin-bottom: 1rem;
}

#wrapper article ul li{
	line-height: 180%;
	margin: auto;
	margin-left: 1rem;
}

#wrapper article ul.list1 li{
	list-style-type: disc;
}

#wrapper article ul.list2 li{
	list-style-type:circle;
}

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

#note {
	margin-bottom: 1rem;
}

aside{
	width: 22%;
}

aside h2,
aside h3,
aside h4,
aside h5 {
	font-size: 1rem;
	margin-bottom: 1rem;
}

aside p{
	font-size: 0.9rem;
	line-height: 150%;
}


aside li{
	font-size: 0.9rem;
	margin-left: 1rem;
	margin-bottom: 0.5rem;
	color: gray;
}

aside div strong{
	display: block;
	line-height: 180%;
	margin-bottom: 0.25rem;
	font-size: 0.8rem;
}

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

/* MAIN BLOCK in EDIT MODE */

#editModeWindow{
	padding-bottom: 2rem;
}

#editModeWindow article{
	margin: auto;
}

#editModeWindow textarea{
	width: 67%;
	margin: auto;
	padding: 1rem;
	line-height: 150%;
	text-align: justify;
	margin-bottom: 1rem;
}

#editModeWindow ul {
	margin-bottom: 1rem;
}

#editModeWindow li {
	line-height: 150%;
	margin-left: 1rem;
}

#editModeWindow form {
	margin-top: 1rem;
	margin-bottom: 1rem;
}

#editModeWindow form input {
	font-size: 1rem;
	padding: 0.2rem;
}

#editModeWindow form input[name="pass"] {
	width: 8rem !important;
	font-size: 1rem;
	padding: 0.2rem;
}

#preview {
	background-color:#DDDDDD;
}

div#pagetop{
	position: fixed;
	bottom: 2rem;
	right: 4rem;
	text-align: center;
	font-size: 25px;
}

/*********** Footer *************/

footer {
	border-top: 1px solid gray;
	width: 960px;
	height:250px;
	padding-top: 1rem;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 2rem;
}

#attach {
	margin-bottom: 1rem;
	font-size: 0.75rem;
}

#lastmodified {
	font-size:0.75rem;
	margin-bottom: 1rem;
}

#related {
	font-size:0.75rem;
	margin-bottom: 2rem;
}

#toolbar {
	margin-bottom: 1rem;
}

#signature p{
	line-height: 150%;
	font-size:0.75rem;
}


/********  Smart Phone  ***********/


@media only screen and (max-width: 800px) {

	body{
		font-size: 90%;
	}

	/**** Header ****/

	header{
		height: 20rem;
		width: auto;
		min-width: auto;
	}

	#LogoMark {
		position: absolute;
		top: 7rem;
		left: 50%;
		width:64px;
		margin-left: -32px;
	}

	header h1.site_title{
		top: 12rem;
		left: 0;
		width: 100%;
		text-align: center;
		font-size: 12px;
	}

	header h1.title{
		top: 13.5rem;
		left: 0;
		width: 100%;
		text-align: center;
		font-size: 10px;
	}

	#HeadNavigator{
		display:none;
	}

	#SearchBox{
		width: 240px;
		top: 16rem;
		left: 50%;
		margin-left: -120px;
	}

	#SearchBox form input[name="word"] {
		padding: 0.2rem;
		padding-right: 0rem;
		width: 100% !important;
	}

	#SearchBox form input[type="submit"] {
		display: none;
	}

	/**** Site Navigator (Button + MenuBar) ****/

	#SiteNavigator {
		position: fixed;
		top:0;
		left:0;
		min-width: auto;
		flex-direction: column;
		border-bottom: 1px solid #4682B4;
		z-index: 9999;
	}

		#button{
			display: block;
			text-align: center;
			padding-bottom: 0.75rem;
			padding-top: 0.75rem;
			background-color: #274a78;
		}

		#button li {
			list-style-type: none;
		}

		#MenuBar{
			top:3.5rem;
			display: none;
			margin-left: 0;
		}

		#MenuBar ul.list1 {
			flex-direction: column;
		}

		#MenuBar ul.list1 li:first-child{
				margin-left: 0rem;
			}

		#MenuBar ul.list1 li {
			width: 100%;
			text-align: center;
			border-top:1px solid #507ea4;
		}

		#MenuBar ul.list1 li a{

		}

		#MenuBar ul.list1 li a:hover{
			color: white;
			background-color: #507ea4;
		}

		#MenuBar ul.list1 li a {

		}

	/**** Main Block ****/

	#main {
		padding-top: 4rem;
		width:100%;
	}

	#readModeWindow{
		flex-direction: column;
		padding:0;
	}

	#wrapper{
		width: 84%;
		margin: 0 auto;
		padding: 0;
	}

	#readModeWindow article {
		width: 100%;
	}

	aside{
		width: 84%;
		margin: 0 auto;
		padding: 0;

	}

	#editModeWindow article{
		width: 84%;
		margin: 0 auto;
		padding: 0;
	}

	/**** Footer ****/

	footer {
		width:90%;
	}

}


/* html.php/catbody()  文字列検索時の色強調　*/
.word0 {
  background-color:#FFFF66;
  color:black;
}
.word1 {
  background-color:#A0FFFF;
  color:black;
}
.word2 {
  background-color:#99FF99;
  color:black;
}
.word3 {
  background-color:#FF9999;
  color:black;
}
.word4 {
  background-color:#FF66FF;
  color:black;
}
.word5 {
  background-color:#880000;
  color:white;
}
.word6 {
  background-color:#00AA00;
  color:white;
}
.word7 {
  background-color:#886800;
  color:white;
}
.word8 {
  background-color:#004699;
  color:white;
}
.word9 {
  background-color:#990099;
  color:white;
}
