@charset "utf-8";

/* =================================================
  Top Page Only Styles
================================================= */

/* ヒーロー背景（トップFV専用） */
.hero-bg {
  background-image:
    linear-gradient(
      rgba(15, 23, 42, 0.7),
      rgba(15, 23, 42, 0.6)
    ),
    url('../images/top/background.webp');

  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* ヒーロー内の視線集中用（ごく薄い光） */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px 300px at 50% 30%,
    rgba(255, 255, 255, 0.08),
    transparent 60%
  );
  pointer-events: none;
}

/* ヒーローセクション内のみ文字の可読性を微調整 */
.hero-bg h2,
.hero-bg p {
  letter-spacing: 0.02em;
}


/* =========================
  NEWS（最終確定版）
  - 専用クラス nw
  - 他CSSに負けない
========================= */

#news.nw{
  padding: 96px 0;
  background: #f8fafc;
}

#news .nw__container{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

#news .nw__head{
  margin-bottom: 40px;
}

#news .nw__label{
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--ideaBlue);
}

#news .nw__title{
  margin-top: 8px;
  font-size: 32px;
  font-weight: 900;
  color: var(--ideaNavy);
}

#news .nw__line{
  width: 64px;
  height: 4px;
  background: var(--ideaBlue);
  margin-top: 24px;
}

/* リスト枠 */
#news .nw__list{
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
}

/* 各行 */
#news .nw__item{
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;

  padding: 20px 24px;
  text-decoration: none;
  color: inherit;

  border-bottom: 1px solid #e2e8f0;
  background-color: #ffffff !important;

  transition: background-color .2s ease;
}

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

#news .nw__item:hover{
  background-color: #f1f5f9 !important;
}

/* 日付 */
#news .nw__date{
  font-size: 14px;
  font-weight: 700;
  color: #64748b;
}

/* 本文 */
#news .nw__text{
  color: #1e293b;
  line-height: 1.6;
}

/* SP */
@media (max-width: 768px){
  #news .nw__item{
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  #news.nw {
    padding: 6rem 0;
  }

  #news .nw__container {
    padding: 0 1rem;
  }

  #news .nw__head {
    margin-bottom: 2.5rem;
  }

  #news .nw__label {
    font-size: 0.875rem;
  }

  #news .nw__title {
    margin-top: 0.5rem;
    font-size: 2rem;
  }

  #news .nw__line {
    width: 4rem;
    height: 0.25rem;
    margin-top: 1.5rem;
  }

  #news .nw__item {
    padding: 1.25rem 1.5rem;
  }

  #news .nw__date {
    font-size: 0.875rem;
  }

}
