/* =========================================
   共通ヒーローセクション（aboutと統一）
========================================= */
.page-hero {
  position: relative;
  width: 100%;
  height: 40vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  text-align: center;
}

.page-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  z-index: 0;
}

.page-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 30, 0.45);
  z-index: 1;
}

.page-hero-text {
  position: relative;
  z-index: 2;
  color: #fff;
  animation: fadeUp 1.5s ease forwards;
  margin-top: 12vh;
}

.page-hero-text h1 {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.3;
}

.page-hero-text p {
  font-size: clamp(16px, 2vw, 22px);
  margin-top: 10px;
  opacity: 0.85;
  letter-spacing: 0.05em;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* モバイル対応 */
@media screen and (max-width: 768px) {
  .page-hero {
    height: 50vh;
  }

  .page-hero-text h1 {
    font-size: 2rem;
  }
}


/* =========================================
   News Cards
========================================= */
.news-section {
  padding-top: 3rem;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.news-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 15px rgba(0, 0, 50, 0.08);
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(24, 37, 120, 0.15);
}

.news-card time {
  font-size: 0.9rem;
  color: #777;
}

.news-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #182578;
  margin: 0.8rem 0;
}

.news-card p {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.btn-more {
  font-size: 0.9rem;
  color: #182578;
  font-weight: 600;
  text-decoration: underline;
}

/* =========================================
   モーダル
========================================= */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(24, 37, 120, 0.4);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 600px;
  width: 90%;
  box-shadow: 0 10px 25px rgba(0, 0, 50, 0.2);
  animation: fadeInModal 0.5s ease;
  position: relative;
}

.modal-content h2 {
  color: #182578;
  margin-bottom: 1rem;
  font-size: 1.6rem;
}

.modal-content p {
  color: #333;
  line-height: 1.8;
}

.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.6rem;
  color: #666;
  cursor: pointer;
  transition: color 0.3s;
}

.close:hover {
  color: #182578;
}

@keyframes fadeInModal {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}