/*== secGallery-1
===========================*/
.secGallery-1-2 {
    max-width: 480px;
    margin: 0 auto;
}
.secGallery-1-2 h3 {
    color: #fff;
    text-align: left;
}
.secGallery-1-2 p {
    color: #fff;
    text-align: left;
}
.secGallery-1 li.slick-slide img {
    max-width: 100%;
}
.secGallery-1-2 li.slick-slide img {
    min-width: 500px;
    max-height: 500px;
    object-fit: cover;
    margin: 0 auto;
}
.secGallery-1 .main-slider {
	/*max-height: 450px;*/
    /*overflow: hidden;*/
    margin-bottom: 10px;
}
.secGallery-1-2 .main-slider {
    max-height: 500px;
}
.secGallery-1 .carousel {
    height: auto;
    overflow: visible;
}
.secGallery-1 .carousel li.slick-slide {
    padding-left: 10px;
}
.secGallery-1 .carousel li.slick-slide:first-child {
    padding-left: 0;
}
.secGallery-1 .carousel li.slick-slide:last-child {
    padding-right: 0;
}
.secGallery-1 .carousel .slider {
    width: calc(100% - 50px);
    margin: 0 auto;
}
.secGallery-1 .carousel .slider .slick-list {
    padding-left: 10px;
}
.secGallery-1 .slide-arrow,
.secGallery-1 .slide-arrow:before,
.secGallery-1 .slide-arrow:after{
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.secGallery-1 .slide-arrow{
    position: absolute;
    top: 50%;
    transform: translate(0%, -50%);
    -webkit-transform: translate(0%, -50%);
    -ms-transform: translate(0%, -50%);
}
.secGallery-1 .prev-arrow{
    left: -25px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 40px 20px 40px 0;
    z-index: 999;
}
.secGallery-1-2 .prev-arrow{
    left: 15px;
}
.secGallery-1 .prev-arrow.border-white{
    border-color: transparent #fff transparent transparent;
}
.secGallery-1 .prev-arrow.border-black{
    border-color: transparent #646464 transparent transparent;
}
.secGallery-1 .prev-arrow.border-gray{
    border-color: transparent #cecece transparent transparent;
}
.secGallery-1 .prev-arrow:after{
    content: '';
    left: 2px;
    top: -40px;
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 40px 20px 40px 0;
}
.secGallery-1 .prev-arrow.border-white:after{
    border-color: transparent #646464 transparent transparent;
}
.secGallery-1 .prev-arrow.border-white:after{
    border-color: transparent #4b4b4b transparent transparent;
}
.secGallery-1 .prev-arrow.border-black:after{
    border-color: transparent #fff transparent transparent;
}
.bg-gray09 .secGallery-1 .prev-arrow.border-black:after{
    border-color: transparent #f5f3f0 transparent transparent;
}
.bg-white09 .secGallery-1 .prev-arrow.border-black:after{
    border-color: transparent #eef0e5 transparent transparent;
}
.secGallery-1 .prev-arrow.border-gray:after{
    border-color: transparent #fff transparent transparent;
}
.secGallery-1 .prev-arrow.square{
    border-width: 20px 20px 20px 0;
}
.secGallery-1 .prev-arrow.square:after{
    top: -20px;
    border-width: 20px 20px 20px 0;
}
.secGallery-1 .next-arrow{
    right: -25px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 40px 0 40px 20px;
    z-index: 999;
}
.secGallery-1-2 .next-arrow{
    right: 15px;
}
.secGallery-1 .next-arrow.border-white{
    border-color: transparent transparent transparent #fff;
}
.secGallery-1 .next-arrow.border-black{
    border-color: transparent transparent transparent #646464;
}
.secGallery-1 .next-arrow.border-gray{
    border-color: transparent transparent transparent #cecece;
}
.secGallery-1 .next-arrow:after{
    content: '';
    right: 2px;
    top: -40px;
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 40px 0 40px 20px;
}
.secGallery-1 .next-arrow.border-white:after{
    border-color: transparent transparent transparent #646464;
}
.secGallery-1 .next-arrow.border-white:after{
    border-color: transparent transparent transparent #4b4b4b;
}
.secGallery-1 .next-arrow.border-black:after{
    border-color: transparent transparent transparent #fff;
}
.bg-gray09 .secGallery-1 .next-arrow.border-black:after{
    border-color: transparent transparent transparent #f5f3f0;
}
.bg-white09 .secGallery-1 .next-arrow.border-black:after{
    border-color: transparent transparent transparent #eef0e5;
}
.secGallery-1 .next-arrow.border-gray:after{
    border-color: transparent transparent transparent #fff;
}
.secGallery-1 .next-arrow.square{
    border-width: 20px 0 20px 20px;
}
.secGallery-1 .next-arrow.square:after{
    top: -20px;
    border-width: 20px 0 20px 20px;
}

.secGallery-1 .itemList-1 {
    width: calc(100% - 4px);
    margin: 0 auto;
}
.secGallery-1 .itemList-1 .box{
    width: calc(25% - 2px);
    height: 100%;
    margin-bottom: 3px;
    padding: 0;
    text-align: center;
    background-color: #fff;
    color: #3C3C3C;
}
.secGallery-1 .itemList-1.tri .box{
    width: calc(33.33% - 2px);
}
.secGallery-1 .itemList-1 .dummy{
    background-color: inherit;
}
.secGallery-1 .itemList-1 .box .image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.secGallery-1 .itemList-1::after{
    content:"";
    display: block;
    width:calc(25% - 2px);
}
.secGallery-1 .itemList-1 li {
    position: relative;
}
.secGallery-1 .itemList-1 li:before {
    content: "";
    display: block;
    padding-top: 100%; /* ここを100％にすることで正方形になる */
}
.secGallery-1 .itemList-1 li span{
    /* 正方形にするのに必要な部分 */
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 中央寄せ */
    text-align: center;
    overflow: hidden;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
}
.secGallery-1 .itemList-1 li span.noImage{
    padding: 100px;
}
/* 高さの中央揃えに必要な部分 */
.secGallery-1 .itemList-1 li span:before{
    content: "";
    height: 100%;
    vertical-align: middle;
    width: 0px;
    display: inline-block;
}
.secGallery-1 .itemList-1 li span > *{
    vertical-align: middle;
    display: inline-block;
}
.secGallery-1 .itemList-1 li span > a{
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    display: block;
    margin-top: -100%;
}

.secGallery-1 .linkList-1 {
    width: 70%;
    margin: 0 auto 30px;
}
.secGallery-1 .linkList-1 li {
    width: 32.5%;
    height: auto;
}
.secGallery-1 .linkList-1 li a,
.secGallery-1 .linkList-1 li span{
    width: 100%;
    display: inline-block;
    border: solid 1px #fff;
    padding: 5px 10px;
    text-align: left;
}
.secGallery-1 .linkList-1 li span.current{
    background-color: #fff;
    color: #3C3C3C;
}

#slideFilterL, #slideFilterR {
    position: absolute;
    top: 0;
    width: calc(200%/3 + 1px);
    height: 100%;
    max-height: 1000px;
    opacity: 0.7;
    filter: alpha(opacity=60);
    -ms-filter: "alpha( opacity=60 )";
    background: #fff;
    z-index: 1;
}
#slideFilterL {
    left: calc(-1px - 200%/3);
}
#slideFilterR {
    right: calc(-1px - 200%/3);
}
#slideFilterL > div {
    left: auto;
    right: 30px;
}
#slideFilterR > div {
    left: 30px;
    right: auto;
}

.lity-image img {
    object-fit: contain;
}


/*== 960px以下用の記述
====================================================================*/
@media screen and (max-width: 959px) {

    /*== secGallery-1
    ===========================*/
    .secGallery-1 .carousel {
        margin-bottom: 0px;
    }
    .secGallery-1 .carousel li.slick-slide {
        padding: 0;
        margin: 0 2px;
    }
    .secGallery-1 .carousel img {
        width: 100%;
        height: auto;
    }
    
    .secGallery-1 .carousel .slider .slick-list {
        margin: 0 5px;
        padding: 0;
    }
    
    .secGallery-1 .carousel .prev-arrow{
        left: -8%;
        border-width: 30px 10px 30px 0;
    }
    .secGallery-1 .carousel .next-arrow{
        right: -8%;
        border-width: 30px 0 30px 10px;
    }
    .secGallery-1 .carousel .prev-arrow:after{
        border-width: 30px 10px 30px 0;
        top: -30px;
    }
    .secGallery-1 .carousel .next-arrow:after{
        border-width: 30px 0 30px 10px;
        top: -30px;
    }
    .secGallery-1 .carousel .prev-arrow.square{
        left: -8%;
        border-width: 15px 15px 15px 0;
    }
    .secGallery-1 .carousel .next-arrow.square{
        right: -8%;
        border-width: 15px 0 15px 15px;
    }
    .secGallery-1 .carousel .prev-arrow.square:after{
        border-width: 15px 15px 15px 0;
        top: -15px;
    }
    .secGallery-1 .carousel .next-arrow.square:after{
        border-width: 15px 0 15px 15px;
        top: -15px;
    }

}

/*== secGallery-1 <works>
===========================*/
@media screen and (max-width: 767px) {

    .secGallery-1 .linkList-1{
        width: 70%;
    }
    .secGallery-1 .linkList-1 li{
        width: 100%;
        font-size: 14px;
        margin-bottom: 10px;
    }

    .secGallery-1 .linkList-1 li:last-child{
        margin-bottom: 0;
    }

    .secGallery-1 .itemList-1{
        width: 100%;
        display: flex;
    }

    .secGallery-1 .itemList-1 .box{
        width: calc(50% - 5px);
    }

    .secGallery-1 .itemList-1 .box{
        width: 49.5%;
        margin-bottom: 1%;
    }

    .secGallery-1 .itemList-1 .box:nth-child(odd){
        margin-right: 0.5%;
    }

    .secGallery-1 .itemList-1 .box:nth-child(even){
        margin-left: 0.5%;
    }

    .works-template-default .head-3 .pageTitle{
        top: unset;
        bottom: -50%;
        width: 80%;
    }

    .works-template-default .head-3 .pageTitle .title{
        font-size: 26px;
        line-height: 1.5em;
        text-align: left;
    }

    .works-template-default .secA-1 .lead{
        font-size: 14px;
        margin-top: 5em;
        text-align: left;
        line-height: 1.75em;
    }

    .works-template-default .titleList li:last-child{
        border-bottom: solid 1px #FFF;
    }

    .works-template-default .box.titleList02{
        margin-bottom: 0;
    }
    /* 20210918追加 */
    .secGallery-1-2 li.slick-slide img {
        min-width: 250px;
        max-height: 250px;
    }
}
