@charset "UTF-8";

.cats-menu {
    width: 100%;
    margin-bottom: 10.3rem;
    @media screen and (max-width: 767px) {
        margin-bottom: 4rem;
    }
    & ul {
        display: flex;
        gap: 2rem;
        @media screen and (max-width: 767px) {
            flex-wrap: wrap;
            gap: 1rem;
        }
        & li {
            @media screen and (max-width: 767px) {
                width: 48%;
            }
            & div {
                min-width: 15rem;
                background-color: #fff;
                padding: 1rem 1.4rem;
                box-sizing: border-box;
                border-radius: 3.9rem;
                font-family: var(--zenkaku);
                font-style: normal;
                font-weight: 700;
                font-size: 1.8rem;
                line-height: 120%;
                letter-spacing: 0.1em;
                color: #8b8b8b;
                display: flex;
                justify-content: center;
                align-items: center;
                cursor: pointer;
                transition: all 0.3s ease-in;
                @media screen and (max-width: 767px) {
                    width: 100%;
                    font-size: 1.4rem;
                    line-height: 1.4;
                }
                &:hover {
                    opacity: 0.75;
                    color: #f08300;
                }
            }
            div.active {
                color: #f08300 !important;
            }
        }
    }
}

.cat-content {
    & ul {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 3.6rem;
        @media screen and (max-width: 767px) {
            gap: 2rem;
        }
        & li {
            width: 100%;
            & a {
                width: 100%;
                border-bottom: #a2a2a2 1px solid;
                padding-bottom: 3.6rem;
                padding-right: 9rem;
                position: relative;
                @media screen and (max-width: 767px) {
                    padding-bottom: 2rem;
                    padding-right: 0;
                }
                &:after {
                    content: "";
                    position: absolute;
                    right: 0;
                    top: 38%;
                    transform: translateY(-50%);
                    width: 2rem;
                    height: 2rem;
                    background: url("../img/arrow.svg") no-repeat center / 100% auto;
                    @media screen and (max-width: 767px) {
                        display: none;
                    }
                }
                .cat {
                    display: inline-flex;
                    justify-content: center;
                    align-items: center;
                    padding: 1.1rem 1.6rem;
                    margin-bottom: 2.3rem;
                    background: #f08300;
                    border-radius: 0.4rem;
                    font-family: var(--zenkaku);
                    font-style: normal;
                    font-weight: 700;
                    font-size: 1.6rem;
                    line-height: 1;
                    letter-spacing: 0.06em;
                    color: #ffffff;
                    @media screen and (max-width: 767px) {
                        font-size: 1.4rem;
                        margin-bottom: 1rem;
                    }
                }
                .title {
                    font-family: var(--zenkaku);
                    font-style: normal;
                    font-weight: 700;
                    font-size: 2.2rem;
                    line-height: 150%;
                    letter-spacing: 0.1em;
                    color: #212121;
                    margin-bottom: 2.2rem;
                    @media screen and (max-width: 767px) {
                        font-size: 1.8rem;
                        margin-bottom: 1rem;
                    }
                }
                .date {
                    font-family: var(--zenkaku);
                    font-style: normal;
                    font-weight: 700;
                    font-size: 1.8rem;
                    line-height: 3.3rem;
                    letter-spacing: 0.06em;
                    color: #a7a7a7;
                    @media screen and (max-width:767px){
                    font-size: 1.4rem;
                    line-height: 1;
                    }
                }
            }
            & a:hover {
                opacity: 0.75;
                border-bottom: #f08300 1px solid;
                .date,
                .title {
                    color: #f08300;
                }
            }
        }
        & li:last-child {
            & a {
                /* border-bottom: none; */
            }
        }
    }
}
