/* ホーム専用。既存の入口カードの配置・余白は維持。 */
.sg-home-intro {
  text-align: center;
  margin-bottom: 30px;
}
.sg-home-site-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--sakura-text);
}
.sg-home-site-desc {
  color: #666;
}
.sg-home-sp-br {
  display: none;
}
.sg-home-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 20px;
}
.sg-home-card {
  display: block;
  padding: 16px;
  text-align: center;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: 0.2s;
  color: var(--sakura-text);
}
.sg-home-card:hover {
  background: #e0e0e0;
  transform: translateY(-4px);
  color: var(--sakura-text);
}
.sg-home-card-small {
  color: #333;
  font-weight: normal;
}

/* 最新ライブ・最新タイトル・最新記事の見出し。 */
.sg-home .sg-home-section-title {
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: #222;
  font-size: 23px;
  font-weight: bold;
  line-height: 1.5;
  text-align: left;
}
.sg-home .sg-home-section-title::before,
.sg-home .sg-home-section-title::after {
  content: none;
}
.sg-home-latest {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.sg-home-latest-section {
  min-width: 0;
}
.sg-home-feature-link {
  display: block;
  padding: 12px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #fff;
  color: #333;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.sg-home-feature-link:hover {
  background: var(--sakura-soft);
  color: #333;
}
.sg-home-feature-date {
  display: block;
  margin-bottom: 4px;
  color: #666;
  font-size: 13px;
}
.sg-home-feature-name {
  display: block;
  color: var(--sakura-text);
  font-size: 16px;
  line-height: 1.6;
}
.sg-home-feature-meta {
  display: block;
  margin-top: 4px;
  color: #666;
  font-size: 13px;
  line-height: 1.5;
}
.sg-home-card:focus-visible,
.sg-home-feature-link:focus-visible {
  outline: 2px solid var(--sakura-main);
  outline-offset: 2px;
}
.sg-home .sg-home-widget {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.sg-home-entry-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  margin-top: 5px;
  text-align: left;
}
.sg-home-entry-category {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 3px;
  background: #f3f3f3;
  color: #666;
  font-size: 12px;
  font-weight: normal;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .sg-home-sp-br {
    display: inline;
  }
  .sg-home-latest {
    grid-template-columns: 1fr;
  }
}
