#content {
    padding-top: 108px;
}
.areaGallery .inner {
    max-width: 1940px;
    padding: 0 30px;
}
.areaMainChild {
    margin-bottom: 160px;
}
.wrapMainChild {
    flex-direction: row-reverse;
}
.wrapMainChild .mainChildPhoto {
    width: calc(100% - 522px);
}
.wrapMainChild .boxMainChild {
    padding: 38px 34px 0 44px;
}
.wrapMainChild .mainChildPhoto img {
    aspect-ratio: 1350 / 840;
}
.galleryList {
    display: flex;
    flex-wrap: wrap;
    max-width: 1290px;
    width: 100%;
    margin: 0 auto 0;
    row-gap: 80px;
    padding-bottom: 75px;
}
.galleryList li {
    flex: 0 1 calc((100% / 4) - 36px);
    margin-right: 45px;
    overflow: hidden;
}
.galleryList li:nth-child(4n) {
    margin-right: 0;
}
.galleryList li a {
    text-align: center;
}
.galleryList li a .img {
    margin-bottom: 25.4px;
    width: 100%;
}
.galleryList li a .img img {
    aspect-ratio: 4 / 3;
}
.galleryList li a .title {
    font-size: 23px;
    line-height: 1.3;
    letter-spacing: 0.6px;
    font-weight: 400;
    margin-bottom: 3.53px;
    overflow: hidden;
    width: 100%;
}

.galleryList li a .title .linkHover {
    width: 100%;
    display: block;
    overflow: hidden;
    /* text-shadow: 0 -1.5em 0 #000, 0 0 0 #000;
    transition: text-shadow 0.3s;
    color: transparent; */
    white-space: nowrap;
    display: -webkit-box;
    -webkit-line-clamp: 1; 
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;

}

.galleryList li a .placeTime {
    font-size: 15px;
    line-height: 2.14;
    letter-spacing: 0.7px;
}
.galleryList li a .title .s20 {
    font-size: 20px;
}
.timberHousing {
    max-width: 1290px;
    margin: 0 auto;
    font-size: 25px;
    line-height: 2;
    letter-spacing: 0.7px;
    text-align: center;
    padding-top: 133px;
    margin: 95px auto 0;
    position: relative;
} 
.timberHousing::before {
    content: "";
    width: 100%;
    height: 1px;
    background: #707070;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}
.scroller-status {
    text-align: center;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}
.scroller-status {
    font-size: 18px;
}
.ftPhoto {
    margin-top: 186px;
}
.pagingNav {
    max-width: 1290px;
    width: 100%;
    margin: 0 auto;
}

#areaGallery {
  scroll-margin-top: 550px; /* ヘッダー高さ分調整 */
}

@media (max-width: 1920px) {

}
@media (max-width: 1400px) and (min-width: 769px) {
    .wrapMainChild .mainChildPhoto {
        width: calc(100% - 465px);
    }
}
@media (max-width: 1280px) {
    .galleryList li a .title {
        font-size: 26px;
    }
}
@media (max-width: 1200px) and (min-width:769px){
    .areaMainChild {
        margin-bottom: 10vw;
    }
    .wrapMainChild .boxMainChild {
        padding: 2.2vw 1vw 0;
    }
}
@media (max-width: 1000px) {
    .wrapMainChild {
        flex-direction: column-reverse;
    }
    .wrapMainChild .mainChildPhoto {
        width: 100%;
    }
    .wrapMainChild .boxMainChild {
        padding: 0 30px;
    }
    .galleryList {
        padding-bottom: 50px;
    }
    .galleryList li {
        flex: 0 0 calc((100% / 2) - 15px);
        margin-right: 30px;
    }
    .galleryList li:nth-child(2n) {
        margin-right: 0;
    }
    .galleryList li:nth-child(3n) {
        margin-right: 30px;
    }
    .galleryList li:nth-child(6n) {
        margin-right: 0;
    }
    .areaGallery .inner {
        padding: 0 30px;
    }
    .timberHousing {
        padding-top: 60px;
    }
}
@media (min-width: 769px) {
    .galleryList li a:hover {
        opacity: 1;
    }
    .galleryList li a .img {
        overflow: hidden;
    }
    .galleryList li a .img img {
        transition: all 0.7s;
    }
    .galleryList li a:hover .img img{
        transform: scale(1.08);
    }
    .galleryList li a:hover p{
        opacity: 1;
    }
    .galleryList li a:hover .linkHover {
        /* text-shadow: 0 0 0 #000, 0 1.5em 0 #000; */
        text-decoration: 1px underline;
        text-underline-offset: 3px;
        display: -webkit-box;
        -webkit-line-clamp: 1; 
        text-overflow: ellipsis;
        -webkit-box-orient: vertical;
    }
}
@media (max-width: 768px) {
    #content {
        padding-top: 0;
    }
    .areaMainChild {
        margin-bottom: clamp(42px, 8vw, 60px);
    }
    .wrapMainChild .boxMainChild {
        padding: 0 9.4%;
    }
    .galleryList {
        padding-bottom: clamp(30px,7.4vw,50px);
        row-gap: clamp(23px,4.6vw,34px)
    }
    .galleryList li {
        flex: 0 0 calc((100% / 2) - 9.55px);
        margin-right: 18.5px;
    }
    .galleryList li a .img {
        margin-bottom: clamp(15px,2.8vw,20px);
    }
    .galleryList li:nth-child(3n) {
        margin-right: 18.5px;
    }
    .galleryList li:nth-child(6n) {
        margin-right: 0;
    }
    .areaGallery .inner {
        padding: 0 9.4%;
    }
    .galleryList li a .title .linkHover {
        text-shadow: initial;
        color: #000;
        display: block;
        line-height: 1;
    }
    .galleryList li a .title {
        font-size: clamp(16px,2.8vw,20px);
        line-height: 1;
    }
    .galleryList li a .title .s20 {
        /* font-size: clamp(14px,2.8vw,20px); */
        font-size: clamp(16px,2.8vw,20px);
    }
    .galleryList li a .placeTime {
        font-size: clamp(12px,2.2vw,14px);
    }
    .timberHousing {
        width: 100%;
        margin: 24px auto 0;
        padding: 38px 30px 0;
        font-size: clamp(15px,2.8vw,20px);
        letter-spacing: 0.2px;
    }
    .scroller-status {
        font-size: clamp(12px,2.2vw,14px);
    }
    .ftPhoto {
       margin-top: clamp(45px,8.4vw,60px);

    }
    
    .hamburger span{
        background: #000;
    }
    
    #areaGallery {
      scroll-margin-top: 400px;
    }
}
