/*--common--*/

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

img{
    width: 100%;
    height: auto;
}

li{list-style: none;}

a{text-decoration: none;}

button{cursor: pointer;}

body, html {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

main {
  display: block;  
  flex: 1 0 auto;
}

/*--header--*/

header{
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #125270;
}

header a{
    color: white;
}

header h1{
    font-size: 24px;
    letter-spacing: 0.1em;
    margin-left: 16px;
}

/*--main--*/

main{
    background-color: #F5EC11;
}

.main_column{
    display: flex;
    justify-content: space-between;
    width: 80%;
    margin: 0 auto;
    padding-top: 40px;
}

.main_column input[type=text],
.main_column input[type=password]{
    padding: 10px 12px;
    border-radius: 4px; 
    margin-top: 4px;
    width: 80%;
    font-size: 16px;
}

.main_column dl{
    margin-top: 32px;
}

.main_column_no1,
.main_column_no2 {
    width: 48%;
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.35);
    border-radius: 4px;
}

.main_column_no1_box,
.main_column_no2_box{
    width: 80%;
    margin: 0 auto;
}

.main_column h2{
    text-align: center;
    margin-top: 32px;
    font-size: 28px;
}

.main_column_no1 dt,
.main_column_no2 dt{
    font-weight: bold;
    padding-bottom: 8px;
}

.main_column button{
    display: block;
    margin: 48px auto 32px;
    border-radius: 4px;
    padding: 10px 12px;
    letter-spacing: 0.05em;
    background-color: #eb0a1e;
    color: #fff;
    font-weight: bold;
    border: 1px solid #eb0a1e;
    transition-duration: .3s;
    width: 240px;
}


.main_column button:hover{
	background-color: white;
	font-weight: bold;
    color: #eb0a1e;
}

.error{
    color: #eb0a1e;
    font-weight: bold;
}


/*--footer--*/

footer{
    display: flex;
    gap: 0 24px;
    height: 40px;
    align-items: center;
    background-color: #125270;
    color: #fff;
    justify-content: center;
    font-weight: bold;
}

footer a{
    color: #fff;
}


@media screen and (max-width:780px){

    header{
        min-height: 50px;
    }

    footer{
        min-height: 40px;
    }

    header h1{
        font-size: 20px;
    }

    .main_column{
        display: block;
        padding-bottom: 32px;
        padding-top: 8px;
        width: 100%;
    }

    .main_column h2{
        font-size: 24px;
        padding-top: 32px;
    }

    .main_column_no1,
    .main_column_no2{
        width: 80%;
        margin: 0 auto;
        padding-bottom: 12px;
    }

    .main_column input[type=text],
    .main_column input[type=password]{
        width: 100%;
    } 

    .main_column button{
        margin-bottom: 40px;
        width: 180px;
    }

    .header_logo a{
        font-size: 20px;
        margin-left: 20px;
    }


}