@charset "UTF-8";

/* ===================== RESET & BASE ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { background: #0d0d0f; color: #e8e8ea; font-family: 'Noto Sans JP', sans-serif; line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===================== TOKENS ===================== */
:root {
  --bg: #0d0d0f;
  --bg2: #161618;
  --bg3: #1e1e21;
  --bg4: #252528;
  --border: rgba(255,255,255,0.07);
  --border2: rgba(255,255,255,0.12);
  --text: #e8e8ea;
  --text2: #9898a0;
  --text3: #5a5a62;
  --pink: #f72585;
  --orange: #f5a623;
  --grad: linear-gradient(135deg, #f72585 0%, #f5a623 100%);
  --grad-r: linear-gradient(135deg, #f5a623 0%, #f72585 100%);
  --max: 1440px;
  --gutter: clamp(20px, 4vw, 80px);
}

/* ===================== UTILITY ===================== */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.grad-text { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.eyebrow { font-family: 'Space Grotesk', sans-serif; font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--pink); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.eyebrow::before { content: ''; width: 20px; height: 1px; background: var(--pink); }
.section-heading { font-size: clamp(26px, 3.5vw, 44px); font-weight: 700; line-height: 1.25; margin-bottom: 16px; letter-spacing: -.02em; }
.section-sub { font-size: clamp(13px, 1.2vw, 15px); color: var(--text2); line-height: 1.8; }
.btn-primary { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; border-radius: 100px; background: var(--grad); color: #fff; font-weight: 700; font-size: 14px; transition: transform .2s, box-shadow .2s; position: relative; overflow: hidden; white-space: nowrap; }
.btn-primary::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,.15), transparent); opacity: 0; transition: opacity .2s; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(247,37,133,.3); }
.btn-primary:hover::after { opacity: 1; }
.btn-secondary { display: inline-flex; align-items: center; gap: 8px; padding: 13px 30px; border-radius: 100px; border: 1px solid var(--border2); color: var(--text2); font-size: 14px; transition: all .2s; white-space: nowrap; }
.btn-secondary:hover { border-color: var(--text); color: var(--text); transform: translateY(-2px); }
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-l { opacity: 0; transform: translateX(-32px); transition: opacity .65s ease, transform .65s ease; }
.reveal-l.visible { opacity: 1; transform: none; }
.reveal-r { opacity: 0; transform: translateX(32px); transition: opacity .65s ease, transform .65s ease; }
.reveal-r.visible { opacity: 1; transform: none; }

/* ===================== WORDPRESS MAIN ===================== */
.site-main { display: block; }

/* ===================== HEADER ===================== */
#header { position: fixed; top: 0; left: 0; right: 0; z-index: 200; padding: 0; transition: background .3s, backdrop-filter .3s, border-color .3s; }
#header.scrolled { background: rgba(13,13,15,.92); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.logo-icon { width: 36px; height: 36px; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.logo span { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
#header nav { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 36px); }
#header nav a { font-size: 14px; color: var(--text2); transition: color .2s; white-space: nowrap; }
#header nav a:hover { color: var(--text); }
.nav-cta { padding: 10px 24px; border-radius: 100px; background: var(--grad); color: #fff !important; font-weight: 700; font-size: 13px; transition: transform .2s, box-shadow .2s; }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(247,37,133,.35); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; cursor: pointer; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text2); border-radius: 2px; transition: all .3s; }
.mobile-nav { display: none; position: fixed; top: 72px; left: 0; right: 0; background: rgba(13,13,15,.97); backdrop-filter: blur(16px); padding: 24px; border-bottom: 1px solid var(--border); z-index: 199; }
.mobile-nav.open { display: flex; flex-direction: column; gap: 16px; }
.mobile-nav a { font-size: 16px; color: var(--text2); padding: 8px 0; border-bottom: 1px solid var(--border); }

/* ===================== HERO ===================== */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; padding: 120px 0 80px; }
#particles { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.splash { position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none; }
.splash-1 { width: clamp(300px, 40vw, 700px); height: clamp(300px, 40vw, 700px); background: var(--pink); opacity: .08; top: -15%; right: -10%; }
.splash-2 { width: clamp(250px, 30vw, 500px); height: clamp(250px, 30vw, 500px); background: var(--orange); opacity: .07; bottom: -10%; right: 15%; }
.splash-3 { width: 300px; height: 300px; background: var(--pink); opacity: .04; top: 60%; left: -5%; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; width: 100%; }
.hero-label { font-family: 'Space Grotesk', sans-serif; font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--pink); margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.hero-label::before { content: ''; width: 24px; height: 1px; background: var(--pink); }
.hero-title { font-size: clamp(32px, 4.5vw, 68px); font-weight: 700; line-height: 1.2; margin-bottom: 24px; letter-spacing: -.025em; }
.typewriter-line { display: block; min-height: 1.3em; }
#typewriter { border-right: 3px solid var(--pink); animation: blink .75s step-end infinite; }
@keyframes blink { 0%, 100% { border-color: var(--pink); } 50% { border-color: transparent; } }
.hero-desc { font-size: clamp(14px, 1.2vw, 16px); color: var(--text2); margin-bottom: 36px; line-height: 1.9; max-width: 480px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; gap: clamp(20px, 3vw, 48px); padding-top: 36px; border-top: 1px solid var(--border); }
.stat-num { font-family: 'Space Grotesk', sans-serif; font-size: clamp(24px, 2.5vw, 36px); font-weight: 700; line-height: 1; margin-bottom: 4px; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { font-size: 11px; color: var(--text3); white-space: nowrap; }
.hero-visual { display: flex; justify-content: center; align-items: center; position: relative; }
.bear-wrap { position: relative; width: clamp(280px, 35vw, 520px); height: clamp(280px, 35vw, 520px); }
.ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(247,37,133,.2); animation: spin 20s linear infinite; }
.ring::after { content: ''; position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--pink); top: -7px; left: 50%; transform: translateX(-50%); box-shadow: 0 0 24px var(--pink), 0 0 48px rgba(247,37,133,.4); }
.ring2 { position: absolute; inset: 30px; border-radius: 50%; border: 1px dashed rgba(245,166,35,.15); animation: spin 35s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.bear-circle { position: absolute; inset: 60px; border-radius: 50%; background: var(--bg2); border: 1px solid var(--border2); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.bear-circle img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.bear-emoji { font-size: clamp(60px, 8vw, 120px); }
.fbadge { position: absolute; background: rgba(22,22,24,.9); border: 1px solid var(--border2); border-radius: 12px; padding: 10px 16px; font-size: 12px; backdrop-filter: blur(8px); white-space: nowrap; display: flex; align-items: center; gap: 8px; }
.fbadge:nth-child(3) { top: 8%; right: -5%; animation: float 3.5s ease-in-out infinite; }
.fbadge:nth-child(4) { bottom: 20%; left: -8%; animation: float 3.5s ease-in-out infinite .8s; }
.fbadge:nth-child(5) { bottom: 5%; right: 5%; animation: float 3.5s ease-in-out infinite 1.6s; }
.fbadge-icon { width: 28px; height: 28px; border-radius: 8px; background: var(--grad); display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ===================== SERVICES ===================== */
.services { padding: clamp(80px, 10vw, 140px) 0; background: var(--bg2); }
.services-header { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 32px; margin-bottom: 56px; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc-card { background: var(--bg3); border: 1px solid var(--border); border-radius: 20px; padding: 28px; transition: transform .3s, border-color .3s, box-shadow .3s; position: relative; overflow: hidden; cursor: pointer; }
.svc-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--grad); opacity: 0; transition: opacity .3s; }
.svc-card:hover { transform: translateY(-6px); border-color: rgba(247,37,133,.25); box-shadow: 0 20px 60px rgba(247,37,133,.1); }
.svc-card:hover::before { opacity: 1; }
.svc-bear { width: clamp(48px, 5vw, 72px); height: clamp(48px, 5vw, 72px); border-radius: 50%; background: var(--bg4); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: clamp(24px, 2.5vw, 36px); margin-bottom: 20px; position: relative; }
.svc-bear::after { content: ''; position: absolute; inset: -2px; border-radius: 50%; background: var(--grad); z-index: -1; opacity: 0; transition: opacity .3s; }
.svc-card:hover .svc-bear::after { opacity: 1; }
.svc-icon-badge { position: absolute; top: -4px; right: -4px; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; }
.svc-en { font-family: 'Space Grotesk', sans-serif; font-size: 10px; letter-spacing: .15em; color: var(--text3); text-transform: uppercase; margin-bottom: 6px; }
.svc-title { font-size: clamp(15px, 1.4vw, 18px); font-weight: 700; margin-bottom: 10px; }
.svc-desc { font-size: 13px; color: var(--text2); line-height: 1.8; }

/* ===================== FEATURES + PROCESS ===================== */
.features-sec { padding: clamp(80px, 10vw, 140px) 0; }
.features-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); }
.feat-title { font-size: clamp(22px, 2.5vw, 36px); font-weight: 700; margin-bottom: 32px; line-height: 1.3; }
.feat-list { display: flex; flex-direction: column; gap: 20px; }
.feat-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: var(--bg2); border: 1px solid var(--border); border-radius: 16px; transition: border-color .3s, transform .3s; }
.feat-item:hover { border-color: rgba(247,37,133,.2); transform: translateX(4px); }
.feat-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; background: var(--grad); }
.feat-name { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.feat-desc { font-size: 13px; color: var(--text2); line-height: 1.7; }
.process-steps { display: flex; flex-direction: column; gap: 0; }
.process-step { display: flex; gap: 20px; align-items: flex-start; position: relative; padding-bottom: 28px; }
.process-step:last-child { padding-bottom: 0; }
.process-step:not(:last-child)::after { content: ''; position: absolute; left: 22px; top: 46px; bottom: 0; width: 1px; background: linear-gradient(to bottom, var(--pink), transparent); }
.step-num { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--pink); display: flex; align-items: center; justify-content: center; font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 700; color: var(--pink); flex-shrink: 0; background: var(--bg); }
.step-title { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.step-desc { font-size: 13px; color: var(--text2); line-height: 1.7; }

/* ===================== WORKS ===================== */
.works-sec { padding: clamp(80px, 10vw, 140px) 0; background: var(--bg2); }
.works-header { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 32px; margin-bottom: 48px; }
.works-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.work-card { border-radius: 16px; overflow: hidden; border: 1px solid var(--border); background: var(--bg3); transition: transform .3s, box-shadow .3s; }
.work-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.work-thumb { aspect-ratio: 16/10; background: var(--bg4); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 40px; }
.work-thumb-inner { position: absolute; inset: 0; background: var(--grad); opacity: .08; }
.work-info { padding: 16px; }
.work-title { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.work-cat { font-size: 11px; color: var(--text3); }

/* ===================== VOICE ===================== */
.voice-sec { padding: clamp(80px, 10vw, 140px) 0; }
.voice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.voice-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 20px; padding: 28px; transition: transform .3s, border-color .3s; }
.voice-card:hover { transform: translateY(-4px); border-color: rgba(247,37,133,.2); }
.quote { font-size: 36px; line-height: 1; color: var(--pink); margin-bottom: 12px; font-family: 'Space Grotesk', sans-serif; }
.voice-text { font-size: 14px; font-weight: 700; margin-bottom: 12px; line-height: 1.5; }
.voice-body { font-size: 13px; color: var(--text2); line-height: 1.8; margin-bottom: 20px; }
.voice-person { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--border); }
.voice-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.voice-name { font-size: 13px; font-weight: 700; }
.voice-company { font-size: 11px; color: var(--text3); }

/* ===================== CTA ===================== */
.cta-sec { padding: clamp(80px, 10vw, 120px) var(--gutter); margin: clamp(60px, 8vw, 100px) var(--gutter); border-radius: 28px; background: var(--grad); position: relative; overflow: hidden; text-align: center; }
.cta-sec::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='2' cy='2' r='1.5' fill='rgba(255,255,255,0.06)'/%3E%3C/svg%3E"); background-size: 60px 60px; }
.cta-bear { position: absolute; bottom: 0; left: clamp(20px, 5vw, 80px); font-size: clamp(60px, 8vw, 120px); line-height: 1; opacity: .9; }
.cta-inner { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.cta-title { font-size: clamp(24px, 3.5vw, 48px); font-weight: 700; color: #fff; line-height: 1.3; margin-bottom: 12px; }
.cta-desc { font-size: 15px; color: rgba(255,255,255,.8); margin-bottom: 36px; }
.btn-white { display: inline-flex; align-items: center; gap: 8px; padding: 16px 40px; border-radius: 100px; background: #fff; color: #f72585; font-weight: 700; font-size: 15px; transition: transform .2s, box-shadow .2s; white-space: nowrap; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 40px rgba(0,0,0,.2); }

/* ===================== FOOTER ===================== */
footer { padding: 40px 0 32px; border-top: 1px solid var(--border); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-logo { font-family: 'Space Grotesk', sans-serif; font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.footer-logo-icon { width: 28px; height: 28px; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center; font-size: 14px; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { font-size: 13px; color: var(--text3); transition: color .2s; }
.footer-nav a:hover { color: var(--text2); }
.footer-sns { display: flex; gap: 16px; }
.footer-sns a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--text3); transition: all .2s; }
.footer-sns a:hover { border-color: var(--pink); color: var(--text); }
.footer-copy { font-size: 11px; color: var(--text3); text-align: center; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .bear-wrap { width: 280px; height: 280px; }
  .features-inner { grid-template-columns: 1fr; }
  .voice-grid { grid-template-columns: 1fr; }
  .services-header { grid-template-columns: 1fr; gap: 16px; }
  .works-header { grid-template-columns: 1fr; gap: 16px; }
  #header nav { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-secondary { justify-content: center; }
  .cta-bear { display: none; }
}

/* ===================== WORDPRESS ADMIN BAR ===================== */
.admin-bar #header { top: 32px; }
@media (max-width: 782px) { .admin-bar #header { top: 46px; } }

/* ===================== REDUCED MOTION ===================== */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-l, .reveal-r { opacity: 1; transform: none; transition: none; }
  .ring, .ring2 { animation: none; }
  .fbadge { animation: none; }
  #typewriter { animation: none; border-color: var(--pink); }
}
