        /* 2026-09-10: フォームの入力欄がコンテナ幅（約1240px）いっぱいに広がって
           間延びして見えていたため、フォーム・確認・完了の3ステップ共通で
           読みやすい幅に収める（単カラムの問い合わせフォームとして一般的な幅）。 */
        .page-section {
            max-width: 720px;
            margin: 0 auto;
        }
        .contact-hero h1 {
            font-size: 1.4rem !important;
            font-weight: 600 !important;
            margin-bottom: 12px !important;
        }
        .contact-hero p {
            font-size: 0.88rem !important;
            line-height: 1.7 !important;
        }
        .contact-form-section h2 {
            font-size: 0.98rem !important;
        }
        .contact-form-section > .container > #form-section .form-section p#contact-auth-note {
            font-size: 0.82rem !important;
        }
        .form-section {
            margin-bottom: 30px;
        }
        .form-row {
            display: flex;
            gap: 20px;
            margin-bottom: 20px;
        }
        .postal-search-row {
            display: flex;
            gap: 8px;
            align-items: center;
        }
        .form-row input {
            flex: 1;
        }
        /* 送信中オーバーレイ */
        .submit-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(255, 255, 255, 0.82);
            backdrop-filter: blur(3px);
            z-index: 9999;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 20px;
        }
        .submit-overlay.active {
            display: flex;
        }
        .submit-spinner {
            width: 52px;
            height: 52px;
            border: 4px solid #e0e0e0;
            border-top-color: #1a1a2e;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        .submit-overlay-text {
            font-size: 1rem;
            font-weight: 600;
            color: #333;
            letter-spacing: 0.03em;
        }
        .submit-overlay-sub {
            font-size: 0.82rem;
            color: #888;
            margin-top: -12px;
        }
        /* 送信ボタン ローディング状態 */
        .btn-primary.loading {
            opacity: 0.6;
            cursor: not-allowed;
            pointer-events: none;
        }
        .form-group {
            margin-bottom: 20px;
        }
        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: bold;
            color: #333;
        }
        .form-group input, .form-group select, .form-group textarea {
            width: 100%;
            padding: 12px;
            border: 1px solid #e0e0e0;
            border-radius: 6px;
            font-size: 16px;
            font-weight: 400;
            box-sizing: border-box;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
        .form-group textarea {
            resize: vertical;
            min-height: 120px;
        }
        .radio-group {
            display: flex;
            gap: 30px;
            margin-top: 10px;
        }
        .radio-item {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .radio-item input[type="radio"] {
            margin: 0;
            width: 18px;
            height: 18px;
            accent-color: #4a90e2;
        }
        .radio-item label {
            margin: 0;
            cursor: pointer;
            line-height: 18px;
        }
        .agreement {
            margin: 20px 0;
            padding: 20px;
            background-color: #f8f9fa;
            border-radius: 6px;
            text-align: center;
        }
        .agreement label {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            cursor: pointer;
        }
        .form-buttons {
            margin-top: 40px;
            display: flex;
            justify-content: center;
            gap: 20px;
        }
        .btn-primary {
            padding: 15px 40px;
            font-size: 1.1rem;
            background-color: #3498db;
            color: white;
            text-decoration: none;
            border-radius: 6px;
            font-weight: bold;
            cursor: pointer;
            border: none;
        }
        .btn-secondary {
            padding: 15px 40px;
            font-size: 1.1rem;
            background-color: #f5f5f5;
            color: #333;
            text-decoration: none;
            border-radius: 6px;
            font-weight: bold;
            cursor: pointer;
            border: 1px solid #e0e0e0;
        }
        .ssl-notice {
            margin-top: 30px;
            font-size: 0.9rem;
            color: #666;
            text-align: center;
        }
        /* 确认页面样式 */
        .confirm-section {
            margin-bottom: 30px;
        }
        .confirm-section h3 {
            margin-bottom: 20px;
            color: #333;
        }
        .confirm-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 24px;
            margin-bottom: 30px;
        }
        .confirm-item {
            background: #f8f9fa;
            padding: 16px;
            border-radius: 6px;
            border: 1px solid #e0e0e0;
        }
        .confirm-label {
            font-weight: bold;
            color: #666;
            margin-bottom: 8px;
        }
        .confirm-value {
            color: #333;
        }
        /* 成功页面样式 */
        .success-section {
            text-align: center;
            padding: 40px 0;
        }
        .success-icon {
            font-size: 60px;
            color: #28a745;
            margin-bottom: 20px;
        }
        .success-title {
            font-size: 24px;
            color: #333;
            margin-bottom: 16px;
        }
        .success-message {
            font-size: 16px;
            color: #666;
            margin-bottom: 30px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }
        /* 文件上传样式 - 单文件覆盖模式 */
        .file-upload-wrapper {
            position: relative;
        }
        .file-upload-area {
            border: 2px dashed #e0e0e0;
            border-radius: 8px;
            padding: 20px;
            text-align: center;
            background-color: #fafafa;
            transition: all 0.3s ease;
            cursor: pointer;
        }
        .file-upload-area:hover {
            border-color: #4a90e2;
            background-color: #f0f7ff;
        }
        .file-upload-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 15px;
        }
        .file-upload-left {
            display: flex;
            align-items: center;
            gap: 12px;
            text-align: left;
        }
        .file-upload-icon {
            font-size: 28px;
        }
        .file-upload-info {
            flex: 1;
        }
        .file-upload-text {
            color: #333;
            font-size: 0.9rem;
            margin-bottom: 4px;
        }
        .file-upload-hint {
            color: #999;
            font-size: 0.75rem;
        }
        .file-upload-btn {
            display: inline-block;
            padding: 8px 20px;
            background-color: #4a90e2;
            color: white !important;
            border-radius: 4px;
            font-size: 0.85rem;
            font-weight: 600;
            pointer-events: none;
            white-space: nowrap;
        }
        .file-upload-input {
            display: none;
        }
        .file-selected {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 12px 15px;
            background-color: #e8f4fd;
            border: 1px solid #b8daff;
            border-radius: 6px;
            margin-top: 10px;
        }
        .file-selected-info {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 0.9rem;
            color: #333;
        }
        .file-selected-remove {
            background: none;
            border: none;
            color: #e74c3c;
            cursor: pointer;
            font-size: 1.2rem;
        }
        /* アップロード進捗 */
        .upload-progress-wrap {
            margin-top: 10px;
            padding: 12px 15px;
            background: #f0f7ff;
            border: 1px solid #b8daff;
            border-radius: 6px;
        }
        .upload-progress-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 8px;
            font-size: 0.88rem;
            color: #333;
            gap: 8px;
        }
        .upload-progress-filename {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            flex: 1;
        }
        .upload-progress-bar-bg {
            width: 100%;
            height: 7px;
            background: #dde4f0;
            border-radius: 4px;
            overflow: hidden;
        }
        .upload-progress-bar {
            height: 100%;
            background: linear-gradient(90deg, #4a90e2, #3478c8);
            border-radius: 4px;
            transition: width 0.15s ease;
            width: 0%;
        }
        .upload-success-box {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 12px 15px;
            background: #e8f5e9;
            border: 1px solid #a5d6a7;
            border-radius: 6px;
            margin-top: 10px;
        }
        .upload-error-box {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            padding: 11px 15px;
            background: #ffeaea;
            border: 1px solid #f5aaaa;
            border-radius: 6px;
            color: #c0392b;
            font-size: 0.88rem;
            margin-top: 10px;
        }
        .upload-retry-btn {
            background: none;
            border: 1px solid #c0392b;
            color: #c0392b;
            padding: 3px 10px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 0.82rem;
            white-space: nowrap;
        }
        .upload-retry-btn:hover { background: #ffeaea; }
        .file-selected-remove:hover {
            color: #c0392b;
        }
        /* 隐藏表单部分 */
        .hidden {
            display: none;
        }
        /* 修复textarea字体问题 */
        textarea {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            font-size: 16px;
            font-weight: 400;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
