/* =========================
   Footer Sitemap (Yellow / Black)
========================= */

.siteFooter{ margin-top: 0; }

/* 上段（サイトマップ） */
.footerSitemap{
  background: var(--yellow); /* 黄色ベース */
  padding: 44px 0 26px;
}

/* 黄色の上に“薄いカード”を置く */
.footerSitemap__inner{
  width: min(1100px, 92vw);
  margin: 0 auto;
  background: rgba(255,255,255,.40);
  border-radius: 22px;
  padding: 20px 18px;
  box-shadow: 0 14px 30px rgba(0,0,0,.10);
}

/* セクション区切り（点線） */
.footerGroup{
  padding: 18px 0 20px;
  border-bottom: 4px dotted rgba(17,17,17,.22);
}
.footerGroup--last{
  border-bottom: none;
}

/* 見出し（左に縦線） */
.footerGroup__title{
  margin: 0 0 12px;
  font-weight: 1000;
  letter-spacing: .06em;
  font-size: 22px;
  color: #111;
  display: flex;
  align-items: center;
  gap: 12px;
}
.footerGroup__title::before{
  content: "";
  width: 4px;
  height: 26px;
  background: rgba(17,17,17,.55);
  border-radius: 2px;
  display: inline-block;
}

/* リンク群（折り返し） */
.footerLinks{
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-size: 10px;
}

/* 1リンク */
.footerLinks a{
  position: relative;                 /* 追加 */
  display: inline-flex;
  align-items: center;
  gap: 10px;                          /* 少し広げる */
  text-decoration: none;
  color: rgba(17,17,17,.92);
  font-weight: 900;
  line-height: 1.4;                   /* ここ重要：行高でズレにくく */
  padding: 8px 12px 8px 44px;         /* 左にアイコン分の余白を確保 */
  border-radius: 999px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(17,17,17,.10);
}

/* 左の丸アイコン（矢印） */
.footerLinks a::before{
  content: "";
  position: absolute;                 /* 追加：absoluteで中央寄せ */
  left: 14px;                         /* 丸の位置 */
  top: 50%;
  transform: translateY(-50%);        /* 上下センター */
  width: 22px;                        /* 固定 */
  height: 22px;                       /* 固定 */
  border-radius: 50%;
  background: #111;
}

/* 矢印だけ別レイヤーで中央に */
.footerLinks a::after{
  content: "›";
  position: absolute;
  left: 14px;
  top: 45%;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);        /* 上下センター */
  display: grid;
  place-items: center;
  color: var(--yellow);
  font-size: 18px;
  line-height: 1;                     /* 文字の上下ズレ防止 */
}


.footerLinks a:hover{
  opacity: .85;
}

/* 下段（黒バー） */
.footerBottom{
  background: #111;
  color: #fff;
  padding: 18px 0;
}
.footerBottom .wrap{
  width: min(1100px, 92vw);
}
.footerBottom__inner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.footerBottom__link{
  color: #fff;
  text-decoration: underline;
  font-weight: 900;
}

/* SP */
@media (max-width: 640px){
  .footerSitemap{
    padding: 32px 0 18px;
  }

  .footerSitemap__inner{
    padding: 16px 14px;
  }

  .footerGroup__title{
    font-size: 20px;
  }
  .footerGroup__title::before{
    height: 24px;
  }

  .footerLinks{
    gap: 10px 12px;
  }

  .footerLinks a{
    font-size: 10px;
    padding: 6px 8px;
  }

  .footerLinks a::before{
    width: 18px;
    height: 18px;
    font-size: 16px;
  }
}


@media (max-width: 640px){

  /* リンク全体の文字を小さく */
  .footerLinks a{
    font-size: 13px;      /* ← ここで調整（12〜14で好み） */
    line-height: 1.25;
    padding: 7px 10px 7px 40px;  /* 左余白を確保しつつ少しコンパクトに */
    border-radius: 999px;
  }

  /* 丸アイコンも少し小さく */
  .footerLinks a::before,
  .footerLinks a::after{
    left: 12px;
    width: 18px;
    height: 18px;
  }

  /* 矢印も小さくして中心に */
  .footerLinks a::after{
    font-size: 14px;
    line-height: 1;
  }

  /* ついでに詰まり過ぎ防止：横のgapを少し縮める */
  .footerLinks{
    gap: 10px 10px;
  }
}
