/**
* Home Styles
* 一覧ページ（NEWS お知らせ）のスタイル
*/

.news-item {
    border-bottom: 1px dotted #B2B0B0;
    padding: 20px 0;
}

.news-item__title {
    font-size: clamp(1rem, 0.92rem + 0.33vw, 1.125rem);
    font-weight: 500;
    text-decoration: underline;
    letter-spacing: .02rem;
    margin-bottom: 0;
}

.news-meta {
    margin-bottom: 12px;

    .news-meta__category {
        background-color: #CCE6F6;
        font-size: 0.75rem;
        font-weight: 500;
        display: inline-block;
        margin-left: 8px;
        padding: 0.25rem 0.5rem;
    }

    .news-meta__date {
        font-size: clamp(0.9rem, 0.67rem + 0.33vw, 0.875rem);
        display: inline-block;
        font-weight: 500;
        letter-spacing: 0.03rem;
    }
}




/**
* 点線セパレーター
*/
.separator--dotted {
    border-top: 2px dotted #B2B0B0;
}




/**
* お知らせ一覧へ戻るボタン
*/
.news-back-button {
    margin-top: clamp(4.375rem, 2.537rem + 7.54vw, 7.25rem);
}




/**
* もっと見るボタン
*/
.load-more-container {
    text-align: center;
    margin: 40px 0;
}

#load-more-button {
    margin: 0 auto;
}

/* ローディングスピナー */
.loading-spinner {
    text-align: center;
    margin: 20px 0;
}

.spinner-icon {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: var(--color-main);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* アコーディオンアニメーション用スタイル */
@keyframes accordionIn {
  from {
    opacity: 0;
    max-height: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    max-height: 500px;
    transform: translateY(0);
  }
}

.news-item--animating {
  animation: accordionIn 0.5s ease-out forwards;
  overflow: hidden;
}




/**
* Media Queries
*/
@media (min-width: 768px) {
}