@charset "UTF-8";

/* ===================================
   お知らせページ専用スタイル
   =================================== */

/* お知らせセクション共通 */
#secInfo {
  /* 既存のpage.cssのスタイルを継承 */
}

/* パンくずリスト（お知らせページ用） */
#secInfo .breadcrumb {
  background-color: transparent;
  padding: 0;
  margin-bottom: 2em;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
}

#secInfo .breadcrumb-item {
  display: inline-block;
}

#secInfo .breadcrumb-item + .breadcrumb-item {
  padding-left: 0.5rem;
}

#secInfo .breadcrumb-item + .breadcrumb-item::before {
  content: ">";
  padding-right: 0.5rem;
  color: #999;
}

#secInfo .breadcrumb-item a {
  color: var(--text);
  text-decoration: none;
}

#secInfo .breadcrumb-item a:hover {
  color: var(--main);
  opacity: 1;
}

#secInfo .breadcrumb-item.active {
  color: #999;
}

/* ===================================
   お知らせ詳細ページ
   =================================== */

#secInfo .info_content {
  max-width: 800px;
  margin: 0 auto;
}

#secInfo .info_header {
  padding-bottom: 1.5em;
  border-bottom: 1px solid #e0e0e0;
}

#secInfo .info_title {
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 1rem;
}

#secInfo .info_title.h3 {
  font-size: 1.75rem;
}

#secInfo .info_meta_data {
  font-size: 87.5%;
  display: flex;
  align-items: center;
}

#secInfo .info_meta_data i {
  margin-right: 0.25em;
}

#secInfo .info_body {
  margin-top: 2em;
  line-height: 1.8;
}

#secInfo .info_image {
  margin-bottom: 1.5rem;
  text-align: center;
}

#secInfo .info_image img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

/* 前後のお知らせナビゲーション */
#secInfo .info_navigation {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #dee2e6;
}

#secInfo .info_navigation .navigation-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

#secInfo .info_navigation .navigation-col {
  flex: 0 0 48%;
}

#secInfo .info_navigation .navigation-col:last-child {
  text-align: right;
}

#secInfo .info_navigation a {
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

#secInfo .info_navigation a:hover {
  color: var(--main);
  opacity: 1;
}

#secInfo .info_navigation small {
  display: block;
  color: #6c757d;
  margin-bottom: 0.25rem;
}

#secInfo .info_navigation .nav-title {
  display: inline-block;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ===================================
   お知らせ一覧ページ
   =================================== */

/* 検索ボックス */
#secInfo .search_box {
  max-width: 600px;
  margin: 0 auto 2em;
}

#secInfo .search_form .search-group {
  display: flex;
  gap: 0.5rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  background-color: #fff;
  border-radius: 0.25rem;
  padding: 0.25rem;
}

#secInfo .search_form .search-input {
  flex: 1;
  padding: 0.75em 1em;
  border: 1px solid #ddd;
  border-radius: 0.25rem;
  font-size: 1rem;
  line-height: 1.5;
  background-color: #fff;
}

#secInfo .search_form .search-input:focus {
  outline: none;
  border-color: var(--main);
  box-shadow: 0 0 0 0.2rem rgba(219, 87, 161, 0.25);
}

#secInfo .search_form .search-btn {
  padding: 0.75em 1.5em;
  background-color: var(--main);
  color: #fff;
  border: 1px solid var(--main);
  border-radius: 0.25rem;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

#secInfo .search_form .search-btn:hover {
  background-color: #c94d91;
  border-color: #c94d91;
}

#secInfo .search_form .search-btn i {
  margin-right: 0.25em;
}

#secInfo .search_form .clear-btn {
  padding: 0.75em 1.5em;
  background-color: #fff;
  color: #6c757d;
  border: 1px solid #6c757d;
  border-radius: 0.25rem;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

#secInfo .search_form .clear-btn:hover {
  background-color: #6c757d;
  color: #fff;
  opacity: 1;
}

/* 検索結果カウント */
#secInfo .result_count {
  text-align: center;
  color: #666;
  margin-bottom: 1.5rem;
}

#secInfo .result_count p {
  margin: 0;
}

/* お知らせリスト */
#secInfo .info_list {
  background-color: #fff;
  border-radius: 0.5em;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

#secInfo .info_item {
  border-bottom: 1px solid #e0e0e0;
}

#secInfo .info_item:last-child {
  border-bottom: none;
}

#secInfo .info_link {
  display: block;
  padding: 1.5em;
  text-decoration: none;
  color: var(--text);
  transition: background-color 0.3s ease;
}

#secInfo .info_link:hover {
  background-color: #fdf9f3;
  opacity: 1;
}

#secInfo .info_link .info-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

#secInfo .info_link .info-col-date {
  flex-shrink: 0;
  order: 1; /* 日付を最初に配置 */
}

#secInfo .info_link .info-col-thumb {
  flex-shrink: 0;
  order: 2; /* サムネイルを2番目に配置 */
}

#secInfo .info_link .info-col-content {
  flex: 1;
  min-width: 0; /* text-truncateを機能させるため */
  order: 3; /* コンテンツを最後に配置 */
}

#secInfo .info_date {
  font-weight: 500;
  color: #888;
  white-space: nowrap;
}

#secInfo .info_title {
  color: var(--text);
  transition: color 0.3s ease;
  margin: 0;
}

#secInfo .info_title.h5 {
  font-size: 1.25rem;
}

#secInfo .info_link:hover .info_title {
  color: var(--main);
}

#secInfo .info_excerpt {
  font-size: 87.5%;
  line-height: 1.6;
  color: #6c757d;
  margin: 0.5rem 0 0;
}

#secInfo .info_thumbnail {
  border-radius: 0.25em;
  overflow: hidden;
}

#secInfo .info_thumbnail img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  display: block;
  border-radius: 0.25rem;
}

#secInfo .info_empty {
  background-color: #fff;
  border-radius: 0.5em;
  padding: 3em;
  color: #999;
  text-align: center;
}

#secInfo .info_empty p {
  margin: 0;
}

/* ===================================
   ページネーション（お知らせ用）
   =================================== */

#secInfo .pagination {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 3rem 0 0;
  gap: 0.5em;
}

#secInfo .page-item {
  display: inline-block;
}

#secInfo .page-link {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  border: 1px solid #ddd;
  padding: 0.5em 1em;
  border-radius: 0.25em;
  text-decoration: none;
  transition: all 0.3s ease;
}

#secInfo .page-link:hover {
  color: var(--main);
  background-color: #fdf9f3;
  border-color: var(--main);
  opacity: 1;
}

#secInfo .page-item.active .page-link {
  background-color: var(--main);
  border-color: var(--main);
  color: #fff;
}

#secInfo .page-item.disabled .page-link {
  color: #999;
  background-color: #f8f9fa;
  border-color: #ddd;
  cursor: not-allowed;
}

#secInfo .page-link i {
  font-size: 0.875em;
}

/* ===================================
   ユーティリティクラス（お知らせページ限定）
   =================================== */

#secInfo .text-center { text-align: center; }
#secInfo .text-start { text-align: left; }
#secInfo .text-end { text-align: right; }
#secInfo .text-muted { color: #6c757d; }

#secInfo .mb-0 { margin-bottom: 0; }
#secInfo .mb-3 { margin-bottom: 1rem; }
#secInfo .mb-4 { margin-bottom: 1.5rem; }
#secInfo .mt-2 { margin-top: 0.5rem; }
#secInfo .mt-5 { margin-top: 3rem; }

/* ===================================
   レスポンシブ対応
   =================================== */

@media screen and (max-width: 575px) {
  #secInfo .info_link {
    padding: 1em;
  }
  
  #secInfo .info_excerpt {
    display: none;
  }
  
  #secInfo .pagination {
    font-size: 87.5%;
  }
  
  #secInfo .page-link {
    padding: 0.375em 0.75em;
  }
  
  #secInfo .info_navigation .navigation-col {
    flex: 0 0 100%;
  }
  
  #secInfo .info_navigation .navigation-col:last-child {
    text-align: left;
    margin-top: 1rem;
  }
  
  #secInfo .search_form .search-group {
    flex-wrap: wrap;
  }
  
  #secInfo .search_form .search-input {
    width: 100%;
  }
  
  #secInfo .search_form .search-btn,
  #secInfo .search_form .clear-btn {
    flex: 1;
  }
  
  /* スマホ時のタイトルサイズを小さく */
  #secInfo .info_title.h5 {
    font-size: 1rem;
  }
  
  /* スマホ時のサムネイルサイズ調整 */
  #secInfo .info_thumbnail img {
    width: 50px;
    height: 50px;
  }
  
  /* スマホ時の日付サイズ */
  #secInfo .info_date {
    font-size: 0.75rem;
  }
}

@media screen and (min-width: 768px) {
  #secInfo .info_link {
    padding: 2em;
  }
  
  #secInfo .info_date {
    font-size: 93.75%;
  }
  
  #secInfo .info_title {
    font-size: 112.5%;
  }
}

@media screen and (min-width: 992px) {
  #secInfo .info_date {
    font-size: 100%;
  }
  
  #secInfo .info_title {
    font-size: 125%;
  }
}