:root{
  --bg:#0b1220;
  --panel: rgba(255,255,255,.92);
  --panelSolid:#ffffff;
  --text:#0f172a;
  --muted: rgba(15,23,42,.65);
  --muted2: rgba(255,255,255,.70);
  --border: rgba(15,23,42,.10);
  --primary:#0066CC;
  --primaryDark:#004D99;
  --secondary:#00CC88;
  --shadow: 0 18px 50px rgba(0,0,0,.20);
  --radius: 18px;
  --radius2: 26px;
}

*{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(1000px 600px at 10% 0%, rgba(0,102,204,.35), transparent 55%),
    radial-gradient(900px 600px at 90% 10%, rgba(0,204,136,.22), transparent 55%),
    linear-gradient(180deg, #0b1220 0%, #0b1220 50%, #0b1220 100%);
}

a{color:inherit}

.wrap{width:min(1100px, calc(100% - 32px)); margin:0 auto;}

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

.brand{display:flex; align-items:center; gap:12px; min-width: 240px;}
.brand__mark{
  width:40px;height:40px;border-radius:14px;
  display:grid;place-items:center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color:#fff; font-weight:800;
}
.brand__name{color:#fff; font-weight:800; letter-spacing:.02em;}
.brand__sub{color:var(--muted2); font-size:12px;}

.nav{display:flex; gap:10px;}
.nav__link{
  color: rgba(255,255,255,.92);
  text-decoration:none;
  font-weight:700;
  font-size:14px;
  opacity: 1;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(6px);
}
.nav__link:hover{
  background: rgba(255,255,255,.10);
}
.nav__link:focus-visible{
  outline: 3px solid rgba(0,102,204,.35);
  outline-offset: 2px;
}

.hero{display:grid; grid-template-columns: 1.2fr .8fr; gap:18px; padding:26px 0 18px; align-items:stretch;}
.hero__content{
  background: var(--panel);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  padding: 26px;
}
.hero__title{margin:0 0 10px; font-size:28px; line-height:1.25;}
.hero__lead{margin:0 0 16px; color:var(--muted); line-height:1.8;}
.hero__cta{display:flex; gap:10px; flex-wrap:wrap;}
.hero__note{display:flex;}

.note{
  width:100%;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius2);
  padding: 18px;
  color: #fff;
}
.note__title{font-weight:800; margin-bottom:8px;}
.note__list{margin:0; padding-left:18px; color: rgba(255,255,255,.78); line-height:1.8;}

.grid{display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:16px; padding: 18px 0 26px;}

.card{
  position:relative;
  background: var(--panel);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  border: 1px solid rgba(15,23,42,.08);
  padding: 20px;
}
.card__badge{
  position:absolute; top:16px; right:16px;
  width:34px; height:34px; border-radius: 999px;
  display:grid; place-items:center;
  background: rgba(0,102,204,.10);
  color: var(--primaryDark);
  font-weight: 800;
}
.card__title{margin:0 0 8px; font-size:18px;}
.card__desc{margin:0 0 14px; color:var(--muted); line-height:1.8;}
.card__actions{display:flex; gap:10px; flex-wrap:wrap; margin-bottom: 10px;}
.card__meta{font-size:12px; color:rgba(15,23,42,.60);}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:8px;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  text-decoration:none;
  cursor:pointer;
  transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
}
.btn:hover{transform: translateY(-1px)}

.btn--primary{
  color:#fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  box-shadow: 0 10px 28px rgba(0,102,204,.25);
}
.btn--ghost{
  color: var(--primaryDark);
  background: rgba(0,102,204,.10);
  border-color: rgba(0,102,204,.22);
}
.btn--ghost:hover{
  background: rgba(0,102,204,.16);
}
.btn--ghost:focus-visible{
  outline: 3px solid rgba(0,102,204,.35);
  outline-offset: 2px;
}

.cta{padding: 10px 0 40px;}
.cta__box{
  background: linear-gradient(135deg, rgba(0,102,204,.22) 0%, rgba(0,204,136,.16) 100%);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius2);
  padding: 22px;
  color:#fff;
}
.cta__title{margin:0 0 8px; font-size:18px;}
.cta__desc{margin:0 0 14px; color: rgba(255,255,255,.78); line-height:1.8;}
.cta__actions{display:flex; gap:10px; flex-wrap:wrap;}

.footer{padding: 6px 0 26px;}
.footer__inner{color: rgba(255,255,255,.60); font-size:12px;}

/* 「サンプルを見る」押下時に、#samples を一瞬ハイライトして反応を可視化 */
#samples.is-flash{
  outline: 3px solid rgba(79,124,247,.55);
  outline-offset: 10px;
  border-radius: 18px;
  box-shadow: 0 0 0 10px rgba(79,124,247,.12);
  transition: outline-color .2s ease, box-shadow .2s ease;
}

@media (max-width: 900px){
  .hero{grid-template-columns: 1fr;}
  .grid{grid-template-columns: 1fr;}
}