/* =========================================================
   サイトマップ（sitemap）ページ固有CSS
   ・共通デザイン（allpage-style.css）に馴染ませる
   ・このページだけ：拡大＋キラン（shine）アニメーション
========================================================= */

/* 中央カラムが中身に引っ張られない保険 */
.layout-3col .center-col{
  min-width: 0;
}

.sitemap-lead{
  margin: 0.35rem 0 0;
  line-height: 1.7;
}

/* ===== サイトマップ本体 ===== */
.sitemap{
  padding-top: 14px;
  padding-bottom: 16px;
}

/* グリッド表示（レスポンシブ） */
.sitemap-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

/* 各パネル */
.sitemap-panel{
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(0,0,0,.14);
  border-radius: 12px;
  padding: 12px 12px 10px;
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
}

/* 見出し（共通カードと喧嘩しない程度に） */
.sitemap-title{
  margin: 0 0 10px;
  font-size: 1.02rem;
  font-weight: 900;
  letter-spacing: .02em;
  padding: 10px 12px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(180deg, rgba(0,140,140,1) 0%, rgba(0,120,120,1) 100%);
}

/* リスト */
.sitemap-list{
  margin: 0;
  padding: 0 0 4px;
  list-style: none;
  display: grid;
  gap: 8px;
}

.sitemap-sep{
  height: 1px;
  background: rgba(0,0,0,.10);
  margin: 4px 2px;
}

/* ===== このページ限定：リンク演出（拡大＋キラン） ===== */
.sitemap-link{
  position: relative;
  display: block;
  padding: 10px 12px;
  border-radius: 10px;

  text-decoration: none;
  font-weight: 800;
  line-height: 1.35;

  color: rgba(0,0,0,.88);
  background: rgba(0,0,0,.03);
  border: 1px solid rgba(0,0,0,.10);

  transform: translateZ(0);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
  overflow: hidden; /* shine を中に閉じ込める */
}

/* 外部リンク印（任意） */
.sitemap-link.is-external::before{
  content: "↗";
  display: inline-block;
  margin-right: .4em;
  font-weight: 900;
  opacity: .75;
}

/* shine（光が走る） */
.sitemap-link::after{
  content: "";
  position: absolute;
  top: -40%;
  left: -60%;
  width: 50%;
  height: 180%;
  transform: rotate(20deg);
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.45) 45%,
    rgba(255,255,255,0) 100%
  );
  opacity: 0;
  pointer-events: none;
}

/* Hover：拡大＋影＋shine */
.sitemap-link:hover{
  transform: translateY(-1px) scale(1.035);
  background: rgba(0,140,140,.08);
  box-shadow: 0 10px 22px rgba(0,0,0,.16);
}

/* shine アニメーション */
.sitemap-link:hover::after{
  opacity: 1;
  animation: sitemap-shine .75s ease forwards;
}

@keyframes sitemap-shine{
  from{ left: -60%; }
  to{ left: 120%; }
}

/* フォーカス（キーボード操作） */
.sitemap-link:focus-visible{
  outline: 3px solid rgba(0,140,140,.45);
  outline-offset: 2px;
  transform: translateY(-1px) scale(1.03);
}

/* 押した時の反応 */
.sitemap-link:active{
  transform: scale(0.99);
  box-shadow: 0 6px 12px rgba(0,0,0,.14);
}

/* 動きを減らす設定の人にはアニメを止める */
@media (prefers-reduced-motion: reduce){
  .sitemap-link,
  .sitemap-link::after{
    transition: none !important;
    animation: none !important;
  }
  .sitemap-link:hover{
    transform: none;
  }
  .sitemap-link:hover::after{
    opacity: 0;
  }
}

/* スマホで余白を少し詰める */
@media (max-width: 600px){
  .sitemap-grid{
    grid-template-columns: 1fr;
  }
  .sitemap-link{
    padding: 10px 10px;
  }
}