@charset "UTF-8";

/* 기본 색상 */
:root {
  --main-color: #44A64B;
  --accent-color: #2D6E3E;
  --dark-main-color: #31523c;
  --text-bright-color: #fff;
  --gray-color: #ddd;
  --large-width: 1000px;
  --middle-width: 800px;
}

/* 기본 설정: 폰트 크기 */
@media (max-width: 599px) {
  :root { font-size: 14px; }
}
@media (min-width: 600px) and (max-width: 799px) {
  :root { font-size: 16px; }
}
@media (min-width: 800px) {
  :root { font-size: 18px; }
}

/* 기본 설정: 페이지 전체 */
body {
  margin: 0;
  font-family: '맑은 고딕', 'Apple SD Gothic Neo', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #212121;
}

/* 기본 컨테이너 */
.container {
  max-width: var(--large-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER 헤더 */
header {
  background-color: #fff;
  border-bottom: 1px solid var(--gray-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

header .container {
  display: flex;
  flex-direction: column;
}

.container-small {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.headA img {
  height: 65px;
  display: block;
}

.headB {
  display: none;
  background-color: #fff;
}

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

.headB li a {
  display: block;
  padding: 12px 24px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-radius: 60px;
}

.headB li a:hover {
  background-color: var(--main-color);
  color: #fff;
}

.headC {
  background: none;
  border: none;
  font-size: 22px;
}

/* PC 메뉴 */
@media (min-width: 768px) {
  .headB { display: block !important; }
  header .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .headB ul {
    display: flex;
    gap: 10px;
  }
  .headC { display: none; }
}


/* 콘텐츠A: main-banner-image 히어로 이미지 PC */

.conA.hero {
  height: 100vh;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: url('img/main_img.png') center/cover no-repeat;
  color: var(--text-bright-color);
  margin-bottom: 50px;
  position: relative;
}

.conA.hero h1 {
  margin: 0;
  position: absolute;
  top: 36%;
  left: 33%;
  transform: translate(-50%, -50%);
  text-align: left;
  line-height: 1.25;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
}

.conA.hero .small {
  display: block;
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 0.2rem;
}

.conA.hero .big {
  display: block;
  font-size: 3.5rem;
  font-weight: 700;
}

/* 콘텐츠A: main-banner-image 히어로 이미지 M */
@media (max-width: 768px) {
  .conA.hero {
    height: 70vh;
    min-height: 380px;
    padding: 0 20px;
    align-items: flex-end;
  }

  .conA.hero h1 {
    position: absolute;
    top: 38%;
    left: 8%;
    transform: translate(0, -50%);
    text-align: left;
    margin: 0;
    width: 80%;
  }

  .conA.hero .small { font-size: 1.3rem; }
  .conA.hero .big   { font-size: 2.2rem; }
}


/* 콘텐츠B: Stories section */

.conB.stories {
  text-align: center;
  padding: 80px 0;
  background-color: #fff;
  position: relative;
  overflow: visible;
  margin-bottom: 80px;
}

.conB.stories h2 {
  position: relative;  
  z-index: 5;
  margin-bottom: 40px;
  font-size: 2.4rem;
  font-weight: 700;
}

/* deco 이미지 */
.conB.stories .deco {
  position: absolute;
  width: 120px;
  height: auto;
  opacity: 0.95;
  pointer-events: none;
  z-index: 1;
}

.deco-blue {
  top: 50px;
  left: 17%;
  width: 120px;
}

.deco-red {
  bottom: 40px;
  right: 7%;
  width: 130px;
  transform: rotate(70deg);
}

.deco-yellow {
  bottom: -20px;
  left: 7%;
  width: 110px;
  transform: rotate(110deg);
}

/* 슬라이드 컨테이너 */
.stories-swiper {
  width: 100%;
  max-width: 1000px;
  padding: 10px 0 40px;
  margin: 0 auto;
}

.stories-swiper .swiper-slide {
  width: 300px;
  height: auto;
  display: flex;
  justify-content: center;
}

.stories-swiper .swiper-slide img {
  width: 97%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  border: 3px solid rgba(241,241,241,1);
}

/* 화살표 */
.stories-swiper .swiper-button-next,
.stories-swiper .swiper-button-prev {
  color: #7a7a7a;
  opacity: 0.35;
  transition: 0.5s;
}

.stories-swiper .swiper-button-next:hover,
.stories-swiper .swiper-button-prev:hover {
  color: #c2c2c2;
}

.stories-swiper .swiper-pagination-bullet {
  background: #dddddd;
  opacity: 0.85;
   border: 1px solid #c0c0c0;
}

.stories-swiper .swiper-pagination-bullet-active {
  background: #7a7a7a;
  opacity: 0.6;
}


/* STORIES - 슬라이더   */

.container.slider {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  position: relative;
}

.slide-items {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 10px 0;
  scrollbar-width: none;
}

.slide-items::-webkit-scrollbar { display: none; }

.story-item {
  flex: 0 0 calc((100% - 40px) / 2.8);
  scroll-snap-align: center;
}

.story-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* 좌우 버튼 */
.slide-btn {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--accent-color);
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.slide-btn.prev { left: -40px; }
.slide-btn.next { right: -40px; }

/* 콘텐츠B: Stories section 슬라이드 M */
@media (max-width: 768px) {
  .story-item { flex: 0 0 80%; }
  .story-item img { height: 150px; }
  .slide-btn.prev { left: -10px; }
  .slide-btn.next { right: -10px; }
  .stories-swiper .swiper-slide { width: 70%; }
  .stories-swiper .swiper-slide img { height: 180px; }
}


/* ABOUT SECTION */

.conC.about {
  background: url('img/about_background-02.jpg') no-repeat top center;
  background-size: cover;
  background-color: #f1f1f1;
  padding: 150px 0;
  margin-top: 50px;
}

.conC .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.conC .photo img {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
}

.conC .text {
  text-align: right;
  max-width: 600px;
}

.conC .text h2 {
  text-align: right;
  font-size: 1.8rem;
  margin-bottom: 22px;
}

.conC .text p {
  text-align: right;
  font-size: 1rem;
  opacity: 0.8;
}

.conC .btn {
  display: inline-block;
  text-align: right;
  margin-top: 20px;
  padding: 10px 40px;
  border-radius: 6px;
  background-color: var(--main-color);
  color: #fff;
  text-decoration: none;
}

.conC .btn:hover {
  background-color: var(--accent-color);
}

@media (min-width: 768px) {
  .conC .container {
    
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
    gap: 0px;
  }



.conC .photo {
    flex-shrink: 0;        /* 이미지 줄어들지 않게 */
  }

  .conC .photo img {
    width: 400px;          /* 이미지 크기 고정 */
    max-width: none;
  }

  .conC .container {
    gap: 80px;             /* 마음대로 키워도 됨 */
  }



  .conC .text {
    text-align: right;
  }

  .conC .photo {
    text-align: right;
  }
}

/* 모바일 버전: 중앙 정렬 */
@media (max-width: 767px) {
  .conC .text {
    text-align: center;
  }

  .conC .text h2 {
    text-align: center;
    margin-top: 40px;
  }

  .conC .text p {
    text-align: center;
  }
}


/* FRIENDS SECTION */

.conD.friends {
  background-color: #fff;
  padding: 80px 0;
  margin-bottom: 60px;
  text-align: center;
}

.conD.friends h2 {
  margin-bottom: 40px;
  font-size: 2.4rem;
  font-weight: 700;
}

.conD.friends h3 {
  margin-top: 30px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #212121;
}

.conD.friends p {
  font-size: 0.8rem;
  font-weight: 400;
  color: #767676;
}

.conD .friends-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  max-width: var(--large-width);
  margin: 0 auto;
}

.friend {
  text-align: center;
}

.friend-link {
  display: inline-block;
  border-radius: 50%;
  padding: 6px;
  transform: scale(0.98);
  transition: transform 0.35s ease;
  text-decoration: none;
}

.friend-link:hover {
  transform: scale(1.03);
}

.friend-photo {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease;
}

.friend-link:hover .friend-photo {
  transform: scale(1.02);
}

.friend-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(27, 73, 40, 0.65);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.friend-overlay-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

/* FRIENDS — Hover */

.friend-link:hover .friend-photo::before {
  opacity: 1;
}

.friend-link:hover .friend-overlay-text {
  opacity: 1;
  transform: translateY(0);
}

.friend h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 16px 0 8px;
  color: #212121;
}

.friend p {
  font-size: 1rem;
  color: #757575;
  line-height: 1.5;
  margin: 0 auto;
  max-width: 260px;
}

/* 콘텐츠D: Friend section PC */
@media (min-width: 768px) {
  .conD .friends-list {
    flex-direction: row;
    justify-content: center;
  }
}

/* PLAY SECTION */

.conE.play {
  background-color: #f1f1f1;
  padding: 150px 0;
    background: url('img/play_background.png') no-repeat top center;
  background-size: cover;
  background-color: #f1f1f1;
  margin-top: 100px;
}

.conE .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.conE .photo img {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  margin-left: 40px;
}

.conE .text {
  text-align: center;
  max-width: 600px;
  color: #fff;
}

.conE .text h2 {
  text-align: left;
  font-size: 1.8rem;
  color: #fff;
  text-shadow: 0 0 10px rgba(0,0,0,0.26);
}

.conE .text p {
  text-shadow: 0 0 4px rgba(0,0,0,0.2);
  font-size: 1rem;
}

.conE .btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 30px;
  border: 2px solid #fff;
  border-radius: 6px;
  background-color:#fff;
  color: #eba039;
  text-decoration: none;
}

.conE .btn:hover {
  background-color: #f79100;
  color: #fff;
}

/* 콘텐츠E: Play PC */
@media (min-width: 768px) {
  .conE .container {
    flex-direction: row;
    justify-content: center;
    gap: 80px;               /* 원하는 간격 */
    align-items: center;
  }
  .conE .photo,
  .conE .text {
    flex: 0;
  }
.conE .photo {
    flex: 0 0 400px;           /* 이미지 영역 고정 */
  }

  .conE .text {
    text-align: left;
    flex: 0 0 500px;
  }

  .conE .photo img {
     width: 100%;
    margin-left: 0;
  }
}

/* 콘텐츠E: Play M */
@media (max-width: 767px) {
  .conE .photo img {
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
  
    margin: 0 auto; /* 모바일에서만 이미지를 가운데 정렬 */
  }
 
.conE .text h2 {
  margin-top: 40px;
  text-align: center;
}

}


/* WONDER SECTION */

.conF.wonder {
  padding: 80px 0 120px;
  text-align: center;
}

.conF.wonder h2 {
  margin-bottom: 40px;
  font-size: 2.2rem;
  font-weight: 700;
}

/* 슬라이더 박스 */
.wonder-swiper {
  width: 100%;
  padding: 40px 0;
  position: relative;
  overflow: visible;
}

.wonder-swiper .swiper-wrapper {
  display: flex;
  align-items: center;
}

.wonder-swiper .swiper-slide {
  width: auto !important;
  display: flex;
  justify-content: center;
}

.wonder-card {
  flex: 0 0 650px;
  height: 250px;
  background: var(--main-color);
  border-radius: 36px;
  padding: 40px;
  display: flex;
  align-items: center;
  transition: 0.4s;
  opacity: 0.35;
  transform: scale(0.9);
  margin-bottom: 60px;
}

.wonder-swiper .swiper-slide-active .wonder-card {
  opacity: 1;
  transform: scale(1);
}

.wonder-content {
  text-align: left;
  margin-left: 25px;
  color: #fff;
  margin-top: -18px;
}

.wonder-content h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.wonder-content p {
  margin-bottom: 30px;
  line-height: 1.4;
}


.wonder-content .btn {
  display: inline-block;
  background: #fff;
  padding: 10px 30px;
  border-radius: 12px;
  color: var(--main-color);
  text-decoration: none;
  font-weight: 600;
}


.wonder-prev,
.wonder-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.4rem;
  z-index: 20;
  cursor: pointer;
  color: #ffffff;
  opacity: 0.9;
  text-shadow: 0 2px 6px rgba(0,0,0,0.15);
  
}

.wonder-prev { left: 14%; }
.wonder-next { right: 14%; }

.wonder-prev:hover,
.wonder-next:hover {
  color: #ffffff;
  opacity: 1;
}

/* 콘텐츠F: Wonder card M */
@media (max-width: 767px) {
  .wonder-card {
    flex: 0 0 90%;
    height: auto;
    padding: 30px 20px;
  }
  .wonder-prev { left: 5%; }
  .wonder-next { right: 5%; }
}

@media (max-width: 767px) {
  .wonder-swiper .swiper-slide {
    width: 85%;
  }

  .wonder-card {
    height: auto;
    padding: 50px 22px;
    transform: scale(0.95);
  }

  .wonder-swiper .swiper-slide-active .wonder-card {
    transform: scale(1);
  }

  .wonder-content h3 {
    font-size: 1.3rem;
  }

  .wonder-content p {
    font-size: 0.9rem;
  }

  .wonder-content .btn {
    font-size: 0.85rem;
    padding: 8px 18px;
  }

  .wonder-prev {
    left: 2%;
    top: 55%;
    font-size: 2rem;
  }

  .wonder-next {
    right: 2%;
    top: 55%;
    font-size: 2rem;
  }
 .wonder-prev,
  .wonder-next {
    color: #ffffff;        /* 흰색 화살표 */
    width: 44px;
    height: 44px;
    opacity: 0.7;
  }

.wonder-prev:hover,
.wonder-next:hover {
  color: #ffffff;
  opacity: 1;

  
}


}





/* ABOUT PAGE */

/* 콘텐츠A: half-banner-image PC */
.conA.compact {
  height: 450px;
  background: url("img/about_halfb.jpg") center/cover no-repeat;
  position: relative;
  color: #fff;
  display: flex;
  align-items: center;
}

.conA.compact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0));
}

.conA.compact .container {
  position: relative;
  text-align: center;
  z-index: 2;
}

.conA.compact h1 {
  font-size: 70px;
  font-weight: 800;
  letter-spacing: 0.15em;
  margin: 0 0 10px;
}


.conA.compact p {
  font-size: 25px;
  opacity: 0.8;
  margin-top: -10px;
}
.about-gallery .thumb a {
  text-decoration: none;   /* 밑줄 제거 */
  color: inherit;          /* 글자색도 부모 거 따라가게 (파란색 방지) */
}

.about-gallery .thumb a:hover {
  text-decoration: none;   /* 마우스 올렸을 때도 밑줄 X */
}

/* 콘텐츠A: 하프배너 M */
@media (max-width: 768px) {
  .conA.compact {
    height: 320px;
  }


  
  .conA.compact h1 {
    font-size: 30px;
  }

  .conA.compact p {
    font-size: 18px;
  }

  .about-gallery img {
    width: 100px;
    height: 100px;
  }

  .year-tabs button {
    padding: 6px 14px;
    font-size: 14px;
    
  }
}

/* 콘텐츠B: ABOUT ERIC CARLE */
.conB.about {
  padding: 100px 0;
}

.about-wrap {
  display: flex;
  align-items: flex-start;
  gap: 50px;
}

.about-left img {
  width: 480px;
  border-radius: 18px;
  display: block;
}

.about-right {
  flex: 1;
  margin-top: -108px;
}

.conB .about-right h2 {
  text-align: left;
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 30px;
  color: #212121;
}

.about-right p {
  font-size: 14px;
  line-height: 1.7;
  color: #444;
}

.about-gallery {
  margin-top: 35px;
  display: flex;
  gap: 30px;
}

.about-gallery .thumb {
  text-align: center;
}

.thumb-title {
  margin-top: 5px;
  font-size: 0.9rem;
  color: #444;
}

.about-gallery img {
  width: 150px;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  transition: 0.3s;
  border: 2px solid #f1f1f1;
}

.about-gallery img:hover {
  transform: scale(1.07);
}

/* 콘텐츠B: about eric carle M */
@media (max-width: 768px) {

  .about-wrap {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
    padding: -30px 50px !important;
  }


.conB .about-right h2 {
  text-align: center;
}
  .about-left img {
    width: 100%;
    max-width: 400px;
      margin-top: -20px;
  }

  .about-right {
    width: 100%;
  }

  .about-right h2 {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .about-right p {
    font-size: 13px;
    line-height: 1.6;
  }

  /* ★★ 모바일에서 세로로 3개 일렬 정렬 ★★ */
  .about-gallery {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 40px !important;
    margin-top: 60px;
    width: 100%;
  }

  .about-gallery .thumb {
    text-align: center;
  }

  .about-gallery .thumb img {
    width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
  }

  .about-gallery .thumb h4,
  .thumb-title {
    font-size: 1rem;
    margin-top: 8px;
  }
}




/* 콘텐츠C: 연혁 PC */
.conC.journey {
  padding: 40px 0;
  background: #f1f1f1;
  padding-bottom: 150px !important;
}

.conC.journey h2 {
  text-align: center;
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #333;
}

.year-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.year-tabs button {
  padding: 10px 35px;
  border-radius: 12px;
  margin-top: 10px;
  border: none;
  background: #dbdbdb;
  font-size: 0.95rem;
  cursor: pointer;
  transition: 0.3s;
  color: #444;
}

.year-tabs button:hover {
  background: var(--accent-color);
  color:#fff;
}

.year-tabs .active {
  background: var(--main-color);
  color: #fff;
}

.year-content {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}


.year-box {
  display: none;
  align-items: center;
  gap: 80px;
  padding: 50px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  animation: fade 0.5s ease;
}

.year-box.active {
  display: flex;
}

.year-text {
  flex: 1;
  margin-top: -160px;
  margin-left: 30px;
}

.year-text h3 {
  font-size: 5.5rem;
  margin-bottom: -35px;
  color: #333;
}



.year-text p {
  margin-bottom: 20px;
  line-height: 1.6;
  color: #868686;
}

.year-text .btn {
  display: inline-block;
  padding: 12px 60px;
  background: var(--main-color);
  color: #fff;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
  margin-top: 40px;
}

.year-text .btn:hover {
  background: var(--accent-color);
  color: #fff;
}

.year-box img {
  width: 480px;
  height: auto;
  border-radius: 20px;
  border: 4px solid #eee;
  object-fit: cover;
}

/*PC*/
@media (min-width: 769px) {
  .year-tabs {
    margin-top: -40px;
  }

.year-content {
  margin-top: -40px;
}

}




/* 콘텐츠C: 연혁 M */
@media (max-width: 768px) {

  .conC.journey {
    padding-bottom: 100px !important; /* 모바일은 더 넉넉하게 */
  }

  .year-tabs {
    gap: 10px;
    flex-wrap: wrap;
    display: flex !important;
    width: 100% !important;        /* 화면 전체 너비 사용 */
    justify-content: space-between !important; /* 양 끝까지 벌려라 */
    padding: 0 10px;               /* 살짝만 여백 줌 (선택) */
    box-sizing: border-box;
    margin-top: 20px;
  }

  .year-tabs button {
    padding: 6px 12px;
    font-size: 1rem;
    border-radius: 6px;
    flex: 1;                       /* 버튼을 동일 비율로 가로 확장 */
    margin: 0 4px !important;      /* 버튼 사이 간격 */
    text-align: center;
    padding: 12px 0;
  }
.year-content {
  margin-top: 20px;
}

  .year-box {
    flex-direction: column;
    gap: 20px;
    padding: 25px 50px;
    text-align: center;
  }

  .year-box img {
    width: 100%;
    max-width: 350px;
    margin-top: 30px;
  }


  .year-text {
    margin: 0 !important;
    padding: 0;
  }

  .year-text h3 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 800;
  }

  .year-text p {
    font-size: 14px;
    line-height: 1.3;
  }

  .year-text .btn {
    margin-top: 18px;
    padding: 10px 30px;
    border-radius: 6px;
    margin-bottom: 30px;
  }
}

/* JOURNEY 레이아웃 강제 리셋 */
.conC.journey .container {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.conC.journey h2 {
  text-align: center !important;
  width: 100% !important;
  white-space: normal !important;
  margin-bottom: -10px;
}

.conC.journey .year-tabs {
  margin-bottom: -15px;
}

.conC.journey .year-content {
  width: 100%;
  max-width: 1200px;
}


/* 콘텐츠D: 명언 */
.conD.quote {
  text-align: center;
  /*background: #fff;*/
  margin-top: 30px; 

}

.conD.quote h1 {
  color: #222;
  font-size: 27px;
  margin-top: 20px;
}

.conD.quote p {
  font-size: 15px;
  margin-top: 20px;
  margin-bottom: -100px;
  color: #666;
}

.quote-image {
  width: 100%;
  height: 1000px;  
  background: url('img/about_qbackground.gif') center/cover no-repeat;
  margin-top: 100px;
  background-repeat: no-repeat;
  vertical-align: bottom;

}

@media (max-width: 768px) {
  .quote-image {
    height: 220px;
  }
  .quote-big {
    font-size: 22px;
  }
}

/* 콘텐츠D: 명언 PC */ 

@media (min-width: 768px) {

  .conD.quote {
    padding: 40px 20px 0 20px;
	/*max-height:1000px;*/
  }

  .conD.quote h1 {
    font-size: 30px;
    line-height: 1.5;
    margin-top:50px; 
    padding: 0 10px;
  }

  .conD.quote p.pc {
    font-size: 13px;
    line-height: 1.6;
    margin-top: 15px;
    padding: 0 10px;
  }
  .conD.quote p.mobile {
    display:none;
  }
  /* 배경 이미지 */
  .quote-image {
    height: 600px; 
    background-position: center;
    background-size: cover;
  }
}

@media (max-width: 767px) {

  .conD.quote {
    padding: 60px 0 0;        
    margin: 0;
    background: #fff;
  }

  .conD.quote h1 {
    font-size: 20px;
    line-height: 1.5;
    margin-top: 0px;
    padding: 0 16px;
  }
  .conD.quote p.pc {
    display:none;
  }
  .conD.quote p.mobile {
    font-size: 13px;
    line-height: 1.6;
    margin-top: 25px;
    margin-bottom: 55px;
    padding: 0 16px;
  }

  .quote-image {
    width: 100%;
    height: 300px;  
    background-size: cover !important;
    background-position: center 70% !important;
    /*margin-top: 40px;*/
    margin-bottom: -1px;
  }
}




/* FOOTER */

footer {
  background-color: #1b3b21;
  color: var(--text-bright-color);
  text-align: center;
  padding: 40px 20px;
}

footer img {
  margin: 0 0 5px;
}

footer a {
  color: inherit;
  text-decoration: none;
}

.footD ul {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.footD a {
  border: 1px solid #ebeaea;
  border-radius: 50%;
  width: 2em;
  line-height: 2em;
  display: block;
}

.footD a:hover {
  background-color: rgba(255,255,255,0.2);
}

.footC {
  font-size: 12px;
  margin-top: 20px;
  opacity: 0.8;
}






/* FAQ PAGE */

.faq-header {
  background: url("img/about_halfb.jpg") center/cover no-repeat;
}

.conB.faq {
  padding: 80px 40px 140px;
}

.faq-guide {
  font-size: 1.8rem;
  text-align: center;
  margin-top: 100px;
  margin-bottom: 40px;
  font-weight: 700;
  color: #212121;
}

.faq-explanation {
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 40px;
  padding: 0 60px;
  font-weight: 500;
  color: #6c6c6c;
}

.faq-item {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: 0.3s;
}

/* FAQ 제목 버튼 */
.faq-head {
  width: 100%;
  padding: 18px 24px;
  background: none;
  border: none;
  outline: none;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--main-color);
  transition: 0.3s;
}

/* 펼쳐졌을 때의 카드 */
.faq-item.active {
  background: var(--main-color);
  color: #fff;
  border-color: var(--main-color);
}

.faq-item.active .faq-icon {
  color: #fff;
  transform: rotate(45deg); /* + → X */
}

.faq-item.active .faq-head span {
  color: #fff !important;
}

/* 답변 */
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 24px;
}

.faq-item.active .faq-body {
  max-height: 300px;
  padding-bottom: 20px;
}

.faq-body p {
  margin-top: 10px;
  line-height: 1.6;
  color: inherit;
}

/*PC*/
@media (min-width: 769px) {
  .faq-list-wrapper {
    max-width: 800px;     /* 너비 제한 (원하는 크기로 조절 가능) */
    margin: 0 auto;       /* 가운데 정렬 */
  }
}



/* M */
@media (max-width: 768px) {

  .conB.faq {
    padding: 40px 20px;   /* 모바일은 자연스럽게 좁게 */
  }

  .faq-explanation {
    padding: 0 40px;      /* 모바일에서는 좌우 여백 최소 */
    font-size: 1rem;
    margin-bottom: 40px;
  }

  .faq-guide {
    padding: 0 40px; 
    font-size: 1.3rem;
    margin-top: 80px;
  }

  .faq-head span {
    text-align: left;
    font-size: 0.94rem;
  }

  .faq-icon {
    margin-left: 12px;   /* 아이콘 왼쪽에 여백 */
  }
}













/* DOWNLOAD PAGE*/

.download-banner {
  background: url("img/about_halfb.jpg") center/cover no-repeat;
}

.download-wrap {
  padding: 80px 40px 140px;
}


.conB.download-wrap h2 {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 40px;
  margin-top: 20px;
  font-weight: 700;
  color: #212121;
}

.download-explanation {
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 120px;
  padding: 0 60px;
  font-weight: 500;
  color: #6c6c6c;
}

.down-title {
  text-align: center;
  margin: 110px 0 20px;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--main-color);

}

.down-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  margin-bottom: 60px;
}

.down-item {

  text-align: center;
}

.down-thumb-img {
  width: 100%;
  height: 400px;
  border: 2px solid #e5e5e5;
  object-fit: cover;
  border-radius: 12px;
}

.down-name {
  margin: 10px 0 15px;
  font-weight: 600;
  color: #333;
}

.down-btn {
  display: block;
  width: 70%;
  padding: 14px 0;
  margin-top: 15px;
  background: var(--main-color);
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.25s ease, transform 0.15s ease;
}

.down-btn:hover {
  transform: translateY(-2px);
}

.down-btn:hover {
  background: var(--accent-color);
}

/* M */
@media (max-width: 768px) {

  .down-grid {
    grid-template-columns: 1fr;
  }

  .down-thumb {
    height: 260px;
  }

  .download-explanation {
    padding: 0 5px;
  font-size: 1rem;
  margin-bottom: 100px;
}

.conB.download-wrap h2 {
    font-size: 1.3rem;
    margin-top: 2px;
    padding: 0 5px;
  }

  .down-btn {
    margin-bottom: 20px;
  }
}












/* ============================== */
/*  BOOK TABS BAR  (카테고리 바) */
/* ============================== */
.book-tabs-bar {
  background: #1f5f25;
}
.book-tabs-inner {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 5px 0;
}
.book-tabs-inner a {
  color: #fff;
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 600;
  opacity: 0.8;
  padding: 6px 14px;
  border-radius: 6px;
}
.book-tabs-inner a.active {
  background: #fff;
  opacity: 0.9;
  color: var(--main-color)
}
.book-tabs-inner a:hover {
  background: rgba(255,255,255,0.35);
  opacity: 1;
}

.book-tabs-bar {
    position: sticky;
    top: 86px;   /* 헤더 높이만큼 아래에 고정 */
    z-index: 1000;
}
/* ============================== */
/*        BOOK HERO BANNER       */
/* ============================== */
.conA.book-hero {
  height: 600px;
  background: url('img/h.png') center/cover no-repeat;
  display: flex;
  align-items: center;
}
.hero-mini-text {
  font-size: 4rem;
  color: #fff;
  white-space: nowrap;
  font-weight: 700;
  margin-left: -510px;
  margin-bottom: 200px;
}

/* ============================== */
/*        ABOUT THE STORY        */
/* ============================== */
.conB.book-intro {
  text-align: center;
  padding: 60px 0;
}
.conB.book-intro .container {
  max-width: 900px;
}
.conB.book-intro h1 {
 font-size: 2.8rem;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 800;
  color: #212121;
}


.intro-short {
  font-size: 1rem;
  text-align: center;
  margin-bottom: -6px;
  padding: 0 60px;
  font-weight: 600;
  color: #6c6c6c;
  line-height: 1.7;
  color: #555;
  line-height: 1.7;
  font-weight: 700;
}

.intro-long {
  font-size: 1rem;
  text-align: center;
  margin-bottom: 40px;
  padding: 0 60px;
  font-weight: 400;
  color: #6c6c6c;
  line-height: 1.7;
  color: #7a7a7a;
}



/* ============================== */
/*           CHARACTERS          */
/* ============================== */

.conBook.friends {
  padding: 70px 0 100px;
  background: url('img/about_background-02.jpg') no-repeat top center;
  text-align: center;
}
.friend-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.container h2 {
  font-size: 2.4rem;
  font-weight: 700;
  text-align: center;
  margin-top: 110px;
}
.f-card {
  padding: 5px;
}
.f-img {
  width: 100%;
  height: 220px;
  background: #e2e2e2;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  margin-bottom: 16px;
}
.f-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}




/* ============================== */
/*            QUOTES             */
/* ============================== */
.conD.quotes {
  background: var(--main-color);
  padding: 60px 0;
  text-align: center;
}
.quote-box {
  background: var(--main-color);
  padding: 30px;
  border-radius: 16px;
  max-width: 100%;
  margin: 0 auto;
  color: #f8f8f8;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: -10px;
}

.quote-box p{
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.7;
}

.quotes-swiper .swiper-button-prev,
.quotes-swiper .swiper-button-next {
  color: #fff;       /* 화살표 색상 */
  opacity: 0.85;
}
.quotes-swiper .swiper-button-prev:hover,
.quotes-swiper .swiper-button-next:hover {
  color: #fffa;      /* hover 더 밝게 */
  opacity: 1;
}

/* ============================== */
/*           RESOURCES           */
/* ============================== */

.conBook.downloads {
  padding: 90px 0;
  text-align: center;
  margin-top: -70px;
}
.down-grid3 {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 40px;
  margin-top: 40px;
}

.down-name {
  margin: 10px 0;
  font-weight: 600;
}
.down-btn {
  display: inline-block;
  padding: 10px 28px;
  background: var(--main-color);
  color: #fff;
  border-radius: 10px;
  margin-bottom: 60px;
}
.down-btn:hover {
  background: var(--accent-color);
}


/* ============================== */
/*            BUY BTN            */
/* ============================== */
.conF.purchase {
  padding: 60px 0;
  text-align: center;
  background-color: #d7f5d9
}

.buy-btn {
  background: var(--main-color);
  color: #fff;
  padding: 12px 40px;
  border-radius: 6px;
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 100px;
}
.buy-btn:hover {
  background: var(--accent-color);
}


/* M */
@media (max-width: 768px) {

  /* 하프 배너 */
  .conA.book-hero {
    height: 300px !important;
    background-position: center top !important;
  }

  .hero-mini-text {
    font-size: 2rem;
    margin-left: -50%;
    margin-top: 80%;
  }

  /* 카테고리 탭 */
.book-tabs-inner {
    justify-content: center !important;
    flex-wrap: nowrap !important;
    overflow: hidden !important;   /* 스크롤 차단 */
    gap: 6px;
  }

  .book-tabs-inner a {
    flex: none !important;
    font-size: 0.6rem;   /* 글자 확 줄이기 */
    padding: 5px 6px;    /* 패딩 줄이기 */
    white-space: nowrap;
  }

  /* ABOUT 영역 */
  .conB.book-intro .container {
    max-width: 100%;
  }

  .conB.book-intro h1 {
    font-size: 1.8rem;
    padding: 0 10px;
  }

  .intro-short,
  .intro-long {
    font-size: 0.95rem;
    padding: 0 10px;
  }

  /* 캐릭터 영역 */
  .friend-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px;
  }

  .f-img {
    height: 150px;
  }

  /* QUOTES */
  .quote-box {
    font-size: 1.2rem;
    padding: 20px;
  }

  .quote-box p {
    font-size: 0.85rem;
  }

  .quotes-swiper .swiper-button-prev,
  .quotes-swiper .swiper-button-next {
    display: none;
  }

  /* 다운로드 섹션 */
  .down-grid3 {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .down-thumb-img {
    height: auto;
  }

  /* BUY 버튼 */
  .buy-btn {
    width: 90%;
    padding: 14px 0;
  }

}


/*pptx: 비디오*/
.pptx {
  background-color:#66CBE5;
  background-color: var(--main-color);
  color: #fff;
  color: var(--text-bright-color);
}

.conE .container {
  max-width: 100% !important;
  padding: 0;
}

.conE video {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
}

/* PC-pptx: 개요(image + text ) [width=768px]를 기준으로 */
@media (min-width: 768px) {
.pptx .container {
display: block;
width: 1500px;
margin-left: auto;
margin-right: auto;
}
}