@charset "UTF-8";
body {
  background-color: #ff008e;
}

@media screen and (min-width: 768px) {
  .copy {
    display: block;
  }
}
@media screen and (min-width: 768px) and (max-width: 1340px) {
  .copy {
    /* 幅1340px以下の場合の非表示 */
    display: none;
  }
}
@media screen and (min-width: 768px) and (max-height: 660px) {
  .copy {
    /* 高さ660px以下の場合の非表示 */
    display: none;
  }
}

.scroll {
  position: fixed;
  right: 30px;
  font-family: "Noto Serif JP", serif;
  color: #ffffff;
  font-size: 13px;
  flex-direction: column;
  align-items: center;
  display: none;
  z-index: 99;
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 1;
}
@media screen and (min-width: 768px) {
  .scroll {
    display: flex;
    bottom: min(124px, 22%);
  }
}
.scroll.is-up {
  flex-direction: column-reverse;
  cursor: pointer;
}
.scroll.is-up svg {
  transform: rotate(-90deg);
  position: relative;
  top: 0;
  transition: top 0.3s ease;
}
.scroll.is-up:hover svg {
  top: -6px;
  transition: top 0.3s ease;
}
.scroll svg {
  transform: rotate(90deg);
  transition: transform 0.3s ease;
}
.scroll.fade {
  opacity: 0;
}

.page-projects {
  padding-top: 51px;
  position: relative;
  margin-bottom: 274px;
}
@media screen and (max-width: 767px) {
  .page-projects {
    padding-top: 52px;
    margin-bottom: 138px;
  }
}
.page-projects__copyright {
  display: none;
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  left: 16px;
  z-index: 10;
  writing-mode: vertical-rl;
}
@media screen and (min-width: 1230px) {
  .page-projects__copyright {
    display: block;
  }
}
.page-projects__copyright-text {
  font-size: 1.1rem;
  font-family: "Noto Serif", serif;
  font-weight: 500;
  line-height: 1.36;
  letter-spacing: 0;
  color: #0d0d0d;
}
.page-projects__breadcrumb {
  width: 100%;
  max-width: 1258px;
  margin: 18px auto 21px;
  padding-inline: 15px;
}
.page-projects .breadcrumb__item__name.is_active {
  color: #ffffff;
}
.page-projects__content {
  width: 100%;
  max-width: 1020px;
  padding-inline: 10px;
  margin-top: 72px;
  margin-inline: auto;
}
@media screen and (max-width: 767px) {
  .page-projects__content {
    margin-top: 81px;
    width: 69.8666666667%;
  }
}
.page-projects__content--noPosts {
  width: 100%;
  max-width: 747px;
  padding-inline: 10px;
  padding-bottom: 160px;
  margin-inline: auto;
  margin-top: 72px;
}
@media screen and (max-width: 767px) {
  .page-projects__content--noPosts {
    margin-top: 81px;
  }
}
.page-projects__card-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 54px;
}
@media screen and (max-width: 767px) {
  .page-projects__card-list {
    grid-template-columns: 1fr;
    row-gap: 30px;
  }
}
.page-projects__card-link {
  display: flex;
  column-gap: 1em;
  position: relative;
  border-right: 1px solid #0d0d0d;
}
@media screen and (max-width: 767px) {
  .page-projects__card-link {
    border-right: none;
  }
}
@media screen and (min-width: 768px) {
  .page-projects__card-link {
    padding-right: 1em;
  }
}
@media screen and (max-width: 767px) {
  .page-projects__card-link:not(:first-child) {
    margin-top: 48px;
  }
}
.page-projects__card-link:hover .page-projects__card-image {
  transform: scale(1.1);
}
.page-projects__card-body {
  row-gap: 20px;
  width: 100%;
  max-width: 100%;
  position: relative;
  padding-bottom: 20px;
}
@media screen and (max-width: 767px) {
  .page-projects__card-body {
    row-gap: 0;
  }
}
.page-projects__card-body:hover .page-projects__card-image {
  transform: scale(1.1);
}
.page-projects__card-thumbnail {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  margin-inline: 0;
  box-shadow: 3px 3px 0 0 #000;
  border: 1px solid #000;
  overflow: hidden;
}
@media screen and (max-width: 767px) {
  .page-projects__card-thumbnail {
    margin-inline: 0;
    box-shadow: 6px 6px 0 0 #000;
  }
}
.page-projects__card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease-in-out;
}
.page-projects__card-title-wrapper {
  display: block;
  width: 100%;
  margin-top: 1em;
}
.page-projects__card-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  font-size: 1.25em;
  font-family: "Noto Serif JP", serif;
  font-weight: bold;
  line-height: 1.6;
  color: #000;
}
@media screen and (max-width: 767px) {
  .page-projects__card-title {
    padding-inline: 0;
    margin-top: 16px;
    letter-spacing: 0.05rem;
  }
}
@media screen and (min-width: 768px) {
  .page-projects__card-title {
    letter-spacing: 0.08rem;
  }
}
.page-projects__card-excerpt {
  margin-top: 1em;
  font-family: "Noto Serif JP", serif;
  color: #0d0d0d;
  font-size: 0.875em;
  letter-spacing: 0;
  line-height: 1.8;
  text-decoration: none;
}
.page-projects__card-category-list {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  column-gap: 10px;
  text-decoration: none;
}
.page-projects__card-category {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  column-gap: 10px;
}
.page-projects__card-label {
  display: block;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .page-projects__card-label {
    left: -6px;
  }
}
.page-projects__card-label-icon {
  width: 1.5em;
  object-fit: cover;
}
.page-projects__card-label-text {
  display: block;
  font-size: 1.25em;
  font-family: "Noto Serif JP", serif;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  line-height: 1.5;
  letter-spacing: 0.08rem;
  color: #0d0d0d;
  text-align: center;
  position: relative;
  z-index: 2;
}
.page-projects__card-category-image {
  width: auto;
  height: 20px;
}
@media screen and (max-width: 767px) {
  .page-projects__card-category-image {
    height: 12px;
  }
}
.page-projects__card-category-text {
  font-size: 1.6rem;
  font-weight: 400;
  font-family: "Noto Serif JP", serif;
  line-height: 1;
  letter-spacing: 0.05rem;
  color: #0d0d0d;
}
@media screen and (max-width: 767px) {
  .page-projects__card-category-text {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.1rem;
    line-height: 1.2;
  }
}
.page-projects__note {
  font-size: 2rem;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.1rem;
  color: #ffffff;
}
@media screen and (max-width: 767px) {
  .page-projects__note {
    font-size: 1.6rem;
  }
}
.page-projects__pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 940px;
  margin-top: 98px;
  margin-inline: auto;
}
@media screen and (max-width: 767px) {
  .page-projects__pagination {
    margin-top: 50px;
    padding-inline: 24px;
  }
}