/**
 * TOP — ADVANTAGE セクション（見出し・3カード・装飾モチーフ）
 */

body.ideage-is-front-page .top-advantage-section-wrap {
	position: relative;
	z-index: 0;
	margin-top: 80px;
}

body.ideage-is-front-page .top-advantage-section {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px 40px;
	box-sizing: border-box;
}

/* div1: 100vw（ビューポート基準）+ overflow hidden / div2: 3000px を中央配置して左右トリミング */
body.ideage-is-front-page .top-advantage-section__motif {
	position: absolute;
	top: -600px;
	left: calc(50% - 50vw);
	width: 100vw;
	height: 786px;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: center;
	overflow: hidden;
	pointer-events: none;
	z-index: 0;
}

body.ideage-is-front-page .top-advantage-section__motif-stage {
	position: relative;
	flex: 0 0 3000px;
	width: 3000px;
	height: 786px;
}

body.ideage-is-front-page .top-advantage-section__motif-image {
	position: absolute;
	top: 0;
	left: 54%;
	width: 786px;
	height: 786px;
	margin-left: 294px;
	overflow: hidden;
}

body.ideage-is-front-page .top-advantage-section__motif-image img {
	display: block;
	width: 786px;
	height: 786px;
	max-width: none;
	object-fit: contain;
	object-position: left top;
}

body.ideage-is-front-page .top-advantage-section .top-advantage::before,
body.ideage-is-front-page .wp-block-uagb-advanced-heading.top-advantage::before {
	display: none !important;
	content: none !important;
}

body.ideage-is-front-page .top-advantage-section > .wp-block-uagb-advanced-heading.top-advantage,
body.ideage-is-front-page .top-advantage-section > .wp-block-uagb-advanced-heading.top-heading-separator,
body.ideage-is-front-page .top-advantage-section > .wp-block-uagb-advanced-heading.uagb-block-6e20762a,
body.ideage-is-front-page .top-advantage-section > .wp-block-uagb-container.uagb-block-0cd30a6f,
body.ideage-is-front-page .top-advantage-section > .wp-block-uagb-buttons.uagb-block-c3e0accb {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 100%;
}

body.ideage-is-front-page .top-advantage-section .top-advantage {
	overflow: visible;
}

body.ideage-is-front-page .top-advantage-section .top-advantage::before {
	display: none !important;
	content: none !important;
}

body.ideage-is-front-page .top-advantage-section .top-advantage .uagb-heading-text {
	font-family: 'Roboto Condensed', roboto condensed, sans-serif;
	font-size: 36px;
	font-weight: 700;
	line-height: 1.15;
	text-align: center;
	color: #111;
}

body.ideage-is-front-page .top-advantage-section .top-heading-separator .uagb-heading-text {
	font-family: 'Noto Sans JP', noto sans jp, sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
	text-align: center;
	color: #111;
}

body.ideage-is-front-page .top-advantage-section .uagb-block-6e20762a {
	max-width: 960px;
	margin-left: auto;
	margin-right: auto;
}

body.ideage-is-front-page .top-advantage-section .uagb-block-6e20762a .uagb-heading-text {
	font-family: 'Noto Sans JP', noto sans jp, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 2;
	color: #111;
}

body.ideage-is-front-page .top-advantage-section .uagb-block-0cd30a6f {
	max-width: 1200px;
	margin-left: auto !important;
	margin-right: auto !important;
	overflow: visible;
}

body.ideage-is-front-page .top-advantage-section .uagb-block-0cd30a6f > .uagb-container-inner-blocks-wrap {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	width: 100% !important;
	max-width: 100%;
	align-items: stretch;
	justify-content: center;
	flex-direction: unset !important;
	flex-wrap: unset !important;
}

body.ideage-is-front-page .top-advantage-section .uagb-block-0cd30a6f :is(.uagb-block-069ee28e, .uagb-block-6763bcb4, .uagb-block-89506eee) {
	display: flex !important;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	width: 100% !important;
	max-width: 100% !important;
	flex: unset !important;
	padding: 30px 40px !important;
	border-radius: 42px !important;
	background: #ecfaff !important;
	box-sizing: border-box;
	text-align: center;
}

body.ideage-is-front-page .top-advantage-section .uagb-block-0cd30a6f .wp-block-uagb-image {
	margin-left: auto;
	margin-right: auto;
}

body.ideage-is-front-page .top-advantage-section .uagb-block-0cd30a6f :is(h2, h3, h5, .uagb-heading-text) {
	color: #1e73be !important;
	text-align: center;
}

body.ideage-is-front-page .top-advantage-section .uagb-block-0cd30a6f :is(.uagb-block-069ee28e, .uagb-block-6763bcb4, .uagb-block-89506eee) > .wp-block-uagb-advanced-heading:first-of-type :is(h2, h3, h5, .uagb-heading-text) {
	margin: 0;
	font-family: 'Noto Sans JP', noto sans jp, sans-serif;
	font-size: 24px !important;
	font-weight: 700;
	line-height: 1.5;
}

body.ideage-is-front-page .top-advantage-section .uagb-block-0cd30a6f :is(.uagb-block-069ee28e, .uagb-block-6763bcb4, .uagb-block-89506eee) > .wp-block-uagb-advanced-heading + .wp-block-uagb-advanced-heading :is(p, .uagb-heading-text) {
	margin: 16px 0 0;
	font-family: 'Noto Sans JP', noto sans jp, sans-serif;
	font-size: 16px !important;
	font-weight: 400;
	line-height: 1.7;
	color: #1e73be !important;
}

body.ideage-is-front-page .top-advantage-section .uagb-block-c3e0accb {
	margin-top: 40px;
}

body.ideage-is-front-page .top-advantage-section .uagb-block-c3e0accb .uagb-buttons__wrap {
	justify-content: center;
}

@media screen and (max-width: 1024px) {
	body.ideage-is-front-page .top-advantage-section .uagb-block-0cd30a6f > .uagb-container-inner-blocks-wrap {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media screen and (max-width: 820px) {
	body.ideage-is-front-page .top-advantage-section__motif {
		display: none;
	}

	body.ideage-is-front-page .top-advantage-section-wrap {
		margin-top: 48px;
	}

	body.ideage-is-front-page .top-advantage-section {
		padding-bottom: 24px;
	}
}

@media screen and (max-width: 640px) {
	body.ideage-is-front-page .top-advantage-section .uagb-block-0cd30a6f > .uagb-container-inner-blocks-wrap {
		grid-template-columns: minmax(0, 1fr);
		justify-items: center;
	}

	body.ideage-is-front-page .top-advantage-section .uagb-block-0cd30a6f :is(.uagb-block-069ee28e, .uagb-block-6763bcb4, .uagb-block-89506eee) {
		max-width: 360px;
	}
}
