@charset "utf-8";
/*
 * 새 사이트에서 손댄 부분만 모은다.
 * 옛 테마 파일(layout.css·page.css 등)은 되도록 그대로 두고, 바뀐 점은 여기에 적는다.
 */

/*
 * 상단 띠.
 * 옛 사이트는 이 띠 안에 로그인·회원가입 링크가 있어 높이가 35px 였다.
 * 1차에서는 링크를 비워 두었으므로 높이만 그대로 잡아 둔다.
 * 2차에서 카카오·네이버 간편로그인을 이 자리에 넣는다.
 */
.header_top {
	min-height: 35px;
}

/*
 * 문의하기 아래에 오시는 길 블록 되살리기.
 * 옛 사이트는 이 자리에 문의 게시판이 있어서 공통 블록(.bottom_common)을
 * page.css 에서 display:none 으로 숨겼다. 게시판을 걷어냈으므로 다시 보이게 한다.
 * (2026-09-21 원장님 결정)
 */
.contact .bottom_common {
	display: block;
}

/*
 * 메인 상단 히어로 (2026-09-21 원장님 결정, 2026-11-24 동영상으로 바꿈).
 * 원장님 사진 자리에 옛 사이트 메인 동영상을 깔고, 문구와 상담 버튼 둘을 그 위에 얹는다.
 * 영상은 밝은 실내 장면이 많아 그대로 두면 글자가 묻힌다. 그래서 영상과 글자 사이에
 * 어두운 덧칠(.main_hero_veil)을 깐다. 덧칠 색은 --ink 변수로만 만든다.
 */
.main_hero {
	position: relative;
	overflow: hidden;
	background-color: var(--ink);
	/* 상자 크기는 사진 때와 같게 둔다(1440px 폭에서 높이 760px). 아래 내용이 밀리지 않는다. */
	width: 100%;
	aspect-ratio: 1800 / 950;
	max-height: 950px;
	display: flex;
	align-items: center;
}
/*
 * 선택자에 .main_hero 를 덧붙여 옛 테마 규칙보다 명시도를 높여 둔다.
 * 사진을 쓸 때 layout.css 의 `.bh img { height: auto }` 에 밀려 높이 지정이 무시된 일이 있었다.
 */
.main_hero .main_hero_video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
/* 화면에는 보이지 않고 화면 낭독기만 읽는 글. 영상이 무엇인지 알린다. */
.main_hero_sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}
/*
 * 어두운 덧칠. 글자가 놓이는 왼쪽은 짙게, 오른쪽은 영상이 보이도록 옅게 한다.
 * color-mix() 를 쓰지 않고 불투명도로 조절해 옛 브라우저에서도 덧칠이 빠지지 않는다.
 */
.main_hero_veil {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, var(--ink) 0%, var(--ink) 45%, transparent 100%);
	opacity: 0.72;
	pointer-events: none;
}
.main_hero_inner {
	position: relative;
	z-index: 1;
	width: 100%;
}
.main_hero_text {
	max-width: 50%;
}
.main_hero_title {
	color: var(--cream);
	font-family: 'GmarketSansBold', 'NanumSquare', sans-serif;
	font-size: 44px;
	line-height: 1.35;
	font-weight: 700;
	margin-bottom: 24px;
}
.main_hero_desc {
	color: var(--cream);
	font-size: 18px;
	line-height: 1.75;
	margin-bottom: 34px;
}
.main_hero_btns {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}
.main_hero_btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-width: 190px;
	padding: 15px 26px;
	border-radius: 50px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
}
.main_hero_btn.is_naver {
	background-color: var(--naver);
	color: #fff;
}
.main_hero_btn.is_naver img {
	width: 24px;
}
.main_hero_btn.is_kakao {
	background-color: var(--kakao);
	color: var(--ink);
}
.main_hero_btn.is_kakao i {
	font-size: 26px;
}

@media (max-width: 1200px) {
	.main_hero_title { font-size: 36px; }
	.main_hero_desc { font-size: 16px; }
}

/*
 * 좁은 화면에서도 글자를 영상 위에 얹는다(A안).
 * 폭이 좁으면 영상 비율대로는 글자가 들어가지 않으므로 상자 높이를 글자에 맞추고,
 * 영상은 그 상자를 채우도록 잘라 쓴다. 글자가 화면 가운데에 오므로 덧칠은 고르게 깐다.
 */
@media (max-width: 992px) {
	.main_hero {
		aspect-ratio: auto;
		max-height: none;
		min-height: 520px;
		padding: 60px 0;
	}
	.main_hero_veil {
		background: var(--ink);
		opacity: 0.65;
	}
	.main_hero_text {
		max-width: 100%;
		text-align: center;
	}
	.main_hero_title { font-size: 28px; }
	.main_hero_desc { font-size: 16px; }
	.main_hero_btns { justify-content: center; }
	.main_hero_btn { min-width: 0; flex: 1 1 auto; font-size: 16px; }
}

@media (max-width: 576px) {
	.main_hero {
		min-height: 480px;
		padding: 48px 0;
	}
	.main_hero_title { font-size: 24px; }
	.main_hero_btns { flex-direction: column; }
}

/*
 * 좁은 화면(768px 이하)의 빠른 연락 막대 (2026-09-21 원장님 결정).
 *
 * 옛 사이트는 좁은 화면에서도 오른쪽 세로 아이콘 메뉴를 그대로 띄워,
 * 본문 오른쪽 끝 글자를 가렸다. 768px 이하에서는 그 메뉴를 감추고
 * 화면 아래에 가로 막대를 붙인다. 손가락이 닿기 쉽게 높이는 56px 로 둔다.
 */
.mobile_action_bar {
	display: none;
}

@media (max-width: 768px) {
	/* 오른쪽 세로 메뉴를 감춘다. page.css 가 992px 이하에서 block 으로 못박아 두어
	   같은 선택자로 맞선다. */
	.bh #quick_menu {
		display: none;
	}

	.mobile_action_bar {
		display: flex;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 100;
		height: 56px;
		box-shadow: 0 -1px 6px rgba(0, 0, 0, 0.18);
	}
	.mobile_action_item {
		/* 셋을 같은 너비로 나눈다. */
		flex: 1 1 0;
		min-width: 0;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 6px;
		font-size: 14px;
		font-weight: 700;
		line-height: 1;
		white-space: nowrap;
	}
	.mobile_action_item i {
		font-size: 20px;
	}
	.mobile_action_item img {
		width: 20px;
		height: 20px;
	}
	.mobile_action_item.is_tel {
		background-color: var(--brand);
		color: var(--cream);
	}
	.mobile_action_item.is_naver {
		background-color: var(--naver);
		color: #fff;
	}
	.mobile_action_item.is_kakao {
		background-color: var(--kakao);
		color: var(--ink);
	}

	/* 본문 맨 아래가 막대에 가리지 않도록 막대 높이만큼 자리를 비운다. */
	body {
		padding-bottom: 56px;
	}
}

/* 아주 좁은 화면에서는 글자를 줄여 세 칸이 한 줄에 들어가게 한다. */
@media (max-width: 400px) {
	.mobile_action_item {
		font-size: 12px;
		gap: 4px;
	}
	.mobile_action_item i {
		font-size: 18px;
	}
}

/*
 * 아티클 목록과 본문 (1차 5단계).
 * 옛 테마에는 없던 화면이라 여기서 새로 짠다.
 */
.article_list,
.article_body {
	max-width: 860px;
	margin: 0 auto;
	padding: 70px 20px 90px;
}

/* 목록 */
.article_list ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.article_list li + li {
	margin-top: 18px;
}
.article_list li > a {
	display: block;
	padding: 28px 30px;
	border: 1px solid #e4e4e4;
	border-radius: 14px;
	background-color: #fff;
	transition: border-color 0.15s, box-shadow 0.15s;
}
.article_list li > a:hover {
	border-color: var(--brand-accent);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
}
.article_empty {
	padding: 60px 0;
	text-align: center;
	font-size: 18px;
	color: #666;
}

/* 목록과 본문이 함께 쓰는 조각 */
.article_category {
	display: inline-block;
	margin-bottom: 12px;
	padding: 5px 12px;
	border-radius: 50px;
	background-color: var(--brand);
	color: var(--cream);
	font-size: 13px;
	line-height: 1;
}
.article_title {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--ink);
	margin-bottom: 10px;
}
.article_summary {
	font-size: 16px;
	line-height: 1.7;
	color: #555;
}
.article_date {
	display: block;
	margin-top: 14px;
	font-size: 14px;
	color: #888;
}

/* 본문 */
.article_head {
	padding-bottom: 26px;
	margin-bottom: 34px;
	border-bottom: 2px solid var(--brand);
}
.article_head .article_title {
	font-size: 32px;
	margin-bottom: 14px;
}
.article_content {
	font-size: 17px;
	line-height: 1.85;
	color: var(--ink);
}
.article_content h2 {
	margin: 44px 0 16px;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.5;
	color: var(--brand-accent);
}
.article_content h3 {
	margin: 32px 0 12px;
	font-size: 19px;
	font-weight: 700;
	color: var(--ink);
}
.article_content p {
	margin-bottom: 18px;
}
.article_content ul,
.article_content ol {
	margin: 0 0 18px 1.1em;
	padding-left: 0.6em;
}
.article_content li {
	margin-bottom: 8px;
	list-style: disc;
}
.article_content ol li {
	list-style: decimal;
}
.article_content strong {
	font-weight: 700;
}
.article_content blockquote {
	margin: 24px 0;
	padding: 4px 0 4px 20px;
	border-left: 4px solid var(--brand-accent);
	color: #444;
}
.article_content a {
	color: var(--brand-accent);
	text-decoration: underline;
}
.article_back {
	margin-top: 54px;
	text-align: center;
}
.article_back a {
	display: inline-block;
	padding: 13px 40px;
	border: 1px solid var(--brand);
	border-radius: 50px;
	color: var(--brand);
	font-size: 16px;
	font-weight: 700;
}
.article_back a:hover {
	background-color: var(--brand);
	color: var(--cream);
}

@media (max-width: 768px) {
	.article_list,
	.article_body {
		padding: 44px 16px 60px;
	}
	.article_list li > a {
		padding: 22px 20px;
	}
	.article_title {
		font-size: 20px;
	}
	.article_head .article_title {
		font-size: 25px;
	}
	.article_content {
		font-size: 16px;
	}
	.article_content h2 {
		font-size: 20px;
		margin-top: 36px;
	}
}

/*
 * 임시 안내 페이지(/case · /notice).
 * 옛 테마에는 이런 모양이 없어 여기서 간단히 짠다.
 * /case 는 2차에서 치료사례 목록으로 되돌린다.
 */
.notice_page {
	max-width: 860px;
	margin: 0 auto;
	padding: 100px 20px 120px;
	text-align: center;
}
.notice_title {
	font-size: 34px;
	font-weight: 700;
	color: var(--brand-accent);
	margin-bottom: 22px;
}
.notice_text {
	font-size: 19px;
	line-height: 1.8;
	color: #555;
}
.notice_btn {
	margin-top: 38px;
}
.notice_btn a {
	display: inline-block;
	padding: 14px 42px;
	border-radius: 50px;
	background-color: var(--brand);
	color: var(--cream);
	font-size: 16px;
	font-weight: 700;
}
.notice_btn a:hover {
	background-color: var(--brand-accent);
}

@media (max-width: 768px) {
	.notice_page {
		padding: 60px 16px 80px;
	}
	.notice_title { font-size: 26px; }
	.notice_text { font-size: 17px; }
}

/*
 * 아티클 상단 배너의 글자 자리 (2026-09-22).
 *
 * 아티클 배너는 가운데가 밝은 창문이라, 다른 페이지처럼 글자를 가운데에 두면
 * 흰 글자가 묻힌다(제목 대비 2.6, 부제 2.2). 왼쪽은 어두운 벽과 소파라
 * 넓은 화면에서는 글자를 그쪽으로 옮긴다.
 * 좁은 화면은 사진이 확대되어 가운데에도 어두운 면이 오므로 그대로 둔다.
 */
@media (min-width: 993px) {
	/*
	 * 사진을 조금 왼쪽으로 밀어, 글자 뒤에 가장 어두운 구간(사진 가로 17~33%)이
	 * 오게 한다. 옛 테마가 걸어 둔 배경 움직임(pulseBgSlow)은 이 배너에서
	 * 세로로 움직일 여지가 없어 효과가 없으므로 함께 끈다.
	 */
	.articles .sub_top_banner {
		animation: none;
		background-position: 50% center;
	}
	.articles .sub_top_banner_content_wrap {
		text-align: left;
	}
	/* 제목 위 작은 장식과 아래 부제도 함께 왼쪽으로 옮긴다. */
	.articles .sub_top_banner_content_wrap span::before,
	.articles .sub_top_banner_content_wrap span::after {
		left: 0;
		transform: none;
	}
}

/*
 * 다크그린 제품 사진 배너의 글자 자리 (2026-09-22).
 * 문의하기·이용약관·개인정보처리방침·공지사항·ADHD·틱 장애·소아강박장애가 함께 쓴다.
 *
 * 이 사진은 왼쪽 위가 흰 상자, 그 아래가 짙은 다크그린 상자다. 다른 페이지처럼
 * 가운데에 두면 제목 위 작은 장식이 흰 상자에 묻히고, 상자에 찍힌 로고와도
 * 붙어 어수선하다. 넓은 화면에서는 글자를 왼쪽 아래로 옮겨 장식·제목·부제가
 * 모두 다크그린 상자 위에 오게 한다.
 */
/*
 * 좁은 화면(992px 이하)은 배너가 160px 로 낮아 글자를 옮길 자리가 없다.
 * 대신 사진을 키우고 아래쪽으로 밀어, 배너 대부분을 다크그린 상자가 채우게 한다.
 * 옛 테마의 배경 움직임(pulseBgSlow)은 이 위치를 흔드므로 끈다.
 */
@media (max-width: 992px) {
	.sub_top_banner.is_product {
		animation: none;
		background-size: auto 280px;
		background-position: 0% 100%;
	}
}
@media (min-width: 993px) {
	.sub_top_banner.is_product .sub_top_banner_content_wrap {
		text-align: left;
	}
	.sub_top_banner.is_product .sub_top_banner_content_wrap .bh_row {
		/* 제목을 약 100px 내려 다크그린 상자(사진 세로 225px 아래) 안에 넣는다. */
		transform: translateY(100px);
	}
	.sub_top_banner.is_product .sub_top_banner_content_wrap span::before,
	.sub_top_banner.is_product .sub_top_banner_content_wrap span::after {
		left: 0;
		transform: none;
	}
}

/*
 * 상단 메뉴가 여덟 칸이 되면서(2026-09-22, '자율신경 이야기'·'치료사례' 분리)
 * 좁은 PC 폭에서 자리가 모자랐다. 993~1149px 에서는 예약하기 버튼이 다음 줄로
 * 밀려 헤더가 88px -> 134px 로 커졌고, 993~1280px 에서는 로고가 20~84px 까지
 * 쪼그라들었다(일곱 칸일 때는 어느 폭에서나 139~144px).
 * 구간마다 메뉴 폭을 필요한 만큼만 줄여, 버튼은 한 줄에 두고 로고는 온전히 둔다.
 *
 * 2026-10-06 '마음치료'(4자)를 '자율신경치료'(6자)로 바꾸면서 메뉴가 34px 더
 * 넓어졌다. 버튼은 어느 폭에서나 한 줄에 그대로 있었으나, 구간이 바뀌는 폭
 * 세 군데(993~1035 · 1150~1169 · 1300~1314)에서 로고가 124~132px 로 줄었다.
 * 여백을 구간마다 더 깎고, 메뉴가 가장 넓은 1300~1349px 구간을 새로 두었다.
 */
@media (min-width: 993px) and (max-width: 1349px) {
	.bh .main_menu > ul > li > a {
		padding-left: 15px;
		padding-right: 15px;
	}
}
@media (min-width: 993px) and (max-width: 1299px) {
	.bh .main_menu > ul > li > a {
		padding-left: 10px;
		padding-right: 10px;
	}
}
@media (min-width: 993px) and (max-width: 1149px) {
	.bh .main_menu > ul > li > a {
		padding-left: 6px;
		padding-right: 6px;
		font-size: 15px;
	}
}

/*
 * 모바일 서랍 메뉴의 활성 표시 (2026-09-22).
 * 서랍 메뉴에도 지금 보고 있는 쪽에 active 를 붙이면서 색을 PC 헤더와 맞춘다.
 * 옛 테마는 상위 메뉴를 먹색(#090909), 하위 메뉴를 파랑(#3f48cc)으로 칠했다.
 * 지금 보고 있는 갈래는 하위 메뉴가 펼쳐진 채 열린다(옛 테마의 li.active 동작).
 */
.bh .mobile_main_menu > ul > li.active > a,
.bh .mobile_main_menu > ul > li > a + ul > li.active > a {
	color: var(--brand-accent);
}

/*
 * 진료시간 표의 '토요일 · 일요일 · 공휴일' 줄 (2026-10-06).
 *
 * 옛 테마는 라벨 칸을 121px 로 고정해 두었다. 휴진 줄을 세 요일로 합치면서
 * 라벨이 167px 로 길어져 이 줄만 두 줄로 접혔다.
 * 칸이 넓은 1200px 이상에서는 라벨 칸을 185px 로 넓혀 세 줄을 모두 한 줄에 넣고,
 * 그보다 좁으면 이 줄만 글자 너비로 두어 접힘을 막는다. 넓힐 자리는 가름선
 * 양옆 여백을 30px 에서 16px 로 줄여 마련했다.
 */
@media (min-width: 1200px) {
	.bottom_common .art1 .sj_con2 .con_title {
		padding-right: 16px;
	}
	.bottom_common .art1 .sj_con2 > div {
		width: calc(100% - 116px);
		padding-left: 16px;
	}
	.bottom_common .art1 .sj_con2 > div p span:first-child {
		width: 185px;
		padding-right: 10px;
	}
	.bottom_common .art1 .sj_con2 > div p span:last-child {
		width: calc(100% - 185px);
		padding-left: 10px;
	}
}
@media (max-width: 1199px) {
	.bottom_common .art1 .sj_con2 > div p.hours_closed span {
		width: auto;
	}
}

/*
 * 처방 분류 카드 (2026-10-06 원장님 결정).
 *
 * 옛 사이트는 여섯 처방군을 폭 542px 짜리 그림으로 넣고 열 폭에 맞춰 늘려
 * 흐릿했다. 글자가 그림 안에 있어 검색·확대·낭독도 되지 않았고, 처방군마다
 * 다른 원색을 써서 브랜드 색과 어긋났다. 글자로 바꾸고 여섯 장을 같은 색으로 둔다.
 * 마크업은 src/page-content/partials/rx-cards.html 에 있다.
 */
.rx_cards {
	background-color: var(--cream);
	border-radius: 35px;
	padding: 64px;
}
.rx_cards_title {
	color: var(--brand);
	font-size: 48px;
	font-weight: 700;
	text-align: center;
	line-height: 1.3;
}
.rx_cards_lead {
	max-width: 640px;
	margin: 16px auto 0;
	color: var(--ink);
	font-size: 18px;
	line-height: 1.7;
	text-align: center;
}
/* 세 열. 카드 높이는 격자가 같은 줄끼리 맞춘다. */
.rx_cards_grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-top: 48px;
	padding: 0;
	list-style: none;
}
.rx_cards_grid > li {
	background-color: #fff;
	border: 1px solid var(--brand-accent);
	border-radius: 16px;
	padding: 24px;
}
.rx_cards_grid > li > h4 {
	margin: 0;
	color: var(--brand);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
}
/* 처방군 이름 아래 짧은 밑줄. */
.rx_cards_grid > li > h4::after {
	content: '';
	display: block;
	width: 32px;
	height: 2px;
	margin-top: 10px;
	background-color: var(--brand-accent);
}
.rx_cards_grid > li > ul {
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
}
.rx_cards_grid > li > ul > li {
	position: relative;
	padding-left: 14px;
	font-size: 18px;
	line-height: 1.7;
	color: var(--ink);
}
.rx_cards_grid > li > ul > li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.72em;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background-color: var(--brand-accent);
}
@media (max-width: 1199px) {
	.rx_cards_grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 767px) {
	.rx_cards {
		border-radius: 20px;
		padding: 28px;
	}
	.rx_cards_title {
		font-size: 35px;
	}
	.rx_cards_lead {
		font-size: 17px;
	}
	.rx_cards_grid {
		grid-template-columns: 1fr;
		margin-top: 32px;
	}
}

/*
 * 소아 진료 6쪽은 카드가 .cure_2 안에 들어간다. 바탕과 여백은 .cure_2 가 맡으니
 * 카드 묶음은 바탕 없이 둔다. 쪽마다 달랐던 연보라·베이지브라운 같은 색조 배경
 * 여섯 가지도 크림 하나로 모은다.
 */
.child_cure .cure_2,
.clinic_1 .child_cure .cure_2,
.clinic_2 .child_cure .cure_2,
.clinic_4 .child_cure .cure_2,
.clinic_5 .child_cure .cure_2,
.clinic_6 .child_cure .cure_2 {
	background-color: var(--cream);
}
.child_cure .cure_2 .rx_cards {
	background-color: transparent;
	border-radius: 0;
	padding: 0;
}

/*
 * 유형 띠 (2026-10-06 원장님 결정).
 * 이 증상이 자율신경실조증의 어느 유형인지 배너 바로 아래에서 알린다.
 * 마크업은 src/components/TypeBand.astro 에 있다.
 */
.type_band {
	background-color: var(--brand);
	padding: 12px 0;
}
.type_band .bh_wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}
.type_band_label {
	color: #fff;
	font-size: 16px;
	line-height: 1.5;
}
.type_band_label b {
	font-weight: 700;
}
.type_band_link {
	color: #fff;
	font-size: 16px;
	text-decoration: underline;
	white-space: nowrap;
}
@media (max-width: 767px) {
	/* 좁은 화면에서는 한 줄에 다 들어가지 않아 세로로 쌓는다. */
	.type_band .bh_wrap {
		display: block;
	}
	.type_band_label,
	.type_band_link {
		display: block;
		font-size: 14px;
	}
	.type_band_link {
		margin-top: 6px;
	}
}

/*
 * 함께 보는 증상 (2026-10-06 원장님 결정).
 * 본문 끝에서 같은 유형이거나 자주 겹치는 증상 쪽으로 이어 준다.
 * 마크업은 src/components/RelatedSymptoms.astro 에 있다.
 * /child 의 갈래 목록도 같은 카드 모양을 쓴다.
 */
.related_symptoms {
	margin-top: 100px;
}
.related_title {
	color: var(--brand);
	font-size: 36px;
	font-weight: 700;
	line-height: 1.3;
	margin-bottom: 30px;
}
.related_symptoms ul,
.child_list {
	display: grid;
	gap: 20px;
	padding: 0;
	list-style: none;
}
.related_symptoms ul {
	grid-template-columns: repeat(3, 1fr);
}
.child_list {
	grid-template-columns: repeat(2, 1fr);
	margin-top: 40px;
	text-align: left;
}
.related_symptoms li > a,
.child_list li > a {
	display: block;
	background-color: #fff;
	border: 1px solid var(--brand-accent);
	border-radius: 16px;
	padding: 24px;
	height: 100%;
}
.rs_label,
.child_list li > a {
	color: var(--brand);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.4;
}
.rs_label {
	display: block;
}
.rs_dx {
	display: block;
	margin-top: 6px;
	color: var(--ink);
	font-size: 14px;
	opacity: 0.7;
}
.related_symptoms li > a:hover,
.child_list li > a:hover {
	background-color: var(--cream);
}
/* /child 안내문 안의 자가진단 링크는 글 속 링크라 밑줄로만 표시한다. */
.child_page .notice_text a {
	color: var(--brand-accent);
	font-weight: 700;
	text-decoration: underline;
}
@media (max-width: 767px) {
	.related_symptoms {
		margin-top: 60px;
	}
	.related_title {
		font-size: 24px;
		margin-bottom: 20px;
	}
	.related_symptoms ul,
	.child_list {
		grid-template-columns: 1fr;
	}
	.rs_label,
	.child_list li > a {
		font-size: 18px;
	}
}
