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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f7fa;
    min-height: 100vh;
}

/* ナビゲーション */
.navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.nav-menu a:hover {
    opacity: 0.8;
}

/* コンテナ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* ヒーローセクション */
.hero {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    margin-bottom: 3rem;
    color: white;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* メインコンテンツ */
main {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.section {
    margin-bottom: 4rem;
    scroll-margin-top: 80px;
}

.section:last-child {
    margin-bottom: 0;
}

.section h2 {
    color: #667eea;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    border-bottom: 3px solid #667eea;
    padding-bottom: 0.5rem;
}

.section-description {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* 投稿カード */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.post-card {
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.post-image {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.it-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.post-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    color: #667eea;
}

.post-content {
    padding: 1.5rem;
}

.post-content h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.post-date {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.post-content p {
    color: #555;
    margin-bottom: 1rem;
}

.read-more {
    color: #667eea;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #764ba2;
}

/* ブログセクション専用のスタイル（コンパクト表示） */
#blog .posts-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* タブレットサイズでは2列 */
@media (max-width: 1024px) and (min-width: 769px) {
    #blog .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .art-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

#blog .post-image {
    height: 150px;
}

#blog .post-content {
    padding: 1rem;
}

#blog .post-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
}

#blog .post-date {
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
}

#blog .post-content p {
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

#blog .read-more {
    font-size: 0.9rem;
}

/* 絵の作品グリッド */
.art-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.art-card {
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.art-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.art-image {
    aspect-ratio: 1 / 1;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.art-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.art-placeholder {
    text-align: center;
    color: #999;
}

.art-placeholder span {
    font-size: 4rem;
    display: block;
    margin-bottom: 0.5rem;
}

.art-content {
    padding: 1.5rem;
}

.art-content h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* タイムライン */
.progress-timeline {
    position: relative;
    padding-left: 2rem;
}

.progress-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -0.5rem;
    top: 0.5rem;
    width: 1rem;
    height: 1rem;
    background: #667eea;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px #667eea;
}

.timeline-date {
    color: #667eea;
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.timeline-content {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.timeline-content h3 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: #555;
    margin-bottom: 1rem;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: #667eea;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* これからやりたいこと */
.future-plans {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px dashed #e9ecef;
}

.future-plans-title {
    font-size: 1.1rem;
    color: #999;
    margin-bottom: 1rem;
    font-weight: 500;
    text-align: center;
}

.future-plans-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.future-plan-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #e9ecef;
    opacity: 0.8;
    transition: opacity 0.3s ease, border-color 0.3s ease;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.future-plan-item:hover {
    opacity: 1;
    border-left-color: #667eea;
}

.future-plan-icon {
    font-size: 1.2rem;
    opacity: 0.6;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.future-plan-content {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex: 1;
}

.future-plan-text {
    color: #555;
    font-size: 0.95rem;
    font-weight: 500;
}

.future-plan-detail {
    color: #999;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Todoリスト */
.todo-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.todo-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #e9ecef;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.todo-item:hover {
    border-left-color: #667eea;
    background: #f0f4ff;
}

.todo-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin-top: 0.1rem;
    flex-shrink: 0;
    accent-color: #667eea;
}

.todo-item label {
    display: flex;
    align-items: center;
    cursor: pointer;
    flex: 1;
    user-select: none;
}

.todo-text {
    color: #333;
    font-size: 1rem;
    line-height: 1.5;
}

.todo-item input[type="checkbox"]:checked + label .todo-text {
    text-decoration: line-through;
    color: #999;
}

/* フッター */
footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
    color: #666;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    main {
        padding: 2rem 1.5rem;
    }

    .section h2 {
        font-size: 2rem;
    }

    .posts-grid,
    .art-grid {
        grid-template-columns: 1fr;
    }

    #blog .posts-grid {
        grid-template-columns: 1fr;
    }

    .progress-timeline {
        padding-left: 1.5rem;
    }

    .timeline-item {
        padding-left: 1.5rem;
    }
}

/* プロジェクト詳細ページ */
.project-detail {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.breadcrumb {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: #667eea;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.project-header {
    border-bottom: 3px solid #667eea;
    padding-bottom: 2rem;
    margin-bottom: 3rem;
}

.project-header h1 {
    font-size: 2.5rem;
    color: #333;
    margin: 1rem 0;
}

.project-date {
    color: #999;
    font-size: 1rem;
}

.project-section {
    margin-bottom: 3rem;
}

.step-list {
    list-style: none;
    padding-left: 0;
    display: grid;
    gap: 2rem;
}

.step-item {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 2rem 2rem 2rem 3.5rem;
    position: relative;
    border-left: 5px solid #667eea;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.12);
}

.step-number {
    position: absolute;
    left: -1.5rem;
    top: 1.5rem;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.step-item h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 0.8rem;
}

.step-body {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.8;
}

.step-figure {
    margin-top: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    background: white;
}

.step-figure--compact {
    max-width: 420px;
    margin: 1.5rem auto 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.step-figure--compact img {
    object-fit: contain;
}

.step-figure--medium {
    max-width: 600px;
    margin: 1.5rem auto 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.step-figure--medium img {
    object-fit: contain;
}

.step-figure-grid {
    display: grid;
    gap: 1.5rem;
}

.step-figure-grid .step-figure {
    margin-top: 0;
}

.step-figure-grid .step-figure:first-child {
    margin-top: 0;
}

.step-figure img {
    width: 100%;
    height: auto;
    display: block;
}

.step-figure figcaption {
    padding: 1rem 1.2rem;
    font-size: 0.95rem;
    color: #666;
    background: #f5f7fa;
}

.project-section h2 {
    color: #667eea;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #667eea;
    padding-bottom: 0.5rem;
}

.project-section h3 {
    color: #333;
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem 0;
}

.project-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* 技術スタック */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.tech-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 2px 5px rgba(102, 126, 234, 0.3);
}

/* 機能リスト */
.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    color: #555;
    font-size: 1.05rem;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
    font-size: 1.2rem;
}

/* スクリーンショット */
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.screenshot-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background: #f8f9fa;
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
}

.screenshot-placeholder {
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
}

.screenshot-placeholder span {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

/* プロジェクト情報 */
.project-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.info-item {
    margin-bottom: 1rem;
    color: #555;
    font-size: 1.05rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item strong {
    color: #333;
}

/* リンクボタン */
.project-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.link-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.link-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

/* 学んだことセクション */
.learning-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.command-block {
    background: #1f1f38;
    color: #f8f9fa;
    padding: 1.2rem 1.5rem;
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    overflow-x: auto;
    line-height: 1.6;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    margin-top: 1rem;
}

.learning-section:last-child {
    margin-bottom: 0;
}

.learning-section ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.learning-section li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #555;
}

.learning-section li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
    font-size: 1.2rem;
}

/* 改善点リスト */
.improvement-list {
    list-style: none;
    padding-left: 0;
}

.improvement-list li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    color: #555;
    font-size: 1.05rem;
}

.improvement-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

/* 戻るボタン */
.back-button-container {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e9ecef;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.back-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: #f8f9fa;
    color: #667eea;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.3s ease;
    border: 2px solid #667eea;
}

.back-button:hover {
    background: #667eea;
    color: white;
    transform: translateX(-5px);
}

/* 詳細ページのレスポンシブ */
@media (max-width: 768px) {
    .project-detail {
        padding: 2rem 1.5rem;
    }

    .step-item {
        padding: 1.5rem;
    }

    .step-number {
        position: static;
        margin-bottom: 1rem;
        width: 3rem;
        height: 3rem;
        font-size: 1.2rem;
    }

    .step-figure-grid {
        gap: 1rem;
    }

    .project-header h1 {
        font-size: 2rem;
    }

    .project-section h2 {
        font-size: 1.5rem;
    }

    .screenshots-grid {
        grid-template-columns: 1fr;
    }

    .project-links {
        flex-direction: column;
    }

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

/* APIエンドポイント表示 */
.api-endpoints {
    margin-top: 1rem;
}

.endpoint-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    background: white;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    border-left: 4px solid #667eea;
}

.method {
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.85rem;
    min-width: 60px;
    text-align: center;
}

.method.get {
    background: #61affe;
    color: white;
}

.method.post {
    background: #49cc90;
    color: white;
}

.method.put {
    background: #fca130;
    color: white;
}

.method.delete {
    background: #f93e3e;
    color: white;
}

.method.graphql {
    background: #e10098;
    color: white;
}

.endpoint-item code {
    background: #f8f9fa;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: #333;
    font-size: 0.95rem;
    flex: 1;
}

.endpoint-item .description {
    color: #666;
    font-size: 0.9rem;
}

/* 絵の作品詳細ページ */
.art-main-image {
    width: 100%;
    margin-bottom: 2rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background: #f8f9fa;
}

.art-main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.art-placeholder-large {
    height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
}

.art-placeholder-large span {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.art-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background: #f8f9fa;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* 絵の作品フィルター */
.art-filters-container {
    margin-bottom: 2rem;
}

.filter-group {
    margin-bottom: 1.5rem;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-group-title {
    font-size: 1rem;
    color: #667eea;
    margin-bottom: 0.8rem;
    font-weight: 600;
    text-align: center;
}

.art-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    color: #667eea;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.filter-btn:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(102, 126, 234, 0.3);
}

.filter-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    box-shadow: 0 4px 10px rgba(102, 126, 234, 0.3);
}

.art-card {
    transition: opacity 0.3s ease, transform 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.art-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.art-card.hidden {
    display: none;
}

.art-category-badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.6rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.art-category-badge.digital {
    background: #e3f2fd;
    color: #1976d2;
}

.art-category-badge.analog {
    background: #fff3e0;
    color: #e65100;
}

.art-category-badge[class*="3d"] {
    background: #f3e5f5;
    color: #7b1fa2;
}

.art-category-badge.theme {
    background: #e8f5e9;
    color: #2e7d32;
}

.art-tags {
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    background: white;
}

/* ITアウトプット作品ステータスバッジ */
.status-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-badge.completed {
    background: #e8f5e9;
    color: #2e7d32;
}

.status-badge.in-progress {
    background: #fff3e0;
    color: #e65100;
}

.status-badge.not-started {
    background: #f5f5f5;
    color: #757575;
}

.it-project-card.hidden {
    display: none;
}

/* 未実施のプロジェクトカードを灰色トーンに */
.it-project-card[data-status="not-started"] {
    opacity: 0.7;
    filter: grayscale(0.4);
}

.it-project-card[data-status="not-started"] .post-image {
    background: linear-gradient(135deg, #9e9e9e 0%, #757575 100%);
}

.it-project-card[data-status="not-started"] .post-content {
    background: #f5f5f5;
}

.it-project-card[data-status="not-started"] .post-content h3,
.it-project-card[data-status="not-started"] .post-content p,
.it-project-card[data-status="not-started"] .post-date {
    color: #9e9e9e;
}

.it-project-card[data-status="not-started"] .read-more {
    color: #9e9e9e;
}

.it-project-card[data-status="not-started"]:hover {
    opacity: 0.85;
    filter: grayscale(0.3);
}

/* 絵の作品詳細ページのレスポンシブ */
@media (max-width: 768px) {
    .art-placeholder-large {
        height: 300px;
    }

    .art-placeholder-large span {
        font-size: 3rem;
    }

    .art-gallery {
        grid-template-columns: 1fr;
    }

    .art-filters {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

/* 画像パネル（Google画像検索風） */
.image-panel {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-panel.active {
    display: block;
    opacity: 1;
}

.image-panel-overlay {
    position: fixed;
    left: 0;
    top: 0;
    width: 70%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(1px);
    z-index: 9998;
    pointer-events: auto;
    cursor: pointer;
}

.image-panel-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: 10000;
}

.image-panel-main {
    flex: 0 0 70%;
    position: relative;
    pointer-events: auto;
    cursor: pointer;
}

.image-panel-close {
    position: fixed;
    top: 20px;
    right: calc(30% + 20px);
    color: #333;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10001;
    background: rgba(255, 255, 255, 0.95);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: none;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    pointer-events: auto;
}

.image-panel-close:hover {
    opacity: 0.8;
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.image-panel-sidebar {
    flex: 0 0 30%;
    background: #fff;
    padding: 2rem;
    overflow-y: auto;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.image-panel-image-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-shrink: 0;
}

.image-panel-image {
    max-width: 100%;
    max-height: 60vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.image-panel.active .image-panel-sidebar {
    transform: translateX(0);
}

.image-panel-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}

.image-panel-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin: 0;
    line-height: 1.4;
}

.image-panel-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.image-panel-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* 画像パネル レスポンシブ */
@media (max-width: 1024px) {
    .image-panel-container {
        flex-direction: column;
    }

    .image-panel-main {
        flex: 0 0 60%;
        padding: 1rem;
    }

    .image-panel-sidebar {
        width: 100%;
        flex: 1;
        max-height: 40%;
        transform: translateY(100%);
    }

    .image-panel.active .image-panel-sidebar {
        transform: translateY(0);
    }

    .image-panel-image {
        max-height: 100%;
    }
}

@media (max-width: 768px) {
    .image-panel-main {
        flex: 0 0 50%;
        padding: 0.5rem;
    }

    .image-panel-sidebar {
        max-height: 50%;
        padding: 1rem;
    }

    .image-panel-close {
        top: 10px;
        right: 10px;
        font-size: 2rem;
        width: 35px;
        height: 35px;
    }

    .image-panel-title {
        font-size: 1.2rem;
    }
}

