:root {
            --primary: #606F8C;
            --bg-light: #222222;
            --bg-dark: #1A1B1E;
        }

        body {
            font-family: 'Cezanne', 'Inter', sans-serif;
            font-weight: 500;
            transition: background-color 0.3s, color 0.3s;
            background-image: url('backdrop16-9.jpg');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            background-repeat: no-repeat;
            min-height: 100vh;
            padding: 150px 0 0 0;
            background-color: var(--bg-primary);
            color: var(--text-primary);
        }

        .glass-effect {
            background: transparent;
        }

        .animate-fade-in {
            animation: fadeIn 0.5s ease-in-out;
        }

        .animate-slide-up {
            animation: slideUp 0.5s ease-out;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes slideUp {
            from { transform: translateY(20px); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }

        .input-field {
            transition: all 0.3s ease;
            color: #222222;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(5px);
        }

        .input-field:focus {
            transform: translateY(-2px);
            box-shadow: 0 4px 6px -1px rgba(255, 255, 255, 0.1), 0 2px 4px -1px rgba(255, 255, 255, 0.06);
            background: rgba(255, 255, 255, 0.2);
            border: 1px solid rgba(255, 255, 255, 0.4);
        }

        .btn-primary {
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(5px);
            transition: all 0.3s ease;
            font-weight: 600;
            color: #222222;
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 6px -1px rgba(255, 255, 255, 0.1), 0 2px 4px -1px rgba(255, 255, 255, 0.06);
            background: rgba(255, 255, 255, 0.2);
            border: 1px solid rgba(255, 255, 255, 0.4);
        }

        .loading {
            position: relative;
        }

        .loading::after {
            content: '';
            position: absolute;
            width: 20px;
            height: 20px;
            top: 50%;
            left: 50%;
            margin: -10px 0 0 -10px;
            border: 2px solid #222222;
            border-top-color: transparent;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

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

        /* セザンヌフォントのフォールバック */
        @font-face {
            font-family: 'Cezanne';
            src: local('Cezanne'), local('Cezanne-Regular');
            font-weight: normal;
            font-style: normal;
        }

        @font-face {
            font-family: 'Cezanne';
            src: local('Cezanne-Bold'), local('Cezanne');
            font-weight: bold;
            font-style: normal;
        }

        .input-field::placeholder {
            color: rgba(20, 20, 20, 0.7);
        }

        .input-field:focus::placeholder {
            color: rgba(20, 20, 20, 0.5);
        }

        label {
            font-weight: 600;
        }

        h1, h2 {
            font-weight: 700;
        }

        .site-footer {
            background-color: #333;
            color: #fff;
            padding: 40px 0;
            font-family: Arial, sans-serif;
            margin-top: 180px;
        }
        
        .footer-content {
            display: flex;
            justify-content: space-around;
            flex-wrap: wrap;
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .footer-section {
            margin-bottom: 20px;
            margin-top: 20px;
            width: 30%;
        }
        
        .footer-section h3 {
            font-size: 18px;
            margin-bottom: 10px;
            margin-top: 10px;
        }
        
        .footer-section ul {
            list-style: none;
            padding: 0;
        }
        
        .footer-section ul li {
            margin-bottom: 5px;
        }
        
        .footer-section a {
            color: #ddd;
            text-decoration: none;
        }
        footer a {
            color: #ddd;
            text-decoration: none;
        }
        
        .footer-section a:hover {
            color: #fff;
            text-decoration: underline;
        }
        
        .footer-bottom {
            text-align: center;
            margin-top: 20px;
            padding-top: 20px;
            border-top: 1px solid #555;
        }
        
        .footer-bottom p {
            margin: 5px 0;
        }
        
        #footerlogo {
            width: 100%;
            border-radius: 20px;
        }
        #footerlogo:hover {
            box-shadow: 0 0 10px 0 #27ae60;
        }

        @media (max-width: 768px) {
            body {
            font-family: 'Cezanne', 'Inter', sans-serif;
            font-weight: 500;
            transition: background-color 0.3s, color 0.3s;
            background-image: url('backdrop16-9.jpg');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            background-repeat: no-repeat;
            min-height: 100vh;
            padding: 50px 0 0 0;
            }

            .site-footer {
            background-color: #333;
            color: #fff;
            padding: 40px 0;
            font-family: Arial, sans-serif;
            margin-top: 20px;
            }

            .footer-content {
            flex-direction: column;
            align-items: center;
            }
            
            .footer-section {
                width: 100%;
                text-align: center;
                padding-left: 8px;
                padding-right: 8px;
            }

            #footerlogo {
                display: block;
                margin: 16px auto;
                max-width: calc(100% - 32px);
                width: auto;
            }
        }