/* ============================================
   翔進 メガメニュー専用CSS
   /wp-content/themes/syn-ownd-child/css/megamenu.css
============================================ */

/* ===== SEO対策メガメニュー ===== */
.shohshin-mega--seo .sm-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 1px;
  background: #e0e0e0;
  border: 1px solid #e0e0e0;
}
.shohshin-mega--seo .sm-card {
  display: block !important;
  text-decoration: none !important;
  background: #fff !important;
  overflow: hidden;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
}
.shohshin-mega--seo .sm-card:hover { background: #fffaf5 !important; }
.shohshin-mega--seo .sm-thumb {
  width: 100% !important;
  aspect-ratio: 16/8;
  display: flex !important;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.shohshin-mega--seo .sm-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(253,132,25,.12);
  opacity: 0;
  transition: opacity .2s;
}
.shohshin-mega--seo .sm-card:hover .sm-thumb-overlay { opacity: 1; }
.shohshin-mega--seo .sm-icon {
  font-size: 2rem;
  position: relative;
  z-index: 1;
}
.shohshin-mega--seo .sm-body { padding: 14px 16px 18px !important; }
.shohshin-mega--seo .sm-tag {
  display: inline-block !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  color: #fd8419 !important;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.shohshin-mega--seo .sm-title {
  font-size: 1rem !important;
  font-weight: 800 !important;
  color: #1a1a2e !important;
  line-height: 1.45;
  margin-bottom: 7px;
}
.shohshin-mega--seo .sm-desc {
  font-size: 1rem !important;
  color: #666 !important;
  line-height: 1.65;
  margin-bottom: 10px;
}
.shohshin-mega--seo .sm-cta {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: #ccc !important;
  transition: color .2s;
}
.shohshin-mega--seo .sm-card:hover .sm-cta { color: #fd8419 !important; }
.shohshin-mega--seo .sm-footer {
  margin-top: 20px;
  display: flex !important;
  justify-content: flex-end;
}
.shohshin-mega--seo .sm-estimate-btn {
  display: inline-flex !important;
  align-items: center;
  background: #fd8419 !important;
  color: #fff !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  padding: 10px 24px !important;
  text-decoration: none !important;
  transition: background .2s;
}
.shohshin-mega--seo .sm-estimate-btn:hover { background: #e5741a !important; color: #fff !important; }