/* リセット & ベース */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #111827;
  background-color: #ffffff;
}

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

/* ヘッダー */
.header {
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav {
  display: flex;
  gap: 24px;
}

.site-name {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  letter-spacing: 0.02em;
}

.nav-link {
  color: #6b7280;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #111827;
}

.nav-link.active {
  color: #111827;
}

/* ヒーローセクション */
.hero {
  padding: 80px 0;
  text-align: center;
  background-color: #f9fafb;
}

.hero-logo {
  max-width: 500px;
  width: 100%;
  height: auto;
  margin-bottom: 16px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle {
  font-size: 20px;
  color: #6b7280;
  margin-bottom: 24px;
  font-weight: 400;
}

.hero-description {
  font-size: 16px;
  color: #4b5563;
  line-height: 2.5;
  margin-bottom: 40px;
  max-width: 100%;
  text-align: center;
}

.hero-sentence {
  display: inline;
  white-space: nowrap;
}

.hero-sentence:not(:last-child)::after {
  content: "　　";
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ボタン */
.btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: #111827;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #1f2937;
}

.btn-secondary {
  background-color: #ffffff;
  color: #111827;
  border: 1px solid #e5e7eb;
}

.btn-secondary:hover {
  background-color: #f9fafb;
  border-color: #d1d5db;
}

.btn-outline {
  background-color: transparent;
  color: #111827;
  border: 1px solid #111827;
}

.btn-outline:hover {
  background-color: #111827;
  color: #ffffff;
}

/* 背景画像付きボタン */
.btn-bg {
  position: relative;
  overflow: hidden;
  color: #fff;
  background-size: cover;
  background-position: center;
  min-height: 80px;
  font-weight: 600;
  border: none;
  z-index: 2;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.btn-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.btn-bg-park {
  background-image: url("images/parkmap-image.png");
}

.btn-bg-off {
  background-image: url("images/offtrainingmap-image.png");
}

.btn-bg:hover::before {
  background: rgba(0, 0, 0, 0.5);
}

/* 背景画像付きカード */
.map-card-bg {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  color: #fff;
}

.map-card-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.map-card-bg * {
  position: relative;
  z-index: 2;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

/* カード内テキストの可読性改善 */
.map-card-bg h2,
.map-card-bg h3,
.map-card-bg p,
.map-card-bg li {
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

/* ボタン内の文字は黒のまま */
.map-card-bg .btn {
  color: #111827 !important;
  text-shadow: none;
  background-color: #ffffff;
}

.map-card-park {
  background-image: url("images/parkmap-image.png");
}

.map-card-off {
  background-image: url("images/offtrainingmap-image.png");
}

/* マップ紹介セクション */
.maps-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.maps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.map-card {
  padding: 40px;
  background-color: #f9fafb;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  transition: box-shadow 0.2s ease;
}

.map-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.map-card-title {
  font-size: 24px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 12px;
}

.map-card-description {
  font-size: 15px;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 24px;
}

.map-card .btn {
  margin-top: 8px;
}

/* Aboutセクション */
.about-section {
  padding: 80px 0;
  background-color: #f9fafb;
}

.section-title {
  font-size: 32px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 32px;
  text-align: center;
}

.about-content {
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}

.about-sentence {
  display: inline;
  font-size: 16px;
  color: #4b5563;
  line-height: 2.5;
  white-space: nowrap;
}

.about-sentence:not(:last-child)::after {
  content: "　　";
}

/* フッター */
.footer {
  padding: 40px 0;
  background-color: #ffffff;
  border-top: 1px solid #e5e7eb;
  text-align: center;
}

.footer-copyright {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 8px;
}

.footer-subtitle {
  font-size: 12px;
  color: #9ca3af;
  font-style: italic;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .nav {
    gap: 16px;
  }

  .site-name {
    align-self: flex-end;
    font-size: 14px;
  }

  .hero {
    padding: 60px 0;
  }

  .hero-logo {
    max-width: 400px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-description {
    font-size: 15px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn {
    width: 100%;
    text-align: center;
  }

  .maps-section {
    padding: 60px 0;
  }

  .maps-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .map-card {
    padding: 32px;
  }

  .about-section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .site-name {
    font-size: 12px;
  }

  .hero-logo {
    max-width: 300px;
  }

  .map-card {
    padding: 24px;
  }
}

