.accent_color {
    background-color: rgb(0, 70, 117);
}

.scroll::-webkit-scrollbar {
    width: 6px;
    height: 8px;
}
.scroll::-webkit-scrollbar-track{
    background-color:rgb(44, 44, 44);
    border-left: solid 1px gray;
    border-top: solid 1px gray;
}
.scroll::-webkit-scrollbar-thumb{
    background: #ccc;
    border-radius: 10px;
}
.scroll::-webkit-scrollbar-corner
{
        background:#333;
}

#c {
    width: 172px;
    padding-top: 5px;
    padding-left: 13px;
    border-top: solid 1px gray;
    font-size:80%;
    display: inline-flex;
    align-items :center;
    position: absolute;
    bottom: 0;
}
#c > a {
    display: inline-flex;
    align-items :center;
    margin-left: 4px;
    color: gray;
}
.twitter {
    height: 22px;
    fill: rgb(230, 230, 230);
}

body {
    margin: 0;
    background-color: rgb(30, 30, 30);
    color: rgb(235, 235, 235);
    overflow: hidden;
}
header {
    padding: 12px 20px;
    font-size: 1.5vmin;
    border-bottom: solid 2px rgb(192, 192, 192);
    box-shadow: rgba(0, 0, 0, 0.6) 0px -4px 15px;
    transform: translateZ(10px);
}
header > h1 {
    color:white;
    margin: 0;
    font-size: 200%;
    height: 4vmin;
}
h1 {
    margin: 0;
}
h2 {
    margin-top: 60px;
}
p {
    margin: 4px 0;
}

#body {
    display: flex;
    height: calc(100vh - 4vmin - 26px);
}
input#navBtn+label > div#navContent {
    height: calc(100vh - 4vmin - 26px);
    position: absolute;
}
input#navBtn+label {
    display: block;
    height: calc(100vh - 4vmin - 26px);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    z-index: 1;
    box-shadow: rgba(0, 0, 0, 0.6) 2px 0px 5px;
}
input#navBtn+label > div#navContent  > #nav {
    float: left;
    width:185px;
}
input#navBtn+label  > div#navContent{
    /*display: none;*/
    transform:translateX(0px);
    transition-property: transform;
    transition-duration: 0.2s;
}
input#navBtn:checked+label  > div#navContent{
    /*display: none;*/
    transform:translateX(-185px);
    transition-property: transform;
    transition-duration: 0.2s;
}
#bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    cursor: pointer;
    float: right;
    width: 15px;
    height: 100%;
    background-color: gray;
    /*background: -moz-linear-gradient(top, rgb(99, 99, 99), rgb(141, 141, 141), rgb(99, 99, 99));
    background: -webkit-linear-gradient(top, rgb(99, 99, 99), rgb(141, 141, 141), rgb(99, 99, 99));
    background: linear-gradient(to bottom, rgb(99, 99, 99), rgb(141, 141, 141), rgb(99, 99, 99));*/
}
#bar > span {
    width: 50%;
    height: 5vmin;
    background-color:rgb(30, 30, 30);
    border-radius: 1vmin;
}
input#navBtn+label > #navWidth{
    width:200px;
    transition-property: width;
    transition-duration: 0.2s;
}
input#navBtn:checked+label > #navWidth{
    width:15px;
    transition-property: width;
    transition-duration: 0.2s;
}

div#left {
    width: 40vw;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

div#right {
    min-width: 0;
    flex: 1;
    border-left: solid rgb(100, 100, 100) 1px;
}
div#right > div:first-child {
    background-color: rgb(60, 60, 60);
}
div#right > div:first-child > img {
    float: right;
    height: 1.5em;
    margin: 0.1em;
    margin-right: 5px;
    cursor: pointer;
}
div#right > div:first-child > img:hover {
    background-color: rgb(214, 214, 214);
}
div#right > div:first-child > input {
    display: none;
}
div#right > div:first-child > input+label {
    cursor: pointer;
    padding: 5px 20px 0px 20px;
    display: table-cell;
    color: rgb(194, 194, 194);
    border-right:rgb(30, 30, 30) 0.5px solid;
} 
div#right > div:first-child > input+label:hover {
    background-color: rgb(50, 50, 50);
}
div#right > div:first-child > input:checked+label {
    cursor: default;
    background-color: rgb(30, 30, 30);
    color: white;
} 

/* ナビゲーションバー */
#nav > div:first-child {
    margin-top: 3px;
    margin-left: 3px;
}
#nav > div:first-child > span {
    display: inline-block;
    margin-left: 3px;
    transform: scale(0.8);
    color:gray;
    cursor: pointer;
}
#nav > div:first-child > span:hover {
    color:rgb(155, 155, 155);
}
#fileList {
    overflow-x: hidden;
    width: 100%;
    min-height: 100px;
    max-height: 70vh;
}
#fileList > div {
    padding: 2px;
}
#fileList > div:hover {
    background-color: rgb(49, 49, 49);
}
#fileList > div > span {
    color: gray;
    opacity: 0;
    padding: 0 2px;
}
#fileList > div:hover > span {
    opacity: 1;
    cursor: pointer;
}
#umlBtn {
    border: rgb(77, 77, 77) solid 1px;
    border-radius: 10px;
    width: 90%;
    position: relative;
    left:50%;
    transform: translateX(-50%);
    text-align: center;
    font-size: 20px;
    padding: 2px 0;
    cursor: pointer;
}
#umlBtn:hover {
    background-color: rgb(0, 87, 145);
}

/* ファイル ドロップエリア */
#fileDropBox {
    width: 40vw;
    height:25%;
    display:flex;
    justify-content: space-around;
    align-items: center;
}
#dropArea {
    width: 92%;
    height:85%;
    border-radius: 2vmin;
    background-color: rgba(128, 128, 128, 0.5);
    border: dashed rgb(214, 214, 214) 3px;
    display:flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}
#dropArea > div {
    font-size: 1.5vw;
    font-size: calc(1.5vw - 1vmax + 1vh + 1.5px);
}
#dropArea > p {
    margin: 0;
    font-size: 0.8vw;
    font-size: calc(1.15vw - 1vmax + 1vh);
    color: rgb(209, 209, 209);
}
#dropArea > label {
    margin-top: 1vmin;
    padding: 6px 8px;
    font-size: 1.5vmin;
}
#dropArea > label:hover {
    background-color: rgb(0, 87, 145);
    cursor: pointer;
}

/* クラス図 描画エリア */
#classDiagram {
    width: 40vw;
    height: 75%;
    display:flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    background-color: rgb(60, 60, 60);
}
#classDiagram > div:first-child {
    transform: scale(0.9);
    height: 5%;
    width:100%;
    text-align: center;
    font-size: 2.5vh;
}
#classDiagramBox {
    width:39vw;
    height: 95%;
    display:flex;
    align-items: flex-start;
    background-color: gray;
    margin-bottom: 1vmin;
    border : rgb(100, 100, 100) ridge 4px;
}
#classDiagramBox > .menu {
    width: calc(10% - 2vw + 2vmin);
    height: calc(15.6vw - 8vw + 8vmin);
    background-color: rgb(44, 44, 44);
    transform: scale(0.8);
    border-radius: 5px;
    display:flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    opacity: 0.8;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.6);
}
#classDiagramBox > .menu > .hoverArea {
    display:flex;
    align-items: center;
    border-radius: 5px;
}
#classDiagramBox > .menu > .hoverArea > img {
    width: 100%;
    transform: scale(0.8);
    cursor: pointer;
}
#classDiagramBox > .menu > .hoverArea > img:hover {
    background-color: rgb(77, 77, 77);
}
#classDiagramBox > .menu > .hoverArea > div {
    position: absolute;
    left: 110%;
    width: max-content;
    font-size: 140%;
    color:black;
    background-color: gray;
    font-weight: bold;
    pointer-events: none;
    opacity: 0;
}
#classDiagramBox > .menu > .hoverArea:hover > div{
    opacity: 1;
    transition-property: opacity;
    transition-delay: 0.4s;
    transition-duration: 0.4s;
}
#classDiagramBox > div:last-child {
    width: calc(90% + 2vw - 2vmin);
    height: 100%;
}
#classDisplay {
    width: 100%;
    height: 60vh;
    display:flex;
    align-items: center;
    justify-content: center;
}
#classDiagramImg {
    height: inherit;
    width: inherit;
    max-width: 95%;
    max-height: 95%;
    object-fit:contain;
}
#classData {
    width: calc(90% + 2vw - 2vmin);
    cursor: default;
    float:right;
    resize: none;
    white-space: pre;
    overflow-wrap: normal;
    overflow-x: auto;
    padding: 5px;
    min-width: 98%;
    max-width: 98%;
    min-height: calc(100% - 10px);
    max-height: calc(100% - 10px);
    border: none;
    background-color: rgba(0, 0, 0, 0);
    font-size: 2.5vmin;
    display: none;
    border-left: solid 1.5px rgb(77, 77, 77);
    font-family: Arial;
}
#classData:focus {
    outline: none;
}

/* リスト 表示エリア*/
#listBox {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 10px);
    height: calc(100vh - 4vmin - 70px);
    margin-top: 5.5px;
    display:flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}
#listBox > .code {
    font-family: sans-serif;
    margin: 0px;
    width: 98%;
    height: 98%;
    border: rgb(100, 100, 100) ridge 4px;
    overflow: auto;
    background-color: rgb(15, 15, 15);
    padding: 5px;
    overflow: auto;
    resize: none;
    white-space: pre;
    overflow-wrap: normal;
    overflow-x: auto;
}