@charset "utf-8";
@import url("./setting.css");

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    box-sizing: border-box;
}
a {
    color: blue;
}
body {
    padding-bottom: 2rem;
    max-width: 500px;
    margin: 0 auto;
}
.title_img {
    min-width: 300px;
    max-width: 500px;
    width: 90%;
}
h1 {
    font-size: 1.5rem;
    text-align: center;
    padding: 20px 0 0 0;
}
main {
    max-width: 500px;
    margin: 0 auto;
}


dl,dt,dd {
    text-align: center;
    font-weight: bold;
}
dt {
    text-shadow: 0 0 5px #fff,0 0 5px #fff,0 0 5px #fff;
    padding-top: 0.5rem;
}
dt p {
    width: 15rem;
    margin: 0 auto;
    text-align: left;
}
#err-msg {
    color: red;
    font-weight: bold;
    text-align: center;
    padding-top: 0.5rem;
    text-shadow: 0 0 5px #fff,0 0 5px #fff,0 0 5px #fff,0 0 5px #fff,0 0 5px #fff,0 0 5px #fff;
}
input[type="text"],
input[type="mail"],
input[type="password"] {
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #666;
    width: 15rem;
}
.button-area {
    text-align: center;
    padding-top: 20px;
    padding-bottom: 30px;
}
input[type="submit"] {
    border-radius: 5px;
    border: 1px solid #666;
    background-color:var(--main-color);
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    padding:4px;
    box-shadow: 2px 2px 5px #000;
}
input[type="submit"]:active {
    box-shadow: none;
}
.first-access,
.forget-password,
.contact {
    text-align: center;
    font-size: 1.2rem;
    line-height: 2.5rem;
    font-weight: bold;
    text-shadow: 0 0 5px #fff,0 0 5px #fff,0 0 5px #fff,0 0 5px #fff,0 0 5px #fff;
}
.first-access a {
    color: blue;
}
footer{
    margin-top: 30px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--main-color);
    color: white;
    font-size: 0.75rem;
    height: 1.5rem;
    line-height: 1.5rem;
}
footer p{
    text-align: center;
}

body {
    background-image: url('../images/bg.png');
    background-repeat: repeat;
    animation: slide 45s linear infinite;
}
@keyframes slide {
    0% {
    background-position: 0 0;
    }
    100% {
    /* 画像のサイズに応じて値を調整してください */
    background-position: 256px -256px;
    }
}