/* リセット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;
    text-align: center;
}

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

/* FV画像とCTAを重ねるラッパー */
.container {
    position: relative; /* ←ここが重要 */
}

/* FV上に重ねるCTA */
.cta-over-fv {
    position: absolute;
    top: 6.5%; /* 好きな位置に調整 */
    left: 50%;
    transform: translateX(-50%);
    width: 85vw;
    max-width: 496px;
    z-index: 10;
}


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

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

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

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

.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;
}

/* すべてのCTAボタン画像サイズを統一 */
.cta-btn01 img,
.cta-button {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

.cta-button {
  animation: floatY 3s ease-in-out infinite;
}

/* CTAボタンの画像サイズを強制統一 */
.cta-section {
    left:50%;
      width: 85vw;
       max-width: 496px;
    z-index: 10;
}



@keyframes floatY {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}


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

@media (max-width: 480px) {
    .container {
        padding: 0px;
    }
    
    .cta-button {
        width: 85vw;
        max-width: 496px;
    }
    
    .cta-section {
        margin: 15px auto 10px auto;
    }
    
    .final-cta {
        width: 85vw;
        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;
}


 .footer {
    padding: 2em 0;
    text-align: center;
    color: #666;
    line-height: 1.2;
    background-color: #f4f4f4;
    font-size: 12px;
  }
  .footer ul {
    padding: 0 0 1.5em 0;
    list-style: none;
    display: flex;
    justify-content: center;
    width: 100%;
    gap: 5%;
  }
  .footer ul li {
    display: inline-block;
    padding: 0;
  }
  .footer ul li:last-child {
    border-right: none;
  }
  .footer ul a {
    color: #666;
  }