@charset "utf-8";

#login_page_wrapper {
    position: relative;
    overflow: hidden;
    height: 100%;
    width: 100%;
}

#login_wrap {
    height: 100%;
    width: 100%;
    position: relative;
    background-color: #eee;
}

#login_box {
    position: absolute;
    height: auto;
    width: 400px;
    left: 50%;
    transform: translate(-50%,-50%);
    box-sizing: border-box;
    padding: 44px;
    padding-top: 12px;
    background-color: #fff;
    border-radius: 3px;
    box-shadow: 0px 3px 20px rgba(0, 0, 0, 0.2);
}
#login_box .login-button {
    width: 100%;
    height: 38px;
    font-size: 1.3em;
    margin-bottom: 24px;
}

#login_logo {
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100px;
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.logo-ON_PREMISES { background-image: url(../images/directory.svg); }
.logo-RENRAKU     { background-image: url(../images/service_logo.svg); }
.logo-OFFICELINK  { background-image: url(../images/directory.svg); }
.logo-THINCA      { background-image: url(../images/thinca_logo.svg); }
.logo-NESIC       { background-image: url(../images/service_logo.svg); } /* 画像が用意でき次第、ロゴ画像は変更する。 */
.logo-KDDI        { background-image: url(../images/service_logo.svg); }
.logo-BIZ_DXSTORE { background-image: url(../images/biz_dxstore_logo.svg); }

.login-input {
    display: block;
    margin-bottom: 24px;
    height: 32px;
    width: 100%;
    box-sizing: border-box;
    border-radius: 3px;
    border: 1px solid #ddd;
    padding: 0 8px;
    font-size: 1.4em;
}

.login-input[readonly]:focus {
    outline: 0;
}

.login-input[readonly]:-webkit-autofill {
    box-shadow: 0 0 0 1000px #fff inset;
}

#login_footer {
    box-sizing: border-box;
    bottom: 0px;
    height: 40px;
    width: 100%;
    position: absolute;
    background-color: #000;
    font-size: 1.4em;
    padding:0px 10px;
}
#login_footer:checked {
    z-index:-1;
}
#login_footer > ul > li {
    float: left;
}

.login-footer-link {
    padding: 15px 10px;
}
.login-footer-link > ul > li:after {
    color: #fff;
    width: 1px;
    height: 25px;
}
.login-footer-link > a:link,
.login-footer-link > a:visited {
    color: #fff;
}
.login-footer-link > a:hover {
    color: #274FAA;
}
.login-footer-link > div {
    position: absolute;
    bottom: 40px;
    background-color: #fff;
    padding: 10px;
    z-index: -1;
    border-radius: 5px;
    box-shadow: 0px 3px 12px rgba(0,0,0,0.5);
}
.login-footer-link > div.active {
    z-index: 2;
}
.login-footer-link > div > ul > li {
    padding:5px;
    width:180px;
}
.login-footer-link > div > ul > li > a {
    display: block;
    text-decoration: none;
    color:#000;
}
.login-footer-link > div > ul > li:hover {
    background-color: #00CBD8;
    color: #fff;
}
.sso-block {
    text-align: center;
    padding-top: 24px;
}
.sso-block > a{
    text-decoration: none;
}
.o365-login-button {
    background-color: #c94721;
    height: 38px;
    margin: auto;
    display: flex;
    justify-content: center;
}
.o365-login-button > span{
    color: white;
}
.biz-d-account:before {
    background-image: url(../images/business_d_account_login.svg);
    display: inline-block;
    width: 280px;
    height: 42px;
    content: "";
}
.biz-d-account:hover:before {
    background-image: linear-gradient(to bottom, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.2) 100%), url(../images/business_d_account_login.svg);
}
.another-login {
    text-align: center;
    padding-top: 40px;
}
.another-login > a {
    line-height: 20px;
    color: rgba(20, 20, 20, 60%);
    font-size: 13px;
    transition: opacity 0.3s ease;
}
.another-login > a:hover {
    opacity: 0.5;
}
.login-version {
    color: rgba(20, 20, 20, 60%);
    float: right;
    font-size: 1.4em;
    margin: 40px -24px -24px;
}
.error > p{
    white-space: pre-line;
}
