/* ========================================
   AI HIPPO ON IDX HERO
======================================== */

#idx-hero-section,
#idx-hero-section * {
	box-sizing: border-box;
}


/* ========================================
   ENFOLD COLOR SECTION RESET
======================================== */

#top #idx-hero-section {
	width: 100%;
	margin: 0;
	padding: 0 !important;
	border: 0;
	background:
		url("/wp-content/uploads/idx-hero-back.webp")
		center center / cover no-repeat !important;
}

#top #idx-hero-section > .container {
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 30px;
}

#top #idx-hero-section .content {
	width: 100%;
	margin: 0;
	padding: 0 !important;
	border: 0;
}

#top #idx-hero-section .avia_codeblock_section,
#top #idx-hero-section .avia_codeblock {
	width: 100%;
	margin: 0;
	padding: 0;
}


/* ========================================
   HERO LAYOUT
======================================== */

.idx-hero {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	min-height: 620px;
	margin: 0;
	padding: 70px 0;
}

.idx-hero__content {
	position: relative;
	z-index: 2;
	width: 44%;
	max-width: 600px;
}


/* ========================================
   TYPOGRAPHY
======================================== */

#top .idx-hero__title {
	margin: 0;
	padding: 0;
	color: #111;
	line-height: 1.4;
	letter-spacing: 0.02em;
	text-align: left;
	text-transform: none;
	word-break: keep-all;
}

#top .idx-hero__text {
	margin: 45px 0 0;
	padding: 0;
	color: #111;
	font-size: clamp(18px, 1.25vw, 24px);
	font-weight: 400;
	line-height: 1.8;
	letter-spacing: 0.015em;
	word-break: keep-all;
}


/* ========================================
   BUTTONS
======================================== */

.idx-hero__buttons {
	display: flex;
	gap: 35px;
	margin-top: 55px;
}

#top .idx-hero__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	flex: 0 0 260px;
	min-height: 60px;
	margin: 0;
	padding: 12px 24px;
	border: 1px solid #61009e;
	background: #61009e;
	color: #fff;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	transition:
		color 0.25s ease,
		background-color 0.25s ease,
		border-color 0.25s ease,
		transform 0.25s ease;
}

#top .idx-hero__button--outline {
	border-color: rgba(97, 0, 158, 0.45);
	background: rgba(255, 255, 255, 0.72);
	color: #61009e;
	backdrop-filter: blur(3px);
}

#top .idx-hero__button:hover,
#top .idx-hero__button:focus-visible {
	border-color: #4c007c;
	background: #4c007c;
	color: #fff;
	text-decoration: none;
	transform: translateY(-2px);
}

#top .idx-hero__button--outline:hover,
#top .idx-hero__button--outline:focus-visible {
	border-color: #61009e;
	background: #61009e;
	color: #fff;
}


/* ========================================
   TABLET
======================================== */

@media only screen and (max-width: 1100px) {
	#top #idx-hero-section > .container {
		padding-right: 40px;
		padding-left: 40px;
	}

	.idx-hero {
		min-height: 560px;
		padding: 60px 0;
	}

	.idx-hero__content {
		width: 48%;
	}

	#top .idx-hero__text {
		margin-top: 32px;
	}

	.idx-hero__buttons {
		gap: 15px;
		margin-top: 42px;
	}

	#top .idx-hero__button {
		flex-basis: 210px;
		min-height: 56px;
		padding-right: 14px;
		padding-left: 14px;
		font-size: 16px;
	}
}


/* ========================================
   MOBILE
======================================== */

@media only screen and (max-width: 767px) {
	#top #idx-hero-section {
		background-image:
			url("/wp-content/uploads/idx-hero-back-mobile.webp") !important;
		background-position: center bottom !important;
		background-size: cover !important;
	}

	#top #idx-hero-section > .container {
		width: 100%;
		max-width: none;
		padding: 0 24px;
	}

	.idx-hero {
		display: block;
		min-height: 760px;
		padding: 65px 0 40px;
	}

	.idx-hero__content {
		width: 100%;
		max-width: none;
	}

	#top .idx-hero__title {
		font-size: clamp(36px, 9vw, 42px);
		line-height: 1.45;
	}

	#top .idx-hero__text {
		margin-top: 26px;
		font-size: 16px;
		line-height: 1.75;
	}

	.idx-hero__text .pc-only {
		display: none;
	}

	.idx-hero__buttons {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
		margin-top: 32px;
	}

	#top .idx-hero__button {
		width: 100%;
		min-width: 0;
		min-height: 54px;
		padding: 10px 8px;
		font-size: 14px;
	}
}


/* ========================================
   SMALL MOBILE
======================================== */

@media only screen and (max-width: 479px) {
	#top #idx-hero-section > .container {
		padding-right: 20px;
		padding-left: 20px;
	}

	.idx-hero {
		min-height: 720px;
		padding-top: 50px;
	}

	.idx-hero__buttons {
		grid-template-columns: 1fr;
	}

	#top .idx-hero__button {
		min-height: 54px;
		font-size: 15px;
	}
}





/* ========================================
   IDX COMMON FOUNDATION CARD
======================================== */

.idx-case2 {
	display: flex;
	align-items: center;
	gap: 10px;

	box-sizing: border-box;
	min-height: 138px;
	padding: 8px;

	border: 1px solid #046da1 !important;
	border-radius: 18px;
}


/* 이미지 */

.idx-case__media2 {
	flex: 0 0 120px;

	width: 120px;
	height: 120px;
	margin: 0;
	padding: 0;

	line-height: 0;
}

.idx-case__media2 img {
	display: block;

	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;

	border-radius: 12px;
	object-fit: cover;
}


/* 텍스트 */

.idx-case__text2 {
	align-self: stretch;

	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: space-between;

	min-width: 0;
	padding: 4px 0;

	font-size: 13px;
	line-height: 1.6;
}

#top .idx-case__text2 h6 {
	margin: 0 !important;

	font-size: 17px;
	line-height: 1.35;
}

.idx-case__desc2 {
	margin: 0;
}


/* ========================================
   SMALL DESKTOP
   990px ~ 1150px
======================================== */

@media only screen and (min-width: 990px) and (max-width: 1150px) {
	.idx-case2 {
		gap: 6px;
		min-height: 104px;
		padding: 6px;
		border-radius: 14px;
	}

	.idx-case__media2 {
		flex-basis: 90px;

		width: 90px;
		height: 90px;
	}

	.idx-case__media2 img {
		border-radius: 9px;
	}

	.idx-case__text2 {
		padding: 2px 0;

		font-size: 11px;
		line-height: 1.5;
	}

	#top .idx-case__text2 h6 {
		margin: 0 !important;

		font-size: 14px !important;
		line-height: 1.3 !important;
	}
}


/* ========================================
   TABLET
   989px 이하
======================================== */

@media only screen and (max-width: 989px) {
	.idx-case2 {
		gap: 16px;
		min-height: 0;
		padding: 12px;

		border-radius: 16px;
	}

	.idx-case__media2 {
		flex: 0 0 110px;

		width: 110px;
		height: 110px;
	}

	.idx-case__text2 {
		align-self: auto;
		justify-content: center;
		gap: 12px;

		padding: 0;

		font-size: 13px;
		line-height: 1.55;
	}

	#top .idx-case__text2 h6 {
		margin: 0 !important;

		font-size: 18px !important;
		line-height: 1.35 !important;
	}

	.idx-case__text2 .pc-only {
		display: none;
	}
}


/* ========================================
   MOBILE
   767px 이하
======================================== */

@media only screen and (max-width: 767px) {
	.idx-case2 {
		gap: 12px;
		padding: 10px;

		border-radius: 14px;
	}

	.idx-case__media2 {
		flex: 0 0 88px;

		width: 88px;
		height: 88px;
	}

	.idx-case__media2 img {
		border-radius: 10px;
	}

	.idx-case__text2 {
		gap: 7px;

		font-size: 12px;
		line-height: 1.5;
	}

	#top .idx-case__text2 h6 {
		font-size: 16px !important;
		line-height: 1.3 !important;
	}
}


/* ========================================
   SMALL MOBILE
   479px 이하
======================================== */

@media only screen and (max-width: 479px) {
	.idx-case2 {
		gap: 10px;
		padding: 8px;
	}

	.idx-case__media2 {
		flex-basis: 78px;

		width: 78px;
		height: 78px;
	}

	.idx-case__text2 {
		gap: 5px;

		font-size: 11px;
	}

	#top .idx-case__text2 h6 {
		font-size: 15px !important;
	}
}


/* ==================================
   IDX VALUE SECTION
================================== */


/*  CARD GRID */
.idx-value-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	grid-auto-rows: 1fr;
	gap: 20px;
}


/* CARD */
.idx-value-card {
	display: grid;
	grid-template-rows: minmax(0, 1fr) 135px;
	
	width: 100%;
	height: 280px;
	min-height: 0;
	margin: 0;
	padding: 20px 18px;
	overflow: hidden;
	border: 1px solid #112e98 !important;
	border-radius: 30px;
}


/* TITLE + DESCRIPTION */

.idx-value-card__body {
	display: grid;
	grid-template-rows: 48px minmax(0, 1fr);

	width: 100%;
	min-width: 0;
}

#top .idx-value-card__title {
	align-self: start;
	margin: 0 ;
	padding: 0 ;
	color: #112e98;
	font-size: 20px !important;
	line-height: 1.35 ;
	text-align: center;
}

#top .idx-value-card__description {
	align-self: start;

	margin: 0;
	padding: 0;
	
	color: #1e2737;
}


/* ICON */

.idx-value-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin: 0;
	padding: 0;
	line-height: 0;
}


/* 모든 아이콘 이미지 높이 통일 */

.idx-value-card__image {
	display: block;
	width: auto;
	height: 90px ;
	margin: 0;
	padding: 0 ;
	object-fit: contain;
	object-position: center;
}


/* TABLET */

@media only screen and (max-width: 1199px) {
	.idx-value-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.idx-value-card {
		height: 270px;
	}
}


@media only screen and (max-width: 989px) {
	.idx-value-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}

}


/* MOBILE */

@media only screen and (max-width: 767px) {
	#top .idx-value-section__title {
		margin-bottom: 28px !important;

		font-size: 27px !important;
	}

	.idx-value-grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.idx-value-card {
		grid-template-columns: 90px minmax(0, 1fr);
		grid-template-rows: auto;
		align-items: center;
		gap: 16px;

		height: auto;
		min-height: 122px;
		padding: 15px;

		border-radius: 17px;
	}

	.idx-value-card__body {
		grid-column: 2;
		grid-row: 1;

		display: block;
	}

	.idx-value-card__icon {
		grid-column: 1;
		grid-row: 1;

		width: 90px;
		height: 90px;
		margin: 0;
	}

	.idx-value-card__image {
		width: auto !important;
		height: 78px !important;
		max-width: 90px !important;
		max-height: 78px !important;
	}

	#top .idx-value-card__title {
		margin-bottom: 8px !important;

		font-size: 18px !important;
		line-height: 1.35 !important;
		text-align: left;
	}

	#top .idx-value-card__description {
		font-size: 13px;
		line-height: 1.55;
	}
}


/* ========================================
   SMALL MOBILE
======================================== */

@media only screen and (max-width: 420px) {
	.idx-value-card {
		grid-template-columns: 76px minmax(0, 1fr);
		gap: 12px;

		min-height: 108px;
		padding: 13px;
	}

	.idx-value-card__icon {
		width: 76px;
		height: 76px;
	}

	.idx-value-card__image {
		height: 68px !important;
		max-width: 76px !important;
		max-height: 68px !important;
	}

	#top .idx-value-card__title {
		font-size: 16px !important;
	}

	#top .idx-value-card__description {
		font-size: 12px;
	}
}


/* ========================================
   IDX ROLE CARDS
======================================== */

/* 위 3개, 아래 2개를 위한 6칸 Grid */

.idx-role-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 30px;
}


/* 기본 카드: 6칸 중 2칸 */

.idx-role-card {
	grid-column: span 2;

	display: flex;
	flex-direction: column;

	min-width: 0;
	min-height: 320px;
	margin: 0;
	padding: 30px 42px;

	border: 1px solid #61009e !important;
	border-radius: 30px;
	background: #fff;
}


/* 아래쪽 넓은 카드: 6칸 중 3칸 */

.idx-role-card--wide {
	grid-column: span 3;
	min-height: 250px;
	padding-right: 45px;
	padding-left: 45px;
}


/* 카드 상단 */

.idx-role-card__header {
	text-align: center;
}

#top .idx-role-card__title {
	margin: 0 0 10px;
	padding: 0 ;
	color: #61009e;
	font-size: 24px !important;
}

#top .idx-role-card__target {
	margin: 0 ;
	padding: 0 ;

	color: #61009e;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.5;
}


/* 카드 하단 내용 */

.idx-role-card__content {
	margin-top: 32px;
}

#top .idx-role-card__label {
	margin: 0 0 12px;
	padding: 0;

	color: #61009e;

	font-size: 17px !important;
	line-height: 1.5;
}

#top .idx-role-card__list {
	margin: 0;
	padding: 0 0 0 1.25em;

	color: #333;

	font-size: 15px;
	line-height: 1.65;
}

#top .idx-role-card__list li {
	margin: 0 ;
	padding: 0 ;
	font-family: "Meiryo", "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "Yu Gothic", sans-serif!important;
}


/* 아래쪽 넓은 카드의 목록만 2열 */

.idx-role-card--wide .idx-role-card__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 50px;
}


/* TABLET */

@media only screen and (max-width: 1199px) {
	.idx-role-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 22px;
	}

	.idx-role-card,
	.idx-role-card--wide {
		grid-column: auto;

		min-height: 280px;
		padding: 28px 32px;
	}

	/* 다섯 번째 카드는 마지막 줄 전체 사용 */

	.idx-role-card:last-child {
		grid-column: 1 / -1;
	}

	#top .idx-role-card__title {
		font-size: 22px !important;
	}

	#top .idx-role-card__target {
		font-size: 17px;
	}
}


/* MOBILE */

@media only screen and (max-width: 767px) {
	.idx-role-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.idx-role-card,
	.idx-role-card--wide,
	.idx-role-card:last-child {
		grid-column: auto;

		min-height: 0;
		padding: 24px 22px;

		border-radius: 22px;
	}

	#top .idx-role-card__title {
		margin-bottom: 6px !important;

		font-size: 20px !important;
	}

	#top .idx-role-card__target {
		font-size: 15px;
	}

	.idx-role-card__content {
		margin-top: 24px;
	}
	
	.idx-role-card__content {
		width: fit-content;
		max-width: 100%;
		margin: 24px auto 0;
	}

	#top .idx-role-card__label {
		margin-bottom: 9px;
		font-size: 16px !important;
		text-align: left;
	}

	#top .idx-role-card__list {
		font-size: 13px;
		line-height: 1.65;
		
	}

	/* 모바일에서는 모든 목록을 한 줄로 */

	.idx-role-card--wide .idx-role-card__list {
		display: block;
	}
}



/* ========================================
   IDX CHALLENGE SECTION
======================================== */




/* CARD GRID */

.idx-challenge-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}


/* CARD */

.idx-challenge-card {
	display: grid;
	grid-template-rows: 100px 45px minmax(0, 1fr);

	height: 300px;
	min-width: 0;
	margin: 0;
	padding: 18px 28px 22px;

	border: 1px solid #61009e !important;
	border-radius: 28px;
	background: #fff;
}


/* ICON */

.idx-challenge-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 100%;
	height: 100px;

	line-height: 0;
}

.idx-challenge-card__icon img {
	display: block;

	width: auto !important;
	height: 90px !important;
	max-width: 120px !important;
	max-height: 90px !important;
	margin: 0 !important;

	object-fit: contain;
	object-position: center;
}


/* TITLE */

#top .idx-challenge-card__title {
	align-self: center;

	margin: 0;
	padding: 0;

	color: #61009e;

	font-size: 19px !important;
	line-height: 1.35;
	text-align: center;
}


/* LIST */

#top .idx-challenge-card__list {
	align-self: start;

	margin: 0;
	padding: 0 0 0 1.25em;

	color: #162944;

	font-family:
		"Meiryo",
		"Hiragino Kaku Gothic ProN",
		"Hiragino Kaku Gothic Pro",
		"Yu Gothic",
		sans-serif;

	font-size: 14px;
	font-weight: 600;
	line-height: 1.6;
}

#top .idx-challenge-card__list li {
	margin: 0;
	padding: 0;
}


/* ========================================
   TABLET
======================================== */

@media only screen and (max-width: 1199px) {
	.idx-challenge-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
	}

	.idx-challenge-card {
		height: 285px;
	}
}


/* ========================================
   MOBILE
======================================== */

@media only screen and (max-width: 767px) {
	#top .idx-challenge-section__title {
		margin-bottom: 28px;

		font-size: 25px !important;
	}

	.idx-challenge-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.idx-challenge-card {
		grid-template-columns: 82px minmax(0, 1fr);
		grid-template-rows: auto auto;
		column-gap: 18px;

		height: auto;
		min-height: 160px;
		padding: 20px;

		border-radius: 22px;
	}

	.idx-challenge-card__icon {
		grid-column: 1;
		grid-row: 1 / 3;

		width: 82px;
		height: 100%;
	}

	.idx-challenge-card__icon img {
		height: 72px !important;
		max-width: 82px !important;
		max-height: 72px !important;
	}

	#top .idx-challenge-card__title {
		grid-column: 2;
		grid-row: 1;

		align-self: end;

		margin: 0 0 10px;

		font-size: 17px !important;
		text-align: left;
	}

	#top .idx-challenge-card__list {
		grid-column: 2;
		grid-row: 2;

		font-size: 12px;
		line-height: 1.6;
	}
}


/* ========================================
   IDX LEARNING LOOP SECTION
======================================== */

/* Enfold 컬러섹션 설정 */

#idx-learning-section {
	padding: 0;

	background-image:
		url("/wp-content/uploads/idx-middle-section.webp") ;
	background-repeat: no-repeat;
	background-position: center center !important;
	background-size: cover;
}

#idx-learning-section .content {
	padding-top: 40px;
	padding-bottom: 45px;
}


/* SECTION HEADER */

.idx-learning__header {
	margin-bottom: 55px;
	text-align: center;
}

#top .idx-learning__title {
	margin: 0 0 18px;
	padding: 0;

	color: #61009e;

	font-size: 32px !important;
	line-height: 1.4;
	text-align: center;
}

#top .idx-learning__lead {
	max-width: 910px;
	margin: 0 auto;
	padding: 0;

	color: #1e2737;

	font-size: 16px;
	line-height: 1.7;
	text-align: left;
}


/* ========================================
   LOOP GRID
======================================== */

.idx-learning__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	justify-items: center;
	gap: 65px 80px;
}


/* ========================================
   LOOP CIRCLE
======================================== */

.idx-learning-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;

	width: 270px;
	height: 270px;
	margin: 0;
	padding: 18px 34px 22px;

	border: 1px solid #61009e;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.80);
}


/* STEP NUMBER */

.idx-learning-card__step {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 30px;
	height: 30px;
	flex: 0 0 30px;

	border-radius: 50%;
	background: #61009e;
	color: #fff;

	font-size: 18px;
	font-weight: 600;
	line-height: 1;
}


/* ENGLISH LABEL */

#top .idx-learning-card__english {
	margin: 8px 0;
	padding: 0;

	color: #61009e;

	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
}


/* CARD TITLE */

#top .idx-learning-card__title {
	margin: 0 0 10px;
	padding: 0;

	color: #61009e;

	font-size: 20px !important;
	line-height: 1.4;
	text-align: center;
}


/* DESCRIPTION */

#top .idx-learning-card__description {
	width: 100%;
	margin: 0;
	padding: 0;

	color: #333;

	font-size: 15px;
	line-height: 1.6;
	text-align: left;
}


/* RETURN TEXT */

#top .idx-learning-card__return {
	width: 100%;
	margin: 3px 0 0;
	padding: 0;

	color: #61009e;

	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
}


/* ========================================
   TABLET
======================================== */

@media only screen and (max-width: 1199px) {
	#idx-learning-section .content {
		padding-top: 50px;
		padding-bottom: 60px;
	}

	.idx-learning__header {
		margin-bottom: 45px;
	}

	.idx-learning__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 40px 25px;
	}

	.idx-learning-card {
		width: 250px;
		height: 250px;
		padding: 16px 30px 20px;
	}

	#top .idx-learning-card__title {
		font-size: 21px !important;
	}

	#top .idx-learning-card__description {
		font-size: 14px;
	}
}


/* ========================================
   MOBILE
======================================== */

@media only screen and (max-width: 767px) {
	#idx-learning-section {
		background-position: center top !important;
	}

	#idx-learning-section .content {
		padding-top: 42px;
		padding-bottom: 50px;
	}

	.idx-learning__header {
		margin-bottom: 42px;
	}

	#top .idx-learning__title {
		margin-bottom: 18px;

		font-size: 27px !important;
	}

	#top .idx-learning__lead {
		font-size: 13px;
		line-height: 1.7;
	}

	.idx-learning__lead br {
		display: none;
	}

	.idx-learning__grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.idx-learning-card {
		width: 245px;
		height: 245px;
		padding: 15px 28px 18px;
	}

	.idx-learning-card__step {
		width: 32px;
		height: 32px;
		flex-basis: 32px;

		font-size: 20px;
	}

	#top .idx-learning-card__english {
		margin-bottom: 10px;

		font-size: 15px;
	}

	#top .idx-learning-card__title {
		margin-bottom: 13px;

		font-size: 20px !important;
	}

	#top .idx-learning-card__description {
		font-size: 13px;
		line-height: 1.6;
	}
}


/* ========================================
   SMALL MOBILE
======================================== */

@media only screen and (max-width: 360px) {
	.idx-learning-card {
		width: 260px;
		height: 260px;
		padding: 16px 32px 20px;
	}

	#top .idx-learning-card__title {
		font-size: 18px !important;
	}

	#top .idx-learning-card__description {
		font-size: 12px;
	}
}