/* 一週統計 */

.areaname {
    color: var(--main-font-color);
    font-size: 35px;
    font-weight: 700;
    width: 18%;
}

.option_list {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%;
    border-radius: 3px;
}

.week_btn {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
}

.option {
    border: 1px solid var(--header-bg-color);
    width: 230px;
    font-size: 20px;
    text-align: center;
    padding: 10px;
    border-radius: 3px;
}

.option:hover {
    background-color: var(--header-bg-color);
    color: white;
    cursor: pointer;
}

table {
    margin-top: 30px;
    text-align: center;
    width: 100%;
    height: 450px;
    border-collapse: collapse;
}


th {
    background-color: #f2c186;
    color: rgb(255, 255, 255);
    border: 1px dashed white;

}

td {
    border: 1px dashed #f2c186;
}

.D {
    white-space: pre;
}


.weather_icon {
    width: 50px;
    height: 50px;
}

.chart {
    width: 100%;
    height: 450px;
    margin-top: 30px;
}

@media screen and (max-width:1200px) {}

@media screen and (max-width:900px) {
    tr {
        display: block;
        float: left;
        width: 20%;
    }

    th,
    td {
        padding: 0;
        display: block;
        width: 100%;
        height: 90px;
    }

    .cell {
        display: flex;
        align-items: center;
        height: 100%;
        justify-content: center;
        flex-direction: column;
    }

    .weather_icon {
        width: 40px;
        height: 40px;
    }

    .option_list {
        flex-direction: column;
        margin: auto;
    }

    .areaname {
        margin-bottom: 10px;
        width: auto;
    }
}

@media screen and (max-width:600px) {
    .weather_icon {
        width: 30px;
        height: 30px;
    }

    section>table {
        font-size: 14px;
    }

    .areaname {
        font-size: 30px;
    }

    .option {
        font-size: 18px;
        padding: 10px 20px;
        width: auto;
    }

}

@media screen and (max-width:400px) {
    .areaname {
        font-size: 25px;
    }

    .option {
        font-size: 14px;
    }
}