/* Googleログイン用スタイル */
.btn-container {
    width: 100% !important;
    max-width: 280px !important;
    margin: 0 auto !important;
}

.btn-container .btn-primary,
.btn-container .btn-google {
    width: 100% !important;
    max-width: 100% !important;
}

.btn-container .btn-google.bgWhite {
    background: linear-gradient(45deg, #ffffff, #f8f8f8) !important;
    color: #434343 !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 14px 30px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 20px auto !important;
    width: 100% !important;
    position: relative !important;
    box-shadow: 0 10px 20px rgba(66, 133, 244, 0.3), 0 0 15px rgba(66, 133, 244, 0.2) !important;
    overflow: hidden !important;
    z-index: 1 !important;
    text-align: center !important;
    height: 50px !important;
}

.btn-container .btn-google.bgWhite::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent) !important;
    transition: 0.6s !important;
    z-index: -1 !important;
}

.btn-container .btn-google.bgWhite::after {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(45deg, #4285F4, #34A853, #FBBC05, #EA4335) !important;
    background-size: 400% !important;
    z-index: -2 !important;
    filter: blur(5px) !important;
    opacity: 0 !important;
    transition: opacity 0.4s ease !important;
    border-radius: 30px !important;
}

.btn-container .btn-google.bgWhite:hover {
    transform: translateY(-5px) scale(1.03) !important;
    box-shadow: 0 15px 30px rgba(66, 133, 244, 0.4), 0 0 30px rgba(66, 133, 244, 0.3) !important;
    color: #ffffff !important;
}

.btn-container .btn-google.bgWhite:hover::before {
    left: 100% !important;
}

.btn-container .btn-google.bgWhite:hover::after {
    opacity: 1 !important;
    animation: animate-glow-google 4s linear infinite !important;
}

@keyframes animate-glow-google {
    0% {
        background-position: 0 0;
    }
    50% {
        background-position: 400% 0;
    }
    100% {
        background-position: 0 0;
    }
}

.btn-container .btn-google.bgWhite .iconGoogle {
    position: relative !important;
    padding-left: 32px !important;
    font-size: 16px !important;
    display: inline-flex !important;
    align-items: center !important;
    color: #4285F4 !important;
    font-weight: 600 !important;
}

.btn-container .btn-google.bgWhite .iconGoogle:before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 24px !important;
    height: 24px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 48 48'%3E%3Cdefs%3E%3Cpath id='a' d='M44.5 20H24v8.5h11.8C34.7 33.9 30.1 37 24 37c-7.2 0-13-5.8-13-13s5.8-13 13-13c3.1 0 5.9 1.1 8.1 2.9l6.4-6.4C34.6 4.1 29.6 2 24 2 11.8 2 2 11.8 2 24s9.8 22 22 22c11 0 21-8 21-22 0-1.3-.2-2.7-.5-4z'/%3E%3C/defs%3E%3CclipPath id='b'%3E%3Cuse xlink:href='%23a' overflow='visible'/%3E%3C/clipPath%3E%3Cpath clip-path='url(%23b)' fill='%23FBBC05' d='M0 37V11l17 13z'/%3E%3Cpath clip-path='url(%23b)' fill='%23EA4335' d='M0 11l17 13 7-6.1L48 14V0H0z'/%3E%3Cpath clip-path='url(%23b)' fill='%2334A853' d='M0 37l30-23 7.9 1L48 0v48H0z'/%3E%3Cpath clip-path='url(%23b)' fill='%234285F4' d='M48 48L17 24l-4-3 35-10z'/%3E%3C/svg%3E") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    transition: transform 0.3s ease !important;
    filter: drop-shadow(0 0 5px rgba(66, 133, 244, 0.8)) !important;
}

.btn-container .btn-google.bgWhite:hover .iconGoogle {
    color: #fff7e0 !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7) !important;
}

@media (max-width: 480px) {
    .btn-container {
        max-width: 240px !important;
    }

    .btn-container .btn-google.bgWhite {
        padding: 12px 20px !important;
        font-size: 16px !important;
        height: 46px !important;
    }

    .btn-container .btn-google.bgWhite .iconGoogle {
        font-size: 14px !important;
        padding-left: 28px !important;
    }

    .btn-container .btn-google.bgWhite .iconGoogle:before {
        width: 20px !important;
        height: 20px !important;
    }
}
