@charset 'UTF-8';

/* ----------------------------------------
    ログイン関係
----------------------------------------*/
.login_bg {
    height: 50dvh;
}

.login_form {
    border: #f19511 solid 1px;
}

.login_main_area {
    background-color: #FEFDEE;
    height: 90dvh;
    position: relative;
}

.login_input {
    width: 350px;
    background: #f8f9fa;
    border: #f19511 solid 4px;
    margin: 0 0.5rem;
}

.login_pw {
    position: relative;
}

.login_pw img {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 15px;
}

.btn_log {
    background: #f19511;
    color: #f8f9fa;
    border: #f19511 solid 1px;
}

.btn_log:hover {
    background: #f8f9fa;
    color: #f19511;
    border: #f19511 solid 1px;
}

.bottom_logo {
    position: absolute;
    right: 10%;
    bottom: 10%;
}

@media(max-width:991px) {
    .bottom_logo {
        right: 0;
        left: 0;
        margin: 0 auto;
    }
}

@media(max-width:575px) {
    .bottom_logo {
        width: 180px;
    }
}

/* ----------------------------------------
    ヘッダーとフッター
----------------------------------------*/
header,
footer {
    height: 5dvh;
    background-color: #76CB3D;
    position: relative;
    font-size: larger;
}

@media(max-width:575px) {

    header,
    footer {
        font-size: medium;
    }
}

.header_text {
    color: #f8f9fa;
    position: absolute;
    top: 50%;
    transform: translate(0%, -50%);
    padding: 0 1rem;
}

.footer_text {
    color: #f8f9fa;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ----------------------------------------
    ナビゲーション
----------------------------------------*/
.nav_area {
    background-color: #FEFDEE;
    padding: 1rem 0;
    z-index: 99;
}

.nav_link,
.edit_link,
.detail_link {
    text-decoration: none;
    color: #212529;
}

.nav_link:hover,
.edit_link:hover,
.detail_link:hover {
    text-decoration: none;
    opacity: 0.6;
}

.nav_link figure {
    margin: 0 1rem 0.25rem;
}

.nav_link span {
    align-self: center;
}

.nav_link figure svg {
    width: 36px;
    height: 36px;
}

.button_link {
    text-decoration: none;
}

@media(min-width:992px) {
    .nav_area ul li {
        width: 120px;
        height: 80px;
        background-color: #f8f9fa;
        text-align: center;
        padding: 0.5rem;
        margin: 0.25rem;
        border: #EBEBEB solid 1px;
    }
}

@media(max-width:991px) {
    .nav_toggle {
        display: block;
        position: relative;
        width: 1.75rem;
        height: 1.5rem;
    }

    .nav_hamburger {
        position: fixed;
        right: 0;
        top: 0;
        margin: 0.7rem;
    }

    .nav_toggle i {
        display: block;
        width: 100%;
        height: 2px;
        background-color: #f8f9fa;
        position: absolute;
        transition: transform .5s, opacity .5s;
    }

    .nav_toggle i:nth-child(1) {
        top: 0;
    }

    .nav_toggle i:nth-child(2) {
        top: 0;
        bottom: 0;
        margin: auto;
    }

    .nav_toggle i:nth-child(3) {
        bottom: 0;
    }

    .nav_toggle.show i:nth-child(1) {
        transform: translateY(10px) rotate(-45deg);
    }

    .nav_toggle.show i:nth-child(2) {
        opacity: 0;
    }

    .nav_toggle.show i:nth-child(3) {
        transform: translateY(-12px) rotate(45deg);
    }

    .nav {
        position: fixed;
        top: 3rem;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 1rem;
        opacity: 0;
        visibility: hidden;
        transition: opacity .5s, visibility .5s;
    }

    .nav.show {
        opacity: 1;
        visibility: visible;
        background: #fff;
    }

    .nav_area ul li {
        position: relative;
        margin-bottom: 1.5rem;
    }

    .nav_area ul li::after {
        border-bottom: #7ad0f0 dashed 1px;
        content: "";
        position: absolute;
        bottom: -10px;
        width: 100%;
    }

    body {
        background: #FEFDEE;
    }
}

/* ----------------------------------------
    ダッシュボード
----------------------------------------*/
.dashboard_obj {
    background-color: #7AD0F0;
    color: #212529;
    border-radius: .375rem;
}

/* ----------------------------------------
    共通
----------------------------------------*/
.parts_heading {
    background-color: #76CB3D;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
    color: #f8f9fa;
}

.master_heading {
    margin: 3rem 0;
}

.master_input_form {
    max-width: 700px;
}

.btn_setting {
    background: #EBEBEB;
    color: #212529;
    border: var(--bs-border-color) solid 1px;
}

.btn_setting:hover {
    background: #212529;
    color: #EBEBEB;
    border: #212529 solid 1px;
}

.table_rwd {
    width: 100%;
    white-space: nowrap;

    @media screen and (max-width: 991px) {
        width: 1000px;
    }

    th {
        border: 1px solid #DDD;
        background: #EBEBEB;
        padding: 10px;
        text-align: center;
    }

    td {
        border: 1px solid #DDD;
        padding: 10px;
        text-align: center;
    }
}

.table_input {
    border: none;
    padding: 0;
    text-align: center;
    background-color: transparent;
}

.table_yearly {
    width: 90px;
}

.table_disabled {
    background-color: #ebebeb;
}

.accordion {
    margin: 0 1.5rem 0.25rem;
    padding: 1rem;
}

@media(max-width: 991px) {
    .table_scroll {
        overflow-x: scroll;
    }
}

.table_nowrap {
    white-space: nowrap;
}

/* ----------------------------------------
    マスタ関係
----------------------------------------*/
.mobile_bg {
    background: #7ad0f0;
}

.gm_table_company {
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
    max-width: 300px;
}

.gm_table_note {
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
    max-width: 360px;
}

.um_table_user {
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
    max-width: 260px;
}

.um_table_mail {
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
    max-width: 365px;
}

.am_table_login {
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
    max-width: 190px;
}

.am_table_admin {
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
    max-width: 260px;
}

.dm_table_company {
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
    max-width: 445px;
}

.dm_table_department {
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
    max-width: 290px;
}

.adm_table_user {
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
    max-width: 210px;
}

.adm_table_company {
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
    max-width: 250px;
}

.adm_table_department {
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
    max-width: 175px;
}

@media(max-width: 991px) {

    .gm_table_company,
    .gm_table_note,
    .um_table_user,
    .um_table_mail,
    .am_table_login,
    .am_table_admin,
    .dm_table_company,
    .dm_table_department,
    .adm_table_user,
    .adm_table_company,
    .adm_table_department {
        white-space: nowrap;
        max-width: 500px;
    }
}

/* ----------------------------------------
    PDCA
----------------------------------------*/
.bg_plan {
    background: #0C0098 !important;
    color: #f8f9fa !important;
}

.bg_do {
    background: #AF0000 !important;
    color: #f8f9fa !important;
}

.bg_check {
    background: #E9E00C !important;
    color: #f8f9fa !important;
}

.bg_action {
    background: #20A000 !important;
    color: #f8f9fa !important;
}

.pdca_icon {
    padding: 0.25rem;
    text-align: center;
    margin-top: 0.5rem;
    font-size: 11px;
}

.status_unconfirmed {
    border: solid 3px #007700;
    color: #007700;
    margin-left: 0.5rem;
    padding: 0.25rem 0.5rem;
}

.status_confirmed {
    border: solid 3px #0000FF;
    color: #0000FF;
    margin-left: 0.5rem;
    padding: 0.25rem 0.5rem;
}

.pdca_table {
    margin-top: 3.5rem;
}

.pdca_detail {
    margin-top: 45px;
}

.pdca_detail td {
    vertical-align: middle;
    padding: 0.75rem;
}

.pdca_nptable {
    max-width: 850px;
    white-space: nowrap;
}

.pdca_under_edit {
    background-color: #B6D3F4 !important;
}

.pdca_tlist_size {
    width: 1000px;
}

.pdca_table_qag {
    width: 400px;
}

.pdca_table_qagoals {
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
    max-width: 380px;
}

.pdca_table_company,
.pdca_table_department {
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
    max-width: 130px;
}

@media(min-width:1400px) {
    .pdca_tlist_size {
        width: 1180px;
    }

    .pdca_table_qag {
        width: 580px;
    }

    .pdca_table_qagoals {
        overflow: hidden;
        text-overflow: ellipsis;
        box-sizing: border-box;
        max-width: 570px;
    }
}

@media(max-width:1199px) {
    .pdca_tlist_size {
        width: 820px;
    }

    .pdca_table_qag {
        width: 230px;
    }

    .pdca_table_qagoals {
        overflow: hidden;
        text-overflow: ellipsis;
        box-sizing: border-box;
        max-width: 220px;
    }
}

/*
.pdca_nptable_plan{
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
    max-width: 280px;
}
    */

/* ----------------------------------------
    品質目標
----------------------------------------*/
#input_method1,
#input_method2,
#input_method3,
#list1,
#list2,
#list3 {
    display: none;
}

.status_unapproved {
    border: solid 3px #007700;
    color: #007700;
    margin-left: 0.5rem;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
}

.status_resubmit {
    border: solid 3px #FF0000;
    color: #FF0000;
    margin-left: 0.5rem;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
}

.status_approved {
    border: solid 3px #0000FF;
    color: #0000FF;
    margin-left: 0.5rem;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
}
