.newsTopic {
    display: flex;
    justify-content: center;
    gap: 60px;
    width: 100%;
    padding: 200px 0;

    background: #f7f7f7;
}



.news,
.topic {
    display: flex;
    align-items: center;
    flex-direction: column;
}
.news > p,
.topic > p {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 60px;

    font-size: 60px;
    font-weight: 700;
    font-family: "Barlow",sans-serif;
    text-transform: uppercase;
}
.news > p span,
.topic > p span {
    font-size: 16px;
}
.news a,
.topic a {
    color: #000;
    text-decoration: none;
}
.news_container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    width: 540px;
    padding: 50px 0;

    border-top: solid 2px #6e3201;
}
.newsBg {
    position: absolute;
    top: 0;
    right: 100%;
    width: 0%;
    height: 100%;

    background: #fff;

    opacity: .7;
}
.news_container:hover .newsBg {
    animation: newsAnimation .5s linear forwards;
}
@keyframes newsAnimation {
    0% {
        width: 0%;
    }
    70% {
        width: 100%;
    }
    71% {
        right: 0;
        width: 100%;
    }
    100% {
        right: 0;
        width: 0%;
    }
}
.news_container .news_content-date {
    position: relative;
    font-size: 17px;
    font-family: noto-sans-cjk-jp,sans-serif;
}
.news_container .news_content-info {
    position: relative;
    padding: 4px 20px;

    background: #6e3201;

    color: #fff;
    font-size: 12px;
    font-family: noto-sans-cjk-jp,sans-serif;
    text-align: center;
    white-space: nowrap;
}
.news_container .news_content-contents {
    position: relative;
    font-size: 15px;
    font-family: noto-sans-cjk-jp,sans-serif;
}
.news a:last-child {
    position: relative;
    margin-left: 400px;
    padding: 5px 0;

    border-bottom: solid 2px #6e3201;

    color: #6e3201;
    font-size: 1.6rem;
    text-decoration: none;
}
.news a:last-child::before {
    content: '→';
    position: absolute;
    top: 0;
    right: -40px;
    width: 40px;
    height: 100%;

    color: #6e3201;
    text-align: center;
    line-height: 30px;

    transition: .5s;
}
.news a:last-child:hover::before {
    transform: translateX(10px);
}
.news a:last-child::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0%;
    height: 2px;

    background: #f7f7f7;
}
.news a:last-child:hover::after {
    animation: detailA 1s linear forwards;
}



.topic > div {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    width: 540px;
    margin-bottom: 60px;
}
.topic_container {
    width: 250px;
}
.topic_container-imgBx {
    width: 100%;
    height: 160px;
    overflow: hidden;
}
.topic_container-imgBx img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: 1s;
    transform-origin: center center;
}
.topic_container:hover .topic_container-imgBx img {
    transform: scale(1.2);
}
.topic_container p {
    margin-top: 5px;

    font-size: 15px;
}
.topic_container-imgBx-date {
    margin-top: 12px;

    font-size: 17px;
}
.topic > a {
    position: relative;
    margin-left: 400px;
    padding: 5px 0;

    border-bottom: solid 2px #6e3201;

    color: #6e3201;
    font-size: 1.6rem;
    text-decoration: none;
}
.topic > a::before {
    content: '→';
    position: absolute;
    top: 0;
    right: -40px;
    width: 40px;
    height: 100%;

    color: #6e3201;
    text-align: center;
    line-height: 30px;

    transition: .5s;
}
.topic > a:hover::before {
    transform: translateX(10px);
}
.topic > a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0%;
    height: 2px;

    background: #f7f7f7;
}
.topic > a:hover::after {
    animation: detailA 1s linear forwards;
}





@media screen and (max-width:1100px) {
    .newsTopic {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        width: 100%;
        padding: 200px 0;
    
        background: #f7f7f7;
    }
}





@media screen and (max-width:540px) {
    .newsTopic {
        display: flex;
        justify-content: center;
        gap: 60px;
        width: 100%;
        padding: 100px 0;
    
        background: #f7f7f7;
    }



    .news_container {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        width: 360px;
        padding: 50px 0;
    }
    .news_container .news_content-date {
        font-size: 1.6rem;
    }
    .news a:last-child {
        margin-left: 200px;
    }


    

    .topic > div {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 40px;
        width: 360px;
        margin-bottom: 60px;
    }
    .topic > a {
        position: relative;
        margin-left: 200px;
        padding: 5px 0;
    }
}