
    /* ===== ヘッダー ===== */
    #shindan header {
      background-color: #004098;
      padding: 14px 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
    }

    #shindan .badge {
      background-color: #ffffff;
      color: #004098;
      font-size: 16px;
      font-weight: 600;
      padding: 4px 12px;
      border-radius: 50px;
      white-space: nowrap;
      letter-spacing: 0.04em;
    }

    #shindan header h1 {
      color: #ffffff;
      font-size: 20px;
      font-weight: 600;
      letter-spacing: 0.05em;
    }

    /* ===== メインコンテンツ ===== */
    #shindan main {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 56px 20px 40px;
    }

    /* ===== カード ===== */
    #shindan .card {
      background-color: #ffffff;
      border-radius: 20px;
      padding: 60px 80px;
      width: 100%;
      max-width: 800px;
      margin-bottom: 30px;
    }

    /* ===== フォーム行 ===== */
    #shindan .form-row {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-bottom: 30px;
    }

    #shindan .form-row:last-child {
      margin-bottom: 0;
    }

    #shindan .form-label {
      font-size: 16px;
      font-weight: 600;
      color: #1d1d1d;
      width: 240px;
      flex-shrink: 0;
    }

    #shindan .input-wrapper {
      display: flex;
      align-items: center;
      gap: 10px;
      flex: 1;
    }

    #shindan .form-input {
      flex: 1;
      height: 50px;
      border: 1px solid #ccc;
      font-size: 16px;
      padding: 0 14px;
      outline: none;
      color: #1d1d1d;
      background-color: #fff;
      transition: border-color 0.2s;
    }

    #shindan .form-input:focus {
      border-color: #004098;
    }

    #shindan .unit {
      font-size: 16px;
      color: #1d1d1d;
      white-space: nowrap;
    }

    /* ===== 診断ボタン ===== */
    #shindan .btn-wrap {
      width: 100%;
      max-width: 600px;
    }

    #shindan .btn-diagnose {
      display: block;
      width: 100%;
      padding: 22px 20px;
      background: linear-gradient(to bottom, #0050BE, #004098);
      color: #ffffff;
      font-size: 24px;
      font-weight: 600;
      text-align: center;
      border: 4px solid #ffffff;
      border-radius: 50px;
      cursor: pointer;
      transition: opacity 0.2s;
      box-shadow: 0 4px 12px rgba(0, 4px, 12px, 0.17);
    }

    #shindan .btn-diagnose:hover {
      opacity: 0.85;
    }

    /* ===== 注意書き ===== */
    #shindan .notes {
      width: 100%;
      max-width: 760px;
      margin-top: 20px;
    }

    #shindan .notes p {
      font-size: 10px;
      color: #444;
      line-height: 1.7;
    }

    /* ===== モーダル オーバーレイ ===== */
    #shindan .modal-overlay {
      position: fixed;
      inset: 0;
      background-color: rgba(0, 0, 0, 0.45);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 100;
      padding: 20px;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.2s;
    }

    #shindan .modal-overlay.is-open {
      opacity: 1;
      pointer-events: auto;
    }

    /* ===== モーダル本体 ===== */
    #shindan .modal {
      background-color: #ffffff;
      width: 100%;
      max-width: 400px;
      position: relative;
      transform: translateY(16px);
      transition: transform 0.2s;
    }

    #shindan .modal-overlay.is-open .modal {
      transform: translateY(0);
    }

    /* ===== モーダルヘッダー ===== */
    #shindan .modal-header {
      background-color: #FF8901;
      padding: 12px 40px;
      position: relative;
    }

    #shindan .modal-header h2 {
      color: #ffffff;
      font-size: 20px;
      font-weight: 600;
      text-align: center;
      letter-spacing: 0.06em;
    }

    #shindan .modal-close {
      position: absolute;
      top: -14px;
      right: -14px;
      background: #1D1D1D;
      border: none;
      border-radius: 50%;
      width: 28px;
      height: 28px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      color: #ffffff;
      font-size: 16px;
      line-height: 1;
      font-weight: 600;
    }

    #shindan .modal-close:hover {
      background: rgba(255,255,255,0.4);
    }

    /* ===== モーダルボディ ===== */
    #shindan .modal-body {
      padding: 24px 20px 28px;
    }

    #shindan .modal-result-text {
      font-size: 20px;
      font-weight: 600;
      color: #1d1d1d;
      text-align: center;
      line-height: 1.6;
      margin-bottom: 16px;
    }

    #shindan .modal-result-text.is-sorry {
      font-size: 15px;
      margin-bottom: 0;
    }

    #shindan .modal-notes {
      font-size: 10px;
      color: #444;
      line-height: 1.75;
      margin-bottom: 20px;
    }

    #shindan .modal-notes li {
      list-style: none;
      margin-bottom: 8px;
    }

    #shindan .modal-notes li:last-child {
      margin-bottom: 0;
    }

    /* ===== 申し込みボタン群 ===== */
    #shindan .modal-actions {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 14px;
    }

    #shindan .web-badge {
    background-color: #004098;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 20px;
    border-radius: 5px;
    margin-bottom: -30px;
    z-index: 1;
    }

    #shindan .btn-apply {
      display: block;
      width: 100%;
      padding: 18px 20px 12px;
      background: linear-gradient(to bottom, #FF8901, #D97400);
      color: #ffffff;
      font-size: 20px;
      font-weight: 600;
      text-align: center;
      border: 4px solid #fff;
      border-radius: 50px;
      cursor: pointer;
      letter-spacing: 0.05em;
      transition: background 0.2s;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.17);
    }

    #shindan .btn-apply:hover {
      background: linear-gradient(to bottom, #D97400, #D97400);
    }

    #shindan .btn-retry {
      background: none;
      border: none;
      color: #004098;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      padding: 4px 0;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 4px;
    }

    #shindan .btn-retry:hover {
      opacity: 0.7;
    }

    /* ===== SP レスポンシブ ===== */
    @media (max-width: 600px) {
    #shindan  header {
        padding: 12px 16px;
      }

    #shindan  main {
        padding: 24px 16px 32px;
      }

    #shindan  .card {
        padding: 28px 20px;
        border-radius: 16px;
        margin-bottom: 24px;
      }

    #shindan  .form-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 28px;
      }

    #shindan  .form-label {
        width: auto;
        font-size: 16px;
      }

    #shindan  .input-wrapper {
        width: 100%;
      }

    #shindan  .form-input {
        height: 56px;
        font-size: 15px;
      }

    #shindan  .unit {
        font-size: 16px;
      }

    #shindan  .btn-diagnose {
        font-size: 24px;
        padding: 20px 20px;
        border-radius: 50px;
      }

    #shindan  .notes p {
        font-size: 10px;
      }

    #shindan  .modal {
        max-width: 100%;
      }
    }