@charset "UTF-8";

body{
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.7;
  color: #ccc;
  background: #F8F4EF;
}
*,*::before,*::after{
  box-sizing: border-box;
}

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  text-decoration: none;
  transition: 0.3s;
  color: inherit;
}

a:hover{
  opacity:0.7;
}

img{
  width: 100%;
}

button{
  outline: none;
  border:none;
}

.u-sp-show{
  display: none;
}
@media screen and (max-width: 768px) {
  .u-sp-hide{
    display: none;
  }
  .u-sp-show{
    display: block;
  }
}

@media screen and (max-width: 768px) {
  .wrap {
    padding-top: 60px;
  }
}

.main {
  /* width: 100vw;
  height: 100vh; */
  width: 125vw;
  height: 125vh;
  overflow: hidden;
}

.container {
  position: relative;
  /* width: 100vw;
  height: 100vh; */
  /* width: 125vw;
  height: 125vh; */
  width: 2000px;
  height: 1600px;
  overflow: hidden;
  padding: 10%;
  /* position: static; */
  z-index: 100;
  max-width: unset !important;
  cursor: grab;
}
@media screen and (max-width: 768px) {
  .container {
    width: 300%;
    height: 300vh;
    overflow: scroll;
  }
}
.gallery {
  width: 100%;
  height: 100%;
}

.work {
  position: absolute;
  width: 70px;
  cursor: pointer;
}
.work img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
@media screen and (max-width: 768px) {
  .work {
    width: 50px;
  }
}

.nav {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 24px;
  left: 24px;
  width: 210px;
  height: calc(100% - 48px);
  background: #1B1B1B;
  padding: 24px;
  border-radius: 12px;
  color: #fff;
  z-index: 1000;
}
@media screen and (max-width: 768px) {
  .nav {
    width: calc(100% - 32px);
    height: auto;
    top: 16px;
    left: 16px;
    padding: 16px;
  }
  .nav h1 {
    max-width: 140px;
  }
}

.nav .nav-categories {
  margin: 30px 0;
  overflow-y: scroll;
}
.nav .nav-categories .nav-cont + .nav-cont {
  margin-top: 30px;
}
.nav .nav-categories .nav-heading {
  font-size: 18px;
  font-weight: 600;
  /* margin-top: 1.5em; */
}
.nav .nav-categories .nav-categories-list {
  margin-top: 1.5em;
}
.nav .nav-categories .nav-categories-list .category,
.nav .nav-categories .nav-categories-list .final100 {
  font-size: 12px;
  cursor: pointer;
}
.nav .nav-categories .nav-categories-list a {
  font-size: 12px;
}
.nav .nav-categories .nav-categories-list .category,
.nav .nav-categories .nav-categories-list .final100 {
  margin-top: 1em;
}
.nav .nav-categories .nav-categories-list .category:last-child {
  margin-top: 1.5em;
  border: 1px solid #fff;
  border-radius: 20px;
  text-align: center;
  display: inline-block;
  padding: 1px 16px 2px;
}
.nav .nav-categories .nav-categories-list .category:last-child {
  position: relative;
  font-size: 10px;
  padding-left: 15px;
}
.nav .nav-categories .nav-categories-list .category:last-child::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 5px;
  width: 6px;
  height: 6px;
  transform: translateY(-50%);
  background: url(https://craypas-global.g.kuroco-img.app/files/user/sakura-online-museum/images/icon_close.svg) center center no-repeat;
}
@media screen and (max-width: 768px) {
  .nav .nav-categories {
    display: none;
  }
}

.nav .nav-link {
  color: #1B1B1B;
  background: #fff;
  border-radius: 20px;
  display: block;
  width: 100%;
  padding: 4px;
  margin-top: auto;
  text-align: center;
}
.nav .nav-link span {
  position: relative;
  font-size: 12px;
  font-weight: 600;
}
.nav .nav-link span::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -20px;
  width: 10px;
  height: 10px;
  transform: translateY(-50%);
  background: url(https://craypas-global.g.kuroco-img.app/files/user/sakura-online-museum/images/icon_e-link.svg) center center no-repeat;
}
.nav .nav-copyright {
  margin-top: 12px;
  text-align: center;
  line-height: 1.2;
}
.nav .nav-copyright small {
  margin-top: 8px;
  font-size: 10px;
}
@media screen and (max-width: 768px) {
  .nav .nav-link {
    display: none;
  }
 .nav .nav-copyright {
    display: none;
  }
}



.center-point{
  height:10px;
  width:10px;
  /* background:red; */
  position:absolute;
  top:50%;
  left:50%;
  translate:-50% -50%;
  z-index:10;pointer-events:none;
}
.start-point{
  height:10px;
  width:10px;
  /* background:green; */
  position:absolute;
  top:10px;
  left:10px;

  z-index:10;pointer-events:none;
}
.end-point{
  height:10px;
  width:10px;
  /* background:blue; */
  position:absolute;
  bottom:10px;
  right:10px;
  z-index:10;
  pointer-events:none;
}
.overboard-window{
  height:100%;
  width:100%;
  overflow:clip;
}
.overboard{
  position:relative;
  transform-origin:center;
  width:100%;
  height:100%;
  background-size:cover;
  --scale:2;
  scale:var(--scale);
  translate:calc(calc(var(--x) * 1%) * (var(--scale) - 1)) calc(calc(var(--y) * 1%) * (var(--scale) - 1));
  transition:all 0.1s linear;
}


.images-placer{
  display: grid;
  grid-auto-columns: 1fr;
  grid-auto-rows: 1fr;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
  gap: 0px 0px;
  grid-template-areas:
    ". . . . . . . . . ."
    ". . . . . . . . . ."
    ". . . . b . h . j ."
    ". . a . . . . . . ."
    ". . . . e . . d . ."
    ". . . . . . . . . ."
    ". g . c . . f . . ."
    ". . . . . . . . k ."
    ". . . . . i . . . ."
    ". . . . . . . . . .";

  & img{
    align-self:center;
    transition:all .3s ease-out;
    width:100%;
    &:hover{

    scale:1.2;
    }}
}
.a { grid-area: a; }
.b { grid-area: b; }
.c { grid-area: c; }
.d { grid-area: d; }
.e { grid-area: e; }
.f { grid-area: f; }
.g { grid-area: g; }
.h { grid-area: h; }
.i { grid-area: i; }
.j { grid-area: j; }
.k { grid-area: k; }

.modal {
  display: none;
  position: relative;
  z-index: 500;
  min-height: 100vh;
  background: #F8F4EF;
}
.modal .modal__container {
  width: 100%;
  overflow: hidden;
}
.modal .modal__container .modal__content {
  display: flex;
}
.modal .modal__container .modal__content img {
  max-height: 500px;
  width: auto;
  margin: 0 auto;
}

.modal.is-open {
  display: block;
}

.micromodal-slide .modal__header {
  position: absolute;
  background: transparent;
}

.modal__content {
  display: flex;
  flex-direction: column;
  width: 100%;
  color: #1B1B1B;
}
.modal__content .modal-header {
  padding-top: 48px;
  padding-bottom: 16px;
  width: 100%;
}

@media screen and (max-width: 768px){
  .modal__content .modal-header {
    padding-top: 98px;
  }
}
.modal__content .modal-header-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: calc(210px + 24px + 24px);
}
.modal__content .modal-header .title-work {
  font-size: 20px;
  font-weight: 600;
}
.modal__content .modal-header .title-artist {
}
.modal__content .modal-header .nav .nav-link {
  position: absolute;
  top: 0;
  right: 0;
}
@media screen and (max-width: 768px) {
  .modal__content .modal-header-inner {
   margin: 0 2em 0;
  }
}

.modal__content .modal-body {
  background: #fff;
  width: 100%;
  padding: 24px 0;
}
.modal__content .modal-body-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: calc(210px + 24px + 24px);
}
.modal__content .modal-body .work-list {
  width: 100%;
}
@media screen and (max-width: 768px) {
  .modal__content .modal-body-inner {
    margin: 0 2em 0;
  }
}

.modal__content .modal-detail {
  width: 100%;
}
.modal__content .modal-detail-inner {
  margin-left: calc(210px + 24px + 24px);
}
.modal__content .modal-detail .socialLinks {
  margin: 72px auto 0;
  width: 100%;
  max-width: 900px;
}
.modal__content .modal-detail .socialLinks .socialLinks-list {
  display: flex;
  justify-content: flex-end;
}
.modal__content .modal-detail .socialLinks .socialLinks-item {
  margin-left: 16px;
}
.modal__content .modal-detail .socialLinks .socialLinks-item:last-child {
  margin-right: 0;
}
.modal__content .modal-detail .information {
  width: 100%;
  max-width: 900px;
  margin: 72px auto 0;
}
.modal__content .modal-detail .information-list {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.modal__content .modal-detail dt {
  font-weight: 600;
  position: relative;
}
.modal__content .modal-detail dt::after {
  content: '/';
  padding: 0 4px;
}
.modal__content .modal-detail dd.wide {
  width: 100%;
  margin-top: 4px;
  padding-right: 2em;
  overflow-wrap: anywhere;
}
@media screen and (max-width: 768px) {
  .modal__content .modal-detail-inner {
    margin: 0 2em 0;
  }
  .modal__content .modal-detail .socialLinks {
    margin-top: 24px;
  }
  .modal__content .modal-detail .information {
    margin-top: 24px;
  }
}

.modal__close {
  display: block;
  position: absolute;
  top: 114px;
  right: 24px;
  width: 24px;
  height: 24px;
  background: transparent;
  cursor: pointer;
}

.modal__close::before, .modal__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 24px;
  background: #1b1b1b;
}

.modal__close::before {
  transform: translate(-50%,-50%) rotate(45deg);
}

.modal__close::after {
  transform: translate(-50%,-50%) rotate(-45deg);
}

.nav-spMenu {
  display: none;
  position: absolute;
  top: 17px;
  right: 20px;
  width: 30px;
  height: 30px;
  margin-left: auto;
  cursor: pointer;
}
.nav-spMenu i {
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #fff;
  transition: all .3s;
}

.nav-spMenu i:nth-of-type(1) {
  top: 5px;
}

.nav-spMenu i:nth-of-type(2) {
  top: 14px;
}

.nav-spMenu i:nth-of-type(3) {
  bottom: 5px;
}

.nav-spMenu.active i:nth-of-type(1) {
  transform: translateY(9px) rotate(45deg);
}

.nav-spMenu.active i:nth-of-type(2) {
  opacity: 0;
}

.nav-spMenu.active i:nth-of-type(3) {
  transform: translateY(-9px) rotate(-45deg);
}

@media screen and (max-width: 768px){
  .header-nav{
    position: fixed;
    visibility: visible;
    opacity: 1;
  }
  .nav-spMenu{
    display: block;
  }
  .nav .nav-categories{
    margin: 30px 0 20px;
  }
  .modal__close {
    top: 32px;
  }
}

body.modalOpen .work{
  top: 0 !important;
  left: 0 !important;
}
body.modalOpen .container {
  display: none;
}

.work img{
  transition: transform .3s ease-out;
}
.work:hover{
  z-index: 10;
}
.work:hover img{
  transform: scale(1.25);
}

.like-button {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: 1em;
}
.like-button svg {
  background: transparent;
}
.like-count {
  margin-left: .15em;
}