/*
----------------------------------------

gallery

----------------------------------------
*/

body {
	background: #fafafa;
}

.en {
	font-family: 'Alata', sans-serif;
}

#breadcrumbs {
	font-size: 1.2rem;
}

.page-header {
	display: none;
}

.cat-list {
	margin-right: 0;
}

.cat-list a,
.cat-list span {
	color: #000;
}

.post-nav .back-link a {
	color: #000;
}

.gallery-ttl {
	font-family: "ab-kikori", sans-serif;
	font-weight: 400;
	font-style: normal;
}

.page-wrap header {
	margin: 4rem 0;
}

.page-wrap header h1 {
	font-size: 3.6rem;
	font-weight: bold;
	line-height: 1.5;
	font-weight: bold;
}

.page-wrap header .cat-list {
	margin-top: 2rem;
}

.page-wrap .url a span.txt {
	color: #777;
	font-size: 1.2rem;
	padding: .2rem 0;
	border-bottom: solid 1px #777;
}

.url .tag {
	display: inline-block;
	border: solid 1px #777;
	padding: .1rem 1.2rem;
	font-size: 1.2rem;
	line-height: 1.5;
	margin-right: 1rem;
	border-radius: .5rem;
	position: relative;
	top: .2rem;
}

.page-wrap .material-symbols-outlined {
	font-size: 1.8rem;
	margin-left: .5rem;
	color: #777;
	position: relative;
	top: .6rem;
	transition: all .2s;
}

.main-img {
	margin-bottom: 6rem;
	line-height: .5;
}

.block-gallery {
	max-width: 750px;
	margin: 0 auto;
	letter-spacing: 1px;
	line-height: 2;
}

.block-gallery strong {
	background: linear-gradient( #fff 0%, #fff 69%, var( --main-on-color ) 70%, var( --main-on-color ) 100% );
}

.block-gallery a {
	color: var( --main-color );
	border-bottom: solid 1px var( --main-color );
}

.block-gallery .read {
	margin-bottom: 4rem;
}

.block-gallery .summary {
	font-size: 2rem;
	text-align: center;
	background: #fff;
	color: #000;
	padding: 2rem;
	margin-bottom: 6rem;
	border-radius: 1.5rem;
}

.block-gallery h2 {
	font-size: 4.2rem;
	line-height: 1.5;
	text-align: center;
	margin-bottom: 2rem;
}

.block-gallery .ttl {
	text-align: center;
	margin-bottom: 4rem;
}

.block-gallery .ttl h3 {
	display: inline-block;
	background: #fff;
	padding: .4rem 2.4rem .7rem;
	border-radius: .5rem;
	border: solid 1px #000;
	font-size: 2rem;
	line-height: 1.5;
	position: relative;
}

.block-gallery .ttl h3::after {
	content: '';
	border: solid 1rem transparent;
	border-top: solid 1rem #000;
	position: absolute;
	bottom: -2rem;
	left: calc( 50% - 1rem );
}

.block-gallery .img {
	line-height: .5;
	margin-bottom: 3rem;
	text-align: center;
}

.block-gallery video {
	margin-bottom: 4rem;
	width: 100%;
}

.addtoany_content {
	text-align: center;
	margin: 6rem 0 0;
}

.post-nav .back-link a {
	border-radius: 3rem;
}

.gallery-cat-wrap {
	margin: 4rem 0 6rem;
}

.gallery-list {
	margin-right: calc( -50vw + 55rem );
	margin-left: calc( -50vw + 55rem );
	background: #f5f5f5;
	padding: 6rem 0;
}

.gallery-list .gallery-wrap {
	max-width: 1560px;
	padding: 0 3rem;
	margin: 0 auto;
}

.gallery-list .page-wrap {
	width: calc( ( 100% - 6rem ) / 4 );
	margin: 0 2rem 4rem 0;
	background: #ddd;
	border-radius: .5rem;
	overflow: hidden;
}

.gallery-list .page-wrap:nth-child( 4n ) {
	margin-right: 0;
}

.gallery-list .thumb {
	position: relative;
}

.gallery-list .thumb .img {
	line-height: .5;
	margin: 0;
}

.gallery-list .thumb .img a {
	display: block;
	pointer-events: noen;
}

.gallery-list .link-wrap .flex {
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba( 0, 0, 0, .8 );
	opacity: 0;
	visibility: hidden;
	z-index: -1;
	transition: all .2s;
}

.gallery-list .link-wrap a {
	display: inline-block;
	color: #fff;
	padding: .5rem 1rem;
}

.gallery-list .link-wrap a span.txt {
	color: #fff;
	border-color: #fff;
}

.gallery-list .link-wrap .url {
	margin-top: 2rem;
	padding-top: 1.5rem;
	position: relative;
}

.gallery-list .link-wrap .url::before {
	content: '';
	width: 4rem;
	height: .1rem;
	background: #fff;
	position: absolute;
	top: 0;
	left: calc( 50% - 2rem );
}

.gallery-list .page-wrap .material-symbols-outlined {
	color: #fff;
}

.gallery-list .page-wrap .point-link .material-symbols-outlined {
	top: .3rem;
}

.gallery-list .txt-wrap {
	padding: .8rem;
}

.gallery-list .txt-wrap h2 {
	font-weight: bold;
	padding: .2rem 2rem;
	background: #fff;
	border: solid 1px #ddd;
	border-radius: .5rem;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

#uiux {
	background: #000;
	color: #fff;
}

#uiux #breadcrumbs a {
	color: #ccc;
}

#uiux #breadcrumbs a::after {
	content: url( ../img/common/svg/arrow-02-wh.svg );
}

#uiux #contents > header {
	background: #fff;
}

#uiux .page-wrap .url a span.txt {
	color: #ccc;
}

#uiux .gallery-list {
	background: #16171d;
}

#uiux .gallery-list .page-wrap {
	background: #000;
}

#uiux .gallery-list .txt-wrap h2 {
	background: #16171d;
	border: none;
}

#uiux .block-gallery .ttl h3 {
	color: #16171d;;
}

#uiux .block-gallery .ttl h3::after {
	border-top-color: #fff;
}

#uiux .post-nav .prev a,
#uiux .post-nav .next a {
	color: #fff;
}

#uiux .post-nav .prev a::before {
	background-image: url( ../img/common/svg/arrow-prev-wh.svg );
}

#uiux .post-nav .next a::before {
	background-image: url( ../img/common/svg/arrow-next-wh.svg );
}

#uiux .post-nav .prev span,
#uiux .post-nav .next span {
	border-bottom-color: #fff;
}


/*
----------------------------------------

1160

----------------------------------------
*/

@media screen and ( max-width: 1160px ) {

	.gallery-list {
		margin-right: -3rem;
		margin-left: -3rem;
	}

}


/*
----------------------------------------

768

----------------------------------------
*/

@media screen and ( max-width: 768px ) {

	#breadcrumbs {
		margin: 1rem 0;
		font-size: 1rem;
	}

	#breadcrumbs a::after {
		transform: translate( -50%, -25% );
	}

	.post-nav {
		border-top: solid 1px #ddd;
	}

	.post-nav .prev a,
	.post-nav .next a {
		border-bottom: solid 1px #ddd;
	}

	.addtoany_content {
		margin: 6rem 0 3rem;
	}

	.page-wrap header {
		margin: 1rem 0 2rem;
	}

	.page-wrap header h1 {
		font-size: 2.4rem;
	}

	.page-wrap header .cat-list {
		margin-right: 0;
	}

	.main-img {
		margin: 0 -2rem 3rem;
	}

	.block-gallery .read {
		margin-bottom: 3rem;
	}

	.block-gallery h2 {
		font-size: 3.2rem;
		margin-bottom: 1.5rem;
	}

	.block-gallery .ttl h3 {
		font-size: 1.8rem;
	}

	.gallery-cat-wrap {
		margin: 1rem 0 2rem;
	}

	.gallery-list {
		margin-right: -2rem;
		margin-left: -2rem;
		padding: 3rem 0 0;
	}

	.gallery-list .gallery-wrap {
		padding: 0 2rem;
	}

	.gallery-list .page-wrap {
		width: 100%;
		margin: 0 0 3rem 0 !important;
	}

	.gallery-list .link-wrap .flex {
		position: relative;
		background: rgba( 0, 0, 0, .8 );
		opacity: 1;
		visibility: visible;
		z-index: 99;
	}

	.gallery-list .link-wrap .flex {
		width: 100%;
	}

	.gallery-list .link-wrap .point-link {
		display: none;
	}

	.gallery-list .link-wrap .url {
		width: 100%;
		text-align: center;
		margin: 0;
		padding: 0;
	}

	.gallery-list .link-wrap a {
		display: block;
		padding: 1rem 1rem 1.2rem;
	}

	.gallery-list .link-wrap .url::before {
		display: none;
	}

	.block-gallery .summary {
		font-size: 1.6rem;
		padding: 1.5rem;
		margin-bottom: 4rem;
		border-radius: 1rem;
	}

}


/*
----------------------------------------

hover

----------------------------------------
*/

@media screen and ( min-width: 769px ) {

	.page-wrap .url a:hover {
		text-decoration: none;
	}

	.page-wrap .url a:hover span.txt {
		color: var( --main-color );
		border-bottom: solid 1px var( --main-color );
	}

	.page-wrap header .url a:hover + .material-symbols-outlined {
		color: var( --main-color );
	}

	.gallery-list .page-wrap:hover .link-wrap .flex {
		opacity: 1;
		visibility: visible;
		z-index: 99;
	}

	.gallery-list .link-wrap a:hover {
		transform: scale( 1.1 );
	}

	.gallery-list .page-wrap .point-link a:hover .material-symbols-outlined {
		transform: translateX( .5rem );
	}

	#uiux .post-nav .prev a:hover span,
	#uiux .post-nav .next a:hover span {
		border-bottom-color: var( --main-color );
	}

}
