body {
  margin: 0;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN",
    "Noto Sans JP", sans-serif;
  background: #f5f5f5;
  color: #222;
}

.container {
  max-width: 480px;
  margin: 60px auto;
  padding: 32px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 28px;
}

.logo span.miru {
  color: #000;
}

.logo span.naosu {
  color: #666;
  font-weight: 600;
}

.logo-sub {
  font-size: 11px;
  color: #999;
  margin-top: 4px;
}

h1 {
  font-size: 24px;
  margin-bottom: 8px;
}

.subtitle {
  font-size: 14px;
  color: #666;
  margin-bottom: 24px;
}

label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  margin-top: 16px;
}

input {
  width: 100%;
  padding: 12px;
  font-size: 14px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  border-radius: 4px;
}

input:focus {
  outline: none;
  border-color: #000;
}

button {
  width: 100%;
  margin-top: 24px;
  padding: 14px;
  font-size: 16px;
  font-weight: bold;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  opacity: 0.9;
}

.note {
  margin-top: 20px;
  font-size: 12px;
  color: #666;
  text-align: center;
}

/* =========================
   Responsive (Mobile)
========================= */

@media screen and (max-width: 600px) {
  .container {
    margin: 20px 12px;
    padding: 24px 20px;
  }

  .logo {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .logo-sub {
    font-size: 10px;
  }

  h1 {
    font-size: 20px;
  }

  .subtitle {
    font-size: 13px;
    margin-bottom: 20px;
  }

  label {
    font-size: 13px;
  }

  input {
    font-size: 16px; /* iOSズーム防止 */
    padding: 12px;
  }

  button,
  .cta {
    font-size: 16px;
    padding: 14px;
  }

  .note,
  .paid-note {
    font-size: 12px;
  }

  .result-box {
    padding: 16px;
  }

  .result-box pre {
    font-size: 13px;
  }
}

/* =========================
   Result UI
========================= */
.result-box {
  margin-top: 28px;
  padding: 20px;
  background: #fafafa;
  border-radius: 6px;
}

.result-box h2 {
  font-size: 16px;
  margin-bottom: 12px;
}

/* 数値サマリー */
.summary {
  list-style: none;
  padding: 0;
  margin: 0;
}

.summary li {
  padding: 10px;
  margin-bottom: 8px;
  border-radius: 4px;
  font-size: 14px;
}

.summary li.good {
  background: #f1f1f1;
  color: #333;
}

.summary li.bad {
  background: #ffecec;
  color: #c00;
  font-weight: bold;
}

/* 無料コメント */
.free-comment {
  font-size: 14px;
  line-height: 1.7;
}

/* 有料チラ見せ */
.paid-preview {
  /*max-height: 220px;*/
  /*overflow: hidden;*/
  position: relative;
}

.fade {
  margin-top: -80px;
  height: 80px;
  background: linear-gradient(transparent, #fafafa);
}

/* CTA */
.cta {
  display: block;
  margin-top: 20px;
  text-align: center;
  padding: 14px;
  background: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
}

.cta:hover {
  opacity: 0.9;
}

.paid-note {
  margin-top: 12px;
  font-size: 13px;
  color: #555;
}

/* =========================
   診断条件カード
========================= */
.condition {
  background: #fafafa;
  border: 1px solid #eee;
}

.condition-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.condition-list li {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}

.condition-list li:last-child {
  margin-bottom: 0;
}

.condition-list .label {
  font-size: 12px;
  color: #888;
  margin-bottom: 4px;
}

.condition-list .value {
  font-size: 14px;
  font-weight: 600;
  word-break: break-all;
}

.condition-list a {
  color: #000;
  text-decoration: underline;
}

/* =========================
   AIの見立て（一言）
========================= */
.ai-summary {
  background: #f9fafb;
  border-left: 4px solid #000;
}

.ai-label {
  font-size: 12px;
  color: #666;
  margin-bottom: 6px;
}

.ai-text {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.7;
}

/* =========================
   FAQ
========================= */
.faq-item {
  margin-bottom: 20px;
}

.faq-item h3 {
  font-size: 14px;
  margin-bottom: 6px;
}

.faq-item p {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
}
