/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Sep 09 2026 | 11:05:02 */
/* ===================================================
 * ストウェブラボ 専用スタイル (Scope: .st-lab-)
 * =================================================== */

/* 変数設定 */
:root {
  --st-lab-main: #0f172a;        /* 深いダークネイビー */
  --st-lab-accent: #00f2fe;      /* テック感のあるシアン */
  --st-lab-accent-pop: #ff007f;  /* ポップ用ピンク */
  --st-lab-text: #334155;
  --st-lab-bg-light: #f8fafc;
}

/* 全体ラップ */
.st-lab-wrapper {
  color: var(--st-lab-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  margin-bottom: 80px;
}

/* ヒーローエリア（全幅対応） */
.st-lab-hero {
  position: relative;
  background-color: var(--st-lab-main);
  color: #ffffff;
  padding: 100px 20px 80px;
  text-align: center;
  overflow: hidden;
}

.st-lab-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

/* グリッド風バックグラウンド（ラボ感・実験感の演出） */
.st-lab-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  z-index: 1;
}

/* バッジ */
.st-lab-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--st-lab-accent);
  border: 1px solid var(--st-lab-accent);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.st-lab-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #ffffff;
  letter-spacing: 1px;
}

.st-lab-lead {
  font-size: 1rem;
  line-height: 1.8;
  color: #94a3b8;
  margin: 0;
}

/* メインコンテンツ枠 */
.st-lab-container {
  max-width: 1140px;
  margin: -40px auto 0;
  padding: 0 20px;
  position: relative;
  z-index: 3;
}

/* フィルターボタン */
.st-lab-filter {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.st-lab-filter-btn {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #64748b;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.st-lab-filter-btn:hover,
.st-lab-filter-btn.active {
  background: var(--st-lab-main);
  color: #ffffff;
  border-color: var(--st-lab-main);
  box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.2);
}

/* カードグリッド */
.st-lab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

/* カードデザイン */
.st-lab-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.st-lab-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.st-lab-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #f1f5f9;
  overflow: hidden;
}

.st-lab-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.st-lab-card:hover .st-lab-card-thumb img {
  transform: scale(1.05);
}

.st-lab-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: var(--st-lab-accent);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 2;
}

/* ポップ系コンテンツ用タグ色変更 */
.st-lab-card-tag.tag-pop {
  color: var(--st-lab-accent-pop);
}

.st-lab-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.st-lab-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 12px 0;
  color: #0f172a;
  line-height: 1.4;
}

.st-lab-card-desc {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0 0 20px 0;
  flex-grow: 1;
}

.st-lab-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #f1f5f9;
  padding-top: 16px;
}

.st-lab-date {
  font-size: 0.8rem;
  color: #94a3b8;
}

.st-lab-btn {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--st-lab-main);
  text-decoration: none;
  transition: color 0.2s ease;
}

.st-lab-btn:hover {
  color: #2563eb;
}

/* スマホ対応調整 */
@media (max-width: 768px) {
  .st-lab-hero {
    padding: 60px 20px 60px;
  }
  .st-lab-title {
    font-size: 1.8rem;
  }
  .st-lab-grid {
    grid-template-columns: 1fr;
  }
}