/*-------------------------
  共通
-------------------------*/
.category-label {
    display: inline-flex;
    font-size: 14px;
    color: #fff;
    font-weight: normal;
    color: #383838;
    position: relative;

    @media screen and (max-width:991px) {
        font-size: 14px;
        padding: 3px 16px;
    }
}

.category-label.news {
    background-color: #238589;
    color: #fff;
    padding: 4px;
}

.category-label.press-release {
    background-color: #238589;
    color: #fff;
}

.category-label.event {
    background-color: #238589;
    color: #fff;
}

.category-label.other {
    background-color: #238589;
    color: #fff;
}


.btn-news {
    text-align: center;
    margin-top: 88px;
    border-radius: 30px;
}

.btn-news-post {
    display: inline-block;
    padding: 10px 47px 10px 20px;
    background: #000000;
    color: #fff;
    border-radius: 50px;
    position: relative;
}

.btn-news-post:after {
    content: "→";
    font-size: 18px;
    margin-left: 10px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.btn-news-post-wrap {
    text-align: right;
    margin-top: 40px;
}

.btn {
    border-radius: 30px !important;
}

.btn::after {
    content: none;
}

.btn::before {
    content: "←";
    font-size: 18px;
    padding-right: 10px;
}

.btn-news-post:hover::after {
    transform: translateX(10px) translateY(-50%);
}

.news-post-card {
    display: grid;
    grid-template-columns: 490px 1fr;
    gap: 64px;
}


/*-------------------------
  サイドバー
-------------------------*/
.sidebar {
    width: 300px;
    padding: 20px;

    @media screen and (max-width:991px) {
        width: 100%;
        padding: inherit;
    }
}

.sidebar-item {
    margin-bottom: 20px;
}

.sidebar-item h2 {
    font-weight: bold;
    font-size: 20px;
    border-bottom: 1px solid #922220;
    padding-bottom: 12px;
    margin-bottom: 12px;

    @media screen and (max-width:991px) {
        font-size: 20px
    }
}

.sidebar-item ul {
    padding-left: 24px;
}

.sidebar-archive {
    font-weight: normal;
    font-size: 24px;
    color: #aeaeae;
    width: fit-content;
}

.sidebar-archive li {
    position: relative;
    margin-top: 24px;
    font-weight: bold;
    font-size: 20px;
    color: #aeaeae;

    @media screen and (max-width:991px) {
        margin-top: 16px;
        font-size: 16px;
    }
}

.sidebar-archive li::after {
    content: "";
    position: absolute;
    width: 70px;
    height: 1px;
    background: #707070;
    bottom: -3px;
    left: 0;
}

.sidebar-cat li {
    margin-top: 24px;
    font-weight: 500;
    font-size: 20px;
    color: #161616;

    @media screen and (max-width:991px) {
        margin-top: 16px;
        font-size: 16px;
    }
}

.sidebar-cat a.current {
    position: relative;
}

.sidebar-cat a.current::before {
    content: "●";
    position: absolute;
    color: #333;
    margin-right: 8px;
    font-size: 14px;
    display: inline-block;
    left: -25px;
    top: 50%;
    transform: translateY(-50%);
}


/*-------------------------
  記事一覧　　archive
-------------------------*/

.news-page {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 75px;
    max-width: 1520px;
    margin: 0 auto;
}

.news-wrapper {
    display: flex;
    width: 100%;
    justify-content: space-between;

    @media screen and (max-width:991px) {
        flex-direction: column;
    }
}

.news-list {
    width: 970px;
    padding: 20px;

    @media screen and (max-width:991px) {
        width: inherit;
        padding: 20px 0 0 0;
    }
}

.news-item {
    display: flex;
    align-items: center;
    padding: 15px 0;

    @media screen and (max-width:991px) {
        flex-direction: column;
    }
}

.news-item a {
    align-items: center;

    @media screen and (max-width:991px) {
        display: block;
    }
}

.news-item img {
    width: 150px;
    height: auto;
    margin-right: 80px;
    width: 250px;
    border-radius: 10px;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
    aspect-ratio: 8 / 5;
    object-fit: cover;

    @media screen and (max-width:991px) {
        margin-right: inherit;
    }
}

.news-text {
    flex: 1;

    @media screen and (max-width:991px) {
        margin-top: 16px;
        max-width: 250px;
    }
}

.news-category {
    font-size: 14px;
    color: #0073aa;
    margin-left: 20px;
}

.news-date {
    font-weight: 500;
    font-size: 16px;
    color: #383838;
}

.news-title {
    font-weight: bold;
    margin-top: 13px;
    margin-bottom: 13px;
    font-weight: 500;
    font-size: 32px;
    color: #24b07d;


    @media screen and (max-width:991px) {
        font-size: 16px;
    }
}

.news-archive-img {
    max-width: 490px;
    position: relative;
}


.news-archive-img img {
    width: 95%;
    margin-left: 16px;
}


.news-archive-dec {
    position: absolute;
    background-image: url(/assets/img/news/news-bg.png);
    top: -5.5%;
    left: -16px;
    z-index: -1;
    width: 107%;
}

.news-archive-post {
    margin-top: 40px;
}


/*-------------------------
  記事詳細　　single
-------------------------*/
.news-single-main .kv-ttl-wrap {
    display: none;

    @media screen and (max-width:991px) {
        display: block;
    }
}

.news-single {
    max-width: 1380px;
    margin: 0 auto;

    @media screen and (max-width:991px) {
        margin: 28px auto;
    }
}

.news-single-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 54px;
    margin-top: 58px;

    @media screen and (max-width:991px) {
        display: flex;
        flex-direction: column;
        gap: unset;
    }
}

.news-single-date {
    font-weight: normal;
    font-size: 16px;
    color: #fff;

    @media screen and (max-width:991px) {
        color: #333;
    }
}

.news-single-title {
    margin-top: 6px;
    font-weight: bold;
    font-size: 40px;
    color: #333;
    border-bottom: 1px solid #404040;
    padding-bottom: 10px;

    @media screen and (max-width:991px) {
        font-size: 24px;
    }
}

.news-single-date {
    font-weight: 500;
    color: #383838;

    @media screen and (max-width:991px) {
        display: block;
    }
}

.news-single-img {
    margin-top: 55px;
    max-width: 820px;
    position: relative;

}

.news-single-img img {
    aspect-ratio: 13 / 9;
    object-fit: cover;
}

.news-single-img::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: #111111;
    top: -20px;
    left: -20px;
    z-index: -1;
}

.news-single-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: #922220;
    top: 20px;
    left: 20px;
    z-index: -1;
}


.news-single-small-ttl {
    font-weight: bold;
    font-size: 24px;
    color: #4c4c4c;
    margin-top: 40px;

    @media screen and (max-width:991px) {
        font-size: 20px;
    }
}

.news-single-text {
    font-weight: 500;
    font-size: 18px;
    color: #383838;
    margin-top: 40px;
}

.news-btn {
    text-align: center;
    margin-top: 40px;
}

.news-btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-weight: 500;
    font-size: 18px;
    color: #161616;
}

.news-other-list-inner {
    margin-bottom: 80px;
}

/* .news-other-list-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 90px;

    @media screen and (max-width:991px) {
        margin-bottom: 28px;
        flex-direction: column;
        gap: unset;
        align-items: flex-start;
    }
} */

.news-other-ttl-wrap {
    justify-items: center;
    margin-bottom: 40px;
    margin-top: 120px;

    @media screen and (max-width:991px) {
        margin-bottom: 28px;
        margin-top: 48px;
    }
}

.news-other-ttl-wrap h2 {
    font-weight: 500;
    font-size: 32px;
    color: #383838;
    position: relative;
    width: fit-content;

    @media screen and (max-width:991px) {
        font-size: 24px;
    }
}

.news-other-ttl-wrap h2::before {
    content: "▶";
    position: absolute;
    font-size: 20px;
    color: #000;
    top: 50%;
    left: -30px;
    transform: translateY(-50%);
}

.news-other-ttl-wrap span {
    font-weight: 500;
    color: #000;

}



.news-other .news-single-title {
    font-weight: 500;
    color: #000;
    margin-top: 16px;
    font-weight: 500;
    font-size: 32px;
    border-bottom: 1px solid #404040;
    margin-bottom: 50px;

    @media screen and (max-width:991px) {
        font-size: 16px;
    }
}

.news-other .news-single-img {
    margin-top: inherit;
    margin-bottom: 24px;
    max-width: 495px;
}

.news-other .news-single-img img {
    aspect-ratio: 30 / 20;
    object-fit: cover;
}

.news-other .news-single-date {
    color: #707070;
}

#contact {
    .btn-news {}

    .btn {
        display: inline-block;
        padding: 16px 32px 16px 67px;
        background: #000000;
        color: #fff;
        border-radius: 50px;
        position: relative;
    }

    .btn::before {
        content: "←";
        font-size: 18px;
        padding-right: 28px;
        position: absolute;
        top: 50%;
        left: 22px;
        transform: translateY(-50%);
        transition: transform 0.3s ease;
    }

    .btn:hover::before {
        transform: translateX(-10px) translateY(-50%);
    }

}

@media screen and (max-width:767px) {
    .news-page {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    #news {
        .common-sec {
            padding: 40px 16px;
        }

        /* .sec-ttl-cont {
            display: block;
            padding: 40px 0 0 0;
        } */
    }

    .news-archive-img img {
        width: 95%;
        margin-left: 0px;
    }

    #news.common-sec {
        padding: 0px 16px;
    }


    /* 
    #news.common-sec-start {
        padding: 0 16px 40px;
    }

    #news.common-sec {
        padding: 40px 16px !important;
    } */

    .news-post-card {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .news-archive-img {
        width: 100%;
        max-width: unset;
        display: flex;
        justify-content: center;
    }

    .news-archive-dec {
        position: absolute;
        background-image: url(/assets/img/news/news-bg.png);
        top: 50%;
        left: 52.5%;
        transform: translate(-50%, -50%);
        z-index: -1;
        width: 105%;
    }

    .news-single-text {
        font-size: 16px;
        margin-top: 16px;
    }

    .btn-news-post-wrap {
        text-align: center;
        margin-top: 24px;
    }

    .news-other-list-inner {
        margin-bottom: 40px;
    }

    .news-cate-cont {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 8px;
    }

    .news-category {
        font-size: 14px;
        color: #0073aa;
        margin-left: 0px;
    }

    .news-category {
        display: inline-block;
        background-color: #238589;
        padding: 0px 0px;
    }

    .news-single-img {
        margin-top: 55px;
        max-width: 95%;
        position: relative;
        margin: 50px auto 40px;
    }

    .news-single-img::before {
        top: -10px;
        left: -10px;
    }

    .news-single-img::after {
        top: 10px;
        left: 10px;
    }

    #news {
        .common-ttl h3 {
            font-size: 28px;
            font-weight: bold;
            color: #000000;
            margin-top: -27px;
        }
    }
}


@media (min-width: 768px) and (max-width: 1140px) {
    .news-archive-post {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .news-post-card {
        gap: 10px;
    }

    .pc {
        display: unset;
    }

    .news-post-card p {
        max-width: 90%;
        margin: 20px auto 0;
    }

    .btn-news-post-wrap {
        text-align: center;
    }

    .news-single-title {
        font-size: 28px;
    }
}