@charset "utf-8";

.mainVisual__bg {
    background-image: url(../img/news/mv.jpg);
}

.news-articles__container {
    padding-left: var(--padding--container);
    padding-right: var(--padding--container);
}

.news-articles__text {
    margin-bottom: 3rem;
    font-family: var(--ff-noto-sans);
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 1.57;
}

.news-list__item {
    width: 100%;
    padding-bottom: 2rem;
}

.news-list__item:not(:last-child) {
    margin-bottom: 2.8rem;
    border-bottom: 1px solid #707070;
}

.news-list__item:last-child {
    margin-bottom: 5rem;
}

.news-list__item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.3rem;
}

.news-list__thumb {
    width: 44.27vw;
    height: 44.27vw;
}

.news-list__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-list__data {
    width: 40.8vw;
    font-weight: 700;
    line-height: 1.6;
}

.news-list__date {
    font-size: 1.5rem;
}

.news-list__type {
    background: #665546;
    color: #fff;
    font-size: 1rem;
    display: inline-block;
    vertical-align: baseline;
    padding: 2px 7px;
    margin-left: 5px;
}

.news-list__title {
    font-size: 1.6rem;
}

.news-list__text {
    margin-bottom: 1.8rem;
    font-family: var(--ff-noto-sans);
    font-weight: 400;
    font-size: 1.3rem;
    line-height: 1.53;
}

.news-list__button .button {
    width: 62.934vw;
    line-height: 40px;
    background-color: #C7842F;
}

.news-list__button .button::before,
.news-list__button .button::after {
    content: none;
}

/* ページネーション */
.news .pagination li.active {
    color: #fff;
    background-color: var(--primary-brown);
}

.pagination li,
.pagination a {
    background-color: var(--secondary-brown);
}


/* お知らせ詳細 */
.news-article {
    margin-bottom: 6rem;
    padding-left: var(--padding--container);
    padding-right: var(--padding--container);
}

.news-article iframe {
    max-width: 100%;
}

.news-article__content {
    margin-bottom: 4.2rem;
}

.news-article__title {
    margin-bottom: 1.4rem;
    font-weight: 700;
    font-size: 1.8rem;
    line-height: 1.2;
}

.news-article__date {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 1.4rem;
}

.news-article p {
    margin: 1em 0;
    font-family: var(--ff-noto-sans);
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 1.85;
}

.articles-link a {
    position: relative;
    width: 100%;
    font-family: var(--ff-noto-sans);
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 1.85;
    text-align: right;
}

.articles-link a::before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 0 6px 6px;
    border-color: transparent transparent transparent var(--primary-brown);
    position: absolute;
    top: 50%;
    left: auto;
    margin-top: -6px;
    margin-left: -10px;
}

/* お知らせ詳細 サイドバー */
.sidebar__container {
    padding-bottom: 4.5rem;
}

.other-news {
    margin-bottom: 2rem;
    padding: 1.4rem 0 2.3rem 1.7rem;
    background-color: var(--tertiary-brown);
}

.other-news__title {
    margin-bottom: 1.2rem;
    font-weight: 500;
    font-size: 1.4rem;
}

.other-news-list {
    width: 100%;
    padding-left: var(--padding--container);
    padding-right: var(--padding--container);
}

.other-news-list__item a {
    position: relative;
    width: 100%;
    font-family: var(--ff-noto-sans);
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 1.85;
}

.other-news-list__item a::before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 0 6px 6px;
    border-color: transparent transparent transparent var(--primary-brown);
    position: absolute;
    top: 0;
    left: -1.2rem;
    margin-top: 6px;
}

.news-articles-link {
    width: 100%;
    height: 50px;
    margin-bottom: 2rem;
    font-family: var(--ff-noto-sans);
    font-weight: 700;
    font-size: 1.6rem;
    line-height: 50px;
    color: var(--primary-brown);
    background-color: #fff;
    border: 2px solid var(--primary-brown);
    text-align: center;
}



@media (min-width: 1000px) {
    .mainVisual {
        margin-bottom: 8rem;
    }

    .mainVisual__bg {
        position: relative;
        background-image: url(../img/news/mv_pc.jpg);
    }

    .news-articles__container {
        max-width: var(--width--container);
        margin: auto;
        padding: 0;
    }

    .news-list__item {
        padding-bottom: 4rem;
    }

    .news-list__item:not(:last-child) {
        margin-bottom: 4.8rem;
    }

    .pc-news-list__content {
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    .news-list__thumb {
        width: 220px;
        height: 220px;
        margin-right: 2.6rem;
    }

    .news-list__data {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 708px;
        height: 220px;
    }

    .news-list__date {
        margin-bottom: 1rem;
    }

    .news-list__type {
        font-size: 1.2rem;
        padding: 2px 7px;
        margin-left: 10px;
    }

    .news-list__title {
        margin-bottom: 1.8rem;
        font-size: 2rem;
    }

    .news-list__button {
        margin-top: auto;
    }

    .news-list__button .button {
        width: 236px;
    }

    /* お知らせ詳細 */
    .single-news {
        margin-top: 100px;
    }

    .main-contents {
        flex-direction: row-reverse;
    }

    .news-article {
/*        width: 77%;*/
		width: 100%;
        margin-bottom: 12.5rem;
        padding: 0;
    }

    .news-article__content {
        margin-bottom: 8rem;
    }

    .news-article__title {
        margin-bottom: 4rem;
        font-size: 2.4rem;
    }

    .news-article__date {
        margin-bottom: .6rem;
        font-size: 1.6rem;
    }

    .articles-link {
        width: 100%;
        text-align: right;
    }

    .articles-link a {
        position: relative;
        width: auto;
    }

    .articles-link a::after {
        content: '';
        background-color: var(--primary-brown);
        width: 0%;
        height: 1px;
        position: absolute;
        left: 0;
        bottom: 0;
        transition: all .3s ease;
    }

    .articles-link a:hover::after {
        width: 100%;
    }

    /* お知らせ詳細 パンくずリスト */
    .single-news2 .p-breadcrumb__item {
        color: var(--primary-brown);
    }

    .single-news2 .p-breadcrumb__item:not(:last-child)::after {
        color: var(--primary-brown);
    }

    /* お知らせ詳細 サイドバー */
    .sidebar__container {
        display: flex;
        flex-direction: column;
    }

    .side-list {
        order: 0;
        margin-bottom: 2rem;
    }

    .other-news {
        order: 1;
        margin-bottom: 2rem;
        padding: 3.4rem 1.7rem 2.5rem;
    }

    .other-news__title {
        font-size: 1.4rem;
    }

    .other-news-list {
        width: 100%;
        padding-left: calc(var(--padding--container) - 1rem);
    }

    .other-news-list__item a::before {
        top: 0.7rem;
        left: -1rem;
        margin-top: 0;
    }

    .other-news-list__item a:hover {
        text-decoration: underline;
    }

    .news-articles-link {
        order: 2;
        margin-bottom: 0;
    }
}
