/* shadow-ai-survey page styles (extracted from inline <style>) */

:root {
  --navy: #17243a;
  --gold: #b6975b;
  --bg: #f7f8fa;
  --border: #d9dee7;
  --muted: #657080;
  --white: #ffffff;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  background: var(--bg);
  color: #1f2933;
  line-height: 1.85;
}

.survey-header {
  background: linear-gradient(135deg, var(--navy) 0%, #223452 100%);
  color: white;
  padding: 48px 24px 40px;
  text-align: center;
}

.survey-header .label {
  display: inline-block;
  background: rgba(182,151,91,0.25);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.survey-header h1 {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.4;
}

.survey-header p {
  color: rgba(255,255,255,0.82);
  font-size: 15px;
  max-width: 600px;
  margin: 0 auto;
}

.notice-box {
  max-width: 700px;
  margin: 32px auto 0;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: 14px;
  color: rgba(255,255,255,0.9);
  text-align: left;
}

.notice-box strong {
  color: var(--gold);
  display: block;
  margin-bottom: 6px;
}

.survey-body {
  max-width: 700px;
  margin: 40px auto 60px;
  padding: 0 20px;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 40px 0 20px;
}

.section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.q-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 18px;
  box-shadow: 0 4px 16px rgba(23,36,58,0.06);
}

.q-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: rgba(182,151,91,0.15);
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 10px;
}

.q-required {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #c0392b;
  background: #fdf0ee;
  border-radius: 4px;
  padding: 1px 7px;
  margin-left: 8px;
  vertical-align: middle;
}

.q-text {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.5;
}

.q-hint {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}

.options {
  display: grid;
  gap: 10px;
}

.options.two-col {
  grid-template-columns: 1fr 1fr;
}

.option-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
  font-size: 14px;
  color: #334155;
}

.option-label:hover {
  border-color: var(--gold);
  background: #fffaf3;
}

.option-label input[type="radio"],
.option-label input[type="checkbox"] {
  margin-top: 2px;
  accent-color: var(--gold);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.option-label input:checked ~ span {
  color: var(--navy);
  font-weight: 600;
}

textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14px;
  font-family: inherit;
  color: #334155;
  resize: vertical;
  min-height: 90px;
  transition: border-color 0.18s;
  outline: none;
}

textarea:focus {
  border-color: var(--gold);
}

textarea::placeholder {
  color: #aab0bb;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (max-width: 480px) {
  .tool-grid,
  .options.two-col { grid-template-columns: 1fr; }
}

.submit-section {
  text-align: center;
  padding: 36px 0 10px;
}

.btn-submit {
  display: inline-block;
  background: var(--navy);
  color: white;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 52px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.btn-submit:hover {
  background: var(--gold);
  transform: translateY(-2px);
}

.submit-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 14px;
}

/* 感謝画面（送信後） */
.thank-you {
  display: none;
  text-align: center;
  padding: 60px 20px;
}

.thank-you .icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.thank-you h2 {
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 12px;
}

.thank-you p {
  color: var(--muted);
  font-size: 15px;
}

/* Microsoft Forms用テンプレート表示 */
.forms-guide {
  background: #f0f7ff;
  border: 1px solid #b8d4f0;
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 32px 0;
  font-size: 14px;
}

.forms-guide h2 {
  color: #1a56a0;
  font-size: 15px;
  margin-bottom: 10px;
}

.forms-guide ol {
  padding-left: 20px;
  color: #2c4a72;
  line-height: 2;
}

/* 印刷用 */
@media print {
  .survey-header { background: var(--navy) !important; -webkit-print-color-adjust: exact; }
  .q-card { break-inside: avoid; }
}
