@charset "utf-8";
/*****共通*****/


h1 {
    color: #fff;
    font-size: 80px;
    line-height: 90px;
}
h6 {
    color: #fff;
    font-size: 20px;
}
/*****共通end*****/

.sec1 {
  justify-content: center;
  align-items: center;
  width: 100%;
	background: #fff;
	position: relative;
}
.sec1 .wrap{
	overflow: hidden;
  	position: relative;
	margin-top: 30px;
}
.sec1 ul{
	flex-wrap: wrap;
}
.sec1 ul li{
	padding: 30px 15px;
}

.sec1 ul li .img img {
    transition: transform 0.6s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pagenavi {
    clear: both;
    text-align: center;
    padding-top: 50px;
    padding-bottom: 0;
}
.pagenavi .active,
.pagenavi .current
 
 {
    background-color: #00974a !important;
}
.pagenavi .current,
.pagenavi a {
    display: inline-block;
    color: #fff;
    background-color: #C0C0C0;
    padding: 9px 18px;
    margin: 10px 5px;
    -webkit-transition: 0.2s ease-in-out;
    -moz-transition: 0.2s ease-in-out;
    -o-transition: 0.2s ease-in-out;
    transition: 0.2s ease-in-out;
    text-align: center;
    font-size: 20px;
}
.pagenavi a:hover {
    background-color: #00974a;
}
.pagenavi a.active  {
    color: #fff;
}
.pagenavi a {
    color: #fff;
}
.sec1 ul li .img {
    outline: 2px solid #0062ac;
    overflow: hidden;
    outline-offset: -1px;
}
@media screen and (min-width: 768px) {
	#fancybox-wrap{
	}
	
#fancybox-outer{    
	position:relative;
	box-shadow:0 0 20px #111;-moz-box-shadow:0 0 20px #111;
	-webkit-box-shadow:0 0 20px #111;background:#fff;
	}

	#fancybox-content img {
  object-fit: cover; /* cover / contain / none など選べます */
}

	#fancybox-close {
    top: -24px;
    right: -110px;
    cursor: pointer;
    z-index: 111105;
    display: none;
}
	    header nav ul li a {
        display: flex;
        justify-content: center;
        align-items: center;
        padding-bottom: 5px;
        height: auto;
        padding-top: 45px;
        white-space: nowrap;
        margin: 0 5px;
        color: #fff;
        position: relative;
        transition: .3s;
    }
	header nav ul li a::before {
        background: #fff;
        content: '';
        width: 100%;
        height: 2px;
        position: absolute;
        left: 0;
        bottom: 0;
        transform-origin: right top;
        transform: scale(0, 1);
        transition: transform .3s;
    }
	.sec1{
		padding-bottom: 200px;
	}
.sec1 .wrap{
	padding: 0;
	padding-top: 30px;
	max-width: 1280px;
}
.sec1 p{
    font-size: 25px;
    line-height: 30px;
}
	.sec1 p.work-ttl{
		font-size: 20px;
		letter-spacing: -1px;
		padding-top: 25px;
	}
	.sec1 p.day{
		font-size: 16px;
		
	}
.sec1 ul li{
	width: 25%;
}
	.sec1 ul li .img {
            height: 290px;
        width: 100%;

}
}

@media screen and (min-width: 768px) and (max-width: 1380px){

	.sec1 .txt {
        margin-left: 3em;
        padding-top: 6em;
    }
	.sec1 p{
		padding-bottom: 3em;
	}
	    .sec1 ul li .img {
        height: 50%;
        width: 100%;
    }
}
@media screen and (max-width: 767px) {
	.sec1 .wrap{
		padding-bottom: 0em;
	}
.sec1 ul {
    flex-wrap: wrap;
    display: flex
;
}
    .sec1 p.day {
        font-size: 16px;
        
    }
	.sec1 .ttl{
		padding-top: 25px;
		margin-bottom: 3em;
	}
	.sec1 p.work-ttl{
		padding-top: 20px;
		}
.sec1 ul li {
        width: 50%;
        padding: 30px 5px;
    }
}
