@charset "UTF-8";
/* ============================================
   VIDEO.CSS - 動画ページ・動画埋め込みスタイル
   v1.0.0
   ============================================ */


/* ============================================
   [VIDEO-01] 動画一覧ページ
   ============================================ */

.video-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 16px 16px 48px;
}

.video-page-header {
    margin-bottom: 32px;
}

.video-page-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-black);
    margin: 12px 0 8px;
    font-family: 'M PLUS Rounded 1c', sans-serif;
}

.video-page-desc {
    font-size: 14px;
    color: var(--color-text-secondary, #666);
    line-height: 1.6;
}

/* ============================================
   [VIDEO-02] 動画カードグリッド
   ============================================ */

.video-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 48px;
}

.video-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* ============================================
   [VIDEO-03] 動画プレイヤー部分
   ============================================ */

.video-card-player {
    width: 100%;
    background: #000;
    position: relative;
    /* 9:16縦型動画用アスペクト比 */
    aspect-ratio: 9 / 16;
    max-height: 520px;
}

.video-card-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* ============================================
   [VIDEO-04] 動画カード情報部分
   ============================================ */

.video-card-info {
    padding: 20px;
}

.video-card-emotion {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.video-card-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.video-card-emotion-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-primary-dark, #FFC107);
    background: var(--color-primary-light, #FFECB3);
    padding: 2px 10px;
    border-radius: 100px;
}

.video-card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-black, #212121);
    margin-bottom: 8px;
    line-height: 1.4;
    font-family: 'M PLUS Rounded 1c', sans-serif;
}

.video-card-desc {
    font-size: 13px;
    color: var(--color-text-secondary, #666);
    line-height: 1.6;
    margin-bottom: 16px;
}

.video-card-link {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-accent, #FF9800);
    text-decoration: none;
    border-bottom: 1px solid var(--color-accent, #FF9800);
    padding-bottom: 1px;
}

.video-card-link:hover {
    opacity: 0.8;
}

/* ============================================
   [VIDEO-05] CTAセクション
   ============================================ */

.video-page-cta {
    text-align: center;
    padding: 32px 16px;
    background: var(--color-primary-light, #FFECB3);
    border-radius: 16px;
}

.video-page-cta-text {
    font-size: 15px;
    color: var(--color-black, #212121);
    margin-bottom: 16px;
    font-weight: 500;
}

.video-page-cta-btn {
    display: inline-block;
    background: var(--color-primary, #FFD54F);
    color: var(--color-black, #212121);
    font-weight: 700;
    font-size: 15px;
    padding: 12px 28px;
    border-radius: 100px;
    text-decoration: none;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transition: all 0.2s ease;
}

.video-page-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
}


/* ============================================
   [VIDEO-06] 感情詳細モーダル内 動画セクション
   ============================================ */

.emotion-video-section {
    margin: 24px 0;
}

.emotion-video-wrapper {
    width: 100%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    /* 縦型動画（9:16）のアスペクト比 */
    aspect-ratio: 9 / 16;
    max-height: 480px;
    margin: 12px 0;
}

.emotion-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.emotion-video-more-link {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-accent, #FF9800);
    text-decoration: none;
    border-bottom: 1px solid var(--color-accent, #FF9800);
    padding-bottom: 1px;
    margin-top: 4px;
}

.emotion-video-more-link:hover {
    opacity: 0.8;
}

/* 感情解説動画テキストリンク */
.emotion-video-link-section {
    margin: 16px 0;
    text-align: center;
}

.emotion-video-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-accent, #FF9800);
    text-decoration: none;
    border: 1.5px solid var(--color-accent, #FF9800);
    border-radius: 20px;
    padding: 7px 18px;
    transition: background 0.2s, color 0.2s;
}

.emotion-video-link::before {
    content: "▶";
    font-size: 11px;
}

.emotion-video-link:hover {
    background: var(--color-accent, #FF9800);
    color: #fff;
}

/* TOPページ動画一覧カード（aタグをbuttonと同じ見た目に） */
a.home-card {
    text-decoration: none;
    color: #333;
    -webkit-tap-highlight-color: transparent;
}
a.home-card:link,
a.home-card:visited {
    color: #333;
    text-decoration: none;
}
a.home-card .home-card-title {
    color: #333;
}
a.home-card:hover {
    color: #333;
    text-decoration: none;
}

/* サブカードが3つになった場合は縦に並べず左寄せ */
.home-cards-sub:has(> :nth-child(3)) {
    grid-template-columns: 1fr 1fr;
}


/* ============================================
   [VIDEO-07] パンくずリスト
   ============================================ */

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

.breadcrumb-link {
    color: #999;
    text-decoration: none;
}

.breadcrumb-link:hover {
    color: var(--color-accent, #FF9800);
}

.breadcrumb-separator {
    color: #ccc;
}

.breadcrumb-current {
    color: #555;
}


/* ============================================
   [VIDEO-08] レスポンシブ（タブレット以上）
   ============================================ */

@media (min-width: 600px) {
    .video-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .video-card-player {
        max-height: none;
    }
}

@media (min-width: 800px) {
    .video-page {
        padding: 24px 24px 64px;
    }

    .video-page-title {
        font-size: 26px;
    }
}
