/* ========================================
   サイトマップページ
======================================== */

.sitemap-page {
  padding: 52px 20px 80px;

  background: linear-gradient(
    180deg,
    #eefaff 0%,
    #f9fdff 45%,
    #eef9fd 100%
  );
}

.sitemap-content {
  width: min(1040px, 100%);
  margin: 0 auto;
}


/* ========================================
   サイトマップ全体
======================================== */

.sitemap-panel {
  position: relative;
  overflow: hidden;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 64px;
  row-gap: 0;

  padding: 48px 54px 56px;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.97) 0%,
      rgba(247, 253, 255, 0.94) 100%
    );

  border: 1px solid rgba(85, 176, 215, 0.22);
  border-radius: 30px;

  box-shadow:
    0 24px 60px rgba(43, 124, 161, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}


/* 右上の淡い装飾 */
.sitemap-panel::before {
  content: "";

  position: absolute;
  top: -130px;
  right: -120px;

  width: 330px;
  height: 330px;

  background: rgba(114, 207, 235, 0.09);
  border-radius: 50%;

  pointer-events: none;
}


/* 左下の淡い装飾 */
.sitemap-panel::after {
  content: "";

  position: absolute;
  bottom: -170px;
  left: -140px;

  width: 350px;
  height: 350px;

  background: rgba(139, 219, 241, 0.07);
  border-radius: 50%;

  pointer-events: none;
}


/* ========================================
   ページ内タイトル
======================================== */

.sitemap-title {
  position: relative;
  z-index: 1;

  grid-column: 1 / -1;

  margin: 0 0 20px;
  padding-bottom: 25px;

  color: #285e76;

  font-size: 28px;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
  letter-spacing: 0.08em;

  border-bottom: 1px solid rgba(80, 160, 195, 0.2);
}


/* タイトル下の短いライン */
.sitemap-title::after {
  content: "";

  position: absolute;
  bottom: -2px;
  left: 50%;

  width: 72px;
  height: 3px;

  background: linear-gradient(
    90deg,
    #78d5eb 0%,
    #3ca6cf 100%
  );

  border-radius: 999px;

  transform: translateX(-50%);
}


/* ========================================
   サイトマップカテゴリ
======================================== */

.sitemap-section {
  position: relative;
  z-index: 1;

  padding: 34px 4px 38px;

  border-bottom: 1px solid rgba(80, 160, 195, 0.18);
}


/*
 * 最後の左右2項目は下線を表示しない
 */
.sitemap-section:nth-of-type(4),
.sitemap-section:nth-of-type(5) {
  border-bottom: 0;
}


/* カテゴリ見出し */
.sitemap-section h3 {
  position: relative;

  margin: 0 0 20px;
  padding-left: 17px;

  color: #285e76;

  font-size: 20px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.065em;
}


/* 見出し左側のライン */
.sitemap-section h3::before {
  content: "";

  position: absolute;
  top: 0.15em;
  bottom: 0.15em;
  left: 0;

  width: 5px;

  background: linear-gradient(
    180deg,
    #77d4eb 0%,
    #3da6cf 100%
  );

  border-radius: 999px;
}


/* ========================================
   リンク一覧
======================================== */

.sitemap-section ul {
  display: grid;
  gap: 4px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.sitemap-section li {
  margin: 0;
  padding: 0;
}

.sitemap-section a {
  position: relative;

  display: flex;
  align-items: center;

  min-height: 48px;
  box-sizing: border-box;
  padding: 10px 42px 10px 19px;

  color: #426677;

  border-bottom: 1px dashed rgba(75, 156, 190, 0.2);

  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  text-decoration: none;
  letter-spacing: 0.035em;

  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    padding-left 0.2s ease;
}

.sitemap-section li:last-child a {
  border-bottom-color: transparent;
}


/* 右側の矢印 */
.sitemap-section a::after {
  content: "›";

  position: absolute;
  top: 50%;
  right: 14px;

  display: grid;
  place-items: center;

  width: 24px;
  height: 24px;

  color: #3d9fc5;
  background: rgba(77, 183, 218, 0.11);
  border-radius: 50%;

  font-family: Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;

  transform: translateY(-50%);

  transition:
    color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}


/* ホバー */
.sitemap-section a:hover {
  color: #237b9f;
  background: linear-gradient(
    90deg,
    rgba(224, 246, 253, 0.76) 0%,
    rgba(245, 252, 255, 0.4) 100%
  );

  border-bottom-color: transparent;
  border-radius: 8px;

  padding-left: 24px;
}

.sitemap-section a:hover::after {
  color: #fff;
  background: #47add1;

  transform: translate(3px, -50%);
}


/* キーボード操作 */
.sitemap-section a:focus-visible {
  outline: 3px solid rgba(63, 170, 210, 0.24);
  outline-offset: 2px;
  border-radius: 8px;
}


/* ========================================
   スマートフォン
======================================== */

@media (max-width: 768px) {
  .sitemap-page {
    padding: 28px 12px 56px;
  }

  .sitemap-panel {
    grid-template-columns: 1fr;

    padding: 32px 20px 38px;

    border-radius: 22px;
  }

  .sitemap-title {
    margin-bottom: 4px;
    padding-bottom: 21px;

    font-size: 23px;
  }

  .sitemap-title::after {
    width: 58px;
  }

  .sitemap-section {
    padding: 29px 0;
  }

  /*
   * PCで消した下線を戻して、
   * 最後のカテゴリだけ下線なしにする
   */
  .sitemap-section:nth-of-type(4) {
    border-bottom: 1px solid rgba(80, 160, 195, 0.18);
  }

  .sitemap-section:nth-of-type(5) {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .sitemap-section h3 {
    margin-bottom: 16px;
    padding-left: 15px;

    font-size: 18px;
  }

  .sitemap-section h3::before {
    width: 4px;
  }

  .sitemap-section a {
    min-height: 48px;
    padding: 9px 38px 9px 14px;

    font-size: 14px;
  }

  .sitemap-section a:hover {
    padding-left: 18px;
  }

  .sitemap-section a::after {
    right: 9px;

    width: 23px;
    height: 23px;
  }
}


/* ========================================
   小さいスマートフォン
======================================== */

@media (max-width: 420px) {
  .sitemap-panel {
    padding-right: 16px;
    padding-left: 16px;
  }

  .sitemap-title {
    font-size: 21px;
  }
}


/* ========================================
   アニメーション軽減設定
======================================== */

@media (prefers-reduced-motion: reduce) {
  .sitemap-section a,
  .sitemap-section a::after {
    transition: none;
  }

  .sitemap-section a:hover {
    padding-left: 19px;
  }

  .sitemap-section a:hover::after {
    transform: translateY(-50%);
  }
}