.gdWorks .p-gd-works-list {
  --p-gd-works-grid-gap: 3.15vw;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: var(--p-gd-works-grid-gap);
  padding-bottom: var(--p-gd-works-grid-gap);
  gap: var(--p-gd-works-grid-gap);
}
.gdWorks .p-gd-works-list::after {
  display: none;
}
.gdWorks .p-gd-works-list .p-gd-works-list__item {
  width: 100%;
  margin-top: 0;
}
.gdWorks #line-1 {
  -webkit-transform: rotate(15deg);
      -ms-transform: rotate(15deg);
  z-index: 0;
          transform: rotate(15deg);
  mix-blend-mode: unset;
}
.gdWorks .contents {
  margin-top: 0;
}
.gdWorks .contents .content .caption-wrapper {
  z-index: 2;
  bottom: 1.8vw;
  left: 0;
  width: 80%;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  margin-top: auto;
  margin-bottom: auto;
  margin-left: 1.5vw;
}
.gdWorks .contents .content .caption-wrapper .caption {
  white-space: unset;
}
.gdWork .line {
  z-index: 0;
}
.gdWork #line-1 {
  margin-top: 30vw;
}
.gdWork #breadcrumb {
  margin-bottom: 25px;
}
.gdWork #breadcrumb ul {
  margin-left: 0;
}
.gdWork #breadcrumb .breadcrumb-divider:before {
  content: "/";
}
.gdWork #breadcrumb span {
  margin-right: 0;
  margin-left: 0;
}
.gdWork #breadcrumb .breadcrumb-divider {
  margin-right: 5px;
  margin-left: 5px;
}
.gdWork #breadcrumb ul {
  -webkit-box-align: baseline;
      -ms-flex-align: baseline;
          align-items: baseline;
}
.gdWork #breadcrumb ul span {
  font-size: 1.4rem;
}
.gdWork #breadcrumb ul li span {
  width: 100%;
  font-size: 1.4rem;
}
.gdWork .contents {
  z-index: 2;
  position: relative;
  width: 59.375%;
  margin-right: 4%;
  margin-left: auto;
  text-align: left;
}
.gdWork .contents .description {
  margin-top: 6%;
  margin-bottom: 8%;
  font-weight: 400;
  font-weight: 400;
  line-height: 2;
  line-height: 2;
  font-family: "hiragino";
  font-family: "Noto Sans JP", sans-serif;
}
.gdWork .thumbnail {
  z-index: 2;
  position: relative;
}
.gdWork .thumbnail .caption-wrapper {
  position: fixed;
  margin-left: 4%;
}
.gdWork .thumbnail .caption-wrapper #breadcrumb {
  margin-top: 0;
}
.gdWork .tag {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-top: 25px;
  font-size: 1.4rem;
  text-align: left;
}
.gdWork .tag li {
  margin-bottom: 5px;
  opacity: 1;
}
.gdWork .tag li:hover {
  opacity: 0.3;
}
@media screen and (max-width: 480px) {
  .gdWorks .p-gd-works-list {
    --p-gd-works-grid-gap: 4vw;
    grid-template-columns: minmax(0, 1fr);
  }
  .gdWorks .contents .content .caption-wrapper {
    bottom: 4.05vw;
    margin-left: 4.05vw;
  }
  .gdWork #pageNav {
    right: 4%;
    left: auto;
    font-size: 2.08rem;
    text-align: right;
  }
  .gdWork #breadcrumb {
    margin-bottom: 8.2%;
  }
  .gdWork #breadcrumb ul span {
    font-size: 2.08rem;
  }
  .gdWork #breadcrumb ul li span {
    font-size: 2.08rem;
  }
  .gdWork .contents {
    width: auto;
    margin-left: 4%;
  }
  .gdWork .contents .description {
    font-size: 3.75vw;
    line-height: 1.7;
  }
  .gdWork .contents .description {
    font-size: 3.75vw;
    line-height: 1.7;
  }
  .gdWork .thumbnail .caption-wrapper .border-box p {
    padding: 1.755vw 2.3vw;
    font-size: 2.145rem;
    line-height: inherit;
  }
  .gdWork .thumbnail .caption-wrapper .border-box h3 {
    padding: 1.755vw 2.2vw;
    font-size: 3.38rem;
    line-height: inherit;
  }
  .gdWork .thumbnail .caption-wrapper {
    position: relative;
    max-width: 100%;
    margin-top: 5%;
    margin-right: 4%;
  }
  .gdWork .tag li {
    margin-top: 0;
    margin-bottom: 5px;
  }
  .gdWork .tag {
    margin-top: 25px;
  }
  .gdWork .tag {
    font-size: 3.75vw;
  }
}
@media screen and (min-width: 480px) and (max-width: 768px) {
  .gdWorks .p-gd-works-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gdWork .contents {
    width: auto;
    margin-left: 4%;
  }
  .gdWork .contents .description {
    font-size: 2.2rem;
  }
  .gdWork .thumbnail .caption-wrapper .border-box p {
    padding: 1.755vw 2.3vw;
    font-size: 2.145rem;
    line-height: inherit;
  }
  .gdWork .thumbnail .caption-wrapper .border-box h3 {
    padding: 1.755vw 2.2vw;
    font-size: 3.38rem;
    line-height: inherit;
  }
  .gdWork .thumbnail .caption-wrapper {
    position: relative;
    max-width: 100%;
    margin-top: 5%;
    margin-right: 4%;
  }
  .gdWork .tag li {
    margin-top: 0;
    margin-bottom: 5px;
  }
  .gdWork .tag {
    margin-top: 25px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .gdWorks .p-gd-works-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gdWorks .p-gd-works-list .p-gd-works-list__item img {
    height: 45.6vw;
  }
  .gdWork .contents .description {
    font-size: 2rem;
  }
  .gdWork .thumbnail .caption-wrapper {
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
    top: 50%;
            transform: translateY(-50%);
  }
  .gdWork .thumbnail .caption-wrapper.side-fixed-content {
    position: absolute;
  }
}
@media screen and (min-width: 1025px) {
  .gdWork .contents .description {
    font-size: 1.7rem;
  }
  .gdWork .thumbnail .caption-wrapper {
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
    top: 50%;
            transform: translateY(-50%);
  }
  .gdWork .thumbnail .caption-wrapper.side-fixed-content {
    position: absolute;
  }
}
@media screen and (min-width: 1500px) {
  .gdWork .contents .description {
    font-size: 1.95rem;
  }
}
/* Magnific Popup CSS */
.mfp-bg {
  z-index: 1042;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #0b0b0b;
  opacity: 0.8;
}

.mfp-wrap {
  -webkit-backface-visibility: hidden;
  z-index: 1043;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  outline: none !important;
}

.mfp-container {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0 8px;
  text-align: center;
}

.mfp-container:before {
  display: inline-block;
  height: 100%;
  content: "";
  vertical-align: middle;
}

.mfp-align-top .mfp-container:before {
  display: none;
}

.mfp-content {
  display: inline-block;
  z-index: 1045;
  position: relative;
  margin: 0 auto;
  text-align: left;
  vertical-align: middle;
}

.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto;
}

.mfp-ajax-cur {
  cursor: progress;
}

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: -webkit-zoom-out;
  cursor: zoom-out;
}

.mfp-zoom {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: zoom-in;
}

.mfp-auto-cursor .mfp-content {
  cursor: auto;
}

.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
      user-select: none;
}

.mfp-loading.mfp-figure {
  display: none;
}

.mfp-hide {
  display: none !important;
}

.mfp-preloader {
  z-index: 1044;
  position: absolute;
  top: 50%;
  right: 8px;
  left: 8px;
  width: auto;
  margin-top: -0.8em;
  color: #CCC;
  text-align: center;
}

.mfp-preloader a {
  color: #CCC;
}

.mfp-preloader a:hover {
  color: #FFF;
}

.mfp-s-ready .mfp-preloader {
  display: none;
}

.mfp-s-error .mfp-content {
  display: none;
}

button.mfp-close,
button.mfp-arrow {
  -webkit-appearance: none;
  -webkit-box-shadow: none;
  -ms-touch-action: manipulation;
  display: block;
  z-index: 1046;
  padding: 0;
  overflow: visible;
  border: 0;
  outline: none;
  background: transparent;
          box-shadow: none;
  cursor: pointer;
      touch-action: manipulation;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

.mfp-close {
  -webkit-transition: 0s;
  position: fixed;
  top: 10%;
  right: 4%;
  width: 44px;
  height: 44px;
  padding: 0 0 18px 10px;
  color: #FFF;
  font-style: normal;
  font-weight: 100;
  font-size: 7.8rem;
  line-height: 44px;
  font-family: Arial, Baskerville, monospace;
  text-align: center;
  /* position: absolute; */
  /* right: 0;
  top: 0; */
  text-decoration: none;
  opacity: 0.8;
  transition: 0s;
}

.mfp-close:hover,
.mfp-close:focus {
  opacity: 0.25;
}

.mfp-close:active {
  top: 1px;
}

.mfp-close-btn-in .mfp-close {
  color: #333;
}

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
  right: -6px;
  width: 100%;
  padding-right: 6px;
  color: #FFF;
  text-align: right;
}

.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #CCC;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap;
}

.mfp-arrow {
  -webkit-tap-highlight-color: transparent;
  -webkit-transition: 0.2s ease-out;
  position: absolute;
  top: 50%;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  height: 110px;
  margin: 0;
  margin-top: -55px;
  padding: 0;
  opacity: 0.8;
  transition: 0.2s ease-out;
}

.mfp-arrow:active {
  margin-top: -54px;
}

.mfp-arrow:hover,
.mfp-arrow:focus {
  opacity: 0.25;
}

.mfp-arrow:before,
.mfp-arrow:after {
  display: block;
  top: 0;
  /* position: absolute; */
  left: 0;
  width: 0;
  height: 0;
  content: "";
  /* margin-top: 35px;
  margin-left: 35px;
  border: medium inset transparent; */
}

.mfp-arrow:after {
  /* border-top-width: 13px;
  border-bottom-width: 13px;
  top: 8px; */
}

.mfp-arrow:before {
  /* border-top-width: 21px;
  border-bottom-width: 21px;
  opacity: 0.7;  */
}

.mfp-arrow-left {
  position: fixed;
  left: 4%;
  width: 0;
  margin-left: 6px;
}

.mfp-arrow-left:after {
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
  display: inline-block;
  width: 26px;
  height: 26px;
          transform: rotate(45deg);
  border-bottom: 4px solid #000;
  /* margin: 0 10px; */
  border-left: 4px solid #000;
}

.mfp-arrow-left:before {
  /* display: inline-block;
    width: 18px;
    height: 18px;
    margin: 0 10px;
    border-left: 4px solid #000;
    border-bottom: 4px solid #000;
    transform: rotate(45deg); */
}

.mfp-arrow-right {
  -webkit-transform: scale(-1, 1);
      -ms-transform: scale(-1, 1);
  position: fixed;
  right: 4%;
  width: 0;
  margin-right: 6px;
          transform: scale(-1, 1);
}

.mfp-arrow-right:after {
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
  display: inline-block;
  width: 26px;
  height: 26px;
          transform: rotate(45deg);
  border-bottom: 4px solid #000;
  /* margin: 0 10px; */
  /* border-top: 4px solid #000;
  border-right: 4px solid #000; */
  border-left: 4px solid #000;
  /* border-left: 17px solid #FFF;
  margin-left: 39px; */
}

.mfp-arrow-right:before {
  /* border-left: 27px solid #3F3F3F; */
  /* display: inline-block;
    width: 18px;
    height: 18px;
    margin: 0 10px;
    border-top: 4px solid #000;
    border-right: 4px solid #000;
    transform: rotate(45deg); */
}

.mfp-iframe-holder {
  padding-top: 40px;
  padding-bottom: 40px;
}

.mfp-iframe-holder .mfp-content {
  width: 100%;
  max-width: 900px;
  line-height: 0;
}

.mfp-iframe-holder .mfp-close {
  top: -40px;
}

.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  padding-top: 56.25%;
  overflow: hidden;
}

.mfp-iframe-scaler iframe {
  -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
          box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}

/* Main image in popup */
img.mfp-img {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  padding: 40px 0 40px;
  line-height: 0;
}

/* The shadow behind the image */
.mfp-figure {
  line-height: 0;
}

.mfp-figure:after {
  -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  display: block;
  z-index: -1;
  position: absolute;
  top: 40px;
  right: 0;
  bottom: 40px;
  left: 0;
  width: auto;
  height: auto;
  background: #444;
          box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  content: "";
}

.mfp-figure small {
  display: block;
  color: #BDBDBD;
  font-size: 12px;
  line-height: 14px;
}

.mfp-figure figure {
  margin: 0;
}

.mfp-bottom-bar {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  margin-top: -36px;
  cursor: auto;
}

.mfp-title {
  word-wrap: break-word;
  padding-right: 36px;
  color: #F3F3F3;
  line-height: 18px;
  text-align: left;
}

.mfp-image-holder .mfp-content {
  max-width: 100%;
}

.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer;
}

@media all and (max-width: 900px) {
  .mfp-arrow {
    /* -webkit-transform: scale(0.75); */
  }

  .mfp-arrow-left {
    -webkit-transform-origin: 0;
    -ms-transform-origin: 0;
        transform-origin: 0;
  }

  .mfp-arrow-right {
    /* -webkit-transform-origin: 0;
    transform-origin: 0; */
  }

  .mfp-container {
    padding-right: 6px;
    padding-left: 6px;
  }
}

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  /**
       * Remove all paddings around the image on small screen
       */
  .mfp-img-mobile .mfp-image-holder {
    padding-right: 0;
    padding-left: 0;
  }

  .mfp-img-mobile img.mfp-img {
    padding: 0;
  }

  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0;
  }

  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px;
  }

  .mfp-img-mobile .mfp-bottom-bar {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    position: fixed;
    top: auto;
    bottom: 0;
    margin: 0;
    padding: 3px 5px;
    background: rgba(0, 0, 0, 0.6);
  }

  .mfp-img-mobile .mfp-bottom-bar:empty {
    padding: 0;
  }

  .mfp-img-mobile .mfp-counter {
    top: 3px;
    right: 5px;
  }

  .mfp-img-mobile .mfp-close {
    position: fixed;
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    padding: 0;
    background: rgba(0, 0, 0, 0.6);
    line-height: 35px;
    text-align: center;
  }
}
