/**
 * ABOUT IDEAGE — philosophy カード（グラデーション枠）
 */

.post_content .philosophy .item,
.editor-styles-wrapper .philosophy .item {
	position: relative;
	z-index: 0;
	align-self: stretch !important;
	padding: 55px 10px;
	border: none !important;
	border-radius: 42px;
	background: #fff !important;
	box-sizing: border-box;
	overflow: visible;
}

.post_content .philosophy .item::before,
.editor-styles-wrapper .philosophy .item::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 42px;
	padding: 5px;
	background: linear-gradient(
		55deg,
		#1c42b4 14.39%,
		#1e73be 32.61%,
		#2078c1 33.44%,
		#359fdc 43.38%,
		#43bbef 52.49%,
		#4cccfa 59.95%,
		#50d2ff 65.75%,
		#b5f1ff 86.46%
	);
	-webkit-mask:
		linear-gradient(#fff 0 0) content-box,
		linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
}

.post_content .philosophy .item .uagb-container-inner-blocks-wrap,
.editor-styles-wrapper .philosophy .item .uagb-container-inner-blocks-wrap {
	position: relative;
	z-index: 1;
	color: #1e73be;
}

.post_content .philosophy .item :is(p, h1, h2, h3, h4, h5, h6, .gb-text, li, a),
.editor-styles-wrapper .philosophy .item :is(p, h1, h2, h3, h4, h5, h6, .gb-text, li, a) {
	color: #1e73be !important;
}

.post_content .philosophy .item p,
.editor-styles-wrapper .philosophy .item p {
	line-height: 2;
}
@media screen and (max-width: 768px) {
	.post_content .philosophy .item, .editor-styles-wrapper .philosophy .item {
		padding: 30px 10px !important;
		row-gap: 10px !important;
	}
	.post_content .philosophy .item p,
	.editor-styles-wrapper .philosophy .item p {
		line-height: 1.5;
	}

}