/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
    line-height: 1.8;
    color: #ccc;
    background-color: #1a1a1a;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #1a1a1a;
    padding: 3rem 0 2rem;
    text-align: center;
    border-bottom: 1px solid #333;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.logo-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

header h1 {
    color: #fff;
    font-size: 2rem;
    letter-spacing: 0.1em;
    margin: 0.5rem 0;
}

.subtitle {
    color: #888;
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

/* Main Content Layout */
.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    margin: 3rem 0;
}

.main-content {
    min-width: 0;
}

/* Blog Posts */
.blog-post {
    background-color: #242424;
    border-radius: 8px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    border: 1px solid #333;
}

.blog-post h2 {
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.post-meta {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.post-content {
    color: #aaa;
    line-height: 1.9;
}

.post-content p {
    margin-bottom: 1.2rem;
}

.post-tags {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #333;
}

.tag {
    display: inline-block;
    background-color: #333;
    color: #888;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Feature Image Section */
.feature-image {
    margin: 1.5rem 0;
    text-align: center;
    background-color: #1a1a1a;
    border-radius: 8px;
    padding: 2rem;
}

.app-mockup {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 2rem;
    align-self: start;
}

.widget {
    background-color: #242424;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #333;
}

.widget h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #333;
}

.search-input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #333;
    background-color: #1a1a1a;
    color: #ccc;
    border-radius: 4px;
    font-size: 0.9rem;
}

/* Calendar */
.calendar-header {
    color: #fff;
    text-align: center;
    margin-bottom: 0.8rem;
    font-weight: bold;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.3rem;
    text-align: center;
    font-size: 0.85rem;
}

.calendar-grid span {
    padding: 0.4rem;
    color: #888;
}

/* Categories */
.categories-widget ul {
    list-style: none;
}

.categories-widget li {
    margin-bottom: 0.8rem;
}

.categories-widget a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.categories-widget a:hover {
    color: #667eea;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    border-top: 1px solid #333;
    padding: 2rem 0;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }
}

@media (max-width: 640px) {
    .blog-post {
        padding: 1.5rem;
    }

    .blog-post h2 {
        font-size: 1.3rem;
    }

    header h1 {
        font-size: 1.5rem;
    }

    .logo-image {
        width: 60px;
        height: 60px;
    }
}