/* ===== 全体設定 ===== */
body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  color: #333;
  background-color: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===== ヘッダー ===== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: linear-gradient(90deg, #025738, #2ECC71, #025738);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  transition: background 0.4s ease, padding 0.3s ease;
}



/* ==== 上段：ロゴ + SNS ==== */
.header-top {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 10px 24px;
}

.logo {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.sns-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sns-links a svg {
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.sns-links a svg:hover {
  transform: scale(1.2) rotate(8deg);
  opacity: 0.9;
}

/* ==== 下段：ナビゲーション ==== */
.header-bottom {
  display: flex;
  justify-content: space-between;
  background: linear-gradient(90deg, #025738, #2ECC71, #025738);
  padding: 10px 40px;
}

.header-bottom ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-bottom ul li {
  position: relative;
  flex: 1;
  text-align: center;
}

.header-bottom ul li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.5);
  transition: background 0.4s ease;
}

.header-bottom ul li:hover::after {
  background: linear-gradient(180deg, #2ECC71, #a8e063);
}

.header-bottom ul li a {
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  position: relative;
  transition: opacity 0.3s ease;
}

.header-bottom ul li a:hover {
  opacity: 0.8;
}

.header-bottom ul li a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: #fff;
  transition: width 0.3s ease, background 0.3s ease;
}

.header-bottom ul li a:hover::after {
  width: 100%;
  background: linear-gradient(90deg, #00ff8c, #ffffff);
}

main {
  margin-top: 150px;
  /* ヘッダーの高さ分下げる（90〜140で調整可） */
}

.facilities {
  max-width: 900px;
  margin: 120px auto 60px;
  /* ヘッダーと被らないように調整 */
  padding: 0 20px;
}

.facilities-title {
  text-align: center;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 30px;
}

.facilities-philosophy {
  text-align: center;
  line-height: 1.7;
  margin-bottom: 50px;
  font-size: 16px;
  color: #444;
}

.facility-list {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

/* 基本カード（横・交互） */
.facility-card {
  display: flex;
  align-items: center;
  gap: 30px;
}

.facility-card.reverse {
  flex-direction: row-reverse;
}

.facility-img img,
.vertical-images img {
  width: 100%;
  max-width: 350px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.facility-text-block {
  flex: 1;
}

.facility-name {
  font-size: 24px;
  margin-bottom: 10px;
}

.facility-text {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
}


/* --- ASPスタジアムだけ縦構成（文章上 / 画像下） --- */
.facility-card.vertical {
  display: block;
  text-align: center;
}

.facility-card.vertical .facility-name {
  font-size: 26px;
  margin-bottom: 10px;
}

/* 画像3枚を横並びにする */
.vertical-images {
  margin-top: 25px;
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: center;
}

.vertical-images img {
  width: calc(33.333% - 14px);
  max-width: 320px;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* スマホ対応（1列表示） */
@media (max-width: 768px) {
  .vertical-images {
    flex-direction: column;
  }

  .vertical-images img {
    width: 100%;
    height: 200px;
  }
}

/* --- 全体コンテナ --- */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

/* --- セクションごとのカードデザイン --- */
.section-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 32px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #eee;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.section-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* --- タイトル --- */
.section-title {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 16px;
  color: #333;
}

/* --- 通常の2カラム画像 --- */
.image-row {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.image-row img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

/* --- ASPスタジアムだけ 3カラム --- */
.stadium-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.stadium-row img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

/* --- テキスト --- */
.section-text {
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 14px;
  color: #444;
}

/* --- レスポンシブ --- */
@media (max-width: 768px) {
  .image-row {
    flex-direction: column;
  }

  .stadium-row {
    grid-template-columns: 1fr;
  }

  .section-card {
    padding: 18px;
  }
}

.map-container {
  margin-top: 15px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}