@charset "UTF-8";

/* #wrapper */

#wrapper {
    position: relative;
}


/* header */

.header-wrap {
    border-bottom: solid 4px #0566af;
}

header {
    height: 62px;
    /*border-bottom: solid 3px #000;*/
}

.header-inner {
    position: relative;
    padding: 10px 0 0;
    height: 62px;
}

.logo {
    width: 163px;
    height: 35px;
    margin: 4px 0 0 0;
}

.site-name {
    margin-bottom: 0;
    padding: 0 0 0 15px;
}

.site-link {
    position: absolute;
    top: 11px;
    right: 60px;
    width: 80px;
}

.navbar {
    z-index: 999;
    padding: 0 0;
}

.navbar-toggler {
    position: absolute;
    top: 10px;
    right: 15px;
    padding: 0 0;
    width: 35px;
    height: 42px;
    background: transparent url(../img/common/menu-open.png) no-repeat top center;
    background-size: cover;
}

.navbar-toggler.open {
    background: transparent url(../img/common/menu-close.png) no-repeat top center;
    background-size: cover;
}

.nav-link {
    font-weight: bold;
}

.nav-item {
    width: 100%;
    border-bottom: solid 1px #fff;
    background-color: #0566af;
    color: #fff;
}

.nav-item.active {
    color: #FFFF99 !important;
}

.navbar-nav .nav-link {
    padding-right: 15px;
    padding-left: 15px;
}

.navbar a:link,
.navbar a:visited {
    color: #fff;
    opacity: 1;
}

.navbar a:hover,
.navbar a:active {
    color: #FFFF99;
    opacity: 1;
}

/* footer */

footer {
    margin-top: 140px;
    text-align: center;
    font-size: .75rem;
}

.footer-inner {
    padding: 10px 0;
    background-color: #0566af;
}

.footer-site-name {
    color: #fff;
    font-weight: bold;
    font-size: 1.125rem;
}

.footer-link {
    margin: 6px auto 0;
    max-width: 370px;
    width: 95%;
}

.footer-link a {
    display: block;
    width: 25%;
    border-left: solid 1px #fff;
    color: #fff;
}

.footer-link a:link,
.footer-link a:visited {
    color: #fff;
}

.footer-link a:hover,
.footer-link a:active {
    color: #fff;
}

.footer-link a:last-child {
    border-right: solid 1px #fff;
}

small {
    display: block;
    padding: 8px 0;
}

@media (min-width: 576px) {

    /* header */
    .nav-item {
        width: 100%;
        border-right: solid 1px #ccc;
        border-left: solid 1px #ccc;
    }
}

@media (min-width: 768px) {

    /* header */
    header {
        height: 100px;
    }

    .header-inner {
        padding: 20px 0 0;
        height: 100px;
    }

    .logo {
        width: 326px;
        height: 70px;
        margin: -5px 0 0 0;
    }

    .site-link {
        top: 25px;
        right: 82px;
        width: 100px;
    }

    .navbar-toggler {
        position: absolute;
        top: 20px;
        right: 15px;
        width: 50px;
        height: 60px;
    }

    /* footer */
    footer {
        font-size: .875rem;
    }

    .footer-site-name {
        font-size: 1.375rem;
    }

    .footer-link {
        width: 66%;
    }
}

@media (min-width: 992px) {

    /* header */
    header {
        position: relative;
        margin: 0 auto;
        width: 992px;
        height: 126px;
    }

    .header-inner {
        padding: 28px 0;
        height: 126px;
    }

    .logo {
        margin-top: 0;
    }

    .site-name {
        padding: 0 0 0 0;
    }

    .navbar,
    .navbar-nav {
        width: 500px;
    }

    .navbar {
        position: absolute;
        top: 38px;
        right: 15px;
    }

    .nav-link {
        padding: 0 0;
        border-left: dotted 1px #000;
        line-height: 50px;
    }

    .nav-link:last-child {
        border-right: dotted 1px #000;
    }

    .nav-item {
        width: 25%;
        height: 50px;
        border-right: none;
        border-bottom: none;
        background-color: transparent;
    }

    .nav-item:first-child {
        border-top: none;
    }

    .navbar-toggler {
        display: none;
    }

    .site-link-sp {
        width: 100px;
    }

    .nav-item.active {
        color: #000 !important;
        opacity: 0.6 !important;
    }


    .navbar a:link,
    .navbar a:visited {
        color: #000;
    }

    .navbar a:hover,
    .navbar a:active {
        color: #000;
        opacity: 0.7;
    }

    /* footer */
    footer {
        margin-top: 190px;
    }

    .footer-inner {
        padding: 20px 0;
    }
}

@media (min-width: 1200px) {

    /* header */
    header {
        width: 1200px;
    }

    .navbar,
    .navbar-nav {
        width: 560px;
    }

}