/* ============================================================
   Lateral Swing — Front Page Styles
   Cocoon Child Theme Custom CSS
   ============================================================ */

/* --- Variables --- */
:root {
  --sl-bg: #0a0a0f;
  --sl-bg-elevated: rgba(18, 18, 26, 0.9);
  --sl-bg-card: rgba(22, 22, 31, 0.9);
  --sl-bg-card-hover: rgba(28, 28, 40, 0.92);
  --sl-border: rgba(255,255,255,0.06);
  --sl-border-strong: rgba(255,255,255,0.12);
  --sl-text: #e0e0e8;
  --sl-text-muted: #8888a0;
  --sl-text-dim: #55556a;
  --sl-accent: #00c896;
  --sl-accent-dim: rgba(0,200,150,0.15);
  --sl-loss: #e05555;
  --sl-font-heading: 'Outfit', 'Noto Sans JP', sans-serif;
  --sl-font-body: 'Noto Sans JP', sans-serif;
  --sl-max-width: 1200px;
  --sl-header-height: 64px;
}

/* --- Front Page Body Override --- */
body.front-page-custom {
  font-family: var(--sl-font-body);
  background-color: var(--sl-bg) !important;
  background-image: url('../images/bg.webp') !important;
  background-size: cover !important;
  background-position: center top !important;
  background-attachment: fixed !important;
  background-repeat: no-repeat !important;
  color: var(--sl-text);
  font-size: 15px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

/* Hide Cocoon default elements on front page */
body.front-page-custom #header,
body.front-page-custom #content,
body.front-page-custom #sidebar,
body.front-page-custom .go-to-top,
body.front-page-custom #notice-area,
body.front-page-custom .mobile-menu-buttons,
body.front-page-custom #footer { display: none !important; }


/* ============================================================
   Custom Header
   ============================================================ */
.sl-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10,10,15,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--sl-border);
}
.sl-header-inner {
  max-width: var(--sl-max-width);
  margin: 0 auto;
  padding: 0 40px;
  height: var(--sl-header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sl-brand { display: flex; flex-direction: column; gap: 2px; }
.sl-catchphrase {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sl-text-muted);
  font-family: var(--sl-font-heading);
}
.sl-logo {
  font-family: var(--sl-font-heading);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
}
.sl-logo a { color: #fff; text-decoration: none; }
.sl-logo span { color: var(--sl-accent); }

.sl-nav ul {
  display: flex;
  gap: 32px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.sl-nav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--sl-text-muted);
  text-decoration: none;
  transition: color 0.25s;
  position: relative;
}
.sl-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--sl-accent);
  transition: width 0.3s ease;
}
.sl-nav a:hover { color: #fff; }
.sl-nav a:hover::after { width: 100%; }

/* Hamburger (mobile) */
.sl-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.sl-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: 0.3s;
}


/* ============================================================
   Hero Section
   ============================================================ */
.sl-hero {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sl-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
/* Default fallback gradient when no image set */
.sl-hero-bg.no-image {
  background:
    linear-gradient(135deg, rgba(0,40,30,0.7) 0%, rgba(0,10,30,0.8) 50%, rgba(20,0,40,0.7) 100%);
}
.sl-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,200,150,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,150,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: sl-gridShift 20s linear infinite;
}
@keyframes sl-gridShift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}
.sl-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(0,200,150,0.12) 0%, transparent 60%);
}
.sl-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 255, 255, 0.05);
  z-index: 1;
}
.sl-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 85%;
  width: 100%;
  padding: 0 30px;
  box-sizing: border-box;
}
.sl-hero-content h1 {
  font-family: var(--sl-font-heading);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  margin: 0 0 12px;
  letter-spacing: 0.02em;
}
.sl-hero-content h1 em {
  font-style: normal;
  color: var(--sl-accent);
}
.sl-hero-content p {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  line-height: 1.9;
  margin: 0 0 18px;
}
.sl-hero-desc-sp { display: none; }
.sl-hero-desc-pc { display: inline; }
.sl-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 36px;
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.sl-hero-cta:hover {
  border-color: var(--sl-accent);
  background: rgba(0,200,150,0.08);
  color: #fff;
}


/* ============================================================
   Content Layout — 3カラム
   ============================================================ */
.sl-content-wrapper {
  max-width: var(--sl-max-width);
  margin: 0 auto;
  padding: 48px 40px 100px;
  display: grid;
  grid-template-columns: 260px 1fr 260px;
  gap: 32px;
}
.sl-col-left { min-width: 0; position: relative; top: 0; }
.sl-col-center { min-width: 0; }
.sl-col-right { min-width: 0; }


/* ============================================================
   Featured Article
   ============================================================ */
.sl-featured {
  margin-bottom: 48px;
}
.sl-featured a {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--sl-border);
  background: var(--sl-bg-card);
  text-decoration: none;
}
.sl-featured .sl-featured-thumb {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}
.sl-featured a:hover .sl-featured-thumb { transform: scale(1.04); }
.sl-featured .sl-featured-overlay {
  padding: 16px;
}
.sl-category-badge {
  display: inline-block;
  padding: 3px 12px;
  background: var(--sl-accent);
  color: #000;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 2px;
  margin-bottom: 12px;
  width: fit-content;
}
.sl-featured .sl-featured-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--sl-accent);
  margin: 0;
}
.sl-featured .sl-featured-meta {
  margin-top: 8px;
  font-size: 13px;
  color: var(--sl-text-muted);
  line-height: 1.6;
}
.sl-featured .sl-featured-date {
  margin-top: 8px;
  margin-bottom: 0;
  font-size: 14px;
  color: yellow;
  text-align: right;
}
/* No-thumbnail fallback */
.sl-featured .sl-no-thumb {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0d1a14 0%, #0a1018 100%);
  position: relative;
}
.sl-featured .sl-no-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0px, transparent 18px, rgba(0,200,150,0.06) 18px, rgba(0,200,150,0.06) 20px),
    repeating-linear-gradient(0deg, transparent 0px, transparent 28px, rgba(0,200,150,0.04) 28px, rgba(0,200,150,0.04) 30px);
}

/* ============================================================
   Side Column Cards (左・右カラム用 小カード)
   ============================================================ */
.sl-side-card {
  background: var(--sl-bg-card);
  border: 1px solid var(--sl-border);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
  margin-bottom: 16px;
}
.sl-side-card:hover {
  border-color: var(--sl-border-strong);
  transform: translateY(-2px);
}
.sl-side-card a { text-decoration: none; color: inherit; display: block; }
.sl-side-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--sl-bg-elevated);
  display: block;
}
.sl-side-card-body { padding: 10px 0 0 0; }
.sl-side-card-category {
  font-size: 10px;
  font-weight: 600;
  color: var(--sl-accent);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.sl-side-card-annual .sl-side-card-title {
  font-size: 16px;
  color: var(--sl-accent);
}
.sl-side-card-sub {
  font-size: 12px;
  color: var(--sl-text-muted);
  margin-top: 4px;
  margin-bottom: 0;
}
.sl-side-card-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sl-side-card-date {
  margin-top: 8px;
  margin-bottom: 0;
  font-size: 14px;
  color: yellow;
  text-align: right;
}

/* サイドカラム用 NO THUMB */
.sl-side-card .sl-no-thumb-sm {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #0d1a14 0%, #0a1018 100%);
  position: relative;
}
.sl-side-card .sl-no-thumb-sm::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0px, transparent 8px, rgba(0,200,150,0.05) 8px, rgba(0,200,150,0.05) 10px);
}

/* ============================================================
   Ad Placeholder（広告枠）
   ============================================================ */
.sl-ad-slot {
  display: none;
}
.sl-ad-slot-label {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--sl-text-dim);
  text-transform: uppercase;
}

/* ============================================================
   Section Headings
   ============================================================ */
.sl-section-heading {
  font-family: var(--sl-font-heading);
  font-size: 16px;
  font-weight: 600;
  color: #aaa;
  margin-bottom: 0;
  padding-bottom: 3px;
  border-bottom: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sl-section-heading .sl-more-link {
  font-size: 13px;
  color: var(--sl-text-muted);
  font-weight: 400;
  text-decoration: none;
  transition: color 0.25s;
}
.sl-section-heading .sl-more-link:hover { color: var(--sl-accent); }

/* ============================================================
   Article Grid
   ============================================================ */
.sl-article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.sl-card {
  background: var(--sl-bg-card);
  border: 1px solid var(--sl-border);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.sl-card:hover {
  border-color: var(--sl-border-strong);
  transform: translateY(-2px);
}
.sl-card a { text-decoration: none; color: inherit; display: block; }
.sl-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--sl-bg-elevated);
  display: block;
}
.sl-card-body { padding: 20px; }
.sl-card-category {
  font-size: 11px;
  font-weight: 600;
  color: var(--sl-accent);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.sl-card-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sl-card-date {
  margin-top: 12px;
  font-size: 12px;
  color: var(--sl-text-dim);
}

/* Native Ad */
.sl-card.sl-native-ad { position: relative; }
.sl-card.sl-native-ad::before {
  content: 'PR';
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 2px 10px;
  background: rgba(0,0,0,0.7);
  color: var(--sl-text-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  border-radius: 2px;
}

/* No-thumb for cards */
.sl-card .sl-no-thumb-sm {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #0d1a14 0%, #0a1018 100%);
  position: relative;
}
.sl-card .sl-no-thumb-sm::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0px, transparent 8px, rgba(0,200,150,0.05) 8px, rgba(0,200,150,0.05) 10px);
}


/* ============================================================
   Tab Navigation
   ============================================================ */
.sl-tab-nav {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--sl-border);
  list-style: none;
  padding: 0;
}
.sl-tab-nav button {
  background: none;
  border: none;
  color: var(--sl-text-muted);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 20px;
  cursor: pointer;
  position: relative;
  font-family: var(--sl-font-body);
  transition: color 0.25s;
}
.sl-tab-nav button.active { color: #fff; }
.sl-tab-nav button.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--sl-accent);
}
.sl-tab-nav button:hover { color: #fff; }

.sl-tab-panel { display: none; }
.sl-tab-panel.active { display: block; }

/* Tab List Items */
.sl-tab-content { margin-bottom: 48px; }
.sl-list-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--sl-border);
  align-items: flex-start;
  transition: background 0.2s;
}
.sl-list-item:first-child { padding-top: 0; }
.sl-list-item:last-child { padding-bottom: 0; }
.sl-list-item a {
  display: block;
  text-decoration: none;
  color: inherit;
  width: 100%;
}
.sl-list-media {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 8px;
}
.sl-list-text {
  flex: 1;
  min-width: 0;
}
.sl-list-item:hover { background: rgba(255,255,255,0.02); }
.sl-list-thumb {
  width: 160px;
  height: auto;
  max-width: 100%;
  border-radius: 4px;
  flex-shrink: 0;
  display: block;
}
.sl-list-thumb-fallback {
  flex-shrink: 0;
}
.sl-list-thumb-fallback {
  width: 80px;
  height: 80px;
  border-radius: 4px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #0d1a14 0%, #0a1018 100%);
  position: relative;
}
.sl-list-thumb-fallback::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 4px;
  background:
    repeating-linear-gradient(90deg, transparent 0px, transparent 8px, rgba(0,200,150,0.05) 8px, rgba(0,200,150,0.05) 10px);
}
.sl-list-body { flex: 1; min-width: 0; }
.sl-list-category {
  display: none;
}
.sl-list-title {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
  color: var(--sl-accent);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sl-list-date {
  font-size: 14px;
  color: yellow;
  margin-top: 4px;
  margin-bottom: 0;
  text-align: right;
}
.sl-list-date::before,
.sl-side-card-date::before,
.sl-featured .sl-featured-date::before {
  font-family: 'Font Awesome 5 Free';
  content: '\f017';
  font-weight: 400;
  margin-right: 4px;
}
.sl-list-excerpt {
  font-size: 12px;
  color: var(--sl-text-muted);
  line-height: 1.5;
  margin-top: 4px;
}


/* ============================================================
   Sidebar
   ============================================================ */
.sl-sidebar-section { margin-bottom: 36px; }
/* Section Plate — 半透明プレート */
.sl-section-plate {
  background: var(--sl-bg-card);
  border: 1px solid var(--sl-border);
  border-radius: 4px;
  padding: 16px;
  margin-bottom: 12px;
}
.sl-section-plate .sl-side-card {
  border: none;
  background: transparent;
  border-bottom: 1px solid var(--sl-border);
  border-radius: 0;
  margin-bottom: 0;
}
.sl-section-plate .sl-side-card:last-of-type {
  border-bottom: none;
}
.sl-section-plate .sl-ranking-item:last-child {
  border-bottom: none;
}
.sl-section-plate .sl-list-item:last-child {
  border-bottom: none;
}

/* Sidebar Headings */
.sl-sidebar-heading {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sl-text-muted);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--sl-border);
  font-family: var(--sl-font-heading);
}


/* Profile */
.sl-profile {
  background: var(--sl-bg-card);
  border: 1px solid var(--sl-border);
  border-radius: 4px;
  padding: 24px;
  text-align: center;
}
.sl-profile-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sl-accent), #0066cc);
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sl-font-heading);
  font-weight: 700;
  font-size: 24px;
  color: #fff;
  overflow: hidden;
}
.sl-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sl-profile-name { font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.sl-profile-desc { font-size: 12px; color: var(--sl-text-muted); line-height: 1.7; }
.sl-profile-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  color: var(--sl-accent);
  border: 1px solid var(--sl-accent);
  padding: 6px 20px;
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.25s;
}
.sl-profile-link:hover { background: var(--sl-accent); color: #000; }

/* Stats */
.sl-stats {
  background: var(--sl-bg-card);
  border: 1px solid var(--sl-border);
  border-radius: 4px;
  padding: 20px;
}
.sl-stats-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--sl-border);
  font-size: 13px;
}
.sl-stats-row:first-child { padding-top: 0; }
.sl-stats-row:last-child { border-bottom: none; padding-bottom: 0; }
.sl-stats-label { color: var(--sl-text-muted); }
.sl-stats-value { font-weight: 600; font-family: var(--sl-font-heading); }
.sl-stats-value.positive { color: var(--sl-accent); }
.sl-stats-value.negative { color: var(--sl-loss); }

/* Ranking */
.sl-ranking-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--sl-border);
  align-items: flex-start;
}
.sl-ranking-item:first-child { padding-top: 0; }
.sl-ranking-item:last-child { border-bottom: none; padding-bottom: 0; }
.sl-ranking-item a {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
}
.sl-ranking-num {
  font-family: var(--sl-font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--sl-text-dim);
  width: 28px;
  text-align: center;
  flex-shrink: 0;
  line-height: 1.2;
}
.sl-ranking-item:nth-child(1) .sl-ranking-num { color: var(--sl-accent); }
.sl-ranking-item:nth-child(2) .sl-ranking-num { color: #60a0ff; }
.sl-ranking-item:nth-child(3) .sl-ranking-num { color: #c090ff; }
.sl-ranking-title {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* ============================================================
   Footer
   ============================================================ */
.sl-footer {
  background: var(--sl-bg-elevated);
  border-top: 1px solid var(--sl-border);
  padding: 48px 40px;
}
.sl-footer-inner {
  max-width: var(--sl-max-width);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
.sl-footer-logo {
  font-family: var(--sl-font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}
.sl-footer-logo span { color: var(--sl-accent); }
.sl-footer-nav ul {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.sl-footer-nav a {
  font-size: 12px;
  color: var(--sl-text-muted);
  text-decoration: none;
  transition: color 0.25s;
}
.sl-footer-nav a:hover { color: #fff; }
.sl-footer-copy {
  margin-top: 32px;
  text-align: center;
  font-size: 11px;
  color: var(--sl-text-dim);
}


/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .sl-content-wrapper {
    grid-template-columns: 1fr;
    padding: 32px 20px 60px;
    gap: 36px;
  }
  .sl-col-left { top: 0; order: 2; }
  .sl-col-center { order: 1; }
  .sl-col-right { order: 3; }
  .sl-col-left > *:last-child,
  .sl-col-center > *:last-child,
  .sl-col-right > *:last-child { margin-bottom: 0; }
  .sl-featured { margin-bottom: 24px; }
  .sl-header-inner { padding: 0 20px; }
  .sl-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1a1a2e;
    border-bottom: 1px solid var(--sl-border);
    padding: 16px 20px;
    z-index: 999;
  }
  .sl-nav.sl-nav-open { display: block; }
  .sl-nav ul { flex-direction: column; gap: 0; }
  .sl-nav li { display: block; width: 100%; text-align: center; }
  .sl-nav li a {
    display: block;
    padding: 14px 0;
    font-size: 18px;
    border-bottom: 2px solid var(--sl-border-strong);
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .sl-nav li:last-child a { border-bottom: none; }
  .sl-header { position: relative; }
  .sl-menu-toggle { display: block; }
  .sl-hero { height: 260px; }
  .sl-hero-content h1 { font-size: 24px; }
  .sl-hero-content p { font-size: 14px; }
  .sl-article-grid { grid-template-columns: 1fr; }
  .sl-featured .sl-featured-overlay { padding: 12px; }
  .sl-featured .sl-featured-title { font-size: 17px; }
  .sl-footer-inner { flex-direction: column; gap: 20px; text-align: center; }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .sl-content-wrapper {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .sl-col-right {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

@media (max-width: 600px) {
  body.front-page-custom {
    background-image: url('../images/bg-sp.jpg') !important;
    background-color: #0a1520 !important;
    background-position: center top !important;
    background-size: cover !important;
    background-attachment: scroll !important;
    background-repeat: no-repeat !important;
    min-height: 100vh !important;
  }
  .sl-list-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .sl-hero { height: auto; padding: 10px 0; }
  .sl-hero-content { margin: 10px; }
  .sl-hero-content h1 { font-size: 20px; }
  .sl-hero-content p { font-size: 11px; }
  .sl-hero-desc-pc { display: none; }
  .sl-hero-desc-sp { display: inline; }
  .sl-hero-cta { padding: 5px 15px; }
  .sl-content-wrapper { padding: 20px 16px 32px; gap: 24px; }
  .sl-article-grid { margin-bottom: 24px; }
  .sl-tab-content { margin-bottom: 24px; }
  .sl-sidebar-section { margin-bottom: 24px; }
  .sl-section-heading { font-size: 16px; }
  .sl-section-plate { padding: 10px; }
  .sl-list-thumb { width: 100px; height: auto; }
  .sl-list-thumb-fallback { width: 100px; height: 75px; }
  .sl-profile { padding: 16px; }
  .sl-footer { padding: 15px 0 5px 0; }
  .sl-footer-copy { margin-top: 0; }
  .sl-footer-inner { gap: 12px; }
}
