@charset "UTF-8";

/* --- 1. 基本リセット --- */
html, body, div, span, p, a, img, section, article, header, footer {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
    box-sizing: border-box; /* サイズ計算を楽にする */
}

a, a img {
    transition: all 0.3s ease;
}
a:hover, a img:hover {
    opacity: 0.7;
}

.body__fixed {
    background-color: #ffffff;
    max-width: 450px;
    margin: 0 auto;
    box-shadow: 0 0 12px 1px rgba(0,0,0,0.1);
    font-family: sans-serif;
}

img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- 2. レイアウトパーツ（共通） --- */

/* 親コンテナの基本 */
.btn-container, 
.point-btn-v-container, 
.offer-container {
    position: relative;
    width: 100%;
    line-height: 0; /* 画像の下にできる謎の隙間対策 */
}

/* 上に載せるボタンの基本（中央寄せ） */
.btn-overlay, 
.btn-overlay2, 
.overlay-btn-v {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: block;
}

/* --- 3. セクションごとの個別調整 --- */

/* FV部分 */
.btn-container .btn-overlay {
    bottom: 8%;
    width: 85%;
}
.btn-container .btn-overlay2 {
    bottom: 1%;
    width: 85%;
}

/* Point部分（縦並び） */
.btn3 { top: 81%; width: 85%; }
.btn4 { bottom: 3%; width: 85%; }

/* Offer部分（btn5, btn6, btn7など） */
.btn5 { bottom: 6%; width: 75%; }
.btn6 { bottom: 9%; width: 75%; }
.btn7 { bottom: 17%; width: 75%; }
.btn-last { bottom: 31%; width: 75%; } /* pointup04用に追加 */

/* --- 4. テキスト・装飾 --- */
.point__text {
    padding: 20px 30px 50px 30px;
}
.sub_text {
    font-size: 10px;
    line-height: 1.6;
    color: #333;
}
.point__text--underline {
    text-decoration: underline;
}

/* --- 5. アニメーション系（そのまま） --- */
.animated {
    animation-duration: 2s;
    animation-fill-mode: both;
}
.fadeInbottom {
    animation-name: fadeInbottom;
}
@keyframes fadeInbottom {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}
.is-fadeup { opacity: 0; transform: translateY(20px); transition: 1.5s; }
.is-show { opacity: 1; transform: translateY(0); }

/* btn-pos2 (03-2用) の位置調整 */
.btn-pos2 {
    bottom: 9%;   /* 画像の下から9%の位置 */
    width: 75%;   /* ボタンの横幅 */
}

/* btn-pos3 (03-3用) の位置調整 */
.btn-pos3 {
    bottom: 17%;  /* 画像の下から17%の位置 */
    width: 75%;   /* ボタンの横幅 */
}

/* --- FVの重なりを解消 --- */

.fv {
    /* ヘッダーの高さ分だけ上にマージンを作る */
    /* 画像を見た感じ、140px〜160pxくらい空けるとちょうど良さそうです */
    margin-top: 140px !important; 
}

/* スマホサイズ（450px以下）の時は、ヘッダーが少し小さくなるはずなので調整 */
@media screen and (max-width: 450px) {
    .fv {
        margin-top: 80px !important; /* スマホでのヘッダー高さに合わせて調整 */
    }
}

/* ついでに、btn-containerに隙間ができないように設定 */
.btn-container {
    position: relative;
    width: 100%;
    display: block;
    line-height: 0;
}

/* 親コンテナに重なりの順序を教える */
.btn-container, 
.point-btn-v-container, 
.offer-container {
    z-index: 1;
}

/* 上に載るボタンを「確実に一番上」にする */
.btn-overlay, 
.btn-overlay2, 
.overlay-btn-v,
.btn5, .btn6, .btn7, .btn-pos2, .btn-pos3 {
    z-index: 10 !important;
}

.body__fixed {
    background-color: #ffffff;
    width: 100%; /* max-width ではなく width を指定 */
    max-width: 450px;
    margin: 0 auto;
    overflow: hidden; /* ← これを足すと、はみ出しによるエラーを防げます */
}