/* フロントページ専用CSS */
/* Front Page Styles - Nested Structure based on front-page.php */

a {
    transition: all 0.3s ease;
    &:hover {
        opacity: 0.8;
        transform: translateY(-2px);
    }
}
a:visited {
    color: #1E5698;
}
@media screen and (max-width: 768px) {
    a:visited {
        color: #fff;
    }
}

/* ヒーロー画像スライダー */
.fp-hero {
    position: relative;
    padding-bottom: 120px;
    margin-top: 40px;
    &::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 480px;
        background-color: #1E5698;
    }
    .custom-slider-wrapper {
        width: 100%;
        /* overflow: hidden; */
        position: relative;
    }
    .custom-slider {
        width: 100%;
        height: 560px;
        margin: 0 auto;
        margin-bottom: 40px;
    }
    .custom-slider .carousel-cell {
        width: auto;
        height: 560px;
        padding: 0 20px;
    }
    .custom-slider .carousel-cell.is-selected {
        z-index: 1;
    }
    .custom-slider .carousel-cell a {
        display: block;
        width: 100%;
        height: 100%;
        transition: all 0.3s ease;
        &:hover {
            opacity: 1;
            transform: none;
            img {
                opacity: 1;
                filter: brightness(1.1) contrast(1.05) saturate(1.1);
            }
        }
    }
    .custom-slider .carousel-cell a.disabled {
        cursor: default;
        &:hover {
            img {
                filter: none;
            }
        }
    }
    .custom-slider .carousel-cell img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 20px;
        transition: filter 0.3s ease;
    }
    .flickity-button {
        width: 40px;
        height: 40px;
        outline: none;
        display: none;
    }
    .flickity-button:hover,
    .flickity-button:focus,
    .flickity-button:active {
        outline: none;
    }
    .flickity-button::-moz-focus-inner {
        border: 0;
    }
    .flickity-prev-next-button.previous {
        left: calc(50% - 420px);
        display: none !important;
    }
    .flickity-prev-next-button.next {
        right: calc(50% - 420px);
        display: none !important;
    }
    .flickity-page-dots {
        max-width: 1280px;
        padding: 0 40px;
        display: flex;
        justify-content: end;
        left: 50%;
        transform: translateX(-50%);
        bottom: -80px;
    }
    .flickity-page-dots .dot {
        width: 12px;
        height: 12px;
        margin: 0 6px;
        opacity: 1;
        border: 1px solid #fff;
        background: transparent;
    }
    .flickity-page-dots .dot.is-selected {
        background: #fff;
    }
}

/* Flickityの矢印ボタンを確実にクリックできるようにする */
.flickity-button {
    z-index: 1000 !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid #ddd !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
}

.flickity-button:hover {
    background: rgba(255, 255, 255, 1) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

.flickity-button:disabled {
    opacity: 0.3 !important;
    cursor: not-allowed !important;
}

.flickity-button-icon {
    width: 20px !important;
    height: 20px !important;
}

.flickity-button-icon .arrow {
    fill: #333 !important;
}

/* 施工事例セクションでのFlickityボタンの位置調整 */
.fp-post.performance .flickity-button {
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.fp-post.performance .flickity-button.previous {
    left: 10px !important;
}

.fp-post.performance .flickity-button.next {
    right: 10px !important;
}

/* 紹介セクション */
.fp-intro {
    position: relative;
    margin: 80px 0;
    
    .fp-intro__container {
        width: 100%;
        max-width: 1280px;
        padding: 0 40px;
        margin: auto;
        
        .fp-intro__content {
            position: absolute;
            transform: translate(0%, -50%);
            top: 40%;
            letter-spacing: .3em;
            font-size: 1.2em;
            font-family: "Noto Sans", "Noto Sans CJK JP", sans-serif;
            
            .fp-intro__subtitle {
                font-size: 1.2em;
                margin-bottom: 50px !important;
                font-family: "Noto Sans", "Noto Sans CJK JP", sans-serif;
            }
            
            .fp-intro__main {
                font-size: 1.2em;
                margin-bottom: .6em;
                font-family: "Noto Sans", "Noto Sans CJK JP", sans-serif;
                
                .fp-intro__highlight {
                    font-size: 3.2em;
                    line-height: 1.15;
                }
            }
            
            .fp-intro__promise {
                font-size: 1.2em;
                margin-bottom: .6em;
                font-family: "Noto Sans", "Noto Sans CJK JP", sans-serif;
            }
        }
        
        .fp-intro__badge {
            position: absolute;
            width: 100%;
            height: auto;
            max-width: min(20vw, 320px);
            object-fit: contain;
            object-position: center;
            
            &.fp-intro__badge--1 {
                right: calc(100% * 100 / 1200);
                top: calc(50% - 16vw);
                transform: translate(0%, -50%);
            }
            
            &.fp-intro__badge--2 {
                right: calc(100% * 375 / 1200);
                top: 40%;
            }
            
            &.fp-intro__badge--3 {
                right: calc(100% * 100 / 1200);
                top: calc(50% + 16vw);
                transform: translate(0%, -50%);
            }
        }
        
        .fp-intro__map {
            max-width: min(55vw, 930px);
            height: auto;
            width: 100%;
            margin-top: 50px;
            margin-left: -7vw;
        }
    }
}

/* 工事までの流れ */
.fp-flow {
    padding: 80px 0;
    background-color: #1E5698;
    width: 100vw;
    margin: 0 calc(50% - 50vw);
    
    .fp-flow__title {
        text-align: center;
        font-size: 80px;
        font-weight: 400;
        font-family: "Outfit", sans-serif;
        margin-bottom: 40px;
        color: #fff;
        line-height: 1;
        
        .fp-flow__subtitle {
            display: block;
            font-size: 16px;
            margin-top: 10px;
            color: #fff;
        }
    }
    
    .fp-flow__container {
        max-width: 800px;
        margin: 0 auto;
        padding: 0 20px;
        display: grid;
        grid-template-columns: repeat(3, minmax(200px, 250px));
        gap: 40px;
        justify-content: center;
        
        .fp-flow__item {
            background: #fff;
            padding: 20px;
            border-radius: 8px;
            text-align: center;
            position: relative;
            display: flex;
            flex-direction: column;
            aspect-ratio: 1;
            
            .fp-flow__image {
                flex: 1;
                display: flex;
                align-items: center;
                justify-content: center;
                margin: 0 auto;
                
                img {
                    width: 100%;
                    height: 100%;
                    max-width: 100px;
                    max-height: 100px;
                    object-fit: contain;
                }
            }
            
            .fp-flow__step-title {
                font-size: 18px;
                color: #1E5698;
                margin: 0 0 15px;
                line-height: 1.4;
                order: -1;
            }
            
            &:not(:last-child)::before {
                content: '';
                position: absolute;
                right: -12%;
                top: 50%;
                transform: translateY(-50%);
                width: 0;
                height: 0;
                border-style: solid;
                border-width: 10px 0 10px 15px;
                border-color: transparent transparent transparent #fff;
            }
        }
    }
}

/* トピックス */
.fp-post {
    padding: 80px 0;
    background: #F7FAFF;

    &.column {
        background: #fff;
        .fp-post__post-type {
            display: none !important;
        }
    }
    &.topic {
        .fp-post__post-type {
            display: none !important;
        }
    }
    
    .fp-post__title {
        max-width: 1280px;
        padding: 0 40px;
        margin: 0 auto 60px auto;
        text-align: left;
        
        .fp-post__title-sub {
            display: block;
            font-size: 18px;
            font-weight: 400;
            color: #1E5698;
        }
        
        .fp-post__title-main {
            display: block;
            font-size: 80px;
            font-weight: 400;
            line-height: 1;
            color: #1E5698;
            font-family: "Outfit" !important;
        }
    }
    
    .fp-post__container {
        max-width: 1280px;
        margin: 0 auto;
        padding: 0 40px;
        
        .fp-post__carousel {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 60px;
            
            .fp-post__item {
                overflow: hidden;
                transition: all 0.3s ease;
                
                .fp-post__link {
                    display: block;
                    text-decoration: none;
                    color: inherit;
                    height: 100%;
                    
                    .fp-post__image {
                        position: relative;
                        width: 100%;
                        height: auto;
                        aspect-ratio: 3 / 2;
                        overflow: hidden;
                        margin: 0;
                        border-radius: 20px;
                        
                        .fp-post__img {
                            width: 100%;
                            height: 100%;
                            object-fit: cover;
                            transition: transform 0.3s ease;
                        }
                    }
                    
                    .fp-post__content {
                        padding-top: 20px;
                        
                        .fp-post__meta {
                            display: flex;
                            justify-content: space-between;
                            align-items: flex-start;
                            gap: 12px;
                            margin-bottom: 12px;
                        }
                        
                        .fp-post__post-type {
                            display: inline-block;
                            font-size: 12px;
                            font-weight: 600;
                            padding: 4px 8px;
                            margin-bottom: 8px;
                            border-radius: 20px;
                            text-transform: uppercase;
                            letter-spacing: 0.5px;
                            flex-shrink: 0;
                            background: #1E5698;
                            color: #fff;
                        }
                        
                        .fp-post__date {
                            font-size: 14px;
                            color: #1E5698;
                            font-weight: 400;
                            opacity: 0.8;
                        }
                        
                        .fp-post__item-title {
                            font-size: 16px;
                            font-weight: normal;
                            line-height: 1.5;
                            margin: 0 0 12px 0;
                            color: #1E5698;
                            display: -webkit-box;
                            -webkit-line-clamp: 2;
                            -webkit-box-orient: vertical;
                            overflow: hidden;
                        }
                    }
                }
            }
            
            .fp-post__no-posts {
                grid-column: 1 / -1;
                text-align: center;
                padding: 60px 20px;
                font-size: 18px;
                color: #666;
                background: #fff;
                border-radius: 12px;
                box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            }
        }
    }
    
    .fp-post__more-btn {
        max-width: 1280px;
        margin:40px auto 0 auto;
        padding: 0 40px;
        
        
        .fp-post__more-buttons {
            display: flex;
            gap: 20px;
            justify-content: end;
            
            a {
                position: relative;
                font-size: 14px;
                text-decoration: none;
                border-radius: 50px;
                padding: 20px;
                text-align: center;
                width: 200px;
                margin-top: 0;
                color: #fff;
                background-color: #1E5698;
                
                &::after {
                    position: absolute;
                    top: 50%;
                    right: 15px;
                    z-index: 3;
                    width: 20px;
                    height: 20px;
                    font-family: "Font Awesome 5 Free";
                    content: "\f054";
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    font-weight: 600;
                    font-size: .5em;
                    background: #fff;
                    border-radius: 50%;
                    transform: translate(0%, -50%);
                    color: #1E5698;
                }
                
                /* &.fp-post__contact-btn--tel {
                    padding-left: 8px;
                    color: #fff;
                    background: #F98B3C;
                    
                    &::after {
                        color: #F98B3C;
                    }
                }
                
                &.fp-post__contact-btn--mail {
                    padding-left: 6px;
                    color: #1E5698;
                    background: #fff;
                    
                    &::after {
                        border: 1px solid #1E5698;
                        color: #1E5698;
                    }
                }
                
                &.fp-post__contact-btn--line {
                    padding-left: 6px;
                    color: #fff;
                    background: #4cc764;
                    
                    &::after {
                        color: #4cc764;
                    }
                } */
            }
        }
    }

    &.performance {
        padding: 80px 0;
        background: #F7FAFF;
    }
}

/* プラン比較表 */
.fp-plans {
    max-width: 1280px;
    padding: 80px 40px;
    margin: 0 auto;
    background: #fff;

    .fp-plans--roof {
        padding: 40px 20px;
        border-radius: 15px;
        border: 2px solid rgba(35, 69, 169, .1);
        margin-bottom: 60px;
    }

    .fp-plans--wall {
        padding: 40px 20px;
        border-radius: 15px;
        border: 2px solid rgba(35, 69, 169, .1);
    }
    
    .fp-plans__title {
        text-align: center;
        font-size: 1.8em;
        font-weight: 700;
        margin: 0 0 30px;
        color: #1E5698;
        position: relative;
        padding-bottom: 15px;
        
        &::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background: #1E5698;
            border-radius: 2px;
        }
    }
    
    .fp-plans__table-wrapper {
        overflow-x: auto;
        border-radius: 12px;
        
        .fp-plans__table {
            width: 100%;
            min-width: 800px;
            border-collapse: collapse;
            background: #fff;
            border-radius: 12px;
            overflow: hidden;
            
            .fp-plans__header {
                width: 20%;
                min-width: 160px;
                padding: 15px 12px;
                font-size: 16px;
                font-weight: 600;
                text-align: center;
                color: #fff;
                background: #1E5698;
                border: 1px solid rgba(35, 69, 169, .1);
                vertical-align: middle;
                position: relative;
            }
            
            .fp-plans__item {
                padding: 15px 12px;
                padding-left: 20px;
                font-size: 14px;
                font-weight: 700;
                text-align: left;
                color: #1E5698;
                background: #F7FAFF;
                border: 1px solid rgba(35, 69, 169, .1);
                vertical-align: middle;
                position: relative;
                
                .fp-plans__price-note {
                    display: inline;
                    margin-left: 8px;
                    font-size: 12px;
                    font-weight: 400;
                    color: #1E5698;
                }
            }
            
            .fp-plans__price {
                padding: 15px 12px;
                font-size: 14px;
                font-weight: 700;
                text-align: center;
                color: #ff6b00;
                border: 1px solid rgba(35, 69, 169, .1);
            }
            
            .fp-plans__duration {
                padding: 15px 12px;
                font-size: 14px;
                font-weight: 700;
                text-align: center;
                color: #1E5698;
                border: 1px solid rgba(35, 69, 169, .1);
            }
            
            .fp-plans__rating {
                padding: 15px 12px;
                font-size: 14px;
                font-weight: 700;
                text-align: center;
                border: 1px solid rgba(35, 69, 169, .1);
                
                &.fp-plans__rating--2 {
                    color: #ff9500;
                }
                
                &.fp-plans__rating--3 {
                    color: #ff6b00;
                }
            }

            tbody tr:nth-child(even) {
                background: #F7FAFF;
            }
        }
    }
    
    .fp-plans__button-wrap {
        margin-top: 30px;
        padding-top: 20px;
        text-align: center;
        
        .fp-plans__button {
            display: inline-block;
            padding: 15px 40px;
            font-size: 14px;
            font-weight: 400;
            text-decoration: none;
            color: #fff !important;
            background: #1E5698;
            border-radius: 50px;
            
            &::after {
                content: '→';
                margin-left: 8px;
            }
        }
    }
}

/* 選ばれる理由 */
.fp-reasons {
    margin-top: 60px;
    padding: 0;
    
    .fp-reasons__nav {
        display: flex;
        justify-content: end;
        max-width: 1280px;
        margin: 0 auto 0 auto;
        padding: 0 40px;
        gap: 10px;
        
        .fp-reasons__nav-btn {
            background: #1E5698;
            color: #fff;
            border: none;
            padding: 12px 24px;
            border-radius: 16px 16px 0 0;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            
            &.fp-reasons__nav-btn--active {
                background: #F7FAFF;
                color: #1E5698;
            }
        }
    }

    .fp-reasons__body {
        background: #F7FAFF;
        padding: 80px 0;
    }
    
    .fp-reasons__title-container {
        max-width: 1280px;
        margin: 0 auto 60px auto;
        padding: 0 40px;
        text-align: left;
        
        .fp-reasons__subtitle {
            font-size: 16px;
            font-weight: 400;
            color: #1E5698;
            margin-bottom: 0;
        }
        
        .fp-reasons__title {
            font-size: 80px;
            font-weight: 400;
            font-family: "Outfit", sans-serif;
            color: #1E5698;
            margin: 0;
            line-height: 1;
        }
    }
    
    .fp-reasons__container {
        max-width: 1280px;
        margin: 0 auto;
        padding: 0 40px;
    }
    
    .fp-reasons__content {
        display: flex;
        gap: 80px;
        align-items: flex-start;
    }
    
    .fp-reasons__left {
        flex: 1;
        max-width: 640px;
        
        .fp-reasons__item {
            display: none;
            
            &.fp-reasons__item--active {
                display: block;
            }
            
            .fp-reasons__number {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                width: 70px;
                height: 40px;
                background: transparent;
                border: 2px solid #1E5698;
                border-radius: 20px;
                color: #1E5698;
                font-size: 24px;
                font-weight: 300;
                font-family: "Outfit", sans-serif;
                margin-bottom: 30px;
            }
            
            .fp-reasons__heading {
                font-size: 52px;
                font-weight: 500;
                color: #222;
                margin: 0 0 30px 0;
                line-height: 1.3;
            }
            
            .fp-reasons__text {
                font-size: 16px;
                line-height: 1.8;
                color: #222;
                margin: 0;
            }
        }
    }
    
    .fp-reasons__right {
        flex: 1;
        max-width: 500px;
        
        .fp-reasons__image-container {
            position: relative;
            width: 100%;
            height: 500px;
            border-radius: 20px;
            overflow: hidden;
            
            .fp-reasons__image {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                object-fit: cover;
                opacity: 0;
                transition: opacity 0.3s ease;
                
                &.fp-reasons__image--active {
                    opacity: 1;
                }
            }
        }
    }
}

/* ランキング */
.fp-ranking {
    margin-bottom: 80px;
    position: relative;
    overflow: hidden;
    
    .fp-ranking__container {
        min-height: 800px;
        margin: 0 calc(50% - 50vw);
        background-color: #1E5698;
        
        &::before {
            content: "";
            position: absolute;
            top: 20px;
            left: 20px;
            width: 560px;
            height: 700px;
            background-image: url(../img/common/ibaraki_map.png);
            background-size: contain;
            background-position: center;
            background-repeat: no-repeat;
            opacity: 1;
            z-index: 1;
        }
        .fp-ranking__header-section {
            position: relative;
            z-index: 2;
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 40px;
            padding-top: 160px;
            
            
            .fp-ranking__content {
                position: relative;
                z-index: 2;
                
                .fp-ranking__header {
                    margin-bottom: 50px;
                    
                    .fp-ranking__subtitle-jp {
                        margin: 0 0 15px 0;
                        font-size: 1.2rem;
                        color: #fff;
                        font-weight: 400;
                        letter-spacing: 0.1em;
                        opacity: 0.9;
                    }
                    
                    .fp-ranking__main-title {
                        margin: 0;
                        font-size: 80px;
                        font-weight: 300;
                        color: #fff;
                        font-family: "Outfit", sans-serif;
                        letter-spacing: 0.05em;
                        line-height: 0.9;
                    }
                }
                

            }
        }
        
        .fp-ranking__image-section {
            position: absolute;
            right: 0;
            max-width: calc(1280px + (100vw - 1280px) / 2);
            height: auto;
            z-index: 2;
            padding-left: 40px;

            .fp-ranking__image-container {
                width: 100%;
                height: 700px;
                position: relative;
                margin: 0;
            }
            
            .fp-ranking__image {
                width: 100%;
                height: 100%;
                object-fit: cover;
                object-position: left;
                border-radius: 30px 0 0 30px;
            }
            
            .fp-ranking__overlay {
                position: absolute;
                top: 260px;
                left: 80px;
                z-index: 2;
                
                .fp-ranking__title {
                    margin: 0 0 25px 0;
                    font-size: 52px;
                    font-weight: 400;
                    color: #fff;
                    line-height: 1.3;
                    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
                    
                    .fp-ranking__subtitle {
                        font-size: 64px;
                        font-weight: 500;
                        color: #FFF;
                        
                        .fp-ranking__highlight {
                            color: #FCD171;
                        }
                    }
                }
                
                .fp-ranking__description {
                    margin: 0;
                    color: #fff;
                    font-size: 16px;
                    letter-spacing: 0.03em;
                    line-height: 1.6;
                    opacity: 0.95;
                    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
                }
            }
        }
    }

    .fp-ranking__questions-container {
        width: 100%;
        max-width: 1280px;
        padding: 0 40px;
        margin: auto;
        display: flex;
        align-items: center;
        margin-top: 280px;
    }
    
    .fp-ranking__questions {
        width: 100%;
        max-width: 1280px;
        margin: auto;
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
        
        .fp-ranking__question {
            position: relative;
            width: calc(50% - 15px);

            &:nth-child(n+3) {
                width: calc(33.33333% - 20px);
            }

            &:last-child {
                .fp-ranking__question-content {
                    border: none;
                }
            }
            
            .fp-ranking__question-content {
                display: flex;
                align-items: center;
                justify-content: center;
                height: 230px;
                padding: 20px;
                text-align: center;
                border: solid 2px #1E5698;
                border-radius: 15px;

                p {
                    margin: 0;
                    font-size: .9em;
                    letter-spacing: .1em;
                    line-height: 1.7;
                    text-align: center;
                }

                img {
                    width: 100%;
                    max-width: 34px;
                    margin: 0 auto;
                }
                
                .fp-ranking__question-title {
                    position: relative;
                    display: inline-block;
                    margin-top: 0;
                    margin-bottom: 1.2em;
                    font-weight: 500;
                    color: #1E5698;
                    
                    &::before {
                        content: "";
                        position: absolute;
                        bottom: -10px;
                        left: 50%;
                        display: inline-block;
                        width: 25px;
                        height: 4px;
                        background-color: #1E5698;
                        border-radius: 2px;
                        -webkit-transform: translateX(-50%);
                        transform: translateX(-50%);
                    }
                }
                
                .fp-ranking__question-text {
                    margin: 0;
                    font-size: .9em;
                    letter-spacing: .1em;
                    line-height: 2.2;
                    text-align: center;
                }
                
                .fp-ranking__answer-btn {
                    position: relative;
                    width: 220px;
                    padding: 20px;
                    text-decoration: none;
                    color: #fff;
                    background-color: #1E5698;
                    border-radius: 50px;
                    
                    &::after {
                        content: "\f054";
                        position: absolute;
                        top: 50%;
                        right: 15px;
                        z-index: 3;
                        width: 18.5px;
                        padding: 3px 5px;
                        font-family: "Font Awesome 5 Free";
                        font-size: .5em;
                        font-weight: 600;
                        color: #1E5698;
                        background: #fff;
                        border-radius: 10px;
                        transform: translate(0%, -50%);
                    }
                }
            }
        }
    }
}

/* 注意喚起 */
.fp-caution {
    margin-top: 80px;
    overflow: hidden;
    background: #f7faff;
    padding: 80px 0;
    
    .fp-caution__container {
        width: 100%;
        max-width: 1280px;
        padding: 0 40px;
        margin: auto;
        
        .fp-caution__header {
            display: flex;
            flex-wrap: wrap;
            
            .fp-caution__location {
                margin-right: 40px;
                
                .fp-caution__label {
                    margin: 0;
                    font-size: 80px;
                    font-family: "Outfit", sans-serif;
                    line-height: 1;
                    letter-spacing: -.04em;
                    color: #1E5698;
                }
                p {
                    margin: 0;
                    color: #1E5698;

                }
            }
            
            .fp-caution__title-wrap {
                position: relative;
                
                .fp-caution__title {
                    margin: 0;
                    padding-left: 40px;
                    font-size: 48px;
                    line-height: 1.3;
                    border-left: solid 1px #1E5698;
                }
            }
        }
        
        .fp-caution__symptoms {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            margin-top: 100px;
            
            .fp-caution__symptom {
                position: relative;
                display: flex;
                gap: 20px;
                width: 100%;
                
                .fp-caution__symptom-image {
                    width: 100%;
                    
                    img {
                        max-width: 100%;
                        border-radius: 15px;
                    }
                }
                
                .fp-caution__symptom-content {
                    width: 100%;
                    
                    .fp-caution__symptom-label {
                        padding: 5px 20px;
                        font-size: .7em;
                        color: #1E5698;
                        border: solid 1px #1E5698;
                        border-radius: 50px;
                    }
                    
                    .fp-caution__symptom-title {
                        margin: 0;
                        font-weight: 500;
                        color: #1E5698;
                    }
                    
                    .fp-caution__symptom-text {
                        margin-bottom: .6em;
                        font-size: .9em;
                        line-height: 1.7;
                    }
                }
            }
        }
        
        .fp-caution__more {
            display: flex;
            justify-content: end;
            flex-wrap: wrap;
            
            .fp-caution__more-content {            
                margin-top: 40px;
                .fp-caution__more-item {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    border-radius: 15px;
                    
                    .fp-caution__more-btn {
                        position: relative;
                        width: 220px;
                        padding: 20px;
                        text-align: center;
                        text-decoration: none;
                        color: #fff;
                        background-color: #1E5698;
                        border-radius: 50px;
                        
                        &::after {
                            position: absolute;
                            top: 50%;
                            right: 15px;
                            z-index: 3;
                            width: 18.5px;
                            padding: 3px 5px;
                            font-family: "Font Awesome 5 Free";
                            font-size: .5em;
                            font-weight: 600;
                            content: "\f054";
                            color: #1E5698;
                            background: #fff;
                            border-radius: 10px;
                            transform: translate(0%, -50%);
                        }
                    }
                }
            }
        }
    }
}

/* ポイント */
.fp-point {
    background: url(https://kamiyama-inc.co.jp/wp/wp-content/uploads/2024/10/point-back.jpg) no-repeat center / cover;
    overflow: hidden;
    padding: 200px 0;
    
    .fp-point__container {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 1280px;
        padding: 0 20px;
        margin: auto;
        
        .fp-point__label {
            color: #fff;
            border: 3px solid #fff;
            border-radius: 50px;
            padding: 2px 50px;
            font-size: .9em;
        }
        
        .fp-point__message {
            color: #fff;
            font-size: 2em;
        }
    }
}

/* メッセージ */
.fp-message {
    background: #1E5698;
    overflow: hidden;
    padding: 120px 0;
    
    .fp-message__container {
        width: 100%;
        max-width: 1280px;
        padding: 0 40px;
        margin: 0 auto;
        
        .fp-message__content {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            margin: 0 -15px;
            
            .fp-message__text {
                flex: 0 0 50%;
                max-width: 50%;
                width: 100%;
                padding: 0 15px;
                position: relative;
                
                .fp-message__label {
                    color: #fff;
                    margin-top: 0;
                }
                
                .fp-message__title {
                    font-size: min(3vw, 40px);
                    color: #fff;
                    margin: 0 0 40px 0;
                    padding-bottom: 30px;
                    border-bottom: 1px solid #fff;
                }
                
                .fp-message__paragraph {
                    color: #fff;
                    font-size: 0.9em;
                    line-height: 2;
                    margin-bottom: 25px;
                }
            }
            
            .fp-message__image {
                flex: 0 0 50%;
                max-width: 50%;
                width: 100%;
                padding: 0 15px 0 50px;
                position: relative;
                
                img {
                    max-width: 100%;
                    height: auto;
                }
            }
        }
    }
}

/* スマホ表示でも施工事例は2行2列を維持 */
@media screen and (max-width: 768px) {
    /* ヒーロー画像スライダー */
    .wrap.front-page {
        padding: 0;
    }
    .fp-hero {
        padding-bottom: 40px;
        margin-top: 40px;
        &::before {
            height: 200px;
        }
        .custom-slider {
            height: auto;
            aspect-ratio: 16/9;
        }
        .custom-slider .carousel-cell {
            height: auto;
            aspect-ratio: 16/9;
        }
        .custom-slider .carousel-cell a {
            &:hover {
                img {
                    filter: brightness(1.08) contrast(1.03) saturate(1.08);
                }
            }
            &.disabled:hover {
                img {
                    filter: none;
                }
            }
        }
        .flickity-page-dots {
            display: flex;
            justify-content: center;
            bottom: -40px;
        }
    }

    /* 紹介セクション */
    .fp-intro {
        margin: 0;
        
        .fp-intro__container {
            max-width: 100%;
            padding: 0 20px;
            margin-bottom: 200px;
            
            .fp-intro__content {
                position: absolute;
                transform: translate(0%, -50%);
                top: 40%;
                letter-spacing: .3em;
                font-size: 1.2em;
                font-family: "Noto Sans", "Noto Sans CJK JP", sans-serif;
                
                .fp-intro__subtitle {
                    font-size: 18px;
                    margin-bottom: 50px !important;
                    font-family: "Noto Sans", "Noto Sans CJK JP", sans-serif;
                }
                
                .fp-intro__main {
                    font-size: 18px;
                    margin-bottom: .6em;
                    font-family: "Noto Sans", "Noto Sans CJK JP", sans-serif;
                    
                    .fp-intro__highlight {
                        font-size: 50px;
                        line-height: 1.15;
                    }
                }
                
                .fp-intro__promise {
                    font-size: 16px;
                    margin-bottom: .6em;
                    font-family: "Noto Sans", "Noto Sans CJK JP", sans-serif;
                }
            }
            
            .fp-intro__badge {
                position: absolute;
                width: 100%;
                max-width: min(32vw, 320px);
                height: auto;
                object-fit: contain;
                object-position: center;
                
                &.fp-intro__badge--1 {
                    right: calc(100% * 30 / 1200);
                    top: calc(100% - 40vw);
                    transform: translate(0%, -50%);
                }
                
                &.fp-intro__badge--2 {
                    right: calc(100% * 475 / 1200);
                    top: calc(100% + 10vw);
                    transform: translate(0%, -50%);
                }
                
                &.fp-intro__badge--3 {
                    right: calc(100% * 30 / 1200);
                    top: calc(100% + 10vw);
                    transform: translate(0%, -50%);
                }
            }
            
            .fp-intro__map {
                max-width: 100%;
                height: auto;
                width: 100%;
                margin-top: 50px;
            }
        }
    }

    /* 工事までの流れ */
    .fp-flow {
        padding: 80px 0;
        background-color: #1E5698;
        width: 100vw;
        margin: 0 calc(50% - 50vw);
        
        .fp-flow__title {
            font-size: 50px;
            .fp-flow__subtitle {
                font-size: 16px;
            }
        }
        
        .fp-flow__container {
            grid-template-columns: 1fr;
            max-width: 100%;
            padding: 0 20px;
            gap: 40px;
            
            .fp-flow__item {
                display: flex;
                flex-direction: row-reverse;
                justify-content: flex-start;
                align-items: center;
                gap: 0px;
                padding: 20px 40px 20px 30px;
                min-height: 100px;
                height: auto;
                aspect-ratio: auto;
                
                .fp-flow__image {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    width: auto;
                    min-width: 60px;
                    
                    img {
                        max-width: 60px;
                        max-height: 60px;
                        width: auto;
                        height: auto;
                        margin: 0;
                        object-fit: contain;
                    }
                }
                
                .fp-flow__step-title {
                    flex: 1;
                    text-align: center;
                    margin: 0;
                    font-size: 16px;
                    line-height: 1.5;
                }
                
                &:not(:last-child)::before {
                    right: 50%;
                    top: auto;
                    bottom: -25px;
                    transform: translateX(50%);
                    border-width: 12px 8px 0;
                    border-color: #fff transparent transparent;
                }
            }
        }
    }

    /* トピックス */
    .fp-post {
        padding: 80px 0;    
        &.performance {
            padding: 80px 0;
            background: #F7FAFF;
            .fp-post__img {
                object-fit: cover !important;
            }
        }
        .fp-post__title {
            max-width: 100%;
            padding: 0 20px;
            margin: 0 auto 40px auto;
            .fp-post__title-sub {
                font-size: 16px;
            }
            .fp-post__title-main {
                font-size: 50px;
            }
        }
        
        .fp-post__container {
            max-width: 100%;
            padding: 0 20px;
            .fp-post__carousel {
                display: block;
                gap: 0;
                
                /* スライダー用のスタイル（topic、column用） */
                &.flickity-enabled {
                    .fp-post__item {
                        width: 100%;
                        margin-right: 20px;
                        
                        &:last-child {
                            margin-right: 0;
                        }
                    }
                }
                
                .fp-post__item {                    
                    .fp-post__link {                      
                        .fp-post__image {
                            width: 100%;
                            height: 100%;      
                            border-radius: 10px;
                            .fp-post__img {
                                object-fit: cover;
                                display: block;
                            }
                        }
                        
                        .fp-post__content {
                            padding-top: 10px;
                            .fp-post__meta {
                                margin-bottom: 10px;
                            }
                            
                            .fp-post__post-type {
                                margin-bottom: 0;
                            }
                            
                            .fp-post__date {
                                font-size: 14px;
                                color: #1E5698;
                                font-weight: 400;
                                opacity: 0.8;
                            }
                            
                            .fp-post__item-title {
                                font-size: 14px;
                                margin: 0 0 10px 0;
                            }
                        }
                    }
                }
            }
        }
        
        .fp-post__more-btn {
            max-width: 100%;
            margin: 20px auto 0 auto;
            padding: 0 20px;
            
            
            .fp-post__more-buttons {
                display: flex;
                gap: 10px;
                justify-content: center;
                
                a {
                    padding: 16px;
                    width: 200px;
                    
                    /* &::after {
                        position: absolute;
                        top: 50%;
                        right: 15px;
                        z-index: 3;
                        width: 20px;
                        height: 20px;
                        font-family: "Font Awesome 5 Free";
                        content: "\f054";
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        font-weight: 600;
                        font-size: .5em;
                        background: #fff;
                        border-radius: 50%;
                        transform: translate(0%, -50%);
                        color: #1E5698;
                    } */
                }
            }
        }
        
        &.topic, &.column {
            .fp-post__container {
                padding: 0 40px;
                .fp-post__carousel {
                    &.flickity-enabled {
                        .flickity-page-dots {
                            position: static;
                            margin-top: 10px;
                            text-align: center;
                            
                            .dot {
                                width: 8px;
                                height: 8px;
                                background: #ccc;
                                border-radius: 50%;
                                margin: 0 6px;
                                opacity: 0.4;
                                transition: opacity 0.3s ease;
                                
                                &.is-selected {
                                    background: #1E5698;
                                    opacity: 1;
                                }
                            }
                        }
                        
                        .flickity-button {
                            position: absolute;
                            top: 50%;
                            transform: translateY(-50%);
                            width: 30px;
                            height: 30px;
                            background: rgba(30, 86, 152, 0.8);
                            border: none;
                            border-radius: 50%;
                            color: #fff;
                            font-size: 16px;
                            cursor: pointer;
                            z-index: 2;
                            transition: background 0.3s ease;
                            
                            &:hover {
                                background: rgba(30, 86, 152, 1);
                            }
                            
                            &.previous {
                                top: 35%;
                                left: -20px;
                            }
                            
                            &.next {
                                top: 35%;
                                right: -20px;
                            }
                            
                            .flickity-button-icon {
                                position: absolute;
                                left: 50%;
                                top: 50%;
                                width: 20%;
                                height: 20%;
                                fill: currentColor;
                                transform: translate(-50%, -50%);
                            }
                        }
                    }
                }
            }
        }
    }

    /* プラン比較表 */
    .fp-plans {
        max-width: 100%;
        padding: 80px 20px;
        margin: 0 auto;

        .fp-plans--roof {
            padding: 0;
            border-radius: 0;
            border: none;
            margin-bottom: 60px;
        }

        .fp-plans--wall {
            padding: 0;
            border-radius: 0;
            border: none;
        }
        
        .fp-plans__title {
            font-size: 18px;
            font-weight: 700;
            margin: 0 0 20px;
            padding-bottom: 10px;
        }
        
        .fp-plans__table-wrapper {
            border-radius: 0;
            
            .fp-plans__table {
                width: 100%;
                border-radius: 0;
                
                .fp-plans__header {
                    width: 20%;
                    min-width: 160px;
                    padding: 10px 10px;
                }
                
                .fp-plans__item {
                    padding: 10px 10px;
                    padding-left: 10px;
                    font-size: 14px;
                    
                    .fp-plans__price-note {
                        display: inline;
                        margin-left: 8px;
                        font-size: 12px;
                        font-weight: 400;
                        color: #1E5698;
                    }
                }
                
                .fp-plans__price {
                    padding: 10px 10px;
                    font-size: 14px;
                }
                
                .fp-plans__duration {
                    padding: 10px 10px;
                    font-size: 14px;
                }
                
                .fp-plans__rating {
                    padding: 10px 10px;
                    font-size: 14px;
                    
                    &.fp-plans__rating--2 {
                        color: #ff9500;
                    }
                    
                    &.fp-plans__rating--3 {
                        color: #ff6b00;
                    }
                }

                tbody tr:nth-child(even) {
                    background: #F7FAFF;
                }
            }
        }
        
        .fp-plans__button-wrap {
            margin-top: 0;
            padding-top: 20px;
            text-align: center;
            
            .fp-plans__button {
                display: inline-block;
                padding: 16px 40px;
                font-size: 14px;
                font-weight: 400;
                text-decoration: none;
                color: #fff !important;
                background: #1E5698;
                border-radius: 50px;
                
                &::after {
                    content: '→';
                    margin-left: 8px;
                }
            }
        }
    }

    /* 選ばれる理由 */
    .fp-reasons {
        margin-top: 60px;
        padding: 0;
        
        .fp-reasons__nav {
            max-width: 100%;
            justify-content: center;
            padding: 0 20px;
            
            .fp-reasons__nav-btn {
                padding: 12px;
                border-radius: 10px 10px 0 0;
                font-size: 12px;
                
                &.fp-reasons__nav-btn--active {
                    background: #F7FAFF;
                    color: #1E5698;
                }
            }
        }

        .fp-reasons__body {
            padding: 40px 0 80px;
        }
        
        .fp-reasons__title-container {
            max-width: 100%;
            margin: 0 auto 20px auto;
            padding: 0 20px;
            
            .fp-reasons__subtitle {
                font-size: 16px;

            }
            
            .fp-reasons__title {
                font-size: 50px;
            }
        }
        
        .fp-reasons__container {
            max-width: 100%;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .fp-reasons__content {
            display: flex;
            flex-direction: column;
            gap: 20px;
            align-items: flex-start;
        }
        
        .fp-reasons__left {
            flex: 1;
            max-width: 100%;
            
            .fp-reasons__item {
                display: none;
                
                &.fp-reasons__item--active {
                    display: block;
                }
                
                .fp-reasons__number {
                    width: 50px;
                    height: 30px;
                    border-radius: 20px;
                    font-size: 20px;
                    margin-bottom: 20px;
                }
                
                .fp-reasons__heading {
                    font-size: 20px;
                    .fp-reasons__heading-br {
                        display: none;
                    }
                }
                
                .fp-reasons__text {
                    font-size: 14px;
                    line-height: normal;
                }
            }
        }
        
        .fp-reasons__right {
            flex: 1;
            width: 100%;
            max-width: 100%;
            
            .fp-reasons__image-container {
                height: 240px;
                
                .fp-reasons__image {
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    opacity: 0;
                    transition: opacity 0.3s ease;
                    
                    &.fp-reasons__image--active {
                        opacity: 1;
                    }
                }
            }
        }
    }

    /* ランキング */
    .fp-ranking {
        margin-bottom: 80px;
        position: relative;
        overflow: hidden;

        .fp-ranking__description-br {
            display: none;
        }
        
        .fp-ranking__container {
            min-height: 100%;
            padding-bottom: 40px;
            
            &::before {
                content: "";
                position: absolute;
                top: 10px;
                left: 10px;
                width: 200px;
                height: 300px;
                background-image: url(../img/common/ibaraki_map.png);
                background-size: contain;
                background-position: center;
                background-repeat: no-repeat;
                opacity: 0.3;
                z-index: 1;
            }
            
            .fp-ranking__header-section {
                position: relative;
                z-index: 2;
                max-width: 100%;
                margin: 0 auto;
                padding: 0 20px;
                padding-top: 80px;
                
                .fp-ranking__content {
                    position: relative;
                    z-index: 2;
                    
                    .fp-ranking__header {
                        margin-bottom: 30px;
                        
                        .fp-ranking__subtitle-jp {
                            margin: 0 0 10px 0;
                            font-size: 16px;
                            color: #fff;
                            font-weight: 400;
                            letter-spacing: 0.1em;
                            opacity: 0.9;
                        }
                        
                        .fp-ranking__main-title {
                            font-size: 50px;
                        }
                    }
                }
            }
            
            .fp-ranking__image-section {
                position: relative;
                right: auto;
                max-width: 100%;
                height: auto;
                z-index: 2;
                padding: 0 20px;
                margin-top: 30px;

                .fp-ranking__image-container {
                    width: 100%;
                    height: auto;
                    position: relative;
                    margin: 0;
                }
                
                .fp-ranking__image {
                    width: 100%;
                    height: 240px;
                    object-fit: cover;
                    object-position: center;
                    border-radius: 15px;
                }
                
                .fp-ranking__overlay {
                    position: relative;
                    top: 0;
                    left: 0;
                    z-index: 2;
                    text-align: center;
                    margin-top: 20px;
                    
                    .fp-ranking__title {
                        margin: 0 0 15px 0;
                        font-size: 20px;
                        font-weight: 400;
                        color: #fff;
                        line-height: 1.3;
                        text-shadow: 0 2px 4px rgba(0,0,0,0.5);
                        text-align: left;
                        
                        .fp-ranking__subtitle {
                            font-size: 24px;
                            font-weight: 500;
                            color: #FFF;
                            
                            .fp-ranking__highlight {
                                color: #FCD171;
                            }
                        }
                    }
                    
                    .fp-ranking__description {
                        margin: 0;
                        color: #fff;
                        font-size: 14px;
                        letter-spacing: 0.03em;
                        line-height: 1.6;
                        opacity: 0.95;
                        text-shadow: 0 1px 2px rgba(0,0,0,0.5);
                    }
                }
            }
        }

        .fp-ranking__questions-container {
            width: 100%;
            max-width: 100%;
            padding: 0 20px;
            margin: auto;
            display: flex;
            align-items: center;
            margin-top: 40px;
        }
        
        .fp-ranking__questions {
            width: 100%;
            max-width: 100%;
            margin: auto;
            display: flex;
            flex-direction: column;
            gap: 20px;
            
            .fp-ranking__question {
                position: relative;
                width: 100%;

                &:nth-child(n+3) {
                    width: 100%;
                }

                &:last-child {
                    .fp-ranking__question-content {
                        border: none;
                        padding-bottom: 0;
                    }
                }
                
                .fp-ranking__question-content {
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    justify-content: center;
                    min-height: auto;
                    height: 100%;
                    padding: 20px 15px;
                    text-align: center;
                    border: solid 1px #1E5698;
                    border-radius: 15px;

                    p {
                        margin: 0;
                        font-size: 14px;
                        letter-spacing: .1em;
                        line-height: 1.7;
                        text-align: center;
                    }

                    img {
                        width: 100%;
                        max-width: 30px;
                        margin: 0 auto 10px auto;
                    }
                    
                    .fp-ranking__question-title {
                        position: relative;
                        display: inline-block;
                        margin-top: 0;
                        margin-bottom: 1em;
                        font-weight: 500;
                        color: #1E5698;
                        font-size: 16px;
                        
                        &::before {
                            content: "";
                            position: absolute;
                            bottom: -8px;
                            left: 50%;
                            display: inline-block;
                            width: 20px;
                            height: 3px;
                            background-color: #1E5698;
                            border-radius: 2px;
                            -webkit-transform: translateX(-50%);
                            transform: translateX(-50%);
                        }
                    }
                    
                    .fp-ranking__question-text {
                        margin: 0;
                        font-size: 14px;
                        letter-spacing: .1em;
                        line-height: 1.8;
                        text-align: center;
                    }
                    
                    .fp-ranking__answer-btn {
                        position: relative;
                        width: 180px;
                        padding: 16px;
                        text-decoration: none;
                        color: #fff;
                        background-color: #1E5698;
                        border-radius: 50px;
                        font-size: 14px;
                        
                        &::after {
                            content: "\f054";
                            position: absolute;
                            top: 50%;
                            right: 12px;
                            z-index: 3;
                            width: 16px;
                            padding: 2px 4px;
                            font-family: "Font Awesome 5 Free";
                            font-size: .4em;
                            font-weight: 600;
                            color: #1E5698;
                            background: #fff;
                            border-radius: 8px;
                            transform: translate(0%, -50%);
                        }
                    }
                }
            }
        }
    }

    /* 注意喚起 */
    .fp-caution {
        margin-top: 80px;
        padding: 80px 0;
        
        .fp-caution__container {
            max-width: 100%;
            padding: 0 20px;
            
            .fp-caution__header {
                display: flex;
                flex-wrap: wrap;
                
                .fp-caution__location {
                    margin-right: 0px;
                    
                    .fp-caution__label {
                        font-size: 50px;
                    }
                    p {
                        margin: 0;
                        color: #1E5698;

                    }
                }
                
                .fp-caution__title-wrap {
                    position: relative;
                    
                    .fp-caution__title {
                        margin: 0;
                        padding: 0;
                        margin-top: 20px;
                        font-size: 24px;
                        line-height: 1.3;
                        border-left: none;
                    }
                }
            }
            
            .fp-caution__symptoms {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                gap: 20px;
                margin-top: 40px;
                
                .fp-caution__symptom {
                    display: flex;
                    flex-direction: column;
                    gap: 10px;
                    
                    .fp-caution__symptom-image {
                        width: 100%;
                        
                        img {
                            max-width: 100%;
                            border-radius: 15px;
                        }
                    }
                    
                    .fp-caution__symptom-content {
                        width: 100%;
                        
                        .fp-caution__symptom-label {
                            padding: 5px 20px;
                            font-size: .7em;
                            color: #1E5698;
                            border: solid 1px #1E5698;
                            border-radius: 50px;
                        }
                        
                        .fp-caution__symptom-title {
                            margin: 0;
                            font-weight: 500;
                            color: #1E5698;
                        }
                        
                        .fp-caution__symptom-text {
                            margin-bottom: .6em;
                            font-size: .9em;
                            line-height: 1.7;
                        }
                    }
                }
            }
            
            .fp-caution__more {
                display: flex;
                justify-content: center;
                flex-wrap: wrap;
                
                .fp-caution__more-content {            
                    margin-top: 40px;
                    .fp-caution__more-item {
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        border-radius: 15px;
                        
                        .fp-caution__more-btn {
                            position: relative;
                            width: 200px;
                            padding: 16px;
                            text-align: center;
                            text-decoration: none;
                            color: #fff;
                            background-color: #1E5698;
                            border-radius: 50px;
                            
                            &::after {
                                position: absolute;
                                top: 50%;
                                right: 15px;
                                z-index: 3;
                                width: 18.5px;
                                padding: 3px 5px;
                                font-family: "Font Awesome 5 Free";
                                font-size: .5em;
                                font-weight: 600;
                                content: "\f054";
                                color: #1E5698;
                                background: #fff;
                                border-radius: 10px;
                                transform: translate(0%, -50%);
                            }
                        }
                    }
                }
            }
        }
    }

    /* ポイント */
    .fp-point {
        background: url(https://kamiyama-inc.co.jp/wp/wp-content/uploads/2024/10/point-back.jpg) no-repeat center / cover;
        overflow: hidden;
        padding: 40px 0;
        
        .fp-point__container {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            max-width: 100%;
            padding: 0 20px;
            margin: auto;
            
            .fp-point__label {
                color: #fff;
                border: 3px solid #fff;
                border-radius: 50px;
                padding: 2px 50px;
                font-size: 14px;
            }
            
            .fp-point__message {
                color: #fff;
                font-size: 20px;
            }
        }
    }

    /* メッセージ */
    .fp-message {
        padding: 80px 0;
        
        .fp-message__container {
            width: 100%;
            max-width: 100%;
            padding: 0 20px;
            margin: 0 auto;
            
            .fp-message__content {
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                
                .fp-message__text {
                    flex: 1;
                    max-width: 100%;
                    width: 100%;
                    padding: 0 15px;
                    position: relative;
                    
                    .fp-message__label {
                        color: #fff;
                        margin-top: 0;
                        font-size: 16px;
                    }
                    
                    .fp-message__title {
                        font-size: 20px;
                        color: #fff;
                        margin: 0 0 20px 0;
                        padding-bottom: 20px;
                        border-bottom: 1px solid #fff;
                    }
                    
                    .fp-message__paragraph {
                        color: #fff;
                        font-size: 14px;
                        line-height: 2;
                        margin-bottom: 20px;
                    }
                }
                
                .fp-message__image {
                    flex: 1;
                    max-width: 100%;
                    width: 100%;
                    padding: 0;
                    position: relative;
                    
                    img {
                        max-width: 100%;
                        height: auto;
                    }
                }
            }
        }
    }

    .fp-post__carousel {
        display: block !important;
        overflow: visible;
        gap: 0;
    }
    .fp-post__item {
        width: 100%;
        min-width: 100%;
        box-sizing: border-box;
    }

    /* スマホ表示でも施工事例は2行2列を維持 */
    .fp-post.performance .fp-post__carousel {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    
    .fp-post.performance .fp-post__item {
        width: 100% !important;
        min-width: unset !important;
        position: relative !important;
        transform: none !important;
        left: auto !important;
    }
    
    .fp-post.performance .fp-post__image {
        height: auto !important;
        aspect-ratio: 16/9;
    }
    
    .fp-post.performance .fp-post__item-title {
        font-size: 12px !important;
    }
}