@charset "UTF-8";
html{color:#000;background:#FFF}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0}table{border-collapse:collapse;border-spacing:0}fieldset,img{border:0}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal}ol,ul{list-style:none}caption,th{text-align:left}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}q:before,q:after{content:''}abbr,acronym{border:0;font-variant:normal}sup{vertical-align:text-top}sub{vertical-align:text-bottom}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;font-size:100%}legend{color:#000}
html {
    color: #494949;
    letter-spacing: 0.05em;
    line-height: 1;
    user-select: none;
    background: #4D96FF;
    font-family:'Noto Sans JP', sans-serif;
}
body.video {
    overflow: hidden;
}
a {
    color: inherit;
    text-decoration: none;
}
img {
    vertical-align: bottom;
}
input,
button,
textarea,
select {
	margin: 0;
	padding: 0;
	background: none;
	border: none;
	border-radius: 0;
	outline: none;
	appearance: none;
    font-size: inherit;
}
/*  */
#msg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: #E91E63;
    background: #F44335;
    text-align: center;
    color: #fff;
    line-height: 1.5;
    padding: 15px 0;
    font-size: 12px;
    font-weight: bold;
}
#login {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #4D95FF;
    display: flex;
    justify-content: flex-end;
}
#login div {
    width: 50vw;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}
#login form {
    width: 300px;
    text-align: center;
}
#login img {
    width: 170px;
}
#login li.error {
    color: #FD626B;
    font-weight: bold;
    font-size: 14px;
}
#login li:not(:first-child) {
    margin: 25px 0 0;
}
#uid {
    width: 100%;
    background: #F2F2F2;
    padding: 13px 16px;
    box-sizing: border-box;
    border-radius: 5px;
}
#login #type {
    display: flex;
    justify-content: space-between;
}
#login #type input {
    display: none;
}
#login label {
    width: 50%;
    border: 1px solid #eee;
    padding: 15px;
    font-size: 12px;
    box-sizing: border-box;
    cursor: pointer;
    color: rgba(0,0,0,.6);
    font-weight: bold;
    letter-spacing: 0.025em;
}
#login label:hover {
}
#login input:checked + label {
    background: #FEE94E;
    border-color: #FEE94E;
    /* background: #4D94FF;border-color: #4D94FF;color: #fff; */
}
#login label:nth-of-type(1) {
    border-radius: 5px 0 0 5px;
    border-right: none;
}
#login label:nth-of-type(2) {
    border-radius: 0 5px 5px 0;
    border-left: none;
}
#login button {
    display: block;
    width: 100%;
    background: rgba(77,149,255,1);
    color: #fff;
    padding: 0 16px;
    border-radius: 5px;
    line-height: 45px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 1px 1px rgba(0,0,0,.15);
}
#login button:hover {
    background: rgba(77,149,255,.9);
}
input::-webkit-input-placeholder{color: #bbb;}
input::-moz-placeholder{color: #bbb;}
input:-moz-placeholder{color: #bbb;}
input:-ms-input-placeholder{color: #bbb;}
/*  */
#header {
    background: #fff;
    box-shadow: 0 1px 1px rgba(0,0,0,.1);
    position: relative;
    height: 60px;
}
#logo {
    width: 80px;
    position: absolute;
    top: 50%;
    left: 2%;
    transform: translateY(-50%);
}
#logoutBtn {
    position: absolute;
    top: 50%;
    right: 2%;
    transform: translateY(-50%);
    cursor: pointer;
}
#logoutBtn:hover {
    opacity: .8;
}
#cat {
    position: absolute;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    display: flex;
    opacity: 0;
    transition: .3s;
}
#cat.on {
    opacity: 1;
}
#cat li {
    padding: 0 20px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
}
#cat li:not(.cr):hover {
    opacity: .7;
}
#cat .cr {
    background: #FEE94E;
}
/*  */
#list {
    display: flex;
    flex-wrap: wrap;
}
#list.on {
}
#list .item {
    width: calc( (100% - (2% * 5)) / 4);
    margin: 2% 0 0 2%;
    border-radius: 7.5px;
    overflow: hidden;
    box-shadow: 0 1px 1px rgba(0,0,0,.15);
    background: #fff;
    position: relative;
    padding: 0 0 51px;
}
#list .none {
    opacity: .5 !important;
}
.nd1 .sc2,
.nd1 .sc3,
.nd1 .sc4,
.nd2 .sc1,
.nd2 .sc3,
.nd2 .sc4,
.nd3 .sc1,
.nd3 .sc2,
.nd3 .sc4,
.nd4 .sc1,
.nd4 .sc2,
.nd4 .sc3 {
    display: none !important;
}
#list .thumb {
    width: 100%;
    margin: -1px 0 0;
}
#list h2 {
    font-weight: bold;
    margin: 15px 15px 10px;
    line-height: 1.6;
    font-size: 16.5px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
#list h2 span.cat {
    font-size: 11px;
    font-weight: normal;
    display: inline-block;
    color: #777;
    margin: 0 0 0.5em;
}
#list h2 span strong {
    color: #C10540;
    font-weight: bold;
}
#list h2 span strong span:nth-of-type(2){
    color: #158C3A;
}
#list h2 span strong span:nth-of-type(3){
    color: #000;
}
#list h2 span strong span:nth-of-type(4){
    color: #FBB32D;
}
#list h2 span strong span:nth-of-type(5){
    color: #0086C3;
}

#list p {
    margin: 10px 15px 15px;
    font-size: 12px;
    color: #777;
    line-height: 1.8;
}
#list .menu {
    display: flex;
    border-top: 1px solid #e5e5e5;
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
}
#list .menu li {
    width: calc(100% / 2);
}
#list .menu li:not(:last-child) {
    border-right: 1px solid #e5e5e5;
}
#list .menu li:hover {
    opacity: .7;
}
#list .menu a ,
#list .menu span {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
}
#list .menu li img {
    margin: 0 7px 0 0;
}
/*  */
#video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,.9);
    /* display: flex; */
    display: none;
    justify-content: center;
    align-items: center;
}
.video #video {
    z-index: 1;
    display: flex;
}
#video::before {
    content: url(https://icongr.am/feather/loader.svg?color=ffffff);
    animation: spin 3s linear infinite;
}
@keyframes spin {
	0% {transform: rotate(0deg) ;}
	100% {transform: rotate(360deg);}
}
#video iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 90%;
    height: 90%;
    transition: .5s;
    z-index: 1;
}
#closeVideoBtn {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}
#closeVideoBtn:hover {
    opacity: .8;
}
/*  */
#footer {
    border-top: 1px solid rgba(255,255,255,.2);
    margin: 2% 0 0;
    padding: 20px 2%;
}
#footer dl {
    display: flex;
    font-size: 11px;
    color: rgba(255,255,255,.8);
    line-height: 1.8;
}
#footer dt:first-child {
    display: none;
}
#footer dt::after {
    content: '／';
    opacity: .5;
    margin: 0 3px;
}
#footer dd {
    margin: 0 1em 0 0;
}
@media (max-width: 1270px) {
    #list .item {
        width: calc( (100% - (2% * 4)) / 3);
    }
}
@media (max-width: 1014px) {
    #login {
        justify-content: flex-start;
    }
    #login div {
        width: 100vw;
    }
    #header {
        height: auto;
        flex-wrap: wrap;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
    }
    #logo {
        position: static;
        transform: translateY(0);
        padding: 15px 2%;
    }
    #logoutBtn {
        position: static;
        transform: translateY(0);
        padding: 15px 2%;
    }
    #cat {
        width: 100%;
        position: static;
        height: auto;
        transform: translate(0);
        display: flex;
        justify-content: center;
        border-top: 1px solid #eee;
    }
    #cat li {
        padding: 20px;
        justify-content: center;
    }
    #list .item {
        width: calc( (100% - (2% * 3)) / 2);
    }
}
@media (max-width: 758px) {
    #cat li {
        width: 20%;
        padding: 20px 0;
    }
    #list .item {
        width: calc( (100% - (2% * 2)) / 1);
    }
    #footer dl {
        display: block;
    }
    #footer dt {
        margin: 1em 0 0;
    }
    #footer dt::after {
        content: '';
    }
}
