/* presents.kokorocare.business 統一スタイル */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Hiragino Sans', 'Meiryo', sans-serif;
  background: #f0f9ff;
  min-height: 100vh;
  color: #1e293b;
  padding: 20px 16px 60px;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 600px;
  margin: 0 auto;
}

/* ヘッダー */
.header {
  text-align: center;
  padding: 30px 0 24px;
}
.header .subtitle {
  font-size: 13px;
  color: #0ea5e9;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  font-weight: 600;
}
.header h1 {
  font-size: 22px;
  font-weight: bold;
  line-height: 1.5;
  color: #1e293b;
}
.header h1 span {
  color: #0284c7;
}
.header .by {
  font-size: 12px;
  color: #64748b;
  margin-top: 10px;
}

/* イントロ */
.intro {
  background: #fff;
  border: 1px solid #bae6fd;
  border-radius: 12px;
  padding: 16px;
  font-size: 14px;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 24px;
  text-align: center;
}

/* セクションラベル */
.section-label {
  font-size: 13px;
  font-weight: bold;
  color: #0284c7;
  letter-spacing: 1px;
  margin: 28px 0 12px;
  padding-left: 10px;
  border-left: 3px solid #38bdf8;
}

/* 質問カード */
.question-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  transition: border-color 0.2s;
  box-shadow: 0 1px 4px rgba(14,165,233,0.06);
}
.question-card:focus-within {
  border-color: #38bdf8;
}

.question-text {
  display: block;
  font-size: 14px;
  line-height: 1.6;
  color: #334155;
  margin-bottom: 12px;
  font-weight: 600;
}

.req {
  display: inline-block;
  font-size: 10px;
  background: #ef4444;
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  margin-right: 8px;
  vertical-align: middle;
}

.hint {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 6px;
}

/* 入力フィールド */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea,
select {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
  color: #1e293b;
  transition: border-color 0.2s, background 0.2s;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #0ea5e9;
  background: #fff;
}

textarea {
  resize: vertical;
  line-height: 1.6;
}

/* ラジオボタン */
.radio-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.radio-option {
  flex: 1;
  min-width: 120px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 14px;
}
.radio-option:has(input:checked) {
  border-color: #0ea5e9;
  background: #e0f2fe;
  color: #0c4a6e;
  font-weight: bold;
}
.radio-option input[type="radio"] {
  accent-color: #0ea5e9;
  width: 18px;
  height: 18px;
}

/* インラインチェックボックス（スコア欄など） */
.checkbox-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 10px 14px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  color: #0c4a6e;
  user-select: none;
}
.checkbox-inline input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #0ea5e9;
  flex-shrink: 0;
}
.checkbox-inline:has(input:checked) {
  background: #e0f2fe;
  border-color: #0ea5e9;
  font-weight: 600;
}

/* チェックボックス（免責） */
.disclaimer {
  background: #fef3c7;
  border-color: #fde68a;
}
.checkbox-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.7;
  color: #78350f;
}
.checkbox-option input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 4px;
  width: 20px;
  height: 20px;
  accent-color: #f59e0b;
}
.checkbox-option strong {
  color: #92400e;
}

/* 送信ボタン */
.submit-btn {
  display: block;
  width: 100%;
  padding: 18px 24px;
  margin-top: 32px;
  font-size: 17px;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.2s;
  box-shadow: 0 4px 12px rgba(14,165,233,0.3);
  font-family: inherit;
}
.submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(14,165,233,0.4);
}
.submit-btn:active {
  transform: translateY(0);
}
.submit-btn:disabled {
  background: #94a3b8;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* エラーメッセージ */
.error-message {
  margin-top: 16px;
  padding: 14px 16px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  color: #991b1b;
  font-size: 14px;
  line-height: 1.6;
}

/* フッター */
.footer {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #e0f2fe;
  font-size: 12px;
  color: #64748b;
  line-height: 1.8;
}
.footer a {
  color: #0284c7;
  text-decoration: none;
}
.footer a:hover {
  text-decoration: underline;
}

/* 完了画面 */
.success-screen {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  border-radius: 12px;
  margin-top: 40px;
}
.success-screen .icon {
  font-size: 56px;
  margin-bottom: 16px;
}
.success-screen h2 {
  font-size: 22px;
  color: #0284c7;
  margin-bottom: 12px;
}
.success-screen p {
  font-size: 14px;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 8px;
}
.success-screen .redirect-note {
  margin-top: 24px;
  padding: 12px;
  background: #e0f2fe;
  border-radius: 8px;
  font-size: 13px;
  color: #0c4a6e;
}
