@charset "UTF-8";
/* お知らせ詳細ページ用のスタイル */

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

/* コンテンツコンテナ */
.news-detail-inner {
  max-width: 800px !important;
  margin: 0 auto;
  padding: 30px 0;
  background: transparent;
  box-shadow: none;
  border: none;
}

/* 記事ヘッダー */
.news-detail .entry-header {
  margin-bottom: 30px;
  text-align: left;
}

.news-detail .entry-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #333;
  line-height: 1.5;
}

.news-detail .entry-date {
  font-size: 14px;
  color: #FA7DA7;  /* ピンク色を使用 */
  margin-bottom: 20px;
}

/* 記事サムネイル */
.news-detail .entry-thumbnail {
  margin-bottom: 30px;
}

.news-detail .entry-thumbnail img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 記事内容 */
#contents {
  margin-bottom: 60px;
}

.news-detail .entry-content {
  margin-bottom: 60px;
  line-height: 1.8;
}

.news-detail .entry-content p {
  margin-bottom: 1.5em;
}

.news-detail .entry-content img {
  max-width: 100%;
  height: auto;
  margin: 15px 0;
}

.news-detail .entry-content h2 {
  font-size: 20px;
  font-weight: bold;
  margin: 30px 0 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid #FA7DA7;  /* ピンク色を使用 */
  color: #333;
}

.news-detail .entry-content h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 25px 0 15px;
  padding-left: 10px;
  border-left: 4px solid #FA7DA7;  /* ピンク色を使用 */
  color: #333;
}

.news-detail .entry-content ul {
  margin: 15px 0 15px 20px;
  list-style-type: disc;
}

.news-detail .entry-content ol {
  margin: 15px 0 15px 20px;
  list-style-type: decimal;
}

.news-detail .entry-content li {
  margin-bottom: 8px;
}

.news-detail .entry-content a {
  color: #FA7DA7;  /* ピンク色を使用 */
  text-decoration: underline;
}

.news-detail .entry-content a:hover {
  text-decoration: none;
}

/* フッター */
.news-detail .entry-footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

/* 前後の記事へのナビゲーション */
.news-detail .post-navigation {
  margin-bottom: 30px;
}

.news-detail .post-navigation .nav-links {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.news-detail .post-navigation .nav-previous,
.news-detail .post-navigation .nav-next {
  width: 48%;
}

.news-detail .post-navigation .nav-previous {
  text-align: left;
}

.news-detail .post-navigation .nav-next {
  text-align: right;
}

.news-detail .post-navigation a {
  display: inline-block;
  padding: 8px 15px;
  background-color: #f5f5f5;
  color: #FA7DA7;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-size: 14px;
}

.news-detail .post-navigation a:hover {
  background-color: #FA7DA7;
  color: #fff;
}

.news-detail .back-link {
  text-align: center;
}

.news-detail .back-link a {
  display: inline-block;
  padding: 10px 20px;
  background: #FA7DA7;  /* ピンク色を使用 */
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: opacity 0.3s;
}

.news-detail .back-link a:hover {
  opacity: 0.8;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .news-detail-inner {
    padding: 20px 15px;
  }
  
  .news-detail .entry-title {
    font-size: 20px;
  }
  
  .news-detail .entry-content h2 {
    font-size: 18px;
  }
  
  .news-detail .entry-content h3 {
    font-size: 16px;
  }
  
  .news-detail .post-navigation .nav-links {
    flex-direction: column;
  }
  
  .news-detail .post-navigation .nav-previous,
  .news-detail .post-navigation .nav-next {
    width: 100%;
    margin-bottom: 10px;
    text-align: center;
  }
}

@media screen and (max-width: 480px) {
  .news-detail .entry-title {
    font-size: 18px;
  }
  
  .news-detail .entry-content h2 {
    font-size: 16px;
  }
  
  .news-detail .entry-content h3 {
    font-size: 15px;
  }
  
  .news-detail .back-link a {
    padding: 8px 15px;
    font-size: 14px;
  }
  
  .news-detail .post-navigation a {
    padding: 6px 12px;
    font-size: 13px;
  }
}

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

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

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

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