@charset "utf-8";
/* Nabgol_Theme_House: nabgol_Theme 디자인 위에 얹는 House 전용 스타일 */

/* ---------- 본문 호환 (기존 style.css에서 옮김) ---------- */
.xe_content,
.rhymix_content {
	font-family: "Pretendard Variable", Pretendard, 'Noto Sans KR', 'Open Sans', '나눔바른고딕', NanumBarunGothic, '맑은 고딕', 'Malgun Gothic', 'Apple SD Gothic Neo', AppleGothic, sans-serif !important;
}
#exampleModal.modal:not(.show) { display: none !important; opacity: 0 !important; pointer-events: none; }
.swiper-pagination { z-index: 5 !important; }
.rounded-box { border-radius: 70px 0 70px 0; overflow: hidden; }
/* 키보드(Tab)로 이동할 때만 보이는 초점 테두리. 마우스 클릭에는 나타나지 않는다 */
:focus-visible { outline: 2px solid var(--nb-main, #70a233) !important; outline-offset: 2px; }
#scollTop { display: none; position: fixed; right: 2rem; bottom: 4rem; z-index: 20; width: 50px; height: 50px; border: none; border-radius: 50%; }
@media (max-width: 991px) {
	.rounded-box { border-radius: 40px 0 40px 0; }
}

/* ---------- 서브: 2·3차 메뉴 탭 (Swiper 슬라이드, 스크립트는 src/js/scripts.js) ---------- */
.yg-subtab { display: block; }
.yg-subtab-swiper { width: max-content; max-width: 100%; margin: 0 auto; padding: 10px 15px !important; border-radius: 40px; background: #fff; box-shadow: 0 14px 40px rgba(15,23,24,.12); }
.yg-subtab .swiper-wrapper { margin: 0; padding: 0; list-style: none; border-radius: 0; background: none; box-shadow: none; overflow: visible; }
.yg-subtab .yg-subtab-swiper .swiper-slide { display: block; flex: 0 0 auto;width: auto !important; height: auto !important; font-size: inherit; background: none; }
.yg-subtab .yg-subtab-swiper .swiper-slide a { display: block; padding: 10px 28px; border-radius: 30px; font-size: 15px; line-height: 1.5; }
.yg-subtab-3 { margin-top: 14px; }
.yg-subtab-3 .yg-subtab-swiper { box-shadow: none; border: 1px solid #e4e5df; }
.yg-subtab-3 .yg-subtab-swiper .swiper-slide a { padding: 10px 22px; font-size: 14px; }
@media (max-width: 767px) {
	.yg-subtab { margin: -26px 16px 0; }
	.yg-subtab .yg-subtab-swiper .swiper-slide a { padding: 10px 18px; font-size: 14px; }
	.yg-subtab-3 { margin-top: 10px; }
}

/* ---------- 서브 하단 상담: 진행 단계 ---------- */
.yg-subcta-steps { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.yg-subcta-steps li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid rgba(255,255,255,.25); border-radius: 30px; font-size: 13px; color: rgba(255,255,255,.85); }
.yg-subcta-steps b { font-family: 'Jost', sans-serif; font-weight: 500; color: var(--yg-leaf); }

/* ---------- 메인 ---------- */
.yg-about-more { margin-top: 28px !important; text-align: center; }
.yg-line-btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 30px; border: 1px solid var(--yg-ink); border-radius: 40px; font-family: 'Jost', sans-serif; font-size: 14px; letter-spacing: .15em; color: var(--yg-ink) !important; transition: background .3s, color .3s; }
.yg-line-btn:hover { background: var(--yg-ink); color: #fff !important; }

/* OVERVIEW: 배경 이미지 위 4개 패널 */
.yg-ov { position: relative; overflow: hidden; }
.yg-ov-bg { position: absolute; inset: 0; background: center/cover no-repeat; opacity: .35; }
.yg-ov .yg-wrap { z-index: 1; }
.yg-ov-panels { display: grid; gap: 16px; }
.yg-ov-panel { display: flex; flex-direction: column; gap: 8px; min-height: 220px; padding: 32px 28px; border: 1px solid rgba(255,255,255,.2); border-radius: 0 0 48px 0; background: rgba(255,255,255,.06); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff !important; transition: background .4s, transform .4s; }
a.yg-ov-panel:hover { background: rgba(255,255,255,.14); transform: translateY(-6px); }
.yg-ov-panel i { margin-bottom: auto; font-size: 34px; color: var(--yg-leaf, #9fd18b); }
.yg-ov-panel small { margin-top: 24px; font-size: 14px; color: rgba(255,255,255,.65); }
.yg-ov-panel strong { font-size: 22px; font-weight: 500; line-height: 1.4; }
.yg-ov-panel em { margin-top: 12px; align-self: flex-start; padding-bottom: 4px; border-bottom: 1px solid rgba(255,255,255,.6); font-family: 'Jost', sans-serif; font-size: 12px; font-style: normal; letter-spacing: .2em; }

.yg-service-summary { margin-top: 16px !important; max-width: 520px; font-size: 15px; line-height: 1.8; color: rgba(255,255,255,.7); }
.yg-design-card > a { color: inherit; }
.yg-cg-txt .yg-contact-tel { margin-top: 20px; font-size: 26px; }

@media (min-width: 768px) {
	.yg-ov-panels { grid-template-columns: 1fr 1fr; gap: 20px; }
	.yg-ov-panel { min-height: 260px; padding: 40px; }
	.yg-design-card { flex-basis: calc((100% - 60px) / 4); }
}
@media (min-width: 1200px) {
	.yg-ov-panels { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 767px) {
	.yg-design-card { flex-basis: 82%; }
}

/* ---------- 서브: 납골당별 자주 묻는 질문 (inc/faq.html, 항상 펼침) ---------- */
.yg-faq { --yg-ink: #0f1718; --yg-line: #e4e5df; padding: 100px 0; font-family: 'SUITE Variable', SUITE, 'Pretendard Variable', Pretendard, sans-serif; color: #555; word-break: keep-all;clear: both;}
.yg-faq-head { margin-bottom: 48px; }
.yg-faq-eyebrow { margin: 0; font-family: 'Jost', sans-serif; font-size: 14px; letter-spacing: .3em; color: var(--yg-green, #70a233); }
.yg-faq-head h3 { margin: 14px 0 0; font-size: 38px; line-height: 1.3; font-weight: 300; color: var(--yg-ink); }
.yg-faq-head h3 b { font-weight: 600; }
.yg-faq-head > p:last-child { margin: 16px 0 0; font-size: 16px; line-height: 1.8; }
.yg-faq-head a { color: var(--yg-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.yg-faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0; }
.yg-faq-item { padding: 32px; border-radius: 0 0 40px 0; background: #fff; border: 1px solid var(--yg-line); }
.yg-faq-item dt { display: flex; gap: 12px; font-size: 18px; line-height: 1.5; font-weight: 600; color: var(--yg-ink); }
.yg-faq-item dt b { flex: 0 0 auto; font-family: 'Jost', sans-serif; font-weight: 500; color: var(--yg-green, #70a233); }
.yg-faq-item dd { margin: 14px 0 0; padding-left: 38px; font-size: 15px; line-height: 1.8; }
@media (max-width: 991px) {
	.yg-faq { padding: 72px 0; }
	.yg-faq-list { grid-template-columns: 1fr; }
	.yg-faq-head h3 { font-size: 28px; }
	.yg-faq-item { padding: 24px 22px; border-radius: 0 0 28px 0; }
	.yg-faq-item dt { font-size: 16px; }
	.yg-faq-item dd { padding-left: 0; }
}
