/* =========================================================
   アクアサービス119番 LP
   - スマホ幅コンテンツを中央配置（PCは背景を敷く oimc.jp 方式）
   ========================================================= */

:root{
  --lp-width: 440px;          /* スマホ幅コンテンツの最大幅 */
  --blue: #0b66c3;
  --blue-d: #073a78;
  --blue-dd: #042a5c;
  --navy: #0a2a52;
  --red: #e8341c;
  --line: #06c755;
  --text: #1b2b3a;
}

*{ box-sizing:border-box; }

html{ -webkit-text-size-adjust:100%; }

body{
  margin:0;
  font-family:"Noto Sans JP", system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color:var(--text);
  line-height:1.7;
  /* PC時の背景（スマホ幅コンテンツの左右に敷かれる・スクロールしても固定） */
  background-color:#0a3b76;
  background-image:url(../image/bg-water.png);
  background-attachment:fixed;
  background-repeat:no-repeat;
  background-position:center center;
  background-size:cover;
}

img{ max-width:100%; height:auto; vertical-align:bottom; }
a{ color:inherit; text-decoration:none; }

/* ===== LP本体（スマホ幅・中央寄せ／両脇に水背景を見せた1カラム） ===== */
.lp{
  position:relative;
  z-index:1;
  width:100%;
  max-width:var(--lp-width);
  margin:0 auto;
  background:transparent;
  /* カラム全体を浮かせる影（両脇の水背景の上に乗る） */
  box-shadow:0 0 28px rgba(4,28,60,.5);
}

/* ===== 各セクション＝直角・隙間なしで連結 ===== */
.sec{
  position:relative;
  font-size:0;
  background:#fff;
  overflow:hidden;     /* 画像の角の白ノッチ対策で残置（直角なので効果は限定的） */
}
.sec > img{ width:100%; display:block; }

/* 背景透過セクション＝共有の水背景（body固定背景）を透かす */
.sec-clear{ background:transparent; }

/* セクション間の余白（隣接画像の端の色をグラデで繋いで自然に間隔をあける）
   使い方: <div class="sec-gap" style="--c-top:rgb(..上の画像の下端色..); --c-bottom:rgb(..下の画像の上端色..); --gap:52px"></div> */
.sec-gap{
  height:var(--gap, 52px);
  background:linear-gradient(180deg, var(--c-top, #0e4f96), var(--c-bottom, #062a57));
}

/* ===== ヘッダー下：現在時刻バナー ===== */
.now-banner{
  background:linear-gradient(180deg,#ffe14d,#ffd11a);
  color:#0a2a52;
  text-align:center;
  font-weight:900;
  font-size:clamp(12px, 3.4vw, 15px);
  line-height:1.4;
  padding:7px 10px;
  letter-spacing:.01em;
}
.now-banner__time{
  color:var(--red);
  font-size:1.1em;
}

/* ===== 取り扱いメーカー例 ボックス（コンパクト） ===== */
.makers{
  background:linear-gradient(180deg,#0e57a8 0%, #0b4a90 100%);
  padding:11px 12px 12px;
}
.makers__head{
  margin:0 0 7px;
  text-align:center;
  color:#fff;
  font-size:15px;
  font-weight:900;
  letter-spacing:.05em;
  text-shadow:0 1px 2px rgba(0,0,0,.25);
}
.makers__panel{
  background:#fff;
  border-radius:10px;
  padding:11px 10px 9px;
  box-shadow:0 3px 9px rgba(0,0,0,.18);
}
.makers__grid{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:9px 8px;
  align-items:center;
}
.makers__grid li{
  display:flex;
  align-items:center;
  justify-content:center;
  height:22px;
}
.makers__grid img{
  max-width:100%;
  max-height:20px;
  width:auto;
  height:auto;
  object-fit:contain;
}
.makers__note{
  margin:9px 0 1px;
  text-align:center;
  color:#0a3b76;
  font-size:12px;
  font-weight:800;
  line-height:1.4;
  border-top:1px dashed #cfe0f1;
  padding-top:8px;
}

/* 透明クリックリンク（画像内ボタンに重ねる） */
.hot{
  position:absolute;
  display:block;
  z-index:2;
  /* デバッグ時に位置を見たい場合は下記を有効化
  outline:2px solid rgba(255,0,0,.6); background:rgba(255,0,0,.15); */
}

/* =========================================================
   ⑭ FAQ アコーディオン
   ========================================================= */
.faq{
  background:linear-gradient(180deg,#0e4f96 0%, #0a3b76 100%);
  padding:34px 16px 40px;
  font-size:14px;
}
.faq-head{ text-align:center; margin-bottom:22px; }
.faq-head__label{
  display:inline-block;
  background:#fff; color:var(--blue);
  font-weight:700; font-size:12px;
  padding:3px 18px; border-radius:999px;
  letter-spacing:.08em; margin-bottom:10px;
}
.faq-head__title{
  margin:0; color:#fff; font-size:20px; font-weight:900;
  text-shadow:0 2px 6px rgba(0,0,0,.25);
}
.faq-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
.faq-item{
  background:#fff; border-radius:10px; overflow:hidden;
  box-shadow:0 4px 12px rgba(0,0,0,.12);
}
.faq-q{
  width:100%; border:0; background:#fff; cursor:pointer;
  display:flex; align-items:center; gap:10px;
  padding:15px 14px; text-align:left; font-family:inherit;
  font-size:14.5px; font-weight:700; color:var(--navy); line-height:1.5;
}
.faq-icon{
  flex:0 0 auto;
  width:26px; height:26px; border-radius:50%;
  background:var(--blue); color:#fff;
  display:grid; place-items:center;
  font-weight:900; font-size:14px;
}
.faq-icon--a{ background:var(--red); }
.faq-q__text{ flex:1 1 auto; }
.faq-arrow{
  flex:0 0 auto; width:14px; height:14px; position:relative;
  transition:transform .3s ease;
}
.faq-arrow::before,
.faq-arrow::after{
  content:""; position:absolute; top:50%; left:50%;
  width:11px; height:2.5px; background:var(--blue); border-radius:2px;
  transform:translate(-50%,-50%);
}
.faq-arrow::after{ transform:translate(-50%,-50%) rotate(90deg); transition:transform .3s ease; }
.faq-q[aria-expanded="true"] .faq-arrow::after{ transform:translate(-50%,-50%) rotate(0deg); }

.faq-a{
  overflow:hidden; max-height:0;
  transition:max-height .35s ease;
  background:#eef6ff;
}
.faq-a__inner{
  display:flex; gap:10px; align-items:flex-start;
  padding:14px;
}
.faq-a__inner p{ margin:2px 0 0; font-size:13.5px; font-weight:500; color:#26384a; line-height:1.75; }

/* =========================================================
   ⑮ フォーム + フッター
   ========================================================= */
.form-sec{
  background:linear-gradient(180deg,#0c4a8e 0%, #06203f 100%);
  padding:30px 14px 140px;  /* 下は固定CTAバー（約100px）に隠れない余白 */
}
.form-card{ margin-bottom:18px; }
.form-card__head{ text-align:center; color:#fff; margin-bottom:18px; }
.form-card__title{
  margin:0; font-size:24px; font-weight:900; letter-spacing:.02em;
  text-shadow:0 2px 6px rgba(0,0,0,.3);
}
.form-card__title span{ color:#ffd23c; }
.form-card__sub{
  margin:6px 0 0; font-size:13px; font-weight:700; color:#cfe6ff;
}

.contact-form{
  background:#fff; border-radius:14px; padding:20px 16px;
  box-shadow:0 8px 24px rgba(0,0,0,.2);
}
.field{ margin-bottom:15px; }
.field label{
  display:block; font-size:13.5px; font-weight:700; color:var(--navy);
  margin-bottom:6px;
}
.req{
  display:inline-block; background:var(--red); color:#fff;
  font-size:10px; font-weight:700; padding:1px 7px; border-radius:3px;
  margin-left:4px; vertical-align:middle;
}
.opt{
  display:inline-block; background:#8aa0b4; color:#fff;
  font-size:10px; font-weight:700; padding:1px 7px; border-radius:3px;
  margin-left:4px; vertical-align:middle;
}
.form-note a{ color:var(--blue); font-weight:700; text-decoration:underline; }
.field input,
.field textarea{
  width:100%; border:1.5px solid #d3dde7; border-radius:8px;
  padding:11px 12px; font-size:15px; font-family:inherit; color:var(--text);
  background:#f7fafd; transition:border-color .2s, background .2s;
}
.field input:focus,
.field textarea:focus{
  outline:none; border-color:var(--blue); background:#fff;
  box-shadow:0 0 0 3px rgba(11,102,195,.12);
}
.field textarea{ resize:vertical; min-height:110px; }
.hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

.form-note{ font-size:11px; color:#6b7c8d; margin:4px 0 16px; line-height:1.6; }

/* プライバシーポリシー同意 */
.privacy-field{ margin:4px 0 16px; }
.privacy-agree{
  display:flex; align-items:center; gap:8px; cursor:pointer;
  font-size:13.5px; font-weight:700; color:var(--navy);
}
.privacy-agree input[type="checkbox"]{
  width:20px; height:20px; flex:0 0 auto; accent-color:var(--blue); cursor:pointer; margin:0;
}
.privacy-agree a{ color:var(--blue); font-weight:700; text-decoration:underline; }

.form-submit{
  width:100%; border:0; cursor:pointer;
  background:linear-gradient(180deg,#f5482f,#d72a12);
  color:#fff; font-family:inherit; font-size:18px; font-weight:900;
  padding:16px; border-radius:10px; position:relative;
  box-shadow:0 6px 0 #a81f0a, 0 8px 18px rgba(0,0,0,.25);
  transition:transform .08s, box-shadow .08s;
  letter-spacing:.02em;
}
.form-submit:active{ transform:translateY(4px); box-shadow:0 2px 0 #a81f0a, 0 4px 10px rgba(0,0,0,.25); }
.form-submit__arrow{ position:absolute; right:18px; top:50%; transform:translateY(-50%); font-size:22px; }

/* お急ぎの方はお電話で */
.form-tel{
  margin-top:18px; background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.25); border-radius:12px;
  padding:16px; text-align:center; color:#fff;
}
.form-tel__lead{ margin:0; font-size:16px; font-weight:900; }
.form-tel__note{ margin:2px 0 8px; font-size:11.5px; color:#bcd8f5; }
.form-tel__num{
  display:inline-flex; align-items:center; gap:6px;
  font-size:30px; font-weight:900; color:#fff; letter-spacing:.01em;
}
.form-tel__icon{ font-size:24px; }

/* フッター */
.site-footer{ margin-top:24px; color:#dce9f7; }
.footer-brand{ display:flex; align-items:center; gap:8px; margin-bottom:14px; }
.footer-logo{ height:26px; width:auto; }
.footer-brand__name{ font-size:18px; font-weight:900; color:#fff; }
.footer-info{ margin:0 0 16px; border-top:1px solid rgba(255,255,255,.18); }
.footer-row{
  display:flex; gap:10px; padding:11px 2px;
  border-bottom:1px solid rgba(255,255,255,.14); font-size:13px;
}
.footer-row dt{ flex:0 0 84px; font-weight:700; color:#9fc2e8; margin:0; }
.footer-row dd{ margin:0; flex:1; line-height:1.6; }
.footer-row dd a{ color:#fff; font-weight:700; }
.footer-small{ font-size:11px; color:#9fc2e8; }
.footer-bottom{
  display:flex; flex-direction:column; align-items:center; gap:6px;
  padding-top:8px; font-size:11.5px; color:#9fc2e8;
}
.footer-link{ text-decoration:underline; }

/* =========================================================
   画面下 固定CTAバー（電話メイン＋LINE＋フォーム動線＋¥3,000OFF吹き出し）
   ========================================================= */
.callbar-wrap{
  position:fixed; bottom:0; left:50%; transform:translateX(-50%);
  width:100%; max-width:var(--lp-width); z-index:50;
}
/* 追従バー上の吹き出し（1段目＝無料訴求 / 2段目＝割引訴求） */
.callbar-promo{
  position:absolute; top:-64px; left:6px; right:6px;
  background:#ffd23c; color:#0a2a52;
  font-size:clamp(12px, 3.4vw, 15px); font-weight:900; line-height:1.2;
  padding:5px 6px 6px; border-radius:8px; text-align:center; white-space:nowrap;
  box-shadow:0 3px 8px rgba(0,0,0,.3);
  animation:promoBounce 1.6s ease-in-out infinite;
}
/* 1段目：見積り0円・出張費0円 */
.callbar-promo__free{
  display:block; margin-bottom:4px;
  background:#0a2a52; color:#fff; border-radius:5px;
  padding:4px 6px;
  font-size:clamp(12px, 3.5vw, 15px); letter-spacing:-.01em;
}
.callbar-promo__free em{ font-style:normal; color:#ffd23c; font-size:1.25em; }
.callbar-promo__free small{ font-size:.68em; font-weight:700; opacity:.85; letter-spacing:0; }
.callbar-promo__txt{ display:block; }
.callbar-promo::after{
  content:""; position:absolute; bottom:-7px; left:50%; transform:translateX(-50%);
  border-left:9px solid transparent; border-right:9px solid transparent;
  border-top:8px solid #ffd23c;
}
.callbar-promo__txt em{ font-style:normal; color:var(--red); font-size:1.25em; }
.callbar-promo__txt b{ font-weight:900; }
@keyframes promoBounce{
  0%,100%{ transform:translateY(0); }
  50%{ transform:translateY(-3px); }
}

.callbar{
  display:flex;
  box-shadow:0 -3px 14px rgba(0,0,0,.25);
}
.callbar__tel,
.callbar__line,
.callbar__form{
  display:flex; align-items:center; justify-content:center; gap:7px;
  height:64px; color:#fff; font-weight:900; text-align:center;
}
/* 電話：一番大きく */
.callbar__tel{
  flex:1 1 52%;
  background:linear-gradient(180deg,#f5482f,#d72a12);
}
.callbar__icon{ display:inline-flex; }
.callbar__icon svg{ width:26px; height:26px; display:block; }
.callbar__txt{ display:flex; flex-direction:column; line-height:1.15; }
.callbar__txt small{ font-size:9px; font-weight:500; opacity:.95; }
.callbar__txt strong{ font-size:21px; letter-spacing:.01em; }
/* LINE */
.callbar__line{
  flex:1 1 24%; flex-direction:column; gap:2px;
  background:var(--line); line-height:1.1; font-size:11px;
}
.callbar__lineicon{ display:inline-flex; }
.callbar__lineicon svg{ width:22px; height:22px; display:block; }
/* フォーム */
.callbar__form{
  flex:1 1 26%; flex-direction:column; gap:1px;
  background:linear-gradient(180deg,#1a8ad8,#0b66c3); line-height:1.18; font-size:12px;
}
.callbar__sub{ font-weight:700; }

/* =========================================================
   コンテンツページ（thanks.html / privacy.html）
   ========================================================= */
.page{
  position:relative; z-index:1;
  width:100%; max-width:var(--lp-width);
  margin:0 auto; min-height:100vh;
  background:#fff; box-shadow:0 0 28px rgba(4,28,60,.5);
  display:flex; flex-direction:column;
}
/* 共通ヘッダー */
.page-header{
  display:flex; align-items:center; gap:8px;
  background:linear-gradient(180deg,#0c4a8e,#0b3f7d);
  padding:12px 16px;
}
.page-header__logo{ height:24px; width:auto; }
.page-header__name{ color:#fff; font-size:16px; font-weight:900; }
.page-header__tel{ margin-left:auto; color:#fff; font-weight:900; font-size:14px; }

.page-main{ flex:1; padding:24px 18px 40px; }

/* サンクスページ */
.thanks{ text-align:center; padding-top:20px; }
.thanks__check{
  width:84px; height:84px; margin:0 auto 18px;
  border-radius:50%; background:linear-gradient(180deg,#23b34a,#119a3c);
  display:grid; place-items:center; box-shadow:0 8px 20px rgba(17,154,60,.35);
}
.thanks__check svg{ width:46px; height:46px; fill:#fff; }
.thanks__title{ margin:0 0 6px; font-size:23px; font-weight:900; color:#0a2a52; }
.thanks__lead{ margin:0 0 22px; font-size:14px; color:#41566b; line-height:1.9; }
.thanks__panel{
  background:#eef6ff; border:1px solid #d4e6fb; border-radius:12px;
  padding:18px 16px; margin:0 0 22px; text-align:center;
}
.thanks__panel p{ margin:0 0 8px; font-size:13px; color:#2a3f54; }
.thanks__tel{
  display:inline-flex; align-items:center; gap:8px;
  font-size:30px; font-weight:900; color:var(--red); letter-spacing:.01em;
}
.thanks__tel svg{ width:26px; height:26px; fill:var(--red); }
.thanks__note{ font-size:11px; color:#7488; }
.btn-home{
  display:inline-block; margin-top:6px;
  background:var(--blue); color:#fff; font-weight:800; font-size:14px;
  padding:13px 30px; border-radius:999px; box-shadow:0 4px 12px rgba(11,102,195,.3);
}

/* プライバシーポリシー */
.policy{ color:#26384a; }
.policy__title{
  text-align:center; font-size:22px; font-weight:900; color:#0a2a52;
  margin:0 0 6px;
}
.policy__update{ text-align:center; font-size:12px; color:#8193a4; margin:0 0 22px; }
.policy__intro{ font-size:13.5px; line-height:1.95; margin:0 0 22px; }
.policy h2{
  font-size:16px; font-weight:800; color:#0b4a90;
  border-left:5px solid var(--blue); padding-left:10px;
  margin:26px 0 10px;
}
.policy p{ font-size:13.5px; line-height:1.95; margin:0 0 10px; }
.policy ul, .policy ol{ margin:0 0 12px; padding-left:1.4em; }
.policy li{ font-size:13.5px; line-height:1.85; margin-bottom:5px; }
.policy__contact{
  background:#eef6ff; border-radius:12px; padding:16px; margin-top:24px;
  font-size:13px; line-height:1.9;
}

/* コンテンツページ用フッター */
.page-footer{
  background:#0b3f7d; color:#cfe0f1; text-align:center;
  padding:18px 16px; font-size:12px;
}
.page-footer a{ color:#fff; text-decoration:underline; }
.page-footer__copy{ display:block; margin-top:8px; color:#9fc2e8; font-size:11px; }

/* =========================================================
   レスポンシブ微調整
   ========================================================= */
@media (max-width:480px){
  :root{ --lp-width:100%; }
  .lp{ box-shadow:none; }
  .page{ box-shadow:none; }
}
