
  /* ========== ページヘッダー ========== */
  .page-hero {
    background: var(--c-accent);
    padding: 14px 20px 60px;
    position: relative;
  }

  .page-hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 32px;
    background: var(--c-bg);
    clip-path: ellipse(55% 100% at 50% 100%);
  }

  .page-hero-inner {
    max-width: var(--max-width);
    margin: 0 auto;
  }

  .page-hero-bread {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
  }

  .page-hero-bread a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
  }

  .page-hero-bread a:hover {
    color: #fff;
  }

  .page-hero-title {
    font-size: clamp(18px, 3.5vw, 32px);
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    margin-top: 32px;
    margin-bottom: 6px;
    text-align: center;
  }

  .page-hero-sub {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-bottom: 24px;
  }

  /* ========== メインラップ ========== */
  .form-wrap {
    max-width: 680px;
    margin: -28px auto 0;
    padding: 0 20px 80px;
    position: relative;
    z-index: 10;
  }

  /* ========== サマリーバー ========== */
  .summary-bar {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    flex-wrap: wrap;
  }

  .summary-bar-item {
    display: flex;
    align-items: baseline;
    gap: 5px;
    font-size: 13px;
    color: var(--c-muted);
  }

  .summary-bar-item strong {
    font-size: 24px;
    font-weight: 700;
    color: var(--c-accent);
  }

  /* ========== ステップ ========== */
  .step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
  }

  .step-num {
    width: 32px;
    height: 32px;
    background: var(--c-accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
  }

  .step-title {
    font-size: 17px;
    font-weight: 700;
  }

  .step-sub {
    font-size: 12px;
    color: var(--c-muted);
    margin-top: 1px;
  }

  /* ========== 属性入力グリッド ========== */
  .attr-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 8px;
  }

  .attr-group {}

  .attr-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--c-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .req-mark {
    background: #fce8e8;
    color: #c0392b;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 3px;
  }

  .attr-options {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .attr-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1.5px solid var(--c-border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: border-color 0.12s, background 0.12s;
    user-select: none;
  }

  .attr-option:hover {
    border-color: var(--c-accent);
    background: var(--c-accent-light);
  }

  .attr-option.selected {
    border-color: var(--c-accent);
    background: var(--c-accent-light);
  }

  .attr-option input {
    width: 16px;
    height: 16px;
    accent-color: var(--c-accent);
    flex-shrink: 0;
  }

  /* 年代は2列グリッド */
  .age-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  /* ========== 質問カード ========== */
  .question-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 22px 24px;
    margin-bottom: 14px;
    box-shadow: var(--shadow-sm);
  }

  .q-number {
    font-size: 11px;
    font-weight: 700;
    color: var(--c-accent);
    letter-spacing: 0.06em;
    margin-bottom: 6px;
  }

  .q-text {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 16px;
  }

  .q-text .req {
    margin-left: 6px;
  }

  /* Yes/No 大ボタン */
  .yesno-large {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .yesno-large-btn {
    padding: 22px 12px;
    border: 2px solid var(--c-border);
    border-radius: var(--radius-md);
    font-family: var(--font);
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    background: var(--c-surface);
    color: var(--c-text);
    transition: all 0.15s;
    line-height: 1;
  }

  .yesno-large-btn .yn-en {
    font-size: 11px;
    font-weight: 400;
    color: var(--c-muted);
    display: block;
    margin-top: 4px;
  }

  .yesno-large-btn[data-val="yes"]:hover,
  .yesno-large-btn[data-val="yes"].selected {
    border-color: var(--c-success);
    background: var(--c-success-bg);
    color: var(--c-success);
  }

  .yesno-large-btn[data-val="no"]:hover,
  .yesno-large-btn[data-val="no"].selected {
    border-color: #c0392b;
    background: #fce8e8;
    color: #c0392b;
  }

  /* 通常ラジオ・チェックボックス */
  .option-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .option-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    border: 1.5px solid var(--c-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: border-color 0.12s, background 0.12s;
    user-select: none;
  }

  .option-item:hover {
    border-color: var(--c-accent);
    background: var(--c-accent-light);
  }

  .option-item.checked {
    border-color: var(--c-accent);
    background: var(--c-accent-light);
  }

  .option-item input {
    width: 18px;
    height: 18px;
    accent-color: var(--c-accent);
    flex-shrink: 0;
  }

  .option-item .opt-label {
    font-size: 15px;
    font-weight: 500;
  }

  /* ========== 送信ボタン ========== */
  .submit-area {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .submit-btn {
    width: 100%;
    padding: 17px;
    background: var(--c-accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font);
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.15s;
    letter-spacing: 0.02em;
  }

  .submit-btn:hover:not(:disabled) {
    opacity: 0.88;
  }

  .submit-btn:disabled {
    opacity: 0.38;
    cursor: not-allowed;
  }

  .submit-note {
    text-align: center;
    font-size: 12px;
    color: var(--c-muted);
    line-height: 1.7;
  }

  /* ========== バリデーションエラー ========== */
  .field-error {
    font-size: 12px;
    color: #c0392b;
    margin-top: 6px;
    display: none;
  }

  .has-error .attr-option,
  .has-error .option-item,
  .has-error .yesno-large-btn {
    border-color: #e74c3c !important;
  }

  /* ========== 投票済み表示 ========== */
  .voted-wrap {
    background: var(--c-success-bg);
    border: 1px solid #5dcaa5;
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    margin-bottom: 16px;
  }

  .voted-wrap .v-icon {
    font-size: 52px;
    margin-bottom: 14px;
  }

  .voted-wrap h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--c-success);
    margin-bottom: 8px;
  }

  .voted-wrap .v-msg {
    font-size: 14px;
    color: var(--c-muted);
    line-height: 1.8;
    margin-bottom: 20px;
  }

  .voted-wrap .v-next {
    display: inline-block;
    background: rgba(15, 110, 86, 0.1);
    color: var(--c-success);
    font-size: 13px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
  }

  /* ========== レスポンシブ ========== */
  @media (max-width: 560px) {
    .attr-grid {
      grid-template-columns: 1fr;
    }

    .age-grid {
      grid-template-columns: repeat(4, 1fr);
    }

    .yesno-large {
      gap: 8px;
    }

    .yesno-large-btn {
      padding: 18px 8px;
      font-size: 17px;
    }

    .summary-bar {
      gap: 12px;
    }
  }

  @media (max-width: 380px) {
    .age-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
