/* ========================================
   フッター - Footer Styles
   ページ下部固定、黒背景、画面幅いっぱい
   ======================================== */

.site-footer {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 50px 0 0px;
  margin-top: auto;
  width: 100%;
  position: relative;
  border-top: 3px solid #9d0000;
  flex-shrink: 0;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 0;
  right: 0;
  height: 3px;
  background: #9d0000;
}

.footer-container {
  width: 960px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* フッター上部：メインコンテンツ */
.footer-main {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

/* フッターセクション共通 */
.footer-section {
  display: flex;
  flex-direction: column;
}

.footer-heading {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 20px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.15);
  position: relative;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: #9d0000;
}

/* 会社情報セクション */
.footer-company {
  gap: 12px;
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.6;
  color: #e0e0e0;
  margin: 0;
  font-weight: 500;
}

.footer-description {
  font-size: 14px;
  line-height: 1.6;
  color: #cccccc;
  margin: 0;
}

/* 連絡先セクション */
.footer-contact {
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-icon {
  flex-shrink: 0;
  color: #e0e0e0;
  transition: color 0.3s ease;
}

.footer-tel {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-tel:hover {
  color: #ff4444;
}

.footer-contact-item:hover .footer-icon {
  color: #ff4444;
}

.footer-address {
  font-size: 14px;
  line-height: 1.6;
  color: #e0e0e0;
  font-style: normal;
  margin: 0 0 8px 0;
}

.footer-address-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #cccccc;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 4px 0;
}

.footer-map-link:hover {
  color: #ff4444;
}

.footer-map-link .map-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.footer-map-link:hover .map-icon {
  transform: translateX(2px) translateY(-2px);
}

/* クイックリンクセクション */
.footer-links {
  gap: 0;
}

.footer-nav {
  flex: 1;
}

.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-menu li {
  margin: 0;
  padding: 0;
}

.footer-menu a {
  color: #e0e0e0;
  text-decoration: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.3s ease;
  position: relative;
  background-color: rgba(255, 255, 255, 0.03);
}

.footer-menu a .link-icon {
  font-size: 18px;
  margin-right: 8px;
  color: #999999;
  transition: all 0.3s ease;
  display: inline-block;
  width: 16px;
}

.footer-menu a .link-text {
  flex: 1;
  transition: all 0.3s ease;
}

.footer-menu a:hover {
  color: #ff4444;
  background-color: rgba(255, 255, 255, 0.08);
  padding-left: 16px;
}

.footer-menu a:hover .link-icon {
  color: #ff4444;
  transform: translateX(2px);
}

.footer-menu a:hover .link-text {
  transform: translateX(2px);
}

/* フッター下部：コピーライト */
.footer-bottom {
  padding-top: 25px;
  padding-bottom: 15px;
  margin-top: 0;
  text-align: center;
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 20%, rgba(255, 255, 255, 0.3) 80%, transparent 100%);
}

.footer-copyright {
  font-size: 13px;
  color: #999999;
  margin: 0;
}
