﻿body {
    font-family: 'Yu Gothic UI', 'Segoe UI', Tahoma, Geneva,"ヒラギノ角ゴ Pro W3",Verdana,Helvetica,Arial,"メイリオ",Meiryo, sans-serif;
    font-weight: 400;
    font-size: 24px;
    margin: 0;
    background-color: gainsboro;
    border: solid 1px forestgreen;
}

h2, h3 {
    font-size: 30px;
    font-weight: 500;
}

h1 {
    font-size: 30px;
    font-weight: 500;
    margin: 5px 10px;
}

nav {
    margin: 3px;
    padding-left: 10px;
    font-size: 15px;
}

input[type="file"]{
    display:none;
}

#dirnav {
    background-color: white;
    border: solid 1px silver;
}

    #dirnav span {
        border-radius: 2px;
        transition: .1s;
    }

        #dirnav span:hover {
            background-color: lavender;
            transition: .1s;
        }

        #dirnav span:after {
            content: " > ";
        }

main {
    display: flex;
    justify-content: space-between;
    height: 620px;
    background-color: steelblue;
}

.MainColor {
    background-color: ghostwhite;
}

.MainLabel {
    background-color: steelblue;
    margin: 0;
    padding:0;
    padding-right:6px;
    color: ghostwhite;
    font-size: 12px;
    width:max-content;
    border-radius:0;
}


#mainLeft {
    margin: .5%;
    width: 17%;
    font-size: 16px;
    overflow: auto;
}

#mainLeftContent ol {
    list-style: none;
    margin: 3px 0 0 3px;
    padding: 0;
}

.mainLeftH {
    height: 0;
}

#mainLeftContent div {
    font-weight: bolder;
    color: teal;
}

    #mainLeftContent div::before {
        content: "↓";
        display: inline-block;
        transition: .8s;
    }

.mainLeftdivOpen::before {
    color: lawngreen;
    transform: rotate(90deg);
}

.mainLeftdivClose::before {
    transform: rotate(-1530deg);
}

#mainLeftContent li {
    color: black;
    transition: .3s;
    visibility: visible;
}

.mainLeftlih {
    visibility: hidden;
    opacity: 0;
}

#mainCenter {
    width: 70%;
    margin: .5% 0;
    position: relative;
}

#upimg {
    position: absolute;
    width: 28px;
    margin: 25px 0px 0px 5px;
    border: transparent solid 3px;
    transition: .8s;
}

    #upimg:hover {
        border: midnightblue solid 3px;
        transition: .8s;
    }


#Center1 {
    height: 70%;
    overflow: auto;
}

#C1OL, #C2OL {
    margin: 0;
    display: flex;
    justify-content: left;
    flex-wrap: wrap;
    list-style: none;
}

    #C1OL li, #C2OL li {
        width: 9%;
        position: relative;
        max-height: 120px;
    }

        #C1OL li img, #C2OL li img {
            width: 80%;
            transform: translate(10%);
            display: block;
            object-fit: cover;
        }

        #C1OL li span, #C2OL li span {
            font-size: 12px;
            display: block;
            width: 90%;
            overflow: hidden;
            text-align: center;
            padding: 0;
            overflow-wrap:break-word;
        }


#Center2 {
    position: absolute;
    bottom: 0;
    height: 28.5%;
    width: 100%;
    overflow: auto;
}

#mainRight {
    margin: .5%;
    width: 15%;
    overflow-wrap: anywhere;
    font-size: 16px;
    overflow: auto;
}

.mainRightHead {
    display: inline-block;
    width: 40%;
    font-style: italic;
    color: dimgray;
    overflow: hidden;
    overflow-wrap:normal;
}

    .mainRightHead::after {
        content: ":";
        padding: 0 6px;
        font-style: normal;
    }

.mainRightValue {
    display:inline-block;
    overflow: auto;
}

.mainRightVI{
    width:54%;
    transform:translateY(-4px);
}

.mainRightAddress{
    display:none;
}

#context {
    display: none;
    position: fixed;
    border: solid 1px black;
    min-width: 220px;
    max-width: 300px;
    padding: 5px 3px;
    font-size: small;
    background-color: darkcyan;
    color: lavender;
}

.contextmenu {
    padding: 0 6px 0 8px;
}

    .contextmenu:hover {
        background-color: ghostwhite;
        color: navy;
    }

/*renameとcontextを似たデザインにしています*/
#rename {
    display: none;
    position: fixed;
    border: solid 1px black;
    width: 220px;
    padding: 5px 3px;
    font-size: small;
    background-color: darkcyan;
    left: 50%;
    top: 40%;
    transform: translateX(-112px);
}

#currentname {
    display: none;
}

footer {
    text-align: center;
    margin: 25px;
    font-size: 16px;
}

@media screen and (max-width:750px) {
    body {
        font-size: 18px;
        margin: 0px;
        padding: 0px;
    }
}
