/* =========================================================
   /media ハブページ専用スタイル
   命名は既存の pageblock1 / pageblock2 系に合わせつつ、
   衝突回避のため mediahub- プレフィックスを付与
   ========================================================= */

/* ---------- 冒頭リード文・ペルソナ ---------- */
.mediahub-intro {
    padding: 50px 0 10px;
}
.mediahub-intro__lead {
    max-width: 720px;
    margin: 0 auto 28px;
    text-align: center;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.9;
    color: #222;
}
.mediahub-intro__personas {
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.mediahub-intro__personas li {
    position: relative;
    padding-left: 28px;
    font-size: 0.9rem;
    color: #555;
}
.mediahub-intro__personas li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #e6683c;
    font-weight: 700;
}

/* ---------- 編集部ピックアップ（最新1本を大きく見せる） ---------- */
.mediahub-featured {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: stretch;
    background: #16181d;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
.mediahub-featured__thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
}
.mediahub-featured__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: transform 0.3s ease;
}
.mediahub-featured:hover .mediahub-featured__thumb img {
    transform: scale(1.04);
}
.mediahub-featured__thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 56px;
    height: 56px;
    background: rgba(255, 0, 0, 0.85) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") center/20px no-repeat;
    border-radius: 50%;
}
.mediahub-featured__body {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}
.mediahub-featured__eyebrow {
    display: inline-block;
    color: #ff8a5c;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}
.mediahub-featured__title {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.5;
}
.mediahub-featured__cta {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0.85;
}

.mediahub-section {
    padding: 70px 0;
}
.mediahub-section:nth-of-type(even) {
    background: #f7f8fa;
}
.mediahub-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}
.mediahub-head {
    text-align: center;
    margin-bottom: 40px;
}
.mediahub-head h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.mediahub-head p {
    color: #666;
    font-size: 0.95rem;
}
.mediahub-more {
    text-align: center;
    margin-top: 36px;
}
.mediahub-empty {
    text-align: center;
    color: #999;
    padding: 30px 20px;
    background: #fff;
    border: 1px dashed #ddd;
    border-radius: 8px;
    font-size: 0.9rem;
}

/* ---------- ショート動画ピックアップ（横スクロール） ---------- */
.mediahub-shorts {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.mediahub-shorts::-webkit-scrollbar {
    height: 6px;
}
.mediahub-shorts::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}
.mediahub-short-card {
    flex: 0 0 220px;
    scroll-snap-align: start;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    aspect-ratio: 9 / 16;
    position: relative;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}
.mediahub-short-card iframe,
.mediahub-short-card blockquote.instagram-media {
    width: 100% !important;
    height: 100% !important;
    border: none;
    margin: 0 !important;
}
.mediahub-short-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 999px;
    letter-spacing: 0.03em;
}

/* ---------- YouTube最新動画グリッド ---------- */
.mediahub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.mediahub-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: block;
}
.mediahub-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.mediahub-card__thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #eee;
    overflow: hidden;
}
.mediahub-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mediahub-card__thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 46px;
    height: 46px;
    background: rgba(255, 0, 0, 0.85) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") center/16px no-repeat;
    border-radius: 50%;
    pointer-events: none;
}
.mediahub-card__body {
    padding: 16px 18px;
}
.mediahub-card__title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.5;
    color: #222;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mediahub-card__date {
    margin-top: 8px;
    font-size: 0.78rem;
    color: #999;
}

/* ---------- note記事リスト（アイキャッチなし・テキストのみ） ---------- */
.mediahub-note-list {
    max-width: 760px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
.mediahub-note-list__item:not(:last-child) {
    border-bottom: 1px solid #eee;
}
.mediahub-note-list__item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 22px;
    transition: background 0.2s ease;
}
.mediahub-note-list__item a:hover {
    background: #f7f8fa;
}
.mediahub-note-list__title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #222;
    line-height: 1.5;
}
.mediahub-note-list__date {
    flex: 0 0 auto;
    font-size: 0.78rem;
    color: #999;
}

/* ---------- コラムグリッド ---------- */
.mediahub-grid.-column {
    grid-template-columns: repeat(4, 1fr);
}
.mediahub-grid.-column .mediahub-card__thumb::after {
    display: none;
}

/* ---------- SNSアカウントカード（Instagram / X） ---------- */
.mediahub-profile-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}
.mediahub-profile-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border-radius: 12px;
    padding: 18px 28px;
    min-width: 260px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mediahub-profile-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.mediahub-profile-card__icon {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
}
.mediahub-profile-card__icon.-instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}
.mediahub-profile-card__icon.-x {
    background: #000;
}
.mediahub-profile-card__text {
    display: flex;
    flex-direction: column;
}
.mediahub-profile-card__platform {
    font-size: 0.78rem;
    color: #999;
}
.mediahub-profile-card__handle {
    font-size: 1rem;
    font-weight: 700;
    color: #222;
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 1024px) {
    .mediahub-grid,
    .mediahub-grid.-column {
        grid-template-columns: repeat(2, 1fr);
    }
    .mediahub-featured {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 600px) {
    .mediahub-section {
        padding: 50px 0;
    }
    .mediahub-head h2 {
        font-size: 1.5rem;
    }
    .mediahub-intro__lead {
        font-size: 0.95rem;
    }
    .mediahub-featured__body {
        padding: 22px;
    }
    .mediahub-featured__title {
        font-size: 1.15rem;
    }
    .mediahub-grid,
    .mediahub-grid.-column {
        grid-template-columns: 1fr;
    }
    .mediahub-note-list__item a {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .mediahub-short-card {
        flex-basis: 160px;
    }
}
