.header {
    height: 18vh;
    background-color: var(--color-nav);
}

/* ニュースページ基本スタイル */
.news-page h1{
    text-align: center;
}

.news-page .tagline{
    text-align: center;
    margin-bottom: 3rem;
}

.news-page .tagline::before{
    content: ' ';
    display: inline-block;
    width: 20px;
    height: 1px;
    background: var(--color-black);
    margin-right: 11px;
    line-height: 1;
}

.news-list {
    display: block;
    padding: 2rem 1rem;
    background-color: var(--color-base2);
}
  
.news-card {
    background: var(--color-white);
    padding: 1rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
    width: 100%;
    max-width: 75rem;
    margin-left: auto;
    margin-right: auto;
    transition: transform 0.4s ease-out, box-shadow 0.4s ease-out;
}
  
  
.news-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 1rem 2rem rgba(0, 5, 15, 0.3);
}
  
.news-title {
    font-size: 1.5rem;
    margin: 0.5rem 0 0.5rem 1rem;
    font-family: var(--font-mincho);
}

.news-list hr {
    border:1px dashed var(--color-nav);
    width: 100%;
    max-width: 75rem;
    margin-left: auto;
    margin-right: auto;
}

.c-article__meta {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.terms::before {
    position: absolute;
    top: 15px;
    left: 0;
    width: 1px;
    height: 16px;
    content: "";
    background-color: var(--color-black);
}

.c-article__meta>.date {
    padding-top: 5px;
    font-size: 14px;
    line-height: 1;
    color: var(--color-black);
    font-family: var(--font-mincho);
    font-weight: 500;
}

.c-article__meta>.terms {
    position: relative;
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    padding-left: 10px;
    margin-top: -10px;
    margin-left: 16px;
}

.c-article__meta>.terms>.category {
    margin-top: 10px;
    margin-left: 10px;
}

.c-tag {
    max-width: none;
}

.c-tag {
    display: inline-block;
    max-width: 14.5em;
    height: 25px;
    padding-right: 15px;
    padding-left: 15px;
    overflow: hidden;
    font-size: 12px;
    line-height: 25px;
    color: var(--color-white);
    font-family: var(--font-gothic);
    font-weight: 700;
    letter-spacing: 0;
    background-color: #485a69;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .news-title {
        font-size: 1rem;
    }
}

/* モーダルウィンドウ */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}
  
.modal.active {
    display: flex;
}
  
.modal-content {
    background: var(--color-white);
    padding: 2rem;
    max-width: 60rem;
    width: 80%;
    border-radius: 0.5rem;
    position: relative;
}
  
.modal-close {
    position: absolute;
    top: 0.5rem;
    right: 0.8rem;
    background: transparent;
    border: none;
    font-size: 2rem;
    cursor: pointer;
}

.modal-body h2{
    font-family: var(--font-mincho);
}

.modal-body h2::after{
    content: ' ';
    display: block;
    width: 7rem;
    height: 0.1rem;
    background: var(--color-black);
    margin-top: 0.7rem;
    margin-left: 0.25rem;
    line-height: 1;
}

.modal-body p{
    margin-top: 2rem;
    font-size: 1.2rem;
    font-family: var(--font-mincho);
    font-weight: bold;
}

@media (max-width: 768px) {
    .modal-body h2 {
        font-size: 1rem;
    }

    .modal-body p {
        font-size: 0.8rem;
    }
}

/* 無限スクロール用トリガー */
#scroll-trigger {
    height: 1px;
    width: 100%;
}