/* =========================================
   1. 基本設定・リセット
   ========================================= */
:root {
  --bg-color: #FFFFFF;
  --text-color: #333333;
  --main-red: #ff3e3e;
  --accent-orange: #FD5E00;
  --max-width: 750px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* 親要素の設定 */
.wrapper {
width: 100%;             /* これが重要！ */
  container-type: inline-size; 
  border: 1px solid red;   /* 確認用に枠線をつけてみてください */
}

/* 子要素の設定 */
.fit-text {
  white-space: nowrap;     /* 勝手に改行されないように固定 */
  
  /* cqw = Container Query Width の略
     10cqw は「親要素の幅の10%」という意味です 
  */
  font-size: 8cqw; 
}

h1 {
margin-top: 5px;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.8;
  word-wrap: break-word;
  padding-bottom: 100px; /* 追従フッターとコンテンツの重なり防止 */
}

p {
  margin-bottom: 25px;
  font-size: 1.15rem;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 15px;
  text-align: left;
}

h2 {
  font-size: 1.6rem;
  font-weight: bold;
  text-align: left;
  margin: 10px 0 20px;
  border-left: 8px solid cyan;
  padding-left: 15px;
  background: rgba(0, 242, 255, 0.05);
  padding: 10px;
}

h3 {
  font-size: 1.4rem;
font-weight: bold;
display: inline-block;
color: #D83861;
}

.emphasis-red {
color: #D83861;
font-weight: bold;
}

.emphasis-blue {
color: #000080;
font-weight: bold;
}

.large {
font-weight: bold;
  font-size: 1.5rem;
}

.voice {
  background: rgba(0, 242, 255, 0.05);
  padding: 5px 10px 0px 10px;
  border-radius: 10px;
}

.large1 {
margin: 0 auto; 
  font-weight: bold;
  border: none;
  background: none;
  font-size: 2.2rem;
  line-height: 1.2;
  display: inline-block; 
  margin-left: auto;     
  margin-right: auto;    
  text-align: left;      
  padding: 10px;
}

/* =========================================
   2. 画像・レイアウト
   ========================================= */
img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 1px auto; /* 基本は中央寄せ */
}

/* 強制左寄せクラス */
.force-left {
  margin-left: 0 !important;
  margin-right: auto !important;
  display: block !important;
}

.img-box {
  margin-bottom: 30px;
}

/* =========================================
   3. 装飾・パーツ
   ========================================= */
.reda { color: #ff0000; font-weight: bold; }
.redb { color: #ff0000; font-weight: bold; font-size: 1.2rem; }
.bold { font-weight: bold; }

.boxb, .boxc0 {
  border: 2px solid var(--main-red);
  padding: 20px;
  margin: 20px 0;
  background: #fffafa;
}

/* =========================================
   4. メインCTAボタン（btn-entry）
   ========================================= */
.btn-entry {
  display: block !important;
  width: 95% !important;
  max-width: 450px !important;
  margin: 20px auto !important;
  padding: 15px !important;
  background: linear-gradient(to bottom, #FD5E00, #FF1E00) !important;
  color: #fff !important;
  text-align: center !important;
  text-decoration: none !important;
  font-weight: 900 !important;
  font-size: 1.3rem !important;
  border-radius: 40px !important;
  border: 3px solid #fff !important;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3) !important;
}




/* =========================================
   5. 追従フッター 最終解決版
   ========================================= */
.floating-cta {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important; /* これで画面の幅を正しく認識させます */
  width: 100% !important;
  height: 80px !important;
  margin: 0 !important;
  
  /* 中身を中央に並べるための設定 */
  display: flex !important;
  justify-content: center !important; 
  align-items: center !important;
  gap: 20px !important;

  padding: 0 15px !important;
  background: rgba(5, 10, 20, 0.95) !important;
  z-index: 99999 !important;
  border-top: 2px solid rgba(0, 242, 255, 0.3) !important;
  box-sizing: border-box !important; /* これが「はみ出し」を防ぐ最大の鍵です */
}

/* 左側：テキストの設定 */
.text-group {
  flex-shrink: 0 !important; /* 潰されないように固定 */
  text-align: right !important;
}

.emphasis-white {
  display: block !important;
  color: #fff !important;
  line-height: 1.2 !important;
}

.textu {
  font-size: 1.3rem !important; /* PCでの金額サイズ */
  white-space: nowrap !important; /* 改行を禁止して横並びを維持 */
}

/* 右側：ボタンの設定 */
.floating-button {
  flex-shrink: 0 !important;
  width: 250px !important; /* PCでのボタンの横幅を固定 */
  height: 50px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  
  background: linear-gradient(to right, #FD5E00, #FF1E00) !important;
  font-size: 1.1rem !important;
  font-weight: bold !important;
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 50px !important;
  border: 2px solid #fff !important;
  box-shadow: 0 4px 15px rgba(255, 30, 0, 0.4) !important;
}

/* ★スマホ用の微調整：ここでスマホだけ見た目を変えます */
@media screen and (max-width: 480px) {
  .floating-cta {
    height: 70px !important;
    gap: 8px !important;
  }
  .textu {
    font-size: 1.0rem !important; /* スマホでは文字を少し小さく */
  }
  .floating-button {
    width: 160px !important; /* スマホではボタンを少し短く */
    font-size: 0.85rem !important;
    height: 44px !important;
  }
}





/* スマホ用の微調整 */
@media screen and (max-width: 480px) {
  .floating-cta {
    gap: 10px !important;
    padding: 10px !important;
  }
  .textu {
    font-size: 1rem !important;
  }
  .floating-button {
    min-width: 150px
 !important;
    font-size: 0.9rem !important;
    padding: 10px !important;
  }
}


/* スマホ用の調整 */
@media screen and (max-width: 480px) {
  .floating-cta {
    padding: 10px 5px;
    gap: 5px; /* 要素間の隙間を狭くして収まりを良くする */
  }
}

.text-group {
  flex-shrink: 0;
  text-align: center;
  line-height: 1.3;
}

.smalll {
display: block;    /* ブロック要素にすることで親の中央寄せを無視して端まで広がる */
  font-size: 0.9rem;
  text-align: left;
  width: 100%;       /* 念のため幅を100%に */
}

.left {
display: block;    /* ブロック要素にすることで親の中央寄せを無視して端まで広がる */
  text-align: left;
  width: 100%;       /* 念のため幅を100%に */
}


.emphasis-white {
  color: #ffffff;
  font-weight: bold;
  font-size: 0.9rem;
}

.textu {
  font-size: 1.2rem;
  color: #ffffff; /* 金額を強調 */
}

.floating-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 200px;
  min-height: 50px;
  padding: 5px 3px;
  background: linear-gradient(to right, #FD5E00, #FF1E00);
    font-size: 1.1rem !important;
  color: #fff !important;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  border-radius: 30px;
  border: 2px solid #fff;
  box-shadow: 0 4px 10px rgba(255, 30, 0, 0.5);
  animation: pulse-simple 2s infinite;
}

/* =========================================
   6. アニメーション・レスポンシブ
   ========================================= */
@keyframes pulse-simple {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

@media screen and (max-width: 480px) {
  .btn-entry {
    font-size: 1.1rem !important;
  }
  .floating-button {
    font-size: 0.9rem;
    max-width: 180px;
  }
  .text-group {
    font-size: 0.8rem;
  }
}

/* CTA Buttons */
.cta-container {
    text-align: center !important;
  margin: 60px 0;

flex-direction: column; /* 中の要素を縦に並べる */
  align-items: center;    /* 子要素を水平方向の中央に寄せる */
  justify-content: center;/* 子要素を垂直方向の中央に寄せる */
  text-align: center;     /* テキスト自体の中央寄せ */
  margin: 60px 0;
  width: 100%;            /* 親要素いっぱいに広げる */
}

.cta-container * {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    width: fit-content !important; /* 中身のサイズに合わせる */
place-items: center !important;
    text-align: center !important;
}

/* ボタンだけは横幅を維持する */
.cta-container .cta-button {
    width: auto !important;
    display: inline-block !important;
}

.cta-button {
  display: inline-block;
  padding: 20px 20px;
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(to bottom, #FD5E00, #FF1E00);
  border-radius: 50px;
  box-shadow: 0 10px 20px rgba(255, 95, 109, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: pulse 2s infinite;
  border: 4px solid #fff;
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(255, 95, 109, 0.6);
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

.che {
  font-size: 1.15rem;
  display: flex !important;
  align-items: center !important; 
  text-align: left !important;
  margin-bottom: 15px;
  justify-content: flex-start;
  white-space: nowrap; /* ← 追加：テキストの途中で改行させない */

}

.che img {
  display: inline-block !important;
  margin: 0 10px 0 0 !important;
  flex-shrink: 0 !important;
  width: 24px !important;
  height: auto !important;
}




#fixed-footer-new {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 85px !important;
  background: rgba(5, 10, 20, 0.95) !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 15px !important;
  z-index: 999999 !important; /* 絶対に最前面 */
  border-top: 2px solid #00f2ff !important;
  padding: 0 10px !important;
  box-sizing: border-box !important;
  transform: none !important; /* ズレの原因をリセット */
}

#fixed-footer-new .text-group {
  flex-shrink: 0 !important;
  text-align: center !important;
}

#fixed-footer-new .textu {
  color: #fff !important;
  font-size: 1.2rem !important;
  font-weight: bold !important;
  line-height: 1.2 !important;
  display: block !important;
}

#fixed-footer-new .floating-button {
  flex-shrink: 0 !important;
  width: 180px !important;
  height: 55px !important;
  background: linear-gradient(to right, #FD5E00, #FF1E00) !important;
  color: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.9rem !important;
  font-weight: bold !important;
  text-decoration: none !important;
  border-radius: 50px !important;
  border: 2px solid #fff !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5) !important;
}

/* パソコン用の調整 */
@media screen and (min-width: 769px) {
  #fixed-footer-new {
    height: 90px !important;
    gap: 40px !important;
  }
  #fixed-footer-new .floating-button {
    width: 280px !important;
    font-size: 1.2rem !important;
  }
  #fixed-footer-new .textu {
    font-size: 1.5rem !important;
  }
}

/* --- 最終解決コード（style.cssの最下部へ） --- */
.floating-cta-fixed {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  background: rgba(5, 10, 20, 0.98) !important;
  border-top: 2px solid #00f2ff !important;
  z-index: 999999 !important;
  padding: 10px 0 !important;
  box-sizing: border-box !important;
}

.cta-inner {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 20px !important;
  max-width: 1000px !important;
  margin: 0 auto !important;
}

.cta-text {
  color: #fff !important;
  text-align: right !important;
  line-height: 1.2 !important;
}

.cta-title {
  display: block !important;
  font-size: 12px !important;
}

.cta-price {
  display: block !important;
  font-size: 20px !important;
  font-weight: bold !important;
  color: #fff !important;
}

.cta-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 240px !important;
  height: 50px !important;
  background: linear-gradient(to right, #FD5E00, #FF1E00) !important;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: bold !important;
  border-radius: 50px !important;
  border: 2px solid #fff !important;
  font-size: 16px !important;
}

/* スマホ用の調整 */
@media screen and (max-width: 480px) {
  .cta-inner { gap: 10px !important; }
  .cta-price { font-size: 16px !important; }
  .cta-btn { width: 160px !important; font-size: 13px !important; }
}



/* --- 劇薬：すべてを力づくで解決するCSS --- */
#hyper-footer {
line-height: 1.4 !important;
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100vw !important; /* 画面幅を強制指定 */
  height: 80px !important;
  background: #050a14 !important; /* 透過なしで背後を隠す */
  z-index: 9999999 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  border-top: 3px solid #00f2ff !important;
  padding: 0 !important;
  margin: 0 !important;
}

.hyper-inner {
line-height: 1.4 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 20px !important;
  width: 100% !important;
  max-width: 900px !important; /* PCで広がりすぎない */
}

.hyper-text {
line-height: 1.4 !important;
  color: #fff !important;
  text-align: right !important;
  flex-shrink: 0 !important;
}

.loto-name { font-size: 18px !important; display: block !important; }
.loto-price { font-size: 18px !important; font-weight: 900 !important; color: #fff !important; }

.hyper-btn {
line-height: 1.4 !important;
font-size: 14px !important;
  flex-shrink: 0 !important;
  width: 260px !important; /* PCでのボタン幅 */
  height: 54px !important;
  background: linear-gradient(90deg, #FD5E00, #FF1E00) !important;
  color: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 18px !important;
  font-weight: bold !important;
  text-decoration: none !important;
  border-radius: 30px !important;
  border: 2px solid #fff !important;
  box-shadow: 0 0 15px rgba(255, 30, 0, 0.6) !important;
animation: pulse 2s infinite !important;
}

/* スマホ用の強引な上書き */
@media screen and (max-width: 480px) {
  #hyper-footer { height: 75px !important; }
  .hyper-inner { gap: 8px !important; }
  .loto-price { font-size: 16px !important; }
  .hyper-btn { 
line-height: 1.4 !important;
    width: 180px !important; 
    font-size: 18px !important; 
    height: 48px !important;
  }
}