/* 清掃サービスページ専用スタイル */

/* Hero Section */
.cleaning-hero {
    position: relative;
    height: 100vh;
    background:
                url('../images/cleaning/1.png') no-repeat center/cover;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 0 10% 100px;
}

.cleaning-hero-content {
    text-align: left;
    color: #ffffff;
    max-width: 600px;
}

.cleaning-hero-content h1 {
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    opacity: 0.9;
}

/* Why Cleaning Section */
.why-cleaning {
    padding: 100px 10%;
    background-color: #fff;
}

.why-cleaning-inner {
    display: flex;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.why-cleaning-images {
    flex: 0 0 45%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    margin-top: -140px;
}

.cleaning-img-main {
    width: 100%;
    max-width: 500px;
    position: relative;
    z-index: 2;
    padding: 0.521rem;
    background-color: #ffffff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.35);
}

.cleaning-img-main img {
    width: 100%;
    height: auto;
    display: block;

}

.cleaning-img-sub {
    width: 350px;
    padding: 0.521rem;
    background-color: #ffffff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.35);
}

.cleaning-img-sub img {
    width: 100%;
    height: auto;
    display: block;
}

.why-cleaning-text {
    flex: 1;
}

.why-cleaning-text h2 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
    line-height: 1.6;
   
}

.why-cleaning-text p {
    font-size: 0.95rem;
    line-height: 2;
    color: #666;
}

/* Features Section */
.cleaning-features {
    padding: 50px 10%;
    background-color: #f7f7f7;
}

.features-container {
    background-color: #ffffff;
    padding: 10px;
    max-width: 1200px;
    margin: 0 auto;
}

.features-section-title {
    text-align: left;
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin: 20px 0px;
}

.cleaning-features .cleaning-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.cleaning-features .cleaning-feature-item {
    background: #fff;
    overflow: hidden;
}

.cleaning-features .cleaning-feature-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.cleaning-features .cleaning-feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cleaning-features .cleaning-feature-content {
    padding: 25px 10px;
}

.cleaning-features .cleaning-feature-content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.check-icon {
    color: #8b4513;
    font-weight: bold;
}

.cleaning-features .cleaning-feature-content p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
    text-align: left;
}

/* Service Flow Section */
.service-flow {
    padding: 100px 10%;
    background-color: #fff;
}

.flow-section-title {
    text-align: left;
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 60px;
   
}

.flow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
}

.flow-item {
    text-align: center;
}

.flow-img {
    width: 100%;
    overflow: hidden;
    margin-bottom: 20px;
}

.flow-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flow-content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.flow-content p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
}

.flow-item:nth-child(2) .flow-content,
.flow-item:nth-child(4) .flow-content {
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 1024px) {
    .why-cleaning-inner {
        flex-direction: column;
        gap: 50px;
    }
    
    .why-cleaning-images {
        flex: 1;
        width: 100%;
    }
    
    .cleaning-img-sub {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 20px;
    }
    
    .cleaning-features .cleaning-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .flow-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Hero Section Mobile */
    .cleaning-hero {
        height: 100vh;
        min-height: 500px;
        padding: 0 5% 80px;
        align-items: flex-end;
    }

    .cleaning-hero-content {
        text-align: center;
        max-width: 100%;
    }

    .cleaning-hero-content h1 {
        font-size: 1.8rem;
        letter-spacing: 0.08em;
        line-height: 1.4;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        letter-spacing: 0.05em;
        margin-top: 10px;
    }

    /* Why Cleaning Section Mobile */
    .why-cleaning {
        padding: 60px 5%;
    }

    .why-cleaning-inner {
        flex-direction: column;
        gap: 40px;
    }

    .why-cleaning-images {
        flex: 1;
        width: 100%;
        margin-top: 0;
    }

    .cleaning-img-main {
        max-width: 100%;
        padding: 4px;
    }

    .cleaning-img-sub {
        width: 80%;
        max-width: 280px;
        margin: 15px auto 0;
        padding: 4px;
    }

    .why-cleaning-text {
        flex: 1;
        text-align: center;
    }

    .why-cleaning-text h2 {
        font-size: 1.3rem;
        margin-bottom: 20px;
        line-height: 1.5;
    }

    .why-cleaning-text p {
        font-size: 0.9rem;
        line-height: 1.8;
    }

    /* Features Section Mobile */
    .cleaning-features {
        padding: 50px 5%;
    }

    .features-container {
        padding: 8px;
    }

    .features-section-title {
        font-size: 1.3rem;
        margin: 15px 0;
        text-align: center;
    }

    .cleaning-features .cleaning-features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .cleaning-features .cleaning-feature-img {
        height: 200px;
    }

    .cleaning-features .cleaning-feature-content {
        padding: 20px 15px;
    }

    .cleaning-features .cleaning-feature-content h3 {
        font-size: 0.95rem;
    }

    .cleaning-features .cleaning-feature-content p {
        font-size: 0.85rem;
    }

    /* Service Flow Section Mobile */
    .service-flow {
        padding: 50px 5%;
    }

    .flow-section-title {
        font-size: 1.3rem;
        margin-bottom: 40px;
        text-align: center;
    }

    .flow-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .flow-item {
        display: flex;
        flex-direction: column;
    }

    .flow-img {
        order: 1;
        height: 200px;
        margin-bottom: 15px;
    }

    .flow-content {
        order: 2;
    }

    .flow-content h3 {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }

    .flow-content p {
        font-size: 0.85rem;
    }

    .flow-item:nth-child(2) .flow-content,
    .flow-item:nth-child(4) .flow-content {
        margin-bottom: 0;
    }
}

/* 更小屏幕的优化 */
@media (max-width: 480px) {
    .cleaning-hero-content h1 {
        font-size: 1.5rem;
        letter-spacing: 0.05em;
    }

    .hero-subtitle {
        font-size: 0.8rem;
    }

    .why-cleaning-text h2 {
        font-size: 1.1rem;
    }

    .why-cleaning-text p {
        font-size: 0.85rem;
    }

    .features-section-title {
        font-size: 1.2rem;
    }

    .cleaning-features .cleaning-feature-img {
        height: 180px;
    }

    .cleaning-features .cleaning-feature-content h3 {
        font-size: 0.9rem;
    }

    .cleaning-features .cleaning-feature-content p {
        font-size: 0.8rem;
    }

    .flow-section-title {
        font-size: 1.2rem;
    }

    .flow-img {
        height: 180px;
    }

    .flow-content h3 {
        font-size: 0.9rem;
    }

    .flow-content p {
        font-size: 0.8rem;
    }
}
