body, html {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    overflow: hidden;
    background: #f4f4f4;
  }
  
  .wrapper {
    height: 100vh;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
  }
  
  .section {
    height: 100vh;
    scroll-snap-align: start;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  
  .section img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
  }
  
  .top-image {
    height: 100vh;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
  }


  .lp-nav {
  position: fixed;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.lp-nav li {
  transform: rotate(90deg);
  transform-origin: left center;
}

.lp-nav a {
  color: #bbb;
  text-decoration: none;
  font-size: 14px;
  font-weight: normal;
  transition: color 0.3s, font-weight 0.3s;
  display: inline-block;
}

.lp-nav a.active {
  color: #000;
  font-weight: bold;
}

  
  
  .horizontal-slide {
    overflow: hidden;
  }
  
  .slider {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
  }
  
  .slider img {
    flex: 0 0 100%;
    height: 100%;
    width: auto;
    object-fit: contain;
  }
  
  .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    z-index: 5;
    color: #000;
    padding: 0 10px;
  }
  
  .arrow.prev {
    left: 50px;
  }
  
  .arrow.next {
    right: 50px;
  }
  .swipe-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 18px;
    color: #492de7;
    text-align: center;
    animation: bounce 1.5s infinite;
    opacity: 1;
    transition: opacity 1s ease;
    z-index: 10;
    pointer-events: none;
  }
  
  @keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 10px); }
  }
  
  .swipe-indicator.fade-out {
    opacity: 0;
  }
  .cta-fixed{display: none;}


  #contact{background: url(../images/back.jpg);background-size: 100%;padding-bottom:5rem;}
  .cta-fixed.hidden {
    display: none;
  }
  
  @media screen and (max-width: 768px) {
    html, body {
      margin: 0 !important;
      padding: 0;
      height: 100%;
      overflow-x: hidden;
      overscroll-behavior: none;
    }
    .section {
      height: calc(var(--vh, 1vh) * 100); /* ←100dvhより安全 */
    }
    
    
    /* サイドメニュー非表示 */
    .lp-nav {
      display: none !important;
    }
  
    
    /* ドット（pagination）表示対応（必要なら） */
    .slider-pagination {
      position: absolute;
      bottom: 15px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 6px;
    }
  
    .slider-pagination .dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #ccc;
    }
  
    .slider-pagination .dot.active {
      background: #333;
    }

    .arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: none;
      border: none;
      font-size: 1rem;
      cursor: pointer;
      z-index: 5;
      color: #000;
      padding: 0 5px;
    }
    
    .arrow.prev {
      left: 10px;
    }
    
    .arrow.next {
      right: 10px;
  
  }}
  /* ==== スマホ用CTAボタン ==== */
  @media screen and (max-width: 768px) {
    .cta-fixed {
      position: fixed;
      bottom: 10px;
      left: 0;
      background-color: #eb6112;
      color: #fff;
      padding: 10px 16px 10px 14px;
      border-radius: 0 30px 30px 0;
      font-size: 13px;
      font-weight: bold;
      display: flex;
      align-items: center;
      gap: 8px;
      z-index: 9999;
      text-decoration: none;
      box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    }
  
    .cta-fixed i {
      font-size: 16px;
    }
  }
  

  /*footer*/
  .footer-allright {
    background: #000;
    color: #fff;
    padding: 50px 20px;
    text-align: center;
}

.footer-allright-box {
    max-width: 1000px;
    margin: 0 auto;
}

.footer-allright-box picture img {
    max-width: 200px;
    height: auto;
    margin-bottom: 30px;
}

.footer-menu-sp {
    margin: 30px 0;
}

.footer-menu-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 30px;
}

.footer-menu-list li a {
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    transition: 0.3s;
}

.footer-menu-list li a:hover {
    color: #bb8f55;
}

.footer-allright-sns {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-allright-sns li a {
    color: #fff;
    font-size: 24px;
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 1px solid #fff;
    border-radius: 50%;
    line-height: 40px;
    text-align: center;
    transition: 0.3s;
}

.footer-allright-sns li a:hover {
    background: #bb8f55;
    border-color: #bb8f55;
    color: #fff;
}

.footer-info {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.footer-info li {
    margin-bottom: 10px;
    font-size: 14px;
    color: #fff;
}

.footer-info li a {
    color: #fff;
    text-decoration: underline;
    transition: 0.3s;
}

.footer-info li a:hover {
    color: #bb8f55;
}

.f-copy {
    margin-top: 30px;
    font-size: 12px;
    color: #fff;
}

.f-copy a {
    color: #fff;
    text-decoration: none;
}

.f-copy a:hover {
    color: #bb8f55;
}

@media screen and (max-width: 768px) {
    .footer-menu-list {
        flex-direction: column;
        gap: 10px;
    }

    .footer-allright-sns li a {
        font-size: 20px;
        width: 35px;
        height: 35px;
        line-height: 35px;
    }
}
