/* common */
html {
    font-size: 83.333333%;
    font-family: "futura-pt", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.headline{
    font-size: 2rem;
    margin:50px 0 60px;
}

.contents-inner{
    max-width: 80%;
    margin: 0 auto;
    padding: 40px 0 80px;
}

.header-container{
    position: fixed;
    width: 100%;
    background-color: rgba(255,255,255,0.4);
    backdrop-filter: blur(10px);
    z-index: 98;
}

.header-inner{
    max-width: 100%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    height: 50px;
    padding: 10px 20px;
}

.logo{
    width: 120px;
}

.menu{
    display: flex;
    gap: 20px;
    margin: 0 20px 0 0;
    font-size: 1.2rem;
}

.menu a{
    color: #333;
}

.menu li{
    list-style: none;
}

.menu li a{
    text-decoration: none;
}

.hover1 {}
.hover1 a{
  display: inline-block;
  color:#333;
  font-size:120%;
  text-decoration:none;
  position: relative;
  transition: .3s;
}
.hover1 a::after{
  position: absolute;
  bottom: .3em;
  left: 0;
  content: '';
  width: 100%;
  height: 1px;
  background-color:#333;
  opacity: 0;
  transition: .3s;
}
.hover1 a:hover::after{
  bottom: 0;
  opacity: 1;
}

.hover2:hover {
    background: #333;
    color: #ff701e;
    cursor: pointer;
    transition: .3s cubic-bezier(0.45, 0, 0.55, 1);
  }

.sponly{
    display: none;
}

/* loading */
.fill {
    fill: transparent; /* 初期状態で透明 */
    stroke-width: 1px;
    stroke: transparent; /* 初期状態で透明 */
  }
  
.loading__svg {
    background-color: #fcfcfc;
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 99;
    padding-top: 20%;
  }
  
  .loading__svg #logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    min-width: 200px;
    height: auto;
  }
  
  .loading__svg #loading__svg,
  .loading__svg .fill {
    fill: transparent;
    stroke-width: 1px;
    stroke: #3a3a3a;
  }
  
  #loadingOut {
    width: 100%;
    text-align: center;
    height: 100vh;
    background-color: #000;
  }
  
  #loadingOut p {
    padding-top: 50vh;
    font-size: 16px;
    color: #fff;
    margin: 0;
  }


/* main visual */
.main-mv-container{
    margin-top: 75px;
    margin-bottom: 60px;
    padding-top: 70px;
}

.main-mv-wrapper{
    width: 80%;
    margin: 0 auto;
    max-width: 1200px;
    position: relative;
}

.main-mv-wrapper img{
    width: 100%;
}

.main-text-container{
    text-align: center;
}

.main-contents{
    margin: 0 auto;
}

@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300;400&display=swap');

.scroll_down{
  position:absolute;
  top: 210px;
  left: -5%;
}

.scroll_down a{
  position: absolute;
  left: 10px;
  bottom: 95px;
  color: #000;
  font-size: 12px;
  font-family: 'Josefin Sans', sans-serif;
  letter-spacing: .2em;
  writing-mode: vertical-lr;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll_down:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: -4px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background:#000;
  animation:
    circlemove 1.6s ease-in-out infinite,
    cirlemovehide 1.6s ease-out infinite;
}

@keyframes circlemove{
  0%{bottom:160px;}
  100%{bottom:0px;}
}

@keyframes cirlemovehide{
  0%{opacity:0}
  50%{opacity:1;}
  80%{opacity:0.9;}
  100%{opacity:0;}
}

.scroll_down:after{
  content:"";
  position: absolute;
  bottom:0;
  left:0;
  width:2px;
  height: 160px;
  background:#000;
}

/* circle */
.circle{
    position: absolute;
    right: -5%;
    bottom: -50px;
    z-index: 10;
}

.circle img{
    width: 100px;
    height: 100px;
}

@keyframes rotate {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }
  
  .rotate {
    animation: rotate 12s infinite linear;
  }

/* main text */
.main-text-container{
    height: 700px;
}

.main-text-wrpper{
    height: 650px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    letter-spacing: 0.5rem;
    background-color: rgba(255, 255, 255, 0.6);
    mix-blend-mode: exclusion;
    backdrop-filter: blur(5px);
}

.main-text-1{
    font-size: 2rem;
    font-family: "franklin-gothic-atf", sans-serif;
    font-weight: 900;
}

.main-text-2{
    font-size: 5rem;
    margin-top: 10px;
    font-family: "franklin-gothic-atf", sans-serif;
    font-weight: 600;
}


/* youtube */
.youtube-container{
    background-color: rgba(255,255,255,1);
    backdrop-filter: blur(10px);
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.35);
}

.aboutus{
  text-align: center;
  padding: 60px 0 0 0;
}

.aboutus h2{
  font-size: 2rem;
  margin-bottom: 30px;
}

.aboutus p{
  line-height: 30px;
}

.youtube {
    width: 70%;
    aspect-ratio: 16/9;
    margin: 0 auto 40px;
}

.button-wrapper{
    text-align: center;
}

.button{
    display: inline-block;
    width: 250px;
    text-decoration: none;
    padding: 10px;
    margin: 30px auto;
    outline: none;
    background-color: #fff;
    color: #333;
    -webkit-transition: all .3s;
    transition: all .3s;
    border:solid #333 1px;
    border-radius: 50px;
    text-align: center;
}

.button:hover {
    background-color: #333;
    color: #fff;
  }

/* member */
.member-container{
    background-color: rgba(255, 255, 255, 0.6);
    /* mix-blend-mode: exclusion; */
    backdrop-filter: blur(5px);
}

.member-list{
    display: flex;
    width: 100%;
    gap: 40px 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin:0 0 40px;
    padding: 0;
}

.member-list li{
    list-style: none;
    margin: 0 auto;
    width: 30%;
}

.member-list li a{
    text-decoration: none;
    color: #333;

}

.member-list li h3{
    font-size: 3rem;
}

/* WORKS */
.works-container{
    background-color: rgba(255,255,255,1);
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.35);
}

.works-list{
    display: flex;
    width: 80%;
    margin: 0 auto;
    gap: 40px;
    flex-direction: column;
    margin-bottom: 30px;
    padding: 0;
}

.works-list li{
    display: flex;
    list-style: none;
    justify-content: space-between;
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.35);
}

.works-list li:nth-child(even){
    flex-flow: row-reverse;
}

.works-img{
    width: 60%;
}

.works-text{
    width: 40%;
    margin-top: 10px;
    padding: 20px;
}

.works-text h3{
    font-size: 1.4rem;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.works-text{
    font-size: 1.2rem;
    position: relative;
}

.works-view{
  position: absolute;
  right: 10px;
  bottom: 10px;
}

#moreContents {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.6s ease, opacity 0.6s ease;
}

#moreContents.open {
  max-height: 2000px;  /* 中身が収まるように大きな数値に */
  opacity: 1;          /* 表示させる */
}

#moreContents.closed {
  max-height: 0;
  opacity: 0;          /* 非表示にする */
}

#moreContents li {
  opacity: 0;
  transform: translateY(20px);  /* 最初は少し下にずれて表示 */
  transition: opacity 0.5s ease, transform 0.5s ease;
}

#moreContents li.show {
  opacity: 1;
  transform: translateY(0);  /* ふわっと元の位置に戻る */
}


.works-list-more{
  display: flex;
  width: 80%;
  margin: 10px auto 0px;
  gap: 40px;
  flex-direction: column;
  margin-bottom: 30px;
  padding: 0;
}

.works-list-more li{
  display: flex;
  list-style: none;
  justify-content: space-between;
  box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.35);
}

.works-list-more li:nth-child(odd){
  flex-flow: row-reverse;
}

/* contact */
.contact-container{
    background-color: rgba(255, 255, 255, 0.6);
    mix-blend-mode: exclusion;
    backdrop-filter: blur(5px);
}

.mail-img{
    width: 50%;
    margin: 0 auto;
}

.footer-container{
    background-color: rgba(255, 255, 255, 0.6);
    mix-blend-mode: exclusion;
    backdrop-filter: blur(5px);
    height: 150px;
}

.footer-inner{
    max-width: 80%;
    margin: 0 auto;
    text-align: center;
}

.copyright{
    height: 30px;
    text-align: center;
}

/* modal */
/* モーダルの基本スタイル */
.modal {
  display: none; 
  position: fixed !important;
  z-index: 9998 !important;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
  mix-blend-mode: normal;
  overflow: auto;
}

/* モーダルのコンテンツ */
.modal-content {
  background-color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%,-50%,0);
  padding: 20px 40px;
  border-radius: 8px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  max-width: 810px;
  min-width: 800px;
  z-index: 9999 !important;
  overflow: auto;
}

.modal-profile{
  display: flex;
  gap: 40px;
}

/* モーダルを開くとき */
.modal.show {
  opacity: 1;
}

/* モーダルのコンテンツも表示 */
.modal.show .modal-content {
  opacity: 1;
}

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

/* 閉じるボタンにホバー時のスタイル */
.close:hover {
  color: #ff0000;
}

.modal-img{
  width: 170%;
  margin: 0 auto;
}

.modal-text-wrapper{
  align-content: space-around;
}

.modal-text{
  text-align: left;
  margin-top: 20px;
}

@media screen and (max-width: 767px){
    .pconly{
        display: none;
    }

    .sponly{
        display: inline-block;
    }

    .hamburger-grid {
        position: fixed;
        top: 0;
        right: 20px;
        z-index: 1000;
        width: 50px;
        height: 50px;
        padding: 10px;
        border: none;
        background: transparent;
        cursor: pointer;
      }
      
      .hamburger-grid__dots {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
        width: 100%;
        height: 100%;
      }
      
      .hamburger-grid__dot {
        width: 100%;
        height: 100%;
        background-color: #333;
        border-radius: 50%;
        transition: transform 0.3s ease, background-color 0.3s ease;
      }
      
      .hamburger-grid.active .hamburger-grid__dot {
        background-color: #fff;
      }
      
      .hamburger-grid.active .hamburger-grid__dot:nth-child(1) {
        transform: scale(0);
      }
      .hamburger-grid.active .hamburger-grid__dot:nth-child(2) {
        transform: translateY(8px);
      }
      .hamburger-grid.active .hamburger-grid__dot:nth-child(3) {
        transform: scale(0);
      }
      .hamburger-grid.active .hamburger-grid__dot:nth-child(4) {
        transform: translateX(8px);
      }
      .hamburger-grid.active .hamburger-grid__dot:nth-child(5) {
        transform: scale(1.2);
      }
      .hamburger-grid.active .hamburger-grid__dot:nth-child(6) {
        transform: translateX(-8px);
      }
      .hamburger-grid.active .hamburger-grid__dot:nth-child(7) {
        transform: scale(0);
      }
      .hamburger-grid.active .hamburger-grid__dot:nth-child(8) {
        transform: translateY(-8px);
      }
      .hamburger-grid.active .hamburger-grid__dot:nth-child(9) {
        transform: scale(0);
      }
      
      .nav-grid {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #1a1a1a;
        visibility: hidden;
        opacity: 0;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 900;
      }
      
      .nav-grid.active {
        visibility: visible;
        opacity: 1;
      }
      
      .nav-grid__content {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        gap: 20px;
        max-width: 1200px;
        height: 100%;
        margin: 0 auto;
        padding: 100px 40px;
      }
      
      .nav-grid__sections {
        grid-column: span 12;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      }
      
      .nav-grid__section {
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
      }
      
      .nav-grid.active .nav-grid__section {
        opacity: 1;
        transform: translateY(0);
      }
      
      .nav-grid.active .nav-grid__section:nth-child(1) {
        transition-delay: 0.2s;
      }
      .nav-grid.active .nav-grid__section:nth-child(2) {
        transition-delay: 0.3s;
      }
      
      .nav-grid__title {
        margin: 0 0 20px;
        color: #666;
        font-size: 14px;
        text-transform: uppercase;
        letter-spacing: 2px;
      }
      
      .nav-grid__list {
        margin: 0;
        padding: 0;
        list-style: none;
      }
      
      .nav-grid__list li {
        margin-bottom: 10px;
        overflow: hidden;
      }
      
      .nav-grid__link {
        display: inline-block;
        color: #fff;
        font-size: 24px;
        text-decoration: none;
        transform: translateY(100%);
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                    color 0.3s ease;
      }
      
      .nav-grid.active .nav-grid__link {
        transform: translateY(0);
      }
      
      .nav-grid__link:hover {
        color: #4a90e2;
      }
        .nav-grid__content {
          padding: 80px 20px;
        }
      
        .nav-grid__sections {
          grid-template-columns: 1fr;
        }
      
        .nav-grid__link {
          font-size: 20px;
        }
      

    .scroll_down{
        top: 160px;
        left: -8%;
    }

    .scroll_down a {
        font-size: 10px;
        bottom: 106px;
    }
    
    .scroll_down:after {
        width: 1px;
    }

    .main-text-wrpper{
        height: 600px;
      }

      .youtube {
        width: 100%;
    }

    .member-list{
        flex-direction: column;
        gap: 20px;
    }
    .member-list li{
        width: 100%;
    }

    .member-list li h3{
        font-size: 2rem;
    }

    .works-list{
        width: 100%;
    }

    .works-list-more{
      width: 100%;
  }

    .works-list li{
        display: block;
    }

    .works-list-more li{
      display: block;
  }

    .works-img{
        width: 100%;
    }

    .works-text{
        padding-bottom: 20px;
        margin-top: 0px;
    }

    .works-text h3{
        margin-bottom: 5px;
    }

    .mail-img{
        width: 80%;
    }

    .modal-profile{
      display: contents;
    }

    .modal-content {
      width: 80%;
      min-width: auto;
    }

    .modal-text-wrapper{
      margin-top: 20px;
    }

    .modal-img{
      width: 100%;
    }

    .works-text{
      width: 100%;
  }
}