:root{
  --bg:#0b1220;
  --panel:#ffffff;
  --panel2: rgba(255,255,255,.92);
  --text:#0f172a;
  --muted: rgba(15,23,42,.66);
  --border: rgba(15,23,42,.10);
  --primary:#0066CC;
  --primaryDark:#004D99;
  --secondary:#00CC88;
  --shadow: 0 18px 55px rgba(0,0,0,.20);
  --radius: 18px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:'Noto Sans JP','Inter',system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:
    radial-gradient(1100px 700px at 10% 0%, rgba(0,102,204,.40), transparent 55%),
    radial-gradient(900px 600px at 90% 10%, rgba(0,204,136,.24), transparent 55%),
    linear-gradient(180deg, #0b1220 0%, #0b1220 100%);
}
a{color:inherit}
.wrap{width:min(1160px, calc(100% - 32px)); margin:0 auto;}

.topbar{
  position:sticky; top:0; z-index:30;
  background: rgba(11,18,32,.70);
  border-bottom: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
}
.topbar .wrap{display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px 0;}

.logo{display:flex; align-items:center; gap:10px; text-decoration:none; color:#fff; font-weight:800; letter-spacing:.02em;}
.logo__mark{width:14px;height:14px;border-radius:6px; background: linear-gradient(135deg, var(--primary), var(--secondary)); box-shadow: 0 10px 25px rgba(0,102,204,.25);} 

.nav{display:flex; gap:14px; align-items:center; flex-wrap:wrap;}
.nav a{color: rgba(255,255,255,.85); text-decoration:none; font-weight:600; font-size:14px;}
.nav a:hover{color:#fff; text-decoration:underline;}

.btn{display:inline-flex; align-items:center; justify-content:center; padding:10px 14px; border-radius:999px; border:1px solid rgba(255,255,255,.18); text-decoration:none; font-weight:800;}
.btn--primary{background: linear-gradient(135deg, var(--primary), var(--secondary)); color:#fff; border-color: transparent; box-shadow: 0 12px 28px rgba(0,102,204,.25);} 
.btn--ghost{background: rgba(255,255,255,.10); color:#fff;}

/* Back to samples (consistent + accessible) */
.back-to-samples{white-space:nowrap;}
.back-to-samples:focus-visible{outline: 3px solid rgba(255,255,255,.85); outline-offset: 3px;}
@media (max-width: 980px){
  .back-to-samples{order:-1;}
}

.hero{padding: 26px 0 14px;}
.hero__grid{display:grid; grid-template-columns: 1.15fr .85fr; gap:18px; align-items:stretch;}

.hero__text{
  background: var(--panel2);
  border-radius: calc(var(--radius) + 10px);
  box-shadow: var(--shadow);
  padding: 28px;
}
.pill{display:inline-flex; gap:8px; align-items:center; padding:6px 10px; border-radius:999px; background: rgba(0,102,204,.10); color: var(--primaryDark); font-weight:800; font-size:12px;}

h1{margin:10px 0 10px; font-size: 34px; line-height:1.2; letter-spacing:.01em;}
.lead{margin:0 0 16px; color: var(--muted); line-height:1.9;}
.hero__cta{display:flex; gap:10px; flex-wrap:wrap; margin-bottom: 16px;}

.hero__stats{display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:10px;}
.stat{background:#fff; border:1px solid var(--border); border-radius: 16px; padding: 12px;}
.stat__n{font-weight:900; font-size:18px; color: var(--primaryDark);} 
.stat__t{font-size:12px; color: rgba(15,23,42,.62);} 

.hero__panel{display:flex;}
.panel{
  width:100%;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: calc(var(--radius) + 10px);
  padding: 18px;
  color: #fff;
}
.panel h2{margin:0 0 10px; font-size:16px;}
.panel ul{margin:0; padding-left: 18px; line-height:1.9; color: rgba(255,255,255,.78);} 
.hr{height:1px; background: rgba(255,255,255,.18); margin: 14px 0;}
.kvs{display:grid; gap:10px;}
.kv{display:flex; justify-content:space-between; gap:12px; font-size:13px;}
.kv__k{color: rgba(255,255,255,.78);} 
.kv__v{font-weight:800;}

.section{padding: 34px 0;}
.section--alt{background: rgba(255,255,255,.08); border-top: 1px solid rgba(255,255,255,.10); border-bottom: 1px solid rgba(255,255,255,.10);} 
.section__head{margin-bottom: 16px;}
.section__head h2{margin:0 0 6px; color:#fff; font-size: 22px;}
.section__head p{margin:0; color: rgba(255,255,255,.78); line-height:1.8;}

.cards{display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:14px;}
.card{background: #fff; border:1px solid var(--border); border-radius: 22px; padding: 18px; box-shadow: 0 16px 35px rgba(0,0,0,.16);} 
.card h3{margin:0 0 6px; font-size: 16px;}
.card p{margin:0 0 10px; color: var(--muted); line-height:1.8;}
.card ul{margin:0; padding-left: 18px; color: rgba(15,23,42,.72); line-height:1.9;}
.card--accent{border-color: rgba(0,102,204,.25); box-shadow: 0 16px 40px rgba(0,102,204,.18);} 

.cases{display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:12px;}
.case{background: rgba(255,255,255,.92); border: 1px solid rgba(15,23,42,.10); border-radius: 18px; padding: 14px;}
.case__tag{display:inline-flex; padding: 4px 8px; border-radius:999px; background: rgba(0,204,136,.12); color: #065f46; font-weight:800; font-size: 12px;}
.case__title{margin-top:8px; font-weight:900;}
.case__meta{margin-top:4px; color: rgba(15,23,42,.66); font-size: 13px;}

.steps{margin:0; padding-left: 18px; color: rgba(255,255,255,.82); line-height: 2.0;}

.contact{display:grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items:start;}
.contact h2{margin:0 0 6px; color:#fff;}
.muted{color: rgba(255,255,255,.78); line-height:1.8;}
.form{background:#fff; border-radius: 22px; padding: 16px; border: 1px solid rgba(15,23,42,.10);} 
label{display:grid; gap:6px; font-size:13px; color: rgba(15,23,42,.72); margin-bottom: 10px;}
input,textarea{font:inherit; padding: 10px 12px; border-radius: 14px; border: 1px solid rgba(15,23,42,.12);} 

.mini{margin-top: 12px; padding: 12px; border-radius: 16px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18); color: #fff;}
.mini__k{font-weight:900; margin-bottom: 2px;}
.mini__v{color: rgba(255,255,255,.78); font-size: 13px;}

.footer{padding: 24px 0 36px;}
.footer__inner{display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; color: rgba(255,255,255,.70); font-size: 12px;}
.footer__links{display:flex; gap:12px;}
.footer__links a{color: rgba(255,255,255,.78); text-decoration:none;}
.footer__links a:hover{color:#fff; text-decoration:underline;}

@media (max-width: 980px){
  .hero__grid{grid-template-columns: 1fr;}
  .cards{grid-template-columns: 1fr;}
  .cases{grid-template-columns: 1fr;}
  .contact{grid-template-columns: 1fr;}
  h1{font-size: 28px;}
}