/* =========================================================
   Time carousel renewal
========================================================= */
.renewal-time-carousel {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    overflow: visible;
}

.renewal-carousel-wrapper {
    position: relative;
    padding-top: 35px;
    overflow: hidden;
}

.sec_top .sec_top__content_b {
    overflow: visible;
}

/* hover用の別レイヤー */
.renewal-hover-layer {
    position: absolute;
    inset: 0;
    overflow: visible;
    pointer-events: none;
    z-index: 100;
}

.renewal-carousel-container {
    display: flex;
    align-items: stretch;
    gap: 14px;
    width: max-content;
    min-width: 100%;
    padding-bottom: 6px;
    will-change: transform;
    transition: transform 0.32s ease;
}

/* 注目枠 */
.renewal-featured-box {
    position: relative;
    display: flex;
    gap: 14px;
    flex: 0 0 auto;
    padding: 24px 12px 14px;
    border: 2px solid #ff5a00;
    background: #ebebeb;
    border-radius: 8px;
    overflow: visible;
}

.renewal-featured-box .attention-icn {
    position: absolute;
    top: -35px;
    left: 0;
    width: 130px;
    height: auto;
}

.renewal-featured-box .renewal-video-card {
    margin-top: 0;
}

/* 通常カード */
.renewal-video-card {
    position: relative;
    z-index: 1;
    flex: 0 0 250px;
    width: 250px;
    max-width: none;
    transition: opacity 0.16s ease;
}

.renewal-video-card.is-hover-source {
    opacity: 0;
}

.renewal-video-link {
    display: block;
    color: inherit;
    text-decoration: none;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.renewal-video-thumbnail {
    width: 250px;
    /*height: 177px;*/
    margin: 0 0 10px;
    background: #e6e6e6;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 9;
}

.renewal-video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.status-wrap {
    padding: 8px 10px 10px;
}

/* 通常時は説明を隠す */
.sec_top .sec_top__header_1 .renewal-video-card p {
    color: #727272;
    display: none;
}

/* cloneだけ拡大して説明を出す */
.renewal-video-card-clone {
    position: absolute;
    z-index: 120;
    pointer-events: none;
    transform-origin: center center;
    transform: translateY(-10px) scale(1.15);
}

.renewal-video-card-clone .renewal-video-link {
    display: block;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.sec_top .sec_top__header_1 .renewal-video-card-clone p {
    display: block;
}

/* 日付 */
.renewal-onair-date {
    margin: 0 0 8px;
    font-size: 12px;
    line-height: 1.5;
    color: #666;
}

/* タイトル */
.renewal-video-title {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    color: #000;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 21px;
}

/* タグ */
.renewal-video-tags {
    margin: 0 0 8px;
    font-size: 12px;
    line-height: 1.5;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ダウンロード文言 */
.renewal-download-text {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    color: #ff5a00;
}

/* 左右矢印 */
.renewal-scroll-indicator {
    position: absolute;
    top: 35px;
    bottom: 6px;
    width: 44px;
    border: 0;
    padding: 0;
    cursor: pointer;
    z-index: 30;
    display: none;
    align-items: center;
    justify-content: center;
    background: none;
}

.renewal-scroll-indicator.left {
    left: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.38) 0%,
        rgba(0, 0, 0, 0.38) 45%,
        rgba(0, 0, 0, 0) 100%
    );
}

.renewal-scroll-indicator.right {
    right: 0;
    background: linear-gradient(
        -90deg,
        rgba(0, 0, 0, 0.38) 0%,
        rgba(0, 0, 0, 0.38) 45%,
        rgba(0, 0, 0, 0) 100%
    );
}

.renewal-scroll-arrow {
    display: inline-block;
    font-size: 26px;
    line-height: 1;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,.35);
}

.renewal-scroll-indicator,
.renewal-scroll-indicator:focus,
.renewal-scroll-indicator:focus-visible,
.renewal-scroll-indicator:active {
    outline: none;
    box-shadow: none;
}

@media (max-width: 767px) {
    .renewal-video-card {
        width: 220px;
        flex-basis: 220px;
    }

    .renewal-video-thumbnail {
        width: 220px;
        height: 156px;
    }

    .renewal-featured-box {
        padding: 24px 10px 12px;
    }
    
    .renewal-carousel-wrapper {
        touch-action: pan-y;
    }
}


#top_contents_new {
    
}
  #top_contents_new.container {
    display: flex;
    gap: 47px;
    max-width: 1400px;
    margin: 0 auto; 
    height: 400px;
  }
  #top_contents_new .left-pane {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
    }
  #top_contents_new .tabs {
    display: flex;
    gap: 4px;
    width: 306px; }
  #top_contents_new .tab {
    height: 48px;
    border: none;
    border-radius: 8px 8px 0 0;
    font-family: 'Hiragino Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
      
  }
  #top_contents_new .tab:hover{
      text-decoration: none;
  }
  #top_contents_new .tab:first-child {
    width: 142px; }
  #top_contents_new .tab:last-child {
    flex: 1; }
  #top_contents_new .tab.active {
    background: #ef6e00;
    color: white; }
  #top_contents_new .tab:not(.active) {
    background: #e0e0e0;
    color: #6a6a6a; }
  #top_contents_new .tab-content {
    display: none;
    flex-direction: column;
    gap: 20px; }
  #top_contents_new .tab-content.active {
    display: flex; }
  #top_contents_new .news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative; }
  #top_contents_new .news-item a {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding-bottom: 1px;
    border-bottom: 1px dashed #ccc;
    min-height: 46px; }
  #top_contents_new .date {
    display: flex;
    gap: 4px;
    align-items: center;
    width: 150px;
    flex-shrink: 0; }
  #top_contents_new .date svg {
    width: 11px;
    height: 12px;
    flex-shrink: 0; }
  #top_contents_new .date span {
    font-size: 14px;
    color: #939393;
    line-height: 21px;
    white-space: nowrap; }
  #top_contents_new .divider {
    width: 1px;
    height: 14px;
    background: #707070;
    flex-shrink: 0;
    margin-top: 6px; }
  #top_contents_new .content {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    flex: 1; }
  #top_contents_new .content svg {
    flex-shrink: 0;
    margin-top: 5px; }
  #top_contents_new .content p {
    font-size: 16px;
    line-height: 25.6px;
    color: #333;
    font-weight: 300; }
  #top_contents_new .ranking-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative; }
  #top_contents_new .ranking-item {
    padding-bottom: 1px;
    border-bottom: 1px dashed #ccc;
    min-height: 46px; }
    
    #top_contents_new .ranking-item a{
    display: flex;
    gap: 20px;
    align-items: center;
    }
    #top_contents_new .ranking-item a:hover{
      text-decoration: none;
      opacity: 0.7;
    }
    
  #top_contents_new .rank-number {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #6a6a6a;
    font-weight: 300;
    flex-shrink: 0; }
  #top_contents_new .rank-1 {
    background: #f2b707; }
  #top_contents_new .rank-2 {
    background: #c0dce8; }
  #top_contents_new .rank-3 {
    background: #ee9957; }
  #top_contents_new .rank-normal {
    background: #e0e0e0; }
  #top_contents_new .ranking-item .content {
    display: flex;
    gap: 10px;
    align-items: center;
    flex: 1; }
  #top_contents_new .tag {
    padding: 1px 10px;
    border: 2px solid;
    border-radius: 42px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center; }
  #top_contents_new .tag-news {
    border-color: #ef6e00;
    color: #ef6e00; }
  #top_contents_new .tag-case {
    border-color: #73becc;
    color: #73becc; }
  #top_contents_new .tag-plan {
    border-color: #fc6464;
    color: #fc6464; }
  #top_contents_new .tag-blog {
    border-color: #236d7b;
    color: #236d7b; }
  #top_contents_new .view-all.active {
    display: flex;
    gap: 8px;
    align-items: center;
    cursor: pointer;
  }
  #top_contents_new .view-all {
    display: none;
  }
  #top_contents_new .view-all span {
    font-size: 13px;
    font-weight: 600;
    color: #6a6a6a;
    line-height: 19.5px; }
  #top_contents_new .view-all svg {
    width: 6px;
    height: 11px; }
  #top_contents_new .right-pane {
    flex-shrink: 0; }
    
  #top_contents_new .right-pane.default {
    width: 372px;
  }
  #top_contents_new .right-pane.movie_only,
  #top_contents_new .right-pane.movie_and_button {
    width: 50%;
  }
  
  #top_contents_new .right-pane.movie_only iframe,
  #top_contents_new .right-pane.movie_and_button iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    display: block;
  }
  #top_contents_new .right-pane.button_only {
    width: 372px;
    display: flex;
    align-items: center;
  }
    
    
    
  #top_contents_new .timetable-header {
    position: relative;
    padding: 3px 0 10px;
    border-bottom: 1px solid #bbb;
      
  }
  #top_contents_new .accent-bar {
    position: absolute;
    left: 0;
    top: 0;
    width: 8px;
    height: 25px;
    background: #ef6e00; }
  #top_contents_new .timetable-header h2 {
    font-family: 'Hiragino Kaku Gothic ProN', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-left: 29px; }
  #top_contents_new .divider-line {
    width: 100%;
    height: 1px;
    background: #ccc;
    margin-top: 33.5px;
    margin-bottom: 39px; }
  #top_contents_new .timetable-image {
    display: flex;
    justify-content: center;
    padding-top: 20px;
    height: 100%;
    
  }
  #top_contents_new .timetable-image img {
    max-width: 100%;
    height: 100%;
    border-radius: 4px; }

@media (max-width: 768px) {
  #top_contents_new{
    flex-direction: column-reverse;
    height: auto !important;
    padding: 0;
  }
  #top_contents_new .left-pane{
    height: 50vh;
    overflow-y: scroll;
    flex: none;
  }
  
  
  #top_contents_new .container {
    flex-direction: column;
    padding: 20px; }
  #top_contents_new .right-pane {
    width: 100% !important; }
  #top_contents_new .tabs {
    width: 100%; }
  #top_contents_new .news-list::after,
#top_contents_new .ranking-list::after {
    display: none; } }

#top_contents_new #news-content,
#top_contents_new #ranking-content{
    overflow-y: scroll;
    position: relative;
}