body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #f5f5f7;
    color: #1d1d1f;
    margin: 0;
    padding: 54px 0 40px 0; /* ヘッダーの高さ分 */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- ヘッダー（維持） --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 54px;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.header-inner {
    width: 100%;
    max-width: 560px;
    padding: 0 16px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-logo {
    font-size: 0.95rem;
    font-weight: 800;
    color: #1d1d1f;
    text-decoration: none;
    letter-spacing: -0.01em;
}
.header-nav {
    display: flex;
    gap: 12px;
}
.header-link {
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.55);
    text-decoration: none;
    cursor: pointer;
}
.header-link:hover { color: #ff4500; }

/* --- 背景エリア（維持） --- */
.hero-background-area {
    width: 100%;
    background-color: #1a1a1c; 
    padding: 30px 16px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px; /* NEWS欄との間隔 */
}

/* --- カルーセルエリア（維持） --- */
.carousel-container {
    width: 100%;
    max-width: 560px;
    height: 220px;
    position: relative;
    overflow: hidden;
    background-color: #e5e5ea;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}
.carousel-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1); 
}
.carousel-slide {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #e8e8ed;
    color: #86868b;
    font-weight: bold;
    font-size: 0.85rem;
    text-align: center;
    box-sizing: border-box;
    padding: 20px;
    transition: none !important; 
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1d1d1f;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 10;
}
.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }
.carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}
.dot {
    width: 6px;
    height: 6px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    cursor: pointer;
}
.dot.active {
    background: #ff4500;
    width: 14px;
    border-radius: 3px;
}

/* --- ★新しく追加：ほぼ日風スマートNEWS欄のデザイン --- */
.news-container {
    width: 100%;
    max-width: 560px;
    padding: 0 16px 20px 16px;
    box-sizing: border-box;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08); /* 下に細い区切り線を入れる */
}

/* NEWSのヘッダー（左側の大文字タイトル部分） */
.news-header {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 12px;
}
.news-title-text {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #1d1d1f;
}
.news-subtitle-text {
    font-size: 0.68rem;
    color: rgba(0, 0, 0, 0.4);
    font-weight: 600;
}

/* リスト全体の余白リセット */
.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 1行ごとのニュースお知らせ項目 */
.news-item {
    font-size: 0.8rem;
    line-height: 1.6;
    margin-bottom: 8px;
    display: flex;
    gap: 16px; /* 日付とお知らせ内容のスキマ */
}

/* ニュースの日付 */
.news-date {
    font-weight: 600;
    color: #86868b;
    flex-shrink: 0; /* 日付の幅が縮まないように固定 */
}

/* ニュースのテキスト（リンクじゃない場合） */
.news-text {
    color: #1d1d1f;
}

/* ニュースのリンク（特定の記事へ飛ばす場合） */
.news-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
}
.news-link:hover {
    text-decoration: underline;
}

/* --- カタログコンテンツエリア（維持） --- */
h1 {
    font-size: 1.2rem; /* カタログ見出しを少し控えめに引き締め */
    text-align: center;
    margin: 8px 0 20px 0;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: rgba(0, 0, 0, 0.7);
}

.genre-container {
    width: 100%;
    max-width: 560px;
    padding: 0 16px;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

.genre-section {
    background: white;
    border-radius: 14px;
    padding: 16px 20px 12px 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    scroll-margin-top: 66px; 
}

.genre-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0 0 2px 0;
    border-left: 3.5px solid #ff4500;
    padding-left: 8px;
}

.genre-description {
    font-size: 0.68rem;
    color: rgba(0, 0, 0, 0.4);
    margin: -1px 0 10px 12px;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: 0.03em;
}

.video-list {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 6px;
}

.video-card {
    text-decoration: none;
    color: inherit;
    width: 110px;
    flex-shrink: 0;
}
.video-card:hover {
    transform: translateY(-2px);
    transition: transform 0.2s ease;
}

.thumbnail-box {
    width: 100%;
    height: 180px;
    background-color: #f2f2f7;
    border-radius: 10px;
    border: 1px solid #e5e5ea;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.7rem;
    color: #86868b;
    padding: 8px;
    box-sizing: border-box;
    font-weight: 600;
    line-height: 1.3;
}

.video-title {
    font-size: 0.8rem;
    margin-top: 6px;
    line-height: 1.3;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 記事詳細用（維持） */
#content {
    background: white;
    padding: 32px;
    border-radius: 14px;
    max-width: 560px;
    width: 100%;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.back-link {
    color: #86868b;
    text-decoration: none;
    margin-bottom: 16px;
    display: inline-block;
    font-size: 0.9rem;
}

/* スマートな1行フッター（維持） */
.site-footer {
    width: 100%;
    max-width: 560px;
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}
.site-footer p {
    font-size: 0.68rem;
    color: rgba(0, 0, 0, 0.35);
    margin: 0;
    letter-spacing: 0.05em;
}
