/* =========================================================
   ななめうえ。ぷろだくしょん 公式サイト スタイルシート（天砕児サイトのデザインシステムを継承）
   Pastel Pop & Sticker Aesthetic / Full Responsive
========================================================= */

:root {
  --navy: #1E2538;
  --navy-soft: #3B445E;
  --white: #FFFFFF;
  --bg-base: #FCF9FF;
  --bg-tinted: #F5F2FF;

  /* びびっと（パステルピンク） */
  --vivid-main: #FF85B3;
  --vivid-light: #FFD4E5;
  --vivid-soft: #FFF0F6;
  --vivid-deep: #E8568E;

  /* 青空はんも（パステルスカイブルー） */
  --hanmo-main: #64C2FF;
  --hanmo-light: #CBEBFF;
  --hanmo-soft: #EFF9FF;
  --hanmo-deep: #2B9AE6;

  /* ハリル（パステルゴールド） */
  --halil-main: #FF9F2E;
  --halil-light: #FFDDB0;
  --halil-soft: #FFF4E5;
  --halil-deep: #D97A06;

  /* 黒井クロ美（ピンク×ブラック） */
  --kuromi-main: #9B7ED9;
  --kuromi-light: #DCCFF7;
  --kuromi-soft: #F4F0FE;
  --kuromi-deep: #6D4FC2;

  /* ユニットグラデーション */
  --grad-unit: linear-gradient(125deg, #FFB1C1 0%, #E3C9FF 26%, #A9D9FF 52%, #A5E8DC 76%, #FFD9A3 100%);
  --grad-board: linear-gradient(125deg, #FFB7CB 0%, #DEC7FF 30%, #A9D9FF 55%, #A5E8DC 78%, #FFD9A3 100%);

  --shadow-sticker: 0 10px 26px rgba(30, 37, 56, 0.10);
  --shadow-hover: 0 16px 34px rgba(30, 37, 56, 0.16);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-pill: 999px;

  --font-main: 'M PLUS Rounded 1c', 'Zen Maru Gothic', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--navy);
  background-color: var(--bg-base);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================================================
   シングルパス・ページ遷移ワイプ演出
========================================================= */
.page-wipe {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  overflow: hidden;
}

/* テーマクラス（.theme-hanmo / .theme-vivid）の背景がワイプ本体に効くと
   遷移後も全面がグラデーションで覆われたままになるため、本体は常に透明にする */
.page-wipe.theme-hanmo,
.page-wipe.theme-vivid,
.page-wipe.theme-minecraft {
  background: transparent;
}

.wipe-layer {
  position: absolute;
  inset: 0;
  visibility: hidden;
  transform: translateX(-105%);
  will-change: transform;
}

.wipe-back {
  background: rgba(255, 255, 255, 0.85);
}

.wipe-front {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.26) 1.5px, transparent 1.5px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.26) 1.5px, transparent 1.5px),
    var(--grad-unit);
  background-size: 28px 28px, 28px 28px, 100% 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-wipe.theme-hanmo .wipe-front {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.28) 1.5px, transparent 1.5px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.28) 1.5px, transparent 1.5px),
    linear-gradient(135deg, #64C2FF 0%, #A9E0FF 100%);
}

.page-wipe.theme-vivid .wipe-front {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.28) 1.5px, transparent 1.5px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.28) 1.5px, transparent 1.5px),
    linear-gradient(135deg, #FF85B3 0%, #FFC0D8 100%);
}

.page-wipe.theme-minecraft .wipe-front {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.28) 1.5px, transparent 1.5px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.28) 1.5px, transparent 1.5px),
    linear-gradient(135deg, #5DA24A 0%, #A8D68D 100%);
}

/* フェーズ1: 左から中央へ覆う */
.page-wipe.phase-cover .wipe-back {
  visibility: visible;
  transition: transform 0.32s cubic-bezier(0.76, 0, 0.24, 1);
  transform: translateX(0%);
}
.page-wipe.phase-cover .wipe-front {
  visibility: visible;
  transition: transform 0.36s cubic-bezier(0.76, 0, 0.24, 1) 0.04s;
  transform: translateX(0%);
}

/* フェーズ2: 中央から右へ抜ける */
.page-wipe.phase-reveal .wipe-front {
  visibility: visible;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  transform: translateX(105%);
}
.page-wipe.phase-reveal .wipe-back {
  visibility: visible;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1) 0.04s;
  transform: translateX(105%);
}

/* フェーズ3: 非表示のまま左待機位置へ瞬間リセット */
.page-wipe.phase-reset .wipe-back,
.page-wipe.phase-reset .wipe-front {
  visibility: hidden;
  transition: none !important;
  transform: translateX(-105%);
}

.wipe-badge {
  background: var(--white);
  border: 4px solid var(--navy);
  border-radius: var(--radius-pill);
  padding: 12px 28px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 28px rgba(30, 37, 56, 0.2);
}

.wipe-badge img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
}

.wipe-badge span {
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: var(--navy);
}

/* =========================================================
   トースト通知
========================================================= */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 120%);
  background: var(--navy);
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  border: 3px solid var(--white);
  box-shadow: 0 10px 25px rgba(30, 37, 56, 0.25);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 0.92rem;
  z-index: 9500;
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

/* =========================================================
   ヘッダー＆ナビゲーション
========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 3px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(30, 37, 56, 0.06);
}

.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-logo-btn {
  display: inline-flex;
  align-items: center;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.header-logo-btn:hover {
  transform: scale(1.05) rotate(-1.5deg);
}

.header-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-pill {
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--navy);
  background: var(--white);
  border: 2.5px solid #E8E4F3;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-pill:hover {
  transform: translateY(-2px);
  border-color: var(--navy);
}

.nav-pill.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  box-shadow: 0 6px 14px rgba(30, 37, 56, 0.18);
}

.nav-pill.nav-hanmo.active {
  background: var(--hanmo-main);
  border-color: var(--hanmo-deep);
  color: var(--white);
}

.nav-pill.nav-vivid.active {
  background: var(--vivid-main);
  border-color: var(--vivid-deep);
  color: var(--white);
}

.nav-pill.nav-mc.active {
  background: #5da24a;
  border-color: #478a37;
  color: var(--white);
}

.nav-pill.nav-store {
  background: linear-gradient(135deg, #FFF3B0 0%, #FFE082 100%);
  border-color: #F4C44E;
  color: var(--navy);
}

.ext-icon {
  width: 14px;
  height: 14px;
}

/* ハンバーガーボタン */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--white);
  border: 2.5px solid var(--navy);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2.8px;
  background: var(--navy);
  border-radius: 4px;
  transition: transform 0.25s ease;
}

/* ドロワーメニュー */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.28s ease;
}

.mobile-drawer.open {
  pointer-events: auto;
  opacity: 1;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 37, 56, 0.42);
  backdrop-filter: blur(4px);
}

.drawer-panel {
  position: absolute;
  top: 14px;
  right: 14px;
  width: min(320px, calc(100vw - 28px));
  background: var(--white);
  border: 4px solid var(--navy);
  border-radius: 28px;
  padding: 20px;
  box-shadow: 0 20px 44px rgba(30, 37, 56, 0.24);
  transform: translateY(-16px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mobile-drawer.open .drawer-panel {
  transform: translateY(0) scale(1);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 2px dashed #E6E1F5;
}

.drawer-logo {
  height: 36px;
}

.drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F4F1FA;
  font-weight: 900;
  color: var(--navy);
  font-size: 1rem;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drawer-btn {
  width: 100%;
  padding: 13px 16px;
  border-radius: 16px;
  background: #F9F7FF;
  border: 2.5px solid #EAE5F8;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--navy);
  text-align: left;
}

.drawer-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.drawer-store {
  background: #FFF9DB;
  border-color: #F6CF65;
}

.drawer-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-unit { background: linear-gradient(135deg, #FF85B3, #64C2FF); }
.dot-hanmo { background: var(--hanmo-main); }
.dot-vivid { background: var(--vivid-main); }
.dot-store { background: #F5B82E; }

/* =========================================================
   ページ表示切り替え
========================================================= */
.page-view {
  display: none;
}

.page-view.active {
  display: block;
}

/* =========================================================
   ヒーローセクション（滑らかなパステルグラデーション＆方眼ボード）
========================================================= */
.hero-stage {
  position: relative;
  padding: clamp(24px, 4vw, 44px) 18px clamp(36px, 5vw, 56px);
  background: var(--grad-unit);
  overflow: hidden;
}

.hero-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sparkle {
  position: absolute;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.5rem;
  animation: twinkle 3.2s ease-in-out infinite;
}

.s1 { top: 8%; left: 6%; animation-delay: 0s; }
.s2 { top: 14%; right: 8%; font-size: 1.8rem; animation-delay: 0.8s; }
.s3 { bottom: 12%; left: 10%; animation-delay: 1.4s; }
.s4 { bottom: 10%; right: 12%; animation-delay: 2.1s; }
.s5 { top: 50%; left: 3%; font-size: 1.2rem; animation-delay: 1.1s; }
.s6 { top: 50%; right: 3%; font-size: 1.2rem; animation-delay: 1.7s; }

@keyframes twinkle {
  0%, 100% { transform: scale(0.85) rotate(0deg); opacity: 0.6; }
  50% { transform: scale(1.2) rotate(15deg); opacity: 1; }
}

.hero-board {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  border: 6px solid var(--white);
  box-shadow: 0 18px 42px rgba(30, 37, 56, 0.14);
  padding: clamp(28px, 4.5vw, 48px) clamp(18px, 3.5vw, 40px);
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.34) 1.5px, transparent 1.5px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.34) 1.5px, transparent 1.5px),
    var(--grad-board);
  background-size: 28px 28px, 28px 28px, 100% 100%;
  overflow: hidden;
}

/* 光沢シマー演出 */
.hero-board::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: rotate(22deg);
  animation: boardShimmer 7s ease-in-out infinite;
  pointer-events: none;
}

@keyframes boardShimmer {
  0%, 65% { left: -60%; }
  100% { left: 140%; }
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr minmax(260px, 1.25fr) 1fr;
  align-items: center;
  gap: clamp(16px, 2.5vw, 28px);
}

/* キャラクターユニット（上吹き出し → 中央アイコン → 下名前ピル） */
.hero-char-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-char-unit:hover {
  transform: translateY(-6px);
}

.hero-char-unit:hover .avatar-ring {
  transform: scale(1.05);
}

/* 吹き出し（下向きしっぽでアイコンを指す） */
.speech-bubble {
  position: relative;
  background: var(--white);
  border: 3.5px solid var(--navy);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  font-weight: 900;
  font-size: clamp(0.82rem, 1.3vw, 0.96rem);
  color: var(--navy);
  box-shadow: 0 6px 14px rgba(30, 37, 56, 0.12);
  white-space: nowrap;
}

.speech-bubble::before {
  content: "";
  position: absolute;
  bottom: -11px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 11px 9px 0 9px;
  border-style: solid;
  border-color: var(--navy) transparent transparent transparent;
}

.speech-bubble::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px 6px 0 6px;
  border-style: solid;
  border-color: var(--white) transparent transparent transparent;
}

.bubble-vivid {
  border-color: var(--vivid-deep);
  color: var(--vivid-deep);
}
.bubble-vivid::before { border-top-color: var(--vivid-deep); }

.bubble-hanmo {
  border-color: var(--hanmo-deep);
  color: var(--hanmo-deep);
}
.bubble-hanmo::before { border-top-color: var(--hanmo-deep); }

/* 円形アイコンリング */
.avatar-ring {
  position: relative;
  width: clamp(144px, 18vw, 196px);
  height: clamp(144px, 18vw, 196px);
  border-radius: 50%;
  background: var(--white);
  padding: 6px;
  box-shadow: 0 12px 26px rgba(30, 37, 56, 0.16);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.avatar-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.ring-vivid {
  border: 4px solid var(--vivid-main);
}

.ring-hanmo {
  border: 4px solid var(--hanmo-main);
}

.mini-badge {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 10px rgba(30, 37, 56, 0.15);
}

.badge-vivid { color: var(--vivid-deep); border-color: var(--vivid-deep); }
.badge-hanmo { color: #F5B82E; border-color: var(--hanmo-deep); }

/* 名前ピル（アイコンの下） */
.name-pill {
  background: var(--white);
  border: 3px solid var(--navy);
  border-radius: var(--radius-pill);
  padding: 6px 22px;
  font-weight: 900;
  font-size: 1rem;
  box-shadow: 0 5px 12px rgba(30, 37, 56, 0.1);
}

.pill-vivid {
  color: var(--vivid-deep);
  border-color: var(--vivid-deep);
}

.pill-hanmo {
  color: var(--hanmo-deep);
  border-color: var(--hanmo-deep);
}

/* 中央ロゴ＆CTA */
.hero-center-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}

.hero-logo-sticker {
  width: 100%;
  max-width: 360px;
  animation: floatLogo 3.8s ease-in-out infinite;
  filter: drop-shadow(0 12px 22px rgba(30, 37, 56, 0.18));
}

@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: var(--white);
  border: 3.5px solid var(--white);
  border-radius: var(--radius-pill);
  padding: 13px 28px;
  font-weight: 900;
  font-size: clamp(0.92rem, 1.4vw, 1.04rem);
  box-shadow: 0 10px 22px rgba(30, 37, 56, 0.22);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.hero-cta-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 28px rgba(30, 37, 56, 0.28);
}

.arrow-down {
  display: inline-block;
  animation: bounceArrow 1.6s infinite;
}

@keyframes bounceArrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* =========================================================
   共通コンテンツセクション＆ステッカーカード
========================================================= */
.content-section {
  padding: clamp(48px, 7vw, 80px) 0;
  scroll-margin-top: 84px;
}

.content-section.mc-first {
  padding-top: clamp(52px, 7.5vw, 88px);
}

.section-tinted {
  background: var(--bg-tinted);
  border-top: 3px dashed #E4DEFA;
  border-bottom: 3px dashed #E4DEFA;
}

.section-head {
  text-align: center;
  margin-bottom: clamp(28px, 4.5vw, 44px);
}

.section-tag {
  display: inline-block;
  background: var(--grad-unit);
  color: var(--white);
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
  text-shadow: 0 1px 4px rgba(30, 37, 56, 0.22);
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.05rem);
  font-weight: 900;
  color: var(--navy);
}

.sticker-card {
  background: var(--white);
  border: 4px solid var(--navy);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sticker);
}

/* =========================================================
   ABOUT セクション
========================================================= */
.about-card {
  padding: clamp(24px, 4vw, 40px);
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 40px);
  margin-bottom: 36px;
}

.about-visual {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.unit-icon-wrap {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  border: 4px solid var(--navy);
  padding: 4px;
  background: var(--white);
  box-shadow: 0 8px 18px rgba(30, 37, 56, 0.12);
}

.unit-icon-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.about-logo-img {
  width: 170px;
  height: auto;
}

.about-lead {
  font-size: clamp(1.06rem, 2vw, 1.28rem);
  font-weight: 800;
  line-height: 1.85;
  margin-bottom: 12px;
}

.highlight-text {
  background: linear-gradient(transparent 55%, #FFE2EE 55%);
  color: var(--vivid-deep);
  font-weight: 900;
  padding: 0 4px;
}

.highlight-text.hl-hanmo {
  background: linear-gradient(transparent 55%, #D9EFFF 55%);
  color: var(--hanmo-deep);
}

.about-sub {
  color: var(--navy-soft);
  font-weight: 700;
  font-size: 0.96rem;
}

/* メンバー紹介カード（2カラム） */
.member-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.member-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-sticker);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.member-card:hover {
  transform: translateY(-5px);
}

.card-hanmo {
  border: 4px solid var(--hanmo-main);
  background: linear-gradient(180deg, var(--hanmo-soft) 0%, var(--white) 48%);
}

.card-vivid {
  border: 4px solid var(--vivid-main);
  background: linear-gradient(180deg, var(--vivid-soft) 0%, var(--white) 48%);
}

.member-card-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.small-bubble {
  font-size: 0.84rem;
  padding: 6px 15px;
}

.med-ring {
  width: 136px;
  height: 136px;
}

.member-name {
  font-size: 1.38rem;
  font-weight: 900;
}

.name-hanmo { color: var(--hanmo-deep); }
.name-vivid { color: var(--vivid-deep); }

.member-desc {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--navy-soft);
  margin-bottom: 18px;
  flex-grow: 1;
}

.member-sns-mini {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.sns-chip {
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 800;
  border: 2px solid var(--navy);
  background: var(--white);
  transition: transform 0.2s ease;
}

.sns-chip:hover {
  transform: translateY(-2px);
}

.chip-yt {
  color: #E62117;
  border-color: #E62117;
}

.chip-x {
  color: var(--navy);
}

.member-detail-btn {
  width: 100%;
  padding: 13px 20px;
  border-radius: var(--radius-pill);
  font-weight: 900;
  font-size: 0.96rem;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.member-detail-btn:hover {
  transform: scale(1.02);
  filter: brightness(1.05);
}

.btn-hanmo {
  background: linear-gradient(135deg, #4FB6FF, #2B9AE6);
  box-shadow: 0 6px 16px rgba(43, 154, 230, 0.3);
}

.btn-vivid {
  background: linear-gradient(135deg, #FF7EB0, #E8568E);
  box-shadow: 0 6px 16px rgba(232, 86, 142, 0.3);
}

/* =========================================================
   OFFICIAL STORE セクション
========================================================= */
.store-banner {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 40px);
}

.store-bg-deco {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(125deg, rgba(255, 240, 248, 0.92), rgba(238, 248, 255, 0.92)),
    url("../images/pattern.jpg");
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.store-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 40px);
}

.store-visual {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.store-logo {
  width: 200px;
}

.store-pill-tag {
  background: #FF5A5F;
  color: var(--white);
  font-weight: 900;
  font-size: 0.78rem;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.06em;
}

.store-info h3 {
  font-size: clamp(1.16rem, 2.2vw, 1.45rem);
  font-weight: 900;
  margin-bottom: 10px;
}

.store-info p {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-soft);
  margin-bottom: 20px;
}

.store-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #FF6B70, #FC4D50);
  color: var(--white);
  border: 3px solid var(--navy);
  border-radius: var(--radius-pill);
  padding: 13px 28px;
  font-weight: 900;
  font-size: 1rem;
  box-shadow: 0 8px 20px rgba(252, 77, 80, 0.28);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.store-cta-btn:hover {
  transform: translateY(-3px) scale(1.03);
}

/* =========================================================
   OFFICIAL SNS セクション
========================================================= */
.sns-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sns-group-card {
  background: var(--white);
  border: 4px solid var(--navy);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  box-shadow: var(--shadow-sticker);
}

.group-hanmo { border-color: var(--hanmo-main); }
.group-vivid { border-color: var(--vivid-main); }

.sns-group-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.sns-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2.5px solid var(--navy);
  flex-shrink: 0;
}

.sns-role {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--navy-soft);
}

.role-hanmo { color: var(--hanmo-deep); }
.role-vivid { color: var(--vivid-deep); }

.sns-group-header h3 {
  font-size: 1.12rem;
  font-weight: 900;
}

.sns-links-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 0.88rem;
  border: 2.5px solid var(--navy);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(30, 37, 56, 0.14);
}

.btn-youtube {
  background: #FFF3F3;
  border-color: #E62117;
  color: #C81911;
}

.btn-x {
  background: #F4F6FA;
  border-color: var(--navy);
  color: var(--navy);
}

.btn-tiktok {
  background: #F6F6F8;
  border-color: #161823;
  color: #161823;
}

.social-icon {
  font-weight: 900;
  margin-right: 8px;
}

.social-label {
  flex-grow: 1;
}

/* =========================================================
   PRESENT & CONTACT セクション
========================================================= */
.contact-card {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(24px, 4.5vw, 42px);
  text-align: center;
}

.contact-lead-badge {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-weight: 900;
  font-size: clamp(0.95rem, 1.8vw, 1.12rem);
  padding: 10px 26px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}

.address-box {
  background: linear-gradient(135deg, #FFF7FB 0%, #F4FAFF 100%);
  border: 3px dashed #B9B2DF;
  border-radius: var(--radius-md);
  padding: 22px 20px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.address-text {
  white-space: pre-line;
  font-weight: 800;
  font-size: clamp(0.96rem, 1.7vw, 1.08rem);
  line-height: 1.9;
  color: var(--navy);
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 2.5px solid var(--navy);
  border-radius: var(--radius-pill);
  padding: 8px 20px;
  font-weight: 900;
  font-size: 0.88rem;
  color: var(--navy);
  box-shadow: 0 4px 10px rgba(30, 37, 56, 0.08);
  transition: all 0.22s ease;
}

.copy-btn:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 22px;
}

.contact-link-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 3px solid var(--navy);
  text-align: left;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.contact-link-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(30, 37, 56, 0.14);
}

.btn-guideline {
  background: var(--vivid-soft);
  border-color: var(--vivid-deep);
}

.btn-inquiry {
  background: var(--hanmo-soft);
  border-color: var(--hanmo-deep);
}

.c-btn-icon {
  font-size: 1.7rem;
  flex-shrink: 0;
}

.c-btn-body {
  display: flex;
  flex-direction: column;
}

.c-btn-body strong {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--navy);
}

.c-btn-body small {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy-soft);
}

.contact-note {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--navy-soft);
  background: #F6F4FC;
  padding: 10px 16px;
  border-radius: 12px;
}

/* =========================================================
   個別メンバー紹介ページ（青空はんも / びびっと）
========================================================= */
.profile-hero {
  padding: clamp(28px, 4.5vw, 48px) 18px;
}

.theme-hanmo {
  background: linear-gradient(135deg, #64C2FF 0%, #B3E5FF 100%);
}

.theme-vivid {
  background: linear-gradient(135deg, #FF85B3 0%, #FFC4DC 100%);
}

.theme-minecraft {
  background: linear-gradient(135deg, #7FBF5A 0%, #B9E29A 100%);
}

.profile-board {
  max-width: 860px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  border: 6px solid var(--white);
  padding: clamp(32px, 5vw, 52px) 20px;
  box-shadow: 0 18px 40px rgba(30, 37, 56, 0.14);
  background-size: 28px 28px, 28px 28px, 100% 100%;
}

.board-hanmo {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.36) 1.5px, transparent 1.5px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.36) 1.5px, transparent 1.5px),
    linear-gradient(135deg, #74C9FF 0%, #BCE8FF 100%);
}

.board-vivid {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.36) 1.5px, transparent 1.5px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.36) 1.5px, transparent 1.5px),
    linear-gradient(135deg, #FF92BC 0%, #FFD0E3 100%);
}

.profile-char-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.large-ring {
  width: clamp(176px, 24vw, 224px);
  height: clamp(176px, 24vw, 224px);
}

.profile-title-pill {
  background: var(--white);
  border: 4px solid var(--navy);
  border-radius: var(--radius-pill);
  padding: 8px 34px;
  font-size: clamp(1.35rem, 2.8vw, 1.8rem);
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(30, 37, 56, 0.12);
}

.profile-detail-card {
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(24px, 4.5vw, 42px);
}

/* 立ち絵＋プロフィールの2カラムレイアウト */
.profile-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: clamp(20px, 3.5vw, 36px);
  align-items: start;
}

.profile-art {
  border: 3px solid #E8E4F3;
  border-radius: var(--radius-lg);
  padding: 14px;
  position: sticky;
  top: 92px;
  box-shadow: 0 8px 20px rgba(30, 37, 56, 0.08);
}

.card-border-hanmo .profile-art { border-color: var(--hanmo-light); background: var(--hanmo-soft); }
.card-border-vivid .profile-art { border-color: var(--vivid-light); background: var(--vivid-soft); }

.profile-art img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

/* 立ち絵下のイラストレータークレジット */
.art-credit {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 10px;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--navy);
}

.art-credit-link {
  display: inline-flex;
  align-items: center;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  background: var(--navy);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 800;
}

@media (max-width: 820px) {
  .profile-layout { grid-template-columns: 1fr; }
  .profile-art { position: static; width: 100%; max-width: 320px; margin: 0 auto; }
}

.card-border-hanmo { border-color: var(--hanmo-deep); }
.card-border-vivid { border-color: var(--vivid-deep); }

.profile-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.spec-item {
  background: #F9F8FF;
  border: 2px solid #E5E0F7;
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.spec-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--navy-soft);
}

.spec-val {
  font-size: 1.05rem;
  font-weight: 900;
}

.color-hanmo { color: var(--hanmo-deep); }
.color-vivid { color: var(--vivid-deep); }

.profile-message {
  margin-bottom: 28px;
}

.profile-message h2,
.profile-sns-area h3 {
  font-size: 1.15rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.profile-message p {
  font-weight: 700;
  color: var(--navy-soft);
  line-height: 1.9;
}

.profile-sns-area {
  margin-bottom: 32px;
}

.profile-sns-btns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.page-switch-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 22px;
  border-top: 2px dashed #E4DEFA;
}

.switch-btn {
  flex: 1 1 220px;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-weight: 900;
  font-size: 0.96rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 3px solid var(--navy);
  transition: transform 0.25s ease;
}

.switch-btn:hover {
  transform: translateY(-2px);
}

.btn-to-vivid {
  background: var(--vivid-main);
  color: var(--white);
  border-color: var(--vivid-deep);
}

.btn-to-hanmo {
  background: var(--hanmo-main);
  color: var(--white);
  border-color: var(--hanmo-deep);
}

.btn-to-top {
  background: var(--white);
  color: var(--navy);
}

/* =========================================================
   おすすめショート動画（横流れマーキー）
========================================================= */
.section-sub {
  margin-top: 10px;
  font-weight: 700;
  color: var(--navy-soft);
  font-size: 0.95rem;
}

.shorts-marquee {
  overflow: hidden;
  padding: 8px 0 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.shorts-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: shortsScroll var(--shorts-duration, 26s) linear infinite;
}

.shorts-marquee:hover .shorts-track {
  animation-play-state: paused;
}

@keyframes shortsScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.short-card {
  flex: 0 0 auto;
  width: 188px;
  background: var(--white);
  border: 3px solid #E8E4F3;
  border-radius: 20px;
  padding: 10px;
  box-shadow: 0 8px 18px rgba(30, 37, 56, 0.08);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.short-card:hover {
  transform: translateY(-4px);
  border-color: var(--navy);
}

.short-thumb {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #10131c;
}

.short-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.short-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 9px;
  font-weight: 800;
  font-size: 0.84rem;
  line-height: 1.5;
  min-height: 2.6em;
}

.shorts-more {
  text-align: center;
  margin-top: 14px;
}

.shorts-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  border: 3px solid var(--navy);
  background: var(--white);
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(30, 37, 56, 0.12);
  transition: transform 0.25s ease;
}

.shorts-more-btn:hover {
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .shorts-track { animation: none; }
  .shorts-marquee { overflow-x: auto; }
}

/* =========================================================
   スクロールトップボタン＆フッター
========================================================= */
.scroll-top-btn {
  position: fixed;
  right: 20px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  border: 3px solid var(--white);
  font-weight: 900;
  font-size: 1.15rem;
  box-shadow: 0 8px 20px rgba(30, 37, 56, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 900;
}

.scroll-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 40px 20px 32px;
  text-align: center;
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  height: 52px;
}

.footer-logo-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: inline-block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-logo-btn:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

/* ===== マイクラサーバー ===== */
.tag-mc {
  background: linear-gradient(120deg, #6ab04c, #478a37);
}

.dot-mc {
  background: #5da24a;
}

.mc-teaser-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 26px;
  align-items: center;
  padding: 28px;
}

.mc-teaser-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 3px solid var(--navy);
  background: #eaf4e4;
}

.mc-map-frame.mc-teaser-frame {
  height: 330px;
}

.mc-teaser-text {
  font-weight: 700;
  line-height: 1.8;
  margin-bottom: 18px;
}

.mc-teaser-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mc-detail-btn {
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 900;
  font-size: 0.95rem;
  color: var(--white);
  background: linear-gradient(120deg, #6ab04c, #478a37);
  border: 3px solid #33691e;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.mc-detail-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.mc-apply-btn {
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 900;
  font-size: 0.95rem;
  color: #7a828f;
  background: #d4d8de;
  border: 3px solid #aeb4be;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: not-allowed;
}

.mc-apply-btn.large {
  font-size: 1.02rem;
  padding: 14px 30px;
}

a.mc-apply-btn {
  color: #ffffff;
  background: #5865f2;
  border-color: #4752c4;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 0 #3b45a3;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

a.mc-apply-btn:hover {
  background: #4752c4;
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #3b45a3;
}

.board-minecraft {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.30) 1.5px, transparent 1.5px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.30) 1.5px, transparent 1.5px),
    linear-gradient(165deg, #a8d68d 0%, #5da24a 60%, #478a37 100%);
}

.pill-minecraft {
  color: #33691e;
  border-color: #33691e;
}

@media (max-width: 768px) {
  .pill-minecraft {
    font-size: 1.12rem;
    padding: 8px 20px;
    white-space: nowrap;
  }
}

.bubble-minecraft {
  border-color: #33691e;
  color: #33691e;
}

.mc-detail-card {
  padding: clamp(24px, 4vw, 44px);
}

.mc-map-figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 3px solid var(--navy);
  background: #eaf4e4;
}

.mc-map-figure figcaption {
  text-align: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 10px;
}

.mc-map-figure figcaption a {
  color: var(--hanmo-deep);
  font-weight: 900;
}

.mc-map-frame {
  width: 100%;
  height: min(72vh, 640px);
  display: block;
  border: 3px solid var(--navy);
  border-radius: var(--radius-md);
  background: #eaf4e4;
}

.mc-spec-grid {
  margin-top: 26px;
}

.mc-recruit {
  margin-top: 32px;
}

.mc-recruit h2 {
  font-size: 1.05rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.mc-recruit p {
  font-weight: 600;
  line-height: 1.8;
}

.mc-apply {
  margin-top: 30px;
  text-align: center;
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  padding: 26px 20px;
}

.mc-apply h3 {
  font-weight: 900;
  margin-bottom: 8px;
}

.mc-apply p {
  font-weight: 600;
  margin-bottom: 16px;
}

.mc-apply .mc-apply-note {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 700;
  margin: 12px 0 0;
}

.mc-block {
  margin-top: 32px;
}

.mc-block h3 {
  font-weight: 900;
  font-size: 1.02rem;
  margin-bottom: 12px;
}

.mc-mod-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 22px;
  list-style: none;
}

.mc-mod-list li {
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.6;
  padding-left: 18px;
  position: relative;
}

.mc-mod-list li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 5px;
  color: #478a37;
  font-size: 0.65rem;
}

.mc-note {
  margin-top: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.7;
}

.mc-steps {
  padding-left: 22px;
  font-weight: 600;
  line-height: 1.9;
}

.mc-rules {
  list-style: none;
}

.mc-rules li {
  font-weight: 600;
  line-height: 1.7;
  padding-left: 18px;
  position: relative;
  margin-bottom: 4px;
}

.mc-rules li::before {
  content: "・";
  position: absolute;
  left: 2px;
  font-weight: 900;
  color: #478a37;
}

@media (max-width: 768px) {
  .mc-teaser-card {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .mc-mod-list {
    grid-template-columns: 1fr;
  }
}

.footer-nav,
.footer-sns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  font-weight: 800;
  font-size: 0.92rem;
}

.footer-nav button,
.footer-nav a,
.footer-sns a {
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s ease;
}

.footer-nav button:hover,
.footer-nav a:hover,
.footer-sns a:hover {
  color: #9AD9FF;
}

.copyright {
  margin-top: 8px;
  font-size: 0.88rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.04em;
}

/* =========================================================
   スクロールリビール
========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  /* 最終保険：JS側の表示処理がどんな理由で動かなくても、数秒後には必ず表示する */
  animation: revealSafety 0.7s ease 1.5s forwards;
}

@keyframes revealSafety {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   レスポンシブ対応（タブレット・スマートフォン）
========================================================= */
@media (max-width: 920px) {
  .sns-cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  /* ヒーローをスマホ・タブレットで見やすく再配置（上：ロゴ＆CTA / 下：びびっと＆青空はんも横並び） */
  .hero-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 12px;
  }

  /* 星の装飾：スマホではボードに重ならないよう、上下の余白帯に散らす */
  .sparkle { font-size: 0.95rem; }
  .s1 { top: 5px; left: 10%; }
  .s2 { top: 5px; left: 36%; right: auto; font-size: 0.75rem; }
  .s3 { bottom: 8px; left: 22%; }
  .s4 { bottom: 8px; right: 22%; }
  .s5 { top: 5px; left: 63%; font-size: 0.75rem; }
  .s6 { top: 5px; right: 6%; left: auto; font-size: 0.95rem; }

  .hero-center-unit {
    grid-column: 1 / -1;
    order: -1;
    margin-bottom: 6px;
  }

  .hero-logo-sticker {
    max-width: 280px;
  }

  .speech-bubble {
    font-size: 0.76rem;
    padding: 6px 12px;
  }

  .avatar-ring {
    width: 124px;
    height: 124px;
  }

  .about-card,
  .store-inner {
    flex-direction: column;
    text-align: center;
  }

  .pc-only {
    display: none;
  }

  .member-cards-grid,
  .contact-actions,
  .profile-spec-grid,
  .profile-sns-btns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 400px) {
  .hero-board {
    padding: 22px 12px;
    border-width: 4px;
  }

  .speech-bubble {
    font-size: 0.7rem;
    padding: 5px 10px;
  }

  .avatar-ring {
    width: 108px;
    height: 108px;
  }

  .name-pill {
    font-size: 0.88rem;
    padding: 5px 16px;
  }
}

/* =========================================================
   個別ページ分割版：リンク化したナビ要素の見た目調整
========================================================= */
a.nav-pill,
a.drawer-btn,
a.switch-btn,
a.member-detail-btn,
a.mc-detail-btn,
a.header-logo-btn,
a.footer-logo-btn,
a.hero-char-unit {
  text-decoration: none;
}

a.header-logo-btn,
a.footer-logo-btn {
  display: inline-block;
  cursor: pointer;
}

/* 到着側：前ページから遷移してきた直後は、覆った状態から開始する */
.page-wipe.phase-arrive .wipe-back,
.page-wipe.phase-arrive .wipe-front {
  visibility: visible;
  transition: none !important;
  transform: translateX(0%);
}

/* =========================================================
   ななめうえ。ぷろだくしょん 拡張（追加タレント／NEWS／文書ページ）
========================================================= */

/* --- ワイプのテーマ追加 --- */
.page-wipe.theme-halil,
.page-wipe.theme-kuromi,
.page-wipe.theme-navy {
  background: transparent;
}
.page-wipe.theme-halil .wipe-front {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.28) 1.5px, transparent 1.5px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.28) 1.5px, transparent 1.5px),
    linear-gradient(135deg, #FF9F2E 0%, #FFDDB0 100%);
}
.page-wipe.theme-kuromi .wipe-front {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.28) 1.5px, transparent 1.5px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.28) 1.5px, transparent 1.5px),
    linear-gradient(135deg, #9B7ED9 0%, #DCCFF7 100%);
}
.page-wipe.theme-navy .wipe-front {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.22) 1.5px, transparent 1.5px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.22) 1.5px, transparent 1.5px),
    linear-gradient(135deg, #2A3350 0%, #1E2538 100%);
}

/* --- ナビピル（追加ページ） --- */
.nav-pill.nav-halil.active {
  background: var(--halil-main);
  border-color: var(--halil-deep);
  color: var(--white);
}
.nav-pill.nav-kuromi.active {
  background: var(--kuromi-main);
  border-color: var(--kuromi-deep);
  color: var(--white);
}

/* --- ドロワーのドット --- */
.dot-halil { background: var(--halil-main); }
.dot-kuromi { background: var(--kuromi-main); }
.dot-navy { background: var(--navy); }

/* --- 吹き出し／リング／バッジ／ピル（追加タレント） --- */
.bubble-halil { border-color: var(--halil-deep); color: var(--halil-deep); }
.bubble-halil::before { border-top-color: var(--halil-deep); }
.bubble-kuromi { border-color: var(--kuromi-deep); color: var(--kuromi-deep); }
.bubble-kuromi::before { border-top-color: var(--kuromi-deep); }

.ring-halil { border: 4px solid var(--halil-main); }
.ring-kuromi { border: 4px solid var(--kuromi-main); }

.badge-halil { color: var(--halil-deep); border-color: var(--halil-deep); }
.badge-kuromi { color: var(--kuromi-deep); border-color: var(--kuromi-deep); }

.pill-halil { color: var(--halil-deep); border-color: var(--halil-deep); }
.pill-kuromi { color: var(--kuromi-deep); border-color: var(--kuromi-deep); }

/* --- メンバーカード（追加タレント） --- */
.card-halil {
  border: 4px solid var(--halil-main);
  background: linear-gradient(180deg, var(--halil-soft) 0%, var(--white) 48%);
}
.card-kuromi {
  border: 4px solid var(--kuromi-main);
  background: linear-gradient(180deg, var(--kuromi-soft) 0%, var(--white) 48%);
}
.name-halil { color: var(--halil-deep); }
.name-kuromi { color: var(--kuromi-deep); }

.btn-halil {
  background: linear-gradient(135deg, #FFAB3D, #E07F00);
  box-shadow: 0 6px 16px rgba(224, 127, 0, 0.3);
}
.btn-kuromi {
  background: linear-gradient(135deg, #AC93E4, #7A5CC9);
  box-shadow: 0 6px 16px rgba(122, 92, 201, 0.3);
}

/* --- SNSグループカード（追加タレント） --- */
.group-halil { border-color: var(--halil-main); }
.group-kuromi { border-color: var(--kuromi-main); }
.role-halil { color: var(--halil-deep); }
.role-kuromi { color: var(--kuromi-deep); }

/* --- SNSチップ追加 --- */
.chip-tiktok { color: #161823; border-color: #161823; }
.chip-booth { color: #D92B2E; border-color: #FC4D50; }

/* --- ソーシャルボタン追加 --- */
.btn-booth {
  background: #FFF0F0;
  border-color: #FC4D50;
  color: #D92B2E;
}
.btn-twitch {
  background: #F4F0FF;
  border-color: #9146FF;
  color: #6D28D9;
}
.btn-unit {
  background: linear-gradient(120deg, #FFF0F6, #EFF9FF);
  border-color: var(--navy);
  color: var(--navy);
}

/* --- ハイライト追加 --- */
.highlight-text.hl-halil {
  background: linear-gradient(transparent 55%, #FCE9BE 55%);
  color: var(--halil-deep);
}
.highlight-text.hl-kuromi {
  background: linear-gradient(transparent 55%, #E4DBFB 55%);
  color: var(--kuromi-deep);
}
.highlight-text.hl-purple {
  background: linear-gradient(transparent 55%, #E7DCFF 55%);
  color: #7A5CC9;
}

/* --- プロフィール：テーマ／ボード（追加タレント＋文書系） --- */
.theme-halil { background: linear-gradient(135deg, #FF9F2E 0%, #FFDDB0 100%); }
.theme-kuromi { background: linear-gradient(135deg, #9B7ED9 0%, #DCCFF7 100%); }
.theme-navy { background: linear-gradient(135deg, #2A3350 0%, #1E2538 100%); }

.board-halil {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.36) 1.5px, transparent 1.5px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.36) 1.5px, transparent 1.5px),
    linear-gradient(135deg, #FFB054 0%, #FFE3BA 100%);
}
.board-kuromi {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.36) 1.5px, transparent 1.5px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.36) 1.5px, transparent 1.5px),
    linear-gradient(135deg, #AC93E4 0%, #E4DBFB 100%);
}
.board-navy {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.16) 1.5px, transparent 1.5px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.16) 1.5px, transparent 1.5px),
    linear-gradient(135deg, #2A3350 0%, #1E2538 100%);
}

.card-border-halil { border-color: var(--halil-deep); }
.card-border-kuromi { border-color: var(--kuromi-deep); }
.card-border-halil .profile-art { border-color: var(--halil-light); background: var(--halil-soft); }
.card-border-kuromi .profile-art { border-color: var(--kuromi-light); background: var(--kuromi-soft); }

.color-halil { color: var(--halil-deep); }
.color-kuromi { color: var(--kuromi-deep); }

.btn-to-halil {
  background: var(--halil-main);
  color: var(--white);
  border-color: var(--halil-deep);
}
.btn-to-kuromi {
  background: var(--kuromi-main);
  color: var(--white);
  border-color: var(--kuromi-deep);
}

/* --- ヒーロー：4人レイアウト --- */
.hero-board-4 .hero-center-unit {
  margin-bottom: clamp(22px, 3.5vw, 34px);
}
.hero-catch {
  font-weight: 900;
  font-size: clamp(1.02rem, 2vw, 1.3rem);
  color: var(--navy);
  text-align: center;
}
.hero-grid-4 {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(10px, 2vw, 22px);
  align-items: start;
}
.hero-grid-4 .avatar-ring {
  width: clamp(104px, 12.5vw, 150px);
  height: clamp(104px, 12.5vw, 150px);
}
.hero-grid-4 .speech-bubble {
  font-size: clamp(0.68rem, 1.05vw, 0.84rem);
  padding: 6px 12px;
  white-space: normal;
  text-align: center;
  line-height: 1.5;
}
.hero-grid-4 .mini-badge {
  width: 30px;
  height: 30px;
  font-size: 0.85rem;
}
.hero-grid-4 .name-pill {
  font-size: 0.92rem;
  padding: 5px 18px;
}

/* --- ABOUT：マスコットを丸アイコンに収める --- */
.unit-icon-wrap img {
  object-fit: contain;
  background: var(--white);
}

/* --- NEWS --- */
.news-card {
  padding: clamp(20px, 3.5vw, 34px);
}
.news-item {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 15px 6px;
  border-bottom: 2px dashed #E4DEFA;
  transition: transform 0.2s ease;
}
.news-item:last-child { border-bottom: none; }
a.news-item:hover { transform: translateX(4px); }
.news-date {
  font-weight: 900;
  color: var(--navy);
  background: #F1EDFB;
  border-radius: var(--radius-pill);
  padding: 3px 14px;
  font-size: 0.84rem;
  white-space: nowrap;
}
.news-title { font-weight: 800; }

/* --- 文書ページ（会社概要／お問い合わせ／未成年者） --- */
.doc-card {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(24px, 4.5vw, 42px);
}
.doc-card h3 {
  font-size: 1.12rem;
  font-weight: 900;
  margin: 30px 0 12px;
}
.doc-card h3:first-child { margin-top: 0; }
.doc-card p {
  font-weight: 700;
  color: var(--navy-soft);
  line-height: 1.9;
}
.doc-hero-sub {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
  margin-top: 12px;
  text-align: center;
}
.doc-table { width: 100%; border-collapse: collapse; }
.doc-table th, .doc-table td {
  padding: 12px 10px;
  text-align: left;
  vertical-align: top;
  font-size: 0.95rem;
}
.doc-table th { width: 9em; font-weight: 900; white-space: nowrap; }
.doc-table td { font-weight: 700; color: var(--navy-soft); }
.doc-table tr + tr th, .doc-table tr + tr td { border-top: 2px dashed #E4DEFA; }
.spec-grid-3 { grid-template-columns: repeat(3, 1fr); }
.doc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

/* --- オーディションカード --- */
.audition-card {
  max-width: 780px;
  margin: 26px auto 0;
  padding: clamp(22px, 4vw, 36px);
  text-align: center;
}
.audition-card p {
  font-weight: 700;
  color: var(--navy-soft);
  line-height: 1.9;
  margin-bottom: 18px;
}

/* --- レスポンシブ追加 --- */
@media (max-width: 1180px) {
  .nav-pill { padding: 8px 13px; font-size: 0.85rem; }
}
@media (max-width: 1020px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: flex; }
}
@media (max-width: 768px) {
  .hero-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 10px;
  }
  .hero-grid-4 .avatar-ring { width: 118px; height: 118px; }
  .spec-grid-3 { grid-template-columns: 1fr; }
  .news-item { flex-direction: column; gap: 6px; }
}

/* =========================================================
   v3 追加（ショート所有者タグ／NEWSカテゴリ／ヒーローマスコット／文書リスト）
========================================================= */
.short-owner {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 7px;
  font-size: 0.76rem;
  font-weight: 900;
  color: var(--navy-soft);
}
.short-owner i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.owner-halil i { background: var(--halil-main); }
.owner-kuromi i { background: var(--kuromi-main); }
.owner-hanmo i { background: var(--hanmo-main); }
.owner-vivid i { background: var(--vivid-main); }

.news-cat {
  flex-shrink: 0;
  align-self: center;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: #EFEAFB;
  color: #6D4FC2;
  border: 2px solid #DCCFF7;
}
.news-cat.cat-goods {
  background: #FFF0F0;
  color: #D92B2E;
  border-color: #FFC9C9;
}

.hero-mascot {
  position: absolute;
  right: 16px;
  bottom: 12px;
  width: 92px;
  z-index: 3;
  pointer-events: none;
  animation: floatLogo 4.4s ease-in-out infinite;
  filter: drop-shadow(0 8px 14px rgba(30, 37, 56, 0.18));
}
@media (max-width: 900px) {
  .hero-mascot { display: none; }
}

.profile-shorts {
  margin-top: clamp(38px, 5.5vw, 58px);
}

.doc-card ul {
  padding-left: 1.3em;
  font-weight: 700;
  color: var(--navy-soft);
  line-height: 1.9;
  margin-bottom: 6px;
}
.doc-card li { margin-bottom: 4px; }

/* =========================================================
   v3.1 追加（立ち絵スティッキー解除／ロゴアイコン／戻るボタンのななちゃん）
========================================================= */
.profile-art {
  position: static;
  top: auto;
}
img.logo-icon {
  object-fit: contain;
  background: #fff;
}
.unit-icon-wrap img.logo-icon {
  padding: 9px;
}
.sns-avatar.logo-icon {
  padding: 4px;
}
.store-logo.logo-icon {
  padding: 10px;
}
.avatar-ring.ring-logo {
  border-radius: 34px;
}
.avatar-ring.ring-logo img {
  object-fit: contain;
  padding: 16px;
}
.scroll-top-btn {
  width: 58px;
  height: 58px;
  background: #fff;
  border: 3px solid var(--navy);
  padding: 0;
  overflow: hidden;
}
.scroll-top-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px 4px 10px;
  display: block;
}
.scroll-top-btn::after {
  content: "TOP";
  position: absolute;
  left: 50%;
  bottom: 3px;
  transform: translateX(-50%);
  font-size: 0.52rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  background: var(--navy);
  color: #fff;
  padding: 1px 7px;
  border-radius: 999px;
}

/* =========================================================
   v3.2 追加（ロゴ拡大／フッターグループ／一覧ボタン／余白調整）
========================================================= */
.header-logo-img { height: 54px; }
.drawer-logo { height: 44px; }
.hero-logo-sticker { max-width: 440px; }
.profile-shorts {
  margin-top: 26px;
  padding-bottom: clamp(30px, 4vw, 46px);
}
.btn-to-list {
  background: var(--grad-unit);
  color: var(--navy);
  border-color: var(--navy);
}
.footer-nav-grouped {
  display: grid;
  grid-template-columns: repeat(4, minmax(118px, auto));
  gap: 26px 48px;
  justify-content: center;
  text-align: left;
}
.footer-group {
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-items: flex-start;
}
.footer-group-title {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 2px;
}
@media (max-width: 720px) {
  .footer-nav-grouped { grid-template-columns: repeat(2, minmax(128px, auto)); }
}

/* =========================================================
   v3.3 追加（ロゴ拡大／SNSラベル1行化／はんも立ち絵の白背景なじませ）
========================================================= */
.header-logo-img { height: 62px; }
.drawer-logo { height: 50px; }
.social-label {
  white-space: nowrap;
  font-size: 0.86rem;
  letter-spacing: -0.01em;
}
.sns-group-name { font-size: 0.98rem; }
.card-border-hanmo .profile-art { background: #E1F1FE; }

/* v3.4 追加（フッターロゴ拡大） */
.footer-logo { height: 84px; }

/* =========================================================
   v3.5 追加（スマホ表示の崩れ・孤立文字・グラデーション・ワイプアイコン）
========================================================= */
.dot-unit { background: linear-gradient(135deg, #FF8FAB 0%, #FF9F2E 30%, #9B7ED9 55%, #64C2FF 80%, #63E6C4 100%); }
#wipe-icon { width: auto; height: 40px; max-width: 190px; object-fit: contain; border-radius: 8px; }
.wipe-badge span:empty { display: none; }
h1, h2, h3 { text-wrap: balance; }
.news-title { text-wrap: balance; }
p { text-wrap: pretty; }
.hero-cta-btn { white-space: nowrap; }
.store-cta-btn { white-space: nowrap; }
@media (max-width: 768px) {
  .news-item { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
  .news-title { flex: 1 1 100%; }
  .hero-cta-btn { font-size: 0.9rem; padding: 14px 18px; }
  .store-cta-btn { font-size: 0.92rem; padding: 12px 20px; }
  .speech-bubble { font-size: 0.72rem; padding: 6px 10px; }
}

/* =========================================================
   v3.6 追加（ドロワーのスクロール・スリム化・ドットのグラデーション）
========================================================= */
.drawer-panel { max-height: calc(100dvh - 28px); overflow-y: auto; overscroll-behavior: contain; }
.drawer-links { gap: 7px; }
.drawer-btn { padding: 10px 14px; font-size: 0.92rem; border-radius: 14px; }
.dot-unit { background: conic-gradient(from 210deg, #FF7D9C, #FF9F2E, #9B7ED9, #64C2FF, #63E6C4, #FF7D9C); }
.dot-navy { background: #C9BFF2; }

/* =========================================================
   v3.7 追加（ドットの色指定：4色グラデーション／案内系は濃いピンク）
========================================================= */
.dot-unit { background: conic-gradient(from 210deg, #FF7D9C, #FF9F2E, #9B7ED9, #64C2FF, #FF7D9C); }
.dot-navy { background: #E75480; }
section, .doc-card { scroll-margin-top: 100px; }

/* =========================================================
   v3.7 追加（ヘッダー・フッターロゴ拡大／ドットの色指定）
========================================================= */
.header-logo-img { height: 76px; }
.footer-logo { height: 110px; }
.dot-unit { background: conic-gradient(from 210deg, #FF7D9C, #FF9F2E, #9B7ED9, #64C2FF, #FF7D9C); }
.dot-navy { background: #E85D8A; }

/* =========================================================
   v3.8 追加（ドットを黒へ／SNSチップの折り返し・隙間／ヘッダーロゴ微調整）
========================================================= */
.dot-navy { background: var(--navy); }
.header-logo-img { height: 54px; }
.sns-chip { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; }
@media (max-width: 768px) {
  .member-sns-mini { gap: 7px; }
  .sns-chip { padding: 6px 10px; font-size: 0.76rem; }
}

/* =========================================================
   v4.0 追加（お問い合わせフォーム／会社ロゴ／NEWS一覧）
========================================================= */
.store-visual .ravit-logo { width: auto; height: 118px; }
.ring-ravit { background: #fff; }
.contact-form { display: grid; gap: 16px; margin: 20px 0 28px; }
.form-field { display: grid; gap: 7px; font-weight: 800; }
.form-field em { color: #D92B2E; font-style: normal; font-size: 0.78rem; }
.form-field input, .form-field select, .form-field textarea { font: inherit; font-weight: 600; padding: 12px 14px; border: 2.5px solid #D9D2F2; border-radius: 14px; background: #FBFAFF; color: var(--navy); width: 100%; box-sizing: border-box; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: #9B7ED9; background: #fff; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-submit { font: inherit; font-weight: 900; padding: 14px; border-radius: var(--radius-pill); border: 3px solid var(--navy); background: var(--grad-unit); color: var(--navy); cursor: pointer; }
.form-submit:disabled { opacity: 0.6; cursor: default; }
.form-status { font-weight: 800; min-height: 1.4em; margin: 0; }
.form-status.ok { color: #1E8C4A; }
.form-status.error { color: #D92B2E; }
.news-more { display: flex; justify-content: center; margin-top: 18px; }
.news-list-plain .news-item { align-items: center; }

/* v4.1 追加（文書ページの箇条書き） */
.doc-card ul { padding-left: 1.5em; margin: 10px 0 18px; display: grid; gap: 6px; }
.doc-card li { line-height: 1.7; font-weight: 600; }

/* =========================================================
   v4.2 追加（会社ロゴの欠け対策：ヒーローは角丸バッジ／バナーは縮小）
========================================================= */
.avatar-ring.large-ring.ring-ravit { width: auto; height: auto; border-radius: 26px; padding: 20px 26px; }
.avatar-ring.ring-ravit img { width: auto; height: 128px; object-fit: contain; padding: 0; border-radius: 0; }
.store-visual .ravit-logo { height: 96px; }
.store-visual { padding-top: 4px; }

/* =========================================================
   v4.3 追加（記事ページ／会社ロゴの左右余白）
========================================================= */
.store-visual { padding: 6px 22px; }
.article-meta { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.article-title { font-size: 1.3rem; line-height: 1.5; margin-bottom: 16px; }
.empty-note { color: var(--muted, #5A5E7A); font-weight: 700; }

/* =========================================================
   v4.4 追加（文書ページのタイトルをスマホで1行に収める）
========================================================= */
.profile-title-pill { white-space: nowrap; }
@media (max-width: 640px) {
  .profile-title-pill { font-size: clamp(1rem, 5.4vw, 1.35rem); padding: 8px 22px; }
}

/* =========================================================
   v4.5 追加（遷移バッジのラベルをスマホで1行に収める）
========================================================= */
.wipe-badge span { white-space: nowrap; }
@media (max-width: 640px) {
  .wipe-badge { padding: 10px 18px; gap: 9px; max-width: 94vw; }
  .wipe-badge span { font-size: clamp(0.78rem, 3.9vw, 1.05rem); letter-spacing: 0.02em; }
  #wipe-icon { height: 30px; max-width: 120px; }
}

/* =========================================================
   v4.7 追加（記事ページの画像）
========================================================= */
.article-img { display: block; width: 100%; height: auto; border-radius: 16px; border: 3px solid var(--navy); margin: 16px 0; }

/* =========================================================
   v4.8 追加（プロフィールのグリッド列が長いSNS表記で右に広がる不具合の修正）
========================================================= */
.profile-layout > * { min-width: 0; }
@media (max-width: 820px) {
  .profile-layout { grid-template-columns: minmax(0, 1fr); }
}
.social-btn .social-label { white-space: normal; overflow-wrap: anywhere; }
