@charset "utf-8";

/*===========================================================
施工事例
===========================================================*/

.inSekoujireiWr01 {
    padding: 18rem 0 14.8rem;
}

.inSekoujireiWr02 {
    padding: 0 0 15rem;
}

.inSekoujirei02Container {
    max-width: 142rem;
    width: 100%;
    margin: 0 auto;
}

/*-----------------------------------------------------------
一覧
-----------------------------------------------------------*/

.sekoujirei {
    width: 100%;
    margin: 13rem auto 0;
}

.sekoujireiBlock {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10rem 5rem;
}

.sekoujireiItem {
    max-width: 44rem;
    width: 100%;
}

.sekoujireiLink {
    display: block;
    max-width: 44rem;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.sekoujireiImgArea {
    max-width: 44rem;
    position: relative;
    margin: 0 auto 1.5rem;
    padding-bottom: 72.73%;
    overflow: hidden;
    width: 100%;
    border: 0.1rem solid var(--gray-light);
}

.sekoujireiImgArea img {
    position: absolute;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    object-fit: cover;
    transition: all .3s;
}

.sekoujireiLink:hover .sekoujireiImgArea img {
    transform: scale(1.1);
}

.tit {
    font-size: 2rem;
    font-weight: 400;
    font-family: var(--font-family01);
    letter-spacing: 0;
    line-height: 1.35em;
    position: relative;
}

/*-----------------------------------------------------------
カテゴリ
-----------------------------------------------------------*/

.inSekoujireiCategoryContainer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem 2rem;
}

.inSekoujireiMainTitleBox {
    max-width: 28.5rem;
    width: 100%;
}

.categoryArea {
    max-width: 101rem;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    gap: 3rem;
}

.categoryArea .link {
    width: 100%;
}

.categoryArea .link a {
    max-width: 22.8rem;
    width: 100%;
    display: block;
    padding: 1.5rem;
    font-family: var(--font-family02);
    color: var(--secondary);
    font-weight: 600;
    letter-spacing: 0.05em;
    line-height: 1.45em;
    text-align: center;
    border: 0.1rem solid var(--gray);
    transition: all .3s;
}

.categoryArea .link a:hover {
    color: #FFF;
    background-color: var(--primary);
}

.categoryArea .active a {
    color: #FFF;
    background-color: var(--primary);
}

/*-----------------------------------------------------------
モーダル
-----------------------------------------------------------*/

html {
    scrollbar-gutter: stable;
}

body.scroll-lock {
    overflow: hidden !important;
}

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(45 21 11 / 85%);
}

.modal-content {
    margin: auto;
    padding: 8rem 2rem;
    max-width: 125rem;
    width: 95vw;
    border: 0.3rem solid var(--secondary);
    background: rgba(0, 0, 0, 0.68);
    background-size: auto;
    background-repeat: repeat;
    overflow-y: scroll;
    height: 80vh;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}

.modal-content::-webkit-scrollbar {
    display: none;
}

.close {
    position: sticky;
    margin: -4rem 0 4rem auto;
    top: -3rem;
    right: 2.25rem;
    width: 4rem;
    height: 4rem;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    z-index: 10000;
    text-indent: -999.9rem;
    overflow: hidden;
    transition: all .3s;
}

.close:hover {
    transform: scale(1.2);
}

/* 2本の棒（×のパーツ） */
.close::before,
.close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60%;
    /* 親要素(2.5rem)いっぱいの長さ */
    height: 0.125rem;
    /* 2px 相当の太さ */
    background-color: var(--white);
    transition: transform 0.3s;
}

/* 45度傾けて×にする */
.close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.sekoujireiModalContainer {
    max-width: 106rem;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.sekoujireiModalContainer .wp-block-image {
    width: 100% !important;
    padding-top: 64.15%;
    margin: auto;
    position: relative;
}

.sekoujireiModalContainer .wp-block-image img {
    position: absolute;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    object-fit: cover;
    transition: all .3s;
}

.sekoujireiModalContainer .wp-block-columns {
    margin: 6rem 0 0;
    align-items: flex-start;
    justify-content: space-between;
    gap: 4rem 10rem;
}

.sekoujireiModalContainer h2.wp-block-heading,
.sekoujireiModalContainer h3.wp-block-heading {
    margin: 0 0 4rem;
    max-width: 100%;
    width: max-content;
    padding: 0.3rem 1.5rem 0.7rem;
    background: var(--primary);
    font-size: 2.2rem;
    color: var(--tertiary);
}

.sekoujireiModalContainer .wp-block-column {
    width: 100%;
}

.sekoujireiModalContainer .wp-block-column .wp-block-table tr {
    padding: 1.6rem 0 1.8rem;
    display: flex;
    align-items: center;
    border-bottom: 0.1rem solid var(--gray);
}

.sekoujireiModalContainer .wp-block-column .wp-block-table tr:first-child {
    padding: 0 0 1.8rem;
}

.sekoujireiModalContainer .wp-block-column .wp-block-table tr td {
    flex: 1;
    border: unset;
}

.sekoujireiModalContainer .wp-block-column .wp-block-table tr td:first-child {
    padding: 0 1rem 0 0;
    max-width: 15rem;
    width: 100%;
    flex: unset;
}

.sekoujireiModalContainer .wp-block-gallery {
    margin: 5rem 0 0;
}

.sekoujireiModalContainer .wp-block-gallery~.wp-block-gallery {
    margin: 2rem 0 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.sekoujireiModalContainer .wp-block-gallery~.wp-block-gallery .wp-block-image {
    width: 100% !important;
    padding-top: 69.23%;
    margin: auto;
    position: relative;
    background-color: #fff;
}

.sekoujireiModalContainer .wp-block-gallery~.wp-block-gallery .wp-block-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    margin: auto;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    transition: all .3s;
}

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
@media screen and (width <=1920px) {


    /*===========================================================

===========================================================*/



}


/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
@media screen and (width <=1024px) {


    /*===========================================================
カテゴリ
===========================================================*/

    .inSekoujireiMainTitleBox {
        max-width: 25.5rem;
    }

    .categoryArea {
        gap: 2rem;
    }

    /*===========================================================
モーダル
===========================================================*/

    .close {
        top: -6rem;
        right: 0.25rem;
    }

}


/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
@media screen and (width <=768px) {


    /*-----------------------------------------------------------
一覧
-----------------------------------------------------------*/

    .sekoujirei {
        margin: 10rem auto 0;
    }

    .inSekoujireiWr01 {
        padding: 10rem 0 10rem;
    }

    .inSekoujireiWr02 {
        padding: 0 0 10rem;
    }

    .sekoujireiBlock {
        grid-template-columns: repeat(2, 1fr);
        gap: 10rem 5rem;
    }

    /*-----------------------------------------------------------
カテゴリ
-----------------------------------------------------------*/

    .inSekoujireiCategoryContainer {
        flex-direction: column;
        justify-content: center;
    }

    .inSekoujireiMainTitleBox {
        text-align: center;
    }

    .categoryList {
        justify-content: center;
    }

    /*===========================================================
モーダル
===========================================================*/

    .sekoujireiModalContainer .wp-block-columns {
        flex-direction: column-reverse;
    }

    .sekoujireiModalBeforContainer {
        max-width: 100%;
    }

    .sekoujireiModalContainer .wp-block-column .wp-block-table tr td:first-child {
        max-width: 12rem;
    }

}

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
@media screen and (width <=576px) {


    /*-----------------------------------------------------------
一覧
-----------------------------------------------------------*/

    .sekoujireiBlock {
        grid-template-columns: repeat(1, 1fr);
        gap: 5rem;
    }

    .sekoujireiItem {
        max-width: 100%;
    }

    .sekoujireiLink {
        max-width: 100%;
    }

    /*-----------------------------------------------------------
カテゴリ
-----------------------------------------------------------*/

    .categoryArea {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .categoryArea .link {
        max-width: 100%;
    }

    .categoryArea .link a {
        max-width: 100%;
    }

    /*-----------------------------------------------------------
モーダル
-----------------------------------------------------------*/

    .sekoujireiModalContainer .wp-block-gallery~.wp-block-gallery {
        margin: 1rem 0 0;
        gap: 1rem;
    }

}

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
@media screen and (width <=414px) {


    /*===========================================================

===========================================================*/



}


/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */