@charset "UTF-8";
/* ============================================
   Reset & Base
   ============================================ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  /* ページ内リンクで飛んだ時、ヘッダーの高さ分ずらして表示する設定 */
  scroll-padding-top: 80px;
}

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.6;
  color: #333;
  
  /* 【重要】ヘッダーの高さ分、コンテンツ全体を下に下げる */
  padding-top: 50px; 
}

/* 以前のコードにある .fv の margin-top は不要になるため削除または0にしてください */
.fv {
  position: relative;
  width: 100%;
}

.fv__bg img {
  width: 100%;
  height: auto;
  display: block; /* 画像下部の隙間をなくす */
}

/* FV内のボタン配置（調整箇所） */
.fv__btn-wrap {
  position: absolute;
  /* 上下左右中央配置の指定 */
  top: 85%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  /* ボタンのサイズ調整 */
  width: 90%;         /* スマホなどでは画面幅の90% */
  max-width: 60%;   /* PCなど広い画面での最大幅 */
  z-index: 10;        /* 背景画像より確実に前に出す */
  
  text-align: center; /* 中の画像をセンター揃え */
  cursor: pointer;
  transition: transform 0.3s ease; /* アニメーションを滑らかに */
}

.fv__btn-wrap:hover {
  /* translateの位置を維持したまま拡大 */
  transform: translate(-50%, -50%) scale(1.05);
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}
/* ============================================
   Floating Button (追従ボタン) センター配置修正版
   ============================================ */
.floating-btn {
  position: fixed;
  bottom: 20px; /* 下からの距離 */
  
  /* ▼▼ 確実にセンターにするための記述 ▼▼ */
  left: 50%;
  transform: translateX(-50%);
  /* ▲▲ ここまで ▲▲ */

  z-index: 9999;
  
  /* 初期状態は非表示 */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* ボタン画像のサイズ調整 */
.floating-btn img {
  width: 100%; /* 親要素に合わせて伸縮 */
  height: auto;
  display: block;
  
  /* PCでの最大幅（大きすぎないように制限） */
  max-width: 600px; 
}

/* 表示時のスタイル */
.floating-btn.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* --------------------------------------------------
   スマホ表示の調整
   -------------------------------------------------- */
@media screen and (max-width: 768px) {
  .floating-btn {
    bottom: 10px; /* スマホは少し下に詰める */
    width: 90%;   /* 画面幅の90%を使って大きく表示 */
  }
  
  .floating-btn img {
    max-width: 100%; /* スマホでは制限を解除して広げる */
  }
}

/* --------------------------------------------------
   ※もし「PCだけは右下」にしたい場合は、以下を追記してください
   -------------------------------------------------- */
/*
@media screen and (min-width: 769px) {
  .floating-btn {
    left: auto;   センター設定を解除 
    right: 20px;  右端に配置 
    transform: none;  位置調整を解除 
  }
}
*/

/* ============================================
   Background Patterns
   ============================================ */

/* 【1か所目】ポイント（特徴）セクション用の背景 */
.bg-pattern-points {
    background-color: #03a699;
    background-image: radial-gradient(circle, #1c9e94 3px, transparent 3px);
    background-position: 0 0;
    background-size: 15px 15px;}

/* 【2か所目】FAQセクション用の背景 */
.bg-pattern-faq {
    background-color: #035896;
    background-image: radial-gradient(circle, #1c5f92 3px, transparent 3px);
    background-position: 0 0;
    background-size: 15px 15px;}

/* ============================================
   Layout Utility
   ============================================ */
/* コンテンツ幅 1500px センター配置 */
.l-container {
  max-width: 1500px;
  width: 100%;
  margin: 0 auto;
  padding:0px; /* 左右に少し余白 */
}

.section {
  padding: 0;
  text-align: center;
}

/* ============================================
   Header
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 1000;
  height: 50px;
}

.header__inner {
  display: flex;
  justify-content: space-between; /* 両端揃え（左ロゴ、右メニュー） */
  align-items: center;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
}

/* ロゴ（左側配置） */
.header__logo {
  width: 150px;
  /* orderプロパティは削除 */
}

/* ナビゲーション（右側配置） */
.header__nav {
  /* orderプロパティは削除 */
}

.header__list {
  display: flex;
  gap: 30px;
}

.header__item a {
  font-weight: bold;
  font-size: 13px;
  transition: opacity 0.3s;
}

.header__item a:hover {
  opacity: 0.7;
}

/* ハンバーガーボタン（PCでは非表示） */
.header__hamburger {
  display: none;
}

/* ============================================
   Responsive (Mobile) - Header部分のみ抜粋
   ============================================ */
@media screen and (max-width: 768px) {
  .fv__btn-wrap {
    top: 90%; 
    max-width: 100%; /* スマホでの最大幅を少し小さめに設定 */
  }

  .header__inner {
    padding: 0 15px;
  }

  /* ハンバーガーメニュー表示 */
  .header__hamburger {
    display: block;
    position: relative; /* 必要に応じて調整 */
    width: 30px;
    height: 25px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
  }

  .header__hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #333;
    position: absolute;
    left: 0;
    transition: 0.3s;
  }
  
  .header__hamburger span:nth-child(1) { top: 0; }
  .header__hamburger span:nth-child(2) { top: 11px; }
  .header__hamburger span:nth-child(3) { bottom: 0; }

  /* ハンバーガーOpen時 */
  .header__hamburger.is-active span:nth-child(1) {
    transform: rotate(45deg);
    top: 11px;
  }
  .header__hamburger.is-active span:nth-child(2) {
    opacity: 0;
  }
  .header__hamburger.is-active span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 11px;
  }

  /* ロゴ位置調整 */
  .header__logo {
    width: 120px;
    z-index: 1002; /* メニューが開いてもロゴを上に表示したい場合 */
    position: relative;
  }

  /* ナビゲーション（スマホ時は全画面メニュー） */
  .header__nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98); /* 背景白（少し透過） */
    
    /* 中身を中央ではなく、上寄せで配置するために修正 */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* 上から並べる */
    padding-top: 100px; /* ヘッダーの高さ＋余白分下げる */
    
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1001;
    overflow-y: auto; /* メニューが多い場合にスクロール可能に */
  }

  .header__nav.is-active {
    transform: translateX(0);
  }

  /* --- リスト全体の枠 --- */
  .header__list {
    flex-direction: column;
    width: 100%;
    padding: 0 30px; /* 左右に余白を持たせる */
    gap: 0; /* PC版のgapをリセット */
  }

  /* --- 各メニュー項目のデザイン --- */
  .header__item {
    width: 100%;
  }

  .header__item a {
    /* フレックスボックスで左右に配置 */
    display: flex;
    justify-content: space-between; /* 文字は左、矢印は右 */
    align-items: center;            /* 上下中央揃え */
    
    width: 100%;
    padding: 20px 0; /* 上下のタップエリアを広げる */
    border-bottom: 1px solid #e0e0e0; /* 下線（グレー） */
    
    font-size: 16px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s;
  }

  /* クリックした時の反応（薄いグレー） */
  .header__item a:active {
    background-color: #f5f5f5;
  }

  /* --- 右側の矢印（＞）を作る --- */
  .header__item a::after {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    
    /* 矢印の色（ドット柄に合わせてシアン色に設定） */
    border-top: 2px solid #0062ac; 
    border-right: 2px solid #0062ac;
    
    /* 45度回転させて「＞」の形にする */
    transform: rotate(45deg);
    margin-right: 5px; /* 少し右に隙間 */
  }

  /* ハンバーガーボタンやロゴの記述は既存のまま維持してください */

}