.page-about_section {
    padding-top: 100px;
}

.page_title {
    font-size: var(--fs16);
    margin-bottom: 1em;
    color: var(--sub-color1);
}

.prf {
    width: 300px;
    padding: 10px;
    box-sizing: border-box;
}

.prf_list {
    display: flex;
    width: 100%;
}

.prf_list_item_left,
.prf_list_item_right {
    width: calc(100% / 2);
    margin-bottom: 0.5em;
}

.prf_link {
    padding-left: 10px;
    text-decoration: underline !important;
}

.timeline {
    max-width: 900px;
    margin: 0 auto 200px auto;
}

.timeline-item {
    display: block;
    position: relative;
    margin-bottom: 60px;
}

/* 左側の西暦 */
.timeline-item_year {
    width: 120px;
    font-size: 48px;
    font-weight: bold;
    color: var(--main-color2);
    flex-shrink: 0;
    position: absolute;
    left: 0;
    top: 0;
    text-align: right;
}

/* 右側の詳細コンテンツ */
.timeline-item_box {
    margin: 0 0 20px 160px;
    /* 縦線との間隔を作る */
    padding-top: 15px;
    display: flex;
    align-items: flex-start;
    flex-grow: 1;
    box-sizing: border-box;
    position: relative;
    width: auto;
}

/* 中央の縦線 */
.timeline-item::before {
    content: "";
    position: absolute;
    left: 140px;
    /* 西暦の幅 + 調整 */
    top: 0;
    bottom: -40px;
    /* 下のアイテムまで線を伸ばす */
    width: 2px;
    background-color: var(--sub-color3);
    /* 青い線 */
}

/* タイムライン上のドット */
.timeline-item_box::before {
    content: "";
    position: absolute;
    left: -24px;
    /* 縦線の中央に合わせる */
    width: 10px;
    height: 10px;
    background-color: var(--sub-color1);
    border-radius: 50%;
    z-index: 1;
    margin-top: 10px;
}

/* 日付とテキストの微調整 */
.timeline-item_date {
    font-weight: bold;
    min-width: 50px;
    margin-right: 20px;
}

/* 展開される中身のスタイル */
.details-content {
    font-size: var(--fs14);
    padding: 1em 2em 2em 2em;
    background-color: var(--sub-color1);
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: var(--main-color1);
    box-sizing: border-box;
    /* アニメーション用の設定（簡易版） */
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* タイムラインのドット位置をsummaryの中央に調整 */
.timeline-item dd::before {
    top: 22px;
    /* summaryの高さに合わせて微調整 */
}


details {
    width: 100%;
    box-sizing: border-box;
}

details:not([open]) {
    margin-bottom: 7px;
}

summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em;
    background-color: var(--sub-color3);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #fff;
    border-right: 3px solid #fff;
    content: '';
    transition: transform .3s;
}

details[open] summary::after {
    transform: rotate(225deg);
}

.details-content p {
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    line-height: 1.8em;
    color: var(--main-color1);
    transition: transform .5s, opacity .5s;
}

details[open] p {
    transform: none;
    opacity: 1;
}

.timeline-item_link {
    text-decoration: underline !important;
    color: inherit;
}

.tag-box {
    display: flex;
    gap: 5px;
}
.tag-video {
    font-size: var(--fs10);
    padding: 0.3em 0.5em;
    border-radius: 5px;
    font-weight: bold;
    font-family: "Roboto", sans-serif;
}
.tag-netflix {
    background-color: #111;
    color: red;
}

.tag-unext {
    background-color: #333;
    color: #fff;
}

.tag-primevideo {
    background-color: #1A98FF;
    color: #fff;
}

.tag-hulu {
    background-color: #070907;
    color: limegreen;
}




/* 　▼ここからinterviewページ 　*/
.search-area {
    width: 100%;
    margin-bottom: 50px;
}
.pagination {
    display: flex;
    gap: 2em;
    justify-content: center;
    margin-bottom: 50px;
}
.category_area {
    width: 100%;
    display: flex;
    gap: 1em;
    flex-wrap: wrap;
    margin-bottom: 100px;
}
.category_area_item {
border: 1px solid var(--sub-color3);
color: var(--sub-color3);
padding: 0.8em 1em;
font-size: var(--fs10);
}

@media (max-width: 767px) {

    .page-about_section {
        padding: 20px 16px;
    }

    .page-about_section:first-child {
        padding: 50px 16px 0 16px;
    }

    .page_title {
        font-size: var(--fs14);
        margin-bottom: 0;
    }

    .timeline {
        width: 100%;
        margin: 0 auto;
    }

    .timeline-item {
        margin-top: 1em;
        margin-bottom: 30px;
        display: flex;
        flex-direction: column;
        padding-left: 30px;
        /* 縦線の分だけ左に余白を作る */
        position: relative;
    }

    .timeline-item_year {
        width: 50px;
        font-size: var(--fs20);
        position: static;
        /* absoluteを解除 */
        width: auto;
        text-align: left;
        margin-bottom: 10px;
    }

    .timeline-item_box {
        margin: 0 0 20px 0px;
        padding-top: 8px;
        width: 100%;
    }

    .timeline-item::before {
        content: "";
        position: absolute;
        width: 1px;
        left: 10px;
        top: 15px;
        bottom: -10px;
    }

    /* タイムライン上のドット */
    .timeline-item_box::before {
        content: "";
        position: absolute;
        left: -24px;
        /* 縦線の中央に合わせる */
        width: 8px;
        height: 8px;
        border-radius: 50%;
        z-index: 1;
        margin-top: -5px;
    }

    /* 日付とテキストの微調整 */
    .timeline-item_date {
        font-weight: bold;
        min-width: 30px;
        margin-right: 10px;
    }

    /* 展開される中身のスタイル */
    .details-content {
        font-size: var(--fs12);
        padding: 1.1em;
        gap: 12px;
    }

    summary {
        padding: 0.5em 1em;
    }

    .details-content p {
        font-size: var(--fs12);
    }








    /* 5. ドットの位置を縦線の上に合わせる */
    .timeline-item_box::before {
        left: -24px;
        /* 縦線の位置(10px)との相対距離で調整 */
        top: 25px;
        /* アコーディオンの頭の方に配置 */
        transform: none;
    }
}