/* ==============================
   UM-Theme Existing Footer Custom
============================== */

/* フッター全体 */
.site-footer,
#colophon,
footer.site-footer {
  background:
    radial-gradient(circle at 20% 0%, rgba(25, 214, 178, 0.12), transparent 30%),
    linear-gradient(180deg, #0b1015 0%, #050708 100%) !important;
  color: #f4f7f8 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 48px;
  padding-bottom: 28px;
  position: relative;
  overflow: hidden;
}

/* グリッド背景 */
.site-footer::before,
#colophon::before,
footer.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.35;
  pointer-events: none;
}

/* フッター内の要素を前面へ */
.site-footer > *,
#colophon > *,
footer.site-footer > * {
  position: relative;
  z-index: 1;
}

/* フッター内のテキスト */
.site-footer,
.site-footer p,
.site-footer span,
.site-footer li,
#colophon,
#colophon p,
#colophon span,
#colophon li {
  color: #9aa6ad !important;
}

/* フッター見出し */
.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer h5,
.site-footer h6,
#colophon h1,
#colophon h2,
#colophon h3,
#colophon h4,
#colophon h5,
#colophon h6 {
  color: #f4f7f8 !important;
  font-size: 15px;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

/* リンク */
.site-footer a,
#colophon a {
  color: #9aa6ad !important;
  text-decoration: none;
  transition: 0.2s ease;
}

.site-footer a:hover,
#colophon a:hover {
  color: #19d6b2 !important;
}

/* フッターメニュー */
.site-footer ul,
#colophon ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.site-footer li,
#colophon li {
  margin-bottom: 9px;
}

/* コピーライトやsite-info */
.site-footer .site-info,
.site-footer .copyright,
.site-footer .footer-copyright,
#colophon .site-info,
#colophon .copyright,
#colophon .footer-copyright {
  color: #6f7a82 !important;
  font-size: 12px;
  text-align: center;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

/* Powered by / テーマクレジット系がある場合 */
.site-footer .powered-by,
.site-footer .credits,
#colophon .powered-by,
#colophon .credits {
  color: #6f7a82 !important;
  font-size: 12px;
}

/* スマホ */
@media (max-width: 640px) {
  .site-footer,
  #colophon,
  footer.site-footer {
    padding-top: 36px;
    padding-bottom: 22px;
  }

  .site-footer h1,
  .site-footer h2,
  .site-footer h3,
  .site-footer h4,
  #colophon h1,
  #colophon h2,
  #colophon h3,
  #colophon h4 {
    font-size: 14px;
  }

  .site-footer p,
  .site-footer li,
  #colophon p,
  #colophon li {
    font-size: 13px;
  }
}
/* ==============================
   UM-Theme Footer Custom
   target: .site-footer-layout-sidebar
============================== */

.site-footer-layout-sidebar {
  background:
    radial-gradient(circle at 20% 0%, rgba(25, 214, 178, 0.12), transparent 30%),
    radial-gradient(circle at 90% 30%, rgba(65, 240, 204, 0.07), transparent 24%),
    linear-gradient(180deg, #0b1015 0%, #050708 100%) !important;
  color: #f4f7f8 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 56px 0 28px;
  position: relative;
  overflow: hidden;
}

/* 背景の薄いグリッド */
.site-footer-layout-sidebar::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.35;
  pointer-events: none;
}

/* 中身を背景より前に出す */
.site-footer-layout-sidebar > * {
  position: relative;
  z-index: 1;
}

/* フッター内のテキスト */
.site-footer-layout-sidebar,
.site-footer-layout-sidebar p,
.site-footer-layout-sidebar span,
.site-footer-layout-sidebar li {
  color: #9aa6ad !important;
}

/* 見出し */
.site-footer-layout-sidebar h1,
.site-footer-layout-sidebar h2,
.site-footer-layout-sidebar h3,
.site-footer-layout-sidebar h4,
.site-footer-layout-sidebar h5,
.site-footer-layout-sidebar h6 {
  color: #f4f7f8 !important;
  font-size: 15px;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

/* リンク */
.site-footer-layout-sidebar a {
  color: #9aa6ad !important;
  text-decoration: none;
  transition: 0.2s ease;
}

.site-footer-layout-sidebar a:hover {
  color: #19d6b2 !important;
}

/* リスト */
.site-footer-layout-sidebar ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.site-footer-layout-sidebar li {
  margin-bottom: 9px;
}

/* ウィジェット間の余白 */
.site-footer-layout-sidebar .widget {
  margin-bottom: 24px;
}

/* コピーライト・下部エリアっぽい部分 */
.site-footer-layout-sidebar .site-info,
.site-footer-layout-sidebar .copyright,
.site-footer-layout-sidebar .footer-copyright {
  color: #6f7a82 !important;
  font-size: 12px;
  text-align: center;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

/* スマホ */
@media (max-width: 640px) {
  .site-footer-layout-sidebar {
    padding: 40px 0 24px;
  }

  .site-footer-layout-sidebar h1,
  .site-footer-layout-sidebar h2,
  .site-footer-layout-sidebar h3,
  .site-footer-layout-sidebar h4 {
    font-size: 14px;
  }

  .site-footer-layout-sidebar p,
  .site-footer-layout-sidebar li {
    font-size: 13px;
  }
}