@charset "UTF-8";
/**
* -------------------------------------------
* header
* --------------------------------------------
*/
.kktfwp-header {
	width: 100%;
	background: #fff;
	padding: 25px 0;
}
@media (max-width: 767px) {
	.kktfwp-header {
		padding-bottom: 0;
	}
}
.kktfwp-header .custom-logo-link {
	transition: all 0.2s ease-out;
	color: #000;
}
.kktfwp-header .custom-logo-link:hover {
	color: red;
}
.kktfwp-header .p-filter {
	padding-top: 15px;
}
.kktfwp-header .p-filter ul {
	margin: 0;
}

.kktfwp-header.kktfwp-header--fixed {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 10;
}

.header-space {
	display: block;
	margin-bottom: var(--mb, 0);
}

a.has-overlay::after {
	opacity: 0.8;
}

/**
* -------------------------------------------
* テテンプレーポートフォリオ
* --------------------------------------------
*/
.page-template-template-portfolio .kktfwp-header {
	padding-bottom: 0;
}
.page-template-template-portfolio .header-space {
	margin-bottom: 0;
}
.page-template-template-portfolio .kktfwp-projects-wrapper {
	padding-top: 0;
}

/* menu
---------------------------------------------*/
.kktfwp-logo-menu-wrapper .kktfwp-logo {
	display: grid;
	place-content: center;
	place-items: center;
	width: auto;
	margin-bottom: 10px;
}
@media (max-width: 767px) {
	.kktfwp-logo-menu-wrapper .kktfwp-logo svg {
		height: 75px;
	}
}
.kktfwp-logo-menu-wrapper .kktfwp-logo__description {
	margin: 0;
	color: #000;
	font-size: 11px;
}
@media (min-width: 768px) {
	.kktfwp-logo-menu-wrapper .kktfwp-logo__description {
		font-size: 13px;
	}
}
.kktfwp-logo-menu-wrapper .kktfwp-logo__description > .name {
	display: inline-flex;
	margin-right: 0.75em;
}
.kktfwp-logo-menu-wrapper nav {
	padding: 0;
}
@media (max-width: 1199px) {
	.kktfwp-logo-menu-wrapper nav {
		margin: 0;
	}
}
.kktfwp-logo-menu-wrapper .kktfwp-site-header-menu {
	position: relative;
	top: initial;
	bottom: initial;
	left: initial;
	display: block;
	width: 100%;
}
.kktfwp-logo-menu-wrapper .kktfwp-site-header-menu .kktfwp-primary-menu {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
}
@media (min-width: 768px) {
	.kktfwp-logo-menu-wrapper .kktfwp-site-header-menu .kktfwp-primary-menu {
		justify-content: flex-end;
	}
}
@media (max-width: 767px) {
	.kktfwp-logo-menu-wrapper .kktfwp-site-header-menu .kktfwp-primary-menu {
		column-gap: 16px;
	}
}
.kktfwp-logo-menu-wrapper .kktfwp-site-header-menu .kktfwp-primary-menu > li {
	font-size: 16px;
}

.site-header-menu-container.site-header-menu-container--fixed {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100;
	width: 100%;
	background: #fff;
}
.site-header-menu-container.site-header-menu-container--fixed .kktfwp-site-header-menu {
	max-width: 1200px;
	margin: 0 auto;
	padding-top: 8px;
	padding-bottom: 8px;
}

/**
* -------------------------------------------
* トップページ
* --------------------------------------------
*/
/* エントランスアニメーション
---------------------------------------------*/
@keyframes animate-scale {
	0% {
		transform: scale(1.5, 1.5);
	}
	100% {
		transform: scale(0, 0);
	}
}
@keyframes anime-border {
	0% {
		width: 30px;
		height: 30px;
		border-radius: 50%;
	}
	5% {
		border-radius: 0;
	}
	100% {
		width: 100%;
	}
}
@keyframes splash-anime-up {
	0% {
		transform-origin: top;
		transform: scaleY(1);
	}
	100% {
		transform-origin: top;
		transform: scaleY(0);
	}
}
@keyframes splash-anime-bottom {
	0% {
		transform-origin: bottom;
		transform: scaleY(1);
	}
	100% {
		transform-origin: bottom;
		transform: scaleY(0);
	}
}
@keyframes page-anime-appear {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}
.animate-splash {
	text-align: center;
}

.entrance-trigger {
	position: fixed;
	top: calc(50% + 40px);
	left: calc(50% - 25px);
	z-index: 999;
	transition: 0.3s ease-in-out;
	display: inline-block;
	color: #f00;
	height: 50px;
	width: 50px;
	line-height: 1;
	font-size: 50px;
	cursor: pointer;
}
.entrance-trigger:hover {
	transform: scale(1.5, 1.5);
}

:where(body[data-animate-scale=running]) .entrance-trigger {
	animation: animate-scale 1.5s cubic-bezier(1, 0.29, 0.16, 0.69);
}

:where(body[data-animate-scale=end]) .entrance-trigger {
	display: none;
}

.animate-border {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100svh;
	background: #fff;
	z-index: 99;
	padding-top: 130px;
	text-align: center;
	display: grid;
	place-items: center;
	box-sizing: border-box;
}

.animate-border__inner {
	position: relative;
	display: none;
	width: 100%;
	height: 5px;
	background: #f00;
	content: "";
	box-sizing: border-box;
}

body[data-animate-border=running] .animate-border__inner {
	animation: anime-border 1.5s ease;
	display: inline-block;
}

:where(body[data-animate-border=end]) .animate-border {
	display: none;
}

.animate-splash__logo {
	position: fixed;
	top: calc(50% - 26svh);
	left: 0;
	z-index: 999;
	width: 100%;
	height: 100vh;
}

.animate-splash__logo-image {
	color: #000;
}

.animate-splash__logo-text {
	color: #757575;
}

/*画面遷移アニメーション*/
.animate-splash__bg,
.animate-splash__bg2 {
	display: none;
}

/*bodyにappearクラスがついたら出現*/
body[data-animate-splash=running] {
	/*上に消えるエリア*/
	/*下に消えるエリア*/
}
body[data-animate-splash=running] .animate-splash__bg,
body[data-animate-splash=running] .animate-splash__bg2 {
	display: block;
}
body[data-animate-splash=running] .animate-splash__bg {
	animation-name: splash-anime-up;
	animation-duration: 1.4s;
	animation-timing-function: ease-in-out;
	animation-fill-mode: forwards;
	content: "";
	position: fixed;
	z-index: 99;
	width: 100%;
	height: 100vh;
	bottom: 50%;
	left: 0;
	transform: scaleY(1);
	background-color: #fff;
	/*伸びる背景色の設定*/
	border-bottom: 2.5px solid #f00;
}
body[data-animate-splash=running] .animate-splash__bg2 {
	animation-name: splash-anime-bottom;
	animation-duration: 1.4s;
	animation-timing-function: ease-in-out;
	animation-fill-mode: forwards;
	content: "";
	position: fixed;
	z-index: 999;
	width: 100%;
	height: 100vh;
	top: 50%;
	left: 0;
	transform: scaleY(1);
	background-color: #fff;
	/*伸びる背景色の設定*/
	border-top: 2.5px solid #f00;
}

/* ピックアップ記事
---------------------------------------------*/
body:not([class*=portfolio-mosaic-]) .pickup-posts a.has-overlay .img-h {
	margin: 0;
}

.pickup-posts {
	display: grid;
	grid-template-columns: repeat(var(--grid-column, 2), 1fr);
	gap: 10px;
}
@media (min-width: 768px) {
	.pickup-posts {
		--grid-column: 4;
	}
}
.pickup-posts figure {
	aspect-ratio: 4/3;
	overflow: hidden;
	margin: 0;
}
.pickup-posts img {
	object-fit: cover;
	width: 100%;
	height: 100%;
	vertical-align: bottom;
}
@media (max-width: 1199px) {
	.pickup-posts .proj-content {
		display: none;
	}
}

/* ViewMore
---------------------------------------------*/
.view-more {
	display: grid;
	place-items: center;
	padding-top: 20px;
}

.view-more > .view-more__link {
	transition: all 0.2s ease-in;
	display: grid;
	place-items: center;
	color: #222;
}
.view-more > .view-more__link:hover {
	color: #dd0000;
}

.view-more__text {
	display: block;
	margin-bottom: 0.25em;
	font-size: 16px;
}

.view-more__icon {
	display: block;
	max-width: 80px;
}
@media (min-width: 768px) {
	.view-more__icon {
		max-width: 60px;
	}
}