.row{
    font-family:NotoSansJP, NotoSans, sans-serif;
    width: 70%;
    margin-left: auto;
    margin-right: auto;
}

#error-display{
    width: 100%;
    margin-left: auto; 
    margin-right:auto;
    padding: 0;
}

.index{
    color: #ffffff;
    font-size: 37px;
    background-color: #e87722;
    width: 100%;
    height: 20vh;
    position: absolute;
    left: 0%;
    top: 0%;
    padding: 7% 0 5% 6%;
    font-weight: bold;
}

.page-title{
    color: #183028;
    font-size: 37px;
    font-weight: bold;
    text-align: center; 
    margin-top: 10vw;
}

.sub-title{
    color: #183028;
    font-size: 20px;
    text-align: center;
    font-weight: bold;
    margin: 0;
}

hr{
    width: 100%;
    border: solid 1px #000;
}

#unitprice{
    color: #e87722;
    font-size: 37px;
    text-align: center;
    font-weight: bold;
}

#difference{
    color: #000;
    font-size: 20px;
    text-align: center;
    font-weight: bold;
}

.index-label{
    color: #ffffff;
    font-size: 20px;
    text-align: left;
    width: 100%;
    height: auto;
    background-color: #e87722;
    margin: 2% auto;
    font-weight: bold;
    padding-left: 2%;
}

.switch-btn{
    padding: 0%;
    width: 100%;
    display: flex;
    column-gap: calc(12% / 3);
    flex-wrap: wrap;
    margin-bottom: 3%;
    row-gap: 1vw;
}

button{
    color: #000;
    font-size: 20px;
    width: 22%;
    background-color: #ffffff;
    border-radius: 5px;
    border: 1px solid #e87722;
}

.period-btn{
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
    font-size: 20px;
    width: 22%;
    background-color: #ffffff;
    border-radius: 5px;
    border: 1px solid #e87722;
}

#one-m:before{
    content: '直近1ヶ月分';
}

#three-m:before{
    content: '直近3ヶ月分';
}

#six-m:before{
    content: '直近6ヶ月分';
}

#one-y:before{
    content: '直近1年分';
}

#period-specification:before{
    content: '設定来';
}

#period-setting:before{
    content: '期間を指定';
}


.radio-btn{
    display: none;
}

.radio-btn:checked+.period-btn {
    color: #ffffff;
    background-color: #e87722;
}

.period-btn:hover{
    color: #ffffff;
    background-color: #e87722;
}

.row-head, .year-value, .year-cover, .month-cover, .month-value, .day-cover, .day-value {
    display: inline-block;
}

.select-box{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    height: 100%;
    border: 1px solid #9a9797;
    border-radius: 2px;
}

.select-holder {
    position: relative;
    width: 15%;
}

.select-holder::after{
    content: "";
    display: block;
    height: 0;
    right: 6px;
    position: absolute;
    width: 0;
    border: 5px solid transparent;
    border-top-color: #333;
    top: 50%;
    margin-top: -2px;
    pointer-events: none
}

select:disabled, input:disabled {
    color: #8f8e8e;
    background-color: #f9f7f7;
}

#enter-form{
    color: #183028;
    padding:0;
    font-size: 20px;
    text-align: center;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

#start-date, #end-date{
    width: 100%;
    margin-bottom: 2%;
    display: flex;
    vertical-align: middle;
    justify-content: space-around;
}

#start-date{
    margin-top:2%;
}

.row-head, .year-cover, .month-cover, .day-cover{
    text-align: center;
    padding-top: 0.5%;
    padding-right: 1%;
    padding-left: 1%;

}

.year-value{
    width: 30%;
    text-align: center;
    color: #183028;
    border: 1px solid #9a9797;
    border-radius: 2px;
}

select{
    color: #6a6c6c;
    background-color: #ffffff;
    width: 15%;
    text-align: center;
}

option{
    width: 10%;
    text-align: center;
    color: #183028;    
}

.btn-grp{
    width: 100%;
    padding: 0%;
    text-align: center;
}

#reset-btn{
    color: #183028;
    font-size: 20px;
    background-color: #ffffff;
    width: 20%;
    border-radius: 5px 5px 5px 5px;
    text-align: center;
    margin: 3% 2%;
    border: solid 1px #e87722;
}

#submit-btn{
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
    background-color: #e87722;
    width: 20%;
    border-radius: 5px 5px 5px 5px;
    text-align: center;
    margin: 3% 2%;
}

#dl-btn{
    display: block;
    width: 40%;
    color: #183028;
    margin: 3% auto;
}

.disclaimer{
    font-size: 16px;
    color: #183028;
    margin-top: 3%;
    margin-bottom: 3%;
}

.other-page-link{
    font-size: 20px;
    color: #0097a9;
    font-weight: bold;
    margin-top:5%;
    margin-bottom:5%;
    display: inline-block;
}

.back-btn{
    color: #ffffff;
    font-weight: bold;
    font-size: 20px;
    background-color: #e87722;
    width: 20%;
    border-radius: 5px 5px 5px 5px;
    text-align: center;
    border: 1px solid #e87722;
    margin: 0 auto 5% auto;
    text-decoration: none;
}

.back-btn:hover{
    color: #e87722;
    background-color: #ffffff;
}

error-msg{
    width: 100%;
    padding-top: 20%;
    padding-bottom: 5%;
    text-align: left;
    font-size: 20px;
    color: #000;
}

.document-number{
    font-size: 16px;
    color: #183028;
    text-align: right;
    width: 100%;
    margin-top: 0%;
    margin-bottom: 1%;
}

/*タブレット対応*/
@media screen and (max-width:1050px) {
    .row{
        width: 80%;
    }
    .index{
        height: 10vh;
        padding-top: 8%;
        font-size: 30px;
    }

    .page-title{
        margin-top: 10vw;
    }

    #enter-form{
        font-size: 17px;
    }

    #dl-btn{
        width: 60%;
    }

    #unitprice-error{
        font-size:24px
    }
}

/*スマホ横向き対応*/
@media screen and (max-width:960px) {
    .row{
        width: 100%;
    }

    .index{
        height: 18vw;
        padding-top: 10%;
        font-size: 30px;
    }

    .page-title{
        margin-top: 10vw;
        font-size: 30px;
    }

    #enter-form{
        width: 100%;
        font-size: 16px;
    }

    .form-head{
        font-size: 14px;
    }

    #fluctuation-rate-title{
        font-size: 16px;
    }

    .period-btn{
        font-size: 15px;
    }

    #dl-error{
        font-size:15px;
        text-align: center;
    }
}


/*スマホサイズ対応*/
@media screen and (max-width: 480px) {
    .row{
        width: 100%;
    }

    .index{
        height: 30vw;
        padding-top: 18vw;
        padding-left: 10vw;
        font-size: 30px;
    }

    .index-label{
        font-size: 15px;
    }



    .page-title{
        margin-top: 8vh;
        font-size: 26px;
    }

    #enter-form{
        width: 100%;
        font-size: 13px;
    }

    .year-value{
        width: 20%;
    }

    .month-value, .day-value{
        width: 12%;
    }

    #submit-btn, #reset-btn{
        width: 30%;
    }

    .form-head, .year-cover{
        font-size: 12px;
        padding-top: 1%;
    }

    input{
        height: 100%;
    }

    #dl-btn{
        width: 80%;
    }

    #fluctuation-rate-title{
        font-size: 15px;
    }

    .switch-btn{
        column-gap: 5%;
    }

    .period-btn{
        width: 30%;
        font-size: 15px;
    }

    #dl-error{
        font-size:18px;
        text-align: left;
    }

    #fluctuation-rate-error{
        font-size:18px;
    }

    #unitprice-error{
        font-size:18px
    }
}

