/* ========== Base ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Helvetica Neue', sans-serif;
    color: #fff;
  }

  .custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;              /* 丸のサイズ */
    height: 20px;
    border-radius: 50%;
    background-color: #00f0c0; /* 色は自由に */
    pointer-events: none;     /* カーソルの下の要素をクリックできるようにする */
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
  }
  
  /* ========== Sidebar ========== */
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 150px;
    height: 100vh;
    padding: 20px 10px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .logo {
    width: 100%;
    margin-bottom: 20px;
  }
  
  .sidebar nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .sidebar nav ul li {
    text-align: left;
    padding-left: 20px;
  }
  
  .sidebar nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
  }
  
  .sidebar nav ul li a.active {
    color: #00f0c0;
  }
  
  .sidebar nav ul li a:hover {
    color: #00f0c0;
  }
  
  .goo-icon {
    width: 60%;
  }
  .insta-icon {
    width: 20%;
  }
  
  /* ========== Main Visual ========== */
  .main-area {
    width: calc(100% - 120px);
    height: 100vh;
    position: relative;
    overflow: hidden;
  }
  
  .video-background {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  
  .video-background video {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 70%;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
  }
  
  /* ========== Scroll Text ========== */
  .scroll-text-wrapper {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    overflow: hidden;
    padding-left: 120px;
    white-space: nowrap;
  }
  .scroll-text-mask-area {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    overflow: hidden;
    pointer-events: none;
    mix-blend-mode: difference; /* 中抜きっぽく見せる効果 */
    font-weight: bold;
    overflow: visible;
    z-index: 10;
  }
  .scroll-text {
    font-family: 'Abel', sans-serif;
    display: inline-block;
    white-space: nowrap;
    font-size: 68px;
    font-weight: bold;
    color: white;
    animation: scroll-left 30s linear infinite;
  }
  
  @keyframes scroll-left {
    0% {
      transform: translateX(0%);
    }
    100% {
      transform: translateX(-50%);
    }
  }
  
  /* ========== Slide Banner ========== */
  .slide-banner {
    position: absolute;
    bottom: 10%;
    left: 130px; /* サイドバー幅に合わせて調整 */
    width: 350px; /* お好みで */
    height: 250px;
    z-index: 20;
  }
  
  .slide-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    box-shadow: 2px 2px 0 #00f0c0;
  }
  
  .slide-item {
    position: absolute;
    width: 100%;
    height: 100%;
    display: none;
  }
  
  
  .slide-item.active {
    display: block;
  }
  @keyframes fadeSlide {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  .slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(70%); /* 数値を下げるほど暗くなる（例：40%） */
  }
  
  .slide-caption {
    position: absolute;
    bottom: 10px;
    right: 12px;
    color: #fff;
    padding: 4px 8px;
    font-size: 16px;
    letter-spacing: 2px;
    font-family: 'Abel', sans-serif;
    border-radius: 4px;
  }
  /* ========== Footer ========== */
  .footer {
    position: absolute;
    bottom: 10px;
    left: 120px;
    font-size: 12px;
    color: #999;
    width: calc(100% - 120px);
    text-align: center;
  }

  /* PCでは出さない */
.sp-sections { display:none; }
.sp-header, .sp-drawer, .sp-drawer__overlay { display: none; }
footer {
  display: none;
}

@media (max-width:768px){

  html, body { height:auto; overflow:auto; margin-top: -46px; }

  .sidebar { display:none; }

  .main-area { width:100%; height:auto; min-height:100vh; overflow:visible; }

  .video-background { position:relative; width:100%; height:100vh; overflow:hidden; }

  footer {
    display: block;
  }




  /* headerここから */
  /* 既存：サイドバー非表示 */
  .sidebar {
    display: none;
  }







  .slide-banner {
    display: none;
  }
  .video-background video {
    width: 100%;
    height: 100vh;
    object-fit: cover; /* はみ出さず全画面にフィット */
  }

  /* 背景の上でも読みやすく */
  .sp-sections{
    display:block;
    padding:28px 16px 48px;
  }

  /* Intro */
  .sp-intro {
    padding: 70px 30px;
  }
  .sp-intro p{
    color:#fff;
    line-height:1.9;
    font-size:14px;
    text-shadow:0 1px 2px rgba(0,0,0,.4);
    margin-bottom:28px;
    text-align: center;
  }




  /* Heading */
  .sp-heading{
    font-family:'Abel', sans-serif;
    font-size:34px;
    text-align: center;
    letter-spacing:1px;
    color:#32e6cb; /* ティール */
    margin:8px 0 0;
    position:relative;
  }
  .sp-heading.insta{ margin-top:22px; }


  /* サービスここから */
.sp-service-section {
  background: #000;
  margin: 20px 0 100px;
  overflow: hidden;
  width: 100vw; /* 画面幅いっぱい */
  margin-left: calc(-50vw + 50%); 
}

.sp-service-carousel {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* 各カードを比率に応じて設定 */
.sp-card {
  flex: 0 0 70%;
  scroll-snap-align: center;
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #000;
}
.sp-card-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: brightness(72%);
  transform: scale(1.02);
}


.sp-card .card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: #fff;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.sp-card .card-overlay h3 {
  font-size: 20px;
  letter-spacing: 1.5px;
  margin-bottom: 5px;
}

.sp-card .card-overlay p {
  font-size: 14px;
}

.sp-service-carousel.swiper-initialized {
  visibility: visible;
  opacity: 1;
}
.sp-service-carousel .swiper-wrapper {
  display: flex;
  align-items: center;
  transition-timing-function: ease-in-out;
}

.sp-service-carousel .swiper-slide {
  width: 70vw; /* ビューポート幅の70% */
  flex-shrink: 0;
  transition: transform 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sp-service-carousel .swiper-slide-prev,
.sp-service-carousel .swiper-slide-next {
  width: 15%; /* 前後の見切れ */
  opacity: 0.7;
  transform: scale(0.9);
}

.sp-service-carousel .swiper-slide-active {
  opacity: 1;
  transform: scale(1);
}

  .sp-service-carousel .swiper-slide {
  width: 70%; /* 中央のスライド */
  transition: transform 0.4s ease;
}


  .sp-card-overlay{
    position:absolute; inset:0;
    display:flex; align-items:center; justify-content:center;
    text-align:center; padding:10px;
  }
  .sp-card-title .en{
    display: block;
    font-family: 'Abel', sans-serif;
    letter-spacing: 2px;
    font-size: 18px;
  }
  .sp-card-title .ja{
    display: block;
    margin-top: 6px;
    font-size: 12px;
    opacity: 0.9;
  }

  .sp-service-nav{
    width:32px; height:32px; border-radius:50%;
    border:1px solid #fff; background:transparent; color:#fff;
    display:grid; place-items:center;
  }
  .sp-service-nav:active{ transform:scale(.96); }
  .sp-service-nav.prev{ order:-1; }


  /* Instagram area（プラグインの出力に枠だけ与える） */
  .sp-insta{ margin-top:8px; }
  .sp-footer {
  width: 100%;
  color: #fff;
  padding: 40px 30px;
  text-align: left;
  font-family: 'Noto Sans JP', sans-serif;
}

.sp-footer-container {
  max-width: 800px;
  margin: 0 auto;
}

/* 住所・Google Map */
.sp-footer-address p {
  margin: 15px 0;
  font-size: 14px;
}

.sp-map-link {
  display: inline-block;
  margin-top: 6px;
  color: #fff;
  border-bottom: 0.7px solid #fff;
  padding-bottom: 2px;
  font-size: 14px;
  transition: color 0.3s ease;
}
.sp-map-link:hover {
  color: #00f0c0;
}

/* 電話・営業時間 */
.sp-footer-info {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.8;
}
.sp-footer-info p {
  padding-top: 10px;
}
.sp-footer-label {
  display: inline-block;
  min-width: 80px;
}

/* お問い合わせボタン */
.sp-footer-contact {
  margin-top: 24px;
}
.sp-contact-btn {
  display: inline-block;
  border-bottom: 0.8px solid #fff;
  color: #fff;
  padding-bottom: 3px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.sp-contact-btn:hover {
  background-color: #00f0c0;
  color: #000;
}
.footer-logo {
  width: 25%;
}
.copy-text {
  text-align: center;
  padding: 20px;
}

}