﻿@charset "utf-8";
@import url(https://use.fontawesome.com/releases/v6.4.2/css/all.css);

:root {
	--base-color: #333;
	--link-color: #666;
	--linkhover-color: #999;
	--border-color: #ccc;
	--white-color: #fff;
}

*,
*::before,
*::after {
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

html {
	-ms-overflow-style: scrollbar;
}

body {
	margin: 0;
	padding: 0;
	font-family: YuGothic,'Yu Gothic','TsukuBRdGothic-Regular','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3','Cambria Math','Avenir',sans-serif;
	font-weight: normal;
	font-style: normal;
	font-size: 14px;	
	line-height: 1.6;
	vertical-align: middle;
	-webkit-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
	word-break: break-all;	
	word-wrap: break-word;
	color: var(--base-color);	
	background-color: var(--white-color);
}

header {
	position: static;
}

footer {
	margin: 0 auto;
	padding: 1rem;
	text-align: center;
	text-decoration: none;
}

#contents {
	padding-right: 15px;
	padding-left: 15px;
	margin-right: auto;
	margin-left: auto;
}

#sub {
	position: relative;
	max-width: 600px;
	margin: 0 auto;
	padding: 30px 10px;
	background-color: transparent;
	z-index: 10;
	display: -webkit-box;
}

#main {
	margin: 0 auto;
	padding: 0 10px;
	max-width: 600px;
	background-color: transparent;	
}

a,
a:link,
a:visited {
	color: var(--link-color);	
	-webkit-transition: color .3s;
	transition: color .3s;
}

a:focus,
a:hover,
a:active {
	color: var(--linkhover-color);
	text-decoration: none;
}
a:hover img {
	opacity: 0.80;
}

h1 {
	margin: 0;
	font-size: 14px;
}

h1 a {
	display: block;
}

.Pict h2 {
	margin-bottom: 0.5em;
	font-size: 20px;	
}

.Pict h2 a {
	text-decoration-line: none;
}

.Pict h2:before {
	content: '';
	height: 1px;
	width: 10%;
	display: inline-block;
	background: var(--link-color);
	vertical-align: middle;
	margin-right: 30px;
}
  
.Pict h2:after {
	content: '';
	height: 1px;
	width: 10%;
	display: inline-block;
	background: var(--link-color);
	vertical-align: middle;
	margin-left: 30px;
}

h3 {
	margin-bottom: 0.25em;
	padding: 2px 5px;
	background: var(--base-color);	
	color: var(--white-color);
	font-size: 16px;
}

h4 {
	margin-bottom: 0.25em;
	font-size: 16px;
}

h5 {
	margin-bottom: 0.25em;
	padding: 2px;
	font-size: 16px;
	border: dotted var(--base-color);
	border-width: 1px 0 1px 0;		
}

h6 {
	margin-bottom: 0.25em;
	font-size: 16px;
	font-weight: bold;
}

p {
	margin-bottom: 1em;
}

img {
	max-width: 100%;
	height: auto;
	margin: 0 5px 5px 0;
	padding: 0;	
	vertical-align: bottom;
	border: none;
}

b,em,strong {
	font-weight:bolder;
	margin-right: 1em;
}

small {
	font-size:80%;
}

blockquote {
	quotes:none;
}

ul,dl {
	margin:0 0 2.5rem 0;
}

ul li {
	list-style: none;
}

dl {
	display: -webkit-box;
	display: flex;
	flex-wrap: wrap;
	margin: 20px;
}

dl dd,dl dt {
	display: block;
}

dl dt {
	margin-right: 20px;
}

table {
	width: 100%;
	margin-bottom: 1em;
	border-collapse: collapse;
	border-spacing: 0;
}
th {
	font-weight: normal;
	text-align: left;
	vertical-align: top;	
}
th,td {
	border-bottom: 1px solid var(--border-color);
}

hr {
	margin: 1em 0;
	padding: 0;
	height: 1px;	
	overflow: visible;
	display: block;
	border-width: 0;
	border-top: 1px solid var(--border-color); 	
}

del {
	text-decoration: line-through;
}

#sub nav {
	overflow: hidden;
	position: absolute;
	right: 0;
}
#sub nav ul {
	position: relative;
	float: left;
	margin: 0;
}

#sub nav ul li {
	position: relative;	
	float: left;
	display: inline;
	padding:0 20px;
}

#sub /*nav ul li*/ a {
	text-decoration: none;
	color: var(--link-color);
}

#sub /*nav ul li*/ a:hover {
	color: var(--linkhover-color);	
}

.big {
	font-size: 30px;
}
.Pict {
	text-align: center;
}
.Pict img {
	display: block;
	margin: 25px auto;
	border: 1px var(--border-color) solid;
}

.chara img {
	position: relative;
	float: left;
	width: 80px;
	height: 80px;
}

.chara p {
	min-height: 80px;
	margin: 20px auto 40px auto;
	overflow: hidden;
	clear: both;	
}

.chara p.topicpath {
	min-height: 0;
	margin: 0;
	color: var(--link-color);
}

p.topicpath {
	text-align: left;
	font-size: small;
}

ol.topicpath {
    display: flex;
    gap: 0 22px;
    list-style: none;
	margin: 0 0 1.5rem 0;	
    padding: 0;
	font-size: small;
}

ol.topicpath li {
    display: flex;
    align-items: center;
}

ol.topicpath li:not(:last-child)::after {
    display: inline-block;
    transform: rotate(45deg);
    width: .3em;
    height: .3em;
    margin-left: 10px;
    border-top: 1px solid var(--link-color);
    border-right: 1px solid var(--link-color);
    content: '';
}

ol.topicpath a {
    text-decoration: none;
}

.pageNavi {
	width: 100%;
	margin: 0 0 10px 0;
	padding: 10px 0;
	overflow: hidden;
	color: var(--border-color);
}

.pageNavi ul {
	display: flex;
	justify-content: center;
	margin:0;
	padding: 0;
}

.pageNavi ul li {
	margin: 0;
	padding: 0 20px;
}

.pageNavi ul li a {
	text-decoration: none;
}

.pageNavi ul li a::before,
.pageNavi ul li a::after,
.pageNavi .icon::before,i.fa {
	margin: 0 5px;
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	color: var(--link-color);
}

.pageNavi .prev a::before,.icon-prev::before {
	content: "\f053";
}

.pageNavi .next a::after,.icon-next::before {
	content: "\f054";
}

.pageNavi .toc a::before {
	content: "\f03a";
}

.pageNavi .icon-list::before {
	content: "\f00a";
}

.footmenu {
	width: 100%;
	padding: 20px 0;
	overflow: hidden;
}

.footmenu ul {
	margin-bottom: 0;
    padding-inline-start: 0;	
	display: flex;
	justify-content: center;
}

.footmenu li {
	margin: 0;
	padding: 0 20px;
}

.footmenu li a {
    position: relative;
    display: flex;
    text-decoration: none;
}

.copyright {
	clear: both;
	padding: 1rem 0;
	font-size: x-small;
	color: var(--link-color);
}

.totop {
	position: fixed;
	bottom: 15px;	
	right: 15px;	
}

.totop a {
	position: relative;
	display: block;
	width: 50px;
	height: 50px;
	padding: 0;
    background: var(--link-color);
	color: var(--white-color);
	text-decoration: none;	
}

.totop a:hover {
	background: var(--linkhover-color);
}

.totop a::before {
	position: absolute;
	width: 25px;
	height: 25px;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	margin: auto;
	text-align: center;
	content: "\f102";
	font-family: "Font Awesome 5 Free";
	font-size: 16px;
	font-weight: 900;
}

.totop a span {
	display: none;
}

@media (min-width: 768px) and (max-width: 1029px) {
	#contents,footer {
  		max-width: 720px;
	}
}
  
@media (min-width: 1030px) {
	#contents,footer {
	  max-width: 960px;
	}
}

@media only screen and (min-width: 768px) {}