* { box-sizing: border-box;
}
body { margin: 0; font-family: system-ui, 
    -apple-system, sans-serif; line-height: 1.6; 
    background: #faf8f5; color: #333;
}
header { background: #eee6dc; border-bottom: 1px 
    solid #ddd;
}
.header-inner, main { max-width: 900px; margin: 
    auto; padding: 1.5rem;
}
.site-title { font-size: 1.8rem; font-weight: 
    bold; color: #333; text-decoration: none;
}
.subtitle { margin: 0.3rem 0 1rem;
}
nav { display: flex; gap: 1.5rem; flex-wrap: 
    wrap;
}
nav a { color: #333; text-decoration: none; 
    font-weight: 600;
}
nav a:hover { text-decoration: underline;
}
.welcome { padding: 2rem 0;
}
.latest { margin-top: 2rem;
}
.entry { padding: 1.5rem 0; border-top: 1px 
    solid #ddd;
}
.entry h3 { margin: 0.3rem 0;
}
.entry h3 a { color: inherit;
}
time { font-size: 0.9rem; color: #666;
}
footer { max-width: 900px; margin: 4rem auto 0; 
    padding: 2rem 1.5rem; border-top: 1px solid 
    #ddd;
    text-align: center; color: #666;
}
.entry-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.entry-image {
    margin: 0;
}

.entry-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

@media (max-width: 600px) {
    .entry-images {
        grid-template-columns: 1fr;
    }
}
.entry-hero {
    margin: 1.5rem 0 2rem;
    text-align: center;
}

.entry-hero img {
    display: block;
    width: 100%;
    max-width: 400px;
    max-height: 450px;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    border-radius: 10px;
}

.entry-gallery {
    margin-top: 3rem;
}

.entry-gallery h2 {
    margin-bottom: 1.5rem;
}

.entry-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.entry-image {
    margin: 0;
}

.entry-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

@media (max-width: 600px) {
    .entry-images {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 800px) {
    .entry-images {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .entry-images {
        grid-template-columns: 1fr;
    }
}
.diary-list-header {
    margin-bottom: 2.5rem;
}

.diary-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.diary-card {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 1.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #ddd;
}

.diary-card-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.diary-card-content time {
    font-size: 0.9rem;
    color: #666;
}

.diary-card-content h2 {
    margin: 0.3rem 0 0.8rem;
}

.diary-card-content h2 a {
    color: inherit;
    text-decoration: none;
}

.diary-card-content h2 a:hover {
    text-decoration: underline;
}

.diary-card-summary {
    margin: 0 0 1rem;
}

.read-more {
    font-weight: 600;
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
}

@media (max-width: 650px) {

    .diary-card {
        grid-template-columns: 1fr;
    }

    .diary-card-image {
        max-width: 400px;
    }
}
.welcome {
    margin-bottom: 3rem;
}

.welcome h1 {
    margin-bottom: 0.5rem;
}

.welcome p {
    max-width: 700px;
    font-size: 1.1rem;
}

.home-latest {
    margin-bottom: 4rem;
}

.latest-card {
    display: grid;
    grid-template-columns: minmax(260px, 380px) 1fr;
    gap: 2rem;
    align-items: center;
}

.latest-card-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.latest-card-content time,
.home-story time {
    color: #666;
    font-size: 0.9rem;
}

.latest-card-content h2 {
    margin: 0.4rem 0 1rem;
}

.latest-card-content h2 a,
.home-story h3 a {
    color: inherit;
    text-decoration: none;
}

.latest-card-content h2 a:hover,
.home-story h3 a:hover {
    text-decoration: underline;
}

.home-more {
    margin-top: 3rem;
}

.home-more-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.home-story img {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 0.8rem;
    border-radius: 8px;
}

.home-story h3 {
    margin: 0.2rem 0;
}

.all-stories {
    margin-top: 2rem;
}

.all-stories a {
    font-weight: 600;
    text-decoration: none;
}

.all-stories a:hover {
    text-decoration: underline;
}

@media (max-width: 750px) {

    .latest-card {
        grid-template-columns: 1fr;
    }

    .latest-card-image {
        max-width: 450px;
    }

    .home-more-grid {
        grid-template-columns: 1fr;
    }
}