/* ===== 共通ヘッダー／フッター（仮置き） =====
   既存CSSと衝突しないよう、すべて .sh- 接頭辞 */

:root {
  --sh-bg:        #0d0d1a;
  --sh-bg-sub:    #14142e;
  --sh-line:      #2a2a6a;
  --sh-text:      #d8d8f0;
  --sh-text-dim:  #8888cc;
  --sh-accent:    #c9b3ff;
  --sh-header-h:  56px;
}

.sh-header, .sh-footer { font-family: "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif; }
.sh-header *, .sh-footer * { box-sizing: border-box; }
.sh-header ul, .sh-footer ul { list-style: none; margin: 0; padding: 0; }
.sh-header a, .sh-footer a { color: var(--sh-text); text-decoration: none; }

/* ---------- ヘッダー ---------- */
.sh-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13, 13, 26, .96);
  border-bottom: 1px solid var(--sh-line);
  backdrop-filter: blur(6px);
}
.sh-header__inner {
  max-width: 1100px; margin: 0 auto; padding: 0;
  min-height: var(--sh-header-h);
  display: flex; align-items: center; justify-content: space-between;
}
.sh-logo { display: flex; align-items: center; gap: 8px; font-weight: 700; letter-spacing: .06em; }
.sh-logo__mark { color: var(--sh-accent); }

.sh-nav__list { display: flex; align-items: center; gap: 4px; }
.sh-nav__list > li > a,
.sh-sub-toggle {
  display: block; padding: 8px 14px; border-radius: 6px;
  font: inherit; font-size: 14px; color: var(--sh-text);
  background: none; border: 0; cursor: pointer;
}
.sh-nav__list > li > a:hover,
.sh-sub-toggle:hover { background: var(--sh-bg-sub); }
.sh-nav__list a.is-active,
.sh-has-sub.is-active > .sh-sub-toggle { color: var(--sh-accent); }

/* INFO プルダウン */
.sh-has-sub { position: relative; }
.sh-caret {
  display: inline-block; width: 6px; height: 6px; margin-left: 4px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.sh-sub {
  display: none; position: absolute; right: 0; top: 100%;
  min-width: 200px; padding: 6px;
  background: var(--sh-bg-sub); border: 1px solid var(--sh-line); border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .4);
}
.sh-sub a { display: block; padding: 8px 12px; border-radius: 6px; font-size: 14px; }
.sh-sub a:hover { background: rgba(255, 255, 255, .06); }
.sh-has-sub:hover > .sh-sub,
.sh-has-sub:focus-within > .sh-sub,
.sh-has-sub.is-open > .sh-sub { display: block; }

/* ハンバーガー（PCでは非表示） */
.sh-nav-toggle { display: none; }

/* ---------- フッター ---------- */
.sh-footer {
 	margin-top: 64px;
	padding: 40px 16px 24px;
 	border-top: 1px solid var(--sh-line);
 	color: var(--sh-text-dim);
	font-size: 0.9em;
}
.sh-footer__inner { margin: 0 auto; text-align:center; }
.sh-footer__cols {
 	display: grid;
	grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.sh-footer__title {
 	margin: 0 0 12px;
	padding: 5px;
 	font-size: 1em;
	letter-spacing: .12em;
	color: var(--sh-accent);
}
.sh-footer__col li + li { margin-top: 8px; }
.sh-footer__col a:hover { color: var(--sh-accent); }

.ftsnsarea { 
	margin:10px 0;
	width:100%;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align:center;
}

.sh-footer__sns { display: flex; gap: 16px; margin-top: 28px; text-align:center; }
.sh-footer__sns a { color: var(--sh-text-dim); }
.sh-footer__sns a:hover { color: var(--sh-accent); }

.sh-footer__note { margin: 20px 0 4px; }
.sh-footer__copy { margin: 0; }

/* ---------- スマホ ---------- */
@media (max-width: 768px) {
  .sh-nav-toggle {
    display: block; position: relative; width: 44px; height: 44px;
    background: none; border: 0; cursor: pointer;
  }
  .sh-nav-toggle__bar,
  .sh-nav-toggle__bar::before,
  .sh-nav-toggle__bar::after {
    position: absolute; left: 11px; width: 22px; height: 2px;
    background: var(--sh-text); border-radius: 2px; content: "";
    transition: transform .2s, opacity .2s;
  }
  .sh-nav-toggle__bar { top: 21px; }
  .sh-nav-toggle__bar::before { left: 0; top: -7px; }
  .sh-nav-toggle__bar::after  { left: 0; top: 7px; }
  .sh-nav-toggle[aria-expanded="true"] .sh-nav-toggle__bar { background: transparent; }
  .sh-nav-toggle[aria-expanded="true"] .sh-nav-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
  .sh-nav-toggle[aria-expanded="true"] .sh-nav-toggle__bar::after  { transform: translateY(-7px) rotate(-45deg); }

  .sh-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--sh-bg); border-bottom: 1px solid var(--sh-line);
    max-height: calc(100vh - var(--sh-header-h)); overflow-y: auto;
  }
  .sh-nav.is-open { display: block; }
  .sh-nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; }
  .sh-nav__list > li > a,
  .sh-sub-toggle { width: 100%; text-align: left; padding: 14px 8px; font-size: 15px; }

  /* INFO はアコーディオン */
  .sh-sub {
    position: static; display: none; min-width: 0; padding: 0 0 0 12px;
    background: none; border: 0; box-shadow: none;
  }
  .sh-has-sub:hover > .sh-sub,
  .sh-has-sub:focus-within > .sh-sub { display: none; }
  .sh-has-sub.is-open > .sh-sub { display: block; }
  .sh-sub a { padding: 12px 8px; }

  /* フッター：1列に積み、リストは2列で縦長になりすぎないようにする */
  .sh-footer { padding: 32px 16px 20px; }
  .sh-footer__cols { grid-template-columns: 1fr; gap: 24px; }
  .sh-footer__col ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
  .sh-footer__col li + li { margin-top: 0; }

}
