body{
  margin:0;
  font-size:18px;
  font-family:"Noto Sans JP", sans-serif;
  background:linear-gradient(180deg,#f7fbff 0%,#eef6ff 100%);
  color:#0f1f35;
}

.form-container{
  background:#fff;
  max-width:980px;
  width:100%;
  margin:40px auto;
  padding:40px;
  box-sizing:border-box;
  border:1px solid #dbe8f6;
  border-radius:16px;
  box-shadow:0 4px 14px rgba(15,31,53,.06);
}

h1{
  color:#0068d9;
  font-size:36px;
  font-weight:800;
  text-align:center;
  margin-bottom:30px;
}

h3{
  color:#0068d9;
  font-size:22px;
  font-weight:700;
}

input[type="text"],
input[type="email"]{
  width:100%;
  padding:14px;
  border:1px solid #dbe8f6;
  border-radius:10px;
  background:#fff;
  box-sizing:border-box;
}

input:focus{
  border-color:#0068d9;
  box-shadow:0 0 0 3px rgba(0,104,217,.15);
  outline:none;
}

.question{
  display:flex;
  flex-direction:column;
  gap:15px;
  margin-bottom:30px;
  padding:24px;
  border-radius:12px;
  background:#f8fbff;
  border:1px solid #dbe8f6;
}

.question-error {
  margin-top: 12px;
  color: #d93025;
  font-size: 14px;
  font-weight: bold;
}

button{
  width:420px;
  max-width:100%;
  height:72px;
  margin:30px auto 0;
  display:block;
  background:linear-gradient(180deg,#0074f0 0%,#005bd3 100%);
  color:#fff;
  border:none;
  border-radius:10px;
  font-size:24px;
  font-weight:800;
  cursor:pointer;
  box-shadow:0 8px 18px rgba(0,91,211,.28);
}

button:disabled {
  background:#999;
  cursor:not-allowed;
}

/* スコア */
.score{
  font-size:48px;
  font-weight:bold;
  color:#0078d4;
  text-align:center;
  margin:10px 0;
}

/* 判定テキスト（色だけ軽く付ける） */
.judgement{
  font-size:20px;
  text-align:center;
  margin-bottom:10px;
  color:#333;
}

/* コメント */
.comment{
  background:#f5f9ff;
  border-left:4px solid #0078d4;
  padding:12px;
  margin:15px 0;
  border-radius:8px;
}

/* 弱点 */
.weak{
  margin-top:15px;
  font-weight:bold;
  color:#a4262c;
}

#radarChart {
  width: 420px;
  height: 420px;
  display: block;
  margin: 20px auto;   /* ← 中央寄せ */
}

.hissu{
  color:red;
  font-size:0.8em;
}

.ninni{
  color:rgb(0, 0, 0);
  font-size:0.8em;
}

.large {
  font-size: 24px;
}

.cta-links {
  margin-top: 24px;
  text-align: center;
}

.cta-btn {
  display: block;
  margin: 12px auto;
  padding: 14px 20px;
  width: 80%;
  max-width: 320px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  color: white;
  transition: 0.2s;
}

/* ブログ */
.blog-btn {
  background: #0078d4;
}

.blog-btn:hover {
  background: #005fa3;
}

/* サービス */
.service-btn {
  background: #0078d4;
}

.service-btn:hover {
  background: #005fa3;
}

.score-row {
  margin-bottom: 12px;
}

.score-header {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.bar {
  height: 6px;
  background: #eee;
  border-radius: 3px;
  margin-top: 4px;
}

.bar-fill {
  height: 100%;
  background: #0078d4;
  border-radius: 3px;
}

.unanswered {
  border: 2px solid red;
  border-radius: 5px;
  padding: 8px;
}

.step-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 30px 0 40px;
}

.step {
  text-align: center;
}

.step span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ddd;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.step p {
  margin: 0;
  font-size: 14px;
  color: #666;
}

.step-line {
  width: 120px;
  height: 4px;
  background: #ddd;
  margin: 0 20px;
}

.step.complete span {
  background: #0068d9;
  color: #fff;
}

.step.complete p {
  color: #0068d9;
  font-weight: bold;
}

#nextBtn,
#backBtn {
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 30px;
  font-size: 16px;
}

.button-area {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 30px;
}

.button-area button {
  flex: 1;
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
}

#backBtn {
  background: #0078d4;
  color: #fff;
}

#submitBtn {
  background: #0078d4;
  color: #fff;
}

.privacy-consent {
  font-size: 15px;
}