@charset "utf-8";
/* CSS Document */


/* ヘッダーリンク全体（背景用ラッパー） */
.header-link-wrap {
  width: 100%;
  background: #000; /* 黒背景 */
}

/* 中身は 980px 中央寄せ */
#header-link {
  max-width: 980px;
  margin: 0 auto;
  padding: 15px 10px;
  color: #fff;
}

/* フッター全体（背景用ラッパー） */
.footer-wrap {
  width: 100%;
  background: #000; /* 黒背景 */
}

/* 中身は 980px 中央寄せ */
.footer {
  max-width: 980px;
  margin: 0 auto;
  padding: 20px 10px;
  color: #fff;
  text-align: center;
}

/* リンクのスタイル */
a {
  color: #FFFFFF;
  font-style: normal;
  text-decoration: none;
}
a:hover {
  color: #0080ff;
  text-decoration: none;
}
.slide a:hover {
  color: #ffff00;
  text-decoration: none;
}
.box li a {
  color: #444444;
  text-decoration: none;
}
.box li a:hover {
  color: #0080ff;
  text-decoration: none;
}

img { border: none; }

/* body 基本設定 */
body {
  background-repeat: no-repeat;
  background-position: right top;
  overflow: auto;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 13px;
  -webkit-text-size-adjust: 100%;
  background-color: #ffffff;
}

/* メインビジュアル */
.mv {
  padding-top: 0;
}
.top-back {
  display: flex;
  flex-direction: column;
}
.image-container {
  position: relative;
  width: 100%;
  min-height: 60vh;
  background: url("../zfiles2014/top-rw2025.jpg") no-repeat center top;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-container img {
  max-width: 90%;
  height: auto;
  position: relative;
  z-index: 1;
}


/* メインコンテンツ */
.main_box {
  height: auto;
  padding: 20px 0;
}
.centa {
  text-align: center;
  padding: 20px 0;
}
#stream {
  height: auto;
  padding: 10px 0;
}
#news_box {
  max-width: 980px;
  height: auto;
  margin: 0 auto;
  background-image: url(../zfiles2014/news-bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  color: #FFFFFF;
  padding: 10px;
}

/* ボタン */
#button {
  max-width: 980px;
  margin: 20px auto;
  text-align: center;
}
#button img {
  margin: 0 12px 10px 0;
  max-width: 100%;
  height: auto;
}

/* バナー */
.banner {
  max-width: 980px;
  margin: 0 auto 10px auto;
  text-align: center;
}
.banner img {
  margin: 0 12px 10px 0;
  max-width: 100%;
  height: auto;
}

/* 汎用 */
.red { color: #FF0000; }

.events {
  display: flex;
  flex-wrap: wrap;
  margin: 40px auto;
  max-width: 1000px;
  padding: 0 20px;
}

.box {
  flex: 1 1 400px;
  background: #fff;

}

.event-heading {
  font-size: 1.1rem;
  font-weight: bold;
  margin: 20px 0 10px;
  padding-left: 10px;
  border-left: 5px solid #e53935; /* 赤いライン */
  color: #333;
}

.box ul {
  margin: 0 0 15px 20px;
  padding: 0;
  list-style: none;
}

.box ul li {
  margin: 6px 0;
}

.box ul li a {
  color: #0066cc;
  text-decoration: none;
  transition: color 0.2s ease;
}

.box ul li a:hover {
  color: #e53935;
}


.button-section,
.banner-section {
  background-color: #c4c4c4;
  display: flex;
  flex-wrap: wrap;         /* 横に入りきらなければ折り返す */
  justify-content: center;
  gap: 20px;               /* 要素間のスペース */
padding: 40px 10px 0;
}

/* ボタンカード */
.button-card {
margin-left: 30px;
  display: block;
  max-width: 233px;
  text-align: center;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.2s ease;
}
.button-card:hover {
  transform: translateY(-5px);
}
.button-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* バナー */
.banner-card {
  display: block;
  max-width: 316px;
}
.banner-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* レスポンシブ: 小さい画面では縦積み */
@media (max-width: 768px) {
  .button-section,
  .banner-section {
    flex-direction: column;
    align-items: center;
  }
  .button-card,
  .banner-card {
    max-width: 90%;
    margin: auto;
  }
}


/* --- レスポンシブ調整 --- */
@media screen and (max-width: 768px) {
  #header_box,
  #news_box,
  #button,
  .banner,
  .events,
  .footer {
    padding: 0 10px;
  }
  .box {
    max-width: 100%;
    display: block;
  }
  
  .image-container {
  min-height: 75vh;
}
.image-container img {
  max-width: 65%;
  height: auto;
  position: relative;
  z-index: 1;
}

}
