﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.fix-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    height: 96px;
}
.fix-margin {
    margin-top: 110px;
}

.header-height {
    height: 80px;
}

.header-nav-item {
    margin: 0 15px;
    font-weight: 700;
}
.header-nav-item:last-child {
    margin-right: 0;
}
.header-nav-item.active {
    border-bottom: 4px solid #26890D;
}
.header-nav-item a {
    padding: 0;
}


.breadcrumb {
    margin-top: -10px;
    margin-bottom: 5px;
}
.breadcrumb ul {
    width: 100%;
    display: flex;
    padding-left: 10px;
    overflow-x: auto;
    white-space: nowrap;
    margin: 0;
}
.breadcrumb li {
    font-size: 0.9rem;
    list-style: none;
}
.breadcrumb li::after {
    content: ' > ';
    color: rgb(65, 65, 65);
}
.breadcrumb li:last-child::after {
    content: '';
}
.breadcrumb li a {
    cursor: pointer;
    color: inherit;
    text-decoration: none;
}

.fix-footer {
    position: fixed!important;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}

.footer-area {
    background-color: #26890D;
    height: 50px!important;
    color: #FFFFFF!important;
    line-height: 49px!important;
}
.footer-area ul {
    margin-bottom: 0;
    padding-left: 0;
}
.footer-area li {
    list-style: none;
    margin-right: 20px;
}
.footer-area li a {
    cursor: pointer;
    color: inherit;
    text-decoration: none;
}
.copyright {
    margin-left: auto;
}

.button-half-circle-round,
.button-half-circle-round:hover {
    border-radius: 2em;
    border: 2px solid #26890D;
    background-color: #FFFFFF;
    color: #26890D;
    font-weight: 700;
}

.button-half-circle-round-red,
.button-half-circle-round-red:hover {
    border-radius: 2em;
    border: 2px solid #E7503C;
    background-color: #FFFFFF;
    color: #E7503C;
    font-weight: 700;
}

#loading,
#zoom-image {
    background: rgba(0, 0, 0, .5);
    z-index: 10000;
}

.button-area button:active {
    background-color: #26890D;
    color: #FFFFFF;
}
.header-button-area button:active {
    background-color: #26890D;
    color: #FFFFFF;
}

.nav-image {
    height: 70%;
}

.finish-check-area {
    width: 210mm;
    margin: 10px auto;
    text-align: right;
    font-size: 20px;
    padding: 0 15px;
}

.checked-image {
    width: 60px;
    position: absolute;
    right: 30px;
    top: 0;
}

.progress-area {
    position: absolute;
    left: 50%;
    margin-left: 280px;
}

.progress-area p {
    margin-bottom: 0;
    color: #444;
    font-size: 15px;
}

.progress-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-left: 22px;
}

    .progress-bar::before {
        font-size: 12px;
        color: var(--progress-active-color);
    }

:root {
    --progress-active-color: rgb(127, 172, 84);
    --progress-base-color: rgb(240, 240, 240);
}

.training-menu {
    font-size: 35px;
    position: absolute;
    left: 50%;
    margin-left: -380px;
    cursor: pointer;
}

.item-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-block;
    background-color: #FFF;
    background-size: 65%;
    background-repeat: no-repeat;
    background-position: center;
    border: 2px solid #555;
}

/* レスポンシブ対応 */
@media screen and (max-width: 576px) {
    body {
        margin-bottom: 120px;
    }
    .nav-image {
        height: 50%;
    }
    .fix-header {
        height: 60px;
    }
    .header-height {
        height: 60px;
    }
    .fix-margin {
        margin-top: 80px;
    }
    .fix-footer {
        position: absolute!important;
    }
    .footer-area {
        height: auto!important;
        line-height: normal!important;
        overflow: hidden;
        padding: 20px;
    }
    .footer-area .d-flex {
        flex-wrap: wrap;
    }
    .copyright {
        margin: auto;
        padding: 20px 0 0 0;
        text-align: center;
    }
    .navbar-collapse {
        background-color: white;
        position: absolute;
        width: 100%;
        top: 75px;
        left: 0;
    }
    .navbar-collapse li {
        padding: 5px 15px;
        margin-left: 0;
        margin-right: 0;
        border-top: 1px solid #C6C6C6;
        height: 3em;
        position: relative;
    }
    .navbar-collapse li a {
        width: 100%;
    }
    .navbar-collapse li:first-child {
        border-top: none;
    }
    .navbar-collapse li::after {
        content: '';
        width: 6px;
        height: 6px;
        border: 0;
        border-top: solid 2px #333;
        border-right: solid 2px #333;
        transform: rotate(45deg);
        position: absolute;
        top: 0;
        right: 15px;
        bottom: 0;
        margin: auto;
    }
    .navbar-collapse li:has(.btn)::after {
        display: none;
    }
    .navbar-collapse li:has(.btn) {
        padding: 0;
    }
    .navbar-collapse .btn {
        width: 100%;
        height: 100%;
        border-radius: 0;
        border: none;
    }
    .navbar-collapse .btn.button-half-circle {
        border-radius: 0;
        border: none;
    }
    .navbar-collapse .btn.button-half-circle:hover {
        border-radius: 0;
        border: none;
    }
    .breadcrumb {
        margin-top: 0;
    }

    .progress-area {
        margin-left: 0;
        left: auto;
        right: 5px;
    }

        .progress-area p {
            font-size: 10px;
        }

    .progress-bar {
        width: 28px;
        height: 28px;
        margin-left: 18px;
    }

        .progress-bar::before {
            font-size: 8px;
        }

    .training-menu {
        left: 5px;
        margin-left: 0;
    }
}