@charset "utf-8";

.outlink {
	margin-top: 4rem;
}

.outlink .imgbox {
	max-width: 64rem;
	aspect-ratio: 1/0.66;
	padding-top: 3rem;
	margin: 0 auto;
	background: url(../img/contents/pic_homepage_godeco01.jpg) no-repeat top center/100%;
	border-radius: 0.8rem;
	border: 0.1rem solid rgba(0, 0, 0, 0.06);
	box-shadow:
		0 0 0.2rem 0 var(--krds-light-color-alpha-shadow1),
		0 0.4rem 0.8rem 0 var(--krds-light-color-alpha-shadow2);
	overflow: hidden;
}

.outlink .btn-wrap {
	margin-top: 3rem;
}

.map-box {
	width: 100%;
	height: 45rem;
	border-radius: 1rem;
	background: #f5f5f5;
	overflow: hidden;
}

.bl03+.map-box {
	margin-left: 2.4rem;
	margin-top: 1rem;
	height: 40rem;
	width: calc(100% - 2.4rem);
}

@media (max-width: 767px) {
	.map-box {
		height: 30rem;
	}
}

/* 갤러리 */
.gallery-swiperwrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  background: url(../img/contents/ico_gallery_deco01.svg) no-repeat left 4.4rem
    top 9rem;
}
.gallery-swiperwrap.no-list {
  padding-top: 6rem;
  padding-bottom: 4rem;
  background-position: left 4.4rem bottom;
}
.gallery-swiperwrap .gallery-thumb {
  max-width: 83.7rem;
  overflow: hidden;
  border: 1rem solid #fff;
  box-shadow: 0 0.8rem 1.6rem 0 rgba(0, 0, 0, 0.1);
}
.gallery-swiperwrap .btm-img {
  position: relative;
  max-width: 100%;
  padding: 2rem 0;
  background: linear-gradient(90deg, #fff 0%, #e4e4e4 50%, #fff 100%);
}
.gallery-swiperwrap .btm-img .btm-swiperwrap {
  position: relative;
  max-width: 77rem;
  margin: 0 auto;
}
.gallery-swiperwrap .btm-img .gallery-list {
  width: 100%;
  text-align: center;
  overflow: hidden;
}
.gallery-swiperwrap .btm-swiperwrap .swiper-button-prev,
.gallery-swiperwrap .btm-swiperwrap .swiper-button-next {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 4rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border: 0.1rem solid #ddd;
}
.gallery-swiperwrap .btm-img .swiper-button-prev {
  left: -5rem;
  background-image: url(../img/contents/ico_gall_swiper_prev01.svg);
}
.gallery-swiperwrap .btm-img .swiper-button-next {
  right: -5rem;
  background-image: url(../img/contents/ico_gall_swiper_next01.svg);
}
.gallery-swiperwrap .btm-img .swiper-button-prev:after,
.gallery-swiperwrap .btm-img .swiper-container-rtl .swiper-button-next:after,
.gallery-swiperwrap .btm-img .swiper-button-next:after,
.gallery-swiperwrap .btm-img .swiper-container-rtl .swiper-button-prev:after {
  display: none;
}
.gallery-swiperwrap .gallery-list .swiper-slide .img {
  border: 0.4rem solid #fff;
  margin-bottom: 0.6rem;
  box-sizing: border-box;
}

.gallery-swiperwrap.only-one .btm-img {
  width: 100%;
}
.gallery-swiperwrap.only-one .btm-img .btm-swiperwrap {
  max-width: 100%;
}
.gallery-swiperwrap.only-one .btm-img .gallery-list .swiper-slide {
  max-width: 22rem;
  margin: 0 auto;
}
.gallery-swiperwrap.only-one .btm-img [class^="swiper-button-"] {
  display: none;
}

/* 문학관 소개 - 인사말 (greeting.jsp) */
.greeting {
  position: relative;
  padding: 5rem 20.8rem 5rem 5rem;
  border-radius: 1rem;
  background: linear-gradient(90deg, #f2f6eb, #d0e0b6);
}
.greeting::before {
  content: "";
  position: absolute;
  z-index: 1;
  right: 3rem;
  bottom: 1.6rem;
  width: 25.3rem;
  height: 35.6rem;
  background: url(../img/contents/greeting_img.png) no-repeat;
  background-size: contain;
}
.greeting .con-box {
  padding: 5rem 10rem 5rem 5rem;
  border-radius: 2rem;
  background-color: #fff;
}
.greeting .con-box .top {
  margin-bottom: 3.8rem;
}
.greeting .con-box .top strong {
  font-size: 3.4rem;
  font-weight: 700;
}
.greeting .con-box .top strong span {
  color: #4e6824;
}
.greeting .con-box .top p {
  margin-top: 1.4rem;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.04rem;
}
.greeting .con-box .top p span {
  color: #7b7944;
  text-decoration: underline;
  text-decoration-thickness: 0.2rem;
  text-underline-offset: 0.3rem;
}
.greeting .con-box .con p + p {
  margin-top: 2rem;
}
.greeting .con-box .con p span {
  color: #4e6824;
  font-weight: 600;
}

@media (max-width: 1199px) {
  .greeting {
    padding: 4rem 16rem 4rem 4rem;
  }
  .greeting::before {
    width: 20rem;
    height: 28rem;
  }
  .greeting .con-box {
    padding: 4rem 8rem 4rem 4rem;
  }
  .greeting .con-box .top strong {
    font-size: 3rem;
  }
  .greeting .con-box .top p {
    font-size: 2rem;
  }
}

@media (max-width: 767px) {
  .greeting {
    padding: 13.1rem 1.6rem 1.6rem;
  }
  .greeting::before {
    width: 7.8rem;
    height: 10.9rem;
    top: 1.6rem;
    left: 50%;
    bottom: none;
    transform: translateX(-50%);
  }
  .greeting .con-box {
    padding: 2rem;
  }
}

/* 조경희 - 삶과문학 */
.life-desc {
  display: flex;
  padding-bottom: 6rem;
  border-bottom: 0.2rem solid #2e3e16;
}
.life-desc > .img {
  flex-shrink: 0;
  position: relative;
  max-width: 32rem;
  margin-right: 4rem;
  padding: 3rem 0 0 3rem;
}
.life-desc > .img::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 20rem;
  height: 20rem;
  border-radius: 1rem 0 0;
  background-color: #2e3e16;
}
.life-desc .con {
  max-width: 70rem;
}
.life-desc .con > strong {
  display: block;
  width: 22rem;
  height: 5.8rem;
  margin-bottom: 0.8rem;
  text-indent: -9999px;
  background: url(../img/contents/life_txt.svg) no-repeat;
  background-size: contain;
}
.life-desc .con .book {
  margin-top: 2rem;
}
.life-desc .con .book > strong {
  display: block;
  position: relative;
  margin-bottom: 1rem;
  padding-left: 3rem;
  color: #222;
  font-size: 1.9rem;
}
.life-desc .con .book > strong::before {
  content: "";
  position: absolute;
  top: 0.2rem;
  left: 0;
  width: 2.4rem;
  height: 2.4rem;
  background: url(../img/contents/life_arrow.svg) no-repeat;
  background-size: contain;
}
.life-desc .con .book > .img {
  max-width: 45rem;
}

.life-history {
  display: flex;
  margin-top: 3.2rem;
  margin-left: 3.2rem;
}
.life-history ol {
  flex: 0 1 50%;
  margin-right: 2rem;
}
.life-history ol:last-of-type {
  margin-right: 0;
}
.life-history ol > li {
  display: flex;
  align-items: top;
  padding: 1rem 1.6rem;
  border-radius: 1rem;
  background-color: #f5f5f5;
}
.life-history ol > li + li {
  margin-top: 0.6rem;
}
.life-history ol > li em {
  flex-shrink: 0;
  display: block;
  width: 4.8rem;
  margin-right: 3rem;
  color: #222;
  font-size: 1.8rem;
  font-weight: 600;
}
.life-history ol li .bl-list.bl03 {
  margin: 0;
}
.life-history ol li .bl-list.bl03 li {
  font-size: 1.6rem;
}

@media (max-width: 1199px) {
  .life-desc > .img {
    max-width: 26rem;
  }
}

@media (max-width: 1023px) {
  .life-desc > .img {
    max-width: 32rem;
  }
}

@media (max-width: 767px) {
  .life-desc {
    display: block;
  }
  .life-desc > .img {
    max-width: 100%;
    margin-right: 0;
    padding: 0.6rem 0 0 0.6rem;
  }
  .life-desc > .img::before {
    width: 10rem;
    height: 10rem;
  }
  .life-desc .con {
    max-width: 100%;
    margin-top: 2rem;
  }
  .life-desc .con .book > .img {
    max-width: 100%;
  }
  .life-history {
    display: block;
  }
  .life-history > ol {
    margin-right: 0;
  }
  .life-history > ol + ol {
    margin-top: 1rem;
  }
}

/* 전시실 */
.floor-wrap .floor-head {
  display: flex;
  align-items: center;
  padding: 3rem;
  gap: 1.6rem;
  color: #fff;
  background: #4e6824;
  border-radius: 3rem 3rem 0 0;
}
.floor-wrap .floor-head .tit {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  width: 8rem;
  height: 8rem;
  background: #121808;
  border-radius: 1rem;
  color: #fff;
}
.floor-wrap .floor-head .con > strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 2rem;
  font-weight: 600;
}
.floor-wrap .floor-contents {
  padding: 4rem 3rem 3rem;
  border-radius: 0 0 3rem 3rem;
  background: #fbfbfb;
  border: 0.1rem solid #dddddd;
  border-top: 0;
  text-align: center;
}
.floor-wrap .floor-contents img {
  max-width: 63rem;
  width: 100%;
}
.floor-info {
  margin-top: 3.2rem;
  margin-left: 3.2rem;
  padding: 2rem;
  border-radius: 1rem;
  background: #f5f5f5;
}
.floor-info + .floor-info {
  margin-top: 4rem;
}
.floor-info ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.6rem 2.7rem;
}
.floor-info ul li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: calc((100% - 8.1rem) / 4);
}
.floor-info ul li span {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  background: #2982dc;
  border-radius: 3rem;
  letter-spacing: -0.2rem;
}
.floor-info.floor02 ul li span {
  background: #c34f61;
}

@media (max-width: 767px) {
  .floor-wrap .floor-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .floor-info ul li {
    width: calc((100% - 8.1rem) / 2);
  }
}

@media (max-width: 480px) {
  .floor-info ul {
    flex-direction: column;
  }
  .floor-info ul li {
    width: 100%;
  }
}
