/**
 * Information Single Page Styles
 * 新着情報個別ページ用CSS
 */

.information-single {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 0px 20px;
}

.information-single-container {
  background: #fff;
  padding: 40px;
}

/* ヘッダー */
.information-single-header {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f0f0f0;
}

.information-single-meta {
  margin-bottom: 5px;
}

.information-single-date {
  display: inline-block;
  font-size: 14px;
  color: #666;
  font-family: "Roboto", sans-serif;
}

.information-single-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  color: #333;
  margin: 0;
}

/* アイキャッチ画像 */
.information-single-thumbnail {
  max-width: 700px;
  margin: 0 auto 30px auto;
  border-radius: 8px;
  overflow: hidden;
}

.information-single-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}

/* 本文 */
.information-single-content {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 40px;
}

.information-single-content p {
  margin: 0 0 20px 0;
}

.information-single-content h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 40px 0 20px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #50ae61;
}

.information-single-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 30px 0 15px 0;
}

.information-single-content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 20px 0;
}

.information-single-content ul,
.information-single-content ol {
  margin: 20px 0;
  padding-left: 30px;
}

.information-single-content li {
  margin-bottom: 10px;
}

/* ページリンク */
.page-links {
  margin: 30px 0;
  padding: 20px;
  background: #f5f5f5;
  border-radius: 4px;
  text-align: center;
}

.page-links a {
  display: inline-block;
  margin: 0 5px;
  padding: 5px 15px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
}

.page-links a:hover {
  background: #50ae61;
  color: #fff;
  border-color: #50ae61;
}

/* フッター */
.information-single-footer {
  margin-top: 25px;
  padding-top: 40px;
  border-top: 2px solid #f0f0f0;
}

/* 前後の投稿ナビゲーション */
.information-single-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.nav-previous,
.nav-next {
  min-height: 60px;
}

.nav-previous a,
.nav-next a {
  display: block;
  padding: 15px;
  background: #f5f5f5;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
  height: 100%;
}

.nav-previous a:hover,
.nav-next a:hover {
  background: #999;
  color: #fff;
}

.nav-next {
  text-align: right;
}

.nav-label {
  display: block;
  font-size: 12px;
  color: #333;
  margin-bottom: 5px;
  transition: all 0.3s ease;
}

.nav-previous a:hover .nav-label,
.nav-next a:hover .nav-label {
  color: #fff;
}

.nav-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* 一覧に戻るボタン */
.back-to-archive {
  text-align: center;
}

.btn-back {
  display: inline-block;
  height: 40px;
  line-height: 40px;
  font-size: 14px;
  padding: 0px 40px;
  background: #50ae61;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn-back:hover {
  background: #3d8a4b;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .information-single-container {
    padding: 35px 0px 20px 0px;
  }

  .information-single-title {
    font-size: 18px;
  }

  .information-single-content {
    font-size: 14px;
  }

  .information-single-nav {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .information-single-footer {
    padding-top: 30px;
  }
  .nav-next {
    text-align: left;
  }
  .nav-previous,
  .nav-next {
    min-height: 0;
  }
}
