html{
	height: 100%;
	overflow: hidden;
}
body{
  font-family: "游ゴシック体",YuGothic,"游ゴシック Medium","Yu Gothic Medium","游ゴシック","Yu Gothic","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro W3","メイリオ",Meiryo,"ＭＳ Ｐゴシック",Osaka,sans-serif;
  font-size: 16px;
  *+font-size: medium;
  font-size: 100%;
  background-color: #aa909a;
  width: 100%;
	overflow-x: hidden;
	overflow-y: hidden;
	color: #eee;
}
.nn-no-script{
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 1em;
  text-align: center;
  background-color: #ffc;
  z-index: 100;
  color: #600;
}

/* Container */
.nn-container{
	max-width: 100%;
	overflow-x: hidden;
}

/* Header */
.nn-header{
	position: relative;
  margin: 0 auto;
  background-color: #3c2211;
	min-height: 20px; height: 50px;
}
h1.nn-title{
	margin: 0 auto;
	padding: 10px 0 0 0;
	color: #eee;
	font-family: serif;
	font-size: 24px;
	opacity: 0.8;
	text-align: center;
}
.nn-logo{
	position: absolute;
	left: 5px; top: 0px;
	height: 50px; width: auto;
	opacity: 0.8;
}
.nn-site-title{
	position: absolute;
	right: 10px; top: 0;
	height: 50px; width: auto;
	opacity: 0.8;
}
.nn-logo img{
	height: 50px;
}
.nn-site-title img{
	height: 50px;
}

/* Footer */
.nn-footer {
  width: 100%; min-height: 20px; height: 40px;
  background-color: #3c2211;
  border-color: #999;
  border-width: 1px 0 0 0;
  border-style: none;
  position: relative;
  padding: 0.25em 1em;
}
.nn-copyright {
  margin: 0.5em auto 0;
  text-align: center;
  font-size: 0.8em;
  font-weight: normal;
  line-height: 1.5em;
  color: #ccc;
}

#main{
	margin: 0; padding: 0;
	width: 100%;
	background-color: rgba(127,127,127,0.8);
}
#viewer1{
	background-color: rgba(64,64,64,0.9);
}
#viewer2 {
	background-color: rgba(255,255,255,1);
}
#docs{
	opacity: 1;
	position: absolute;
	right: 0;
}
#docf{
	opacity: 1;
	position: absolute;
	right: 0;
	width: 100%;
	display: none;
}
.left_panel{
	overflow: hidden !important;
}
.right_panel{
	overflow: hidden !important;
}
#doch{
	opacity: 1;
	position: absolute;
	right: 0;
	width: 100%;

}
#doh {
	position: absolute;
	display: none;
	width: 100%;
	height: 100%;
	overflow-x: auto;
}

/* Doc */
#doc {
	position: absolute;
	display: none;
	width: 100%;
	height: 100%;
	overflow-x: auto;
}
/* 縦書き */
.nn-dir1 {
  direction:rtl;
  width: 100%;
  overflow: hidden !important;
}
.nn-dir2 {
  position: absolute;
  direction:ltr;
  writing-mode:tb-rl;
  width: auto;
  color: #ccc;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -ms-touch-action: none;
  /*touch-action: none;*/
}
.nn-section{
	padding: 25px;
	background-color: rgba(32, 32, 32, 1);
	color: #bbb;
  word-break: break-all;
}
.nn-section h3 {
	font-family: sans-serif;
	font-size: 1.5rem;
	font-weight: bold;
	line-height: 1.7em;
	text-align: left;
	color: #999;
  word-break: break-all;
}
.nn-section p{
  margin: 0em 0;
	font-size: 1.3rem;
	font-weight: normal;
	line-height: 2em;
	text-align: left;
	text-indent: 0em;
  word-break: break-all;
}
.nn-section p.nn-first {
	margin-right: 1.5em;
}
.nn-section p.nn-indent{
	text-indent: 1em;
}
.nn-section span {
  /*font-weight: bold;*/
  cursor: pointer;
}
.nn-section span.storylink{
	color: #d9c;
}
.nn-section span.storylink span.nn-normal{
  font-weight: normal;
}

.nn-section p.storylink {
	color: #d9c;
	cursor: pointer;
}


.nn-section .nn-label-1{
  display: none;
}
ruby rt{
	font-size: 0.7rem;
}

/* Tool menu */
.nn-m-div{
  position: relative;
	height: 50px;
  margin: 0px auto;
  background-color: #999;
}
.nn-m-div-back{
	position: absolute;
	display: inline-block;
  width: 40%;
	text-align: left;
}
.nn-m-div-honji{
	position: absolute;
	right: 15px;
	display: inline-block;
	width: 60%;
	text-align: right;
}
.nn-m-div-menu button{
	display: inline-block;
	padding: 0.4rem 0.6rem;
	margin: 0.5rem 0 0.5rem 1rem;
	min-width: 60px;
	border: solid #000 1px;
	border-radius: 3px;
	background-color: transparent;
	color: #333;
	font-size: 0.9em;
	font-weight: normal;
	cursor: pointer;
}
.nn-m-div-menu button:hover{
	border: solid #999 1px;
	background-color: #555;
	color: #eee;
}
/* Select */
.nn-m-div-menu select {
	appearance: none;
	display: inline-block;
	padding: 0.4rem 1.6em 0.4rem 0.6rem !important;
	border: none;
	border-radius: 3px;
	background-color: transparent;
	color: #333;
	font-size: 0.9em;
	font-weight: normal;
	cursor: pointer;
}
.nn-m-div-menu select:hover{
  color: #eee;
	background-color: #555;
}
.nn-m-div-menu select:focus-visible{
	outline: none !important;
}

/* Option */
.nn-m-div-menu option{
  color: #333;
  background-color: #ccc;
}
.nn-m-div-menu option:hover{
  color: #eee;
	background-color: #555;
}
/* Select wrap */
.nn-select-wrap{
	display: inline-block;
	position: relative;
	margin: 0.5rem 0 0.5rem 1rem;
	border: solid #000 1px;
	border-radius: 3px;
}
.nn-select-wrap::after{
	content: "";
  color: #333;
	position: absolute;
	right: 0.5em; top: 1em;
	width: 4px; height: 4px;
  border-top: solid #000 1px;
  border-left: solid #000 1px;
  transform: translateY(-50%) rotate(-135deg);
	pointer-events: none;
}

.nn-ura{
  background-color: #ddd;
  color: #111;
}
.nn-color-red{
  color: #f66;
}
p.nn-small {
  margin-top: 2em;
  color: #999;
  font-size: 0.9rem;
}
div.nn-image {
  margin-top: 1em;
}
img.nn-exfont {
	width: 1em;
	height: auto;
	margin: 0 0 0 -0.5em;
	background-color: rgba(255, 255, 100, 0.4);
	fill: red;
}
span.nn-exchar {
	background-color: rgba(255, 255, 0, 1);
}

/* Right splitter pane */
.nn-dir2::-webkit-scrollbar {
	-webkit-appearance: none;
	height: 24px;
}
.nn-dir2::-webkit-scrollbar-thumb {
  border-radius: 2px;
	border: 2px solid rgba(32, 32, 32, 0.8);
	background-color: rgba(127,127,127,0.7);
	cursor: move !important;
}
.nn-dir2::-webkit-scrollbar-track {
  background-color: rgba(64,64,64,0.8);
  border-radius: 2px;
}
.splitter_panel .vsplitter {
	background-color: #000 !important;
	width: 4px;
}
.splitter_panel .hsplitter {
	background-color: #000 !important;
	height: 4px;
}
.nn-splitter-disable{
  pointer-events: none;
}

/* Usage modal */
.modal-content{
  color: #333;
}
.modal-body img{
  display: inline-block;
}
.modal-body img.nn-wide{
  width: 100%;
  height: auto;
}

#usage{
  /*display: none;*/
}

.mvtool{
	position: absolute;
	bottom: 50%;
	width: 40px;
	height: 80px;
	background-color: rgba(0,0,0,0.4);
	z-index: 100;
	font-size: 16px;
	color: #fff;
	margin-top: -40px;
	cursor: pointer;
}
#mv1{
	right: 0;
}
#mv2{
	left: 0;
}

/* Responsive */
/*@media screen and (max-width: 1599px){
}*/
@media screen and (max-width: 1023px){
  .nn-select-wrap{
  	margin: 0.5rem 0 0.5rem 0.5rem;
  }
  .nn-m-div-menu button{
  	padding: 0.4rem 0.3rem;
  	margin: 0.5rem 0 0.5rem 0.5rem;
  	min-width: 40px;
  	font-size: 0.8em;
  }
}
@media screen and (max-width: 767px){
  .nn-logo img{
  	height: 25px;
  }
  .nn-site-title img{
  	height: 25px;
  }
  h1.nn-title{
    padding: 24px 0 0 0;
    font-size: 18px;
  }
  #fontsize{
    display: none;
  }
  .nn-m-div-back{
    width: 30%;
  }
  .nn-m-div-honji{
    width: 68%;
  }
}
@media screen and (max-width: 639px){
  #prev,#next {
    display: none;
  }
  .nn-m-div-back{
    width: 20%;
  }
  .nn-m-div-honji{
    width: 77%;
  }
}
@media screen and (max-width: 539px){
  #honji {
    display: none;
  }
  .nn-m-div-back{
    width: 27%;
  }
  .nn-m-div-honji{
    width: 70%;
  }
}
@media screen and (max-width: 499px){
  .nn-copyright {
    font-size: 0.6em;
    margin: 1em auto 0;
  }
}
/*@media screen and (max-width: 350px){
}*/

@supports (-webkit-touch-callout: none) {
	.vertical-text {
		text-orientation: upright;
	}
}
