/* ========================================
   お知らせ専用CSS (srec-news.css)
======================================== */

/* ==================================================
   お知らせ一覧ページ (archive-news.php)
   - トップページのお知らせリストもこのスタイルを流用可能
   - 必要に応じてクラス名を調整してください (.blog_list など)
   ================================================== */
.news-list-container,
.blog_inner {
  /* トップページにも対応 */
  max-width: 960px;
  width: 90%;
  margin: 0 auto 60px;
  margin: 30px auto 60px;
}

.news-list,
.blog_list {
  /* トップページにも対応 */
  list-style: none;
  padding: 0;
  margin: 0;
}
.news-list li,
.blog_list li {
  border-top: 1px solid #eee;
}
.news-list li:last-child,
.blog_list li:last-child {
  border-bottom: 1px solid #eee;
}

.news-item-link {
  display: flex;
  align-items: center;
  padding: 20px 15px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  background-color: transparent;
  width: 100%;
  box-sizing: border-box;
}

.news-item-link:hover {
  background-color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.news-date {
  flex-shrink: 0;
  width: 80px;
  text-align: center;
  margin-right: 25px;
  color: #888;
}
.news-date .news-date-year {
  display: block;
  font-size: 13px;
}
.news-date .news-date-day {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: #333;
  line-height: 1.2;
}
.news-item-link:hover .news-date .news-date-day {
  color: #ffc107;
}

.news-title {
  flex-grow: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
  margin: 0;
  min-width: 0;
}
.news-arrow {
  margin-left: 20px;
  color: #ccc;
  font-size: 18px;
  transition: transform 0.3s, color 0.3s;
  flex-shrink: 0;
}
.news-item-link:hover .news-arrow {
  color: #ffc107;
  transform: translateX(5px);
}

/* ========================================
   お知らせ詳細ページ (single-news.php) - 【ワイド表示版】
======================================== */

#primary.content-area .news-detail-article {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  float: none;
  padding: 0 40px;
  box-sizing: border-box;
}
.news-detail-article {
  margin: 60px auto;
}
.news-detail-article .entry-header {
  margin-bottom: 40px;
}
.news-detail-article .entry-title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 15px;
}
.news-detail-article .entry-meta {
  font-size: 14px;
  color: #777;
}
.news-detail-article .post-thumbnail {
  width: 100%;
  margin: 0 auto 50px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}
.news-detail-article .post-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}
.news-detail-article .entry-content {
  font-size: 17px;
  line-height: 1.9;
  color: #333;
}
.entry-content > *:first-child {
  margin-top: 0;
}
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  font-weight: 700;
  line-height: 1.5;
  margin: 40px 0 20px;
}
.entry-content h2 {
  font-size: 28px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
}
.entry-content h3 {
  font-size: 24px;
  padding-left: 12px;
  border-left: 4px solid #ffc107;
}
.entry-content p {
  margin-bottom: 1.5em;
}
.entry-content a {
  color: #0073aa;
  text-decoration: underline;
}
.entry-content a:hover {
  text-decoration: none;
}
.entry-content ul,
.entry-content ol {
  padding-left: 1.5em;
  margin-bottom: 1.5em;
}
.entry-content li {
  margin-bottom: 0.5em;
}
.entry-content blockquote {
  margin: 30px 0;
  padding: 20px;
  background-color: #f9f9f9;
  border-left: 5px solid #ccc;
  font-style: italic;
  color: #555;
}
.entry-content blockquote p:last-child {
  margin-bottom: 0;
}
.news-detail-article .entry-footer {
  margin-top: 60px;
}
.post-navigation-wrapper {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #eee;
  padding-top: 20px;
}
.post-navigation-wrapper .nav-previous,
.post-navigation-wrapper .nav-next {
  max-width: 48%;
}
.post-navigation-wrapper .nav-previous a,
.post-navigation-wrapper .nav-next a {
  color: #0073aa;
  font-weight: bold;
  text-decoration: none;
  line-height: 1.4;
}
.post-navigation-wrapper .nav-previous a:hover,
.post-navigation-wrapper .nav-next a:hover {
  text-decoration: underline;
}
.post-navigation-wrapper .nav-next {
  text-align: right;
}

/* ========================================
   SP表示 (800px以下)
======================================== */
@media (max-width: 800px) {
  .news-list-container,
  .blog_inner {
    width: 95%;
    margin-bottom: 40px;
  }
  .news-item-link {
    padding: 15px 10px;
  }
  .news-date {
    width: 65px;
    margin-right: 15px;
  }
  .news-date .news-date-year {
    font-size: 11px;
  }
  .news-date .news-date-day {
    font-size: 18px;
  }
  .news-title {
    font-size: 15px;
  }
  .news-arrow {
    display: none;
  }

  #primary.content-area .news-detail-article {
    padding: 0 20px;
  }
  .news-detail-article {
    margin: 30px auto;
  }
  .news-detail-article .entry-title {
    font-size: 28px;
  }
  .news-detail-article .entry-content {
    font-size: 16px;
  }
  .entry-content h2 {
    font-size: 22px;
  }
  .entry-content h3 {
    font-size: 20px;
  }
}
