/* ===================================
   Gallery Section - １台から複数台のエアコン工事を承ります！
   =================================== */

.gallery-section {
    position: relative;
    background: linear-gradient(to bottom, rgba(24, 110, 194, 1) 0%, rgba(37, 149, 234, 1) 100%);
    padding: 80px 0 180px;
    overflow: hidden;
}

.gallery-section__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* タイトル */
.gallery-section__title {
    font-size: 57.6px;
    font-weight: 700;
    text-align: center;
    color: #ffffff;
    margin-bottom: 60px;
    letter-spacing: 0.05em;
}

/* 画像コンテナ */
.gallery-images {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

/* 個別画像 - ホバー時に大きく拡大 */
.gallery-image {
    position: relative;
    overflow: hidden;
    width: 432px;
    height: 732px;
}

.gallery-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* ホバー時に画像を大きく拡大 */
.gallery-image:hover img {
    transform: scale(1.15);
}

/* CTAボタン - 白枠アウトライン付き */
.gallery-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 25.2px;
    background-color: #f5a623;
    color: #ffffff;
    padding: 36px 81px;
    border-radius: 50px;
    border: 3px solid #ffffff;
    text-decoration: none;
    font-size: 36px;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: background-color 0.3s ease, filter 0.3s ease;
}

/* ホバー時に明るくなる */
.gallery-cta-button:hover {
    background-color: #ffb940;
    filter: brightness(1.1);
}

.gallery-cta-button svg {
    width: 46.8px;
    height: 46.8px;
    flex-shrink: 0;
}

/* 波形シェイプディバイダー */
.gallery-section__wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    overflow: hidden;
}

.gallery-section__wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

/* ===================================
   Responsive Styles
   =================================== */

/* 大画面 */
@media (max-width: 1400px) {
    .gallery-image {
        width: 384px;
        height: 650px;
    }

    .gallery-images {
        gap: 18px;
    }

    .gallery-section__title {
        font-size: 50.4px;
    }
}

/* タブレット */
@media (max-width: 1024px) {
    .gallery-section {
        padding: 60px 0 140px;
    }

    .gallery-section__inner {
        padding: 0 30px;
    }

    .gallery-section__title {
        font-size: 43.2px;
        margin-bottom: 50px;
    }

    .gallery-image {
        width: 336px;
        height: 569px;
    }

    .gallery-images {
        gap: 14.4px;
        margin-bottom: 50px;
    }

    .gallery-cta-button {
        padding: 32.4px 72px;
        font-size: 32.4px;
    }

    .gallery-section__wave svg {
        height: 100px;
    }
}

@media (max-width: 900px) {
    .gallery-image {
        width: 288px;
        height: 488px;
    }

    .gallery-section__title {
        font-size: 38.4px;
    }
}

/* スマートフォン */
@media (max-width: 768px) {
    .gallery-section {
        padding: 50px 0 120px;
    }

    .gallery-section__inner {
        padding: 0 20px;
    }

    .gallery-section__title {
        font-size: 31.2px;
        margin-bottom: 40px;
        line-height: 1.4;
    }

    .gallery-images {
        flex-direction: column;
        align-items: center;
        gap: 24px;
        margin-bottom: 40px;
    }

    .gallery-image {
        width: 360px;
        height: 610px;
    }

    .gallery-cta-button {
        padding: 28.8px 63px;
        font-size: 28.8px;
        gap: 18px;
    }

    .gallery-cta-button svg {
        width: 39.6px;
        height: 39.6px;
    }

    .gallery-section__wave svg {
        height: 60px;
    }
}

/* 小さいスマートフォン */
@media (max-width: 480px) {
    .gallery-section__title {
        font-size: 26.4px;
    }

    .gallery-image {
        width: 312px;
        height: 528px;
    }

    .gallery-cta-button {
        padding: 25.2px 54px;
        font-size: 27px;
    }
}