body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    text-align: center;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

h2 {
    margin-bottom: 20px;
    color: #333;
}

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

input, textarea, button {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    background-color: #007BFF;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background-color: #0056b3;
}

.post-list {
    list-style-type: none;
    padding: 0;
}

.post-item {
    background: white;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.post-item h3 {
    margin: 0;
    color: #333;
}

.post-item p {
    color: #555;
}

.post-item img {
    width: 100%;
    border-radius: 5px;
    margin-top: 10px;
}

.download-btn {
    display: block;
    margin: 10px auto;
    padding: 10px 15px;
    text-decoration: none;
    color: white;
    background-color: #28a745;
    border-radius: 5px;
    font-weight: bold;
}

.download-btn:hover {
    background-color: #218838;
}


/* ログイン & ログアウトページの全体デザイン */
.auth-container {
    max-width: 400px;
    margin: 100px auto;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.auth-container h2 {
    margin-bottom: 20px;
    color: #333;
}

.auth-container form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.auth-input {
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
}

.auth-btn {
    background-color: #3498db;
    color: white;
    font-size: 16px;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.auth-btn:hover {
    background-color: #2980b9;
}

.auth-link {
    display: block;
    margin-top: 10px;
    text-decoration: none;
    color: #3498db;
    font-weight: bold;
}

.auth-link:hover {
    color: #2980b9;
}
















/* 検索フォーム */
.search-input {
    width: 80%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.search-btn {
    background-color: #3498db;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.search-btn:hover {
    background-color: #2980b9;
}

/* 検索結果 */
.search-results {
    margin-top: 20px;
}

.search-results ul {
    list-style-type: none;
    padding: 0;
}

.search-results li {
    background: white;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.search-results h3 {
    margin: 0;
}

.search-results p {
    color: #555;
}

/* 戻るボタン */
.back-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px;
    text-decoration: none;
    color: white;
    background-color: #e74c3c;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.back-btn:hover {
    background-color: #c0392b;
}