:root {
    --primary-color: #4A90E2;
    --secondary-color: #50E3C2;
    --text-color: #333;
    --bg-color: #F5F7FA;
    --card-bg: #FFFFFF;
    --error-color: #E74C3C;
    --success-color: #2ECC71;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

header {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 0;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header h1 {
    margin: 0;
    font-size: 1.5rem;
}

header a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
}

.card {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

h2 {
    color: var(--primary-color);
    margin-top: 0;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

input,
select,
textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-family: inherit;
}

button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    width: 100%;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #357ABD;
}

.btn-secondary {
    background-color: #95a5a6;
}

.alert {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.alert-error {
    background-color: #fadbd8;
    color: var(--error-color);
}

.child-list {
    display: grid;
    gap: 1rem;
}

.child-card {
    border: 1px solid #eee;
    padding: 1rem;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-badge {
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
}

.status-申込中 {
    background-color: #f39c12;
    color: #fff;
}

.status-承認済 {
    background-color: var(--success-color);
    color: #fff;
}

.status-キャンセル {
    background-color: #95a5a6;
    color: #fff;
}

.status-利用中 {
    background-color: #9b59b6;
    color: #fff;
}

.status-記録済 {
    background-color: #3498db;
    color: #fff;
}

.tab-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.tab-nav a {
    padding: 0.5rem 1rem;
    margin: 0 0.2rem;
    text-decoration: none;
    color: var(--text-color);
    border-bottom: 2px solid transparent;
}

.tab-nav a.active {
    border-bottom: 2px solid var(--primary-color);
    color: var(--primary-color);
}