/*　---------------------------------------------------------
 * ベーススタイル
 * ---------------------------------------------------------- */
  :root {
    --navy: #0a1628;
    --navy-mid: #1a2e4a;
    --blue: #1a4fa0;
    --blue-light: #2563c7;
    --accent: #e84040;
    --accent2: #f59e0b;
    --cyan: #00b4d8;
    --white: #ffffff;
    --gray-bg: #f4f6fa;
    --gray-light: #e8ecf2;
    --text: #1a1a2e;
    --text-mid: #3a4a6a;
    --text-light: #6b7a99;
    --border: #d0d8e8;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
  }

/* class="pc" : PC表示の時有効
   class="sp" : SP表示の時有効　*/
.pc {
  display: inline;
}
/* スマホ（画面幅767px以下）では非表示 */
@media screen and (max-width: 768px) {
  .pc {
    display: none;
  }
}
.sp {
  display: none;
}
/* スマホ表示の時だけ有効にする */
@media screen and (max-width: 768px) {
  .sp {
    display: inline;
  }
}

  /* ===== HERO ===== */
  .hero {
    /* background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, #0d2240 100%); */
    color: #0a58ca;;
    position: relative;
    overflow: hidden;
    padding: 0;
  }
  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  }

  .hero-badge {
    background: navy;
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
    padding: 8px 24px;
    display: inline-block;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: -10px -8px 2px 1px #007BFF;
    padding-right: 32px;
  }

  .hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 32px 0;
    position: relative;
    z-index: 1;
  }

  .hero-top {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
  }

  .hero-text { flex: 1; min-width: 300px; }

  .hero-company {
    font-size: 13px;
    color: var(--cyan);
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
    text-transform: uppercase;
  }

  .hero-catchcopy {    
    width: 420px;
    font-size: clamp(26px, 4vw, 42px);
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
  }
  .hero-catchcopy span {
    color: #0079FF;
    display: block;
  }

  .hero-sub {
    font-size: 15px;
    /* color: rgba(255,255,255,0.75); */
    max-width: 480px;
    margin-bottom: 32px;
    line-height: 1.8;
  }

  .hero-cta {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent) 0%, #c0392b 100%);
    color: var(--white);
    font-size: 17px;
    font-weight: 700;
    padding: 18px 48px;
    border-radius: 4px;
    text-decoration: none;
    letter-spacing: 0.05em;
    box-shadow: 0 6px 20px rgba(232,64,64,0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
  }
  .hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(232,64,64,0.5);
  }
  .hero-cta::after {
    content: '▶';
    margin-left: 10px;
    font-size: 12px;
  }

  .hero-cta2 {
    display: inline-block;
    background: linear-gradient(135deg, #86b7fe 0%, #0dcaf0 100%);
    color: var(--white);
    font-size: 17px;
    font-weight: 700;
    padding: 18px 48px;
    border-radius: 4px;
    text-decoration: none;
    letter-spacing: 0.05em;
    box-shadow: 0 6px 20px rgba(232,64,64,0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
  }
  .hero-cta2:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(232,64,64,0.5);
  }
  .hero-cta2::after {
    content: '▶';
    margin-left: 10px;
    font-size: 12px;
  }

  .hero-image {
    width: 620px;
    height: 480px;
    flex-shrink: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
  }
  .hero-image img {
    width: 620px;
  }
  .hero-image-placeholder {
    width: 280px;
    height: 320px;
    background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.1) 100%);
    border-radius: 8px 8px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    border: 1px solid rgba(255,255,255,0.1);
  }

  .hero-tagline-bar {
    background: rgba(255,255,255,0.06);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 32px;
    margin-top: 40px;
    text-align: center;
  }
  .hero-tagline-bar p {
    font-size: 14px;
    /* color: rgba(255,255,255,0.7); */
    letter-spacing: 0.05em;
  }
  .hero-tagline-bar strong {
    color: var(--accent2);
  }
  .hero-selector {
    margin: 0 auto;
    display: flex;
    gap: 18px;
  }
  .hero-message  {
    margin: 0 auto;
  }

/* 上下に横線 */
.heading::before,
.heading::after {
  background-image: linear-gradient(to right, transparent, #0d6efd 50%, transparent); /* 線の両端を透過 */
  background-repeat: no-repeat;
  content: "";
  height: 2px; /* 横線の高さ */
  left: 0; /* 線を中央寄せ */
  margin-inline: auto; /* 線を中央寄せ */
  max-width: 800px; /* 横線の最大の長さ */
  position: absolute;
  right: 0; /* 線を中央寄せ */
  width: 100%; /* 横線の長さの割合 */
}
/* 下の線 */
.heading::before {
  bottom: 0; /* タイトルの下に配置 */
}
/* 上の線 */
.heading::after {
  top: 0; /* タイトルの上に配置 */
}
/* レイアウトのためのスタイル */
.heading {
  font-size: clamp(16px, 3vw, 30px);
  font-weight: 700;
  margin-top: 18px;
  padding-bottom: 10px;
  padding-top: 10px;
  position: relative;
  text-align: center;
  width: 100%;
}
.element-wrap {
  max-width: 610px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 5%;
}
.element-title {
  display:flex;
  color: orange;
  align-items: center;
  gap: 10px;
}
.title-icon {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 10px;
}
.title-text {

}
.element-explain {
  font-size: 1.1rem;
}

  /* ===== SECTIONS COMMON ===== */
  section { padding: 80px 32px; }
  .container { max-width: 1200px; width: 100%; margin: 0 auto; }

  .section-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--blue-light);
    margin-bottom: 8px;
  }
  .section-title {
    font-size: clamp(22px, 3.5vw, 34px);
    font-weight: 900;
    line-height: 1.35;
    margin-bottom: 16px;
    color: var(--navy);
  }
  .section-title .accent { color: var(--accent); }
  .section-desc {
    font-size: 15px;
    color: var(--text-mid);
    max-width: 640px;
    margin-bottom: 48px;
    line-height: 1.8;
  }
  .divider {
    width: 48px;
    height: 4px;
    background: linear-gradient(90deg, var(--blue-light), var(--cyan));
    margin-bottom: 24px;
    border-radius: 2px;
  }

/* ======= Introduction ========= */

.intro-section { background: var(--gray-bg); }

.step-title {
  display:flex;
  color: orange;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}
.step-title-icon {
    width: 110px;
    height: 110px;
    flex-shrink: 0;
    border-radius: 10px;
}
.step-title-text {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2571da;
}


  /* 親要素（隙間を5pxに設定） */
.graph-container {
  display: flex;  
  margin-top: 8px;
  gap: 10px; 
}

/* グラフ共通設定 */
.graph-arrow {
  position: relative;
  height: 50px;
  box-sizing: border-box;
}
.graph-arrow.graph-blue {
  width: 136px;
}
.graph-arrow.graph-navy {
  width: 136px;
}
.graph-arrow.graph-blue-grad {
  width: 36%;
}
.graph-arrow.graph-navy-grad {
  width: 86%;
}

/* -----------------------------------------------
 * ブルーグラフ（タイトル）
 * ----------------------------------------------- */
.graph-blue {
  background-color: #4169e1;
  padding-left: 15px;
  display: flex;
  align-items: center;
  color: #ffffff;
  font-size: 20px;
  font-weight: bold;
}
.graph-blue::after {
    content: '';
    position: absolute;
    top: 0;
    right: -40px;
    border-style: solid;
    border-width: 25px 0 25px 40px;  /* 縦50pxの半分(25px)、40px 尖らせる*/
    border-color: transparent transparent transparent #4169e1;
    z-index: 1;
}
/* -----------------------------------------------
 * ブルーグラフ（バー）
 * ----------------------------------------------- */
.graph-blue-grad {
  /* 本体はただの透明な箱に */
}
/* 右側の尖った切り抜きの後ろ（右端）に引く縦線（ボーダー） */
.graph-blue-grad::after {
  content: '';
    position: absolute;
    top: 0px;
    /* left: 150px; */
    height: 50px;
    right: -5px;
    width: 5px;
    background-color: #315ee7;
    z-index: 1;
}
/* バーのインナー（右側に尖った切り抜きとグラデーション背景） */
.graph-blue-grad .graph-inner {
  position: relative; /* 左の白三角の基準 */
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #4169e1, #a2b3e6);
  /* 右側に尖った切り抜き */
  /* 時計回りに
    ①左上 → ②右上 → ③右中央(尖り) → ④右下 → ⑤左下 → ⑥左中央(右への食い込み)
  */
  clip-path: polygon(0% 0%, calc(100% - 40px) 0%, 100% 50%, calc(100% - 40px) 100%, 0% 100%);
  /* 文字の配置 */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 50px;
  box-sizing: border-box;
  color: #ffffff;
  font-size: 20px;
  font-weight: bold;
}
/* バーの「左側をへこませる」白マスク */
.graph-blue-grad .graph-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  border-style: solid;
  border-width: 25px 0 25px 40px; /* 縦50pxの半分(25px)、食い込み40px */
  border-color: transparent transparent transparent #ffffff; /* 背景色の白で削る */
  z-index: 1;
}
/* -----------------------------------------------
 * ネイビーグラフ（タイトル）
 * ----------------------------------------------- */
.graph-navy {
  background-color: #000080;
  padding-left: 15px;
  display: flex;
  align-items: center;
  color: #ffffff;
  font-size: 20px;
  font-weight: bold;
}
.graph-navy::after {
    content: '';
    position: absolute;
    top: 0;
    right: -40px;
    border-style: solid;
    border-width: 25px 0 25px 40px;  /* 縦50pxの半分(25px)、40px 尖らせる*/
    border-color: transparent transparent transparent #000080;
    z-index: 1;
}
/* -----------------------------------------------
 * ネイビーグラフ（バー）
 * ----------------------------------------------- */
.graph-navy-grad {
  /* 本体はただの透明な箱に */
}
/* 右側の尖った切り抜きの後ろ（右端）に引く縦線（ボーダー） */
.graph-navy-grad::after {
  content: '';
    position: absolute;
    top: 0px;
    /* left: 150px; */
    height: 50px;
    right: -5px;
    width: 5px;
    background-color: #315ee7;
    z-index: 1;
}
/* バーのインナー（右側に尖った切り抜きとグラデーション背景） */
.graph-navy-grad .graph-inner {
  position: relative; /* 左の白三角の基準 */
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #000080, #a5c8df);
  /* 右側に尖った切り抜き */
  /* 時計回りに
    ①左上 → ②右上 → ③右中央(尖り) → ④右下 → ⑤左下 → ⑥左中央(右への食い込み)
  */
  clip-path: polygon(0% 0%, calc(100% - 40px) 0%, 100% 50%, calc(100% - 40px) 100%, 0% 100%);
  /* 文字の配置 */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 50px;
  box-sizing: border-box;
  color: #ffffff;
  font-size: 20px;
  font-weight: bold;
}
/* バーの「左側をへこませる」白マスク */
.graph-navy-grad .graph-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  border-style: solid;
  border-width: 25px 0 25px 40px; /* 縦50pxの半分(25px)、食い込み40px */
  border-color: transparent transparent transparent #ffffff; /* 背景色の白で削る */
  z-index: 1;
}

/* -----------------------------------------------
 * 月額費用
 * ------------------------------------------------*/
.price-month {
  margin: 8px 8px 0 0;
  text-align: right;
  font-size: 20px;
  color: #000000;
}

.flex4-container {
  display: flex;
  padding: 10px;
  gap: 14px;
}
.step-box {
  width: 100%;
}
.arrow-both-box {
    height: 50px;
    background-color: #2571da;
    clip-path: polygon(5% 0, 95% 0, 100% 50%, 95% 100%, 5% 100%, 0 50%);
    display: flex;
    padding: 0 20px 0 20px;
    align-items: center;
    justify-content: flex-start;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
}
.arrow-both-box span {margin-left: 1em;}

.icon-image {
  margin-top: 1rem;
  border: solid 1px;
  border-radius: 10px 10px 0 0;
  text-align: center;
}
.icon-image img {
  width: 200px;
  height: 200px;
  margin-top: 8px;
  align-items: center;
  justify-content: center;
}

.step-text {
  height: 7rem;
  background-color: #FDF2EB;
  border: solid 1px;
  border-radius: 0 0 10px 10px;
  padding: 4px 10px 10px 10px;
  margin-bottom: 1rem;
}

.step-text p {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.notice-text { padding-left: 1rem; }
.notice-text p {
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 1rem;
  text-indent: -1em;
}

@media screen and (max-width: 767px) {
  .flex4-container {
    display: block;
  }
  .graph-arrow.graph-blue-grad {
    width: 52%;
  }
  .graph-arrow.graph-navy-grad {
    width: 60%;
  }
}

/* ===== About BidDX ===== */

.block-wrap {
  display: flex;
}

.left-block {
  display: flex;
  flex-direction: column;
  width: 50%;
  line-height: 4rem;
  margin: 0 1rem;
}
.flow-step {
  background-color: #0a58ca;
  color: whitesmoke;
  font-weight: 900;
  text-shadow: 2px 2px 0px #000;
  text-align: center;
  border-radius: 10px;
}
.right-block {
  display: flex;
  flex-direction: row;
  margin: 0 1rem;
  padding: 0;
  gap: 14px;
}

.arrow-both-box2 {
    height: 66px;
    background-color: #2571da;
    clip-path: polygon(0 0, 95% 0, 100% 50%, 95% 100%, 0 100%, 5% 50%);
    display: flex;
    padding: 0 20px 0 20px;
    align-items: center;
    justify-content: flex-start;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
}
.arrow-both-box2 span {margin-left: 1em;}

.icon-image2 { text-align: center;}
.icon-image2 img {
  width: 200px;
  height: 200px;
  margin-top: 8px;
  align-items: center;
  justify-content: center;
}
.step-text2 {
  height: 64%;
  padding-left: 1rem;
  text-indent: -1rem;
  background-color: #FDF2EB;
}
.step-text2 p {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.arrow-down {
  font-size: 2rem;
  color: rgba(113, 123, 227, 0.874);
  text-align: center;
  transform: rotate(90deg); /* 時計回り90度回転 */
  }

.comment { width: 256px; margin: 0 auto;}

@media screen and (max-width: 767px) {
  .block-wrap, .right-block { display: block; }
  .left-block { width: 100%; }
  .step-text2 { height: fit-content; }

}

/* ===== Success Company ===== */

/* --- 成功事例セクションのスタイル --- */
.results-section {
  color:  #030370;
  padding: 80px 5%;
  background-color: #fcfcfc;
}

.results-main-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
}

.results-main-title span {
  display: block;
  font-size: 1rem;
  color: #888;
  margin-top: 10px;
}

/* --- 新聞見出し風ラベル --- */
.news-label-container {
  max-width: 1200px;
  margin: 0 auto 80px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.news-label {
  display: flex;
  align-items: center;
  background: #fff;
  border-left: 8px solid #030370; /* 新聞風の太いアクセント線 */
  border-bottom: 1px solid #ddd;
  padding: 15px 20px;
  text-decoration: none;
  color: #030370;
  transition: all 0.3s;
}

.news-label:hover {
  background: #f0f0f0;
  transform: translateX(5px);
  text-decoration: none!important;
  color: #030370;
}

.news-label,
.news-label * {
  color: #030370;
}

.news-label:hover,
.news-label:hover * {
  color: #030370;
}

.news-icon {
  width: 30px;
  margin-right: 15px;
}

.success-date {             /* 新規設定 */
    margin: 10px 24px 10px 4px;
    padding: 10px 25px 10px 4px;
    border-right: 1px solid #666;
}

.news-content-wrap {
  flex: 1; /* 残りの幅をすべて使う */
  display: flex;
  flex-direction: column;
}

.news-text {
  font-weight: normal;
  font-size: 1.1rem;
  line-height: 1.4;
}

.news-meta {
  text-align: right; /* 右寄せ */
  font-size: 0.85rem;
  color: #888;
  margin-top: 5px;
  font-family: sans-serif;
}

/**** モーダルウィンドウの表示 ****/
  /* 初期状態は非表示 */
.modal-hidden {
  display: none;
}

/* モーダルの背景を暗くして全体に被せる */
#modal-wrapper {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 9999;
}
.modal-bg {
  position: absolute;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.8);
}
/* コンテンツを中央に配置 */
.modal-content {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 20px;
  width: 80%;
  max-width: 820px;
  display: flex;
  flex-direction: column;
}
.close-bt {
  width: fit-content;
  align-self: flex-end; /* 親がFlexboxのとき、自身を右端に寄せる */
  margin-bottom: 10px;
}

/* ===== Developement History ===== */

.history-dev { background: var(--gray-bg); }

/* =========================================
        YouTube on Modal Window
========================================== */
.yb-modal {
  display: none; /* 初期状態は非表示 */
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
}
.yb-modal-content {
  position: relative;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80%; max-width: 800px;
}
.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 のアスペクト比 */
  height: 0; overflow: hidden;
}
.video-container iframe {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
}
.close-button {
  position: absolute;
  top: -30px; right: 0;
  color: white; font-size: 24px; cursor: pointer;
}
.modal_block {
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.5);
    position: relative;
    display: inline-block;
    cursor: pointer;
    transition: .3s ease-out;
    text-align: center;
}
/* modal_blockの中の画像をスマホ幅に適応させる */
.modal_block img {
  max-width: 100%;
  height: auto;
  display: block; /* 画像の下にできる謎の隙間を消す */
  margin: 0 auto; /* 中央寄せ */
}

.modal_block:hover {
    opacity: .7;
}
/* すべての要素でパディングを含んだサイズ計算にする（必須） */
*, *::before, *::after {
  box-sizing: border-box;
}

/* セクション全体の幅を統一 */
.history-dev {
  width: 100%;
  padding: 40px 20px; /* スマホ左右の余白 */
  overflow: hidden; /* はみ出しによる横スクロール防止 */
}
.history-dev-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
}


  /* ===== WHY FAIL ===== */
  .why-fail { background: var(--gray-bg); }

  .fail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
  }
  .fail-card {
    background: var(--white);
    border-radius: 12px;
    padding: 28px;
    border-left: 5px solid var(--accent);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    position: relative;
  }
  .fail-card-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff0f0;
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
    border: 1px solid #ffd0d0;
  }
  .fail-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
  }
  .fail-card p {
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.7;
  }

  /* ===== COMPARE ===== */
  .compare { background: var(--white); }

  .compare-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 48px;
  }
  @media (max-width: 640px) {
    .compare-table { grid-template-columns: 1fr; }
  }

  .compare-box {
    border-radius: 12px;
    padding: 32px;
    position: relative;
    overflow: hidden;
  }
  .compare-box.old {
    background: var(--gray-bg);
    border: 2px solid var(--border);
  }
  .compare-box.new {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    color: var(--white);
    box-shadow: 0 8px 30px rgba(10,22,40,0.25);
  }
  .compare-box.new::before {
    content: '✓ 30年勝者のシークレット';
    position: absolute;
    top: 16px;
    right: -24px;
    background: var(--accent2);
    color: var(--navy);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 40px 4px 16px;
    transform: rotate(0deg);
    letter-spacing: 0.05em;
  }
  .compare-box-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid;
  }
  .compare-box.old .compare-box-title {
    border-color: var(--border);
    color: var(--text-mid);
  }
  .compare-box.new .compare-box-title {
    border-color: rgba(255,255,255,0.2);
    color: var(--accent2);
  }
  .compare-list { list-style: none; }
  .compare-list li {
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: flex-start;
    gap: 10px;
  }
  .compare-box.new .compare-list li {
    border-color: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.85);
  }
  .compare-list li::before {
    content: '✕';
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
  }
  .compare-box.new .compare-list li::before {
    content: '◆';
    color: var(--accent2);
  }
  .compare-box.new .compare-list li strong {
    color: var(--white);
    display: block;
    font-size: 15px;
    margin-bottom: 2px;
  }

  /* ===== PLATFORM ===== */
  .platform { background: linear-gradient(180deg, var(--navy) 0%, #0d1f3a 100%); color: var(--white); }

  .platform-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 48px 0;
    flex-wrap: wrap;
    gap: 4px;
  }

  .platform-node {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    width: 200px;
    position: relative;
  }
  .platform-node-icon {
    font-size: 36px;
    margin-bottom: 10px;
  }
  .platform-node-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent2);
    margin-bottom: 6px;
  }
  .platform-node-text {
    font-size: 12px;
    color: rgba(255,255,255,0.65);
    line-height: 1.5;
  }
  .platform-arrow {
    color: var(--cyan);
    font-size: 28px;
    margin: 0 4px;
    flex-shrink: 0;
  }
  .platform-center {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
    border: 2px solid var(--cyan);
    border-radius: 12px;
    padding: 28px 24px;
    text-align: center;
    width: 200px;
    box-shadow: 0 0 30px rgba(0,180,216,0.25);
  }
  .platform-center-title {
    font-size: 16px;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 6px;
  }
  .platform-center-sub {
    font-size: 11px;
    color: rgba(255,255,255,0.75);
  }

  .platform-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
  }
  .benefit-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 20px;
  }
  .benefit-icon {
    font-size: 28px;
    flex-shrink: 0;
    margin-top: 2px;
  }
  .benefit-text h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent2);
    margin-bottom: 4px;
  }
  .benefit-text p {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
  }

  /* ===== STEPS ===== */
  .steps { background: var(--gray-bg); }

  .steps-overview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 64px;
    position: relative;
  }
  .steps-overview::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 12%;
    right: 12%;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    z-index: 0;
  }
  @media (max-width: 700px) {
    .steps-overview { grid-template-columns: 1fr 1fr; }
    .steps-overview::before { display: none; }
  }

  .step-bubble {
    background: var(--white);
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    position: relative;
    z-index: 1;
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .step-bubble:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  }
  .step-bubble-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
    color: var(--white);
    font-size: 14px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    box-shadow: 0 4px 12px rgba(26,79,160,0.4);
  }
  .step-bubble-icon { font-size: 28px; margin-bottom: 10px; }
  .step-bubble-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
    line-height: 1.4;
  }
  .step-bubble-sub {
    font-size: 11px;
    color: var(--text-light);
  }

  /* Step detail cards */
  .step-details { display: flex; flex-direction: column; gap: 48px; }

  .step-detail {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    display: grid;
    grid-template-columns: 280px 1fr;
  }
  @media (max-width: 768px) {
    .step-detail { grid-template-columns: 1fr; }
  }

  .step-detail-side {
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-mid) 100%);
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .step-detail-num {
    font-family: 'Oswald', sans-serif;
    font-size: 72px;
    font-weight: 700;
    color: rgba(255,255,255,0.1);
    line-height: 1;
    margin-bottom: 4px;
  }
  .step-detail-label {
    font-size: 11px;
    color: var(--cyan);
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
  }
  .step-detail-title {
    font-size: 18px;
    font-weight: 900;
    color: var(--white);
    line-height: 1.4;
    margin-bottom: 10px;
  }
  .step-detail-subtitle {
    font-size: 13px;
    color: var(--accent2);
    font-weight: 700;
  }

  .step-detail-body {
    padding: 36px 32px;
  }
  .step-detail-body h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 16px;
  }
  .step-detail-body p {
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 20px;
  }

  .feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
  }
  .feature-tag {
    background: var(--gray-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: var(--blue);
    padding: 4px 14px;
  }

  .checklist {
    list-style: none;
    margin-top: 16px;
  }
  .checklist li {
    font-size: 14px;
    color: var(--text-mid);
    padding: 6px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
  }
  .checklist li::before {
    content: '✓';
    color: var(--blue-light);
    font-weight: 700;
    flex-shrink: 0;
  }

  .step-detail-option {
    background: linear-gradient(135deg, #fff8e7 0%, #fffbf0 100%);
    border: 2px solid var(--accent2);
  }
  .step-detail-option .step-detail-side {
    background: linear-gradient(180deg, #7a5500 0%, #a07000 100%);
  }

  /* ===== PRICING ===== */
  .pricing { background: var(--white); }

  .pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    margin-bottom: 56px;
  }
  .pricing-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.1);
  }
  .pricing-card-header {
    padding: 28px 28px 20px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    color: var(--white);
  }
  .pricing-card-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--cyan);
    letter-spacing: 0.1em;
    margin-bottom: 8px;
  }
  .pricing-card-name {
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 16px;
  }
  .pricing-card-price {
    font-family: 'Oswald', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--accent2);
    line-height: 1;
  }
  .pricing-card-price span {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
  }
  .pricing-card-price-note {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    margin-top: 6px;
  }
  .pricing-card-body {
    padding: 24px 28px;
    background: var(--gray-bg);
  }
  .pricing-card-features {
    list-style: none;
  }
  .pricing-card-features li {
    font-size: 13px;
    color: var(--text-mid);
    padding: 6px 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    border-bottom: 1px solid var(--border);
  }
  .pricing-card-features li:last-child { border-bottom: none; }
  .pricing-card-features li::before {
    content: '◆';
    color: var(--blue-light);
    font-size: 10px;
    flex-shrink: 0;
    margin-top: 3px;
  }

  /* ROI comparison table */
  .roi-table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  }
  .roi-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 600px;
  }
  .roi-table thead tr {
    background: var(--navy);
    color: var(--white);
  }
  .roi-table th {
    padding: 14px 20px;
    text-align: left;
    font-weight: 700;
    font-size: 13px;
  }
  .roi-table th.highlight {
    background: var(--blue-light);
    color: var(--white);
  }
  .roi-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
  }
  .roi-table tr:nth-child(even) td {
    background: var(--gray-bg);
  }
  .roi-table td.highlight {
    background: #e8f0fc;
    font-weight: 700;
    color: var(--blue);
  }
  .roi-table td.highlight-strong {
    background: #d0e2ff;
    font-weight: 700;
    color: var(--navy);
  }

  /* ===== COMPETITIVE ===== */
  .competitive { background: var(--gray-bg); }

  .comp-table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    margin-bottom: 48px;
  }
  .comp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    min-width: 640px;
  }
  .comp-table thead tr {
    background: var(--navy);
    color: var(--white);
  }
  .comp-table th {
    padding: 14px 16px;
    text-align: center;
    font-weight: 700;
  }
  .comp-table th.our-col {
    background: var(--blue-light);
  }
  .comp-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    text-align: center;
    vertical-align: middle;
  }
  .comp-table td.feature-name {
    text-align: left;
    font-weight: 700;
    color: var(--navy);
    background: var(--white);
  }
  .comp-table td.our-col {
    background: #e8f0fc;
    font-weight: 700;
    color: var(--blue);
  }
  .comp-table tr:nth-child(even) td { background: var(--gray-bg); }
  .comp-table tr:nth-child(even) td.our-col { background: #dce8fc; }
  .comp-table tr:nth-child(even) td.feature-name { background: var(--gray-bg); }

  .mark-ok { color: #22c55e; font-size: 18px; font-weight: 700; }
  .mark-ng { color: #ccc; font-size: 18px; }
  .mark-tri { color: #f59e0b; font-size: 18px; font-weight: 700; }

  /* ===== FLYWHEEL ===== */
  .flywheel { background: var(--white); }

  .flywheel-diagram {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin: 48px 0;
    align-items: center;
  }
  .flywheel-item {
    background: var(--gray-bg);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 20px 24px;
    min-width: 180px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    position: relative;
  }
  .flywheel-item.highlight-fw {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
    color: var(--white);
    border-color: var(--blue);
    box-shadow: 0 6px 20px rgba(26,79,160,0.3);
  }
  .flywheel-item small {
    display: block;
    font-size: 11px;
    font-weight: 400;
    opacity: 0.7;
    margin-top: 4px;
  }
  .flywheel-arrow {
    font-size: 24px;
    color: var(--cyan);
    font-weight: 700;
  }
  .flywheel-tagline {
    text-align: center;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    color: var(--white);
    padding: 20px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    margin-top: 8px;
  }
  .flywheel-tagline span { color: var(--accent2); }

  /* ===== CLOSING QUOTE ===== */
  .closing { background: linear-gradient(135deg, var(--navy) 0%, #0d1f3a 100%); color: var(--white); padding: 80px 32px; }

  .quote-box {
    max-width: 760px;
    margin: 0 auto 48px;
    position: relative;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    padding: 48px;
  }
  .quote-box::before {
    content: '❝';
    position: absolute;
    top: -20px;
    left: 36px;
    font-size: 72px;
    color: var(--accent2);
    line-height: 1;
    opacity: 0.5;
  }
  .quote-box::after {
    content: '❞';
    position: absolute;
    bottom: -20px;
    right: 36px;
    font-size: 72px;
    color: var(--accent2);
    line-height: 1;
    opacity: 0.5;
  }
  .quote-text {
    font-size: 16px;
    line-height: 2;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
  }
  .quote-highlight {
    color: var(--accent2);
    font-weight: 700;
    display: inline;
  }
  .quote-question {
    text-align: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 24px 32px;
    max-width: 760px;
    margin: 0 auto 48px;
    font-size: 17px;
    font-weight: 700;
    color: var(--accent2);
  }

  /* ===== SEMINAR CTA ===== */
  .seminar-cta { background: var(--gray-bg); }

  .seminar-box {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    display: grid;
    grid-template-columns: 1fr 340px;
    max-width: 900px;
    margin: 0 auto;
  }
  @media (max-width: 768px) {
    .seminar-box { grid-template-columns: 1fr; }
  }

  .seminar-box-left {
    padding: 44px 40px;
  }
  .seminar-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 3px;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
  }
  .seminar-title {
    font-size: 20px;
    font-weight: 900;
    color: var(--navy);
    line-height: 1.45;
    margin-bottom: 20px;
  }
  .seminar-desc {
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 28px;
  }
  .seminar-target {
    background: var(--gray-bg);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 28px;
  }
  .seminar-target h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
  }
  .seminar-target ul { list-style: none; }
  .seminar-target ul li {
    font-size: 13px;
    color: var(--text-mid);
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .seminar-target ul li::before {
    content: '✓';
    color: var(--blue-light);
    font-weight: 700;
  }

  .seminar-cta-btn {
    display: block;
    background: linear-gradient(135deg, var(--accent) 0%, #c0392b 100%);
    color: var(--white);
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    padding: 20px 32px;
    border-radius: 8px;
    text-decoration: none;
    letter-spacing: 0.05em;
    box-shadow: 0 6px 20px rgba(232,64,64,0.4);
    transition: transform 0.2s;
  }
  .seminar-cta-btn:hover { transform: translateY(-2px); }
  .seminar-cta-btn small {
    display: block;
    font-size: 12px;
    opacity: 0.85;
    margin-top: 4px;
    font-weight: 400;
  }

  .seminar-box-right {
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-mid) 100%);
    padding: 44px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .seminar-qr {
    width: 140px;
    height: 140px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 60px;
  }
  .seminar-company {
    color: rgba(255,255,255,0.6);
    font-size: 12px;
    text-align: center;
    line-height: 1.8;
    margin-top: 20px;
  }
  .seminar-company strong {
    display: block;
    color: var(--white);
    font-size: 14px;
    margin-bottom: 8px;
  }

  /* ===== FOOTER ===== */
  /* Bootstrap の bg-light / text-dark クラスに委ねる */

  /* ===== RESPONSIVE ===== */
  @media (max-width: 768px) {
    section { padding: 56px 20px; }
    .platform-flow { flex-direction: column; align-items: center; }
    .platform-arrow { transform: rotate(90deg); }
    .step-detail { grid-template-columns: 1fr; }
    .hero-top { display: block; }
    .hero-image { width: 320px; height: 200px;}
    .hero-image img { width: 320px; }
    .hero-cta { padding: 8px 8px; margin-top: 20px;}
    .hero-cta2 { padding: 8px 8px; margin-top: 20px;}
    .hero-message { margin-top: 16px;}
  }

  /* ---　問い合わせボタン　--- */

/* --- 共通：追従ボタンのベース --- */
.floating-contact-wrap {
  position: fixed;
  z-index: 9999;
  bottom: 0;
  left: 0;
  width: 100%;
  pointer-events: none; /* 背後の要素をクリックできるようにし、ボタンのみ有効化 */
}

.floating-contact-wrap a {
  pointer-events: auto; /* ボタン部分はクリック可能に */
  text-decoration: none;
  transition: all 0.3s ease;
}

/* --- PC用：フローティングボタン --- */
.floating-pc-btn {
  position: fixed;
  /* 配置：画面下端の中央 */
  bottom: 40px;
  left: 50%;
  /* 自身の幅の半分だけ左にずらして完全に中央揃えにする。
     後述のアニメーションでY軸も動かすため、ここではX軸のみ指定 */
  transform: translateX(-50%);

  /* 形状：カプセル型 */
  width: auto;        /* 幅はテキスト量に合わせる */
  min-width: 300px;   /* 最低限の幅を確保して存在感を出す */
  height: 64px;       /* ボタンの高さ */
  border-radius: 32px;/* 高さの半分を指定してカプセル形にする */
  padding: 0 40px;    /* 内側の余白 */

  /* デザイン */
  background: linear-gradient(to right, #ff9800, #ff5722); /* 視線を集めるグラデーション */
  color: #fff;
  box-shadow: 0 10px 30px rgba(255, 87, 34, 0.4); /* 強い影で浮遊感を強調 */
  opacity: 0.9;  /* 半透明に */
  
  /* 内部レイアウト（横並び） */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;

  /* アニメーション適用：3秒かけてゆっくり上下に動く */
  animation: float-capsule 3s ease-in-out infinite;
}

/* アイコンの調整 */
.floating-pc-icon img {
  width: 28px;
  height: auto;
  margin-bottom: 0; /* 以前のスタイルをリセット */
  vertical-align: middle;
}

/* テキストの調整 */
.floating-pc-text {
  font-size: 1.2rem; /* 文字を大きくハッキリと */
  font-weight: bold;
  letter-spacing: 0.05em;
}

/* ホバー時の挙動 */
.floating-pc-btn:hover {
  /* ホバー時はアニメーションを一時停止して押しやすくする */
  animation-play-state: paused;
  background: linear-gradient(to right, #fb8c00, #f4511e); /* 少し濃くする */
  box-shadow: 0 5px 15px rgba(255, 87, 34, 0.6); /* 影を少し縮めて「押した感」を出す */
}

/* --- ふわふわアニメーションの定義 --- */
@keyframes float-capsule {
  0%, 100% {
    /* 開始と終了は元の位置（X軸の中央揃えは維持） */
    transform: translateX(-50%) translateY(0);
  }
  50% {
    /* 中間地点で5px上に浮き上がる */
    transform: translateX(-50%) translateY(-5px);
  }
}

/* --- スマホ用：下部固定バー --- */
.floating-mobile-bar {
  display: none; /* デフォルトは非表示 */
}

/* --- レスポンシブ切り替え --- */

/* スマホ表示（768px以下） */
@media (max-width: 768px) {
  /* PC用ボタンを隠す */
  .floating-pc-btn {
    display: none;
  }

  /* スマホ用バーを表示 */
  .floating-mobile-bar {
    display: flex;
    width: 100%;
    height: 70px;
    background: #fff;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
  }

  .mobile-btn-tel, .mobile-btn-web {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #fff;
    font-weight: bold;
    font-size: 1rem;
  }

  .mobile-btn-tel {
    background-color: #6a6a6a; /* 相談・予約は落ち着いた色 */
  }

  .mobile-btn-web {
    background-color: #ff9800; /* WEBはアクセントカラー */
  }

  .mobile-btn-tel img, .mobile-btn-web img {
    width: 20px;
    height: auto;
  }
}


/* 下からフェードインするスタイル */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 1.2s ease-out;
}
.fade-in-up.show {
  opacity: 1;
  transform: translateY(0);
}
