/* =============================================
リセット
============================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
    color: #333;
    background-color: #f8f9fa;
    line-height: 1.6;
}

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

/* =============================================
セクション
============================================= */
.note-section {
    background: #ffffff;
    border-radius: 16px;
    padding: 50px 40px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    color: #1a1a1a;
    position: relative;
    padding-bottom: 16px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #41c9b4, #4facfe);
    border-radius: 2px;
}

.section-description {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
    font-size: 1.5 rem;
}

/* =============================================
note記事リスト - シンプルな縦並び
============================================= */
#note-rss {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.note-list {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.note-list:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.note-list a {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-decoration: none;
    color: inherit;
    padding: 0px;
}

.note-list img {
    width: 100%;
    max-width: 100%;
    min-width: auto;
    height: 250px;
    object-fit: cover;
    border-radius: 0px;
    margin-right: 0px;
    transition: transform 0.3s ease;
}

.note-list:hover img {
    transform: scale(1.05);
}

.note-list .content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 20px 20px;
}

.note-list .date {
    font-size: 0.9rem;
    color: #999;
    font-weight: 500;
}

.note-list .title {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.5;
    color: #1a1a1a;
}

/* =============================================
レスポンシブ - スマホでは縦積み
============================================= */
@media screen and (max-width: 768px) {
    .container {
        padding: 40px 15px;
    }
    
    .note-section {
        padding: 30px 20px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-description {
        font-size: 0.9rem;
        margin-bottom: 30px;
    }
    
    #note-rss {
        gap: 20px;
    }
    
    .note-list a {
        flex-direction: column;
        padding: 0;
    }
    
    .note-list img {
        width: 100%;
        max-width: 100%;
        min-width: auto;
        height: 200px;
        margin-right: 0;
        border-radius: 0;
    }
    
    .note-list .content {
        padding: 16px 20px 20px;
    }
    
    .note-list .title {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 480px) {
    .note-section {
        padding: 25px 15px;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
}

/* =============================================
読み込み中
============================================= */
#note-rss:empty::before {
    content: '読み込み中...';
    display: block;
    text-align: center;
    padding: 60px 0;
    color: #999;
    font-size: 1rem;
}
