/* ===== 法令・ガイドラインページ専用スタイル ===== */

/* ページタイトル部分 */
.page-hero {
  background: linear-gradient(135deg, #3AAEDC 0%, #1A87C0 100%);
  padding: 28px 24px;
}

.page-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.page-hero h1 {
  color: #ffffff;
  font-size: 22px;
  margin-bottom: 8px;
}

.page-hero p {
  color: #D8F0FB;
  font-size: 14px;
}

.page-hero-source {
  margin-top: 8px;
  font-size: 13px !important;
}

.page-hero-source a {
  color: #ffffff;
  text-decoration: underline;
}

/* 目次 */
.toc {
  background: #ffffff;
  border: 1px solid #D0E8F5;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.toc-title {
  font-size: 13px;
  font-weight: 700;
  color: #666;
  margin-right: 8px;
}

.toc-link {
  font-size: 13px;
  background: #E8F4FD;
  color: #1A87C0;
  padding: 4px 12px;
  border-radius: 20px;
  text-decoration: none;
  transition: background 0.15s;
}

.toc-link:hover {
  background: #3AAEDC;
  color: #fff;
  text-decoration: none;
}

/* 各カテゴリセクション */
.reg-section {
  margin-bottom: 36px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #E0EEF7;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.reg-section-header {
  background: #1A87C0;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 20px;
}

/* リスト */
.reg-list {
  list-style: none;
  padding: 12px 0;
}

.reg-list > li {
  padding: 7px 20px;
  border-bottom: 1px solid #F0F7FC;
  font-size: 14px;
  line-height: 1.6;
}

.reg-list > li:last-child {
  border-bottom: none;
}

.reg-list > li::before {
  content: "▶ ";
  color: #3AAEDC;
  font-size: 11px;
  margin-right: 2px;
}

.reg-list a {
  color: #1A87C0;
  text-decoration: none;
}

.reg-list a:hover {
  text-decoration: underline;
}

/* リンクなし項目（参照先案内） */
.no-link {
  color: #555;
}

/* サブリスト（別添など） */
.reg-sublist {
  list-style: none;
  margin: 6px 0 4px 16px;
  padding: 0;
  border-left: 2px solid #D0E8F5;
  padding-left: 12px;
}

.reg-sublist li {
  padding: 4px 0;
  font-size: 13px;
  line-height: 1.6;
}

.reg-sublist li::before {
  content: "▷ ";
  color: #3AAEDC;
  font-size: 11px;
}

/* ファイル情報（PDF・KBなど） */
.file-info {
  font-size: 11px;
  color: #999;
  margin-left: 4px;
  font-weight: normal;
}

/* New! バッジ */
.badge.new {
  font-size: 11px;
  font-weight: 700;
  color: #CC2200;
  background: #FFF0EE;
  border: 1px solid #FFCCCC;
  padding: 1px 6px;
  border-radius: 10px;
  margin-left: 4px;
  vertical-align: middle;
}

/* 参照注記 */
.ref-note {
  font-size: 12px;
  color: #999;
  margin-left: 8px;
}
