@charset "utf-8";
/*==========================
common
==========================*/
:root {
    --primary-black: #0f0f0f;
    --primary-white: #ffffff;
    --primary-darkgray: #5e5e5e;
    --primary-gray: #8e8e8e;
    --primary-yellow: #e1ff00;
}

html {
    font-size: 62.5%;
}

body {
    font-family:
        'DM Sans',
        'Noto Sans JP',
        sans-serif;
    font-style: normal;
    color: var(--primary-white);
    background-color: var(--primary-black);
}

img {
    max-width: 100%;
    height: auto;
}

/*==========================
header
==========================*/

/* PC header　*/

.nav-list {
    font-size: 2.1rem;
    color: var(--primary-white);
    font-family: 'DM Sans';
    display: flex;          
    justify-content: flex-end;  
    padding-top: 49px;
    gap: 30px;  
    position: fixed; 
    top: 0; 
    right: clamp(20px, 3.4vw, 49px);
    z-index: 10;
    mix-blend-mode: difference;
}

.nav-list li:hover{
  color: var(--primary-gray);
}


.sp-only {
  display: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
  white-space: nowrap;
}



/* スマホ header　*/
@media screen and (max-width: 768px) {
    .pc-only {
        display: none;
    }
    .sp-only {
        display: block;
    }
    .menu-button {
        font-size: 1.9rem;
        letter-spacing: -0.04em;
        line-height: 100%;
        font-weight: 500;
        font-family: 'DM Sans';
        color: var(--primary-white);
        padding-top: 32px;
        display: block;
        margin-left: auto;
        position: fixed;
        top: 0;
        mix-blend-mode: difference;
        right: clamp(20px, 3.4vw, 49px);
        z-index: 1000; 
    }

    .close-button {
        font-size: 2.1rem;
        letter-spacing: -0.04em;
        line-height: 100%;
        font-weight: 500;
        font-family: 'DM Sans';
        color: var(--primary-black);
        display: block;
        margin-left: auto;
    }
    
    .mobile-menu li {
        font-size: 62px;
        letter-spacing: -0.01em;
        line-height: 90%;
        font-weight: 500;
        font-family: 'DM Sans';
        color: var(--primary-black);
        margin-bottom: 5px;
        letter-spacing: -0.62px;
    }

    .mobile-menu  ul {
      margin-top: 168px;
    }

    .mobile-menu ul li a {
      opacity: 0;
    }

    .mobile-menu {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      transform: translateY(-100%);
      z-index: 999;
      padding: 32px clamp(20px, 3.4vw, 49px)  0;
      display: flex;
      flex-direction: column;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      z-index: 999;
      display: flex;
      flex-direction: column;
      transition: none; 
      overflow: hidden;
    }

    /* 階段ラッパー */
    .mobile-menu-stairs {
      position: absolute;
      inset: 0;
      z-index: 1;
      pointer-events: none;
    }

    .mobile-menu-stairs .column {
      position: absolute;
      top: 0;
      bottom: 0;
      width: 20%;
      background: var(--primary-yellow);
      transform: translateY(-100%);
      transition: none;
    }

    .mobile-menu-stairs .column:nth-child(1) { left: 0%; }
    .mobile-menu-stairs .column:nth-child(2) { left: 20%; }
    .mobile-menu-stairs .column:nth-child(3) { left: 40%; }
    .mobile-menu-stairs .column:nth-child(4) { left: 60%; }
    .mobile-menu-stairs .column:nth-child(5) { left: 80%; }

    /* メニュー本体 */
    .mobile-menu ul,
    .mobile-menu .close-button,
    .contact-info {
      position: relative;
      z-index: 2;
    }

}

/* メニューリンクの初期状態とチラつき防止 */
.mobile-menu ul li a {
  opacity: 0;
  visibility: hidden;
}

/* SplitTextで生成される文字要素のスタイル */
.mobile-menu ul li a .char {
  display: inline-block;
  transform-origin: center bottom;
}

/* マスク用のラインのオーバーフロー制御 */
.mobile-menu ul li a .line {
  overflow: hidden;
}

/* メニューが開いていない時は完全に非表示 */
.mobile-menu:not(.is-open) ul li a {
  opacity: 0 !important;
  visibility: hidden !important;
}



/* ===================
section-heading 
======================*/

.section-heading__title {
    color: var(--primary-white);
    font-family: "DM Sans";
    font-size: clamp(
    61px, 
    calc(61px + (179.727 - 61) * ((100vw - 375px) / (1440 - 375))), 
    179.727px
    );
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 2px;
    overflow: hidden; 
    position: relative;
    opacity: 0;
}

.section-heading__subtitle {
    margin-top: 32px;
    color: var(--primary-white);
    font-family: "DM Sans";
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.48px;
}

.underline {
  width: 100%;
  height: 1px;
  background-color: var(--primary-white);
  transform: scaleX(0);
  transform-origin: left;
}

@media screen and (max-width: 768px) {
    .section-heading__title {
        line-height: 80%;
        padding-bottom: 21px;
    }
    .section-heading__subtitle {
        margin-top: 27px;
    }
}


/* =============
footer
================ */

.footer {
  min-height: 100vh;
  background: var(--primary-black);
}

.footer-inner {
  position: relative;
  width: 100%;
  padding: 0 clamp(20px, 3.4vw, 49px);
}

.footer-next {
  position: relative;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: clamp(20px, 3.4vw, 49px);
  padding-right: clamp(20px, 3.4vw, 49px);
}

.footer-bottom {
  position: absolute;
  bottom: 49px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: clamp(20px, 3.4vw, 49px);
  padding-right: clamp(20px, 3.4vw, 49px);
}



/* ==========================
Footer Copyright & Back to Top
========================== */

.copyright {
  color: var(--primary-darkgray);
  font-family: "DM Sans";
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.358px;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--primary-white);
  font-family: "DM Sans";
  font-size: 17.919px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.358px;
}

.arrow-icon-footer {
  width: 10px;
  height: auto;
  transform: rotate(-90deg);
  display: inline-block;
}


/* ==========================
footer Next Text Hover Animation
========================== */

.text-wrapper {
  display: inline-block;
  margin: 0 1em;
}

.text-wrapper span {
  display: inline-block;
}

.text-wrapper h1 {
  position: relative;
  display: inline-block;
  padding: 0 130px;
  color: var(--primary-white);
  font-family: "DM Sans";
  font-size: 62.327px;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 1px;
  text-decoration: none;
  overflow: hidden;
}

.text-wrapper h1::after {
  position: absolute;
  top: 0;
  left: 0;
  content: attr(data-text);
  display: block;
  width: 100%;
  text-align: center;
  transform: translateY(2em);
  transition: 0.25s ease-in-out;
}

.text-wrapper .text-inner {
  display: inline-block;
  transition: 0.25s ease-in-out;
}

.text-wrapper h1:hover::after,
.text-wrapper h1:focus::after {
  transform: translateY(0);
}

.text-wrapper h1:hover .text-inner,
.text-wrapper h1:focus .text-inner {
  transform: translateY(-2em);
}




/* ==========================
flair
========================== */

.flair {
  position: fixed;
  opacity: 0;
  width: 70px;
  pointer-events: none;
  z-index: 999;
}


/* ==========================
Responsive
========================== */

.sp-only {
  display: none;
}


/* ==========================
スマホ　footer
========================== */

@media screen and (max-width: 768px) {

    .global-nav.top-pc-only {
        display: none;
    }

     .sp-only {
        display: block;
    }

    .footer-bottom {
        display: flex;
        flex-direction: column;  
        align-items: center;     
        gap: 24px;               
        flex-direction: column-reverse;
        bottom: 10px;
    }

    .copyright {
        font-size: 10px;
        letter-spacing: -0.2px;
    }

    .bracket-sp {
        color: var(--primary-white);
        font-family: "DM Sans";
        font-size: 31.911px;
        font-style: normal;
        font-weight: 400;
        line-height: 84%;
    }

    .next-texts-sp {
        color: var(--primary-white);
        font-family: "DM Sans";
        font-size: 31.911px;
        font-style: normal;
        font-weight: 400;
        line-height: 84%;
        margin: 0 46px;
    }


}

/* =============
view-more-button
================ */

.view-more-button {
  display: flex;
  justify-content: flex-end;
}

.view-text {
  color: var(--primary-white);
  font-family: "DM Sans";
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.21px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid #FFF;
}



/*=================
 mouse-follower 
 ================*/

.mouse-follower .follower-label {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}

.mouse-follower.is-hover {
    width: 97px !important;
    height: 97px !important;
}

.mouse-follower.is-hover .follower-label {
  opacity: 1;
  transform: scale(1);
}

.follower-label {
  color: #000;
  letter-spacing: 0.14px; 
}


/*=================
 FVの前のアニメーション
 ================*/

#page-transition {
  position:fixed;
  inset:0;
  z-index:9999;
  pointer-events:none;
}
.transition-stairs.white {
  position:fixed;
  inset:0;
  display:flex;
}
.transition-stairs.white .column {
  flex:1;
  height:100vh;
  background:#fff;
  transform:translateY(100%); 
}

