/* =============================
   Footer Component Styles
   ============================= */

/* フッター基本スタイル */
.footer {
  background: var(--navy-dark);
  color: white;
  text-align: center;
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--primary-blue);
}

.footer .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
  text-align: center;
}

/* フッターコンテンツレイアウト */
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-bottom: 15px;
  text-align: center;
}

.footer-main {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

/* フッターナビゲーション */
.footer-nav {
  text-align: center;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav li {
  margin: 0;
}

.footer-nav a {
  color: white;
  text-decoration: none;
  transition: var(--transition-normal);
  padding: 8px 16px;
  border-radius: var(--radius-lg);
  font-weight: var(--font-weight-medium);
  font-size: 16px;
  display: inline-block;
  text-align: center;
}

.footer-nav a:hover {
  background: var(--primary-blue);
  transform: translateY(-2px);
}

/* SNSリンク */
.footer-sns {
  text-align: center;
}

.footer-sns h3 {
  color: white;
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: var(--font-weight-medium);
  text-align: center;
}

.sns-links {
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: center;
}

.sns-link {
  display: inline-block;
  transition: var(--transition-normal);
}

.sns-link:hover {
  transform: translateY(-2px);
}

.sns-link img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

/* フッター情報 */
.footer-info {
  text-align: center;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-info .company-info {
  font-size: 16px;
  font-weight: var(--font-weight-medium);
  line-height: 1.6;
  color: var(--navy-dark);
  margin: 0;
  background: white;
  padding: 20px 30px;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  text-align: center;
}

.footer-info .company-info strong {
  color: var(--primary-blue);
  font-weight: var(--font-weight-bold);
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
  text-align: center;
}

/* フッターボトム */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 30px;
  text-align: center;
  color: white;
}

.footer-bottom .copyright {
  font-size: 16px;
  font-weight: var(--font-weight-medium);
  color: white !important;
  margin: 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 16px;
  font-weight: var(--font-weight-medium);
  color: white !important;
  margin: 0;
  text-align: center;
}

.copyright-year {
  color: white;
  font-weight: var(--font-weight-bold);
}

/* ページトップボタン */
.page-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: var(--primary-blue);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(74, 144, 226, 0.3);
  z-index: 1000;
}

.page-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.page-top-btn:hover {
  background: var(--primary-blue-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(74, 144, 226, 0.4);
}

.page-top-btn svg {
  width: 24px;
  height: 24px;
  stroke-width: 3;
}

/* レスポンシブ対応 */
@media (max-width: 992px) {
  .footer-main {
    gap: 50px;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 40px 20px;
  }
  
  .footer-content {
    gap: 30px;
    margin-bottom: 15px;
  }
  
  .footer-main {
    flex-direction: column;
    gap: 30px;
    text-align: center;
    align-items: center;
  }
  
  .footer-nav {
    width: 100%;
    text-align: center;
  }
  
  .footer-nav ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 10px;
    max-width: 400px;
    margin: 0 auto;
    justify-items: center;
  }
  
  .footer-nav a {
    font-size: 14px;
    padding: 10px 8px;
    text-align: center;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .footer-sns {
    width: 100%;
    text-align: center;
  }
  
  .footer-sns h3 {
    font-size: 14px;
    text-align: center;
  }
  
  .sns-links {
    justify-content: center;
  }
  
  .sns-link img {
    width: 28px;
    height: 28px;
  }
  
  .footer-info {
    width: 100%;
    justify-content: center;
  }
  
  .footer-info .company-info {
    font-size: 14px;
    padding: 15px 20px;
    max-width: 300px;
    text-align: center;
  }
  
  .footer-info .company-info strong {
    font-size: 16px;
    text-align: center;
  }
  
  .footer-bottom {
    text-align: center;
  }
  
  .footer-bottom .copyright {
    font-size: 14px;
    text-align: center;
    color: white !important;
  }

  .footer-bottom p {
    font-size: 14px;
    color: white !important;
    text-align: center;
  }
  
  .page-top-btn {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
  
  .page-top-btn svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .footer-main {
    gap: 25px;
  }
  
  .footer-nav ul {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 8px;
    max-width: 350px;
    justify-items: center;
  }
  
  .footer-nav a {
    font-size: 13px;
    padding: 8px 6px;
    text-align: center;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .sns-links {
    gap: 12px;
    justify-content: center;
  }
  
  .sns-link img {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 360px) {
  .footer-nav ul {
    max-width: 300px;
    gap: 10px 6px;
  }
  
  .footer-nav a {
    font-size: 12px;
    padding: 6px 4px;
    min-height: 36px;
  }
} 