/* ========= 色/フォント変数（必要に応じてサイト共通へ） ========= */
:root{
  --primary: #3E8FB3;
  --accent:  #2D5EA3;
  --text-primary: #0b2746;
  --text-white: #fff;
}

/* ========= セクション本体 ========= */
#news{
  scroll-margin-top: 200px;
}

.news{
  position: relative;
}
.news::before{
  content:"";
  position:absolute; inset:0;
  pointer-events:none;
}
.news__container{
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 6;
}

/* 見出し */
.news__section-title{
  background: linear-gradient(90deg, rgba(122,200,240,1) 0.24%, rgba(0,123,199,1) 96.85%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 auto 60px;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 6.21px;
  text-align: center;
  width: fit-content;
}

/* カード風ラッパー */
.news__content{
  max-width: 800px;
  margin: 0 auto;
  padding: 60px;
}

/* 一覧 */
.news__list{
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.news__item{
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  text-align: start;
  transition: all 0.3s;
}

/* hover時：横ズレしないようにtransformだけで表現 */
/* .news__item:hover{
  opacity: 0.7;
} */

/* 日付/タイトル */
.news__date{
  font-family: 'Noto Sans JP', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
}
.news__title{
  font-family: 'Noto Sans JP', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  line-height: 1.7;
}

/* もっとみる */
.news__more{
  display: block;
  background: #2D5EA3;
  color: var(--text-white);
  font-size: 16px;
  font-weight: 700;
  padding: 12px 60px;
  text-align: center;
  border-radius: 999px;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 10px 20px rgba(45,94,163,.3);
  margin: 0 auto;
  max-width: 30%;
}
.news__more:hover{
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(45,94,163,.4);
}

.news-wave {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  bottom: -5px;
  left: 0;
}

.news-circle {
  position: absolute;
  top: 70%;
  transform: translate(-60%, -50%);
  z-index: 4;
  width: 50%;
  max-width: none; 
}

.news-circle__img {
  width: 100%;
  height: auto;
  display: block;
  max-height: none !important;
  transform-origin: center;
  animation: ibc-spin 60s linear infinite;
}

/* ========= レスポンシブ ========= */
@media (max-width: 768px){
  .news__content{ padding: 40px 24px; }
  .news__item{
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px 0;
  }
  .news__date{ order: 1; font-size: 14px; }
  .news__title{ order: 2; font-size: 15px; }
  .news-circle {
    transform: translate(-76%, 35%);
    width: 80%;
  }
  .news-circle__img {
    width: 100%;
    height: auto;
    display: block;
    max-height: none !important;
    transform-origin: center;
    animation: ibc-spin 60s linear infinite;
  }
}