body {
    background: url(../images/login_back.jpg) center center / cover no-repeat fixed;
}
.main {
    padding: 10px;
}
h2 {
    font-size: 1.2rem;
    font-weight: bold;
}
.form.regist {
    /*display: none;*/
}
.form.access {
    display: none;
}
.form {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    -webkit-transform: translateY(-50%) translateX(-50%);
    z-index: 1;
    background: rgba(255,255,255,0.7);
    width: 100%;
    max-width: 520px;
    /*height: 430px;*/
    padding: 30px;
    text-align: center;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
    border-radius: 10px;
}
.form label {
    display: block;
    width: 100%;
    text-align: right;
    margin: 0 0 15px;
}
.form input[type="text"], .form input[type="password"] {
    font-family: "Roboto", sans-serif;
    outline: 0;
    background: #ffffff;
    width: 100%;
    width: 65%;
    border: solid 1px #ccc;
    /*margin: 0 0 15px;*/
    padding: 15px;
    box-sizing: border-box;
    font-size: 16px;
}
.form input[type="text"]:disabled, .form input[type="password"]:disabled {
    background: #f2f2f2;
}
.form button {
    text-transform: uppercase;
    outline: 0;
    background: #4CB2E1;
    width: 100%;
    border: 0;
    padding: 15px;
    color: #FFFFFF;
    font-size: 16px;
    -webkit-transition: all 0.3 ease;
    transition: all 0.3 ease;
    cursor: pointer;
}
.form button:hover, .form button:active, .form button:focus {
    background: #239CD4;
}
.form .message {
    margin: 0.4em 0 1em;
    color: #ff0000;
    font-size: 0.8rem;
}
.form .message a {
    color: #4CAF50;
    text-decoration: none;
}
.form p {
    margin-top: 1.5em;
}
.sample-link {
    text-align: right;
}
.sample-link a {
    color: #239CD4;
    font-size: 0.8rem;
    text-decoration: none;
}

.not-regist a {
    text-align: center;
    color: darkred;
    font-size: 0.8rem;
    text-decoration: none;
}

input[type="button"] {
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#f6f8f9+0,e5ebee+50,d7dee3+51,f5f7f9+100;White+Gloss */
    background: #f6f8f9; /* Old browsers */
    background: -moz-linear-gradient(top,  #f6f8f9 0%, #e5ebee 50%, #d7dee3 51%, #f5f7f9 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #f6f8f9 0%,#e5ebee 50%,#d7dee3 51%,#f5f7f9 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #f6f8f9 0%,#e5ebee 50%,#d7dee3 51%,#f5f7f9 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f6f8f9', endColorstr='#f5f7f9',GradientType=0 ); /* IE6-9 */
    padding: 0.8em 3em;
    border: solid 1px #ccc;
    border-radius: 0.5em;
}
input[type="button"]:hover {
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#f5f7f9+0,d7dee3+49,e5ebee+50,f6f8f9+100 */
    background: #f5f7f9; /* Old browsers */
    background: -moz-linear-gradient(top,  #f5f7f9 0%, #d7dee3 49%, #e5ebee 50%, #f6f8f9 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #f5f7f9 0%,#d7dee3 49%,#e5ebee 50%,#f6f8f9 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #f5f7f9 0%,#d7dee3 49%,#e5ebee 50%,#f6f8f9 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f7f9', endColorstr='#f6f8f9',GradientType=0 ); /* IE6-9 */
    padding: 0.8em 3em;
    border: solid 1px #999;
    border-radius: 0.5em;
}

.form .grave-list {
    width: 100%;
    padding: 15px;
}

@media screen and (max-width: 480px) {
    .form.regist {
        width: 360px;
    }
    .form label {
        text-align: left;
    }
    .form input[type="text"], .form input[type="password"] {
        width: 100%;
    }
}

/* モーダル */
.btn {
    border-radius: 0.4em;
    padding: 0.5em;
    cursor: pointer;
    border: solid 1px #fff;
    color: #fff;

    background: #61a2d9;
    /*background: -webkit-gradient(linear, left top, left bottom, from(#61a2d9), to(#0f4874));
    background: -webkit-linear-gradient(top, #61a2d9 0%, #0f4874 100%);
    background: linear-gradient(to bottom, #61a2d9 0%, #0f4874 100%);*/
}
.btn:hover {
    background: -webkit-gradient(linear, left bottom, left top, from(#61a2d9), to(#0f4874));
    background: -webkit-linear-gradient(bottom, #61a2d9 0%, #0f4874 100%);
    background: linear-gradient(to top, #61a2d9 0%, #0f4874 100%);
}

.modal{
    display: none;
    height: 100vh;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
}
.modal_bg{
    background: rgba(0,0,0,0.8);
    height: 100vh;
    position: absolute;
    width: 100%;
}
.modal_content{
    background: #fff;
    left: 50%;
    padding: 10px;
    position: absolute;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
    max-width: 30rem;
    height: 100%;
    max-height: 15rem;
    text-align: center;
    border-radius: 8px;
}
.modal_content p {
    width: 100%;
    height: calc(100% - 90px);
}
.modal_content img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: calc(100% - 60px);
}
.modal_content .img {
    background: no-repeat no-repeat center center;
    width: 100%;
    height: 100%;
    background-size: contain;
}
@media screen and (max-width: 480px) {
    .modal_content{
        width: 90%;
        height: 460px;
    }
}

