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

body {
    font-family: 'Noto Sans JP', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

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

.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.header h1 {
    color: #2c3e50;
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: 300;
}

.header p {
    color: #7f8c8d;
    font-size: 1.1em;
    margin-bottom: 20px;
}

/* ナビゲーション */
.navigation {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.nav-link {
    background: transparent;
    border: 2px solid rgba(102, 126, 234, 0.3);
    color: #667eea;
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
}

.nav-link:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
    color: #667eea;
}

.nav-link.active {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Aboutページ */
.about-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.profile-image-container {
    margin-bottom: 30px;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
    border: 4px solid rgba(102, 126, 234, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.profile-placeholder {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(45deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: white;
    margin: 0 auto;
    border: 4px solid rgba(102, 126, 234, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.about-text {
    color: #2c3e50;
    line-height: 1.8;
    font-size: 1.1em;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.about-text h3 {
    color: #667eea;
    margin-bottom: 25px;
    font-size: 1.4em;
    text-align: center;
    font-weight: 600;
}

.about-text h4 {
    color: #667eea;
    margin-bottom: 10px;
    margin-top: 25px;
    font-size: 1.1em;
    font-weight: 600;
}

.about-text p {
    margin-bottom: 20px;
    text-align: justify;
}

.contact-info {
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    padding: 20px;
    border-radius: 12px;
    margin: 25px 0;
    border-left: 4px solid #667eea;
}

.contact-info p {
    margin-bottom: 10px;
    font-family: 'Courier New', monospace;
    font-size: 1em;
}

.closing-message {
    text-align: center;
    font-weight: 600;
    color: #667eea;
    font-size: 1.1em;
    margin-top: 30px;
}

/* ブログ投稿一覧 */
.posts {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* 投稿サマリー */
.post-summary {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.post-summary:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

.post-summary-header {
    margin-bottom: 15px;
}

.post-summary h3 {
    color: #2c3e50;
    margin-bottom: 5px;
    font-size: 1.3em;
    font-weight: 600;
}

.post-summary-date {
    color: #7f8c8d;
    font-size: 0.9em;
}

.post-summary-image-container {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 15px;
    position: relative;
}

.post-summary-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.post-summary:hover .post-summary-image {
    transform: scale(1.05);
}

/* 投稿詳細ページ */
.post-detail {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.post-detail-header {
    margin-bottom: 25px;
}

.post-detail h1 {
    color: #2c3e50;
    font-size: 2.2em;
    margin-bottom: 10px;
    font-weight: 600;
}

.post-detail-date {
    color: #7f8c8d;
    font-size: 1em;
    margin-bottom: 25px;
}

.post-detail-thumbnail {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.post-detail-thumbnail img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.post-detail-content {
    color: #2c3e50;
    line-height: 1.8;
    font-size: 1.1em;
    margin-bottom: 30px;
    text-align: justify;
}

.post-detail-photos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.post-detail-photos img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.post-detail-photos img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* フルスクリーン表示用 */
.fullscreen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.fullscreen-overlay.active {
    opacity: 1;
    visibility: visible;
}

.fullscreen-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.close-fullscreen {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 24px;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: background 0.3s ease;
}

.close-fullscreen:hover {
    background: rgba(255, 255, 255, 0.3);
}

.back-button {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    margin-bottom: 25px;
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
}

.back-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
    text-decoration: none;
    color: white;
}

.post-actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 20px;
    border-top: 1px solid #e8f0fe;
}

.action-btn {
    background: none;
    border: none;
    color: #7f8c8d;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}

.action-btn:hover {
    background: #f8f9fa;
    color: #667eea;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .header {
        padding: 25px;
    }
    
    .header h1 {
        font-size: 2em;
    }

    .navigation {
        gap: 8px;
    }

    .nav-link {
        padding: 8px 20px;
        font-size: 14px;
    }
    
    .post-summary,
    .post-detail,
    .about-content {
        padding: 20px;
    }

    .post-summary-image {
        height: 250px;
    }

    .post-detail-thumbnail img {
        height: 300px;
    }

    .post-detail-photos {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .post-detail-photos img {
        height: 250px;
    }

    .profile-image {
        width: 150px;
        height: 150px;
    }

    .about-text {
        font-size: 1em;
    }

    .post-detail h1 {
        font-size: 1.8em;
    }

    .fullscreen-image {
        max-width: 95%;
        max-height: 95%;
    }
}