/* 全体の基本スタイル */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #333;
}

/* コンテナ */
.container {
    max-width: 800px;
    margin: 0px auto 20px;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* ヘッダー */
h1 {
    font-size: 24px;
    color: #002c76;
    margin-bottom: 20px;
    text-align: center;
}

h1.header-h1 {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

h1 a {
    text-decoration: none;
	color: #000;
}
header.site-header .container {
    padding: 5px 20px;
    border-radius: 0;
}
/* リストのスタイル */
.kairan-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.kairan-item {
    margin-bottom: 20px;
    padding: 15px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.kairan-item:hover {
    background-color: #e9ecef;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.kairan-item h2,
summary {
    font-size: 20px;
    margin: 0 0 10px;
    color: #333;
	font-weight: bold;
}
summary {
    margin: 0;
}
.kairan-item a {
    color: #002c76;
    text-decoration: none;
    font-weight: bold;
}

.kairan-item a:hover {
    text-decoration: underline;
}

.kairan-tags {
    font-size: 14px;
    color: #6c757d;
}

/* フォームのスタイル */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

form p {
    margin: 0;
}

label {
    font-size: 14px;
    color: #495057;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"],
select {
    width: 100%;
    padding: 10px;
    font-size: 16px;
	box-sizing: border-box;
    border: 1px solid #ced4da;
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
select:focus,
input[type="file"]:focus {
    border-color: #80bdff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

button[type="submit"] {
    padding: 10px 15px;
    font-size: 16px;
    background-color: #002c76;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #0056b3;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
textarea#kairan_free_text {
    border: 1px solid #ced4da;
    border-radius: 5px;
}

/* レスポンシブデザイン */
@media (max-width: 600px) {
    .container {
        padding: 15px;
    }

    h1 {
        font-size: 20px;
    }

    .kairan-item h2,
	summary {
        font-size: 18px;
    }

    button[type="submit"] {
        font-size: 14px;
        padding: 8px 12px;
    }
}


.kairan-date {
    font-size: 14px;
    color: #666;
}

.kairan-tags span {
    display: inline-block;
    margin-right: 10px;
    padding: 2px 10px;
    background: #002c76;
    color: #fff;
    border-radius: 3px;
    font-size: 12px;
}

#load-more {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    background: #002c76;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#load-more:hover {
    background: #002c76;
}

.kairan-media {
    display: flex;
    gap: 5px;
	flex-wrap: wrap;
}

.delete-area {
    display: flex;
    justify-content: end;
}
button.delete-post {
	border-radius: 30px;
    padding: 5px 10px;
    background: #555;
    border: none;
    color: #fff;
}

.kairan-media a:not(:has(img)) {
    border-radius: 30px;
    border: #002c76 solid 2px;
    padding: 5px 10px;
    background: #fff;
}
ul#file-list li {
    list-style: none;
}
nav .add-posts {
    position: fixed;
    bottom: 15px;
    right: 15px;
    background: #fff;
    text-decoration: none;
    color: #333;
    font-size: 32px;
    width: 64px;
    height: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 32px;
    box-shadow: 0 4px 6px rgb(0 0 0 / 17%);
}
footer.site-footer .container {
    background: none;
    box-shadow: none;
    text-align: center;
}
form.post-password-form {
    max-width: 800px;
    margin: 0px auto 20px;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}
.wp-core-ui .button-primary {
    background: #002c76;
    border: #002c76;
}