   /* --- ベーススタイル（リセット用） --- */
  .shindan * {
    box-sizing: border-box;
  }
  
  .shindan {
    width: 100%;
    padding: 40px 15px;
    background-color: #d3e9ef;
    font-family: ZenMaruGothic, Arial, sans-serif;
  }

  /* --- 見出しエリア --- */
  .shindan .shindan-header {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
  }

  .shindan .shindan-badge {
    display: inline-block;
    background: #ef6337;
    color: #fff;
    font-size: 0.9rem;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
  }

  .shindan .shindan-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 0 15px 0;
    line-height: 1.4;
    color: #51b1bf;
  }

  .shindan .shindan-desc {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
  }

  /* --- 診断コンテナ --- */
  .shindan .diagnosis-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    text-align: center;
    position: relative;
  }

  /* --- プログレスバー --- */
  .shindan .progress-area {
    margin-bottom: 20px;
  }
  .shindan .progress-label {
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 5px;
    text-align: right;
  }
  .shindan .progress-bg {
    width: 100%;
    height: 6px;
    background: #eee;
    border-radius: 3px;
    overflow: hidden;
  }
  .shindan .progress-bar {
    height: 100%;
    background: #51b1bf;
    width: 0%;
    transition: width 0.3s ease;
  }

  /* --- 質問エリア --- */
  .shindan .d-question-text {
    font-size: 1.25rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 25px;
    line-height: 1.5;
  }

  .shindan .d-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  /* 選択肢ボタン */
  .shindan .d-btn {
    display: block;
    width: 100%;
    padding: 16px 20px;
    background: #ffffff;
    border: 2px solid #4caec7;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    color: #4caec7;
    font-weight: bold;
    transition: all 0.2s;
    box-shadow: none;
    text-align: center;
  }
  .shindan .d-btn:hover {
    background: #f0fbff;
    color: #4caec7;
    transform: scale(1.03);
    opacity: 0.9;
  }

  /* --- ローディング（診断中）画面 --- */
  .shindan .loading-area {
    display: none;
    width: 100%;
    min-height: 300px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .shindan .spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #51b1bf;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
  }
  .shindan .loading-text {
    font-weight: bold;
    color: #555;
    font-size: 1.1rem;
  }

  /* --- 結果エリア --- */
  .shindan .d-result-area {
    display: none;
    animation: fadeIn 0.8s ease;
  }
  
  .shindan .result-badge {
    display: inline-block;
    background: #ffeb3b;
    color: #333;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 15px;
  }

  .shindan .d-result-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px; /* 画像下の余白を少し縮小 */
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  /* --- おすすめ理由のテキストエリア --- */
  .shindan .recommend-reason-box {
    margin-bottom: 25px;
    padding: 15px;
    background: #f0fbff;
    border-radius: 8px;
    color: #333;
    text-align: left;
  }
  .shindan .recommend-title {
    font-weight: bold;
    color: #4caec7;
    font-size: 1rem;
    margin-bottom: 8px;
    display: block;
    text-align: center;
  }
  .shindan .recommend-text {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
  }

  /* --- 結果画面のボタンエリア --- */
  .shindan .d-btn-area {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    width: 100%;
  }

  /* 申込ボタン（メイン） */
  .shindan .btn-apply {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 85%;
    padding: 15px 0;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.2s;
    background: #ef6337;
    color: #fff;
    border: none;
    box-shadow: 0 4px 10px rgba(239,99,55,0.3);
  }
  .shindan .btn-apply:hover {
    box-shadow: 0 6px 14px rgba(239,99,55,0.4);
    transform: scale(1.03);
    opacity: 0.9;
  }

  @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
  @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

  /* スマホ用調整 */
  @media screen and (max-width: 480px) {
    .shindan .shindan-title {
      font-size: 1.5rem;
    }
    .shindan .diagnosis-container {
      padding: 20px;
    }
  }

  /* --- コンテンツエリア設定（詳細スペック表示用） --- */
  .content-area {
    display: none; /* 初期状態は非表示 */
    animation: fadeIn 0.8s ease;
    padding: 30px 15px;
    background: #f9f9f9;
  }
  
  .spec-container {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #ddd;
  }

  .spec-title {
    font-size: 1.4rem;
    color: #51b1bf;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    border-bottom: 2px solid #51b1bf;
    padding-bottom: 10px;
  }

  /* スペック表のデザイン */
  .spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
  }
  .spec-table th, .spec-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    text-align: left;
  }
  .spec-table th {
    width: 35%;
    background-color: #f4f4f4;
    color: #555;
    font-weight: bold;
  }

  /* 個別コンテンツは最初は隠しておく */
  .result-content {
    display: none;
  }