/* /css/top/curved-divider.css */
.curved-divider {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 8%; /* アスペクト比を制御 - 必要に応じて調整 */
  overflow: hidden;
}

.curved-divider svg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.curved-divider--top-light-bottom-white {
  background-color: var(--color-light-blue); /* 上部背景色 */
}





.news-section {
    background-color: #f3f4f5;
    padding: 80px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

/* 左カラム */
.news-left {
    display: flex;
    flex-direction: column;
}

.news-title-area {
    margin-bottom: 30px;
}

.news-label {
    display: block;
    font-size: 16px;
    color: #0085ff;
    margin-bottom: 8px;
}

/* 右カラム */
.news-right {
    display: flex;
    flex-direction: column;
}

/* カテゴリータブ */
.news-categories {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.news-category-tab {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    background-color: #e7e7e7;
    color: #666;
    transition: all 0.3s ease;
}

.news-category-tab.active {
    background-color: var(--color-dark-blue);
    color: #ffffff;
}

.news-category-tab:hover:not(.active) {
    background-color: var(--color-dark-blue);
    color: #ffffff;
}

/* ニュースリスト */
.news-list {
    background-color: #f3f4f5;
    border-radius: 12px;
    overflow: hidden;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s;
    position: relative;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

.news-thumb {
    flex: 0 0 120px;
    margin-right: 24px;
}

.news-thumb img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
}

.thumb-placeholder {
    width: 120px;
    height: 120px;
    background-color: #e0e0e0;
    border-radius: 4px;
}

.news-content {
    flex: 1;
}

.news-info {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.news-category-label {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    margin-right: 12px;
    background-color: rgba(0, 44, 108, 0.1);
    color: var(--primary);
}

/* カテゴリ別のスタイル */
.news-category-label.press-release {
    background-color: var(--color-light-blue);
    color: var(--color-dark-blue);
}

.news-category-label.news {
    background-color:  var(--color-light-blue);
    color: var(--color-dark-blue);
}

.news-category-label.interview {
    background-color:  var(--color-light-blue);
    color: var(--color-dark-blue);
}

.news-category-label.event {
    background-color:  var(--color-light-blue);
    color: var(--color-dark-blue);
}

.news-category-label.media {
    background-color:  var(--color-light-blue);
    color: var(--color-dark-blue);
}

.news-date {
    font-size: 14px;
    color: #666;
    margin-right: 12px;
    font-family: "BIZ UDPGothic", sans-serif !important;
}

.news-new {
    display: inline-block;
    font-size: 10px;
    font-weight: bold;
    color: #dc143c;
    border: 1px solid #dc143c;
    padding: 2px 6px;
    border-radius: 2px;
}

.news-item-title {
    font-size: 16px;
    margin: 0;
    padding-right: 70px; /* 矢印アイコンのためのスペース */
}

.news-item:hover .border-circle .animated {
    stroke-dashoffset: 0; /* ホバー時に完全表示 */
  }

    /* デスクトップを含むすべての画面サイズでのアスペクト比調整 */
    .news-thumb img,
    .thumb-placeholder {
      width: 120px;
      height: 80px; /* 3:2のアスペクト比 */
      object-fit: cover;
      border-radius: 4px;
    }


  @media (max-width: 1200px) {
    .news-category-tab {
        font-size: 10px;
    }
  }

  @media (max-width: 1000px) {
    .news-category-tab {
        font-size: 8px;
        padding: 4px 8px;
    }
  }


  /* 768px以下のレスポンシブ対応 */
@media (max-width: 768px) {
    .news-section {
        padding-top: 60px;
    }
    /* グリッドレイアウトを単一カラムに変更 */
    .news-grid {
      display: flex;
      flex-direction: column;
      gap: 24px;
    }
    
    /* 左カラム（タイトル部分）のスタイル調整 */
    .news-left {
      align-items: center;
      text-align: center;
    }
    
    /* タイトル部分の余白調整 */
    .news-title-area {
      margin-bottom: 20px;
    }
    
    /* 「お知らせ一覧へ」ボタンをいったん非表示に */
    .news-more {
      display: none;
    }
    
    /* カテゴリータブを2行に表示する */
    .news-categories {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 12px;
      margin-bottom: 24px;
    }
    
    /* カテゴリータブのスタイル調整 */
    .news-category-tab {
      white-space: nowrap;
      flex-basis: calc(50% - 12px);
      text-align: center;
      padding: 8px 16px;
      font-size: 14px;
    }
    
    /* ニュースアイテムのレイアウト調整 */
    .news-item {
      padding: 16px 0;
      display: flex;
      align-items: flex-start;
    }
    
    /* サムネイル画像のサイズとアスペクト比調整（3:2） */
    .news-thumb {
      flex: 0 0 120px;
      margin-right: 16px;
    }

    
    /* ニュース情報部分の調整 */
    .news-content {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
    }
    
    /* ニュース情報の順序調整 */
    .news-info {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      margin-bottom: 0;
      width: 100%;
    }
    
    /* カテゴリーラベルのスタイル調整 */
    .news-category-label {
      margin-right: 0;
      margin-bottom: 8px;
    }
    
    /* 日付のスタイル調整 */
    .news-date {
      margin-right: 0;
      margin-bottom: 4px;
      font-size: 8px;
    }
    
    /* タイトルのスタイル調整 */
    .news-item-title {
      font-size: 15px;
      line-height: 1.4;
      text-align: left;
      width: 100%;
      padding-right: 55px; /* 矢印アイコンのためのスペース */
    }
    
    /* 矢印アイコンの位置調整 */
    .arrow {
      position: absolute;
      right: 0;
      top: 50%;
      transform: translateY(-50%);
    }
    
    /* モバイル表示用の「お知らせ一覧へ」ボタン */
    .mobile-news-more {
      display: flex;
      justify-content: center;
      margin-top: 24px;
    }

    .news-thumb img,
  .thumb-placeholder {
    width: 90px;
    height: 60px; /* 3:2のアスペクト比 */
  }

  .news-thumb {
    flex: 0 0 0;
    margin-right: 24px;
}

.news-container {
  width: 100% !important;
}
  }

      /* PCではこのボタンを非表示に */
      @media (min-width: 769px) {
        .mobile-news-more {
          display: none;
        }
      }
  






      /* ローディングインジケータのスタイル */
.news-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 150px;
  width: 100%;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(0, 44, 108, 0.1);
  border-radius: 50%;
  border-top-color: var(--color-dark-blue);
  animation: spin 1s ease-in-out infinite;
}

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

/* 「お知らせがありません」メッセージのスタイル */
.no-news-message {
  text-align: center;
  padding: 30px;
  color: #666;
  font-size: 14px;
  width: 100%;
}