header img {
    width: 100%;
}

/* タブのスタイル */
.week-tab {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    justify-content: center;
    overflow: visible;
    display: flex;
    justify-content: flex-start;
    padding-top: 1.5rem;
}

.week-tab::-webkit-scrollbar{
    display: none;
}

.week-tablinks {
    float: left;
    outline: none;
    cursor: pointer;
    text-align: center;
    font-size: 1.2rem;
    width: 12.5%;
    border: 1px solid #787878;
    border-bottom: 4px solid #787878;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    height: 1.6rem;
    padding: 4px 0;
    align-self: flex-end;
    align-content: center;
}

.week-tab .active {
    height: 2rem;
    color: #f2f2f2;
    background: #787878;
}

.day-border-bottom {
    height: 2px;
    margin-top: 2px;
}

/* コンテンツのスタイル */
#program-list {
    height: 100%;
    display: flex;
}

.draggable {
    height: 100%;
}

.center-area {
    overflow: hidden;
}

.content-list {
    margin-bottom: 0.5rem;
    width: 100%;
}

.content {
    display: flex;
    margin: 0.5rem 0;
    padding: 0.5rem;
    border-bottom: 2px solid #333;
    text-decoration: none;
}

.content h3 {
    white-space: pre-wrap;
}

.thumbnail-area {
    width: 45%;
}

.thumbnail-area img {
    width: 100%;
    height: auto;
}

.title-area {
    width: 55%;
    margin-left: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.title-area h3 {
    font-size: 1.2rem;
    font-weight: normal;
    margin: 0;
    line-height: 1.2rem;
    color: #eee;
}

.title-area .tag {
    background: #111;
    font-size: 0.7rem;
    padding: 0.2rem;
    margin: 0.25rem 0.15rem;
    line-height: 1rem;
}

.title-area p {
    font-size: 1rem;
    color: #999;
    margin: 0;
    line-height: 1.2rem;
}

#program-list .active {
    overflow-x: hidden;
}

@media screen and (max-width: 1024px) {

    .week-tab {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
        display: flex;
        justify-content: flex-start;
    }

    .week-tablinks {
        font-size: 0.9rem;
        padding: 4px 8px;
    }

    .title-area h3 {
        font-size: 0.9rem;
    }

    .title-area p {
        font-size: 0.8rem;
    }
}