@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%);
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-toggle::after {
  display: none !important;
}

.dropdown-menu {
  z-index: 999 !important;
  position: absolute !important;
}

.profile-img {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    object-fit: cover;
}

.icon-img {
    position: relative;
    display: inline-block;
    width: 80px;
    height: 80px;
}

.icon-img img{
    width: 100%;
    height: 100%;
    display: block;
    transition: filter 0.3s ease;
    border-radius: 50%;
    object-fit: cover;
}

.icon-img svg{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    color: #e9e9e9;
}

.icon-img:hover img {
    filter: brightness(50%);
}

.icon-img:hover svg {
    opacity: 1;
}


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

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

.nav_link:hover,.edit_link:hover,
.detail_link:hover,  .file_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: absolute;
        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;
}

.latest_info{
    text-decoration: underline;
    cursor: pointer;
}

/* ----------------------------------------
    共通
----------------------------------------*/

/* 見出し（緑背景） */
.parts_heading{
    background-color: #76CB3D;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
    color: #f8f9fa;
}

/* ボタン */
.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,
.table_textarea{
    border: none;
    padding: 0;
    text-align: center;
    background-color: transparent;
}

.table_yearly{
    width: 90px;
}

.table_disabled{
    background-color: #ebebeb;
}

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

.table_nowrap{
    white-space: nowrap;
}

/* アコーディオン */
.accordion{
    margin: 0 1.5rem 0.25rem;
    padding: 1rem;
}

/* ----------------------------------------
    マスタ関係
----------------------------------------*/
.master_heading{
    margin: 3rem 0;
}

.master_input_form{
    max-width: 700px;
}

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

/* カード背景 */
.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;
}

/* マスタトップ */
.masterlist h4{
    border-bottom: 1px solid #212529;
    padding-bottom: 0.5rem;
}

.masterlist ul li a{
    color: #212529;
}

.masterlist ul li a:hover{
    opacity: 0.6;
}

/* 部署マスタ */
.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;
    }
}

.p-pass{
    max-width: 300px;
}

/* 評価カテゴリマスタ */
.list-cursor{
  cursor: grab;
}

.dragging {
  opacity: 0.5;
  background: #da0909;
}

/* 役職別評価セットマスタ */
.ecmaster_select{
    width: 200px;
}

@media(max-width: 767px){
    .ecmaster_select{
        width: 100%;
    }
}

/* 評価項目マスタ */
.eimaster_select{
    width: 200px;
}

@media(max-width: 991px){
    .eimaster_select{
        width: 100%;
    }
}

/* 年度方針マスタ */
.policy_edit{
    border: none;
    padding: 0;
    background-color: transparent;
}

/* 設定マスタ */
.master_subtitle{
    border-bottom: solid 1px #212529;
    padding-bottom: 0.5rem;
    margin-bottom: 1.3rem;
}

/* ----------------------------------------
    PDCA
----------------------------------------*/

/* 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;
}

/* PDCAステータス */
.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一覧 */
.pdca_tlist_size{
    width: 1000px;
}

.pdca_table_qag{
    width: 400px;
}

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

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

/* PDCA部署別一覧 */
.pdca_dptable_size{
    width: 960px;
}

.pdca_dptable_item{
    width: 115px;
}

.pdca_table{
    margin-top: 3.5rem;
}

.pdca_detail{
    margin-top: 70px;
}

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

.pdca_dptable_item br{
    display: block;
}

.pdca_dptable_ellipsis{
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
    white-space: nowrap;
    max-width: 95px;
}

/* 計画を新規作成モーダル */
.pdca_nptable{
    max-width: 850px;
    white-space: nowrap;
}

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

@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;
    }

    .pdca_dptable_size{
        width: 1140px;
    }

    .pdca_dptable_item{
        width: 140px;
    }

    .pdca_dptable_item br{
        display: none;
    }

    .pdca_dptable_ellipsis{
        max-width: 140px;
    }

    .pdca_detail{
        margin-top: 45px;
    }
    
}

@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_dptable_size{
        width: 780px;
    }

    .pdca_dptable_item{
        width: 80px;
    }

    .pdca_dptable_ellipsis{
        max-width: 60px;
    }
}

/* ----------------------------------------
    品質目標
----------------------------------------*/
#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;
}

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

@media (min-width:992px) and (max-width: 1199px){
    .qalist_goal_table{
        white-space: nowrap;
        max-width: 300px;
    }
}

.status_evaluation{
    border: solid 3px #007700;
    color: #007700;
    padding: 0.25rem;
    font-size: 14px;
}

.status_evaluation_completed{
    border: solid 3px #0000FF;
    color: #0000FF;
    padding: 0.25rem;
    font-size: 14px;
}

/* ----------------------------------------
    人事考課
----------------------------------------*/
.table_rwd_evaluation{
    width: 100%;

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

.evaluation_select,
.evaluation_total{
    width: 70px;
    margin: 0 auto;
}

.evaluation_total_bg{
    background: #7AD0F0;
    font-weight: bold;
}

.evaluation_search{
    display: flex;
}

.evaluation_search label{
    white-space: nowrap;
    align-self: center;
    margin-right: 1rem;
}

.evaluation_search select{
        margin: 0.5rem 0rem;
    }

@media(min-width: 992px){
    .evaluation_search select{
        margin: 0.5rem 2rem 0.5rem 0.25rem;
    }
}

.evaluation_search input{
    margin: 0.5rem 2rem 0.5rem 0.25rem;
}

@media(max-width: 991px){
    .evaluation_search{
        display: block;
    }
}

.evaluation_tab {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.evaluation_tab > label {
    flex: 1 1;
    order: -1;
    min-width: 70px;
    padding: .7em 1em .5em;
    background-color: #fff;
    color: #000000;
    font-size: .9em;
    text-align: center;
    cursor: pointer;
    border-bottom: solid 1px #e0e0e0;
}

.evaluation_tab > label:hover {
    opacity: .8;
}

.evaluation_tab input {
    display: none;
}

.evaluation_tab > div {
    display: none;
    width: 100%;
    padding: 0.5em 1em;
    background-color: #f8f9fa;
}

.evaluation_tab label:has(:checked) {
    border-bottom: 4px solid #76CB3D;
    font-weight: bold;
    color: #000000;
}

.evaluation_tab label:has(:checked) + div {
    display: block;
}

.evaluation_group{
    margin-top: 1rem;
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
}

.evaluation_group h5{
    border-bottom: 2px solid #212529;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.sub_total{
    display: flex;
    justify-content: end;
    margin-top: 0.5rem;
    padding: 0.5rem;
}

.sub_total input,
.sub_total_mobile input{
    display: block !important;
    width: 70px;
}

.sub_total_mobile{
    display: flex;
    justify-content: end;
    background: #fff3cd;
    margin-top: 1rem;
    padding: 0.5rem;
}

.sub_total_mobile div{
    align-self: center;
}



/* ----------------------------------------
    掲示板
----------------------------------------*/
.bbs_under_edit{
    background-color: #B6D3F4 !important;
}

.bbs_permission_on{
    background-color: #fcd7d7 !important;
}

.bbs-modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.9);
  align-items: center;
  justify-content: center;
  animation: modalFadeIn 0.3s;
}

.bbs-modal img {
  max-width: 70%;
  max-height: 70vh;
  object-fit: contain;
}

.clickable-image:hover {
  cursor: zoom-in;
}

.bbs-modal img:hover {
  cursor: zoom-out;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalFadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

.bbs_thread_table{
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
    text-align: start;
    padding-left: 0.5rem;
}

@media (min-width: 1400px){
    .thread_name{
        width: 450px;
    }

    .bbs_thread_table{
        width: 510px;
    }
}

@media (min-width: 1200px) and (max-width: 1399px){
    .thread_name{
        width: 340px;
    }

    .bbs_thread_table{
        width: 400px;
    }
}

@media(min-width: 991px) and (max-width: 1199px){
    .thread_name{
        width: 170px;
    }

    .bbs_thread_table{
        width: 230px;
    }
}

@media(max-width: 991px){
    .thread_name{
        width: 330px;
    }

    .bbs_thread_table{
        width: 390px;
    }
}

@media(min-width: 768px){
    .bbs-select-category{
        width: 200px;
    }
}

@media (min-width: 992px){
    .bbs-main{
        width: 50%;
    }

    .bbs-reply{
        width: 500px;
    }
}

@media (max-width: 991px){
    .bbs-reply{
        width: 250px;
    }
}

.btn_good{
    border-radius: 9999px;
    width: 70px;
    background: #e2e3e5;
    padding: 0 0.75rem;
    margin-left: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn_good svg{
    width: 14px;
    height: 14px;
}

.btn_good span{
    margin-left: 0.25rem;
}

.bbs_icon{
    width: 50px;
    height: 50px;
    margin: 0 1rem;
    border-radius: 50%;
    object-fit: cover;
}

.bbs_post{
    font-size: 16px;
}

.img-view{
    padding: 1rem 0.5rem 0;
}

.img-view img{
    width: 100px;
    height: 100px;
    margin: 0 0.5rem 0.5rem 0;
}

@media (min-width: 508px) and (max-width: 991px){
    .bbs_post{
        font-size: 14px;
    }

    .bbs_icon{
        width: 40px;
        height: 40px;
        margin: 0 1rem;
    }
}

@media (max-width: 507px){
    .bbs_post{
        font-size: 12px;
    }

    .bbs_icon{
        width: 30px;
        height: 30px;
        margin: 0 1rem;
    }

    .btn_good{
        border-radius: 9999px;
        width: 50px;
        background: #e2e3e5;
        padding: 0 0.5rem;
        margin-left: 0.5rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .btn_good svg{
        width: 12px;
        height: 12px;
    }

    .img-view img{
        width: 50px;
        height: 50px;
    }
}

.filetag{
    padding: .5rem 1rem;
    margin-bottom: 0.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.filetag .bi-x-circle:hover{
    opacity: 0.6;
}

/* ----------------------------------------
    ワークフロー
----------------------------------------*/

.status_workflow_unapproved{
    border: solid 3px #007700;
    color: #007700;
    padding: 0.25rem .5rem;
    font-size: 14px;
}

.status_workflow_approved{
    border: solid 3px #0000FF;
    color: #0000FF;
    padding: 0.25rem .5rem;
    font-size: 14px;
}

.status_workflow_resubmit{
    border: solid 3px #FF0000;
    color: #FF0000;
    padding: 0.25rem .5rem;
    font-size: 14px;
}

.workflow_pointer{
    cursor: pointer;
}

.file-drop-zone{
    border:2px dashed #999;
    background:#fff;
    min-height:90px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    cursor:pointer;
    transition:.2s;
}

.file-drop-zone:hover{
    background:#f8f9fa;
}

.file-drop-zone.dragover{
    background:#eef5ff;
    border-color:#0d6efd;
}

.file-list{
    display:none;
    background:#ececec;
    padding:1rem;
    min-height: 50px;
    margin-top: 0.5rem;
}

.file-item{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:.2rem 0;
}

.file-link{
    color:#212529;
    text-decoration:underline;
}

.file-link:hover{
    color:#0d6efd;
}

.delete-file{
    border:none;
    background:none;
    color:#6c757d;
    cursor:pointer;
    padding:0;
    font-size:1rem;
}

.delete-file:hover{
    color:#dc3545;
}

.file-icon{
    margin-right:.5rem;
    color:#dc3545;
}