@charset "utf-8";
/*
 * Site Content Style
 */

/*** Tile ***/
.project-tile {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 20px;
}


.project-thumb {
  display: block;
  aspect-ratio: 16 / 12;
  overflow: hidden;
}

.project-thumb img {
  transform: scale(1);
  opacity: 0 !important;
  transition: transform .5s ease, filter .5s ease-out, opacity 0.6s ease-out;
  height: auto;
  will-change: filter;
  backface-visibility: hidden;
}

.project-card.is-visible .project-thumb img {
  opacity: 1 !important;
}

.project-thumb:hover img {
  transform: scale(1.14);
  filter: grayscale(80%) brightness(1.1);
}

.project-card p {
  font-size: 18px;
  font-weight: 500;
  margin-top: .8em;
}

/*** View ***/
.article-heading {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 60px 0 80px 0;
  gap: 16px;
}

h2.article-title {
  font-weight: 700;
  font-size: 48px;
  line-height: 1.4em;
}

h2.article-title::before {
  display: block;
  margin: 0 auto;
  width: 12px;
  height: 12px;
  background-color: var(--primary);
  content: "";
  border-radius: 50%;
  margin-bottom: 20px;
}

.article-tag {
  font-size: 16px;
}

.article-body img {
  display: block;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 25px auto;
}

.article-body img:last-of-type {
  margin-bottom: 0;
}

.article-gallery {
  max-width: 1000px;
  margin: 0 auto 50px auto;
}

/* PhotoSwipe 기본 반전 스타일 무력화 */
.pswp__button--arrow--next .pswp__icn {
  transform: none !important;
}

.gallery-item {
  display: block;
  margin-bottom: 25px;
  opacity: 0 !important;
  transition: opacity 0.6s ease-out;
}

.gallery-item.is-visible {
  opacity: 1 !important;
}

.gallery-item:last-of-type {
  margin-bottom: 0;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
}

.article-body .overview {
  max-width: 1000px;
  margin: 0 auto;
  padding-top: 30px;
}

.article-body .overview p {
  font-size: 16px;
  line-height: 1.7em;
  text-align: center;
}

.article-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 50px; 
}

.article-name p {
  font-size: 18px;
  font-weight: 500;
}

.article-name p.article-rights {
  color: #777;
  font-size: 13px;
  flex-wrap: 300;
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin: 100px auto -100px auto;
  gap: 32px;
}

.post-btn a {
  display: block;
  width: 48px;
  height: 48px;
  background: url(../images/ico-next-post.svg) 50%;
  border: 1px solid var(--dark);
  border-radius: 50%;
  content: "";
  transition: opacity .2s ease;
}

.post-btn.post-link-prev a {
  background: url(../images/ico-prev-post.svg) 50%;
}

.post-btn-list {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  transform: translate(-50%, -50%);
  background: url(../images/ico-list-post.svg) 50%;
  text-indent: -150%;
  overflow: hidden;
  transition: opacity .2s ease;
}

.post-btn a:hover, .post-btn-list:hover {
  opacity: .5;
}

/*** BBS ***/
.bbs-body {
  max-width: 1200px;
  margin: 0 auto;
}

/*** Page ***/
.page-heading {
  padding: 100px 0 80px 0;
}

h2.page-title, h2.article-title {
  font-weight: 700;
  font-size: 42px;
  line-height: 1.35em;
  text-align: center;
  word-break: keep-all;
}

h2.page-title::before, h2.article-title::before {
  display: block;
  margin: 0 auto;
  width: 12px;
  height: 12px;
  background-color: var(--primary);
  content: "";
  border-radius: 50%;
  margin-bottom: 30px;
}

.page-body {
  max-width: 1200px;
  margin: 0 auto;
}

.body-text {
  text-align: center;
}

.body-text p {
  font-size: 18px;
  line-height: 1.6em;
  word-break: keep-all;
}

.body-text p:not(:last-of-type) {
  margin-bottom: 1.0em;
}

.kakao-map {
  max-width: 1000px;
  aspect-ratio: 8 / 4.5;
  background-color: #EEE;
  margin: 80px auto; 
}

.kakao-map .cont {
  display: none;
}

.kakao-map .root_daum_roughmap .wrap_map {
  height: calc(100% - 32px);
}

.company-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 100px;
  margin-top: 100px;
}

.company-contact  .contact-addr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.company-contact  .contact-call {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.company-contact p {
  font-size: 17px;
  text-align: center;
}

.company-contact p i {
  display: block;
  color: #666;
  font-weight: 600;
  margin-bottom: 0.3em;
}

.company-contact p.contact-lg {
  font-weight: 700;
  font-size: 40px;
}

.company-contact p.contact-md {
  font-size: 20px;
  font-weight: 500;
  margin-top: -0.5em;
}

/*
 * RWD
 * Break Point 1024px
 */

/** Tablet 1024px **/
@media screen and (max-width:1024px) {
  /** Tile **/
  .project-tile {
    margin: 80px 0 -40px 0;
    gap: 20px 20px;
  }

  .project-card p {
    font-size: 14px;
  }

}

/** Tablet 800px **/
@media screen and (max-width: 800px) {

  /** Tile **/
  .project-tile {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 14px;
  }

  /** Page **/
  .page-heading, .article-heading {
    padding: 60px 0;
  }

  h2.page-title, h2.article-title {
    font-size: 32px;
  }

  h2.page-title br, h2.article-title br {
    display: none;
  }

  .body-text p {
    font-size: 16px;
  }

  .kakao-map {
    margin: 60px auto;
  }

  .company-contact {
    margin-top: 50px;
    gap: 50px;
  }

  .company-contact p {
    font-size: 16px;
  }

  .company-contact p.contact-lg {
    font-size: 32px;
  }

  .company-contact p.contact-md {
    font-size: 18px;
  }

  /*** View ***/
  .post-navigation {
    margin: 60px auto -60px auto;
  }

  .post-btn a, .post-btn.post-link-prev a {
    width: 36px;
    height: 36px;
    background-size: 28px;
  }

  .post-btn-list {
    width: 38px;
    height: 38px;
    background-size: 28px;
  }

}

/** Tablet, Mobile 640px **/
@media screen and (max-width: 640px) {

}

/** Mobile 480px **/
@media screen and (max-width: 480px) {
  /** Tile **/
  .project-tile {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 12px;
    margin: 80px 0 0 0;
  }

  /** Page **/
  .page-heading, .article-heading {
    padding: 40px 0;
  }

  .article-heading {
    gap: 8px;
  }

  h2.page-title, h2.article-title {
    font-size: 24px;
  }

  h2.article-title {
    font-size: 21px;
  }

  .article-tag {
    font-size: 13px;
  }

  h2.page-title::before, h2.article-title::before {
    width: 8px;
    height: 8px;
    margin-bottom: 20px;
  }

  .body-text p {
    font-size: 15px;
  }

  .body-text p br {
    display: none;
  }

  .kakao-map {
    aspect-ratio: 8 / 8;
    margin: 40px auto 20px auto;
  }

  .company-contact p {
    font-size: 14px;
  }

  .company-contact p.contact-lg {
    font-size: 28px;
    margin-bottom: -0.2em;
  }

  /*** View ***/
  .article-gallery {
    margin-bottom: 30px;
  }

  .gallery-item {
    margin-bottom: 15px;
  }

  .article-name {
    margin-top: 35px;
  }

  .post-navigation {
    margin: 60px auto -30px auto;
  }

  .post-btn-list {
    background-size: 24px;
  }

}