@charset "utf-8";
/* 2026-11-15 뉴트리미 리뉴얼 — 09 브랜드스토리
   공통 토큰·부품은 renewal.css(:root --nm-*, .nm-page-title, .nm-btn-pill, .nm-chip, .nm-pager 등)를 쓰고, 이 파일에는 이 영역 규칙만 둔다. */

/* ── 09 브랜드스토리 PC (피그마 471:13931 · 템플릿 etc/06_brandstory.html) ────────────────────────────────
   글자 = 라이브러리 글자 스타일(Pretendard, 자간 -2.5%). 줄 간격은 피그마가 줄마다 반올림한 px 값
   (64×1.3→83 · 48×1.3→62 · 40×1.3→52 · 32×1.3→42 · 24×1.4→34 · 20×1.4→28 · 18×1.4→25 · 16×1.4→22).
   버튼 = renewal.css .nm-btn-pill--l(라이브러리 Button_Default Large 54: 위아래 16·좌우 20, B1 16 SemiBold) + --brand(초록) / 기본(흰 바탕 · Line_Gray 테두리) */
.nm-bs { font-family: var(--nm-font); -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-wrap: anywhere; color: var(--nm-font-black); }
.nm-bs :where(h2, h3, p, ul, li) { margin: 0; padding: 0; } /* 구체도 0,1,0 — 아래 구역 규칙(여백)이 이기게 */
.nm-bs :where(ul) { list-style: none; }
.nm-bs img { display: block; max-width: none; border: 0; }
.nm-bs em { font-style: normal; color: var(--nm-brand-primary); }
.nm-bs strong { font-weight: 700; }
.nm-bs .nm-btn-pill { gap: 6px; text-decoration: none; white-space: nowrap; } /* 글 + Arrow 20 간격 6 */
.nm-bs .nm-btn-pill img { width: 20px; height: 20px; }
.nm-bs .nm-btn-pill--brand:hover, .nm-bs .nm-btn-pill--brand:focus { color: var(--nm-font-white); }
.nm-bs .nm-btn-pill:not(.nm-btn-pill--brand):hover, .nm-bs .nm-btn-pill:not(.nm-btn-pill--brand):focus { color: var(--nm-font-black); }

/* 구역 공통 글: 제목 H2 40 SemiBold(둘째 줄 초록 — 01~03 은 Bold) · 설명 T5 18 Regular Font/03_Sub · 번호 H5 24 SemiBold 초록 + 아래 막대 32×2(간격 6) · 보조 제목 T4 20 */
.nm-bs-tit { font-size: 40px; font-weight: 600; line-height: 52px; letter-spacing: -1px; color: var(--nm-font-black); }
.nm-bs-tit strong { color: var(--nm-brand-primary); }
.nm-bs-desc { font-size: 18px; font-weight: 400; line-height: 25px; letter-spacing: -0.45px; color: var(--nm-font-sub); }
.nm-bs-num { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 6px; font-size: 24px; font-weight: 600; line-height: 34px; letter-spacing: -0.6px; color: var(--nm-brand-primary); }
.nm-bs-num::after { content: ""; display: block; width: 32px; height: 2px; background: var(--nm-brand-primary); }
.nm-bs-lead { font-size: 20px; font-weight: 500; line-height: 28px; letter-spacing: -0.5px; color: var(--nm-font-sub); }
.nm-bs-lead--brand { font-weight: 600; color: var(--nm-brand-primary); }

/* 배너 476:14699 — 높이 820(넘침 자름). 배경 = 피그마 476:14700(2400×1019, 배너 기준 왼쪽 -40 · 위 -60, 꽉 채움) 칠 2겹: 정지 그림 위에 반복 GIF
   1920 에서 시안 위치 그대로. 1320~1960 은 오른쪽 기준(마이팩 상자가 잘리지 않게), 1960 보다 넓으면 왼쪽 0 에 붙이고 폭은 2400(화면이 더 넓으면 화면 폭)으로 빈 곳이 없게.
   그림 안 위치(GIF·정지 그림 같음): 상자 왼쪽 0.492 · 상자 오른쪽 0.783 · 봉지 오른쪽 0.793(폭 비율), 뚜껑 위 0.26 · 상자 바닥 0.783 · 봉지 바닥 0.825(높이 비율) */
.nm-bs-hero { position: relative; height: 820px; overflow: hidden; background: var(--nm-bg-white); }
.nm-bs-hero__media { position: absolute; top: -60px; left: max(-643px, min(0px, calc(100% - 1960px))); width: max(2400px, 100%); height: 1019px; }
.nm-bs-hero__media img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.nm-bs-hero__in { position: relative; padding-top: 184px; }
.nm-bs-hero__tit { font-size: 64px; font-weight: 600; line-height: 83px; letter-spacing: -1.6px; color: var(--nm-font-black); } /* Display D5 64 */
.nm-bs-hero__btns { display: flex; gap: 12px; margin-top: 48px; } /* 글 묶음 간격 28 + 버튼 줄 위 20 */
/* 1024~1319: 상자·봉지가 오른쪽에서 잘리지 않게 배경만 줄여 옮긴다(제목 64 그대로). 배경 높이 = 배너 820, 그림 폭 1024 에서 1650(820 을 덮는 최소) → 1320 에서 2400 까지 직선,
   상자~봉지 묶음(폭 0.301 · 가운데 0.6425)을 제목 끝(494.9)과 화면 오른쪽 사이 가운데에 둔다(1024: 제목~상자 16 · 봉지~화면 끝 16). 1320 에서 위 배치(-640 · 그림 위 -149.5)와 이어지게 object-position 39.55% */
@media (min-width: 1024px) and (max-width: 1319px) {
	.nm-bs-hero__media { top: 0; height: 100%; width: max(1650px, calc(253.3784% - 944.5946px)); left: calc(266.3041px + 48.15878% - max(1060.125px, calc(162.7956% - 606.852px))); }
	.nm-bs-hero__media img { object-position: 50% 39.55%; }
}
/* 2401px 이상: 그림이 화면 폭만큼 커지므로 상자 바닥을 1920 과 같은 788.5 에 맞춰 위로 올린다(상자 아래 「맞춤형 건강기능식품」이 잘리지 않게) — 2400 에서 가운데 값과 이어짐.
   약 2900 부터는 뚜껑이 위로 잘리지 않게 뚜껑~상자 바닥(0.26~0.783)을 배너 세로 가운데(410)에 둔다(둘 중 아래로 덜 올리는 값) */
@media (min-width: 2401px) {
	.nm-bs-hero__media img { object-position: 50% max(calc(848.5px - 39.085vw), calc(470px - 26.032vw)); }
}

/* 남들이 좋다는 영양제 780:13472 — 위아래 160, 가운데 정렬, 제목·설명 간격 28 */
.nm-bs-intro { padding: 160px 0; background: var(--nm-bg-white); text-align: center; }
.nm-bs-intro__in { display: flex; flex-direction: column; align-items: center; gap: 28px; }

/* 인용 780:13475 — 높이 720, 사진 배경(꽉 채움), 글 묶음 세로 가운데 · 글과 버튼 간격 40, 인용 T1 32 Medium(셋째·넷째 줄 Bold) */
.nm-bs-quote { position: relative; display: flex; flex-direction: column; justify-content: center; box-sizing: border-box; height: 720px; padding: 140px 0; overflow: hidden; background: var(--nm-bg-light); }
.nm-bs-quote__bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.nm-bs-quote__in { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 40px; }
.nm-bs-quote__txt { font-size: 32px; font-weight: 500; line-height: 42px; letter-spacing: -0.8px; color: var(--nm-font-black); }
/* 1921px 이상: 사진이 폭에 비례해 커져 아래가 잘리므로 봉지 바닥(사진 높이의 0.789)을 1920 과 같은 674 에 맞춰 위로 올린다 — 1920 에서 가운데 값과 이어짐.
   약 2680 부터는 뚜껑(0.375)이 위로 잘리지 않게 뚜껑~봉지 바닥을 구역 세로 가운데(360)에 둔다(둘 중 아래로 덜 올리는 값) */
@media (min-width: 1921px) {
	.nm-bs-quote__bg { object-position: 50% max(calc(674px - 44.6278vw), calc(360px - 32.9194vw)); }
}

/* 내 몸을 아는 검증된 영양제 추천 780:13486 — 위 160 · 아래 40, 가운데, 제목과 버튼 간격 32 */
.nm-bs-verify { padding: 160px 0 40px; background: var(--nm-bg-white); text-align: center; }
.nm-bs-verify__in { display: flex; flex-direction: column; align-items: center; gap: 32px; }

/* 01~04 780:13497·13505·13533·13551 — 위아래 120, 글 560 + 간격 80 + 사진 640×480(모서리 24), 세로 가운데. 02·04 는 사진 왼쪽(회색 BG/Light) */
.nm-bs-feat { padding: 120px 0; background: var(--nm-bg-white); }
.nm-bs-feat--gray { background: var(--nm-bg-light); }
.nm-bs-feat__in { display: flex; align-items: center; gap: 80px; }
.nm-bs-feat--rev .nm-bs-feat__in { flex-direction: row-reverse; }
.nm-bs-feat__text { flex: 0 1 560px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.nm-bs-feat__pic { flex: 0 1 640px; min-width: 0; aspect-ratio: 640 / 480; border-radius: 24px; overflow: hidden; }
.nm-bs-feat__pic img { width: 100%; height: 100%; object-fit: cover; }
/* 1024~1149: 글 칸이 줄면 시안의 줄바꿈(br) 뒤에서 다시 접혀 한 단어만 남는 줄이 생긴다 → 가장 긴 줄(01 설명 첫 줄 464)이 들어가게 글 칸 최소 470, 사진 칸이 대신 줄어든다 */
@media (min-width: 1024px) and (max-width: 1149px) {
	.nm-bs-feat__text { min-width: 470px; }
}
/* 02 확인 항목 3개(NM2/브랜드/CheckItem 779:13384 — 높이 60, 체크 24 + 간격 14, 제목 T5 18 SemiBold · 설명 B1 16 Font/03_Sub 간격 6) — 목록 위 12 · 항목 간격 20 */
.nm-bs-checks { align-self: stretch; display: flex; flex-direction: column; gap: 20px; padding-top: 12px; }
.nm-bs-checks li { display: flex; align-items: flex-start; gap: 14px; min-height: 60px; }
.nm-bs-checks li > img { flex: 0 0 24px; width: 24px; height: 24px; }
.nm-bs-checks li > div { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.nm-bs-checks strong { font-size: 18px; font-weight: 600; line-height: 25px; letter-spacing: -0.45px; color: var(--nm-font-black); }
.nm-bs-checks p { font-size: 16px; line-height: 22px; letter-spacing: -0.4px; color: var(--nm-font-sub); }
/* 03 고객 사진 4칸(NM2/브랜드스토리/PhotoCaption 871:12547 — 사진 310×232 모서리 16 + 간격 12 + 설명 T5 18 SemiBold) — 2×2, 간격 20 */
.nm-bs-photos { flex: 0 1 640px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.nm-bs-photos li { display: flex; flex-direction: column; gap: 12px; }
.nm-bs-photos__img { aspect-ratio: 310 / 232; border-radius: 16px; overflow: hidden; }
.nm-bs-photos__img img { width: 100%; height: 100%; object-fit: cover; }
.nm-bs-photos__img img.is-top { object-position: 50% 4.56%; } /* 당일개봉/소분: 피그마 자르기(높이 178.25% · 위 -3.57%) */
.nm-bs-photos p { font-size: 18px; font-weight: 600; line-height: 25px; letter-spacing: -0.45px; color: var(--nm-font-black); }

/* 방송 영상 471:13993 — 위아래 120, 제목 묶음(NM2/SectionTitle 전체 보기 없음: H2 40 + 간격 12 + B1 16 Font/04_info 두 줄) + 간격 48 + 카드 628 두 개(간격 24)
   카드(NM2/VideoCard 446:209) = 썸네일 628×353 모서리 16 + 가운데 Play 72(검정 50% · 흐림 5, 아이콘 36) + 간격 16 + 제목 T5 18 Medium */
.nm-bs-video { padding: 120px 0; background: var(--nm-bg-white); }
.nm-bs-video__head { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.nm-bs-video__sub { font-size: 16px; line-height: 22px; letter-spacing: -0.4px; color: var(--nm-font-info); }
.nm-bs-video__list { display: flex; gap: 24px; margin-top: 48px; }
.nm-bs-vcard { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.nm-bs-vcard__thumb { position: relative; display: block; box-sizing: border-box; width: 100%; aspect-ratio: 628 / 353; margin: 0; padding: 0; border: 0; border-radius: 16px; overflow: hidden; background: #000; cursor: pointer; }
.nm-bs-vcard__thumb > img { width: 100%; height: 100%; object-fit: cover; }
.nm-bs-vcard__thumb video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.nm-bs-vcard__play { position: absolute; top: 50%; left: 50%; display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 100px; background: rgba(17, 17, 17, .5); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.nm-bs-vcard__play img { width: 36px; height: 36px; }
.nm-bs-vcard__cap { font-size: 18px; font-weight: 500; line-height: 25px; letter-spacing: -0.45px; color: var(--nm-font-black); }

/* 마무리 띠 477:14834 — 초록 바탕 높이 520 + 반원 장식(흰 8% 원 · 흰 18% 선 원, 피그마 SVG 그대로), 글 위 106(제목 H1 48 흰색 → 간격 24+8+24 → 흰 버튼)
   사진 600×450 모서리 32 + Shadow ↓ 6(0 16 20 -2 #23303B 10%), 오른쪽 끝 맞춤 · 위로 74 걸침(위 구역 방송 영상 아래 여백 120 안)
   장식 SVG 는 시안 1920 칸(0~1920)을 양옆 400 씩 넓힌 2720×520(viewBox -400 0 2720 520) — 1920 보다 넓은 화면에서 왼쪽 선 원이 SVG 끝에서 끊기지 않게. 가운데 맞춤이라 1920 이하는 그대로.
   SVG 는 xMidYMid slice 라 예전 CSS(1920 칸)로 그려도 예전과 같은 0~1920 부분만 보인다(배포 중 캐시가 엇갈려도 원이 늘어나지 않게), 주소 ?v= 로 새 SVG 를 받는다 */
.nm-bs-closing { position: relative; height: 520px; background: var(--nm-brand-primary) url(../images/renewal/brand/closing_deco.svg?v=20261115b) no-repeat 50% 0 / 2720px 520px; }
.nm-bs-closing__in { position: relative; height: 100%; }
.nm-bs-closing__text { display: flex; flex-direction: column; align-items: flex-start; padding-top: 106px; }
.nm-bs-closing__tit { margin-bottom: 56px; font-size: 48px; font-weight: 600; line-height: 62px; letter-spacing: -1.2px; color: var(--nm-font-white); }
.nm-bs-closing__pic { position: absolute; top: -74px; right: 20px; width: min(600px, calc(100% - 600px)); aspect-ratio: 600 / 450; border-radius: 32px; overflow: hidden; box-shadow: 0 16px 20px -2px rgba(35, 48, 59, .1); }
.nm-bs-closing__pic img { width: 100%; height: 100%; object-fit: cover; }

/* 1023px 이하 — 모바일 시안 없음: PC 짜임을 한 열로 접는다(가로 넘침 0). 글자 크기는 리뉴얼 모바일 관례(섹션 제목 24 · 화면 제목 28) */
@media (max-width: 1023px) {
	.nm-bs-tit { font-size: 24px; line-height: 32px; letter-spacing: -0.6px; }
	.nm-bs-desc { font-size: 15px; line-height: 22px; letter-spacing: -0.375px; }
	.nm-bs-num { gap: 4px; font-size: 18px; line-height: 25px; letter-spacing: -0.45px; }
	.nm-bs-num::after { width: 24px; }
	.nm-bs-lead { font-size: 16px; line-height: 22px; letter-spacing: -0.4px; }

	.nm-bs-hero { display: flex; flex-direction: column; height: auto; }
	.nm-bs-hero__in { order: 1; padding-top: 48px; padding-bottom: 32px; }
	.nm-bs-hero__media { position: relative; order: 2; top: auto; left: auto; width: 100%; height: auto; aspect-ratio: 4 / 3; overflow: hidden; }
	.nm-bs-hero__media img { object-position: 82% 50%; }
	.nm-bs-hero__tit { font-size: 28px; line-height: 36px; letter-spacing: -0.7px; }
	.nm-bs-hero__btns { margin-top: 24px; }

	.nm-bs-intro { padding: 72px 0; }
	.nm-bs-intro__in { gap: 16px; }

	.nm-bs-quote { height: auto; padding: 0; justify-content: flex-start; background: var(--nm-bg-white); }
	.nm-bs-quote__bg { position: relative; order: 2; height: auto; aspect-ratio: 4 / 3; object-position: 62% 50%; }
	.nm-bs-quote__in { order: 1; gap: 24px; padding-top: 56px; padding-bottom: 32px; }
	.nm-bs-quote__txt { font-size: 22px; line-height: 31px; letter-spacing: -0.55px; }

	.nm-bs-verify { padding: 72px 0 40px; }
	.nm-bs-verify__in { gap: 24px; }

	.nm-bs-feat { padding: 64px 0; }
	.nm-bs-feat__in, .nm-bs-feat--rev .nm-bs-feat__in { flex-direction: column; align-items: stretch; gap: 32px; }
	.nm-bs-feat__text { flex: none; gap: 14px; }
	.nm-bs-feat__pic { flex: none; width: 100%; border-radius: 16px; }
	.nm-bs-checks { gap: 16px; padding-top: 4px; }
	.nm-bs-checks li { min-height: 0; gap: 10px; }
	.nm-bs-checks strong { font-size: 16px; line-height: 22px; letter-spacing: -0.4px; }
	.nm-bs-checks p { font-size: 14px; line-height: 20px; letter-spacing: -0.35px; }
	.nm-bs-photos { flex: none; gap: 16px 12px; }
	.nm-bs-photos li { gap: 8px; }
	.nm-bs-photos__img { border-radius: 12px; }
	.nm-bs-photos p { font-size: 15px; line-height: 22px; letter-spacing: -0.375px; }

	.nm-bs-video { padding: 64px 0; }
	.nm-bs-video__sub { font-size: 14px; line-height: 20px; letter-spacing: -0.35px; }
	.nm-bs-video__list { flex-direction: column; gap: 24px; margin-top: 24px; }
	.nm-bs-vcard { flex: none; gap: 10px; }
	.nm-bs-vcard__thumb { border-radius: 12px; }
	.nm-bs-vcard__play { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
	.nm-bs-vcard__play img { width: 28px; height: 28px; }
	.nm-bs-vcard__cap { font-size: 16px; line-height: 22px; letter-spacing: -0.4px; }

	.nm-bs-closing { height: auto; padding: 56px 0 40px; background-position: 50% 100%; } /* 띠가 520 보다 높아지므로 장식을 아래에 붙인다(위에 붙이면 흰 8% 원이 y=520 에서 가로로 끊김) */
	.nm-bs-closing__in { display: flex; flex-direction: column; gap: 32px; height: auto; }
	.nm-bs-closing__text { padding-top: 0; }
	.nm-bs-closing__tit { margin-bottom: 24px; font-size: 26px; line-height: 34px; letter-spacing: -0.65px; }
	.nm-bs-closing__pic { position: relative; top: auto; right: auto; width: 100%; border-radius: 20px; }
}
