@charset "UTF-8";

/*------------------------------------------------------------
  sitemap_rp.css - サイトマップ（リニューアル）
  /sitemap.html
------------------------------------------------------------*/

/* ============================================================
  Design tokens
============================================================ */
:root {
  --sitemap-blue:  #1556a3;
  --sitemap-black: #333;
  --sitemap-gray:  #d9d9d9;
}

/* ============================================================
  ページラッパー
============================================================ */
.sitemap_body {
  padding: 0 10px;
  margin: 24px 0 40px;
  box-sizing: border-box;
}
@media print, screen and (min-width: 770px) {
  .sitemap_body {
    width: 1200px;
    padding: 0;
    margin: 48px auto 100px;
    box-sizing: content-box;
  }
}

/* ============================================================
  セクション（各カテゴリーブロック）
  Figma: gap-48px（PC） / gap-32px（SP）between sections + dividers
  → divider 前後それぞれ 48px（PC）/ 32px（SP）
============================================================ */
.sitemap_section {
  padding: 32px 0;
  border-top: 1px solid var(--sitemap-gray);
}
.sitemap_section:first-child {
  border-top: none;
  padding-top: 0;
}
.sitemap_section--last {
  padding-bottom: 0;
}
@media print, screen and (min-width: 770px) {
  .sitemap_section {
    padding: 48px 0;
  }
  .sitemap_section:first-child {
    padding-top: 0;
  }
}

/* ============================================================
  3カラムグリッド
  PC: 各368px、gap 48px
============================================================ */
.sitemap_columns {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
/* 最終セクション（お問い合わせ等）はSPでgap-24px */
.sitemap_section--last .sitemap_columns {
  gap: 24px;
}
@media print, screen and (min-width: 770px) {
  .sitemap_columns {
    flex-direction: row;
    align-items: flex-start;
    gap: 48px;
  }
  .sitemap_col {
    width: 368px;
    flex-shrink: 0;
    flex-grow: 0;
  }
  /* PCでは最終セクションも通常通り48px */
  .sitemap_section--last .sitemap_columns {
    gap: 48px;
  }
}

/* ============================================================
  共通リンクスタイル
  color: #1556a3 / font-size: 16px / weight: 500 / line-height: 1.6
============================================================ */
.sitemap_lv1 a,
.sitemap_lv2 a,
.sitemap_lv3 a,
.sitemap_lv4 a {
  color: var(--sitemap-blue);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.6;
  text-decoration: none;
}
.sitemap_lv1 a:hover,
.sitemap_lv2 a:hover,
.sitemap_lv3 a:hover,
.sitemap_lv4 a:hover {
  text-decoration: underline;
}

/* ============================================================
  L1：セクションタイトル行（アイコンなし）
  Figma: gap-24px between items
============================================================ */
.sitemap_lv1 {
  display: flex;
  flex-direction: column;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.sitemap_lv1 > li {
  list-style: none;
}

/* セクションヘッダ（セクション直下の L1 → 下に sitemap_columns が続く） */
.sitemap_section > .sitemap_lv1 {
  margin-bottom: 24px;
}

/* ============================================================
  L2：カテゴリリンク
  アイコン: caret-right solid（\f0da）/ gap 8px
  Figma: SP gap-16px / PC gap-32px、PC pl-16px
============================================================ */
.sitemap_lv2 {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  padding: 0;
  padding-left: 16px;
  margin: 0;
}

/* 例外的にgap-16pxのsitemap_lv2（研究開発・個人情報等） */
.sitemap_lv2--compact {
  gap: 16px;
}

.sitemap_lv2 > li {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sitemap_lv2 > li > a {
  display: block;
  position: relative;
  padding-left: 16px;
  color: var(--sitemap-blue);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.6;
  text-decoration: none;
}
.sitemap_lv2 > li > a::before {
  content: "\f0da";
  font-family: "Font Awesome 5 Pro";
  font-weight: 900;
  font-style: normal;
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--sitemap-blue);
  position: absolute;
  left: 0;
  top: 0;
}
@media print, screen and (min-width: 770px) {
  .sitemap_lv2 {
    gap: 32px;
  }
  .sitemap_lv2 > li {
    gap: 16px;
  }
  /* 例外的にgap-16pxのsitemap_lv2（研究開発・個人情報等） */
  .sitemap_lv2--compact {
    gap: 24px;
  }
}

/* ============================================================
  L3：サブリンク
  アイコン: angle-right regular（\f054）/ gap 8px
  Figma: gap-16px、さらに pl-16px（L2から追加インデント）
============================================================ */
.sitemap_lv3 {
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  margin: 0;
}
.sitemap_lv3 > li {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sitemap_lv3 > li > a {
  display: block;
  position: relative;
  padding-left: 16px;
  color: var(--sitemap-blue);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.6;
  text-decoration: none;
}
.sitemap_lv3 > li > a::before {
  content: "\f054";
  font-family: "Font Awesome 5 Pro";
  font-weight: 400;
  font-style: normal;
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--sitemap-blue);
  position: absolute;
  left: 0;
  top: 0;
}

/* ============================================================
  L4：サブサブリンク
  さらに pl-16px 追加
============================================================ */
.sitemap_lv4 {
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  margin: 0;
}
.sitemap_lv4 > li {
  list-style: none;
}
.sitemap_lv4 > li > a {
  display: block;
  position: relative;
  padding-left: 16px;
  color: var(--sitemap-blue);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.6;
  text-decoration: none;
}
.sitemap_lv4 > li > a::before {
  content: "\f054";
  font-family: "Font Awesome 5 Pro";
  font-weight: 400;
  font-style: normal;
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--sitemap-blue);
  position: absolute;
  left: 0;
  top: 0;
}

/* ============================================================
  noLink（事業領域ラベル）
  アイコンなし・黒テキスト
============================================================ */
.sitemap_noLink {
  display: block;
  padding-left: 0;
  color: var(--sitemap-black);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.6;
  cursor: default;
}

/* ============================================================
  noLink--area 配下の lv3 = 視覚的 L2（caret-right solid・gap-32px）
  事業セクション限定: モビリティ等の下にあるセイフティ・ポラテクノ等
  サポート情報等の通常 sitemap_noLink は対象外（angle-right のまま）
============================================================ */
.sitemap_noLink--area + .sitemap_lv3 > li > a::before {
  content: "\f0da";
  font-weight: 900;
}
@media print, screen and (min-width: 770px) {
  .sitemap_noLink--area + .sitemap_lv3 {
    gap: 32px;
    margin-top: 16px;
  }
}

/* ============================================================
  sitemap_lv2--sp32: SPでもgap-32pxにする例外
============================================================ */
.sitemap_lv2--sp32 {
  gap: 32px;
}

/* ============================================================
  sitemap_lv1 直後の sitemap_lv2（個人情報セクション等）
  lv1の直後は上マージン16px
============================================================ */
.sitemap_lv1 + .sitemap_lv2 {
  margin-top: 16px;
}
@media print, screen and (min-width: 770px) {
  .sitemap_lv1 + .sitemap_lv2 {
    margin-top: 24px;
  }
}

/* ============================================================
  外部リンクアイコン
============================================================ */
.sitemap_iconWindow {
  margin-left: 4px;
  font-size: 0.85em;
}

