@charset "UTF-8";

/* CSS Document */

/*====================================

	#sd_content

====================================*/

#app_sd #sd_content {
	padding: 60px 16px 0;
}

/*====================================

    category

====================================*/

#category {
    margin-bottom: 20px;
}
#category ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
}
#category ul li {
}
#category ul li a {
    display: inline-block;
    padding: .3em .8em;
    border-radius: 80px;
    line-height: 1em;
    font-family: "helvetica-lt-pro" sans-serif;
    border: 1px solid rgba(0, 0, 0, 0);
    color: inherit;
    text-decoration: none;
    font-size: 110%;
}
#category ul li a:hover {
    border: 1px solid #000;
}
#category ul li a.active {
    background: #fff;
}

/*====================================

	works_list

====================================*/

.works_reset {
	display: block;
	margin: 0 0 16px auto;
	padding: 8px 16px;
	background: #fff;
	border: 1px solid #000;
	font-size: 85.71%;
}
.works_list ul {
	width: 100%;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
}
.works_list ul li {
	position: relative;
	transition: opacity .25s ease;
}
.works_list ul li a {
	display: block;
	color: inherit;
	text-decoration: none;
	cursor: url("/common/images/pointer_hover.png") 16 0, pointer;
}
.works_list ul li .ph {
	position: relative;
	aspect-ratio: 3 / 4;
	overflow: hidden;
}
.works_list ul li img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

.works_list ul li .text {
	display: none;
}

/*====================================

	「見た」演出

====================================*/

.works_list ul li .ph {
	transition: filter .25s ease, opacity .25s ease;
}
.works_list ul li.is-viewed .ph {
	filter: grayscale(1);
	opacity: .4;
}
.works_list ul li.is-viewed:hover .ph {
	filter: none;
	opacity: 1;
}

/*====================================

	サムネの動き

====================================*/

.works_list ul li.cat_graphic .ph.is-multi img,
.works_list ul li.cat_goods .ph.is-multi img {
	opacity: 0;
	transition: opacity 1s ease;
}
.works_list ul li.cat_graphic .ph.is-multi img.is-prev,
.works_list ul li.cat_goods .ph.is-multi img.is-prev {
	opacity: 1;
	z-index: 1;
	transition: none;
}
.works_list ul li.cat_graphic .ph.is-multi img.is-active,
.works_list ul li.cat_goods .ph.is-multi img.is-active {
	opacity: 1;
	z-index: 2;
}

.works_list ul li.cat_web .ph {
	overflow: hidden;
	container-type: size;
}
.works_list ul li.cat_web .ph img {
	position: relative;
	inset: auto;
	width: 100%;
	height: auto;
	object-fit: unset;
	animation: works_web_slide 30s linear infinite paused;
}
/* Promote to a GPU layer only while the slide runs. */
.works_list ul li.cat_web .ph img + img {
	margin-top: 1px;
}
.works_list ul li.cat_web .ph.is-playing img {
	animation-play-state: running;
	will-change: transform;
}
.works_list ul li.cat_web .ph.is-short img {
	inset: 0;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	animation: none;
	will-change: auto;
}
@keyframes works_web_slide {
	0%, 5%    { transform: translateY(0); }
	95%, 100% { transform: translateY(calc(var(--scroll-dist, 0px) * -1)); }
}

@media (prefers-reduced-motion: reduce) {
	.works_list ul li.cat_web .ph img { animation: none; }
}

/*====================================

	works_modal

====================================*/

.works_modal .modal-img {
	display: block;
	width: 100%;
	height: auto;
}
.works_modal .modal-category {
	display: inline-block;
	padding: .2em 1.6em;
	border: 1px solid #000;
	border-radius: 200px;
	background: #fff;
	font-size: 75%;
	line-height: 1em;
}
.works_modal .modal-title {
	font-size: 120%;
	font-weight: 400;
	margin: .3em 0 24px;
}
.works_modal .modal-text {
	line-height: 1.9;
	margin-bottom: 1.5em;
	font-size: 80%;
}
.works_modal .modal-text p {
    margin-bottom: 1.5em;
}
.works_modal .modal-text p:last-child {
    margin-bottom: 0;
}

.works_list ul li .ph > video {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	opacity: 0;
	transition: opacity .4s ease;
}
.works_list ul li .ph > video.is-playing {
	opacity: 1;
}
.works_modal .modal-video-file {
	display: block;
	width: 100%;
	height: auto;
	background: #000;
}

.works_modal .modal-gallery {
	display: grid;
	gap: 8px;
    margin-bottom: 20px;
}
.works_modal .modal-gallery img {
	display: block;
	width: 100%;
	height: auto;
}

.works_modal .modal-head {
	margin-bottom: 24px;
}
.works_modal .modal-head .sub,
.works_modal .modal-head .main {
	margin: 0;
}
.works_modal .modal-head .sub span {
	font-size: 50%;
    line-height: 1.5em;
}
.works_modal .modal-head .main span {
	font-size: 90%;
    line-height: 1.5em;
}

.works_modal .spec {
}
.works_modal .spec dl {
	width: 100%;
	margin-bottom: 4px;
}
.works_modal .spec dl dt {
	font-family: "helvetica-lt-pro", "BIZ UDGothic", sans-serif;
	font-size: 80%;
	line-height: 1.5em;
	font-weight: bold;
	margin-right: .5em;
}
.works_modal .spec dl dd {
	line-height: 1.5em;
	font-size: 80%;
}
.works_modal .spec dl dd a {
    font-size: 100%;
    color: #fff;
    text-decoration: none;
    border: 1px solid var(--spec-link-color, #f00);
    background: var(--spec-link-color, #f00);
    border-radius: 40px;
    line-height: 1em;
    padding: .4em 2em;
    margin-top: 4px;
    display: inline-block;
}
