/*全体設定*/

#photogalleryArea {
    display: grid;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: space-between;
    width: 100%;
    margin: 0 0 2rem;
    grid-template-columns: repeat(auto-fit, 16em);
}

#photogalleryArea>div {
    position: relative;
    -webkit-flex-basis: 24%;
    flex-basis: 25%;
    height: 230px;
    overflow: hidden;
    margin: 0 5px 5px 1.33333%;
}

#photogalleryArea>div img.center {
    position: absolute;
    display: block;
    top: -50%;
    bottom: -50%;
    object-fit: cover;
    object-position: top center;
    margin: auto 0;
    height: -moz-available;
    height: -webkit-fill-available;
    height: 100%;
    width: -moz-available;
    width: -webkit-fill-available;
}



@media screen and (min-width: 768px) {
    .br-sp {
        display: none;
    }
}


/*リンクボタン設定*/

.square_btn {
    display: inherit;
    padding: 20px 20px;
    border-radius: 6px;
    text-decoration: none;
    color: #FFF;
    font-size: large;
    background-color: #00b0a6;
    transition: .4s;
    font-weight: 900;
    width: 80%;
    text-align: center;
    margin: 0 auto;
}

.square_btn:hover {
    background-color: #01e6d9;
}

.headimg {
    width: 94.6%;
}





/*カメラマン紹介設定*/


#ca {

    width: 100%;
    margin: 0 0 2rem;
    grid-template-columns: repeat(auto-fit, 16em);

}


#ca a.btn_blue {
    display: block;
    max-width: 95%;
    margin: 0;
    padding: 1.5rem 3.0rem;
    background-color: #e2117f;
    border-radius: 8px;
    box-sizing: border-box;
    text-decoration: none;
    transition: 0.3s;
}

#ca a.btn_blue span.bl__text {
    display: block;
    position: relative;
    color: #fff;
    font-size: 16px;
    text-align: center;
    padding-left: 30px;
}

#ca a.btn_blue span.bl__text:before {
    content: '';
    width: 20px;
    height: 20px;
    background: #ffffff;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    margin: auto;
}

#ca a.btn_blue span.bl__text:after {
    content: '';
    width: 8px;
    height: 8px;
    border-top: 3px solid #e2117f;
    border-right: 3px solid #e2117f;
    box-sizing: border-box;
    transform: rotate(45deg);
    position: absolute;
    top: 0;
    left: 5px;
    bottom: 0;
    margin: auto;
    transition: 0.3s;
}

#ca a.btn_blue:hover {
    background-color: #ff4cab;
}

#ca a.btn_blue:hover span.bl__text:after {
    border-top: 3px solid #ff4cab;
    border-right: 3px solid #ff4cab;
}

@media (max-width: 736px) {
    #ca a.btn_blue {
        max-width: 100%;
        padding: 0.8rem 1rem;
    }

    #ca a.btn_blue span.bl__text {
        font-size: 18px;
    }

}

/*SPビュー設定*/

@media screen and (max-width:479px) {
    #photogalleryArea {
        grid-template-columns: repeat(auto-fit, 49%);
    }

    #photogalleryArea>div {
        height: 150px;
    }

    .headimg {
        width: 100%;
    }

}

.headimg .repo-link {
    pointer-events: none;
}