.design {
    h1 {
        position: relative;
        text-align: center;
        background-color: rgb(245, 225, 187);

        font-weight: bold;
        font-family: 'Shippori Mincho', serif;
        font-size: 18px;

        color: rgb(31, 45, 61);
        /* header ネイビーブルー */

        padding: 12px;
        margin: 0 -18px 16px;

        @media (width <=767px) {
            margin: 0 -14px 16px;
        }

        &::before {
            content: "";
            position: absolute;
            top: 0;
            bottom: 0;
            left: 8px;
            width: 8px;
            height: 100%;
            background-color: rgb(31, 45, 61);
        }
    }

    .section-lead {
        width: fit-content;
        font-size: 1rem;
        line-height: 1.8;
        color: #444;
        max-width: 800px;
        margin: 0 auto;
    }


    .design-gallery {
        margin-top: 48px;

        h2 {
            font-weight: bold;
            text-align: center;
            font-size: 1.4rem;
            color: rgb(31, 45, 61);
            margin-bottom: 1rem;
            font-family: 'Shippori Mincho', serif;
        }

        .section-lead {
            text-align: center;
            max-width: 800px;
            margin: 0 auto 3rem;
            line-height: 1.8;
            color: #444;

            @media (width <=767px) {
                text-align: left;

            }

        }

        .design-gallery-grid {
            display: flex;
            flex-direction: column;
            gap: 4rem;

            .design-showcase {
                padding: 24px 0;
                background: rgba(255, 183, 77, 0.15);
                /* 淡いオレンジ */
                text-align: center;

                h3 {
                    margin: 0 auto 48px;
                    padding: 8px;
                    width: fit-content;
                    border-top: solid 1px rgb(31, 45, 61);
                    border-bottom: solid 1px rgb(31, 45, 61);
                    font-size: 16px;
                    color: rgb(31, 45, 61);
                }

                .design-pair {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    gap: 2rem;
                    flex-wrap: wrap;

                    @media (width <=767px) {
                        flex-direction: column;
                        gap: 1.5rem;
                    }

                    .design-item {
                        margin: 0 16px;
                        flex: 1 1 45%;
                        max-width: 500px;
                        border-radius: 12px;
                        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
                        overflow: hidden;
                        transition: transform 0.3s, box-shadow 0.3s;

                        &:hover {
                            transform: translateY(-4px);
                            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
                        }

                        img {
                            width: 100%;
                            display: block;
                            object-fit: contain;
                        }

                        figcaption {
                            margin-top: 8px;
                            background: #fff7ec;
                            border-top: 2px solid #ff8000;
                            padding: 0.6rem;
                            font-size: 0.9rem;
                            color: #333;
                            font-weight: 500;
                        }
                    }

                    .sp {
                        max-width: 280px;

                        @media (width <=767px) {
                            max-width: 100%;
                        }
                    }
                }
            }
        }
    }


    .section-btn-wrap {
        p {
            padding: 0 1em;
            font-weight: bold;
            margin-bottom: 24px;
        }
    }
}