@charset "utf-8";
/* CSS Document */
* {
    margin: 0;
    padding: 0;
}

/* general */
html,
body {
  width: 100%;
  height: 100%;
  scroll-behavior: smooth;
  box-sizing: border-box;
}

body {
  font-family: "", serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 1.5px;
  background: #fff;
  position: relative;
}

body.modal-open {
  position: fixed;
  overflow: hidden;
  width: 100%;
  top: 0;
  left: 0;
}


/* mv*/
.mv {
  overflow: hidden;
  height: 100vh;
  opacity: 0;
  transition: opacity 4s ease;
  background-color: #000;
  z-index: -3;
}

.mv_bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-image: url("./img/sp_mv.png");
  background-repeat: no-repeat;
  background-position: center;
  z-index: 0;
  transition: background-size 0.5s ease;
}

.mv.loaded {
  opacity: 1;
}

.txt_wrap {
    position: absolute;
    left: 25px;
    top: 80px;
}
    
.txt_wrap p {
    color: white;
    font-size: 8px;
    margin-left: 13px;
    margin-top: 11px;
}

.txt_wrap h1 {
    color: white;
    font-size: 15px;
}

.pc {
    display: none;
}

@media screen and (min-width: 1025px) {
  .mv_bg {
    background-image: url("./img/2024_2.jpg");
  }
	
  .txt_wrap h1 {
      font-size: 26px;
      letter-spacing: 6px;
  }

  .txt_wrap p {
      font-size: 16px;
      margin-left: 30px;
      padding-top: 10px;
      letter-spacing: 3px;
  }

  .txt_wrap {
      left: 90px;
      top: 220px;
  }

  .pc {
    display: block;
  }
}

.scroll_down {
  position: absolute;
  width: 100%;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  bottom: 0;
}

.scroll_down {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 1.5s ease,
    transform 1.5s ease;
}

.scroll_down.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll_down::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80%;
  background: linear-gradient(180deg, rgba(#fff, 0) 0, rgba(#fff, .8) 80%, rgba(#fff, .8) 100%);
}

.scroll_down p {
  display: inline-block;
  position: absolute;
  right: 0;
  bottom: -40px;
  left: 0;
  z-index: 2;
  width: 13px;
  padding: 10px 10px 110px;
  font-size: 10px;
  font-family: serif;
  line-height: 1;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  writing-mode: vertical-lr;
  transition: .2s;
  overflow: hidden;
  margin: auto;
}

.scroll_down {
  transition: opacity 0.5s ease-in-out;
}

@media screen and (min-width: 1025px) {
  .scroll_down p {
    font-size: 13px;
  }
}

#type01 p {
  color: #FFF;
}

#type01 p::before,
#type01 p::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0.5px;
  height: 100px;
}

#type01 p::before {
  background: #000; 
  width: 0.5px;
}

#type01 p::after {
  background: #fff; 
  animation: sdl01 2s cubic-bezier(1, 0, 0, 1) infinite;
}

@keyframes sdl01 {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  50.1% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}

.menu {
  position: fixed;
  top: 0;
  left: -100%; 
  width: 300px;
  height: 100%;
  background-color: #333;
  opacity: 0.95;
  color: #fff;
  transition: left 0.4s ease;
  padding: 20px;
  box-sizing: border-box;
  z-index: 9997 !important;
  pointer-events: auto;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.menu.open {
  left: 0;
}

.hamburger {
  position: fixed;
  bottom: 20px; 
  left: 20px; 
  width: 30px;
  cursor: pointer;
  z-index: 9998;
  pointer-events: auto;
  mix-blend-mode: difference;
}

.hamburger span {
  display: block;
  height: 1px;
  width: 100%;
  background-color: #fff;
  margin: 8px 0;
  transition: 0.4s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.menu p:first-child {
  padding-top: 15vw;
  font-size: 24px;
  letter-spacing: 5px;
}

.menu p:nth-child(2) {
  padding-top: 10px;
  letter-spacing: 3px; 
}

.menu ul {
  list-style-type: none;
  padding: 0;
  margin-top: 21vw;
}

.menu li {
  padding: 20px 0;
}

.menu li a {
  color: #fff;
  text-decoration: none;
  display: block;
  font-size: 1.5em;
}

.menu .insta {
    color: white;
    font-size: 35px;
}

.menu a span i {
    padding-top: 21vw;
}

@media screen and (min-width: 390px) {
    .menu ul {
       margin-top: 40vw;
     }

    .menu a span i {
      padding-top: 41vw;
    }
}

@media screen and (min-width: 762px) {
    .menu ul {
       margin-top: 24vw;
     }

    .menu a span i {
      padding-top: 23vw;
    }
}

@media screen and (min-width: 1025px) {
  .menu {
    position: fixed !important;
    top: 0;
    right: -400px !important;
    left: auto !important;
    width: 400px;
    height: 100%;
    opacity: 0.95;
    transition: right 0.4s ease;
    padding: 20px;
    box-sizing: border-box;
    z-index: 90;
    text-align: left;
  }

  .menu.open {
    right: 0 !important;
  }

  .hamburger {
    position: fixed !important;
    top: calc(50% - 15px); 
    right: 24.5px !important;
    left: auto !important;
    width: 30px;
    height: 30px;
    cursor: pointer;
    box-sizing: border-box;
  }

  .hamburger span {
    display: block;
    height: 0.7px;
    width: 100%;
    margin: 6px 0;
    transition: 0.4s;
  }

  .hamburger.active span:nth-child(1),
  .hamburger.active span:nth-child(3) {
    background-color: #fff !important;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
    
    .menu ul {
      list-style-type: none;
      padding: 0;
      margin-top: 130px;
    }

    .menu li {
      padding: 20px 0;
      padding-left: 30px;
    }
    
    .menu p:first-child {
      padding-top: 150px;
      padding-left: 30px;
      font-size: 24px;
      letter-spacing: 5px;
    }

     .menu p:nth-child(2) {
      padding-top: 10px;
      padding-left: 30px;
      letter-spacing: 3px; 
    }
    
    .menu a span i {
      padding-left: 30px;
      padding-top: 12vw;
    }
}

/* works */
.works {
  width: 100%;
  position: relative;
  height: 100vh;
  text-align: center;
  overflow: hidden !important;
  background-image: url("./img/bg_sp_works.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center top;
  background-attachment: fixed;
  display: block;
  z-index: 3;
  opacity: 0;
  transition: opacity 2s ease-out;
  background-color: #fff;
}

.works.fade-in-works {
  opacity: 1;
}

.works > h2 {
  color: black;
  font-size: 15px;
  padding-top: 106vw;
  padding-bottom: 50vh;
  opacity: 0;
  transform: translateY(30px); 
  letter-spacing: 0px;
  transition: opacity 1.5s ease-out, transform 1.5s ease-out, letter-spacing 1s ease-out; /* 追加 */
}

.works .work {
    width: 314px;
    height: 314px;
    overflow: hidden;
    margin: 0 auto;
    margin-bottom: 100px;
    position: relative;
}

@media screen and (min-width: 1025px) {
    .works {
        background-image: url("./img/bg-wourks.png");
        background-repeat: no-repeat;
        background-size: contain;
        background-attachment: fixed;
        display: block;
        z-index: 3;
    }
    .works > h2 {
        font-size: 22px;
        letter-spacing: 3px;
        padding-top: 25vw;
        padding-bottom: 65vh;
    }
    .works .work {
    margin-left: 260px;
    position: relative;
    }
}

.works {
  position: relative;
  width: 100%;
  height: auto;
  overflow-y: auto;
  min-height: 100vh;
}

.works.fade-in-works {
  opacity: 1;
}

.works-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  opacity: 0;
  filter: blur(120px); 
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), 
    filter 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: -1;
}

.works.blur .works-bg,
.works.modal-open .works-bg {
  opacity: 0.8;
  filter: blur(100px);
}

.works .works-bg {
  opacity: 0;
  filter: blur(0px);
}

.works .work {
  width: 314px;
  height: 314px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease;
  position: relative;
  z-index: 1;
}

.works .work img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0; 
  position: relative;
}

.works .work.dimmed {
  opacity: 0.1;
  transition: opacity 0.3s ease;
}

.modal {
  position: fixed !important;
  top: 0%;
  transform: translateY(-50%) scale(0.9); 
  opacity: 0; 
  width: 100%;
  height: 100vh;
  background-color: transparent;
  z-index: 20;
  overflow-y: auto;
  overflow: hidden;
  transition: 
        opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1), 
        transform 1.2s cubic-bezier(0.22, 1, 0.36, 1); 
}

.tag-modal {
  position: fixed;
  opacity: 0;
  top: 7.5vw;
  left: 7vw;
  color: #333;
  z-index: 99;
  font-size: 15px;
}

@media screen and (min-width: 1025px) {
  .modal {
    position: fixed !important;
    top: 0%;
    right: 4.583%;
    transform: translateY(-50%) scale(0.9); 
    opacity: 0;
    width: 50%;
    height: 100vh;
    background-color: transparent;
    padding: 40px;
    z-index: 20;
    overflow-y: auto;
    overflow: hidden;
    transition: 
          opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1), 
          transform 1.2s cubic-bezier(0.22, 1, 0.36, 1); 
  }
  
    .tag-modal {
    color: white;
    font-size: 2.5em;
    top: 2.5vw;
    left: 3vw;
  }
}

.modal.open {
  opacity: 1;
  transform: scale(1); 
}

.tag-modal.open {
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  border: none;
  background: none;
  cursor: pointer;
  color: #333;
}

.works .work.dimmed {
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
  z-index: 10;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-close {
  position: absolute;
  top: 3.5%;
  right: 27px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 20;
  font-size: 0;
}

.modal-close::before,
.modal-close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%; 
  height: 1px; 
  background-color: #333; 
  transform-origin: center;
  transition: background-color 0.3s ease;
}

.modal-close::before {
  transform: rotate(45deg);
}

.modal-close::after {
  transform: rotate(-45deg);
}

.modal-close:hover::before,
.modal-close:hover::after {
  background-color: #b0b0b0;
}

.detail-bg {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 100vh;
  background: white;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2); 
  z-index: 2;
}

.detail-bg .img-wrap {
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
  max-width: 380px;
  max-height: 590px;
}

.detail-bg .img-wrap img {
  max-width: 100%;
  max-height: 55svh;
  height: auto;
  width: auto;
  object-fit: contain;
  display: block;
}

.detail-bg .text-content {
    text-align: center;
}

.detail-bg .text-content h2 {
    padding-bottom: 14px;
    padding-top: 30px;
}

@media screen and (min-width: 1025px) {
  .detail-bg .img-wrap {
    position: absolute;
    left: -180px;
    top: 48%;
    transform: translateY(-50%);
    height: auto;
    z-index: 3;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 560px;
    max-height: 828px;
  }  

 .detail-bg .img-wrap img {
    max-width: 100%;
    max-height: 100%;
    cursor: pointer;
  }

  .detail-bg {
    position: absolute; 
    top: 0;
    right: 0;
    width: 70%;
    height: 85vh;
    background: white;
    padding: 40px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2); 
    z-index: 2;
  }

  .detail-bg .text-content {
    position: absolute;
    top: 44%;
    width: 28%;
    right: 18%;
    text-align: center;
 }

  .modal-close {
  top: 5.5%;
  right: 50px;
  }
}

@media screen and (min-width: 762px) {
	.detail-bg .img-wrap {
           max-width: 485px;
           max-height: 738px;
	}
}

@media screen and (max-width: 391px) {
        .detail-bg .img-wrap {
           max-width: 325px;
           max-height: 380px;
        }
}

#about {
    height: 100vh;
    width: 100%;
    text-align: center;
    background-image: url("./img/bg_sp_about-min.png");
    background-position: center top;
    background-attachment: fixed;
    background-repeat: no-repeat;
    animation: fadeIn 0.8s ease;
    background-size: contain;
    overflow: hidden;
    position: relative; 
    z-index: 997;
    background-color: white;
}

#about .about_text_wrap h2 {
    padding-top: 49vh;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.5s;
}

#about .about_text_wrap h2:hover {
    opacity: 0.2;
    font-size: 13px;
}

#about p {
    position: absolute;
    bottom: 25px;
    left: 23.5%;
    font-size: 9px;
}

@media screen and (min-width: 1025px) {
    #about {
        background-image: url("./img/bg-about.png");
    }
    
    #about .about_text_wrap h2 {
        padding-top: 50vh;
        font-size: 24px;
    }
    
    #about .about_text_wrap h2:hover {
    opacity: 0.2;
    font-size: 23px;
    }

    #about p { 
    left: 41.5%;
    font-size: 12px;
    }
}

.modal2 {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  animation: fadeIn 0.8s ease;
  transition: opacity 0.5s ease-in-out;
  z-index: 9999;
}

.modal-content2 {
  position: relative;
  width: 100%;
  height: 100vh;
  margin: 0;
  background: #fff;
  border-radius: 0;
  text-align: left;
  box-sizing: border-box;
  background-color: #000;
}

.modal-inner2 {
  width: 100vw;
  height: 100vh;
  background-image: url("./img/sp_about_bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5vh 0; 
  box-sizing: border-box;
}

.modal2-wrap {
  width: 90vw; 
  max-width: 100%; 
  height: auto; 
  max-height: 90vh; 
  overflow-y: auto;    
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transform: scale(1);
}

.close {
  position: absolute;
  right: 0.5em;
  top: 0.5em;
  font-size: 9vw;
  cursor: pointer;
  z-index: 999;
  color: white;
}

#modal2 .img-wrap {
    text-align: center;
}

@keyframes fadeIn {
  from { opacity: 0 }
  to { opacity: 1 }
}

.modal2-wrap h3 .imgname {
    width: 77vw;
    min-width: 50%;
    position: absolute;
    top: min(62vw, 550px);
    left: 6vw;
}

#modal2 .img-wrap img:first-child {
    width: 67%;
    min-width: 50%;
}

#modal2 .modal-inner2_text_wrap{
    text-align: left;
    margin: 0 auto;
    width: 70vw;
    padding-top: 8vw;
    color: white;
    font-size: 12px;
}

#modal2 .modal-inner2_text_wrap p:first-child {
    padding-top: 16vw;
    padding-bottom: 4vw;
    font-size: 16px;
    font-weight: bold;
}

#modal2 .modal-inner2_text_wrap p:nth-child(2) {
    padding-bottom: 3vw;
}

#modal2 .modal-inner2_text_wrap p:nth-child(3) {
    padding-bottom: 35vw;
}

#modal2 .modal-inner2_text_wrap span i {
    font-size: 25px;
}

#modal2 .modal-inner2_text_wrap span i:first-child {
    padding-left: 23px;
}

#modal2 .modal-inner2_text_wrap a {
    color: white;
    transition: opacity 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

#modal2 .modal-inner2_text_wrap a:hover {
    opacity: 0.5;
}

@media screen and (min-width: 1025px) {
    .modal2 {
      height: 100%;
      width: 100%;
    }
    
    .modal-inner2 {
        background-image: url("./img/about_portrait.png");
        overflow: scroll;
    }
    
    .modal2-wrap {
        display: flex;
        flex-direction: row-reverse;
        overflow-y: hidden;
    }
    
    .close {
        position: absolute;
        left: 95%;
        top: 1em;
        font-size: 40px;
        cursor: pointer;
        z-index: 999;
        color: white;
    }
    
    #modal2 .img-wrap img:nth-child(1) {
        display: none;
    }
    
    #modal2 .img-wrap img:nth-child(2) {
        display: block;
        width: 77%;
    }
    
   #modal2 .modal2-wrap  .imgname {
        width: 43%;
        min-width: 30%;
        position: absolute;
        top: 11vw;
        left: 6.5vw;
    }

    #modal2 .modal-inner2_text_wrap{
        width: 28vw;
        padding-top: 11vw;
        padding-left: 2vw;
        color: white;
        font-size: 12px;
    }
    
    #modal2 .modal-inner2_text_wrap p:first-child {
        padding-top: 43vw;
        padding-bottom: 2vw;
    }
    
    #modal2 .modal-inner2_text_wrap p:nth-child(2) {
        padding-bottom: 2vw;
    }
}

@media screen and (min-width: 1025px) {
  .scroll-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .scroll-menu.visible {
    transform: translateY(0);
  }

  .scroll-menu-content {
    padding: 20px;
    height: 11em;
    overflow-y: auto;
  }

  .category-grid {
    display: flex;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    justify-content: space-around;
    align-items: flex-start;
  }

  .category-section {
    min-width: min-content;
  }

  .category-title {
    font-size: 1em;
    margin-bottom: 10px;
    color: #333;
    white-space: nowrap;
  }

  .thumbnail-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
  }

  .thumbnail-item {
    width: 35px;
    height: 35px;
    cursor: pointer;
    transition: transform 0.2s;
  }

  .thumbnail-item:hover {
    transform: scale(1.1);
  }

  .thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1px;
  }
}

#backToTop {
  position: fixed;
  bottom: 30px;
  right: 20px;
  padding: 10px 11px;
  font-size: 14px;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease, padding 0.3s ease;
  z-index: 1000;
  box-shadow: 0 0 4px rgba(149, 149, 149, 10);
}

#backToTop.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

#backToTop:hover {
    padding: 11.5px;
}

#loader {
  position: fixed;
  inset: 0;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: loader-fadeout 1s ease forwards;
  animation-delay: 4s;
}

.loader-content {
  text-align: center;
  opacity: 0;
  animation: content-fadein 1s ease forwards;
  animation-delay: 0.9s;
}

.loader-name {
  font-family: serif;
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 6px;
  color: #111;
  margin-bottom: 5px;
}

#loader p:nth-child(2) {
  font-size: 0.7em;
  margin-bottom: 20px;
}

.loader-line {
  width: 0;
  height: 1px;
  background: #111;
  margin: 0 auto;
  animation: line-expand 1s ease forwards;
  animation-delay: 2.5s;
}

/* アニメーション */
@keyframes content-fadein {
  to {
    opacity: 1;
  }
}

@keyframes line-expand {
  to {
    width: 300px;
  }
}

@keyframes loader-fadeout {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@media screen and (min-width:1025px) {
   .loader-name {
     font-size: 1.7rem;
    }

   #loader p:nth-child(2) {
     font-size: 1.4em;
   }
}