/* =======================================================
   基本設定
======================================================= */
* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: sans-serif;
}

body {
  background: url('img/fv/fv_background_00.webp') center center / cover no-repeat fixed;
}

/* =======================================================
   コンテナ設定 (#container)
======================================================= */
#container {
  position: relative;
  width: 100%;                      /* 画面幅にフィットさせる */
  max-width: 430px;                 /* PCではデザイン通りの最大幅 */
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.25); /* 軽いドロップシャドー */
  z-index: 10;                      /* overlayより前面 */
}

/* =======================================================
   セクション設定
======================================================= */
.section {
  position: relative;
  width: 100%;
}

.section img {
  width: 100%;
  height: auto;
  display: block;
}

/* =======================================================
   CTA共通スタイル
======================================================= */
.cta,
.cta-btn {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  width: 90%;
  text-decoration: none;
  z-index: 5;
}

.cta img,
.cta-btn img {
  width: 100%;
  height: auto;
  display: block;
}

/* CTA位置調整 */
.section-1 .cta-og { bottom: 5%; }
.section-1 .cta-bl-00 { bottom: 10px; }
.section-2 .cta-bl-01 { bottom: 10px; }
.section-3 .cta-bl-01 { bottom: 20px; }
.section-6 .cta-og-01 { bottom: 10px; }
.section-7 .cta-bl-02 { bottom: 100px; }
.section-8 .cta-bl { bottom: 3%; }

.cta-btn { width: 380px; max-width: 90%; bottom: 20px; }

/* =======================================================
   固定CTA（右下追従）
======================================================= */
.cta-fixed {
  position: fixed;
  right: 60px;
  bottom: 24px;
  width: 280px;
  max-width: 35vw;
  z-index: 999;
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.cta-fixed img {
  width: 100%;
  height: auto;
  display: block;
}

.cta-fixed:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

@media (max-width: 768px) {
  .cta-fixed {
    width: 180px;
    right: 12px;
    bottom: 16px;
  }
}

/* =======================================================
   左ナビゲーションエリア
======================================================= */
.overlay-wrapper {
  position: fixed;
  top: 40px;
  left: 35px;
  display: flex;
  flex-direction: column;
  gap: 100px;
  z-index: 1; /* 常に背面 */
}

.nav-imgs {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.nav-imgs img {
  width: 396px;
  height: 74px;
  display: block;
}

/* --- 1024px以下では非表示 --- */
@media (max-width: 1024px) {
  .overlay-wrapper {
    display: none;
  }
}

/* =======================================================
   その他（ヘッダー／サイドバー）
======================================================= */
.header-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 1;
}

.logo, .logo-img {
  width: 224px;
  height: 60px;
  flex-shrink: 0;
  margin-bottom: 20px;
}

.nav-block {
  width: 396px;
  height: 375px;
  display: flex;
  flex-direction: column;
}

.nav-block a img { width: 100%; height: auto; }

/* Sidebar base */
.sidebar-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100px;
  height: 100vh;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 20px;
}

.sidebar-nav .logo { width: 60px; margin-bottom: 20px; }
.sidebar-nav nav a { display: block; margin-bottom: 15px; }
.sidebar-nav nav img { width: 60px; height: auto; }
