@charset "utf-8";

@media screen and (min-width:768px) and (max-width:1024px) {

/* s. header */
header {
  position: absolute; 
  /* 
  20261006 화요일 메모
  static으로 하면 배경색 투명이 적용되지 않는다.
  시간이 조금 지나 생각해보니까 당연한 얘기다. 
  static position으로 레이어를 띄운게 아니라 블록처럼 테트리스로 쌓아올린다는 뜻이다. 그러니까 당연히 배경색이 투명이 될 수 없다. 레이어를 띄워야 밑에 레이어와 겹쳐지면서 투명한 레이어가 될 수 있는 것이다.
  */
  top: 0;
  left: 0;
  height: 90px;
  background-color: transparent !important;
  transition: none;
}
header h1 {
  margin-top: 19px;
  margin-left: 48px;
}
header h1 a {
  display: block;
  width: 160.4px;
  height: 46.78px;
  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: 160.4px;
  height: 46.78px;
  background: url(../images/top_logo_dark.png) no-repeat center / 100%;
}
/*
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: 10px;
  right: 14px;
  padding: 18px;

}
header .mobile_nav_wrap .btn_gnb span {
  display: block;
  font-size: 29px;
  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: 480px;
  height: 100%;
  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 */
/* 슬라이더 내부에 다시 배치하고 싶을 때 */
main .auto_slide .swiper-slide .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-pagination-bullet {
  width: 50px;
  height: 25px;
  border-radius: 5px;
}
main .auto_slide .swiper-pagination-bullet.swiper-pagination-bullet-active {
  width: 50px;
}
main .auto_slide .swiper-slide {
  width: 100%;
  height: 500px;
  overflow: hidden;
}
.auto_slide .swiper-slide .txt_line .inner {
  font-size: 30px;
  line-height: 40px;
}
.c_products h2 {
  margin-top: 70px;
  font-size: 31px;
  line-height: 52px;
}
.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(3, 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(4) {
  display: none;
}
.c_products a:last-child {
  display: none;
}
.bibigo_banner {
  margin: 132px auto 0 auto;
}
.bibigo_banner h3 {
  left: 18.00%;
  font-size: 28px;
  line-height: 40px;
}
.bibigo_banner a {
    top: 78.62%;
    left: 18%;
    height: 40px;
    line-height: 40px;
    border-radius: 20px;
    /* transform: translateY(-65px); */
}
.about_vision {
    margin-top: 132px;
    padding: 60px 10px 105px 10px;
    width: 100%;
    box-sizing: border-box;
}
.about_vision article {
  height: 400px;
}
/*
.about_vision article .pc_layout {
  width: 400px; 
}
*/
.about_vision article .pc_layout img {
  /* width: 100%; */
  width: 400px;
  border-radius: 10px;
}
.about_vision article .mobile_layout {
  display: none;
}
.about_vision article .mobile_layout img {
  display: none;
}
.about_vision h2 {
  font-size: 26px;
  line-height: 42px;
}
.about_vision article dt {
  font-size: 24px;
  line-height: 36px;
}
.about_vision article dd {
  margin-top: 10px;
  font-size: 18px;
}
.about_vision article dd p {
  margin-top: 12px;
}
.c_newsroom {
  margin: 132px auto 0 auto;
  box-sizing: border-box;
  overflow: hidden;
}
.c_newsroom .card_wrap .article:hover {
  transform: none;
}
.c_newsroom .swiper.max_width1024 {
  margin-top: 90px;
  display: block;
}
.c_newsroom .card_wrap.min_width1024 {
  display: none;
}
.c_newsroom h2 {
  font-size: 32px;
}
#btn_top {
  width: 50px;
}
#btn_top img {
  display: block;
  width: 100%;
}
/* e. contents */

/* s. footer */
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;
  text-align: left;
}
footer {
  margin-top: 158px;
  padding: 30px 0 84px 35px; /* 왼쪽 패딩을 추가 위쪽 패딩 수정 */
}
footer nav.pc,
footer .footer_social,
footer .footer_bottom {
  padding-left: 35px;
}
footer nav.pc {
  margin-top: 40px;
  justify-content: flex-start;
  gap: 108px;
  width: auto;
}
footer .footer_social {
  margin-top: 46px;
}
.footer_bottom .space_right .footer_sub {
  margin-top: 56px;
}
/* e. footer */
}
