:root{
    --enjiw: #b94047;
    --kurenaiw: #d7003a;
    --tokiw: #f4b3c2;
    --daidai: #e67928;
    --asagiw: #00a3af;
    --ruriw: #093d86;
    --moegiw: #aacf53;
    --konm: #141E64;
    --momo: #f09199;
    --amairo: #2ca9e1;
}
html, body, h1, h2, h3, h4, h5, h6, address, p, hr, pre, ol, ul, li, dl, dt, dd, div, a, em, strong, small, i, b, span, img, iframe, object, table, caption, th, td, form, fieldset, legend, label, input, select, textarea {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    /* background: url(../img/bg_section.png); */
}
body{
    background: url(../img/bg_section.png);
}
li{
    list-style: none;   
}
@media screen and (min-width: 1024px){
    #content {
        padding: 30px 0 30px 0;
        width: 1000px;
        margin: 0 auto;
        /* display: block; */
        /* Background: snow; */
        /* padding-top: 80px; */
        /* padding-bottom: 1ex; */
        
        /* margin: 2em 0em 1em 0em; */
        /* margin: 0em 0em 0em 0em; */
        /* padding-left: 0px; */
    }
    #postamble{
        width: 100%;
        padding: 0 0 100px;
        width: 1000px;
        margin: 0 auto;
    }
}
#text-table-of-contents {
    position: relative;
    /* height: 40px; */
    width: 100%;
    background: #e8e8e8;
    border-bottom: 1px #d5d5d5 solid;
    list-style: none;
    z-index: 1;
}
#text-table-of-contents ul {
    display: table;
    table-layout: fixed;
}
@media screen and (min-width: 1024px) {
    #text-table-of-contents ul {
        width: 1000px;
        margin: 0 auto;
    }
}
@media screen and (max-width: 1023px){
    #text-table-of-contents ul {
        width: 100%;
    }
}
#text-table-of-contents li {
    display: table-cell;
    list-style: none;
    position: relative;
    color: var(--gray-dark);
    text-align: center;
    font-size: 1.1em;
    font-weight: bold;
    line-height: 40px;
    background: url(../img/bg_menu.png) 95% 25px no-repeat;
    cursor: pointer;
}
#text-table-of-contents li a{
    color: var(--gray-dark);
}
#text-table-of-contents a:hover {
    color: #0056b3;
    text-decoration: none;
}
#text-table-of-contents li a[href="#kihon"]{
    color: var(--gray-dark);
    border-left: 2px #d5d5d5 solid;
    border-bottom: 3px solid var(--kurenaiw);
    border-right: 2px #d5d5d5 solid;
    display: block;
    width: 100%;
    height: 40px;
    position: relative;
    list-style: none;
}
#text-table-of-contents li a[href="#study"]{
    color: var(--gray-dark);
    /* border-left: 2px #d5d5d5 solid; */
    border-bottom: 3px solid var(--daidai);
    border-right: 2px solid #d5d5d5;
    display: block;
    width: 100%;
    height: 40px;
    position: relative;
}
#text-table-of-contents li a[href="#misc"]{
    color: var(--gray-dark);
    /* border-left: 2px #d5d5d5 solid; */
    border-bottom: 3px solid var(--amairo);
    border-right: 2px #d5d5d5 solid;
    display: block;
    width: 100%;
    height: 40px;
    position: relative;
}
#text-table-of-contents li li {
    display: none;
    /* height: 0; */
    /* overflow: hidden; */
    /* transition: .5s; */
}
#text-table-of-contents ul li:hover ul {
    display: table;
    position: absolute;
    top: 40px;
    right: auto;
    bottom: auto;
    left: 0;
    width: 100%;
    background: #e8e8e8;
    box-shadow: 0px 0px 2px rgb(0 0 0 / 30%);
}
#text-table-of-contents ul li:hover > ul > li {
    display: list-item;
    list-style: none;
    width: 100%;
    text-align: left;
    font-size: 0.95em;
    font-weight: normal;
    line-height: 1.6;
    border-bottom: 1px #d6d6d6 solid;
    border-left: 1px #e8e8e8 solid;
    border-right: 1px #e8e8e8 solid;
    background: none;
    white-space: nowrap;
}
#text-table-of-contents ul li > ul > li:hover a{
    display: block;
    background: #f2f2f2;
}
#table-of-contents > h2{
    display: none;
}
h1{
    margin: 24px 0 20px;
    padding: 20px 10px;
    color: var(--konm);
    background: white;
    font-weight: bold;
}
h2{
    margin: 35px 0 16px;
    padding-bottom: 0.3em;
    border-bottom: 3px solid #eaeaea;
}
h3{
    /* color: snow; */
    /* font-size: medium; */
    font-size: large;
    border-bottom: 2px solid #f2f2f2;
    /* border-left: 4px solid #141E64; */
    /* background: #141E64; */
    margin: 0.5em -1em ;
    padding: 0.5em 0.5em;
    /* border-radius: 5px;/\*角の丸み*\/ */
    font-weight: bold;
}
#outline-container-kihon h3{
    border-left: 5px solid var(--kurenaiw);
}
#outline-container-study h3{
    border-left: 5px solid var(--daidai);
}
#outline-container-misc h3{
    border-left: 5px solid var(--amairo);
}
h4{
    background: #F0F0F0;
    color: black;
    margin: 0.5em 0em;
    padding: 0.3em 0em;
    font-size: medium;
    font-weight: bold;
             
}
div.outline-2{
    padding: 0.5px 1em 1em;
    /* padding: 0 1em 0.05em; */
    /* margin: 1em 0; */
    margin: 2em 0;
    color: #000000;
    background: #fffffc;
    /* border: solid 1px #141E64; */
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
    /* border-radius: 5px;/\*角の丸み*\/ */
}
div.outline-3{
    padding: 0em 1em 1em;
    /* padding: 0 1em 0.05em; */
    /* margin: 1em 0; */
    margin: 1em 0;
    color: #000000;
    background: white;
    /* border: solid 1px #141E64; */
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
    /* border-radius: 5px;/\*角の丸み*\/ */
}
#outline-container-study .outline-4 {
    list-style:none;
    /* padding: 0.5em 1em; */
    padding: 0.5em 1em;
    /* margin: 0.5em 1em 0.5em 1em; */
    margin: 0.5em 0.3em 0.5em;
    color: #000000;
    background: white;
    /* border-top: solid 5px #5d627b; */
    /* border-left: solid 5px #141E64; */
    border-left: solid 5px var(--konm);
    /* border-left: solid 5px rgb(240,175,126); */
    /* padding-left: 0.5em; */
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
}
#outline-container-study h4{
    background: none;
    color: black;
    margin: 0;
    padding: 0em 0 0.2em;
    font-weight: bold;
}
#outline-container-misc .outline-4 {
    list-style:none;
    /* padding: 0.5em 1em; */
    padding: 0.5em 1em;
    /* margin: 0.5em 1em 0.5em 1em; */
    margin: 0.5em 0.3em 0.5em;
    color: #000000;
    background: white;
    /* border-top: solid 5px #5d627b; */
    /* border-left: solid 5px #141E64; */
    border-left: solid 5px var(--konm);
    /* border-left: solid 5px rgb(240,175,126); */
    /* padding-left: 0.5em; */
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
}
#outline-container-misc h4{
    background: none;
    color: black;
    margin: 0;
    padding: 0em 0 0.2em;
    font-weight: bold;
}
ul.org-ul li{
    list-style:none;
    /* padding: 0.5em 1em; */
    padding: 0.5em 1em;
    /* margin: 0.5em 1em 0.5em 1em; */
    margin: 0.5em 0.3em 0.5em;
    color: #000000;
    background: white;
    /* border-top: solid 5px #5d627b; */
    /* border-left: solid 5px #141E64; */
    border-left: solid 5px var(--konm);
    /* border-left: solid 5px rgb(240,175,126); */
    /* padding-left: 0.5em; */
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
}
[id$="kihondd"] ul.org-ul li {
    list-style:none;
    /* padding: 0.5em 1em; */
    padding: 0;
    /* margin: 0.5em 1em 0.5em 1em; */
    margin: 0;
    color: #000000;
    background: white;
    border-left: none;
    box-shadow: none;
}
[id$="kihondd"] dt {
    font-weight: normal;
    float: left;
}
[id$="kihondd"] dd {
    margin-left: 7em;
}
[id$="kihondd"] > .outline-4 dd {
    margin-left: 4em;
}
/* .outline-3 [id$="kihondd"] .outline-text-4  dd { */
/*     margin-left: 10em; */
/* } */


