/*
 * footer.css
 * 株式会社井清不動産 - フッタースタイル
 * iseifudousan-child テーマ用
 */

/* ============================================================
   フッター全体
   ============================================================ */
.site-footer {
  background-color: #2e1a0e;
  color: #e8ddd0;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 48px 28px;
}

/* ============================================================
   左カラム(ロゴ・住所・電話)
   ============================================================ */
.footer-info {
  flex-shrink: 0;
  width: 360px;
  text-align: center;
}

/* ロゴ */
.footer-logo {
  margin-bottom: 18px;
}

.footer-logo a {
  display: inline-block;
  line-height: 1;
}

.footer-logo img {
  height: 45px;
  width: auto;
  object-fit: contain;
  margin-top: 5px;
}

.footer-site-title {
  color: #e8ddd0;
  font-size: 1.5rem;
  font-weight: 700;
}

/* 住所 */
.footer-address {
  font-style: normal;
  margin-bottom: 16px;
  text-align: center;
}

.footer-zip {
  font-size: 0.875rem;
  color: #ffffff;
  margin: 0 0 4px;
  letter-spacing: 0.06em;
}

.footer-addr-text {
  font-size: 0.872rem;
  color: #ffffff;
  margin: 0;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

/* 電話番号 */
.footer-tel-wrap {
  text-align: center;
  margin-top: 18px;
}

.footer-tel {
  margin: 0 0 8px;
}

.footer-tel a {
  color: #ffffff;
  text-decoration: none;
  font-size: 2rem;
  letter-spacing: 0.06em;
  line-height: 1.1;
  transition: opacity 0.2s;
  font-family: acumin-variable, sans-serif;
  font-variation-settings: "slnt" 0, "wdth" 50, "wght" 800;
}

.footer-tel a:hover {
  opacity: 0.7;
}

.footer-free-dial {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
}

.free-dial-icon {
  display: flex;
  align-items: center;
  color: #ffffff;
}

.free-dial-icon svg {
  width: 40px;
  height: 30px;
  margin-top: -1px;
}

.footer-free-dial a {
  color: #ffffff;
  text-decoration: none;
  font-size: 2rem;
  letter-spacing: 0.06em;
  line-height: 1.1;
  transition: opacity 0.2s;
  font-family: acumin-variable, sans-serif;
  font-variation-settings: "slnt" 0, "wdth" 50, "wght" 800;
}

.footer-free-dial a:hover {
  opacity: 0.7;
}

/* ============================================================
   右カラム(ナビゲーション)
   ============================================================ */
.footer-navigation {
  flex: 1;
  padding-top: 8px;
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.footer-nav-col {
  text-align: center;
  display: flex;
  flex-direction: column;
}

/* 親項目見出し */
.footer-nav-heading {
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ffffff;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  white-space: nowrap;
  text-align: center;
}

.footer-nav-heading a {
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-nav-heading a:hover {
  opacity: 0.7;
}

/* 子項目リスト */
.footer-nav-sub {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
  display: inline-block;
}

.footer-nav-sub li {
  margin-bottom: 6px;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.footer-nav-sub li::before {
  content: '・';
  color: #ffffff;
  margin-right: 2px;
}

.footer-nav-sub a {
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-nav-sub a:hover {
  opacity: 0.7;
}

/* ============================================================
   フッター下部リンク(プライバシーポリシー等)
   ============================================================ */
.footer-bottom-links {
  text-align: center;
  padding: 8px 40px 0;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-bottom-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
}

.footer-bottom-link:hover {
  opacity: 0.7;
  text-decoration: underline;
}

/* ============================================================
   コピーライト
   ============================================================ */
.footer-copyright {
  text-align: center;
  padding: 10px 40px 8px;
}

.footer-copyright p {
  margin: 0;
  color: #ffffff;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

/* ============================================================
   レスポンシブ
   ============================================================ */

/* タブレット(768px、1024px) */
@media (max-width: 1024px) {
  .footer-inner {
    gap: 36px;
    padding: 44px 28px 24px;
  }

  .footer-nav-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px 20px;
  }

  .footer-info {
    width: 280px;
  }

  .footer-tel a {
    font-size: 1.625rem;
  }

  .footer-free-dial a {
    font-size: 1.375rem;
  }
}

/* スマートフォン(〜767px) */
@media (max-width: 767px) {
  .footer-inner {
    flex-direction: column;
    align-items: center;
    padding: 36px 24px 20px;
    gap: 32px;
  }

  .footer-info {
    width: 100%;
    max-width: 360px;
  }

  .footer-nav-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
    width: 100%;
  }

  .footer-tel a {
    font-size: 1.5rem;
  }

  .free-dial-icon svg {
    width: 25px;
    height: 20px;
  }

  .footer-free-dial a {
    font-size: 1.52rem;
  }

  .footer-copyright {
    padding: 12px 24px 5px;
  }

  .footer-copyright p {
    font-size: 0.65rem;
  }
}
