body {
    padding: 0 0;
    color: #333;
    overflow-x: hidden;
}

*,
:before,
:after {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

ul,
ol {
    padding: 0;
    margin: 0;
}

.l-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.l-header {
    z-index: 999;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 5rem;
    background: #fff;
    border-bottom: 1px solid #ccc;
}

.l-main {
    background-color: #f2f9ff;
}

.c-btn--primary {
    background-color: var(--primary-color);
    color: #FFF;
}

.c-btn--primary:hover {
    color: #FFF;
}

.p-header {
    height: 100%;
    display: flex;
    justify-content: space-between;
}

.p-header__brand {
    display: flex;
    align-items: center;
    height: 100%;
}

.p-header__logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 216px;
    background: #586777;
    height: 100%;
}

.p-header__logo>img {
    width: 150px;
}

.p-header__title {
    padding-left: 1em;
    margin-bottom:0;
    font-size: 1.25rem;
    font-weight: bold;
}

.p-header__name {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 0 2em;
    background: #586777;
    color: #FFF;
}
@media screen and (max-width:768px){
	.p-header__name {
		font-size: 13px;
		display: block;
	}
}

.p-gnav__list {
    list-style: none;
}
@media screen and (max-width:768px){
	.p-gnav__item {
		font-size:13px;
	}
}

.p-gnav__item {
    font-size: 0.875rem;
    border-bottom: 1px solid #ccc;
}
@media screen and (max-width:768px){
	.p-gnav__item {
		font-size:13px;
		text-align:center;
		border-right: 1px solid #ccc;
	}
}

.p-gnav__link {
    display: block;
    padding: 1em;
    color: inherit;
    transition: 0.3s all;
    text-decoration: none;
}

.p-gnav__link.is-active,
.p-gnav__link:hover {
    background-color: #cee6ff;
    color: #0d6efd;
}

.l-container {
    display: flex;
    position: relative;
    width: 100%;
    margin-top: 5rem;
    min-height: calc(100vh - 5rem);
}

.l-main {
    position: relative;
    width: calc(100vw - 216px);
    margin-left: 216px;
}

.l-main.admin{
    width: calc(100vw - 380px);
}

.l-sidebar {
    position: fixed;
    width: 216px;
    height: 100%;
    background-color: #FFF;
    border-right: 1px solid #CCC;
}

.p-login__container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.p-login__form {
    width: 100%;
    max-width: 480px;
    margin: auto;
    padding: 16px;
}

.p-login__avatar {
    width: 80px;
    margin: auto;
}

.p-previewImg {
    width: 240px;
}

.p-imglist-table td {
    vertical-align: middle;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.idnum label,
.idnum input{
    display:block;

}

.idnum input{
    margin-bottom:10px;
}



.js-masonry01{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.js-masonry {
    width: 100%;
    margin: 2em auto 0;
}

.js-masonry__item {
    width: 20%;
    margin: 1em;
    transition: 0.2s;
}

.js-masonry__item:hover {
    opacity: 0.7;
}

.js-masonry__item img {
    display: block;
    width: 100%;
}


.modal-image{
    height:350px;
    display:flex;
    justify-content: center;
    align-items: center;
}

.modal-image>img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    /* margin: auto; */
}

.col-md-6{
    width:100%;
}

.mb-3{
    width:35%;
}

.co-py{
    width:20%;
}
/* .co-py img{
    width:30%;
} */

.btn-primary{
    margin-bottom: 20px;
}

.row{
    position:relative;

}

#loading-anime{
    background-color:rgba(200,200,200,0.9);
    position:absolute;
    /* top:50px;
    left:30px;
    height:500px;
    width: 800px; */
    top:0;
    left:0;
    height:100vh;
    width: 100%;
    z-index: 991;
}
/* #loading-anime img{
    height:100%;
    width:100%;
} */

#loading-p{
    position:absolute;
    top:200px;
    left:20%;
    font-size:40px;
    z-index: 992;
}

.seach_cancel{
    background-color: rgb(88, 103, 119);
    border-color:rgb(88, 103, 119) ;
    position:absolute;
    top:20px;
    right:40px;
    font-size:20px;
    z-index: 993;
}
.seach_cancel:hover{
    background-color: rgb(114, 117, 121);
}


#loading-anime,
#thumbs00,
/* #thumbs01, */
#thumbs02,
#thumbs03,
#thumbs04,
#thumbs05,
#thumbs06,
#thumbs07,
#thumbs08,
#thumbs09 {
    display: none;
    
}

#loading-anime.is-loading,
#thumbs00.is-active,
#thumbs01.is-active,
#thumbs02.is-active,
#thumbs03.is-active,
#thumbs04.is-active,
#thumbs05.is-active,
#thumbs06.is-active,
#thumbs07.is-active,
#thumbs08.is-active,
#thumbs09.is-active {
    display: block;
}

#data01,
#data02,
#data03,
#data04,
#data05,
#data06,
#data07,
#data08,
#data09 {
    display: none;
}

#data01.is-active,
#data02.is-active,
#data03.is-active,
#data04.is-active,
#data05.is-active,
#data06.is-active,
#data07.is-active,
#data08.is-active,
#data09.is-active {
    display: block;
}

.l-sidebar {
    /*  position: relative;*/
}

.p-side-copy {
    position: absolute;
    bottom: 10%;
    display: block;
    width: 100%;
    text-align: center;
    font-size: 0.875em;
}

.admin-wrap {
    padding: 2em;
    background: #FFF;
    border: 1px solid #CCC;
}

.admin__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5em 0 0.5em 1em;
}

.admin__item:nth-child(2n) {
    background-color: #f6f6f6;
}

.admin__btns {
    display: flex;
}

.admin__bt {
    margin: 0 0.5em;
}

.admin__bt .check_box {
    display: none;
}

.check_box:checked+label {
    background-color: #ffc107;
    color: #333;
    border-color: #ffc107;
}

.result__list {
    width: 50%;
}

.p-pageTop {
    position: fixed;
    right: 0;
    bottom: 0;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: end;
    justify-content: flex-end
}

.p-pageTop>a {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: relative;
    width: 3rem;
    height: 3rem;
    background: #333
}

.p-pageTop>a>.icon:before {
    width: 100%;
    height: 100%;
    display: inline-block;
    line-height: 1;
    font-family: fontAwesome, sans-serif;
    font-style: normal;
    font-weight: 400;
    content: "\f106";
    font-size: 2rem;
    color: #FFF
}

.l-main {
    padding: 5rem;
}

.result__item {
    margin-bottom: 1.5em;
}

@media screen and (max-width: 768px) {
    .l-header {
        height: 3.5em;
    }

    .p-header__logo {
        width: 30%;
    }

    .p-header__title {
        font-size: .75em;
    }

    .p-header__name {
        display: flex;
	font-size: 13px;
    }

    .l-container {
        display: block;
        margin-top: 3.5em;
    }

    .l-main {
        width: 100%;
        min-height: calc(100vh - 3.5em);
        margin-left: 0;
        margin-bottom: 50px;
        padding: 2rem 1rem;
    }


    .mb-3{
        width:70%;
    }
    
    .co-py{
        width:50%;
    }

    #loading-anime{
        top:30px;
    }

    #loading-p{
        font-size:25px;
        top:100px;
        left:50px;
    }

    .seach_cancel{
        right:30px;
        font-size:16px;
    }
    .l-sidebar {
        z-index: 2;
        width: 100%;
        height: auto;
        bottom: 0;
        border-top: 1px solid #CCC;
    }

    .p-gnav__list {
        display: flex;
    }

    .p-gnav__item {
        width: 50%;
    }

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

    .result__body {
        font-size: .875em;
    }

    .admin-wrap {
        padding: 1em;
    }

    .u-sp-mt1 {
        margin-top: 1em;
    }

    .admin__item {
        display: block;
    }

    .admin__btns {
        margin-top: 1em;
    }

    .p-imglist-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        font-size: 12px;
    }

    .p-imglist-table tbody,
    td,
    tfoot,
    th,
    thead,
    tr {
        display: block;
    }

    .p-imglist-table th {
        display: none;
    }

    .table-bordered>:not(caption)>*>* {
        border-width: 0;
    }

    .p-side-copy {
      display: none;
    }



}

.p-header {
    background: #586777;
    color: #FFF;
}

.kensu{
    font-size:15px;
    font-weight:bold;
    border-left:solid 4px #0d6efd;
    margin-top:24px;
    margin-left:12px;
    padding-left:6px;
}
.kensu span{
    font-size:20px;
}

.modal-dialog {
	max-width: 90%;
}

@media screen and (max-width:768px){
    .modal-body>.table>tbody>tr>.fw-bold{
        border:none;
    }
}
