@charset "utf-8";

/*--------------------------------------------------------------
  タイトル部分　設定
--------------------------------------------------------------*/
#news-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    margin: 0;
    padding: 0;

    width: 100%;
}

#news-title .titletext {
    margin: 0;
    padding: 10% 10% 5% 10%;
    width: 100%;

    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: flex-start;
    align-items: flex-end;

    color: #000;
    background-color: #fff;

}

#news-title .titleback {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 400px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}




#news-title .titletext>h1 {
    margin: 0;
    padding: 0 0 0.5rem 0;
    font-size: 3rem;
    line-height: 3rem;
    font-weight: 600;
    color: #000;
}

#news-title .titletext>h6 {
    margin: 0;
    padding: 0;
    font-size: 1rem;
    line-height: 1.5rem;
    color: #000;
}

@media (max-width: 767.98px) {

    /* sm 以下の画面サイズの場合のスタイル */
    #news-title .titletext {
        padding: 50px 1rem 5rem 1rem;
        grid-template-columns: 1fr;
    }

    #news-title .titletext>h1 {
        padding: 80px 0 0.5rem 0;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {

    /* md の画面サイズの場合のスタイル */
    #news-title .titletext {
        padding: 100px 1rem 5rem 1rem;
        grid-template-columns: 1fr;
    }

    #news-title .titletext {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 992px) {
    /* lg 以上の画面サイズの場合のスタイル */
}

/*--------------------------------------------------------------
  archive　news 設定
--------------------------------------------------------------*/

#news-archiveblock {
    margin:0;
    padding:3rem 0 0 0;
    min-height: 100vh;
    background-color: #fbfbf6;
}

#news-archiveblock h2 {
    margin: 0;
    padding: 3rem 0 0 0;
    text-align: center;
}

#news-archiveblock h3 {
    margin: 0;
    font-family: "Noto Serif JP", "Tinos", serif;
    font-weight: 200;
    text-align: center;
    letter-spacing: 0.1rem;
    opacity: 0.5;
    color:#b9be97;
}

#news-archiveblock h3::first-letter {
    font-size: 3em;
}

#news-archiveblock h5 {
    margin: 0 0 3rem 0;
    padding: 0;
    font-size: 1rem;
    font-weight: 500;
    color:#666;
    text-align: center;
    opacity: 0.5;
}


.news-archive-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 1rem;
    row-gap: 1rem;

    padding: 0 10% 0 10%;
}



#news-archiveblock .post-summary {
    width: 100%;

    padding: 1.5rem;
    border: 1px solid #ccc;
    border-radius: 1rem;

    background-color: #fff;

    filter: drop-shadow(2px 2px 2px rgb(0 0 0 / 0.1));
}

#news-archiveblock .post-summary .categories {
    display: inline-block;
    margin: 1.2rem 0 0.2rem 0;
    padding: 0;
    background-color: #0d19b6;
    color: #fff;
    font-size: 0.7rem;
    line-height: 0.7rem;
    font-weight: 600;
    border-radius: 1rem;
}

#news-archiveblock .post-summary .categories>a {
    display: inline-block;
    margin: 0;
    padding: 0.3rem 1rem;
}

#news-archiveblock .post-summary>h5 a {
    display: block;
    padding: 0.2rem 0 0.2rem 0;
    font-size: 1.3rem;
    line-height: 1.6rem;
    font-weight: 400;
}

#news-archiveblock .backimg-size {
    width: 100%;
    aspect-ratio: 1/1;
}

#news-archiveblock .thumbnail>a,
#news-archiveblock .thumbnail>a img {
    display: block;
    margin: 0;
    padding: 0;

    width: 100%;
    aspect-ratio: 1/1;

    border-radius: 0.8rem;
    overflow: hidden;
}

#news-archiveblock .post-summary>.excerpt {
    font-size: 0.8rem;
    line-height: 1.1rem;
    text-align: justify;
}

#news-archiveblock .post-summary>.date {
    color: #999;
    font-size: 0.8rem;
    line-height: 1.0rem;
}

#news-archiveblock .post-summary>.tags {
    color: #999;
    font-size: 0.9rem;
    line-height: 1.0rem;
}

@media (max-width: 767.98px) {

    /* sm 以下の画面サイズの場合のスタイル */
    .news-archive-grid {
        grid-template-columns: 1fr;
        column-gap: 1rem;
        row-gap: 1rem;

        padding: 0 1rem 1rem 1rem;
    }

}

@media (min-width: 768px) and (max-width: 991.98px) {

    /* md の画面サイズの場合のスタイル */
    .news-archive-grid {
        grid-template-columns: 1fr 1fr;
        column-gap: 1rem;
        row-gap: 1rem;

        padding: 0 1rem 1rem 1rem;
    }
}

@media (min-width: 992px) {
    /* lg 以上の画面サイズの場合のスタイル */
}