body{
    overflow-x: hidden;
}

.entre_visual_title,
.prev,
.page-numbers,
.is-active {
    font-family: Noto Sans JP, sans-serif;
}

.entre_reading,
.entre_title,
.page-numbers,
.entry_article_title,
.entry_time,
.top_button_arrow,
.top_button_text,
.entry_category_text {
    font-family: Zen Maru Gothic, sans-serif;
}

.entre_titlebox,
.entre_title_layout_flex,
.entry_text,
.pagination,
.top_button_layout_flex,
.entre_list_category_box,
.entre_category_and_title_layout_flex,
.text_item_flex,.flex{
    display: flex;
}
.text_item_flex ul {
    display: flex;
}

/* ////////////////////////
メインビジュアル
////////////////////////*/

.entre_visual_layout {
    margin: 1.5rem 0 0 auto;
    position: relative;
    width: 114rem;
}

.entre_visual_title {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 6.6rem 6rem;
    writing-mode: vertical-lr;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 0.95rem;
    line-height: 1.3;
    color: #4EC663;
}

.entre_main_visual {
    border-radius: 4rem 0 0 4rem;
    height: 39.5rem;
}


/* ////////////////////////
アコーディオンレイアウト
////////////////////////*/
.entre_category_and_title_layout_flex,
.single_category_and_title_layout_flex,
.entre_list_category_box_trigger,.flex{
    justify-content: space-between;
}

.entre_list_category_box_trigger{
    margin-top: 1.5rem;
}

.entre_category_and_title_layout_flex {
    position: relative;
}

.triangle {
    transition-duration: 500ms;
    transition-property: transform;
    width: 2.3rem;
    height: 2.3rem;
}

.entre_list_category_box_content {
    padding-top: 0rem;
}

.entre_nav {
    padding: 0 2.6rem 1.5rem 2.3rem;
    width: 33.5rem;
    height: fit-content;
    color: #000000;
    background-color: #FFFFFF;
    border-radius: 2rem;
    box-shadow: 0 0.3rem 0.6rem #00000029;
}

.entre_accordion_box {
    position: absolute;
    right: 4.6rem;
    gap: 2.2rem;
}

/* ... (他のCSSコードは省略) ... */

/* 初期状態: リストを非表示にする (修正) */
.entre_list_category_box_content {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    /* transition の設定を変更 */
    /* 閉じるとき: max-heightは速く開始 (ease-out)、opacityは短めに設定 */
    transition: max-height 5s ease-out, opacity 0.2s linear;
}



/* .activeクラスが付与されたとき: リストを表示する (修正) */
.triangle.active {
    transition-duration: 500ms;
    transition-property: transform;
    transform: rotate(3.142rad);
}

/* .activeクラスが付与されたとき: リストを表示する (修正) */
.entre_list_category_box_content.active {
    opacity: 1;
    max-height: 500rem;
    transition: max-height 5s ease-in, opacity 0.3s 0.2s linear;
    /* 開くとき: max-heightはゆっくり開始 (ease-in)、opacityは短めに設定 */
    /* opacityの0.3s 0.2s linear: 0.2秒遅延してから0.3秒かけて変化 */
}

/* ////////////////////////
お知らせ
////////////////////////*/


.entre_backg_img {
    background-image: url(../img/archive-news-sp/22014110@2x.webp);
    background-size: cover;
    background-repeat: repeat-y;
}

.entre_wrapper {
    padding: 7.5rem 0 10rem;
    margin: 0 auto;
    width: 122rem;
    opacity: 0;
    visibility: hidden;
    transition: all 1s;
    transform: translateY(0);
}

.entre_is_active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.entre_circle {
    display: block;
    width: 1.5rem;
    height: 1.5rem;
    background-color: #4EC663;
    border-radius: 50%;
}

.entre_titlebox {
    flex-flow: column;
    gap: 0.4rem;
    margin-bottom: 3.3rem;
}

.entre_title_layout_flex {
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 0.4rem;
    flex-wrap: wrap;
}

.entre_reading {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.2;
    color: #000000;
}

.entre_title {
    font-size: 3.3rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.3;
    color: #000000;
}

.entry_text {
    padding: 2.3rem 1rem 2.1rem 1rem;
    gap: 3.9rem;
    align-items: center;
}

.entre_item_box {
    width: 117rem;
    background-color: #FFFFFF;
    padding: 2.85rem 0 6.8rem;
    margin: 0 auto;
    border-radius: 3rem;
    box-shadow: 0 0.3rem 0.6rem #00000029;
}

.entre_item_layout_flex,
.pagination {
    width: 102.8rem;
}

.entre_item_layout_flex {
    margin: 0 auto;
}

.entry_item {
    display: block;
    border-bottom: #122444 0.1rem solid;
    transition: all 0.5s;
}


.entry_item:hover {
    background-color: #F2EEDE;
}

.entry_time {
    min-width: 8.5rem;
}

.text_item_flex ul li,
.entre_list_category_item,
.entry_article_title{
    word-break: break-all;
}

.entry_article_title,
.entry_time,
.entry_category_text,
.entre_list_category_item,
.text_item_flex {
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.5;
    color: #000000;
}
.text_item_flex {
    width: 21rem;
    flex-shrink: 1;
    align-items: center;
}

.entry_article_title {
    width: 123rem;
}

.text_item_flex ul {
    min-width: 14.1rem;
    flex-wrap: wrap;
    flex-shrink: 2;
}

.text_item_flex ul li {
    min-width: 13rem;
}

.entre_list_category_item {
    margin-top: 1.5rem;
    display: block;
}

.entry_category_text {
    margin-top: 1.5rem;
}

.pagination {
    margin: 5.3rem auto 0;
    justify-content: center;
    gap: 3rem;
}

.prev,
.page-numbers,
.is-active,
.top_button_arrow {
    width: 5rem;
    height: 5rem;
    border-radius: 2.5rem;
    display: block;
}

.prev,
.page-numbers,
.is-active {
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.4;
}

.page-numbers {
    color: #000000;
    background-color: #E2E2E2;
}

.page-numbers.between {
    background-color: #e2e2e200 !important;
    width: 1.8rem;
    height: 1.5rem;
}

.is-active,
.top_button_arrow {
    color: #FFFFFF;
    background-color: #42976D;
}

.page-numbers,
.is-active {
    padding: 1.1rem 0 1rem;
    text-align: center;
}

.top_button_layout_flex {
    margin: 5rem auto 0;
    align-items: center;
    gap: 1rem;
    width: fit-content;
}

.top_button_arrow,
.top_button_text {
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.3;
}

.top_button_arrow {
    padding: 1.2rem 0 1rem;
    text-align: center;
}

.top_button_text {
    color: #000000;
}

@media screen and (max-width:699.98px) {


    .entry_article_title {
        width: auto;
    }

    .text_item_flex ul,.text_item_flex ul li {
        min-width: fit-content;
    }

    .entre_item_box {
        margin-top: 11rem;
    }

    .entre_accordion_box {
        position: absolute;
        top: 5.2rem;
        left: 0;
        right: 0;
        flex-flow: column;
        gap: 1.2rem;
    }

    .entry_li_top:first-child article a div {
        padding: 0 0.5rem 1.4rem 0.5rem;
        border-radius: 0.1rem;
    }

    /* ////////////////////////
    メインビジュアル
    ////////////////////////*/
    .entre_visual_layout {
        max-width: 36.8rem;
        width: 100%;
        margin: 1.5rem 0 0 0.7rem;
    }

    .entre_main_visual {
        height: 38.6rem;
    }

    .entre_visual_title {
        font-size: 2rem;
        letter-spacing: 0.69rem;
        padding: 2.5rem 0.7rem;
        width: fit-content;
        margin-left: auto;
    }

    /* ////////////////////////
    お知らせ
    ////////////////////////*/

    .entre_wrapper,
    .entre_item_box {
        width: 100%;
        max-width: 35.5rem;
    }

    .entre_wrapper {
        padding: 2.6rem 0 5rem;
        margin: 0 auto;
        overflow-x: hidden;
    }

    .entre_title_layout_flex {
        gap: 0.5rem;
        margin-bottom: 0;
    }

    .entre_titlebox {
        gap: 0;
        padding-bottom: 0;
    }

    .entre_title {
        font-size: 2rem;
        font-weight: 500;
        letter-spacing: 0.05rem;
        line-height: 1.3;
    }

    .entre_item_layout_flex {
        margin: 0 auto;
        max-width: 34.4rem;
        width: 100%;
    }

    .pagination {
        margin: 4.9rem auto 0;
        width: 34.4rem;
        gap: 1.4rem;
        flex-wrap: wrap;
    }

    .entre_item_box {
        background-color: #FFFFFF;
        padding: 1.5rem 0 5.6rem;
    }

    .text_item_flex{
        width: auto;
        flex-wrap: wrap;
        align-items:flex-start;
    }

    .entry_text {
        padding: 1.5rem 0.5rem 1.4rem 0.5rem;
        flex-flow: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .top_button_layout_flex {
        margin-top: 4.5rem;
    }

    .prev,
    .page-numbers,
    .is-active {
        padding: 1rem 0 1rem;
    }

    .top_button_arrow {
        padding: 1.3rem 0 1rem;
        width: 5rem;
        height: 5rem;
    }

    .prev,
    .page-numbers,
    .is-active {
        width: 4.5rem;
        height: 4.5rem;
    }

    .entre_nav {
        width: 100%;
    }
}