@charset "UTF-8";/*文字化け防止*/

.error {
    color: red;
}

.success {
    color: green;
}

html {
    font-size: 62.5%;
}

body {
    background: #333;
    color: #fff;
    font-size: 1.6rem;
    min-width: 600px;
    padding: 6.5rem 0;
}

header {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 2rem;
    border-bottom: solid 1px #666;
    margin-bottom: 2.5rem;
    position: fixed;
    top: 0;
    width: 100%;
    background: #333c;
}

.header_nav {
    display: flex;
    align-items: center;
    column-gap: 2rem;
}

.header_nav h1 {
    font-size: 2rem;
    padding: 0rem 1rem 0.6rem;
    background: #ccc;
    color: #000;
    line-height: 3rem;
    border-radius: 0.5rem;
    font-style: italic;
}

.header_nav h1 a {
    color: #333;
}

main {
    width: 600px;
    margin: 0 auto;
}

main article {
    margin-bottom: 3rem;
    padding: 0 3rem;
}

main h2 {
    font-size: 2rem;
    border-bottom: solid 1px #666;
    margin: 0 -3rem 1.5rem;
    padding-bottom: 0.2rem;
}


form {
    padding: 0 1.5rem;
}

form label {
    display: block;
    margin: 2rem 0;
}

form input, form textarea {
    background: #ccc;
    padding: 0.2rem 0.5rem;
    font-size: 1.6rem;
    color: #000;
    border-radius: 0.2rem;
}

form textarea {
    width: 100%;
    height: 20rem;
    border-radius: 0.2rem;
}

.search_form label {
    margin-top: 0;
}

.search_form input[name="search"] {
    width: 40rem;
}

.profile dd {
    margin-left: 2rem;
    margin-top: 1rem;
    margin-bottom: 3rem;
}

.recommended_users li {
    /* list-style: disc;
    margin-left: 2rem; */
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.2rem;
}

.recommended_users form {
    /* margin: 0; */
    padding: 0;
}

.blog_list {
    border-bottom: solid 1px #666;
    margin-bottom: 2rem;
}

.blog_list dt {
    display: flex;
    justify-content: space-between;
    border-bottom: solid 1px #666;
    padding-bottom: 0.5rem;
}

.blog_list .date {
    font-weight: normal;
    font-style: italic;
}

.blog_list dd {
    padding: 1.5rem;
}

.blog_list pre {
    color: #fff;
}

.pagination {
    display: flex;
    column-gap: 1rem;
}

.button {
    display: inline-block;
    background: #ccc;
    line-height: 3rem;
    border-radius: 0.5rem;
    padding: 0 1rem;
}

.button.edit, 
.button.notfollow {
    color: #009;
}

.button.delete, 
.button.isfollow {
    color: #c00;
}

.button.login, 
.button.logout, 
.button.regist, 
.button.create, 
.button.search
 {
    color: #333;
}

footer {
    background: #eee;
    color: #666;
    text-align: center;
    padding: 1rem 0;
    margin-top: 3rem;
    position: fixed;
    bottom: 0;
    width: 100%;
}

