@charset "UTF-8";

/*==========================================
 ・ページレイアウトのスタイル
 ・下層ページの見出し回りのスタイル
 ・ul,li,dl, table,wpのスタイル
===========================================*/
/*------------
 レイアウト
------------*/
/*2カラム*/
.hbn-col-2Wrap {
	overflow: clip;
}

#hbn-col-2 {
	margin: 0 auto 60px;
	flex-direction: row;
}

#hbn-col-2 main {
	width: calc(100% - 300px);
}

#hbn-col-2 aside {
	padding: 0 0 0 50px;
	width: 300px;
}


#sideArea {
	container-type: inline-size;
}

.sideArea .inner {
	width: 100%;
}

@container (min-width: 580px) and (max-width: 1024px) {
	.sideArea {
		display: flex;
		flex-wrap: wrap;
		gap: 25px;
	}

	.sideArea .inner {
		width: calc(50% - 25px);
	}
}

.sideArea h3 {
	padding-bottom: 1em;
	font-size: 2rem;
	line-height: 1.25;
	position: relative;
}

.sideArea .categoryList {
	margin-bottom: 60px;
}

.sideArea .categoryList:not(.service) li {
	border-bottom: solid 1px var(--bg-color);
}

.sideArea .categoryList:not(.service) li a {
	padding: 15px 40px 15px 10px;
	height: 100%;
	color: var(--text-color);
	text-decoration: none;
	display: flex;
	align-items: center;
	position: relative;
	line-height: 1.25;
	font-size: clamp(1.4rem, 1.333rem + 0.33vw, 1.6rem);
}

.sideArea .categoryList:not(.service) li a::before,
.sideArea .categoryList:not(.service) li a::after {
	content: '';
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	transition-duration: .3s;
}

.sideArea .categoryList:not(.service) li a::before {
	width: 25px;
	height: 25px;
	border-radius: 50%;
	right: 3px;
	background-color: var(--main-color);
}

.sideArea .categoryList:not(.service) li a::after {
	width: 10px;
	height: 10px;
	right: 10px;
	background: url("../images/icon-arrow-wh.svg");
	background-position: center;
	background-size: contain;
}

@media (any-hover: hover) {
	.sideArea .categoryList li a:hover::before {
		right: 0px;
	}

	.sideArea .categoryList li a:hover::after {
		right: 7px;
	}
}

.sideArea .categoryList li.current-cat a {
	color: var(--main-color);
}

/*サービスで探す*/
.categoryList.service {
	justify-content: flex-start;
	gap: 15px;
	display: flex;
	flex-wrap: wrap;
}

.categoryList.service li {
	display: inline-block;
}

.categoryList.service li a {
	padding: 10px;
	color: var(--text-color);
	text-decoration: none;
	position: relative;
	display: block;
	font-size: 1.3rem;
	background-color: var(--bg-color);
	border-radius: 100vmax;
	border: solid 1px var(--sub-color);
}

.categoryList.service li a::before {
	content: '#';
}

/*END2カラム*/


/*------------
 h1見出しタイトルエリア
------------*/
#ttlArea {
	width: 100%;
	position: relative;
}

#ttlArea .inner {
	padding: 160px 0 80px;
	position: relative;
	display: flex;
	flex-direction: column-reverse;
}

#ttlArea.news .inner {
	width: min(90%, 800px);
}

#ttlArea h1 {
	font-size: clamp(3rem, 2rem + 5vw, 6rem);
	font-weight: 500;
	line-height: 1.3;
}

/*------------
 breadcrumb
------------*/
#breadcrumb {
	position: relative;
	margin-bottom: 20px;
}

#breadcrumb::-webkit-scrollbar {
	display: none;
}

.breadcrumbList {
	display: flex;
	flex-wrap: wrap;
}

.breadcrumbList li {
	margin: 0 30px 0 0;
	padding: 0;
	position: relative;
}

.breadcrumbList li:after {
	content: '';
	width: 6px;
	height: 6px;
	border: 0;
	border-top: solid 2px var(--main-color);
	border-right: solid 2px var(--main-color);
	transform: rotate(45deg);
	position: absolute;
	top: 0;
	right: -15px;
	bottom: 0;
	margin: auto;
}

.breadcrumbList li:last-child:after {
	content: none;
}

.breadcrumbList li:before {
	content: none;
}

.breadcrumbList li,
.breadcrumbList a {
	font-size: 1.1rem;
	font-weight: 300;
	line-height: 1.2;
}

.breadcrumbList li:last-child a {
	font-weight: 700;
	pointer-events: none;
	color: var(--text-color);
}

.breadcrumbList li a {
	padding: 0;
	width: inherit;
	color: var(--text-color);
	text-decoration: none;
}

/*------------
 本文見出し
------------*/
:where(#contentArea) h2 {
	font-size: clamp(2.8rem, 2.733rem + 0.33vw, 3rem);
}

:where(#contentArea) :is(h2, h3, h4, h5, h6) {
	margin-bottom: 1em;
	font-weight: bold;
	line-height: 1.5em;
}

:where(#contentArea) :is(h2, h3, h4, h5, h6):not(:first-child) {
	margin: 3em 0 1em;
}


/*------------
 コンテンツエリア
------------*/
#contentArea {
	margin: auto;
	position: relative;
	z-index: 1;
	font-weight: normal;
	font-size: clamp(1.4rem, 1.327rem + 0.36vw, 1.6rem);
	line-height: 1.8;
}

:where(#contentArea) .inner {
	margin-bottom: 120px;
}

.newsContents .inner {
	width: min(90%, 800px);
}

.newsContents .inner.article {
	width: min(80%, 800px);
	text-align: justify;
}

.single-service .newsContents .inner.article {
	width: min(90%, 1040px);
}

:where(#contentArea) :is(section, .section) {
	margin: 120px 0;
}

:where(#contentArea) :is(section):nth-of-type(1) {
	margin-top: 0;
}

:is(section, .section).w100 {
	width: 100vw;
	margin: 0 calc(50% - 50vw);
	padding: 120px calc(50vw - 50%);
	position: relative;
}

:where(#contentArea) :is(ul, ol, .wp-block-table, .wp-block-flexible-table-block-table, dl, .box, .wp-block-quote, .wp-block-image, .wp-block-gallery) {
	margin: 3em 0;
}

:where(#contentArea) :is(ul, ol, .wp-block-table, .wp-block-flexible-table-block-table, dl, .box, .wp-block-quote, .wp-block-image, .wp-block-gallery):first-child {
	margin-top: 0;
}

dl p:last-child,
:where(#contentArea) :is(ul, ol, .wp-block-table, .wp-block-flexible-table-block-table, dl, .box, .wp-block-quote, :not(div) > .wp-block-image, .wp-block-gallery):last-child {
	margin-bottom: 0;
}

.cardDescBox .wp-block-image {
	margin-bottom: 1em;
}

/*------------
ページ内アンカー
------------*/
.anchorArea {
	margin-bottom: 3em;
	row-gap: 1em;
}

.anchorArea .btm {
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	text-align: justify;
}

.anchorArea .btm a {
	margin: 0 auto 0 0;
	padding: 1em 50px 1em 0;
	display: block;
	width: 100%;
	height: 100%;
	align-items: center;
	display: flex;
}

.anchorArea .btm a::before {
	width: 30px;
	height: 30px;
	top: 50%;
}

.anchorArea .btm a::before {
	top: 50%;
	background: url('../images/arrow.svg');
	background-size: contain;
	transform: translateY(-50%) rotate(90deg);
	right: 0;
}

@media (any-hover: hover) {
	.anchorArea .btm a:hover {
		background-color: var(--bl-color);
	}

	.anchorArea .btm a:hover::before {
		right: 0;
		transform: translateY(-30%) rotate(90deg);
	}
}

.anchorArea.col-2 .btm {
	width: 48%;
}

/*------------
 dlのスタイル
------------*/
:where(#contentArea) dl {
	margin: 1em 0;
	line-height: 1.8;
	display: flex;
	flex-wrap: wrap;
}

:where(#contentArea) dt {
	margin-bottom: 1.5em;
	padding: 0 1.5em 1.5em 0;
	font-weight: bold;
	width: 30%;
	border-bottom: solid 1px var(--line-color);
	font-size: 1.6rem;
}

:where(#contentArea) dd {
	margin-bottom: 1.5em;
	padding-bottom: 1.5em;
	word-break: break-all;
	width: 70%;
	border-bottom: solid 1px var(--sub-color);
	font-size: 1.6rem;
}

/*------------
 ulのスタイル
------------*/
:where(#contentArea) ul {
	margin: 1em 0;
	line-height: 1.8;
	font-size: 1.6rem;
}

:where(#contentArea) ul:not(.anchorArea, .newsList, .PrevNextArea, .page-numbers, .formList, .col-3, .col-2, .col-4, .tagList, .casestudySearchList, .category, .snsList, .categoryList.service, .splide__pagination) li:not(.btm-bgcolor, .btm) {
	padding: 0 0 0 2rem;
	position: relative;
}

:where(#contentArea) ul:not(.anchorArea, .newsList, .PrevNextArea, .page-numbers, .formList, .col-3, .col-2, .col-4, .tagList, .casestudySearchList, .category, .snsList, .categoryList.service, .splide__pagination) li:not(.btm-bgcolor, .btm):before {
	content: '';
	width: .5rem;
	height: .5rem;
	background-color: var(--line-color);
	border-radius: 50%;
	position: absolute;
	top: 1.25rem;
	left: 0;
}

:where(#contentArea) ul:not(.anchorArea, .newsList, .PrevNextArea, .page-numbers, .formList, .col-3, .col-2, .col-4) li:not(.btm-bgcolor, .btm):has(a[target="_blank"]):before {
	top: 15px;
}

/*横並び*/
ul:not(.anchorArea, .newsList, .PrevNextArea, .page-numbers, .formList, .col-3, .col-2, .col-4, .snsList).flex {
	justify-content: flex-start;
}

ul:not(.nav-item_sub >ul, .anchorArea, .newsList, .PrevNextArea, .page-numbers, .formList, .col-3, .col-2, .col-4, .casestudySearchList, .snsList).flex li {
	margin-right: 1em;
}

/*矢印リスト*/
.arrowList li::before {
	content: none !important;
}

.arrowList li a {
	padding-left: 30px;
}

.arrowList li a::before {
	content: '';
	width: 20px;
	height: 20px;
	background-image: url('../images/icon-arrow.svg');
	position: absolute;
	top: 10px;
	left: 0;
	transform: translateY(-50%);
	background-repeat: no-repeat;
	background-position: center;
}

/*tagList*/
.tagList {
	margin-top: 1em;
	display: flex;
	flex-wrap: wrap;
	gap: .5em 1em;
}

.tagList :is(li, a) {
	color: var(--sub-color);
	font-size: clamp(1.2rem, 1.133rem + 0.33vw, 1.4rem);
	position: relative;
	line-height: 1.25;
	text-decoration: none;
}


/*------------
 olのスタイル
------------*/
:where(#contentArea) ol {
	margin: 1em 0;
	counter-reset: count 0;
	line-height: 1.8;
	font-size: 1.6rem;
}

:where(#contentArea) ol li {
	padding: 0 0 0 2em;
	position: relative;
}

:where(#contentArea) ol li:last-child {
	margin-bottom: 0;
	font-weight: normal;
}

:where(#contentArea) ol>li:before {
	content: counter(count) " ";
	counter-increment: count 1;
	position: absolute;
	left: 0;
	top: 2px;
	font-family: "Sofia Sans", sans-serif;
	font-weight: 700;
}

ol.flowList li {
	margin-bottom: 50px;
	padding: 1em 1em 1em 4em;
	background: #fff;
	border-radius: 2vmax;
	border: solid 1px var(--line-color);
}

:where(#contentArea) ol.flowList>li:before {
	left: 2em;
	top: 50%;
	transform: translateY(-50%);
	color: var(--main-color);
}

:where(#contentArea) ol.flowList>li:not(:last-child):after {
	content: '';
	width: 1px;
	height: 50px;
	background-color: var(--line-color);
	position: absolute;
	bottom: -51px;
	left: 2.15em;
}

/*------------
 テーブルのスタイル
------------*/
.wp-block-table table,
table {
	width: 100%;
	font-size: 1.6rem;
	line-height: 1.8;
	background-color: #fff;
	overflow: hidden;
	border-radius: clamp(10px, 3vmax, 30px);
}

.wp-block-flexible-table-block-table {
	border-radius: clamp(10px, 3vmax, 30px);
}


.wp-block-table thead {
	border: none;
}

.wp-block-table table :is(th, td),
:is(th, td) {
	padding: 1.5em;
	vertical-align: middle;
	font-weight: bold;
	text-align: left;
	border: none;
	border-bottom: solid 2px var(--wh-color);
}

.wp-block-table table th,
th {
	background-color: var(--bg-color);
}

.wp-block-table table td,
td {
	font-weight: normal;
}

.wp-block-table table.thw30 th,
.thw30 th {
	width: 30%;
}

.wp-block-table table.sp-th100 td,
.sp-th100 td {
	padding: 1em;
	vertical-align: middle;
}

.wp-block-table table p:last-child,
table p:last-child {
	margin-bottom: 0;
}

.figcaption {
	margin-top: 1em;
}

/*--------
　テキストのスタイル関連
---------*/
:where(main) p {
	margin-bottom: 1em;
}

:where(main, footer) :where(h2, h3, h4, h5, h6) {
	margin: 1.25em 0;
}


/*hr*/
.wp-block-separator {
	border-top: 1px solid var(--sub-color);
	margin: 5em 0;
}

/*インデント*/
.indentback {
	text-indent: -1em;
	padding-left: 1em;
}

/*iframe*/
.iframe {
	position: relative;
	width: 100%;
	height: 0;
	padding-top: 75%;
}

.iframe iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/*------------
 imgのスタイル
------------*/
.img100 {
	width: 100%;
	height: auto;
}

.img30 {
	width: 30%;
	min-width: 250px;
	height: auto;
}

.max-400img {
	width: min(100%, 400px);
	height: auto;
}

.max-300img {
	width: min(100%, 300px);
	height: auto;
}

.max-200img {
	width: min(100%, 200px);
	height: auto;
}

.img_block {
	display: block;
	margin: 0 auto;
}

.img_block.m-bottom3em {
	margin: 0 auto 3em;
}

.img_block.m-bottom2em {
	margin: 0 auto 2em;
}

.img_block.m-bottom1em {
	margin: 0 auto 1em;
}

figcaption {
	font-size: 1.4rem;
}

.img-radius {
	border-radius: 1vmax;
}

.float_right {
	margin: 10px 0 10px 10px;
	float: right;
	z-index: 1;
	position: relative;
}

.cf::after {
	content: "";
	display: block;
	clear: both;
}

.youtube {
	width: 100%;
	aspect-ratio: 16 / 9;
}

.youtube iframe {
	width: 100%;
	height: 100%;
}

/*--ライトボックスなど--*/
.blocks-gallery-grid,
.wp-block-gallery {
	justify-content: center;
}

.wp-lightbox-container button:not(:hover):not(:active):not(.has-background) {
	background-color: var(--main-color);
	border: none;
	opacity: 1;
}

.wp-lightbox-overlay .scrim {
	background-color: rgb(0 0 0 /.7) !important;
}

.wp-lightbox-overlay .close-button:hover,
.wp-lightbox-overlay .close-button:not(:hover):not(:active):not(.has-background) {
	background: #fff !important;
}

/*ギャラリースライダー*/
.gallerySlide :is(.slideImg, .thumbImg) {
	width: 100%;
	aspect-ratio: 4/3;
	background-color: #d4d4d6;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 1vmax;
	overflow: hidden;
}

.gallerySlide .slideImg {
	margin-bottom: 1em;
}

.gallerySlide .slideImg img {
	width: 100%;
	object-fit: contain;
}

.slide-ttl {
	margin-bottom: 2em;
	font-size: 1.4rem;
	line-height: 1.7;
}

.gallerySlide .thumbWrapper {
	width: 100%;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 10px;
}

.gallerySlide .thumbImg img {
	width: 100%;
}

/*------------
	パスワード保護中
------------*/
.container-custom input[type="password"],
.container-custom input[type="text"] {
	margin: 0;
	width: 100%;
	max-width: 400px;
	height: 40px;
	padding: 10px;
	border-radius: 0;
	background: var(--bg-color);
	font-size: 16px;
	border: solid 1px var(--sub-color);
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
}

.container-custom input[type="submit"] {
	margin-bottom: 1em;
	margin-inline: auto;
	display: block;
	width: 100%;
	max-width: 250px;
	height: 50px;
	border: none;
	background: var(--main-color) !important;
	color: #fff;
	letter-spacing: 0.25em;
	transition-duration: .3s;
	cursor: pointer;
	border-radius: 50vmax;
	position: relative;
}

.container-custom p.aiowps-captcha {
	margin: 3em 0 1em;
}

/*==========================================
 tb［541px-1080px以下］
===========================================*/

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

	/*------------
	レイアウト
	------------*/
	/*2カラム*/
	#hbn-col-2 {
		flex-direction: column;
	}

	#hbn-col-2 main {
		margin-bottom: 60px;
		width: 100%;
	}

	#hbn-col-2 aside {
		padding: 3em 0 0;
		width: 100%;
		border-right: none;
		border-top: solid 1px var(--line-color);
		position: relative;
	}

	/*固定ページのaside*/
	#hbn-col-2.page {
		flex-direction: row;
	}

	#hbn-col-2.page aside {
		padding: 0 1em 0 0;
		width: max(200px, 30%);
		border-top: none;
	}

	#hbn-col-2.page main {
		width: calc(100% - max(200px, 30%));
	}

	/*END2カラム*/

	/*------------
	ページ内アンカー
	------------*/
	.anchorArea .btm {
		width: 48%;
	}

	/*------------
	 コンテンツエリア
	------------*/


	/*------------
	 テーブルのスタイル
	------------*/
	.js-scrollable {
		overflow: hidden;
	}

	.js-scrollable table {
		width: 1000px;
	}

	.scroll-hint-icon {
		top: 15% !important;
	}

}

/*==========================================
 sp［540px以下］
===========================================*/
@media screen and (max-width: 540px) {

	/*------------
	レイアウト
	------------*/
	/*------------
	h1見出しタイトルエリア
	------------*/
	.single-casestudy #ttlArea .inner,
	#ttlArea:is(.news, .form) .inner {
		padding: 100px 0 30px;
	}

	/*------------
	 breadcrumb
	------------*/
	#breadcrumb {
		overflow-x: scroll;
	}

	.breadcrumbList {
		width: 200%;
	}

	.breadcrumbList a {
		font-size: 1.2rem;
	}

	/*------------
	 コンテンツエリア
	------------*/

	/*テキスト・画像*/
	.img30 {
		padding: 0;
		width: 100%;
	}

	/*------------
	imgのスタイル
	------------*/
	.float_right {
		margin: 0 auto 1em;
		float: none;
	}

	/*------------
	ulのスタイル
	------------*/

	/*------------
	 テーブルのスタイル
	------------*/
	:is(th, td) {
		line-height: 1.6;
		padding: 1em;
	}

	/*th td 100%*/
	.sp-th100 :is(th, td) {
		display: block;
		width: 100%;
	}

	.sp-th100 :is(th, td) {
		border: none;
	}

	.wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table tr :is(th, td) {
		border-width: 1px;
		font-size: 1.6rem;
	}
}