.seminar-box{
    background:#f5f5f5;
    padding:2% 2% 1px 2% ;
}
.seminar-item{
    background:#fff;
    padding:3%;
    margin-bottom: 20px;
    border-radius: 6px;
    transition: all 0.3s ease;
    border:1px solid #fff;
}
/* .seminar-item:nth-child(even){
    background:#f3f3f3;
} */
.seminar-item:hover {
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
    border:1px solid var(--colorLightBase);
}

.seminar-item__link{
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: visible;

}

.seminar-item__info{
    width: 70%;
    padding-right: 3%;   
}
.seminar-item__author{
    width: 248px;
    background: url(../img/common/ico-arrow-right.svg) no-repeat 99% center;
    background-size: 9px 16px;
    display: flex;
    align-items: center;
    padding-right: 20px;
    transition: all 0.3s ease;
}
.seminar-item:hover .seminar-item__author {
    background-position: 100% center;
}

.seminar-item__author__info{
    display: flex;
    flex-direction: column;
    margin-left: 20px;
}

@media screen and (max-width: 500px) {
    .seminar-item__info{
        width: 85%;
    }
    .seminar-item__author {
        width: 220px;
    }
    .seminar-item__author__info{
        margin-left: 10px;
    }
   
}


.seminar-item__company{
    font-size:12px;
    line-height: 1.4;
}
.seminar-item__person{
    font-size:12px;
    line-height: 1.4;
}


.seminar-item__date{
    background: url(../img/common/icon-calendar.svg) no-repeat left center;
    background-size: 15px 18px;
    font-weight: bold;
    color: var(--colorLightBase);
    padding-left: 23px;
    margin-right: 0px;
    font-size: clamp(16px, 2vw, 20px);
}
.seminar-item__week{
    font-weight: bold;
    color: var(--colorLightBase);
    margin-right: 10px;
    font-size: clamp(16px, 2vw, 20px);
}
.seminar-item__time{
    background: url(../img/common/icon-time.svg) no-repeat left center;
    background-size: 17px 17px;
    font-weight: bold;
    color: var(--colorLightBase);
    padding-left: 20px;
    font-size: clamp(16px, 2vw, 20px);
}

.seminar-item__info-title{
    font-weight: bold;
    display: block;
    line-height: 1.6;
    padding-top: 10px;
    font-size: clamp(16px, 2vw, 18px);
}


/* benefit */
.type-benefit{
    .seminar-item:hover .seminar-item__info{
        background-position: 100% center;
    }
    /* .seminar-item{
        padding:1%;
    } */
    .seminar-item__project-img{
        border-radius: 5px;
    }
    .seminar-item__info-title{
        font-size: clamp(16px, 2vw, 20px);
        padding-top: 0;
    }
    
    .seminar-item__info{
        width: 76%;
    }
    .seminar-item__link.type-blank{
        cursor:default;
        color:#aaa;
        pointer-events: none;
        .seminar-item__info{
            background:none;
        }
        .seminar-item__author{
            background-image: none;
            opacity: 0.6;
        }

    }
    .seminar-item__author{
        width:15%;
        padding-top: 30px;
        /* background:none;
        display: flex;
        align-items: center;
        padding-right: 20px; */
    }   
}

.seminar-box.type-benefit .seminar-item{
    padding: 0;
}
.seminar-box.type-benefit .seminar-item__link {
    display: flex;
    align-items: center;
    padding: 20px;
}

.seminar-box.type-benefit .seminar-item__info {
    flex: 1;
}

.seminar-box.type-benefit .seminar-item__author {
    width: 15%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0 30px 0 0;
}

.seminar-box.type-benefit .seminar-item__project {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seminar-box.type-benefit .seminar-item__project-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* YouTube thumbnail styles */
.youtube-thumbnail-container {
    margin-top: 10px;
}

.youtube-thumbnail-link {
    display: flex;
    flex-direction: column;
    max-width: 260px;
    text-decoration: none;
    transition: all 0.3s ease;
    @media screen and (max-width: 600px) {
        .youtube-thumbnail-container {
            margin-bottom: 20px;
        }
    }
}

.youtube-thumbnail-link:hover {
    opacity: 0.85;
}

.youtube-thumbnail {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.youtube-url {
    font-size: 14px;
    color: var(--colorLightBase);
    word-break: break-all;
    line-height: 1.4;
    text-align: center;
    padding-top: 5px;
}

@media screen and (max-width: 500px) {
    .youtube-thumbnail-link {
        max-width: 100%;
    }
}

.youtube-thumbnail-wrapper {
    position: relative;
    width: 100%;
}

.youtube-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255, 0, 0, 0.8);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.youtube-play-button::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 20px;
    border-color: transparent transparent transparent #ffffff;
    margin-left: 5px;
}

@media screen and (max-width: 500px) {
    .youtube-play-button {
        width: 40px;
        height: 40px;
    }
    
    .youtube-play-button::after {
        border-width: 8px 0 8px 16px;
        margin-left: 4px;
    }
}

