@charset "UTF-8";

/* =======================================
News-contents
======================================= */
.news__container {
    display: flex;
    padding: 0px 5.3%;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin: 60px 0;
}

.news__header {
    display: flex;
    padding: 8px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    align-self: stretch;
    border-bottom: 2px solid var(--primary-green);
}

.news__meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.news__date {
    color: #676767;
    font-family: Lato;
    font-size: 1.6rem;
}

.news__category {
    display: flex;
    padding: 2px 4px;
    justify-content: center;
    align-items: center;
    color: #676767;
    font-size: 1.4rem;
    background-color: var(--primary-paleGreen);
}

.news__title {
    font-size: 1.8rem;
    font-weight: 500;
}

.news__body {
    display: flex;
    padding-bottom: 60px;
    flex-direction: column;
    align-items: flex-end;
    gap: 40px;
    align-self: stretch;
    border-bottom: 2px solid var(--primary-green);
}

.news__img {
    width: 100%;
    height: auto;
}

.news__note {
    padding: 0 8px;
    font-size: 1.8rem;
    line-height: 32px; /* 177.778% */
    letter-spacing: 0.18px;
    white-space: normal; 
    word-break: break-word;
    overflow-wrap: anywhere;
}

/* 記事段落margin */
.news__note p {
    margin-bottom: 1.8em;
}

/* 投稿内のリンクの色を自動変更 */
.news__note a {
  color: var(--primary-green);
  text-decoration: underline;
}

.news__note a:hover {
  color: var(--primary-lightBrown);
  text-decoration: none;
}

.btn-news {
    display: flex;
    height: 40px;
    padding: 0px 24px;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 1.6rem;
    font-weight: 700;
    background-color: var(--primary-green);
    color: var(--primary-white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.btn-news:hover {
    background-color: var(--primary-lightBrown);
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

/* News-contents-PC */
@media screen and (min-width:769px) {
    .article {
        max-width: 1440px;
        margin: 0 auto;
    }

    .news__container {
        display: flex;
        padding: 0px 22.22%;
        flex-direction: column;
        align-items: center;
        gap: 60px;
        margin: 60px 0 120px;
    }

    .news__header {
        padding: 16px 24px;
        gap: 16px;
    }

    .news__meta {
        gap: 32px;
    }

    .news__date {
        font-size: 1.8rem;
    }

    .news__category {
        font-size: 1.6rem;
    }

    .news__title {
        font-size: 3.2rem;
        font-weight: 600;
    }

    .news__note {
        padding: 0 24px;
    }

    .news__body {
        align-items: center;
        gap: 60px;
    }
}/* pc 769px */