﻿@media (min-width: 768px) {
    .contents {
        width: 95vw;
    }
}

@media (min-width: 992px) {
    .contents {
        width: 95vw;
    }
}

@media (min-width: 1200px) {
    .contents {
        width: 70vw;
    }
}

.contents {
    margin-left: auto;
    margin-right: auto;
}

html, body {
    font-size: 16px !important;
}

.wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.split-box {
    height: 70vh;
    /*overflow-y: scroll;*/
}

#menu1, #menu2 {
    background-color: lightgray;
    border: 3px solid;
    border-radius: 5px;
    border-color: lightgray;
    /*border-color: black;*/
    margin: 0px 5px;
}

#details {
    border: 3px solid;
    border-radius: 5px;
    border-color: lightgray;
    /*border-color: black;*/
    margin: 0px 5px;
}


#menu1.split-box, #menu2.split-box {
    position: relative;
    display: block;
    /*min-width: 20%;*/
    /*max-width: 20%;*/
    /*width: 20%;*/
    text-align: center;
}

#menu1.split-box {
    min-width: 15%;
    max-width: 15%;
    width: 15%;
}

#menu2.split-box {
    min-width: 25%;
    max-width: 25%;
    width: 25%;
}

#menu1 input[type=radio], #menu2 input[type=radio] {
    display: none;
}

#menu1 label.btn, #menu2 label.btn {
    font-weight: bold;
    width: 90%;
    margin: 5px 5px;
    white-space: normal;
}

/*#menu1 input[type=radio]:checked + label.btn, #menu2 input[type=radio]:checked + label.btn {
    color: white;
    background-color: #007bff;
    border-color: #007bff;
}*/

#details.split-box {
    display: block;
    min-width: 60%;
    max-width: 60%;
    width: 60%;
}

#menu1 input.btn, #menu2 input.btn {
    width: 90%;
    margin: 5px 10px;
    font-family: Meiryo !important;
    font-size: 1rem;
}

div.item-title {
    height: 50px;
    /*text-align: -webkit-center;*/
    /*position: -webkit-sticky;*/
    /*position: sticky;*/
    /*top: 0;*/
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Meiryo !important;
    font-size: 1.25rem;
    font-weight: bold;
}

div.frame {
    height: calc(100% - 50px);
    overflow-y: scroll;
    overflow-x: hidden;
}

#details div.frame {
    overflow-x: scroll;
}

.details {
    white-space: nowrap;
    display: table;
    background-color: white;
    border: 2px solid;
    border-radius: 5px;
    border-color: black;
    padding: 3px;
    margin: 10px 5px;
}

td {
    padding: 1px 5px;
}

#indicator {
    display: none;
    z-index: 100;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(220, 220, 220, 0.8);
}

#show_img {
    font-size: 1.25rem;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    text-align: -webkit-center;
}