/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

/* Body */
body {
    background-color: #f0f2f5;
    color: #333;
    line-height: 1.4;
    font-size: 14px;
}

/* Container */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px;
}

/* Header */
.header {
    background-color: #1e3a8a;
    color: #fff;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 4px;
    margin-bottom: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.header h1 {
    font-size: 18px;
}

.header-right {
    display: flex;
    align-items: center;
}

.header-right p {
    margin-right: 15px;
    font-size: 14px;
}

.header-right a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.header-right a:hover {
    color: #a5b4fc;
}

/* Main Heading */
h2 {
    color: #1e3a8a;
    font-size: 16px;
    margin-top: 15px;
    margin-bottom: 10px;
}

/* Links */
a {
    color: #1e3a8a;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #4c6ef5;
}

/* Form */
form {
    background-color: #fff;
    padding: 15px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

input, textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

button {
    background-color: #1e3a8a;
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #374151;
}

/* Tabs */
.tabs {
    display: flex;
    justify-content: flex-start;
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
}

.tabs a {
    padding: 8px 12px;
    color: #1e3a8a;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease, color 0.3s ease;
    font-size: 14px;
}

.tabs a.active {
    border-color: #1e3a8a;
    color: #1e3a8a;
}

/* Chat Messages */
#chat-messages {
    background-color: #fff;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 15px;
}

/* Message */
.message {
    margin-bottom: 10px;
    font-size: 14px;
}

/* Post List */
.post-list {
    list-style-type: none;
    padding: 0;
}

.post-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 15px;
    padding: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.post-title {
    font-size: 16px;
    color: #1e3a8a;
    margin-bottom: 5px;
}

.post-content {
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
}

.post-meta {
    font-size: 12px;
    color: #666;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.post-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-author {
    font-weight: bold;
}

.post-date {
    color: #999;
    font-size: 11px;
}

/* Reply List */
.reply-list {
    list-style-type: none;
    padding: 0;
    margin-top: 10px;
}

.reply-item {
    background-color: #f9fafb;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 8px;
    padding: 8px;
}

.reply-content {
    font-size: 14px;
    color: #333;
    margin-bottom: 4px;
}

.reply-meta {
    font-size: 11px;
    color: #666;
    display: flex;
    justify-content: space-between;
}

/* User List */
.user-list {
    list-style-type: none;
    padding: 0;
}

.user-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 8px;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-info {
    display: flex;
    align-items: center;
    flex: 1;
}

.user-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #1e3a8a;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    margin-right: 10px;
}

.user-details {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.user-name {
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
    font-size: 14px;
}

.user-status {
    font-size: 11px;
    color: #666;
}

.chat-button {
    background-color: #1e3a8a;
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.message-count {
    background-color: #03dac6;
    color: #000;
    border-radius: 50%;
    padding: 2px 5px;
    font-size: 11px;
    margin-left: 4px;
}

/* Media Queries */
@media screen and (max-width: 600px) {
    .header h1 {
        font-size: 16px;
    }
    h2 {
        font-size: 14px;
    }
    .container {
        padding: 5px;
    }
}










      /* 新しいスタイル */
        .applications {
            margin-top: 20px;
        }
        .application-item {
            border: 1px solid #ddd;
            padding: 10px;
            margin-bottom: 10px;
        }
        .application-title {
            font-weight: bold;
        }
        .application-status {
            color: #666;
        }
        .transaction-link {
            display: inline-block;
            background-color: #4CAF50;
            color: white;
            padding: 5px 10px;
            text-decoration: none;
            border-radius: 3px;
        }