:root {
  --sh-header-height: 56px;
  --sh-header-bg: #fff;
  --sh-header-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --sh-duration: 0.25s;
}

/* ===== デモコンテナ上書き ===== */
/* グローバルCSSのflex指定を上書きして縦積みレイアウトにする */
#sh-demo.demo-container {
  display: block;
  height: 420px;
  overflow-y: scroll;
  padding: 0;
  position: relative;
}

/* ===== センチネル（スクロール判定用の不可視要素） ===== */
.sh-sentinel { height: 1px; }

/* ===== スティッキーヘッダー ===== */
.sh-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--sh-header-bg);
  box-shadow: none;
  border-bottom: 1px solid #E8EDF2;
  transition: box-shadow var(--sh-duration) ease, border-color var(--sh-duration) ease;
}

/* スクロール後: シャドウが現れてコンテンツの上に浮いている感が出る */
.sh-header.is-scrolled {
  box-shadow: var(--sh-header-shadow);
  border-bottom-color: transparent;
}

.sh-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--sh-header-height);
  padding: 0 20px;
}

.sh-header__logo {
  font-weight: 700;
  font-size: 18px;
  color: #1A2332;
  text-decoration: none;
}

.sh-header__nav { display: flex; }

.sh-header__list {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sh-header__link {
  color: #5A6A7A;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}

.sh-header__link:hover { color: #2B7FE8; }

/* ===== デモ説明エリア ===== */
.sh-hero {
  background: #F0F4F8;
  padding: 28px 20px;
  text-align: center;
  border-bottom: 1px solid #E8EDF2;
}

.sh-hero h2 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: #1A2332;
}

.sh-hero p {
  margin: 0;
  color: #5A6A7A;
  font-size: 13px;
  line-height: 1.7;
}

/* ===== コンテンツエリア ===== */
.sh-section {
  padding: 28px 20px;
  border-bottom: 1px solid #E8EDF2;
  background: #fff;
}

.sh-section:last-child { border-bottom: none; }

.sh-section h3 {
  font-size: 15px;
  margin: 0 0 8px;
  color: #1A2332;
}

.sh-section p {
  font-size: 13px;
  line-height: 1.7;
  color: #5A6A7A;
  margin: 0;
}
