/* Animated Background Styles */
.animated-bg {
    position: relative;
    overflow: hidden;
    background-color: white;
}

/* .animated-bg::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: 
        linear-gradient(45deg, rgba(66, 133, 244, 0.03) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(66, 133, 244, 0.03) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(66, 133, 244, 0.03) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(66, 133, 244, 0.03) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    animation: patternMove 30s linear infinite;
    z-index: 0;
} */

/* .animated-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(66, 133, 244, 0.02) 25%, 
        transparent 25%, 
        transparent 50%, 
        rgba(66, 133, 244, 0.02) 50%, 
        rgba(66, 133, 244, 0.02) 75%, 
        transparent 75%, 
        transparent);
    background-size: 100px 100px;
    animation: gradientMove 10s linear infinite;
} */

.animated-bg .gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(249, 249, 253, 0.5), 
        rgba(245, 247, 250, 0.5));
    animation: colorShift 8s ease-in-out infinite;
}

.animated-bg .container {
    position: relative;
    z-index: 1;
}

/* その他のお問い合わせ方法 section styles */
.contact-methods-section {
    background: linear-gradient(135deg, #4a90e2, #5637d1);
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-methods-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern.png') repeat;
    opacity: 0.1;
}

.contact-methods-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.1));
}

.contact-methods-section .container {
    position: relative;
    z-index: 1;
}

.contact-methods-section .section-title {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.contact-method {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(5px);
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.contact-icon {
    color: white;
    transition: transform 0.3s ease;
}

.contact-method:hover .contact-icon {
    transform: scale(1.1);
}

.contact-method h3 {
    color: white;
    margin-bottom: 1rem;
}

.contact-method p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
}

.contact-method .small {
    color: rgba(255, 255, 255, 0.7);
}

/* Floating Elements */
.contact-methods-section .floating-element {
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
}

.contact-methods-section .floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.contact-methods-section .floating-element:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.contact-methods-section .floating-element:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes patternMove {
    0% {
        background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    }
    100% {
        background-position: 500px 500px, 500px 510px, 510px 490px, 490px 500px;
    }
}

@keyframes gradientMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100px 100px;
    }
}

@keyframes colorShift {
    0% {
        background: linear-gradient(135deg, 
            rgba(249, 249, 253, 0.5), 
            rgba(245, 247, 250, 0.5));
    }
    50% {
        background: linear-gradient(135deg, 
            rgba(245, 247, 250, 0.5), 
            rgba(249, 249, 253, 0.5));
    }
    100% {
        background: linear-gradient(135deg, 
            rgba(249, 249, 253, 0.5), 
            rgba(245, 247, 250, 0.5));
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
} 