/*******************************************************************************
	今のところ，コードをきれいにする余裕はない。
	恥ずかしいのであんまり見ないで… ///
*******************************************************************************/

@charset "utf-8";

@font-face {
	font-family: BizGothicR;
	src: local("BIZ-UDPGothic"),
			 url('../fonts/BIZUDGothic-Regular.woff2') format('woff2');
	font-display: swap;
}
@font-face {
	font-family: BizGothicB;
	src: local("BIZ-UDGothic-Bold"),
			 url('../fonts/BIZUDGothic-Bold.woff2') format('woff2');
	font-display: swap;
}

@font-face {
	font-family: NotoSansB;
	src: local("Noto Sans CJK JP");
	font-weight: bold;
}

@font-face {
	font-family: YuGothicM;
	src: local("Yu Gothic Medium");
}

@font-face {
	font-family: YuGothicB;
	src: local("Yu Gothic Bold");
}

@font-face {
	font-family: "UD デジタル 教科書体 N-Bold";
	src: local("UDDigiKyokashoN-Bold");
}

:root {
	--reg-font: "UD デジタル 教科書体 N", "UD デジタル 教科書体 N-R", "Noto Sans CJK JP", YuGothicM, BizGothicR, sans-serif;
	--cap-font: "UD デジタル 教科書体 N-Bold", "UD デジタル 教科書体 N-B", YuGothicB, BizGothicB, sans-serif;
}

img {
	max-width: 1000px;
}

html {
	scroll-behavior: smooth;
	user-select: none;
}

body {
	background-color: #001020;
	background-image: url(../imgs/bg_machi5.jpg);
	background-attachment: fixed;
	font-family: var(--reg-font);
	margin: 0;
	padding: 8px;
}

strong {
	font: inherit;
	font-family: var(--cap-font);
	font-weight: 400;
}

p {
	text-indent: 0.6em;
	margin: 0;
}

p.vspace {
	text-indent: 0.6em;
	margin: 0.8em 0 0;
}

a			{ color: #c080ff; }
a:link		{ color: #c080ff; }
a:visited	{ color: #c080ff; }
a:hover		{ background-color: rgba(64,64,0,0.4); color: #e080e0; }
a:active	{ background-color: rgba(64,64,0,0.4); color: #e080e0; }
a:focus		{ background-color: rgba(64,64,0,0.4); color: #e080e0; }

.nowrap {
	white-space: nowrap;
}

span.null {
	display: inline-block;
	width: 0;
}

div#site-container{  
	background-image: url(../imgs/backgrd.gif);
	border-radius: 30px 15px 15px 15px;
	color: #0080ff;
	margin: 0 auto;
	padding: 0;
	width: 920px;
	font-size: 16px;
	min-width: 390px;
}


div#sitetitle-area{  
	background-color: rgba(0,0,255,0.3);
	border-radius: 30px 0 0 0;
	width: 390px;
	height: 100px;
	/* float: left; */
}


div#site-header{  
	display: flex;
	/* position: fixed; */
}


div#introduction-area{
	background-color: rgba(0,0,255,0.3);
	border-radius: 0 15px 0 0;
	height: 65px;
	width: 530px;
	display: table-cell;
	vertical-align: bottom;
	text-align: right;
	font-size: 1.15em;
	color: #00b0f0;
	padding: 0 10px 5px 10px;
	margin: 0;
	line-height: 1.4em;
}

div#tabmenu-area{
	/* width: 920px; */
	height: 30px;
	font-size: 1.25em;
	text-align: center;
	margin: 0;
	background-color: rgba(255,0,255,0.2);
}

a.tabmenu{
	color: #00c0f0;

	margin-left: 3px;
	margin-right: 3px;

	/* vertical-align: middle; */
}

a.tabmenu:link		{ color: #00c0f0; }
a.tabmenu:visited	{ color: #00c0f0; }
a.tabmenu:hover		{ background-color: #002020; color: #00e0f0; }
a.tabmenu:active	{ background-color: #002020; color: #00e0f0; }
a.tabmenu:focus		{ background-color: #001010; color: #007078; }

div.tooltip {
	position: fixed;
	left: 0;
	top: 0;
	font-family: var(--reg-font);
	font-weight: 400;
	color: #c0ff80;
	text-shadow: none;
	background-color: rgba(0,80,128,0.7);
	z-index: 100;
	border-color: rgba(0,80,128,0.6);
	border-style: ridge;
	border-width: 4px;
	text-align: left;
	line-height: 1.2rem;
	font-size: 0.8rem;
	padding: 0.3rem 0.3rem 0.1rem;
	visibility: hidden;
	white-space: nowrap;
}

div.tooltip > div + div {
	margin-top: 0.9rem;
}





div#mainview-area{
	font-size: 1.4em;
	color: #0080e0;
	margin: 20px 0 0;
	padding: 0 12px 12px;
}


div.article-standard{
	background-color: rgba(48, 0, 96, 0.4);
	background: linear-gradient(225deg, rgba(64, 0, 128, 0.5), rgba(0, 64, 128, 0.5), rgba(64, 0, 128, 0.5), rgba(0, 64, 128, 0.5));
	margin: 30px auto;
	width: 75%;
	border-radius: 8px;
	border: solid 2px rgba(192, 160, 255, 0.5);
	padding: 32px 24px 12px;
}


div.indent01{
	margin-left: 0.4em;
	margin-right: 0.4em;
}

.normalcaption1{
	margin: 0 0 0.7em;
	color: #ff40c0;
	width: 89%;
}

p.normaltext1{
	margin-top: 1em;
	font-size: 1em;
	color: #b0e0ff;
}

p.normaltext2{
	font-size: 0.9em;
	color: #a0d0f0;
}

p.normaltext3{
	font-size: 0.8em;
	color: #90c0e0;
}

p.normaltext4{
	margin-top: 1em;
	font-size: 1em;
	color: #d090d0;
}

span.normalemphasis1{
	color: #f0f080;
	margin: 0;
	padding: 0;
	display: inline;
}

span.normalemphasis2{
	color: #f0f080;
	font-family: var(--cap-font);
}

span.nextline-space::before {
	display: inline-block;
	margin-bottom: 1em;
	content: "\0a0";
	width: 0;
}

ul.normaltext1{
	text-align: left;
	font-size: 1em;
	color: #e0a0f0;
	padding-left: 18px;
}

ul.normaltext2{
	text-align: left;
	font-size: 1.1em;
	color: #e0a0f0;
}

li.normaltext1{
	margin: 24px 12px 16px 0px;
}

li.normaltext2{
	margin: 21px 24px 14px 0px;
}

.smalltext1 {
	font-size: 0.85em;
	color: #7098b0;
}

.smalltext2 {
	font-size: 0.85em;
	color: #b090c0;
}

.smallemphasis1 {
	color: rgba(208,208,112,0.9);
}

.mumble1 {
	font-size: 0.7em;
	color: rgba(80,96,112,0.8);
}

@media screen and (max-width: 959px) {
	div#site-container {
		width: auto;
		/* min-width: 400px; */
		font-weight: 400;
			border-radius: 30px 30px 15px 15px;

	}

	div#site-header{
		flex-direction: column;
		/* align-items: center; */
	}

	div#sitetitle-area{  
		background: none;
	}

	div#site-header2{  
		width: auto;
	}
	
	div#introduction-area{
		width: 10%;
		height: auto;
		padding: 10px 5px 8px;
		text-align: center;
		font-size: 1.1em;
		border-radius: 0;
	}
	
	div#tabmenu-area{
		width: 100%;
		font-size: 1.2em;
		padding-top: 0.1em;
		padding-bottom: 0;
		background-color: rgba(255,0,255,0.2);
	}
	
	p.mumble1 {
		font-size: 0.9em;
	}

	p.normaltext1 {
		font-size: 1em;
		line-height: 1.7em;
	}

	li.normaltext1 {
		font-size: 0.9em;
		line-height: 1.6em;
	}

	p.normaltext2 {
		font-size: 0.95em;
		line-height: 1.8em;
	}

	p.smalltext1 {
		font-size: 0.9em;
		line-height: 1.9em;
	}
	
	p.smalltext2 {
		font-size: 0.9em;
		line-height: 1.6em;
	}
}
