@charset "UTF-8";

/** Layout **/

body.footer-fixed {
    display: flex;
    flex-flow: column;
    min-height: 100vh;
}

body.footer-fixed main {
    flex: 1;
}

header {
    margin-bottom: 20px;
    position: relative;
}

header::before,
header::after {
    content: "";
    position: absolute;
    width: 50%;
    height: 8px;
    top: 0;
    z-index: 0;
}

header::before {
    background-color: #3BB24E;
    left: 0;
}

header::after {
    background-color: #F18D11;
    right: 0;
}

.header-line {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 9;
}

.header-line img {
    display: block;
    margin: 0 auto;
    height: 8px;
    max-width: calc((100% / 6) * 4);
}

.header-logo {
    display: flex;
    margin-top: 25px;
    margin-left: 5px;
}

.header-logo img {
    height: 34px;
    width: auto;
}

.header-logo span {
    color: #1F4E79;
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
}

.navbar-toggler {
    border: none;
    padding: 0;
    height: 35px;
    width: 35px;
    position: relative;
    top: 28px;
    right: 0px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler span {
    position: absolute;
    height: 3px;
    width: 30px;
    border-radius: 2px;
    background-color: #555152;
    left: 3px;
    transition: all 0.5s;
}

.navbar-toggler span:nth-of-type(1) {
    top: 7px;
}

.navbar-toggler[aria-expanded="true"] span:nth-of-type(1) {
    top: 14px;
    height: 4px;
    transform: rotate(45deg);
}

.navbar-toggler span:nth-of-type(2) {
    top: 15px;
    transition: all 0.3s;
}

.navbar-toggler[aria-expanded="true"] span:nth-of-type(2) {
    opacity: 0;
}

.navbar-toggler span:nth-of-type(3) {
    top: 23px;
}

.navbar-toggler[aria-expanded="true"] span:nth-of-type(3) {
    top: 14px;
    height: 4px;
    transform: rotate(-45deg);
}

.header-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 70px;
    z-index: 1;
    background-color: #555152;
}

.header-nav ul {
    margin: 0;
}

.header-nav ul li a {
    display: block;
    text-align: center;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    line-height: 80px;
}

.header-username {
    font-size: 1.4rem;
    text-align: right;
    margin-top: 8px;
}

main {
    margin-bottom: 50px;
}

footer {
    background-color: #555152;
}

.footer-inner {
    height: 60px;
}

.footer-logo {
    width: 106px;
    height: 28.5px;
}

.footer-copy {
    font-size: 1rem;
    color: #fff;
    margin-left: 9px;
    font-weight: bold;
    vertical-align: bottom;
    line-height: 1.1;
}

.wrap {
    max-width: 1020px;
    margin: 0 auto;
    padding: 0 10px;
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
}

@media (min-width: 768px) {

    header {
        margin-bottom: 40px;
    }

    header .wrap {
        position: relative;
    }

    .header-logo {
        margin-top: 35px;
        margin-left: 0;
    }

    .header-logo img {
        height: 68px;
    }

    .header-logo span {
        font-size: 1.4rem;
    }

    .header-nav {
        position: initial;
        background: none;
        margin-top: 20px;
    }

    .header-nav ul li {
        margin-left: 30px;
    }

    .header-nav ul li a {
        color: #444;
        line-height: initial;
    }

    .header-username {
        font-size: 1.6rem;
        padding-right: 10px;
        position: absolute;
        right: 0;
        margin: 0;
        bottom: 0;
    }

    main {
        margin-bottom: 80px;
    }

    .footer-inner {
        height: 100px;
    }
}
