/* ============================================================
   content.css
   여러 페이지에서 재사용하는 콘텐츠 컴포넌트(바로가기 타일,
   게시판 탭/목록, 갤러리, 파트너 로고 캐러셀)를 담당한다.
   메인 페이지 전용 배치(히어로 배너 등)는 main.css에 둔다.
   ============================================================ */

/* ===== 사업소개 상세 (기획서 11p: 사진갤러리 + 한줄소개 + 버튼 + 제품상세정보) ===== */
.biz-detail-wrap {
  padding-top: 8px;
}

.biz-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 64px;
}

.biz-gallery {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: 20px;
  overflow: hidden;
  background: var(--paper-alt);
  box-shadow: 0 20px 40px rgba(15, 45, 74, .12);
}

.biz-gallery img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .6s ease;
}

.biz-gallery img.active {
  opacity: 1;
}

.biz-gallery-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  display: flex;
  justify-content: center;
  gap: 7px;
  z-index: 2;
}

.biz-gallery-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}

.biz-gallery-dots button.active {
  background: #fff;
  width: 22px;
  border-radius: 5px;
}

.biz-info {
  padding-top: 14px;
}

.biz-info h3 {
  font-size: 30px;
  font-weight: 800;
  color: var(--green-900);
  margin: 0 0 20px;
}

.biz-info p {
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--ink-muted);
  margin: 0 0 36px;
}

.biz-info-btns {
  display: flex;
  gap: 10px;
}

.btn-biz {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 30px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
}

.btn-biz-primary {
  background: var(--green-900);
  color: #fff;
}

.btn-biz-primary:hover {
  background: var(--green-700);
}

.btn-biz-list {
  background: #fff;
  border: 1px solid var(--line-strong);
  color: var(--ink-muted);
}

.btn-biz-list:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.biz-detail-section {
  border-top: 2px solid var(--ink);
  padding-top: 32px;
}

.biz-detail-section h4 {
  font-size: 20px;
  font-weight: 800;
  color: var(--green-900);
  margin: 0 0 24px;
}

.biz-detail-body {
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
  min-height: 80px;
}

.biz-detail-body img {
  max-width: 100%;
  border-radius: 12px;
}

@media (max-width:768px) {
  .biz-detail {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .biz-info {
    padding-top: 0;
  }

  .biz-info h3 {
    font-size: 24px;
  }
}

/* ===== 인사말형 콘텐츠 (사진 + 텍스트) ===== */
.greeting {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px 110px;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: start;
}

.greeting-photo {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(15, 45, 74, .14);
}

.greeting-photo img {
  width: 100%;
  display: block;
}

.greeting-text {
  font-size: 16.5px;
  line-height: 1.9;
  color: var(--ink);
  padding-top: 8px;
}

.greeting-text p {
  margin: 0 0 22px;
}

.greeting-text .sign {
  margin-top: 36px;
  text-align: right;
  font-size: 17px;
  font-weight: 700;
  color: var(--green-900);
}

@media (max-width:768px) {
  .greeting {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 80px;
  }

  .greeting-photo {
    max-width: 280px;
    margin: 0 auto;
  }
}

/* ===== 바로가기 타일 ===== */
.tile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: repeat(4, 1fr);
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  color: #fff;
  overflow: hidden;
}

.tile-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(.7) brightness(1.06);
  transform: scale(1);
  transition: transform .6s cubic-bezier(.22, .9, .32, 1), opacity .3s ease, filter .3s ease;
  will-change: transform;
}

.tile.photo {
  background-color: #8d8b8a;
}

.tile.photo .tile-bg {
  opacity: .35;
  filter: saturate(.55) brightness(.98);
}

.tile.photo:hover .tile-bg {
  transform: scale(1.12);
  opacity: .35;
}

.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(52, 46, 40, .34);
}

.tile.photo::before {
  background: rgba(137, 123, 94, .35);
}

.tile.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(20, 17, 14, .2);
  opacity: 0;
  transition: opacity .45s ease;
}

.tile.photo:hover::after {
  opacity: 1;
}

.tile.solid::before {
  background: transparent;
}

.tile.solid-blue {
  background-color: #4892d8;
}

.tile.solid-green {
  background-color: #aace50;
}

.tile.solid-pink {
  background-color: #72b8d8;
}

.tile.solid-orange {
  background-color: #67c09b;
}

.tile .ic,
.tile .kr,
.tile .en {
  position: relative;
  z-index: 2;
  transition: transform .35s cubic-bezier(.4, 0, .2, 1), filter .3s ease, opacity .3s ease, letter-spacing .3s ease, text-shadow .3s ease;
}

.tile .ic {
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  opacity: .92;
}

.tile:hover .ic {
  transform: translateY(-5px) scale(1.1);
  opacity: 1;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, .45));
}

.tile:hover .kr {
  transform: translateY(-3px);
  letter-spacing: .01em;
  text-shadow: 0 3px 12px rgba(0, 0, 0, .28);
}

.tile:hover .en {
  transform: translateY(-3px);
  opacity: 1;
}

.tile .kr {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.tile .en {
  font-size: 13px;
  letter-spacing: .08em;
  margin-top: 7px;
  opacity: .85;
}

/* ===== 게시판 탭 + 목록 ===== */
.board-block {}

.board-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 22px;
}

.board-tabs button {
  flex: 1;
  padding: 13px 0;
  font-size: 15.5px;
  font-weight: 700;
  background: #ececea;
  color: var(--ink-muted);
  border: none;
  border-radius: 10px;
  transition: background .15s ease, color .15s ease;
}

.board-tabs button.active {
  background: #3c8ed8;
  color: #fff;
}

.board-panel {
  padding: 0;
}

.board-empty {
  padding: 40px 2px;
  text-align: center;
  color: var(--ink-faint);
  font-size: 14.5px;
}
.gallery-block .board-empty {
  padding: 60px 2px;
}

.board-featured {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 2px 15px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  margin-bottom: 6px;
}

.board-featured .f-date {
  flex: none;
  width: 76px;
  height: 76px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #e8f2fb;
  border-radius: 18px;
  text-align: center;
}

.board-featured .f-date em {
  display: block;
  font-style: normal;
  font-size: 28px;
  font-weight: 800;
  color: #3c8ed8;
  line-height: 1;
}

.board-featured .f-date span {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  color: #3c8ed8;
  opacity: .75;
}

.board-featured .f-text strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 7px;
}

.board-featured .f-text p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.board-featured:hover .f-text strong {
  color: #3c8ed8;
}

.board-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 항목 사이 구분선 — li 자체 테두리로만 그어서 기존 여백(a의 padding)은 그대로 두고
   줄 하나만 더해지게 함(공백이 늘어나면 안 된다는 요청) */
.board-panel li {
  border-bottom: 1px solid var(--line);
}
.board-panel li:last-child {
  border-bottom: none;
}

.board-panel li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 2px;
  font-size: 15.5px;
  line-height: 1.3;
}
/* 공지사항 쪽 목록만 위에 대표글 카드가 이미 자리를 차지해서 다른 탭(고충처리/제작문의)
   보다 살짝 더 좁게(요청) */
#panel-notice li a {
  padding: 14px 2px;
}

.board-panel li a:hover {
  color: var(--green-700);
}

.board-panel .title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-right: 16px;
}

.board-panel .date {
  flex: none;
  color: var(--ink-faint);
  font-size: 13.5px;
}

/* ===== 갤러리 ===== */
.gallery-block {}

.gallery-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
}

.gallery-head-text {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.gallery-head h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  color: var(--green-900);
}

.gallery-head span {
  font-size: 15px;
  color: var(--ink-faint);
}

.gallery-head .more {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ink-faint);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: background .15s ease;
}

.gallery-head .more:hover {
  background: #3c8ed8;
}

.gallery-head .more svg {
  width: 14px;
  height: 14px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gallery-item {
  margin: 0;
}

.gallery-item .thumb {
  display: block;
  aspect-ratio: 4/3.8;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  background: var(--paper-alt);
}

.gallery-item .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  display: block;
}

.gallery-item .thumb .thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 45, 74, .6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px;
  opacity: 0;
  transition: opacity .3s ease;
}

.gallery-item .thumb .thumb-overlay .plus {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .22);
  border: 1px solid rgba(255, 255, 255, .6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex: none;
}

.gallery-item .thumb .thumb-overlay span:not(.plus) {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .02em;
  text-align: center;
}

.gallery-item:hover .thumb img {
  transform: scale(1.08);
}

.gallery-item:hover .thumb .thumb-overlay {
  opacity: 1;
}

/* ===== 파트너 로고 캐러셀 ===== */
.logo-carousel {
  max-width: 1400px;
  margin: 25px auto 64px;
  padding-top: 34px;
}

.logo-carousel-head {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin-bottom: 12px;
}

.logo-carousel-head button {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.logo-carousel-head button:hover {
  background: var(--paper-alt);
  color: var(--ink);
}

.logo-carousel-head button.play-pause {
  font-size: 12px;
}

.logo-viewport {
  overflow: hidden;
  border-radius: 8px;
}

.logo-track {
  display: flex;
  gap: 26px;
  transition: transform .5s ease;
}

.logo-card {
  flex: 0 0 calc((100% - 26px * 4) / 5);
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.logo-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}


/* 사업소개  */

/* ===== Intro box ===== */
.biz-intro {
  max-width: 1400px;
  margin: 0 auto;
  background: var(--green-100);
  border-radius: 10px;
  padding: 34px 40px;
}

.biz-intro .lead {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.6;
  font-weight: 800;
  color: var(--green-900);
  text-align: center;
  letter-spacing: -.01em;
}

.biz-intro .sub {
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
  font-weight: 400;
  color: #3f5b73;
  text-align: center;
}

.biz-intro .sub b {
  color: var(--green-700);
  font-weight: 700;
}

/* ===== Circle + detail ===== */
.biz-main {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  gap: 60px;
  padding: 64px 0 10px;
  align-items: flex-start;
}

.biz-circle-col {
  flex: 0 0 460px;
}

.biz-circle {
  position: relative;
  width: 460px;
  height: 460px;
  max-width: 100%;
}

.biz-circle svg.ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.biz-node {
  position: absolute;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  border: none;
  box-shadow: 0 10px 24px rgba(20, 50, 80, .16);
  transition: transform .25s ease, box-shadow .25s ease;
  font-family: inherit;
  line-height: 1.3;
}

.biz-node:hover {
  transform: scale(1.06);
  box-shadow: 0 14px 30px rgba(20, 50, 80, .24);
}

.biz-node.center {
  width: 150px;
  height: 150px;
  left: 155px;
  top: 155px;
  background: #7b6fd1;
  font-size: 20px;
  z-index: 2;
  cursor: default;
}

.biz-node.center:hover {
  transform: none;
}

.biz-node.sat {
  width: 120px;
  height: 120px;
  font-size: 16.5px;
  z-index: 1;
}

.biz-node.sat.n1 {
  left: 170px;
  top: 0;
  background: #ef7fa8;
}

.biz-node.sat.n2 {
  left: 331.7px;
  top: 117.5px;
  background: #f4a259;
}

.biz-node.sat.n3 {
  left: 270px;
  top: 307.5px;
  background: #b0d148;
}

.biz-node.sat.n4 {
  left: 70px;
  top: 307.5px;
  background: #3fc2a0;
}

.biz-node.sat.n5 {
  left: 8.3px;
  top: 117.5px;
  background: #4fa3dc;
}

.biz-detail {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  margin-bottom: 0;
}

.biz-detail-item {
  border-radius: 10px;
  padding: 20px 26px;
}

.biz-detail-item h3 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
  color: var(--green-900);
  display: flex;
  align-items: center;
  gap: 10px;
}

.biz-detail-item h3 a {
  color: inherit;
}

.biz-detail-item h3 a:hover {
  color: var(--green-700);
}

.biz-detail-item h3::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-700);
  flex: none;
}

.biz-detail-item p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-muted);
  padding-left: 18px;
}

.biz-detail-item.box-pink {
  background: #fdecf2;
}

.biz-detail-item.box-pink h3::before {
  background: #ef7fa8;
}

.biz-detail-item.box-orange {
  background: #fdf1e2;
}

.biz-detail-item.box-orange h3::before {
  background: #f4a259;
}

.biz-detail-item.box-lime {
  background: #f4f8e2;
}

.biz-detail-item.box-lime h3::before {
  background: #b0d148;
}

.biz-detail-item.box-teal {
  background: #e8f8f2;
}

.biz-detail-item.box-teal h3::before {
  background: #3fc2a0;
}

.biz-detail-item.box-blue {
  background: #eaf4fb;
}

.biz-detail-item.box-blue h3::before {
  background: #4fa3dc;
}

/* ===== Contact box ===== */
.biz-contact {
  max-width: 1400px;
  margin: 50px auto 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 34px 40px;
}

.biz-contact h3 {
  margin: 0 0 22px;
  font-size: 20px;
  font-weight: 700;
  color: var(--green-900);
}

.contact-grid {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px 32px;
}

.contact-grid li {
  display: flex;
  align-items: center;
  gap: 14px;
}

.c-ic {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.c-ic svg {
  width: 21px;
  height: 21px;
}

.c-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.c-text b {
  font-size: 14px;
  color: var(--ink-faint);
  font-weight: 600;
}

.c-text span,
.c-text a {
  font-size: 17px;
  color: var(--ink);
  font-weight: 600;
}

.c-text a {
  color: var(--green-700);
  text-decoration: none;
}

.c-text a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.biz-contact .note {
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--ink-faint);
  line-height: 1.6;
}

@media (max-width:900px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width:600px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 20px;
  }
}

/* ===== Responsive ===== */
@media (max-width:1100px) {

  .biz-intro,
  .biz-main,
  .biz-contact {
    margin-left: 24px;
    margin-right: 24px;
    width: auto;
  }

  .biz-intro {
    padding: 26px 28px;
  }

  .biz-main {
    gap: 40px;
    padding: 48px 0 10px;
  }

  .biz-contact {
    padding: 28px 30px;
  }
}

@media (max-width:900px) {
  .biz-main {
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
  }

  .biz-circle-col {
    flex: none;
  }

  .biz-detail {
    width: 100%;
    max-width: 640px;
    margin-top: 44px;
  }
}

@media (max-width:600px) {

  .biz-intro,
  .biz-main,
  .biz-contact {
    margin-left: 16px;
    margin-right: 16px;
  }

  .biz-intro {
    padding: 22px 20px;
  }

  .biz-intro .lead {
    font-size: 18px;
  }

  .biz-intro .sub {
    font-size: 14.5px;
    line-height: 1.75;
  }

  .biz-intro .sub br {
    display: none;
  }

  .biz-circle {
    width: 300px;
    height: 300px;
    transform: scale(1);
  }

  .biz-node.center {
    width: 100px;
    height: 100px;
    left: 100px;
    top: 100px;
    font-size: 15px;
  }

  .biz-node.sat {
    width: 82px;
    height: 82px;
    font-size: 12.5px;
  }

  .biz-node.sat.n1 {
    left: 109px;
    top: 0;
  }

  .biz-node.sat.n2 {
    left: 216px;
    top: 76.6px;
  }

  .biz-node.sat.n3 {
    left: 176px;
    top: 200.6px;
  }

  .biz-node.sat.n4 {
    left: 45px;
    top: 200.6px;
  }

  .biz-node.sat.n5 {
    left: 5.4px;
    top: 76.6px;
  }

  .biz-detail {
    margin-top: 24px;
  }

  .biz-detail-item h3 {
    font-size: 17px;
  }

  .biz-detail-item p {
    font-size: 14.5px;
    padding-left: 18px;
  }

  .biz-contact {
    padding: 22px 20px;
  }
}

::selection {
  background: var(--green-100);
}