.category-section {
    position: relative;
    background: linear-gradient(180deg, rgba(214, 221, 229, 0.00) 0%, rgba(214, 221, 229, 0.40) 100%);
}
.category-section .back-button {
    transform: rotateY(180deg);
}
.category-list {
    padding-bottom: 91px;
    margin-bottom: 105px;
    position: relative;
    z-index: 2;
}
.category-list .items, .category-list-child .items {
    margin: 0 -34px;
    padding: 0;
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
}
.category-list .items .item {
    padding: 0 34px;
    width: 25%;
    margin-bottom: 28px;
}
.category-list-child .item {
    padding: 0 34px;
    margin-bottom: 28px;
}
.category-list .items .cate-link, .category-list-child .items .cate-link {
    display: block;
    padding: 23px 21px;
    border-radius: 15px;
    background: #FFF;
    box-shadow: 2px 2px 15px 0px rgba(0, 0, 0, 0.05);
}
.category-list .btn-expand {
    text-align: center;
    margin-top: 33px;
}
.category-list .item.hidden {
    display: none;
}
.category-detail {
    padding: 61px 65px;
    margin-bottom: 79px;
}
.category-detail .name-tag {
    font-weight: 400;
    line-height: 24px;
    color: var(--secondary);
}


.category-section {
    background: linear-gradient(180deg, rgba(214, 221, 229, 0.00) 0%, rgba(214, 221, 229, 0.40) 100%);
}

.category-list h2 {
    text-align: center;
    margin: 0 0 23px;
}

.category-section {
    padding: 90px 0 0;
}
.category-list .desc {
    max-width: 795.14px;
    margin: 0 auto;
    text-align: center;
}

.category-list .desc p {
    line-height: 24px;
}

.category-list .bot-part {
    padding: 78px 0 3px;
}

.category-section .category-list .items .item, .category-list-child .items .item {
    padding: 0 17px;
    margin-bottom: 29px;
}

.category-list .items .cate-link span, .category-list-child .items .cate-link span {
    font-family: 'Noto Sans JP';
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.category-list .items .cate-link span{
    width: calc(100% - 55px);
}
.category-section .category-list .items .cate-link{
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 23.5px 21px;
}
.category-list-child .items .cate-link{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 23.5px 21px;
}
.category-section .category-list .items .cate-link .image, .category-list-child .items .cate-link .image{
    width: 43px;
    height: 40px;
}


.category-section .category-list .items .cate-link .image img, .category-list-child .items .cate-link .image img{
    max-width: 100%;
    height: auto;
}
.category-section .category-list {
    margin-bottom: 0px;
}

.category-section .inner-container {
    max-width: 1057px;
    margin: 0 auto;
    position: relative;
}

.category-section .category-list .items, .category-list-child .items {
    margin: 0 -17px;
    justify-content: center;
}

.category-section .container {
    position: relative;
}

.archive .bot-part {
    max-width: 1057px;
    margin: 0 auto;
    position: relative;
}

.archive .category-list .desc {
    padding-bottom: 78px;
}

.category-detail-content .name-tag {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 171.429% */
    text-transform: uppercase;
    margin-bottom: 12px;
}

.category-detail-content h4.category-name {
    font-style: normal;
    font-weight: 500;
    line-height: 35px;
    margin-top: 21px;
}

.category-detail-content {
    display: inline-block;
    padding: 0 281px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.category-detail-inner {
    text-align: center;
}

.archive .inner-container {
    max-width: 100%;
}

/* .archive .category-section .container {
    max-width: 1611px;
} */

.archive .category-detail {
    padding: 0;
    position: relative;
    margin-bottom: 0;
}

.archive .category-section {
    padding: 88px 0 0;
}

.category-icon img {
    width: 56px;
}


.archive .category-detail .top-part {
    position: absolute;
    top: 9px;
    left: 0;
    z-index: 9;
    padding: 0;
}

.category-list-child{
    max-width: 1200px;
    padding: 0 36px;
    margin: auto;
    position: relative;
    z-index: 2;
}

.category-total {
    font-size: 24px;
    line-height: 35px;
    text-align: center;
    padding-bottom: 20px;
}
@media (max-width: 1199px){
    .category-section .category-list .items .item {
        padding: 0 10px;
        margin-bottom: 13px;
    }
    .category-list-child .items .item{
        justify-content: center;
        display: flex;
        padding: 0 13px;
        margin-bottom: 13px;
    }
    .category-section .category-list .items, .category-list-child .items {
        margin: 0 -10px;
    }

    .category-section .category-list .items .cate-link {
        gap: 11px;
    }

    .category-list .items .cate-link span {
        width: calc(100% - 50px);
    }
}

@media (max-width: 767px){
    .category-list-child{
        padding: 0 0 20px;
    }
    .archive .category-list .desc {
        padding-bottom: 43px;
    }
    .blog-section .top-section .post-date{
        display: none;
    }
    .category-section .top-part {
        padding: 0 60px;
    }

    .category-section {
        padding: 96px 0 0;
    }
    .category-section .category-list .items .item, .category-list-child .items .item {
        padding: 0 5px;
        width: 50%;
        display: flex;
    }
    
    .category-section .category-list .items, .category-list-child .items {
        margin: 0 -5px;
        align-items: stretch;
    }

    .category-section .top-part h2 {
        font-size: 32px;
        font-style: normal;
        font-weight: 300;
        line-height: 39px;
        margin: 0 0 33px;
    }
    
    .category-list .items .cate-link span  {
        font-size: 12px;
        width: calc(100% - 55px);
    }
    .category-list-child .items .cate-link span{
        font-size: 12px;
    }
    .category-section .category-list .items .cate-link img, .category-list-child .items .cate-link img {
        max-width: 28px;
        gap: 19px;
    }
    
    .category-section .category-list .items .cate-link, .category-list-child .items .cate-link {
        gap: 0;
        padding: 15.5px 11px;
        border-radius: 10px;
        min-height: 65px;
        width: 100%;
    }

    .category-section .category-list .items .cate-link .image, .category-list-child .items .cate-link .image {
        width: 38px;
        height: 35px;
        margin-right: 19px;
    }

    .category-section .bot-part {
        padding: 43px 0 3px;
    }

    
    .category-detail-content {
        padding: 0;
        width: 100%;
    }

    .archive .category-detail-content:before {
    width: 94.806px;
    height: 101.937px;
        right: 0px;
        top: -22px;
        
    }

    .archive .category-detail-content::after {
        width: 84.737px;
    height: 108.235px;
        left: 0px;
    }
    
    .archive .category-detail .top-part {
        position: static;
        text-align: left;
        margin-bottom: 31px;
        padding: 0;
    }

    .category-detail-content h4.category-name {
        font-size: 20px;
        font-style: normal;
        font-weight: 500;
        line-height: 35px;
        margin-top: 18px;
    }

    .archive .top-part a.button.back-button {
        margin: 0;
        justify-content: flex-end;
    }

    .archive .category-section {
        padding: 32px 0 0;
    }

    .archive  .category-section .bot-part {
        padding: 0 0 42px;
    }
    

}


@media (max-width: 500px){
        
    .category-section .top-part {
        padding: 0 0px;
    }
}

@media (max-width: 429px){ 
    .category-section .top-part h2 {
        padding: 0 42px;
    }
}

@media (max-width: 413px){
    .category-section .category-list .items .item, .category-list-child .items .item {
        width: 100%;
    }
}