/* リセットとベース設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ヘッダー */
.header {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 8px 16px;
    height: 50px;
}

.header-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    height: 100%;
    margin-right: auto;
}

.logo {
    display: flex;
    align-items: center;
    margin: 0;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 2px;
}

.logo-subtitle {
    font-size: 12px;
    color: #7f8c8d;
}

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

.date-display {
    font-size: 14px;
    color: #7f8c8d;
    padding: 8px 16px;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.line-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: #06C755;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.line-button:hover {
    background-color: #05b34c;
}

.line-icon {
    width: 20px;
    height: 20px;
}

/* メインコンテンツ */
.main-content {
    flex: 1;
    min-height: 60vh;
    background-color: #f8f9fa;
}

/* フッター */
.footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 40px 24px 24px;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-link {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 16px;
    display: inline-block;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #3498db;
}

.footer-copyright {
    font-size: 12px;
    color: #95a5a6;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .header-right {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .line-button {
        width: 100%;
        justify-content: center;
    }

    .logo h1 {
        font-size: 20px;
    }

    .footer {
        padding: 32px 16px 20px;
    }
}
