/* ========================================
   Hitasur@ - Footer Component
   サイトフッター専用スタイル
======================================== */

/* ========================================
   フッター本体
======================================== */
.footer {
  background: var(--color-white);
  padding: 4rem 0 2rem;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ========================================
   上部セクション（ロゴ・SNS / CTA）
======================================== */
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

/* ブランドエリア（ロゴ + SNS） */
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ロゴ */
.footer__logo {
  font-family: var(--font-en);
  font-size: 2rem; /* 32px - 8ptグリッド準拠 */
  font-weight: 900;
  color: var(--color-black);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.footer__logo:hover {
  opacity: 1;
}

.footer__logo-at {
  background: linear-gradient(135deg, 
    #667eea 0%, 
    #764ba2 20%, 
    #00b4db 40%, 
    #00f5ff 50%, 
    #ff6b9d 70%, 
    #ffd89b 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* SNSアイコン */
.footer__social {
  display: flex;
  gap: 0.75rem;
}

.footer__social-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--color-black);
  border-radius: 50%;
  background: transparent;
  transition: all 0.3s ease;
}

.footer__social-item svg {
  display: block;
  fill: var(--color-black);
  transition: fill 0.3s ease;
}

.footer__social-item:hover {
  background: var(--color-black);
  transform: translateY(-3px);
}

.footer__social-item:hover svg {
  fill: var(--color-white);
}

/* CTAエリア */
.footer__cta {
  text-align: right;
}

.footer__cta-text {
  font-family: var(--font-ja);
  font-size: clamp(1.125rem, 2vw, 1.5rem); /* 18px〜24px */
  font-weight: 700;
  line-height: 1.8;
  color: var(--color-black);
  margin: 0;
}

.footer__cta-text--large {
  font-size: 1.75rem;
  display: block;
}

/* ========================================
   区切り線
======================================== */
.footer__divider {
  height: 1px;
  background: var(--color-black);
  margin-bottom: 2.5rem;
}

/* ========================================
   下部セクション（ナビゲーション）
======================================== */
.footer__bottom {
  display: flex;
  justify-content: flex-start;
  gap: 4rem;
  margin-bottom: 3rem;
}

/* ナビゲーショングループ */
.footer__nav-group {
  min-width: 160px;
}

/* ナビゲーションタイトル（白抜き文字） */
.footer__nav-title {
  font-family: var(--font-en);
  font-size: clamp(1.25rem, 2vw, 1.5rem); /* 20px〜24px */
  font-weight: 700;
  color: var(--color-white);
  -webkit-text-stroke: 1px var(--color-black);
  paint-order: stroke fill;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

/* ナビゲーションリスト */
.footer__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__nav-list li {
  margin-bottom: 0.625rem;
}

.footer__nav-list li:last-child {
  margin-bottom: 0;
}

/* ナビゲーションリンク */
.footer__nav-link {
  font-family: var(--font-ja);
  font-size: clamp(1rem, 1.5vw, 1.125rem); /* 16px〜18px */
  font-weight: 700;
  color: var(--color-black);
  text-decoration: none;
  transition: all 0.3s ease;
  background-size: 0% 50%, 0% 50%;
  background-position: top, bottom;
  background-repeat: no-repeat;
  background-image: 
    linear-gradient(transparent 50%, transparent 50%),
    linear-gradient(90deg, 
      rgba(102, 126, 234, 0.25) 0%, 
      rgba(118, 75, 162, 0.25) 20%, 
      rgba(0, 180, 219, 0.25) 40%, 
      rgba(0, 245, 255, 0.25) 50%, 
      rgba(255, 107, 157, 0.25) 70%, 
      rgba(255, 216, 155, 0.25) 100%
    );
}

.footer__nav-link:hover,
.footer__nav-link:focus,
.footer__nav-link:active {
  background-size: 100% 50%, 100% 50%;
}

.footer__nav-link--en {
  font-family: var(--font-en);
}

/* ========================================
   コピーライト
======================================== */
.footer__copyright {
  text-align: right;
}

.footer__copyright small {
  font-family: var(--font-en);
  font-size: 1rem; /* 16px */
  color: var(--color-black);
  letter-spacing: 0.02em;
}

/* ========================================
   レスポンシブ（768px以下）
======================================== */
@media (max-width: 768px) {
  .footer {
    padding: 3rem 0 2rem;
  }

  .footer__inner {
    padding: 0 1rem;
  }

  .footer__top {
    flex-direction: column;
    gap: 2rem;
  }

  .footer__cta {
    text-align: left;
  }

  .footer__cta-text {
    font-size: 1.125rem;
  }

  .footer__cta-text--large {
    font-size: 1.5rem;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 2rem;
  }

  .footer__nav-group {
    min-width: auto;
  }

  .footer__copyright {
    text-align: center;
  }
}
