/* ========================================= */
/* maa-kiji-format8.css */
/* 動画ブログ記事フォーマット v8用スタイル */
/* ========================================= */

.sps-ver8-kiji-format {
    /* 全体コンテナ */
    max-width: 800px; /* 記事幅の制限 */
    margin: 20px auto;
    padding: 20px;
    background-color: #ffffff; /* 背景色 */
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); /* 軽い影で立体感を出す */
    font-family: 'Arial', sans-serif;
}

/* ----------------------------------------- */
/* 1. 動画・サムネイルセクション */
/* ----------------------------------------- */
.sps-ver8-video-section {
    position: relative;
    width: 100%;
    /* 16:9のアスペクト比を維持 */
    padding-top: 56.25%; /* 9 / 16 * 100% */
    margin-bottom: 25px;
    overflow: hidden;
    border-radius: 8px;
    background-color: #000000;
}

.sps-ver8-video-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    cursor: pointer;
}

.sps-ver8-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画像がセクション全体を覆うように */
    transition: transform 0.3s ease;
}

.sps-ver8-video-link:hover .sps-ver8-thumbnail {
    transform: scale(1.03); /* ホバーで少し拡大 */
    opacity: 0.8;
}

/* 再生ボタン風オーバーレイ */
.sps-ver8-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(255, 0, 0, 0.8); /* 赤色で目立たせる */
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    line-height: 1;
    transition: background-color 0.3s ease;
    pointer-events: none; /* クリックイベントを下に透過させる */
}

.sps-ver8-video-link:hover .sps-ver8-play-overlay {
    background-color: rgba(200, 0, 0, 0.95);
}

/* サムネイルがない場合のテキストリンク */
.sps-ver8-text-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-size: 1.5rem;
    text-decoration: none;
    background-color: #333;
    transition: background-color 0.3s;
}
.sps-ver8-text-link:hover {
    background-color: #555;
}


/* ----------------------------------------- */
/* 2. パッケージタイトル */
/* ----------------------------------------- */
.sps-ver8-package-title {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 3px solid #ff4500; /* 目立つアクセントライン */
    font-weight: 700;
}

/* ----------------------------------------- */
/* 3. 動画説明文 */
/* ----------------------------------------- */
.sps-ver8-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4a4a4a;
    margin-bottom: 25px;
    padding: 15px;
    background-color: #f7f7f7;
    border-left: 5px solid #ff7f50; /* 説明文の強調 */
    border-radius: 4px;
}

/* ----------------------------------------- */
/* 4. サンプル画像 */
/* ----------------------------------------- */
.sps-ver8-sample-image-container {
    text-align: center;
    margin-top: 20px;
}

.sps-ver8-sample-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); /* 画像に深みを出す */
    border: 1px solid #ddd;
    transition: box-shadow 0.3s ease;
}

.sps-ver8-sample-image:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* ----------------------------------------- */
/* レスポンシブ対応 (スマートフォン向け) */
/* ----------------------------------------- */
@media (max-width: 600px) {
    .sps-ver8-kiji-format {
        padding: 15px;
        margin: 10px;
        border-radius: 0; /* スマホでは画面全体を使う */
        box-shadow: none;
    }
    
    .sps-ver8-package-title {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .sps-ver8-description {
        font-size: 1rem;
        padding: 10px;
    }
    
    .sps-ver8-play-overlay {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }
}

/* ----------------------------------------- */
/* 5. 最下部の再生リンク */
/* ----------------------------------------- */
.sps-ver8-video-bottom-link {
    text-align: center;
    margin-top: 30px;
}

.sps-ver8-bottom-link-button {
    display: inline-block;
    background-color: #ff4500; /* アクセントカラーに合わせる */
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.sps-ver8-bottom-link-button:hover {
    background-color: #e03e00;
}
