/* ===============
================== root */
:root{
  --white: #fff
}


/* ===============
================== tag common */
html{
  scroll-behavior: smooth;
}
body{
  background: #181717;
  position: relative;
  overflow-x: hidden;
  font-family: "Zen Kaku Gothic New", sans-serif;
  color: var(--white);
}
a{
  text-decoration: none;
  color: var(--white);
}


/* ===============
================== class common */
.for-pc{
  display: block;
  @media screen and (max-width:767px){
    display: none;
  }
}
.for-sp{
  display: none;
  @media screen and (max-width:767px){
    display: block;
  }
}
.section-tag{
  display: inline-block;
  border: 1px solid var(--white);
  border-radius: 999px;
  padding: 4px 16px;
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  text-transform: uppercase;
}


/* ===============
================== loading */
.loading{
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #181717;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  &.is-hidden{
    opacity: 0;
    visibility: hidden;
  }
}
.loading-spinner{
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}


/* ===============
================== header */
header{
  display: flex;
  justify-content: center;
  align-items: center;
}
.g_nav-container{
  font-family: "Montserrat", sans-serif;

  max-width: 920px;
  width: 100%;
  position: fixed;
  top: 40px;
  z-index: 5;

  background: rgba(255,255,255,.06);
  border-radius: 6px;
  padding: 16px 50px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  line-height: 1;

  opacity: 0;
  transition: opacity .7s;

  @media screen and (max-width: 767px){
    width: 90%;
    padding: 16px 24px;
    top: 20px;
  }

  &.is-active{
    opacity: 1;
  }
  h1{
    width: 66px;
    line-height: 1;
    img{width: 100%;}
  }
  .nav-lists{
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 50px;
    padding-top: 4px;
    @media screen and (max-width: 960px){
      gap: 28px;
    }
    @media screen and (max-width: 767px){
      position: fixed;
      top: 0;
      right: -100%;
      width: 70%;
      height: 100vh;
      flex-direction: column;
      justify-content: center;
      gap: 32px;
      background: rgba(24, 23, 23, 0.98);
      padding: 0;
      transition: right 0.3s ease;
      &.is-open{
        right: 0;
      }
      li{
        font-size: 18px;
      }
    }
  }
}

/* Burger button */
.burger-btn{
  display: none;
  @media screen and (max-width: 767px){
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
    position: relative;
    gap: 8px;
    span{
      display: block;
      width: 24px;
      height: 1px;
      background: var(--white);
      transition: all 0.3s ease;
    }
    &.is-open{
      span:nth-child(1){
        transform: translateY(5px) rotate(45deg);
      }
      span:nth-child(2){
        transform: translateY(-5px) rotate(-45deg);
      }
    }
  }
}
/* header animation style */
.split-hover{
  display: inline-block;
  overflow: hidden;
  .char{
    display: inline-block;
    position: relative;
    transition: transform .5s cubic-bezier(0.215, 0.61, 0.355, 1);
    &::after{
      content: attr(data-text);
      position: absolute;
      left: 0;
      top: 100%;
    }
  }
  &:hover .char{
    transform: translateY(-100%);
  }
}


/* ===============
================== fv */
.fv{
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  opacity: 1;
  transition: opacity 0.5s ease;
  pointer-events: none;
  &.is-hidden{
    opacity: 0;
  }
}
.fv-main_title{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  position: relative;
  @media screen and (max-width: 767px){
    flex-direction: column;
    width: 65%;
    gap: 20px;
  }
  &.is-active{
    .fv-main_title-img{
      img{
        transform: translateY(0);
        opacity: 1;
      }
    }
    .fv-main_title-text{
      span:nth-child(1){
        transform: translateY(0);
        opacity: 1;
        transition-delay: 0.2s;
      }
      span:nth-child(2){
        transform: translateY(0);
        opacity: 1;
        transition-delay: 0.3s;
      }
    }
  }
}
.fv-main_title-img {
  margin: 0;
  overflow: hidden;
  img{
    display: block;
    width: 100%;
    height: 100%;
    transform: translateY(-105%); 
    opacity: 0;
    transition: transform 1.2s cubic-bezier(0.215, 0.61, 0.355, 1),
                opacity 1.2s cubic-bezier(0.215, 0.61, 0.355, 1);
  }
}
.fv-main_title-text{
  font-family: "Zen Kaku Gothic New", sans-serif;
  span{
    display: block;
    font-size: 35px;
    font-weight: 700;
    overflow: hidden;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 1.2s cubic-bezier(0.215, 0.61, 0.355, 1),
                opacity 1.2s cubic-bezier(0.215, 0.61, 0.355, 1);
    @media screen and (max-width: 767px){
      font-size: 20px;
    }
  }
}
.fv-wrap{
  position: relative;
  height: 100vh;
}
.content-wrapper{
  position: relative;
  z-index: 3;
  margin-top: 25vh;
}
.video{
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.215, 0.61, 0.355, 1);
  &.is-active{
    opacity: 1;
  }
  video{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: center center;
    transition: transform 0.1s linear;
  }
  .video-layer{
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.8);
    position: absolute;
    z-index: 1;
  }
}
.fv-bottom{
  position: relative;
  padding: 100px 0;
  box-sizing: border-box;
  height: 100vh;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  h2{
    font-size: 32px;
    margin: 20px 0 50px;
    @media screen and (max-width: 767px){
      font-size: 23px;
    }
  }
}
.fv-bottom-read{
  font-size: 18px;
  line-height: 2;
  @media screen and (max-width: 767px){
    font-size: 13px;
  }
}


/* ===============
================== service */
.service{
  background: #1D2025;
  padding: 0 0 120px;
}
.service-animation-wrap {
  position: relative;
  overflow: hidden;
  @media screen and (max-width: 767px){
    padding: 0 5%;
  }
}
.service-titles,
.service-lists-area,
.service-supports{
  max-width: 1680px;
  margin: 0 auto;
}
.service-titles{
  position: relative;
  margin-bottom: 60px;
  padding-top: 120px;
  z-index: 3;
  @media screen and (max-width: 767px){
    padding-top: 40px;
    margin-bottom: 20px;
  }
  h2{
    font-size: 28px;
    margin-top: 8px;
    @media screen and (max-width: 767px){
      font-size: 12px;
      margin-top: 12px;
      & + p{
        font-size: 14px;
      }
    }
    span{
      font-size: 44px;
      @media screen and (max-width: 767px){
        font-size: 28px;
      }
    }
    img{
      width: 128px;
      @media screen and (max-width: 767px){
        width: 100px;
      }
    }
  }
}
.service-supports{
  margin-top: 120px;
  line-height: 2;
  h3{
    font-size: 30px;
    text-align: center;
    @media screen and (max-width: 767px){
      font-size: 20px;
    }
  }
  h4{
    margin-bottom: 12px;
    font-size: 22px;
    @media screen and (max-width: 767px){
      margin-bottom: 4px;
      font-size: 18px;
    }
  }
  ul{
    display: flex;
    justify-content: space-between;
    gap: 30px;
    width: 95%;
    margin: 60px auto 0;
    @media screen and (max-width: 767px){
      flex-direction: column;
      gap: 16px;
      margin-top: 20px;
    }
  }
  li{
    width: calc((100% - 90px) / 4);
    text-align: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 4px;
    box-sizing: border-box;
    padding: 56px 0;
    @media screen and (max-width: 767px){
      width: 90%;
      margin: 0 auto;
      padding: 20px;
      text-align: left;
      position: relative;
      &::after{
        content: "";
        height: 16px;
        width: 2px;
        display: block;
        background: rgba(255,255,255,.1);
        position: absolute;
        bottom: -17px;
        left: 50%;
        transform: translateX(-50%);
      }
      &:last-child::after{
        display: none;
      }
    }
  }
  @media screen and (max-width: 960px){
    p{
      padding: 0 8px;
      text-align: left;
      @media screen and (max-width: 767px){
        padding: 0;
        font-size: 14px;
      }
      br{display: none;}
    }
  }
}

/* list animation
   animation設定迷子になりそうなのでネストせずに展開しております。 */
.service-lists-area {
  position: relative;
  width: 100%;
  z-index: 3;
}
.service-lists-animation {
  position: static;
  width: 100%;
  list-style: none;
}

.service-lists-bg-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  &::before{
    content: "";
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    background: rgba(0, 0, 0, .6);
  }
}
.service-lists-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-lists-item {
  position: relative;
  width: 100%;
  padding: 20px 0 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: border-color 0.4s ease, padding 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  @media screen and (max-width: 767px){
    padding-bottom: 4px;
  }
}
.service-lists-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.service-lists-content {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  @media screen and (max-width: 767px){
    position: relative;
    &::after {
      content: '';
      width: 30px;
      height: 30px;
      background-image: url('data:image/svg+xml;utf8,<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="15" cy="15" r="14.5" stroke="%23ffffff"/><path d="M15.5 10L15.5 20M15.5 20L12.38 16.88" stroke="%23ffffff" stroke-linecap="round" stroke-linejoin="round"/></svg>');
      background-repeat: no-repeat;
      background-position: center;
      background-size: contain;
      transition: transform 0.3s ease;
    }
  }
}
.service-lists-item.is-open .service-lists-content::after {
  @media screen and (max-width: 767px){
    transform: rotate(180deg);
  }
}
.service-lists-text-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.service-lists-title {
  font-family: Montserrat, sans-serif;
  font-size: 123px;
  font-weight: 500;
  line-height: 1;
  transform-origin: left center;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), 
              opacity 0.6s ease;
  @media screen and (max-width: 767px){
    font-size: 36px;
  }
}
.service-lists-sub {
  font-size: 16px;
  transition: opacity 0.3s ease, transform 0.4s ease;
  @media screen and (max-width: 767px){
    font-size: 12px;
  }
}

.service-lists-descBox {
  position: absolute;
  right: 20px;
  bottom: 20px;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  max-width: 450px;
  background: rgba(0, 0, 0, 0.4);
  padding: 30px;
  backdrop-filter: blur(10px);
  border-radius: 4px;
  z-index: 10;
  pointer-events: none;
}
.service-lists-descBox h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.service-lists-descBox .desc-lead {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.service-lists-descBox .desc-text {
  font-size: 0.85rem;
  line-height: 1.7;
}

/* list animation hover (PC only) */
@media screen and (min-width: 768px){
  .service-lists-animation:hover .service-lists-item {
    border-color: transparent;
  }
  .service-lists-item:hover {
    padding-top: 20px;
    padding-bottom: 12px;
  }
  .service-lists-item:hover .service-lists-title {
    opacity: 1;
  }
  .service-lists-item:hover .service-lists-sub {
    opacity: 0;
    transform: translateY(-10px);
  }
  .service-lists-item:hover ~ .service-lists-descBox {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.1s;
  }

  .service-lists-animation:hover .service-lists-item:not(:hover) .service-lists-title {
    transform: scale(0.65);
    opacity: 0.15;
  }
  .service-lists-animation:hover .service-lists-item:not(:hover) .service-lists-sub {
    opacity: 0;
  }

  .service-lists-item:nth-child(1):hover ~ .service-lists-bg-wrap .bg-video-1 { opacity: 1; transform: scale(1); }
  .service-lists-item:nth-child(2):hover ~ .service-lists-bg-wrap .bg-video-2 { opacity: 1; transform: scale(1); }
  .service-lists-item:nth-child(3):hover ~ .service-lists-bg-wrap .bg-video-3 { opacity: 1; transform: scale(1); }
}

/* SP Accordion */
.service-accordion-content {
  display: none;
  @media screen and (max-width: 767px){
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    position: relative;
    margin-top: 16px;
  }
}
.service-accordion-bg {
  @media screen and (max-width: 767px){
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
    video, img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }
}
.service-accordion-text {
  @media screen and (max-width: 767px){
    padding: 20px 0;
    h3 {
      font-size: 18px;
      font-weight: 700;
      margin-bottom: 8px;
    }
    .accordion-lead {
      font-size: 14px;
      font-weight: 700;
      margin-bottom: 12px;
    }
    .accordion-desc {
      font-size: 13px;
      line-height: 1.8;
    }
  }
}
.service-lists-item.is-open {
  @media screen and (max-width: 767px){
    .service-accordion-content {
      max-height: 1000px;
    }
  }
}

/* SP時はdescBoxとbg-wrapを非表示 */
@media screen and (max-width: 767px){
  .service-lists-descBox,
  .service-lists-bg-wrap {
    display: none;
  }
  .service-lists-item {
    cursor: pointer;
  }
}


/* ===============
================== exp */
.exp-wrap {
  height: 400vh;
  position: relative;
  background: #020914;
  @media screen and (max-width: 767px){
    padding-top: 60px;
  }
}
.exp {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
}
.About-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.About-backgroundImage {
  position: absolute;
  opacity: 1;
  transform: translateY(150vh);
  transition: transform 0.1s linear;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.About-backgroundImage.-no01 {
  top: 0%;
  left: 0%;
  width: 50.32%;
  aspect-ratio: 483 / 272;
  z-index: 3;
  @media screen and (max-width: 767px){
    width: 75%;
  }
}
.About-backgroundImage.-no02 {
  top: 7.76%;
  left: 81.09%;
  width: 37.82%;
  aspect-ratio: 363 / 205;
  z-index: 2;
  @media screen and (max-width: 767px){
    width: 57%;
    left: 62%;
  }
}
.About-backgroundImage.-no03 {
  top: 10.03%;
  left: 36.93%;
  width: 17.5%;
  aspect-ratio: 169 / 95;
  filter: brightness(0.7) blur(4px);
  @media screen and (max-width: 767px){
    width: 27%;
  }
}
.About-backgroundImage.-no04 {
  top: 19.70%;
  left: 63.13%;
  width: 24.58%;
  aspect-ratio: 237 / 133;
  filter: brightness(0.7) blur(2px);
  @media screen and (max-width: 767px){
    width: 37%;
  }
}
.About-backgroundImage.-no05 {
  top: 37.75%;
  left: 6.98%;
  width: 19.38%;
  aspect-ratio: 187 / 105;
  filter: brightness(0.7) blur(2px);
  @media screen and (max-width: 767px){
    width: 30%;
  }
}
.About-backgroundImage.-no06 {
  top: 49.43%;
  left: 81.09%;
  width: 21.04%;
  aspect-ratio: 202 / 286;
  z-index: 2;
  @media screen and (max-width: 767px){
    width: 32%;
    left: 79%;
  }
}
.About-backgroundImage.-no07 {
  top: 71.23%;
  left: 4.11%;
  width: 43.96%;
  aspect-ratio: 423 / 238;
  @media screen and (max-width: 767px){
    width: 66%;
  }
}
.About-backgroundImage.-no08 {
  top: 85.61%;
  left: 69.74%;
  width: 17.5%;
  aspect-ratio: 169 / 95;
  filter: brightness(0.7) blur(2px);
  @media screen and (max-width: 767px){
    width: 27%;
  }
}
.About-backgroundImage.-no09bg,
.About-backgroundImage.-no09 {
 bottom : 0;
  left: 50%;
  width: 40%;
  aspect-ratio: 1920 / 1201;
  transition: transform 0.1s linear;
  @media screen and (max-width: 767px){
    width: 75%;
  }
}
.About-backgroundImage.-no09bg {
  transform: translate(-50%, -50%) translateY(150vh) scale(1);
  z-index: 2;
}
/* .About-backgroundImage.-no07 {
  transform: translate(-50%, -50%) translateY(150vh) scale(1);
  z-index: 2;
} */

.exp-body {
  width: 100%;
  /* max-width: 1680px; */
  text-align: center;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10;

  h2 {
    line-height: 1.2;
    img{
      width: clamp(332px,100%,747px);
      padding: 0 5%;
    }
  }
  ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    width: 95%;
    max-width: 1200px;
    @media screen and (max-width: 767px){
      gap: 8px;
      flex-wrap: wrap;
      width: 90%;
    }
  }
  li {
    width: calc((100% - 90px) / 4);
    padding: 40px 0 30px;
    border: 1px solid #fff;
    border-radius: 4px;
    background: rgba(2, 9, 20, 0.3);
    @media screen and (max-width: 767px){
      width: calc((100% - 8px) / 2);
      padding: 10px 0 14px;
      h3{
        line-height: 1.4;
      }
    }
    p {
      font-size: 10px;
      font-family: Montserrat, sans-serif;
      margin-top: 16px;
      text-transform: uppercase;
      @media screen and (max-width: 767px){
        margin-top: 8px;
      }
    }
  }
}

.exp-title-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.exp-read {
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: .9px;
  margin: 40px 0;
  @media screen and (max-width: 767px){
    font-size: 16px;
    margin: 20px 0;
  }
}


/* ===============
================== media */
.media {
  background: #181717;
}
.scroll-carousel-wrap {
  width: 100%;
  position: relative;
}
.scroll-carousel {
  list-style: none;
  margin-right: -20vw;
  @media screen and (max-width: 767px){
    margin-right: 0;
  }
}
.scroll-carousel-list {
  position: sticky;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #181717;
  overflow: hidden;
  @media screen and (max-width: 767px){
    margin-bottom: 25vh;
    &:last-child{
      margin-bottom: 0;
    }
  }
}
.scroll-carousel-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.scroll-carousel-list::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(2, 9, 20, 0.8);
  backdrop-filter: blur(6px);
  z-index: 1;
}
.scroll-carousel-list-inner {
  position: relative;
  z-index: 2;
}
.scroll-carousel-list-inner {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 0 0 56px 48px;
  width: 100%;
  max-width: 980px;
  @media screen and (max-width: 767px){
    width: 90%;
    margin: 0 auto;
    padding: 30px 20px 20px;
  }
}
.scroll-carousel-nav{
  @media screen and (min-width: 768px){
    text-transform: uppercase;
    position: absolute;
    top: 0;
    left: 1vw;
    height: 100%;
    z-index: 5;
    pointer-events: none;
  }
  @media screen and (max-width: 767px){
    display: none;
  }
  li{
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 500;
    font-family: Montserrat, sans-serif;
    margin-bottom: 30px;
    transition: font-size 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    &.is-view{
      font-size: 40px;
    }
    &:nth-child(1)::before{
      content: "1";
      display: block;
      font-size: 12px;
      transition: font-size 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    }
    &:nth-child(2)::before{
      content: "2";
      display: block;
      font-size: 12px;
      transition: font-size 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    }
    &:nth-child(3)::before{
      content: "3";
      display: block;
      font-size: 12px;
      transition: font-size 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    }
  }
}
.scroll-carousel-nav-lists {
  pointer-events: auto;
  position: sticky;
  top: 50%;
  margin: 0;
  padding: 0;
  @media screen and (max-width: 767px){
    display: none;
  }
}

/* SP: Nav label at top of each item */
.scroll-carousel-nav-sp {
  display: none;
  @media screen and (max-width: 767px){
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 48px;
    font-family: Montserrat, sans-serif;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    .nav-num {
      display: block;
    }
    .nav-label {
      display: block;
    }
  }
}


@media (max-width: 1400px) {
  .scroll-carousel-nav li {
    font-size: 0;
    &::before {
      font-size: 12px;
    }
    &.is-view {
      font-size: 0;
      &::before {
        font-size: 40px;
      }
    }
  }
}
@media (max-width: 767px) {
  .scroll-carousel-nav li {
    font-size: 10px;
    &::before {
      font-size: 10px;
    }
    &.is-view {
      font-size: 10px;
      &::before {
        font-size: 10px;
      }
    }
  }
}
.media-title {
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
  align-items: end;
  @media screen and (max-width: 767px){
    flex-direction: column;
    align-items: normal;
  }
  h2 {
    font-size: clamp(34px, 6.531vw, 64px);
    white-space: nowrap;
  }
  .media-img {
    margin-top: -2.5vw;
    margin-right: -6.5vw;
    @media screen and (max-width: 767px){
      margin-top: auto;
      margin-left: 24px;
      margin-right: -20vw;
      margin-bottom: 32px;
      width: 140%;
    }
  }
  img,
  video {
    width: 100%;
  }
}
.media-text {
  p {
    font-size: 18px;
    line-height: 2;
    margin: 40px 0 24px;
    @media screen and (max-width: 767px){
      margin: 20px 0;
      font-size: 16px;
    }
  }
  .media-tags {
    li {
      border: 1px solid var(--white);
      padding: 2px 4px;
      display: inline-block;
      border-radius: 4px;
      @media screen and (max-width: 767px){
        font-size: 14px;
        padding: 6px 10px 8px;
      }
    }
  }
}


/* ===============
================== rules */
.rules{
  background: #020914;
  position: relative;
  z-index: 6;
  padding: 120px 0;
  width: 100%;
  @media screen and (max-width: 767px){
    padding: 60px 0;
  }
  h2{
    font-size: 30px;
    text-align: center;
    margin-bottom: 60px;
    @media screen and (max-width: 767px){
      font-size: 20px;
      margin-bottom: 30px;
    }
  }
  h3{
    font-size: 18px;
    margin-bottom: 20px;
    @media screen and (max-width: 960px){
      text-align: left;
      margin-bottom: 8px;
      & + p{
        text-align: left;
      }
    }
    @media screen and (max-width: 767px){
      font-size: 16px;
      & + p{
        font-size: 14px;
      }
    }
  }
  ul{
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1280px;
    margin: 0 auto;
    @media screen and (max-width: 767px){
      gap: 16px;
      flex-direction: column;
      width: 90%;
    }
  }
  li{
    padding: 32px 40px;
    text-align: center;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px;
    @media screen and (max-width: 767px){
      padding: 20px;
    }
  }
  .rules-offer{
    margin-top: 20px;
    text-align: center;
    @media screen and (max-width: 767px){
      margin: 16px 5% 0;
      text-align: left;
      font-size: 14px;
    }
  }
}


/* ===============
================== works */
.works{
  background: #020914;
  padding: 120px 0;
  @media screen and (max-width: 767px){
    padding: 60px 0;
  }
}
.works-title{
  text-align: center;
  h2{
    font-size: 44px;
    margin-top: 8px;
    @media screen and (max-width: 767px){
      font-size: 30px;
    }
  }
}

.works-carousel-wrap{
  position: relative;
  margin-top: 40px;
  overflow: hidden;
  width: 100%;
}

.works-carousel{
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  /* will-change: transform; */
}

.works-carousel-item{
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: min(calc((120px / 1920px) * 100vw), 120px);
  flex-shrink: 0;
  box-sizing: border-box;
  @media screen and (max-width: 767px){
    flex-direction: column;
  }
}

.works-carousel-controls{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  margin-left: calc(55% + min(calc((120px / 1920px) * 100vw), 120px));
  width: calc(45% - 120px);
  max-width: 440px;
  @media screen and (max-width: 767px){
    margin: 20px auto 0;
    width: auto;
  }
}

.works-carousel-pagination{
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 30px;
  .current, .total{
    line-height: 1;
  }
  .pagination-bar-container{
    position: relative;
    width: 40px;
    height: 1px;
  }
  .pagination-bar-bg{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
  }
  .pagination-bar-active{
    position: absolute;
    top: 0;
    left: 0;
    /* width: 33.33%; */
    width: 50%;
    height: 1px;
    background: rgba(255, 255, 255, 1);
    transition: left 0.5s cubic-bezier(0.25, 1, 0.5, 1), width 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  }
}

.works-carousel-btn{
  width: 55px;
  height: 30px;
  border-radius: 100px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 1);
  color: var(--white);
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
  position: relative;
  &:hover{
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 1);
  }
  &::before{
    content: '';
    display: block;
    width: 11px;
    height: 8px;
    background-image: url("data:image/svg+xml,%3Csvg width='11' height='8' viewBox='0 0 11 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.8466 3.48708C11.0511 3.69164 11.0511 4.0233 10.8466 4.22786L7.51308 7.56136C7.30852 7.76592 6.97686 7.76592 6.7723 7.56136C6.56774 7.3568 6.56774 7.02514 6.7723 6.82058L9.73541 3.85747L6.7723 0.894354C6.56774 0.689794 6.56774 0.358136 6.7723 0.153576C6.97686 -0.0509847 7.30852 -0.0509847 7.51308 0.153576L10.8466 3.48708ZM0 3.85747L0 3.33366L10.4762 3.33366V3.85747V4.38128L0 4.38128L0 3.85747Z' fill='white'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
  }
  &.-prev{
    &::before{
      transform: rotate(180deg);
    }
  }
}

.works-pic{
  width: 55%;
  padding-left: 10vw;
  text-align: center;
  video,img{
    width: 100%;
    max-width: max-content;
    max-height: 45vw;
    object-fit: contain;
    border-radius: 40px;
  }
  @media screen and (max-width: 767px){
    width: auto;
    max-width: 100%;
    padding-left: 0;
    margin: 20px 0 8px;
    border-radius: 8px;
    &.for-sp{
      display: flex;
      justify-content: center;
      align-items: center;
    }
    video,img{
      max-width: max-content;
      object-fit: contain;
      max-height: 80vw;
      padding: 2.5%;
    }
  }
}
.works-pic-iframe-wrapper{
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  border-radius: 40px;
  overflow: hidden;
  @media screen and (max-width: 767px){
    border-radius: 8px;
  }
  iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
  }
}
.works-text{
  width: calc(45% - 120px);
  max-width: 440px;
  @media screen and (max-width: 767px){
    width: 90%;
    max-width: none;
  }
}
.works-item-title{
  font-size: 30px;
  margin-bottom: 20px;
  @media screen and (max-width: 767px){
    text-align: center;
    font-size: 20px;
  }
}
.works-item-read{
  @media screen and (max-width: 767px){
    font-size: 14px;
  }
}
.works-item-info{
  margin-top: 20px;
  @media screen and (max-width: 767px){
    margin-top: 0;
  }
  dl{
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 8px;
    background: rgba(255,255,255,.06);
    padding: 12px 20px;
    margin-bottom: 8px;
    dt{
      width: 25%;
    }
    dd{
      width: calc(75% - 8px);
    }
  }
}

/* Safari全般（macOS、iOS）に適用 */
@supports (-webkit-hyphens: none) {
  /* PC表示：iframe部分とテキストエリアの間の余白を確保 */
  @media screen and (min-width: 768px) {
    .works-carousel-item {
      gap: 120px;
    }

    /* コントロールバーの位置をテキストエリアの下に配置 */
    .works-carousel-controls {
      margin-left: calc(55% + 120px);
      width: calc(45% - 120px);
      max-width: 440px;
    }
  }

  /* iframe のサイズ調整 */
  .works-pic-iframe-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    padding-top: 0;
    border-radius: 40px;
    overflow: hidden;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }

  .works-pic-iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }

  @media screen and (max-width: 767px) {
    .works-pic-iframe-wrapper {
      border-radius: 8px;
    }
  }
}



/* ===============
================== price */
.price{
  padding: 120px 0;
  background: #1D2025;
  @media screen and (max-width: 767px){
    padding: 60px 0;
  }
}
.price-title{
  text-align: center;
  h2{
    font-size: 44px;
    margin-top: 8px;
    @media screen and (max-width: 767px){
      font-size: 30px;
    }
  }
}
.price-body{
  margin: 80px auto 0;
  display: flex;
  justify-content: center;
  gap: 16px;
  width: 100%;
  max-width: 1280px;
  @media screen and (max-width: 767px){
    flex-direction: column;
    margin-top: 30px;
    width: 90%;
  }
}
.price-item{
  width: calc((100% - 16px) / 2);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 80px 0;
  text-align: center;
  @media screen and (max-width: 767px){
    width: 100%;
    padding: 40px 20px;
  }
}
.price-item-cost{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  @media screen and (max-width: 960px){
    flex-direction: column;
  }
  @media screen and (max-width: 767px){
    gap: 16px;
  }
  h3{
    font-size: 30px;
    @media screen and (max-width: 767px){
      font-size: 20px;
    }
  }
  p{
    font-size: 38px;
    font-family: Roboto, sans-serif;
    font-weight: 700;
    @media screen and (max-width: 767px){
      font-size: 32px;
    }
    span{
      font-size: 60px;
      @media screen and (max-width: 767px){
        font-size: 50px;
      }
    }
  }
}
.price-tags{
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
  @media screen and (max-width: 767px){
    flex-wrap: wrap;
  }
  li{
    background: #fff;
    border-radius: 4px;
    display: inline-block;
    padding: 4px 8px;
    color: #020914;
    font-weight: 700;
  }
}


/* ===============
================== flow */
.flow{
  padding: 120px 0;
  background: #1D2025;
  @media screen and (max-width: 767px){
    padding: 60px 0;
  }
}
.flow-content{
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 100px;
  @media screen and (max-width: 1280px){
    flex-direction: column;
    gap: 40px;
    width: 90%;
  }
}
.flow-title{
  text-align: center;
  h2{
    font-size: 44px;
    margin-top: 8px;
    @media screen and (max-width: 767px){
      font-size: 30px;
    }
  }
}
.flow-lists{
  li:not(:first-child){
    border-top: 1px solid rgba(255,255,255,.06);
    padding-top: 30px;
    margin-top: 30px;
  }
  li{
    display: flex;
    align-items: center;
    gap: 30px;
  }
}
.flow-num{
  font-family: Montserrat, sans-serif;
  font-size: 24px;
  @media screen and (max-width: 767px){
    display: none;
  }
}
.flow-list-title{
  font-size: 22px;
  margin-bottom: 8px;
  @media screen and (max-width: 767px){
    font-size: 18px;
  }
  span{
    display: none;
    @media screen and (max-width: 767px){
      display: inline-block;
      margin-right: 20px;
      font-family: Montserrat, sans-serif;
      font-weight: 500;
    }
  }
}
.flow-list-read{
  line-height: 2;
  @media screen and (max-width: 767px){
    font-size: 14px;
  }
}
.flow-after{
  margin: 120px auto 0;
  background: rgba(255,255,255,.06);
  width: 100%;
  max-width: 1280px;
  border-radius: 16px;
  padding: 30px 68px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 108px;
  @media screen and (max-width: 767px){
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    width: 90%;
    margin-top: 30px;
    padding: 20px;
  }
}
.flow-after-title{
  font-size: 28px;
  word-break: keep-all;
  @media screen and (max-width: 767px){
    font-size: 20px;
  }
}
.flow-after-read{
  line-height: 2;
  @media screen and (max-width: 767px){
    font-size: 14px;
  }
}
.flow-after-tags{
  display: flex;
  gap: 8px;
  margin-top: 16px;
  @media screen and (max-width: 767px){
    font-size: 14px;
    align-items: end;
    flex-wrap: wrap;
  }
  li{
    background: #020914;
    padding: 4px 12px;
    border-radius: 8px;
    &:last-child{
      background: none;
      padding: 0;
    }
  }
}


/* ===============
================== contact */
.contact{
  padding: 120px 0;
  background: #1D2025;
  @media screen and (max-width: 767px){
    padding: 60px 0;
  }
}
.contact-title{
  text-align: center;
  h2{
    font-size: 44px;
    margin-top: 8px;
    @media screen and (max-width: 767px){
      font-size: 30px;
    }
  }
}
.contact-body{
  margin: 80px auto 0;
  width: 100%;
  max-width: 800px;
  @media screen and (max-width: 767px){
    width: 90%;
    margin-top: 40px;
  }
}
.table_form{
  td{
    position: relative;
  }
  .error{
    position: absolute;
    bottom: 20px;
    font-size: 14px;
    color: #D64242;
    @media screen and (max-width: 767px){
      font-size: 12px;
    }
  }
  .input-tilte{
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: 1px;
    @media screen and (max-width: 767px){
      font-size: 16px;
    }
    span{
      color: #1D2025;
      background: #fff;
      border-radius: 999px;
      margin-left: 8px;
      padding: 3px 8px 4px;
      font-size: 16px;
      letter-spacing: .8px;
      @media screen and (max-width: 767px){
        font-size: 12px;
      }
    }
  }
  input,
  textarea{
    margin-bottom: 50px;
    background: rgba(255,255,255,.06);
    padding: 12px 28px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 6px;
    width: 100%;
    color: var(--white);
    @media screen and (max-width: 767px){
      font-size: 14px;
      padding: 12px 20px;
    }
  }
  .pp-check{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 60px;
    @media screen and (max-width: 767px){
      font-size: 14px;
      margin-bottom: 30px;
    }
  }
  input[type=checkbox]{
    width: 20px;
    height: 20px;
    padding: 0;
    margin-bottom: 0;
    appearance: none;
    border: 2px solid var(--white);
    background: #181717;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease;
    flex-shrink: 0;
    &:checked{
      background: var(--white);
      border-color: var(--white);
      &::after{
        content: '';
        position: absolute;
        top: 3px;
        left: 6px;
        width: 5px;
        height: 10px;
        border: solid #181717;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
      }
    }
  }
  input[type=radio]{
    width: 20px;
    height: 20px;
    appearance: none;
    border: 2px solid var(--white);
    background: #181717;
    padding: 0;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    transition: border-color 0.3s ease;
    margin-bottom: 0;
    &:checked{
      background: #fff;
      &::after{
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 8px;
        height: 8px;
        background: #1D2025;
        border-radius: 50%;
      }
    }
  }
  .radia-contain{
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    label{
      display: flex;
      align-items: center;
      gap: 8px;
      @media screen and (max-width: 767px){
        font-size: 14px;
      }
    }
  }
  input[type=submit]{
    width: 300px;
    height: 70px;
    background: var(--white);
    background-image: url('data:image/svg+xml;utf8,<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="15" cy="15" r="14.5" stroke="%23021514"/><path d="M10 15.5H20M20 15.5L16.88 12.38" stroke="%23021514" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-repeat: no-repeat;
    background-position: calc(100% - 20px) center;
    color: #021514;
    border: none;
    border-radius: 100px;
    font-size: 22px;
    font-weight: 700;
    font-family: "Zen Kaku Gothic New", sans-serif;
    letter-spacing: 1.1px;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
    margin-bottom: 0;
    padding: 0;
    &:hover{
      opacity: 0.8;
      transform: translateY(-2px);
    }
  }
  .policy-contain{
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px;
    padding: 30px;
    line-height: 2;
    margin-bottom: 20px;
  }
  .policy-title{
    font-size: 18px;
    font-weight: 700;
    @media screen and (max-width: 767px){
      font-size: 14px;
    }
  }
  .policy-read{
    margin-top: 20px;
    font-size: 18px;
    font-weight: 500;
    @media screen and (max-width: 767px){
      font-size: 14px;
      margin-top: 12px;
    }
    span{
      text-decoration: underline;
    }
  }
}
.form-after{
  margin-top: 80px;
  .isms-title{
    text-align: center;
    font-size: 18px;
    @media screen and (max-width: 767px){
      font-size: 14px;
      line-height: 1.8;
    }
  }
  .isms-logo-contain{
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
  }
  .isms-read{
    line-height: 2;
    @media screen and (max-width: 767px){
      font-size: 14px;
    }
  }
  .isms-offer{
    text-align: center;
    font-size: 12px;
    @media screen and (max-width: 767px){
      text-align: left;
      line-height: 1.9;
    }
  }
}


/* ===============
================== footer */
footer{
  position: relative;
  z-index: 2;
  background: #171717;
}
.footer-video{
  height: 360px;
  overflow: hidden;
  position: relative;
  @media screen and (max-width: 767px){
    height: 17vh;
  }
  video{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .video-mask{
    position: absolute;
    inset: 0;
    display: flex;
    align-items: end;
    justify-content: center;
    z-index: 1;
    opacity: .9;
    img{
      max-width: 100%;
      height: auto;
    }
  }
  &:after{
    content: "";
    width: 100vw;
    height: 360px;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0,0,0,.4);
  }
}

.footer-bottom{
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  padding-top: 48px;
  @media screen and (max-width: 767px){
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .policy{
    display: flex;
    justify-content: end;
    gap: 8px;
    @media screen and (max-width: 767px){
      justify-content: center;
    }
  }
  .links{
    display: flex;
    gap: 20px;
    margin-top: 20px;
    @media screen and (max-width: 767px){
      flex-wrap: wrap;
      justify-content: center;
      gap: 10px 20px;
      width: 90%;
      margin: 20px auto 0;
    }
    a{
      transition: all .3s;
      &:hover{
        opacity: .7;
      }
    }
  }
}
.copy{
  margin: 12px auto 0;
  padding-bottom: 42px;
  width: 100%;
  max-width: 1280px;
  @media screen and (max-width: 767px){
    text-align: center;
    margin-top: 30px;
  }
}