/*
 * webinar_section.css
 * add_webinars.py により自動生成
 */
.webinar-section {
  padding: 80px 0 !important;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%) !important;
  position: relative;
  overflow: hidden;
}
.webinar-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #6366f1 0%, #ee3833 100%);
}
.webinar-section .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.webinar-section .headLine01 {
  text-align: center !important;
  margin-bottom: 16px !important;
}
.webinar-section .headLine01 .en {
  display: block !important;
  font-family: 'Lato', sans-serif !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 0.42em !important;
  background: linear-gradient(90deg, #6366f1 0%, #ee3833 100%);
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  margin-bottom: 12px !important;
  text-transform: uppercase;
}
.webinar-section .headLine01 .jp {
  display: block !important;
  font-size: clamp(24px, 3vw, 34px) !important;
  font-weight: 800 !important;
  color: #0a0e27 !important;
  line-height: 1.4 !important;
  letter-spacing: -0.02em !important;
}
.webinar-section .headLine01::after {
  content: '';
  display: block; width: 48px; height: 3px;
  margin: 18px auto 0;
  background: linear-gradient(90deg, #6366f1 0%, #ee3833 100%);
  border-radius: 2px;
}
.webinar-intro {
  text-align: center;
  color: #4b5563;
  max-width: 720px;
  margin: 0 auto 48px;
  line-height: 1.85;
  font-size: 15px;
}
.webinar-intro strong { color: #ee3833; }

.webinar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.webinar-card {
  display: block;
  text-decoration: none !important;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 8px 28px rgba(10, 14, 39, 0.08);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.webinar-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 50px rgba(10, 14, 39, 0.18);
}
.webinar-card .wc-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #f3f4f6;
}
.webinar-card .wc-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.webinar-card:hover .wc-img img { transform: scale(1.04); }
.webinar-card .wc-img::after {
  content: '▶ 視聴する';
  position: absolute;
  bottom: 12px; right: 12px;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 4px;
  backdrop-filter: blur(4px);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.webinar-card:hover .wc-img::after { opacity: 1; transform: translateY(0); }
.webinar-card .wc-meta {
  padding: 16px 18px 18px;
  background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
  border-top: 1px solid #eef0f5;
}
.webinar-card .wc-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  text-transform: uppercase;
  font-family: 'Lato', sans-serif;
}
.webinar-card:nth-child(1) .wc-tag { background: #dbeafe; color: #1e40af; }
.webinar-card:nth-child(2) .wc-tag { background: #fee2e2; color: #b91c1c; }
.webinar-card:nth-child(3) .wc-tag { background: #dcfce7; color: #15803d; }
.webinar-card:nth-child(4) .wc-tag { background: #f3e8ff; color: #7c3aed; }
.webinar-card .wc-title {
  font-size: 15px;
  font-weight: 700;
  color: #0a0e27;
  line-height: 1.5;
  margin: 0;
}
.webinar-card .wc-sub {
  margin-top: 6px;
  font-size: 12px;
  color: #6b7280;
  line-height: 1.5;
}
@media (max-width: 1100px) {
  .webinar-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .webinar-grid { grid-template-columns: 1fr; }
  .webinar-section { padding: 48px 0 !important; }
}
