/* Custom styles to complement Bootstrap */

:root {
  --bs-primary: #3087ce;  /* Match the indigo-600 from Tailwind */
  --bs-primary-rgb: 79, 70, 229;
  --bs-primary-hover: #4338ca;  /* Match indigo-700 for hover states */
}

/* General styles */
body {
   font-family: 'Inter';
   
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: #111827;  /* text-gray-900 */
}

/* Override Bootstrap primary */
.btn-primary {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--bs-primary-hover);
  border-color: var(--bs-primary-hover);
}

.btn-outline-primary {
  color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.text-primary {
  color: var(--bs-primary) !important;
}

.bg-primary {
  background-color: var(--bs-primary) !important;
}
.fw-bold{
    font-weight: 900 !important;;
}

.border-primary {
  border-color: var(--bs-primary) !important;
}

/* Add smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

/* Text colors to match Tailwind */
.text-secondary {
  color: #6b7280 !important;  /* text-gray-500 */
}

.text-white-50 {
  opacity: 0.7;
  transition: opacity 0.2s;
}

.hover-white:hover {
  opacity: 1;
}

/* Hero section styles */
#hero {
  padding: 80px 0;
  /*overflow: hidden;*/
  position: relative;
}

.hero-image-container {
  position: absolute;
  top: 20px;;
  right: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transform: rotate(8deg);
  transition: all 1s;
 
}

.hero-image-container.disabled{
    top: 600px;;
}

.container-vid{

    position: relative;
    overflow: hidden;
}

.hero-image {
   width:394px;
    height: 712px;
    top:0;
    left:0;
   
 /* width: 100%;
  height: 100%;
  object-fit: cover;*/
}
.defaultphone{
   width:394px;
    height: 712px;
    top:0;
    left:0;
    position: absolute;
    background: url('../img/phone_transparent.png');
   /* mask: url('../img/maskimg.png');*/

}
.vidinphone{
    width:394px;
    height: 712px;
    top:0;
    left:0;
    position: absolute;
    /*background: url('../img/phone_transparent.png');*/
    mask: url('../img/maskimg.png');

}
.vidinphone video{
    position: absolute;
    width: 1000px;
    left:50%;
    top:50%;
    transform: translate(-50%, -50%);
}


.hero-video{
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.herovid{
    width: 100%;
    filter: blur(3px);
    transition: filter 0.3s ease;
    transform: scale(1.2) translate(20%,0);
    
}

@media (min-width: 992px) {
  .hero-image-container {
    display: block;
  }
  
  #hero .container {
    position: relative;
    z-index: 1;
  }
  
  #hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 48%;
    height: 100%;
    width: 100px;
    background-color: white;
    transform: skewX(-12deg);
    transform-origin: top right;
  }
}

/* Feature icon styling */
.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon i {
  font-size: 1.25rem;
}

/* Custom styling for cards */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 8px;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Pricing card styles */
.pricing-value {
  margin-bottom: 1rem;
}

.card.border-primary {
  box-shadow: 0 5px 15px rgba(var(--bs-primary-rgb), 0.2);
}

/* Custom buttons */
.btn {
  border-radius: 6px;
  padding: 0.5rem 1.25rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-lg {
  padding: 0.75rem 1.5rem;
}

/* Navbar styles */
.navbar {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.navbar-nav .nav-link {
  position: relative;
  padding-bottom: 0.5rem;
  margin-right: 1rem;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--bs-primary);
  transition: width 0.3s;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 80%;
}

/* Testimonial styles */
.rounded-circle {
  object-fit: cover;
}

/* Footer styles */
footer a {
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #fff !important;
}

/* Animation classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animations */
.animate-on-scroll:nth-child(1) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(2) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.4s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.5s; }
.animate-on-scroll:nth-child(6) { transition-delay: 0.6s; }







.card {
  /* Remove fixed height to allow natural scaling */
  height: auto !important;
}

.vidcontainer, .vidcontainer-prime {
  position: relative;
  width: 100%;
  /* Common video aspect ratios - adjust as needed */
  aspect-ratio: 16/9; /* or 4/3, 1/1, etc. */
  overflow: hidden;
  border-radius: 8px; /* Optional: rounded corners */
}

.vidcontainer video, .vidcontainer-prime video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* or 'contain' to show full video with possible letterboxing */
}






.noselect {
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Safari */
    -khtml-user-select: none;
    /* Konqueror HTML */
    -moz-user-select: none;
    /* Old versions of Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

.magicbtn {
    display: inline-block;
    padding: 3px;
    /*background: var(--paynes-gray);*/
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    border-radius: 20%;
    width: auto;
    text-align: center;
    font-weight: bold;
    color: #333;
    margin-top: -4px;

    border: solid 1px #fff;
    transition: all .2s;


    -webkit-box-shadow: 0px -4px 29px -16px rgba(66, 68, 90, .1);
    -moz-box-shadow: 0px -4px 29px -16px rgba(66, 68, 90, .1);
    box-shadow: 0px -4px 29px -16px rgba(66, 68, 90, .1);
}

.bottombar {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    box-shadow: 1px 0px 21px 1px rgba(0, 0, 0, 0.12);

}

.magicbtn p {
    font-size: 12px;
    font-weight: normal;
}

.magicbtn.clicked{
  /*  background: red;*/
    color:var(--light-blue);
    transform: scale(.8)
}
.ctrlbtn.clicked{
    color:var(--light-blue);
    transform: scale(.8)
}

.btn.clicked{
    color:var(--light-blue);
    transform: scale(.9)
}
.flipped {
    transform: scale(-1, 1);
}

.side-menu{
    position: absolute;
    background:#fff;
    width:60%;
    height: 110%;
    right:-70%;
    top:0px;
    z-index: 199999;
    box-shadow: none;
    transition: all .1s;
    border-top-left-radius: 15px;
}

.disabled{
    opacity: .4;
    pointer-events: none;
    filter: blur(1.1px);
}


.timecode{
    padding:4px;
    color:#fff;
    font-size: 12px;
}
.side-menu.expanded{
    right:0;
    box-shadow: -9px 1px 6px 4px rgba(66, 68, 90, .2);
}

.vid-controls{
    position: absolute;
    top:0;
    left: 0;
    width:100%;
    height: 100%;
    /*background: green;*/
    /*z-index: 99999;*/
    display: block;
}

.flipped .vid-controls {
    transform: scale(-1, 1);
}

.ctrlbtn{
    position: absolute;
    text-align: center;
    width:26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255,255,255,.9);
    transition: all .2s;
    padding-top: 0px;
     z-index: 99999;
}

.timeslider{
    position: absolute;
    top:0;
    left:0;
    width:100%;
   
   /* background: rgba(255,255,255,.6);*/
    height:40px;
}

.hiddenitems{
    display: none;
}
.line{
    position: relative;
    width: 2000px;
}

.v-line{
    display: inline-block;
    width: 40px;
    top:30px;
    position: relative;
}

.v-line p{
    text-align: center;
    font-size: 12px;
}

.stroke{
    position: absolute;
    width: 1px;
    height:20px;
    top:-20px;
    background-color: #000;
    left:50%;
    transform: translate(-50%,0);
}



.hide{
    display: none;
}






/* You Can Edit Here */
 .simple-wheel,
 .simple-wheel-separator{
    height: auto;
    max-width: 100%;  
    font-size: 1.6rem;
   
     height:200px;
 }


 .simple-wheel-group{
  height:150px;
 }




/* ========================== */
/*     DO NOT EDIT BELOW      */

.simple-wheel-group{
  display: flex;
  flex-direction: row;
}

.simple-wheel,
.simple-wheel-separator{

  box-sizing: border-box;
  overflow-y: hidden;
  text-align:center;
  position: relative;
  
}


.simple-wheel-separator{
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  touch-action: none;
}


.simple-wheel ul{
  display: inline-block;
  padding: 0;
  margin:0;
  overflow-x: hidden;
  position: relative;
}


.simple-wheel li{
  position: relative;
  box-sizing: border-box;
  padding: 0.3em 0;
  font-size: 0.75em;
  white-space: nowrap;
  display: flex;
  justify-content: center;
  align-items: center;
}
.simple-wheel li.selected{
  font-size: 1em;
  padding: 0.15em 0;
  color: #3fa9f5;
  font-weight: 500;
}

.streaminfo{
    position: absolute;
    height:180px;
    width: 100%;
    z-index: 99999;
    top:0px;
    left:0;
     background-color: rgba(255,255,255,0.99);
    border: solid 1px #9b9b9b;
    border-width: 1px 0;
    transition: all .3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.streaminfo.closed{
    top:-400px;
}

p.stream_info{
    font-size: 12px;
}


.common{
    position: absolute;
    height:280px;
    width: 100%;
 /*   z-index: 99999;*/
    bottom:-2px;
   left:0;
     background-color: rgba(255,255,255,0.99);
    border: solid 1px #9b9b9b;
    border-width: 1px 0;
    transition: all .3s;
}

.common.closed{
    height:0;
    overflow: hidden;
    border:none;
}
.common-controls{
    position: absolute;
    right:10px;
    top:10px;
    z-index: 99999;
}
/*
    スクロールコントローラー
*/
.simple-wheel + .sw_event_capture{
  position: absolute;
  width:0;
  height:0;
  /* /background-color: green; opacity: .3;  */
  overflow-y: scroll;
  text-align:center;
  cursor: grab;
  
}
/* スクロールバー非表示化 ；　Chrome, Safari 対応 */
.simple-wheel + .sw_event_capture::-webkit-scrollbar {
  display:none;
}
.simple-wheel + .sw_event_capture div{
  width:100%;
  height:100vh;
}



body.sw_preventSelectText,
.simple-wheel,
.simple-wheel-separator{
  /* マウスでドラッグをシミュレート時に文字列を選択させないように */
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

body > #sw_mouseCaptureScreenToSimulateDragging{
  position: fixed;
  top:0;
  left:0;
  width: 100vw;
  height: 100vh;
  z-index: 999;
  display: none;
  cursor: grabbing;


}

.code-input-container {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 40px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
            text-align: center;
            max-width: 500px;
            width: 100%;
        }

       /* .title {
     color: #333;
     margin-bottom: 10px;
     font-size: 24px;
     font-weight: 600;
 }*/

        .subtitle {
            color: #666;
            margin-bottom: 30px;
            font-size: 16px;
        }

        .code-inputs {
            display: flex;
            justify-content: center;
            gap: 12px;
            margin-bottom: 30px;
            flex-wrap: wrap;
        }

        .code-input {
            width: 50px;
            height: 60px;
            border: 2px solid #e1e5e9;
            border-radius: 12px;
            text-align: center;
            font-size: 24px;
            font-weight: 600;
            color: #333;
            background: #fff;
            transition: all 0.3s ease;
            outline: none;
            font-family: 'Courier New', monospace;
        }

        .code-input:focus {
            border-color: #667eea;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
            transform: translateY(-2px);
        }

        .code-input.filled {
            border-color: #10b981;
            background: #f0fdf4;
            color: #059669;
        }

        .code-input.error {
            border-color: #ef4444;
            background: #fef2f2;
            animation: shake 0.5s ease-in-out;
        }

        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            25% { transform: translateX(-5px); }
            75% { transform: translateX(5px); }
        }

        .submit-btn {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border: none;
            padding: 12px 30px;
            border-radius: 10px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            opacity: 0.5;
            pointer-events: none;
        }

        .submit-btn.active {
            opacity: 1;
            pointer-events: auto;
        }

        .submit-btn:hover.active {
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
        }

        .result {
            margin-top: 20px;
            padding: 15px;
            border-radius: 10px;
            font-weight: 600;
            opacity: 0;
            transition: all 0.3s ease;
        }

        .result.success {
            background: #f0fdf4;
            color: #059669;
            border: 1px solid #10b981;
            opacity: 1;
        }

        .result.error {
            background: #fef2f2;
            color: #dc2626;
            border: 1px solid #ef4444;
            opacity: 1;
        }

        @media (max-width: 480px) {
            .code-inputs {
                gap: 8px;
            }
            
            .code-input {
                width: 40px;
                height: 50px;
                font-size: 20px;
            }
            
            .code-input-container {
                padding: 30px 20px;
            }
        }



/* Responsive adjustments */
@media (max-width: 991.98px) {
  #hero {
    text-align: center;
    padding: 40px 0;
  }
  
  .navbar-toggler {
    border: none;
    padding: 0.5rem;
  }
  
  .navbar-toggler:focus {
    box-shadow: none;
  }
}

@media (max-width: 767.98px) {
  .display-4 {
    font-size: 2.5rem;
  }
  
  .display-5 {
    font-size: 2rem;
  }
  
  .display-6 {
    font-size: 1.75rem;
  }
    .container-vid{
        height:340px;
    }    
    .hero-image-container{
        top:0;
        transform: scale(0.7) rotate(6deg);
    }
    .herovid {
    width: 100%;
    filter: blur(2px);
    transition: filter 0.3s ease;
    transform: scale(1.4) translate(0%, 0);
}
    
}