/* Custom CSS for リノベマニア */

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #000000;
    background-color: #ffffff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

.font-montserrat {
    font-family: 'Montserrat', sans-serif;
}

/* Hero Section */
#hero {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Swiper Customization */
.instagram-swiper {
    padding: 0 20px 40px 20px;
}

.instagram-swiper .swiper-slide {
    width: 300px;
    height: 300px;
}

.instagram-swiper .swiper-pagination {
    bottom: 0;
}

.instagram-swiper .swiper-pagination-bullet {
    background: #000000;
    opacity: 0.3;
}

.instagram-swiper .swiper-pagination-bullet-active {
    opacity: 1;
}

/* Fixed CTA Styles */
#fixed-cta {
    animation: slideInUp 0.5s ease-out;
}

@keyframes slideInUp {
    from {
        transform: translate(-50%, 100%);
        opacity: 0;
    }
    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

/* Hover Effects */
.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* Service Cards */
.service-card {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.service-card:hover {
    border-color: #000000;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Review Cards */
.review-card {
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    #hero h1 {
        font-size: 2.5rem;
    }
    
    #hero p {
        font-size: 1.1rem;
    }
    
    .instagram-swiper .swiper-slide {
        width: 250px;
        height: 250px;
    }
    
    #fixed-cta {
        bottom: 10px;
        width: 95%;
    }
}

@media (max-width: 480px) {
    #hero h1 {
        font-size: 2rem;
    }
    
    .instagram-swiper .swiper-slide {
        width: 200px;
        height: 200px;
    }
    
    section {
        padding: 3rem 1rem;
    }
}

/* Loading Animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Brand Colors */
.bg-brand-green {
    background-color: #006240;
}

.text-brand-green {
    color: #006240;
}

.border-brand-green {
    border-color: #006240;
}

/* Utility Classes */
.section-padding {
    padding: 4rem 1rem;
}

.container-max {
    max-width: 1200px;
    margin: 0 auto;
}

/* Focus States for Accessibility */
a:focus,
button:focus {
    outline: 2px solid #006240;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    #fixed-cta {
        display: none;
    }
    
    .no-print {
        display: none;
    }
}

