#works .inner_max {
  position: relative;
}
#works .works_list {
  position: relative;
  width: 100%;
  display: flex;
}
@media screen and (min-width: 769px) {
  #works .works_list {
    justify-content: flex-start;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 6rem 3.2rem;
  }
}
@media screen and (max-width: 768px) {
  #works .works_list {
    flex-direction: column;
    gap: 3rem 0;
  }
}

#works .works_list a {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: center;
  cursor: pointer;
}
@media screen and (min-width: 769px) {
  #works .works_list a {
    width: 41.2rem;
    gap: 2rem 0;
  }
}
@media screen and (max-width: 768px) {
  #works .works_list a {
    width: 100%;
    gap: 1.5rem 0;
    align-items: center;
    justify-content: center;
  }
}

#works .works_list a figure {
  position: relative;
  display: block;
  overflow: hidden;
}
@media screen and (min-width: 769px) {
  #works .works_list a figure {
    width: 41.2rem;
    height: 26rem;
  }
}
@media screen and (max-width: 768px) {
  #works .works_list a figure {
    width: 29.5rem;
    height: 19rem;
  }
}

#works .works_list dl {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: center;
}
@media screen and (min-width: 769px) {
  #works .works_list dl {
    gap: 1rem 0;
  }
}
@media screen and (max-width: 768px) {
  #works .works_list dl {
    gap: 0.5rem 0;
  }
}

#works .works_list a dt {
  position: relative;
  text-align: center;
  font-weight: 500;
  letter-spacing: 0em;
  color: #0000ff;
}
@media screen and (min-width: 769px) {
  #works .works_list a dt {
    line-height: 1.375em;
    font-size: 1.6rem;
  }
}
@media screen and (max-width: 768px) {
  #works .works_list a dt {
    line-height: 1.572em;
    font-size: 1.4rem;
  }
}

#works .works_list a dd {
  position: relative;
  text-align: center;
  font-weight: 500;
  letter-spacing: 0em;
  color: #0000ff;
}
@media screen and (min-width: 769px) {
  #works .works_list a dd {
    line-height: 1.375em;
    font-size: 1.6rem;
  }
}
@media screen and (max-width: 768px) {
  #works .works_list a dd {
    line-height: 1.667em;
    font-size: 1.2rem;
  }
}

/**/
#modal {
  position: fixed;
  /*z-index:8900;*/
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  min-height: calc(var(--vh, 1vh) * 100);
  pointer-events: none;
  overflow: hidden;
  background: rgba(0, 0, 255, 0.9);
}
@media screen and (min-width: 769px) {
  #modal {
    padding: 16rem 0 6rem;
    z-index: 9900;
  }
}
@media screen and (max-width: 768px) {
  #modal {
    z-index: 8990;
    padding: 4.2rem 0 2rem;
  }
}
#modal {
  transition: all 300ms cubic-bezier(0.74, 0.255, 0.19, 0.955);
  transition-timing-function: cubic-bezier(0.74, 0.255, 0.19, 0.955);
  opacity: 0;
}

@media screen and (max-width: 768px) {
  #modal::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-left: 2rem #fff solid;
    border-bottom: 2rem #fff solid;
    pointer-events: none;
  }
}

#modal.open {
  opacity: 1;
  pointer-events: auto !important;
}

#modal .inner {
  position: relative;
  margin: 0 auto;
}
@media screen and (min-width: 769px) {
  #modal .inner {
    width: 100rem;
    height: 100%;
    padding: 0 16rem;
  }
}
@media screen and (max-width: 768px) {
  #modal .inner {
    width: 33.5rem;
    padding: 0rem 2rem 2rem;
    height: 100%;
  }
}
#modal .inner {
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

#modal .inner::-webkit-scrollbar {
  width: 5px;
}

#modal .inner::-webkit-scrollbar-track {
  background-color: #fff;
}

#modal .inner::-webkit-scrollbar-thumb {
  background-color: #0000ff;
  border-radius: 0;
}

#modal .inner::-webkit-scrollbar-button {
  width: 0;
  height: 0;
  display: none;
}

.works_set > div {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: center;
  color: #fff;
}
@media screen and (min-width: 769px) {
  .works_set > div {
    gap: 2.5rem 0;
  }
}
@media screen and (max-width: 768px) {
  .works_set > div {
    gap: 1.5rem 0;
  }
}

.works_set {
  display: none;
}

.works_set.current {
  display: block !important;
}

.works_set figure {
  position: relative;
  display: block;
  overflow: hidden;
}
@media screen and (min-width: 769px) {
  .works_set figure {
    width: 68rem;
  }
}
@media screen and (max-width: 768px) {
  .works_set figure {
    height: 100%;
  }
}

.works_set dl {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: center;
}
@media screen and (min-width: 769px) {
  .works_set dl {
    gap: 1rem 0;
  }
}
@media screen and (max-width: 768px) {
  .works_set dl {
    gap: 0.5rem 0;
  }
}

.works_set dt {
  position: relative;
  text-align: center;
  font-weight: 500;
  letter-spacing: 0em;
}
@media screen and (min-width: 769px) {
  .works_set dt {
    line-height: 1.75em;
    font-size: 2rem;
  }
}
@media screen and (max-width: 768px) {
  .works_set dt {
    line-height: 1.572em;
    font-size: 1.4rem;
  }
}

.works_set dd {
  position: relative;
  text-align: center;
  font-weight: 500;
  letter-spacing: 0em;
}
@media screen and (min-width: 769px) {
  .works_set dd {
    line-height: 1.572em;
    font-size: 1.4rem;
  }
}
@media screen and (max-width: 768px) {
  .works_set dd {
    line-height: 1.667em;
    font-size: 1.2rem;
  }
}

.works_set p {
  color: #fff;
  text-align: left;
}

.close_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  border: none;
  background: none;
}
@media screen and (min-width: 769px) {
  .close_btn {
    width: 20rem;
    height: 2rem;
    gap: 1rem;
    position: fixed;
    left: 50%;
    margin-left: 26rem;
    top: 21rem;
    transform: rotate(90deg);
  }
}
@media screen and (max-width: 768px) {
  .close_btn {
    position: relative;
    flex-direction: row-reverse;
    width: 10rem;
    height: 1.2rem;
    gap: 1rem;
    margin: 1.5rem 0 1.5rem auto;
  }
}

.close_btn p {
  position: relative;
  display: inline-block;
  text-align: center;
  font-weight: 700;
  font-family: "Dela Gothic One", sans-serif;
  letter-spacing: 0em;
  color: #fff;
}
@media screen and (min-width: 769px) {
  .close_btn p {
    line-height: 1em;
    font-size: 1.8rem;
    order: 2;
  }
}
@media screen and (max-width: 768px) {
  .close_btn p {
    line-height: 1em;
    font-size: 1.2rem;
    order: 2 !important;
  }
}

.close_btn > span {
  position: relative;
  display: inline-block;
}
@media screen and (min-width: 769px) {
  .close_btn > span {
    width: 3rem;
    height: 1px;
    order: 1;
  }
}
@media screen and (max-width: 768px) {
  .close_btn > span {
    width: 3rem;
    height: 1px;
    order: 1 !important;
  }
}
.close_btn > span {
  margin: 0;
  background: none;
  transition: 0.4s ease-in-out;
}

.close_btn > span::before,
.close_btn > span::after {
  display: block;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
}
@media screen and (min-width: 769px) {
  .close_btn > span::before,
  .close_btn > span::after {
    height: 1px;
  }
}
@media screen and (max-width: 768px) {
  .close_btn > span::before,
  .close_btn > span::after {
    height: 1px;
  }
}
.close_btn > span::before,
.close_btn > span::after {
  background: #fff;
  transition: all 300ms cubic-bezier(0.74, 0.255, 0.19, 0.955);
  transition-timing-function: cubic-bezier(0.74, 0.255, 0.19, 0.955);
}

@media screen and (min-width: 769px) {
  .close_btn > span::before {
    width: 3rem;
    transform: rotate(15deg);
  }
}
@media screen and (max-width: 768px) {
  .close_btn > span::before {
    width: 3rem;
    transform: rotate(15deg);
  }
}

@media screen and (min-width: 769px) {
  .close_btn > span::after {
    width: 3rem;
    transform: rotate(-15deg);
  }
}
@media screen and (max-width: 768px) {
  .close_btn > span::after {
    width: 3rem;
    transform: rotate(-15deg);
  }
}/*# sourceMappingURL=style.css.map */