:root {
    --main_bgcolor: #54a546;
    --main_thcolor: #54a546;
    --main_bgcolor_shadow: #3f8933;
    --main_bgcolor_shadow_koi: #307626;
    --acnav_truebgcolor: #3f8933;
    --acnav_hoverbgcolor: #307626;
    --kibocolor: #61E294;
}

body {
    background-color: #fff;
    color: #707070;
}

table a {
    text-decoration: underline;
}

header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 999;
}

#login_logo {
    text-align: center;
    font-size: 2em;
    padding: 2em 0 0.5em;
}

.form-login {
    width: 500px;
    max-width: 90%;
    margin: 0 auto;
    text-align: center;
    padding: 1em;
}

.hd {
    height: 90px;
    background-color: var(--main_bgcolor);
    justify-content: space-between;
    display: flex;
    color: #fff;
}

.header-left {
    display: flex;
}

.header-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

#site_name {
    margin: 10px;
    color: #fff;
    font-family: Times;
    font-size: 2.5rem;
}

#site_name img {
    width: 126px;
}

h1,
.h1 {
    font-size: 2rem;
}

#contents_wrap {
    margin-left: 280px;
    margin-top: 110px;
    width: calc(95vw - 230px);
}

.header-right a {
    color: #fff;
    background-color: var(--acnav_truebgcolor);
    transition: all 0.5s;
    line-height: 90px;
    padding: 0px 25px;
    text-decoration: none;
}

.header-right p {
    margin-bottom: 0;
    padding: 0 25px;
}

.header-right a:hover {
    background: var(--acnav_hoverbgcolor);
}

nav {
    position: fixed;
    top: 90px;
    left: 0;
    height: calc(100vh - 90px);
    border: #ccc 1px solid;
    overflow-y: scroll;
    width: 250px;
}

ul,
li {
    margin: 0;
    padding: 0;
    list-style: none;
}

#accordion_menu>li {
    border: #ccc 1px solid;
    margin-bottom: -1px;
}

#accordion_menu a {
    color: #666;
}

#accordion_menu li .tanpin,
#accordion_menu a[data-toggle="collapse"] {
    display: block;
    padding: 10px;
    text-decoration: none;
    position: relative;
}

#accordion_menu ul a {
    text-decoration: none;
}

#accordion_menu ul li:hover {
    background: #F1F1F1;
}

#accordion_menu ul li {
    border-top: #ccc 1px solid;
    border-right: #ccc 1px solid;
}

#accordion_menu li .tanpin:hover,
#accordion_menu a[data-toggle="collapse"]:hover {
    background: var(--acnav_hoverbgcolor);
    color: #fff;
}

#accordion_menu li .tanpin::after,
#accordion_menu a[data-toggle="collapse"]::after {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-top: #666 1px solid;
    border-right: #666 1px solid;
    position: absolute;
    right: 15px;
    top: 0;
    bottom: 0;
    margin: auto;
}

#accordion_menu li .tanpin.visit,
#accordion_menu a[aria-expanded=true] {
    border-left: var(--main_bgcolor) 4px solid;
    background-color: #fff;
}

#accordion_menu li .tanpin.visit:hover {
    color: #666;
}

#accordion_menu a[aria-expanded=true],
[id^="menu"].show {
    background-color: var(--acnav_truebgcolor);
    color: #fff;
}

#accordion_menu [id^="menu"].show li a {
    color: #fff;
}

#accordion_menu a[aria-expanded=true] {
    font-weight: bold;
}

#accordion_menu li .tanpin::after,
#accordion_menu a[aria-expanded=false]::after {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    transition-duration: 0.3s;
}

#accordion_menu a[aria-expanded=true]::after {
    -webkit-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    transform: rotate(135deg);
    transition-duration: 0.3s;
}

[id^="menu"] li a {
    padding: 10px 10px 10px 20px;
    display: block;
}

[id^="menu"] li a:hover {
    background: var(--acnav_hoverbgcolor);
}

[id^="menu"] li a.visit {
    font-weight: bold;
    background: var(--acnav_hoverbgcolor);
    color: #fff!important;
}

#contents_wrap a:hover {
    opacity: 0.7;
    color: #000000;
    text-decoration: none;
}

.frame {
    padding: 20px;
}

.title {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.hyou1 {
    margin-top: 15px;
    margin-bottom: 15px;
    overflow-y: scroll;
    max-height: 650px;
    text-align: center;
    background-color: #fff;
}

.hyou1 tbody tr:nth-child(even) {
    background-color: #eee;
}

.hyou3 {
    margin-top: 15px;
    margin-bottom: 15px;
    overflow-y: scroll;
    max-height: 700px;
    text-align: center;
}

.hyou4 {
    margin-top: 15px;
    margin-bottom: 15px;
    overflow-y: scroll;
    max-height: 550px;
    text-align: center;
}

.hyou {
    margin-top: 15px;
    margin-bottom: 15px;
    max-height: 650px;
    text-align: center;
    border: none;
    border-collapse: collapse;
}

.hyou table,
.hyou1 table,
.hyou2 table,
.hyou3 table,
.hyou4 table {
    border-spacing: 0;
    border-collapse: unset;
    width: 100%;
}

.hyou1 th,
.hyou1 td,
.hyou th,
.hyou td,
.hyou3 th,
.hyou3 td,
.hyou4 th,
.hyou4 td {
    padding: 10px;
    border: solid #ccc 1px;
    font-weight: normal;
}

.hyou1 thead,
.hyou th,
.hyou3 thead,
.hyou4 thead {
    background-color: var(--main_thcolor);
    color: #fff;
    z-index: 10;
}

.hyou1 thead,
.hyou3 thead,
.hyou4 thead {
    position: sticky;
    top: 0;
}

.hyou td {
    background-color: #fff;
}

.hyou2 {
    margin-top: 15px;
    margin-bottom: 15px;
    max-height: 650px;
    width: 900px;
}

.hyou2 th,
.hyou2 td {
    max-width: 60px;
    min-width: 60px;
    padding: 10px 0;
    font-weight: normal;
}

.hyou2 th {
    position: sticky;
    top: 0;
}

.title_right {
    text-align: right;
    align-items: center;
}

.title_flex {
    display: flex;
    justify-content: space-between;
}

.title_flex div {
    display: flex;
    align-items: center;
}

.title_right .form-control,
.title_flex .form-control {
    width: auto;
}

.title_flex_inner_left a {
    margin-right: 1em;
}

.title {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    align-items: center;
}

.title_1 {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.title_db {
    margin-bottom: 10px;
}

.title_db table {
    width: 500px;
}

.title_db h4 {
    text-align: left;
}

.title_right a {
    margin-left: 10px;
}

.button {
    cursor: pointer;
    display: inline-block;
    padding: 10px 2em;
    border: none;
    text-align: center;
    color: #fff;
    border-radius: 5px;
    background-color: var(--main_bgcolor);
    filter: drop-shadow(5px 4px 0px var(--main_bgcolor_shadow));
    text-decoration: none;
}

.hyou1 .sen,
.hyou .sen {
    border-left: 0;
    border-right: 0;
}

.hyou1 .sen1,
.hyou .sen1 {
    border-right: 0;
}

.hyou1 .sen2,
.hyou .sen2 {
    border-left: 0;
}

.title2 {
    margin: 10px 0;
}

.title2 select {
    height: 35px;
    padding: 5px;
}

.frame {
    background-color: #fff;
    border: none;
    border-radius: 5px;
    margin-bottom: 20px;
}

.tab_panel {
    background-color: #fff;
    border: none;
    border-radius: 0 5px 5px 5px;
    position: relative;
    border: solid var(--main_bgcolor) 3px;
    margin-top: -3px;
}

.tab {
    text-align: left;
    display: flex;
    align-items: flex-end;
    margin-top: 20px;
    position: relative;
    z-index: 2;
}

.tab a,
.tab .tabb {
    display: block;
    padding: 10px 10px;
    margin: 0;
    color: #fff;
    text-decoration: none;
    background-color: var(--main_bgcolor);
    margin-right: 10px;
    border-radius: 5px 5px 0 0;
    border: none;
    margin-top: 12px;
    transition: 0.3s ease-in-out;
}

.tab a:hover,
.tab .tabb:hover {
    opacity: 0.7;
    color: #000000;
    text-decoration: none;
}

.tab a.current,
.tab .tabb.current {
    border: solid var(--main_bgcolor) 3px;
    border-bottom: none;
    background-color: #fff;
    padding: 16px 20px;
    color: #555;
    margin-top: 0;
}

.form li {
    border-bottom: #eee 1px solid;
    display: flex;
    justify-content: start;
    align-items: center;
    font-weight: normal;
    padding: 20px 20px 20px 0;
}

.form .haba {
    width: calc(100% - 350px);
}

.form .input-group {
    width: calc(100% - 350px);
}

.form .jouhou {
    width: 300px;
}

.form .jouhou p {
    margin-bottom: 0;
}

.form input[type=checkbox] {
    margin-right: 1em;
}

.form label {
    margin-right: 2em;
}

.form p {
    margin-bottom: 0;
}

.center {
    text-align: center;
    margin: 20px 0;
}

.flex {
    display: flex;
    flex-wrap: wrap;
}

.upile_div {
    width: 20%;
    padding: 5px;
}

.upile_div img {
    width: 100%;
}

.upile_div label {
    padding: 0.5em 0;
    width: 100%;
    text-align: center;
    color: #ffffff;
    background-color: #666;
    cursor: pointer;
    border-radius: 5px;
}

.upile_div label input[type="file"] {
    display: none;
}

.jokyo.glay {
    background-color: #888;
    color: #555;
}

.jokyo.glay2 {
    background-color: #444;
    color: #aaa;
}

.jokyo.green {
    background-color: rgb(95, 244, 194);
}

.jokyo.red {
    background-color: rgb(244, 95, 95);
    color: #fff;
}

.jokyo.blue {
    background-color: rgb(95, 165, 244);
    color: #fff;
}

.form-group .flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-group .flex .form-control {
    width: calc(50% - 1em);
}

#schedule {
    margin-top: 15px;
    margin-bottom: 15px;
    overflow-y: scroll;
    max-height: 650px;
    text-align: center;
    background-color: #fff;
}

#schedule tbody th,
#schedule tbody td {
    border: solid #ccc 1px;
}

#schedule tbody tr:first-child th,
#schedule tbody tr:first-child td {
    border-top: none;
}

#schedule tbody tr:last-child th,
#schedule tbody tr:last-child td {
    border-bottom: none;
}

#schedule .line_wrap {
    padding: 5px 0;
}

#schedule .line_wrap .line {
    height: 1.5em;
    width: 100%;
}

#schedule .line_wrap .line.kibo {
    margin-top: 0.5em;
}

.left-0 {
    left: 0;
}

.sticky {
    position: sticky;
}

.z-10 {
    z-index: 10;
}

.z-20 {
    z-index: 20;
}

.top-0 {
    top: 0;
}

.min-w-max {
    min-width: max-content;
}

.translate-x-1_2 {
    transform: translateX(50%);
}

.w-auto {
    width: auto;
}

.border-l-none {
    border-left: none!important;
}

.border-r-none {
    border-right: none!important;
}

.border-b-none {
    border-bottom: none!important;
}

.border-t-none {
    border-top: none!important;
}

.al_item-center {
    align-items: center;
}

.justify-content-end {
    justify-content: flex-end;
}

#kotu_hyo th {
    max-width: none;
    min-width: auto;
}

.btn-secondary {
    background-color: var(--main_bgcolor_shadow);
    border-color: var(--main_bgcolor_shadow);
}

.blue_line {
    outline: 0;
    box-shadow: 0 0 0 0.25rem var(--acnav_truebgcolor);
}

#nav_btn {
    display: none;
}

@media screen and (max-width: 1250px) {
    #contents_wrap {
        margin-left: 100px;
        margin-right: 50px;
        margin-top: 110px;
        width: calc(100vw - 150px);
    }
    nav {
        position: fixed;
        top: 90px;
        right: calc(100vw - 50px);
        height: calc(100vh - 90px);
        border: #ccc 1px solid;
        overflow-y: scroll;
        width: 350px;
        display: flex;
        transition: 0.4s ease-in-out;
        z-index: 999;
        background-color: #fff;
        left: auto;
    }
    nav.show {
        right: calc(100vw - 350px);
    }
    #accordion_menu {
        width: calc(100% - 50px);
    }
    #nav_btn {
        background-color: var(--main_bgcolor);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        cursor: pointer;
    }
    #ranking_bar p {
        text-align: center;
        font-size: 2em;
    }
    .min-1200 {
        min-width: 1200px;
    }
    .min-1300 {
        min-width: 1300px;
    }
    .min-1400 {
        min-width: 1400px;
    }
    .min-1500 {
        min-width: 1500px;
    }
    .min-1600 {
        min-width: 1600px;
    }
    .min-1700 {
        min-width: 1700px;
    }
    .min-1800 {
        min-width: 1800px;
    }
}