@charset "UTF-8";

/* -----------------------------------
 * ベースリセット＆共通設定
 * ----------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  color: #111;
  line-height: 1.7;
}

/* -----------------------------------
 * 全面背景画像の設定
 * ----------------------------------- */
.bg-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none; /* 背景がクリックイベントを妨害しないように設定 */
}

.bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* -----------------------------------
 * コンテナとヘッダー
 * ----------------------------------- */
.container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px 40px;
}

.header h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #fff;
  margin-bottom: 48px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* -----------------------------------
 * Masonry配置設定
 * ----------------------------------- */
.news-masonry {
  column-count: 3;
  column-gap: 36px;
}

/* -----------------------------------
 * カード全体リンクのスタイリング
 * ----------------------------------- */
.news-card-link {
  display: block;
  text-decoration: none; /* リンクの下線を消す */
  color: inherit; /* 文字色を親から引き継ぐ */
  margin-bottom: 36px; /* カラム内のカード下余白 */
  break-inside: avoid; /* 列の途中でカードがちぎれないように保護 */
  cursor: pointer; /* マウスを指マークにする */
}

/* -----------------------------------
 * お知らせカードのデザイン
 * ----------------------------------- */
.news-card {
  background-color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(6px);
  padding: 28px;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* ホバー時にカード全体が少し浮き上がる処理 */
.news-card-link:hover .news-card {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.news-card time {
  font-family: 'Montserrat', sans-serif;
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: #666;
  margin-bottom: 12px;
  font-weight: 600;
}

.news-card h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.news-card p {
  font-size: 0.9rem;
  color: #333;
}

.news-card p + p {
  margin-top: 8px;
}

/* -----------------------------------
 * フッター＆SNSリンク
 * ----------------------------------- */
.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 20px 60px;
}

.sns-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-bottom: 20px;
}

.sns-links a {
  color: #fff;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.sns-links a:hover {
  opacity: 1;
  transform: translateY(-3px);
}

/* アイコンサイズを完全固定して巨大化を防止 */
.sns-icon {
  width: 28px !important;
  height: 28px !important;
  max-width: 28px !important;
  max-height: 28px !important;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
  display: block;
}

.copyright {
  font-family: 'Montserrat', sans-serif;
  display: block;
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  opacity: 0.8;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* -----------------------------------
 * レスポンシブ対応
 * ----------------------------------- */
@media (max-width: 900px) {
  .news-masonry {
    column-count: 2;
    column-gap: 24px;
  }
  .news-card-link {
    margin-bottom: 24px;
  }
}

@media (max-width: 600px) {
  .news-masonry {
    column-count: 1;
  }
  .container {
    padding: 40px 16px 20px;
  }
}