/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 2021/07/23, 10:00:00
    Author     : yutopia
*/



@font-face {
    font-family: monospace;
    src: url("SourceHanMono-Regular.otf") format("opentype");
}

@font-face {
    font-family: prop;
    src: url("NotoSansCJKjp-Regular.otf") format("opentype");
}

@font-face{
    font-family: msfonts;
    src:local("msgothic.ttc")format("truetype");
}


html, body, div, header, nav, ul {
    font-family: monospace;
    margin: 0;
    padding: 0;
}

body {
    font-size: 11pt;
    font-style: normal;
    font-weight: bolder;
    background-color: #FFFFFF;
    color: #595959;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    width: 100%;
    line-break: strict;
}

ruby { display: ruby; }
rt   { 
    display: ruby-text; 
    white-space: nowrap;
    line-height: 1; 
    font-size: 50%;
}

:lang(el) {
    font-family: 'Alegreya', serif;
}

a:link {
    color: #6666FF;
    text-decoration: none ;
    line-height: 16px;
}

a:visited {
    color: #c40026;
    text-decoration: none ;
    line-height: 16px;
}

a:active {
    color: #ffff00;
    text-decoration: none ;
    line-height: 16px;
}

a:hover {
    color: #ffff00;
    text-decoration: none ;
    line-height: 16px;
}

#header {
    font-family: 'Noto Sans Japanese';
    margin-top: 1em;    
}

#header a{
    color: #666666;
    font-size: 90%;
    font-weight: 800;    
}

#header table {
    width: 99%;
    border: 0px;
    background-color: #EEEEEE;
    box-shadow:0px 0px 5px 3px rgba(0, 0, 0, 0.2) inset;
    border-style: outset;
    border-color: black;
    border: transparent;
    line-height: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0px;
}

#header table tbody {
    border: 0px;
    text-align: center;
}

#header table tbody tr {
    text-align: center;
    border: 0px;    
}

#header table tbody tr td {
    font-weight: bolder;
    font-size: small;
    padding: 0px;
    border: 0px;
    width: 10%;
}

#main {
    font-family: 'noto serif', 'Noto Sans JP', 'Noto Sans SC',serif;
    /*    width: 800px;*/
    width: 40em;
    margin-left: auto;
    margin-right: auto;
}
#main h1 {
    /*    width: 800px;*/
    border-color: #CCFFCC #006666 #006666 #CCFFCC;
    border-style: solid solid solid solid;
    border-width: 2px 2px 2px 2px;
    background-color: #339999;
    font-size: 15pt;
    color: #FFFFFF;
    font-weight: normal;
    margin-top: 22pt;
    margin-bottom: 3pt;
    padding-top: 3pt;
    padding-bottom: 3pt;
    padding-left: 3pt;
}

#main h2{
    background: #FFFFFF;
    font-size: 14pt;
    color: #336699;
    padding: 5px 5px 1px;
    font-weight: normal; 
    margin-top: 2pt;
    margin-bottom: 0pt;
}

#main h3{
    background: #FFFFFF;
    font-size: 14pt;
    color: #595959;;
    padding: 0px;
    font-weight: bolder; 
    width: 100%;
    text-align: right;
    margin: 0pt 0pt 2pt 0pt;
}

#contents{
    background: #E1FFE1;
    font-size: 12pt;
    font-weight: 600;
    line-height: 2;
    padding: 10px;
    border-color: #000000;
    border-style: solid;
    border-width: 1pt;
    box-shadow: 10px 10px 10px #AAAAAA;
}

#contents p{
    /*    text-indent: 10pt;*/
    padding: 0px;
    margin: 0px;
}


footer {
    font-family: 'Noto Sans Japanese';
    width:350pt;
    font-size: 10pt;
    margin:2em auto 2em auto;
}

footer nav{
    text-align: center;
}

footer .ad{
    border:0px;
    border-color: #BBBBBB;
    border-style: solid;
    border-width: 2pt;
}

footer .links{
    margin-top: 2em;
    text-align: center;
}

@media screen and (max-width: 40em) {
    #main {
        width: 100%;
    }
    #main h1 {
        width: 100%;
    }
    footer {
        width:100%;
    }
}
