@charset "UTF-8";
@media screen and (width <= 767px) {
  #pc {
    display: none;
  }
  #hamburger{
    transform: scale(0.8);
    padding: 33px 29px;
    background: url(../images/star.svg) no-repeat top center;
    background-size: contain;
  }


  /* loading js start */
  .load_area {
    position: fixed;
    z-index: 1010;
    width: 100%;
    background-color: var(--color-basic-white);
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    background-image: url('../images/loading_bgi.svg');
    background-position: left top;
    background-position: center top;
    background-size: cover;
  }
  .load_per{
    color: var(--color-basic-white);
    text-align: center;
    display: inline-block;
    width: 100%;
    font-size: 30px;
    font-family: cursive;
  }
  .progress-bar {
    width: 0%;
    height: 20px;
    background-color: var(--color-basic-white);
  }
  /* loading js end */

  .video_wrapper {
    position: absolute;
    top: 0;
    z-index: -10;
    transition: opacity 0.6s ease;
    height: 100vh !important;
    width: 100%;
    overflow: hidden;
  }

  /* header start */
  /* header{
    padding: 20px !important;
  } */

  .header_link_area{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  .header_link_area li a{
    color: var(--color-white);
    font-size: 18px;
    font-family: cursive;
    transition: all .2s ease-in-out;
  }

  .header_link_area li a:hover{
    opacity: 0.8;
    border-bottom: 2px solid var(--color-white);
  }
  /* header end */

  .logo {
    width: 100%;
    /* display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 12%; */
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 3.8s ease;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .logo img {
    width: 80%;
    border-radius: 30px;
    backdrop-filter: blur(2px);
    /* padding: 15px; */
    padding: 0;
  }

  /* section scroll */
  .section1{
    display: none;
  }

  /* section2 works */
  .video_wrapper_section2 {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -10;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transition: opacity 0.6s ease;
  }

  .video_wrapper_section2 .star_night {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .video_wrapper video {
    height: 100vh;
    position: absolute;
    /* left: -205vw; */
    left: clamp(-230vw, -89svh, 75px);
  }

  .section2{
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: hidden;
  }

  .works {
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: scroll;
    height: auto;
    box-sizing: border-box;
    scrollbar-width: none;
  }

  .works::-webkit-scrollbar {
    display: none;
  }

  .works_category_nav {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(14px, 2vw, 36px);
    width: 100%;
    padding: 30px 3vw;
    box-sizing: border-box;
    pointer-events: none;
    display: none;
  }

  .works_category_nav a {
    color: var(--color-white);
    font-size: clamp(12px, 1vw, 18px);
    font-family: ui-monospace;
    letter-spacing: 0;
    line-height: 1.4;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(2px);
    pointer-events: auto;
    transition: opacity .2s ease, border-color .2s ease;
  }

  .works_category_nav a:hover {
    opacity: .75;
    border-color: var(--color-white);
  }

  .works_title,
  .about_title {
    display: flex;
    justify-content: flex-start;
    padding: 30px 0 30px 2vw;
    box-sizing: border-box;
    position: absolute;
    top: 0;
  }

  .about_title {
    backdrop-filter: blur(2px);
    width: 100%;
    padding: 7vw 0;
  }

  .works_title h2,
  .about_title h2 {
    width: 100%;
    backdrop-filter: blur(2px);
    color: var(--color-white);
    font-size: clamp(30px, 7.7vw, 30px);
    font-family: cursive;
    font-weight: 600;
    letter-spacing: 3px;
  }

  .about_title h2 {
    width: 90%;
    margin: 0 auto;
  }

  .works_title h2 img,
  .about_title h2 img {
    width: 100%;
  }

  .section2 > .works_title {
    position: relative;
    top: auto;
    z-index: 12;
    width: 100%;
    flex: 0 0 auto;
    padding: 7.7vw 0 7.7vw 5%;
    pointer-events: none;
    border-bottom: 1px solid #676767;
  }

  .about {
    padding: 22vw 0vw 10vw 0vw;
    color: #fff;
    display: flex;
    flex-direction: column;
    overflow-y: scroll;
    scrollbar-width: none;
    align-items: center;
    gap: 8vw;
  }

  .about p{
    line-height: 1.5;
  }

  .about_wrapper p {
    width: 100%;
    font-size: 4.103vw;
  }

  .about .profile_image_wrapper {
    width: 100%;
  }

  .about .about_wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    width: 90%;
    gap: 3vw;
  }

  .about .profile_image_wrapper img {
    width: 100%;
  }

  .about p .big-text1{
    font-size: 3.93vw;
  }

  .about p .big-text2{
    font-size: 6.411vw;
    letter-spacing: 9px;
    display: block;
  }

  .works_category {
    scroll-margin-top: 120px;
    padding-bottom: clamp(48px, 7vw, 120px);
  }

  .works_category_header {
    display: flex;
    /* grid-template-columns: auto 1fr; */
    column-gap: 16px;
    row-gap: .5em;
    padding: 0;
    color: var(--color-white);
    box-sizing: border-box;
    pointer-events: none;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    width: 90%;
    margin: 1em auto 0;
  }

  .works_category_header span {
    grid-row: span 2;
    align-self: start;
    font-family: ui-monospace;
    font-size: clamp(11px, .9vw, 15px);
    line-height: 1;
    opacity: .72;
  }

  .works_category_header h3 {
    font-family: cursive;
    font-size: clamp(30px, 4.2vw, 2.75vw);
    line-height: .9;
    letter-spacing: 0;
    font-weight: 400;
  }

  .works_category_header p {
    font-family: ui-monospace;
    font-size: clamp(11px, 1vw, 16px);
    line-height: 1.5;
    opacity: .78;
  }

  .works_outline_wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .works_wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    height: auto;
    width: 100%;
  }
  a.works_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    color: var(--color-white);
    padding: 3em 0 0;
    transition: background-color .3s ease-in-out;
    box-sizing: border-box;
  }

  .left_side_content {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    width: 90%;
  }

  .left_side_content p {
    line-height: 1.5;
  }

  .right_side_content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 90%;
  }

  /* #works-backend .works_outline_wrapper .works_wrapper a.works_content:nth-of-type(1):hover,
  #works-backend .works_outline_wrapper .works_wrapper a.works_content:nth-of-type(2):hover,
  #works-frontend .works_outline_wrapper:nth-of-type(2) .works_wrapper:nth-of-type(1) a.works_content:nth-of-type(1):hover,
  #works-frontend .works_outline_wrapper:nth-of-type(2) .works_wrapper:nth-of-type(1) a.works_content:nth-of-type(2):hover,
  #works-frontend .works_outline_wrapper:nth-of-type(2) .works_wrapper:nth-of-type(2) a.works_content:nth-of-type(1):hover,
  #works-frontend .works_outline_wrapper:nth-of-type(2) .works_wrapper:nth-of-type(2) a.works_content:nth-of-type(2):hover,
  #works-frontend .works_outline_wrapper:nth-of-type(3) .works_wrapper a.works_content:nth-of-type(1):hover,
  #works-frontend .works_outline_wrapper:nth-of-type(3) .works_wrapper a.works_content:nth-of-type(2):hover,
  #works-design .works_outline_wrapper .works_wrapper a.works_content:nth-of-type(1):hover,
  #works-design .works_outline_wrapper .works_wrapper a.works_content:nth-of-type(2):hover {
    background-color: none;
  } */

  .time_and_title {
    line-height: 1.5;
  }

  .time_and_title p:nth-last-of-type(1) {
    height: 3em;
  }

  .thumbnail {
      padding: 3% 0;
  }

  .thumbnail img {
      width: 100%;
  }

  .develop_overview {
      font-family: ui-monospace;
  }

  .develop_overview p span {
      padding: 0 0.5em;
  }


  /* -----------------------------
    section3
  ----------------------------- */
  .section3{
    /* height: 500px !important; */
    background-color: #aaa;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  footer{
    width: 100%;
  }

  footer .footer_contents_wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 15vw;
    padding: 10vw 0;
  }

  footer .sns{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }

  footer .sns a:nth-child(1){
    padding: 13px;
    box-sizing: border-box;
  }

  footer .sns a{
    height: 50px;
  }

  footer .sns a img{
    width: 100%;
    height: 100%;
  }

  footer .copyright{
    text-align: center;
    font-size: 12px;
    padding: 0 0 1.5em 0;
  }

  .contact_list {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 1em;
    font-size: 1.2rem;
    font-family: cursive;
    letter-spacing: 5px;
  }

  .contact_list a {
    color: var(--color-default-black);
  }





  /* -----------------------------
    ハンバーガーアイコン
  ----------------------------- */
  .hamburger {
    position: fixed;
    right: 0.1vw;
    top: 0.1vw;
    width: 30px;
    height: 24px;
    z-index: 1001;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-white);
    border-radius: 3px;
    transition: 0.4s;
  }

  /* 中央固定化 */
  header {
    position: relative;
    z-index: 1000;
  }

  /* -----------------------------
    ハンバーガー開閉アニメーション
  ----------------------------- */
  .hamburger.active span:nth-child(1) {
    transform: translateY(12px) rotate(45deg);
  }

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

  .hamburger.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }

  /* -----------------------------
    ナビ（スライドインメニュー）
  ----------------------------- */
  .mobile_nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    background: rgba(30, 30, 30, 0.98);
    transition: 0.5s ease;
    padding-top: 100px;
    z-index: 1000;
  }

  /* メニューが開く状態 */
  .mobile_nav.active {
    right: 0;
  }

  .mobile_nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .mobile_nav li {
    margin: 20px 0;
    text-align: center;
  }

  .mobile_nav li a {
    color: var(--color-white);
    font-size: 20px;
    text-decoration: none;
    letter-spacing: 2px;
    transition: 0.3s;
  }

  .mobile_nav li a:hover {
    opacity: 0.8;
  }

  /* scroll down */
  .top_area {
    position: relative;
  }
  .container_07 {
    position: absolute;
    bottom: 0;
    left: 50%;
  }

  .scroll-down_07 {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--color-white);
    font-size: 16px;
    text-decoration: none;
  }

  .mouse-icon {
    width: 30px;
    height: 50px;
    border: 1px solid var(--color-white);
    border-radius: 20px;
    position: relative;
    margin-inline:auto;
    margin-bottom: 10px;
  }
  .mouse-icon::before {
    content: "";
    width: 1px;
    height: 8px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-white);
    border-radius: 2px;
    animation: scroll 2s infinite;
  }

  @keyframes scroll {
    0% {
      opacity: 1;
      transform: translate(-50%, 0);
    }
    100% {
      opacity: 0;
      transform: translate(-50%, 20px);
    }
  }
}
