/* =========================

   ヘッダー

========================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 140px; /* ロゴ・ナビが収まる帯の高さ */
  z-index: 50;
  pointer-events: none;
  transition: transform .25s ease, opacity .25s ease, background .3s ease, box-shadow .3s ease;
}

/* 左上ロゴ */
.site-header__logo {
  pointer-events: auto;
  position: absolute;
  top: 20px;
  left: 50px;

  width: 105px;
  height: 105px;
  border-radius: 999px;
  overflow: hidden;

  opacity: 0.55;
  transition: opacity .25s ease, transform .25s ease;
}

.site-header__logo:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.site-header__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 右上メニュー */
.site-header__nav {
  pointer-events: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 60px;
  display: flex;
  align-items: center;
  gap: 36px;
}

/* メニューリンク */
.nav-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-family: 'Montserrat', 'Zen Kaku Gothic New', sans-serif;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: color .25s ease, text-shadow .25s ease;
}

.nav-link:hover {
  color: var(--link-hover, #ff5a7a);
  text-shadow: 0 0 8px rgba(255, 90, 122, 0.4);
}

.site-header.is-hidden {
  transform: translateY(-160px);
  opacity: 0;
}

/* コンテンツ（白背景）上では帯だけにブラーをかける */
.site-header.is-over-content {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(4px); /* ヘッダー帯のみに適用・弱め */
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.site-header.is-over-content .nav-link {
  color: #444;
}

.site-header.is-over-content .nav-link:hover {
  color: #c05070;
  text-shadow: 0 0 8px rgba(192, 80, 112, 0.3);
}

.site-header.is-over-content .site-header__logo {
  opacity: 0.85;
}

/* =========================

   フッター

========================= */
/* ーーーーーーーーーーーーーー
    フッター全体
ーーーーーーーーーーーーーー*/
/* ーーーーーーーーーーーーーー
    フッター（スリムバー）
ーーーーーーーーーーーーーー*/
.site-footer {
  padding: 14px 32px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(4px);
  font-size: 12px;
}

.footer-bar {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-copy {
  color: rgba(0, 0, 0, 0.45);
  white-space: nowrap;
  letter-spacing: 0.03em;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links a {
  color: rgba(0, 0, 0, 0.45);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: rgba(0, 0, 0, 0.85);
}

@media (max-width: 660px) {
  .footer-bar {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
    gap: 14px;
  }
}










/* =========================

   サイドバー（news,newsdetail共通）

========================= */
.news-main {
  flex: 1;
}

.sidebar {
  width: 260px;
  padding: 24px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 14px;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.45);
}

.sidebar-section {
  margin-bottom: 32px;
}

.sidebar-section h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
}

.sidebar-section ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.sidebar-section ul li {
  margin: 6px 0;
}

.sidebar-section ul li a {
  color: #ddd;
  font-size: 14px;
  padding: 4px 0;
  display: inline-block;
  transition: 0.2s;
}

.sidebar-section ul li a:hover {
  color: var(--brand2);
  text-shadow: 0 0 10px rgba(255, 47, 109, 0.7);
}

/* --------------------------
   検索
-------------------------- */
.news-search-box {
  width: 90%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(99, 99, 99, 0.3);
  color: #fff;
  font-size: 14px;
  margin-top: 8px;
}

.news-search-box::placeholder {
  color: #bbb;
}

/* --------------------------
   タグ
-------------------------- */
.tag-cloud .tag-link {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  padding: 6px 10px;
  margin: 4px;
  font-size: 12px;
  border-radius: 999px;
  transition: 0.2s;
}

.tag-cloud .tag-link:hover {
  background: var(--brand2);
  color: #111;
}

/* --- レイアウト --- */
.layout-wrapper {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
}
