/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基本スタイル */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* コンテナ */
.container {
    max-width: 620px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

/* 画像の基本スタイル */
.image {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* CTAセクション */
.cta-section {
    margin: 20px 0 0px 0;
    text-align: center;
}

/* CTAリンク */
.cta-link {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* CTAボタン */
.cta-button {
    width: 80vw;
    max-width: 496px;
    height: auto;
    display: block;
    margin: 0 auto;
    position: relative;
}

/* 新しいCTAボタンスタイル */
.cta-btn01 {
    text-align: center;
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.cta-btn01 img {
    width: 100%;
}



/* ホバー効果 */
.cta-link:hover {
    opacity: 0.8;
}

/* 10の画像セクション（10-btn用） */
.image-10-section {
    position: relative;
    margin-bottom: 0;
}

/* 10.jpgの上に重ねるボタン */
.overlay-btn-10 {
    position: absolute;
    top: 22%;
    left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    max-width: 496px;
    z-index: 10;
    margin: 0;
}

/* 12の画像セクション（最後のCTAボタン用） */
.image-12-section {
    position: relative;
    margin-bottom: 0;
}

/* 最後のCTAボタン（13-btn）の特別な配置 */
.final-cta {
    position: absolute;
    bottom: 1%;
    left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    max-width: 496px;
    z-index: 10;
    margin: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .cta-button {
        width: 80vw;
        max-width: 496px;
    }
    
    .final-cta {
        width: 80vw;
        max-width: 496px;
        bottom: 50px;
    }
    
    .overlay-btn-10 {
        width: 80vw;
        max-width: 496px;
        top: 22%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .cta-button {
        width: 80vw;
        max-width: 496px;
    }
    
    .cta-section {
        margin: 15px 0 10px 0;
    }
    
    .final-cta {
        width: 80vw;
        max-width: 496px;
        bottom: 1%;
    }
    
    .overlay-btn-10 {
        width: 80vw;
        max-width: 496px;
        top: 22%;
    }
}

/* アクセシビリティ向上 */
.cta-link:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* 画像の読み込み最適化 */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}