/* ==========================================================
   SHIZGAS TIMES 共通スタイル
   一覧ページ・詳細ページ両方で使用
   ========================================================== */

/* ---- レイアウト補正 ----------------------------------------- */
/* header#renew2025 は position:fixed、高さ SP=90px / PC=90px+globalnavi60px=150px */
/* body>main に padding-top が付くが、このテンプレートは section 直置きのため手動補正 */
.sgTimesContent {
  clear: both;
  position: relative;
  z-index: 1;
  padding-top: 150px; /* SP: header 90px + globalnavi 60px */
}
@media screen and (min-width: 750px) {
  .sgTimesContent {
    padding-top: 150px; /* PC: 同上（renew_2025.css の body>main と同値） */
  }
}
@media screen and (max-width: 749px) {
  .sgTimesContent {
    padding-top: 90px; /* SP: globalnavi 非表示のため header 分のみ */
  }
}

/* ---- ページタイトル帯 --------------------------------------- */
.sgt-pagetitle {
  padding: 32px 24px 24px;
  border-bottom: 1px solid #e5e5e5;
}
.sgt-pagetitle h1 {
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 4px;
}
.sgt-title-banner {
  display: block;
  width: 100%;
}

.sgt-title-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.sgt-pagetitle--hero {
  padding: 0;
}

.sgt-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media screen and (max-width: 749px) {
  .sgt-pagetitle {
    padding: 20px 16px 18px;
  }
  
  .sgt-pagetitle--hero {
    padding: 0;
  }
}

/* ---- コンテンツ最大幅 --------------------------------------- */
.sgt-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- バッジ -------------------------------------------------- */
.sgt-badge {
  display: inline-block;
  padding: 2px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
  line-height: 1.6;
}
.sgt-badge--pdf {
  background: #e53e3e;
  color: #fff;
}
.sgt-badge--cat {
  background: #ebf5fb;
  color: #1a6fa0;
  border: 1px solid #b9d9ed;
}

/* ---- タグ ---------------------------------------------------- */
.sgt-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sgt-tag {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.75rem;
  color: #555;
  background: #f4f4f4;
  border-radius: 20px;
  text-decoration: none;
  transition: background 0.2s;
}
a.sgt-tag:hover {
  background: #e0e0e0;
}

/* ---- 戻るボタン（TOPへ） ------------------------------------- */
.sgt-btnline {
  display: inline-block;
  padding: 10px 24px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 2px solid #d0d0d0;
  border-radius: 4px;
  color: #333;
  background: #fff;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.sgt-btnline:hover {
  background: #f5f5f5;
}
.sgt-btnline--primary {
  background: #0063b0;
  border-color: #0063b0;
  color: #fff;
}
.sgt-btnline--primary:link,
.sgt-btnline--primary:visited,
.sgt-btnline--primary:hover,
.sgt-btnline--primary:active,
.sgt-btnline--primary:focus {
  color: #fff;
}
.sgt-btnline--primary:hover {
  background: #004e8c;
  border-color: #004e8c;
}