* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif;
    background-color: #f5f5f5;
    color: #333333;
    line-height: 1.7;
}

a {
    color: #454545;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}


.blog-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    padding: 40px 0;
    text-align: center;
    margin-bottom: 30px;
}

.header-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.blog-title a {
    color: #111111;
}

.blog-description {
    font-size: 0.9rem;
    color: #777777;
}


.container {
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 20px 60px 20px;
    display: flex;
    justify-content: space-between;
}

.main-content {
    width: 66%; 
}

.sidebar {
    width: 30%;
}


.entry {
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 40px;
    margin-bottom: 30px;
}

.entry-date {
    font-size: 0.85rem;
    color: #999999;
    font-weight: bold;
    margin-bottom: 10px;
}

.entry-title {
    font-size: 1.6rem;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 15px;
}

.entry-title a {
    color: #111111;
}

.entry-categories {
    margin-bottom: 25px;
}

.category {
    font-size: 0.75rem;
    background-color: #f0f0f0;
    color: #666666;
    padding: 3px 8px;
    border-radius: 3px;
    margin-right: 5px;
    display: inline-block;
}

.entry-content {
    font-size: 1rem;
    color: #333333;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content h3 {
    font-size: 1.25rem;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
    margin: 2rem 0 1rem 0;
    color: #111111;
}

.entry-author {
    font-size: 0.8rem;
    color: #777777;
    display: inline-block;
}


.pager {
    text-align: right;
    margin-top: 18px;
}


.hatena-module {
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
}

.hatena-module-title {
    font-size: 0.95rem;
    font-weight: bold;
    border-bottom: 2px solid #333333;
    padding-bottom: 8px;
    margin-bottom: 15px;
    color: #111111;
    text-transform: uppercase;
}

.profile-icon {
    width: 60px;
    height: 60px;
    background-color: #e0e0e0;
    border-radius: 50%;
    margin-bottom: 10px;
}

.profile-name {
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 5px;
}

.profile-description {
    font-size: 0.85rem;
    color: #666666;
}

.hatena-module-body ul {
    list-style: none;
}

.hatena-module-body li {
    font-size: 0.85rem;
    line-height: 1.5;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

.hatena-module-body li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hatena-module-body li a {
    color: #454545;
}


.blog-footer {
    background-color: #ffffff;
    border-top: 1px solid #e5e5e5;
    padding: 30px 0;
    margin-top: 30px;
}

.footer-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.footer-backlink {
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.footer-backlink a {
    color: #454545;
    font-weight: bold;
}

.footer-backlink a:hover {
    color: #111111;
}

.copyright {
    font-size: 0.8rem;
    color: #777777;
}

.footer-contact {
    font-size: 0.75rem;
    color: #777777;
    margin-top: 8px;
}

.footer-contact a {
    color: #454545;
    text-decoration: underline;
}

.footer-contact a:hover {
    color: #111111;
}


@media (max-width: 768px) {
    .container {
        flex-direction: column;
        padding: 0 10px 40px 10px;
    }

    .main-content, .sidebar {
        width: 100%;
    }

    .entry {
        padding: 20px;
    }
}