/**
 * Sitemap Footer Styles
 * Styles for sitemap and footer sections
 * 
 * @package SHIPS Child
 * @subpackage Widgets\SitemapFooter
 * @version 1.0.0
 */

/* --- Sitemap Section --- */
#footer .sitemap-section {
  background-color: #ffffff;
  border-top: 1px solid #e0e0e0;
  padding: 60px 0;
  color: #333333 !important; /* Override parent theme's white color */
}

#footer .sitemap-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  color: #333333 !important; /* Override parent theme's white color */
}

@media (max-width: 900px) {
  #footer .sitemap-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  #footer .sitemap-inner {
    grid-template-columns: 1fr;
  }
}

#footer .sitemap-col-title {
  font-size: 14px;
  font-weight: 700;
  color: #2c3e50 !important; /* Override parent theme's white color */
  margin-bottom: 15px;
  border-bottom: 2px solid #e8f6f8;
  padding-bottom: 8px;
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

#footer .sitemap-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .sitemap-item {
  margin-bottom: 8px;
}

#footer .sitemap-link {
  font-size: 13px;
  color: #333333 !important; /* Override parent theme's white color */
  text-decoration: none;
  transition: color 0.2s;
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

#footer .sitemap-link:hover {
  color: #17a2b8 !important;
}

/* --- Footer (Light Version) --- */
#footer .site-footer {
  /* 明るく清潔感のあるライトグレー（青みを含む） */
  background-color: #f8fafc;
  color: #333333 !important; /* 文字色は濃い色 - Override parent theme's white color */
  padding: 60px 20px 20px;
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  border-top: 1px solid #e0e0e0; /* 上部に境界線を追加 */
}

#footer .footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
  color: #333333 !important; /* Override parent theme's white color */
}

#footer .footer-logo {
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: 0.05em;
  color: #2c3e50 !important; /* ロゴをダークカラーに - Override parent theme's white color */
}

#footer .footer-logo a {
  text-decoration: none;
  color: inherit !important;
}

#footer .footer-logo img {
  max-height: 40px;
  width: auto;
  display: block;
}

#footer .footer-address {
  font-size: 13px;
  line-height: 1.8;
  color: #777777 !important; /* 住所などは少し薄めの黒に - Override parent theme's white color */
}

#footer .footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

#footer .footer-link-item {
  color: #333333 !important; /* リンク文字色を変更 - Override parent theme's white color */
  text-decoration: none;
  font-size: 13px;
  opacity: 0.7;
  transition: all 0.3s;
}

#footer .footer-link-item:hover {
  opacity: 1;
  color: #17a2b8 !important; /* ホバー時にアクセントカラー */
}

#footer .footer-bottom {
  border-top: 1px solid #e0e0e0; /* ボーダー色を調整 */
  padding-top: 20px;
  text-align: center;
  font-size: 11px;
  color: #777777 !important; /* コピーライトを薄めに - Override parent theme's white color */
  font-family: "Montserrat", sans-serif;
}

@media (max-width: 768px) {
  #footer .footer-inner {
    flex-direction: column;
    gap: 30px;
  }
  
  #footer .footer-links {
    flex-direction: column;
    gap: 15px;
  }
}

