@charset "UTF-8";
/* ==========================================================================
   pages.css — 各ページ固有のブロック
   ========================================================================== */

/* ==========================================================================
   トップページ（index.php）
   ========================================================================== */

/* ヒーロー */
/* CMSが画像を <p> で包むため、その余白を消して画像を全幅で敷く。
   img の指定は <p> 直下に限定する（.cta-strip 内のアイコンに当てないため） */
.fullbleed > p{margin:0;}
.fullbleed > p img,
.hero-img{display:block;width:100%;height:auto;}
.cta-strip{
  background:#2e2e2e;
  padding:22px 24px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:0;
  flex-wrap:nowrap;
}
.cta-strip-item{display:flex;align-items:center;gap:16px;padding:0 26px;}
.cta-strip-item svg{flex-shrink:0;}
/* 3枚（電話・LINE・メール）はカスタムCMSの同一テンプレートで出力するため、
   アイコン＋ラベル／メイン／サブの共通クラスで組む */
.cta-strip-icon{width:52px;height:48px;object-fit:contain;flex-shrink:0;}
.cta-strip-txt{display:flex;flex-direction:column;line-height:1.3;}
.cta-strip-label{
  color:#fff;
  font-family:'Zen Kaku Gothic New',sans-serif;
  font-weight:500;
  font-size:14px;
}
.cta-strip-main{
  color:#fff;
  font-family:'Zen Kaku Gothic New',sans-serif;
  font-weight:700;
  letter-spacing:.01em;
}
.cta-strip-sub{color:#cfcfcf;font-size:12.5px;}
/* 区切り線（2枚目以降の左側）。span ではなく疑似要素で出す */
.cta-strip-item + .cta-strip-item::before{
  content:'';
  width:1px;
  align-self:stretch;
  background:#5a5a5a;
}
/* CMS埋め込みで挟まる div を flex レイアウト上で無視させる */
.cta-strip > div[id^="cms-custom-"]{display:contents;}
/* CMSがボタン等を <p> で包むため、その余白で帯が高くならないようにする */
.cta-strip > p{margin:0;}
.cta-strip-btn{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:3px;
  padding:12px 26px;
  margin-left:14px;
  background:linear-gradient(180deg,#f5d67a 0%,#e0a52b 48%,#c8871a 100%);
  border-radius:10px;
  box-shadow:0 4px 12px rgba(0,0,0,0.3),inset 0 1px 0 rgba(255,255,255,0.7),inset 0 -2px 3px rgba(120,80,0,0.35);
}
.cta-strip-btn-main{
  color:#fff;
  font-family:'Zen Kaku Gothic New',sans-serif;
  font-weight:700;
  font-size:26px;
  line-height:1.15;
  text-shadow:0 1px 2px rgba(120,80,0,0.45);
}
.cta-strip-btn-sub{
  color:#fff;
  font-family:'Zen Kaku Gothic New',sans-serif;
  font-weight:500;
  font-size:13.5px;
  text-shadow:0 1px 1px rgba(120,80,0,0.4);
}
.hero-band{background:#0d3a63;padding:18px 24px;text-align:center;}
.hero-h1{
  margin:0;
  font-family:'Zen Kaku Gothic New',sans-serif;
  font-weight:700;
  font-size:23px;
  color:#fff;
  line-height:1.6;
  letter-spacing:.01em;
}
.em-green{color:#a7e17c;}
.em-gold{color:#f5d67a;}

/* 選ばれる理由 */
.reason-stats{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  margin-bottom:46px;
}
.reason-stats img{
  display:block;
  width:100%;
  max-width:250px;
  height:auto;
  margin:0 auto;
}
.reason-card{
  background:#fff;
  border:1px solid #e6ecf2;
  border-radius:14px;
  padding:28px 26px;
  box-shadow:0 4px 18px rgba(13,58,99,0.06);
}
.reason-card-head{display:flex;align-items:center;gap:13px;margin-bottom:14px;}
.reason-no{
  flex-shrink:0;
  width:52px;
  height:52px;
  border-radius:50%;
  background:linear-gradient(135deg,#5fb733,#4e9e28);
  color:#fff;
  font-family:'Jost',sans-serif;
  font-weight:600;
  font-size:21px;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 4px 10px rgba(95,183,51,0.35);
}
.reason-card-title{
  margin:0;
  font-family:'Zen Kaku Gothic New',sans-serif;
  font-weight:700;
  font-size:20px;
  color:#0d3a63;
  line-height:1.35;
}
.reason-card-desc{margin:0;font-size:15px;line-height:1.75;color:#5a6875;}

/* お困りごと（吹き出し） */
.trouble-title{
  margin:0 0 12px;
  text-align:center;
  font-family:'Zen Kaku Gothic New',sans-serif;
  font-weight:700;
  font-size:30px;
  color:#1f2d3a;
}
.trouble-list{
  display:flex;
  justify-content:center;
  align-items:flex-start;
  gap:8px;
  flex-wrap:wrap;
  margin-top:30px;
}
.bubble{
  width:236px;
  height:210px;
  background-position:center top;
  background-size:contain;
  background-repeat:no-repeat;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:24px 40px 52px;
  box-sizing:border-box;
}
.bubble-1{background-image:url(assets/fukidashi01.png);}
.bubble-2{background-image:url(assets/fukidashi02.png);}
.bubble h3{
  width:100%;
  margin:0;
  white-space:pre-line;
  font-family:'Zen Kaku Gothic New',sans-serif;
  font-weight:700;
  font-size:18px;
  color:#1f2d3a;
  line-height:1.55;
}
.trouble-ill{text-align:center;margin-top:2px;}
.ill-worried{height:222px;width:286px;}
.trouble-solve{text-align:center;margin-top:16px;}
.trouble-arrow{color:#5fb733;font-size:28px;line-height:1;}
.solve-box{
  display:inline-flex;
  align-items:flex-end;
  gap:6px;
  margin-top:22px;
  background:#eef7e8;
  border:1px solid #d5e9c6;
  border-radius:16px;
  padding:18px 38px 18px 10px;
  flex-wrap:nowrap;
  justify-content:center;
}
.solve-box img{height:215px;width:287px;margin-top:-140px;flex-shrink:0;}
.solve-box p{
  margin:0;
  font-family:'Zen Kaku Gothic New',sans-serif;
  font-weight:700;
  font-size:30px;
  color:#0d3a63;
  line-height:1.5;
  text-align:left;
}
.solve-em{color:rgb(78, 158, 40);}

/* 施工実績カード */
/* カード全体が works_entry.php へのリンク（a 要素） */
.work-card{
  display:block;          /* a はデフォルト inline */
  text-decoration:none;   /* ないと work-title に下線が出る */
  color:inherit;          /* ないと全テキストがリンク色になる */
  border:1px solid #e6ecf2;
  border-radius:12px;
  overflow:hidden;
  background:#fff;
}
/* 見た目の差分は親で吸収（旧 card-link-flat 相当） */
.related-works .work-card{box-shadow:none;}
/* サムネイル（CMSが img を出力する） */
.work-thumb img{width:100%;height:100%;object-fit:cover;display:block;}
.work-thumb{
  aspect-ratio:16/10;
  background:#e9edf1;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#9aa6b3;
  font-size:12.5px;
  text-align:center;
  padding:10px;
}
.work-body{padding:18px 20px 22px;}
.work-tag{
  display:inline-block;
  background:#0d3a63;
  color:#fff;
  font-size:11.5px;
  font-weight:700;
  padding:4px 10px;
  border-radius:5px;
}
.work-title{
  margin:12px 0 6px;
  font-family:'Zen Kaku Gothic New',sans-serif;
  font-weight:700;
  font-size:17px;
  color:#1f2d3a;
}
.work-date{font-size:12.5px;color:#9aa6b3;font-family:'Jost',sans-serif;}

/* お客様の声 */
.voice-card{
  background:#fff;
  border:1px solid #e6ecf2;
  border-radius:14px;
  padding:26px 24px;
  box-shadow:0 4px 18px rgba(13,58,99,0.06);
}
.voice-stars{color:#f0a92b;font-size:17px;letter-spacing:2px;margin-bottom:12px;}
.voice-body{margin:0 0 18px;font-size:14.5px;line-height:1.9;color:#3a4854;}
.voice-foot{
  display:flex;
  align-items:center;
  gap:10px;
  padding-top:14px;
  border-top:1px solid #eef1f5;
}
.voice-avatar{
  width:36px;
  height:36px;
  border-radius:50%;
  background:#eef4fb;
  display:flex;
  align-items:center;
  justify-content:center;
  font-family:'Zen Kaku Gothic New',sans-serif;
  font-weight:700;
  font-size:14px;
  color:#0d5aa7;
}
.voice-who{font-size:13px;color:#7b8794;}
.voice-note{margin:24px 0 0;text-align:center;font-size:12px;color:#9aa6b3;line-height:1.8;}

/* サービス一覧（左右交互） */
.svc-list{display:flex;flex-direction:column;gap:60px;}
.svc-row{display:flex;align-items:center;gap:52px;}
/* 偶数番目を左右反転（CMSは全件同じHTMLを吐くのでクラスではなくCSSで交互にする）。
   CMS出力は div[id^="cms-custom-"] の中に入り、display:contents でレイアウト上は
   透過するがセレクタが見るDOMツリーは変わらないため、子孫セレクタで書く。 */
.svc-list .svc-row:nth-child(even){flex-direction:row-reverse;}
.svc-col{flex:1;min-width:300px;}
.svc-head{display:flex;align-items:center;gap:18px;margin-bottom:18px;}
.svc-label{display:block;height:78px;width:auto;flex-shrink:0;}
.svc-title{
  margin:0;
  font-family:'Zen Kaku Gothic New',sans-serif;
  font-weight:700;
  font-size:26px;
  color:#0d3a63;
}
.svc-desc{margin:0 0 22px;font-size:15px;line-height:1.9;color:#5a6875;}
.svc-img{
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  display:block;
  border-radius:18px;
  box-shadow:0 10px 30px rgba(13,58,99,0.14);
}

/* 対応エリア */
.area-grid{display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:center;}
.area-map{aspect-ratio:4/3;display:flex;align-items:center;justify-content:center;}
.area-map img{max-width:100%;max-height:100%;width:auto;height:auto;display:block;}
.area-deco{
  display:block;
  height:34px;
  width:auto;
  margin-bottom:8px;
  margin-left:113px;
}
.area-title{
  margin:0 0 16px;
  font-family:'Zen Kaku Gothic New',sans-serif;
  font-weight:700;
  font-size:22px;
  color:#0d3a63;
  line-height:1.4;
}
.area-title-lg{font-size:38px;}
.area-tags{margin:0 0 18px;display:flex;flex-wrap:wrap;gap:10px;}
.area-tag{
  display:inline-flex;
  align-items:center;
  border:1.5px solid #5fb733;
  color:#0d3a63;
  font-family:'Zen Kaku Gothic New',sans-serif;
  font-weight:700;
  font-size:14.5px;
  padding:7px 16px;
  border-radius:100px;
  background:#fff;
}
.area-note{margin:0;font-size:13.5px;line-height:1.8;color:#7b8794;}

/* 料金の目安 注記 */
.price-notes{margin-top:18px;font-size:13px;line-height:1.9;color:#7b8794;}

/* よくあるご質問 */
.faq-list{display:flex;flex-direction:column;gap:14px;}
.faq-item{
  background:#fff;
  border:1px solid #e6ecf2;
  border-radius:12px;
  padding:22px 26px;
  box-shadow:0 3px 14px rgba(13,58,99,0.05);
}
.faq-q{display:flex;align-items:flex-start;gap:14px;margin-bottom:12px;}
.faq-a{display:flex;align-items:flex-start;gap:14px;}
.faq-mark{
  flex-shrink:0;
  width:32px;
  height:32px;
  border-radius:8px;
  color:#fff;
  font-family:'Jost',sans-serif;
  font-weight:600;
  font-size:16px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.faq-mark-q{background:#0d3a63;}
.faq-mark-a{background:#5fb733;}
.faq-qtext{
  margin:0;
  padding-top:4px;
  font-family:'Zen Kaku Gothic New',sans-serif;
  font-weight:700;
  font-size:17px;
  color:#0d3a63;
  line-height:1.5;
}
.faq-atext{margin:0;padding-top:4px;font-size:14.5px;line-height:1.9;color:#5a6875;}

/* ご利用の流れ */
.flow-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px;}
.flow-card{
  background:#f7f9fc;
  border:1px solid #e6ecf2;
  border-radius:12px;
  padding:24px 18px;
  text-align:center;
}
.flow-title{
  margin:6px 0 14px;
  font-family:'Zen Kaku Gothic New',sans-serif;
  font-weight:700;
  font-size:18px;
  color:#0d3a63;
}
.flow-icon{
  width:66px;
  height:66px;
  margin:0 auto 14px;
  border-radius:50%;
  background:#eef4fb;
  display:flex;
  align-items:center;
  justify-content:center;
}
.flow-icon img{width:38px;height:38px;object-fit:contain;}
.flow-desc{margin:0;white-space:pre-line;font-size:15px;line-height:1.65;color:#7b8794;}

/* 会社概要（トップ抜粋） */
.company-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:stretch;}
.company-tbl{width:100%;height:100%;border-collapse:collapse;font-size:14.5px;}
.company-tbl tr{border-top:1px solid #eef1f5;}
.company-tbl th{
  text-align:left;
  width:34%;
  padding:14px 20px;
  background:#f4f7fa;
  color:#3a4854;
  font-weight:700;
  font-family:'Zen Kaku Gothic New',sans-serif;
}
.company-tbl td{padding:14px 20px;color:#3a4854;}
.company-map{
  background:#e9edf1;
  border-radius:12px;
  overflow:hidden;
  min-height:280px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#9aa6b3;
  font-size:13px;
}

/* ブログ・お知らせ一覧（トップ） */
.news-list{border-top:1px solid #eef1f5;}
.news-item{
  display:flex;
  align-items:center;
  gap:18px;
  padding:18px 8px;
  border-bottom:1px solid #eef1f5;
  color:inherit;
  flex-wrap:wrap;
}
.news-date{font-family:'Jost',sans-serif;color:#9aa6b3;font-size:14px;}
.news-tag{
  background:#eef4fb;
  color:#0d5aa7;
  font-size:12px;
  font-weight:700;
  padding:4px 11px;
  border-radius:5px;
}
.news-title{font-size:15px;color:#1f2d3a;flex:1;min-width:200px;}

/* ==========================================================================
   サービス紹介ページ（gaichu.php / gaiju.php）
   ========================================================================== */

/* ページ冒頭のリード（見出し＋画像） */
.svchero{display:grid;grid-template-columns:1.05fr 1fr;gap:44px;align-items:center;}
.svchero-title{
  margin:0;
  font-family:'Zen Kaku Gothic New',sans-serif;
  font-weight:700;
  font-size:34px;
  line-height:1.45;
  color:#0d3a63;
}
.svchero-desc{margin:22px 0 22px;font-size:15.5px;line-height:1.9;color:#5a6875;}
.svchero-tags{display:flex;gap:10px;flex-wrap:wrap;}
.svchero-img{aspect-ratio:4/3;background:#e9edf1;border-radius:12px;overflow:hidden;}

/* こんな症状はありませんか？ */
.symptom-list{display:flex;flex-direction:column;gap:12px;}
.symptom-item{
  background:#fff;
  border:1px solid #e6ecf2;
  border-radius:10px;
  padding:16px 22px;
  display:flex;
  align-items:center;
  gap:14px;
}
/* チェックマークはCSSで描く（CMSのWYSIWYGがインラインSVGを除去するため） */
.symptom-item::before{
  content:"✓";
  flex-shrink:0;
  width:22px;
  height:22px;
  border-radius:5px;
  background:#5fb733;
  color:#fff;
  font-size:13px;
  font-weight:700;
  line-height:22px;
  text-align:center;
}
.symptom-txt{font-size:15.5px;color:#1f2d3a;}
.symptom-note{
  margin:28px 0 0;
  text-align:center;
  font-family:'Zen Kaku Gothic New',sans-serif;
  font-weight:700;
  font-size:17px;
  color:#0d3a63;
}

/* サービス内容カード */
.svc-card{
  background:#fff;
  border:1px solid #e6ecf2;
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 4px 18px rgba(13,58,99,0.06);
}
.svc-card-thumb{aspect-ratio:16/9;background:#e9edf1;overflow:hidden;}
.svc-card-body{padding:22px 24px 26px;}
.svc-card-title{
  margin:0 0 10px;
  font-family:'Zen Kaku Gothic New',sans-serif;
  font-weight:700;
  font-size:18px;
  color:#0d3a63;
}
.svc-card-desc{margin:0;font-size:14px;line-height:1.75;color:#5a6875;}

/* 作業の流れ（アイコン付きステップ） */
.step-card{
  background:#fff;
  border:1px solid #e6ecf2;
  border-radius:12px;
  padding:22px 18px;
  text-align:center;
}
.step-title{
  margin:8px 0 12px;
  font-family:'Zen Kaku Gothic New',sans-serif;
  font-weight:700;
  font-size:15px;
  color:#0d3a63;
}
.step-icon{
  width:58px;
  height:58px;
  margin:0 auto 12px;
  border-radius:50%;
  background:#eef4fb;
  display:flex;
  align-items:center;
  justify-content:center;
}
.step-icon i{font-size:30px;color:#0d5aa7;}
.step-desc{margin:0;font-size:12.5px;line-height:1.65;color:#7b8794;}

/* ==========================================================================
   料金ページ（price.php）
   ========================================================================== */

/* 明朗会計カード */
.merit-card{
  background:#f7f9fc;
  border:1px solid #e6ecf2;
  border-radius:12px;
  overflow:hidden;
}
.merit-body{padding:22px 24px 24px;}
.merit-title{
  margin:0 0 10px;
  font-family:'Zen Kaku Gothic New',sans-serif;
  font-weight:700;
  font-size:17px;
  color:#0d3a63;
}
.merit-desc{margin:0;font-size:13.5px;line-height:1.75;color:#5a6875;}

/* 調査・お見積り無料 */
.yorokobi{display:block;margin:0 auto;height:200px;width:auto;}
.free-box{
  background:#fff;
  border:2px solid #5fb733;
  border-radius:14px;
  padding:34px;
  text-align:center;
  box-shadow:0 8px 26px rgba(95,183,51,0.15);
}
.free-box-num{
  font-family:'Zen Kaku Gothic New',sans-serif;
  font-weight:700;
  font-size:52px;
  color:#4e9e28;
  line-height:1;
}
.free-box-note{margin:14px 0 0;font-size:14.5px;color:#5a6875;}

/* お支払方法 */
.pay-note{margin:0 0 22px;font-size:14.5px;color:#5a6875;}
.pay-logos{
  background:#fff;
  border:1px solid #e6ecf2;
  border-radius:10px;
  padding:22px;
  color:#9aa6b3;
  font-size:13px;
}
.pay-fine{margin:16px 0 0;font-size:12.5px;color:#7b8794;}

/* 料金についてのご注意 */
.notice-title{
  margin:0 0 16px;
  font-family:'Zen Kaku Gothic New',sans-serif;
  font-weight:700;
  font-size:18px;
  color:#0d3a63;
}
.notice-list{margin:0;padding-left:1.2em;font-size:14px;line-height:2;color:#5a6875;}
.notice-fine{margin:14px 0 0;font-size:12px;color:#9aa6b3;line-height:1.7;}

/* 無料見積もりの流れ（4ステップ） */
.step-card.step-card-lg{padding:24px 20px;}
.step-title.step-title-lg{font-size:16px;}
.step-desc.step-desc-lg{font-size:13px;}

/* ==========================================================================
   記事・事例 詳細（works_entry.php / entry.php）
   ========================================================================== */
.entryhead-inner{margin:0 auto;padding:20px 24px 34px;}
.entry-cat-tag{
  display:inline-block;
  background:#0d3a63;
  color:#fff;
  font-size:12px;
  font-weight:700;
  padding:5px 12px;
  border-radius:5px;
  margin-bottom:12px;
}
.entry-title{
  margin:0;
  font-family:'Zen Kaku Gothic New',sans-serif;
  font-weight:700;
  font-size:32px;
  line-height:1.5;
  color:#1f2d3a;
}
.entry-title.mb-10{margin-bottom:10px;}
.entry-sub{font-size:13.5px;color:#7c8896;}
.entry-meta-row{display:flex;align-items:center;gap:12px;margin-bottom:12px;}
.entry-date{font-family:'Jost',sans-serif;color:#7c8896;font-size:14px;}
.entry-tag{
  background:#eef4fb;
  color:#0d5aa7;
  font-size:12px;
  font-weight:700;
  padding:4px 12px;
  border-radius:5px;
}

/* 施工写真（作業前・作業後） */
.photo-box{
  position:relative;
  aspect-ratio:4/3;
  background:#e9edf1;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#9aa6b3;
  font-size:13px;
  text-align:center;
  padding:12px;
}
.photo-badge{
  position:absolute;
  top:12px;
  left:12px;
  color:#fff;
  font-family:'Zen Kaku Gothic New',sans-serif;
  font-weight:700;
  font-size:12px;
  padding:5px 13px;
  border-radius:6px;
}
.photo-badge-before{background:#5a6875;}
.photo-badge-after{background:#5fb733;}
.photo-sub{
  aspect-ratio:4/3;
  background:#e9edf1;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#9aa6b3;
  font-size:12.5px;
  text-align:center;
  padding:10px;
}
.photo-note{margin:14px 0 34px;font-size:12px;color:#9aa6b3;line-height:1.7;}

/* ブログ記事 */
.eyecatch{
  aspect-ratio:16/9;
  background:#eef1f5;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#9aa6b3;
  font-size:13px;
  margin-bottom:36px;
}
.eyecatch.mb-24{margin-bottom:24px;}
.entry-cta{
  background:#f4f7fa;
  border:1px solid #e6ecf2;
  border-radius:12px;
  padding:28px 30px;
}
.entry-cta-title{
  margin:0 0 6px;
  font-family:'Zen Kaku Gothic New',sans-serif;
  font-weight:700;
  font-size:19px;
  color:#0d3a63;
}
.entry-cta-note{margin:0 0 18px;font-size:13.5px;color:#5a6875;}

/* ==========================================================================
   会社概要（company.php）
   ========================================================================== */
.greet-grid{display:grid;grid-template-columns:280px 1fr;gap:40px;align-items:start;}
.greet-photo{
  aspect-ratio:4/5;
  background:#eef1f5;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#9aa6b3;
  font-size:12.5px;
  text-align:center;
  padding:10px;
}
.greet-title{
  margin:0 0 16px;
  font-family:'Zen Kaku Gothic New',sans-serif;
  font-weight:700;
  font-size:22px;
  color:#0d3a63;
  line-height:1.5;
}
.greet-body{margin:0 0 20px;font-size:15px;line-height:2;color:#3a4854;}
.greet-sign{
  margin:0;
  font-size:15px;
  color:#1f2d3a;
  font-family:'Zen Kaku Gothic New',sans-serif;
  font-weight:500;
}
.access-map{
  aspect-ratio:21/9;
  background:#e9edf1;
  border-radius:12px;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#9aa6b3;
  font-size:13px;
}
.access-note{margin:20px 0 0;text-align:center;font-size:14.5px;color:#5a6875;}

/* Googleマップ埋め込み（枠いっぱいに敷く。iframe の border/サイズ属性はCSSで管理） */
.map-embed{width:100%;height:100%;border:0;display:block;}

/* ==========================================================================
   プライバシーポリシー（privacy.php）
   ========================================================================== */
.privacy-lead{margin:0 0 44px;font-size:15px;line-height:2;color:#3a4854;}
.privacy-list{display:flex;flex-direction:column;gap:36px;}
.privacy-body{margin:0;font-size:14.5px;line-height:2;color:#3a4854;white-space:pre-line;}
.privacy-foot{
  margin-top:48px;
  padding-top:24px;
  border-top:1px solid #eef1f5;
  font-size:13.5px;
  color:#7b8794;
  line-height:1.9;
}

/* ==========================================================================
   お問い合わせ（contact.php）
   ========================================================================== */
.contact-lead{margin:0 0 34px;text-align:center;font-size:15.5px;color:#5a6875;}
.contact-lead p{margin:0;}

/* ==========================================================================
   CMS埋め込み対応（レイアウト透過）
   ApolloCMSの出力は <div id="cms-custom-xxxx-area"></div> の位置に挿入されるため、
   grid/flex の親と子の間に div が1階層挟まる。display:contents でその div を
   レイアウト上なかったことにして、grid/flex の子要素関係を維持する。
   文章CMS（cms_text）は出力を <p> で包むため、そちらは > p を透過させる。
   ※ .cta-strip 配下の同種ルールはヒーロー部のブロック内に記載
   ========================================================================== */
.reason-stats > div[id^="cms-custom-"],
.g1 > div[id^="cms-custom-"],
.grid3 > div[id^="cms-custom-"],
.grid4 > div[id^="cms-custom-"],
.svc-list > div[id^="cms-custom-"],
.faq-list > div[id^="cms-custom-"],
.flow-grid > div[id^="cms-custom-"]{display:contents;}
.minicta > p{margin:0;display:contents;}
/* 文章CMSがボタンラベルや見出しを <p> で包むケースへの対応 */
.btn-navy > p,
.btn-outline-navy > p,
.minicta-lead > p{margin:0;display:contents;}

/* ブログCMS（施工事例）の埋め込みarea。
   display:contents はレイアウト上の親子を透過させるだけで、
   セレクタが見るDOMツリーは変わらない。
   → .grid3 > .work-card はマッチしないので子孫セレクタで書くこと。 */
.grid3 > div[id^="cms-blog-"]{display:contents;}
.entry-cms > div[id^="cms-blog-"],
.news-list > div[id^="cms-blog-"]{display:contents;}

/* 記事本文（WYSIWYG出力にはクラスが付かないので要素セレクタ）
   h2 / p の調整は実際のCMS出力を見てから追加する */
.article-body h2{
  margin:0 0 16px;
  font-family:'Zen Kaku Gothic New',sans-serif;
  font-weight:700;
  font-size:24px;
  color:#0d3a63;
  border-left:5px solid #5fb733;
  padding-left:14px;
  line-height:1.4;
}
.article-body p{margin:0 0 18px;font-size:15.5px;line-height:2;color:#3a4854;}
.article-body img{max-width:100%;height:auto;}
.article-body table{width:100%;}
