*{
  box-sizing:border-box;
}
body{
  margin:0;
  font-family:"Hiragino Sans","Yu Gothic","Meiryo",sans-serif;
  background:linear-gradient(135deg,#0b1020,#131b36 45%,#1e274d);
  color:#fff;
}
a{
  text-decoration:none;
}
.wrap{
  max-width:1100px;
  margin:0 auto;
  padding:28px 18px 60px;
}
.hero{
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.12);
  border-radius:22px;
  padding:32px 24px;
  box-shadow:0 18px 45px rgba(0,0,0,0.28);
  margin-bottom:24px;
}
.badge{
  display:inline-block;
  background:#8b5cf6;
  color:#fff;
  padding:8px 14px;
  border-radius:999px;
  font-size:12px;
  font-weight:bold;
  letter-spacing:0.05em;
  margin-bottom:14px;
}
h1{
  margin:0 0 10px;
  font-size:40px;
  line-height:1.2;
}
h2,h3{
  margin-top:0;
}
.lead{
  font-size:17px;
  color:#dbe5ff;
  line-height:1.8;
}
.hero-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:20px;
}
.btn{
  display:inline-block;
  padding:12px 18px;
  border-radius:12px;
  font-weight:bold;
}
.btn-main{
  background:linear-gradient(135deg,#ff7a18,#ff4d6d);
  color:#fff;
}
.btn-sub{
  background:linear-gradient(135deg,#22c55e,#16a34a);
  color:#fff;
}
.btn-ghost{
  background:rgba(255,255,255,0.09);
  color:#fff;
  border:1px solid rgba(255,255,255,0.18);
}
.cards{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:18px;
}
.card{
  background:#fff;
  color:#222;
  border-radius:18px;
  padding:22px;
  box-shadow:0 15px 40px rgba(0,0,0,0.22);
}
.card p, .card li{
  line-height:1.8;
}
.form-box, .result-box, .history-box{
  background:#fff;
  color:#222;
  border-radius:18px;
  padding:24px;
  box-shadow:0 15px 40px rgba(0,0,0,0.22);
  margin-bottom:20px;
}
.form-row{
  margin-bottom:16px;
}
label{
  display:block;
  font-weight:bold;
  margin-bottom:6px;
}
input[type="text"], input[type="url"], select, textarea{
  width:100%;
  padding:12px;
  border:1px solid #ccc;
  border-radius:10px;
  font-size:15px;
}
.grid2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}
.grid3{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:16px;
}
@media(max-width:768px){
  .grid2,.grid3{
    grid-template-columns:1fr;
  }
  h1{
    font-size:30px;
  }
}
.note{
  font-size:13px;
  color:#666;
}
.score{
  font-size:56px;
  font-weight:800;
  color:#7c3aed;
  line-height:1;
}
.level{
  display:inline-block;
  padding:8px 12px;
  border-radius:999px;
  background:#ede9fe;
  color:#5b21b6;
  font-weight:bold;
  margin-top:10px;
}
.kpi-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.list{
  padding-left:18px;
  line-height:1.8;
}
table{
  width:100%;
  border-collapse:collapse;
}
th,td{
  border-bottom:1px solid #ddd;
  padding:10px;
  text-align:left;
  vertical-align:top;
}
th{
  background:#f8fafc;
}
.toplink{
  display:inline-block;
  margin-bottom:15px;
  color:#c7d2fe;
}
.small-btn{
  display:inline-block;
  padding:8px 12px;
  border-radius:8px;
  background:#111827;
  color:#fff;
  font-size:13px;
  margin-right:6px;
}
.good{
  color:#16a34a;
  font-weight:bold;
}
.warn{
  color:#dc2626;
  font-weight:bold;
}
.section-title{
  margin:26px 0 10px;
  font-size:24px;
  color:#111827;
}
