/* =========================================================
  guide.css
========================================================= */
.guide-backLink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  text-decoration: none;
  transform: translateY(12px);
}

.guide-backLink:hover {
  text-decoration: underline;
}

.guide-backLink img {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}

/* -----------------------------------------
  レイアウト：読みやすい文字幅
----------------------------------------- */
.l-readable {
  width: min(100% - 2rem, 64ch);
  margin-inline: auto;
}

/* -----------------------------------------
  header（FV/heroを使わない軽量ヘッダー）
----------------------------------------- */
.guide-header {
  min-height: 98px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
}

.guide-header-inner {
  padding: 1rem 1.25rem 0;
}

/* -----------------------------------------
  導入（guide-intro）
----------------------------------------- */
.guide-intro {
  margin: 4rem 0 0;
}

.guide-title {
  font-size: clamp(1.5rem, 1.359rem + 0.87vw, 2.4rem);
  font-weight: 900;
  line-height: 1.3;
  margin: clamp(1.5rem, 1.265rem + 1.45vw, 3rem) 0;
}

/* 説明用リスト */

/* -----------------------------------------
  目次（guide-toc）
----------------------------------------- */

/* -----------------------------------------
  本文（guide-section）
----------------------------------------- */

.guide-section:last-of-type {
  padding-bottom: clamp(3rem, 2.53rem + 2.89vw, 6rem);
}

.guide-heading {
  font-weight: 900;
  margin-bottom: 1.5rem;
}

.guide-text {
  margin-bottom: 1rem;
}

/* -----------------------------------------
  セクション右下ナビ（guide-nav）
----------------------------------------- */
.guide-navLink:focus-visible {
  opacity: 1;
}

/* -----------------------------------------
  最下部「トップへ戻る」との距離調整
----------------------------------------- */
body.guide .l-pageTop {
  margin-top: 6rem;
}

/* -----------------------------------------
  レスポンシブ
----------------------------------------- */
@media (max-width: 768px) {
  .guide-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .--bg-header-whiteFade {
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 0.60) 0%,
        rgba(255, 255, 255, 0.5) 15%,
        rgba(255, 255, 255, 0.00) 100%);
    -webkit-backdrop-filter: blur(1px);
    /* Safari対応 */
    backdrop-filter: blur(1px);
  }

  .guide-intro {
    margin: 3rem 0 2.5rem;
  }
}