/* WORKS page styles */
.margin-bottom-none {
	margin-bottom: 0px;
}

footer {
	background: #666;
}
/* 画像一覧 */

h1.page-title {
	color: #333;
}


/* WORKS page header: SERVICE と共通トーンのグラデーション + 方眼グリッド */
.works-header {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: linear-gradient(230deg, #d9a7eb, #a7c7f0, #a7edea);
    background-size: 300% 300%;
    -webkit-animation: MoveBG 10s ease infinite;
    animation: MoveBG 10s ease infinite;
    padding: 58px 0 54px;
    border-top: 1px solid rgba(255,255,255,0.28);
    border-bottom: 1px solid rgba(255,255,255,0.24);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), inset 0 -1px 0 rgba(255,255,255,0.16);
}

.works-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        repeating-linear-gradient(
            0deg,
            rgba(255,255,255,0.22) 0,
            rgba(255,255,255,0.22) 1px,
            transparent 1px,
            transparent 58px
        ),
        repeating-linear-gradient(
            90deg,
            rgba(255,255,255,0.22) 0,
            rgba(255,255,255,0.22) 1px,
            transparent 1px,
            transparent 58px
        );
    background-size: 58px 58px, 58px 58px;
    opacity: 0.42;
    pointer-events: none;
}

.works-header::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.03) 28%, rgba(0,0,0,0.08) 100%),
        radial-gradient(circle at 20% 18%, rgba(255,255,255,0.22), transparent 28%),
        radial-gradient(circle at 80% 22%, rgba(255,255,255,0.18), transparent 26%);
    pointer-events: none;
}

.works-header > .container,
.works-header .row,
.works-header [class*="col-"] {
    position: relative;
    z-index: 1;
}

.works-header h1 {
    margin: 0;
    color: #fff;
    font-size: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 5px;
    line-height: 1;
    text-shadow: 0 1px 0 rgba(255,255,255,0.14), 0 12px 28px rgba(31,53,71,0.14);
}

.works-header h1 span {
    display: block;
    margin-top: 12px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1.6;
    text-transform: none;
    opacity: 0.96;
}

.work-list {
	width: 90%;
	margin: 40px 5% 0;
}

.work-list ul {
display: flex;
	flex-wrap : wrap;
	justify-content : space-around;
}

.work-list li {
    width: 23%;
	margin: 0 0px 30px 0;
	overflow: hidden;
	position: relative;
	box-sizing: border-box;
}


.work-list li img {
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: scale(1);
    transform: scale(1);
    width:100%;
    height: auto;
}

.work-list li img:hover {
    -webkit-transform: scale(1.1s);
    transform: scale(1.1);
}

figure {
	display: block;
	margin: 0;
	padding: 0 0 10px;
	overflow: hidden;
	position: relative;
	text-align: center;
	background: #fff;
}

.work-list li h3 {
	margin: 10px 0 0px;
	font-size: 1rem;
	font-weight: normal;
}

.work-list li span {
	font-size: .7rem;
	color: #888;
}

@media (max-width: 768px) {

/* 画像一覧 */

.work-list {
    width: 100%;
    margin: 20px auto 0;
}

.work-list ul {
display: inherit;
padding: 0 20px;
}

.work-list ul li {
	width: 100%;
	margin-bottom: 20px;
}



}


@media (max-width: 900px) {
    .works-header {
        padding: 44px 0 40px;
    }

    .works-header::before {
        background-size: 42px 42px, 42px 42px;
        opacity: 0.34;
    }

    .works-header h1 {
        font-size: 22px;
        letter-spacing: 0.18em;
    }

    .works-header h1 span {
        margin-top: 10px;
        font-size: 15px;
    }
}
