/* ブラウザスタイルの初期化 */

*{
	margin: 0;
	padding: 0;
	background-color: transparent;
	color: black;
	font-family: Verdana, Arial, "ヒラギノ角ゴ Pro W3", "Osaka", "ＭＳ Ｐ ゴシック", san-serif;
}

/* ブラウザスタイルの初期化（IEなど一部のブラウザ向け） */

th,td,form{
	background-color: transparent;
	color: black;
	font-size: 10pt;
	font-family: Verdana, Arial, "ヒラギノ角ゴ Pro W3", "Osaka", "ＭＳ Ｐ ゴシック", san-serif;
}

.blue {
	color: #0000FF;
}

.purple {
	color: #990099;
}


/* body要素のスタイル */

body {
	background-color: #FFFFFF;
	text-align: center;
}

/* a要素のスタイル */

a:link {
	color: #0000FF;
}

a:visited {
	color: #990099;
}

a:active {
	color: red;
}

a:hover {
	color: red;
}

img{
	border: 0px;
}


/* 全体のスタイルコンテナ */

div#all {
	background-color: #f9f9ff;
	width: 1024px;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	border: 1px solid silver;
	height: auto;
}

/* ヘッダー */

div#header {
	background-image: url(templa/gif/header1.gif);
	background-repeat: no-repeat;
	background-position: left top;
	width: 1024px;
	margin-top: 30px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: silver;
	padding: 0px;
	height: 110px;
}

div#header-title {
	float: left;
	display: inline;
}

div#header-ad {
	float: right;
	width: 728px;
	margin: 0px;
	padding-top: 20px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}

/* グローバルナビゲーション */

div#global-navi {
	clear: both;
	margin-top: 10px;
	margin-bottom: 10px;
}

div#global-navi ul {
	font-size: 12pt;
	font-weight: bold;
}

div#global-navi ul li {
	list-style-type: none;
	overflow: visible;
	margin: 0px;
	padding: 5px;
	display: inline;
}

div#global-navi ul li a:active,
div#global-navi ul li a:hover {
	list-style-type: none;
	overflow: visible;
	margin: 0px;
	padding: 0px;
	display: inline;
}

/* 検索ボックス */

div#search {
	width: 798px;
	clear: both;
	margin-right: auto;
	margin-left: auto;
	margin-top: 10px;
	margin-bottom: 5px;
	height: 25px;
}

div#search-navi {
	float: left;
	text-align: right;
	width: 209px;
	margin-top: 5px;
	font-size: 12pt;
}

div#search-box {
	width: 450px;
	float: left;
	height: auto;
	margin-left: 5px;
}

div#ad-h {
	clear: both;
	text-align: center;
	margin-left: 0px;
	margin-top: -20px;
	margin-right: 0px;
	margin-bottom: 0px;
}

div#ad-h p.ad-h-navi {
	padding: 0px;
	margin: 0px;
	font-size: 12pt;
}

div#ad-h p.ad-h-1 {
	margin: 0px;
	padding: 0px;
}

/* パンくずリスト */

div#pan {
	font-size: 12pt;
	text-align: left;
	padding: 0px;
	margin-left: 5px;
	margin-top: 5px;
	margin-right: 0px;
	margin-bottom: 5px;
}

p.pan-title {
	padding: 0px;
	margin: 0px;
}

p.pan-list {
	color: #0000FF;
	padding: 0px;
	margin: 0px;
}

/* メインコンテンツスタイルボックス */

div#container {
	width: 1024px;
	padding: 0px;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	text-align: center;
}

/* メインコンテンツスタイルボックス */

div#content {
	border: 1px solid silver;
	text-align: left;
	float: left;
	width: 684px;
	margin-right: 0px;
	font-size: 12pt;
}

div#content th,div#content td{
	font-size: 12pt;
}

div#h-1 {
	background-image: url(templa/gif/h2.gif);
	background-repeat: no-repeat;
	background-position: center;
	padding: 0px;
	margin: 0px;
	height: 50px;
	line-height: 1.5;
}

div#h-1 p#h-1-title,div#h-1 h1 {
	font-size: 26pt;
	text-align: center;
	margin: 5px;
	padding: 0px;
	font-family: "HGP教科書体";
	font-weight: bold;
}

div#repo {
	text-align: center;
	vertical-align: middle;
	border: 1px solid #0000FF;
	padding-top: 5px;
	padding-right: 10px;
	padding-bottom: 5px;
	padding-left: 10px;
}
div#repo ul {
	font-size: 12pt;
	font-weight: bold;
	list-style-position: inside;
	list-style-image: url(templa/gif/4.gif);
}
div#repo ul li {
	line-height: 1.5;
}


div#index_menu td {
	text-align: center;
}

div#content h2 {
	font-size: 14pt;
	font-weight: bold;
	color: #0000FF;
	text-align: center;
	padding-top: 5px;
	clear: both;
}

div#content h2 span {
	font-weight: bold;
	color: #FF0000;
}

div#sitemap,div#text-info,
div#link-list,
div#see-also,
div#literature,
div.list1,
div.list3,
div.list4,
div#index_menu {
	margin-bottom: 10px;
	padding-right: 5px;
	padding-left: 5px;
}

div#sitemap h2 {
	text-align: left;
	background-color: #CFE3FA;
	border-left-width: 10px;
	border-left-style: solid;
	border-left-color: #006699;
	border-bottom-width: 2px;
	border-bottom-style: solid;
	border-bottom-color: #006699;
	padding-left: 5px;
}

div#sitemap ul,div#list2 ul   {
	list-style-type: none;
	line-height: 1.5;
	list-style-image: url(templa/gif/4.gif);
	margin-top: 5px;
	margin-bottom: 5px;
	list-style-position: inside;
	text-indent: -1em;
	margin-left: 1em;
}
div#sitemap ul ul,div#list2 ul ul  {
	margin-left: 10px;
}

div#text-info ul li {
	list-style-image: url(templa/gif/4.gif);
	margin-top: 10px;
	list-style-position: outside;
	margin-left: 25px;
}

div#ad-entrance,div#ad-text-main {
	float: right;
	padding-right: 5px;
	padding-left: 5px;
}

div#ad-entrance p.ad-entrance-navi,
div#ad-text-main p.ad-entrance-navi {
	margin: 0px;
	padding: 0px;
	text-align: center;
}


div#text-main {
	padding-right: 5px;
	padding-left: 5px;
	margin-bottom: 10px;
	clear: both;
}

div#content div#text-main h3,
div#content div.content-text h3,
div#see-also h3,
div#literature h3,
div.list1 h3,
div.list3 h3,
div.list4 h3,
div#list2 h3,
div.entrance h3 {
	font-size: 12pt;
	border-bottom-width: thin;
	border-bottom-style: solid;
	border-bottom-color: #0000FF;
	background-image: url(templa/gif/3.gif);
	background-repeat: no-repeat;
	background-position: left center;
	padding-left: 20px;
	margin-top: 5px;
	margin-right: 5px;
	margin-bottom: 10px;
	margin-left: 5px;
	line-height: 1.5;
}

div#content div#text-main h4,
div.entrance h4,
div.entrance h5 {
	font-size: 12pt;
	font-weight: bold;
	margin-top: 5px;
	margin-right: 5px;
	margin-bottom: 0px;
	margin-left: 10px;
	line-height: 1.5;
}

div#content div#text-main h4 {
	margin-left: 0px;
	border-bottom-width: 1px;
	border-left-width: 5px;
	border-bottom-color: #0000FF;
	border-left-color: #0000FF;
	border-bottom-style: dashed;
	border-left-style: solid;
	padding-left: 5px;
}

div#content p.content-text,
div#content p.content-q {
	text-indent: 1em;
	padding: 5px;
	line-height: 1.5;
	font-size: 12pt;
	margin-top: 5px;
	margin-right: 0px;
	margin-bottom: 5px;
	margin-left: 0px;
}

div#content p.content-q {
	text-indent: -2.4em;
	margin-left: 2.5em;
	font-weight: bold;
}

div#content div#text-info p,
div#content div#index_menu p {
	padding: 5px;
	line-height: 1.5;
	font-size: 12pt;
	margin-top: 5px;
	margin-right: 0px;
	margin-bottom: 5px;
	margin-left: 0px;
}

div#content div#text-main ol {
	list-style-position: outside;
	line-height: 1.5;
	margin-left: 40px;
	margin-right: 5px;
}

div#content div#text-main ol ul {
	list-style-type: none;
	text-indent: -3ex;
	margin-left: 3ex;
}

div#content div#text-main ul {
	list-style-position: outside;
	line-height: 1.5;
	margin-left: 25px;
	margin-right: 5px;
	padding-bottom: 10px;
	list-style-image: url(templa/gif/4.gif);
}


div#content p.ex {
	line-height: 1.5;
	margin-top: 5px;
	margin-right: 0px;
	margin-bottom: 5px;
	margin-left: 0px;
	padding-top: 0px;
	padding-right: 5px;
	padding-bottom: 0px;
	padding-left: 5px;
}

div#content span.zenkoku {
	font-weight: bold;
	color: #0000FF;
}

div#content span.end {
	text-decoration: line-through;
}

div#see-also ul,div#literature ul,div.list1 ul {
	list-style-position: outside;
	margin-left: 20px;
	list-style-type: circle;
	padding-top: 10px;
	padding-right: 0px;
	padding-bottom: 10px;
	padding-left: 0px;
	line-height: 1.5;
}
div.list3 ul {
	list-style-position: outside;
	margin-left: 20px;
	list-style-type: none;
	line-height: 1.5;
}
div.list3 ul li {
	margin-top: 10px;
	margin-bottom: 10px;
}


div.list4 ul {
	list-style-position: outside;
	margin-left: 20px;
	list-style-type: none;
	line-height: 1.5;
}

div#text-gyoumu {
	padding-right: 5px;
	padding-left: 5px;
	margin-bottom: 10px;
	clear: both;
}

div#text-gyoumu ol {
	margin-top: 10px;
	margin-bottom: 10px;
}

div#text-gyoumu h3   {
	text-align: left;
	background-color: #CFE3FA;
	border-left-width: 10px;
	border-left-style: solid;
	border-left-color: #006699;
	border-bottom-width: 2px;
	border-bottom-style: solid;
	border-bottom-color: #006699;
	padding-left: 5px;
	list-style-position: inside;
	font-weight: bold;
	margin-top: 10px;
	margin-right: 0px;
	margin-bottom: 10px;
	margin-left: 0px;
	padding-top: 5px;
	padding-bottom: 5px;
}

div#text-gyoumu p {
	text-indent: 1em;
	line-height: 1.5;
	font-size: 12pt;
	margin: 0px;
	padding-top: 0px;
	padding-right: 5px;
	padding-bottom: 0px;
	padding-left: 5px;
}

div#text-gyoumu p.reigai {
	text-align: center;
}

div.tanka {
	background-color: #FFFFCC;
	border: 1px solid #000000;
	margin-bottom: 10px;
}

div.tanka h4 {
	font-size: 14pt;
	background-color: #CFE3FA;
	border-left-width: 10px;
	border-left-style: solid;
	border-left-color: #006699;
	border-bottom-width: 2px;
	border-bottom-style: solid;
	border-bottom-color: #006699;
	padding-top: 5px;
	padding-bottom: 5px;
	padding-left: 5px;
	margin-bottom: 10px;
}

div#text-gyoumu span.ryoukin,div.tanka span.ryoukin {
	font-size: 14pt;
	color: #0000FF;
	font-weight: bold;
	padding-left: 10px;
}
div#new {
	text-align:center
}

div#new,div#list2 {
	padding-bottom: 10px;
	font-size: 12pt;
}

div#new dt,div#list2 dt {
	background-image: url(templa/gif/4.gif);
	background-repeat: no-repeat;
	background-position: left center;
	font-weight: bold;
	padding-top: 10px;
	margin-left: 5px;
	padding-left: 20px;
	line-height: 1.2;
	padding-bottom: 5px;
}

div#new dd,div#list2 dd {
	margin-left: 25px;
	line-height: 1.5;
}

div.entrance {
	border: 1px solid #0000FF;
	padding-top: 0px;
	padding-right: 5px;
	padding-bottom: 0px;
	padding-left: 5px;
	background-color: #FFFFCC;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 10px;
	margin-left: 0px;
	clear: both;
}

div.entrance p.article1 {
	line-height: 1.5;
	font-size: 12pt;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 2em;
	padding-top: 0px;
	padding-right: 5px;
	padding-bottom: 0px;
	padding-left: 5px;
}

div.entrance p.article2 {
	line-height: 1.5;
	font-size: 12pt;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 2em;
	padding-top: 0px;
	padding-right: 5px;
	padding-bottom: 0px;
	padding-left: 5px;
	text-indent: -1em;
}

div.entrance p.article3 {
	text-indent: -1.5em;
	line-height: 1.5;
	font-size: 12pt;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 4em;
	padding-top: 0px;
	padding-right: 5px;
	padding-bottom: 0px;
	padding-left: 5px;
}

div.entrance p.navi   {
	text-indent: 0px;
	padding: 0px;
	margin-top: 5px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}

div.book1 {
	padding: 0px;
	margin-top: 10px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	text-align: left;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #999999;
	width: 509px;
	height: 200px;
}

div#portrait {
	padding: 0px;
	margin-top: 10px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	text-align: left;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #999999;
	width: 581px;
	height: 200px;
}

div.book1 p.ex img,div#portrait p.ex img {
	float: left;
	padding-right: 5px;
	padding-left: 5px;
}

div#ad-f {
	padding: 0px;
	text-align: center;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 10px;
	margin-left: 0px;
	clear: both;
}

div#ad-f p.ad-f-navi {
	padding: 0px;
	text-indent: 0px;
	text-align: left;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 24px;
}

div#ad-f p.ad-f-1 {
	margin: 0px;
	padding: 0px;
	text-indent: 0px;
}

div#order-box  {
	margin-bottom: 10px;
	padding: 0px;
}

div#ad-f-l {
	padding: 0px;
	text-align: center;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 10px;
	margin-left: 0px;
}

div#ad-f-l div#ad-f-l-left {
	float: left;
	padding-left: 15px;
}

div#ad-f-l div#ad-f-l-right {
}


div#ad-f-l p.ad-f-l-navi {
	margin: 0px;
	padding: 0px;
	text-align: center;
}

div#ad-f-l p.ad-f-l-1 {
	margin: 0px;
	padding: 0px;
	text-indent: 0px;
}

div#footer-navi {
	margin-bottom: 10px;
	padding-right: 5px;
	padding-left: 5px;
	text-align: center;
        clear: right;
}

div#content p.order {
	margin: 0px;
	background-image: url(templa/gif/2.gif);
	background-repeat: no-repeat;
	background-position: left center;
	padding: 5px;
	text-indent: 35pt;
	font-weight: bold;
	font-size: 16pt;
	color: #0000FF;
}

div#content p.order-link        {
	text-indent: 35pt;
	background-image: url(templa/gif/2.gif);
	background-repeat: no-repeat;
	background-position: left center;
	margin-top: 5px;
	margin-right: 0px;
	margin-bottom: 5px;
	margin-left: 0px;
	font-weight: bold;
	padding: 0px;
}

div#sm  {
}

div#sm h2 {
	background-image: url(templa/gif/h2.gif);
	background-repeat: no-repeat;
	background-position: center center;
	margin-top: 10px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}

div#sm h3 {
	margin-top: 10px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 10px;
	background-image: url(templa/gif/3.gif);
	background-repeat: no-repeat;
	background-position: left center;
	padding-left: 20px;
}

div#sm p {
	margin: 5px;
	line-height: 1.5;
	padding: 0px;
}

table#index {
	width: 670px;
	text-align: center;
	border-collapse: collapse;
}

table#index p,
table#index h3,
table#index h4 {
	text-align: center;
	padding-top: 10px;
	padding-right: 0px;
	padding-bottom: 10px;
	padding-left: 0px;
}

table#index a {
	text-align: center;
}


div#text-main iframe {
    border: 0px;
}


/* サイドバーコンテナボックス */

div#sidebar {
	width: 336px;
	border: 1px solid silver;
	text-align: left;
	float: right;
	margin-left: 0px;
}

div#menu-index {
	background-image: url(templa/gif/navi-h4.gif);
	background-repeat: no-repeat;
	text-align: center;
	margin: 0px;
	padding: 0px;
	width: 336px;
}

div#menu-index h2{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 18pt;
	font-weight: bold;
	color: #0000FF;
}

div#sidebar p.menutitle  {
	background-image: url(templa/gif/h4.gif);
	background-repeat: no-repeat;
	background-position: left bottom;
	width: 336px;
	height: 32px;
	display: block;
	line-height: 24pt;
	text-align: left;
	padding-top: 0px;
	padding-bottom: 0px;
	padding-left: 10px;
	padding-right: 0px;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	margin-right: 0px;
	font-size: 12pt;
	font-weight: bold;
}

div.menu,
info-menu,
link-menu {
	padding: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 5px;
	margin-left: 0px;
}

div.menu-ad {
	width: 250px;
	text-align: center;
	padding: 0px;
	margin: 0px;
}

div.menu ul,
div.info-menu ul {
	text-align: left;
	margin: 0px;
	padding: 0px;
	text-indent: 5px;
	text-decoration: none;
}

div.menu ul li,
div.info-menu ul li {
	position: relative;
	width: 336px;
	line-height: 24pt;
	height: 32px;
	display: block;
	border-bottom-width: 2px;
	border-bottom-style: solid;
	border-bottom-color: #999999;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	list-style-type: none;
	text-decoration: none;
	padding: 0px;
	font-size: 12pt;
	}

div.menu ul a:active,
div.info-menu ul a:active,
div#sidebar p.menutitle a:active,
div.menu-order-box ul a:active {
	background-color: #FFFF99;
}

div.menu ul a:hover,
div.info-menu ul a:hover,
div#sidebar p.menutitle a:hover,
div.menu-order-box a:hover {
	background-color: #FFFF99;
}

	
div.menu ul li span,div.info-menu  ul li span {
	font-weight: bold;
	text-decoration: none;
}

div.menu ul li table {
	border-collapse: collapse;
	border: none;
	padding: 0;
	position: absolute;
	top: 0;
	left: 0;
	text-decoration: none;
}
				
div.menu ul li ul {
	visibility: hidden;
	overflow: hidden;
	position: absolute;
	top: -27px;
	left: 205px;
	width: 300px;
	border: 1px solid #999999;
	background-color: #FFFFFF;
	padding-bottom: 5px;
	text-indent: 0px;
	padding-left: 5px;
	text-decoration: none;
}

div.menu ul li ul li {
	width: 300px;
	display: block;
	height: auto;
	text-decoration: none;
}

div.menu ul a,div.menu ul li ul li a{
	display: block;
}

div.menu ul li a:hover {
	position: relative;
	z-index: 100;
}

div.menu ul li ul a:hover {
	background-image: none;
	border-top-style: none;
}
			
div.menu ul li:hover ul,div.menu ul li:hover ul {
	visibility: visible;
	overflow: visible;
	height: auto;
	z-index: 1000;
}

div.menu p,div.info-menu p {
	margin: 5px;
	font-size: 12pt;
}
div.menu p.book {
	text-align: center;
}

table#menu {
	width: 336px;
	text-align: center;
	border-collapse: collapse;
}

table#menu tr,table#menu td {
	border: 1px solid #000000;
}


/* アシストナビゲーション */

div#assist-navi {
	position: absolute;
	top: 0px;
	width: 798px;
	overflow: visible;
	visibility: visible;
	text-align: left;
}


div#assist-navi h2 {
	height: 0px;
	overflow: hidden;
}

div#assist-navi ul {
	margin: 5px;
	padding: 0px;
	overflow: visible;
	text-align: center;
}

div#assist-navi ul li {
	margin-left: 10px;
	display: inline;
	font-size: 10pt;
	list-style-type: none;
	overflow: visible;
}

/* フッタースタイルボックス */

div#footer {
	width: 798px;
	margin-right: auto;
	margin-left: auto;
	position: relative;
	clear: both;
	padding-top: 5px;
	font-size: 10pt;
}

div#footer h2 {
	height: 0px;
	overflow: hidden;
}

div#footer ul {
	margin: 5px;
	padding: 0px;
}

div#footer li {
	margin-left: 10px;
	display: inline;
	list-style-type: none;

}

address.office,address.date {
	font-style: normal;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 5px;
	margin-left: auto;
	padding-top: 0px;
}

p.info,p.footer-info {
	padding: 0px;
	margin-right: auto;
	margin-bottom: 5px;
	margin-left: auto;
	margin-top: 5px;
}

address.copyright {
	font-weight: bold;
	margin-top: 5px;
	margin-right: auto;
	margin-bottom: 5px;
	margin-left: auto;
	font-style: normal;
}
