



/* HEADER  */
#head {
    width:calc(100% - 80px);
    background-color: #0095d9;
    /*height: 120px;*/
    padding: 25px 40px 15px 40px;
    border-bottom: solid 0px #f3f3f3;
    color: white;
}

    #head div {
        width: calc((100% - 40px) / 4);
        display: inline-block;
        vertical-align: top;
        color: #e6f7ff;
        font-size: 14px;
        line-height: 16px;
        letter-spacing: 0.01em;
    }

        #head div img { /*logo*/
            margin-top: -2px;
        }

        #head div span {
            font-weight: 700;
            color: white;
        }

        #head div a {
            color: #e6f7ff;
            text-decoration: none;
        }

            #head div a:hover {
                text-decoration: underline;
            }


/* FOOTER */
#bottom {
    width: calc(100% - 80px);
    background-color: #0095d9;
    /*height: 120px;*/
    padding: 20px 40px 20px 40px;
    border-bottom: solid 0px #d1d1d1;
    font-size: 0;
}

    #bottom div {
        width: calc((100% - 50px) / 5);
        display: inline-block;
        vertical-align: top;
        margin: 0 10px 0 0;
        color: #e6f7ff;
        font-size: 14px;
        line-height: 16px;
        letter-spacing: 0.01em;
    }

        #bottom div img { /*logo*/
        }

        #bottom div span {
        }

        #bottom div a {
            color: white;
            text-decoration: none;
        }

            #bottom div a:hover {
                text-decoration: underline;
            }


/* UP ARROW */

#up_arrow {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 46px;
    display: none;
    z-index: 986;
    cursor: pointer;
}


/* - ------------------- - MOBILE MOBILE MOBILE - ------------------------- - */


@media screen and (min-width: 900px) and (max-width: 1100px) {

    html, body {
        width: 100%;
        max-width: 100%;
    }

    #head div {
        font-size: 12px;
        line-height: 16px;
    }

    #bottom div {
        font-size: 12px;
        line-height: 16px;
    }
}

@media screen and (max-width: 900px) {

    html, body {
        width: 100%;
        max-width: 100%;
    }

    #head {
        width:calc(100% - 40px);
        padding: 25px 20px 15px 20px;
    }

    #head > div:nth-child(1) {
        width: 100%;
    }

    #head > div:nth-child(2), #head > div:nth-child(3), #head > div:nth-child(4) {
        display: none;
    }

    #bottom {
        width: calc(100% - 40px);
        padding: 25px 20px 60px 20px;
    }

    #bottom > div:nth-child(1) {
        width: 100%;
    }

    #bottom div {
        width: 50%;
        margin: 10px 0;
        text-align: left;
        font-size: 12px;
        line-height: 14px;
    }
}

@media screen and (max-width: 400px) {

    #bottom div {
        width: 100%;
        margin: 0 auto 10px auto;
        text-align: left;
        font-size: 12px;
        line-height: 14px;
    }
}
