@charset "UTF-8";
/* CSS Document */

.page-header h2 {
	font-size: 93px;
	text-align: center;
	letter-spacing: 0.03em;
	line-height: 1.2;
}

.page-header span{
		letter-spacing: 0.08em;
}


#subvisual.works,#subvisual.single-works { margin: 11% auto; }
.page-header span {
	display: flex;
	justify-content: center;
	font-size: 24px;
	text-align: center;
}
.page-header {
	display: block;
	margin-bottom: 60px;
}
.tab-btn { margin-bottom: 5%; }
.tab-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4.3%;
}
.inner {
	width: 86%;
	max-width: 1415px;
	margin: 0 auto;
}
.tab-list li {
	font-size: 19px;
	letter-spacing: 0.08em;
}
.tab-list .cate-item a{
	position: relative;
}
.tab-list .cate-item a:hover {
	cursor: pointer;
}
.tab-list .cate-item a:before {
	content: "";
	display: block;
	width: 20px;
	height: 20px;
	background: #c61531;
	filter: blur(13px);
	border-radius: 50%;
	position: absolute;
	z-index: -1;
	margin: auto;
	left: 0;
	right: 0;
	opacity: 0;
	transition: all .5s;
}
.tab-list .cate-item a:hover:before {
	opacity: 1;
}
.tab-list li.is-show a:before {
	opacity: 1;
}
.works-list {
	display: none;
	opacity: 0;
}
.works-list.is-show {
	display: block;
	animation-name: fadeIn;
	animation-fill-mode:forwards;
	animation-duration:1s;
}
@keyframes fadeIn{
	0% { opacity: 0; }
	100% { opacity: 1; }
}
.works-list .inner > ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 120px 8%;
	padding-bottom: 210px;
}
.works-list li { width: 46%; }
.works-list li a { width: 100%; }
.works .img-box img {
	width: 100%;
    height: 100%;
    object-fit: cover;
}
.works .img-box { margin-bottom: 3%; }
.case-category {
	font-size: 16px;
	margin-bottom: 2%;
}
.works-list .category li {
	width: fit-content;
	padding: 0 12px;
	border-bottom: 1px solid #c61531;
	color: #c61531;
	font-size: 16px;
}
.subtitle-box {
	font-size: 21px;
	margin-bottom: 1%;
	line-height: 1.3;
	letter-spacing: 0.06em;
}
.client-box {
	font-size: 15px;
	letter-spacing: 0.1em;
}
.works-list li:nth-of-type(even) {
	position: relative;
	top: 210px;
}
@media (max-width: 1400px) {
	.page-header h2 {
		font-size: calc((93/1400)*100vw);
	}
	.page-header span {
		font-size: calc((24/1400)*100vw);
	}
	.tab-list li {
		font-size: calc((19/1400)*100vw);
	}
	.subtitle-box {
		font-size: calc((21/1400)*100vw);
	}
	@media (max-width: 1024px) {
		.works-list li:nth-of-type(even) { top: calc((210/1200)*100vw); }
		.works-list .inner > ul { padding-bottom: calc((210/1200)*100vw); }
		.works-list .category li { font-size: 14px; }
		@media (max-width: 840px) {
			.subtitle-box { font-size: 15px; }
			#subvisual.works, #subvisual.single-works {
				margin: 15% 0;
			}
			.page-header span { font-size: calc((18/840)*100vw); }
			.tab-btn { margin-bottom: 8%; }
			.tab-list { gap: 10px 0; }
			.tab-list li {
				font-size: calc((16/840)*100vw);
				width: calc(100% / 4);
				text-align: center;
			}
			.page-header h2 { font-size: calc((60/840)*100vw); }

			@media (max-width: 768px) {
				.works-list .inner > ul {
					padding-bottom: 0;
					gap: 60px;
				}
				.works-list li { width: 80%; }
				.works-list li:nth-of-type(even) {
					top: 0;
					margin-left: auto;
				}
				@media (max-width: 520px) {
					#subvisual.works, #subvisual.single-works { margin: 28% 0; }
					.page-header span { font-size: 14px; }
					.page-header h2 { font-size: 45px; }
					.tab-list li {
						font-size: 14px;
						width: calc(100% / 2);
					}
					.tab-list { justify-content: flex-start; }
					.page-header { margin-bottom: 50px; }
					.tab-btn { margin-bottom: 60px; }
					.works-list li { width: 86%; }
				}
			}
		}
	}
}


/* -----------------
制作事例　投稿ページ
------------------- */
#subvisual.single-works { margin: 8% auto 11%; }
.single-works .inner {
	max-width: 1380px;
}
.single-works .main .inner {
	max-width: 1415px;
}
.single-works .bord-wrap {
	border: 1px solid #343434;
	padding: 35px 55px;
}
.single-works .img-box img {
	aspect-ratio: 1920 / 1080;
	object-fit: cover;
}
.single-works .img-box {
	margin-bottom: 1%;
}
.single-works .name-box {
	margin-left: 1.5%;
	font-size: 20px;
	letter-spacing: 0.03em;
	line-height: 2em;
	margin-bottom: 1%;
}
.single-works .cate-box {
	margin-left: 1.5%;
	width: fit-content;
	padding-right: 1%;
	border-bottom: 1px solid #333;
}
.single-works .url-box {
	margin-left: 1.5%;
	letter-spacing: 0.05em;
	font-size: 18.85px;
	color: #343434;
    opacity: 0.5;
}
.single-works .url-box a:hover, .single-works .sticky .client-box a:hover {
	color: #c61531;
}
section.main {
	margin-bottom: 4%;
}
.single-works .content-wrap .inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.single-works .sub-main {
	width: calc(100% - 484px);
}
.single-works .text-box {
	margin-bottom: 7%;
}
.single-works .text-box h4 {
	font-size: 24px;
	letter-spacing: 0.03em;
	margin-bottom: 3.5%;
}
.single-works .text-box p {
	letter-spacing: 0.05em;
	line-height: 1.8;
}
.single-works .slide-box {
	margin-bottom: 7%;
}
.single-works .flex {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 4.5%;
}
.single-works .img {
	margin: 11% auto;
	width: 46%;
}
.single-works .slide { width: 46%; }
.single-works .movie-box {
	margin-bottom: 7%;
}
.single-works .movie-box .movie p {
	aspect-ratio: 930 / 540;
} 
.single-works .gallery-box .gallery-img {
	margin-bottom: 7%;
}
.single-works .gallery-box .gallery-img:last-of-type {
	margin-bottom: 0;
}
.single-works .sticky {
	width: 384px;
	margin-top: 1.5%;
}
.single-works .border {
	border: 1px solid #343434;
	padding: 11%;
	position: sticky;
	top: 100px;
	z-index: 99;
}
.single-works .box-name {
	font-family: canto, serif;
	font-size: 36px;
	color: #343434;
	opacity: 0.5;
	letter-spacing: 0.07em;
}
.single-works h5 {
	font-size: 20px;
}
.single-works .sticky .client-box {
	padding-bottom: 5%;
	border-bottom: 1px solid #343434;
	margin-bottom: 4%;
}
.single-works .sticky .credit-box {
	padding-bottom: 10%;
	border-bottom: 1px solid #343434;
	margin-bottom: 4%;
	letter-spacing: 0.1em;
		font-size: 15px;
}
.single-works .sticky .cate-box {
	width: 100%;
	border: none;
	margin-bottom: 14%;
	letter-spacing: 0.1em;
		font-size: 15px;
}
.header-h1 { display: none; }
.single-works .np-link {
	margin: 13% auto 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1.5rem;
}
.single-works span.arrow-left {
	display: inline-block;
	vertical-align: middle;
	color: #333;
	line-height: 1;
	position: relative;
	width: 2em;
	height: 1px;
	background: #333;
	margin-right: 1.5rem;
}
.single-works span.arrow-left:before {
	content: '';
	width: 0.65em;
	height: 0.65em;
	border: 0.1em solid #333;
	border-right: 0;
	border-bottom: 0;
	transform: rotate(-45deg);
	transform-origin: top left;
	position: absolute;
	top: 50%;
	left: -0.05em;
	box-sizing: border-box;
}
.single-works span.arrow-left, .single-works span.arrow-right{
	display: inline-block;
	vertical-align: middle;
	color: #333;
	line-height: 1;
	position: relative;
	width: 2em;
	height: 1px;
	background: #333;
	margin-right: 1.5rem;
}
.single-works span.arrow-right {
	margin-right: 0;
	margin-left: 1.5rem;
}
.single-works span.arrow-left:before {
	content: "";
	width: 0.65em;
	height: 0.65em;
	border: 0.1em solid #333;
	border-right: 0;
	border-bottom: 0;
	transform: rotate(-45deg);
	transform-origin: top left;
	position: absolute;
	top: 50%;
	left: -0.05em;
	box-sizing: border-box;
}
.single-works span.arrow-right:before {
	content: "";
	width: 0.65em;
	height: 0.65em;
	border: 0.1em solid #333;
	border-left: 0;
	border-bottom: 0;
	transform: rotate(45deg);
	transform-origin: top right;
	position: absolute;
	top: 50%;
	right: -0.05em;
	box-sizing: border-box;
}
.single-works .bord-box {
	width: 1px;
	background: #333;
}
.single-works .pre-box a, .single-works .next-box a {
	display: flex;
	align-items: center;
	letter-spacing: 0.1em;
}
.single-works .pre-box, .single-works .next-box { margin: 1rem 0; }
.single-works .title h4 {
	font-size: 28px;
	letter-spacing: 0.07em;
	line-height: 1.8;
}
.single-works .title { margin-bottom: 2%; }
.single-works .faq-box { margin-bottom: 8%; }
.single-works .faq-box .faq {
	background: #fff;
	margin-bottom: 3%;
	padding: 3% 6%;
}
.single-works .faq-box dl {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: center;
	gap: 2em;
}
.single-works .faq-box dt.qa {
	font-size: 24px;
	line-height: 1;
}
.single-works .faq-box dd.text {
	width: 92%;
	font-size: 18px;
	letter-spacing: 0.07em;
	line-height: 1.8;
}
.single-works .faq-box .q-content {
	padding-bottom: 1.5em;
	border-bottom: 1px solid #343434;
	margin-bottom: 1em;
}

@media (max-width: 1400px) {
	.single-works .box-name { font-size: calc((36/1400)*100vw); }
	.single-works h5 { font-size: calc((20/1400)*100vw); }
	.single-works .text-box h4 { font-size: calc((24/1400)*100vw); }
	.single-works .text-box p {font-size: calc((14/1400)*100vw);}
	.single-works .sticky { width: 28%; }
	.single-works .sub-main { width: 64%; }
	.single-works .border > div p { font-size: 14px; }
	.single-works .title h4 { font-size: calc((28/1400)*100vw); }
	.single-works .faq-box dt.qa { font-size: calc((24/1400)*100vw); width: 1em; }
	.single-works .faq-box dd.text { font-size: calc((18/1400)*100vw); width: calc(100% - 4em); }

	@media (max-width: 1024px) {
		#subvisual.single-works { margin: 12% auto; }
		.single-works .pre-box a, .single-works .next-box a { font-size: 14px; }

		@media (max-width: 840px) {
			.single-works .text-box h4 { font-size: 20px; }
			.single-works .text-box p { font-size: 14px; }
			.single-works .bord-wrap { padding: 30px; }
			.single-works .sub-main { width: 100%; }
			.single-works .sticky {
				position: absolute;
				right: calc(-300px - 3%);
				width: 300px;
				height: 100%;
				margin: 0;
				transition: all .5s;
			}
			.single-works .sticky.show { right: -7%; }
			.single-works .border {
				padding: 8% 12%;
				background: #f5f5f5;
				border-color: #c61531;
				transition: .5s;
			}
			.single-works .border:before {
				content: "＋　MORE";
				writing-mode: vertical-rl;
				position: absolute;
				left: 3%;
			}
			.single-works .sticky .cate-box { margin-bottom: 0; }
			.single-works .content-wrap .inner { position: relative; }
			.single-works .sticky.show .border:before { display: none; }
			.single-works .sticky.show .border { border-color: #343434; }
			.single-works .title h4 { font-size: 20px; }
			.single-works .faq-box dt.qa { font-size: 20px; }
			.single-works .faq-box dd.text { font-size: 16px; }

			@media (max-width: 768px) {
				#subvisual.single-works { margin: 14% auto; }

				@media (max-width: 520px) {
					#subvisual.single-works { margin: 30% auto; }
					.single-works .bord-wrap { padding: 20px; }
					.single-works .cate-box { font-size: 14px; }
					.single-works .url-box { font-size: 14px; }
					.single-works .cate-box { font-size: 14px; }
					.single-works .url-box { font-size: 14px; }
					.single-works .sticky { right: calc(-300px - 0%); }
					.single-works .border { padding: 8% 10%; }
					.single-works .border:before { font-size: 16px; left: 1%; }
					section.main { margin-bottom: 12%; }
					.single-works .text-box h4 { font-size: 18px; }
					.single-works .box-name { font-size: 20px; }
					.single-works h5 { font-size: 16px; }
					.single-works .border > div p { font-size: 12px; }
					.single-works .movie-box .movie p { aspect-ratio: 1; }
					.single-works .title h4 { font-size: 18px; }
					.single-works .text-box { margin-bottom: 14%; }
					.single-works .slide-box { margin-bottom: 14%; }
					.single-works .movie-box { margin-bottom: 14%; }
					.single-works .faq-box dt.qa { font-size: 18px; }
					.single-works .faq-box dd.text { font-size: 14px; }
					.single-works .faq-box .faq { padding: 8%; }
					.single-works .faq-box { margin-bottom: 14%; }
					.single-works .gallery-box .gallery-img { margin-bottom: 14%; }
					.single-works span.arrow-left, .single-works span.arrow-right {
						margin-right: 1em;
						width: 1.5em;
					}
					.single-works span.arrow-right {
						margin-right: 0;
						margin-left: 1em;
					}
					.single-works .img {
						width: 100%;
						margin: 14% auto;
					}
					.single-works .slide { width: 100%; }
					.single-works .sticky.show { width: 280px; }
				}
			}
		}
	}
}