/* =========================================================
   News Page Styles
========================================================= */
/* Hero */
.news-hero{
    min-height:280px;
    color:#fff;
    background:
    linear-gradient(
        90deg,
        rgba(18,43,78,.65) 0%,
        rgba(18,43,78,.45) 45%,
        rgba(18,43,78,.20) 100%
    ),
    url("../img/hero_news.webp");
    background-size:cover;
    background-position:center;
}

.news-hero h1{
    color:#fff;
    text-shadow:0 2px 12px rgba(0,0,0,.25);
}

.news-hero p{
    color:rgba(255,255,255,.92);
    text-shadow:0 1px 8px rgba(0,0,0,.2);
}

.news-hero-content{
    max-width:550px;
}
.news-overlay{
    position:absolute;
    inset:0;
    background:
    radial-gradient(
        circle at center,
        rgba(79,142,255,.12),
        transparent 70%
    );
	
	pointer-events: none;   /* ← クリックを透過させる */
    z-index: 0;             /* ← hero の背景として後ろに下げる */
}

.news-label{
    display:inline-block;
    padding:10px 18px;
    border-radius:999px;
    margin:15px 0 20px 0;
	background:rgba(255,255,255,.15);
	backdrop-filter:blur(10px);
	border:1px solid rgba(255,255,255,.25);
	color:#fff;
    font-size:.82rem;
    font-weight:700;
    letter-spacing:.15em;
}

.news-content{
    padding:60px 0;
    background:
    linear-gradient(
        180deg,
        #edf3f9 0%,
        #d5dbe3 100%
    );
}

/* Section */
.news-section {
  padding: 60px 0;
}

/* Card */
/* Card（news-card） */
.news-card {
  background: #fff;                     /* 白固定 */
  padding: 40px 32px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06); /* 影固定 */
  border: 1px solid #fff;               /* 枠色固定 */
  transform: none;                      /* 動きなし */
}

/* ★ マウスオン時の上下運動・影変化・枠変化を完全無効化 */
.news-card:hover {
  background: #fff;                     /* 色変化なし */
  border-color: #fff;                   /* 枠色変化なし */
  box-shadow: 0 4px 12px rgba(0,0,0,0.06); /* 影変化なし */
  transform: none;                      /* 上下運動なし */
}

/* List */

.news-item{
    padding:0;
    border-bottom:1px solid #e5e5e5;
}

.news-link{
    display:block;
    padding:18px 20px;
    text-decoration:none;
    color:inherit;
    transition:background-color .2s ease;
}

.news-link:hover{
    background:#eef5fc;
    border-left:4px solid #0078d4;
    padding-left:16px;
}

.news-link,
.news-link:hover,
.news-link:focus,
.news-link:visited {
    text-decoration:none;
}

.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-date {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 6px;
}

.news-title {
  font-size: 1.05rem;
  display:block;
  width:100%;
  padding:8px 0;
  color:#333;
  text-decoration:none;
  transition:.2s;
}

.news-title:hover {
  color:#0078d4;
  text-decoration:none;
} 

/* Pagination */
.news-pagination {
  margin-top: 32px;
  text-align: center;
}

.news-pagination a,
.news-pagination span {
  margin: 0 4px;
  padding: 6px 12px;
  border-radius: 6px;
  background: #f5f7fa;
  color: #333;
  text-decoration: none;
}
.news-pagination a:hover {
  background: #005fa3;
  color: #fff;
}

.news-pagination .current {
  background: #0078d4;
  color: #fff;
}

/* Responsive */
@media (max-width: 600px) {
  .news-card {
    padding: 28px 20px;
  }

  .news-title {
    font-size: 0.95rem;
  }
}
/* =========================================================
   News Detail Page Styles
========================================================= */

.news-detail-content {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
}

.news-detail-content img {
  max-width: 100%;
  height: auto;
  margin: 20px 0;
}

.news-back {
  margin-top: 40px;
  text-align: center;
}

.news-back-btn {
  display: inline-block;
  padding: 12px 28px;
  background: #0078d4;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1rem;
}


.news-back-btn:hover {
  background: #005fa3;
}


/* スマホ時は戻るボタンを横長にする */
@media (max-width: 768px) {
  .news-back {
    text-align: center;
  }

  .news-back-btn {
    display: block;
    width: 100%;
    padding: 14px 0;
    font-size: 1.1rem;
    border-radius: 8px;
  }
}