/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Sep 26 2025 | 08:33:56 */
/* --- 1. 新規ラッパー: 画面幅に収め、横スクロールを有効にする --- */
.shorts-wrapper {
    width: 100%;
    margin: 25px auto; 
    overflow-x: auto; 
    overflow-y: hidden;
    padding-bottom: 20px; 
}
@media screen and (min-width: 1024px) { 
  .shorts-wrapper {
    margin: 40px auto; 
  }
}

/* --- 2. ショート動画フィード: 要素を横に長く並べる --- */
.youtube-shorts-feed {
    display: flex;
    flex-wrap: nowrap; 
    justify-content: flex-start; 
    gap: 15px;
    width: max-content; 
    transition: padding-left 0.3s ease; 
	padding-top:10px;
}

.youtube-shorts-feed.at-start {
    /* 左側に40pxの余白を追加 */
    padding-left: 40px; 
}

/* サムネイルラッパー (変更なし) */
.short-thumbnail-wrapper {
    flex-shrink: 0; 
    width: 200px;
}

/* サムネイル */
.short-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* サムネ画像 */
.short-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

/* 再生アイコン */
.short-thumbnail::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70px;
    height: 70px;
    background: url('https://renewal.kameda-toshi.com/wp-content/uploads/2025/09/icon_youtube_shorts.svg') no-repeat center center;
    background-size: contain;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.8;
}

/* ホバー時 */
.short-thumbnail:hover::after {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 1;
}

.short-thumbnail:hover {
    transform: scale(1.05);
}


