

@charset "UTF-8";

a {
    text-decoration: none !important;
    color: black !important;
}
.sp{
    display: none ;
}
.pc{
    display: block ;
}

.taknon{
    display: none;
}

.takmain {
    width: calc(100% - 20px);
    margin: 20px 0px 20px 20px;
}
.chart-container {
    width: 49.4%;
    height: 30vh;
    margin: 0px;
    display: flex;
}
.active-button {
    background-color: lightgray;
    pointer-events: none;
}
.message {
    font-size: 16px;
    color: red;
    margin: 8px 20px 10px;
    display: flex;
    height: auto;
    align-items: stretch;
    justify-content: space-between;
}

.takheadBox1{
    display: flex;
    width: 35%;
    align-items: stretch;
    justify-content: flex-start;
}

.taklaberImg {
    max-width: 350px;
    width: calc(100% - 13em);
    margin-left: 20px;
}

.taklaberImg img {
    width: 100%;
}

.takheadBox2 {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 65%;
}


.takerr {
    font-size: 2em;
    display: flex;
    align-items: center;
    font-weight: bold;
    color: red;
}
.takerr::before,
.takerr::after{
    content: '';
    display: inline-block;
    width: 41px;
    height: 35px;
    background-image: url(/images/1.png);
    background-size: cover;
    margin: 0 10px;
    animation: blink 1s infinite;
}
@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}
.errBox {
    display: flex;
    align-items: center;
    padding: 0 15px;
}
.takleftBox {
    width: 70%;
    overflow-y: scroll;
    height: 75vh;
    padding-right: 10px;
}
.takglaphBox {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    max-width: 1000px;
    justify-content: space-between;
}
canvas {
    background-color: #f5f5f5;
    margin: 0.5vh;
    padding: 15px;
}
.canvas-container {
    width: 100%;
    padding: 0;
    position: relative;
}

.canvas-container p{
    font-weight: bold;
    position: absolute;
    top: 26px;
    left: 45.5px;
    transform: translate(-50%, -50%);
    padding: 0;
    margin: 0;
    font-size: 0.6em;
    color: gray;
}

div#chart1 {
    margin-top: 0;
}

.takAve {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3em;
    background-color: #f5f5f5;
    font-weight: bold;
    margin: 0.5vh;
    padding: 15px 0 10px;
}
.takBox2 {
    width: 24%;
    padding: 0;
}
.takBox {
    display: flex;
}
.takrow {
    display: flex;
    justify-content: center;
}
.takcell {
    width: 50%;
    display: flex;
    font-size: 1.2em;
    justify-content: center;
    align-items: center;
    background-color: #f5f5f5;
    margin: 1vh 0.5vh 0.5vh;
    text-align: center;
    padding: 15px 0 10px;
}
.takselectBox {
    margin: 30px 50px 0 0px;
    display: flex;
}
.filter-button {
    background-color: #f0f0f0;
    color: #888888;
    border: 1px solid #cccccc;
    padding: 10px 20px;
    cursor: pointer;
    flex: 1;
    text-align: center;
    outline: none;
    border-radius: 5px;
    margin-right: 5px;
    font-size:1.2em;
}
.filter-button:last-child {
    margin-right: 0;
}
.filter-button.active-button {
    background-color: #0066cc;
    color: #ffffff;
    border-color: #0066cc;
}

.takrightBox {
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
button#search-data {
    width: 17.5vw;
    font-size: 1.2em;
    height: 3.8em;
    margin-bottom: 10px;
}
.radio-group {
    font-size: 1.2em;
    width: 16.5vw;
}
.date-range{
    display: flex;
}

div#custom-date-range {
    width: 17.5vw;
    margin: 0 10px;
}
input#start-date,
input#end-date {
    font-family: 'meirio';
    width: 17.5vw;
    font-size: 1.2em;
    text-align: center;
    border: none;
}
.takbun {
    font-size: 1em;
    font-weight: 100;
    margin: 10px 20px 10px;
    width: 3em;
}
.takfootBotRow {
    display: flex;
    width: 100%;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}
.takfootBot {
    display: flex;
    justify-content: center;
    margin: 20px 0px 0px;
}
.takfootBot button {
    width: 17.5vw;
    font-size: 1.2em;
    height: 3.8em;
}

#y-axis-settings-menu {
    display: block;
    position: fixed;
    top: 50px;
    right: -300px;
    background-color: white;
    padding: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    font-size: 1.2em;
    height: 70vh;
    overflow-y: scroll;
    width: 65vw;
}

.takdataSep{
    margin: 10px 0;
}

.hidden{
    display: none !important;
}

.machinID {
    color: black;
}

button {
    background-color: #f0f0f0;
    border: 1px solid #cccccc;
    padding: 10px 20px;
    cursor: pointer;
    text-align: center;
    outline: none;
    border-radius: 5px;
    margin-right: 5px;
}

button:hover {
    background-color: #e0e0e0;
    border-color: #cccccc;
}


#y-axis-settings-menu h3{
    font-size:1em;
    font-weight: 100;
    margin-bottom: 0;
}

.takBox123{
    position: fixed;
    top: calc(70px + 70vh);
    background: white;
    right: 0;
    width: calc(65vw + 20px);
    margin: 0;
    padding: 15px 10px 10px;
}

input#y-axis-min-1,
input#y-axis-max-1,
input#y-axis-min-2,
input#y-axis-max-2,
input#y-axis-min-3,
input#y-axis-max-3,
input#y-axis-min-4,
input#y-axis-max-4 {
    margin-right: 10px;
}

.chart1bun{
    color:#0066cc;
    font-weight: bold;
}

.chart2bun{
    color:#cc0066;
    font-weight: bold;
}

.chart3bun{
    color:#cc6600;
    font-weight: bold;
}

.chart4bun{
    color:#00cc66;
    font-weight: bold;
}

button#changeErrorNumber {
    margin-left: 15px;
    padding: 10px 20px;
    font-size: 1.2em;
}

input#sepTime{
    width: 5em;
}

.takdataBox {
    max-width: 1000px;
    display: flex;
    justify-content: space-between;
    margin: 5px auto 0;
    flex-wrap: wrap;
}

.takdataTitle {
    padding: 8px 10px 10px 10px;
    text-align: center;
    margin: 0.5vh 0.5vh 1vh;
    background-color: #f5f5f5;
}

.list-box {
    display: flex;
    justify-content: flex-start;
    font-size: 1.2em;
    width: 16.5vw;
    margin: 13px 0 10px;
}

.list-group {
    margin-right: 10px;
}

.list-group select {
    font-size: 0.9em;
    padding: 5px 0;
    margin-left: 5px;
}


@media (max-width: 1159px){
    .list-group select {
        font-family: 'meirio';
        font-size: 1em;
        text-align: center;
        border: none;
        margin-bottom: 10px;
        height: 2em;
        border-radius: 5px;
        color:black;
    }
    
    .sp{
        display: block;
    }
    .pc{
        display: none !important;
    }
    
    .list-box {
        margin: 13px auto 10px;
        width: 80vw;
        font-size: 1.2em;
    }
    .machinID {
        position: absolute;
        left: 15px;
        top: 15px;
        color: black;
    }
    .takmain{
        width: auto;
        margin: 0;
    }

    .message {
        font-size: 16px;
        color: red;
        margin: 35px 10px 0px;
        display: flex;
        justify-content: space-evenly;
        align-items: stretch;
        height: auto;
        flex-direction: column;
    }

    .takerr {
        font-size: 2em;
        display: flex;
        align-items: center;
        font-weight: bold;
        margin: auto;
        color: red;
    }

    .errBox {
        display: flex;
        align-items: center;
        margin: auto;
        padding: 0 50px;
        text-align: center;
    }

    .takBox {
        margin-top: 10px;
        display: flex;
        flex-direction: column;
    }

    .takleftBox {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        padding: 0;
    }

    .chart-container {
        width: 50%;
        margin: 0px 0 10px;
        display: flex;
        flex-direction: column;
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .canvas-container {
        width: 100%;
        padding: 0;
        position: relative;
        height: 100%;
    }
    .canvas-container p {
        font-weight: bold;
        position: absolute;
        top: 26px;
        left: 32.5px;
        transform: translate(-50%, -50%);
        padding: 0;
        margin: 0;
        font-size: 0.6em;
        color: gray;
    }

    .takBox2 {
        width: 50%;
        padding: 0;
        margin: 10px 0;
    }

    .takbun {
        font-size: 1em;
        font-weight: 100;
        margin: 0 10px;
        width: 15%;
    }

    .takAve {
        display: flex;
        align-items: center;
        justify-content: center;
        height: auto;
        font-size: 1em;
        background-color: #f5f5f5;
        font-weight: bold;
        margin: 0.5vh;
    }

    .takcell {
        width: 50%;
        display: flex;
        font-size: 1em;
        height: auto;
        justify-content: center;
        align-items: center;
        background-color: #f5f5f5;
        margin: 0.5vh;
        text-align: center;
        line-height: 1em;
    }

    .takrightBox {
        margin: 30px 0;
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    button#search-data {
        color: black;
        width: 80vw;
        font-size: 1.2em;
        height: auto;
        margin: 0 auto 10px;
    }

    .radio-group {
        margin: auto;
        width: 80vw;
        font-size: 1.2em;
    }

    div#custom-date-range {
        width: 100%;
        margin: 5px 0px 0px;
    }

    .date-range {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        width: 80vw;
        margin: auto;
    }
    input[type="date"] {
        appearance: none; /* ブラウザのデフォルトスタイルを無効化 */
        -webkit-appearance: none;
        -moz-appearance: none;
        background-color: white;
        /* その他のスタイル指定 */
      }
    input#start-date, input#end-date {
        font-family: 'meirio';
        font-size: 1.2em;
        text-align: center;
        border: none;
        width: 80% !important;
        background-color: #f5f5f5;
        margin-bottom: 10px;
        height: 2em;
        
    }
    input#start-date:before,
    input#end-date:before {
        content: '日付を選択';
        color:black;
        font-size: 19px;
        width: 100%;
    }

    .takfootBotRow {
        display: flex;
        width: 100%;
        justify-content: center;
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        margin-bottom: 30px;
    }

    .takfootBot button {
        color:black;
        width: 80vw;
        font-size: 1.2em;
        margin: 0 1vw;
        height: auto;
    }

    .takselectBox {
        width: auto;
        margin: 20px 0;
        display: flex;
    }

    #y-axis-settings-menu {
        display: block;
        position: fixed;
        top: 0;
        right: -300px;
        background-color: white;
        padding: 0 20px;
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        width: calc(100% - 40px);
        font-size: 1.2em;
        height: 100vh;
    }

    .y-axis-settings {
        display: flex;
        flex-direction: column;
    }

    input{
        margin-right: 10px;
        margin-top: 5px;
        margin-bottom: 10px;
        font-size:1.2em;
    }

    .filter-button {
        background-color: #f0f0f0;
        color: #888888;
        border: 1px solid #cccccc;
        padding: 10px 0px;
        cursor: pointer;
        flex: 1;
        text-align: center;
        outline: none;
        border-radius: 5px;
        margin-right: 5px;
        font-size: 1.2em;
        width: calc(25% - 5px);
    }
    .takBox123{
        position: relative;
        text-align: center;
        margin: 0;
        width: 100%;
        top: 0;
        padding: 10px 0;
        z-index: 100;
    }

    .takBox123 button{
        color: black;
        width: 80vw;
        font-size: 1em;
        height: auto;
        margin: 0 auto 20px;
    }

    button#changeErrorNumber{
        width: 8em;
        margin: 8px auto 10px;
    }

    canvas {
        background-color: #f5f5f5;
        margin: 0px 5px;
        padding: 0px;
    }

    .takFull{
        margin-top: 0;
        position: fixed;
        width: 100vw;
        height: 100vh;
        top: 0;
        left: 0;
        display: flex;
        justify-content: center;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 100;
    }

    .takFull .canvas-container {
        height: 30%;
    }

    .taklaberImg {
        width: 90%;
        margin: 20px auto 0;
    }

    .takheadBox1 {
        width: 100%;
    }

    .takheadBox2 {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin: 10px 0 0;
    }
}


@media (min-width: 569px){

    .filter-button:hover {
        background-color: #e0e0e0;
        border-color: #cccccc;
    }
}

.sp.takmessage{
    width: 350px;
    margin: 0 auto;
}