@charset "utf-8";

/* ID指定式・施工事例共通表示 */
.selectedGallerySection {
    padding: 80px 0 110px;
}
.selectedGalleryHeading {
    margin-bottom: 38px;
    text-align: center;
}
.selectedGalleryHeading .en {
    color: #00a39c;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}
.selectedGalleryHeading .title {
    margin-top: 8px;
    color: #000;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.6;
}
.selectedGalleryList {
    display: flex;
    flex-wrap: wrap;
}
.selectedGalleryItem {
    width: 31.385%;
    margin-right: 2.92%;
    position: relative;
    background-color: #f2f5f6;
}
.selectedGalleryItem:nth-child(3n) {
    margin-right: 0;
}
.selectedGalleryItem:nth-child(n+4) {
    margin-top: 60px;
}
.selectedGalleryItem a {
    display: block;
    color: #000;
    text-decoration: none;
}
.selectedGalleryItem .imgBox {
    padding-top: 136.03%;
}
.selectedGalleryItem .txtBox {
    padding: 13px 40px 21px 20px;
}
.selectedGalleryItem::after {
    width: 15px;
    height: 15px;
    position: absolute;
    right: 20px;
    bottom: 30px;
    background: url(../img/gallery/iconArrow.gif) center top / cover;
    content: "";
    pointer-events: none;
}
.selectedGalleryItem .tit {
    overflow: hidden;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.733;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.selectedGalleryItem .innerTags {
    display: flex;
    flex-wrap: wrap;
    margin-top: 7px;
}
.selectedGalleryItem .txtInner {
    display: inline;
    margin: 2px 5px 1px 0;
    padding: 5px 10px;
    border: 1px solid #d6cdc8;
    border-radius: 20px;
    box-shadow: 0 0 2.94px 0.06px rgba(0, 0, 0, 0.15);
    font-size: 12px;
    line-height: 1.667;
}
.selectedGalleryItem .txtInner .color {
    color: #00a39c;
}
.selectedGalleryItem .icon {
    width: 36px;
    height: 36px;
    display: flex;
    position: absolute;
    top: -10px;
    left: 20px;
    z-index: 1;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #ebd306;
    font-size: 11px;
    font-weight: 700;
}
.selectedGalleryMore {
    margin-top: 45px;
    text-align: center;
}
.selectedGalleryMore a {
    min-width: 230px;
    display: inline-block;
    padding: 16px 30px;
    border: 1px solid #33373d;
    color: #000;
    font-size: 13px;
    text-decoration: none;
}
.selectedGalleryStatus {
    padding: 20px 0;
    color: #555;
    line-height: 1.8;
    text-align: center;
}

@media only screen and (max-width: 767px) {
    .selectedGallerySection {
        padding: 55px 0 75px;
    }
    .selectedGalleryHeading {
        margin-bottom: 24px;
    }
    .selectedGalleryHeading .title {
        margin-top: 5px;
        font-size: 20px;
    }
    .selectedGalleryItem,
    .selectedGalleryItem:nth-child(3n) {
        width: 48%;
        margin-right: 4%;
    }
    .selectedGalleryItem:nth-child(2n) {
        margin-right: 0;
    }
    .selectedGalleryItem:nth-child(n+3) {
        margin-top: 4%;
    }
    .selectedGalleryItem .imgBox {
        padding-top: 136.667%;
    }
    .selectedGalleryItem .txtBox {
        padding: 5px 10px 8px;
    }
    .selectedGalleryItem .tit {
        max-height: 45px;
        display: -webkit-box;
        margin-top: 5px;
        font-size: 13px;
        line-height: 1.538;
        letter-spacing: 1px;
        white-space: normal;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }
    .selectedGalleryItem .innerTags {
        margin-top: 5px;
    }
    .selectedGalleryItem .txtInner {
        margin: 0 3px 0 0;
        padding: 0;
        border: 0;
        box-shadow: none;
        font-size: 11px;
        line-height: 2;
    }
    .selectedGalleryItem::after,
    .selectedGalleryItem .icon {
        display: none;
    }
    .selectedGalleryMore {
        margin-top: 32px;
    }
}
