/* ============================
   新着情報セクション
============================ */

/* セクション全体 */
.news-section {
  width: 100%;
  max-width: 1200px;
  margin: 120px auto;
  padding: 0 20px;
  color: #4C4B4B;
  position: relative;
  font-family: "Noto Sans JP", sans-serif;
}

/* タイトルエリア */
.news-title-box {
  position: relative;
  margin-bottom: 60px;
}

.news-title {
  font-size: 32px;
  font-weight: 600;
  position: relative;
  z-index: 2;
}

/* NEW ティッカー（見出しに被さる） */
.news-ticker {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  transform: translateY(-50%);
  z-index: 1;
}

.news-ticker span {
  letter-spacing: 0.2em; /* ← 文字間隔を広げる */
  display: inline-block;
  font-size: 48px;
  font-weight: 700;
  color: rgba(74, 74, 74, 0.1); /* 薄い背景テキスト */
  animation: ticker-scroll 15s linear infinite;
}

/* NEWS本体リスト */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.news-item {
  border-bottom: 1px solid #ccc;
  padding-bottom: 16px;
}

.news-date {
  font-weight: 600;
  color: #0ABAB5; /* 日付はアクセントカラー */
  margin-right: 20px;
}

.news-text {
  display: inline-block;
  color: #4C4B4B;
}

/* ============================
   NEWS 部分の画像レイアウト
============================ */

/* NEWS全体 */
.news-section {
  padding: 80px 0;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* 1記事の箱 */
.news-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 25px 0;
  border-bottom: 1px solid #ddd;
}

/* サムネイル */
.news-thumb {
  width: 200px;
  height: 130px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 6px;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* テキスト側 */
.news-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.news-date {
  color: #4C4B4B;
  font-size: 14px;
}

.news-text {
  color: #30416B;
  font-size: 16px;
  line-height: 1.6;
}

/* SP対応 */
@media screen and (max-width: 768px) {
  .news-item {
    flex-direction: column;
  }
  .news-thumb {
    width: 100%;
    height: 200px;
  }
}

/* ============================
   NEWS 詳細ページ
============================ */

.news-detail {
    width: 90%;
    max-width: 900px;
    margin: 120px auto;
    padding: 0 20px;
    font-family: "Noto Sans JP", sans-serif;
}

.news-detail-img img {
    width: 100%;
    border-radius: 6px;
    margin: 30px 0;
    object-fit: cover;
}

.news-detail-body p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #4C4B4B;
}

.news-detail .news-date {
    font-size: 14px;
    color: #0ABAB5;
    font-weight: 600;
    margin-bottom: 10px;
}

.news-detail .news-heading {
    font-size: 28px;
    font-weight: 700;
    color: #30416B;
    margin-bottom: 20px;
}

.back-btn {
    margin-top: 40px;
}

.back-btn a {
    display: inline-block;
    padding: 12px 24px;
    background: #4C4B4B;
    color: #fff;
    border-radius: 4px;
    transition: .3s;
}

.back-btn a:hover {
    background: #0ABAB5;
}
