@charset "UTF-8";
/* ニュースアーカイブページ用のスタイル */

/* フォント指定 */
.news-page,
.news-page *,
.newsInner,
.newsInner * {
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif !important;
}

/* ヘッダー部分 */
#detailHd {
  width: 100%;
  margin-bottom: 30px;
  position: relative;
}

#detailHd > div {
  position: relative;
  width: 100%;
}

#detailHd .visual-container {
  position: relative;
  width: 100%;
  height: 206px;
  overflow: hidden;
}

#detailHd .visual-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#detailHd h2 {
  position: relative;
  width: 100%;
  text-align: center;
  padding: 20px 0;
  margin-top: 30px;
}

#detailHd h2 img {
  max-width: 300px;
  display: inline-block;
}

/* セクションヘッダー */
.secHd {
  margin-bottom: 30px;
  text-align: center;
}

/* コンテンツエリア */
#contents {
  width: 100%;
  border: none;
  box-shadow: none;
  margin-bottom: 60px;
}

#contents .inner.newsInner {
  width: 100%;
  max-width: 800px !important;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

/* ニュースセクション */
.news-section {
  margin: 50px 50px 50px;
}

.news-section h3:not(.secHd) {
  font-size: 24px;
  color: #FA7DA7;
  border-bottom: 2px solid #FA7DA7;
  padding-bottom: 10px;
  margin-bottom: 25px;
  position: relative;
  font-weight: bold;
}

/* ニュースリスト */
.news-list {
  width: 100%;
  margin: 0;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-align: left !important;
  margin-bottom: 40px;
}

.news-item {
  margin-bottom: 0;
  padding: 25px 0;
  text-align: left;
}

.news-item a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333;
  transition: background-color 0.3s;
}

.news-item a:hover {
  opacity: 0.7;
}

.news-item time {
  width: 100px;
  margin-right: 20px;
  font-weight: normal;
  color: #999;
  font-size: 14px;
}

.news-item h4 {
  margin: 0;
  font-weight: normal;
  flex: 1;
  font-size: 18px;
  line-height: 1.4;
  color: #333;
}

.news-divider {
  height: 1px;
  background-color: #ddd;
  margin: 0;
  padding: 0;
  border: none;
}

/* お知らせがない場合 */
.no-posts {
  padding: 20px;
  text-align: center;
  background: #f9f9f9;
  border-radius: 5px;
}

.no-posts p {
  margin: 0;
  color: #666;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  #detailHd .visual-container {
    height: 150px;
  }
  
  #detailHd h2 {
    padding: 15px 0;
    margin-top: 20px;
  }
  
  #detailHd h2 img {
    max-width: 250px;
  }
  
  .news-section h3:not(.secHd) {
    font-size: 20px;
  }
  
  .news-item {
    padding: 15px 0;
  }
  
  .news-item a {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .news-item time {
    width: auto;
    margin-right: 0;
    margin-bottom: 5px;
  }
  
  .news-item h4 {
    font-size: 16px;
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
  #detailHd .visual-container {
    height: 120px;
  }
  
  #detailHd h2 {
    padding: 10px 0;
    margin-top: 15px;
  }
  
  #detailHd h2 img {
    max-width: 200px;
  }
  
  .news-item {
    padding: 12px 0;
  }
  
  .news-item time {
    font-size: 12px;
  }
  
  .news-item h4 {
    font-size: 14px;
  }
}

/* ページネーション */
.pagination {
  margin-top: 40px;
  clear: both;
  text-align: center;
}

.pagination .page-numbers {
  display: inline-block;
  margin: 0 5px;
  padding: 10px 15px;
  background: #fff;
  color: #655346;
  text-decoration: none;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.pagination .page-numbers.current {
  background: #FA7DA7;
  color: #fff;
  border-color: #FA7DA7;
}

.pagination .page-numbers:hover {
  background: #FA7DA7;
  color: #fff;
  opacity: 0.8;
  border-color: #FA7DA7;
}

/* モバイル表示設定 */
@media screen and (max-width: 560px) {
  /* 省略 */

  /* モバイル用のdetailHd設定 */
  #detailHd {
    margin-bottom: 25px;
    background-size: 12px 12px;
  }

  #detailHd .visual-container {
    height: 120px;
  }

  #detailHd h2 {
    max-width: 173px;
    margin: 0 auto;
    padding: 15px 0;
  }
} 