/* ===== LINE DEMO CSS ===== */
:root {
  --bg: #050505;
  --bg2: #0a0a12;
  --bg3: #0f0f1a;
  --card: #111120;
  --card-b: #1a1a2e;
  --green: #00ff88;
  --green-d: #00cc6a;
  --purple: #bf00ff;
  --purple-m: #9900cc;
  --purple-lt: rgba(191,0,255,.15);
  --cyan: #00d4ff;
  --text: #e8e8f0;
  --text-m: #a0a0b8;
  --text-d: #606078;
  --border: rgba(255,255,255,.08);
  --r: 14px;
  --rr: 22px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', 'Space Grotesk', sans-serif;
  color: var(--text); background: var(--bg); line-height: 1.75;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 1.5rem; }

/* PARTICLES */
.particles-canvas {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .6;
}

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(5,5,5,.88); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-in {
  max-width: 1080px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 62px;
}
.brand { font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--text); letter-spacing: -.01em; }
.brand span { color: var(--green); }
.nav-list { display: flex; align-items: center; gap: 1.8rem; }
.nav-list a { font-size: .86rem; font-weight: 500; color: var(--text-m); transition: color .2s; }
.nav-list a:hover { color: var(--green); }
.nav-line {
  display: flex; align-items: center; gap: .4rem;
  background: var(--green) !important; color: #000 !important;
  padding: .38rem 1rem; border-radius: 999px;
  font-weight: 800 !important; font-size: .84rem !important;
  transition: background .2s !important;
}
.nav-line:hover { background: var(--green-d) !important; }
.hbg { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hbg span { display: block; width: 22px; height: 2px; background: var(--text-m); border-radius: 2px; transition: all .3s; }

/* HERO */
.hero {
  min-height: 100vh; padding: 100px 1.5rem 70px;
  display: grid; grid-template-columns: 1.1fr 1fr;
  align-items: center; gap: 4rem;
  max-width: 1080px; margin: 0 auto;
  position: relative; z-index: 1;
}
.hero-glow {
  position: fixed; border-radius: 50%; filter: blur(100px);
  pointer-events: none; z-index: 0;
}
.g1 { width: 500px; height: 500px; top: -100px; left: -150px; background: rgba(0,255,136,.07); }
.g2 { width: 400px; height: 400px; bottom: 10%; right: -100px; background: rgba(191,0,255,.07); }
.hero-body { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 1px solid rgba(0,255,136,.3); color: var(--green);
  font-size: .75rem; font-weight: 700; letter-spacing: .1em;
  padding: .3rem .9rem; border-radius: 999px;
  background: rgba(0,255,136,.06); margin-bottom: 1.4rem;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4rem); font-weight: 900;
  color: var(--text); line-height: 1.15; margin-bottom: 1.2rem;
  font-family: 'Space Grotesk', 'Noto Sans JP', sans-serif;
}
.neon-green {
  color: var(--green);
  text-shadow: 0 0 20px rgba(0,255,136,.6), 0 0 40px rgba(0,255,136,.3);
}
.neon-purple {
  color: var(--purple);
  text-shadow: 0 0 20px rgba(191,0,255,.6);
}
.hero-lead { font-size: .95rem; color: var(--text-m); margin-bottom: 2rem; line-height: 1.8; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.btn-line-hero {
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--green); color: #000;
  padding: .82rem 1.8rem; border-radius: 999px;
  font-weight: 800; font-size: .95rem;
  box-shadow: 0 0 24px rgba(0,255,136,.4), 0 4px 20px rgba(0,255,136,.2);
  transition: all .22s;
}
.btn-line-hero:hover { background: var(--green-d); box-shadow: 0 0 40px rgba(0,255,136,.6); transform: translateY(-2px); }
.btn-ghost-hero {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 1px solid var(--border); color: var(--text-m);
  padding: .82rem 1.8rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem; transition: all .22s;
}
.btn-ghost-hero:hover { border-color: var(--green); color: var(--green); }
.hero-tech-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.hero-tech-tags span {
  font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  border: 1px solid var(--border); color: var(--text-d);
  padding: .24rem .65rem; border-radius: 6px;
  background: rgba(255,255,255,.03);
}

/* PHONE MOCKUP */
.hero-visual { position: relative; z-index: 1; display: flex; justify-content: center; }
.phone-frame {
  width: 240px; height: 420px; border-radius: 30px;
  background: var(--card); border: 2px solid rgba(0,255,136,.25);
  box-shadow: 0 0 60px rgba(0,255,136,.1), 0 20px 60px rgba(0,0,0,.5);
  padding: 20px 14px; overflow: hidden; position: relative;
}
.phone-frame::before {
  content: ''; position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 60px; height: 4px; background: var(--border); border-radius: 2px;
}
.phone-screen { display: flex; flex-direction: column; gap: .8rem; padding-top: .5rem; }
.chat-msg {
  max-width: 85%; padding: .7rem .9rem; border-radius: 14px;
  font-size: .76rem; line-height: 1.5;
}
.chat-msg.bot {
  background: rgba(0,255,136,.1); border: 1px solid rgba(0,255,136,.2);
  color: #c8fde8; align-self: flex-start; border-radius: 14px 14px 14px 4px;
}
.chat-msg.bot i { color: var(--green); margin-right: .3rem; }
.chat-msg.user {
  background: var(--purple-lt); border: 1px solid rgba(191,0,255,.3);
  color: #e8c8fe; align-self: flex-end; border-radius: 14px 14px 4px 14px;
}
.chat-msg.typing {
  display: flex; gap: 4px; align-items: center; padding: .6rem .9rem;
}
.chat-msg.typing span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
  animation: typingDot 1.2s infinite;
}
.chat-msg.typing span:nth-child(2) { animation-delay: .2s; }
.chat-msg.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typingDot { 0%,80%,100% { opacity:.3; transform: scale(.8); } 40% { opacity:1; transform: scale(1); } }

/* STATS */
.stats { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 40px 0; position: relative; z-index: 1; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
.stat-item { text-align: center; padding: .5rem; }
.sn { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 2.2rem; font-weight: 700; color: var(--green); line-height: 1.1; }
.sn em { font-style: normal; font-size: 1.1rem; color: var(--text-m); }
.sl { display: block; font-size: .76rem; color: var(--text-m); margin-top: .3rem; }

/* SECTIONS COMMON */
section { padding: 80px 0; position: relative; z-index: 1; }
.sec-label { font-size: .68rem; font-weight: 800; letter-spacing: .18em; color: var(--green); text-transform: uppercase; display: block; margin-bottom: .6rem; }
.sec-h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 900; color: var(--text); margin-bottom: .8rem; font-family: 'Space Grotesk', 'Noto Sans JP', sans-serif; }
.sec-p { color: var(--text-m); margin-bottom: 2.5rem; font-size: .9rem; }

/* ABOUT */
.about { background: var(--bg3); }
.about-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; margin-top: 1.5rem; }
.about-card {
  background: var(--card); border-radius: var(--rr); padding: 1.6rem;
  border: 1px solid var(--border); transition: all .3s;
}
.about-card:hover { border-color: rgba(0,255,136,.3); box-shadow: 0 0 30px rgba(0,255,136,.07); transform: translateY(-4px); }
.ac-ico {
  width: 50px; height: 50px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: .9rem;
}
.ac-ico.green { background: rgba(0,255,136,.1); color: var(--green); border: 1px solid rgba(0,255,136,.2); }
.ac-ico.purple { background: var(--purple-lt); color: var(--purple); border: 1px solid rgba(191,0,255,.2); }
.about-card h3 { font-size: .92rem; font-weight: 800; color: var(--text); margin-bottom: .5rem; }
.about-card p { font-size: .83rem; color: var(--text-m); line-height: 1.75; }

/* LINE CTA */
.line-cta { background: var(--bg2); }
.line-cta-inner {
  display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: center;
  background: var(--card); border-radius: 24px; padding: 3rem;
  border: 1px solid rgba(0,255,136,.2);
  box-shadow: 0 0 60px rgba(0,255,136,.05);
}
.line-icon-big { font-size: 2.5rem; color: var(--green); margin-bottom: .8rem; }
.line-cta-text h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 900; margin-bottom: .8rem; font-family: 'Space Grotesk', 'Noto Sans JP', sans-serif; }
.line-cta-text p { font-size: .92rem; color: var(--text-m); margin-bottom: 1.4rem; }
.line-features { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 2rem; }
.line-features li { display: flex; align-items: center; gap: .5rem; font-size: .86rem; color: var(--text-m); }
.line-features li i { color: var(--green); font-size: .8rem; }
.btn-line-big {
  display: inline-flex; align-items: center; gap: .7rem;
  background: var(--green); color: #000;
  padding: 1rem 2rem; border-radius: 999px;
  font-weight: 900; font-size: 1.05rem;
  box-shadow: 0 0 30px rgba(0,255,136,.4);
  transition: all .22s;
}
.btn-line-big:hover { transform: translateY(-3px); box-shadow: 0 0 50px rgba(0,255,136,.6); }
.line-qr { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.qr-box { text-align: center; }
.qr-placeholder {
  width: 150px; height: 150px; background: var(--card-b);
  border: 2px solid rgba(0,255,136,.2); border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; color: var(--green); margin-bottom: .6rem;
}
.qr-box p { font-size: .78rem; color: var(--text-m); line-height: 1.6; }

/* WORKS */
.works { background: var(--bg); }
.works-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 1.5rem; }
.work-card {
  background: var(--card); border-radius: var(--rr); overflow: hidden;
  border: 1px solid var(--border); transition: all .3s;
}
.work-card:hover { border-color: rgba(0,255,136,.25); transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,.4); }
.work-thumb {
  height: 160px; display: flex; align-items: center; justify-content: center;
  font-size: 3rem; position: relative;
}
.w1 { background: linear-gradient(135deg, #1a0040, #3d0066); color: var(--purple); }
.w2 { background: linear-gradient(135deg, #001a10, #003320); color: var(--green); }
.w3 { background: linear-gradient(135deg, #001a40, #003366); color: var(--cyan); }
.work-tag-chip {
  position: absolute; top: .8rem; left: .8rem;
  font-size: .68rem; font-weight: 800; padding: .2rem .6rem;
  border-radius: 999px; border: 1px solid var(--border);
  background: rgba(255,255,255,.06); color: var(--text-m);
}
.work-info { padding: 1.2rem; }
.work-info h3 { font-size: .9rem; font-weight: 800; color: var(--text); margin-bottom: .4rem; }
.work-info p { font-size: .82rem; color: var(--text-m); line-height: 1.7; }
.work-info strong { color: var(--green); }

/* PRICE SECTION */
.price-section { background: var(--bg3); }
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.6rem; margin-top: 1.5rem; align-items: start; }
.price-card {
  background: var(--card); border-radius: var(--rr); padding: 1.8rem;
  border: 1px solid var(--border); position: relative; transition: all .3s;
}
.price-card:hover { border-color: rgba(0,255,136,.2); }
.price-card.featured { border-color: rgba(0,255,136,.4); box-shadow: 0 0 40px rgba(0,255,136,.08); transform: scale(1.02); }
.pc-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--green); color: #000; font-size: .68rem; font-weight: 900;
  padding: .25rem .9rem; border-radius: 999px; white-space: nowrap; letter-spacing: .05em;
}
.pc-head { font-size: 1.1rem; font-weight: 900; color: var(--text); margin-bottom: .4rem; font-family: 'Space Grotesk', sans-serif; }
.pc-price { font-size: 2rem; font-weight: 900; color: var(--green); line-height: 1; font-family: 'Space Grotesk', sans-serif; }
.pc-price span { font-size: 1.6rem; }
.pc-from { font-size: .78rem; color: var(--text-m); margin-bottom: 1.4rem; }
.pc-list { margin-bottom: 1.6rem; }
.pc-list li { display: flex; align-items: center; gap: .5rem; font-size: .84rem; padding: .36rem 0; border-bottom: 1px solid var(--border); color: var(--text-m); }
.pc-list li:last-child { border-bottom: none; }
.pc-list li i { color: var(--green); font-size: .75rem; }
.pc-list li.off { color: var(--text-d); }
.pc-list li.off i { color: var(--text-d); }
.btn-pc {
  display: block; text-align: center; padding: .75rem;
  border-radius: 999px; border: 1px solid rgba(0,255,136,.3); color: var(--green);
  font-weight: 700; font-size: .88rem; transition: all .2s;
}
.btn-pc:hover { background: rgba(0,255,136,.1); }
.btn-pc-feat { background: var(--green); color: #000; border-color: var(--green); font-weight: 900; }
.btn-pc-feat:hover { background: var(--green-d); }

/* CONTACT */
.contact { background: var(--bg2); }
.contact-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; }
.cf { background: var(--card); border-radius: var(--rr); padding: 2rem; border: 1px solid var(--border); }
.cfg { margin-bottom: .9rem; }
.cfg label { display: block; font-size: .8rem; font-weight: 700; color: var(--text-m); margin-bottom: .35rem; }
.req { color: var(--green); }
.cfg input, .cfg select, .cfg textarea {
  width: 100%; padding: .65rem .9rem;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 8px; color: var(--text); font-size: .86rem;
  transition: border-color .2s; font-family: inherit;
}
.cfg input:focus, .cfg select:focus, .cfg textarea:focus {
  outline: none; border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0,255,136,.1);
}
.cfg input::placeholder, .cfg textarea::placeholder { color: var(--text-d); }
.cfg select { appearance: none; cursor: pointer; }
.cfg textarea { resize: vertical; }
.btn-cf-submit {
  width: 100%; padding: .92rem;
  background: var(--green); color: #000; border: none;
  border-radius: 999px; font-size: .95rem; font-weight: 900;
  cursor: pointer; display: flex; align-items: center;
  justify-content: center; gap: .6rem;
  box-shadow: 0 0 24px rgba(0,255,136,.35);
  transition: all .22s;
}
.btn-cf-submit:hover { background: var(--green-d); box-shadow: 0 0 40px rgba(0,255,136,.5); transform: translateY(-2px); }
.contact-side { display: flex; flex-direction: column; gap: 1.2rem; }
.cs-card {
  background: var(--card); border-radius: var(--r); padding: 1.4rem;
  border: 1px solid var(--border);
}
.cs-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(0,255,136,.1); border: 1px solid rgba(0,255,136,.2);
  color: var(--green); font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: .7rem;
}
.cs-icon.purple { background: var(--purple-lt); border-color: rgba(191,0,255,.2); color: var(--purple); }
.cs-card h3 { font-size: .88rem; font-weight: 800; color: var(--text); margin-bottom: .3rem; }
.cs-card p { font-size: .8rem; color: var(--text-m); line-height: 1.7; margin-bottom: .7rem; }
.btn-line-sm {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--green); color: #000;
  padding: .45rem 1.1rem; border-radius: 999px;
  font-size: .82rem; font-weight: 800; transition: all .2s;
}
.btn-line-sm:hover { background: var(--green-d); }

/* FOOTER */
.footer { background: #030303; border-top: 1px solid var(--border); padding: 2rem 0; position: relative; z-index: 1; }
.footer-in { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-logo { font-family: 'Space Grotesk', sans-serif; font-size: 1.4rem; font-weight: 700; color: var(--text); }
.footer-logo span { color: var(--green); }
.footer-copy { font-size: .78rem; color: var(--text-d); }
.demo-note { font-size: .7rem; color: rgba(255,255,255,.15); }

/* LINE POPUP */
.popup-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.7);
  z-index: 200; opacity: 0; pointer-events: none; transition: opacity .3s;
  backdrop-filter: blur(6px);
}
.popup-overlay.show { opacity: 1; pointer-events: all; }
.line-popup {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%,-48%) scale(.92);
  z-index: 201; opacity: 0; pointer-events: none;
  transition: all .4s cubic-bezier(.34,1.56,.64,1);
}
.line-popup.show { opacity: 1; pointer-events: all; transform: translate(-50%,-50%) scale(1); }
.lp-inner {
  background: var(--card); border-radius: var(--rr); padding: 2.5rem 2rem;
  max-width: 380px; width: 90vw; text-align: center;
  border: 1px solid rgba(0,255,136,.3);
  box-shadow: 0 0 60px rgba(0,255,136,.15), 0 20px 60px rgba(0,0,0,.6);
}
.lp-icon { font-size: 3.2rem; color: var(--green); margin-bottom: 1rem; text-shadow: 0 0 30px rgba(0,255,136,.6); }
.lp-inner h3 { font-size: 1.05rem; font-weight: 900; color: var(--text); margin-bottom: .6rem; }
.lp-inner p { font-size: .86rem; color: var(--text-m); margin-bottom: 1.5rem; line-height: 1.7; }
.btn-lp-close {
  padding: .65rem 2rem; background: var(--green); color: #000;
  border: none; border-radius: 999px; font-size: .88rem; font-weight: 900;
  cursor: pointer; transition: background .2s;
}
.btn-lp-close:hover { background: var(--green-d); }

/* ANIM */
[data-anim] { opacity: 0; transform: translateY(22px); transition: opacity .6s, transform .6s; }
[data-anim].visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 2.5rem; padding-top: 90px; }
  .hero-visual { order: -1; }
  .phone-frame { width: 200px; height: 340px; }
  .about-grid { grid-template-columns: repeat(2,1fr); }
  .line-cta-inner { grid-template-columns: 1fr; gap: 2rem; }
  .works-grid { grid-template-columns: 1fr 1fr; }
  .price-grid { grid-template-columns: 1fr 1fr; }
  .price-card:last-child { grid-column: 1/-1; max-width: 380px; margin: 0 auto; width: 100%; }
  .price-card.featured { transform: none; }
  .contact-inner { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px) {
  .nav-list { display: none; position: fixed; top: 62px; left: 0; right: 0; background: rgba(5,5,5,.97); flex-direction: column; align-items: stretch; padding: .5rem 1.5rem 1rem; border-bottom: 1px solid var(--border); }
  .nav-list.open { display: flex; }
  .nav-list li { border-bottom: 1px solid var(--border); }
  .nav-list a { display: block; padding: .7rem 0; }
  .hbg { display: flex; }
  .about-grid { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .price-card:last-child { grid-column: auto; max-width: none; }
  .footer-in { flex-direction: column; text-align: center; }
  .hero { min-height: auto; }
}
