@charset "UTF-8";

/* projects - details */
.title-d-wrap {
  box-sizing: border-box;
  width: calc(100% - 20px);
  margin: 0;
  padding: 200px 0 90px 0;
}
.title-d-inner {
  box-sizing: border-box;
  width: 80%;
  margin: 0 auto;
  padding: 0;
}
.title-d {
  font-size: clamp(28px, 3.3vw, 46px);
  font-weight: 500;
  line-height: 1.2;
}
.title-d-sub {
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 500;
  color: #6f767d;
  line-height: 1.4;
  padding: 20px 0 0 3px;
}
.projects-d {
  width: 80%;
  margin: 0 auto;
}
.projects-d-txt {
  font-size: clamp(13px, 1.1vw, 16px);
  line-height: 1.8;
  margin-top: 40px;
}
.projects-d-date {
  font-size: clamp(13px, 1.1vw, 16px);
  line-height: 1.8;
}
.projects-d-designer {
  font-size: clamp(13px, 1.1vw, 16px);
  line-height: 1.8;
}
.main-img {
  margin-top: 30px;
  position: relative;
}
/* .main-img img {
  width: auto !important;
} */
.photo-txt {
  font-size: clamp(12px, 1vw, 14px);
  color: #fff;
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 10;
}
.projects-d-img-wrap {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.thumb-img {
  aspect-ratio: 12 / 7;
  overflow: hidden;
}
.thumb-img .pd-img-link {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.thumb-img .pd-img-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.thumb-img .pd-img-link:hover img {
  transform: scale(1.05);
}
.post {
  margin-top: 30px;
}
.post p {
  font-size: clamp(13px, 1.1vw, 16px);
  line-height: 1.8;
}
.post p a {
  color: #24292d;
  border-bottom: 1px solid#24292d;
  padding-bottom: 1px;
}
.post p a:hover {
  color: #d2464b;
  border-bottom: 1px solid#d2464b;
}
.spacer {
  height: 1rem;
}
.catalog-dl {
  font-size: clamp(11px, 1vw, 14px);
  display: block;
  width: fit-content;
  margin: 10px 0 0 0;
}
.catalog-dl a {
  font-weight: 500;
  border-radius: 5px;
  padding: 10px 15px;
  display: flex;
  align-items: center;
}
.icon-download {
  width: 16px;
  margin-left: 10px;
}
.link-re {
  color: #d2464b;
  background: transparent;
  border: 1px solid #d2464b;
}
.link-re:hover {
  color: #fff !important;
  border: 1px solid #d2464b;
}
.link-re::before {
  background: #d2464b;
}
.link-re::after {
  background: #d2464b;
}

/* projects */
.projects {
  width: 80%;
  margin: 100px auto 0 auto;
}
.projects-title-wrap {
  margin: 0;
}
.projects-title-inner {
  position: relative;
  padding-top: 20px;
}
.projects-title-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 3px;
  border-radius: 999px;
  background: #d2464b;
}
.projects-title-sub {
  font-size: clamp(20px, 1.6vw, 22px);
  line-height: 1.1;
  margin: 0;
}
.projects-ul {
  width: 100%;
  border-top: 1px solid #e2e1dd;
  border-left: 1px solid #e2e1dd;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.projects-ul li {
  border-right: 1px solid #e2e1dd;
  border-bottom: 1px solid #e2e1dd;
  padding: 20px;
  display: flex;
  justify-content: space-between;
}
.projects-thumb {
  width: 40%;
}
.projects-txt-wrap {
  width: 50%;
  display: flex;
  flex-direction: column;
}
.projects-title {
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 500;
  line-height: 1.4;
}
.projects-category {
  font-size: clamp(13px, 1vw, 14px);
  font-weight: 500;
  line-height: 1.4;
  color: #6f767d;
  padding: 10px 0 0 0;
}
.projects-link {
  margin-top: auto;
  padding-top: 40px;
  margin-left: 0;
  display: block;
}
.btn {
  font-size: clamp(13px, 1vw, 14px);
}
.btn a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 0 5px 0;
  overflow: hidden;
  text-decoration: none;
}
.btn .btn-txt {
  font-weight: 500;
  display: inline-block;
  transition: transform 0.35s ease;
}
.btn .arrow-wrap {
  position: relative;
  width: 12px;
  height: 12px;
  display: inline-block;
  overflow: hidden;
  flex-shrink: 0;
}
.btn .arrow {
  width: 12px;
  position: absolute;
  top: 50%;
  left: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
  pointer-events: none;
}
.btn .arrow-out {
  opacity: 1;
  transform: translate(0, -50%);
}
.btn .arrow-in {
  opacity: 0;
  transform: translate(-14px, -50%);
}
.btn a:hover .arrow-out {
  opacity: 0;
  transform: translate(14px, -50%);
}
.btn a:hover .arrow-in {
  opacity: 1;
  transform: translate(0, -50%);
}
.btn-w a {
  color: #24292d;
  border-bottom: 1px solid #24292d;
}
.btn-w a:hover {
  color: #d2464b;
  border-bottom: 1px solid #d2464b;
}
.img-link {
  display: block;
  overflow: hidden;
}
.img-link img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}
.img-link:hover img {
  transform: scale(1.05);
}

@media screen and (max-width: 1140px) {
  /* projects - details */
  .title-d-inner {
    width: 90%;
  }
  .projects-d {
    width: 90%;
  }
  /* projects */
  .projects {
    width: 90%;
  }
  .projects-ul {
    border-top: 1px solid #e2e1dd;
    border-left: 1px solid #e2e1dd;
    grid-template-columns: repeat(1, 1fr);
  }
  .projects-ul li {
    border-right: 1px solid #e2e1dd;
    border-bottom: 1px solid #e2e1dd;
    padding: 30px;
  }
  .projects-title {
    font-size: clamp(20px, 1.9vw, 26px);
  }
  .projects-category {
    padding: 10px 0 0 1px;
  }
}

@media screen and (max-width: 767px) {
  /* projects - details */
  .title-d-wrap {
    width: 100%;
    padding: 160px 0 60px 0;
  }
  .title-d-inner {
    width: 90%;
  }
  .title-d-sub {
    padding: 10px 0 0 1px;
  }
  .icon-download {
    width: 14px;
  }
  .main-img {
    margin-top: 30px;
  }
  .projects-d-img-wrap {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  /* projects */
  .projects {
    margin: 80px auto 0 auto;
  }
  .projects-ul {
    border-top: none;
    border-left: none;
    gap: 30px;
  }
  .projects-ul li {
    border-right: none;
    border-bottom: none;
    padding: 0;
    flex-direction: column-reverse;
  }
  .projects-thumb {
    width: 100%;
  }
  .projects-txt-wrap {
    width: 100%;
    display: block;
  }
  .projects-link {
    padding-top: 20px;
    text-align: right;
  }
  .projects-title {
    font-size: clamp(15px, 1.9vw, 26px);
    margin-top: 10px;
  }
  .projects-category {
    padding: 5px 0 0 0;
  }
}