/* Footer Styles for ゴミ屋敷片付けプロ Theme */

/* Final CTA Section (Before Footer) */
.final-cta {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    padding: 80px 0;
    margin-top: 80px;
}

.final-cta__content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.final-cta__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.final-cta__subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.6;
}

.final-cta__buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Main Footer */
.site-footer {
    background: linear-gradient(180deg, #1f2937 0%, #111827 100%);
    color: white;
}

.footer-main {
    padding: 60px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section {
    padding: 0;
}

.footer-title {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
}

/* Company Info */
.footer-company .company-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.footer-company .company-description {
    color: #d1d5db;
    margin-bottom: 20px;
    line-height: 1.6;
}

.office-info h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 10px;
}

.area-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.area-list li {
    margin-bottom: 8px;
    color: #d1d5db;
}

.area-list a {
    color: #fbbf24;
    text-decoration: none;
    font-weight: 600;
}

.area-list a:hover {
    color: #fde047;
}

.business-hours {
    color: #d1d5db;
    font-size: 0.9rem;
}

/* Footer Menus */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu li a {
    color: #d1d5db;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.footer-menu li a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-menu li a::before {
    content: '▸';
    color: #4f46e5;
}

/* Footer Top */
.footer-top {
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-widget {
    padding: 0;
}

.footer-widget h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
}

/* Footer Links */
.footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget ul li {
    margin-bottom: 10px;
}

.footer-widget ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.footer-widget ul li a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-widget ul li a::before {
    content: '▸';
    color: #4f46e5;
}

/* Company Info Widget */
.footer-company-info {
    line-height: 1.8;
}

.footer-company-info .company-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.footer-company-info .info-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    color: #d1d5db;
}

.footer-company-info .info-item .icon {
    color: #4f46e5;
    min-width: 20px;
}

/* Contact Widget */
.footer-contact {
    background: rgba(79, 70, 229, 0.1);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(79, 70, 229, 0.2);
}

.footer-contact .phone-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 10px;
    display: block;
    text-decoration: none;
}

.footer-contact .phone-number:hover {
    color: #fde047;
}

.footer-contact .business-hours {
    color: #d1d5db;
    font-size: 0.9rem;
}

.footer-contact .cta-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.footer-contact .btn {
    flex: 1;
    padding: 10px 15px;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-contact .btn-line {
    background: #06c755;
    color: white;
}

.footer-contact .btn-line:hover {
    background: #05a847;
}

.footer-contact .btn-mail {
    background: #ea580c;
    color: white;
}

.footer-contact .btn-mail:hover {
    background: #dc2626;
}

/* Service Areas Widget */
.footer-areas {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.footer-areas a {
    color: #d1d5db;
    text-decoration: none;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    text-align: center;
    transition: all 0.3s ease;
}

.footer-areas a:hover {
    background: rgba(79, 70, 229, 0.2);
    color: white;
}

/* Footer Middle */
.footer-middle {
    padding: 30px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    color: #d1d5db;
}

.footer-badge .icon {
    font-size: 1.5rem;
}

.footer-badge .text {
    font-size: 0.9rem;
}

/* Footer Bottom */
.footer-bottom {
    padding: 20px 0;
    text-align: center;
    color: #9ca3af;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d1d5db;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    transform: translateY(-3px);
}

/* Fixed Footer Bar (Mobile) */
@media (max-width: 768px) {
    .fixed-footer-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
        display: flex;
        padding: 8px;
        gap: 8px;
    }
    
    .fixed-footer-bar .btn {
        flex: 1;
        padding: 12px 8px;
        text-align: center;
        border-radius: 8px;
        text-decoration: none;
        font-weight: 600;
        font-size: 0.85rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }
    
    .fixed-footer-bar .btn .icon {
        font-size: 1.2rem;
    }
    
    .fixed-footer-bar .btn .text {
        font-size: 0.7rem;
    }
    
    .fixed-footer-bar .btn-phone {
        background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
        color: white;
    }
    
    .fixed-footer-bar .btn-line {
        background: #06c755;
        color: white;
    }
    
    .fixed-footer-bar .btn-mail {
        background: #4f46e5;
        color: white;
    }
    
    /* Add padding to main content to prevent overlap */
    main {
        padding-bottom: 70px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .site-footer {
        padding: 40px 0 80px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .badges-content {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .badge-item {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .footer-bottom__content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .legal-links {
        justify-content: center;
    }
    
    .final-cta__buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .final-cta__title {
        font-size: 2rem;
    }
    
    .final-cta__subtitle {
        font-size: 1.1rem;
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 998;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.3);
}

.scroll-to-top.visible {
    display: flex;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.4);
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 90px;
        right: 15px;
        width: 45px;
        height: 45px;
    }
}

/* Missing Classes from footer.php */
.badges-content {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    color: #d1d5db;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.badge-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.badge-icon {
    font-size: 1.5rem;
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 500;
}

.footer-bottom__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    font-size: 0.9rem;
    margin: 0;
    color: #9ca3af;
}

.legal-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.legal-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: white;
}

.separator {
    color: #6b7280;
    user-select: none;
}

/* Update footer-badges section background */
.footer-badges {
    background: rgba(0, 0, 0, 0.3);
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}