/* =============================================
CSSリセット
============================================= */
*,
*::before,
*::after {
	box-sizing: border-box;

	/* padding: 0; */

	/* margin: 0; */
}

th {
	font-weight: normal;
	text-align: left;
}

a {
	transition: opacity 0.3s;
}

button {
	background: transparent;
	border: none;
}

img {
	max-width: 100%;
	height: auto;
	font-size: 0;
	line-height: 0;
	vertical-align: top;
}

input,
button,
textarea,
select {
	font: inherit;
}

table {
	border-collapse: collapse;
}

/* =============================================
WordPress Adminスタイル
============================================= */

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

	#wpadminbar {
		position: fixed;
	}
}

/* =============================================
基本スタイル
============================================= */

html {
	scroll-behavior: smooth;
}

@media (max-width: 768px) {

	html {
		font-size: 3vw;
	}
}

@media (max-width: 576px) {

	html {
		font-size: 4vw;
	}
}

@media (max-width: 375px) {

	html {
		font-size: 5vw;
	}
}

body {
	min-height: 100vh;
	-webkit-font-smoothing: antialiased;
	font-family: century-gothic, dnp-shuei-gothic-kin-std, sans-serif;
	letter-spacing: 0.02em;
}

.container,
.container-wide {
	position: relative;
	padding: 0 var(--wp--custom--container--padding);
	margin: 0 auto;
}

.container {
	max-width: calc(var(--wp--style--global--content-size) + var(--wp--custom--container--padding) * 2);
}

.container-wide {
	max-width: calc(var(--wp--custom--container--layout--medium) + var(--wp--custom--container--padding) * 2);
}

@media (hover: hover) {

	a:hover {
		opacity: 0.7;
	}
}

/* =============================================
フォームスタイル
============================================= */

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="url"],
input[type="number"],
input[type="password"],
input[type="search"],
textarea {
	display: block;
	width: 100%;
	padding: 0.5em 1em;
	color: var(--wp--preset--color--primary);
	background: var(--wp--preset--color--white);
	border: none;
	border-radius: 0;
	outline: none;
}

input[type="text"]:focus-visible,
input[type="tel"]:focus-visible,
input[type="email"]:focus-visible,
input[type="url"]:focus-visible,
input[type="number"]:focus-visible,
input[type="password"]:focus-visible,
input[type="search"]:focus-visible,
textarea:focus-visible {
	box-shadow: 0 0 0 2px var(--wp--preset--color--secondary);
}

input[type="submit"],
button[type="submit"] {
	color: var(--wp--preset--color--primary);
	background: var(--wp--preset--color--gray-light);
	border: none;
	border-radius: 0;
	outline: none;
}

input[type="submit"]:focus-visible,
button[type="submit"]:focus-visible {
	box-shadow: 0 0 0 2px var(--wp--preset--color--secondary);
}

/* =============================================
共通コンポーネント
============================================= */

/* ページメインビジュアル */
.mv {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 510px;
	padding: 1rem 0;
	margin-bottom: 6rem;
	color: var(--wp--preset--color--white);
}

.mv img {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	height: 100%;
	transform: translate(-50%, -50%);
	object-fit: cover;
}

.mv h1,
.mv p {
	position: relative;
	display: flex;
	flex-flow: column;
	gap: 0.5rem;
	align-items: flex-end;
	width: 100%;
	max-width: calc(var(--wp--custom--container--layout--huge) + var(--wp--custom--container--padding) * 2);
	padding: 0 var(--wp--custom--container--padding);
	margin: 0 auto;
	font-size: 4rem;
	font-weight: bold;
	line-height: var(--wp--custom--line-height--x-small);
	text-align: right;
	text-shadow: var(--wp--preset--color--gray-deep) 0 0 2px;
}

.mv h1 span + span {
	font-size: 0.4em;
}

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

	.mv {
		min-height: 50vw;
	}

	.mv h1 {
		font-size: 2.5rem;
	}
}

/* ページネーション */
.pagination {
	margin-top: 6rem;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
	font-size: var(--wp--preset--font-size--medium);
}

.pagination .page-numbers {
	padding: 0 1em;
	color: inherit;
	text-decoration: none;
}

.pagination .page-numbers.dots {
	padding: 0;
	background: none;
}

.pagination .page-numbers.current {
	color: var(--wp--preset--color--white);
	background: var(--wp--preset--color--secondary);
	border-radius: 1000px;
}

/* タームリスト */
.terms {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	justify-content: center;
	padding: 0;
	margin: 0 0 4rem;
	font-size: var(--wp--preset--font-size--medium);
	list-style: none;
}

.terms__link {
	display: block;
	min-width: 6em;
	padding: 0.25em 1em;
	text-align: center;
	text-decoration: none;
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--secondary);
	border-radius: 1000px;
}

.terms__link.is-active {
	color: var(--wp--preset--color--white);
	background: var(--wp--preset--color--secondary);
}

/* 最新の投稿リスト */
.latest-posts {
	position: relative;
	padding-top: 3rem;
	border-top: 1px solid var(--wp--preset--color--gray-dark);
}

.latest-posts__header {
	position: absolute;
	top: -3em;
	left: 0;
	width: 100%;
	margin: 0;
	font-size: var(--wp--preset--font-size--large);
	text-align: center;
}

.latest-posts__item {
	display: block;
	color: inherit;
	text-decoration: none;
}

.latest-posts__item + .latest-posts__item {
	margin-top: 3rem;
}

.latest-posts__thumbnail {
	position: relative;
	display: block;
	padding-top: 71%;
	margin-bottom: 1rem;
	content: "";
	background: var(--wp--preset--color--gray-light);
}

.latest-posts__thumbnail::before {
	padding-top: 30%;
	content: "";
}

.latest-posts__img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.latest-posts__ttl {
	margin: 0 0 0.5em;
	line-height: var(--wp--custom--line-height--small);
}

.latest-posts__meta {
	display: flex;
	flex-wrap: wrap;
	font-size: var(--wp--preset--font-size--x-small);
	line-height: var(--wp--custom--line-height--x-small);
	color: var(--wp--preset--color--gray-deep);
}

.latest-posts__categories {
	padding-left: 1em;
	margin-left: 1em;
	border-left: 1px solid;
}

/* Work ツールチップ */
.work-tooltip {
	position: absolute;
	top: calc(100% - 6rem);
	right: -3rem;
	z-index: 1;
	display: flex;
	flex-flow: column;
	gap: 1rem;
	width: 100%;
	padding: 1rem;
	color: var(--wp--preset--color--primary);
	background: var(--wp--preset--color--white);
	border: 1px solid;
	border-radius: 8px;
}

.work-tooltip__header {
	display: flex;
	gap: 1rem;
	align-items: center;
}

.work-tooltip__header-avatar {
	width: 5rem;
	aspect-ratio: 1/1;
	object-fit: contain;
}

.work-tooltip__header-inner {
	flex: 1;
}

.work-tooltip__header-ttl {
	font-size: var(--wp--preset--font-size--medium);
	font-weight: bold;
}

.work-tooltip__contents {
	font-size: var(--wp--preset--font-size--small);
}

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

	.work-tooltip {
		top: calc(100% - 1rem);
		right: 0;
		width: 100%;
	}
}

/* プラグイン（Contact Form 7）フォームパーツ */
.wpcf7-radio {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 2rem;
}

.wpcf7-radio input[type="radio"] {
	position: absolute;
	opacity: 0;
}

.wpcf7-radio .wpcf7-list-item {
	margin: 0;
}

.wpcf7-radio .wpcf7-list-item-label {
	position: relative;
	display: block;
	padding-left: 2em;
	cursor: pointer;
}

.wpcf7-radio .wpcf7-list-item-label::before {
	position: absolute;
	top: 0.1em;
	left: 0;
	width: 1.6em;
	height: 1.6em;
	content: "";
	background-color: var(--wp--preset--color--white);
	border: 2px solid var(--wp--preset--color--white);
	border-radius: 50%;
}

.wpcf7-radio input[type="radio"]:focus-visible + .wpcf7-list-item-label::before {
	border-color: var(--wp--preset--color--secondary);
}

.wpcf7-radio input[type="radio"]:checked + .wpcf7-list-item-label::after {
	position: absolute;
	top: 0.5em;
	left: 0.4em;
	display: block;
	width: 0.8em;
	height: 0.8em;
	content: "";
	background: var(--wp--preset--color--secondary);
	border-radius: 50%;
}

/* =============================================
ブロックスタイル
============================================= */

/* Paragpraph */
p.has-background {
	padding: 1.5rem;
}

/* List */
ul,
ol {
	padding-left: 1.5em;
	list-style-position: outside;
}

ul.has-background,
ol.has-background {
	padding: 1.5em 1.5em 1.5em 2.5em;
}

/* Table */
.wp-block-table table th,
.wp-block-table table td {
	border-color: var(--wp--preset--color--gray-dark);
}

/* =============================================
ショートコード
============================================= */

.staff__group {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.staff__group + .staff__group {
	margin-top: 2rem;
}

.staff__ttl {
	display: flex;
	align-items: center;
	justify-content: center;
	width: calc(12.5% - 0.88rem);
	padding: 0.5em;
	font-size: var(--wp--preset--font-size--x-large);
	color: var(--wp--preset--color--white);
	background: var(--wp--preset--color--gray-dark);
}

.staff__item {
	display: flex;
	flex-flow: column;
	justify-content: center;
	width: calc(12.5% - 0.88rem);
	margin: 0;
	background: var(--wp--preset--color--gray-dark);
}

.staff__item img {
	width: 100%;
	aspect-ratio: 1/1.33;
	object-fit: cover;
}

.staff__name {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 4em;
	padding: 0 1em;
	font-size: var(--wp--preset--font-size--x-small);
	line-height: var(--wp--custom--line-height--small);
	text-align: center;
}

@media (max-width: 768px) {

	.staff__ttl,
	.staff__item {
		width: calc(33.3% - 0.66rem);
	}

	.staff__item img {
		height: 40vw;
	}
}

/* =============================================
レイアウト
============================================= */

/* ヘッダー */
.header {
	position: sticky;
	top: 0;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 2rem;
	align-items: center;
	justify-content: space-between;
	padding: 1rem;
	background: var(--wp--preset--color--gray);
}

.header__logo {
	margin-right: auto;
}

.header__logo img {
	max-width: 250px;
	object-fit: contain;
	aspect-ratio: 5/1;
}

.header__btn {
	position: relative;
	width: 70px;
	height: 100%;
}

.header__btn span {
	position: absolute;
	top: 50%;
	left: 15px;
	width: 40px;
	height: 3px;
	background: var(--wp--preset--color--primary);
	transition: 0.3s;
}

.header__btn span:nth-child(1) {
	margin-top: -13.5px;
}

.header__btn span:nth-child(2) {
	margin-top: -1.5px;
}

.header__btn span:nth-child(3) {
	margin-top: 10.5px;
}

.header__btn[aria-expanded="true"] span:nth-child(1) {
	margin-top: -2px;
	transform: rotate(-45deg);
}

.header__btn[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.header__btn[aria-expanded="true"] span:nth-child(3) {
	margin-top: -2px;
	transform: rotate(45deg);
}

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

	.header__btn {
		display: none;
	}
}

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

	.header {
		position: fixed;
		top: var(--wp-admin--admin-bar--height, 0);
		left: 0;
		width: 100%;
		height: 70px;
		padding: 0 var(--wp--custom--container--padding);
		padding-right: 0;
	}

	.header__logo img {
		max-width: 200px;
		height: 50px;
	}
}

/* ヘッダーナビゲーション */
.header-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 3rem;
	align-items: center;
}

.header-nav__main {
	font-size: var(--wp--preset--font-size--medium);
}

.header-nav__main > ul {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 3rem;
	align-items: center;
	padding: 0;
	margin: 0;
	list-style: none;
}

.header-nav__main a {
	color: inherit;
	text-decoration: none;
}

.header-nav__main .menu-item.contact a {
	display: block;
	padding: 0.25em 1em;
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--secondary);
	border: solid 2px #252E45;
	border-radius: 1000px;
}

.header-nav__main .menu-item.current-menu-item {
	color: var(--wp--preset--color--accent);
}

.header-nav__social > ul {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	padding: 0;
	margin: 0;
	list-style: none;
}

.header-nav__social li {
	width: 45px;
}

.header-nav__social li img {
	width: 100%;
}

@media (max-width: 768px) {

	.header-nav {
		position: fixed;
		top: calc(var(--wp-admin--admin-bar--height, 0px) + 70px);
		bottom: 0;
		left: 100%;
		flex-flow: column;
		width: 100%;
		padding: 3rem var(--wp--custom--container--padding);
		background: var(--wp--preset--color--gray);
		transition: left 0.3s;
	}

	.header-nav.is-active {
		left: 0;
	}

	.header-nav__main > ul {
		flex-flow: column;
	}
}

/* メインエリア */
.main {
	padding-bottom: 100px;
}

@media (max-width: 768px) {

	.main {
		margin-top: 70px;
	}
}

/* フッター */
.footer {
	position: relative;
	padding: 8rem 0 2rem;
}

.footer::before {
	position: absolute;
	top: 0;
	right: var(--wp--custom--container--padding);
	left: var(--wp--custom--container--padding);
	content: "";
	border-top: 1px solid var(--wp--preset--color--gray-dark);
}

.footer__inner {
	display: flex;
	gap: 3rem;
	justify-content: center;
	padding-bottom: 3rem;
	margin-bottom: 3rem;
	border-bottom: 1px solid var(--wp--preset--color--gray-dark);
}

.footer__site-name {
	flex: 1;
}

.footer__site-name a {
	text-decoration: none;
}

.footer__nav {
	flex: 1;
	font-size: var(--wp--preset--font-size--medium);
}

.footer__nav ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

.footer__nav a {
	color: inherit;
	text-decoration: none;
}

.footer__nav .menu-item {
	margin-bottom: 1em;
}

.footer__information {
	flex: 1;
}

.footer__information-ttl {
	margin: 0 0 1em;
	font-size: var(--wp--preset--font-size--large);
}

.footer__information-inner > * {
	margin: 0 0 1em;
}

.footer__information-inner h3,
.footer__information-inner h4,
.footer__information-inner h5,
.footer__information-inner h6 {
	font-size: var(--wp--preset--font-size--medium);
}

.footer__information-inner ul {
	padding: 0;
	list-style: none;
}

.footer__logo {
	display: block;
	max-width: 50px;
	object-fit: contain;
	aspect-ratio: 1/1;
	margin: 0 auto 2rem;
}

.footer__credit {
	margin: 0;
	font-size: var(--wp--preset--font-size--small);
	text-align: center;
}

@media (max-width: 768px) {

	.footer {
		padding-top: 4rem;
	}

	.footer__inner {
		flex-flow: column;
	}

	.footer__site-name,
	.footer__nav,
	.footer__information {
		width: 100%;
	}
}

/* =============================================
ページスタイル
============================================= */

/* トップページ */
.top-loading {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: var(--wp--preset--color--white);
}

.top-loading__img {
	position: fixed;
	top: 50vh;
	opacity: 0;
	transition: all 1s ease;
}

.top-loading__img.is-loaded {
	opacity: 1;
	transform: translate(0, 0) !important;
}

.top-loading__img--1 {
	left: 13vw;
	width: 34vw;
	margin-top: -17vw;
	transform: translate(-20vw, -20vh);
}

.top-loading__img--2 {
	left: 32vw;
	width: 45vw;
	margin-top: -26vw;
	transform: translate(-20vw, 20vh);
}

.top-loading__img--3 {
	left: 58vw;
	width: 37vw;
	margin-top: -17vw;
	transform: translate(20vw, 0);
}

.top-loading__img--4 {
	left: 45vw;
	width: 47vw;
	margin-top: -1vw;
	transform: translate(20vw, 20vh);
}

.top-loading__img--5 {
	left: 4vw;
	width: 41vw;
	margin-top: -5vw;
	transform: translate(20vw, -20vh);
}

.top-loading__img--6 {
	left: 16vw;
	width: 39vw;
	margin-top: 3vw;
	transform: translate(-20vw, 20vh);
}

.top-loading__logo {
	position: fixed;
	top: 50%;
	left: 0;
	width: 100%;
	text-align: center;
	transform: translateY(-50%);
}

.top-loading__logo img {
	width: 40vw;
}

.top-mv {
	padding: 5rem 0;
}

.top-mv__bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 400px;
	max-width: 40%;
}

.top-mv__ttl-img {
	display: block;
	width: 680px;
	margin: 0 auto 4rem;
}

.top-mv__txt {
	margin: 0;
}

.top-cards {
	margin-bottom: 6rem;
}

.top-cards__item {
	position: relative;
	min-height: 630px;
}

.top-cards__bg {
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.top-cards__inner {
	position: absolute;
	top: 0;
	display: flex;
	flex-flow: column;
	gap: 2rem;
	align-items: flex-start;
	justify-content: center;
	height: 100%;
	padding: 4rem;
	color: var(--wp--preset--color--white);
	text-decoration: none;
	background: rgba(0, 0, 0, 0.5);
}

.top-cards__item:nth-child(odd) .top-cards__inner {
	right: 0;
	left: calc(50% + 10rem);
	padding-right: max(calc((100% - var(--wp--custom--container--layout--medium)) / 2), var(--wp--custom--container--padding));
}

.top-cards__item:nth-child(even) .top-cards__inner {
	right: calc(50% + 10rem);
	left: 0;
	padding-left: max(calc((100% - var(--wp--custom--container--layout--medium)) / 2), var(--wp--custom--container--padding));
}

.top-cards__ttl {
	margin: 0;
	font-size: var(--wp--preset--font-size--xxx-large);
}

.top-cards__txt {
	margin: 0;
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: bold;
	line-height: var(--wp--custom--line-height--small);
}

.top-cards__more {
	padding-right: 5em;
	margin: 0;
	font-size: var(--wp--preset--font-size--large);
	background: url(../images/icon_arrow.svg) no-repeat right/1em;
	border-bottom: 2px solid;
}

body.home .header {
	justify-content: flex-end;
	background: transparent;
	transition: background 0.3s;
}

body.home .header.is-scrolled {
	background: var(--wp--preset--color--gray);
}

body.home .header__logo {
	visibility: hidden;
	opacity: 0;
	transition: 0.3s;
}

body.home .header.is-scrolled .header__logo {
	visibility: visible;
	opacity: 1;
}

@media (max-width: 1200px) {

	.top-cards__item:nth-child(odd) .top-cards__inner {
		left: 20%;
		padding: 1rem;
	}

	.top-cards__item:nth-child(even) .top-cards__inner {
		right: 20%;
		padding: 1rem;
	}
}

@media (max-width: 768px) {

	body.home .header.is-nav-opened {
		background: var(--wp--preset--color--gray);
	}

	body.home .header.is-nav-opened .header__logo {
		visibility: visible;
		opacity: 1;
	}

	.top-loading__img--1 {
		left: 10vw;
		width: 70vw;
		margin-top: -80vw;
	}

	.top-loading__img--2 {
		left: 55vw;
		width: 55vw;
		margin-top: -60vw;
	}

	.top-loading__img--3 {
		left: 40vw;
		width: 74vw;
		margin-top: -24vw;
	}

	.top-loading__img--4 {
		left: 24vw;
		width: 73vw;
		margin-top: 20vw;
	}

	.top-loading__img--5 {
		left: 0;
		width: 95vw;
		margin-top: -50vw;
	}

	.top-loading__img--6 {
		left: 6vw;
		width: 70vw;
		margin-top: -9vw;
	}

	.top-loading__logo {
		padding: 2rem 0;
		background: rgba(217, 217, 217, 0.5);
	}

	.top-loading__logo img {
		width: 60vw;
	}

	.top-cards__inner {
		gap: 1rem;
	}

	.top-cards__item {
		min-height: 500px;
	}
}

/* 固定ページ（About） */
.about-message {
	margin-bottom: 6rem;
}

.about-message__ttl {
	margin: 0 0 1em;
	font-size: var(--wp--preset--font-size--x-large);
	font-feature-settings: "palt";
	text-align: center;
}

.about-message__txt {
	margin: 0 0 1em;
	line-height: var(--wp--custom--line-height--large);
}

.about-message__sign {
	display: block;
	margin-top: 1rem;
	margin-left: auto;
}

.about-staff {
	margin-bottom: 6rem;
}

.about-staff__ttl {
	margin: 0 0 1em;
	text-align: center;
}

.about-staff__txt {
	margin: 0 0 2em;
	text-align: center;
}

.about-staff__txt span:first-child {
	display: block;
	margin-bottom: 0.2em;
	font-size: var(--wp--preset--font-size--xxx-large);
	line-height: var(--wp--custom--line-height--x-small);
	color: var(--wp--preset--color--white);
}

.about-profile {
	margin-bottom: 6rem;
}

.about-profile__ttl {
	display: flex;
	gap: 0.5em;
	align-items: center;
	margin: 0 0 1em;
	font-size: var(--wp--preset--font-size--xx-large);
}

.about-profile__ttl::before,
.about-profile__ttl::after {
	height: 3px;
	content: "";
	background: currentcolor;
}

.about-profile__ttl::before {
	width: calc((100% - var(--wp--style--global--content-size)) / 2);
	min-width: var(--wp--custom--container--padding);
}

.about-profile__ttl::after {
	flex: 1;
}

.about-details {
	margin-bottom: 6rem;
}

.about-details__ttl {
	margin: 0 0 0.5em;
	font-size: var(--wp--preset--font-size--x-large);
	text-align: center;
}

.about-details__list {
	counter-reset: number;
}

.about-details__item {
	display: flex;
	gap: 3rem;
	align-items: center;
	padding: 5rem max(calc((100% - var(--wp--style--global--content-size)) / 2), var(--wp--custom--container--padding));
}

.about-details__item:nth-child(odd) {
	background: var(--wp--preset--color--white);
}

.about-details__item:nth-child(even) {
	color: var(--wp--preset--color--white);
	background: var(--wp--preset--color--gray-deep);
}

.about-details__item-ttl {
	position: relative;
	display: flex;
	flex-flow: column;
	padding-left: 7rem;
	text-align: center;
}

.about-details__item-ttl::before {
	position: absolute;
	top: 50%;
	left: 0;
	font-size: 10rem;
	color: var(--wp--preset--color--gray);
	content: counter(number);
	counter-increment: number;
	transform: translateY(-50%);
}

.about-details__item-ttl span:first-child {
	font-size: 2em;
	font-weight: bold;
}

.about-details__item-content {
	flex: 1;
	margin: 0;
}

.about-details__item-content ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

.about-details__item-content li {
	padding-left: 1.5em;
	text-indent: -1.2em;
}

.about-details__item-content li::before {
	padding-right: 0.5em;
	content: "//";
}

.about-details__item:nth-child(even) .about-details__item-ttl {
	margin-left: 8rem;
}

.about-outline {
	margin-bottom: 6rem;
}

.about-outline__ttl {
	margin: 0 0 1em;
	font-size: var(--wp--preset--font-size--x-large);
	text-align: center;
}

.about-outline__tbl {
	width: 100%;
}

.about-outline__tbl th,
.about-outline__tbl td {
	padding: 1em;
	vertical-align: top;
	border-top: 1px solid;
}

.about-outline__tbl th {
	width: 12em;
}

.about-office__ttl {
	margin: 0 0 3em;
	font-size: var(--wp--preset--font-size--x-large);
	text-align: center;
}

.about-office__item {
	display: flex;
	gap: 2rem;
	justify-content: space-between;
}

.about-office__item:not(:last-child) {
	margin-bottom: 6rem;
}

.about-office__item-inner {
	position: relative;
	width: 45%;
}

.about-office__item-ttl {
	position: absolute;
	margin-top: -1.5em;
	font-size: var(--wp--preset--font-size--xx-large);
	font-weight: normal;
}

.about-office__item-img {
	width: 100%;
	margin-bottom: 1rem;
}

.about-office__item-txt {
	margin-bottom: 0.5em;
}

.about-office__item-link {
	font-size: var(--wp--preset--font-size--medium);
	color: var(--wp--preset--color--gray-deep);
	text-decoration: none;
}

.about-office__item-map {
	width: 45%;
}

@media (max-width: 768px) {

	.about-message__sign {
		width: 40vw;
	}

	.about-details__item {
		flex-flow: column;
		align-items: flex-start;
	}

	.about-details__item:nth-child(odd) {
		padding-right: 4rem;
	}

	.about-details__item:nth-child(even) {
		padding-left: 4rem;
	}

	.about-details__item-ttl {
		padding-left: 6rem;
	}

	.about-details__item:nth-child(even) .about-details__item-ttl {
		margin-left: 0;
	}

	.about-details__item-ttl::before {
		font-size: 8rem;
	}

	.about-outline__tbl th {
		width: 8em;
	}

	.about-office__item {
		flex-flow: column;
	}

	.about-office__item-inner {
		width: 100%;
	}

	.about-office__item-map {
		width: 100%;
	}
}

/* 固定ページ（Workflow） */
.workflow__txt {
	margin-bottom: 6em;
	text-align: center;
}

.workflow-list {
	margin-bottom: 6rem;
	list-style: none;
	counter-reset: number;
}

.workflow-list__item {
	position: relative;
}

.workflow-list__item::before,
.workflow-list__item::after {
	position: absolute;
	width: 0;
	height: 2px;
	content: "";
	background: var(--wp--preset--color--white);
	transition: all 0.3s linear;
}

.workflow-list__item.animated::before,
.workflow-list__item.animated::after {
	width: 100%;
}

.workflow-list__item::before {
	top: 0;
	left: 0;
}

.workflow-list__item::after {
	right: 0;
	bottom: 0;
	transition-delay: 0.5s;
}

.workflow-list__item:not(:last-child) {
	margin-bottom: 4rem;
}

.workflow-list__item-inner {
	padding: 1.5rem 1.5rem 1.5rem 6rem;
}

.workflow-list__item-inner::before,
.workflow-list__item-inner::after {
	position: absolute;
	width: 2px;
	height: 0;
	content: "";
	background: var(--wp--preset--color--white);
	transition: all 0.2s linear;
}

.workflow-list__item.animated .workflow-list__item-inner::before,
.workflow-list__item.animated .workflow-list__item-inner::after {
	height: 100%;
}

.workflow-list__item-inner::before {
	top: 0;
	right: 0;
	transition-delay: 0.3s;
}

.workflow-list__item-inner::after {
	bottom: 0;
	left: 0;
	transition-delay: 0.8s;
}

.workflow-list__item-ttl {
	margin: 0 0  0.5em;
	font-weight: normal;
}

.workflow-list__item-ttl span:first-child {
	position: absolute;
	top: -2rem;
	left: -2.5rem;
	z-index: 1;
	display: flex;
	flex-flow: column;
	align-items: center;
	width: 5rem;
	padding-bottom: 0.5rem;
	font-size: var(--wp--preset--font-size--medium);
	color: var(--wp--preset--color--white);
	text-align: center;
	white-space: nowrap;
	background: var(--wp--preset--color--gray);
}

.workflow-list__item-ttl span:first-child::before {
	font-size: var(--wp--preset--font-size--xxxx-large);
	line-height: 1;
	color: var(--wp--preset--color--white);
	text-align: center;
	content: counter(number);
	counter-increment: number;
}

.workflow-list__item-ttl span:last-child {
	margin-bottom: 0.5em;
	font-size: 2rem;
	font-weight: bold;
}

.workflow-list__item-text {
	margin: 0;
}

.workflow-btn {
	display: flex;
	flex-flow: column;
	max-width: 30em;
	padding: 1rem;
	margin: 0 auto;
	color: inherit;
	text-align: center;
	text-decoration: none;
	background: var(--wp--preset--color--gray-light);
}

.workflow-btn span:first-child {
	font-size: var(--wp--preset--font-size--xx-large);
	font-weight: bold;
}

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

	.workflow-list {
		padding-left: 1rem;
	}

	.workflow-list__item-inner {
		padding: 4rem 1.5rem 1.5rem 1.5rem;
	}

	.workflow-list__item-ttl span:first-child {
		left: -0.7rem;
		align-items: flex-start;
		width: 3.5rem;
	}
}

/* 固定ページ（Contact） */
.contact__inner {
	display: flex;
	gap: 4rem;
	margin-bottom: 6rem;
}

.contact__inner-left {
	width: 20rem;
}

.contact__inner-right {
	flex: 1;
	padding: 4rem;
	color: var(--wp--preset--color--white);
	background: var(--wp--preset--color--gray-deep);
}

.contact-left__ttl {
	margin: 0 0 1em;
}

.contact-left__txt {
	margin: 0 0 4em;
}

.contact-left__tel {
	display: flex;
	flex-flow: column;
	margin: 0 0 1rem;
}

.contact-left__tel a {
	font-size: var(--wp--preset--font-size--large);
	font-weight: bold;
	text-decoration: none;
}

.contact-right .wpcf7-form-row {
	margin-bottom: 1.5rem;
}

.contact-right .wpcf7-form-row > label {
	display: block;
	margin-bottom: 0.5em;
}

.contact-right .wpcf7-form-row > label span {
	margin-left: 0.5em;
}

.contact-right .wpcf7-form-control-wrap {
	display: block;
}

.contact-right .wpcf7-not-valid-tip {
	color: var(--wp--preset--color--accent);
}

.contact-right .wpcf7-submit {
	display: block;
	width: 100%;
	max-width: 12em;
	padding: 0.5em 0;
	margin: 0 auto;
	font-size: var(--wp--preset--font-size--medium);
}

.contact-right .wpcf7-spinner {
	display: block;
	margin: 1rem auto;
}

.contact-right .wpcf7-response-output {
	margin: 0;
}

.contact-btns {
	display: flex;
	gap: 3rem;
}

.contact-btns__btn {
	display: flex;
	flex: 1;
	flex-flow: column;
	padding: 0.5rem 3rem 1rem;
	text-decoration: none;
	background: var(--wp--preset--color--gray-light);
}

.contact-btns__btn span:first-child {
	font-size: var(--wp--preset--font-size--xx-large);
	font-weight: bold;
}

.contact-btns__btn span:last-child {
	display: flex;
	gap: 1rem;
	align-items: center;
}

.contact-btns__btn span:last-child::after {
	flex: 1;
	height: 1px;
	content: "";
	background: currentcolor;
}

@media (max-width: 768px) {

	.contact__inner {
		flex-flow: column;
	}

	.contact__inner-left {
		width: 100%;
	}

	.contact__inner-right {
		width: 100%;
		padding: 2rem var(--wp--custom--container--padding);
	}

	.contact-btns {
		flex-flow: column;
	}
}

/* 固定ページ（Recruit） */
.recruit__row {
	display: flex;
	flex-flow: row-reverse;
}

.recruit__main {
	flex: 1;
}

.recruit__sidebar {
	width: 300px;
	padding-right: 4rem;
	margin-top: 6rem;
	margin-right: 4rem;
	border-right: 1px solid var(--wp--preset--color--gray-dark);
}

.recruit__ttl {
	font-size: var(--wp--preset--font-size--xx-large);
	text-align: center;
}

.recruit__txt {
	margin-bottom: 4rem;
	text-align: center;
}

.recruit-info {
	max-width: 800px;
	margin: 0 auto;
}

.recruit-info__ttl {
	margin: 0 0 1rem;
	font-size: var(--wp--preset--font-size--medium);
}

.recruit-info__ttl span {
	display: block;
	font-size: var(--wp--preset--font-size--normal);
}

.recruit-info__tbl {
	width: 100%;
	border-top: 1px solid;
}

.recruit-info__tbl th {
	width: 10em;
}

.recruit-info__tbl th,
.recruit-info__tbl td {
	padding: 1em;
	border-bottom: 1px solid;
}

@media (max-width: 768px) {

	.recruit__row {
		display: block;
	}

	.recruit__sidebar {
		width: 100%;
		padding: 0;
		margin: 10rem 0 0;
		border-top: 1px solid var(--wp--preset--color--gray-dark);
		border-right: none;
	}

	.recruit-info__tbl th {
		width: 7em;
	}
}

/* 投稿アーカイブページ */
.posts {
	padding-top: 8rem;
}

.posts__ttl {
	display: flex;
	gap: 0.5em;
	align-items: center;
	margin: 0 0 2em;
	font-size: var(--wp--preset--font-size--xx-large);
}

.posts__ttl::before,
.posts__ttl::after {
	height: 3px;
	content: "";
	background: currentcolor;
}

.posts__ttl::before {
	width: calc((100% - var(--wp--style--global--content-size)) / 2);
	min-width: var(--wp--custom--container--padding);
}

.posts__ttl::after {
	flex: 1;
}

.posts-list {
	display: flex;
	flex-wrap: wrap;
	gap: 3rem 6rem;
}

.posts-list__item {
	position: relative;
	display: block;
	width: calc(33.3% - 4rem);
	color: inherit;
	text-decoration: none;
}

.posts-list__thumbnail {
	position: relative;
	display: block;
	padding-top: 71%;
	margin-bottom: 1rem;
	content: "";
	background: var(--wp--preset--color--gray-light);
}

.posts-list__thumbnail::before {
	padding-top: 30%;
	content: "";
}

.posts-list__img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.posts-list__ttl {
	margin: 0 0 0.5em;
	font-size: var(--wp--preset--font-size--medium);
	line-height: var(--wp--custom--line-height--small);
}

.posts-list__meta {
	display: flex;
	flex-wrap: wrap;
	font-size: var(--wp--preset--font-size--small);
	line-height: var(--wp--custom--line-height--x-small);
	color: var(--wp--preset--color--gray-deep);
}

.posts-list__categories {
	padding-left: 1em;
	margin-left: 1em;
	border-left: 1px solid;
}

@media (max-width: 768px) {

	.posts-list {
		gap: 2rem 1rem;
	}

	.posts-list__item {
		width: calc(50% - 0.5rem);
	}
}

/* 投稿詳細ページ */
.post__row {
	display: flex;
	flex-flow: row-reverse;
}

.post__main {
	flex: 1;
}

.post__sidebar {
	width: 300px;
	padding-right: 4rem;
	margin-top: 6rem;
	margin-right: 4rem;
	border-right: 1px solid var(--wp--preset--color--gray-dark);
}

.post__ttl {
	margin: 0 0 3em;
	text-align: center;
}

@media (max-width: 768px) {

	.post__row {
		display: block;
	}

	.post__sidebar {
		width: 100%;
		padding: 0;
		margin: 10rem 0 0;
		border-top: 1px solid var(--wp--preset--color--gray-dark);
		border-right: none;
	}
}

/* カスタム投稿アーカイブページ（Works） */
.works-ttl {
	margin: 0 0 1em;
	font-size: var(--wp--preset--font-size--xx-large);
	text-align: center;
}

.works-list {
	display: flex;
	flex-wrap: wrap;
	gap: 3rem 6rem;
}

.works-list__item {
	position: relative;
	width: calc(33.3% - 4rem);
	visibility: hidden;
}

.works-list__link {
	position: relative;
	display: block;
	height: 100%;
	color: inherit;
	text-decoration: none;
	background: var(--wp--preset--color--gray-light);
}

.works-list__item.is-special .works-list__link {
	color: var(--wp--preset--color--white);
	background: var(--wp--preset--color--primary);
}

@media (hover: hover) and (pointer: fine) {

	.works-list__item:not(.is-hovered):not(.is-focused) .work-tooltip {
		display: none;
	}
}

@media (hover: none) and (pointer: coarse) {

	.works-list__item:not(.is-touched) .work-tooltip {
		display: none;
	}
}

.works-list__img {
	width: 100%;
	aspect-ratio: 1.4 / 1;
	object-fit: cover;
}

.works-list__ttl {
	font-size: var(--wp--preset--font-size--large);
	line-height: var(--wp--custom--line-height--small);
}

.works-list__inner {
	display: flex;
	flex-flow: column;
	gap: 0.5rem;
	padding: 1rem 1rem 3.5rem;
}

.works-list__taxonomies {
	display: flex;
	flex-wrap: wrap;
	gap: 0 1em;
	font-size: var(--wp--preset--font-size--small);
}

.works-list__industries {
	display: flex;
	flex-wrap: wrap;
	gap: 0 0.5em;
	padding: 0;
	margin: 0;
	font-weight: bold;
	text-transform: uppercase;
	list-style: none;
}

.works-list__phases {
	display: flex;
	gap: 0 0.5em;
	padding: 0;
	margin: 0;
	list-style: none;
}

.works-list__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em 1em;
	font-size: var(--wp--preset--font-size--small);
}

.works-list__data {
	padding-left: 2em;
	background-image: url(../images/icon_calendar.png);
	background-repeat: no-repeat;
	background-position: left;
	background-size: 1.6em;
}

.works-list__item:nth-child(odd) .works-list__data {
	background-image: url(../images/icon_calendar_white.png);
}

.works-list__location {
	padding-left: 1.7em;
	background-image: url(../images/icon_location.png);
	background-repeat: no-repeat;
	background-position: left;
	background-size: 1.6em;
}

.works-list__item:nth-child(odd) .works-list__location {
	background-image: url(../images/icon_location_white.png);
}

.works-list__special {
	position: absolute;
	bottom: 0.5rem;
	left: 1rem;
	font-size: var(--wp--preset--font-size--medium);
	font-weight: bold;
}

.works-list__click {
	position: absolute;
	right: 1rem;
	bottom: 0.5rem;
	padding-top: 0.2em;
	font-size: var(--wp--preset--font-size--small);
}

.works-list__click::before {
	position: absolute;
	top: -0.4em;
	right: 0;
	width: 60%;
	height: 2px;
	content: "";
	background: currentcolor;
	transform: rotate(30deg);
}

.works-list__click::after {
	position: absolute;
	top: 0;
	left: -0.2em;
	width: 100%;
	height: 2px;
	content: "";
	background: currentcolor;
}

@media (max-width: 768px) {

	.works-list {
		gap: 1rem;
	}

	.works-list__item {
		width: calc(50% - 0.5rem);
	}
}

@media (max-width: 375px) {

	.works-list__item {
		width: 100%;
	}
}

/* カスタム投稿詳細ページ（Work） */
.work-mv {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 6rem;
	background: var(--wp--preset--color--gray-deep);
}

.work-mv__content {
	flex: 1;
	align-self: flex-end;
	max-width: calc(var(--wp--style--global--content-size) / 2);
	padding: 2rem var(--wp--custom--container--padding);
	color: var(--wp--preset--color--gray-light);
}

.work-mv__ttl {
	padding-right: 0.5em;
	margin: 0 0 0.5em;
	margin-right: calc(-1 * var(--wp--custom--container--padding));
	font-size: var(--wp--preset--font-size--xxx-large);
	line-height: var(--wp--custom--line-height--x-small);
	border-bottom: 1px solid;
}

.work-mv__info-item {
	display: flex;
}

.work-mv__info-item:not(:last-child) {
	margin-bottom: 1em;
}

.work-mv__info-label {
	position: relative;
	width: 6em;
	margin-right: 2em;
}

.work-mv__info-label::after {
	position: absolute;
	top: 0;
	right: 0;
	content: ":";
}

.work-mv__info-text {
	flex: 1;
	margin: 0;
}

.work-mv__img {
	width: calc(50% + 5rem);
	height: 510px;
	object-fit: cover;
}

.work-header {
	margin-bottom: 6rem;
	text-align: center;
}

.work-header__ttl {
	margin: 0 0 1em;
	font-size: var(--wp--preset--font-size--xxx-large);
}

.work-media {
	display: flex;
	flex-wrap: wrap;
	gap: 6rem;
}

.work-media__item {
	position: relative;
	width: calc(50% - 3rem);
	cursor: pointer;
}

.work-media__item-img {
	aspect-ratio: 1 / 0.56;
	object-fit: cover;
}

@media (hover: hover) and (pointer: fine) {

	.work-media__item:not(.is-hovered):not(.is-focused) .work-tooltip {
		display: none;
	}
}

@media (hover: none) and (pointer: coarse) {

	.work-media__item:not(.is-touched) .work-tooltip {
		display: none;
	}
}

@media (max-width: 768px) {

	.work-mv {
		flex-flow: column-reverse;
	}

	.work-mv__img {
		width: 100%;
		height: 50vw;
	}

	.work-mv__content {
		width: 100%;
		max-width: 100%;
	}

	.work-media {
		gap: 1rem;
	}

	.work-media__item {
		width: calc(50% - 0.5rem);
	}
}

/* 404ページ */
.notfound {
	padding-top: 8rem;
}

/* コンテンツエリア */
.entry-content p > a {
	word-break: break-all;
}
