/*
Template: jin
Theme Name: jin-child
Author: CrossPiece
Version: 1.00
*/


div.eyecatch_wrap {
    width: 43.85vw;
    height: 23.5vw;
    max-height: 352.5px;
    background: #DDDDDD;
    max-width: 657.75px;
    margin: 0 auto;
    position: relative;
}

div.eyecatch_wrap div.eyecatch_slider {
    width: 80%;
    height: 23.5vw;
    margin: 0 auto;
    position:unset;
}


div.eyecatch_wrap div.eyecatch_slider div.slick-list {
    height: 100%;
}

div.eyecatch_wrap div.eyecatch_slider div.slick-list a.slick-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 23.5vw;
}

div.eyecatch_wrap div.eyecatch_slider div.slick-list a.slick-slide img {
	object-fit: none;
    display: inline-block;
    /* border: 1px solid purple;
    background-color: white; */
}

.eyecatch_slider .slick-prev:before,
.eyecatch_slider .slick-next:before {
    display: none;
}

.eyecatch_slider button.slick-prev,
.eyecatch_slider button.slick-next {
    background: darkgray;
    color: white;
    position: absolute;
    top: 13vw;
    height: 5vw;
    width: 3vw;
    z-index:10;
    font-size: 2vw;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.8;
    cursor: pointer;
}

.eyecatch_slider button.slick-prev {
    left: 0;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.eyecatch_slider button.slick-next {
    right: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

/* 下部表示 */
.eyecatch_list {
    width: 100%;
    max-width: 657.75px;
    height: 5.33vw;
    margin: 1vw auto 0;
}

.eyecatch_list .slick-list {
    height: 100%;
}

.eyecatch_list .slick-list img {
    cursor: pointer;
}



@media screen and (max-width: 1000px ) {
    div.eyecatch_wrap {
        width: 92vw;
        height: 50vw;
        max-height: unset;
        background: #DDDDDD;
        max-width: unset;
        margin: 0 auto;
    }

    div.eyecatch_wrap div.eyecatch_slider {
        width: 80%;
        height: 50vw;
        margin: 0 auto;
    }

    div.eyecatch_wrap div.eyecatch_slider div.slick-list {
        height: 50vw;
    }

    div.eyecatch_wrap div.eyecatch_slider div.slick-list a.slick-slide {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 50vw;
    }

    div.eyecatch_wrap div.eyecatch_slider div.slick-list a.slick-slide img {
        height: 50vw;
        max-height: unset;
        min-height: unset;
        width: auto;
		object-fit: cover;
    }

    div.eyecatch_wrap div.eyecatch_slider button.slick-prev,
    div.eyecatch_wrap div.eyecatch_slider button.slick-next {
        background: darkgray;
        color: white;
        position: absolute;
        top: 24vw;
        height: 10vw;
        width: 6vw;
        z-index:10;
        font-size: 4vw;
        display: flex;
        justify-content: center;
        align-items: center;
        opacity: 0.8;
        cursor: pointer;
    }

    /* 下部表示 */
    .eyecatch_list {
        width: 80%;
        height: 10vw;
        margin: 1vw auto 0;
    }
    
    .eyecatch_list .slick-list {
        height: 100%;
    }

}

@media screen and (min-width: 1501px ) {
	
    #main-contents div.eyecatch_wrap {
        height: 352.5px;
        width: 657.75px;
        margin: 0 auto;
        position: relative;
    }
	
	div.eyecatch_wrap div.eyecatch_slider {
    	width: 80%;
    	height: 352.5px;
    	margin: 0 auto;
    	position:unset;	
	}

    div.eyecatch_wrap div.eyecatch_slider div.slick-list {
         height: 100%;
    }
	
	div.eyecatch_wrap div.eyecatch_slider div.slick-list a.slick-slide {
        display: flex;
    	justify-content: center;
    	align-items: center;
    	height: 352.5px;
    }

    div.eyecatch_wrap div.eyecatch_slider div.slick-list a.slick-slide img {
        object-fit: none;
    	display: inline-block;
    }

    div.eyecatch_wrap div.eyecatch_slider button.slick-prev,
    div.eyecatch_wrap div.eyecatch_slider button.slick-next {
        background: darkgray;
        color: white;
        position: absolute;
        top: 195px;
        height: 75px;
        width: 45px;
        z-index:10;
        font-size: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
        opacity: 0.8;
        cursor: pointer;
    }

    div.eyecatch_wrap div.eyecatch_slider button.slick-prev {
        left: 0;
        border-top-right-radius: 4px;
        border-bottom-right-radius: 4px;
    }

    div.eyecatch_wrap div.eyecatch_slider button.slick-next {
        right: 0;
        border-top-left-radius: 4px;
        border-bottom-left-radius: 4px;
    }

    /* 下部表示 */
    .eyecatch_list {
        width: 657.75px;
        height: 80px;
        margin: 1vw auto 0;
    }

    .eyecatch_list .slick-list {
        height: 100%;
    }
}