@charset "utf-8";

html, body{
  overflow-x: hidden;
}

body{
    margin: 0 auto;
    width: 100%;
    max-width: 650px;
    background-color: white;
    box-shadow: 0px 5px 22px 0px rgb(0 0 0 / 25%);
    
}

body{
  font-family:
    "Noto Sans JP",
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "Yu Gothic",
    "Meiryo",
    sans-serif;
}

img{
    width: 100%;
    margin: 0 auto;
    margin-top: -2%;

}

head{
    display: none;    
}

style{
    display: none;
}

/* ヘッダー */
.header{
    background-color: #fff;
    padding: 10px 0;
     width: 100%;
    position: relative;
}

.header_inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2% 3%;
    width: 95%;
    max-width: 900px;
    margin: 0 auto;
}

.header_logo {
    width: 100%;
}

.header_btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 88%;
    /* gap: 2%; */
}

.header_tel {
    width: 100%;
}

.header_mail {
    width: 32%;
}

/* CTA */
.cta {
    position: relative;
    width: 100%;
  }
  
  /* 背景画像 */
  .cta_bg {
    width: 100%;
    height: auto;
    display: block;
  }
  
  /* 上に乗せる要素 */
  .cta_inner {
    position: absolute;
    top: 0;
    left: 5%;
    width: 100%;
    height: 100%;
  
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  /* 現在時刻表示（CTA上） */
.timer02{
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: .02em;
  color: white;
  margin-top: -32px;
  margin-left: -62px;
}

.wait_now{
  display:block;   /* ←これが改行の代わり */
  color:#ffff66;
  font-weight:900;
  font-size:1.2em;
}

.cta_text{
  display:block;
  font-weight:700;
}


/* “取得中…”だけ点滅 */
.blinking{
  animation: blink 1s step-end infinite;
}
@keyframes blink{
  50% { opacity: .35; }
}

/* 時刻（赤） */
.timer02 .wait_now{
  color: #ffff66;
  font-weight: 900;
}

  
  /* ボタン */
  .cta_btn {
    margin-top: 40px;
}
  
  .cta_btn img {
    width: 90%;
    
  }
  
.tel_btn{
    margin-bottom: 4%;
    
}
  

@media (max-width: 768px){
  .timer02{
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    line-height: 0.8;
    letter-spacing: .02em;
    color: white;
    margin-top: -25px;
    margin-left: -29px;
  }

  .cta_btn {
    margin-top: 19px;
}
  

}

/* cta動き */
.pulse{
  animation: pulseEffect 1.6s ease-in-out infinite;
}

/* LP向け：派手すぎない */
@keyframes pulseEffect {

  0%{
    transform: scale(1);
    
  }

  70%{
    transform: scale(1.05);
    
  }

  100%{
    transform: scale(1);
    
  }
}

.yellow{
  color: #ffff66;
}


/* トラブル */
.trouble{
    margin-top: -4%;
    background: url(../img/trouble_bg.png) no-repeat center;
    background-size: cover;
}

.trouble_box{
  margin-bottom: 3%;


}

.trouble_logo{
  padding-bottom: 8%;
}

/* 悪徳業者 */
.akutoku{
    background: url(../img/akutoku_bg.png) no-repeat center;
    background-size: cover;
}



/* =========================
   お客様の声（崩れない版）
========================= */

.voice{
  /* 余白はpaddingで完結させる（端末差を消す） */
  padding: 40px 0 32px;
  background-color: #fea432;
  /* ここは基本0推奨（どうしても被せたいなら後述） */
  margin-top: 0;
}

@media (max-width: 768px){
  .voice{
    padding-top: 0px;       
    background-position: -72px 14px;
    padding-bottom: 53px;              /* ←-118px をやめる */
  }
}

/* タイトル */
.voice_ttl{
  width: 100%;
     
}

.voice_ttl img{
  width: 100%;
  vertical-align: bottom;          
}

@media (max-width: 768px){
  .voice_ttl{
    
  }
}

/* 外側：矢印を置く（はみ出しOK） */
.voice__wrap{
  position: relative;
  width: min(92%, 620px);          /* 大きい画面でも暴れない */
  margin: 0 auto;
  overflow: visible;
}

/* Swiper本体はwrapに合わせて100%（二重に縮めない） */
#voiceSwiper{
  width: 100%;
  margin: 0 auto;
  overflow: hidden;                /* カードは隠す */
  border-radius: 18px;
}

/* ドット用の下余白はslider側に持たせる */
.voice__slider{
  position: relative;
  padding-bottom: 0; /* ←削除 */
}

.swiper-wrapper,
.swiper-slide{
  height:auto !important;
}

@media (max-width: 768px){
  .voice__slider{
    padding-bottom: 14px;
  }
}

.voiceCard{
  line-height:0;
}

/* 画像 */
.voiceCard img{
  width: 100%;
  height: auto;
  display: block;
}

.voiceDots{
  position:absolute;
  bottom:-18px !important;
}

/* =========================
   矢印（CSS三角＆丸）
   ※SPは非表示なら位置調整不要
========================= */

/* デフォ矢印消す */
.voiceNavPrev::after,
.voiceNavNext::after{
  display: none;
}

.voiceNavPrev,
.voiceNavNext{
  width: 56px !important;
  height: 56px !important;
  min-width: 30px !important;
  min-height: 30px !important;

  border-radius: 50%;
  background-color: #1e2a5a;

  display:flex;
  align-items:center;
  justify-content:center;

  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;

  box-shadow: 0 6px 16px rgba(0,0,0,.18);
}

/* wrapから半分外に出す（56pxの半分=28px） */
.voiceNavPrev{ left: -10px !important; }
.voiceNavNext{ right: -10px !important; }

/* 三角 */
.voiceNavNext::before{
  content:"";
  width: 0; height: 0;
  border-top:10px solid transparent;
  border-bottom:10px solid transparent;
  border-left:16px solid #fff;
}
.voiceNavPrev::before{
  content:"";
  width: 0; height: 0;
  border-top:10px solid transparent;
  border-bottom:10px solid transparent;
  border-right:16px solid #fff;
}

/* SPはスワイプ中心なら非表示でOK（崩れ要因を消す） */
@media (max-width: 768px){
  .voiceNavPrev,
  .voiceNavNext{
    display: none;

    width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  min-height: 30px !important;
  }

  .voiceNavNext::before{
    content:"";
    width: 0; height: 0;
    border-top:8px solid transparent;
    border-bottom:8px solid transparent;
    border-left:12px solid #fff;
  }
  .voiceNavPrev::before{
    content:"";
    width: 0; height: 0;
    border-top:8px solid transparent;
    border-bottom:8px solid transparent;
    border-right:12px solid #fff;
  }


}


/* 3つの理由 */
.reason{
    background: url(../img/reason_bg.png) no-repeat center;
    background-size: cover;
    padding-bottom: 30px;
}

.reason_ttl{
    width: 100%;
    padding: 11% 0 6%;
    margin: 0 auto;
}

.reason_box{
  margin-bottom: 18px;
}



.reason_box img{
    display: block;
    width: 95%;
  }
  
  /* 右寄せ（1枚目・3枚目） */
  .reason_box img.right{
    margin-left: auto;
    margin-right: 0;
  }
  
  /* 左寄せ（2枚目：rightが付いていないもの） */
  .reason_box img:not(.right){
    margin-left: 0;
    margin-right: auto;
  }
  

/* =========================
   お問い合わせ
========================= */
.form {
  position: relative;
  background-color: #008ced;
  margin-top: -3%;
  padding-bottom: 80px; /* calcをやめて安定（形は変わらない） */
}

/* SP */
@media screen and (max-width: 650px) {
  .form {
    padding-bottom: 60px;
  }
}

/* 白い箱 */
.form-table {
  width: min(90%, 520px); /* 端末差で崩れない */
  margin: 0 auto;
  background: #fff;
  padding: 30px;
}

@media screen and (max-width: 650px) {
  .form-table {
    width: min(92%, 520px);
    padding: 20px 15px;
  }
}

/* テーブル基本 */
.contact-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

/* 行間（trにpaddingは入れない） */
.contact-table tr + tr {
  border-top: 14px solid transparent; /* 行間として機能 */
}

/* th/td を縦積み（今の見た目を維持） */
.contact-table th,
.contact-table td {
  display: block;
  width: 100%;
}

/* label（消え防止） */
.contact-table label {
  display: inline-block;
  color: #222;
  font-weight: 700;
}

/* 見出し */
.contact-table th {
  text-align: left;
  padding: 10px 10px 6px;
  vertical-align: middle;
}



/* 必須バッジ */
.must {
  padding: 2px 6px;
  background: #ff8902;
  color: #fff;
  font-size: 12px;
  margin-left: 10px;
  border-radius: 4px;
}

/* 入力欄 */
input[name="user_name"],
input[name="user_tel"],
input[name="user_email"],
input[name="user_add"],
textarea {
  width: 100%;
  padding: 12px;
  box-sizing: border-box;

  font-size: 18px; /* 希望どおり18px */
  font-family: 游ゴシック体, YuGothic, 游ゴシック, "Yu Gothic", sans-serif;

  border: 1px solid #ccc;
  border-radius: 8px;
}

/* フォーカス見やすく */
input:focus,
textarea:focus {
  outline: none;
  border-color: #ff8902;
  box-shadow: 0 0 0 3px rgba(255,137,2,.15);
}

/* 送信ボタンの外枠（PCでも見切れない） */
.submit div {
  width: 100%;
  max-width: 420px;
  margin: 22px auto 0;
  padding: 0 10px; /* 端末によってはみ出すのを防ぐ */
  box-sizing: border-box;
}

/* SPだけ少し広め */
@media screen and (max-width: 650px) {
  .submit div {
    max-width: 420px;
  }
}

/* 送信ボタン */
.submit input[type="submit"] {
  width: 100%;
  letter-spacing: 1px;
  font-size: 18px;
  color: #fff;
  font-weight: bold;
  font-family: 游ゴシック体, YuGothic, 游ゴシック, "Yu Gothic", sans-serif;

  appearance: none;
  padding: 16px 15px;
  border-radius: 100px;
  border: 2px solid rgb(255, 137, 2);

  background: linear-gradient(
    180deg,
    #ffb347 0%,
    #ff8902 60%,
    #ff6a00 100%
  );

  transition: 0.25s;
  cursor: pointer;

  box-shadow:
    0 8px 18px rgba(255,137,2,.45),
    0 3px 6px rgba(0,0,0,.15);
}

.submit input[type="submit"]:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
}

/* ★ここだけ追加・変更 */
@media screen and (max-width: 650px) {
  .form-table {
    width: 80%;        /* ←小さくする（80〜88がオススメ） */
    padding: 20px;
    
  }
}

@media screen and (min-width: 768px) {
  .consent {
      font-size: 18px;
  }
}

.consent {
  font-size: 18px;
  color: #414141;
  margin-top: 25px;
  text-align: center;
}

.policy-box {
  height: 200px;
  overflow-y: scroll;
  overflow-x: hidden;
  padding: 20px;
  border: 1px solid #b2b2b2;
  border-radius: 5px;
  font-size: 14px;
  margin-top: 50px;
}

.policy-box p {
  margin-top: 0;
}

/* =====================
   追従CTA（はみ出し防止版）
===================== */

#floating{
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 650px;
  z-index: 9999;
  background:#fff;

  /* ←これ大事：中身がはみ出ても横スクロールを作らない */
  overflow: hidden;
}

/* 中身の幅 */
#floating .floating-inner{
  margin: 0 auto;
  width: 80%;
  max-width: 560px;
  padding: 20px 0 14px;  /* 33px + margin-bottom -40px は崩れやすいので整理 */
  box-sizing: border-box;
}

/* SPだけ少し広め */
@media (max-width:650px){
  #floating .floating-inner{
    width: 90%;
    max-width: none;
  }
}

/* 画像だけ鼓動（aに付ける） */
#floating .floating-inner a{
  display:block;
  animation: floatingPulse 1.8s ease-in-out infinite;
  transform-origin:center;
}

/* 画像 */
#floating img{
  width:100%;
  height:auto;
  display:block;
  margin:0 !important;  /* ←img全体ルールの影響を切る */
  border-radius:10px;
}

/* 画像だけ鼓動 */
@keyframes floatingPulse{
  0%   { transform: scale(1); }
  50%  { transform: scale(1.06); }
  100% { transform: scale(1); }
}



/* フッター */


.footer {
  background-color: #0064a9;
  padding: 2rem 0rem 2rem;
  
  font-size: 0.9rem;
  color: #ffffff;
}

.footer_inr {
  padding: 0 50px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.title_info_footer{
  color: #fff;
}

.info_footer{
  text-align: left;
}


tr{
  color: #fff;
}

@media only screen and (max-width: 768px) {
  .info_footer th{
    white-space: nowrap;
    
  }
}




