@charset "utf-8";

/* ----------------お知らせ単体------------------ */

h2 {
    color: var(--primary-green);
    font-family: "Zen Maru Gothic";
    font-size: 3.6rem;
    font-style: normal;
    font-weight: bold;
    line-height: normal;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-color: #C1DFC4;
    text-decoration-thickness: 10%;
    text-underline-offset: 25%;
    text-underline-position: from-font;
    text-align: center;
}

.single-news {
    padding: 100px 19.8%;
}

.news__box {
    display: flex;
    padding: 20px 40px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    align-self: stretch;
    border-radius: 20px;
    background: var(--primary-palegreen);
    margin-top: 80px;
}

.news__time {
    color: var(--primary-green);
    font-family: "BIZ UDPGothic";
    font-size: 2.0rem;
    font-weight: bold;
    line-height: 30px;
    letter-spacing: 1px;
}

.news__box p{
    color: var(--primary-black);
    font-family: "BIZ UDPGothic";
    font-size: 2.0rem;
    font-weight: 400;
    line-height: 30px;
    letter-spacing: 1px;
}

.single-news .button {
    margin-top: 40px ;
}

/* ----------------------------------------------------
お知らせ単体タブレット用（768px〜1024px）
---------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .single-news {
        padding: 80px 9.3%;

    }
}

/* ----------------------------------------------------
お知らせ単体スマホ用（〜767px）
---------------------------------------------------- */
@media screen and (max-width: 768px) {
    h2 {
        font-size: 2.0rem;
    }

    .single-news {
        padding: 40px 11.3%;
    }

    .news__box {
        padding: 20px 20px;
        border-radius: 10px;
        margin-top: 40px;
    }

    .news__time {
        font-size: 1.6rem;
        font-weight: bold;
    }

    .news__box p{
        font-size: 1.6rem;
    }
}