@charset "utf-8";

.bg-wrap {
    border-radius: 100px 100px 0px 0px;
    background: #fffeea;
}

.bg-wrap .inner-16 {
    padding: 82px 0 100px;
}

.cate {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 17px 35px;
    margin-bottom: 64px;
}

.cate .webgene-blog {
    display: flex;
    align-items: center;
    gap: 17px 35px;
    flex-wrap: wrap;
}

.cate a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 17px 32px;
    background-color: transparent;
    position: relative;
    border-radius: 50px;
    background: #489fe4;
    border: 2px solid #fff;
    transition: .4s ease;
    font-family: var(--main);
    font-weight: 700;
    font-size: 18px;
    font-size: clamp(1rem, 0.97rem + 0.13vw, 1.125rem);
    letter-spacing: 0.04em;
    line-height: 32px;
    text-align: left;
    color: #fff;
}

.cate a p {
    font-family: var(--main);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.04em;
    line-height: 32px;
    text-align: left;
    color: #fff;
}

.cate a:hover {
    color: #489fe4;
    background: #fff;
    border: 2px solid #489fe4;
}

.cate a:hover p {
    color: #489fe4;
}

.blog-main .webgene-blog {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.blog-main .blogItem {
    width: 100%;
    background-color: #FFF;
    border-radius: 20px;
}

.blog-main .webgene-blog .blogcontents .blogelement {
    display: flex;
    align-items: center;
    gap: 21px;
    margin-bottom: 16px;
}

.blog-main .webgene-blog .blogcontents .blogItemTime {
    font-family: var(--main);
    font-weight: 700;
    font-size: 12px;
    line-height: 28px;
    color: #acacac;
}

.blog-main .webgene-blog .blogcontents .blogItemCate {
    font-family: var(--main);
    font-weight: 700;
    font-size: 14px;
    line-height: 31px;
    text-align: center;
    color: #489fe4;
    padding: 0 16px;
    border-radius: 50px;
    background: #fff;
    border: 2px solid #489fe4;
}

.blog-main .webgene-blog .blogthum {
    height: 208px;
}

.blog-main .webgene-blog .blogthum img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-main .webgene-blog .blogthum,
.blog-main .webgene-blog .blogthum img {
    border-radius: 10px 10px 0 0;
}

.blog-main .webgene-blog .blogcontents {
    padding: 33px 25px;
}



.blog-main .webgene-blog .blogcontents .blogItemTit {
    font-family: var(--main);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.04em;
    line-height: 30px;
    text-align: left;
    color: #000;
}

.blog-main.blogItem a {
    transition: .4s ease;
}

.blog-main .blogItem a:hover {
    opacity: 50%;
}

.blog-detail .box {
    border-radius: 30px;
    background: #fff;
    width: 95%;
    margin: 0 auto;
}

.blog-detail .box .box-inner {
    padding: 80px 122px 100px;
}

.blog-detail .blogItemText {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    margin-bottom: 40px;
}

.blog-detail .blogItemText .column {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.blog-detail .blogItemText .column .blogItemCate {
    border-radius: 50px;
    background: #489fe4;
    font-family: var(--main);
    font-weight: 700;
    font-size: 14px;
    line-height: 31px;
    text-align: center;
    color: #fff;
    padding: 0 16px;
}

.blog-detail .blogItemText .column .blogItemTime {
    font-family: var(--main);
    font-weight: 700;
    font-size: 12px;
    line-height: 28px;
    text-align: left;
    color: #acacac;
}

.blog-detail .blogItemText .blogDetailTit {
    font-family: var(--main);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.08em;
    line-height: 40px;
    text-align: left;
    color: #212121;
}

.blog-detail .blogDetailImg {
    margin-bottom: 56px;
}

.blog-detail .blogDetailTxt {
    font-family: var(--main);
    font-weight: 400;
    font-size: 16px;
    letter-spacing: 0.04em;
    line-height: 26px;
    text-align: left;
    color: #212121;
}

.blog-detail .page-navi {
    max-width: 236px;
    width: 100%;
    margin: 80px auto 0;
    transition: .4s ease;
}

.blog-detail .page-navi:hover {
    opacity: 50%;
}

.blog-detail .page-navi a {
    display: flex;
    align-items: center;
    padding: 0 24px 0 9px;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background: #005aaa;
    font-family: "Noto Sans JP";
    font-weight: bold;
    font-size: 16px;
    line-height: 60px;
    text-align: center;
    color: #fff;
}

.blog-detail .page-navi a .arrow {
    position: relative;
    width: 11px;
    height: 15px;
    background: url(/system_panel/uploads/images/20260211044618651726.svg) no-repeat center/contain;
    transform: scale(-1);
    border: none;
}

.blog-detail .page-navi a .arrow::before {
    content: "";
    background: none;
}


/*====================
Pagination
====================*/
.webgene-pagination {
    margin-top: 70px;
    width: 100%;
    grid-column: 1 / 4;
}

.webgene-pagination>ul {
    display: flex;
    gap: 40px;
    padding: 0;
    justify-content: center;
}

.webgene-pagination>ul>li {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    list-style: none;
}

.webgene-pagination>ul>li.next,
.webgene-pagination>ul>li.prev {
    width: 56px;
    height: 56px;
    border-radius: 50px;
    background: #d32e26;
    color: #d32e26;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .4s ease;
}

.webgene-pagination>ul>li.next a,
.webgene-pagination>ul>li.prev a,
.webgene-pagination>ul>li.next:hover a,
.webgene-pagination>ul>li.prev:hover a {
    color: #d32e26;
    display: flex;
    font-size: 1px;
    width: 100%;
    height: 100%;
    justify-content: center;

}

.webgene-pagination>ul>li.next:hover,
.webgene-pagination>ul>li.prev:hover {
    opacity: 50%;
}

.webgene-pagination>ul>li.next:before {
    content: "";
    position: absolute;
    background: url(/system_panel/uploads/images/20260211044618651726.svg) no-repeat center/contain;
    width: 11px;
    height: 9px;
}

.webgene-pagination>ul>li.prev:before {
    content: "";
    position: absolute;
    background: url(/system_panel/uploads/images/20260211044618651726.svg) no-repeat center/contain;
    transform: scale(-1);
    width: 11px;
    height: 9px;
}

.webgene-pagination>ul>li.selected,
.webgene-pagination>ul>li:hover {
    color: #000000;
}

.webgene-pagination>ul>li a {
    position: relative;
    color: #acacac;
    font-family: var(--eng);
    font-weight: 700;
    font-size: 24px;
    letter-spacing: 0.08em;
    text-align: center;
}

.webgene-pagination>ul>li.selected a,
.webgene-pagination>ul>li:hover a {
    position: relative;
    font-family: var(--eng);
    font-weight: 700;
    font-size: 24px;
    letter-spacing: 0.08em;
    text-align: center;
    color: #000;
}



@media screen and (max-width: 1300px) {
    .blog-main .webgene-blog {
        grid-template-columns: repeat(2, 1fr);
    }

    .webgene-pagination {
        grid-column: 1/3;
    }
}

@media screen and (max-width: 1300px) {
    .bg-wrap {
        border-radius: 40px 40px 0 0;
    }
}

@media screen and (max-width: 767px) {
    .blog-main .webgene-blog {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .cate a {
        padding: 10px 20px;
    }

    .webgene-pagination {
        grid-column: 1/2;
    }

    .blog-detail .box .box-inner {
        padding: 80px 20px 100px;
    }
}