/* キャラクター個別ページ (character/*.html) */
body { min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); }
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(45% 35% at 0% 0%, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%),
    radial-gradient(40% 30% at 100% 10%, rgba(182,155,255,.25), transparent 70%);
}
.ch-hd { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.ch-hd-inner { max-width: 1040px; height: 60px; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ch-logo { display: flex; align-items: center; gap: 10px; }
.ch-logo img { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 2px var(--pink-2); }
.ch-logo span { font-family: var(--f-pop); font-size: 1.1rem; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ch-back { display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border-radius: var(--r-pill); background: var(--pink-soft); color: var(--violet-deep); font-size: .8rem; font-weight: 800; white-space: nowrap; }

.ch-main { flex: 1; width: 100%; max-width: 1040px; margin: 0 auto; padding: 18px var(--gutter) 64px; }
.ch-crumb { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; font-size: .76rem; font-weight: 700; color: var(--plum-2); opacity: .8; }
.ch-crumb a:hover { color: var(--violet-deep); }

.ch-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
.ch-portrait { border-radius: 28px; overflow: hidden; border: 4px solid #fff; box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 55%, transparent), var(--sh-card); background: #fff; }
.ch-portrait img { width: 100%; height: auto; display: block; }
.ch-en { font-family: var(--f-en); font-weight: 700; letter-spacing: .28em; color: var(--c); font-size: .9rem; }
.ch-type { margin-top: 6px; font-weight: 800; color: var(--plum-2); }
.ch-name { font-family: var(--f-pop); font-weight: 400; font-size: clamp(2.4rem, 7vw, 3.6rem); line-height: 1.2; color: var(--c); margin: 4px 0 8px; }
.ch-badge { display: inline-block; padding: 3px 14px; border-radius: var(--r-pill); background: var(--c); color: #fff; font-size: .78rem; font-weight: 800; margin-bottom: 10px; }
.ch-catch { font-size: 1.15rem; font-weight: 800; color: var(--violet-deep); margin: 8px 0 14px; }
.ch-desc { line-height: 2; color: var(--plum-2); font-size: .96rem; }
.ch-prof { display: grid; gap: 0; margin: 20px 0; border-radius: 18px; overflow: hidden; background: #fff; border: 2px solid color-mix(in srgb, var(--c) 25%, #fff); }
.ch-prof div { display: grid; grid-template-columns: 150px 1fr; }
.ch-prof dt { white-space: nowrap; }
.ch-prof div + div { border-top: 1px dashed color-mix(in srgb, var(--c) 30%, #fff); }
.ch-prof dt { padding: 12px 14px; font-size: .82rem; font-weight: 800; color: var(--c); background: color-mix(in srgb, var(--c) 8%, #fff); }
.ch-prof dd { padding: 12px 14px; font-size: .9rem; font-weight: 700; color: var(--plum-2); }
.ch-quote { display: flex; gap: 12px; align-items: flex-start; }
.ch-quote img { width: 48px; height: 48px; border-radius: 50%; border: 3px solid var(--c); flex-shrink: 0; }
.ch-quote p { position: relative; padding: 12px 16px; border-radius: 18px; background: #fff; box-shadow: var(--sh-card); font-weight: 700; line-height: 1.8; color: var(--plum-2); font-size: .92rem; }

.ch-sec { margin-top: 56px; }
.ch-sec h2 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; font-weight: 800; color: var(--violet-deep); margin-bottom: 16px; }
.ch-sec h2::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.ch-sec > p { color: var(--plum-2); line-height: 1.9; margin-bottom: 14px; }
.ch-gallery { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.ch-gallery img { width: 100%; height: auto; aspect-ratio: 720 / 933; object-fit: cover; border-radius: 16px; border: 3px solid #fff; box-shadow: var(--sh-card); }
.ch-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 26px; border-radius: var(--r-pill); background: var(--c); color: #fff; font-weight: 800; box-shadow: 0 12px 26px -12px var(--c); transition: transform .2s var(--ease); }
.ch-btn:hover { transform: translateY(-2px); }
.ch-btn small { padding: 1px 8px; border-radius: var(--r-pill); background: rgba(255,255,255,.25); font-size: .7rem; }
.ch-btn--ghost { background: #fff; color: var(--plum-2); border: 2px solid var(--line); box-shadow: none; }
.ch-others { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.ch-others a { display: grid; justify-items: center; gap: 4px; padding: 14px 8px; border-radius: 20px; background: #fff; border: 2px solid color-mix(in srgb, var(--oc) 30%, #fff); text-align: center; transition: transform .2s var(--ease), border-color .2s; }
.ch-others a:hover { transform: translateY(-3px); border-color: var(--oc); }
.ch-others img { width: 72px; height: 72px; border-radius: 50%; border: 3px solid var(--oc); }
.ch-others span { font-weight: 800; color: var(--oc); }
.ch-others small { font-size: .7rem; line-height: 1.5; color: var(--plum-2); font-weight: 700; }
.ch-join { padding: 28px; border-radius: 28px; background: #fff; box-shadow: var(--sh-card); text-align: center; }
.ch-join p { font-family: var(--f-pop); font-size: 1.2rem; color: var(--violet-deep); margin-bottom: 16px; }
.ch-join div { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.ch-ft { background: var(--night); color: rgba(255,255,255,.45); padding: 26px var(--gutter) calc(26px + env(safe-area-inset-bottom, 0px)); text-align: center; font-size: .76rem; }
.ch-ft nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 18px; margin-bottom: 8px; }
.ch-ft nav a { display: inline-flex; align-items: center; min-height: 40px; color: rgba(255,255,255,.7); font-weight: 700; }

@media (max-width: 760px) {
  .ch-hero { grid-template-columns: 1fr; }
  .ch-portrait { max-width: 420px; margin: 0 auto; }
  .ch-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ch-others { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ch-prof div { grid-template-columns: 128px 1fr; }
  .ch-prof dt { font-size: .76rem; }
  .ch-back { padding: 0 12px; font-size: .74rem; }
}
