@charset "UTF-8";

/* ==========================================================================
   お知らせ一覧ページ用固有スタイル (page-news.css)
   ========================================================================== */

.sub-main {
  width: 100%;
  background-color: #fff;
  padding-bottom: 120px;
}

.sub-fv {
  width: 100%;
  background: linear-gradient(135deg, #0098ff 0%, #0056b3 100%);
  padding: 80px 0;
  text-align: center;
}

.sub-fv-container {
  max-width: 1200px;
  margin: 0 auto;
}

.sub-fv-title-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sub-fv-eng {
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  opacity: 0.8;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sub-fv-jp {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
  margin: 0;
}

.breadcrumb-container {
  margin: 0 auto;
  padding: 50px 200px;
}

.breadcrumbs {
  max-width: 1200px;
  font-size: 0.85rem;
  color: #888888;
}

.breadcrumbs a {
  color: #00031e;
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumbs a:hover {
  color: #0098ff;
}

.breadcrumbs span {
  color: #888888;
  font-weight: 500;
}

.sub-section {
  width: 100%;
  padding: 50px 200px;
  background-color: #fff;
}

.sub-container {
  max-width: 1200px;
  margin: 0 auto;
}

.news-list {
  border-top: 1px solid #e0e0e0;
}

.news-item {
  border-bottom: 1px solid #e0e0e0;
}

.news-item a {
  display: flex;
  align-items: flex-start;
  padding: 24px 0;
  gap: 40px;
  text-decoration: none;
}

.news-date {
  font-size: 1rem;
  font-weight: 500;
  color: #0098ff;
  white-space: nowrap;
  line-height: 1.6;
}

.news-title {
  font-size: 1rem;
  font-weight: 400;
  color: #00031e;
  line-height: 1.6;
  margin: 0;
  transition: color 0.2s;
}

.news-empty {
  font-size: 1rem;
  color: #00031e;
  text-align: center;
  padding: 40px 0;
}

/* ページネーション */
.pagination {
  margin-top: 50px;
  display: flex;
  justify-content: center;
}

.pagination ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 8px;
}

.pagination li a,
.pagination li span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
  color: #00031e;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s;
}

.pagination li a:hover {
  background-color: #eff9ff;
  border-color: #0098ff;
  color: #0098ff;
}

.pagination li span.current {
  background-color: #0098ff;
  border-color: #0098ff;
  color: #fff;
}

.sub-main {
  width: 100%;
  background-color: #fff;
  padding-bottom: 120px;
}

.sub-fv {
  width: 100%;
  background: linear-gradient(135deg, #0098ff 0%, #0056b3 100%);
  padding: 80px 0;
  text-align: center;
}

.sub-fv-container {
  max-width: 1200px;
  margin: 0 auto;
}

.sub-fv-title-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sub-fv-eng {
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  opacity: 0.8;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sub-fv-jp {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
  margin: 0;
}

.breadcrumb-container {
  margin: 0 auto;
  padding: 50px 200px;
}

.breadcrumbs {
  max-width: 1200px;
  font-size: 0.85rem;
  color: #888888;
}

.breadcrumbs a {
  color: #00031e;
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumbs a:hover {
  color: #0098ff;
}

.breadcrumbs span {
  color: #888888;
  font-weight: 500;
}

.sub-section {
  width: 100%;
  padding: 50px 200px;
  background-color: #fff;
}

.sub-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* 記事ヘッダー */
.entry-header {
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 24px;
  margin-bottom: 40px;
}

.entry-date {
  font-size: 1rem;
  font-weight: 500;
  color: #0098ff;
  display: block;
  margin-bottom: 15px;
  letter-spacing: 0.03em;
}

.entry-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #00031e;
  line-height: 1.4;
  letter-spacing: 0.05em;
  margin: 0;
}

/* 記事本文のスタイル設定 */
.entry-content {
  font-size: 1rem;
  color: #00031e;
  line-height: 1.8;
}

.entry-content p {
  margin: 0 0 10px 0;
}

.entry-content p:last-child {
  margin-bottom: 0;
}

.entry-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #00031e;
  border-left: 4px solid #0098ff;
  padding-left: 15px;
  margin: 40px 0 20px 0;
}

.entry-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #00031e;
  margin: 30px 0 15px 0;
}

.entry-content ul,
.entry-content ol {
  margin: 0 0 24px 0;
  padding-left: 24px;
}

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

.entry-content a {
  color: #0098ff;
  text-decoration: none;
}

.entry-content a:hover {
  text-decoration: underline;
}

/* 一覧に戻るボタン */
.post-navigation {
  margin-top: 60px;
  border-top: 1px solid #e0e0e0;
  padding-top: 40px;
}

.btn-back-wrap {
  text-align: center;
}

.btn-back-list {
  display: inline-block;
  border: 1px solid #00031e;
  color: #00031e;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 64px;
  border-radius: 25px;
  letter-spacing: 0.05em;
  transition: all 0.2s;
}

.btn-back-list:hover {
  background-color: #00031e;
  color: #fff;
}

/* ==========================================================================
   お知らせ一覧・詳細 レスポンシブ (page-news.css 末尾用)
   ========================================================================== */

@media (max-width: 768px) {
  /* 左右200pxの余白をスマホ用に20pxへリセット */
  .breadcrumb-container,
  .sub-section {
    padding: 30px 20px !important;
  }

  /* ------------------------------------------------------------------------
     お知らせ一覧 (page-news.php) 用
     ------------------------------------------------------------------------ */
  /* リストアイテムを縦並びに */
  .news-item a {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px 0;
  }

  .news-date {
    font-size: 0.85rem;
  }

  .news-title {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  /* ページネーションのサイズ調整 */
  .pagination li a,
  .pagination li span {
    min-width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }

  /* ------------------------------------------------------------------------
     お知らせ詳細 (single.php) 用
     ------------------------------------------------------------------------ */
  .entry-header {
    padding-bottom: 16px;
    margin-bottom: 25px;
  }

  .entry-date {
    font-size: 0.85rem;
    margin-bottom: 10px;
  }

  .entry-title {
    font-size: 1.25rem;
    line-height: 1.5;
  }

  .entry-content {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  /* 見出し（H2）のフォントサイズ縮小 */
  .entry-content h2 {
    font-size: 1.15rem;
    margin: 30px 0 15px 0;
    padding-left: 12px;
  }

  /* 一覧に戻るボタンを画面いっぱいに広げる */
  .post-navigation {
    margin-top: 40px;
    padding-top: 30px;
  }

  .btn-back-list {
    width: 100%;
    padding: 12px 0;
    box-sizing: border-box;
  }
}
