@charset "utf-8";

@media screen and (max-width:767px) {

/* s. header */
header {
  position: absolute;
  top: 0;
  left: 0;
  height: 60px;
}
header h1 {
  margin-top: 10px;
  margin-left: 11px;
}
header h1 a {
  display: block;
  width: 126.86px;
  height: 37px;
  background: url(../images/top_logo_dark.png) no-repeat center / 100%;
}
header nav.pc {
  display: none;
}
/* -- s --
scrolled => bg #fff, logo img, search btn img
menu hover => bg #fff, logo img, search btn img
*/
header.scrolled {
  background-color: transparent;
}
header:hover h1 a {
  display: block;
  width: 126.86px;
  height: 37px;
  background: url(../images/top_logo_dark.png) no-repeat center / 100%;
}
header:hover {
  background-color: transparent;
}
/*
e.
*/
.pc_search_position {
  display: none;
}
/* s. mobile nav */
input[id="btn_gnb_toggle"] {
  display: none;
}
header .mobile_nav_wrap {
  display: block;
}
header .mobile_nav_wrap .btn_gnb {
  position: absolute;
  top: 0;
  right: -2px;
  padding: 18px;

}
header .mobile_nav_wrap .btn_gnb span {
  display: block;
  font-size: 20px;
  color: #fff;
}
.gnb {
  position: fixed;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100%;
  z-index: 5;
  transition: left 0.5s ease;
}
.nav_dim {
  position: fixed;
  top: 0;
  left: 0;
  display: none;
  width: 100%;
  height: 100%;
  z-index: 1;
}
input[id="btn_gnb_toggle"]:checked ~ .gnb {
  left: 0;
}
input[id="btn_gnb_toggle"]:checked ~  .nav_dim {
  display: block;
  background-color: rgba(0, 0, 0, 0.7);
}
header:has(input[id="btn_gnb_toggle"]:checked) ~ #btn_top {
  display: none;
}
.top_nav_wrap {
  position: absolute;
  top: 0;
  right: 0;
  width: 290px;
  height: 100%;
  /* background-color: #505050; */
  background-color: #888;
}
.top_nav_wrap .btn_gnb_close span {
  position: absolute;
  top: 28px;
  left: -50px;
  transform: scale(3);
  color: #fff;
}
.top_nav_wrap ul li {
  position: relative;
  height: 50px;
  transition: height 0.5s ease;
  overflow: hidden;
}
.top_nav_wrap ul li > button {
  display: block;
  width: 100%;
  height: 50px;
  font-size: 16px;
  text-indent: 11px;
  line-height: 50px;
  text-align: left;
  color: #fff;
  border-bottom: 1px solid #505050;
  /* background-color: #111111; */
  background-color: #e18909;
  box-sizing: border-box;
}
.top_nav_wrap ul li > button .arr {
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  width: 50px;
  height: 50px;
  background: url(../images/arr_down.png) no-repeat center / 13px 9px;
}
/* .top_nav_wrap ul li > button[title="소개 하위 메뉴"] */
.top_nav_wrap .menu_li > ul li {
  background-color: #f5f5f5;
}
.top_nav_wrap .menu_li > button:focus .arr {
  background: url(../images/arr_up.png) no-repeat center / 13px 9px;
}
.top_nav_wrap .menu_li:has(button[title="소개 하위 메뉴"]:focus) {
  height: 200px; /* 1depth menu h50 + 2depth 3*50 */
}
.top_nav_wrap .menu_li:has(button[title="식품 브랜드 하위 메뉴"]:focus) {
  height: 400px;
}
.top_nav_wrap .menu_li:has(button[title="지속가능경영 하위 메뉴"]:focus) {
  height: 250px;
}
.top_nav_wrap .menu_li:has(button[title="투자·뉴스 하위 메뉴"]:focus) {
  height: 250px;
}
.top_nav_wrap .menu_li:has(button[title="인재채용 하위 메뉴"]:focus) {
  height: 250px;
}
.top_nav_wrap .menu_li:has(button[title="고객지원 하위 메뉴"]:focus) {
  height: 150px;
}

/* 
2026.09.30 여기서 부터 시작하기
1. 2depth 높이, 등 스타일링
2. 검색영역 스타일링
*/
/* .top_nav_wrap ul li ul.sub li {

} */
.top_nav_wrap ul li ul.sub li > a {
  display: block;
  width: 100%;
  height: 50px;
  font-size: 16px;
  text-indent: 11px;
  line-height: 50px;
  color: #fff;
  /* border-bottom: 1px solid #505050; */
  border-bottom: 1px solid #aaa;
  /* background-color: #212121; */
  background-color: #444;
  box-sizing: border-box;
}
/* 검색영역 스타일링 하기 */
.nav_search {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  height: 70px;
  background-color: #2D2926;
}
.nav_search input[type="search"] {
  flex-grow: 1;
  padding: 0 10px;
  height: 30px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}
.nav_search button {
  width: 80px;
  height: 30px;
  color: #fff;
  border-radius: 5px;
  background: #666;
}
/* e. mobile nav */
header .btn_toggle_search {
  display: none;
}
/* e. header */


/* s. contents */
/* 슬라이더 내부에 다시 배치하고 싶을 때 */
.swiper-pagination-auto-slide {
  position: absolute;
  bottom: 10px; /* 밑에서부터의 거리 (원하는 만큼 조절) */
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 10; /* 슬라이드 이미지에 묻히지 않도록 정렬 */
}

/* 내부 동그라미 불릿들의 간격이나 정렬 유지 */
main .auto_slide .swiper-slide .swiper-pagination-auto-slide .swiper-pagination-bullet {
  margin: 0 4px; /* 불릿 간의 좌우 간격 */
  display: inline-block;
}
main .auto_slide .swiper-slide .swiper-pagination-auto-slide {
  /* 활성화된 불릿의 색상 (예: 주황색) */
  --swiper-pagination-color: #FF9700; 
  
  /* 비활성화된 기본 불릿의 색상 (예: 회색) */
  --swiper-pagination-bullet-inactive-color: #cccccc; 
  
  /* 비활성화된 불릿의 투명도 (0 ~ 1) */
  --swiper-pagination-bullet-inactive-opacity: 0.7; 
}
main .auto_slide .swiper-slide .swiper-pagination-bullet {
  width: 50px;
  height: 25px;
  border-radius: 5px;
}
main .auto_slide .swiper-slide .swiper-pagination-bullet.swiper-pagination-bullet-active {
  width: 50px;
}
main .auto_slide .swiper-slide {
  width: 100%;
  height: 600px;
  overflow: hidden;
}
main .auto_slide .bg_slide_01 {
  width: 100%;
  background: url(../images/m_main_slide_01.jpg) no-repeat center / cover;
}
main .auto_slide .bg_slide_02 {
  width: 100%;
  background: url(../images/m_main_slide_02.jpg) no-repeat center / cover;
}
main .auto_slide .bg_slide_03 {
  width: 100%;
  background: url(../images/m_main_slide_03.jpg) no-repeat center / cover;
}
.auto_slide .swiper-slide .txt_line .inner {
  font-size: 24px;
  line-height: 34px;
}
.c_products h2 {
  margin-top: 70px;
  font-size: 34px;
  line-height: 58px;
}
.c_products p {
  font-size: 16px;
  line-height: 24px;
}
.c_products .wrap {
  margin: 55px auto 0 auto;
    grid-template-rows: repeat(2, auto);
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}
.c_products .wrap a:hover figcaption {
  top: calc(100% - 30px);
}
.c_products .wrap a figcaption {
  top: calc(100% - 30px);
  justify-content: normal;
  background-color: rgba(237, 119, 1, 0.75);
}
.c_products .wrap a figcaption h4 {
  display: none;
}
.c_products .wrap a figcaption p {
  font-size: 14px;
  line-height: 30px;
  font-weight: normal;
}
.c_products .wrap a figcaption p:nth-of-type(1) {
  display: none;
}
.c_products a:nth-child(3) {
  display: none;
}
.c_products a:nth-child(4) {
  display: none;
}
.c_products a:nth-child(7) {
  display: none;
}
.c_products a:last-child {
  display: none;
}
.bibigo_banner {
  margin: 76px 0 0 0;
  padding: 30px;
  box-sizing: border-box;
  text-align: center;
}
.bibigo_banner .pc_banner {
  display: none;
}
.bibigo_banner .mobile_banner {
  display: block;
}
.bibigo_banner h3 {
  display: none;
}
.bibigo_banner a {
  position: static;
  display: inline-block;
  margin-top: 42px;
  width: 297px;
  height: 50px;
  line-height: 50px;
  border-radius: 25px;
  box-sizing: border-box;
}
/*
2026.10.06 화요일 메모
여기서부터 다시 시작해보자.
*/
.about_vision {
  margin-top: 99px;
  padding: 34px 10px 105px 10px;
  width: 100%;
  box-sizing: border-box;
}
.about_vision article {
  margin: 81px 0 0 0;
  display: block;
  height: auto;
}
.about_vision article .pc_layout {
  display: none;
  width: 400px;
}
.about_vision article .pc_layout img {
  display: none;
  width: 100%;
  border-radius: 0;
}
.about_vision article .mobile_layout {
  display: block;
  margin-top: 26px;
  max-height: 500px;
  overflow: hidden;
  border-radius: 30px;
}
.about_vision article .mobile_layout img {
  display: block;
  width: 100%;
  object-fit: cover;
}
.about_vision h2 {
  font-size: 23px;
  line-height: 37px;
}
.about_vision article dt {
  font-size: 20px;
  line-height: 29px;
  text-align: center;
}
.about_vision article dd {
  margin-top: 10px;
  font-size: 16px;
  line-height: 28px;
  text-align: center;
}
.about_vision article dd > p {
  text-align: left;
}
.about_vision article .txt a {
  margin-top: 22px;
  width: 297px;
  height: 50px;
  line-height: 50px;
  border-radius: 25px;
  box-sizing: border-box;
}
.c_newsroom {
    margin: 99px 0 0 0;
    padding: 0 10px;
    box-sizing: border-box;
    overflow: hidden;
}
.c_newsroom .card_wrap .article:hover {
  transform: none;
}
.c_newsroom .swiper.max_width1024 {
  margin-top: 59px;
  display: block;
}
.c_newsroom .card_wrap.min_width1024 {
  display: none;
}
.c_newsroom .card_wrap {
  gap: 15px; /*  */
}
.c_newsroom .card_wrap .article {
  padding: 0 18px 45px 18px;
  width: 300px;
  border-radius: 47px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.5s ease;
}
.c_newsroom h2 {
  font-size: 32px;
  text-align: center;
}
.c_newsroom > p {
  font-size: 16px;
  line-height: 24px;
  text-align: center;
}
.c_newsroom .card_wrap .badge {
  margin-top: 36px;
}
.c_newsroom .card_wrap .card_tit {
  font-size: 20px;
  line-height: 30px;
}
.c_newsroom .btn_more {
  margin-top: 54px;
  width: 297px;
  height: 50px;
  line-height: 50px;
  border-radius: 25px;
  box-sizing: border-box;
}
#btn_top {
  width: 50px;
}
#btn_top img {
  display: block;
  width: 100%;
}
/* e. contents */

/* s. footer */
footer {
  margin-top: 125px;
}
footer .footer_top {
  display: block; /* flex 로 가로로 나열했던 것을 한 줄씩으로. */
}
footer nav.pc .row2 {
  display: none; /* 두 번째 칸을 삭제하고 요소를 첫번 칸 마지막에 보이게 한다 */
}
footer nav.pc .row1_last {
  display: block; /* 기본 레이아웃에서 display: none 상태 */
}
footer .footer_social .family_site .faily_toggle_layer {
  /* right: calc(100% - 155px); */
  right: calc(100% - 180px);
}
footer .footer_social .sns ul {
  justify-content: flex-start; /* 오른쪽으로 보냈던 걸 다시 왼쪽 정렬로 변경 */
}
footer .footer_bottom {
  margin-top: 10px;
  flex-direction: column;
}
footer .footer_bottom .space_left {
  display: none; /* pc 버전에서 레이아웃을 맞추는 용도에 div 삭제 */
}
.footer_bottom .space_right .footer_sub {
  position: static;
  margin-top: 30px;
  text-align: left;
}
footer {
  margin-top: 158px;
  padding: 17px 0 49px 20px; /* 왼쪽 패딩 수정, 위쪽 패딩 수정 */
}
footer nav.pc,
footer .footer_social,
footer .footer_bottom {
  padding-left: 5px;
}
footer nav.pc {
  margin-top: 40px;
  justify-content: flex-start;
  gap: 24px;
  width: auto;
}
footer nav.pc ul li a {
  font-size: 13px;
}
footer .footer_social {
  margin-top: 46px;
}
/* e. 태블릿에서 설정한 것을 가져와서 모바일에 맞게 수정하자 */

footer .footer_bottom address p span {
  display: block;
}
/* e. footer */
}