@charset "utf-8";

#wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/*ヘッダー*/
.header-wrapper {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 10;
    padding: 0;
    background: #fff;
    width: 100%;
}
.sys_header {
    border-bottom: 2px solid #ccc;
    padding: 10px 0;
}

@media screen and (max-width: 768px) {
    .sys_header {
        height: 54px;
    }
}

.sys_header_link_home {
    display: inline-block;
    text-decoration: none;
}

@media print, screen and (min-width: 769px) {
    .sys_header_inner {
        width: 1024px;
        height: 80px;
        margin: 0 auto;
        position: relative;
    }
}
.sys_header_left {
    display: flex;
}
.sys_header_icon {
    width: 60px;
    height: 60px;
    padding: 10px;
    margin-right: 10px;

    background-image: url(../img/logo.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    flex-shrink: 0;
}
.login01_inner .sys_header_icon {
    flex-shrink: 0;
    width: auto;
}
.sys_header_logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
}
.sys_header_logo h1 {
    font-weight: bold;
    font-size: 30px;
}

@media screen and (max-width: 768px) {
    .sys_header_inner {
        margin: 5px;
    }
    .sys_header_link_home {
        width: calc(100% - 180px);
    }
    .sys_header_icon {
        width: 20px;
        height: 20px;
        font-size: 10px;
        flex-shrink: 0;
    }
    .login01_inner .sys_header_icon {
        flex-shrink: 0;
        width: auto;
    }
    .sys_header_logo {
        font-size: 12px;
        width: 100%;
        flex-shrink: 0;
    }
    .sys_header_logo h1 {
        font-size: 16px;
        line-height: 16px;
        width: 100%;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }
}

.sys_header_right {
    position: absolute;
    top: 15px;
    right: 0;
    display: flex;
    /*flex-direction: column;*/
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: flex-end;
    width: 240px;
}

.sys_header_status {
    min-width: 144px;
    height: 24px;
    border-radius: 15px;
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    padding: 2px;
    text-align: center;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
@media screen and (min-width: 769px) {
    .sys_header_status {
        width: 204px;
    }
}
@media screen and (max-width: 768px) {
    .sys_header_status,
    .sys_header_staff,
    .sys_header_logout {
        margin-bottom: 3%;
    }
}

.sys_header_status_icon {
    display: block;
    width: 24px;
    height: 24px;
    border-radius: 12px;
    background: #eee;
    overflow: hidden;
    position: relative;
    margin-right: 5px;
    flex-shrink: 0;
}
.sys_header_status_icon img {
    width: 22px;
    height: 22px;
    position: absolute;
    top: 4px;
    left: 1px;
}

.sys_header_staff a {
    display: block;
    border-radius: 15px;
    background: #dc3d19;
    color: #fff;
    height: 14px;
    width: 90px;
    padding: 8px 5px;
    line-height: 14px;
    text-align: center;
    text-decoration: none;
}

.sys_header_logout {
    margin-top: 5px;
    margin-left: 10px;
}
.btn_logout {
    border-radius: 15px;
    background: #ccc;
    color: #666;
    height: 30px;
    width: 100px;
    padding: 2px 10px;
    text-align: center;
}
@media screen and (max-width: 768px) {
    .btn_logout {
        font-size: 11px;
        width: 80px;
    }
}
/*グローバルナビ*/

.navi_home a,
.sys_navi li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    text-align: center;
    line-height: 1.2em;
}

.navi_home {
    background: #ee8737 !important;
}

.sys_navi .active a {
    color: #fff;
}
.navi_01 .active {
    background: #4161b1;
}
.navi_02 .active {
    background: #599744;
}

.navi_icon {
    display: block;
    width: 32px;
    height: 32px;
    margin: 8px auto;
}
.navi_01 .navi_icon,
.navi_02 .navi_icon {
}
.navi_icon img {
    height: 32px;
    width: auto;
}
.navi_icon_home {
    width: 40px;
    height: 40px;
}
.navi_icon_home img {
    height: 40px;
}

@media print, screen and (min-width: 769px) {
    .sys_navi {
        background: #eceff8;
    }
    .user_c2 .sys_navi {
        background: #e3ede0;
    }
    .user_c3 .sys_navi {
        background: #fbeadf;
    }

    .sys_navi {
        box-shadow: 0 1px 2px 2px rgba(0, 0, 0, 0.2);
        padding: 10px;
    }
    .sys_navi_inner {
        /* width: 1024px; */
        width: 1200px;
        margin: 0 auto;
        display: flex;
    }

    .navi_home {
        margin-right: 5px;
    }
    .navi_02 + .navi_01,
    .navi_01_btn + .navi_01 {
        /* margin-left:5px; */
    }

    .navi_home,
    .sys_navi li {
        display: inline-block;
        border-radius: 5px;
        vertical-align: top;
    }

    .sys_navi li {
        background: #fff;
        width: 88px;
        margin-right: 5px;
    }

    .navi_home a,
    .sys_navi li a {
        height: 60px;
        width: 80px;
        padding: 14px 4px;
        font-size: 12px;
        font-weight: bold;
    }

    .navi_01_btn {
        border-radius: 5px;
        font-weight: bold;
        color: #44772a;
        cursor: pointer;
        padding: 13px;
    }
    .user_c3 .navi_01_btn {
        color: #dc3d19;
    }

    /*ドロップダウンメニュー*/
    .navi_mega_parent {
        position: relative;
    }
    .navi_mega_inner {
        transition: all 0.2s ease-in;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        width: 200px;
        top: 84px;
        left: 0;
        text-align: center;
        position: absolute;
        z-index: 100;
    }
    .navi_mega_inner li.navi_mega_inner_item {
        width: 198px;
        background: #fff;
        border-radius: 0;
        border: 1px solid #4161b1;
        border-top: none;
    }
    .navi_mega_inner li.navi_mega_inner_item_c2 {
        border-color: #599744;
    }
    .navi_mega_inner li.navi_mega_inner_item:first-child {
        border-top: 1px solid #4161b1;
    }
    .navi_mega_inner li.navi_mega_inner_item a {
        width: inherit;
        height: inherit;
        padding: 10px;
        flex-direction: row;
        justify-content: flex-start;
        color: #4161b1;
    }
    .navi_mega_inner li.navi_mega_inner_item_c2 a {
        color: #599744;
    }
    .navi_mega_inner li.navi_mega_inner_item:hover,
    .navi_mega_inner li.navi_mega_inner_item.active {
        background: #4161b1;
    }
    .navi_mega_inner li.navi_mega_inner_item_c2:hover,
    .navi_mega_inner li.navi_mega_inner_item_c2.active {
        background: #599744;
    }
    .navi_mega_inner li.navi_mega_inner_item a:hover,
    .navi_mega_inner li.navi_mega_inner_item.active a {
        color: #fff;
    }

    .navi_mega_parent:hover .navi_mega_inner {
        max-height: 9999px;
        opacity: 1;
        padding: 15px 0 5px;
    }
}

@media screen and (max-width: 768px) {
    .sys_header_overlay {
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        position: fixed;
        top: 0;
        right: 0;
        display: none;
        z-index: 99;
    }
    .sys_navi {
        height: 60px;
        position: fixed;
        top: 0;
        right: 0;
        z-index: 100;
    }
    .sys_navi.sys_navi_show {
        right: 0;
    }
    .sys_navi_button {
        width: 44px;
        height: 44px;
        background: #ee8737;
        border-radius: 5px;
        box-sizing: border-box;
        padding: 5px;
        position: fixed;
        top: 5px;
        right: 5px;
        color: #fff;
        font-size: 10px;
        text-align: center;
        letter-spacing: -2px;
        z-index: 500;
    }
    /*.user_c2 .sys_navi_button{background: #599744;}
.user_c3 .sys_navi_button{background: #EE5737;}*/

    .sys_navi_button_icon {
        position: relative;
        display: block;
        width: 20px;
        height: 20px;
        margin: 2px auto;
        background: url(../img/icon/icon_menu_c0.svg) no-repeat center center;
        background-size: auto 100%;
    }

    .sys_navi_inner {
        margin: 20px 0;
    }

    .sys_header_staff a {
        text-align: center;
        margin: 0 5px;
    }
    .sys_header_logout {
        text-align: center;
        margin-top: 0;
    }

    /*SP版グロナビ*/
    .navi_home,
    .sys_navi li {
        width: 44px;
        height: 44px;
        background: #fff;
        border: 1px solid #ccc;
        border-radius: 5px;
        box-sizing: border-box;
        flex-shrink: 0;
        margin-left: 5px;
        margin-bottom: 5px;
    }

    .navi_home a,
    .sys_navi li a {
        font-size: 10px;
        padding: 0;
    }
    .navi_home a {
        color: #fff;
    }
    .navi_icon_home {
        margin-right: 5px;
    }
    .navi_icon {
        width: 20px;
        height: 20px;
        margin: 4px auto;
    }
    .navi_icon img {
        height: 20px;
        width: auto;
    }
    .sys_navi .active {
        border: none;
    }
    .sys_navi .active a {
        color: #fff;
    }
    .sys_navi_sp_c1.active {
        background: #4161b1;
    }
    .sys_navi_sp_c2.active {
        background: #599744;
    }

    .sys_navi_sp_bottom {
        position: fixed;
        top: 52px;
        left: 0;
        width: 100%;
        background: #fff;
        box-sizing: border-box;
        height: 0;
        overflow: hidden;
    }
    .sys_navi_show .sys_navi_sp_bottom {
        height: auto;
        padding: 5px;
        box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
    }
    .sys_navi_sp_inner ul {
        display: flex;
        justify-content: flex-end;
        overflow: hidden;
    }
    .sys_navi_sp_bottom ul {
        flex-wrap: wrap;
        margin: 0 0 0 auto;
    }

    .sys_navi_sp_bottom_status {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        padding: 3% 0;
        background: #f6f6f6;
    }
    .sys_navi_sp_bottom_status,
    .sys_navi_sp_bottom_status .btn_logout {
        font-size: 10px;
    }
    .sys_navi_sp_bottom_status .sys_header_status {
        min-width: 100px;
        max-width: 90%;
    }
    .sys_navi_sp_bottom_status .sys_header_staff a {
        min-width: 70px;
    }
    .sys_navi_sp_bottom_status .btn_logout {
        width: 80px;
    }
}

@media screen and (max-width: 768px) {
    .sys_navi_banner {
        margin: 0 10px;
    }
}

/*主要部分*/
@media print, screen and (min-width: 769px) {
    .sys_body {
        width: 1024px;
        margin: 0 auto;
    }
    .calendar_sys_body {
        width: initial;
        min-width: 769px;
        max-width: 1024px;
    }
}
@media screen and (max-width: 768px) {
    .sys_body {
        margin: 10px 10px;
        min-height: calc(100vh - 200px);
    }
}

/*メインBOX*/
.main_contents {
    border: 10px solid #eceff8;
    border-radius: 10px;
    margin: 20px auto 0;
    padding: 20px;
}
.user_c2 .main_contents {
    border-color: #e3ede0;
}
.user_c3 .main_contents {
    border-color: #fbeadf;
}

@media screen and (max-width: 768px) {
    .main_contents {
        padding: 10px;
        margin: 10px;
    }
}

/*フッター*/
.sys_footer {
    margin-top: auto;
}

.footer_banner {
    text-align: center;
    margin: 20px 0;
}
.footer_banner img {
    width: 210px;
    height: auto;
}
@media print, screen and (min-width: 769px) {
    .footer_banner {
        background: url(../img/bg_top.svg) repeat-x left bottom 2px;
        background-size: auto 50px;
        padding-bottom: 50px;
    }
}
/*コピーライト*/
.copyright {
    background: #123a9c;
    color: #fff;
    text-align: center;
    padding: 5px 0;
}
.user_c2 .copyright {
    background: #44772a;
}
.user_c3 .copyright {
    background: #dc3d19;
}

.copyright a {
    color: #fff;
}
@media screen and (max-width: 768px) {
    .copyright {
        font-size: 3vw;
    }
}

/*文書操作モーダル*/
.file_modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #ccc;
    box-shadow: 0 24px 38px 3px rgba(0, 0, 0, 0.14),
        0 9px 46px 8px rgba(0, 0, 0, 0.12), 0 11px 15px -7px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    z-index: 100;
}
@media screen and (min-width: 769px) {
    .file_modal {
        width: 520px;
        min-height: 200px;
    }
}
@media screen and (max-width: 768px) {
    .file_modal {
        width: 80%;
        min-height: 200px;
    }
}
.file_modal_ttl {
    font-weight: bold;
    margin-bottom: 10px;
}
.file_modal_name {
    padding: 10px;
    margin-bottom: 10px;
    background: #eee;
}
.file_modal_inner input[type="text"] {
    width: 60%;
}
.file_modal_btn {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}
.file_modal_btn button {
    margin-left: 20px;
}

/*ファイル追加機能部分*/
.file_regist_button {
    height: 32px;
    padding: 5px;
    vertical-align: middle;
    border-radius: 5px;
    border: 1px solid #999;
    box-shadow: inset 0 -2px 0 0 rgba(0, 0, 0, 0.2);
    margin-right: 5px;
}
.file_regist_button img {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}
@media screen and (min-width: 769px) {
    .file_regist {
        float: left;
    }
}
@media screen and (max-width: 768px) {
    .file_regist {
        display: flex;
        justify-content: flex-end;
        margin-bottom: 10px;
    }
}

/*ファイル検索部分*/
.file_search {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 10px;
}
.file_search_input {
    width: 240px;
}

.file_search_button {
    width: 30px;
    height: 30px;
    vertical-align: middle;
    border-radius: 5px;
    border: 1px solid #999;
    box-shadow: inset 0 -2px 0 0 rgba(0, 0, 0, 0.2);
    margin-left: 5px;
}
.file_search_button img {
    width: 18px;
    height: auto;
    margin: 5px;
}

.box01_file_list table {
    width: 100%;
}
.box01_file_list table a {
    display: block;
    text-decoration: none;
    padding: 10px;
}

.box01_file_list tr {
    display: flex;
    align-items: center;
    padding: 10px 0;
    width: 100%;
}

.file_list_name img {
    width: 24px;
    height: 24px;
    margin-right: 5px;
}
.file_list_name {
    font-weight: bold;
    position: relative;
}
.file_list_name a {
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.file_list_edit {
    position: absolute;
    top: 8px;
    right: 0px;
    display: none;
}
.file_list_button {
    width: 32px;
    height: 32px;
    background: #ccc;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 4px;
}
.file_list_button img {
    width: 18px;
    height: 18px;
    margin: 0;
}
.file_list_button:hover {
    opacity: 0.8;
}

.file_list_size {
    width: 80px;
    text-align: right;
}
.file_list_download {
    text-align: right;
}
.btn_download {
    padding: 0.5em;
    background: #4161b1;
    border-radius: 5px;
    line-height: 24px;
    color: #fff;
    text-align: center;
}

@media print, screen and (min-width: 769px) {
    .box01_file_list th {
        padding: 5px 10px;
    }
    .box01_file_list td {
        vertical-align: middle;
    }
    .file_list_icon {
        width: 24px;
    }
    .file_list_name {
        width: 800px;
        font-size: 16px;
    }
    .file_list_name a:hover {
        background: #f6f6f6;
    }
    .file_list_size {
        width: 50px;
    }
    .file_list_download {
        width: 90px;
        margin-left: 10px;
    }
}
@media screen and (max-width: 768px) {
    .box01_file_list tbody tr {
        display: flex;
        align-items: center;
        padding: 0.5em;
    }
    .file_list_icon img {
        width: 8vw;
        height: 8vw;
        max-width: 48px;
        max-height: 48px;
    }
    .file_list_name {
        margin-right: 0.5em;
        width: 80%;
    }
    .box01_file_list .file_list_name a {
        display: flex;
        align-items: center;
        height: 100%;
        min-height: 4em;
    }
    .file_list_size {
        width: 20%;
        vertical-align: middle;
        padding-right: 0.5em;
    }
    .file_list_download {
        display: none;
    }
    .btn_download {
        font-size: 2vw;
    }
}

.box01_pager {
    font-size: 12px;
    margin: 10px;
}
.box01_pager ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.box01_pager li {
    margin: 0 5px;
}

/**/
.btn_category {
    margin: 0.5em 0 1em;
}
.btn_category a {
    display: inline-block;
    text-decoration: none;
    border-radius: 5px;
    background: #4161b1;
    color: #fff;
    padding: 0.5em 1em;
}

/*建物基本情報照会*/

/*棟切り替え*/
.build_tab01 ul {
    margin-bottom: 20px;
    border-bottom: 5px solid #123a9c;
    letter-spacing: -0.4em;
}
.build_tab01 li {
    letter-spacing: normal;
    display: inline-block;
    cursor: pointer;
    width: 152px;
    padding: 10px 0;
    font-size: 16px;
    text-align: center;
    border-radius: 5px;
    background: #ccc;
    margin-right: 5px;
    margin-bottom: 5px;
}

.build_tab01 li.active {
    background: #123a9c;
    color: #fff;
}
.user_c2 .build_tab01 ul {
    border-bottom-color: #44772a;
}
.user_c2 .build_tab01 li.active {
    background: #44772a;
}
.user_c3 .build_tab01 ul {
    border-bottom-color: #dc3d19;
}
.user_c3 .build_tab01 li.active {
    background: #dc3d19;
}

@media screen and (max-width: 768px) {
    .build_tab01 ul {
        white-space: nowrap;
        overflow-y: auto;
    }
    .build_tab01 li {
        width: 28%;
        font-size: 14px;
    }
}

/*開閉タイトル*/
.box01:not(:last-of-type) {
    margin-bottom: 50px;
}
.box01_ttl01 {
    color: #123a9c;
    font-size: 1.4em;
    font-weight: bold;
    padding: 5px 0;
    border-bottom: 3px solid #aaa;
}
.user_c2 .box01_ttl01 {
    color: #44772a;
}
.user_c3 .box01_ttl01 {
    color: #dc3d19;
}

.box01_ttl01.open,
.box01_ttl01.close {
    position: relative;
    cursor: pointer;
}
.box01_ttl01.open::after,
.box01_ttl01.close::after {
    content: "";
    color: #fff;
    display: block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    padding: 5px;
    border-radius: 5px;
    background: #4161b1;
    text-align: center;
    position: absolute;
    top: 5px;
    right: 5px;
}
.user_c2 .box01_ttl01.open::after,
.user_c2 .box01_ttl01.close::after {
    background: #599744;
}
.user_c3 .box01_ttl01.open::after,
.user_c3 .box01_ttl01.close::after {
    background: #ee5737;
}

.box01_ttl01.close::after {
    content: "＋";
}
.box01_ttl01.open::after {
    content: "－";
}

/*プロフィール*/
.profileBox {
    display: flex;
    align-items: center;
    margin: 10px;
    padding: 20px;
}
@media screen and (max-width: 768px) {
    .profileBox {
        display: flex;
        flex-direction: column;
    }
}
.profile_photo {
    flex-shrink: 0;
    width: auto;
    height: 120px;
    min-width: 120px;
    background: #fff;
}
.profile_photo_image {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.profile_data {
    width: 100%;
}
@media screen and (min-width: 769px) {
    .profile_data {
        margin-left: 20px;
    }
}

@media screen and (max-width: 768px) {
    .profile_name {
        margin-top: 10px;
        text-align: center;
    }
}
.profile_name_cat {
    margin-right: 0.5em;
}
.profile_name_ttl {
    font-size: 1.2em;
    font-weight: bold;
}
.profile_comment {
    border: 1px solid #ccc;
    margin-top: 20px;
    padding: 20px;
}

/*緊急連絡先*/
@media screen and (min-width: 769px) {
    .box01_contact_company {
        display: inline-block;
        width: 50%;
        margin: 20px 0;
    }
    .box01_contact_company a {
        display: inline-block;
        font-size: 1.1em;
        font-weight: bold;
    }
    .box01_contact_procedure {
        display: inline-block;
        width: 45%;
        text-align: right;
        margin: 20px 0;
    }
    .box01_contact_procedure a {
        padding: 0.3em 1em;
        text-decoration: none;
        color: #113a9d;
        border: solid 2px #113a9d;
        border-radius: 3px;
        transition: 0.4s;
    }
    .box01_contact_procedure a:hover {
        background: #113a9d;
        color: white;
    }
}
@media screen and (max-width: 768px) {
    .box01_contact_company {
        margin: 20px 0;
    }
    .box01_contact_company a {
        display: inline-block;
        font-size: 1.1em;
        font-weight: bold;
    }
    .box01_contact_procedure {
        text-align: right;
        margin: 20px 0;
    }
    .box01_contact_procedure a {
        padding: 0.3em 1em;
        text-decoration: none;
        color: #113a9d;
        border: solid 2px #113a9d;
        border-radius: 3px;
        transition: 0.4s;
    }
    .box01_contact_procedure a:hover {
        background: #113a9d;
        color: white;
    }
}

.box01_contact_list {
    margin: 10px;
}

.contact_list_facility {
    padding: 10px;
    font-weight: bold;
    cursor: pointer;
    border-top: 1px solid #ccc;
}
.contact_list_facility::before {
    content: "";
    width: 5px;
    height: 5px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    border-top: 2px solid #999;
    border-right: 2px solid #999;
    transform: rotate(45deg);
    margin-top: -2px;
}
.contact_list_facility.open::before {
    transform: rotate(135deg);
    margin-top: -5px;
}

.contact_list_vendor {
    font-weight: bold;
}

@media screen and (min-width: 769px) {
    .contact_list_item dl {
        display: flex;
    }
    .contact_list_vendor {
        width: 200px;
        flex-shrink: 0;
    }
    .contact_list_emergency {
        width: 400px;
        flex-shrink: 0;
    }
    .contact_list_memo {
        width: calc(100% - 660px);
    }
}

.contact_list_item:nth-of-type(odd) {
    background: #eceff8;
}
.user_c2 .contact_list_item:nth-of-type(odd) {
    background: #e3ede0;
}
.user_c3 .contact_list_item:nth-of-type(odd) {
    background: #f0f0f0;
}

.contact_list_item:nth-of-type(even) {
    background: #f6f6f6;
}
.contact_list_item dl {
    align-items: stretch;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.8);
}
.contact_list_item dl:not(:first-child) {
    border-bottom: 1px solid #eee;
}

.contact_list_item dt,
.contact_list_item dd {
    padding: 10px;
}

@media screen and (max-width: 768px) {
    .contact_list_item dd {
        padding: 5px 10px;
    }
    .contact_list_item_tel {
        display: inline-block;
        padding: 10px;
        vertical-align: middle;
    }
}

/*基本情報・概要*/
.box01_info01 {
    margin: 10px;
}

/*テーブル*/
.box01_info01 dt,
.box01_info01 dd {
    border-width: 1px;
    border-style: solid;
    border-color: #ccc;
    box-sizing: border-box;
}

.box01_info01 dt {
    background: #eee;
    font-weight: bold;
    padding: 10px;
    border-bottom: none;
}
/*.user_c2 .box01_info01 dt{background:#44772a;}*/

.box01_info01 dd {
    padding: 10px;
    background: #fff;
    border-bottom: none;
}

@media screen and (max-width: 768px) {
    .box01_info01 dl:last-child {
        border-bottom: 1px solid #ccc;
    }
}

@media screen and (min-width: 769px) {
    .box01_info01 dl .brdr_btm {
        border-bottom: 1px solid #ccc;
    }
    .box01_info01 dl .brdr_left_none {
        border-left: none;
    }
}

@media screen and (min-width: 769px) {
    .box01_info01_col2 {
        display: flex;
        flex-wrap: wrap;
    }
    .box01_info01_col2 dt {
        width: 180px;
        border-right: none;
    }
    .box01_info01_col2 dd {
        width: calc(100% - 180px);
    }
}
@media screen and (max-width: 768px) {
    .box01_info01_col2 dd {
        border-right: 1px solid #ccc;
        border-left: 1px solid #ccc;
    }
}

@media screen and (min-width: 769px) {
    .box01_info01_col4 {
        display: flex;
        flex-wrap: wrap;
    }
    .box01_info01_col4 dt {
        width: 180px;
        border-right: none;
    }
    .box01_info01_col4 dd {
        width: calc(50% - 180px);
    }
}

/*備考欄*/
.box01_info01_bikou {
    margin: 20px 0;
    border: 1px solid #ccc;
    padding: 20px;
}

/*タブデザイン*/
@media screen and (max-width: 768px) {
    .sp_side_tab01_index {
        width: 40px;
        height: 60px;
        background: #666;
        border-radius: 5px 0 0 5px;
        padding: 10px;
        position: fixed;
        bottom: 20px;
        right: 0;
        color: #fff;
        font-size: 10px;
        text-align: center;
    }
    .main_contents_index_show .sp_side_tab01_index {
        right: 240px;
    }

    .sp_side_tab01_index_icon {
        display: block;
        width: 30px;
        height: 30px;
        background: url(../img/icon/icon_search_c0.svg) no-repeat center center;
        background-size: 80%;
    }

    .main_contents_index {
        width: 240px;
        height: 100%;
        position: fixed;
        top: 0;
        right: -240px;
        z-index: 100;
    }
    .main_contents_index.main_contents_index_show {
        right: 0;
        overflow-y: auto;
    }

    .main_contents_index {
        background: #fff;
    }

    .index_info_list li {
        border-bottom: 1px solid #ccc;
        position: relative;
    }
    .index_info_list a {
        background: #eceff8;
        color: #123a9c;
        display: block;
        font-weight: bold;
        padding: 15px 10px;
    }
    .user_c2 .index_info_list a {
        background: #e3ede0;
        color: #44772a;
    }

    .index_info_list li::after {
        content: "";
        width: 5px;
        height: 5px;
        display: inline-block;
        vertical-align: middle;
        border-top: 2px solid #123a9c;
        border-right: 2px solid #123a9c;
        position: absolute;
        right: 10px;
        top: 50%;
        transform: rotate(45deg) translateX(-50%);
    }
    .user_c2 .index_info_list li::after {
        border-top-color: #44772a;
        border-right-color: #44772a;
    }
}

/*注意書き*/
.box01_caution01 {
    background: #fff4ef;
    padding: 10px;
    margin-bottom: 10px;
}
.box01_caution01 p {
    font-weight: bold;
}
.box01_caution01 a {
    color: #dc3d19;
}

.box01_caution01_link::before {
    content: "";
    width: 1.5em;
    height: 1.5em;
    display: inline-block;
    background: url(../img/icon/icon_menu_06_c3.svg) no-repeat center center;
    background-size: 100%;
    margin-right: 5px;
    vertical-align: middle;
}

.btn_submit {
    border-radius: 5px;
    padding: 10px;
    min-width: 80px;
}
.btn_next {
    background: #4161b1;
    color: #fff;
}
.btn_cancel {
    background: #999;
    color: #fff;
}
.btn_ok,
.btn_back,
.btn_delete,
.btn_publish,
.btn_unpublish {
    color: #fff;
    font-size: 16px;
    border-radius: 5px;
    padding: 10px;
    box-shadow: inset 0 -3px 0 0 rgba(0, 0, 0, 0.2);
}
.btn_publish,
.btn_unpublish {
    margin-left: 10px;
}
.btn_back,
.btn_unpublish {
    background: #999;
    width: 100px;
}
.btn_publish {
    background: #4161b1;
    width: 100px;
}
.btn_ok {
    background: #dc3d19;
    width: 120px;
}
.btn_officer {
    background: #44772a !important;
}

.btn_delete {
    background: #3f3f3f;
    width: 120px;
}

.btn_blue {
    background: #4161b1;
}

.text_l {
    text-align: left;
}
.text_c {
    text-align: center;
}
.text_r {
    text-align: right;
}

/* ボタン系 */
.btn_items {
    margin: 30px auto;
    display: flex;
    justify-content: center;
}
.btn_items a {
    margin: 10px;
    text-decoration: none;
    text-align: center;
}
@media screen and (min-width: 769px) {
    .btn_items {
        width: 540px;
    }
}

/*非表示*/
.hidden {
    display: none;
}

/*PC/SP非表示*/
@media print, screen and (min-width: 769px) {
    .pc_hidden {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .sp_hidden {
        display: none;
    }
}

/*モーダル*/
.modal {
    margin: 20px auto;
    display: none;
}
.modal dl {
    display: grid;
    justify-content: center;
}
.modal dt {
    font-weight: bold;
}
.modal dd {
    padding-bottom: 10px;
}
.modal dd input,
.modal dd textarea {
    width: 270px;
}
.modal ul {
}
.modal li {
    margin-bottom: 10px;
}
.modal_btn {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}
.modal_btn button {
    margin-left: 20px;
}
.modal_input_date {
    width: 7em !important;
}

/* テーブル */
.table_box {
    /* margin-top:50px; */
}
.table_box table {
    border: 1px solid #ccc;
    border-bottom: none;
    width: 100%;
}
.table_box table th,
.table_box table td {
    padding: 10px;
    vertical-align: middle;
}
.table_box table thead th {
    border-right: 1px solid #fff;
    color: #fff;
}
.table_box table tbody th,
.table_box table td {
    border-right: 1px solid #ccc;
}

.table_box table thead {
    background: #666;
}
.table_box table thead th.blank,
.table_box table tbody th {
    text-align: center;
}
.table_box table th {
    font-weight: bold;
}
.table_box tbody tr {
    border-bottom: 1px solid #ccc;
}
.table_box tbody th a {
    display: inline-block;
    background: #dc3d19;
    color: #fff;
    border-radius: 5px;
    padding: 5px 10px;
    box-shadow: inset 0 -3px 0 0 rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

@media screen and (min-width: 769px) {
    .table_box {
        width: 800px;
        margin: 0 auto;
    }
    .table_box table th,
    .table_box table tbody td:last-of-type {
        white-space: nowrap;
    }
}

@media screen and (max-width: 768px) {
    .table_box table {
        display: block;
        position: relative;
        overflow-x: scroll;
        border-collapse: collapse;
        margin: 0 auto;
    }
    .table_box table thead,
    .table_box table tbody {
        display: block;
        width: -webkit-max-content;
        width: -moz-max-content;
        width: max-content;
    }
    .table_box table thead th {
        width: 8rem;
    }
    .table_box table tbody th,
    .table_box table td {
        display: inline-block;
        width: 8rem;
        vertical-align: middle;
        /* height:2.5em; */
    }
    .table_box table tbody th {
        position: -webkit-sticky;
        position: sticky;
        left: 0;
        z-index: 1;
        background: #eee;
    }
    .table_box table thead {
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        z-index: 2;
    }
    .table_box table thead th.blank {
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        left: 0;
        z-index: 3;
        background: #ccc;
    }

    .table_box table thead th:last-child,
    .table_box table td:last-child {
        border-right: none;
    }
}

.table_box table tbody tr:nth-of-type(even) {
    background: #f6f6f6;
}
.table_box table tbody tr:hover {
    background: #fbeadf;
}

/* radio button */
.radio-label {
    display: block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    margin-right: 10px;
    cursor: pointer;
}
.radio-label [type="radio"] {
    box-sizing: border-box;
    padding: 0;
    position: absolute;
    z-index: -1;
    opacity: 0;
}
.radio-label div.radio-indicator {
    position: absolute;
    top: 2px;
    left: 0;
    height: 20px;
    width: 20px;
    background: #e6e6e6;
    border-radius: 50%;
}
.radio-label div.radio-indicator:after {
    content: "";
    position: absolute;
    display: none;
}
.radio-label [type="radio"] ~ div.radio-indicator:after {
    left: 7px;
    top: 7px;
    height: 6px;
    width: 6px;
    border-radius: 50%;
    background: #fff;
}
.radio-label [type="radio"]:checked ~ div.radio-indicator:after {
    display: block;
}

/* file upload/download */
.file-upload {
    display: none;
}
.file-upload-label {
    background: #dc3d19;
    color: #fff;
    font-size: 0.8em;
    padding: 0.3em 1em;
    border-radius: 10px;
    display: inline-block;
    transition: all 0.3s ease 0s;
    cursor: pointer;
}
.file-upload-label:hover {
    opacity: 0.8;
}
.file-upload-label.nothing::after {
    position: absolute;
    margin-left: 2.4em;
}
.file-upload-label::after {
    content: "";
    color: initial;
}
.file-upload-label.nothing::after {
    content: "選択されていません";
}
.file-name {
    margin-left: 1em;
    font-size: 0.8em;
}
.file-upload-group {
    margin-bottom: 0.4em;
}
.download-files {
    margin-top: 1rem;
}
.download-files img {
    height: 1em;
    width: auto;
    vertical-align: middle;
}

/* 追加アイコン */
.add-icon-small {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    display: inline-block;
    text-decoration: none;
    padding: 0 5px;
}
.add-icon-big {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 100%;
    display: inline-block;
    text-decoration: none;
    height: 3em;
    width: 3em;
    text-align: center;
}
.add-icon-big:before {
    content: "+";
    line-height: 1.5em;
    font-size: 2em;
}

/* sweet alert2 */
.swal2-modal div {
    text-align: center;
}

/* 開閉ボタン */
.toggle_button {
    font-size: 1.4em;
    font-weight: bold;
}
.toggle_button.open,
.toggle_button.close {
    position: relative;
    cursor: pointer;
}
.toggle_button.open::after,
.toggle_button.close::after {
    content: "";
    color: #fff;
    display: block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    padding: 5px;
    border-radius: 5px;
    background: #4161b1;
    text-align: center;
    position: absolute;
    right: 5px;
}
.user_c2 .toggle_button.open::after,
.user_c2 .toggle_button.close::after {
    background: #599744;
}
.user_c3 .toggle_button.open::after,
.user_c3 .toggle_button.close::after {
    background: #ee5737;
}
.toggle_button.close::after {
    content: "＋";
}
.toggle_button.open::after {
    content: "－";
}

/* ヘルプ */
.help-modal {
    margin-top: 0;
    width: 100%;
    padding: 10px 30px;
}
.user_c1.help-content a {
    color: #4161b1;
    border: solid 2px #4161b1;
}
.user_c2.help-content a {
    color: #599744;
    border: solid 2px #599744;
}
.help-modal .help-content div {
    margin: 10px 10px;
    padding: 20px 20px;
    text-align: center;
}
.help-modal .help-content p {
    margin: 0 0 20px;
    text-align: center;
}
.help-modal .help-content a {
    padding: 0.3em 1em;
    text-decoration: none;
    border-radius: 10px;
    transition: 0.4s;
}
@media screen and (min-width: 769px) {
    .help-modal .help-content {
        width: 480px;
    }
}
@media screen and (max-width: 768px) {
    .help-modal .help-content {
        width: 80vw;
    }
    .sys_header_help {
        margin-bottom: 3%;
    }
    .sys_header_help .help-button {
        min-width: 70px;
        text-align: center;
        margin: 0 5px;
    }
}

.sys_header_help .help-button {
    display: block;
    border-radius: 15px;
    background: #dc3d19;
    color: #fff;
    height: 14px;
    width: 90px;
    padding: 8px 5px;
    line-height: 14px;
    text-align: center;
    text-decoration: none;
}

.new_mark::before {
    display: inline-block;
    content: "NEW";
    background: #ff0000;
    color: #ffffff;
    font-weight: bold;
    font-size: 10pt;
    letter-spacing: -1px;
    line-height: 1;
    vertical-align: top;
    margin-left: 10px;
    padding: 2px;
    transform: translateX(-30%) translateY(18%);
}

.error-block {
    width: 1024px;
    margin: 0 auto;
}
