/** lightningデザイン打ち消し**/
.subSection-title:after, h3:after {
	content: unset!important;
}

.mainSection-title, h2 {
	border-bottom: unset!important;
	border-top: unset!important;
}

/** lightningデザイン打ち消し --end **/

h1,h2,h3 {
	color: var(--vk-color-primary-dark, #0058a2);
}

.page-header {
	background-color: var(--vk-color-custom-3)!important;
}

.page-header h1 {
	color: var(--vk-color-custom-4);
}

.global-nav-list>li:before {
	border-bottom-color: var(--vk-color-custom-5)!important;
}

h3.slide-text-title {
	font-size: 50px;
	text-align: center !important;
	background-color: rgba(255, 255, 255, 0.7);
	padding: 20px 50px;
	display: inline-block;
	left: 50%;
	transform: translate(-50%, 0);
}

.v-inner-lg-2 {
	padding: 0;
}
.carousel-item img {
    height: 100vh !important;
    object-fit: cover;
}

.parallax {
	background-attachment: fixed!important;
    background-position: center!important;
    background-size: cover!important;
}

p {
	line-height: 2em !important;
	font-size: 1.1em!important;
}

div#post-376 {
	padding-top: 0 !important;
}

.business-detail-wrap.full {
	align-items: flex-start;
	padding: 0 10%;
	background: linear-gradient(180deg, #fff 0%, #f9f9f9 40%, #f7f7f7 100%);
}

h3.wp-block-heading {
	margin: 0;
	padding: 20px;
	font-size: 1.5rem !important;
}

.no-gap {
	gap: 0;
}

.business-list .wp-block-snow-monkey-blocks-box:hover::before {
	border-color: var(--vk-color-primary, #004B8C) transparent transparent;
	border-style: solid;
	border-width: 30px 30px 0 0;
	content: "";
	position: absolute;
	height: 0;
	left: 0;
	top: 0;
	width: 0;
}
.business-list .wp-block-snow-monkey-blocks-box:hover {
	box-shadow: 0 5px 30px #00000012;
	opacity: 1;
	border: #ffffff;
	z-index: 100;
}

.wp-block-snow-monkey-blocks-box {
	padding-left: 0;
	padding-right: 0;
}

.full {
	width: 100vw !important;
	margin: 0 calc(50% - 50vw) !important;
	min-height: 100vh;
	height: 100%;
	display: flex;
	align-items: center;
	position: relative;
	overflow: hidden;
}

.full-width {
	width: 100vw !important;
	margin: 0 calc(50% - 50vw) !important;
}

.full > div {
	margin: 0 auto;
}

.catchphrase {
	letter-spacing: 0.5rem;
	opacity: 0; /* 最初は透明 */
	line-height: 1.5em;
	font-size: 5rem;
	color: #ffff;
}

.catchphrase::after {
	content: "";
	display: inline-block;
	width: 5px;
	height: 1.5em;
	background: black;
	animation: blink 0.7s step-end infinite;
	vertical-align: bottom;
}

@keyframes blink {
	0%, 100% { opacity: 0; }
	50% { opacity: 1; }
}

figure.wp-block-video.background-video {
	position: absolute;
	z-index: -1;
	width: 100vw;
    min-height: 100vh;
    height: 100%;
	margin: 0;
}

.background-video video {
	-o-object-fit: cover;
	object-fit: cover;
	height: 100%!important;
	width: 100%;
}

.float {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.float.in-view {
	opacity: 1;
	transform: translateY(0);
}

.business-list p.has-icon::before {
	font-family: "Font Awesome 6 Free";
	 font-weight: 400;
	content: "\f007";
	margin-right: 0.5em;
	font-size: 1.3em;
	color: var(--vk-color-primary, #004B8C);
}

.business-list p.has-icon.fudosan::before {
	content: "\f1ad";
}

.business-list p.has-icon.tochi::before {
	content: "\f14e";
}

.business-list p.has-icon.unyo::before {
	font-weight: 900;
	content: "\f51e";
}

.business-list p.has-icon.saisei::before {
	font-weight: 900;
	content: "\f021";
}

.business-list p.has-icon.jigyo-shokei::before {
	font-weight: 900;
	content: "\f500";
}

.business-list p.has-icon.m-and-a::before {
	content: "\f2b5";
}

.business-list p.has-icon.it-digital::before {
	font-weight: 900;
	content: "\f2db";
}

.business-list p.has-icon.kigyo::before {
	font-weight: 900;
	content: "\f135";
}

.business-list p.has-icon.shisan-shokei::before {
	font-weight: 900;
	content: "\f4c0";
}

.business-detail-wrap {
	min-height: 100vh;
}

figure.fancy-frame {
	position: relative;
	display: inline-block;
	padding: 12px;
	background: #eee; /* 背景色 */
	box-sizing: border-box;
}

/* 四隅の角線を ::before / ::after で追加 */
figure.fancy-frame::before,
figure.fancy-frame::after {
	content: "";
	position: absolute;
	width: 20px;
	height: 20px;
	border: 2px solid #000;
	z-index: 2;
	pointer-events: none;
}

/* 左上 + 右下 */
figure.fancy-frame::before {
	top: 0;
	left: 0;
	border-right: none;
	border-bottom: none;
}

/* 右下 + 左上 */
figure.fancy-frame::after {
	bottom: 0;
	right: 0;
	border-left: none;
	border-top: none;
}

/* 画像自体のスタイル調整（パディング不要） */
figure.fancy-frame img {
	display: block;
	max-width: 100%;
	height: auto;
}

/**
.text-bg-left::after {
	content: "";
	height: 40vh;
	width: 70vw;
	top: 150px;
	margin: 0 -50%;
	position: absolute;
	background: #D2F4FF;
	z-index: -1;
	}
	
	.text-bg-right::after {
	content: "";
	height: 40vh;
	width: 70vw;
	top: 150px;
	margin: 0 5%;
	position: absolute;
	background: #FFE0C1;
	z-index: -1;
	}
	**/

.after-line {
	display: inline-flex; 
	align-items: center;
}

.after-line::after {
	content: "";
	height: 1px;
	background: #CFCEC3;
	width: 300px;
	margin-left: 5px;
	flex: 1;
}

.wp-block-table.company-info td {
	border: none;
	border-top: solid 0.5px #d4d4d4;
	border-bottom: solid 0.5px #d4d4d4;
	padding: 20px 0 !important;
}

.wp-block-table.company-info tr td:first-child {
	color: var(--vk-color-primary-dark, #0058a2);
	font-size: 1.2em;
}

.siteContent {
	padding-bottom: 0 !important;
}

.contact-wrap .wp-block-kubio-column {
    margin-bottom: 0;
}

.wp-block-kubio-column.contact-wrap {
    background: url(https://gesconsal.jp/wp-content/uploads/2025/05/2-1559914777077-3.png) no-repeat;
    background-size: cover;
    background-position: center;
}

.wp-block-kubio-column.contact-inner {
    text-align: center;
}

.wp-block-kubio-column.contact-wrap {
    background: url(https://gesconsal.jp/wp-content/uploads/2025/06/9acaf0ed-2e66-41e3-964d-68547bb85325.jpg.png) no-repeat;
    background-size: cover;
    background-position: center;
}

.wp-block-snow-monkey-blocks-box.contact {
    display: inline-block;
    padding: 20px 100px;
    margin: 50px 20px;
	background-color: rgba(255, 255, 255, 0.7);
}

.wp-block-snow-monkey-blocks-box.contact h2 {
	margin-bottom: 0;
}

.site-body{
	padding-bottom: 0!important;
}

.site-body:after {
	content: "";
	display: inline-block;
	background-image: url(https://gesconsal.jp/wp-content/uploads/2025/06/IouIicz9SVUNASm1748854682.png);
	background-size: contain;
	height: 100px;
	width: 100%;
}

.copySection p:not(:first-child) {
	display: none;
}

.siteFooter aside.widget_block {
	margin-bottom: 0;
}

.footerWidget h2 {
	padding: 0;
	margin: 0;
}

.back-number.one:after {
	content: '01';
}

.back-number.two:after {
	content: '02';
}

.back-number.three:after {
	content: '03';
}

.back-number.four:after {
	content: '04';
}

.back-number.five:after {
	content: '05';
}

.back-number.six:after {
	content: '06';
}

.back-number.seven:after {
	content: '07';
}

.back-number.eight:after {
	content: '08';
}

.back-number.nine:after {
	content: '09';
}

.back-number:after {
    position: absolute;
    font-size: 10rem;
    font-weight: 800;
    bottom: 0;
    right: 0;
    opacity: 0.2;
    font-family: "Old Standard TT", serif;
    font-style: italic;
}

.back-number.sp-reverce:after {
	left: 0;
}

/**sp**/
@media (max-width: 780px) {
	.carousel-inner {
		height: 100vh;
	}
	
	.carousel-item {
		height: 100vh;
	}
	
	.slide a>img, .slide a>picture>img, 
	.slide img, .slide picture>img {
		height: 100vh !important;
	}
	
	h3.slide-text-title {
		padding-left: 10px;
		padding-right: 10px;
		font-size: 40px;
	}
	
	.catchphrase {
		font-size: 3rem;
	}
	
	/**
	.sp-reverce {
		flex-flow: column-reverse;
		justify-content: flex-end;
	}
	**/
	
	.sp-reverce .wp-block-kubio-row__inner {
		flex-flow: column-reverse;
	}
	
	.business-list p.has-icon::before {
		display: block;
		margin-right: 0;
	}
	
	.wp-block-snow-monkey-blocks-box.contact {
		padding: 20px 10px;
	}
	
	.wp-block-table.company-info {
		margin-left: 0;
		margin-right: 0;
	}
	
	.wp-block-table.company-info tr td:first-child::before {
		content: "";
		background-color: var(--vk-color-primary-dark, #0058a2);
		border-radius: 2px;
		width: 12px;
		display: inline-block;
		height: 12px;
		margin-right: 5px;
	}
	
	.wp-block-table.company-info tr td:first-child {
		border-bottom: none;
	}
	
	.wp-block-table.company-info tr td:not(:first-child) {
		border-top: none;
	}
	
	.wp-block-table.company-info tr td:not(:last-child) {
		border-bottom: none;
	}
	
	.wp-block-table.company-info  th,
	.wp-block-table.company-info  td{
		width:100%;
		display:block;
		padding: 10px 0 !important;
	}
}
