/* ========================================
   お知らせページ専用CSS
   ======================================== */

/* ページヒーロー */
.page-hero {
  background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,101.3C1248,85,1344,75,1392,69.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat;
  background-size: cover;
  background-position: bottom;
}

.page-hero-content {
  position: relative;
  z-index: 10;
  color: var(--white);
}

.page-hero-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 15px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-hero-subtitle {
  font-size: 1.2rem;
  letter-spacing: 3px;
  opacity: 0.9;
}

/* お知らせ一覧セクション */
.news-list-section {
  background-color: var(--white);
}

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

.news-item {
  padding: 30px;
  margin-bottom: 30px;
  background-color: var(--white);
  border-radius: 12px;
  border: 2px solid var(--sky-blue);
  transition: all 0.3s ease;
}

.news-item:hover {
  border-color: var(--primary-blue);
  box-shadow: 0 8px 25px rgba(74, 144, 226, 0.15);
  transform: translateX(5px);
}

.news-date {
  display: inline-block;
  font-size: 0.95rem;
  color: var(--text-gray);
  margin-bottom: 10px;
  font-weight: 500;
}

.news-category {
  display: inline-block;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: bold;
  margin-left: 15px;
  color: var(--white);
}

.news-category.cat-info {
  background-color: var(--primary-blue);
}

.news-category.cat-recruit {
  background-color: var(--accent-blue);
}

.news-category.cat-service {
  background-color: #66BB6A;
}

.news-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-dark);
  margin: 15px 0;
  line-height: 1.5;
}

.news-excerpt {
  font-size: 1rem;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 15px;
}

.news-link {
  display: inline-block;
  color: var(--primary-blue);
  font-weight: bold;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.news-link:hover {
  transform: translateX(5px);
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .page-hero {
    padding: 100px 0 60px;
  }

  .page-hero-title {
    font-size: 2rem;
  }

  .news-item {
    padding: 20px;
  }

  .news-title {
    font-size: 1.2rem;
  }

  .news-category {
    display: block;
    margin-left: 0;
    margin-top: 5px;
    width: fit-content;
  }
}

@media (max-width: 480px) {
  .page-hero-title {
    font-size: 1.6rem;
  }

  .news-title {
    font-size: 1.1rem;
  }
}
