/* NIKO Lab - clean production stylesheet */
:root{
  --navy:#061a3b;
  --navy-deep:#041632;
  --blue:#1475df;
  --cyan:#19c7c7;
  --lime:#a9d83b;
  --ink:#17253a;
  --muted:#5d6978;
  --line:#e2e8ee;
  --page:#f7fbff;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--ink);
  background:var(--page);
  font-family:"Noto Sans JP","Yu Gothic",YuGothic,Meiryo,sans-serif;
  font-size:14px;
  line-height:1.8;
}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
.container{width:min(1120px,calc(100% - 56px));margin:0 auto}

/* Header */
.header{
  height:78px;
  background:var(--navy);
  border-bottom:1px solid #173a68;
  position:sticky;
  top:0;
  z-index:1000;
}
.header-inner{
  height:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.logo{width:218px}
.nav{
  display:flex;
  align-items:center;
  gap:42px;
  font-size:14px;
  font-weight:700;
}
.nav a{
  height:78px;
  display:flex;
  align-items:center;
  position:relative;
  white-space:nowrap;
  color:#fff;
}
.nav a:hover,.nav a.active{color:var(--cyan)}
.nav a.active::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:14px;
  height:3px;
  border-radius:4px;
  background:linear-gradient(90deg,var(--blue),var(--cyan));
}

/* Hero */
.hero{
  position:relative;
  min-height:520px;
  overflow:hidden;
  background-color:var(--navy);
  background-image:url("hero-background.png");
  background-repeat:no-repeat;
  background-position:center center;
  background-size:cover;
}
.hero-inner{
  min-height:520px;
  display:flex;
  align-items:center;
}
.hero-copy{
  width:49%;
  padding-left:22px;
  position:relative;
  z-index:2;
}
.hero-copy h1{
  margin:0 0 18px;
  color:#fff;
  font-size:32px;
  line-height:1.48;
  letter-spacing:.04em;
  font-weight:700;
  text-shadow:0 2px 12px rgba(0,0,0,.28);
}
.hero-copy .copy-line{
  display:block;
  white-space:nowrap;
}
.hero-copy .shape{color:var(--cyan)}
.hero-copy .useful{color:var(--lime)}
.hero-copy p{
  margin:0;
  color:#e8f1fb;
  font-size:13px;
  line-height:2.05;
  text-shadow:0 1px 8px rgba(0,0,0,.28);
}

/* Common sections */
.content{
  background:var(--page);
  border-radius:40px 40px 0 0;
  padding:10px 0 58px;
  position:relative;
}
.section{padding:38px 0 0}
.title{text-align:center;margin-bottom:27px;line-height:1.3}
.title h2{margin:0;font-size:27px;letter-spacing:.14em}
.title h2::after{
  content:"";
  display:block;
  width:36px;
  height:3px;
  margin:8px auto 0;
  border-radius:5px;
  background:linear-gradient(90deg,var(--blue),var(--cyan));
}

/* Business */
.services{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.service,.card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  box-shadow:0 8px 22px rgba(25,70,110,.07);
}
.service{text-align:center;padding:24px}
.service img{width:76px;height:76px;margin:0 auto 10px}
.service h3{font-size:15px;margin:0 0 7px}
.service p,.card p{font-size:11px;line-height:1.9;color:var(--muted);margin:0}

/* Apps */
.apps{padding-top:40px}
.apps-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.app{display:grid;grid-template-columns:150px 1fr;overflow:hidden;min-height:155px}
.app>img{width:100%;height:100%;object-fit:contain;padding:20px}
.app-body{padding:21px 20px}
.tag{
  display:inline-block;
  background:#e8f2ff;
  color:var(--blue);
  padding:2px 10px;
  border-radius:99px;
  font-size:10px;
  font-weight:700;
}
.app h3{font-size:17px;margin:7px 0 5px}
.detail{display:inline-block;color:var(--blue);font-size:11px;font-weight:700;margin-top:7px}
.all{text-align:center;margin-top:18px}
.all a,.contact-btn{
  display:inline-flex;
  align-items:center;
  gap:22px;
  color:#fff;
  background:linear-gradient(90deg,var(--blue),var(--cyan));
  padding:10px 25px;
  border-radius:25px;
  font-size:12px;
  font-weight:700;
}

/* About / Contact */
.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:34px}
.card{padding:27px 29px}
.card h2{font-size:21px;margin:0 0 12px}
.card h2::after{
  content:"";
  display:block;
  width:34px;
  height:3px;
  margin-top:7px;
  background:linear-gradient(90deg,var(--blue),var(--cyan));
}
.profile table{width:100%;border-collapse:collapse;font-size:10px;margin-top:10px}
.profile th,.profile td{
  text-align:left;
  padding:6px 7px;
  border-bottom:1px solid #e6edf3;
  vertical-align:top;
}
.profile th{width:25%;color:#126fcf}
.mailtext{font-size:18px;color:#086fd8;font-weight:700;margin:25px 0 18px}

/* Footer */
.footer{background:var(--navy-deep);color:#b9c8dc;padding:22px 0;font-size:10px}
.footer-inner{display:flex;justify-content:space-between;align-items:center}
.footer-logo{width:150px}
.footer-links{display:flex;gap:18px}

/* APPS / Privacy */
.page-hero{
  background:linear-gradient(115deg,#041637,#0a3c78);
  color:#fff;
  padding:52px 0 36px;
}
.eyebrow{font-size:10px;letter-spacing:.2em;color:var(--cyan);font-weight:700}
.page-hero h1{font-size:34px;margin:4px 0}
.page-hero p{font-size:12px;color:#d9e6f5;margin:0}
.page-content{padding:55px 0 70px;min-height:500px}
.large-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}
.large{overflow:hidden}
.visual{height:245px;display:grid;place-items:center}
.visual img{width:160px;height:160px;object-fit:contain}
.large-body{padding:23px}
.large-body h2{font-size:20px;margin:8px 0 5px}
.privacy{max-width:850px;margin:auto;padding:35px 42px}
.privacy h2{font-size:19px;margin:28px 0 7px}
.privacy p,.privacy li{font-size:12px;line-height:2;color:var(--muted)}

/* Tablet */
@media (max-width:850px){
  .container{width:calc(100% - 32px)}
  .header{height:70px}
  .logo{width:165px}
  .nav{gap:12px;font-size:10px}
  .nav a{height:70px}
  .services,.apps-grid,.info-grid,.large-grid{grid-template-columns:1fr}
  .content{border-radius:28px 28px 0 0}
  .app{grid-template-columns:125px 1fr}
  .footer-inner{flex-direction:column;gap:10px;align-items:flex-start}
}

/* Mobile Hero - same background image, no separate mobile asset */
@media (max-width:500px){
  .hero{
    min-height:280px;
    background-size:auto 280px;
    background-position:left top;
  }
  .hero-inner{
    min-height:280px;
    align-items:flex-start;
    padding-top:25px;
  }
  .hero-copy{
    width:100%;
    padding-left:0;
  }
  .hero-copy h1{
    font-size:18px;
    line-height:1.5;
    letter-spacing:0;
    margin-bottom:10px;
  }
  .hero-copy .copy-line{
    white-space:nowrap;
  }
  .hero-copy p{
    font-size:9px;
    line-height:1.75;
    max-width:315px;
  }
  .footer-links{gap:12px;flex-wrap:wrap}
  .app{grid-template-columns:1fr}
  .app>img{height:130px}
}

/* Very small phones */
@media (max-width:380px){
  .hero{min-height:250px;background-size:auto 250px}
  .hero-inner{min-height:250px;padding-top:22px}
  .hero-copy h1{font-size:17px}
  .hero-copy p{font-size:8.5px;max-width:290px}
}
