/*================
    reset
================*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video,a,input {
margin:0;
padding:0;
border:0;
outline:0;
font-size:100%;
vertical-align:baseline;
background:transparent;
font-family: 'noto sans japanese','Open Sans','游ゴシック','YuGothic','メイリオ','Meiryo','ＭＳ Ｐゴシック',sans-serif;
box-sizing: border-box;
font-size: 13px;
color: #242424;
line-height: 1.6;
}

body {
line-height:1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

input{
    -webkit-appearance: none;
}


/*================
    login
================*/

body{
    position: relative;
    height: 100vh;
}

body:before{
    content: '';
    display: block;
    width: 100%; height: 45vh;
    position: absolute;
    bottom: 0; left: 0;
    background: url(../img/login-bg.png)no-repeat center;
    background-size: 100% 100%;
}
section.login{
    position: absolute;
    width: 100%;
    top: 55%; left: 50%;
    transform: translate(-50%,-50%);
     display: -webkit-flex; display: flex;
      -webkit-flex-wrap: wrap; flex-wrap: wrap;
      -webkit-justify-content: center; justify-content: center;
}
section.login .img{
    width: 520px;
    height: 270px;
    background: url(../img/deluxe.png)no-repeat center;
    background-size: cover;
    margin-right: 0px;
    margin-left: -60px;
    transform: translate(0,-15px);
}
section.login form{
    width: 300px;
    transform: translate(0,0);
}
section.login label{
    display: block;
}
section.login label + label{
    margin-top: 15px;
}
section.login label input{
    padding: 10px;
    padding-left: 45px;
    background: white url(../img/profile.png)no-repeat center left 15px;
    background-size: 15px;
    min-height: 50px;
    border: solid 1px #d5d5d5;
    -webkit-box-shadow: 0px 10px 15px rgba(0,0,0,.05);
          box-shadow: 0px 10px 15px rgba(0,0,0,.05);
}
section.login label:nth-of-type(2) input{
    background: white url(../img/padlock.png)no-repeat center left 15px;
    background-size: 15px;
}
section.login label input::-webkit-input-placeholder{
    font-size: 13px;
    font-weight: lighter;
    color: #a9a9a9;
    background: white;
}

section.login input[type="submit"]{
    border: solid 1px #4589c7;
    min-height: 50px;
    width: 195px;
    text-align: center;
    margin: auto;
    display: block;
    font-weight: bold;
    margin-top: 40px;
    font-size: 14px;
    color: #4589c7;
    cursor: pointer;
    transition: all .2s ease;
    -webkit-transition: all .2s ease;
}
section.login input[type="submit"]:hover{
    color: white;
    background: #4589c7;
}

section.login label,section.login input{
    width: 100%;
}
header{
    position: absolute;
    top: 20px; left: 25px;
    width: 160px; height: 40px;
}
footer{
    position: absolute;
    bottom: 0;
    width: 100%;
    left: 0;
    text-align: center;
    padding-bottom: 20px;
    font-size: 12px;
    color: #ccc;
    letter-spacing: 2px;
}

/*================
    flash
================*/

#flash {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
}

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

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

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

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

#flash .message.success{
    background: #00A0E9;
}

#forgot_msg{
    color: #4589c7;
}