@charset "UTF-8";
/* project-detail.css — shared detail layout + lightbox.
   Loaded by the SSR project page (together with project-info.css) and by the
   project modal (together with /css/project-modal.css). Extracted verbatim from
   project-info.css; every .box rule is scoped to .yu-detail.box so it cannot leak
   into .notice .box on the project list page. */
.yu-detail.box {
  display: flex;
  flex-direction: row;
  width: 85vw;
  max-width: 1400px;
  height: 80vh;
  mix-blend-mode: normal;
}
.yu-detail.box h1 {
  color: #fff7ec;
}
.yu-detail.box h2 {
  color: #fff7ec;
}
.yu-detail.box .tit {
  color: #fff7ec;
}
.yu-detail.box h1 {
  font-size: 24px;
  font-weight: 800;
  margin: 0;
}
.yu-detail.box h2 {
  font-size: 0.85em;
  font-weight: 400;
  margin: 10px 0;
}
.yu-detail.box .infotit {
  height: -moz-fit-content;
  height: fit-content;
  font-weight: 500;
  font-size: 0.75em;
}
.yu-detail.box .tit {
  height: -moz-fit-content;
  height: fit-content;
  font-weight: 500;
}
.yu-detail.box p {
  color: #888888;
  font-size: 0.85em;
  line-height: 24pt;
  margin: 0 0;
}
.yu-detail.box p a {
  display: inline;
  width: -moz-fit-content;
  width: fit-content;
}
.yu-detail.box .credit {
  position: relative;
  margin-top: 20px;
}
.yu-detail.box a {
  display: flex;
  color: #888888;
  width: 100%;
  font-size: 0.85em;
  line-height: 24pt;
}
.yu-detail.box a:hover {
  background-color: #3a3939;
}
.yu-detail.box .showbox {
  height: 80vh;
  display: flex;
  display: flex;
  flex-direction: column;
  margin-top: 10vh;
  align-items: flex-end;
  margin-bottom: 60vh;
  z-index: 100;
}
.yu-detail.box .showbox .show {
  width: 120%;
  -o-object-fit: cover;
     object-fit: cover;
  mix-blend-mode: exclusion;
}
.yu-detail.box .z-1 {
  height: 80vh;
  display: flex;
  flex-direction: column;
  align-content: end;
  margin-bottom: 10vh;
  justify-content: end;
}
.yu-detail.box .z-1 dir {
  margin-block-start: 0;
  margin-block-end: 0;
  padding-inline-start: 0;
  margin-bottom: 30px;
  position: sticky;
  top: 12vh;
  z-index: 99;
}
.yu-detail.box .z-1 p,
.yu-detail.box .z-1 a {
  width: 100%;
  font-size: 0.75em;
  border-bottom: #505050 1px solid;
  line-height: 25px;
}
.yu-detail.box .left {
  display: flex;
  flex-direction: column;
  width: 30%;
  margin-right: 5%;
  border-right: solid 0.5pt #000000;
}
.yu-detail.box .left .projectInfo {
  height: auto;
}
.yu-detail.box .left .projectInfo p {
  margin-bottom: 30px;
  font-size: 0.9em;
}
.yu-detail.box .left .projectInfo .tit {
  margin-bottom: 10px;
}
.yu-detail.box .left .projectInfo .solgen {
  font-size: 1.2em;
  margin-bottom: 20vh;
}
.yu-detail.box .left .projectInfo img {
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  margin: 10px 0 40px 0;
  cursor: url("../project-img/open-cursur.svg") 20 20, auto;
}
.yu-detail.box .left .solgen {
  width: 85vw;
  max-width: 1400px;
  height: 40vh;
  margin-bottom: 20vh;
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  color: #fff7ec;
}
.yu-detail.box .right {
  width: 70%;
  right: 0;
}
.yu-detail.box .right img {
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  cursor: url("../project-img/open-cursur.svg") 20 20, auto;
}
.yu-detail.box .right video {
  width: 100%;
}
.yu-detail.box .right .v-box {
  display: flex;
  width: calc(100% - 20px);
}
.yu-detail.box .right .v-box video {
  width: 50%;
  margin: 10px;
}
.yu-detail.box .right .record_showbox {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  height: 100%;
  height: -moz-fit-content;
  height: fit-content;
  margin-top: 200px;
}
.yu-detail.box .right .record_showbox img {
  width: 23%;
  -o-object-fit: cover;
     object-fit: cover;
  opacity: 40%;
}
.yu-detail.box .right .record_showbox img:hover {
  opacity: 100%;
  scale: 1.1;
  transition: all 1s ease-in-out;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease-in-out;
}

.overlay video {
  max-width: 90%;
  max-height: 90%;
}

.overlay i {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
}

.overlay img {
  max-width: 80%;
  max-height: 80%;
  -o-object-fit: contain;
     object-fit: contain;
  margin: auto;
  transition: opacity 0.3s ease-in-out;
  cursor: url("../project-img/close-cursur.svg") 20 20, auto;
}
@media (max-width: 900px) {
  .yu-detail.box {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 80vh;
    height: 90%;
  }
  .yu-detail.box .left {
    width: 80%;
    margin-right: 0;
    margin-bottom: 120pt;
    position: unset;
    padding: 0 0 0 0;
    border-right: solid 0pt #000000;
    overflow-y: visible;
    height: -moz-fit-content;
    height: fit-content;
  }
  .yu-detail.box .left .z-1 {
    margin-left: -8px;
  }
  .yu-detail.box .left .z-1 .projectTitleStay {
    mix-blend-mode: normal;
  }
  .yu-detail.box .left .projectInfo {
    height: -moz-fit-content;
    height: fit-content;
    overflow-y: visible;
  }
  .yu-detail.box .left .projectInfo h1 {
    position: unset;
    height: -moz-fit-content;
    height: fit-content;
  }
  .yu-detail.box .left .projectInfo h2 {
    position: unset;
    height: -moz-fit-content;
    height: fit-content;
  }
  .yu-detail.box .left .projectInfo .tit {
    position: unset;
    height: -moz-fit-content;
    height: fit-content;
  }
  .yu-detail.box .left .nav {
    height: -moz-fit-content;
    height: fit-content;
    width: 80%;
    top: 0pt;
    position: fixed;
    padding: 5px 10px;
    border-radius: 10px;
  }
  .yu-detail.box .right {
    width: 95%;
    right: 0;
    padding: 0 0 0 0;
  }
  .yu-detail.box .right iframe {
    display: none;
  }
  .yu-detail.box .right .showbox {
    height: 80vh;
    top: 10vh;
    width: 100vw;
    position: absolute;
    align-items: flex-end;
    z-index: 0;
    opacity: 50%;
  }
  .yu-detail.box .right .showbox .show {
    width: 100vw;
    position: absolute;
    -o-object-fit: cover;
       object-fit: cover;
    mix-blend-mode: exclusion;
  }
  .overlay img {
    max-width: 100%;
    max-height: 100%;
  }
}
