﻿
#form1 {
    background: url("./Images/bg.gif") repeat-x #FFFFFF;
}
.container {
    width: 1200px;
    margin: 0 auto;
}

/* 画面サイズ 1200px以上 */
@media(min-width:1200px) {
    .loginheader, 
    .header {
        height: 100px;
        margin-bottom: 10px;
    }
    .header_logo h1 {
        float: left;
    }
    .header_text {
        float: left;
        margin-left: -250px;
        padding: 40px 2px 10px;
        font-size: 200%;
        font-weight: bold;
        text-decoration: none;
        color: Black;
    }
    .header_menu {
        float: right;
        padding-top: 30px;
        padding-right: 30px;
        text-align: right;
    }
}

/* 画面サイズ 1024px以上1199px以下 */
@media(min-width:1024px) and (max-width:1199px) {
    .loginheader, 
    .header {
        height: 100px;
        margin-bottom: 10px;
    }
    .header_logo h1 {
        float: left;
    }
    .header_text {
        float: left;
        margin-left: -250px;
        padding: 40px 2px 10px;
        font-size: 200%;
        font-weight: bold;
        text-decoration: none;
        color: Black;
    }
    .header_menu {
        float: right;
        padding-top: 30px;
        padding-right: 30px;
        text-align: right;
    }

    /* navi */
    .navi_main li {
        width: 33%;
    }
}

/* 画面サイズ 768px以上1023px以下 */
@media(min-width:768px) and (max-width:1023px) {
    .loginheader, 
    .header {
        height: 100px;
    }
    .header_logo h1 {
        float: left;
    }
    .header_text {
        float: left;
        margin-left: -250px;
        padding: 40px 2px 10px;
        font-size: 200%;
        font-weight: bold;
        text-decoration: none;
        color: Black;
    }
    .header_menu {
        float: right;
        padding-top: 18px;
        padding-right: 10px;
        text-align: right;
    }
    .loginstatus {
        display: block;
    }

    /* navi */
    .navi_main li {
        width: 33%;
    }
}

/* 画面サイズ 767px以下 */
@media(max-width:767px) {
    .background {
        width: 1200px;
    }
    #form1 {
        width: 1200px;
    }
    .loginheader, .header {
        height: 100px;
    }
    .header_logo h1 {
        float: left;
    }
    .header_text {
        float: left;
        margin-left: -250px;
        padding: 40px 2px 10px;
        font-size: 200%;
        font-weight: bold;
        text-decoration: none;
        color: Black;
    }
    .header_menu {
        float: right;
        padding-top: 30px;
        padding-right: 10px;
        text-align: right;
    }

    /* navi */
    .navi_main li {
        width: 33%;
    } 
}



.header_text:hover {
    color: Black;
}

/* navi */
.navi {
    margin-bottom: 20px;
}
.navi::after {
    position: relative;
    top: 2px;
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    background: #135482;
}
.navi_main {
    display: flex;
    flex-flow: row wrap;
    width: 100%;
}
.navi_main li {
    flex-grow: 1;
    flex-shrink: 1;
    text-align: center;
    list-style-type: none;
    margin-right: -1px;
}
.navi_main li a {
    display: block;
    border: solid 1px gray;
    border-bottom: none;
    padding: 6px 3px;
    font-size: 90%;
    background: url("./Images/tn01.gif") repeat-x;
    color: #000;
}
.navi_main li a:hover, 
.navi_main .current {
    background: url("./Images/tn02.gif") repeat-x;
    color: White;
}


.content {
    clear: both;
    width: 100%;
    margin-bottom: 10px;
}

.maincontent {
    width: 100%;
    border: solid 1px #808080;
    border-top: solid 5px #808080;
}

.maincontent_body {
    padding: 15px;
}

.loginstatus {
    margin-left: 10px;
}


/* Demo */
.demo {
    border: 3px double #FF3300;
    background-color: #F8D8E3;
    padding: 15px 20px;
    text-align: center;
    font-weight: bold;
}


/* Footer */
.footer {
    width: 100%;
    height: 111px;
    text-align: center;
    padding-top: 20px;
    background-image: url("./Images/ftbg.gif");
    background-repeat: repeat-x;
}

    .footer ul {
        width: 100%;
        height: 49px;
        padding: 0;
        padding-top: 19px;
        list-style: none;
        margin: 0 auto;
        text-align: center;
    }

        .footer ul li {
            display: inline-block;
            border-right: solid 1px;
        }

            .footer ul li:last-child {
                border-right: none;
            }

            .footer ul li a {
                display: inline-block;
                padding: 0 10px;
                text-decoration: none;
                color: #000;
            }

                .footer ul li a:hover {
                    text-decoration: underline;
                }


/* Styles for Print
----------------------------------------------------------*/
@media print {
    .navi, .loginstatus {
        display: none;
    }

    .footer {
        background-image: none;
        height: auto;
    }

}
