/* ===== スライドショー ===== */
.slideshow {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  background: #1a1a2e;
}

.slides {
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* 画像の暗幕（テキストを読みやすくする） */
.slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 2;
}

/* 画像の上のテキスト */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 24px;
}

.hero-overlay .subtitle {
  font-size: 1rem;
  color: #aac4ff;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.hero-overlay h1 {
  font-size: 3.2rem;
  letter-spacing: 6px;
  margin-bottom: 12px;
}

.hero-overlay .tagline {
  font-size: 1.4rem;
  font-weight: bold;
  color: #ffd700;
  margin-bottom: 16px;
}

.hero-overlay .hero-motto {
  margin-top: 20px;
  font-size: 1.6rem;
  font-weight: bold;
  letter-spacing: 3px;
}

/* 前後ボタン */
.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: none;
  padding: 14px 18px;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
}

.slide-btn:hover {
  background: rgba(0,0,0,0.7);
}

.slide-btn.prev { left: 16px; }
.slide-btn.next { right: 16px; }

/* ドットナビゲーション */
.slide-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.2s;
}

.dot.active {
  background: #fff;
}

@media (max-width: 600px) {
  .slideshow { height: 360px; }
  .hero-logo { width: 80px; height: 80px; }
  .hero-overlay h1 { font-size: 2rem; }
  .hero-overlay .hero-motto { font-size: 1.2rem; }
}

/* ===== ヒーローロゴ ===== */
.hero-logo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 3px solid rgba(255,255,255,0.2);
}

/* ===== バッジ ===== */
.hero-badge {
  display: inline-block;
  background: #ffd700;
  color: #1a1a2e;
  font-weight: bold;
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 0.9rem;
  margin: 6px;
}

/* ===== 実績セクション ===== */
.stats-section {
  background: #f8f9ff;
  padding: 60px 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.stat-card {
  background: #fff;
  border-radius: 10px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: bold;
  color: #0f3460;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
}

/* ===== ページリンクカード ===== */
.cards-section {
  padding: 72px 24px;
  background: #fff;
}

.page-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.page-card {
  display: block;
  background: #f8f9ff;
  border-radius: 10px;
  padding: 28px 20px;
  text-align: center;
  text-decoration: none;
  color: #333;
  border: 2px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.page-card:hover {
  border-color: #0f3460;
  box-shadow: 0 4px 16px rgba(15,52,96,0.12);
}

.page-card-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.page-card h3 {
  font-size: 1.1rem;
  color: #0f3460;
  margin-bottom: 8px;
}

.page-card p {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
}

/* ===== 最新ニュース ===== */
.news-preview-section {
  background: #f8f9ff;
  padding: 72px 24px;
}

.news-preview-list {
  max-width: 700px;
  margin: 0 auto;
}

.news-preview-item {
  display: flex;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid #e0e0e0;
  align-items: flex-start;
}

.news-preview-date {
  color: #888;
  font-size: 0.85rem;
  min-width: 70px;
  padding-top: 2px;
}

.news-preview-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
}

.more-btn {
  display: inline-block;
  padding: 12px 28px;
  border: 2px solid #0f3460;
  border-radius: 6px;
  color: #0f3460;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95rem;
  transition: background 0.2s, color 0.2s;
}

.more-btn:hover {
  background: #0f3460;
  color: #fff;
}

/* ===== 入会案内 ===== */
.join-section {
  background: #0f3460;
  color: #fff;
  text-align: center;
  padding: 72px 24px;
}

.join-section h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.join-section p {
  font-size: 1rem;
  color: #aac4ff;
  margin-bottom: 32px;
  line-height: 1.7;
}

.join-btn {
  display: inline-block;
  background: #ffd700;
  color: #1a1a2e;
  font-weight: bold;
  padding: 14px 36px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1rem;
  transition: opacity 0.2s;
}

.join-btn:hover {
  opacity: 0.85;
}

/* ===== スマホ対応 ===== */
@media (max-width: 600px) {
  .hero h1 { font-size: 2.2rem; }
  .join-section h2 { font-size: 1.4rem; }
}
