@charset "UTF-8";

/*基本設計*/

body{
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    line-height: 2;
    font-size: 18px;
    color: #333;
}

/*bodyをスクロールさせない*/
html, body {
    height: 100%;
    overflow: hidden;
}

img{
    border: 0;
    vertical-align: bottom;
}

.wrapper{
    width:500px;
    margin: 0 auto;
}

.container{
    width:500px;
    margin: 0 auto;
}

.container img {
    width: 100%;
    height: auto;
}

.youtube-box{
    position: relative;
}

.btn-box{
    position: relative;
}

.btn-inner {
    width: 100%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.video-section {
  background: url("../images/LP_05.jpg") center / cover no-repeat;
  padding-top: 10px;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 50px;
}

.video-inner {
  max-width: 800px;
  margin: 0 auto;
}

.video-inner video {
  width: 100%;
  display: block;
}

/*
@media screen and (max-width: 440px) {
    .btn-inner1 {
        top:45px;
    }
}
*/

.btn-inner2 {
    width: 80%;
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
}

/*
@media screen and (max-width: 440px) {
    .btn-inner2 {
        top:90px;
    }
}
*/


.btn-inner3 {
    width: 75%;
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
}

.btn-img {
    width: 500px;   /* ← 本来のサイズ */
    max-width: none;
}

.footer{
    font-size: 12px;
    background: #242b52;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

.footer-inner{
    margin: 0 auto;
}

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

.footer-links {
display: flex;
justify-content: center; /* 中央寄せ */
gap: 24px; /* 横の間隔 */
list-style: none;
margin: 0;
padding: 0;
padding-bottom: 10px;
}


.footer-links li a {
text-decoration: none;
color: #333;
transition: color 0.2s ease;
font-size: 12px !important;
color: white;
}

.footer-info{
    padding-top: 20px;
    padding-bottom: 10px;
}


/*左右固定*/
.side {
    position: fixed;
    z-index: 1;
    top: 0;
    width: calc((100vw - 500px) / 2);
    height: 100vh;
    background-size: cover;
    background-position: center;
}

.left {
    left: 0;
    background-image: url("../images/bg_01.jpg");
}

.right {
    right: 0;
    background-image: url("../images/bg_02.jpg");
}

/*中央スクロール*/
.center-scroll {
    position: relative;
    z-index: 2;   /* LP本体を前面に */
    width: 500px;
    margin: 0 auto;
    height: 100vh;
    overflow-y: auto;
    background: #fff;

    box-shadow: 4px 0 8px rgba(0,0,0,0.15),
                -4px 0 8px rgba(0,0,0,0.15);
}

.center-scroll {
    -webkit-overflow-scrolling: touch;
}

.center-scroll {
    scrollbar-width: none;      /* Firefox */
    -ms-overflow-style: none;   /* IE / Edge(旧) */
}

.center-scroll::-webkit-scrollbar {
    display: none;              /* Chrome / Safari */
}

/*PC画面購入ボタン*/

.fixed-buy {
    position: fixed;
    right: calc((100vw - 500px) / 4);
    bottom: 4px;
    z-index: 10;
    animation: float 2s ease-in-out infinite;
}

@keyframes float {
    0%,100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

.fixed-buy img {
    display: block;
    width: 500px;
    height: auto;
}

@media screen and (max-width: 1600px) {
    .fixed-buy img { width: 300px;}
}

/*スマホ対策*/
@media screen and (max-width: 1024px) {

    html, body {
        height: auto !important;
        overflow-y: auto !important;
    }

    .side {
        display: none;
    }

    .center-scroll {
        width: 100%;
        height: auto;
        overflow: visible;
        box-shadow: none;
    }

    .wrapper,
    .container,
    .footer-inner {
        width: 100%;
    }
    
    .fixed-buy{
        width: 100%;
        right: auto;
        opacity: 0;
        visibility: hidden;
        transform: translateY(20px);
        transition: opacity 0.3s ease;
    }
    
    
    .fixed-buy.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .fixed-buy img { 
        width: 80%;
        margin-right: auto;
        margin-left: auto;
    }

}