@charset "utf-8";
@import url("//fonts.googleapis.com/earlyaccess/notosansjapanese.css");


html{
	height: 100%;
	font: 300 16px/1em 'noto sans japanese';
	color: #333333;
	background: #f1f1f1;
}

body{
	background: none;
    height: 100%;
    width: 100%;
    margin: 0;
    display: table;
}

#flash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}

#flash .message{
    font-weight: bold;
    text-align: center;
    padding: 20px;
    cursor: pointer;
    color: #FFF;
    font-size: 24px;
}

#flash .message i{
    margin-right: .5em;
    display: inline-block;
}

#flash .message.hidden{
    display: none;
}

#flash .message.error{
    background: #333;
}

#flash .message.success{
    background: #39bc3c;
}

#flash .message.error:after,
#flash .message.success:after {
    content: "× クリックすると非表示になります";
    color: #fff;
    font: 500 14px/1em 'noto sans japanese';
    position: absolute;
    right: 10px;
    bottom: 10px;
}
.loginFormArea{
	display: table-cell;
	vertical-align: middle;
	margin: 0 auto;
}

h1{
	font: 900 20px/1em 'noto sans japanese';
	margin: 0 0 40px 0;
	text-align: center;
}

h2{
	text-align: center;
	margin-bottom: 1rem;
}
h2 img{
    width: 100%;
}

.loginForm{
	font: 700 16px/1em 'noto sans japanese';
	padding: 40px;
	background: #fff;
	max-width: 460px;
	margin: 20px auto;
    box-shadow: 0 0px 2px rgba(0, 0, 0, 0.1);
}

.loginForm h2{
	margin-top: 0;
}

.loginForm .login-input {
    border: 4px solid #39bc3c;
    border-radius: 0.5rem;
}

.loginForm .submit {
    /* margin-top: 180px; */
}

h1 img{
	max-width: 200px;
	margin-top: 0;
}

.loginForm input[type="submit"]{
	font: 700 16px/1em 'noto sans japanese';
	background: #39bc3c;
	border-radius: 10px;
	padding: 20px 50px;
	color: #fff;
	cursor: pointer;
	border: none;
	width: 100%;
	display: block;
	margin: 0 auto;
}

.loginForm input[type="submit"]:hover{
	opacity: 0.8;
}

@media only screen and (max-width: 768px) {
	#flash .message{
		font-size: 20px;
	}

	#flash .message.error:after,
	#flash .message.success:after {
		content: "×";
		right: 10px;
		top: 6px;
		bottom: initial;
	}
}
