/* =========================================================
   nazeyama 非公式ファンサイト  スタイル（黒板＆チョークテーマ）
   - 色は :root のCSS変数でまとめて管理
   ========================================================= */

:root {
  /* 黒板（本人バナーの黒板に合わせたミディアムグリーン基調） */
  --board: #5e7d6e;
  --board-dark: #2b3a30;
  --board-darker: #1f2d24;
  --frame: #b5905f;
  --frame-dark: #8f6c44;

  /* チョーク */
  --chalk: #f4f1e8;
  --chalk-dim: #cfd2c6;
  --chalk-faint: rgba(244, 241, 232, 0.16);
  --chalk-yellow: #ffe27a;
  --chalk-blue: #9fd0e8;
  --chalk-pink: #f7b2c4;

  /* マスコット由来の差し色 */
  --pink: #ff8fa3;
  --sand: #9aa0a6;
  --cream: #f5f2e8;
  --white: #ffffff;

  /* ミステリー（書籍コーナー） */
  --blood: #7a1f2b;

  /* YouTube CTA */
  --yt: #ff0033;

  --maxw: 1080px;
  --nav-h: 60px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.28);

  --font-hand-jp: "Yomogi", "Klee One", sans-serif;
  --font-hand-en: "Caveat", cursive;
  --font-body: "Noto Sans JP", system-ui, sans-serif;
}

/* ---------- reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--chalk);
  background-color: var(--board-dark);
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.05) 0, transparent 40%),
    radial-gradient(circle at 80% 60%, rgba(255, 255, 255, 0.04) 0, transparent 45%);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* うっすらチョークの粉テクスチャ */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 26px 26px, 40px 40px;
  background-position: 0 0, 12px 8px;
  opacity: 0.28;
}

a { color: var(--chalk); }

img { max-width: 100%; display: block; }

.container {
  width: min(100% - 40px, var(--maxw));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}
.container--narrow {
  width: min(100% - 40px, 640px);
}
.section__title--sm {
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  margin-bottom: 6px;
}

/* ---------- chalk headings ---------- */
.section {
  padding: clamp(48px, 8vw, 96px) 0;
  position: relative;
  z-index: 1;
}

.section__title {
  font-family: var(--font-hand-jp);
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  margin: 0 0 8px;
  color: var(--chalk);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}

.section__title .sym {
  font-family: var(--font-hand-en);
  color: var(--chalk);
  margin-right: 0.3em;
  opacity: 0.9;
}

.section__lead {
  color: var(--chalk-dim);
  margin: 0 0 32px;
}

/* チョークの下線 */
.underline-chalk {
  position: relative;
  display: inline-block;
}
.underline-chalk::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -6px;
  height: 6px;
  background: var(--chalk-yellow);
  border-radius: 60% 40% 50% 50% / 100% 100% 60% 60%;
  opacity: 0.7;
  transform: rotate(-1deg);
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(31, 45, 36, 0.82);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--chalk-faint);
}
.nav__inner {
  width: min(100% - 40px, var(--maxw));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--nav-h);
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-hand-en);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--chalk);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.nav__logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  border: 2px solid var(--chalk-faint);
  flex-shrink: 0;
}
.nav__logo-text span { color: var(--chalk); }
.nav__menu {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav__links li { margin: 0; }
.nav__links a {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  color: var(--chalk-dim);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.nav__links a:hover {
  color: var(--chalk);
  background: var(--chalk-faint);
}
.nav__links a[aria-current="page"] {
  color: var(--chalk-yellow);
  background: rgba(255, 226, 122, 0.1);
  border-color: rgba(255, 226, 122, 0.22);
  font-weight: 700;
}
.nav__links a[href="#videos"],
.nav__links a[href*="#videos"],
.nav__links a[href*="books.html"] {
  font-family: var(--font-hand-en);
  font-size: 1.08rem;
  letter-spacing: 0.03em;
}
.nav__sep {
  width: 1px;
  height: 22px;
  background: var(--chalk-faint);
  flex-shrink: 0;
}
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--yt);
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(255, 0, 51, 0.32);
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
}
.nav__cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  font-size: 0.55rem;
  line-height: 1;
}
.nav__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 0, 51, 0.42);
  filter: brightness(1.06);
}
.section--page-top {
  padding-top: calc(var(--nav-h) + clamp(28px, 5vw, 48px));
}
.nav__toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  color: var(--chalk);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ---------- hero ---------- */
.hero {
  padding: 96px 0 56px;
  position: relative;
  z-index: 1;
}
.hero__frame {
  background: var(--frame);
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--shadow), inset 0 0 0 2px var(--frame-dark);
}
.hero__board {
  background:
    radial-gradient(circle at 70% 25%, rgba(255, 255, 255, 0.06), transparent 55%),
    var(--board);
  border-radius: 10px;
  padding: clamp(28px, 5vw, 56px);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.2);
}
.hero__board .hero__grid {
  position: relative;
  z-index: 1;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
}
.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}
.hero__intro {
  margin-bottom: 14px;
}
.hero__title {
  font-family: var(--font-hand-en);
  font-size: clamp(2rem, 5.2vw, 4.2rem);
  line-height: 1.05;
  margin: 0 0 6px;
  color: var(--chalk);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
.hero__name {
  font-family: var(--font-hand-en);
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 700;
  color: var(--chalk-dim);
  margin: 0;
  letter-spacing: 0.03em;
  line-height: 1.1;
}
.hero__profile {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--chalk-faint);
  max-width: 36em;
}
.hero__path {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  font-family: var(--font-body);
  font-size: clamp(0.68rem, 2.5vw, 0.8rem);
  color: var(--chalk);
  line-height: 1.35;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.hero__path::-webkit-scrollbar { display: none; }
.hero__path-item {
  flex-shrink: 0;
  padding: 2px 8px;
  border: 1px solid rgba(244, 241, 232, 0.35);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  color: var(--chalk);
  line-height: 1.35;
  white-space: nowrap;
}
.hero__path-sep {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(244, 241, 232, 0.72);
  line-height: 1;
}
.hero__path-arrow {
  display: block;
  width: 0.9em;
  height: 0.9em;
}
.hero__tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--chalk-yellow);
  border: 1px solid rgba(255, 226, 122, 0.35);
  background: rgba(255, 226, 122, 0.08);
}
.hero__bio {
  font-family: var(--font-hand-jp);
  font-size: clamp(0.92rem, 1.9vw, 1.05rem);
  line-height: 1.7;
  color: var(--chalk);
  margin: 0 0 6px;
}
.hero__likes {
  font-family: var(--font-hand-jp);
  font-size: clamp(0.88rem, 1.7vw, 0.98rem);
  line-height: 1.55;
  color: var(--chalk-dim);
  margin: 0;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
}
.hero__stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0;
}
.stat {
  border: 2px dashed rgba(244, 241, 232, 0.42);
  border-radius: 12px;
  padding: 8px 14px;
  min-width: 100px;
  background: rgba(0, 0, 0, 0.1);
}
.stat__num {
  font-family: var(--font-body);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--chalk);
  line-height: 1.1;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.stat__label {
  font-size: 0.78rem;
  color: var(--chalk-dim);
  margin-top: 4px;
}
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--yt);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 22px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(255, 0, 51, 0.35);
  transition: transform 0.15s;
  flex-shrink: 0;
}
.hero__cta:hover { transform: translateY(-2px); }

/* ヒーローのチョークアート */
.hero__art {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
}
.hero__icon {
  width: clamp(132px, 20vw, 200px);
  height: clamp(132px, 20vw, 200px);
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  border: 4px solid var(--chalk);
  box-shadow: var(--shadow);
}
.chalk-art { width: 100%; height: auto; }
.chalk-art path,
.chalk-art line,
.chalk-art circle,
.chalk-art rect,
.chalk-art polyline {
  vector-effect: non-scaling-stroke;
}

/* 背景の数式装飾 */
.hero__formula {
  position: absolute;
  font-family: var(--font-hand-en);
  color: var(--chalk-faint);
  font-size: 1.6rem;
  user-select: none;
  pointer-events: none;
}

/* ---------- videos / marquee ---------- */
.marquee {
  position: relative;
  overflow-x: hidden;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  padding-bottom: 6px;
}
.marquee--manual {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--chalk-faint) transparent;
  cursor: grab;
  touch-action: pan-x pan-y;
}
.marquee--manual:active { cursor: grabbing; }
.marquee__track {
  display: flex;
  gap: 18px;
  width: max-content;
  padding: 4px 8px 8px;
  will-change: transform;
}
.marquee:not(.marquee--manual) .marquee__track {
  animation: marquee-flow var(--marquee-duration, 120s) linear infinite;
}
@keyframes marquee-flow {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
.vcard {
  flex: 0 0 280px;
  touch-action: pan-x;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid var(--chalk-faint);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: var(--chalk);
  transition: transform 0.18s, border-color 0.18s;
}
.vcard:hover { transform: translateY(-4px); border-color: var(--chalk-dim); }
.vcard__thumb {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--board), var(--board-darker));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.vcard__thumb img { width: 100%; height: 100%; object-fit: cover; }
.vcard__thumb .play {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 0, 51, 0.9);
  display: grid;
  place-items: center;
  color: #fff;
}
.vcard__thumb .chalk-mini { font-family: var(--font-hand-en); color: var(--chalk-dim); font-size: 0.9rem; padding: 8px; text-align: center; }
.vcard__body { padding: 12px 14px; }
.vcard__title {
  font-size: 0.92rem;
  font-weight: 700;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}
.vcard__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 0.78rem;
  color: var(--chalk-dim);
}
.vcard__date { font-variant-numeric: tabular-nums; }
.vcard__views { font-size: 0.78rem; color: var(--chalk-dim); }
.vcard__badge {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-family: var(--font-body);
  border-radius: 4px;
  padding: 1px 6px;
  line-height: 1.5;
}
.vcard__badge--member {
  color: #ffd54f;
  background: rgba(18, 18, 18, 0.55);
  border: 1px solid rgba(255, 213, 79, 0.55);
}
.vcard__badge--live {
  color: #ffc8c4;
  background: rgba(18, 18, 18, 0.55);
  border: 1px solid rgba(255, 138, 128, 0.72);
}

/* ---------- neko ---------- */
.neko__wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: center;
  background: rgba(0, 0, 0, 0.14);
  border: 1px solid var(--chalk-faint);
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 38px);
}
.neko__art { display: grid; place-items: center; }
.neko__img {
  width: min(240px, 78%);
  height: auto;
  aspect-ratio: 1;
  background: #fff;
  border-radius: 18px;
  padding: 12px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transform: rotate(-2deg);
  transition: transform 0.2s;
}
.neko__img:hover { transform: rotate(0deg) scale(1.02); }
.stamp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #06c755;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 999px;
  margin-top: 14px;
}

/* ---------- books ---------- */
.books__columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 40px);
  width: min(100% - 40px, var(--maxw));
  margin: 0 auto 8px;
}
.books__col {
  min-width: 0;
  padding-bottom: clamp(20px, 3vw, 28px);
  border-bottom: 1px dashed var(--chalk-faint);
}
.books__col:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.books__head { margin-bottom: 14px; }
.books__heading {
  font-family: var(--font-hand-jp);
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  margin: 0 0 6px;
  color: var(--chalk);
}
.books__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--chalk-faint) transparent;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  padding: 4px 0 10px;
}
.books__track {
  display: flex;
  gap: 18px;
  width: max-content;
  padding-inline: 4px;
}
.vfilter {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.vfilter::-webkit-scrollbar { display: none; }
.vfilter .tab {
  flex-shrink: 0;
  white-space: nowrap;
}
.tabs { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.tab {
  font-family: var(--font-hand-jp);
  background: transparent;
  color: var(--chalk-dim);
  border: 2px solid var(--chalk-faint);
  border-radius: 999px;
  padding: 8px 20px;
  cursor: pointer;
  transition: all 0.18s;
  font-size: 0.95rem;
}
.tab--active {
  color: var(--board-darker);
  background: var(--chalk-yellow);
  border-color: var(--chalk-yellow);
}
.books__note { color: var(--chalk-dim); font-size: 0.86rem; margin: 0; }
.bcard {
  flex: 0 0 220px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--chalk-faint);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s, border-color 0.18s;
}
.bcard:hover { transform: translateY(-4px); border-color: var(--chalk-dim); }
.bcard__cover {
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  background: linear-gradient(160deg, #3a4d42, #243029);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 12px;
  margin-bottom: 12px;
  font-family: var(--font-hand-jp);
  color: var(--chalk-dim);
  font-size: 0.9rem;
  border: 1px solid var(--chalk-faint);
}
.bcard__cover--img {
  padding: 0;
  overflow: hidden;
  background: #1a1a1a;
}
.bcard__cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.books__col--novels .bcard__cover:not(.bcard__cover--img) { background: linear-gradient(160deg, #3a2326, #1d1416); }
.bcard__title { font-weight: 700; margin: 0 0 4px; font-size: 0.98rem; }
.bcard__author { font-size: 0.8rem; color: var(--chalk-dim); margin: 0 0 8px; }
.bcard__comment { font-size: 0.85rem; color: var(--chalk-dim); margin: 0 0 12px; flex: 1; }
.bcard__btn {
  text-align: center;
  background: #ff9900;
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 12px;
  border-radius: 8px;
}
.bcard__btn--disabled {
  background: var(--chalk-faint);
  color: var(--chalk-dim);
  pointer-events: none;
}
.books__disclosure {
  margin-top: 20px;
  font-size: 0.78rem;
  color: var(--chalk-dim);
  border-top: 1px dashed var(--chalk-faint);
  padding-top: 12px;
}

/* ---------- membership / fanletter ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(16px, 3vw, 22px);
  align-items: stretch;
}
.card {
  background: rgba(0, 0, 0, 0.16);
  border: 1px solid var(--chalk-faint);
  border-radius: var(--radius);
  padding: clamp(20px, 3.5vw, 30px);
}
.card--member {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100%;
}
.card--member .section__title { margin-bottom: 10px; }
.card--member .price {
  font-family: var(--font-hand-en);
  font-size: clamp(1.9rem, 5vw, 2.3rem);
  color: var(--chalk-yellow);
  margin: 0 0 8px;
  line-height: 1.1;
}
.member__note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--chalk-dim);
  max-width: 18em;
  line-height: 1.6;
}
.price {
  font-family: var(--font-hand-en);
  font-size: 2.4rem;
  color: var(--chalk);
}
.btn-outline {
  display: inline-block;
  margin-top: 16px;
  border: 2px solid var(--chalk);
  color: var(--chalk);
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: all 0.18s;
}
.btn-outline--yt {
  border-color: var(--yt);
  background: rgba(255, 0, 51, 0.12);
  color: #fff;
}
.btn-outline--yt:hover {
  background: var(--yt);
  color: #fff;
}
.btn-outline:hover { background: var(--chalk); color: var(--board-darker); }
.btn-outline--yt:hover { background: var(--yt); color: #fff; }
.letter__addr {
  font-size: 1.05rem;
  margin: 8px 0 14px;
  padding: 12px;
  background: var(--chalk-faint);
  border-radius: 8px;
}
.letter__notes { margin: 0; padding-left: 18px; font-size: 0.85rem; color: var(--chalk-dim); }
.letter__notes li { margin-bottom: 4px; }

/* ---------- contact / sns ---------- */
.section--contact {
  padding-top: clamp(36px, 6vw, 64px);
  padding-bottom: clamp(28px, 4vw, 48px);
}
.contact__panel {
  background: rgba(0, 0, 0, 0.12);
  border: 1px solid var(--chalk-faint);
  border-radius: var(--radius);
  padding: clamp(18px, 3vw, 26px);
}
.sns {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 14px;
  margin: 0 0 18px;
  padding: 0 0 18px;
  list-style: none;
  border-bottom: 1px dashed var(--chalk-faint);
}
.sns__item a {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--chalk-faint);
  border-radius: 50%;
  text-decoration: none;
  color: var(--chalk);
  transition: border-color 0.18s, background 0.18s, color 0.18s, transform 0.18s;
}
.sns__icon {
  width: 22px;
  height: 22px;
  display: block;
}
.sns__item a:hover {
  border-color: var(--chalk);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}
.sns__item--youtube a:hover { color: #ff4444; border-color: rgba(255, 68, 68, 0.5); }
.sns__item--x-twitter a:hover { color: var(--chalk); border-color: var(--chalk-dim); }
.sns__item--instagram a:hover { color: #f7b2c4; border-color: rgba(247, 178, 196, 0.45); }
.sns__item--tiktok a:hover { color: #9fd0e8; border-color: rgba(159, 208, 232, 0.45); }
.form {
  display: grid;
  gap: 10px;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.form__field {
  display: grid;
  gap: 4px;
}
.form label { font-size: 0.8rem; color: var(--chalk-dim); }
.form input,
.form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--chalk-faint);
  border-radius: 8px;
  padding: 8px 11px;
  color: var(--chalk);
  font-family: inherit;
  font-size: 0.88rem;
}
.form textarea {
  min-height: 72px;
  resize: vertical;
}
.form input:focus,
.form textarea:focus { outline: 2px solid var(--chalk-blue); }
.form__submit {
  justify-self: start;
  background: var(--chalk-yellow);
  color: var(--board-darker);
  border: 0;
  font-weight: 700;
  padding: 9px 22px;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-hand-jp);
  font-size: 0.92rem;
  margin-top: 2px;
}

/* ---------- disclaimer banner ---------- */
.site-disclaimer {
  position: relative;
  z-index: 2;
  padding: 8px 16px;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--chalk-dim);
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--chalk-faint);
}

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--chalk-faint);
  padding: 18px 0 22px;
  text-align: center;
  color: var(--chalk-dim);
  font-size: 0.82rem;
  position: relative;
  z-index: 1;
}
.footer p { margin: 0; }
.footer__disclaimer {
  max-width: 640px;
  margin: 0 auto 10px;
  font-size: 0.72rem;
  line-height: 1.65;
  color: var(--chalk-faint);
}
.footer__copy {
  font-size: 0.82rem;
}

.contact__intro {
  margin: 14px 0 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--chalk-dim);
}

/* ---------- reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  .neko__wrap { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .nav__menu {
    position: absolute;
    top: var(--nav-h);
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 14px 14px;
    background: rgba(31, 45, 36, 0.97);
    border: 1px solid var(--chalk-faint);
    border-top: none;
    border-radius: 0 0 0 14px;
    min-width: 220px;
    transform: translateX(110%);
    transition: transform 0.25s ease;
    box-shadow: var(--shadow);
  }
  .nav__menu.open { transform: none; }
  .nav__sep { display: none; }
  .nav__links {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .nav__links a {
    text-align: center;
    padding: 10px 14px;
  }
  .nav__cta {
    justify-content: center;
    margin-top: 10px;
    padding: 10px 16px;
  }
  .nav__toggle { display: block; margin-left: auto; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 28px, var(--maxw)); }
  /* 統計は横2列にしてコンパクトに */
  .hero__stats { gap: 10px; flex-wrap: nowrap; }
  .stat { min-width: 0; flex: 1 1 0; padding: 10px 8px; text-align: center; }
  .stat__num { font-size: clamp(1.12rem, 4.8vw, 1.45rem); }
  .stat__label { font-size: 0.76rem; color: var(--chalk); }
  /* 黒板の内側余白を少し詰める */
  .hero__board { padding: 22px 16px; overflow: visible; }
  .hero__frame { padding: 10px; }
  .section:not(.section--page-top) { padding: 40px 0; }
  .section--page-top { padding-top: calc(var(--nav-h) + 24px); }
  /* 動画フィルタは1行・横スクロール */
  .vfilter { gap: 6px; margin-inline: -4px; padding-inline: 4px; }
  .vfilter .tab { padding: 6px 12px; font-size: 0.82rem; }
  .tabs { gap: 6px; }
  .tab { padding: 6px 13px; font-size: 0.82rem; }
  .form__row { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .hero {
    padding: calc(var(--nav-h) + 16px) 0 40px;
  }
  .hero__grid {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "art intro"
      "profile profile"
      "actions actions";
    gap: 12px 14px;
    align-items: start;
  }
  .hero__copy {
    display: contents;
  }
  .hero__art {
    grid-area: art;
    padding-top: 2px;
    justify-self: center;
  }
  .hero__intro {
    grid-area: intro;
    margin-bottom: 0;
    text-align: left;
    align-self: center;
    min-width: 0;
  }
  .hero__profile {
    grid-area: profile;
    max-width: none;
    min-width: 0;
    width: 100%;
    margin-bottom: 0;
    padding-bottom: 12px;
    border-bottom: 1px dashed rgba(244, 241, 232, 0.22);
    text-align: left;
    overflow: visible;
  }
  .hero__path {
    gap: 5px;
    margin-bottom: 10px;
  }
  .hero__path-item {
    font-size: clamp(0.58rem, 2.35vw, 0.72rem);
    padding: 3px 8px;
  }
  .hero__path-arrow {
    width: 0.85em;
    height: 0.85em;
  }
  .hero__title {
    font-size: clamp(1.65rem, 7.5vw, 2.2rem);
    margin-bottom: 2px;
  }
  .hero__name {
    font-size: clamp(1rem, 4vw, 1.3rem);
    max-width: none;
    color: var(--chalk);
    line-height: 1.25;
  }
  .hero__bio,
  .hero__likes {
    max-width: none;
    margin-inline: 0;
    font-size: clamp(0.92rem, 3.8vw, 1.02rem);
    line-height: 1.7;
    color: var(--chalk);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.28);
  }
  .hero__likes { opacity: 0.95; }
  .hero__actions {
    grid-area: actions;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 14px;
    margin-top: 2px;
  }
  .hero__stats {
    justify-content: center;
    width: 100%;
    max-width: 320px;
  }
  .hero__cta {
    width: 100%;
    max-width: 260px;
    justify-content: center;
  }
  .hero__icon {
    width: clamp(84px, 22vw, 104px);
    height: clamp(84px, 22vw, 104px);
  }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__cta:hover, .vcard:hover { transform: none; }
  .marquee__track { animation: none !important; transform: none !important; }
}
