@charset "UTF-8";
/* ========================================================
   北九州リサイクル若松 遺品整理センター
   - page-firstvisit.css（初めてのお客様への案内ページ専用）
   ※共通スタイルは common.css
   ======================================================== */

/* ========== ページヒーローバナー ========== */
.page-hero{
  position:relative;
  width:100%;
  height:50vh;
  min-height:340px;
  background:#000;
  overflow:hidden;
}
.page-hero-img{
  position:absolute;inset:0;
  background-size:cover;
  background-position:center;
  background-image:url("../images/hero_img02.webp"); /* 差し替え用 */
}
/* TOPページと同じ hero_bg.webp による下部装飾 */
.page-hero .hero-divider{
  height:auto;
  z-index:10;
  pointer-events:none;
  background-repeat:no-repeat;
  display:block;
}
.page-hero-title{
  position:absolute;
  top:50%;left:5%;
  transform:translateY(-50%);
  color:#fff;
  font-size:48px;
  letter-spacing:6px;
  font-weight:900;
  margin:0;
  text-shadow:0 3px 14px rgba(0,0,0,0.55);
  font-family:"じゅん 501",sans-serif;
}

/* ========== 導入文セクション ========== */
.firstvisit-intro{
  text-align:center;
  padding:60px 20px 80px;
  background:#fff;
}
.firstvisit-intro h2{
  font-size:26px;
  color:var(--brand-blue);
  letter-spacing:2px;
  line-height:1.7;
  margin:0 0 30px;
}
.firstvisit-intro p{
  font-size:16px;
  line-height:2;
  max-width:880px;
  margin:0 auto 16px;
  color:var(--text-body);
  text-align:left;
}
.firstvisit-intro p.text-center{text-align:center;}

/* ========== ステップ全体ラッパー（bg08.png 明るい背景） ========== */
.steps-wrapper{
  background-image:url("../images/bg08.png");
  color:var(--text-body);
  padding:80px 20px 100px;
}
.steps-heading{
  font-size:24px;
  color:var(--brand-blue);
  text-align:center;
  letter-spacing:2px;
  margin:0 0 60px;
  line-height:1.6;
  font-family:"じゅん 501",sans-serif;
}

/* ステップ単位 */
.step-block{
  max-width:980px;
  margin:0 auto 80px;
}
.step-block:last-child{margin-bottom:0;}

.step-num-badge{
  width:72px;
  height:72px;
  border-radius:50%;
  background:var(--brand-blue);
  color:#fff;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  margin:0 auto 16px;
  font-family:"Poppins",sans-serif;
  line-height:1;
}
.step-num-badge .label{
  font-size:10px;
  letter-spacing:2px;
  font-weight:600;
  margin-bottom:2px;
}
.step-num-badge .num{
  font-size:24px;
  font-weight:800;
}

.step-block h3{
  text-align:center;
  font-size:24px;
  color:var(--brand-blue);
  letter-spacing:2px;
  margin:0 0 40px;
  font-family:"じゅん 501",sans-serif;
}

/* 2カラム内のテキストブロック装飾（レイアウトは Bootstrap row/col に委譲） */
.step-text h4{
  font-size:18px;
  color:var(--brand-blue);
  letter-spacing:1.5px;
  margin:0 0 16px;
  font-family:"じゅん 501",sans-serif;
}
.step-text p{
  font-size:16px;
  line-height:1.95;
  color:var(--text-body);
  margin:0;
}
.step-text p + p{margin-top:12px;}
.step-text .note{
  font-size:12px;
  color:var(--text-muted);
  display:block;
  margin-top:6px;
}
.step-image img{
  width:100%;
  height:auto;
  border-radius:8px;
  display:block;
}

/* ========== サービスタグ（4×2グリッド） ========== */
.service-tags-section{
  max-width:980px;
  margin:50px auto 0;
}
.service-tags-section h4{
  text-align:center;
  font-size:18px;
  color:var(--brand-blue);
  letter-spacing:2px;
  margin:0 0 24px;
  font-family:"じゅん 501",sans-serif;
}
/* サービスタグ装飾（レイアウトは Bootstrap row row-cols-* に委譲） */
.service-tag{
  background:#fff;
  color:var(--text-dark);
  text-align:center;
  border-radius:8px;
  padding:18px 12px 14px;
  position:relative;
  text-decoration:none;
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:84px;
  box-shadow:0 2px 8px rgba(0,0,0,0.06);
  transition:box-shadow 0.2s ease, transform 0.2s ease;
}
.service-tag:hover{
  background:#fff;
  color:var(--text-dark);
  text-decoration:none;
  box-shadow:0 6px 16px rgba(0,0,0,0.12);
  transform:translateY(-2px);
}
.service-tag .ja{
  font-size:16px;
  font-weight:700;
  letter-spacing:1px;
  font-family:"じゅん 501",sans-serif;
  color:var(--text-dark);
}
.service-tag .en{
  font-size:9px;
  color:var(--text-muted);
  letter-spacing:1.5px;
  margin-top:4px;
  font-family:"Poppins",sans-serif;
}
/* 右上の折り紙風コーナー（青三角） */
.service-tag::before{
  content:"";
  position:absolute;
  top:0;right:0;
  width:32px;height:32px;
  background:linear-gradient(225deg, var(--brand-blue) 50%, transparent 50%);
  border-top-right-radius:8px;
}
/* 三角の中に乗る矢印アイコン（↗ 右斜め上向き、白） */
.service-tag::after{
  content:"";
  position:absolute;
  top:5px;right:5px;
  width:12px;height:12px;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><line x1='7' y1='17' x2='17' y2='7'/><polyline points='8 7 17 7 17 16'/></svg>");
  background-repeat:no-repeat;
  background-size:contain;
}

/* ========== ステップ1 連絡ボックス（レイアウトは Bootstrap row/col に委譲） ========== */
.firstvisit-contact-box{
  max-width:980px;
  margin:40px auto 0;
  background:#fff;
  border-radius:12px;
  padding:28px 36px;
  color:var(--text-dark);
  box-shadow:0 6px 20px rgba(0,0,0,0.1);
}
.firstvisit-contact-tel{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
}
.firstvisit-contact-tel .label{
  font-size:13px;
  font-weight:700;
  letter-spacing:1px;
  margin-bottom:4px;
  font-family:"じゅん 501",sans-serif;
}
.firstvisit-contact-tel .num{
  font-size:28px;
  font-weight:800;
  color:var(--text-dark);
  text-decoration:none;
  font-family:"Poppins",sans-serif;
  letter-spacing:1px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  line-height:1;
}
.firstvisit-contact-tel .num:hover{color:var(--text-dark);text-decoration:none;}
.firstvisit-contact-tel .hours{
  font-size:11px;
  color:var(--text-muted);
  margin-top:4px;
  letter-spacing:0.5px;
}
.firstvisit-contact-other{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
}
/* 2リンクを左揃えで束ねるラッパー（全体は親で中央配置） */
.firstvisit-contact-other-list{
  display:flex;
  flex-direction:column;
  gap:10px;
  align-items:stretch;
  padding-left:2vw; /* 左側に少し余白（ウィンドウサイズで可変） */
}
.firstvisit-contact-other a{
  display:inline-flex;
  align-items:center;
  gap:14px;
  color:var(--text-dark);
  text-decoration:none;
  font-size:18px;
  font-weight:700;
  letter-spacing:1.5px;
  font-family:"じゅん 501",sans-serif;
  line-height:1.3;
}
.firstvisit-contact-other a:hover{color:var(--brand-blue);text-decoration:none;}
/* common.css の .contact-icon (mail/line) をこの文脈用にサイズ調整 */
.firstvisit-contact-other .contact-icon{
  width:44px;height:44px;
  flex-shrink:0;
}
.firstvisit-contact-other .sub{
  display:block;
  font-size:11px;
  color:var(--text-muted);
  font-family:"Poppins",sans-serif;
  letter-spacing:3px;
  font-weight:600;
  margin-top:4px;
}

/* ========== 悪徳業者にご注意セクション ========== */
.warning-section{
  background:none;
  padding:0; /* 上下パディングは .warning-head-wrap と .warning-body が担当 */
}
/* 上部テキストブロック専用ラッパー（sha.webp をリキッド全幅で表示） */
.warning-head-wrap{
  background-image:url("../images/sha.png");
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  padding:80px 20px;
}
/* 下部の通常コンテンツブロック（背景なし） */
.warning-body{
  padding:60px 20px 80px;
}
.warning-header{
  margin-bottom:30px;
}
.warning-header .warning-icon svg{
  width:120px;
  height:auto;
  display:block;
}
.warning-header h2{
  font-size:32px;
  color:#000;
  font-weight:800;
  letter-spacing:2px;
  line-height:1.4;
  margin:0;
  font-family:"じゅん 501",sans-serif;
  /* 背景画像と被っても可読性を確保するため、文字の外側に白い縁取り */
  -webkit-text-stroke:4px #fff;
  paint-order:stroke fill;
}
.warning-lead{
  text-align:center;
  font-size:18px;
  line-height:1.9;
  color:#000;
  margin:0; /* 親 .warning-head-wrap の padding で上下対称にする */
  font-family:"じゅん 501",sans-serif;
  font-weight:800;
  /* 背景画像と被っても可読性を確保するため、文字の外側に白い縁取り */
  -webkit-text-stroke:3px #fff;
  paint-order:stroke fill;
}
.warning-posters{
  margin:0 auto 70px;
  max-width:680px;
}
.warning-posters img{
  width:100%;
  height:auto;
  display:block;
}
.warning-explain{
  max-width:780px;
  margin:0 auto 70px;
}
.warning-explain h3{
  font-size:20px;
  color:var(--brand-blue);
  font-weight:700;
  margin:0 0 24px;
  font-family:"じゅん 501",sans-serif;
}
.warning-explain p{
  font-size:16px;
  line-height:2;
  color:var(--text-body);
  margin:0 0 16px;
}
.warning-explain p:last-child{
  margin-bottom:0;
}
.warning-types{
  max-width:1280px;              /* PC で広め（旧 1100px から拡張） */
  margin:0 auto;
}
.warning-type-card{
  text-align:center;
}
.warning-type-img{
  width:100%;
  aspect-ratio:4/3;              /* 全画面サイズで縦横比を固定 */
  margin-bottom:24px;
  border-radius:10px;
  overflow:hidden;
  background:#eaf1f4;
}
.warning-type-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.warning-type-card h4{
  font-size:18px;
  color:var(--brand-blue);
  font-weight:700;
  text-align:center;
  margin:0 0 16px;
  font-family:"じゅん 501",sans-serif;
}
.warning-type-card p{
  font-size:13px;
  line-height:1.9;
  color:var(--text-body);
  text-align:left;
  margin:0;
}

/* ========== タブレット (≤991.98px) ========== */
@media (max-width: 991.98px){
  .page-hero{height:38vh;min-height:280px;}
  .page-hero-title{font-size:36px;letter-spacing:4px;}
  .warning-header h2{font-size:26px;}
  .warning-header .warning-icon svg{width:100px;}
  /* warning-type-img: aspect-ratio:4/3 が自動で適切な高さを確保 */
}

/* ========== スマホ (≤767.98px) ========== */
@media (max-width: 767.98px){
  .page-hero{height:32vh;min-height:220px;}
  .page-hero-title{font-size:24px;letter-spacing:3px;left:6%;}
  .firstvisit-intro{padding:40px 20px 50px;}
  .firstvisit-intro h2{font-size:20px;}
  .firstvisit-intro p{font-size:14px;line-height:1.9;}
  .steps-wrapper{padding:60px 16px;}
  .steps-heading{font-size:18px;line-height:1.7;}
  .step-block{margin-bottom:60px;}
  .step-block h3{font-size:20px;}
  .step-num-badge{width:60px;height:60px;}
  .step-num-badge .num{font-size:20px;}
  .step-text h4{font-size:16px;}
  .step-text p{font-size:14px;}
  .service-tags-section h4{font-size:16px;}
  .service-tag{min-height:70px;padding:14px 8px;}
  .service-tag .ja{font-size:14px;}
  .firstvisit-contact-box{padding:20px 18px;}
  .firstvisit-contact-tel .num{font-size:22px;}
  /* 縦並び切替時：左側余白は不要（中央寄せに戻すため） */
  .firstvisit-contact-other-list{padding-left:0;}
  /* 悪徳業者注意セクション */
  .warning-head-wrap{padding:60px 16px;}
  .warning-body{padding:40px 16px 60px;}
  .warning-header .warning-icon svg{width:80px;}
  .warning-header h2{font-size:20px;letter-spacing:1px;-webkit-text-stroke:3px #fff;}
  .warning-lead{font-size:14px;margin-bottom:0;-webkit-text-stroke:2px #fff;}
  .warning-posters{margin-bottom:50px;}
  .warning-explain{margin-bottom:50px;}
  .warning-explain h3{font-size:16px;}
  .warning-explain p{font-size:14px;line-height:1.9;}
  .warning-type-card{margin-bottom:30px;}
  /* スマホも PC/タブレットと同じ aspect-ratio:4/3 を維持 */
  .warning-type-img{border-radius:10px;}
  .warning-type-card h4{font-size:16px;}
  .warning-type-card p{font-size:13px;}
}

