/**
 * 新フッター スタイル（PC版）
 * Figmaデザイン: node-id=15-14932
 */

/* ==========================================================================
   フッター共通
   ========================================================================== */
.sitefooter-new {
  width: 100%;
}

/* ==========================================================================
   フッターメイン（赤背景エリア）
   ========================================================================== */
.footer-main {
  width: 100%;
  background-color: #c8102e;
}

.footer-main-inner {
  max-width: 1248px;
  margin-inline: auto;
  padding-inline: 24px;
  padding-block-start: 56px;
  box-sizing: border-box;
}

/* ==========================================================================
   フッター上部（ロゴ + ナビ）
   ========================================================================== */
.footer-top {
  display: flex;
  align-items: center;
  padding-block: 42px;
}

/* --------------------------------------------------------------------------
   左側: ブランド（ロゴ・住所）
   -------------------------------------------------------------------------- */
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 35%;
  padding-inline: 38px;
  padding-block: 42px;
}

.footer-logo {
  display: block;
}

.footer-logo img {
  width: 115px;
  height: 27px;
}

.footer-address {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: clamp(12px, calc(0.065vw + 11.76px), 13px);
  line-height: 1.4;
  color: #fff;
  text-align: center;
  margin: 0;
}

/* --------------------------------------------------------------------------
   右側: ナビゲーション
   -------------------------------------------------------------------------- */
.footer-nav {
  width: 65%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* ナビ行: シングル（トップのみ） */
.footer-nav-row--single {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
}

/* ナビ行: グリッド（8項目） */
.footer-nav-row--grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px 25px;
}

/* ナビアイテム（日本語 + 英語） */
.footer-nav-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 137px;
  text-decoration: none;
}

.footer-nav-item__ja {
  font-family: 'Noto Serif JP', serif;
  font-weight: 400;
  font-size: clamp(18px, calc(0.13vw + 17.51px), 20px);
  line-height: 1.1;
  letter-spacing: 2.6px;
  color: #fff;
  white-space: nowrap;
}

.footer-nav-item__en {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: clamp(9px, calc(0.065vw + 8.76px), 10px);
  line-height: 1.1;
  letter-spacing: 1.3px;
  color: #fff;
  padding-inline: 2px;
}

/* ナビ行: サブリンク */
.footer-nav-row--links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav-row--links li {
  display: block;
}

.footer-nav-link {
  font-family: 'Noto Serif JP', serif;
  font-weight: 400;
  font-size: clamp(12px, calc(0.13vw + 11.51px), 14px);
  line-height: 1.1;
  letter-spacing: 1.82px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.footer-nav-link:hover,
.footer-nav-item:hover .footer-nav-item__ja,
.footer-nav-item:hover .footer-nav-item__en {
  opacity: 0.8;
}

/* ==========================================================================
   バナーエリア
   ========================================================================== */
.footer-banners {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  padding-inline: 24px;
  padding-block: 32px;
}

/* バナーリンク（画像バナー） */
.footer-banner-link {
  display: block;
  max-width: 160px;
  margin-inline: auto;
  transition: opacity 0.3s;
}

.footer-banner-link:hover {
  opacity: 0.8;
}

.footer-banner-link img {
  display: block;
  width: 100%;
  height: auto;
}

/* バナー共通（旧構造用） */
.footer-banner {
  display: flex;
  align-items: center;
  width: 159px;
  height: 55px;
  background-color: #fff;
  border: 0.5px solid #ccc;
  text-decoration: none;
  position: relative;
  box-sizing: border-box;
}

.footer-banner:hover {
  opacity: 0.9;
}

.footer-banner__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  flex-shrink: 0;
  margin-inline-start: 8px;
}

.footer-banner__text {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding-inline-end: 8px;
}

/* --------------------------------------------------------------------------
   バナー1: 無料見積もりフォーム
   -------------------------------------------------------------------------- */
.footer-banner__title-group {
  display: flex;
  flex-direction: column;
  line-height: 1.19;
}

.footer-banner__title-main {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.84px;
  color: #4a4a4a;
}

.footer-banner__title-sub {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.84px;
  color: #4a4a4a;
}

.footer-banner__label {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 17.6px;
  letter-spacing: -3.16px;
  color: #4a4a4a;
  position: absolute;
  right: 15px;
  bottom: 7px;
}

/* --------------------------------------------------------------------------
   バナー2: 電話
   -------------------------------------------------------------------------- */
.footer-banner--phone .footer-banner__phone-number {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  color: #e7141a;
  text-align: center;
}

.footer-banner--phone .footer-banner__phone-time {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 10px;
  line-height: 13px;
  letter-spacing: 0.5px;
  color: #e7141a;
  text-align: center;
  margin-block-start: 4px;
}

/* --------------------------------------------------------------------------
   バナー3: LINE
   -------------------------------------------------------------------------- */
.footer-banner--line .footer-banner__line-title {
  display: flex;
  align-items: baseline;
}

.footer-banner--line .footer-banner__line-title-main {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 17.6px;
  letter-spacing: -0.16px;
  color: #4a4a4a;
}

.footer-banner--line .footer-banner__line-title-de {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 9px;
  line-height: 17.6px;
  letter-spacing: -0.16px;
  color: #4a4a4a;
  margin-inline: 2px;
}

.footer-banner--line .footer-banner__line-title-sub {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 17.6px;
  letter-spacing: -0.16px;
  color: #4a4a4a;
}

.footer-banner--line .footer-banner__line-desc {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 8px;
  line-height: 8px;
  letter-spacing: 0.5px;
  color: #4a4a4a;
  margin-block-start: 4px;
}

/* --------------------------------------------------------------------------
   バナー4: AI相場チェック
   -------------------------------------------------------------------------- */
.footer-banner--ai .footer-banner__ai-title {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.19;
  letter-spacing: -0.16px;
  color: #4a4a4a;
}

.footer-banner--ai .footer-banner__ai-desc {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 7px;
  line-height: 8px;
  color: #4a4a4a;
  margin-block-start: 4px;
}

/* --------------------------------------------------------------------------
   バナー5: ショールーム見学予約
   -------------------------------------------------------------------------- */
.footer-banner--showroom {
  position: relative;
}

.footer-banner--showroom .footer-banner__text {
  padding-inline-start: 2px;
}

.footer-banner--showroom .footer-banner__showroom-label {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  letter-spacing: -0.16px;
  color: #4a4a4a;
}

.footer-banner--showroom .footer-banner__showroom-title {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 17.6px;
  letter-spacing: 1.84px;
  color: #4a4a4a;
  display: block;
  margin-block-start: 2px;
}

.footer-banner--showroom .footer-banner__showroom-note {
  display: flex;
  flex-direction: column;
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
}

.footer-banner--showroom .footer-banner__showroom-note span {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 7px;
  line-height: 10px;
  color: #4a4a4a;
}

.footer-banner--showroom .footer-banner__showroom-note::before,
.footer-banner--showroom .footer-banner__showroom-note::after {
  content: '';
  position: absolute;
  right: 0;
  width: 28px;
  height: 3px;
  background-color: #f0bcc4;
}

/* ショールームバナーの三本線 */
.footer-banner--showroom::after {
  content: '';
  position: absolute;
  right: 5px;
  top: 20px;
  width: 28px;
  height: 3px;
  background-color: #f0bcc4;
  box-shadow:
    0 10px 0 #f0bcc4,
    0 20px 0 #f0bcc4;
}

/* --------------------------------------------------------------------------
   バナー6: 助成金相談
   -------------------------------------------------------------------------- */
.footer-banner--grant .footer-banner__grant-title {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 600;
  font-size: 21px;
  line-height: 17.6px;
  letter-spacing: 1.84px;
  color: #4a4a4a;
}

.footer-banner--grant .footer-banner__grant-desc {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 7px;
  line-height: 8px;
  letter-spacing: 0.84px;
  color: #4a4a4a;
  margin-block-start: 4px;
}

/* ==========================================================================
   ポリシーリンク
   ========================================================================== */
.footer-policy {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-inline: 24px;
  padding-block: 32px;
  box-sizing: border-box;
}

.footer-policy__shop-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 4px 12px;
  background-color: #fff;
  border: 0.5px solid #ccc;
  text-decoration: none;
  box-sizing: border-box;
}

.footer-policy__shop-btn:hover {
  opacity: 0.8;
}

.footer-policy__shop-btn-text {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.4px;
  color: #191a19;
  white-space: nowrap;
}

.footer-policy__shop-btn-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.footer-policy__links {
  display: flex;
  align-items: center;
  gap: 42px;
}

.footer-policy__link {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.4px;
  color: #fff;
  text-decoration: none;
}

.footer-policy__link:hover {
  opacity: 0.8;
}

/* ==========================================================================
   コピーライト
   ========================================================================== */
.footer-copyright {
  width: 100%;
  background-color: #fff;
  padding-inline: 16px;
  padding-block: 12px;
  box-sizing: border-box;
}

.footer-copyright__text {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 300;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.4px;
  color: #191a19;
  text-align: right;
  margin: 0;
}

/* ==========================================================================
   レスポンシブ対応（タブレット: 768px〜1024px）
   ========================================================================== */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .footer-nav-row--grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-banners {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .footer-banner-link {
    max-width: 100%;
  }
}

/* ==========================================================================
   レスポンシブ対応（モバイル: 767px以下）
   Figmaデザイン: node-id=1-38055
   ========================================================================== */
@media screen and (max-width: 767px) {
  /* --------------------------------------------------------------------------
     フッター上部
     -------------------------------------------------------------------------- */
  .footer-main-inner {
    padding-inline: 20px;
    padding-block-start: 32px;
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
    padding-block: 24px;
    gap: 32px;
  }

  /* --------------------------------------------------------------------------
     ブランド（ロゴ・住所）
     -------------------------------------------------------------------------- */
  .footer-brand {
    width: 100%;
    padding-inline: 0;
    padding-block: 0;
    gap: 16px;
  }

  .footer-logo img {
    width: 115px;
    height: auto;
  }

  .footer-address {
    line-height: 1.5;
  }

  /* --------------------------------------------------------------------------
     ナビゲーション
     -------------------------------------------------------------------------- */
  .footer-nav {
    width: 100%;
    gap: 24px;
  }

  /* トップリンク */
  .footer-nav-row--single {
    justify-content: flex-start;
    gap: 0;
  }

  /* 8項目グリッド: 2列 */
  .footer-nav-row--grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
  }

  .footer-nav-item {
    width: auto;
    gap: 4px;
    padding-left: 24px;
  }

  .footer-nav-item__ja {
    letter-spacing: 2px;
  }

  .footer-nav-item__en {
    letter-spacing: 1px;
    padding-inline: 0;
  }

  /* サブリンク: 3列グリッド */
  .footer-nav-row--links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 20px;
    padding: 0 24px;
  }

  .footer-nav-link {
    letter-spacing: 1px;
  }

  /* --------------------------------------------------------------------------
     バナーエリア
     -------------------------------------------------------------------------- */
  .footer-banners {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding-inline: 0;
    padding-block: 24px;
  }

  .footer-banner-link {
    max-width: 100%;
  }

  .footer-banner {
    width: 100%;
    height: 55px;
  }

  /* --------------------------------------------------------------------------
     ポリシーリンク
     -------------------------------------------------------------------------- */
  .footer-policy {
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    padding-inline: 24px;
    padding-block-start: 12px;
    padding-block-end: 20px;
  }

  .footer-policy__shop-btn {
    order: 2;
  }

  .footer-policy__links {
    order: 1;
    gap: 42px;
  }

  .footer-policy__link {
    font-size: 10px;
  }

  /* --------------------------------------------------------------------------
     コピーライト
     -------------------------------------------------------------------------- */
  .footer-copyright {
    padding-block: 16px;
  }

  .footer-copyright__text {
    text-align: center;
  }
}
