/* =================================================================
   北島陽未 — スタイルシート
   Black × Dusty Pink
   ================================================================= */

/* ▼ 色の変更箇所：ここを書き換えると全体の色が一括で変わります */
:root {
  --color-bg:           #0D0D0F;  /* メイン背景 */
  --color-bg-secondary: #161417;  /* サブ背景 */
  --color-card:         #1D191D;  /* カード背景 */
  --accent:             #C87D91;  /* メインピンク */
  --accent-soft:        #E3A9B7;  /* 淡いピンク */
  --dusty:              #A95F73;  /* くすみピンク（GOALS背景） */
  --color-text:         #F4ECEF;  /* メイン文字 */
  --text-muted:         #C9B9BE;  /* サブ文字 */
  --border:             rgba(200, 125, 145, 0.45); /* 境界線 */

  /* フォント */
  --font-en:    'Cormorant Garamond', serif;       /* 英字見出し */
  --font-ja-h:  'Noto Serif JP', serif;            /* 日本語見出し（明朝） */
  --font-ja-b:  'Noto Sans JP', sans-serif;        /* 本文（ゴシック） */
  --font-hand:  'Yomogi', cursive;                 /* 手書き風アクセント */

  /* よく使うイージング */
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ----- リセット ----- */
* { box-sizing: border-box; -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-ja-b);
  overflow-x: hidden;
  min-height: 100%;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: rgba(200, 125, 145, .35); color: #fff; }

/* レイアウト共通 */
.container { max-width: 1180px; margin: 0 auto; }
.section { padding: clamp(72px, 10vw, 128px) clamp(20px, 6vw, 80px); }
.section--alt { background: var(--color-bg-secondary); }

/* セクション見出し */
.section-head { margin-bottom: clamp(36px, 5vw, 58px); }
.section-head--center { text-align: center; }
.section-eyebrow {
  font-family: var(--font-en);
  letter-spacing: .32em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--accent-soft);
}
.section-title {
  margin: 10px 0 0;
  font-family: var(--font-ja-h);
  font-weight: 600;
  font-size: clamp(26px, 4vw, 42px);
  letter-spacing: .06em;
  color: var(--color-text);
}
.section-rule { display: block; width: 48px; height: 1px; background: var(--accent); margin-top: 20px; }
.section-head--center .section-rule { display: inline-block; }

/* =================================================================
   NAV
   ================================================================= */
.nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px clamp(20px, 6vw, 80px);
  border-bottom: 1px solid transparent;
  transition: background .4s ease, border-color .4s ease, backdrop-filter .4s ease;
}
/* スクロールすると背景がうっすら出る */
.nav.scrolled {
  background: rgba(11, 11, 13, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(200, 125, 145, .18);
}

.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-en);
  font-size: 20px; font-weight: 600;
  letter-spacing: .18em; color: var(--color-text);
}
.brand-sub {
  font-family: var(--font-ja-b);
  font-size: 9.5px; letter-spacing: .42em;
  color: var(--accent-soft); margin-top: 3px;
}

.nav-links { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 42px); }
.nav-link {
  position: relative;
  text-decoration: none;
  font-family: var(--font-en);
  font-size: 16px; letter-spacing: .16em;
  color: var(--color-text);
  padding: 4px 1px;
}
/* 下線が中央から伸びるホバー */
.nav-link span {
  position: absolute; left: 0; bottom: -1px;
  height: 1px; width: 100%;
  background: var(--accent-soft);
  transform: scaleX(0); transform-origin: center;
  transition: transform .45s var(--ease);
}
.nav-link:hover span { transform: scaleX(1); }

/* ハンバーガー（スマホで表示） */
.hamburger {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 38px; height: 38px;
  flex-direction: column; justify-content: center; gap: 6px; padding: 0;
}
.hamburger span {
  display: block; height: 1.6px; width: 24px;
  background: var(--color-text); border-radius: 2px;
  transition: transform .4s, opacity .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7.6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.6px) rotate(-45deg); }

/* モバイルメニューパネル */
.mobile-menu {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100vh; z-index: 99;
  background: rgba(11, 11, 13, .97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 30px;
  opacity: 0; transform: translateY(-14px); pointer-events: none;
  transition: opacity .45s ease, transform .45s ease;
}
.mobile-menu.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-menu a {
  text-decoration: none;
  font-family: var(--font-en);
  font-size: 30px; letter-spacing: .2em;
  color: var(--color-text);
}
.mobile-menu-rule { width: 40px; height: 1px; background: var(--accent); margin-top: 6px; }

/* =================================================================
   HERO
   ================================================================= */
.hero {
  scroll-margin-top: 70px;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px clamp(20px, 6vw, 80px) 70px;
  position: relative;
}
.hero-inner {
  width: 100%; max-width: 1180px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center;
  gap: clamp(36px, 5vw, 72px);
}

/* 写真 */
.hero-photo { flex: 1 1 380px; min-width: 280px; display: flex; justify-content: center; }
.photo-frame {
  position: relative;
  width: min(100%, 440px);
  border: 1px solid rgba(200, 125, 145, .5);
  border-radius: 5px; padding: 9px;
  background: linear-gradient(160deg, rgba(200, 125, 145, .12), rgba(13, 13, 15, 0));
  box-shadow: 0 40px 90px -50px rgba(200, 125, 145, .55);
}
.photo-clip { position: relative; overflow: hidden; border-radius: 3px; will-change: transform; }
.photo-img {
  width: 100%;
  height: clamp(440px, 68vh, 620px);
  object-fit: cover; object-position: 50% 24%;
  filter: brightness(.84) contrast(1.03) saturate(.96);
  animation: heroPhoto 1.4s var(--ease) both;
}
.photo-gradient {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(13, 13, 15, .9) 2%, rgba(13, 13, 15, .18) 38%, rgba(13, 13, 15, 0) 62%);
}
.photo-glow { position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 70px -28px rgba(200, 125, 145, .45); }

/* テキスト */
.hero-text { flex: 1 1 420px; min-width: 280px; }
.hero-eyebrow {
  font-family: var(--font-en);
  letter-spacing: .34em; text-transform: uppercase;
  font-size: 13px; color: var(--accent-soft);
  margin-bottom: 18px;
}
.hero-title { margin: 0; font-family: var(--font-en); font-weight: 500; line-height: .92; letter-spacing: .015em; }
.hero-name-en { display: block; font-size: clamp(50px, 9vw, 108px); color: var(--color-text); }
.hero-name-en--accent { color: var(--accent-soft); font-style: italic; }
.hero-name-ja { display: flex; align-items: baseline; gap: 14px; margin-top: 18px; }
.hero-name-ja-main { font-family: var(--font-ja-h); font-size: clamp(22px, 3vw, 30px); font-weight: 600; letter-spacing: .12em; color: var(--color-text); }
.hero-name-ja-reading { font-family: var(--font-ja-b); font-size: 13px; letter-spacing: .3em; color: var(--text-muted); }
.hero-rule { width: 54px; height: 1px; background: var(--accent); margin: 28px 0; }
.hero-catch {
  margin: 0;
  font-family: var(--font-en); font-style: italic;
  font-size: clamp(20px, 2.6vw, 27px); font-weight: 500;
  color: var(--color-text); letter-spacing: .01em;
}
.hero-message {
  margin: 14px 0 0;
  font-family: var(--font-ja-b); font-size: 15px; line-height: 1.9;
  color: var(--text-muted); max-width: 30em;
}

/* LINEで友だち追加ボタン（ファーストビューの目立つCTA） */
.hero-cta { margin-top: 30px; }
.line-btn {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
  font-family: var(--font-ja-b); font-weight: 700;
  font-size: 15px; letter-spacing: .06em;
  color: #fff;
  background: #06C755; /* LINEブランドグリーン */
  border-radius: 999px;
  padding: 14px 26px;
  box-shadow: 0 18px 40px -20px rgba(6, 199, 85, .75);
  transition: transform .35s var(--ease), box-shadow .35s ease, background .35s ease;
}
.line-btn svg { width: 20px; height: 20px; display: block; flex: none; }
.line-btn:hover {
  transform: translateY(-2px) scale(1.02);
  background: #07B94F;
  box-shadow: 0 22px 48px -20px rgba(6, 199, 85, .9);
}

/* スクロール案内 */
.scroll-cue {
  position: absolute; left: 50%; bottom: 26px;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-decoration: none; color: var(--text-muted);
}
.scroll-cue-label { font-family: var(--font-en); letter-spacing: .3em; font-size: 11px; }
.scroll-cue-line { display: block; width: 1px; height: 34px; background: linear-gradient(var(--accent), transparent); animation: cueBob 2.4s ease-in-out infinite; }

/* =================================================================
   ABOUT
   ================================================================= */
.about-grid { display: flex; flex-wrap: wrap; gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.profile-card {
  flex: 1 1 420px; min-width: 280px;
  background: var(--color-card);
  border: 1px solid rgba(200, 125, 145, .22);
  border-radius: 6px; padding: clamp(26px, 3vw, 40px);
}
.profile-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 18px;
  padding: 15px 0; border-bottom: 1px solid rgba(200, 125, 145, .14);
}
.profile-en { font-family: var(--font-en); letter-spacing: .18em; text-transform: uppercase; font-size: 12px; color: var(--accent-soft); white-space: nowrap; }
.profile-ja { font-family: var(--font-ja-b); font-size: 15px; color: var(--color-text); text-align: right; letter-spacing: .04em; }
.profile-bio { margin: 24px 0 0; font-family: var(--font-ja-b); font-size: 14.5px; line-height: 2; color: var(--text-muted); }

.about-photo { flex: 1 1 300px; min-width: 240px; display: flex; flex-direction: column; gap: 16px; }
.about-photo-clip {
  flex: 1; position: relative; overflow: hidden;
  border-radius: 6px; border: 1px solid rgba(200, 125, 145, .28); min-height: 280px;
}
.about-photo-img {
  width: 100%; height: 100%; min-height: 280px;
  object-fit: cover; object-position: 50% 30%;
  filter: brightness(.82) contrast(1.02) saturate(.9);
}
.about-photo-gradient { position: absolute; inset: 0; background: linear-gradient(to top, rgba(13, 13, 15, .7), rgba(13, 13, 15, 0) 55%); }
.about-photo-caption { position: absolute; left: 18px; bottom: 16px; font-family: var(--font-en); font-style: italic; font-size: 16px; color: var(--color-text); letter-spacing: .04em; }

/* =================================================================
   ORGANIZATIONS
   ================================================================= */
.org-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(20px, 2.6vw, 30px); }
.org-card {
  display: block; text-decoration: none; color: inherit;
  background: var(--color-card);
  border: 1px solid rgba(200, 125, 145, .22);
  border-radius: 6px; padding: clamp(28px, 3vw, 42px);
  transition: transform .5s var(--ease), border-color .5s, box-shadow .5s;
}
/* カードホバー：少し上に浮き、枠線が淡いピンクに */
.org-card:hover {
  transform: translateY(-7px);
  border-color: rgba(227, 169, 183, .6);
  box-shadow: 0 26px 60px -38px rgba(200, 125, 145, .55);
}
.org-num { font-family: var(--font-en); letter-spacing: .2em; font-size: 13px; color: var(--accent); margin-bottom: 14px; }
.org-name { margin: 0; font-family: var(--font-ja-h); font-weight: 600; font-size: clamp(19px, 2.4vw, 24px); line-height: 1.5; color: var(--color-text); }
.org-tags { display: flex; flex-wrap: wrap; gap: 9px; margin: 22px 0; }
.tag {
  font-family: var(--font-ja-b); font-size: 12.5px; letter-spacing: .04em;
  color: var(--accent-soft);
  border: 1px solid rgba(200, 125, 145, .4); border-radius: 999px; padding: 6px 15px;
}
.org-desc { margin: 0; font-family: var(--font-ja-b); font-size: 14.5px; line-height: 1.95; color: var(--text-muted); }
/* 公式サイトへの導線（カードホバーで矢印が少し伸びる） */
.org-link {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 22px;
  font-family: var(--font-en); font-size: 13px;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-soft);
  transition: gap .35s var(--ease), color .35s;
}
.org-link svg { width: 14px; height: 14px; }
.org-card:hover .org-link { color: var(--accent); gap: 11px; }

/* =================================================================
   ACTIVITIES
   ================================================================= */
.activities-grid { display: flex; flex-wrap: wrap; gap: clamp(28px, 4vw, 56px); align-items: center; }
.activities-photo {
  flex: 1 1 340px; min-width: 280px;
  position: relative; overflow: hidden;
  border-radius: 6px; border: 1px solid rgba(200, 125, 145, .28);
}
.activities-photo-img {
  width: 100%; height: clamp(280px, 40vh, 420px);
  object-fit: cover; object-position: 50% 30%;
  filter: brightness(.86) contrast(1.02) saturate(.95);
}
.activities-photo-gradient { position: absolute; inset: 0; background: linear-gradient(to top, rgba(13, 13, 15, .55), rgba(13, 13, 15, 0) 50%); }
.activities-body { flex: 1 1 340px; min-width: 280px; }
.activities-lead { margin: 0 0 30px; font-family: var(--font-ja-b); font-size: clamp(15px, 1.8vw, 17px); line-height: 2.05; color: var(--color-text); }
.activity-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 18px; }
.activity-card {
  display: flex; flex-direction: column; gap: 11px; padding: 20px;
  background: var(--color-bg-secondary);
  border: 1px solid rgba(200, 125, 145, .16); border-radius: 6px;
}
.activity-card i { color: var(--accent); }
.activity-ja { font-family: var(--font-ja-h); font-size: 15px; font-weight: 500; color: var(--color-text); letter-spacing: .04em; }
.activity-en { font-family: var(--font-en); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-muted); }
.activities-orgs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.activities-orgs span { font-family: var(--font-ja-b); font-size: 13px; color: var(--accent-soft); }

/* =================================================================
   ACHIEVEMENTS
   ================================================================= */
.achieve-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.achieve-card { background: var(--color-card); border: 1px solid rgba(200, 125, 145, .22); border-radius: 6px; padding: 32px; }
.achieve-year { font-family: var(--font-en); letter-spacing: .2em; font-size: 13px; color: var(--accent); }
.achieve-title { font-family: var(--font-ja-h); color: var(--color-text); }
.achieve-desc { font-family: var(--font-ja-b); color: var(--text-muted); font-size: 14.5px; line-height: 1.9; }

.achieve-placeholder {
  background: var(--color-card);
  border: 1px dashed rgba(200, 125, 145, .32);
  border-radius: 6px; padding: clamp(40px, 6vw, 72px); text-align: center;
}
.achieve-placeholder i { color: var(--accent); }
.achieve-placeholder-ja { margin: 18px 0 0; font-family: var(--font-ja-h); font-size: clamp(16px, 2.2vw, 20px); line-height: 1.9; color: var(--color-text); letter-spacing: .06em; }
.achieve-placeholder-en { margin: 12px 0 0; font-family: var(--font-en); font-style: italic; font-size: 15px; letter-spacing: .06em; color: var(--text-muted); }

/* ----- ABOUT：人柄タグ（.tag のホバー演出をそのまま使用） ----- */
.profile-traits { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }

/* =================================================================
   STORY（原点・ストーリー：縦のタイムライン）
   ================================================================= */
.story-timeline { position: relative; max-width: 760px; margin: 0 auto; padding-left: 32px; }
/* 左端を貫く縦のライン */
.story-timeline::before {
  content: ''; position: absolute; left: 6px; top: 6px; bottom: 8px;
  width: 1px; background: linear-gradient(var(--accent), rgba(200, 125, 145, .12));
}
.story-item { position: relative; padding-bottom: clamp(30px, 4vw, 46px); }
.story-item:last-child { padding-bottom: 0; }
/* タイムライン上の丸（中で脈打つ） */
.story-dot {
  position: absolute; left: -32px; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--color-bg-secondary); border: 1px solid var(--accent);
  box-shadow: 0 0 0 4px rgba(200, 125, 145, .1);
}
.story-dot::after {
  content: ''; position: absolute; inset: 3px; border-radius: 50%;
  background: var(--accent); animation: storyDot 3s ease-in-out infinite;
}
.story-step { font-family: var(--font-en); letter-spacing: .22em; font-size: 13px; color: var(--accent); margin-bottom: 8px; }
.story-head { margin: 0 0 10px; font-family: var(--font-ja-h); font-weight: 600; font-size: clamp(18px, 2.4vw, 23px); color: var(--color-text); letter-spacing: .04em; }
.story-text { margin: 0; font-family: var(--font-ja-b); font-size: 14.5px; line-height: 2; color: var(--text-muted); max-width: 40em; }
@keyframes storyDot { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.3); opacity: .45; } }

/* =================================================================
   VISION（教育への想い・これからの挑戦）
   ================================================================= */
.vision-lead {
  margin: 0 0 clamp(34px, 4vw, 52px);
  font-family: var(--font-ja-h); font-weight: 500;
  font-size: clamp(18px, 2.6vw, 26px); line-height: 1.8;
  color: var(--color-text); letter-spacing: .04em;
}
.vision-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: clamp(20px, 2.6vw, 30px); }
.vision-card {
  background: var(--color-card);
  border: 1px solid rgba(200, 125, 145, .22);
  border-radius: 6px; padding: clamp(28px, 3vw, 40px);
  transition: transform .5s var(--ease), border-color .5s, box-shadow .5s;
}
.vision-card:hover { transform: translateY(-7px); border-color: rgba(227, 169, 183, .6); box-shadow: 0 26px 60px -38px rgba(200, 125, 145, .55); }
.vision-card i { color: var(--accent); }
.vision-title { margin: 16px 0 12px; font-family: var(--font-ja-h); font-weight: 600; font-size: clamp(17px, 2.2vw, 21px); color: var(--color-text); letter-spacing: .04em; }
.vision-text { margin: 0; font-family: var(--font-ja-b); font-size: 14.5px; line-height: 1.95; color: var(--text-muted); }
/* アイコンがふわふわ上下に揺れ、ホバーで光る */
.vision-card svg { animation: iconBob 3.2s ease-in-out infinite; transition: color .4s, filter .4s; }
.vision-card:nth-child(2) svg { animation-delay: .4s; }
.vision-card:nth-child(3) svg { animation-delay: .8s; }
.vision-card:hover svg { color: var(--accent-soft); filter: drop-shadow(0 8px 16px rgba(200, 125, 145, .55)); }

/* =================================================================
   VALUES（大切にしている価値観：キーワードチップ）
   ================================================================= */
.values-wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; max-width: 840px; margin: 0 auto; }
.value-chip {
  font-family: var(--font-ja-h); font-weight: 500;
  font-size: clamp(14px, 1.7vw, 17px); letter-spacing: .06em;
  color: var(--accent-soft);
  border: 1px solid rgba(200, 125, 145, .4); border-radius: 999px;
  padding: 11px 24px; background: rgba(200, 125, 145, .05);
  transition: transform .35s var(--ease), background .35s, color .35s, border-color .35s, box-shadow .35s;
}
.value-chip:hover {
  transform: translateY(-4px) scale(1.05);
  color: #fff; background: rgba(200, 125, 145, .2); border-color: var(--accent);
  box-shadow: 0 14px 30px -18px rgba(200, 125, 145, .7);
}
.values-note {
  margin: clamp(34px, 4vw, 50px) auto 0; max-width: 36em; text-align: center;
  font-family: var(--font-hand); font-size: clamp(16px, 2.2vw, 21px); line-height: 1.9;
  color: var(--text-muted); letter-spacing: .03em;
}

/* =================================================================
   GOALS
   ================================================================= */
.goals-card {
  background: linear-gradient(150deg, var(--dusty), #7d4456 78%);
  border-radius: 10px;
  padding: clamp(48px, 8vw, 104px) clamp(28px, 6vw, 72px);
  text-align: center; position: relative; overflow: hidden;
  box-shadow: 0 50px 120px -60px rgba(169, 95, 115, .8);
}
.goals-sheen { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 0%, rgba(255, 255, 255, .12), transparent 60%); }
.goals-inner { position: relative; }
.goals-eyebrow { font-family: var(--font-en); letter-spacing: .34em; text-transform: uppercase; font-size: 13px; color: rgba(255, 255, 255, .82); margin-bottom: 24px; }
.goals-headline { margin: 0; font-family: var(--font-ja-h); font-weight: 700; font-size: clamp(44px, 11vw, 108px); line-height: 1.05; letter-spacing: .04em; color: #fff; }
.goals-sub { margin: 30px 0 0; font-family: var(--font-hand); font-size: clamp(18px, 3vw, 28px); line-height: 1.7; color: #FBE9EE; letter-spacing: .03em; }

/* =================================================================
   CONTACT + FOOTER
   ================================================================= */
.contact-body { display: flex; flex-direction: column; align-items: center; gap: 30px; }
.contact-email {
  text-decoration: none;
  font-family: var(--font-en);
  font-size: clamp(22px, 3.4vw, 34px); letter-spacing: .06em;
  color: var(--color-text);
  border-bottom: 1px solid rgba(200, 125, 145, .4);
  padding-bottom: 6px;
  transition: color .35s, border-color .35s;
}
.contact-email:hover { color: var(--accent-soft); border-color: var(--accent-soft); }

.contact-socials { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center; }
.social-btn {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border: 1px solid rgba(200, 125, 145, .4); border-radius: 999px;
  color: var(--color-text);
  transition: transform .35s var(--ease), background .35s, border-color .35s;
}
/* SNSアイコン：控えめに拡大 */
.social-btn:hover { transform: scale(1.1); background: rgba(200, 125, 145, .16); border-color: var(--accent); }
/* LINE だけは一目で分かるよう緑で塗りつぶし */
.social-btn--line { background: #06C755; border-color: #06C755; color: #fff; }
.social-btn--line:hover { background: #07B94F; border-color: #07B94F; }
.contact-handle { font-family: var(--font-ja-b); font-size: 14px; letter-spacing: .08em; color: var(--text-muted); }

.footer {
  max-width: 1180px;
  margin: clamp(48px, 7vw, 84px) auto 0;
  padding-top: 26px;
  border-top: 1px solid rgba(200, 125, 145, .14);
  text-align: center;
}
.footer p { margin: 0; font-family: var(--font-en); font-size: 12px; letter-spacing: .16em; color: var(--text-muted); }

/* =================================================================
   アニメーション
   ================================================================= */
@keyframes heroUp   { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
@keyframes heroPhoto{ from { opacity: 0; transform: scale(1.06); }       to { opacity: 1; transform: scale(1); } }
@keyframes cueBob   { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(7px); opacity: 1; } }

/* HEROの各要素を少し下からフェードイン（--d で時差） */
.anim-up { animation: heroUp .85s var(--ease) both; animation-delay: var(--d, 0s); }

/* スクロールで登場（楽譜のように左→右へ流れる：左から滑り込む） */
[data-reveal] {
  opacity: 0; transform: translateX(-46px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* 方向つきリビール：すべて左→右の流れに統一（左から登場） */
[data-reveal="left"]  { transform: translateX(-46px); }
[data-reveal="right"] { transform: translateX(-46px); }
[data-reveal="zoom"]  { transform: scale(.92); }

/* 見出しブロックはスライドさせず、タイトルが左→右に「書かれる」演出を主役にする */
.section-head[data-reveal],
.section-head--center[data-reveal] { transform: none; }

/* =================================================================
   ✦✦ ここから「動きマシマシ」追加アニメーション ✦✦
   （末尾の prefers-reduced-motion 設定で、動きを減らす端末では自動停止）
   ================================================================= */

/* ----- 背景①：ふわふわ漂う光のオーブ ----- */
.bg-orbs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(64px); opacity: .55; will-change: transform; }
.orb--1 {
  width: 48vw; height: 48vw; left: -10vw; top: -8vw;
  background: radial-gradient(circle, rgba(200, 125, 145, .55), transparent 70%);
  animation: orbA 23s ease-in-out infinite;
}
.orb--2 {
  width: 40vw; height: 40vw; right: -12vw; top: 28vh;
  background: radial-gradient(circle, rgba(169, 95, 115, .50), transparent 70%);
  animation: orbB 29s ease-in-out infinite;
}
.orb--3 {
  width: 32vw; height: 32vw; left: 28vw; bottom: -12vw;
  background: radial-gradient(circle, rgba(227, 169, 183, .42), transparent 70%);
  animation: orbC 26s ease-in-out infinite;
}
@keyframes orbA { 0%,100%{ transform: translate(0,0) scale(1); } 33%{ transform: translate(8vw,6vh) scale(1.12); } 66%{ transform: translate(-4vw,10vh) scale(.95); } }
@keyframes orbB { 0%,100%{ transform: translate(0,0) scale(1); } 50%{ transform: translate(-9vw,-7vh) scale(1.15); } }
@keyframes orbC { 0%,100%{ transform: translate(0,0) scale(1); } 40%{ transform: translate(6vw,-9vh) scale(1.1); } 70%{ transform: translate(-7vw,-3vh) scale(.92); } }

/* ----- 背景②：はらはら舞う花びら ----- */
.petals { position: fixed; inset: 0; z-index: 90; overflow: hidden; pointer-events: none; }
.petals i {
  position: absolute; top: -8vh; left: 0;
  width: 13px; height: 13px;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  border-radius: 100% 0 100% 0;
  opacity: 0;
  animation: petalFall 12s linear infinite;
}
@keyframes petalFall {
  0%   { transform: translate(0, -10vh) rotate(0deg);      opacity: 0; }
  8%   { opacity: .85; }
  50%  { transform: translate(6vw, 52vh) rotate(220deg);   opacity: .8; }
  92%  { opacity: .5; }
  100% { transform: translate(-3vw, 112vh) rotate(420deg); opacity: 0; }
}
.petals i:nth-child(1)  { left: 6%;  width: 10px; height: 10px; animation-duration: 13s;   animation-delay: 0s;   }
.petals i:nth-child(2)  { left: 16%; animation-duration: 10s;   animation-delay: 2.4s; }
.petals i:nth-child(3)  { left: 27%; width: 16px; height: 16px; animation-duration: 15s;   animation-delay: 1.1s; }
.petals i:nth-child(4)  { left: 38%; animation-duration: 11s;   animation-delay: 4.2s; }
.petals i:nth-child(5)  { left: 49%; width: 9px;  height: 9px;  animation-duration: 14s;   animation-delay: .6s;  }
.petals i:nth-child(6)  { left: 58%; animation-duration: 12s;   animation-delay: 3.3s; }
.petals i:nth-child(7)  { left: 67%; width: 15px; height: 15px; animation-duration: 16s;   animation-delay: 1.8s; }
.petals i:nth-child(8)  { left: 75%; animation-duration: 10.5s; animation-delay: 5s;   }
.petals i:nth-child(9)  { left: 84%; width: 11px; height: 11px; animation-duration: 13.5s; animation-delay: 2.9s; }
.petals i:nth-child(10) { left: 92%; animation-duration: 11.5s; animation-delay: .3s;  }
.petals i:nth-child(11) { left: 33%; width: 14px; height: 14px; animation-duration: 17s;   animation-delay: 6.5s; }
.petals i:nth-child(12) { left: 63%; animation-duration: 9.5s;  animation-delay: 7.2s; }

/* =================================================================
   ✦ 音楽モチーフ（音楽愛を伝える演出）
   ================================================================= */

/* ----- 背景：花びらの中を、音符がふんわり昇っていく ----- */
.music-notes { position: fixed; inset: 0; z-index: 90; overflow: hidden; pointer-events: none; }
.music-notes span {
  position: absolute; bottom: -8vh;
  color: var(--accent-soft); line-height: 1; opacity: 0;
  text-shadow: 0 0 18px rgba(200, 125, 145, .45);
  animation: noteRise linear infinite;
  will-change: transform;
}
@keyframes noteRise {
  0%   { transform: translateY(0) rotate(-10deg) scale(.9);       opacity: 0; }
  12%  { opacity: .55; }
  55%  { opacity: .5; }
  88%  { opacity: .3; }
  100% { transform: translateY(-116vh) rotate(14deg) scale(1.05); opacity: 0; }
}
.music-notes span:nth-child(1) { left: 7%;  font-size: 24px; animation-duration: 15s;   animation-delay: 0s;   }
.music-notes span:nth-child(2) { left: 19%; font-size: 18px; animation-duration: 18s;   animation-delay: 3.5s; }
.music-notes span:nth-child(3) { left: 31%; font-size: 30px; animation-duration: 14s;   animation-delay: 1.6s; }
.music-notes span:nth-child(4) { left: 44%; font-size: 16px; animation-duration: 20s;   animation-delay: 6s;   }
.music-notes span:nth-child(5) { left: 57%; font-size: 22px; animation-duration: 16.5s; animation-delay: 2.4s; }
.music-notes span:nth-child(6) { left: 69%; font-size: 28px; animation-duration: 13.5s; animation-delay: 4.8s; }
.music-notes span:nth-child(7) { left: 81%; font-size: 19px; animation-duration: 19s;   animation-delay: 1s;   }
.music-notes span:nth-child(8) { left: 92%; font-size: 25px; animation-duration: 15.5s; animation-delay: 5.6s; }

/* ----- HERO：背景にうっすら浮かぶ大きな音符 ----- */
.hero-music {
  position: absolute; right: clamp(-24px, 3vw, 48px); top: 15%;
  color: var(--accent); opacity: .07; pointer-events: none; z-index: 0;
  animation: floatY 9s ease-in-out infinite;
}
.hero-music svg { width: clamp(150px, 22vw, 240px); height: auto; }
/* 透かしの上にテキスト・写真・スクロール案内を重ねる */
.hero-inner { position: relative; z-index: 1; }
.scroll-cue { z-index: 1; }

/* ----- HERO：音の波（イコライザー）。バーが音楽みたいに踊る ----- */
.hero-eq { display: flex; align-items: flex-end; gap: 5px; height: 28px; margin: 18px 0 2px; }
.hero-eq span {
  display: block; width: 3.5px; height: 22%;
  background: linear-gradient(var(--accent-soft), var(--accent));
  border-radius: 4px;
  animation: eqBar 1.1s ease-in-out infinite;
}
@keyframes eqBar { 0%, 100% { height: 22%; } 50% { height: 100%; } }
.hero-eq span:nth-child(1) { animation-duration: 1.0s;  animation-delay: -.20s; }
.hero-eq span:nth-child(2) { animation-duration: 1.4s;  animation-delay: -.50s; }
.hero-eq span:nth-child(3) { animation-duration: .9s;   animation-delay: -.10s; }
.hero-eq span:nth-child(4) { animation-duration: 1.6s;  animation-delay: -.70s; }
.hero-eq span:nth-child(5) { animation-duration: 1.1s;  animation-delay: -.30s; }
.hero-eq span:nth-child(6) { animation-duration: 1.3s;  animation-delay: -.60s; }
.hero-eq span:nth-child(7) { animation-duration: .95s;  animation-delay: -.15s; }

/* ----- スクロール進捗バー（純CSS・スクロール連動／対応ブラウザのみ） ----- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft), #fff);
  transform-origin: 0 50%; transform: scaleX(0);
  z-index: 101; pointer-events: none;
}
@supports (animation-timeline: scroll()) {
  .scroll-progress { animation: progressGrow linear both; animation-timeline: scroll(root block); }
}
@keyframes progressGrow { to { transform: scaleX(1); } }

/* =================================================================
   ✦ 楽譜のように左→右へ流れる演出
   ================================================================= */

/* ----- 演奏バー：上部の五線（3本線）の上を、音符のフレーズが左→右へ進む ----- */
/* 五線（3本のうっすらした線）。両端はふんわり消える */
.play-staff {
  position: fixed; top: 7px; left: 0; width: 100%; height: 13px;
  z-index: 101; pointer-events: none;
  background: repeating-linear-gradient(to bottom,
    rgba(200, 125, 145, .22) 0 1px, transparent 1px 6px);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
}
/* スクロール位置を進む音符（＝再生ヘッド）。対応ブラウザでのみ表示 */
.play-note {
  position: fixed; top: 2px; left: 0;
  transform: translateX(-50%); pointer-events: none; display: none;
  will-change: left;
}
.play-note b {
  display: block; line-height: 1; font-style: normal;
  animation: noteBob 1.3s ease-in-out infinite;
}
/* 主音符：大きく・白く・強めに光って一番目立つ */
.play-note--1 { z-index: 103; }
.play-note--1 b {
  font-size: 32px; color: #fff;
  text-shadow: 0 0 6px rgba(13, 13, 15, .9), 0 0 14px rgba(227, 169, 183, 1), 0 0 26px rgba(200, 125, 145, .85);
}
/* 後ろに連なる小さめの音符（フレーズの余韻） */
.play-note--2 { z-index: 102; }
.play-note--2 b {
  font-size: 23px; color: var(--accent-soft); opacity: .92;
  text-shadow: 0 0 6px rgba(13, 13, 15, .85), 0 0 12px rgba(200, 125, 145, .8); animation-delay: .16s;
}
.play-note--3 { z-index: 102; }
.play-note--3 b {
  font-size: 17px; color: var(--accent-soft); opacity: .72;
  text-shadow: 0 0 6px rgba(13, 13, 15, .8), 0 0 10px rgba(200, 125, 145, .6); animation-delay: .32s;
}
@keyframes noteBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
/* スクロールに連動して左→右へ。後続音符は少し遅れて追従し、フレーズが流れて見える */
@supports (animation-timeline: scroll()) {
  .play-note { display: block; animation-name: noteTravel1; animation-timing-function: linear; animation-fill-mode: both; animation-timeline: scroll(root block); }
  .play-note--2 { animation-name: noteTravel2; }
  .play-note--3 { animation-name: noteTravel3; }
}
@keyframes noteTravel1 { from { left: 0;   } to { left: 100%; } }
@keyframes noteTravel2 { from { left: -4%; } to { left: 96%;  } }
@keyframes noteTravel3 { from { left: -8%; } to { left: 92%;  } }

/* ----- 見出し：タイトルが左→右に「書かれる」ように現れる ----- */
.section-title { clip-path: inset(0 100% 0 0); transition: clip-path 1s var(--ease) .12s; }
.section-head.is-visible .section-title,
.section-head--center.is-visible .section-title { clip-path: inset(0 0 0 0); }

/* ----- 価値観チップ：左から順番に「ポン、ポン」と並ぶ ----- */
.values-wrap .value-chip { opacity: 0; transform: translateX(-18px); }
.values-wrap.is-visible .value-chip { animation: chipIn .5s var(--ease) both; }
.values-wrap.is-visible .value-chip:nth-child(1) { animation-delay: .04s; }
.values-wrap.is-visible .value-chip:nth-child(2) { animation-delay: .11s; }
.values-wrap.is-visible .value-chip:nth-child(3) { animation-delay: .18s; }
.values-wrap.is-visible .value-chip:nth-child(4) { animation-delay: .25s; }
.values-wrap.is-visible .value-chip:nth-child(5) { animation-delay: .32s; }
.values-wrap.is-visible .value-chip:nth-child(6) { animation-delay: .39s; }
.values-wrap.is-visible .value-chip:nth-child(7) { animation-delay: .46s; }
.values-wrap.is-visible .value-chip:nth-child(8) { animation-delay: .53s; }
.values-wrap.is-visible .value-chip:nth-child(9) { animation-delay: .60s; }
@keyframes chipIn { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }

/* ----- 五線譜ディバイダー：セクションの区切りに、音符が左→右に並ぶ ----- */
.staff-wrap { padding: clamp(26px, 5vw, 50px) clamp(20px, 6vw, 80px); }
.staff { position: relative; max-width: 720px; height: 64px; margin: 0 auto; }
.staff[data-reveal] { transform: none; }            /* 区切りはスライドさせず静かにフェード */
/* 5本の線（左端のト音記号の分だけ空ける／両端はふんわり消える） */
.staff::before {
  content: ''; position: absolute; left: 60px; right: 0; top: 50%;
  height: 33px; transform: translateY(-50%);
  background: repeating-linear-gradient(to bottom,
    rgba(200, 125, 145, .20) 0 1px, transparent 1px 9px);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.staff-clef {
  position: absolute; left: 10px; top: 50%; transform: translateY(-56%);
  font-size: 52px; line-height: 1; color: var(--accent-soft);
  text-shadow: 0 0 16px rgba(200, 125, 145, .4);
}
.staff-note {
  position: absolute; left: var(--x); top: var(--y);
  font-size: clamp(15px, 2vw, 21px); line-height: 1; color: var(--accent);
  opacity: 0; transform: translate(-50%, -50%);
}
.staff.is-visible .staff-note { animation: staffNoteIn .55s var(--ease) both; }
.staff.is-visible .staff-note:nth-child(2) { animation-delay: .10s; }
.staff.is-visible .staff-note:nth-child(3) { animation-delay: .20s; }
.staff.is-visible .staff-note:nth-child(4) { animation-delay: .30s; }
.staff.is-visible .staff-note:nth-child(5) { animation-delay: .40s; }
.staff.is-visible .staff-note:nth-child(6) { animation-delay: .50s; }
.staff.is-visible .staff-note:nth-child(7) { animation-delay: .60s; }
@keyframes staffNoteIn {
  from { opacity: 0; transform: translate(-50%, -50%) translateX(-16px); }
  to   { opacity: .95; transform: translate(-50%, -50%); }
}

/* ----- HERO：名前「Hinami」がきらめく ----- */
.hero-name-en.hero-name-en--accent {
  background: linear-gradient(100deg, var(--accent-soft) 0%, #ffffff 35%, var(--accent) 55%, var(--accent-soft) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: heroUp .85s var(--ease) both, nameShimmer 7s linear infinite;
  animation-delay: .22s, 1.1s;
}
@keyframes nameShimmer { from { background-position: 220% 0; } to { background-position: -220% 0; } }

/* ----- HERO：写真がゆっくり浮遊し、グローが脈打つ ----- */
.photo-frame { animation: floatY 7s ease-in-out infinite; transition: border-color .5s, box-shadow .5s; }
.photo-frame:hover { border-color: rgba(227, 169, 183, .85); box-shadow: 0 44px 100px -44px rgba(227, 169, 183, .8); }
.photo-img { transition: filter .6s var(--ease); }
.photo-frame:hover .photo-img { filter: brightness(1) contrast(1.06) saturate(1.08); }
.photo-glow { animation: glowPulse 4.5s ease-in-out infinite; }
@keyframes floatY { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-12px); } }
@keyframes glowPulse {
  0%,100%{ box-shadow: inset 0 0 70px -28px rgba(200, 125, 145, .45); }
  50%    { box-shadow: inset 0 0 95px -20px rgba(227, 169, 183, .72); }
}

/* ----- 見出しの下線が、表示と同時にスッと伸びる ----- */
.section-rule { width: 0; transition: width .9s var(--ease) .2s; }
.section-head.is-visible .section-rule,
.section-head--center.is-visible .section-rule { width: 48px; }

/* ----- 団体カード：ホバーで光が斜めに走る ----- */
.org-card { position: relative; overflow: hidden; }
.org-card::before {
  content: ''; position: absolute; top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .12), transparent);
  transform: skewX(-18deg); pointer-events: none;
  transition: left .85s var(--ease);
}
.org-card:hover::before { left: 130%; }

/* ----- タグ：ホバーでぴょこっと浮く ----- */
.tag { display: inline-block; transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s; }
.tag:hover { transform: translateY(-3px) scale(1.06); background: rgba(200, 125, 145, .18); color: var(--accent-soft); border-color: var(--accent); }

/* ----- アクティビティ：カードが浮き、アイコンが上下に揺れる ----- */
.activity-card { transition: transform .4s var(--ease), border-color .4s, background .4s; }
.activity-card:hover { transform: translateY(-7px) scale(1.03); border-color: var(--accent); background: var(--color-card); }
.activity-card svg { color: var(--accent); animation: iconBob 3.2s ease-in-out infinite; transition: color .4s, filter .4s; }
.activity-card:nth-child(2) svg { animation-delay: .4s; }
.activity-card:nth-child(3) svg { animation-delay: .8s; }
.activity-card:nth-child(4) svg { animation-delay: 1.2s; }
.activity-card:hover svg { color: var(--accent-soft); filter: drop-shadow(0 8px 16px rgba(200, 125, 145, .55)); }
@keyframes iconBob { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-6px); } }

/* ----- 実績「Coming soon」：きらきらアイコンが鼓動 ----- */
.achieve-placeholder svg { color: var(--accent); transform-origin: center; animation: sparklePulse 2.6s ease-in-out infinite; }
@keyframes sparklePulse {
  0%,100%{ transform: scale(1) rotate(0deg); opacity: .85; }
  50%    { transform: scale(1.18) rotate(10deg); opacity: 1; }
}

/* ----- GOALS：背景グラデが流れ、光が横切り、見出しが浮遊して光る ----- */
.goals-card {
  background: linear-gradient(150deg, var(--dusty), #7d4456 55%, var(--dusty));
  background-size: 220% 220%;
  animation: goalsGradient 14s ease infinite;
}
@keyframes goalsGradient { 0%{ background-position: 0% 0%; } 50%{ background-position: 100% 100%; } 100%{ background-position: 0% 0%; } }
.goals-card::after {
  content: ''; position: absolute; top: -60%; left: -45%;
  width: 45%; height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .16), transparent);
  transform: rotate(20deg); pointer-events: none;
  animation: goalsSweep 7s ease-in-out infinite;
}
@keyframes goalsSweep {
  0%,100%{ left: -45%; opacity: 0; }
  35%    { opacity: 1; }
  70%    { left: 130%; opacity: 0; }
}
.goals-headline { animation: floatY 5s ease-in-out infinite, goalsGlow 4.5s ease-in-out infinite; }
@keyframes goalsGlow { 0%,100%{ text-shadow: 0 0 0 rgba(255, 255, 255, 0); } 50%{ text-shadow: 0 0 34px rgba(255, 255, 255, .4); } }

/* ----- LINEボタン：注目を集めるパルスと、揺れるアイコン ----- */
.line-btn { position: relative; }
.line-btn::after {
  content: ''; position: absolute; inset: 0; border-radius: 999px;
  pointer-events: none; animation: linePulse 2.4s ease-out infinite;
}
@keyframes linePulse {
  0%  { box-shadow: 0 0 0 0 rgba(6, 199, 85, .5); }
  70% { box-shadow: 0 0 0 18px rgba(6, 199, 85, 0); }
  100%{ box-shadow: 0 0 0 0 rgba(6, 199, 85, 0); }
}
.line-btn svg { animation: iconBob 2.2s ease-in-out infinite; }

/* ----- SNSボタン：ホバーでくるっと浮き上がる ----- */
.social-btn:hover { transform: translateY(-4px) scale(1.12) rotate(6deg); }

/* ----- ナビ：ロゴとリンクがホバーで反応 ----- */
.brand-name, .brand-sub { transition: letter-spacing .4s var(--ease), color .4s; }
.brand:hover .brand-name { letter-spacing: .26em; color: var(--accent-soft); }
.brand:hover .brand-sub { color: var(--accent); }
.nav-link { transition: color .35s; }
.nav-link:hover { color: var(--accent-soft); }

/* ----- モバイルメニュー：開くと項目が順番にフェードイン ----- */
.mobile-menu a { opacity: 0; transform: translateY(20px); transition: opacity .45s var(--ease), transform .45s var(--ease), color .3s; }
.mobile-menu.open a { opacity: 1; transform: none; }
.mobile-menu.open a:nth-child(1) { transition-delay: .08s; }
.mobile-menu.open a:nth-child(2) { transition-delay: .16s; }
.mobile-menu.open a:nth-child(3) { transition-delay: .24s; }
.mobile-menu.open a:nth-child(4) { transition-delay: .32s; }
.mobile-menu.open a:nth-child(5) { transition-delay: .40s; }
.mobile-menu.open a:nth-child(6) { transition-delay: .48s; }
.mobile-menu.open a:nth-child(7) { transition-delay: .56s; }
.mobile-menu a:hover { color: var(--accent-soft); }

/* =================================================================
   ✦✦ インタラクション強化 ✦✦
   ① 音楽カーソル ② 演奏ヘッド ③ ミニピアノ ④ カード3Dチルト
   （script.js が対応端末でのみ有効化。reduced-motion では自動停止）
   ================================================================= */

/* ----- ① 音楽カーソル ----- */
/* マウス端末（body.has-cursor）でのみ標準カーソルを隠す */
body.has-cursor,
body.has-cursor * { cursor: none !important; }

.cursor-dot, .cursor-ring {
  position: fixed; left: 0; top: 0;
  pointer-events: none; z-index: 9998;
  opacity: 0; transition: opacity .3s ease;
}
body.cursor-ready .cursor-dot,
body.cursor-ready .cursor-ring { opacity: 1; }

/* 中心の光る点（マウスにぴったり追従） */
.cursor-dot {
  width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px;
  border-radius: 50%; background: var(--accent-soft);
  box-shadow: 0 0 10px rgba(227, 169, 183, .9), 0 0 20px rgba(200, 125, 145, .6);
}
/* 少し遅れて追う輪（中に音符） */
.cursor-ring {
  width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border: 1.5px solid rgba(200, 125, 145, .7); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-soft);
  transition: width .25s var(--ease), height .25s var(--ease),
              margin .25s var(--ease), background .25s, border-color .25s, opacity .3s;
}
.cursor-ring-note { font-size: 13px; line-height: 1; opacity: .5; transition: opacity .25s, transform .25s; }
/* リンク・ボタンの上では輪がふくらみ、音符がはっきり浮かぶ */
body.cursor-hover .cursor-ring {
  width: 56px; height: 56px; margin: -28px 0 0 -28px;
  background: rgba(200, 125, 145, .16); border-color: var(--accent-soft);
}
body.cursor-hover .cursor-ring-note { opacity: 1; transform: scale(1.25); }
/* クリックで輪がポンッと弾ける */
.cursor-ring--pulse { animation: cursorPulse .5s var(--ease); }
@keyframes cursorPulse {
  0%   { box-shadow: 0 0 0 0 rgba(227, 169, 183, .55); }
  100% { box-shadow: 0 0 0 24px rgba(227, 169, 183, 0); }
}

/* カーソルから生まれて舞う音符（軌跡＆クリック） */
.cursor-fx { position: fixed; inset: 0; pointer-events: none; z-index: 9997; overflow: hidden; }
.cursor-note, .cursor-burst {
  position: absolute; transform: translate(-50%, -50%);
  color: var(--accent-soft); line-height: 1;
  text-shadow: 0 0 10px rgba(200, 125, 145, .7);
  will-change: transform, opacity;
}
.cursor-note { animation: cursorNote 1.05s var(--ease) forwards; }
@keyframes cursorNote {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(.5); }
  25%  { opacity: .9; }
  100% { opacity: 0; transform: translate(calc(-50% + var(--dx, 0px)), calc(-50% - 72px)) rotate(var(--rot, 0deg)) scale(1.1); }
}
.cursor-burst { animation: cursorBurst .8s var(--ease) forwards; }
@keyframes cursorBurst {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(.4); }
  15%  { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(-50% + var(--bx, 0px)), calc(-50% + var(--by, 0px))) scale(1.15); }
}

/* ----- ② 演奏ヘッド（五線譜ディバイダー） ----- */
.staff-playhead {
  position: absolute; top: 50%; left: 0;
  width: 2px; height: 46px; transform: translate(-50%, -50%);
  background: linear-gradient(rgba(227, 169, 183, 0), var(--accent-soft) 30%, #fff 50%, var(--accent-soft) 70%, rgba(227, 169, 183, 0));
  box-shadow: 0 0 14px rgba(227, 169, 183, .85);
  opacity: 0; pointer-events: none; z-index: 2; will-change: left, opacity;
}
.staff-playhead::after {
  content: ''; position: absolute; left: 50%; top: 50%;
  width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 10px var(--accent-soft), 0 0 22px var(--accent);
}
.staff-note { transition: color .35s var(--ease), text-shadow .35s var(--ease), filter .35s var(--ease); }
.staff-note.lit {
  color: #fff;
  text-shadow: 0 0 9px var(--accent-soft), 0 0 20px var(--accent);
  filter: drop-shadow(0 0 7px rgba(227, 169, 183, .8));
}

/* ----- ③ ミニピアノ ----- */
.mini-piano-wrap { max-width: 520px; margin: 0 auto clamp(40px, 6vw, 60px); text-align: center; }
.mini-piano-head { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.mini-piano-hint { font-family: var(--font-ja-b); font-size: 13px; color: var(--text-muted); letter-spacing: .04em; }
.mini-piano-sound {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-en); font-size: 12px; letter-spacing: .14em;
  color: var(--accent-soft);
  background: transparent; border: 1px solid var(--border); border-radius: 999px;
  padding: 6px 14px; cursor: pointer;
  -webkit-appearance: none; appearance: none;      /* iOSのボタン既定スタイルを無効化 */
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: background .3s, color .3s, border-color .3s;
}
.mini-piano-sound:hover { background: rgba(200, 125, 145, .14); border-color: var(--accent-soft); }
.mini-piano-sound svg { width: 15px; height: 15px; flex: none; }
.mini-piano-sound .sound-x { display: none; }
.mini-piano-sound.is-muted { color: var(--text-muted); }
.mini-piano-sound.is-muted .sound-on { display: none; }
.mini-piano-sound.is-muted .sound-x  { display: inline; }

/* 「弾いてみせる」自動演奏ボタン */
.mini-piano-demo {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-ja-b); font-weight: 700; font-size: 12.5px; letter-spacing: .04em;
  color: #fff;
  background: linear-gradient(120deg, var(--accent), var(--dusty));
  border: none; border-radius: 999px; padding: 7px 16px; cursor: pointer;
  -webkit-appearance: none; appearance: none;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  box-shadow: 0 10px 26px -14px rgba(200, 125, 145, .8);
  transition: transform .3s var(--ease), box-shadow .3s ease, filter .3s ease;
}
.mini-piano-demo svg { width: 13px; height: 13px; flex: none; }
.mini-piano-demo:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(200, 125, 145, .95); }
.mini-piano-demo.is-playing { animation: demoPulse 1s ease-in-out infinite; }
@keyframes demoPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(227, 169, 183, .5); }
  60%      { box-shadow: 0 0 0 13px rgba(227, 169, 183, 0); }
}

/* ----- ⑦ スクロール連動ナビ：現在地のリンクを光らせる ----- */
.nav-link.active { color: var(--accent-soft); }
.nav-link.active span { transform: scaleX(1); }

.piano {
  position: relative; display: flex;
  height: clamp(118px, 22vw, 158px);
  max-width: 460px; margin: 0 auto;
  padding: 10px 10px 0;
  border-radius: 4px 4px 12px 12px;
  background: linear-gradient(180deg, #241d21, #141013);
  border: 1px solid rgba(200, 125, 145, .3);
  box-shadow: 0 26px 64px -38px rgba(200, 125, 145, .6), inset 0 2px 0 rgba(227, 169, 183, .25);
}
.key {
  font: inherit; border: none; padding: 0;
  -webkit-appearance: none; appearance: none;     /* iOSで背景グラデ（白鍵の白）が消える不具合の対策 */
  -webkit-tap-highlight-color: transparent;        /* タップ時の灰色フラッシュを消す */
  touch-action: manipulation;                      /* タップ反応を速く（ダブルタップ拡大を抑制） */
  -webkit-user-select: none; user-select: none;
}
.key--white {
  position: relative; flex: 1; margin: 0 2px;
  background: linear-gradient(180deg, #fbf2f4, #efdfe4);
  border-radius: 0 0 7px 7px;
  box-shadow: inset 0 -7px 11px -7px rgba(140, 90, 105, .55);
  transition: transform .08s ease, background .12s ease, box-shadow .12s ease;
}
.key--white.pressed {
  background: linear-gradient(180deg, #f3d8e0, var(--accent-soft));
  transform: translateY(3px);
  box-shadow: inset 0 -3px 8px -4px rgba(140, 90, 105, .7);
}
.piano-blacks { position: absolute; left: 10px; right: 10px; top: 10px; height: 60%; pointer-events: none; }
.key--black {
  position: absolute; top: 0; width: 9%; height: 100%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #2c2227, #0c090b);
  border-radius: 0 0 5px 5px;
  box-shadow: 0 4px 9px rgba(0, 0, 0, .6), inset 0 -3px 6px -3px rgba(227, 169, 183, .35);
  pointer-events: auto; z-index: 3;
  transition: transform .08s ease, background .12s ease;
}
.key--black.pressed {
  background: linear-gradient(180deg, var(--dusty), #2c2227);
  transform: translateX(-50%) translateY(3px);
}
.piano-note {
  color: var(--accent-soft); pointer-events: none;
  text-shadow: 0 0 10px rgba(200, 125, 145, .7);
  transform: translate(-50%, 0);
  animation: pianoNote 1s var(--ease) forwards; will-change: transform, opacity;
}
@keyframes pianoNote {
  0%   { opacity: 0; transform: translate(-50%, 0) scale(.6); }
  25%  { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -70px) scale(1.1); }
}

/* ----- ④ カード3Dチルト ----- */
[data-tilt] { transform-style: preserve-3d; }

/* ----- ⑤ 読み込みイントロ ----- */
.intro {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--color-bg);
  display: flex; align-items: center; justify-content: center;
  animation: introOut .8s var(--ease) 1.6s forwards;
}
.intro-stage { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.intro-eq { display: flex; align-items: flex-end; gap: 5px; height: 42px; }
.intro-eq span {
  display: block; width: 4px; height: 28%;
  background: linear-gradient(var(--accent-soft), var(--accent));
  border-radius: 4px; animation: eqBar 1s ease-in-out infinite;
}
.intro-eq span:nth-child(1) { animation-duration: 1.0s; animation-delay: -.20s; }
.intro-eq span:nth-child(2) { animation-duration: 1.4s; animation-delay: -.50s; }
.intro-eq span:nth-child(3) { animation-duration: .9s;  animation-delay: -.10s; }
.intro-eq span:nth-child(4) { animation-duration: 1.6s; animation-delay: -.70s; }
.intro-eq span:nth-child(5) { animation-duration: 1.1s; animation-delay: -.30s; }
.intro-eq span:nth-child(6) { animation-duration: 1.3s; animation-delay: -.60s; }
.intro-eq span:nth-child(7) { animation-duration: .95s; animation-delay: -.15s; }
.intro-word {
  font-family: var(--font-en); font-weight: 500;
  font-size: clamp(38px, 12vw, 60px); letter-spacing: .34em;   /* スマホでも十分大きく */
  color: var(--color-text); padding-left: .34em;   /* 字間の右ズレを補正 */
  /* both: 遅延中は不可視・終了後は表示を保持。万一アニメが効かなくても既定で表示される */
  animation: introWord .8s var(--ease) .3s both;
}
.intro-line { width: 0; height: 1px; background: var(--accent); animation: introLine .9s var(--ease) .55s both; }
@keyframes introWord { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes introLine { to { width: clamp(120px, 30vw, 240px); } }
@keyframes introOut  { to { opacity: 0; visibility: hidden; } }

/* ----- ⑥ GOALSのお祝い（音符＆花びらが舞う） ----- */
.goals-inner { z-index: 2; }                       /* 見出しは演出より前面に保つ */
.goals-burst { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.goals-note, .goals-petal {
  position: absolute; bottom: -8%; transform: translate(-50%, 0);
  will-change: transform, opacity; animation: goalsRise 2s var(--ease) forwards;
}
.goals-note { color: #fff; line-height: 1; text-shadow: 0 0 12px rgba(255, 255, 255, .75); }
.goals-petal {
  width: 12px; height: 12px;
  background: linear-gradient(135deg, var(--accent-soft), #fff);
  border-radius: 100% 0 100% 0;
}
@keyframes goalsRise {
  0%   { opacity: 0; transform: translate(-50%, 0) rotate(0deg) scale(.6); }
  15%  { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(-50% + var(--dx, 0px)), -270px) rotate(var(--rot, 0deg)) scale(1.1); }
}

/* ----- 歌詞リボン：大切な言葉がテロップのように流れる ----- */
.ribbon {
  overflow: hidden; white-space: nowrap;
  padding: 22px 0;
  background: var(--color-bg-secondary);
  border-top: 1px solid rgba(200, 125, 145, .16);
  border-bottom: 1px solid rgba(200, 125, 145, .16);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.ribbon-track { display: inline-flex; align-items: center; animation: ribbonScroll 32s linear infinite; }
.ribbon:hover .ribbon-track { animation-play-state: paused; }   /* ホバーで一時停止 */
.ribbon-set { display: inline-flex; align-items: center; }
.ribbon-item {
  font-family: var(--font-en); font-style: italic;
  font-size: clamp(18px, 2.4vw, 26px); letter-spacing: .04em;
  color: var(--text-muted);
}
.ribbon-item.is-accent { font-style: normal; font-family: var(--font-ja-h); color: var(--accent-soft); }
.ribbon-sep { color: var(--accent); font-size: 20px; padding: 0 24px; }
@keyframes ribbonScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ----- ⑧ 隠しコマンド「演奏会モード」----- */
.concert-fx { position: fixed; inset: 0; z-index: 9996; pointer-events: none; overflow: hidden; }
.concert-fx--out { animation: concertFxOut .8s ease forwards; }
@keyframes concertFxOut { to { opacity: 0; } }
.concert-note, .concert-petal {
  position: absolute; top: -8%; transform: translate(-50%, 0);
  will-change: transform, opacity;
  animation: concertFall var(--dur, 4s) linear forwards;
}
.concert-note { color: var(--accent-soft); line-height: 1; text-shadow: 0 0 14px rgba(227, 169, 183, .85); }
.concert-petal { width: 13px; height: 13px; background: linear-gradient(135deg, var(--accent-soft), var(--accent)); border-radius: 100% 0 100% 0; }
@keyframes concertFall {
  0%   { opacity: 0; transform: translate(-50%, 0) rotate(0deg) scale(.6); }
  10%  { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(-50% + var(--dx, 0px)), 112vh) rotate(var(--rot, 180deg)) scale(1.1); }
}
.concert-banner {
  position: absolute; left: 50%; top: 20%;
  transform: translate(-50%, -50%) scale(.8);
  font-family: var(--font-ja-h); font-weight: 700;
  font-size: clamp(28px, 6vw, 56px); letter-spacing: .12em; white-space: nowrap; color: #fff;
  text-shadow: 0 0 24px rgba(227, 169, 183, .9), 0 0 50px rgba(200, 125, 145, .7);
  opacity: 0; animation: concertBanner 3.2s var(--ease) both;
}
@keyframes concertBanner {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(.8); }
  12%  { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  78%  { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.06); }
}
/* 全体を華やかに：光のオーブを速く・明るく＋画面に淡い光の脈動 */
body.concert .orb { animation-duration: 6s; opacity: .85; }
body.concert::after {
  content: ''; position: fixed; inset: 0; z-index: 9995; pointer-events: none;
  background: radial-gradient(120% 80% at 50% 50%, transparent 42%, rgba(200, 125, 145, .2) 100%);
  animation: concertGlow 1.1s ease-in-out infinite;
}
@keyframes concertGlow { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }

/* =================================================================
   レスポンシブ：880px 未満でハンバーガーに切替
   ================================================================= */
@media (max-width: 879px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

/* =================================================================
   アクセシビリティ：動きを減らす設定の端末ではアニメーションを停止
   ================================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  /* 動きを止めても内容が必ず見えるように */
  .section-title { clip-path: none !important; }
  .staff-note,
  .values-wrap .value-chip { opacity: 1 !important; transform: none !important; }
  .play-note { display: none !important; }
  .intro-word { opacity: 1 !important; }
  /* イントロのフェードが止まる設定では、最初から非表示にして本体を覆わない */
  .intro { display: none !important; }
  /* 演奏会モードのバナーは、動き軽減時でも見えるように（演奏は鳴る） */
  .concert-banner { opacity: 1 !important; }
}
