/* お知らせページ専用スタイル */

/* ページタイトル */
.page-news .page-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0 0 50px 0;
  color: #333;
  text-align: left;
}

/* お知らせ紹介セクション */
.news-intro {
  text-align: center;
  margin-bottom: 50px;
  padding: 30px;
  background: #f8f9fa;
  border-radius: 12px;
}

.news-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

/* お知らせアイテム（TOPページと同じデザイン） */
.page-news .news-list .news-item {
  background: #f8f9fa !important;
  padding: 20px !important;
  border-radius: 8px !important;
  border-left: 4px solid #ff6b35 !important;
  border: none !important;
  box-shadow: none !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  margin-bottom: 0 !important;
  width: 100% !important;
  max-width: none !important;
}

.page-news .news-list .news-item:hover {
  transform: translateX(5px) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
}

.page-news .news-list .news-date {
  font-size: 0.9rem !important;
  color: #666 !important;
  margin-bottom: 8px !important;
  display: block !important;
  background: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.page-news .news-list .news-title {
  font-size: 1.125rem !important;
  margin: 0 !important;
}

.page-news .news-list .news-title a {
  color: #333 !important;
  text-decoration: none !important;
  transition: color 0.3s ease !important;
}

.page-news .news-list .news-title a:hover {
  color: #ff6b35 !important;
}

/* common.cssのスタイルを完全に上書き */
body.page-news .news-list .news-item {
  background: #f8f9fa !important;
  border: none !important;
  border-left: 4px solid #ff6b35 !important;
  border-radius: 8px !important;
  padding: 20px !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
  margin-bottom: 0 !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

body.page-news .news-list .news-item:hover {
  transform: translateX(5px) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
}

body.page-news .news-list .news-date {
  background: none !important;
  color: #666 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  font-size: 0.9rem !important;
  margin-bottom: 8px !important;
  display: block !important;
  font-weight: 500 !important;
}

body.page-news .news-list .news-title {
  font-size: 1.125rem !important;
  margin: 0 !important;
  line-height: 1.4 !important;
}

body.page-news .news-list .news-title a {
  color: #333 !important;
  text-decoration: none !important;
  transition: color 0.3s ease !important;
}

body.page-news .news-list .news-title a:hover {
  color: #ff6b35 !important;
}

/* タイル全体をリンクにする */
.news-item-link {
  display: block !important;
  text-decoration: none !important;
  color: inherit !important;
  width: 100% !important;
  height: 100% !important;
}

.news-item-link:hover {
  text-decoration: none !important;
  color: inherit !important;
}

.news-item-link .news-title {
  color: #333 !important;
  transition: color 0.3s ease !important;
}

.news-item-link:hover .news-title {
  color: #ff6b35 !important;
}

/* お知らせ個別ページ */
.news-detail {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.news-header {
  padding: 40px 40px 20px;
  border-bottom: 1px solid #eee;
}

.news-detail .news-title {
  font-size: 2rem;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.4;
}

.news-meta {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  justify-content: flex-end;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.meta-label {
  font-weight: bold;
  color: #666;
  font-size: 0.9rem;
}

.meta-value {
  color: #333;
  font-size: 0.9rem;
}

.news-detail .news-content {
  padding: 40px;
  line-height: 1.8;
  color: #555;
}

.news-detail .news-content h2 {
  color: #333;
  margin-top: 30px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
  font-size: 1.5rem;
}

.news-detail .news-content h3 {
  color: #333;
  margin-top: 25px;
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.news-detail .news-content p {
  margin-bottom: 15px;
}

.news-detail .news-content ul,
.news-detail .news-content ol {
  margin: 15px 0;
  padding-left: 20px;
}

.news-detail .news-content li {
  margin-bottom: 8px;
}

.news-actions {
  display: block !important;
  padding: 20px 40px 40px;
  border-top: 1px solid #eee;
  margin-top: 40px;
}

.news-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  width: 100%;
}

.nav-prev {
  text-align: left;
}

.nav-next {
  text-align: right;
}

.news-back {
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-secondary {
  background: #f8f9fa;
  color: #333;
  border: 2px solid #dee2e6;
}

.btn-secondary:hover {
  background: #e9ecef;
  color: #333;
  border-color: #adb5bd;
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #ff6b35;
  color: #fff;
  border: none;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 140px;
  justify-content: center;
}

.btn-nav:hover {
  background: #e55a2b;
  color: #fff;
  text-decoration: none;
}

.btn-nav.disabled {
  display: inline-flex;
  background: #e9ecef;
  color: #6c757d;
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-nav.disabled:hover {
  background: #e9ecef;
  color: #6c757d;
}

.nav-arrow {
  font-size: 1.2rem;
  font-weight: bold;
}

.nav-text {
  font-size: 0.9rem;
  font-weight: 500;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .news-detail .news-title {
    font-size: 1.5rem;
  }
  
  .news-header {
    padding: 30px 20px 15px;
  }
  
  .news-detail .news-content {
    padding: 30px 20px;
  }
  
  .news-actions {
    padding: 15px 20px 30px;
  }
  
  .news-meta {
    flex-direction: column;
    gap: 15px;
  }
  
  .news-navigation {
    flex-direction: column;
    gap: 15px;
  }
  
  .nav-prev,
  .nav-next {
    text-align: center;
  }
  
  .btn-nav {
    min-width: auto;
    width: 100%;
  }
}

.news-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-news .news-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-news .page-main-title {
  font-size: 2.2rem;
  font-weight: bold;
  margin: 0 0 20px 0;
  color: #333;
  text-align: center;
  border-bottom: 3px solid #ff6b35;
  padding-bottom: 15px;
}

.page-news .section-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin: 0 0 30px 0;
  color: #333;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.page-news .section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  border-radius: 2px;
}

.page-news .news-list {
  display: block;
  margin-bottom: 50px;
}

.page-news .news-item {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  max-width: 800px;
  margin: 20px auto;
}

.page-news .news-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.page-news .news-link {
  display: block;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.page-news .news-link:hover {
  text-decoration: none;
  color: inherit;
}

.page-news .news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.page-news .news-date {
  background: #ff6b35;
  color: white;
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

.page-news .news-category {
  background: #f8f9fa;
  color: #666;
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 0.8rem;
  border: 1px solid #e9ecef;
}

.page-news .news-title {
  margin: 0 0 12px 0;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.4;
}

.page-news .news-title a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news .news-title a:hover {
  color: #ff6b35;
}

.page-news .news-excerpt {
  color: #666;
  line-height: 1.5;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.page-news .news-actions {
  text-align: right;
}

.page-news .read-more {
  display: inline-block;
  background: #ff6b35;
  color: white;
  padding: 6px 15px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  border: 2px solid #ff6b35;
}

.page-news .read-more:hover {
  background: white;
  color: #ff6b35;
  transform: translateY(-2px);
}

.page-news .no-content {
  text-align: center;
  padding: 80px 20px;
  background: white;
  border-radius: 12px;
  border: 2px dashed #ddd;
}

.page-news .no-content p {
  margin: 0;
  font-size: 1.1rem;
  color: #666;
}

/* ページネーション */
.page-news .pagination {
  text-align: center;
  margin: 50px 0;
}

.page-news .pagination ul {
  display: inline-flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 5px;
}

.page-news .pagination li {
  margin: 0;
}

.page-news .pagination a,
.page-news .pagination span {
  display: block;
  padding: 10px 15px;
  border: 1px solid #ddd;
  color: #333;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.page-news .pagination a:hover {
  background: #ff6b35;
  color: white;
  border-color: #ff6b35;
}

.page-news .pagination .current {
  background: #ff6b35;
  color: white;
  border-color: #ff6b35;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .page-news .page-header {
    margin-bottom: 30px;
    padding: 30px 20px;
  }
  
  .page-news .page-title {
    font-size: 2rem;
  }
  
  .page-news .page-description {
    font-size: 1rem;
  }
  
  .page-news .news-content {
    padding: 0 15px;
  }
  
  .page-news .news-item {
    padding: 20px;
  }
  
  .page-news .news-title {
    font-size: 1.3rem;
  }
  
  .page-news .news-meta {
    gap: 10px;
  }
  
  .page-news .news-date,
  .page-news .news-category {
    font-size: 0.8rem;
    padding: 4px 8px;
  }
}

@media screen and (max-width: 480px) {
  .page-news .page-header {
    padding: 25px 15px;
  }
  
  .page-news .page-title {
    font-size: 1.8rem;
  }
  
  .page-news .news-item {
    padding: 15px;
  }
  
  .page-news .news-title {
    font-size: 1.2rem;
  }
  
  .page-news .read-more {
    padding: 8px 16px;
    font-size: 0.9rem;
  }
  
  .page-news .news-item {
    padding: 15px;
  }
  
  .page-news .news-title {
    font-size: 1rem;
  }
}

