@charset "UTF-8";

/*========================
FoodDrink Hero Start
========================*/

/* ── Base: 랜딩 서브 히어로 공통 ── */
.mj_landing_hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: calc(var(--mj_header_h) + 60px) 0 60px;
  overflow: hidden;
  color: var(--mj_color_white);
}

/* ── 배경 이미지 ── */
.mj_fdhero_bg {
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: 0;
}
.mj_fdhero_bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ── 하단 바 슬라이드 (배경 앞, 음식 뒤) ── */
.mj_fdhero_btm_bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}
.mj_fdhero_btm_bar_track {
  display: flex;
  width: max-content;
  animation: mj_rolling_left 80s linear infinite;
}
.mj_fdhero_btm_bar_track figure {
  flex-shrink: 0;
  min-width: 100vw;
  margin: 0;
}
.mj_fdhero_btm_bar_track img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── 왼쪽 음식 (섹션 기준 absolute) ── */
.mj_fdhero_food {
  position: absolute;
  bottom: 0;
  margin: 0;
  z-index: 2;
}
.mj_fdhero_food img {
  width: 100%;
  height: auto;
  display: block;
}
.mj_fdhero_food_l {
  left: -160px;
  bottom: -140px;
  width: 800px;
}

/* ── 오른쪽 음식 + 연기 래퍼 (섹션 기준 absolute) ── */
.mj_fdhero_food_r_wrap {
  position: absolute;
  bottom: -120px;
  right: -150px;
  width: 820px;
  z-index: 2;
}

/* ── 연기 (래퍼 기준 absolute) ── */
.mj_fdhero_smoke {
  position: absolute;
  bottom: 55%;
  left: 20%;
  transform: translateX(-50%);
  width: 60%;
  margin: 0;
  z-index: 2;
  pointer-events: none;
  animation: mj_smoke_rise 4s ease-in-out infinite;
}
.mj_fdhero_smoke img {
  width: 100%;
  height: auto;
}

/* ── 오른쪽 음식 이미지 (래퍼 안, 래퍼 높이 결정) ── */
.mj_fdhero_food_r {
  position: relative;
  width: 100%;
  margin: 0;
  z-index: 1;
}
.mj_fdhero_food_r img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── 컨테이너 ── */
.mj_fooddrink_hero .mj_container {
  position: relative;
  z-index: 3;
}
.mj_fdhero_inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ── 소제목: Pretendard 40px Medium ── */
.mj_fdhero_eyebrow {
  font-family: var(--mj_font_main);
  font-size: 40px;
  font-weight: var(--mj_fw_medium);
  color: #fff;
  line-height: var(--mj_lh_1);
  margin: 0 0 32px;
}

/* ── 메인 타이틀: 포인트폰트 100px 얇게 ── */
.mj_fdhero_title {
  font-family: var(--mj_font_point);
  font-size: 100px;
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0px 0 32px;
  color: var(--mj_color_white);
}

/* ── 숫자 강조 + glow 애니메이션 ── */
.mj_fdhero_title em {
  font-style: normal;
  color: var(--mj_color_red);
  -webkit-text-stroke: 4px #000;
  paint-order: stroke fill;
  filter: drop-shadow(0 0 0px rgba(233, 37, 28, 0));
  animation: mj_fdhero_num_glow 1.65s ease-in-out infinite;
}
@keyframes mj_fdhero_num_glow {
  0%,
  100% {
    filter: drop-shadow(0 0 0px rgba(233, 37, 28, 0));
  }
  50% {
    filter: drop-shadow(0 0 14px rgba(233, 37, 28, 1))
      drop-shadow(0 0 28px rgba(233, 37, 28, 0.75));
  }
}

/* ── 서브텍스트: Pretendard 28px Light / ExtraBold 강조 ── */
.mj_fdhero_sub {
  font-family: var(--mj_font_main);
  font-size: 28px;
  font-weight: 300;
  color: #fff;
  line-height: var(--mj_lh_lg);
  margin: 0;
}
.mj_fdhero_sub strong {
  font-weight: 800;
  color: var(--mj_color_white);
}

/* ── 배지 ── */
.mj_fdhero_badges {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}
.mj_fdhero_badges li {
  position: relative;
}
.mj_fdhero_badges li:not(:first-child) {
  margin-left: -56px;
}
.mj_fdhero_badges li:nth-child(1) {
  z-index: 1;
}
.mj_fdhero_badges li:nth-child(2) {
  z-index: 2;
}
.mj_fdhero_badges li:nth-child(3) {
  z-index: 3;
}
.mj_fdhero_badges li figure {
  margin: 0;
}
.mj_fdhero_badges li img {
  width: 300px;
  height: auto;
  display: block;
}

/* ── 반응형: 1480px ── */
@media (max-width: 1480px) {
  .mj_fdhero_food_l {
    left: -110px;
    bottom: -110px;
    width: 640px;
  }
  .mj_fdhero_food_r_wrap {
    right: -120px;
    bottom: -100px;
    width: 630px;
  }
  .mj_fdhero_badges li img {
    width: 260px;
  }
}

/* ── 반응형: 1280px ── */
@media (max-width: 1280px) {
  .mj_fdhero_eyebrow {
    /* font-size: 32px; */
  }
  .mj_fdhero_title {
    /* font-size: 80px; */
  }
  .mj_fdhero_sub {
    /* font-size: 22px; */
  }
  .mj_fdhero_food_l {
    left: -80px;
    bottom: -80px;
    width: 500px;
  }
  .mj_fdhero_food_r_wrap {
    right: -90px;
    bottom: -70px;
    width: 490px;
  }
  .mj_fdhero_badges li img {
    /* width: 220px; */
  }
}

/* ── 반응형: 1024px ── */
@media (max-width: 1024px) {
  .mj_fdhero_eyebrow {
    /* font-size: 26px; */
  }
  .mj_fdhero_title {
    font-size: 76px;
  }
  .mj_fdhero_sub {
    font-size: 20px;
  }
  .mj_fdhero_food_l {
    left: -60px;
    bottom: -60px;
    width: 420px;
  }
  .mj_fdhero_food_r_wrap {
    right: -70px;
    bottom: -55px;
    width: 420px;
  }
  .mj_fdhero_badges li img {
    /* width: 190px; */
  }
}

/* ── 반응형: 768px ── */
@media (max-width: 768px) {
  .mj_landing_hero {
    padding: calc(var(--mj_header_h) + 8px) 0 110px;
  }
  .mj_fdhero_eyebrow {
    /* font-size: 22px; */
    margin-bottom: 12px;
  }
  .mj_fdhero_title {
    /* font-size: clamp(44px, 13vw, 72px); */
    margin-bottom: 20px;
  }
  .mj_fdhero_title em {
    -webkit-text-stroke: 2px #000;
  }
  .mj_fdhero_sub {
    font-size: 26px;
  }
  .mj_fdhero_food_l {
    left: -20px;
    bottom: -40px;
    width: 320px;
  }
  .mj_fdhero_food_r_wrap {
    right: -30px;
    bottom: -35px;
    width: 340px;
  }
  .mj_fdhero_badges {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .mj_fdhero_badges li:not(:first-child) {
    margin-left: 0;
    margin-top: -50px;
  }
  .mj_fdhero_badges li:nth-child(1) {
    z-index: 3;
  }
  .mj_fdhero_badges li:nth-child(2) {
    z-index: 2;
  }
  .mj_fdhero_badges li:nth-child(3) {
    z-index: 1;
  }
  .mj_fdhero_badges li img {
    /* width: 180px; */
  }
  .mj_fdhero_btm_bar {
    transform: scaleY(0.5);
    transform-origin: bottom center;
  }
}

/* ── 반응형: 425px ── */
@media (max-width: 425px) {
  .mj_landing_hero {
    padding-bottom: 60px;
  }
  .mj_fdhero_eyebrow {
    font-size: 18px;
  }
  .mj_fdhero_title {
    font-size: clamp(36px, 12vw, 52px);
  }
  .mj_fdhero_sub {
    font-size: 15px;
  }
  .mj_fdhero_food_l {
    left: -15px;
    bottom: -30px;
    width: 220px;
  }
  .mj_fdhero_food_r_wrap {
    right: -20px;
    bottom: -25px;
    width: 210px;
  }
  .mj_fdhero_badges li img {
    width: 200px;
  }
  .mj_fdhero_badges li:not(:first-child) {
    margin-top: -40px;
  }
}

/*========================
FoodDrink Hero End
========================*/

/*========================
FoodDrink Sec1 키프레임
========================*/

/* 헤드라인 clip-path 왼→오 */
@keyframes mj_fd_headline_in {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0% 0 0);
  }
}

/* 서브텍스트 fade+up */
@keyframes mj_fd_sub_in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 1차만 키워드 배경 fill */
@keyframes mj_fd_kw_fill {
  from {
    background-size: 0% 100%;
  }
  to {
    background-size: 100% 100%;
  }
}

/* 뉴스카드 등장 — 데스크탑 (커진상태→기울기+정상크기) */
@keyframes mj_fd_news_1 {
  from {
    opacity: 0;
    transform: scale(1.12);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(-4deg);
  }
}
@keyframes mj_fd_news_2 {
  from {
    opacity: 0;
    transform: scale(1.12);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(2deg);
  }
}
@keyframes mj_fd_news_3 {
  from {
    opacity: 0;
    transform: scale(1.12);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(-2deg);
  }
}
@keyframes mj_fd_news_4 {
  from {
    opacity: 0;
    transform: scale(1.12);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(3.5deg);
  }
}

/* 뉴스카드 등장 — 모바일 (약한 기울기) */
@keyframes mj_fd_news_1_mob {
  from {
    opacity: 0;
    transform: scale(1.1);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(-2deg);
  }
}
@keyframes mj_fd_news_2_mob {
  from {
    opacity: 0;
    transform: scale(1.1);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(1deg);
  }
}
@keyframes mj_fd_news_3_mob {
  from {
    opacity: 0;
    transform: scale(1.1);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(-1deg);
  }
}
@keyframes mj_fd_news_4_mob {
  from {
    opacity: 0;
    transform: scale(1.1);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(2deg);
  }
}

/*========================
FoodDrink Sec1 Start
========================*/

/* ── 섹션 베이스 ── */
.mj_fdsec1 {
  position: relative;
  padding: 120px 0 160px;
  overflow: hidden;
  color: var(--mj_color_white);
}

/* ── 배경 ── */
.mj_fdsec1_bg {
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: 0;
}
.mj_fdsec1_bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ── wave 데코 ── */
.mj_fdsec1_wave {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0;
  z-index: 1;
  pointer-events: none;
}
.mj_fdsec1_wave img {
  width: 100%;
  height: auto;
  display: block;
}
.mj_fdsec1_wave_top {
  top: -120px;
}
.mj_fdsec1_wave_btm {
  bottom: -120px;
  transform: scaleY(-1);
}

/* ── 컨테이너 ── */
.mj_fdsec1 .mj_container {
  position: relative;
  z-index: 2;
}

/* ── 오브제: 섹션 기준 절대 배치 ── */
.mj_fdsec1_objet_l,
.mj_fdsec1_objet_r {
  position: absolute;
  top: -40px;
  z-index: 2;
  pointer-events: none;
}
.mj_fdsec1_objet_l {
  left: -70px;
}
.mj_fdsec1_objet_r {
  right: -170px;
}

/* ── 음식 이미지 공통 ── */
.mj_fdsec1_food {
  margin: 0;
  display: block;
  position: relative;
}
.mj_fdsec1_food img {
  width: 100%;
  height: auto;
  display: block;
}
.mj_fdsec1_food_l {
  width: 660px;
}
.mj_fdsec1_food_r {
  width: 740px;
}

/* ── 원형 아이콘 ── */
.mj_fdsec1_icon {
  position: absolute;
  margin: 0;
}
.mj_fdsec1_icon img {
  width: 100%;
  height: auto;
  display: block;
}
.mj_fdsec1_icon_bab {
  width: 200px;
  bottom: -90px;
  right: 100px;
}
.mj_fdsec1_icon_sul {
  width: 200px;
  top: 120px;
  left: -20px;
}

/* ── 헤드라인 텍스트 ── */
.mj_fdsec1_text {
  text-align: center;
  margin-bottom: 72px;
}
.mj_fdsec1_headline {
  font-family: var(--mj_font_point);
  font-size: 60px;
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--mj_color_white);
}
/* wrapper: mj_reveal opacity/transition 오버라이드 (div 자체는 보임) */
.mj_fdsec1_text.mj_reveal {
  opacity: 1;
  transition: none;
}
/* 헤드라인: clip-path로 초기 숨김 */
.mj_fdsec1_headline {
  clip-path: inset(0 100% 0 0);
}
/* parent mj_active 시 자식 순차 등장 (cascade 충돌 없음) */
.mj_fdsec1_text.mj_reveal.mj_active .mj_fdsec1_headline:nth-child(1) {
  animation: mj_fd_headline_in 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s both;
}
.mj_fdsec1_text.mj_reveal.mj_active .mj_fdsec1_headline:nth-child(2) {
  animation: mj_fd_headline_in 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s both;
}
.mj_fdsec1_keyword {
  font-style: normal;
  font-size: 98px;
  display: inline-block;
  color: var(--mj_color_white);
  padding: 12px 20px 0;
  line-height: 1;
  background-image: linear-gradient(var(--mj_color_red), var(--mj_color_red));
  background-size: 0% 100%;
  background-repeat: no-repeat;
  background-position: left center;
}
/* ── 서브텍스트 ── */
.mj_fdsec1_sub {
  font-size: 28px;
  font-weight: 300;
  line-height: 1.5;
  margin: 28px 0 0;
  color: var(--mj_color_white);
  opacity: 0; /* 등장 전 숨김 */
}
.mj_fdsec1_sub strong {
  font-weight: 700;
}
/* 서브: 헤드라인과 겹치게 */
.mj_fdsec1_text.mj_reveal.mj_active .mj_fdsec1_sub {
  animation: mj_fd_sub_in 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1s both;
}
/* 키워드 배경: 헤드라인 2 등장 중 */
.mj_fdsec1_text.mj_reveal.mj_active .mj_fdsec1_keyword {
  animation: mj_fd_kw_fill 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.8s forwards;
}

/* ── 뉴스카드 ── */
.mj_fdsec1_news {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  /* gap: 0; */
  list-style: none;
  margin: 0;
  padding: 0;
}
.mj_fdsec1_news_item {
  flex-shrink: 0;
  width: 430px;
  margin-left: -60px;
  position: relative;
}
.mj_fdsec1_news_item:nth-child(1) {
  margin-left: 0;
  z-index: 4;
}
.mj_fdsec1_news_item:nth-child(2) {
  z-index: 3;
}
.mj_fdsec1_news_item:nth-child(3) {
  z-index: 2;
}
.mj_fdsec1_news_item:nth-child(4) {
  z-index: 1;
}
.mj_fdsec1_news_item figure {
  margin: 0;
}
.mj_fdsec1_news_item img {
  width: 100%;
  height: auto;
  display: block;
}

/* 뉴스카드: transition 비활성화, animation으로 대체 */
.mj_fdsec1_news_item.mj_reveal {
  opacity: 0;
  transform: scale(1.12);
  transition: none;
}
/* 각 카드: 텍스트 완료(~1.5s) 이후 순차 등장 */
.mj_fdsec1_news_item:nth-child(1).mj_reveal {
  animation: mj_fd_news_1 0.75s cubic-bezier(0.22, 1, 0.36, 1) 1.3s both paused;
}
.mj_fdsec1_news_item:nth-child(2).mj_reveal {
  animation: mj_fd_news_2 0.75s cubic-bezier(0.22, 1, 0.36, 1) 1.5s both paused;
}
.mj_fdsec1_news_item:nth-child(3).mj_reveal {
  animation: mj_fd_news_3 0.75s cubic-bezier(0.22, 1, 0.36, 1) 1.7s both paused;
}
.mj_fdsec1_news_item:nth-child(4).mj_reveal {
  animation: mj_fd_news_4 0.75s cubic-bezier(0.22, 1, 0.36, 1) 1.9s both paused;
}
/* mj_active 붙으면 재생 */
.mj_fdsec1_news_item.mj_reveal.mj_active {
  animation-play-state: running;
}

/* ── Sec1 반응형: 1480px ── */
@media (max-width: 1480px) {
  .mj_fdsec1_food_l {
    width: 520px;
  }
  .mj_fdsec1_food_r {
    width: 580px;
  }
  .mj_fdsec1_icon_bab {
    width: 160px;
    bottom: -70px;
    right: 80px;
  }
  .mj_fdsec1_icon_sul {
    width: 160px;
    top: 100px;
    left: -10px;
  }
  .mj_fdsec1_headline {
    font-size: 54px;
  }
  .mj_fdsec1_keyword {
    font-size: 82px;
  }
  .mj_fdsec1_sub {
    font-size: 24px;
  }
  .mj_fdsec1_news_item {
    width: 360px;
    margin-left: -52px;
  }
}

/* ── Sec1 반응형: 1280px ── */
@media (max-width: 1280px) {
  .mj_fdsec1_objet_l {
    left: -50px;
  }
  .mj_fdsec1_objet_r {
    right: -130px;
  }
  .mj_fdsec1_food_l {
    width: 420px;
  }
  .mj_fdsec1_food_r {
    width: 480px;
  }
  .mj_fdsec1_icon_bab {
    width: 140px;
    bottom: -60px;
    right: 60px;
  }
  .mj_fdsec1_icon_sul {
    width: 140px;
    top: 80px;
    left: -10px;
  }
  .mj_fdsec1_headline {
    font-size: 46px;
  }
  .mj_fdsec1_keyword {
    font-size: 68px;
  }
  .mj_fdsec1_sub {
    font-size: 22px;
  }
  .mj_fdsec1_news_item {
    width: 300px;
    margin-left: -44px;
  }
}

/* ── Sec1 반응형: 1024px ── */
@media (max-width: 1024px) {
  .mj_fdsec1_objet_l {
    left: -30px;
    top: -20px;
  }
  .mj_fdsec1_objet_r {
    right: -100px;
    top: -20px;
  }
  .mj_fdsec1_food_l {
    width: 340px;
  }
  .mj_fdsec1_food_r {
    width: 380px;
  }
  .mj_fdsec1_icon_bab {
    width: 110px;
    bottom: -50px;
    right: 40px;
  }
  .mj_fdsec1_icon_sul {
    width: 110px;
    top: 60px;
    left: -5px;
  }
  .mj_fdsec1_headline {
    font-size: 38px;
  }
  .mj_fdsec1_keyword {
    font-size: 56px;
  }
  .mj_fdsec1_sub {
    font-size: 18px;
  }
  .mj_fdsec1_news_item {
    width: 240px;
    margin-left: -36px;
  }
}

/* ── Sec1 반응형: 768px 이하 (모바일 레이아웃) ── */
@media (max-width: 768px) {
  .mj_fdsec1 {
    padding: 260px 0 80px;
  }

  /* 오브제 */
  .mj_fdsec1_objet_l {
    left: -20px;
    top: 0;
  }
  .mj_fdsec1_objet_r {
    right: -40px;
    top: 0;
  }
  .mj_fdsec1_food_l {
    width: 280px;
  }
  .mj_fdsec1_food_r {
    width: 300px;
  }
  .mj_fdsec1_icon_bab {
    width: 110px;
    bottom: -35px;
    right: 20px;
  }
  .mj_fdsec1_icon_sul {
    width: 110px;
    top: 60px;
    left: -10px;
  }

  /* 텍스트 */
  .mj_fdsec1_headline {
    font-size: clamp(32px, 9vw, 48px);
  }
  .mj_fdsec1_keyword {
    font-size: clamp(46px, 13vw, 68px);
    padding: 6px 12px 0;
  }
  .mj_fdsec1_sub {
    font-size: 18px;
    margin-top: 20px;
  }
  .mj_fdsec1_text {
    margin-bottom: 48px;
  }

  /* 뉴스카드: 겹침 제거 → 2열 */
  .mj_fdsec1_news {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  .mj_fdsec1_news_item {
    width: calc(50% - 5px);
    max-width: 240px;
    margin-left: 0;
  }
  .mj_fdsec1_news_item:nth-child(1),
  .mj_fdsec1_news_item:nth-child(2),
  .mj_fdsec1_news_item:nth-child(3),
  .mj_fdsec1_news_item:nth-child(4) {
    z-index: auto;
  }

  /* 모바일 keyframe으로 전환 */
  .mj_fdsec1_news_item:nth-child(1).mj_reveal {
    animation-name: mj_fd_news_1_mob;
  }
  .mj_fdsec1_news_item:nth-child(2).mj_reveal {
    animation-name: mj_fd_news_2_mob;
  }
  .mj_fdsec1_news_item:nth-child(3).mj_reveal {
    animation-name: mj_fd_news_3_mob;
  }
  .mj_fdsec1_news_item:nth-child(4).mj_reveal {
    animation-name: mj_fd_news_4_mob;
  }
}

/* ── Sec1 반응형: 425px ── */
@media (max-width: 425px) {
  .mj_fdsec1 {
    padding-top: 160px;
  }
  .mj_fdsec1_objet_l {
    left: -10px;
  }
  .mj_fdsec1_objet_r {
    right: -20px;
  }
  .mj_fdsec1_food_l {
    width: 160px;
  }
  .mj_fdsec1_food_r {
    width: 175px;
  }
  .mj_fdsec1_icon_bab {
    width: 68px;
    bottom: -24px;
    right: 14px;
  }
  .mj_fdsec1_icon_sul {
    width: 68px;
    top: 40px;
    left: -8px;
  }
  .mj_fdsec1_news_item {
    max-width: 165px;
  }
}

/* ── Sec1 반응형: 360px ── */
@media (max-width: 360px) {
  .mj_fdsec1_food_l {
    width: 130px;
  }
  .mj_fdsec1_food_r {
    width: 145px;
  }
  .mj_fdsec1_icon_bab {
    width: 56px;
  }
  .mj_fdsec1_icon_sul {
    width: 56px;
  }
  .mj_fdsec1_headline {
    font-size: 24px;
  }
  .mj_fdsec1_keyword {
    font-size: 34px;
  }
  .mj_fdsec1_sub {
    font-size: 13px;
  }
  .mj_fdsec1_news_item {
    max-width: 145px;
  }
}

/*========================
FoodDrink Sec1 End
========================*/
