@charset "utf-8";
/* CSS Document */
.news_detail {
    color: #fff;
}

.news_detail h1,
.news_detail h2,
.news_detail h3,
.news_detail p,
.news_detail a,
.news_detail span {
    color: #fff;
}

.news_detail .webgene-blog {
    max-width: 1000px;
    margin: 0 auto;
}

.news_detail .catelabel {
    padding: 0 10px;
    border: 1px solid #fff;
    border-radius: 1px;
}

.main-wrap {
    overflow: visible;
}

.news_d1 {
    position: relative;
    width: 100%;
    color: #fff;
    background-color: #000;
}

body.on .news_d1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: clamp(220px, 30vw, 380px);
    pointer-events: none;
    background:
        radial-gradient(
            ellipse at 42% 0%,
            rgba(65, 67, 69, 0.34) 0%,
            rgba(34, 36, 38, 0.19) 36%,
            rgba(0, 0, 0, 0) 76%
        ),
        linear-gradient(
            180deg,
            rgba(28, 30, 32, 0.5) 0%,
            rgba(0, 0, 0, 0) 100%
        );
}

.news_d1 > .width-1280-max {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: clamp(40px, 6vw, 75px);
}

.news_d1 .cate-wrap {
    position: sticky;
    top: 100px;
    flex: 0 0 clamp(165px, 17vw, 210px);
    min-width: 0;
}

.news_d1 .cate-wrap .titlebox {
    width: 100%;
    margin-bottom: 8px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.news_d1 .cate-wrap .titlebox p {
    margin: 0;
    color: #fff;
    font-size: clamp(24px, 1.3vw, 30px);
    line-height: 1.5;
    letter-spacing: 0.08em;
}

.news_d1 .cate-wrap .webgene-blog {
    display: flex;
    width: 100%;
    flex-direction: column;
}

.news_d1 .cate-wrap .webgene-item {
    width: 100%;
}

.news_d1 .cate-wrap .webgene-item a {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 48px;
    padding: 13px 0;
    align-items: center;
    justify-content: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
    transition:
        padding-left 0.35s ease,
        background-color 0.35s ease,
        border-color 0.35s ease;
}

.news_d1 .cate-wrap .webgene-item a p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.6;
    letter-spacing: 0.08em;
    transition: color 0.35s ease;
}

.news_d1 .cate-wrap .webgene-item a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 4px;
    height: 4px;
    background-color: #b49a43;
    border-radius: 50%;
    opacity: 0;
    transform: translateY(-50%);
    transition:
        opacity 0.35s ease,
        left 0.35s ease;
}

.news_d1 .cate-wrap .webgene-item a.on {
    padding-right: 12px;
    padding-left: 26px;
    background-color: rgba(180, 154, 67, 0.18);
    border-color: rgba(180, 154, 67, 0.55);
}

.news_d1 .cate-wrap .webgene-item a.on::before {
    left: 12px;
    opacity: 1;
}

.news_d1 .cate-wrap .webgene-item a.on p {
    color: #fff;
}

@media (hover: hover) {
    .news_d1 .cate-wrap .webgene-item a:not(.on):hover {
        padding-left: 14px;
        border-color: rgba(180, 154, 67, 0.55);
    }

    .news_d1 .cate-wrap .webgene-item a:not(.on):hover::before {
        left: 1px;
        opacity: 1;
    }

    .news_d1 .cate-wrap .webgene-item a:not(.on):hover p {
        color: #fff;
    }
}

.news_d1 .contents {
    flex: 1;
    min-width: 0;
    margin: 0;
}

.news_d1 .contents .webgene-blog {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    align-items: start;
    gap: clamp(48px, 6vw, 70px) clamp(18px, 2.5vw, 32px);
}

.news_d1 .contents .webgene-item {
    width: 100%;
    min-width: 0;
}

.news_d1 .contents .webgene-item > a {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "image image"
        "date category"
        "title title";
    width: 100%;
    min-width: 0;
    align-items: center;
    column-gap: 10px;
    opacity: 1;
}

.news_d1 .contents .webgene-item .imgbox {
    grid-area: image;
    width: 100%;
    margin-bottom: 14px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 0;
    background-color: #171717;
}

.news_d1 .contents .webgene-item .imgbox img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    transition:
        transform 0.4s ease,
        filter 0.4s ease;
}

.news_d1 .contents .webgene-item > a > .flex {
    grid-area: date;
    display: block;
    min-width: 0;
    margin: 0;
}

.news_d1 .contents .webgene-item .date {
    margin: 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: clamp(11px, 1vw, 13px);
    line-height: 1.4;
    letter-spacing: 0.07em;
    white-space: nowrap;
}

.news_d1 .contents .webgene-item .catename {
    grid-area: category;
    display: inline-flex;
    min-height: 24px;
    margin: 0;
    padding: 2px 10px;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(10px, 0.9vw, 12px);
    line-height: 1.4;
    letter-spacing: 0.06em;
    white-space: nowrap;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 0;
}

.news_d1 .contents .webgene-item h2 {
    grid-area: title;
    display: -webkit-box;
    min-height: 3.4em;
    margin: 15px 0 0;
    overflow: hidden;
    color: #fff;
    font-size: clamp(14px, 1.3vw, 16px);
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0.06em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    transition: color 0.35s ease;
}

@media (hover: hover) {
    .news_d1 .contents .webgene-item > a:hover {
        opacity: 1;
    }

    .news_d1 .contents .webgene-item > a:hover .imgbox img {
        filter: brightness(1.08);
    }

    .news_d1 .contents .webgene-item > a:hover h2 {
        color: #c2a64d;
    }
}

.news_d1 .contents .webgene-blog > .webgene-pagination {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: clamp(10px, 2vw, 25px);
}

.news_d1 .webgene-pagination {
    width: 100%;
}

.news_d1 .webgene-pagination ul {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(10px, 3vw, 30px);
}

.news_d1 .webgene-pagination ul a {
    display: flex;
    width: 44px;
    aspect-ratio: 1 / 1;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    transition:
        color 0.35s ease,
        background-color 0.35s ease,
        border-color 0.35s ease;
}

.news_d1 .webgene-pagination ul .selected a {
    color: #000;
    background-color: #b49a43;
    border-color: #b49a43;
    pointer-events: none;
}

@media (hover: hover) {
    .news_d1 .webgene-pagination ul a:hover {
        color: #000;
        background-color: #fff;
        border-color: #fff;
    }
}

@media screen and (max-width: 1080px) {
    .news_d1 > .width-1280-max {
        gap: clamp(30px, 4vw, 48px);
    }

    .news_d1 .cate-wrap {
        flex-basis: 170px;
    }

    .news_d1 .contents .webgene-blog {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 52px 18px;
    }

    .news_d1 .contents .webgene-item h2 {
        letter-spacing: 0.04em;
    }
}

@media screen and (max-width: 900px) {
    .news_d1 .cate-wrap {
        flex-basis: 160px;
    }

    .news_d1 .contents .webgene-blog {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 48px 24px;
    }
}

@media screen and (max-width: 768px) {
    .news_d1 > .width-1280-max {
        flex-direction: column;
        gap: clamp(45px, 8vw, 65px);
    }

    .news_d1 .cate-wrap,
    .news_d1 .contents {
        width: 100%;
        flex: none;
    }

    .news_d1 .cate-wrap {
        position: relative;
        top: auto;
    }

    .news_d1 .cate-wrap .webgene-blog {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 24px;
    }

    .news_d1 .contents .webgene-blog {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 45px 20px;
    }
}

@media screen and (max-width: 576px) {
    .news_d1 > .width-1280-max {
        gap: 45px;
    }

    .news_d1 .cate-wrap .webgene-blog {
        grid-template-columns: 1fr;
    }

    .news_d1 .contents .webgene-blog {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .news_d1 .contents .webgene-item h2 {
        min-height: 0;
        font-size: 15px;
    }

    .news_d1 .contents .webgene-item .imgbox {
        margin-bottom: 12px;
    }

    .news_d1 .webgene-pagination ul a {
        width: 40px;
        font-size: 13px;
    }
}

/* ---------- IEのみ ---------- */
@media all and (-ms-high-contrast: none) {
}
/* ---------- 1280px ~ ---------- */
@media screen and (max-width: 1280px){
}
/* ---------- 1080px ~ ---------- */
@media screen and (max-width: 1080px){
}
/* ---------- 768px ~ ---------- */
@media screen and (max-width: 768px){
}
/* ---------- 576px ~ ---------- */
@media screen and (max-width: 576px){
}
/* ---------- 350px ~ ---------- */
@media screen and (max-width: 350px){
}

