#middle_side .nav_box {
    display: flex;
    justify-content:space-between;
    background-color: white;
    margin: 40px auto 20px;
    justify-content: center;
    text-align: center;
    border-radius: 10px;
    max-width: 696px;
    gap: 60px;
    padding: 24px 60px 20px;

    .box {
        max-width: 300px;
        width: 100%;
        padding: 10px;
    }
}

.event_box-image {
    background-color: #1a1f52;
    width: 66px;
    height: 66px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.event_box-title h2 {
    font-size: large;
    font-weight: bold;
    color: #1B2053;
}

.event_box-text p {
    font-size: 12px;
    color: #333333;
}

.home_event_wrapp a {
    text-decoration: none;
}
.home_event_wrapp img{
    width: 100%;
    height: 100px;
    max-width: 244px;
    display: block;
    object-fit: cover;
    object-position: center;
    border-radius: 3px;
}
.box a {
    text-decoration: none;
}

.box a:hover .event_box-image {
    background-color: rgba(50, 126, 158, 0.60);
}

.box a:hover .event_box-title h2 {
    color: #327E9E;
}

.box a:hover .event_box-text p {
    color: #696969;
}


.box-second_border {
    position: relative;
}

.box-second_border::before,
.box-second_border::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: #6E6E6E33;
}

.box-second_border::before {
    left: 0;
    margin-left: -2rem;
}

.box-second_border::after {
    right: 0;
    margin-right: -2rem;
}

.home_event_wrapp {
    padding: 15px 20px;

    &:not(:last-child) {
        border-bottom: 2px #ccc solid;
    }

    span {
        font-size: small;
        color: gray;
    }
}

.home_event_wrapp:hover .home_event_title {
    color: #327E9E;
}

.home_event_wrapp .event_type {
    font-size: small;
    color: gray;
}

.home_event_box {
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 10px;
}

.home_event_image {
    max-width: 199px;
    width: 100%;
    height: 96px;
    display: block;
}

.home_event_image img{
    object-fit: cover;
}

.home_event_content{
    position: relative;
    max-width: 300px;
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 15px;
}

.home_event_content::before {
    content: '';
    position: absolute;
    width: 1px;
    height: 100%;
    background-color: #ccc;
    left: 0;
    top: 0%;
}

.home_event_date {
    max-width: 100px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

p.home_event_score{
    font-size: small;
    color: gray;
}

.home_event_title {
    color: #000;
    font-family: 'Montserrat';
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
}



.main_contents_wrapp {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 1141px;
    width: 100%;
    margin: auto;
    margin-bottom: 4.8rem;
}
#left_side{
    max-width: 284px;width: 100%;
}
#right_side .right_content {
    background-color: white;
    border-radius: 10px;

    .date {
        font-size: small;
        color: gray;
    }
}

#right_side .right_content .content {
    &:not(:last-child) {
        border-bottom: 2px black solid;
        padding: 2px;
    }
}



.right_box {
    background-color: white;
    border-radius: 10px;

    .date {
        font-size: small;
        color: gray;
    }

    .content {
        &:not(:last-child) {
            border-bottom: 2px black solid;
            padding: 2px;
        }
    }
}

.feed_nav {
    padding-left: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ccc;
}

.feed_nav button {
    background: none;
    border-radius: 23px;
    font-family: Arial;
    font-weight: 400;
    font-size: 16px;
    font-style: normal;
    border: none;
    border: 1px solid #A4A4A4;
    padding: 2px 12px;
}

.feed_nav button.active {
    color: #FFF;
    font-weight: 700;
    background-color: #1B2053;
}

.feed_nav button:hover {
    color: #FFF;
    font-weight: 700;
    background-color: #1B2053;
    border: 1px solid #A4A4A4;
}

.feed_nav button:hover {
    color: #327E9E;
    border: 1px solid #327E9E;
    background: rgba(50, 126, 158, 0.30);
}

.feed_lists {
    margin-bottom: 0;
    padding-left: 0;
}

.feed_lists li {
    list-style: none;
    padding: 10px 20px;
}

.feed_list_title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.feed_list {
    display: block;
    gap: 12px;
    padding: 10px 0;
}
.feed_list:nth-child(n+2) {
    border-top: 2px solid #ccc;;
}

.feed_list_user {
    padding: 3px 0;
    display: flex;
    gap: 10px;
}

.feed_list_user img{
    max-width: 36px;
    height: 36px;
}
.feed_list_user_share.share_link {
    display: flex;
    align-items: center;
    position: relative;
}
.share_link.MuiBox-root.jss504{
    right: 15px;
    top: 0px;
}
.feed_list_image {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 244px;
    width: 100%;
}
.feed_list_image img{
    width: 100%;
    height: 96px;
    object-fit: cover;
    object-position: center;
}
.feed_list_content {
    font-family: 'Montserrat';
    font-style: normal;
    width: 80%; /*本文短いとスタイル崩れるので*/
}

.feed_list_user_text p {
    color: #000;
    font-size: 12px;
    font-weight: 700;
    line-height: 20px;
    letter-spacing: 0px;
    margin-bottom: 0;
}

.feed_list_user_text span {
    color: #696969;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: 0px;
    display: block;
}

.feed_list_content_read {
    overflow-wrap: break-word;
    word-break: break-word;
    font-size: 16px;
    line-height: 1.5;
    color: rgb(38, 38, 38);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    padding: 3px 0px;
}
.feed_list_content_read div {
    margin-left: 0 !important; /* margin-left をリセット */
    float: none !important; /* float を無効化 */
}
.feed_list_content_read h2{
    all: unset !important;
}
.feed_list_content_read h3 {
    color: #000;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    letter-spacing: 0px;
}
.feed_list_content_read a {
    text-decoration: none;
}

.feed_list_content_read a:hover h3 {
    color: #327E9E;
}

.feed_list_content_read p {
    color: #696969;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: 0px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.feed_list_title span {
    color: #696969;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: 16px;
    letter-spacing: 0px;
}

/* 機能追加後修正 */
.feed_list_content_button button {
    background: none;
    border: none;
    padding: 0;
    margin-right: 1rem;
    padding-top: 8px;
    vertical-align: middle;
}

.feed_list_user_share button {
    background: none;
    border: none;
    padding: 0;
    margin-right: .5rem;
}

/* //// */

/* homeお知らせ箇所ページネーションCSS */
.pagination-links--left nav.flex.items-center.justify-between .hidden.sm\:flex-1.sm\:flex.sm\:items-center.sm\:justify-between{
    display: block;
    text-align: left;
}
.pagination-links--left nav.flex.items-center.justify-between p.text-sm.text-gray-700.leading-5.dark\:text-gray-400{
    color: #fff;
    padding: 10px 0;
}
.pagination-links--right nav.flex.items-center.justify-between p.text-sm.text-gray-700.leading-5.dark\:text-gray-400{
    color: #fff;
    padding: 10px 0;
}
/*  */


@media screen and (max-width: 1024px) {
    #middle_side{
        width: 100%;
    }
    #middle_side .nav_box {
        max-width: 90%;
        padding: 20px 40px;
        gap: 40px;
    }

    .event_box-image {
        width: 50px;
        height: 50px;
    }
    .home_event_wrapp img{
        max-width: initial;
    }
    .feed_list_image{
        max-width: initial;
    }
    .feed_list_image img{
        width: 100%;
        max-width: initial;
        height: auto;
        max-height: 109px;
    }
    .event_box-title h2 {
        font-size: medium;
    }

    .event_box-text p {
        font-size: 10px;
    }

    .comment-slider {
        max-width: 700px;
    }
    .main_contents_wrapp{
        max-width: 780px;
        width: 100%;
        padding: 0 30px;
    }
    .feed_list_image{
        justify-content: left;
    }

    .feed_list {
        flex-direction: column;
        gap: 8px;
    }
    .feed_list_content{
        width: 100%;
    }
    .feed_list_user_text{
        width: 100%;
    }
    .home_event_content{
        padding-top: 0px;
        padding-left: 5px;
    }
}


@media screen and (max-width: 767px) {
    #middle_side .nav_box {
        max-width: 100%;
        padding: 16px;
        gap: 20px;
    }

    .event_box-image {
        width: 40px;
        height: 40px;
        margin-top: 1rem;
    }

    .event_box-title h2 {
        font-size: small;
    }

    .event_box-text p {
        font-size: 10px;
    }
    .comment-slider {
        max-width: 85%;
        flex-direction: row;
    }

    .comment-box {
        flex-direction: column;
    }

    .feed_nav {
        padding-left: 10px;
        padding-bottom: 10px;
    }

    .feed_nav button {
        font-size: 14px;
        padding: 2px 8px;
    }
    .feed_list_content_read{
        margin: 0 auto;
    }
    .feed_list_content{
        width: 100%;
    }
    .feed_list {
        flex-direction: column;
        gap: 6px;
    }
    .feed_list_image {
        width: 100%;
        object-fit: cover;
        max-height: fit-content;
    }
    .main_contents_wrapp {
        display: block;
    }
    .main_contents_wrapp{
        max-width: initial;
    }
    #left_side{
        max-width: initial;
        width: 87%;
        margin: auto;
    }
    .home_event_wrapp {
        padding: 20px 10px;
    }
    .home_event_box {
        flex-wrap: wrap;
        align-items: baseline;
    }
    .home_event_image {
        max-width: 100%;
        height: auto;
    }
    .main_contents_wrapp{
        display: block;
    }
    section#right_side{
        width: 87%;
        margin: auto;
        margin-top: 5rem;
        padding: 0;
    }
    .col-8{
        max-width: 100%;
    }
    #middle_side .nav_box {
        display: block;
        width: 80%;
        .box {
            max-width: initial;
        }
    }
    .box-second_border::before, .box-second_border::after{
        content: none;
    }
    .box-second_border{
        border-top: 2px solid #ccc;
        border-bottom: 2px solid #ccc;
    }
    .home_event_content::before {
        content: none;
    }
}
