/* ===== ピッチへのエントリー専用 CSS（マイページ統合版） ===== */
.pitch-entry-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 12px 0 40px;
    position: relative;
    z-index: 10;
    letter-spacing: -0.01em;
    font-family: inherit;
}

/* ユーティリティ */
.pitch-entry-container .hidden { display: none !important; }
.pitch-entry-container .mt-8 { margin-top: 8px; }
.pitch-entry-container .mt-12 { margin-top: 12px; }
.pitch-entry-container .mt-24 { margin-top: 24px; }
.pitch-entry-container .mt-32 { margin-top: 32px; }

/* ステップナビゲーション */
.pitch-entry-container .step-progress-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
    height: auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 8px;
}
.pitch-entry-container .step-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-align: center;
    cursor: pointer;
    position: relative;
    padding: 2px 0;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.pitch-entry-container .step-nav-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 9.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.pitch-entry-container .step-nav-title-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: center;
}
.pitch-entry-container .step-nav-title {
    font-size: 10px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.pitch-entry-container .step-nav-progress {
    font-size: 9.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 0;
    letter-spacing: -0.01em;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.pitch-entry-container .step-nav-item.active .step-nav-progress {
    color: rgba(212, 168, 74, 0.85);
    font-weight: 600;
}
.pitch-entry-container .step-nav-item.completed .step-nav-progress {
    color: rgba(46, 204, 113, 0.8);
}
.pitch-entry-container .step-nav-item.incomplete .step-nav-progress {
    color: rgba(255, 255, 255, 0.45);
}
.pitch-entry-container .step-nav-item:hover .step-nav-num {
    border-color: rgba(212, 168, 74, 0.5);
    color: #fff;
}
.pitch-entry-container .step-nav-item:hover .step-nav-title {
    color: rgba(255, 255, 255, 0.8);
}
.pitch-entry-container .step-nav-item.active .step-nav-num {
    background: #d4a84a;
    border-color: #d4a84a;
    color: #000;
    animation: activePulse 2.2s infinite cubic-bezier(0.16, 1, 0.3, 1);
}
.pitch-entry-container .step-nav-item.active .step-nav-title {
    color: #d4a84a;
    font-weight: 600;
}
.pitch-entry-container .step-nav-item.completed .step-nav-num {
    background: rgba(46, 204, 113, 0.1);
    border-color: rgba(46, 204, 113, 0.35);
    color: #2ecc71;
    font-weight: bold;
}
.pitch-entry-container .step-nav-item.completed .step-nav-title {
    color: rgba(255, 255, 255, 0.8);
}
.pitch-entry-container .step-nav-item.incomplete .step-nav-num {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.65);
}
.pitch-entry-container .step-nav-item.incomplete .step-nav-title {
    color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 576px) {
    .pitch-entry-container .step-nav-title-wrap {
        display: none;
    }
}

/* フォームステップ */
.pitch-entry-container .form-step {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.pitch-entry-container .form-step.active {
    opacity: 1;
    transform: translateY(0);
}
.pitch-entry-container .step-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

/* フォームカード */
.pitch-entry-container .form-card {
    background: #161616;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* セクションタイトル */
.pitch-entry-container .section-title {
    font-size: 12.5px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    letter-spacing: 0.03em;
}

/* フォームグループ */
.pitch-entry-container .form-group {
    margin-bottom: 10px;
}
.pitch-entry-container .form-group:last-child {
    margin-bottom: 0;
}
.pitch-entry-container .form-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 6px;
}
.pitch-entry-container .required {
    color: #ff4d4f;
    margin-left: 4px;
}

/* インプット・セレクト・テキストエリア */
.pitch-entry-container .form-input,
.pitch-entry-container .form-select,
.pitch-entry-container .form-textarea {
    width: 100%;
    background: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #fff;
    font-size: 12.5px;
    font-family: inherit;
    padding: 4px 8px;
    outline: none;
    transition: border-color 0.15s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}
.pitch-entry-container .form-input:focus,
.pitch-entry-container .form-select:focus,
.pitch-entry-container .form-textarea:focus {
    border-color: #d4a84a;
    box-shadow: 0 0 0 3px rgba(212, 168, 74, 0.15);
}
.pitch-entry-container .form-textarea {
    resize: vertical;
    min-height: 50px;
    line-height: 1.5;
}
.pitch-entry-container .textarea-md { min-height: 60px; }
.pitch-entry-container .textarea-lg { min-height: 80px; }

/* チップ選択 */
.pitch-entry-container .chip-group,
.pitch-entry-container .chips-group-multi {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}
.pitch-entry-container .chip,
.pitch-entry-container .chip-multi {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    user-select: none;
    transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}
.pitch-entry-container .chip:hover,
.pitch-entry-container .chip-multi:hover {
    border-color: rgba(212, 168, 74, 0.4);
    color: #fff;
    background: rgba(212, 168, 74, 0.03);
}
.pitch-entry-container .hidden-radio,
.pitch-entry-container .hidden-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
/* アクティブ時のスタイル */
.pitch-entry-container .chip:has(.hidden-radio:checked),
.pitch-entry-container .chip-multi:has(.hidden-checkbox:checked) {
    background: rgba(212, 168, 74, 0.1);
    border-color: #d4a84a;
    color: #d4a84a;
    font-weight: 500;
}

/* 経営課題の左寄せスタイル */
.pitch-entry-container .challenges-chip-group {
    flex-direction: column;
    align-items: stretch;
}
.pitch-entry-container .chip-multi[style*="text-align:left"] {
    border-radius: 8px;
    padding: 6px 12px;
}

/* ファイルアップロードエリア */
.pitch-entry-container .file-upload-area {
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    padding: 12px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.15s cubic-bezier(0.16, 1, 0.3, 1), background 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}
.pitch-entry-container .file-upload-area:hover {
    border-color: #d4a84a;
    background: rgba(212, 168, 74, 0.02);
}
.pitch-entry-container .upload-icon {
    font-size: 16px;
    margin-bottom: 4px;
}
.pitch-entry-container .upload-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}
.pitch-entry-container .upload-error-msg {
    color: #ff4d4f;
    font-size: 12px;
    margin-top: 6px;
}
.pitch-entry-container .photo-preview {
    margin-top: 12px;
    display: none;
}
.pitch-entry-container .photo-preview-wrap {
    margin-top: 12px;
    display: none;
    align-items: center;
    gap: 16px;
}
.pitch-entry-container .photo-preview-img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-size: cover;
    background-position: center;
}
.pitch-entry-container .docs-preview-box {
    display: none;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    font-size: 12px;
    color: #d4a84a;
    width: max-content;
    max-width: 100%;
}
.pitch-entry-container .uploaded-file-card {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    font-size: 12px;
    margin-top: 12px;
}
.pitch-entry-container .uploaded-file-card .file-icon {
    font-size: 14px;
}
.pitch-entry-container .uploaded-file-card .file-name-link,
.pitch-entry-container .uploaded-file-card .file-name {
    color: #d4a84a;
    text-decoration: none;
    font-weight: 500;
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.pitch-entry-container .uploaded-file-card .file-name-link:hover {
    text-decoration: underline;
    color: #e5ba5b;
}
.pitch-entry-container .uploaded-file-card .file-remove {
    color: #ff4d4f;
    cursor: pointer;
    margin-left: 8px;
    transition: color 0.15s ease;
}
.pitch-entry-container .uploaded-file-card .file-remove:hover {
    color: #ff7875;
}
.pitch-entry-container .photo-remove-btn {
    font-size: 12px;
    color: #ff4d4f;
    cursor: pointer;
    transition: color 0.15s ease;
}
.pitch-entry-container .photo-remove-btn:hover {
    color: #ff7875;
}

/* ボタン関係 */
.pitch-entry-container .btn-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    gap: 16px;
}
.pitch-entry-container .btn {
    height: 32px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
}
.pitch-entry-container .btn-next,
.pitch-entry-container .btn-submit {
    border: none;
    background: #d4a84a;
    color: #000;
    box-shadow: 0 2px 8px rgba(212, 168, 74, 0.15);
}
.pitch-entry-container .btn-next:hover,
.pitch-entry-container .btn-submit:hover {
    background: #e5b95b;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 168, 74, 0.25);
}
.pitch-entry-container .btn-next:active,
.pitch-entry-container .btn-submit:active {
    transform: translateY(0.5px);
}
.pitch-entry-container .btn-back {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
}
.pitch-entry-container .btn-back:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

/* エラーメッセージ */
.pitch-entry-container .error-msg,
.pitch-entry-container .submit-error-box {
    color: #ff4d4f;
    font-size: 13px;
    margin-top: 12px;
    text-align: left;
    display: none;
}
.pitch-entry-container .submit-error-box {
    padding: 12px;
    background: rgba(255, 77, 79, 0.08);
    border: 1px solid rgba(255, 77, 79, 0.2);
    border-radius: 6px;
}

/* 確認画面 */
.pitch-entry-container .confirm-notice {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}
.pitch-entry-container .confirm-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-bottom: 24px;
}
.pitch-entry-container .confirm-table th,
.pitch-entry-container .confirm-table td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-align: left;
}
.pitch-entry-container .confirm-table th {
    width: 30%;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}
.pitch-entry-container .confirm-table td {
    width: 70%;
    color: #fff;
    line-height: 1.5;
}
.pitch-entry-container .terms-box {
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
}
.pitch-entry-container .terms-text-container {
    max-height: none;
    overflow-y: visible;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.3);
    font-size: 11.5px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
    text-align: left;
}
.pitch-entry-container .terms-text-container strong {
    color: #fff;
}
.pitch-entry-container .terms-text-container::-webkit-scrollbar {
    width: 6px;
}
.pitch-entry-container .terms-text-container::-webkit-scrollbar-track {
    background: transparent;
}
.pitch-entry-container .terms-text-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}
.pitch-entry-container .terms-agreement-selector {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}
.pitch-entry-container .agreement-card {
    flex: 1;
    cursor: pointer;
}
.pitch-entry-container .agreement-card-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.pitch-entry-container .agreement-card-inner:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
}
.pitch-entry-container .radio-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    display: inline-block;
    position: relative;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.pitch-entry-container .agreement-label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 同意します（選択時）：ゴールドに発光 */
.pitch-entry-container .agreement-card input[type="radio"][value="同意します"]:checked + .agreement-card-inner {
    background: rgba(212, 168, 74, 0.04);
    border-color: rgba(212, 168, 74, 0.5);
    box-shadow: 0 0 12px rgba(212, 168, 74, 0.08);
}
.pitch-entry-container .agreement-card input[type="radio"][value="同意します"]:checked + .agreement-card-inner .radio-dot {
    border-color: #d4a84a;
    background: #d4a84a;
    box-shadow: 0 0 8px rgba(212, 168, 74, 0.6);
}
.pitch-entry-container .agreement-card input[type="radio"][value="同意します"]:checked + .agreement-card-inner .agreement-label {
    color: #fff;
}

/* 同意しません（選択時）：赤に警告発光 */
.pitch-entry-container .agreement-card input[type="radio"][value="同意しません"]:checked + .agreement-card-inner {
    background: rgba(255, 77, 79, 0.04);
    border-color: rgba(255, 77, 79, 0.5);
    box-shadow: 0 0 12px rgba(255, 77, 79, 0.08);
}
.pitch-entry-container .agreement-card input[type="radio"][value="同意しません"]:checked + .agreement-card-inner .radio-dot {
    border-color: #ff4d4f;
    background: #ff4d4f;
    box-shadow: 0 0 8px rgba(255, 77, 79, 0.6);
}
.pitch-entry-container .agreement-card input[type="radio"][value="同意しません"]:checked + .agreement-card-inner .agreement-label {
    color: #fff;
}

/* 提出ボタングループの縦積み配置 */
.pitch-entry-container .terms-btn-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 20px;
}
.pitch-entry-container .terms-btn-group .btn-submit {
    width: 100%;
    max-width: 360px;
    height: 42px;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    /* べた塗りを廃止し、上質で立体感のあるゴールドメタリックグラデーション */
    background: linear-gradient(180deg, #ecd599 0%, #cfa03c 100%);
    color: #111;
    font-weight: 700;
    border-radius: 8px;
    text-shadow: 0 0.5px 0 rgba(255, 255, 255, 0.35);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.3), 
        0 4px 12px rgba(212, 168, 74, 0.15),
        0 1px 2px rgba(0, 0, 0, 0.2);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.pitch-entry-container .terms-btn-group .btn-submit:hover {
    background: linear-gradient(180deg, #f3dfaa 0%, #dbaa45 100%);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.4), 
        0 6px 16px rgba(212, 168, 74, 0.25),
        0 2px 4px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}
.pitch-entry-container .terms-btn-group .btn-submit:active {
    background: linear-gradient(180deg, #cfa03c 0%, #b88d30 100%);
    box-shadow: 
        inset 0 1px 0 rgba(0, 0, 0, 0.15), 
        0 2px 4px rgba(212, 168, 74, 0.1);
    transform: translateY(0.5px);
}

.pitch-entry-container .terms-btn-group .btn-back {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: rgba(255, 255, 255, 0.45) !important;
    font-size: 12px;
    height: auto;
    padding: 6px 16px;
    margin: 0;
    transition: all 0.15s ease;
}
.pitch-entry-container .terms-btn-group .btn-back:hover {
    color: #fff !important;
    transform: translateY(-0.5px);
}
.pitch-entry-container .terms-btn-group .btn-back:active {
    transform: translateY(0.5px);
}

@media (max-width: 576px) {
    .pitch-entry-container .terms-agreement-selector {
        flex-direction: column;
        gap: 10px;
    }
    .pitch-entry-container .terms-btn-group .btn-submit {
        width: 100%;
        max-width: 100%;
    }
}


/* 送信成功画面 */
.pitch-entry-container .success-screen {
    text-align: center;
    padding: 24px 16px;
}
.pitch-entry-container .success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}
.pitch-entry-container .success-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}
.pitch-entry-container .success-msg {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 20px;
}
.pitch-entry-container .gcal-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 20px;
    border: 1px solid rgba(66, 133, 244, 0.3);
    background: rgba(66, 133, 244, 0.05);
    border-radius: 20px;
    color: #4285f4;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease;
}
.pitch-entry-container .gcal-btn:hover {
    background: rgba(66, 133, 244, 0.1);
    border-color: #4285f4;
}

/* ローディングオーバーレイ */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.loading-overlay .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(212, 168, 74, 0.1);
    border-top-color: #d4a84a;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
.loading-overlay .loading-text {
    font-size: 14px;
    color: #fff;
    font-weight: 500;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 入力充実度プログレスバー */
.pitch-entry-container .completion-bar-wrap {
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 10px 12px;
}
.pitch-entry-container .completion-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 6px;
}
.pitch-entry-container .completion-text strong {
    color: #d4a84a;
    font-size: 12px;
}
.pitch-entry-container .completion-track {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
}
.pitch-entry-container .completion-fill {
    height: 100%;
    background: #d4a84a;
    box-shadow: 0 0 8px rgba(212, 168, 74, 0.4);
    width: 0%;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 過去登壇者ロック画面 */
.pitch-entry-lock-card {
    background: #161616;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    max-width: 600px;
    margin: 40px auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.pitch-entry-lock-card .lock-icon {
    font-size: 40px;
    margin-bottom: 16px;
}
.pitch-entry-lock-card .lock-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}
.pitch-entry-lock-card .countdown-days {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}
.pitch-entry-lock-card .countdown-days span {
    font-size: 44px;
    font-weight: 800;
    color: #d4a84a;
    text-shadow: 0 0 16px rgba(212, 168, 74, 0.3);
    margin: 0 4px;
}
.pitch-entry-lock-card .lock-meta {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
    text-align: left;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}
.pitch-entry-lock-card .lock-meta p {
    margin: 4px 0;
    display: flex;
    justify-content: space-between;
}
.pitch-entry-lock-card .lock-meta strong {
    color: #fff;
}
.pitch-entry-lock-card .lock-desc {
    font-size: 12px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.4);
    text-align: left;
}

/* 画像拡大オーバーレイ (Lightbox) - コンテナの内外双方に対応 */
.lightbox-overlay,
.pitch-entry-container .lightbox-overlay {
    position: fixed;
    z-index: 999999 !important;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.lightbox-overlay.active,
.pitch-entry-container .lightbox-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.lightbox-content,
.pitch-entry-container .lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    cursor: default;
    transform: scale(0.95);
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.lightbox-overlay.active .lightbox-content,
.pitch-entry-container .lightbox-overlay.active .lightbox-content {
    transform: scale(1);
}
.lightbox-close,
.pitch-entry-container .lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 40px;
    line-height: 1;
    font-family: sans-serif;
    cursor: pointer;
    transition: color 0.15s ease;
}
.lightbox-close:hover,
.pitch-entry-container .lightbox-close:hover {
    color: #fff;
}
.pitch-entry-container #photoPreview {
    cursor: zoom-in;
}
.pitch-entry-container #photoPreview img {
    cursor: zoom-in;
    transition: opacity 0.15s ease;
}
.pitch-entry-container #photoPreview img:hover {
    opacity: 0.9;
}

/* アクティブステップの呼吸（Glow Pulse）アニメーション - ダイナミック版 */
@keyframes activePulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(212, 168, 74, 0.7), 0 0 10px rgba(212, 168, 74, 0.4);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 0 0 10px rgba(212, 168, 74, 0), 0 0 25px rgba(212, 168, 74, 0.85);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(212, 168, 74, 0), 0 0 10px rgba(212, 168, 74, 0.4);
    }
}

/* 完了サークル（チェックマーク✓部分）の定期的なバウンド（ウェーブ）アニメーション */
@keyframes circleBounce {
    0%, 100%, 20%, 45% {
        transform: scale(1) translateY(0);
    }
    30% {
        transform: scale(1.08) translateY(-6px);
    }
    38% {
        transform: scale(0.96) translateY(2px);
    }
    42% {
        transform: scale(1) translateY(0);
    }
}

.pitch-entry-container .step-nav-item.completed .step-nav-num {
    animation: circleBounce 4.5s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

/* 各ステップごとにディレイをずらし、順繰りに心地よく跳ねるリズム（ウェーブ感）を持たせる */
.pitch-entry-container .step-nav-item[data-step="1"].completed .step-nav-num { animation-delay: 0.1s; }
.pitch-entry-container .step-nav-item[data-step="2"].completed .step-nav-num { animation-delay: 0.7s; }
.pitch-entry-container .step-nav-item[data-step="3"].completed .step-nav-num { animation-delay: 1.3s; }
.pitch-entry-container .step-nav-item[data-step="4"].completed .step-nav-num { animation-delay: 1.9s; }
.pitch-entry-container .step-nav-item[data-step="5"].completed .step-nav-num { animation-delay: 2.5s; }
.pitch-entry-container .step-nav-item[data-step="6"].completed .step-nav-num { animation-delay: 3.1s; }

/* ホバー時はスタンバイ感を強調するため、少し激しめにぴょんぴょん動作を早める */
.pitch-entry-container .step-nav-item.completed:hover .step-nav-num {
    animation-duration: 1.8s;
}

/* 最終「エントリー提出」ステップの別枠・特別あしらい */
.pitch-entry-container .step-nav-item.final-step {
    margin-left: 28px;
    position: relative;
}

/* 仕切り線 */
.pitch-entry-container .step-nav-item.final-step::before {
    content: '';
    position: absolute;
    left: -16px;
    top: 15%;
    height: 70%;
    width: 1px;
    background: rgba(255, 255, 255, 0.12);
}

/* サークルを横長角丸ボタン風に変更 */
.pitch-entry-container .step-nav-item.final-step .step-nav-num {
    border-radius: 6px !important;
    width: 38px !important;
    height: 28px !important;
    font-size: 13px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 通常・未完了時の紙飛行機アイコン色（最初からゴールド枠線・白アイコンで別枠感を際立たせる） */
.pitch-entry-container .step-nav-item.final-step.incomplete .step-nav-num {
    background: rgba(212, 168, 74, 0.12) !important;
    border-color: rgba(212, 168, 74, 0.4) !important;
    color: #ffffff !important; /* アイコンを白に変更 */
}
/* ホバー時もほんのりゴールドを強調 */
.pitch-entry-container .step-nav-item.final-step.incomplete:hover .step-nav-num {
    background: rgba(212, 168, 74, 0.22) !important;
    border-color: rgba(212, 168, 74, 0.6) !important;
    color: #ffffff !important;
}

/* 最終ステップのタイトルと進捗の文字色を最初から明るい白にする */
.pitch-entry-container .step-nav-item.final-step.incomplete .step-nav-title {
    color: #ffffff !important;
    font-weight: 600;
}
.pitch-entry-container .step-nav-item.final-step.incomplete .step-nav-progress {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* アクティブ（表示中）時のゴールドグラデーションとGlow発光 */
.pitch-entry-container .step-nav-item.final-step.active .step-nav-num {
    background: linear-gradient(135deg, #d4a84a, #f39c12) !important;
    border: none !important;
    color: #111111 !important;
    font-weight: bold;
    box-shadow: 0 0 14px rgba(212, 168, 74, 0.45);
}

/* 提出準備完了（ステップ1〜5が完了）時のテイクオフ（紙飛行機前進）アニメーション */
@keyframes paperPlaneTakeoff {
    0%, 100% {
        transform: translateX(0) scale(1);
    }
    50% {
        transform: translateX(4px) scale(1.05);
    }
}

.pitch-entry-container .step-nav-item.final-step.ready-submit:not(.active):not(.completed) .step-nav-num {
    background: linear-gradient(135deg, #2ecc71, #27ae60) !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: 0 0 14px rgba(46, 204, 113, 0.4);
    animation: paperPlaneTakeoff 1.4s ease-in-out infinite;
}

/* 提出完了（チェックマーク✓）した場合はバウンドウェーブの対象とする */
.pitch-entry-container .step-nav-item.final-step.completed .step-nav-num {
    background: rgba(46, 204, 113, 0.1);
    border-color: rgba(46, 204, 113, 0.35);
    color: #2ecc71;
}

/* 入力エラー時のハイライトスタイル */
.pitch-entry-container .input-error {
    border: 1.5px solid rgba(239, 68, 68, 0.35) !important;
    background-color: rgba(138, 37, 37, 0.04) !important;
}

/* 特殊な要素がエラーになった時の境界線・背景の制御 */
.pitch-entry-container div.chips-group-multi.input-error,
.pitch-entry-container div.chip-group.input-error,
.pitch-entry-container div.file-upload-area.input-error {
    border: 1.5px solid rgba(239, 68, 68, 0.35) !important;
    background-color: rgba(138, 37, 37, 0.02) !important;
    border-radius: 8px;
    padding: 8px;
}

