@charset "utf-8";
/*
Theme Name: adear コーポレートサイト
Author: BASARA
Version: 1.0
*/

*,
*:before,
*:after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
	backface-visibility: hidden;
}
*:before,
*:after {
	pointer-events: none;
}
:root {
	--base-font-color: #000;
	--base-bg-color: #efefef;
	--main-color: #db0018;
	--sub-color: #255455;
	--accent-color: #00ffe2;
	--link-color: #565695;
	--attention-color: #db0018;
	--gray-color: #acacac;
	--minimum-contents-width: 600px;
	--small-contents-width: 1000px;
	--main-contents-width: 1200px;
	--large-contents-width: 1500px;
	--thin-font-weight: 300;
	--normal-font-weight: 400;
	--semibold-font-weight: 500;
	--bold-font-weight: 600;
	--black-font-weight: 700;
}
html {
	margin: 0;
	padding: 0;
	animation: scale-up-center 0.5s both;
}
@keyframes scale-up-center {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}
body {
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
	color: var(--base-font-color);
	font-size: 20px;
	font-weight: var(--normal-font-weight);
	line-height: 1.8;
	overflow-wrap: anywhere; /* 収まらない場合に折り返す */
	word-break: normal; /* 単語の分割はデフォルトに依存 */
	line-break: strict; /* 禁則処理を厳格に適用 */
	background: var(--base-bg-color);
	margin: 0;
	padding: 0;
}
div,
p,
ul,
ul li,
dl,
dt,
dd {
	font-size: 1em;
	list-style: none;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
img,
video,
object {
	max-width: 100%;
	height: auto;
	border: none;
}
img {
	display: block;
	image-rendering: -webkit-optimize-contrast;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	font-size: 1em;
	line-height: 1;
	letter-spacing: 0.025em;
	padding: 0;
	margin: 0;
}
a {
	color: var(--base-font-color);
	text-decoration: none;
	transition: 0.3s;
}
a:hover {
	opacity: 0.7;
	text-decoration: none;
}
a[href^="tel:"] {
	text-decoration: none;
	pointer-events: none;
	text-emphasis: none !important;
}
a[href^="fax:"] {
	text-decoration: none;
	pointer-events: none;
}
.pc {
	display: inherit;
}
.tb {
	display: none;
}
.mb {
	display: none;
}
@media only screen and (max-width: 820px) {
	body {
		font-size: 18px;
	}
	.pc {
		display: none;
	}
	.tb {
		display: block;
	}
	.mb {
		display: none;
	}
}
@media only screen and (max-width: 468px) {
	body {
		font-size: 16px;
		min-width: 375px;
	}
	a[href^="tel:"] {
		pointer-events: all;
	}
	.pc {
		display: none;
	}
	.tb {
		display: none;
	}
	.mb {
		display: block;
	}
}

/* =========================================================================================
Header
=========================================================================================*/
#header {
	width: 100%;
	height: 100px;
	background: transparent;
	padding: 0;
	margin: 0;
	padding: 0;
	position: fixed;
	top: 0;
	z-index: 100;
	transition: 0.5s;
}
#header .inner {
	width: calc(100% - 20px - 20px);
	max-width: var(--large-contents-width);
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 0;
	position: relative;
}
#header .logo {
	width: 30%;
	max-width: 200px;
}
#header .logo a:hover {
	opacity: 1;
}

/* HAMBURGER MENU */
#header .openbtn {
	font-family: "Montserrat", sans-serif;
	font-size: 1.375em;
	color: #fff;
	display: inline-block;
	cursor: pointer;
	position: fixed;
	top: 30px;
	right: 15px;
	z-index: 9999;
}
#header .openbtn::after {
	content: "";
	width: 65px;
	aspect-ratio: 1 / 1;
	border: 3px solid #fff;
	border-radius: 100%;
	position: absolute;
	top: 50%;
	right: 0;
	translate: 0 -50%;
	z-index: 1;
}
#header .openbtn span {
	color: #fff;
	font-weight: var(--bold-font-weight);
	line-height: 1;
	cursor: pointer;
	padding-right: 85px;
	position: relative;
	transition: 0.5s;
}
#header .openbtn span::before,
#header .openbtn span::after {
	content: "";
	width: 40px;
	height: 8px;
	background: radial-gradient(circle, #fff 4px, transparent 4px) repeat-x center center / 16px 8px;
	/*border-bottom: 8px dotted #fff;*/
	position: absolute;
	top: 50%;
	right: 12px;
	translate: 0 -50%;
	z-index: 1;
	transition: 0.3s;
}
#header .openbtn.active span::before,
#header .openbtn.active span::after {
	height: 3px;
	background: #fff;
	/*border-bottom: 3px solid #fff;*/
}
#header .openbtn.active span::before {
	transform: rotate(45deg);
}
#header .openbtn.active span::after {
	transform: rotate(-45deg);
}
#header .openbtn.active span {
	color: var(--main-color);
}
#header #g-navi-area {
	display: initial;
	width: 350px !important;
	height: 100vh;
	background: var(--main-color);
	border-radius: 0;
	padding: 0;
	position: fixed;
	z-index: 99;
	top: 0;
	right: -120%;
	transition: all 0.5s;
}
#header #g-navi-area.panelactive {
	/*アクティブクラスがついたら位置を0に*/
	right: 0;
}
#header #g-navi-area #g-navi-list {
	/*ナビの数が増えた場合縦スクロール*/
	width: 100%;
	height: 100vh;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	gap: 5vh;
	padding: 100px 50px;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	position: relative;
	z-index: 999;
}
/*globalnavi*/
#header #g-navi {
	width: 100%;
}
#header #g-navi ul {
	width: 100%;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: start;
	justify-content: center;
	gap: 20px;
}
#header #g-navi ul li {
	font-family: "Montserrat", sans-serif;
	font-size: 1.5em;
	font-weight: var(--bold-font-weight);
}
#header #g-navi ul li a {
	color: #fff;
	display: inline-block;
	position: relative;
}
#header #g-navi ul li a:hover {
	opacity: 1;
	text-decoration: none;
}
#header #g-navi ul li a::after {
	content: "";
	width: 0;
	height: 1px;
	background: #fff;
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 1;
	transition: 0.3s;
}
#header #g-navi ul li a:hover::after {
	width: 100%;
}
#header #g-navi-sp {
	display: block;
	width: 100%;
}
#header #g-navi-sp ul {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 1em 1.5em;
	margin: auto;
}
#header #g-navi-sp li {
	font-size: 1rem;
	position: relative;
}
#header #g-navi-sp li a {
	color: #fff;
}
@media only screen and (max-width: 468px) {
	#header #g-navi-area {
		width: 100% !important;
		right: -150%;
	}
	#header #g-navi-area #g-navi-list {
		min-width: 375px;
		padding: 100px 45px;
	}
	/* HAMBURGER MENU */
	#header .openbtn {
		top: 30px;
		right: 15px;
	}
	#header .openbtn::after {
		width: 50px;
	}
	#header .openbtn span {
		padding-right: 60px;
	}
	#header .openbtn span::before,
	#header .openbtn span::after {
		width: 30px;
		height: 6px;
		background: radial-gradient(circle, #fff 3px, transparent 3px) repeat-x center center / 12px 6px;
		right: 10px;
	}
	#header #g-navi,
	#header #g-navi-sp {
		width: fit-content;
		min-width: 175px;
	}
	#header #g-navi ul li {
		font-size: 2rem;
	}
}

/* =========================================================================================
Footer
=========================================================================================*/
#footer {
	color: #fff;
	background: var(--main-color);
	padding-block: 50px;
	position: relative;
}
#footer .inner {
	min-height: 75vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
#footer .logo {
	width: 90%;
	display: inline-block;
	max-width: 775px;
	margin-bottom: 5vh;
}
#footer .logo img {
	width: 100%;
}
#footer .logo a:hover {
	opacity: 1;
}
#footer .info {
	font-size: 0.9em;
	width: 100%;
	max-width: 900px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0 30px;
}
#footer .copyright {
	font-size: small;
	display: block;
	text-align: center;
	line-height: 1.2;
	margin: 0 auto;
}
@media only screen and (max-width: 980px) {
	#footer .info {
		text-align: center;
		word-break: auto-phrase;
		flex-direction: column;
		gap: 1em;
	}
}
@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 468px) {
	#footer .inner {
		min-height: 50vh;
	}
}

/* =========================================================================================
Page Top
=========================================================================================*/
#page-top {
	display: none;
	position: fixed;
	z-index: 99;
	bottom: 1.5%;
	right: 1.5%;
}
#page-top a {
	display: block;
	text-decoration: none;
	color: rgba(0, 0, 0, 0);
	width: 50px;
	height: 50px;
	border-radius: 50%;
	line-height: 1;
	font-weight: var(--bold-font-weight);
	background: var(--main-color) url(images/common/page_top.svg) no-repeat;
	background-position: top 47.5% center;
	background-size: 1.5em;
	text-indent: -9999px;
}
#page-top a:hover {
	opacity: 0.8;
}

@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 468px) {
}

/* =========================================================================================
Layout
=========================================================================================*/
#wrapper {
	padding: 0;
	margin: 0 auto;
	position: relative;
}
#contents {
	padding: 0;
	margin: 0 auto;
	position: relative;
}
#main {
	margin: 0 auto;
	padding: 0;
}
section {
	position: relative;
	padding-block: 100px;
	margin: 0;
	overflow: hidden;
}
.inner {
	max-width: var(--main-contents-width);
	width: calc(100% - 40px - 40px); /*左右の余白40pxずつ*/
	margin: 0 auto;
	position: relative;
}
@media only screen and (max-width: 820px) {
	section {
		padding-block: 75px;
	}
}
@media only screen and (max-width: 468px) {
	section {
		padding-block: 50px;
	}
}

/* =========================================================================================
Btn / WP-block-button
=========================================================================================*/
.btn {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
}
.wp-block-buttons {
	display: flex;
	align-items: stretch;
}
.btn a,
.wp-block-button a {
	color: #fff;
	font-size: 1.2em;
	line-height: 1.4;
	text-align: center;
	background: transparent;
	border-radius: 0;
	position: relative;
	opacity: 1 !important;
}
.btn a {
	min-width: 200px;
	padding: 0.5em 1.25em 0.6em;
}
.btn a:hover {
	color: var(--main-color);
	background: #fff;
	/*transition: color 0.2s 0.4s ease, background 0.4s 0.4s ease;*/
}
.btn a::before,
.btn a::after {
	content: "";
	width: 0;
	height: 1px;
	position: absolute;
	z-index: 1;
	animation: borderExpand 2s cubic-bezier(0.12, 0, 0.39, 0) infinite;
}
.btn a::before {
	border-top: 1px solid transparent;
	border-right: 1px solid transparent;
	top: -1px;
	left: 0;
	border-color: #fff;
}
.btn a::after {
	border-bottom: 1px solid transparent;
	border-left: 1px solid transparent;
	bottom: 0;
	right: 0;
	border-color: #fff;
}
@keyframes borderExpand {
	0% {
		width: 0%;
		height: 0%;
	}
	20% {
		width: 100%;
		height: 0%;
	}
	29% {
		width: 100%;
		height: 100%;
	}
	30%,
	100% {
		width: 100%;
		height: 100%;
	}
}
.btn a:hover::before,
.btn a:hover::after {
	width: 100%;
	height: 100%;
	border-color: #fff;
	transition: width 0.2s ease, height 0.2s 0.2s ease;
	animation: none;
}
.wp-block-button a {
	color: var(--main-color);
	height: 100%;
	min-width: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid;
	padding: 0.5em 1.25em;
}
.wp-block-button a:hover {
	color: #fff;
	background: var(--main-color);
}

/*color-green*/
.btn a.green:hover {
	color: var(--sub-color);
}
/*color-black*/
.btn a.black {
	color: var(--base-font-color);
}
.btn a.black::before,
.btn a.black::after {
	border-color: var(--base-font-color);
}
.btn a.black:hover {
	color: #fff;
	background: var(--base-font-color);
}
/*circle*/
.btn a.circle {
	color: var(--base-font-color);
	font-family: "Montserrat", sans-serif;
	max-width: 200px;
	min-width: 100px;
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid;
	border-radius: 50%;
	padding: 0.5em 0.25em 0.25em;
}
.btn a.circle:hover {
	background: var(--accent-color);
	transition: all 0.3s;
}
.btn a.circle::before,
.btn a.circle::after {
	display: none !important;
}

/*wp-block-button*/
.wp-block-buttons + .wp-block-buttons {
	margin-top: 0.5em;
}

@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 468px) {
	.btn {
		justify-content: center !important;
	}
	.btn a {
		min-width: 80% !important;
	}
	.btn a.circle {
		font-size: 1em;
		min-width: 100px !important;
	}
}

/* =========================================================================================
Breadcrumbs
=========================================================================================*/
.breadcrumbs {
	font-size: 0.75em;
	text-align: left;
	line-height: 1.4;
	padding-block: 1.5em;
	display: none !important; /*一旦非表示*/
}
.breadcrumbs a {
	color: var(--base-font-color);
	padding-right: 1.5em;
	position: relative;
}
.breadcrumbs a.home {
	padding-left: 1.5em;
}
.breadcrumbs a.home::before {
	content: "";
	width: 1em;
	aspect-ratio: 1 / 1;
	background: url(images/common/icon_home.svg) no-repeat;
	background-size: contain;
	position: absolute;
	top: 50%;
	left: 0;
	translate: 0 -40%;
}
.breadcrumbs a::after {
	content: "";
	width: 0.75em;
	aspect-ratio: 1 /1;
	background: url(images/common/arrow.svg) no-repeat;
	background-size: contain;
	position: absolute;
	top: 50%;
	right: 0.2em;
	translate: 0 -40%;
}
@media only screen and (max-width: 820px) {
	.breadcrumbs {
		font-size: 0.9rem;
	}
}
@media only screen and (max-width: 468px) {
	.breadcrumbs {
		font-size: 0.8rem;
	}
}

/* =========================================================================================
Post list
=========================================================================================*/
/*common*/
.post-list {
	width: 100%;
	margin: 0;
	padding: 0;
}
.post-list ul {
	width: 100%;
	margin: 0;
	padding: 0;
}
.post-list ul a {
	color: var(--base-font-color);
	display: block;
}
.post-list ul a:hover {
	text-decoration: none;
}
.post-list ul li {
	width: 100%;
}
.post-list .no-post {
	text-align: center;
	display: block;
	padding: 10vh 1em;
}

/*column*/
.post-list.column ul {
	margin-bottom: 20px;
}
.post-list.column ul li {
	padding: 1.5em 0 1.25em;
}
.post-list.column ul li:last-child {
	border-bottom: none;
}
.post-list.column ul li article {
	display: grid;
	grid-template-columns: minmax(150px, 35%) 1fr;
	align-items: start;
	justify-content: left;
	gap: 0 5%;
}
.post-list.column .thumbnail {
	border: 1px solid #707070;
	border-radius: 30px;
	overflow: hidden;
	position: relative;
}
.post-list.column .thumbnail img {
	width: 100%;
	display: block;
	object-fit: cover;
	aspect-ratio: 3 / 2;
}
.post-list.column .date {
	font-family: "Montserrat", sans-serif;
	color: var(--gray-color);
	font-size: 0.9em;
	margin-bottom: 0.5em;
}
.post-list.column .title {
	font-size: 1.25em;
	font-weight: var(--nomal-font-weight);
	line-height: 1.6;
	width: fit-content;
}
@media only screen and (max-width: 820px) {
	.post-list.column .thumbnail {
		border-radius: 20px;
	}
}
@media only screen and (max-width: 468px) {
	.post-list.column .thumbnail {
		border-radius: 15px;
	}
}

/* row */
.post-list.row ul {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 30px;
	margin-bottom: 50px;
}
.post-list.row li {
	max-width: 100%;
	padding: 0;
}
.post-list.row li:only-child {
	max-width: 500px;
}
.post-list.row li article {
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: start;
	gap: 0;
}
.post-list.row .thumbnail {
	order: 1;
	border-radius: 20px;
	margin-bottom: 20px;
	overflow: hidden;
	position: relative;
}
.post-list.row .thumbnail img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	aspect-ratio: 10 / 7;
}
.post-list.row .date {
	font-family: "Montserrat", sans-serif;
	color: var(--gray-color);
	font-size: 0.9em;
	text-align: right;
	width: 100%;
	order: 3;
}
.post-list.row .title {
	font-size: 1em;
	font-weight: var(--normal-font-weight);
	line-height: 1.5;
	min-height: 2.5em;
	flex-grow: 1;
	order: 2;
}

@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 468px) {
}

/* =========================================================================================
Archive-Page
=========================================================================================*/
body.post-type-archive-post .page-header {
	color: var(--sub-color);
}
.archive-content section {
	padding-top: 0;
}
.archive-content .post-list {
	border-top: none;
	border-bottom: none;
	padding: 0;
}

/*pagination*/
.pagination .page-numbers {
	display: flex;
	align-items: center;
	justify-content: end;
	gap: 20px;
	margin-block: 25px;
}
.pagination .page-numbers li a,
.pagination .page-numbers li span,
.pagination .page-numbers li .current {
	font-family: "Montserrat", sans-serif;
	color: var(--sub-color);
	font-size: 2.5em;
	font-weight: var(--bold-font-weight);
	line-height: 1;
	width: 80px;
	aspect-ratio: 1 / 1;
	background: transparent;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 100px;
	padding: 0.25em;
}
.pagination .page-numbers li .current {
	color: #fff;
	background: var(--main-color);
}
.pagination .page-numbers li .prev,
.pagination .page-numbers li .next {
	color: rgba(0, 0, 0, 0) !important;
	width: 1em;
	padding: 0;
	position: relative;
	text-indent: 1000%;
	text-align: left;
	overflow: hidden;
	white-space: nowrap;
}
.pagination .page-numbers li .prev::before,
.pagination .page-numbers li .prev::after,
.pagination .page-numbers li .next::before,
.pagination .page-numbers li .next::after {
	content: "";
	position: absolute;
	top: calc(50% - 2px);
	right: 50%;
	width: 40px;
	height: 4px;
	border-radius: 9999px;
	background-color: var(--sub-color);
	transform-origin: calc(100% - 2px) 50%;
}
.pagination .page-numbers li .prev::before,
.pagination .page-numbers li .next::before {
	transform: rotate(45deg);
}
.pagination .page-numbers li .prev::after,
.pagination .page-numbers li .next::after {
	transform: rotate(-45deg);
}
.pagination .page-numbers li .prev::before,
.pagination .page-numbers li .prev::after {
	scale: -1;
}
.pagination .page-numbers li a:hover {
	text-decoration: none;
}

@media only screen and (max-width: 820px) {
	.pagination .page-numbers {
		gap: 15px;
	}
	.pagination .page-numbers li a,
	.pagination .page-numbers li span,
	.pagination .page-numbers li .current {
		font-size: 2em;
		width: 60px;
	}
}
@media only screen and (max-width: 468px) {
	.pagination .page-numbers {
		gap: 10px;
	}
	.pagination .page-numbers li a,
	.pagination .page-numbers li span,
	.pagination .page-numbers li .current {
		font-size: 1.5em;
		width: 42px;
	}
	.pagination .page-numbers li .prev::before,
	.pagination .page-numbers li .prev::after,
	.pagination .page-numbers li .next::before,
	.pagination .page-numbers li .next::after {
		height: 3px;
		transform-origin: calc(100% - 1.5px) 50%;
	}
}

/* =========================================================================================
Single-Page
=========================================================================================*/
body.single #main {
	padding-top: 15vh;
}
body.single .thumbnail {
	width: 100%;
	margin-bottom: 50px;
}
body.single .thumbnail img {
	width: 100%;
	height: 100%;
	aspect-ratio: 1100 / 625;
	object-fit: cover;
}
body.single .entry-header {
	position: relative;
}
body.single .entry-header .inner {
	display: flex;
	flex-wrap: wrap;
	gap: 35px 20px;
	align-items: center;
	padding-block: 1em;
}
body.single .entry-header .date {
	color: var(--gray-color);
	font-family: "Montserrat", sans-serif;
	font-size: 0.9em;
	text-align: left;
	display: inline-block;
}
body.single .entry-header .icon {
	display: flex;
	align-items: start;
	justify-content: left;
	flex-wrap: wrap;
	gap: 5px;
	padding: 1em 0;
}
body.single .entry-header .icon a,
body.single .entry-header .icon span {
	font-size: 0.8rem;
	text-align: center;
	height: auto;
	background: var(--gray-color);
	display: inline-block;
	padding: 0.25em 1em 0.2em;
}
body.single .entry-header .icon a:hover {
	text-decoration: none;
}
body.single .entry-header .title {
	font-size: 3.125rem;
	text-align: left;
	line-height: 1.4;
	width: 100%;
	margin: 0;
}
body.single .entry-content section:nth-last-of-type(1) {
	padding-bottom: 100px;
}
@media only screen and (max-width: 820px) {
	body.single .thumbnail {
		margin-bottom: 30px;
	}
	body.single .entry-header .title {
		font-size: clamp(0.9rem, calc(-0.448rem + 7.191vw), 2.5rem); /* min: 18px, max: 50px */
	}
}
@media only screen and (max-width: 468px) {
	body.single .thumbnail {
		margin-bottom: 15px;
	}
}

/*single-navi*/
body.single .single-navi {
	display: flex;
	justify-content: space-between;
}
body.single .single-navi .prev-navi,
body.single .single-navi .next-navi {
	width: auto;
	box-sizing: border-box;
	background-repeat: no-repeat;
	background-size: 0.75em;
}
body.single .single-navi .prev-navi {
	text-align: left;
	background-image: url(images/common/icon_prev.svg);
	background-position: left;
}
body.single .single-navi .prev-navi a {
	padding: 0 2em 0 1.5em;
}
body.single .single-navi .next-navi {
	text-align: right;
	background-image: url(images/common/icon_next.svg);
	background-position: right;
}
body.single .single-navi .next-navi a {
	padding: 0 1.5em 0 2em;
}

@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 468px) {
}

/* =========================================================================================
Archive-Page WORKS
=========================================================================================*/
body.post-type-archive-works {
	background: var(--sub-color);
}
body.post-type-archive-works #main,
body.post-type-archive-works #main a {
	color: #fff;
}
body.post-type-archive-works .inner > p {
	padding-block: 0 75px;
}
body.post-type-archive-works .post-list.row ul {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(325px, 1fr));
	gap: 100px 10%;
	margin-block: 10vh;
}
body.post-type-archive-works .post-list.row li:only-child {
	max-width: 560px;
}
body.post-type-archive-works .post-list.row li article {
	gap: 0;
}
body.post-type-archive-works .post-list.row .thumbnail {
	order: 1;
}
body.post-type-archive-works .post-list.row .thumbnail img {
	aspect-ratio: 55 / 40;
}
body.post-type-archive-works .post-list.row .title {
	font-size: clamp(1.5rem, calc(0.9rem + 2.56vw), 2.5rem); /* min: 24px, max: 40px */
	font-weight: var(--bold-font-weight);
	line-height: 1.5;
	margin: 0;
}
body.post-type-archive-works .post-list.row .excerpt {
	font-weight: var(--thin-font-weight);
	order: 3;
}
body.post-type-archive-works .pagination .page-numbers li .prev::before,
body.post-type-archive-works .pagination .page-numbers li .prev::after,
body.post-type-archive-works .pagination .page-numbers li .next::before,
body.post-type-archive-works .pagination .page-numbers li .next::after {
	background-color: #fff;
}
/* modal */
body.post-type-archive-works #modal-overlay {
	width: 100%;
	height: 100%;
	background: transparent;
	padding: 10% 0;
	position: fixed;
	z-index: 1000;
	top: 50%;
	left: 50%;
	translate: -50% -50%;
	/* 初期状態：非表示 */
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease;
}
/* アクティブ時 */
body.post-type-archive-works #modal-overlay.active {
	opacity: 1;
	visibility: visible;
}
body.post-type-archive-works #modal-container {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #212121;
	width: 90%;
	max-width: 1720px;
	padding: 5%;
	position: relative;
	top: 50%;
	left: 50%;
	translate: -50% -50%;
	transform: scale(0.9);
	opacity: 0;
	transition: all 0.5s ease;
}
/* アクティブ時の表示 */
body.post-type-archive-works #modal-overlay.active #modal-container {
	transform: scale(1);
	opacity: 1;
}
body.post-type-archive-works #modal-overlay .modal-detail-content {
	width: 100%;
	max-width: 1280px;
	margin: auto;
}
body.post-type-archive-works .modal-close {
	font-size: 15px;
	font-weight: var(--black-font-weight);
	text-align: center;
	line-height: 1;
	cursor: pointer;
	aspect-ratio: 1 / 1;
	display: inline-block;
	position: absolute;
	left: 50%;
	bottom: 5vh;
	translate: -50% 0;
	z-index: 100;
}
body.modal-open {
	overflow: hidden;
}
/*detail*/
body.post-type-archive-works .detail {
	color: #fff;
	width: 100%;
	min-width: 100%;
	display: grid;
	grid-template-columns: minmax(300px, 45%) 1fr;
	grid-template-rows: 1fr 6fr;
	gap: 2em 5%;
	align-items: stretch;
	padding: 0;
	margin: 0;
}
body.post-type-archive-works .detail section {
	padding: 0;
}
body.post-type-archive-works .detail .entry-header {
	grid-area: 1 / 2 / 2 / 3;
	position: relative;
}
body.post-type-archive-works .detail .entry-header .title {
	font-size: 2rem;
	text-align: left;
	line-height: 1.4;
	width: 100%;
	margin-top: -0.375em;
}
body.post-type-archive-works .detail .slider-area {
	grid-area: 1 / 1 / 3 / 2;
	padding-bottom: 0;
}
body.post-type-archive-works .detail .slider-works .swiper-wrapper {
	width: 100%;
	max-width: 0;
}
body.post-type-archive-works .detail .slider-works .swiper-slide img {
	width: 100%;
	height: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	object-position: center;
}
body.post-type-archive-works .detail .swiper-pagination {
	text-align: right;
	margin-top: 0.5em;
	position: static;
}
body.post-type-archive-works .detail .swiper-pagination-bullet {
	width: 2.5%;
	height: auto;
	aspect-ratio: 1 / 1;
	background: transparent;
	border: 1px solid #fff;
	opacity: 1;
}
body.post-type-archive-works .detail .swiper-pagination-bullet-active {
	background: #fff;
}
body.post-type-archive-works .detail .entry-content {
	grid-area: 2 / 2 / 3 / 3;
	font-size: 0.9em;
	display: flex;
	flex-direction: column;
	align-items: start;
	justify-content: space-between;
	gap: 1em;
}
body.post-type-archive-works .detail .entry-content a {
	color: #fff;
}
body.post-type-archive-works .detail .entry-content .info {
	margin-bottom: 2em;
}
body.post-type-archive-works .detail .entry-content .info p {
	display: flex;
	flex-wrap: wrap;
	align-items: start;
	justify-content: left;
	gap: 0;
}
@media only screen and (max-width: 820px) {
	body.post-type-archive-works .post-list.row ul {
		margin-top: 5vh;
	}
	body.post-type-archive-works .post-list.row .title {
		min-height: auto;
		margin-bottom: 0.5em;
	}
	body.post-type-archive-works #modal-container {
		padding: 0;
	}
	body.post-type-archive-works #modal-content {
		height: 85vh;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch; /* iOS対応 */
	}
	body.post-type-archive-works .modal-close {
		bottom: 20px;
	}
	body.post-type-archive-works .detail {
		display: block;
		padding: 10% 7.5% 60px;
	}
	body.post-type-archive-works .detail .slider-area {
		max-width: 400px;
		margin-block: 2em;
		margin-inline: auto;
	}
}
@media only screen and (max-width: 468px) {
	body.post-type-archive-works .post-list.row ul {
		grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
		gap: 50px;
		margin-top: 0;
	}
}

/* =========================================================================================
Single-Page&POPUP  WORKS
=========================================================================================*/
body.single-works {
	background: #212121;
}
body.single-works #main,
body.single-works #main a {
	color: #fff;
}
body.single-works #main article {
	width: 90%;
	max-width: 1280px;
	display: grid;
	grid-template-columns: minmax(300px, 45%) 1fr;
	grid-template-rows: 1fr 6fr;
	gap: 2em 5%;
	align-items: stretch;
	margin: 10vh auto 20vh;
}
body.single-works #main article section {
	padding: 0;
}
body.single-works .entry-header {
	grid-area: 1 / 2 / 2 / 3;
	position: relative;
}
body.single-works .entry-header .title {
	font-size: 2rem;
	text-align: left;
	line-height: 1.4;
	width: 100%;
	margin-top: -0.375em;
}
body.single-works .slider-area {
	grid-area: 1 / 1 / 3 / 2;
	padding-bottom: 0;
}
body.single-works .slider-works .swiper-wrapper {
	overflow: hidden;
	width: 100%;
}
body.single-works .slider-works .swiper-slide img {
	width: 100%;
	height: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	object-position: center;
}
body.single-works .swiper-pagination {
	text-align: right;
	margin-top: 0.5em;
	position: static;
}
body.single-works .swiper-pagination-bullet {
	width: 2.5%;
	height: auto;
	aspect-ratio: 1 / 1;
	background: transparent;
	border: 1px solid #fff;
	opacity: 1;
}
body.single-works .swiper-pagination-bullet-active {
	background: #fff;
}
body.single-works .entry-content {
	grid-area: 2 / 2 / 3 / 3;
	font-size: 0.9em;
	display: flex;
	flex-direction: column;
	align-items: start;
	justify-content: space-between;
	gap: 1em;
}
body.single-works .entry-content a {
	color: #fff;
}
body.single-works .entry-content .info {
	margin-bottom: 2em;
}
body.single-works .entry-content .info p {
	display: flex;
	flex-wrap: wrap;
	align-items: start;
	justify-content: left;
	gap: 0;
}
@media only screen and (max-width: 820px) {
	body.single-works #main article {
		width: 90%;
		max-width: 1280px;
		display: block;
	}
	body.single-works .slider-area {
		margin-block: 2em;
	}
}
@media only screen and (max-width: 468px) {
}

/* =========================================================================================
  Editer
=========================================================================================*/
/*見出し全体*/
* + .mid-xl,
* + .mid-l,
* + .mid-m,
* + .mid-s {
	margin-top: 1.5em;
}
/*見出し特大*/
.mid-xl {
	font-size: 2.5rem;
	font-weight: var(--bold-font-weight);
	line-height: 1.5;
	display: flex;
	flex-direction: column;
	align-items: start;
	justify-content: left;
	gap: 0.15em 0.5em;
	margin-bottom: 8vh;
	position: relative;
}
.mid-xl .jp {
	margin-inline: 0.5rem;
}
.mid-xl .en {
	font-family: "Montserrat", sans-serif;
	font-size: 9.5rem;
	line-height: 1;
}
@media only screen and (max-width: 820px) {
	.mid-xl .en {
		font-size: clamp(3.625rem, calc(-1.221rem + 20.674vw), 9.375rem); /* min: 58px, max: 150px */
	}
}
@media only screen and (max-width: 468px) {
}
/*見出し大*/
.mid-l {
	font-size: 1.15em;
	font-weight: var(--normal-font-weight);
	line-height: 1.5;
	display: flex;
	flex-direction: column-reverse;
	align-items: start;
	justify-content: left;
	gap: 0.75em 0.5em;
	margin-bottom: 2.5em;
	position: relative;
}
.mid-l .jp {
	margin-inline: 0.2em;
}
.mid-l .en {
	font-family: "Montserrat", sans-serif;
	font-size: 5rem;
	font-weight: var(--black-font-weight);
	line-height: 1;
}
@media only screen and (max-width: 820px) {
	.mid-l .en {
		font-size: clamp(1rem, calc(-1.528rem + 13.483vw), 4rem); /* min: 20px, max: 80px */
	}
}
@media only screen and (max-width: 468px) {
}
/*見出し中*/
.mid-m {
	font-size: clamp(1.5rem, calc(0.761rem + 3.152vw), 3.125rem); /* min: 24px, max: 50px */
	font-weight: var(--bold-font-weight);
	display: flex;
	flex-direction: row-reverse;
	align-items: center;
	justify-content: space-between;
	gap: 0;
	margin-bottom: 1em;
}
.mid-m .jp {
	font-size: clamp(0.75rem, calc(0.636rem + 0.485vw), 1rem); /* min: 12px, max: 16px */
	font-weight: var(--normal-font-weight);
	text-align: right;
	line-height: 1.6;
	letter-spacing: 0;
	margin-top: 1em;
}
.mid-m .en {
	line-height: 1;
	white-space: nowrap;
}
@media only screen and (max-width: 820px) {
	.mid-m .jp {
		margin-top: 0;
	}
}
@media only screen and (max-width: 468px) {
}
/*見出し小*/
.mid-s {
	font-size: 1.25rem;
	font-weight: var(--bold-font-weight);
	margin-bottom: 0.5em;
}
@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 468px) {
}

/*heading*/
* + .wp-block-heading {
	margin-top: 1.5em;
}
.wp-block-heading {
	font-weight: var(--bold-font-weight);
	line-height: 1.4;
	margin-bottom: 0.75em;
}
h1.wp-block-heading {
	font-size: 2em;
}
h2.wp-block-heading {
	font-size: 1.75em;
}
h3.wp-block-heading {
	font-size: 1.45em;
}
h4.wp-block-heading {
	font-size: 1.25em;
}
h5.wp-block-heading {
	font-size: 1em;
}
h6.wp-block-heading {
	font-size: 0.85em;
}

/*Hr*/
hr,
.wp-block-separator {
	width: 100%;
	height: 1px;
	border: none;
	background-color: var(--base-font-color);
	margin: 7.5vh auto;
}
.wp-block-separator.is-style-dots:before {
	font-size: 3em;
	letter-spacing: 1em;
	padding-left: 1em;
}
@media only screen and (max-width: 820px) {
	hr,
	.wp-block-separator {
		width: 50%;
	}
}

/*Table*/
.wp-block-table table,
.entry-content table {
	width: 100%;
	border-collapse: collapse;
}
.wp-element-caption,
.entry-content .caption,
.wp-block-flexible-table-block-table figcaption {
	color: var(--base-font-color);
	opacity: 0.7;
	padding: 0.5em 0;
}
.wp-block-table thead th {
	border-bottom: none;
}
.wp-block-table th,
.wp-block-table td,
.entry-content th,
.entry-content td {
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid var(--gray-color);
	padding-block: 1em;
	position: relative;
}
.wp-block-table th,
.wp-block-table td strong,
.entry-content th {
	color: var(--base-font-color);
}
.wp-block-table.is-style-stripes .wp-element-caption {
	border-top: 2px solid;
}

.wp-block-table table table th,
.entry-content table table th,
.wp-block-table table table td,
.entry-content table table td {
	padding-block: 0.25em;
	border: none;
}
@media only screen and (max-width: 820px) {
	.wp-block-table table {
		min-width: 650px;
		overflow-x: auto;
	}
}
/*Flexible-Table*/
.wp-block-flexible-table-block-table figcaption {
	color: var(--base-font-color);
	opacity: 0.7;
	padding: 0.5em 0;
}
.wp-block-flexible-table-block-table.wp-block-flexible-table-block-table > table tr th {
	padding: 0.5em 1em;
}
.wp-block-flexible-table-block-table.wp-block-flexible-table-block-table > table tr td {
	padding: 1em;
}

/*List*/
ul.wp-block-list,
ol.wp-block-list,
ul.list,
ol.list {
	margin: 0.5em 0 0.5em 1.5em;
}
ul.wp-block-list li,
ol.wp-block-list li,
ul.list li,
ol.list li {
	position: relative;
}
ul.wp-block-list li + li,
ol.wp-block-list li + li,
ul.list li + li,
ol.list li + li {
	margin-top: 0.25em;
}
ul.wp-block-list li::before,
ul.list li::before {
	position: absolute;
	content: "";
	background: var(--main-color);
	width: 5px;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	top: 0.8em;
	left: -0.9em;
}

/*List - note*/
ul.note {
	list-style: none;
}
ul.note.center {
	width: fit-content;
	margin: auto;
}
ul.note li {
	padding-left: 0.25em;
}
ul.note li:before {
	content: "※";
	margin-right: 0.5em;
	background: none;
	top: 0.2em;
	left: -1em;
}

/*blockquote*/
blockquote {
	position: relative;
	padding: 3em 2em;
	background: #f5f5f5;
}
blockquote cite {
	display: block;
	font-size: 0.8rem;
	text-align: right;
	color: #808080;
	padding-right: 20px;
}

/*wp-block-media-text*/
@media only screen and (max-width: 600px) {
	.wp-block-media-text .wp-block-media-text__content {
		margin: 0;
		padding: 1em 0;
	}
}

/*image*/
.wp-block-image {
	margin-bottom: 1em;
}

/* =========================================================================================
FORM
=========================================================================================*/
.grecaptcha-badge {
	/*visibility: hidden;*/
} /*reCAPTCHAバッジ（ロゴマーク）を消す ※設定がうまくいったことを確認してからこのCSSを有効化すること*/

.entry-content form {
	margin: 0 auto;
	box-sizing: border-box;
	position: relative;
}
.entry-content form ::placeholder {
	color: #ccc;
}
.entry-content form input[type="text"],
.entry-content form input[type="tel"],
.entry-content form input[type="email"],
.entry-content form textarea,
.entry-content form select {
	width: 100%;
	background: #eeeeef;
	border: 1px solid #eeeeef;
	padding: 0.75em 1em;
	transition: 0.3s;
}
.entry-content form input:focus,
.entry-content form textarea:focus {
	border: 1px solid var(--gray-color);
}
.entry-content form .wpcf7-radio {
	/*ラジオボタンの位置調整*/
	margin-top: 1em;
	display: block;
}
.entry-content form .wpcf7-radio .wpcf7-list-item.first {
	/*ラジオボタンの一番最初のmargin調整*/
	margin: 0;
}
.entry-content form input[type="checkbox"] {
	width: 1em;
	aspect-ratio: 1 / 1;
	border: 1px solid var(--base-font-color);
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	margin-top: 0.1em;
	position: relative;
}
.entry-content form input[type="checkbox"]:checked:before {
	content: "";
	width: 0.65em;
	height: 1em;
	border-right: 2px solid var(--base-font-color);
	border-bottom: 2px solid var(--base-font-color);
	position: absolute;
	top: 50%;
	left: 50%;
	translate: -50% -70%;
	transform: rotate(50deg);
}
.entry-content form .wpcf7-form-control-wrap label {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.25em;
}
.entry-content form select {
	width: fit-content;
	min-width: 300px;
	padding-right: 4em;
	background: #fff url(images/common/icon_dropdown.svg) no-repeat;
	background-position: right 1em center;
	background-size: 1em;
}
.entry-content form .post-add input {
	max-width: 150px;
}
.entry-content form .select-pref select {
	min-width: 100px;
}
.entry-content form input[type="submit"],
.entry-content form input[type="button"] {
	color: #fff;
	font-weight: var(--nomal-font-weight);
	background-color: var(--base-font-color);
	padding: 0.75em 1.5em;
	line-height: 1.4;
	letter-spacing: 0.25em;
	text-indent: 0.25em;
	border-radius: 100px;
	min-width: 320px;
	border: none;
	filter: drop-shadow(7px 7px 3px rgba(0, 0, 0, 0.15));
	transition: 0.3s;
}
.entry-content form input[type="submit"] {
	color: var(--base-font-color);
	background-color: var(--accent-color);
}
.entry-content form input[type="button"] {
	background-color: var(--gray-color);
}
.entry-content form input[type="submit"]:hover,
.entry-content form input[type="button"]:hover {
	translate: 7px 7px;
	filter: none;
	opacity: 0.8;
}
.entry-content form .btn-area {
	margin-top: 3em;
}
.entry-content form .btn-area p {
	text-align: center;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 30px;
	position: relative;
	width: 100%;
}
.entry-content form .btn-area p br {
	display: none;
}
.entry-content form .btn-area .wpcf7-spinner {
	position: absolute;
	right: -80px;
	top: 30%;
}
@media only screen and (max-width: 820px) {
	.entry-content form .btn-area {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: center;
		width: 100%;
		max-width: 800px;
	}
	.entry-content form .btn-area p {
		position: relative;
	}
	.entry-content form .btn-area .wpcf7-spinner {
		position: absolute;
		right: -80px;
		top: 30%;
	}
}
@media only screen and (max-width: 468px) {
	.entry-content form input[type="submit"],
	.entry-content form input[type="button"] {
		width: 100%;
		min-width: 100%;
	}
}

/*問い合わせ画面*/
.entry-content .contact-bg {
	padding-block: 25px 0;
	margin: 0;
}
.entry-content .contact-bg .privacy {
	text-align: center;
	margin-bottom: 2em;
}
.entry-content .contact-bg .privacy .wpcf7-list-item {
	margin: 0;
}
.entry-content .contact-bg .privacy a {
	text-decoration: underline;
}
.entry-content .contact-bg .center {
	text-align: center;
	margin-top: 3em;
}
.entry-content form dl {
	width: 100%;
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 40px 7.5%;
	padding-bottom: 70px;
	margin: 0 auto;
}
.entry-content form dt {
	font-weight: var(--normal-font-weight);
	text-align: left;
	line-height: 1.6;
}
.entry-content form dt label {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	padding-top: 0.875em;
}
.entry-content form dt span {
	font-size: small;
	color: #fff;
	line-height: 1;
	letter-spacing: 0.25em;
	text-indent: 0.25em;
	display: inline-block;
	background: var(--attention-color);
	border-radius: 3px;
	padding: 0.5em 0.25em 0.55em;
	margin-left: 0.5em;
}
.entry-content form dd p {
	display: block;
}
.entry-content form small {
	display: block;
	line-height: 1.7;
}

@media only screen and (max-width: 820px) {
	.entry-content .contact-bg {
		padding: 20px 0;
	}
	.entry-content form dl {
		display: flex;
		flex-wrap: wrap;
		gap: 20px;
	}
	.entry-content form dt {
		text-align: left;
		width: 100%;
	}
	.entry-content form dt label {
		justify-content: left;
	}
	.entry-content form dt span {
		font-size: 0.8rem;
		padding: 0.15em 0.2em 0.2em;
		margin-left: 0.75em;
	}
	.entry-content form dd {
		width: 100%;
		margin-bottom: 1em;
	}
}
@media only screen and (max-width: 468px) {
	.entry-content .contact-bg {
		padding: 0;
	}
}

/* =========================================================================================
Parts (LINK)
=========================================================================================*/
section.parts-link {
	padding: 0;
	margin: 0;
}
section.parts-link .inner {
	width: 100%;
	max-width: 100%;
	height: 40vh;
	min-height: 500px;
	display: flex;
	align-items: stretch;
	justify-content: center;
	gap: 0;
}
section.parts-link .inner > div {
	width: 50%;
}
section.parts-link a {
	width: 100%;
	height: 100%;
	display: flex;
	padding: 30px 5%;
	position: relative;
	z-index: 5;
}
section.parts-link a::after {
	content: "";
	width: calc(100% + 1px);
	height: 100%;
	background: #000;
	position: absolute;
	top: 50%;
	left: 50%;
	translate: -50% -50%;
	opacity: 0.5;
	transition: 0.3s;
	z-index: -1;
}
section.parts-link a:hover::after {
	opacity: 0;
}
section.parts-link a:hover {
	text-decoration: none;
	opacity: 1;
}
section.parts-link .mid-l {
	margin: 0;
}
section.parts-link .mid-l .jp {
	font-size: 1rem;
}
section.parts-link .mid-l .en {
	font-size: 5rem;
}
/*.link-works*/
section.parts-link .link-works a {
	color: #fff;
	background: url(images/link_bg_works.webp) no-repeat center;
	background-size: cover;
	align-items: end;
	justify-content: end;
}
/*.link-service*/
section.parts-link .link-service a {
	color: #fff;
	background: url(images/link_bg_service.webp) no-repeat center;
	background-size: cover;
	align-items: end;
	justify-content: end;
}
/*.link-contact*/
section.parts-link .link-contact a {
	color: var(--base-font-color);
	background: var(--accent-color);
	align-items: center;
	justify-content: center;
}
section.parts-link .link-contact a:hover {
	color: #fff;
	background: var(--link-color);
}
section.parts-link .link-contact a::after {
	display: none;
}
section.parts-link .link-contact .mid-l {
	flex-direction: column-reverse;
	align-items: start;
}
@media only screen and (max-width: 820px) {
	section.parts-link .inner {
		height: auto;
		min-height: auto;
		display: flex;
		flex-direction: column;
		gap: 0;
	}
	section.parts-link .inner > div {
		width: 100%;
	}
	section.parts-link a {
		width: 100%;
		height: 100%;
		min-height: 200px;
	}
	section.parts-link .mid-l .en {
		font-size: clamp(1.5rem, calc(-0.607rem + 11.236vw), 4rem); /* min: 30px, max: 80px */
	}
	/*.link-service*/
	section.parts-link .link-service a {
		color: #fff;
		background: url(images/link_bg_service.webp) no-repeat center;
		background-size: cover;
		align-items: end;
		justify-content: end;
	}
	/*.link-contact*/
	section.parts-link .link-contact a {
		justify-content: left;
	}
}
@media only screen and (max-width: 468px) {
}
