/* =========================
   Base
========================= */
:root{
  --green:#8BBF2B;
  --green-dark:#6FA117;
  --text:#333;
  --muted:#777;
  --line:#D9D9D9;
  --bg:#FFFFFF;
}

*{ box-sizing:border-box; }

body{
  margin:0;
  font-family: Meiryo, "メイリオ",
               -apple-system, BlinkMacSystemFont, "Segoe UI",
               "Hiragino Kaku Gothic ProN","Hiragino Sans",
               "Noto Sans JP", sans-serif;
  color:var(--text);
  background:var(--bg);
}

/* --- [修正] 基準幅の設定 --- */
.container {
  width: 95%;          /* 900px固定をやめ、左右に少し余白を持たせる */
  max-width: 900px;    /* 最大でも900px以上には広げない */
  margin: 0 auto;
}

/* =========================
   TOP BAR 修正
========================= */
.topbar {
  background: #fff;
  /* border-bottom: 6px solid var(--green); ←これは削除またはコメントアウト */
}

.topbar__inner {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 10px 16px 8px;
}

.topbar__updated {
  font-size: 12px;    /* 12pxから10pxへ変更 */
  color: #666;        /* 色を少し薄くして目立ちすぎないように調整 */
  letter-spacing: 0.02em; /* 文字の間隔をわずかに広げて読みやすく */
}

/* HPBでも確実に見える緑の線 */
.top-line {
  width: 100%;
  height: 6px;           /* 線の太さ */
  background-color: #8BBF2B; /* var(--green)の中身を直接指定 */
  display: block;
  font-size: 1px;        /* 古いエンジンでの高さ維持用 */
  line-height: 1px;
}
/* --- [修正] ナビゲーション --- */
.tab-nav {
  width: 100%;         /* 900px固定を解除 */
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  font-size: 0;
}

.tab-nav a {
  display: inline-block;
  width: 16.66%;       /* 150px固定をやめ、6等分割にする */
  vertical-align: top;
}

.tab-nav a img {
  width: 100%;
  height: auto;
  border: none;
  display: block;
}

/* マウスを乗せた時に少し明るくする（お好みで） */
.tab-nav a:hover {
  opacity: 0.8;
}
/* --- HEROエリアの重なり修正 --- */
.hero-wrap {
  width: 100%;
  position: relative;
  overflow: hidden;
}

/* --- [修正] HEROエリア --- */
.hero-visual {
  width: 100%;         /* 1280px固定を解除 */
  max-width: 1280px;
  margin: 0 auto;
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
}
/* =========================
   Sections
========================= */
.section{ padding:44px 0; }

.section-title{
  text-align:center;
  color:#6fb32d;
  font-size:32px;
  font-weight:500;
  letter-spacing:.06em;
  margin:0 0 18px;
}

.section-title__en{
  display:block;
  font-size:17.5px;
  color:#6fb32d;
  letter-spacing:.25em;
  margin-top:6px;
}

.about-text{
  font-size:16px;
  line-height:1.9;
  color:#444;
  text-align:left;
  max-width:820px;
  margin:0 auto;
}

/* =========================
   NEWS (HPB線消え対策)
========================= */
.section--news { padding-top: 30px; }

.news-list {
  list-style: none;
  margin: 16px auto 18px;
  padding: 0;
  max-width: 100%;
  border-top: 1px solid #D9D9D9; /* var(--line)を直接指定 */
}

.news-row {
  /* display: flex; を削除 */
  display: block;      /* ブロック要素にすることで線を確実に描画 */
  padding: 12px 6px;
  border-bottom: 1px solid #D9D9D9;
  overflow: hidden;    /* 中身の浮きを抑える */
}

.news-date {
  display: inline-block;
  width: 130px;        /* 日付の幅を固定 */
  color: #6fb32d;
  font-weight: 500;
  font-size: 15px;
  vertical-align: top;
}

.news-body {
  display: inline-block;
  width: calc(100% - 140px); /* 残りの幅を本文に */
  font-size: 15px;
  color: #333;
  vertical-align: top;
}

/* =========================
   共通：ボタンの矢印（VIEW MORE と同じ見た目）
========================= */
.arrow-double{
  position:absolute;
  right:18px;
  top:50%;
  transform:translateY(-50%);
  font-size:22px;
  font-weight:300;
  letter-spacing:-.16em;
  opacity:.9;
  pointer-events:none;
}

/* =========================
   VIEW MORE (中央揃え修正)
========================= */
/* ボタンを包む親要素（centerクラス）の設定を強化 */
.center {
  margin-top: 25px;
  text-align: center;   /* 中にある inline-block 要素を中央に寄せる */
  width: 100%;
  display: block;       /* 確実に一行占有させる */
  clear: both;          /* 万が一の回り込みを解除 */
}

.btn-viewmore {
  display: inline-block; /* text-align: center の影響を受けるようにする */
  margin: 0 auto;
  text-decoration: none;
  vertical-align: top;
}

.btn-viewmore__img {
  display: block;
  width: 422px;          /* 元のボタン幅 */
  max-width: 100%;       /* スマホ等で突き出さないように */
  height: auto;
}

/* =========================
   EVENT (HPB最強互換設定)
========================= */
.section--event { padding-top: 10px; }

/* 親コンテナ */
.event-buttons {
  width: 100%;
  text-align: center;
  font-size: 0;       /* 隙間対策 */
  line-height: 0;     /* 隙間対策 */
}

/* 下の3つのボタン */
.btn-img-mini {
  display: inline-block;
  vertical-align: top;
  width: 32%;         /* 33.3%より少し小さくして確実に横に収める */
  margin: 0 0.6%;     /* ボタン同士の隙間をパーセントで指定 */
  text-decoration: none;
}

.btn-img-mini img {
  width: 100%;
  height: auto;
  display: block;
}

/* 上の大きなイベントボタン */
.btn-img {
  display: block;
  width: 98.5%;       /* 下の3つの合計(32*3 + 0.6*2)に合わせる */
  margin: 0 auto 10px;
}

.btn-img img {
  width: 100%;
  height: auto;
  display: block;
}
/* =========================
   FOOTER (レスポンシブ対応版)
========================= */
.site-footer {
  margin-top: 24px;
  background: #F2F2F2;
  border-top: 1px solid #E5E5E5;
  padding: 26px 0 16px;
  width: 100%;
  clear: both;
}

/* カラムを包むコンテナ：スマホでは幅いっぱい、PCでは900px */
.footer-grid {
  display: block;
  width: 95%;           /* スマホでの左右余白 */
  max-width: 900px;     /* PCでの最大幅 */
  margin: 0 auto;
  text-align: center;
  font-size: 0;
}

/* 各カラム共通：基本は100%（スマホで縦に並ぶ） */
.footer-left, .footer-center, .footer-right {
  display: inline-block;
  vertical-align: middle;
  line-height: 1.5;
  font-size: 12px;
  width: 100%;          /* スマホでは縦並び */
  box-sizing: border-box;
  padding: 10px 0;      /* スマホ時の上下間隔 */
}

/* 中央：スマホでは枠線を消す */
.footer-center {
  border-left: none;
}

/* Xのアイコンボタン */
.x-icon {
  display: inline-block;
  width: 50px;
  height: 50px;
  border: 2px solid #222;
  border-radius: 8px;
  text-decoration: none;
  background: #fff;
}
.x-icon__img {
  width: 26px;
  height: auto;
  margin-top: 12px;
}

/* コピーライト */
.footer-bottom {
  display: block;
  width: 95%;
  max-width: 900px;
  margin: 20px auto 0;
  text-align: center;
  color: #777;
  font-size: 11px;
  border-top: 1px solid #E5E5E5;
  padding-top: 10px;
}

/* =========================
   PC用の横並び設定 (768px以上)
========================= */
@media screen and (min-width: 768px) {
  .footer-left { width: 150px; }
  .footer-center { 
    width: 600px; 
    border-left: 1px solid #D0D0D0; /* PC時のみ左線を表示 */
    text-align: left;
    padding: 0 20px;
  }
  .footer-right { width: 150px; }
}


