/* style.css */
* {
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}

html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: none !important;
}

/* スナップ動作とスライドの基本設定 */
.section, .slide {
    height: 100vh !important;
height: 100dvh !important;
    width: 100%;
}

.section {
    /* flexを解除して画像の高さを確保 */
    display: block !important; 
    position: relative;
    height: 100vh !important;
    width: 100%;
}



.lp-image {
width: 100%;
    height: 100vh;
    object-fit: contain;
    display: block;
    background-color: #fff;
}

/* --- 【修正】カルーセル矢印：#F19700の丸に白の「＞」 --- */
.fp-controlArrow {
    top: 50%;
    transform: translateY(-50%);
    background-color: #F19700 !important; /* オレンジ色 */
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    border: none !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 100;
    cursor: pointer;
}

/* 矢印の「＞」部分 */
.fp-controlArrow::before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
}

/* 左矢印 */
.fp-controlArrow.fp-prev {
    left: 10px !important;
}
.fp-controlArrow.fp-prev::before {
    transform: rotate(-135deg); /* 左向き */
    margin-left: 6px;
}

/* 右矢印 */
.fp-controlArrow.fp-next {
    right: 10px !important;
}
.fp-controlArrow.fp-next::before {
    transform: rotate(45deg); /* 右向き */
    margin-right: 6px;
}

/* --- ドットのカスタマイズ (#F19700) --- */
.fp-slidesNav.fp-bottom {
    bottom: 20px;
}
.fp-slidesNav ul li a span {
    background: #F19700 !important;
    width: 12px !important;
    height: 12px !important;
    margin: -6px 0 0 -6px !important;
}


.btn-link {
    display: block;
    width: 90%;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    pointer-events: none; /* ボタン以外をスワイプ可能に */
    max-width: 380px;
    margin: 0 auto !important;
}

.btn-link img {
    width: 100%;
    display: block;
    pointer-events: auto; /* ボタン画像はクリック可能に */
}

/* --- 個別位置の微調整 --- */
.pos-btn1 {
    top: 90%; /* 画像内の位置に合わせて微調整 */
}
.pos-btn2 {
    top: 82%; /* 画像内の位置に合わせて微調整 */
}

.pos-btn3 {
    top: 58%; /* 画像内の位置に合わせて微調整 */
}
/* スワイプを邪魔しないための設定 */
/* ボタンの画像そのもの以外を透過させ、背後の画像のスワイプを拾いやすくします */
.btn-link {
    pointer-events: none; 
}
.btn2, .btn3 {
    pointer-events: auto; /* ボタン画像だけはクリック可能に */
}

/* 1. fullPage.js が計算する高さを強制的に上書き */
.fp-section, 
.fp-tableCell, 
.video-section {
    height: 100dvh !important; /* Safariのバーを除いた高さを強制 */
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important; /* 動画を下端に寄せる */
    background-color: #fff;
}

/* 2. ビデオ本体：高さを「自動」にして下に張り付かせる */
#video-before {
    width: 100% !important;
    height: auto !important; /* 縦に引き伸ばさない */
    max-height: 100dvh !important;
    object-fit: contain !important;
    margin-top: auto; /* 上に余白を溜めて、動画を下に押し出す */
    display: block !important;
}