@charset "UTF-8";
/* 유튜브상위노출 상세페이지(sub/youtube.php)·키워드 찾기(sub/youtube-keyword.php) 전용 스타일.
   두 페이지에서만 add_stylesheet()로 불러온다. 사이트 공통 스타일과 섞이지 않도록 모든 규칙을 .yt 아래에 둔다.
   디자인 기준: 메인 "스타닥 마케팅 방식"(index.php#stardoc-sub-01, theme/ybusiness_1/css/style.css의 .main-02~13).
   - 배경: 검정·#1e1f23 위주, 밝은 구역은 흰색(.main-08)·회색(.main-13) 두 가지만.
   - 제목: 영문 2줄(소문자 / 대문자, 강조 단어 레드) 50px Bold + 한글 30px SemiBold(.main-06-01 등).
   - 소제목: 빨간 ▶ + 제목 + 영문 대문자(.main-07-02). 박스 제목: 검은 띠 + 빨간 왼쪽 선(.main-07-06 h4).
   - 항목 머리: "01." 빨간 번호 / 제목 + 회색 영문 + 오른쪽으로 이어지는 빨간 1px 선(.main-06-02-01-01 h3).
   - 박스: 빨간 1px 테두리 + 왼쪽 위 삼각형(.main-06-02-02 figure), 흰 1px 말풍선 + 꼬리 삼각형(.main-09-02 li),
     흰 박스 + 오른쪽 아래 매달린 삼각형(.main-02-02-02 div). 목록 점은 빨간 원(.main-06-02-02-06 li::before).
   - 글자: 기준 18px, 자간 -0.05em. 본문 20px Light. 작은 영문 장식 글씨는 Light·대문자·0.45em(카드 안 0.25em).
   - 모양: 각지게(라운드 0, 작은 칩만 2px). 유튜브 예시 화면만 유튜브의 라운드를 따른다.
   - 움직임: 30px 아래에서 떠오름(.main-06-02 > li.active의 sweep-y-reverse). sub/youtube/youtube.js가
     .yt에 .yt-anim을 붙인 뒤에만 숨김·등장이 걸린다(스크립트가 없으면 그대로 보임). */

/* 사이트 @font-face는 굵기마다 이름이 달라(Pretendard Variable Subset Bold 등) font-weight로 고를 수 없다.
   같은 파일을 한 이름에 굵기별로 묶어 font-weight로 쓴다. 같은 주소라 브라우저 캐시를 그대로 쓴다. */
@font-face { font-family: "YT Pretendard"; font-style: normal; font-weight: 300; font-display: swap; src: url("../../theme/ybusiness_1/fonts/Pretendard-Light.woff2") format("woff2"), url("../../theme/ybusiness_1/fonts/Pretendard-Light.woff") format("woff"); }
@font-face { font-family: "YT Pretendard"; font-style: normal; font-weight: 400; font-display: swap; src: url("../../theme/ybusiness_1/fonts/Pretendard-Regular.woff2") format("woff2"), url("../../theme/ybusiness_1/fonts/Pretendard-Regular.woff") format("woff"); }
@font-face { font-family: "YT Pretendard"; font-style: normal; font-weight: 500; font-display: swap; src: url("../../theme/ybusiness_1/fonts/Pretendard-Medium.woff2") format("woff2"), url("../../theme/ybusiness_1/fonts/Pretendard-Medium.woff") format("woff"); }
@font-face { font-family: "YT Pretendard"; font-style: normal; font-weight: 600; font-display: swap; src: url("../../theme/ybusiness_1/fonts/Pretendard-SemiBold.woff2") format("woff2"), url("../../theme/ybusiness_1/fonts/Pretendard-SemiBold.woff") format("woff"); }
@font-face { font-family: "YT Pretendard"; font-style: normal; font-weight: 700; font-display: swap; src: url("../../theme/ybusiness_1/fonts/Pretendard-Bold.woff2") format("woff2"), url("../../theme/ybusiness_1/fonts/Pretendard-Bold.woff") format("woff"); }
@font-face { font-family: "YT Pretendard"; font-style: normal; font-weight: 800 900; font-display: swap; src: url("../../theme/ybusiness_1/fonts/Pretendard-ExtraBold.woff2") format("woff2"), url("../../theme/ybusiness_1/fonts/Pretendard-ExtraBold.woff") format("woff"); }

.yt {
  --yt-red: #C23A31;
  --yt-red-dark: #A52F27;
  --yt-red-light: #E46A61;
  --yt-black: #000000;
  --yt-dark: #1E1F23;
  --yt-dark-2: #2C2D32;
  --yt-gray: #EFEFEF;
  --yt-muted: #8E8E8E;
  --yt-text-dark-2: rgba(255, 255, 255, 0.72);
  --yt-line-dark: rgba(255, 255, 255, 0.3);
  /* 구역마다 바뀌는 값: 밝은 구역 기본값. 어두운 구역은 아래 .yt-sec--dark 등에서 바꾼다. */
  --yt-text: #000000;
  --yt-text-2: #444444;
  --yt-line: #D5D5D5;
  --yt-tag-r: 2px;
  --yt-shadow: 0 0 8px rgba(0, 0, 0, 0.11);
  --yt-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  /* 콘텐츠 폭 1320px, 좌우 여백 60px(메인 섹션과 같음) */
  --yt-gutter: max(min(60px, 5vw), calc(50% - 660px));
  /* 사이트 고정 헤더 높이(theme/ybusiness_1/css/style.css의 #header min-height와 같은 식) */
  --yt-header-h: min(150px, 23.4375vw);
  /* PC에서 스크롤한 뒤 줄어든 헤더 높이(같은 파일 body.scrolled #header). 따라다니는 박스의 위쪽 기준 */
  --yt-header-h-scrolled: min(100px, 15.625vw);
  width: 100%;
  font-family: "YT Pretendard", "Pretendard Variable Subset Regular", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.05em;
  color: var(--yt-text);
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
}
/* 테마 default.css의 p { word-break: break-all }을 이기도록 모든 자손에 직접 준다 */
.yt, .yt * { word-break: keep-all; overflow-wrap: break-word; }
/* 테마 em-custom.css의 body { overflow-x: hidden }은 body를 스크롤 상자로 만들어 position: sticky를 막는다.
   이 CSS를 쓰는 페이지에서만 clip으로 바꾼다(가로 넘침은 똑같이 숨김). clip을 모르는 브라우저는 hidden 그대로다. */
html body { overflow-x: clip; }
.yt *, .yt *::before, .yt *::after { box-sizing: border-box; }
.yt h1, .yt h2, .yt h3, .yt p, .yt ul, .yt ol { margin: 0; }
/* 테마 default.css:7의 h1~h6 { font-family: 'Malgun Gothic' }을 덮는다 */
.yt h1, .yt h2, .yt h3, .yt h4 { font-family: inherit; }
.yt ul, .yt ol { padding: 0; list-style: none; }
.yt li { list-style: none; }
.yt b, .yt strong { font-weight: 600; }
.yt svg { display: inline-block; flex: 0 0 auto; }
.yt a { text-decoration: none; }
.yt button, .yt input { letter-spacing: inherit; }
.yt [hidden] { display: none !important; }
/* #contact 같은 앵커로 이동할 때 고정 헤더(스크롤 후 약 100px)에 가리지 않게 한다 */
.yt [id] { scroll-margin-top: 110px; }
/* 문단은 마지막 줄에 한두 글자만 남지 않게, 제목은 줄 길이를 고르게 */
.yt p, .yt li, .yt-item__text, .yt-process__text, .yt-flow__text, .yt-method__text { text-wrap: pretty; }
.yt h1, .yt h2, .yt h3, .yt-h2 { text-wrap: balance; }

/* 구역 배경 */
.yt-sec { background: #FFFFFF; color: var(--yt-text); }
.yt-sec--cream { background: var(--yt-gray); }
.yt-sec--dark, .yt-sec--black, .yt-hero, .yt-panel--dark, .yt-kf-aside { --yt-text: #FFFFFF; --yt-text-2: rgba(255, 255, 255, 0.72); --yt-line: rgba(255, 255, 255, 0.3); color: var(--yt-text); }
.yt-sec--dark { background: var(--yt-dark); }
.yt-sec--black { background: var(--yt-black); }
.yt-wrap { padding: min(160px, 25vw) var(--yt-gutter); display: flex; flex-direction: column; gap: 80px; }
.yt-block { display: flex; flex-direction: column; gap: 30px; }

/* 구역 제목: 영문 2줄 50px Bold(대문자 줄의 강조 단어 레드) 아래 한글 30px SemiBold */
.yt-head { display: flex; flex-direction: column; gap: 24px; max-width: 900px; }
.yt-head--center { align-items: center; text-align: center; max-width: none; }
.yt-title { display: flex; flex-direction: column; gap: 18px; font-weight: 400; }
.yt-eyebrow { display: block; font-weight: 700; font-size: 50px; line-height: 1.2; color: var(--yt-text); }
.yt-eyebrow strong { font-weight: 700; color: var(--yt-red); }
.yt-h2 { display: block; font-weight: 600; font-size: 30px; line-height: 1.4; color: var(--yt-text); }
.yt-lead { font-weight: 300; font-size: 20px; line-height: 1.7; color: var(--yt-text); }
.yt-lead b { font-weight: 600; }
.yt-head--center .yt-lead { max-width: 820px; }
.yt-accent { color: var(--yt-red); }
.yt-op { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; font-weight: 300; font-size: 40px; color: var(--yt-text); }

/* 소제목: 메인 "▶ 기존의 마케팅 방식 PART CARE SYSTEM"(.main-07-02) */
.yt-sub { font-size: 22px; font-weight: 600; line-height: 1.5; color: var(--yt-text); }
.yt-sub::before { content: "\25B6"; margin-right: 0.3em; font-size: 0.82em; color: var(--yt-red); }
.yt-sub small { margin-left: 0.2em; font-size: 0.82em; font-weight: 600; }
/* 박스 제목 띠: 메인 차트 제목(.main-07-06 h4) */
.yt-band { padding: 0.3em 1em; background: var(--yt-black); color: #FFFFFF; font-size: 18px; font-weight: 600; line-height: 1.6; }

/* 작은 영문 장식 글씨: 메인 슬라이드 "PREMIUM HOSPITAL MARKETING"(style.css:2639)과 같은 Light·대문자·0.45em.
   앞의 빨간 선은 2026-10-21 사용자 요청으로 뺐다 */
.yt-kicker { display: flex; align-items: center; gap: 16px; font-weight: 300; font-size: 16px; line-height: 1.4; letter-spacing: 0.45em; text-transform: uppercase; color: var(--yt-text-dark-2); }

/* 버튼: 각지고 오른쪽 위 화살표(상담문의 페이지 버튼) */
.yt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 60px; padding: 0 36px; border: 0; border-radius: 0; background: var(--yt-red); color: #FFFFFF; font: inherit; font-weight: 600; font-size: 18px; cursor: pointer; transition: background-color 0.25s; }
.yt-btn::after { content: ""; flex: 0 0 12px; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 10L10 2M4 2h6v6' stroke='%23fff' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform 0.25s var(--yt-ease); }
.yt a.yt-btn, .yt a.yt-btn:hover { color: #FFFFFF; }
.yt-btn:hover { background: var(--yt-red-dark); }
.yt-btn:hover::after { transform: translate(3px, -3px); }
.yt-btn--block { display: flex; width: 100%; }
/* 테두리만 있는 보조 버튼(어두운 배경용) */
.yt-btn--ghost { background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6); }
.yt-btn--ghost:hover { background: rgba(255, 255, 255, 0.1); }
/* 같은 페이지 아래로 내려가는 버튼: 화살표를 아래로 */
.yt-btn--down::after { transform: rotate(135deg); }
.yt-btn--down:hover::after { transform: rotate(135deg) translate(3px, -3px); }
/* 화면에는 숨기고 화면 낭독기로만 읽는다 */
.yt-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* 키보드 포커스 표시. 마우스 클릭에는 나오지 않는다(:focus-visible) */
.yt a:focus-visible, .yt button:focus-visible, .yt input:focus-visible, .yt select:focus-visible, .yt textarea:focus-visible { outline: 3px solid var(--yt-red); outline-offset: 2px; }
.yt-sec--dark :focus-visible, .yt-sec--black :focus-visible, .yt-hero :focus-visible, .yt-kf-aside :focus-visible, .yt-kf-bar :focus-visible { outline-color: #FFFFFF; }
.yt-btn[disabled] { opacity: 0.6; cursor: default; }

/* 칩 */
.yt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.yt-chip { padding: 6px 14px; border-radius: var(--yt-tag-r); background: var(--yt-dark-2); color: #FFFFFF; font-size: 16px; }
.yt-chip--on { background: #FFFFFF; color: #000000; font-weight: 600; }

/* 빨간 삼각형: 왼쪽 위 모서리형(.main-06-02-02 figure::before, 메인은 20px) */
.yt-profile::before { content: ""; position: absolute; top: 0; left: 0; border-top: 10px solid var(--yt-red); border-left: 10px solid var(--yt-red); border-right: 10px solid transparent; border-bottom: 10px solid transparent; }
/* 오른쪽 아래 매달린형(.main-02-02-02 div::before, 30px) */
.yt-panel--dark::after { content: ""; position: absolute; top: 100%; right: 0; border-top: 15px solid var(--yt-red); border-right: 15px solid var(--yt-red); border-bottom: 15px solid transparent; border-left: 15px solid transparent; }

/* HERO */
.yt-hero { background: var(--yt-black); color: #FFFFFF; }
.yt-hero__in { padding: calc(var(--yt-header-h) + 60px) var(--yt-gutter) min(160px, 25vw); display: flex; flex-wrap: wrap; align-items: center; gap: 60px; }
.yt-hero__copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.yt-badge { display: inline-flex; align-self: flex-start; align-items: center; padding: 8px 16px; background: rgba(255, 255, 255, 0.07); font-size: 15px; color: rgba(255, 255, 255, 0.85); }
.yt-hero__title { font-weight: 700; font-size: clamp(40px, 5vw, 70px); line-height: 1.2; }
/* "다른 결과" 밑줄: 빨간 선이 왼쪽부터 그어진다 */
.yt-hero__desc { max-width: 640px; font-weight: 300; font-size: 20px; line-height: 1.6; color: var(--yt-text-dark-2); }
.yt-hero__desc b { color: #FFFFFF; }
.yt-hero__note { font-size: 15px; color: var(--yt-muted); }
.yt-hero__mock { flex: 1 1 600px; min-width: 0; max-width: 700px; display: flex; flex-direction: column; gap: 16px; }
.yt-hero__caption { font-size: 13px; color: var(--yt-muted); text-align: right; }
/* 유튜브상위노출 첫 섹션(.yt-hero--main): 밋밋한 검정 대신 예시 화면 뒤에 옅은 붉은 빛과 가는 격자를 깔고,
   배지에는 빨간 점, 아래 설명은 체크 3줄로 세워 둔다. 예시 화면은 살짝 비스듬히 세운다(넓은 화면만) */
.yt-hero--main { position: relative; isolation: isolate; overflow: hidden; }
.yt-hero--main::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse 560px 420px at calc(50% + 230px) 50%, rgba(194, 58, 49, 0.3), transparent 72%), linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 72px 72px, linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 72px 72px; -webkit-mask-image: radial-gradient(ellipse 900px 80% at calc(50% + 160px) 50%, #000000 30%, transparent 80%); mask-image: radial-gradient(ellipse 900px 80% at calc(50% + 160px) 50%, #000000 30%, transparent 80%); pointer-events: none; }
.yt-hero--main .yt-hero__in { padding-bottom: min(120px, 20vw); gap: 64px; }
.yt-hero--main .yt-hero__copy { gap: 26px; }
.yt-hero--main .yt-badge { gap: 10px; padding: 8px 16px 8px 14px; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.03); }
.yt-hero--main .yt-badge::before { content: ""; flex: 0 0 6px; height: 6px; border-radius: 50%; background: var(--yt-red); }
.yt-hero--main .yt-hero__title { letter-spacing: -0.03em; }
.yt-hero--main .yt-hero__desc { max-width: 600px; font-size: 18px; line-height: 1.75; }
/* .yt ul { padding: 0 }보다 우선해야 위 여백이 들어가므로 .yt-hero--main을 붙인다 */
.yt-hero--main .yt-hero__points { display: flex; flex-direction: column; gap: 8px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.yt-hero__points li { display: flex; align-items: center; gap: 8px; font-size: 15px; color: rgba(255, 255, 255, 0.78); }
.yt-hero__points li::before { content: ""; flex: 0 0 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2.5 7.3l3 3 6-6.3' stroke='%23E46A61' stroke-width='1.8' fill='none'/%3E%3C/svg%3E") center / contain no-repeat; }
.yt-hero--main .yt-mock { box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.04); }
/* 좁은 화면은 예시 화면이 글 아래로 내려가므로 붉은 빛도 아래쪽에 둔다 */
@media (max-width: 1024px) {
  .yt-hero--main::before { background-position: 0 0; background-image: radial-gradient(ellipse 80% 30% at 50% 85%, rgba(194, 58, 49, 0.3), transparent 72%), linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: auto, 56px 56px, 56px 56px; -webkit-mask-image: linear-gradient(to bottom, transparent 5%, #000000 60%); mask-image: linear-gradient(to bottom, transparent 5%, #000000 60%); }
}
@media (min-width: 1200px) {
  .yt-hero--main .yt-mock { transform: perspective(1800px) rotateY(-5deg) rotateX(2deg); transform-origin: left center; }
}


/* 예시 화면: 유튜브 검색 결과(다크 모드)를 흉내 낸다. 글꼴·자간·라운드는 유튜브에 맞춘다.
   창(.yt-mock)은 overflow를 열어 둔다. 숨기면 강조 영상의 펄스 빛이 창 오른쪽 끝에서 잘린다. 둥근 모서리는 위 막대가 맡는다. */
.yt-mock { background: #0F0F0F; border: 1px solid #2B2B2B; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); font-family: Roboto, Arial, "YT Pretendard", sans-serif; letter-spacing: normal; color: #F1F1F1; }
.yt-mock * { letter-spacing: normal; }
.yt-mock__ico { width: 22px; height: 22px; }
.yt-mock__bar { height: 36px; border-radius: 9px 9px 0 0; background: #202124; display: flex; align-items: center; gap: 7px; padding: 0 14px; }
.yt-mock__dot { width: 11px; height: 11px; border-radius: 50%; }
.yt-mock__url { flex: 1; min-width: 0; margin-left: 12px; height: 24px; border-radius: 12px; background: #35363A; color: #BDC1C6; font-size: 12px; display: flex; align-items: center; padding: 0 12px; overflow: hidden; white-space: nowrap; }
.yt-mock__urlq { color: #E8EAED; }
.yt-mock__head { height: 56px; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 16px; }
.yt-mock__start { display: flex; align-items: center; gap: 16px; }
.yt-mock__logo { display: flex; align-items: center; gap: 2px; }
.yt-mock__logo svg { width: 90px; height: auto; }
.yt-mock__logo sup { align-self: flex-start; margin: -4px 0 0 2px; font-size: 9px; color: #AAAAAA; }
.yt-mock__center { flex: 1 1 auto; min-width: 0; max-width: 380px; display: flex; align-items: center; gap: 10px; }
.yt-mock__search { flex: 1; min-width: 0; display: flex; height: 36px; }
.yt-mock__query { flex: 1; min-width: 0; display: flex; align-items: center; padding: 0 14px; border: 1px solid #303030; border-right: 0; border-radius: 40px 0 0 40px; background: #121212; font-size: 14px; white-space: nowrap; overflow: hidden; transition: border-color 0.2s; }
.yt-mock.is-typing .yt-mock__query { border-color: #1C62B9; }
.yt-mock__caret { display: none; width: 1px; height: 17px; margin-left: 1px; background: #F1F1F1; animation: yt-blink 1s steps(1) infinite; }
.yt-mock.is-typing .yt-mock__caret { display: inline-block; }
.yt-mock__sbtn { flex: 0 0 56px; display: flex; align-items: center; justify-content: center; border: 1px solid #303030; border-radius: 0 40px 40px 0; background: #222222; }
.yt-mock__sbtn .yt-mock__ico, .yt-mock__mic .yt-mock__ico { width: 20px; height: 20px; }
.yt-mock__mic { flex: 0 0 36px; height: 36px; border-radius: 50%; background: #272727; display: flex; align-items: center; justify-content: center; }
.yt-mock__end { display: flex; align-items: center; gap: 14px; }
.yt-mock__create { display: flex; align-items: center; gap: 4px; height: 32px; padding: 0 12px 0 6px; border-radius: 16px; background: #272727; font-size: 13px; font-weight: 500; white-space: nowrap; }
.yt-mock__create .yt-mock__ico { width: 20px; height: 20px; }
.yt-mock__bell { position: relative; display: flex; }
.yt-mock__bell b { position: absolute; top: -5px; left: 12px; padding: 0 4px; border-radius: 8px; background: #CC0000; font-size: 9px; font-weight: 500; line-height: 14px; color: #FFFFFF; }
.yt-mock__avatar { width: 28px; height: 28px; border-radius: 50%; background: #5B6B7F; color: #FFFFFF; font-size: 13px; font-weight: 500; display: flex; align-items: center; justify-content: center; }
.yt-mock__body { display: flex; }
.yt-mock__guide { flex: 0 0 64px; display: flex; flex-direction: column; align-items: center; gap: 18px; padding-top: 8px; }
.yt-mock__guide span { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 9px; color: #F1F1F1; }
.yt-mock__guide .yt-mock__ico { width: 20px; height: 20px; }
.yt-mock__main { flex: 1; min-width: 0; padding: 0 18px 22px 6px; }
.yt-mock__chips { display: flex; gap: 10px; padding: 6px 0 16px; overflow: hidden; }
.yt-mock__chip { flex: 0 0 auto; display: flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 8px; background: rgba(255, 255, 255, 0.1); font-size: 13px; font-weight: 500; }
.yt-mock__chip.is-on { background: #F1F1F1; color: #0F0F0F; }
.yt-mock__list { display: flex; flex-direction: column; gap: 16px; transition: opacity 0.5s, transform 0.5s var(--yt-ease); }
.yt-mock__list.is-hidden { opacity: 0; transform: translateY(14px); }
.yt-res { position: relative; display: flex; gap: 14px; padding: 8px; margin: -8px; border-radius: 12px; transition: opacity 0.6s, background-color 0.6s; }
.yt-mock.is-after .yt-res:not(.yt-res--ours) { opacity: 0.45; }
.yt-mock.is-after .yt-res--ours { background: rgba(194, 58, 49, 0.14); animation: yt-pulse 1.1s 1.6s ease-out 3; }
/* 강조선: 맨 위로 올라간 뒤(0.9초) 테두리를 한 바퀴 그린다 */
.yt-res__line { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.yt-res__line rect { fill: none; stroke: var(--yt-red); stroke-width: 2.5; stroke-dasharray: 100; stroke-dashoffset: 100; vector-effect: non-scaling-stroke; }
.yt-mock.is-after .yt-res__line rect { stroke-dashoffset: 0; transition: stroke-dashoffset 0.8s 0.85s cubic-bezier(0.6, 0, 0.2, 1); }
.yt-res__flag { position: absolute; z-index: 2; top: -12px; left: 16px; padding: 4px 10px; background: var(--yt-red); color: #FFFFFF; font-family: "YT Pretendard", sans-serif; font-size: 12px; font-weight: 600; opacity: 0; transform: translateY(6px); transition: opacity 0.2s, transform 0.2s; }
.yt-mock.is-after .yt-res__flag { opacity: 1; transform: none; transition: opacity 0.4s 1.5s, transform 0.4s 1.5s var(--yt-ease); }
.yt-thumb { flex: 0 0 236px; height: 133px; border-radius: 10px; background: #2A2A2A; position: relative; overflow: hidden; }
.yt-thumb--ours { background: #F3EFE7; }
/* 다른 영상 썸네일: 사이트 다크 톤에 묻히는 차분한 색. 우리 영상만 밝게 */
.yt-thumb--a { background: linear-gradient(135deg, #3A3B41, #26272C); }
.yt-thumb--b { background: linear-gradient(160deg, #34353A, #222327); }
.yt-thumb__copy { position: absolute; left: 12px; top: 12px; display: flex; flex-direction: column; gap: 4px; }
.yt-thumb__tag { align-self: flex-start; padding: 2px 6px; background: var(--yt-red); color: #FFFFFF; font-family: "YT Pretendard", sans-serif; font-size: 10px; font-weight: 700; }
.yt-thumb__title { font-family: "YT Pretendard", sans-serif; font-size: 22px; font-weight: 800; line-height: 1.12; color: #111111; letter-spacing: -0.04em; }
.yt-thumb__title mark { background: #FFE14D; color: inherit; padding: 0 3px; }
.yt-thumb__plain { position: absolute; left: 12px; top: 12px; font-family: "YT Pretendard", sans-serif; font-size: 19px; font-weight: 800; line-height: 1.2; color: rgba(255, 255, 255, 0.55); }
.yt-thumb--b .yt-thumb__plain { top: auto; bottom: 12px; font-size: 26px; letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.4); }
/* 썸네일 속 인물: 머리와 어깨만 있는 단순한 사람 윤곽 */
.yt-thumb__person { position: absolute; right: 18px; bottom: 0; width: 76px; height: 96px; }
.yt-thumb__person i { position: absolute; display: block; background: #8A929C; }
.yt-thumb__head { left: 20px; top: 0; width: 36px; height: 36px; border-radius: 50%; }
.yt-thumb__body { left: 0; bottom: 0; width: 76px; height: 52px; border-radius: 38px 38px 0 0; }
.yt-thumb__time { position: absolute; right: 6px; bottom: 6px; padding: 1px 4px; border-radius: 4px; background: rgba(0, 0, 0, 0.8); color: #FFFFFF; font-size: 12px; font-weight: 500; }
.yt-res__meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.yt-res__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; line-height: 1.4; color: #F1F1F1; }
.yt-res__sub { font-size: 12px; color: #AAAAAA; }
.yt-res__ch { display: flex; align-items: center; gap: 8px; margin: 3px 0; font-size: 12px; color: #AAAAAA; }
.yt-res__chicon { width: 22px; height: 22px; border-radius: 50%; background: #2E4A6B; color: #FFFFFF; font-size: 10px; font-weight: 500; display: inline-flex; align-items: center; justify-content: center; }
.yt-res__chicon--a { background: #4A4C53; }
.yt-res__chicon--b { background: #4A4C53; }
.yt-res__desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12px; line-height: 1.5; color: #AAAAAA; }
.yt-res__desc b { color: #DDDDDD; font-weight: 500; }

/* 카드 그리드 */
.yt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 24px; }
/* 진료과 6개를 3열 2줄로 */
.yt-grid--14 { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 16px; }
.yt-card { position: relative; padding: 36px 32px 32px; display: flex; flex-direction: column; gap: 12px; }
/* 선 카드: 서브페이지 REVIEW 카드처럼 1px 선 */
.yt-card--line { border: 1px solid var(--yt-line); background: transparent; padding: 32px 28px 28px; gap: 14px; }
.yt-card__label { font-size: 18px; font-weight: 600; color: var(--yt-text); }

/* PROBLEM 말풍선: 메인 RECOMMEND(.main-09-02 li). 흰 1px 박스, 꼬리 삼각형이 왼쪽·오른쪽 번갈아, 마우스를 올리면 빨간 채움 */
.yt-bubbles { display: flex; flex-direction: column; align-items: center; gap: 44px; }
.yt-bubble { position: relative; width: min(100%, var(--w, 720px)); padding: 26px 40px; border: 1px solid #FFFFFF; text-align: center; transition: background-color 0.3s ease, border-color 0.3s ease; }
.yt-bubble:nth-child(1) { --w: 660px; }
.yt-bubble:nth-child(2) { --w: 760px; }
.yt-bubble:nth-child(3) { --w: 840px; }
.yt-bubble::before { content: ""; position: absolute; top: 100%; border: 10px solid transparent; border-top-color: #FFFFFF; transition: border-color 0.3s ease; }
.yt-bubble:nth-child(odd)::before { left: -1px; border-left-color: #FFFFFF; }
.yt-bubble:nth-child(even)::before { right: -1px; border-right-color: #FFFFFF; }
.yt-bubble:hover { border-color: var(--yt-red); background: var(--yt-red); }
.yt-bubble:hover::before { border-top-color: var(--yt-red); }
.yt-bubble:nth-child(odd):hover::before { border-left-color: var(--yt-red); }
.yt-bubble:nth-child(even):hover::before { border-right-color: var(--yt-red); }
.yt-bubble__q { font-size: 22px; font-weight: 600; line-height: 1.4; }
.yt-bubble__a { padding-top: 8px; font-weight: 300; font-size: 17px; line-height: 1.6; color: var(--yt-text-2); transition: color 0.3s; }
.yt-bubble:hover .yt-bubble__a { color: #FFFFFF; }

/* SIGNATURE KEYWORD */
.yt-sig__top { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-end; }
.yt-sig__top .yt-head { flex: 1 1 520px; min-width: 0; }
.yt-sig__search { flex: 1 1 320px; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 20px 24px; background: #FFFFFF; color: #000000; }
.yt-sig__search strong { font-size: 26px; font-weight: 700; }
.yt-sig__search em { margin-left: auto; padding: 5px 12px; background: var(--yt-red); color: #FFFFFF; font-size: 14px; font-weight: 600; font-style: normal; }
.yt-flow { display: flex; flex-wrap: wrap; gap: 16px; align-items: stretch; }
.yt-flow__box { flex: 1 1 300px; min-width: 0; border: 1px solid var(--yt-line); padding: 32px; display: flex; flex-direction: column; gap: 8px; }
.yt-flow__box--accent { border-color: var(--yt-red); background: var(--yt-red); }
.yt-flow__label { align-self: flex-start; padding: 2px 10px; background: var(--yt-dark-2); font-size: 15px; font-weight: 600; color: #FFFFFF; }
.yt-flow__box--accent .yt-flow__label { background: rgba(0, 0, 0, 0.25); }
.yt-flow__title { margin-top: 8px; font-size: 22px; font-weight: 600; }
.yt-flow__text { font-weight: 300; font-size: 17px; line-height: 1.6; color: var(--yt-text-2); }
.yt-flow__box--accent .yt-flow__text { color: #FFFFFF; }

/* KEYWORD 검색 단계: 메인 MARKETING STRATEGY(.main-07-03) 흐름표. 칸 머리 아래 선 위에 꺾쇠(›)로 잇는다 */
.yt-funnel { display: grid; grid-template-columns: 1fr 1fr 1.3fr; border: 1px solid var(--yt-text); }
.yt-funnel__step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0 24px 36px; text-align: center; }
.yt-funnel__step + .yt-funnel__step { border-left: 1px solid var(--yt-text); }
.yt-funnel__label { align-self: stretch; margin: 0 -24px 20px; padding: 18px 0; border-bottom: 1px solid var(--yt-text); font-size: 20px; font-weight: 600; }
.yt-funnel__step:not(:last-child)::after { content: ""; position: absolute; z-index: 1; top: 59px; right: -9px; width: 16px; height: 16px; border-top: 1px solid var(--yt-text); border-right: 1px solid var(--yt-text); background: #FFFFFF; transform: rotate(45deg); }
.yt-funnel__kw { font-size: 22px; font-weight: 600; }
.yt-funnel__state { font-weight: 300; font-size: 17px; line-height: 1.6; color: var(--yt-text-2); }
.yt-funnel__step--3 { background: var(--yt-black); color: #FFFFFF; }
.yt-funnel__step--3 .yt-funnel__label { border-bottom-color: var(--yt-red); background: var(--yt-red); }
.yt-funnel__step--3 .yt-funnel__state { color: rgba(255, 255, 255, 0.72); }
.yt-funnel__step--3 .yt-funnel__state b { color: #FFFFFF; }

/* 큰 패널(키워드 찾기 CTA, 기존 영상): 메인 Q&A 박스처럼 오른쪽 아래 매달린 삼각형 */
.yt-panel { position: relative; padding: 48px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.yt-panel--dark { background: var(--yt-dark); }
.yt-panel--light { --yt-text: #000000; --yt-text-2: #444444; --yt-line: #D5D5D5; background: #FFFFFF; color: #000000; }
.yt-panel__copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.yt-panel--light .yt-panel__copy { flex-basis: 340px; }
.yt-panel__label { font-size: 16px; font-weight: 600; color: var(--yt-red-light); }
.yt-panel--light .yt-panel__label { color: var(--yt-red); }
.yt-panel__title { font-size: 30px; font-weight: 600; line-height: 1.4; }
.yt-panel__text { font-weight: 300; font-size: 18px; line-height: 1.7; color: var(--yt-text-2); }
.yt-panel__side { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.yt-kwchip { padding: 8px 16px; border-radius: var(--yt-tag-r); background: var(--yt-dark-2); font-size: 16px; color: #FFFFFF; }
.yt-kwchip--line { background: transparent; box-shadow: inset 0 0 0 1px var(--yt-red); font-weight: 600; }
.yt-kwchip--on { background: #FFFFFF; color: #000000; font-weight: 600; }
.yt-panel__side .yt-btn { margin-top: 8px; }
.yt-steps { flex: 1 1 520px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; counter-reset: yt-step; }
.yt-steps__item { counter-increment: yt-step; background: var(--yt-gray); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.yt-steps__title { font-size: 18px; font-weight: 600; }
.yt-steps__title::before { content: "0" counter(yt-step) "."; display: block; margin-bottom: 6px; font-size: 18px; color: var(--yt-red); }
.yt-steps__text { font-weight: 300; font-size: 16px; line-height: 1.6; color: var(--yt-text-2); }

/* 비교표: 빨간 윗선 + 1px 선 */
.yt-table { border-top: 1px solid var(--yt-text); border-bottom: 1px solid var(--yt-line); }
.yt-table__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--yt-line); font-size: 18px; line-height: 1.6; }
.yt-table__row > div { padding: 24px; }
.yt-table__row > div:first-child { font-weight: 600; }
.yt-table__row > div:nth-child(2) { font-weight: 300; color: var(--yt-muted); }
.yt-table__row > div:nth-child(3) { font-weight: 500; }
.yt-table__row--head { border-top: 0; background: var(--yt-black); font-size: 16px; font-weight: 600; }
.yt-table__row--head > div { padding: 18px 24px; }
.yt-table__row--head > div:first-child { color: var(--yt-muted); }
.yt-table__row--head > div:nth-child(2) { font-weight: 600; }
.yt-table__row--head > div:nth-child(3) { color: var(--yt-red-light); font-weight: 600; }

/* 최적화 × 활성화 */
.yt-method { display: flex; flex-wrap: wrap; align-items: stretch; justify-content: center; gap: 16px; }
.yt-method__box { position: relative; flex: 1 1 300px; padding: 40px 36px 36px; display: flex; flex-direction: column; gap: 14px; }
/* 최적화: 대표 소개 박스처럼 빨간 테두리 + 왼쪽 위 삼각형 */
.yt-method__box--a { border: 1px solid var(--yt-line); }
.yt-method__box--b { background: var(--yt-dark); }
.yt-method__box--r { background: var(--yt-red); }
/* 카드 안 영문 라벨: 넓은 자간(style.css:1323의 0.25em) */
.yt-method__label { font-size: 14px; font-weight: 300; letter-spacing: 0.25em; text-transform: uppercase; color: var(--yt-muted); }
.yt-method__box--r .yt-method__label { color: #FFE1DE; }
.yt-method__title { font-weight: 700; font-size: 30px; line-height: 1.3; }
.yt-method__box--b .yt-method__title { color: var(--yt-red-light); }
.yt-method__text { font-weight: 300; font-size: 18px; line-height: 1.6; color: var(--yt-text-2); }
/* 목록 점: 대표 소개 박스(.main-06-02-02-06 li::before)의 빨간 원 */
.yt-method__list { font-weight: 300; font-size: 17px; line-height: 1.9; }
.yt-method__list li, .yt-profile__list li { position: relative; padding-left: 16px; }
.yt-method__list li::before, .yt-profile__list li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 5px; height: 5px; border-radius: 50%; background: var(--yt-red); }
.yt-method__box--r .yt-method__list li::before { background: #FFFFFF; }
.yt-method__result { margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.35); font-size: 18px; font-weight: 600; }

/* WHAT WE DO 항목 머리: 메인 .main-06-02-01-01 h3 — "01." 빨간 번호(한 줄) / 제목 + 회색 영문 + 빨간 1px 선 */
.yt-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(520px, 100%), 1fr)); gap: 72px 80px; counter-reset: yt-item; }
.yt-item { counter-increment: yt-item; }
.yt-item__head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3em 0.5em; padding-bottom: 24px; font-size: 22px; font-weight: 600; line-height: 1.5; }
.yt-item__head::before { content: "0" counter(yt-item) "."; width: 100%; font-size: 20px; color: var(--yt-red); }
.yt-item__head small { font-weight: 300; font-size: 20px; color: var(--yt-muted); }
.yt-item__head::after { content: ""; flex: 1; min-width: 40px; border-top: 1px solid var(--yt-red); }
.yt-item__text { font-weight: 300; font-size: 18px; line-height: 1.7; color: var(--yt-text-2); }

/* 배경 사진(Pixabay, 이미 흑백): 구역 배경 위에 은은하게 깐다. 상담 구역은 메인 MARKETING STRATEGY(.main-07)처럼 어두운 덮개 */
.yt-sec--bg-shutter, .yt-sec--bg-work, .yt-sec--photo { position: relative; isolation: isolate; }
.yt-sec--bg-shutter::before, .yt-sec--bg-work::before { content: ""; position: absolute; z-index: -1; inset: 0; background: no-repeat center / cover; pointer-events: none; }
/* 셔터 사진(1280×520, 카메라·손 윤곽)은 늘리지 않고 오른쪽에 두어 윤곽이 말풍선 옆 빈 곳에 비치게 한다 */
.yt-sec--bg-shutter::before { background-image: url("img/hero-shutter.jpg"); background-size: 1600px auto; background-position: right -480px center; opacity: 0.6; mix-blend-mode: screen; }
@media (max-width: 1024px) {
  .yt-sec--bg-shutter::before { background-size: 160% auto; background-position: center bottom; }
}
.yt-sec--bg-work::before { background-image: url("img/work-clapperboard.jpg"); opacity: 0.12; }
.yt-sec--photo { background: #000000 url("img/contact-stethoscope.jpg") no-repeat center / cover; }
.yt-sec--photo::before { content: ""; position: absolute; z-index: -1; inset: 0; background: rgba(0, 0, 0, 0.82); }

/* 빨간 윗선이 왼쪽부터 그어지는 블록(PROCESS). 스크립트가 없으면 처음부터 다 그어져 있다. */
.yt-reveal-line { background: linear-gradient(var(--yt-text), var(--yt-text)) no-repeat left top / 100% 1px; padding-top: 1px; }

/* PROCESS: 빨간 선 아래 단계마다 작은 삼각형 */
.yt-process { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.yt-process__item { position: relative; padding: 28px 24px 28px 0; display: flex; flex-direction: column; gap: 10px; }
.yt-process__step { font-weight: 500; font-size: 14px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--yt-red); }
.yt-process__title { font-weight: 600; font-size: 20px; line-height: 1.4; }
.yt-process__text { font-weight: 300; font-size: 16px; line-height: 1.6; color: var(--yt-text-2); }

/* WHY STARDOC: 메인 대표 소개 박스(.main-06-02-02 figure) */
.yt-why { flex-direction: row; flex-wrap: wrap; gap: 60px; }
.yt-why__copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.yt-why__side { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.yt-stats { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 8px; }
.yt-stats > div { min-width: 160px; }
.yt-stats__num { font-weight: 700; font-size: 50px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.yt-stats__num small { font-size: 24px; font-weight: 600; }
.yt-stats__label { font-weight: 300; font-size: 16px; color: var(--yt-text-2); }
.yt-profile { position: relative; padding: 40px 36px 36px; border: 1px solid var(--yt-red); }
.yt-profile__title { padding-bottom: 24px; font-size: 22px; font-weight: 600; }
.yt-profile__list { display: flex; flex-direction: column; gap: 18px; }
.yt-profile__list li { font-weight: 300; font-size: 16px; line-height: 1.6; color: var(--yt-text-2); }
.yt-profile__list b { display: block; margin-bottom: 2px; font-size: 18px; color: #FFFFFF; }
.yt-mix { display: flex; flex-direction: column; gap: 16px; padding: 28px; background: var(--yt-dark); }
.yt-mix__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.yt-mix__chips span { padding: 5px 12px; border-radius: var(--yt-tag-r); background: var(--yt-dark-2); font-size: 14px; color: rgba(255, 255, 255, 0.85); }
.yt-mix__chips .yt-mix__on { background: var(--yt-red); color: #FFFFFF; font-weight: 600; }
.yt-mix__text { font-weight: 300; font-size: 15px; line-height: 1.6; color: var(--yt-text-2); }

/* FAQ: 메인 any QUESTIONS?(.main-02) — 질문 / 빨간 1px 선 / 오른쪽으로 들여 쓴 답 */
.yt-faq__list { display: flex; flex-direction: column; gap: 56px; }
.yt-faq__q { padding-bottom: 20px; border-bottom: 1px solid var(--yt-red); font-size: 22px; font-weight: 600; line-height: 1.4; }
.yt-faq__q span { margin-right: 0.2em; }
.yt-faq__a { padding: 24px 0 0 min(360px, 27%); font-weight: 300; font-size: 18px; line-height: 1.7; color: var(--yt-text-2); }

/* CONTACT: 상담문의 페이지(sub/contact.php)처럼 검은 배경에 각진 입력칸 */
.yt-contact { flex-direction: row; flex-wrap: wrap; gap: 60px; }
.yt-contact__copy { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.yt-contact__tel { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; padding-top: 24px; border-top: 1px solid var(--yt-line); font-weight: 300; font-size: 17px; color: var(--yt-text-2); }
.yt a.yt-contact__num { font-weight: 700; font-size: 36px; color: #FFFFFF; }
.yt-form { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.yt-form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.yt-field { display: flex; flex-direction: column; gap: 8px; font-size: 16px; font-weight: 500; color: inherit; }
.yt-field .contact-req { color: var(--yt-red); margin-left: 2px; }
.yt-field input { width: 100%; min-height: 50px; padding: 0 16px; border: 1px solid #BDBDBD; border-radius: 0; background: #FFFFFF; font: inherit; font-size: 18px; font-weight: 400; color: #000000; transition: border-color 0.2s; }
.yt-field input::placeholder { color: #9A9A9A; }
.yt-field input:focus { outline: 0; border-color: #000000; }
.yt-field--key > span { color: var(--yt-red); font-weight: 600; }
.yt-field--key input { min-height: 56px; border: 1px solid var(--yt-red); }
.yt-field__hint { font-weight: 300; color: var(--yt-muted); }
.yt-agree { display: flex; flex-direction: column; gap: 10px; }
.yt-agree__text { max-height: 120px; overflow-y: auto; padding: 14px 16px; border: 1px solid var(--yt-line); font-weight: 300; font-size: 14px; line-height: 1.6; color: var(--yt-text-2); }
.yt-form .yt-agree__text { max-height: none; overflow: visible; }
.yt a.yt-agree__link { align-self: flex-start; font-size: 14px; color: inherit; opacity: 0.8; text-decoration: underline; }
/* 글자 폭만큼만 누를 수 있게(align-self). 세로 flex 안이라 그대로 두면 줄 전체가 눌렸다(2026-10-21). */
.yt-agree__check { display: flex; align-self: flex-start; align-items: center; gap: 10px; font-weight: 300; font-size: 16px; cursor: pointer; }
.yt-agree__check input { width: 20px; height: 20px; margin: 0; accent-color: var(--yt-red); }
.yt-form > .yt-btn, .yt-kf-form > .yt-btn { width: 100%; min-height: 60px; margin-top: 8px; }

/* 어두운 배경 위 폼: 상담문의 페이지와 같은 투명 입력칸·반투명 흰 선 */
.yt-sec--black .yt-field input, .yt-kf-aside .yt-field input { border-color: rgba(255, 255, 255, 0.5); background: transparent; color: #FFFFFF; }
.yt-sec--black .yt-field input::placeholder, .yt-kf-aside .yt-field input::placeholder { color: rgba(255, 255, 255, 0.4); }
.yt-sec--black .yt-field input:focus, .yt-kf-aside .yt-field input:focus { border-color: #FFFFFF; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12); }
/* 테마 style.css의 input[type=text]:focus, textarea:focus가 테두리·그림자를 !important로 지워, 글자 칸을 누르면 테두리가 사라졌다(2026-10-21).
   문의 폼 안에서만 같은 강도로 되살린다. 선점 키워드 칸은 빨간 테두리를 유지한다. */
.yt-sec--black .yt-field input[type=text]:focus, .yt-kf-aside .yt-field input[type=text]:focus, .yt-field textarea:focus { border: 1px solid #FFFFFF !important; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12) !important; }
.yt-sec--black .yt-field--key input[type=text]:focus { border-color: var(--yt-red-light) !important; box-shadow: 0 0 0 3px rgba(194, 58, 49, 0.3) !important; }
.yt-field input { transition: border-color 0.2s, box-shadow 0.2s; }
/* 문의 내용(여러 줄): 어두운 배경 폼의 입력칸과 같은 모양. 유튜브·해외마케팅 폼이 쓴다 */
.yt-field textarea { width: 100%; min-height: 120px; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 0; background: transparent; font: inherit; font-size: 18px; font-weight: 400; line-height: 1.6; letter-spacing: inherit; color: #FFFFFF; resize: vertical; transition: border-color 0.2s, box-shadow 0.2s; }
.yt-field textarea::placeholder { color: rgba(255, 255, 255, 0.4); }
.yt-field textarea:focus { outline: 0; border-color: #FFFFFF; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12); }
.yt-sec--black .yt-field--key input { border-color: var(--yt-red); }
.yt-sec--black .yt-field--key > span { color: var(--yt-red-light); }

/* 키워드 찾기 페이지 */
/* 소개: 오른쪽에 자판 사진(img/kf-keyboard.jpg, 픽사베이 1869236)을 깔고 왼쪽 글 쪽으로 흐리게 지운다 */
.yt-kf-intro { position: relative; isolation: isolate; overflow: hidden; }
.yt-kf-intro::before { content: ""; position: absolute; z-index: -1; inset: 0; background: url("img/kf-keyboard.jpg") no-repeat right center / auto 100%; opacity: 0.42; -webkit-mask-image: linear-gradient(to right, transparent 30%, #000000 80%); mask-image: linear-gradient(to right, transparent 30%, #000000 80%); pointer-events: none; }
.yt-kf-intro .yt-hero__in { padding-bottom: 100px; }
.yt-kf-intro__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.yt-kf-intro .yt-hero__title { font-size: clamp(34px, 4vw, 56px); }
.yt a.yt-kf-back { align-self: flex-start; font-size: 16px; color: var(--yt-text-dark-2); }
.yt a.yt-kf-back:hover { color: #FFFFFF; }
.yt-kf-controls { gap: 40px; padding-top: 100px; padding-bottom: 100px; }
.yt-kf-group { display: flex; flex-direction: column; gap: 16px; }
.yt-kf-label { font-size: 22px; font-weight: 600; }
.yt-kf-label::before { content: "\25B6"; margin-right: 0.3em; font-size: 0.82em; color: var(--yt-red); }
.yt-kf-label span { font-weight: 300; font-size: 17px; color: var(--yt-text-2); }
.yt-kf-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.yt-kf-opt { min-height: 46px; padding: 0 22px; border: 1px solid #BDBDBD; border-radius: 0; background: #FFFFFF; color: #000000; font: inherit; font-size: 16px; font-weight: 500; cursor: pointer; transition: border-color 0.2s, background-color 0.2s, color 0.2s; }
.yt-kf-opt:hover { border-color: #000000; }
.yt-kf-opt[aria-pressed="true"] { border-color: #000000; background: #000000; color: #FFFFFF; }
.yt-kf-region { max-width: 360px; }
.yt-kf-body { flex-direction: row; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding-top: 100px; }
.yt-kf-map { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
/* 지도 제목도 항목 머리처럼: 제목 + 회색 영문 + 오른쪽으로 이어지는 빨간 선 */
.yt-kf-map__head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5em; }
.yt-kf-map__head::after { content: ""; flex: 1; min-width: 40px; border-top: 1px solid var(--yt-red); }
.yt-kf-map__title { font-size: 30px; font-weight: 700; }
.yt-kf-map__en { font-weight: 300; font-size: 22px; color: var(--yt-muted); }
.yt-kf-map__hint { font-weight: 300; font-size: 16px; color: var(--yt-text-2); }
.yt-kf-tiers, .yt-kf-form, .yt-form__fields { display: flex; flex-direction: column; gap: 16px; }
.yt-kf-tier { background: var(--yt-gray); padding: 28px; display: flex; flex-direction: column; gap: 14px; animation: yt-up 0.5s ease-in-out both; }
.yt-kf-tier:nth-child(2) { animation-delay: 0.06s; }
.yt-kf-tier:nth-child(3) { animation-delay: 0.12s; }
.yt-kf-tier:nth-child(4) { animation-delay: 0.18s; }
.yt-kf-tier__name { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 20px; font-weight: 600; }
.yt-kf-tier__badge { padding: 3px 10px; border-radius: var(--yt-tag-r); font-size: 13px; font-weight: 600; }
.yt-kf-tier__desc { font-weight: 300; font-size: 16px; line-height: 1.6; color: var(--yt-text-2); }
.yt-kf-kws { display: flex; flex-wrap: wrap; gap: 8px; }
.yt-kf-kw { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 16px; border: 1px solid #BDBDBD; border-radius: 0; background: #FFFFFF; color: #000000; font: inherit; font-size: 16px; font-weight: 500; cursor: pointer; transition: border-color 0.2s, background-color 0.2s, color 0.2s; }
.yt-kf-kw:hover { border-color: var(--yt-red); }
.yt-kf-kw::before { content: "+"; font-weight: 700; color: var(--yt-muted); }
.yt-kf-kw[aria-pressed="true"] { border-color: var(--yt-red); background: var(--yt-red); color: #FFFFFF; }
.yt-kf-kw[aria-pressed="true"]::before { content: "\2713"; color: #FFFFFF; }
.yt-kf-note { font-weight: 300; font-size: 14px; color: #6B6B6B; }
/* PC: 신청 박스가 페이지 처음부터 끝까지 오른쪽에 떠서 따라다닌다.
   .yt-kf-dock이 본문(main) 전체 높이의 오른쪽 칸을 잡고, 박스는 그 안에서 sticky로 붙는다. 그래서 푸터 앞에서 멈춘다.
   본문은 박스 자리만큼 오른쪽을 비운다. 박스가 화면보다 길어지면 박스 안에서 스크롤한다. */
.yt-kf-page { position: relative; --yt-kf-panel: clamp(340px, 28vw, 410px); }
.yt-kf-page .yt-wrap, .yt-kf-page .yt-hero__in { padding-right: calc(var(--yt-gutter) + var(--yt-kf-panel) + 48px); }
.yt-kf-dock { position: absolute; z-index: 2; top: calc(var(--yt-header-h) + 40px); bottom: 80px; right: var(--yt-gutter); width: var(--yt-kf-panel); pointer-events: none; }
.yt-kf-aside { pointer-events: auto; position: sticky; top: calc(var(--yt-header-h-scrolled) + 20px); max-height: calc(100vh - var(--yt-header-h) - 40px); overflow-y: auto; overscroll-behavior: contain; background: var(--yt-dark); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25); padding: 32px 28px 0; display: flex; flex-direction: column; gap: 16px; }
.yt-kf-aside__head { display: flex; align-items: baseline; justify-content: space-between; }
.yt-kf-aside__title { font-size: 18px; font-weight: 600; }
.yt-kf-aside__count { font-size: 40px; font-weight: 700; line-height: 1.2; color: var(--yt-red-light); }
.yt-kf-aside__count span { font-size: 18px; margin-left: 2px; }
.yt-kf-picked { flex: 0 0 auto; display: flex; flex-wrap: wrap; gap: 6px; max-height: 108px; overflow-y: auto; }
/* 고지문은 잘리지 않게 전부 보인다(상담 폼과 같음). 박스가 화면보다 길면 박스 안에서 스크롤하고, 신청 버튼은 아래에 남긴다 */
.yt-kf-aside .yt-agree__text { max-height: none; overflow: visible; }
.yt-kf-aside .yt-kf-form > .yt-btn { position: sticky; bottom: 0; z-index: 1; box-shadow: 0 -14px 14px -4px var(--yt-dark); }
.yt-kf-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 8px 0 12px; border: 1px solid transparent; border-radius: var(--yt-tag-r); background: var(--yt-dark-2); color: #FFFFFF; font: inherit; font-size: 14px; cursor: pointer; animation: yt-pop 0.3s var(--yt-ease) both; transition: border-color 0.2s; }
.yt-kf-chip span { font-size: 16px; line-height: 1; color: rgba(255, 255, 255, 0.6); }
.yt-kf-chip:hover { border-color: rgba(255, 255, 255, 0.5); }
.yt-kf-chip:hover span { color: #FFFFFF; }
.yt-kf-aside:focus { outline: none; }
/* PC에서 "바로 진단 신청"을 누르면 이미 떠 있는 박스를 한 번 반짝여 알려 준다(keyword.js) */
.yt-kf-aside.is-flash { animation: yt-kf-flash 1.2s ease-out; }
@keyframes yt-kf-flash { 0% { box-shadow: 0 0 0 0 rgba(194, 58, 49, 0.8), 0 20px 50px rgba(0, 0, 0, 0.25); } 100% { box-shadow: 0 0 0 18px rgba(194, 58, 49, 0), 0 20px 50px rgba(0, 0, 0, 0.25); } }
/* 신청 전 확인 오류(role="alert") */
.yt-kf-error { padding: 10px 14px; border-left: 3px solid var(--yt-red-light); background: rgba(194, 58, 49, 0.18); font-size: 15px; color: #FFFFFF; }
.yt-kf-error[hidden] { display: none; }
/* 바로가기로 이동했을 때 고정 헤더에 가리지 않게 */
#kf_pick, #kf_apply { scroll-margin-top: calc(var(--yt-header-h-scrolled) + 20px); }
/* 모바일·태블릿 하단 바로가기. PC는 신청 박스가 따라다니므로 쓰지 않는다 */
.yt-kf-bar { display: none; }
.yt-kf-empty { font-weight: 300; font-size: 16px; line-height: 1.6; color: var(--yt-text-2); }
.yt-kf-aside__note { padding-bottom: 28px; font-weight: 300; font-size: 14px; line-height: 1.6; color: var(--yt-text-2); }

/* 움직임 */
@keyframes yt-up { from { opacity: 0; transform: translate3d(0, 30px, 0); } to { opacity: 1; transform: none; } }
@keyframes yt-pop { from { opacity: 0; transform: scale(0.85); } to { opacity: 1; transform: none; } }
@keyframes yt-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes yt-blink { 50% { opacity: 0; } }
@keyframes yt-pulse { 0% { box-shadow: 0 0 0 0 rgba(194, 58, 49, 0.9); background-color: rgba(194, 58, 49, 0.34); } 100% { box-shadow: 0 0 0 22px rgba(194, 58, 49, 0); background-color: rgba(194, 58, 49, 0.14); } }

@media (prefers-reduced-motion: no-preference) {
  /* 히어로: 첫 화면은 스크립트 없이 CSS만으로 차례로 떠오른다 */
  .yt-hero__copy > *, .yt-hero__mock { animation: yt-up 0.8s ease-in-out both; }
  .yt-hero__copy > :nth-child(2) { animation-delay: 0.1s; }
  .yt-hero__copy > :nth-child(3) { animation-delay: 0.2s; }
  .yt-hero__copy > :nth-child(4) { animation-delay: 0.3s; }
  .yt-hero__copy > :nth-child(5) { animation-delay: 0.4s; }
  .yt-hero__copy > :nth-child(6) { animation-delay: 0.5s; }
  .yt-hero__mock { animation-delay: 0.35s; }

  /* 스크롤 등장: 메인과 같은 30px·0.5초 떠오름(sweep-y-reverse). youtube.js가 .yt-anim·.yt-reveal·.is-in을 붙인다 */
  .yt-anim .yt-reveal { opacity: 0; transform: translate3d(0, 30px, 0); transition-property: opacity, transform; transition-duration: 0.6s; transition-timing-function: ease-in-out; }
  .yt-anim .yt-reveal.is-in { opacity: 1; transform: none; }
  /* 말풍선은 등장 효과와 함께 색 전환(배경·테두리 0.3초)도 유지해 꼬리 삼각형과 같은 때 바뀌게 한다 */
  .yt-anim .yt-reveal.yt-bubble { transition-property: opacity, transform, background-color, border-color; transition-duration: 0.6s, 0.6s, 0.3s, 0.3s; transition-timing-function: ease-in-out, ease-in-out, ease, ease; }
  .yt-anim .yt-reveal-line { background-size: 0 1px; transition-property: opacity, transform, background-size; transition-duration: 0.6s, 0.6s, 1.4s; }
  .yt-anim .yt-reveal-line.is-in { background-size: 100% 1px; }
  /* 항목 머리·FAQ의 빨간 선은 블록이 나타난 뒤 왼쪽부터 그어진다(메인 .main-12-01::after처럼) */
  .yt-anim .yt-reveal .yt-item__head::after, .yt-anim .yt-reveal .yt-faq__q { transition: transform 1s 0.3s var(--yt-ease), background-size 1s 0.3s var(--yt-ease); }
  .yt-anim .yt-reveal .yt-item__head::after { transform: scaleX(0); transform-origin: left; }
  .yt-anim .yt-reveal.is-in .yt-item__head::after { transform: none; }
  .yt-anim .yt-reveal .yt-faq__q { border-bottom-color: transparent; background: linear-gradient(var(--yt-red), var(--yt-red)) no-repeat left bottom / 0 1px; }
  .yt-anim .yt-reveal.is-in .yt-faq__q { background-size: 100% 1px; }
}

/* 태블릿·모바일: 사이트처럼 1024px 아래에서 제목·본문을 화면 폭에 맞춰 줄인다 */
@media (max-width: 1024px) {
  /* 문단 속 의도한 줄바꿈(<br class="yt-pc">)은 넓은 화면에서만 쓴다(메인 .main-13-02 > li p br과 같음) */
  .yt br.yt-pc { display: none; }
  .yt-wrap { gap: 56px; }
  /* 폭 비율로 줄이되 PC 크기를 넘지 않는다. 상한이 없으면 태블릿 폭(약 700~1024px)에서 PC보다 커진다 */
  .yt-eyebrow { font-size: min(7.8125vw, 50px); }
  .yt-h2 { font-size: clamp(19px, 4.6875vw, 30px); }
  .yt-lead, .yt-hero__desc, .yt-hero--main .yt-hero__desc { font-size: 16px; }
  .yt-sub, .yt-kf-label { font-size: clamp(17px, 4.375vw, 22px); }
  .yt-bubble__q, .yt-panel__title, .yt-method__title, .yt-item__head, .yt-profile__title { font-size: 20px; }
  .yt-bubble__a, .yt-panel__text, .yt-method__text, .yt-item__text, .yt-faq__a, .yt-table__row { font-size: 16px; }
  .yt-item__head small { font-size: 16px; }
  .yt-faq__q { font-size: 19px; }
  .yt-faq__a { padding-left: 0; }
  .yt-stats__num { font-size: 40px; }
  .yt-mock__guide, .yt-mock__create { display: none; }
  .yt-mock__main { padding-left: 16px; }
  /* 태블릿·모바일: 떠 있지 않고 페이지 맨 아래(키워드 지도 다음)에 놓인다 */
  .yt-kf-page .yt-wrap, .yt-kf-page .yt-hero__in { padding-right: var(--yt-gutter); }
  .yt-kf-body { padding-bottom: 48px; }
  .yt-kf-dock { position: static; width: auto; padding: 0 var(--yt-gutter) min(120px, 16vw); pointer-events: auto; }
  .yt-kf-aside { position: relative; top: auto; max-height: none; overflow: visible; box-shadow: none; }
  .yt-kf-aside .yt-kf-form > .yt-btn { position: static; box-shadow: none; }
  #kf_pick, #kf_apply { scroll-margin-top: calc(var(--yt-header-h) + 16px); }
  .yt-kf-bar { position: fixed; z-index: 3; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--yt-dark); color: #FFFFFF; box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.25); transform: translateY(110%); visibility: hidden; transition: transform 0.3s var(--yt-ease), visibility 0s 0.3s; }
  .yt-kf-bar.is-on { transform: none; visibility: visible; transition: transform 0.3s var(--yt-ease); }
  .yt-kf-bar__text { font-size: 15px; }
  .yt-kf-bar__text b { font-size: 20px; color: var(--yt-red-light); }
  .yt-kf-bar .yt-btn { min-height: 48px; padding: 0 22px; font-size: 16px; }
  .yt-kf-intro::before { background-position: center bottom; background-size: cover; opacity: 0.3; -webkit-mask-image: linear-gradient(to bottom, transparent 30%, #000000 100%); mask-image: linear-gradient(to bottom, transparent 30%, #000000 100%); }
}
@media (max-width: 768px) {
  .yt { font-size: 16px; }
  .yt-wrap { gap: 44px; }
  .yt-kicker { gap: 12px; font-size: 13px; letter-spacing: 0.3em; }
  .yt-hero__in { padding-top: calc(var(--yt-header-h) + 32px); gap: 40px; }
  .yt-bubbles { gap: 32px; }
  .yt-bubble { padding: 20px; }
  .yt-card, .yt-method__box, .yt-flow__box, .yt-profile { padding: 32px 22px 24px; }
  .yt-panel { padding: 28px 22px; }
  .yt-op { width: 100%; font-size: 30px; }
  /* 검색 단계는 세로로 쌓고 꺾쇠는 아래를 향한다 */
  .yt-funnel { grid-template-columns: 1fr; }
  .yt-funnel__step + .yt-funnel__step { border-left: 0; border-top: 1px solid var(--yt-text); }
  .yt-funnel__step:not(:last-child)::after { top: auto; bottom: -9px; right: calc(50% - 8px); transform: rotate(135deg); }
  .yt-funnel__label { padding: 14px 0; font-size: 18px; }
  .yt-funnel__kw { font-size: 20px; }
  .yt-table__row { font-size: 13px; }
  .yt-table__row > div, .yt-table__row--head > div { padding: 14px 10px; }
  .yt-items { gap: 48px; }
  .yt-mock__head { gap: 10px; padding: 0 12px; }
  .yt-mock__logo sup, .yt-mock__mic, .yt-mock__bell, .yt-mock__start > .yt-mock__ico { display: none; }
  .yt-mock__logo b { font-size: 16px; }
  .yt-mock__logo svg { width: 72px; }
  .yt-mock__sbtn { flex-basis: 40px; }
  .yt-mock__query { padding: 0 10px; font-size: 13px; }
  .yt-mock__main { padding: 0 12px 16px; }
  .yt-mock__chips { gap: 6px; }
  .yt-mock__chip { height: 26px; padding: 0 10px; font-size: 12px; }
  .yt-thumb { flex-basis: 132px; height: 74px; border-radius: 8px; }
  .yt-thumb__copy { left: 7px; top: 7px; gap: 2px; }
  .yt-thumb__title { font-size: 12px; }
  .yt-thumb__tag { font-size: 7px; padding: 1px 4px; }
  .yt-thumb__plain { left: 8px; top: 8px; font-size: 12px; }
  .yt-thumb--b .yt-thumb__plain { bottom: 8px; font-size: 15px; }
  .yt-thumb__person { transform: scale(0.5); transform-origin: right bottom; right: 4px; }
  .yt-thumb__time { font-size: 10px; }
  .yt-res { gap: 10px; }
  .yt-res__title { font-size: 13px; }
  .yt-res__ch { margin: 0; }
  .yt-res__desc { display: none; }
  .yt-res__flag { font-size: 11px; left: 8px; }
  .yt-btn { min-height: 54px; padding: 0 28px; font-size: 17px; }
  .yt-kf-controls { padding-top: 64px; padding-bottom: 64px; }
  .yt-kf-body { padding-top: 64px; }
  .yt-kf-aside { padding: 32px 20px 0; }
  .yt-kf-aside__note { padding-bottom: 24px; }
}
