@charset "utf-8";

#wrap {
  width: 100%;
  min-width: 320px;
  position: relative;
  margin: 0 auto;
  overflow: hidden;
  overflow: clip;
  visibility: hidden;
}

#header {
  width: 100%;
  position: relative;
  margin: 0 auto;
}

#container {
  width: 100%;
  position: relative;
  margin: 0 auto;
}

.inner {
  max-width: 1024px;
  position: relative;
  margin-left: auto;
  margin-right: auto;
}

#footer {
  width: 100%;
  clear: both;
  position: relative;
  margin: 0 auto;
}

/* 반응형 */
@media all and (max-width: 1024px) {
  .inner {
    width: auto;
    margin-left: 3.90625%;
    margin-right: 3.90625%;
  }
}

/* 공통 */
html {
  font-size: max(9px, calc(100vw / 192));
}

@media all and (max-width: 1400px) {
  html {
    font-size: 8.75px;
  }
}

:root {
  --brand: #06a054;
  --brand-dark: #126b3f;
}

body {
  background: #f0f3f5;
  color: #222;
}

body,
body * {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif;
}

body.is-menu-open {
  overflow: hidden;
}

.m-br {
  display: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 1rem 1.6rem;
  border-radius: 10rem;
  background: #fff;
  color: #222;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.badge::before {
  content: '';
  flex: none;
  width: 1.8rem;
  height: 1.8rem;
  background: var(--brand);
  -webkit-mask: url(/image/common/icon-leaf.png) center / contain no-repeat;
  mask: url(/image/common/icon-leaf.png) center / contain no-repeat;
}

.badge--brand {
  background: var(--brand);
  color: #fff;
}

.badge--brand::before {
  background: #fff;
}

.badge--soft {
  background: #dbe4e0;
  color: var(--brand);
}

.btn-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 0.6rem 0.8rem 1.6rem;
  border-radius: 10rem;
  background: var(--brand);
  color: #fff;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.btn-arrow__txt {
  margin: -0.2em 0;
  padding: 0.2em 0;
  overflow: hidden;
}

.btn-arrow__txt span {
  display: block;
  text-shadow: 0 1.6em 0 currentColor;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-arrow::after {
  content: '';
  flex: none;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: #fff;
  background-image: url(/image/common/icon-btn-arrow.svg), url(/image/common/icon-btn-arrow.svg);
  background-repeat: no-repeat;
  background-position: 0 0, -4rem 0;
  background-size: 100% 100%;
  transition: background-position 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* header */
.header {
  position: fixed;
  z-index: 100;
  top: 2rem;
  left: 0;
  right: 0;
  width: calc(100% - 6rem);
  margin: 0 auto;
}

.header__bar {
  position: relative;
  display: flex;
  align-items: center;
  height: 10rem;
  padding: 0 2.9rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 2.4rem;
  background: #fff;
}

.header__logo {
  display: block;
}

.header__logo img {
  display: block;
  width: 21.931rem;
  height: 3rem;
}

.header__util {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-left: auto;
}

.header__tel {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  height: 5.6rem;
  padding: 0 2.4rem;
  border-radius: 10rem;
  background: #222;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  transition: background-color 0.2s;
}

.header__tel::before {
  content: '';
  flex: none;
  width: 2rem;
  height: 2rem;
  background: url(/image/common/icon-tel.svg) center / contain no-repeat;
  transition: filter 0.2s;
}

.header__toggle {
  display: none;
}

.gnb {
  position: absolute;
  top: 0;
  left: calc(50% - 31.419rem);
  height: 100%;
  transform: translateX(-50%);
}

.gnb__list {
  display: flex;
  gap: 4rem;
  height: 100%;
}

.gnb__item {
  position: relative;
}

.gnb__link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  height: 100%;
  color: #222;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.gnb__item--has-sub>.gnb__link::after {
  content: '';
  flex: none;
  width: 2.4rem;
  height: 2.4rem;
  background: url(/image/common/icon-arrow-down.svg) center / contain no-repeat;
}

.gnb__item:hover>.gnb__link,
.gnb__item:focus-within>.gnb__link {
  color: var(--brand);
}

.gnb__sub {
  position: absolute;
  top: 8.5rem;
  left: 50%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem 3rem;
  border-radius: 2.4rem;
  background: #fff;
  filter: drop-shadow(0.4rem 0.4rem 0.7rem rgba(0, 0, 0, 0.1));
  text-align: center;
  white-space: nowrap;
  transform: translateX(-50%);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s, visibility 0.2s;
}

.gnb__item:hover>.gnb__sub,
.gnb__item:focus-within>.gnb__sub {
  visibility: visible;
  opacity: 1;
}

.gnb__sub a {
  display: block;
  color: #444;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -0.02em;
}

.gnb__sub a:hover,
.gnb__sub a:focus-visible {
  color: var(--brand);
}

/* footer */
.footer {
  position: relative;
  width: calc(100% - 6rem);
  margin: 2rem auto;
  padding: 6rem max(3rem, calc((100% - 166rem) / 2));
  border-radius: 2.4rem;
  background: #222;
  color: #fff;
}

.footer__logo img {
  display: block;
  width: 21.931rem;
  height: 3rem;
}

.footer__info {
  width: 64rem;
  margin-top: 4rem;
}

.footer__info dl {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 4rem;
}

.footer__info dl>div {
  display: flex;
  gap: 0.25em;
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.footer__info dt {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
}

.footer__info dd {
  font-weight: 400;
}

.footer__info dd strong {
  font-weight: 600;
}

.footer__policy {
  position: absolute;
  top: 13rem;
  right: 13rem;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}

.footer__copy {
  margin-top: 7.6rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.4rem;
  line-height: 1;
  letter-spacing: -0.02em;
}

.footer__top {
  position: absolute;
  top: 21.2rem;
  right: 12.9rem;
  width: 6rem;
  height: 6rem;
  transition: transform 0.3s;
}

.footer__top img {
  display: block;
  width: 100%;
  height: 100%;
}

/* sns */
.quick-sns {
  position: fixed;
  z-index: 90;
  right: calc((100vw - 186rem) / 2 + 3rem);
  bottom: 13rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quick-sns__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  transition: transform 0.3s;
}

.quick-sns__link img {
  width: 3.2rem;
  height: 3.2rem;
}

.quick-sns__link--kakao {
  background: #ffd83a;
}

.quick-sns__link--instagram {
  background: radial-gradient(circle at 43.75% 93.75%, #fabe3d 9.6%, #fd903b 25.5%, #ff613a 41.3%, #f8455d 57.9%, #f02a80 74.5%, #ca3593 80.9%, #a340a5 87.3%, #7d4cb8 93.6%, #5657cb 100%);
}

.quick-sns__link--blog {
  background: #13e34a;
}

/* online inquiry */
.inquiry {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: calc(100% - 6rem);
  height: 48.8rem;
  margin: 16rem auto 0;
  padding: 0 max(3rem, calc((100% - 166rem) / 2));
  border-radius: 2.4rem;
  overflow: hidden;
}

.inquiry::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: radial-gradient(ellipse 117.1rem 57.7rem at 149.1rem 25.2rem, #fff, #000);
  opacity: 0.2;
}

.inquiry__bg {
  position: absolute;
  top: -0.5rem;
  left: -4.4rem;
  width: 192.9rem;
  height: 51.5rem;
  max-width: none;
  object-fit: cover;
}

.inquiry__cont {
  z-index: 1;
}

.inquiry__title {
  color: #fff;
  font-size: 4.8rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.inquiry__cont .btn-arrow {
  margin-top: 4rem;
}

/* 스크롤 등장 */
.fade-up {
  opacity: 0;
  transform: translateY(6rem);
  transition: opacity 0.8s, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-up.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (hover: hover) and (pointer: fine) {
  .btn-arrow:hover .btn-arrow__txt span {
    transform: translateY(-1.6em);
  }

  .btn-arrow:hover::after {
    background-position: 4rem 0, 0 0;
  }

  .header__tel:hover {
    background: var(--brand);
  }

  .header__tel:hover::before {
    filter: brightness(0) invert(1);
  }

  .footer__info a:hover,
  .footer__policy:hover {
    text-decoration: underline;
  }

  .footer__top:hover {
    transform: translateY(-0.6rem);
  }

  .quick-sns__link:hover {
    transform: translateY(-0.6rem);
  }
}

@media all and (max-width: 1024px) {
  html {
    font-size: 6.15px;
  }

  .m-br {
    display: inline;
  }

  .pc-br {
    display: none;
  }

  .badge {
    gap: 0.4rem;
    padding: 1.8rem 2.4rem;
    font-size: 2.4rem;
  }

  .badge::before {
    width: 2.8rem;
    height: 2.8rem;
  }

  .btn-arrow {
    padding: 1.6rem 1.4rem 1.6rem 2.4rem;
    font-size: 2.4rem;
  }

  .header {
    width: calc(100% - 6rem);
  }

  .header__bar {
    padding: 0 3rem;
    border: 0;
  }

  .header__logo img {
    width: 29.2rem;
    height: 4rem;
  }

  .header__util {
    display: none;
  }

  .header__toggle {
    position: relative;
    display: block;
    width: 3.2rem;
    height: 2.8rem;
    margin-left: auto;
  }

  .header__toggle i,
  .header__toggle i::before,
  .header__toggle i::after {
    position: absolute;
    left: 0;
    width: 100%;
    height: 0.4rem;
    height: max(2px, round(0.4rem, 1px));
    background: #222;
    transition: transform 0.2s, opacity 0.2s;
  }

  .header__toggle i {
    top: 1.2rem;
    top: round(1.2rem, 1px);
  }

  .header__toggle i::before {
    content: '';
    top: -1.2rem;
    top: calc(round(1.2rem, 1px) * -1);
  }

  .header__toggle i::after {
    content: '';
    top: 1.2rem;
    top: round(1.2rem, 1px);
  }

  .is-menu-open .header__toggle i {
    background: transparent;
  }

  .is-menu-open .header__toggle i::before {
    transform: translateY(1.2rem) rotate(45deg);
    transform: translateY(round(1.2rem, 1px)) rotate(45deg);
  }

  .is-menu-open .header__toggle i::after {
    transform: translateY(-1.2rem) rotate(-45deg);
    transform: translateY(calc(round(1.2rem, 1px) * -1)) rotate(-45deg);
  }

  .gnb {
    position: fixed;
    z-index: -1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: auto;
    padding: 20rem 3.2rem 8rem;
    background: #f0f3f5;
    overflow-y: auto;
    transform: none;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s, visibility 0.2s;
  }

  .is-menu-open .gnb {
    visibility: visible;
    opacity: 1;
  }

  .gnb__list {
    flex-direction: column;
    gap: 6rem;
    height: auto;
  }

  .gnb__link {
    justify-content: space-between;
    height: auto;
    font-size: 3.6rem;
    line-height: 1.5;
  }

  .gnb__item--has-sub>.gnb__link::after {
    width: 4rem;
    height: 4rem;
    background-image: url(/image/common/icon-menu-arrow.svg);
    transition: transform 0.2s;
  }

  .gnb__item:hover>.gnb__link,
  .gnb__item:focus-within>.gnb__link {
    color: #222;
  }

  .gnb__item.is-open>.gnb__link {
    color: var(--brand);
  }

  .gnb__item.is-open>.gnb__link::after {
    background-image: url(/image/common/icon-menu-arrow-on.svg);
    transform: rotate(180deg);
  }

  .gnb__sub {
    position: static;
    display: none;
    gap: 3.2rem;
    margin-top: 4rem;
    padding: 4rem;
    border-radius: 1.2rem;
    background: #f7f8f9;
    filter: none;
    text-align: left;
    white-space: normal;
    transform: none;
    visibility: visible;
    opacity: 1;
    transition: none;
  }

  .gnb__item.is-open>.gnb__sub {
    display: flex;
  }

  .gnb__sub a {
    font-size: 2.8rem;
    line-height: 1.5;
  }

  .footer {
    width: calc(100% - 6rem);
    padding: 10rem 3rem;
  }

  .footer__logo img {
    width: 35.09rem;
    height: 4.8rem;
  }

  .footer__info {
    width: auto;
    margin-top: 6rem;
  }

  .footer__info dl {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 2.8rem;
  }

  .footer__info dl>div {
    font-size: 2.4rem;
  }

  .footer__policy {
    position: static;
    display: inline-block;
    margin-top: 6rem;
    font-size: 2.4rem;
  }

  .footer__copy {
    margin-top: 6rem;
    font-size: 2.2rem;
    line-height: 1.6;
  }

  .footer__top {
    position: static;
    display: block;
    width: 9rem;
    height: 9rem;
    margin-top: 6rem;
  }

  .quick-sns {
    right: 6rem;
    bottom: 5rem;
  }

  .inquiry {
    width: calc(100% - 6rem);
    padding: 0 6rem;
  }

  .inquiry::after {
    background: #000;
  }

  .inquiry__bg {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-position: 75% 50%;
  }
}

@media all and (max-width: 768px) {
  html {
    font-size: 5.8px;
  }
}

@media all and (max-width: 640px) {
  html {
    font-size: 5.6px;
  }
}

@media all and (max-width: 500px) {
  html {
    font-size: 5.4px;
  }
}

/* gallery card · faq item */
.gallery__tab {
  width: 15.2rem;
  padding: 1.4rem 0;
  border: 1px solid #222;
  border-radius: 10rem;
  color: #666;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  text-align: center;
  transition: background-color 0.2s, color 0.2s;
}

.gallery__tab.is-active {
  background: #222;
  color: #fff;
}

.gallery-card {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  height: 100%;
  padding: 3rem;
  border-radius: 2.4rem;
  background: #fff;
  transition: background-color 0.2s;
}

.gallery-card__head {
  position: relative;
  padding-right: 6rem;
}

.gallery-card__head::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 4rem;
  height: 4rem;
  background: url(/image/main/icon-arrow-up-right.svg) center / contain no-repeat;
  transition: transform 0.3s;
}

.gallery-card__title {
  color: #222;
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.02em;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.gallery-card__date {
  display: block;
  margin-top: 1.1rem;
  color: #888;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
}

.gallery-card__img {
  height: 30rem;
  border-radius: 2.4rem;
  background: #aaa;
  overflow: hidden;
}

.gallery-card__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.gallery-card.is-active {
  background: var(--brand);
}

.gallery-card.is-active .gallery-card__head::after {
  background-image: url(/image/main/icon-arrow-up-right-white.svg);
}

.gallery-card.is-active .gallery-card__title {
  color: #fff;
}

.gallery-card.is-active .gallery-card__date {
  color: rgba(255, 255, 255, 0.8);
}

.faq-item {
  border-radius: 1.2rem;
  background: #fff;
  overflow: hidden;
}

.faq-item__q button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
  min-height: 12rem;
  padding: 4.2rem 8.8rem 4.2rem 3.2rem;
  color: #222;
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.02em;
  text-align: left;
  transition: color 0.2s;
  --faq-ico-t: 0.24rem;
  --faq-ico-h: 0.68rem;
  --faq-ico-r: 4.2rem;
}

@supports (width: round(1.5px, 1px)) {
  .faq-item__q button {
    --faq-ico-t: max(2px, round(0.24rem, 1px));
    --faq-ico-h: max(3px, round(0.68rem, 1px));
    --faq-ico-r: round(4.2rem, 1px);
  }
}

.faq-item__q button::before,
.faq-item__q button::after {
  content: '';
  position: absolute;
  background: var(--brand);
  transition: transform 0.4s ease-out;
}

.faq-item__q button::before {
  top: calc(50% - var(--faq-ico-t) / 2 - var(--faq-ico-h));
  right: calc(var(--faq-ico-r) + var(--faq-ico-h));
  width: var(--faq-ico-t);
  height: calc(var(--faq-ico-t) + var(--faq-ico-h) * 2);
}

.faq-item__q button::after {
  top: calc(50% - var(--faq-ico-t) / 2);
  right: var(--faq-ico-r);
  width: calc(var(--faq-ico-t) + var(--faq-ico-h) * 2);
  height: var(--faq-ico-t);
}

.faq-item__q em {
  color: var(--brand);
  font-weight: 600;
}

.faq-item.is-open .faq-item__q button::before {
  transform: rotate(90deg);
}

.faq-item.is-open .faq-item__q button::after {
  transform: rotate(180deg);
}

.faq-item__a {
  padding: 0 3.2rem 4.2rem;
}

.faq-item__a p {
  min-height: 7rem;
  color: #4c4c4e;
  font-size: 2rem;
  line-height: 1.5;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(3rem);
}

.faq-item.is-open .faq-item__a p {
  opacity: 1;
  transform: none;
  animation: faq-answer-in 0.5s ease-out both;
}

.faq-item.is-closing .faq-item__a p {
  animation: faq-answer-out 0.4s ease-out both;
}

@keyframes faq-answer-in {
  from {
    opacity: 0;
    transform: translateY(3rem);
  }
}

@keyframes faq-answer-out {
  from {
    opacity: 1;
    transform: none;
  }
}

@media (hover: hover) and (pointer: fine) {
  .gallery__tab:hover {
    background: #222;
    color: #fff;
  }

  .gallery-list .gallery-card:hover {
    background: var(--brand);
  }

  .gallery-list .gallery-card:hover .gallery-card__head::after {
    background-image: url(/image/main/icon-arrow-up-right-white.svg);
  }

  .gallery-list .gallery-card:hover .gallery-card__title {
    color: #fff;
  }

  .gallery-list .gallery-card:hover .gallery-card__date {
    color: rgba(255, 255, 255, 0.8);
  }

  .gallery-card:hover .gallery-card__head::after {
    transform: rotate(35deg);
  }

  .gallery-card:hover .gallery-card__img img {
    transform: scale(1.06);
  }

  .faq-item__q button:hover {
    color: var(--brand);
  }
}

@media all and (max-width: 1024px) {
  .gallery__tab {
    width: 20rem;
    padding: 1.6rem 0;
    font-size: 2.6rem;
  }

  .gallery-card__title {
    font-size: 3.2rem;
  }

  .gallery-card__date {
    font-size: 2.4rem;
  }

  .faq-item__q button {
    padding-top: 3.6rem;
    padding-bottom: 3.6rem;
    font-size: 3.2rem;
  }

  .faq-item__a p {
    font-size: 2.8rem;
  }
}

@media all and (min-width: 1025px) and (max-width: 1727px) {

  .footer__policy,
  .footer__top {
    right: max(3rem, calc((100% - 160rem) / 2));
  }

  .gnb {
    left: 30.1rem;
    transform: none;
  }

  .quick-sns {
    right: 6rem;
  }
}

@media all and (min-width: 1025px) and (max-width: 1400px) {
  .gnb {
    left: 27.8rem;
  }

  .gnb__list {
    gap: 2rem;
  }

  .gnb__link {
    font-size: 1.7rem;
  }
}

@media all and (min-width: 1025px) and (max-width: 1200px) {
  .gnb {
    left: 26.8rem;
  }

  .gnb__list {
    gap: 2rem;
  }

  .gnb__link {
    font-size: 1.6rem;
  }

  .header__util {
    gap: 0.8rem;
  }

  .header__tel {
    justify-content: center;
    gap: 0;
    width: 5.6rem;
    padding: 0;
    font-size: 0;
  }
}