/*
Theme Name: AFFINGER Child
Template: affinger
Description: AFFINGER6 対応
Version: 20240601
*/

/*media Queries スマートフォンとタブレットサイズ（959px以下）で適応したいCSS - スマホ・タブレット
---------------------------------------------------------------------------------------------------*/
@media only screen and (max-width: 959px) {


	/*-- ここまで --*/
}
	
/*media Queries タブレットサイズ（600px～959px）のみで適応したいCSS -タブレットのみ
---------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 600px) and (max-width: 959px) {


	/*-- ここまで --*/
}	
	
/*media Queries タブレット（600px）以上で適応したいCSS -タブレット・PC
---------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 600px) {


	/*-- ここまで --*/
}

/*media Queries PCサイズ（960px）以上で適応したいCSS - PCのみ
---------------------------------------------------------------------------------------------------*/
@media print, screen and (min-width: 960px) {


	/*-- ここまで --*/
}

/*media Queries スマホサイズ（599px）以下で適応したいCSS - スマホのみ
---------------------------------------------------------------------------------------------------*/
@media print, screen and (max-width: 599px) {

	
	/*-- ここまで --*/
}
/* ===============================
   SFS Service Page Base
   =============================== */
:root {
  --sfs-bg: #ffffff;
  --sfs-text: #222;
  --sfs-muted: #666;
  --sfs-accent: #0a74da;
  --sfs-accent-2: #0f9d58; /* セカンダリ */
  --sfs-border: #e5e7eb;
  --sfs-soft: #f8fafc;
  --sfs-radius: 12px;
  --sfs-shadow: 0 6px 18px rgba(0,0,0,.06);
}

.service.service-toilet {
  background: var(--sfs-bg);
  color: var(--sfs-text);
  line-height: 1.8;
}

.service-header {
  margin-bottom: 1.5rem;
}

.service-title {
  font-size: clamp(22px, 2.6vw, 32px);
  margin: 0 0 .5rem;
  line-height: 1.3;
}

.service-intro {
  margin: 0;
  color: var(--sfs-muted);
}

/* 目次 */
.service-toc {
  margin: 1.5rem 0 2rem;
  background: var(--sfs-soft);
  border: 1px solid var(--sfs-border);
  border-radius: var(--sfs-radius);
  padding: .75rem 1rem;
}
.service-toc ul {
  margin: 0;
  padding-left: 1rem;
  columns: 2;
  column-gap: 2rem;
}
@media (max-width: 640px) {
  .service-toc ul { columns: 1; }
}
.service-toc a {
  text-decoration: none;
  border-bottom: 1px dotted transparent;
}
.service-toc a:hover { border-color: currentColor; }

/* セクション */
.service-section {
  margin: 2.25rem 0;
}
.service-section > h2 {
  font-size: clamp(18px, 2.2vw, 24px);
  margin: 0 0 1rem;
  position: relative;
  padding-left: .75rem;
}
.service-section > h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: .3em;
  width: 4px;
  height: 1em;
  background: var(--sfs-accent);
  border-radius: 4px;
}

/* リスト */
.trouble-list,
.area-list,
.service-links {
  margin: .75rem 0 0;
  padding-left: 1.2rem;
}
.service-links li + li { margin-top: .25rem; }

/* ===============================
   Price Table（料金表）
   =============================== */
.price-note {
  font-size: .95rem;
  color: var(--sfs-muted);
  margin-bottom: .5rem;
}

.price-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--sfs-border);
  border-radius: var(--sfs-radius);
  overflow: hidden;
  box-shadow: var(--sfs-shadow);
}

.price-table thead th {
  background: linear-gradient(0deg, #f3f7fb, #f9fbfe);
  color: #111;
  font-weight: 700;
  text-align: left;
  padding: .9rem 1rem;
  border-bottom: 1px solid var(--sfs-border);
}

.price-table tbody td {
  padding: .9rem 1rem;
  border-bottom: 1px solid var(--sfs-border);
  vertical-align: top;
}

.price-table tbody tr:last-child td {
  border-bottom: none;
}

.price-table tbody tr:nth-child(odd) td {
  background: #fcfdff;
}

/* 金額（右列）をやや強調 */
.price-table tbody td:last-child {
  white-space: nowrap;
  font-weight: 700;
}

/* スマホでカード風に崩す（アクセシビリティ配慮） */
@media (max-width: 640px) {
  .price-table thead {
    display: none;
  }
  .price-table,
  .price-table tbody,
  .price-table tr,
  .price-table td {
    display: block;
    width: 100%;
  }
  .price-table tr {
    border-bottom: 1px solid var(--sfs-border);
  }
  .price-table tr:last-child {
    border-bottom: none;
  }
  .price-table tbody td {
    border: none;
    padding: .6rem .9rem;
  }
  .price-table tbody td:first-child {
    padding-top: .9rem;
    font-weight: 600;
  }
  .price-table tbody td:last-child {
    padding-bottom: .9rem;
    color: var(--sfs-accent);
  }
}

/* ===============================
   FAQ
   =============================== */
.faq-block {
  border: 1px solid var(--sfs-border);
  border-radius: var(--sfs-radius);
  background: var(--sfs-soft);
  padding: .5rem .75rem;
}
.faq-item + .faq-item { border-top: 1px dashed var(--sfs-border); }
.faq-q {
  font-size: 1.05rem;
  margin: .6rem 0 .2rem;
}
.faq-a {
  color: var(--sfs-muted);
  margin: 0 0 .6rem;
}

/* ===============================
   CTA Box
   =============================== */
.cta-box {
  background: linear-gradient(180deg, #f7fbff 0%, #eef7ff 100%);
  border: 1px solid var(--sfs-border);
  border-radius: calc(var(--sfs-radius) + 4px);
  padding: 1.25rem 1rem;
  box-shadow: var(--sfs-shadow);
  text-align: center;
}
.cta-box h2 {
  margin: 0 0 .5rem;
  font-size: clamp(18px, 2.2vw, 24px);
}
.cta-box p {
  margin: 0 0 .9rem;
  color: var(--sfs-muted);
}

/* ボタン */
.btn {
  display: inline-block;
  text-decoration: none;
  line-height: 1;
  padding: .9rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .05s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  font-weight: 700;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--sfs-accent);
  color: #fff;
  box-shadow: 0 6px 16px rgba(10,116,218,.25);
}
.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-secondary {
  background: #fff;
  color: var(--sfs-accent);
  border-color: var(--sfs-accent);
}
.btn-secondary:hover {
  background: #f4f9ff;
}

/* ボタン並び */
.cta-buttons {
  display: inline-flex;
  gap: .75rem;
  flex-wrap: wrap;
  justify-content: center;
}
/* SUGOI MOKUJI を上品なカード風に */
.st-toc {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f8fafc;
  padding: .75rem 1rem;
  box-shadow: 0 6px 18px rgba(0,0,0,.05);
}
.st-toc__title {
  font-weight: 700;
  margin: 0 0 .5rem;
}
.st-toc__list {
  margin: 0;
  padding-left: 1rem;
}
.st-toc__list a {
  text-decoration: none;
  border-bottom: 1px dotted transparent;
}
.st-toc__list a:hover { border-color: currentColor; }

.hero {margin: 12px 0 20px; padding: 16px; background:#f8fafc; border:1px solid #e5e7eb; border-radius:12px}
.hero .lead{margin:.5rem 0 1rem}
.hero-ctas {display:flex; flex-wrap:wrap; gap:.5rem}
.btn{display:inline-block; padding:.6rem 1rem; border-radius:9999px; text-decoration:none; border:1px solid transparent}
.btn-primary{background:#2563eb; color:#fff}
.btn-outline{background:#fff; color:#2563eb; border-color:#2563eb}
.btn-light{background:#fff; color:#111; border-color:#e5e7eb}
.hero-badges{display:flex; flex-wrap:wrap; gap:.5rem; margin:.75rem 0 0; padding:0; list-style:none}
.hero-badges li{padding:.25rem .6rem; border:1px solid #e5e7eb; border-radius:9999px; font-size:.9rem; background:#fff}

.service-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:.75rem}
@media(min-width:768px){.service-grid{grid-template-columns:repeat(3,1fr)}}
.card{display:block; padding:1rem; background:#fff; border:1px solid #e5e7eb; border-radius:12px}
.card h3{margin:0 0 .25rem}

.area-ranking{margin:24px 0}
.area-ranking-list{counter-reset:rank; list-style:none; padding:0; display:grid; gap:.5rem}
.area-ranking-list li{counter-increment:rank; padding:.5rem .75rem; border:1px solid #e5e7eb; border-radius:8px; background:#fff}
.area-ranking-list li::before{content: counter(rank) "."; margin-right:.5rem; font-weight:700}

.price-table{width:100%; border-collapse:collapse; border:1px solid #e5e7eb; border-radius:10px; overflow:hidden}
.price-table th, .price-table td{padding:.6rem; border-bottom:1px solid #f1f5f9}
.price-table thead th{background:#f8fafc; text-align:left}

.pay-icons{display:flex; flex-wrap:wrap; gap:.5rem; list-style:none; padding:0; margin:.5rem 0 0}
.pay-icons li{padding:.25rem .6rem; border:1px solid #e5e7eb; border-radius:9999px; background:#fff; font-size:.85rem}

.sticky-cta{position:fixed; bottom:10px; left:10px; right:10px; display:flex; gap:.5rem; justify-content:space-between; padding:.4rem; background:rgba(255,255,255,.95); border:1px solid #e5e7eb; border-radius:9999px; box-shadow:0 8px 24px rgba(0,0,0,.08); z-index:999}
@media(min-width:1024px){.sticky-cta{display:none}}
/* 1) 目次やセクション内アンカーに被らない余白（固定ヘッダー用） */
:target { scroll-margin-top: 84px; }

/* 2) リンク集の間延び対策 */
.service-links { list-style: none; padding-left: 0; }
.service-links li { margin: .25rem 0; }

/* 3) ボタンのタップ領域＆アクセシビリティ */
.btn { min-height: 44px; line-height: 1.1; }
.btn:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }

/* 4) 人気エリアを2列→スマホ1列 */
@media (max-width: 480px) {
  .area-ranking-list { display: grid; grid-template-columns: 1fr; }
}

/* 5) 目次の前後に余白 */
#toc_container, .st_toc { margin: 12px 0 20px; }


.sfs-home .hero{margin:12px 0 20px; padding:16px; background:#f8fafc; border:1px solid #e5e7eb; border-radius:12px}
.sfs-home .hero .lead{margin:.5rem 0 1rem}
.sfs-home .hero-ctas{display:flex; flex-wrap:wrap; gap:.5rem}
.sfs-home .btn{display:inline-block; padding:.6rem 1rem; border-radius:9999px; text-decoration:none; border:1px solid transparent; min-height:44px}
.sfs-home .btn-primary{background:#2563eb; color:#fff}
.sfs-home .btn-outline{background:#fff; color:#2563eb; border-color:#2563eb}
.sfs-home .btn-light{background:#fff; color:#111; border-color:#e5e7eb}
.sfs-home .hero-badges{display:flex; flex-wrap:wrap; gap:.5rem; margin:.75rem 0 0; padding:0; list-style:none}
.sfs-home .hero-badges li{padding:.25rem .6rem; border:1px solid #e5e7eb; border-radius:9999px; font-size:.9rem; background:#fff}

.sfs-home .service-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:.75rem}
@media(min-width:768px){.sfs-home .service-grid{grid-template-columns:repeat(3,1fr)}}
.sfs-home .card{display:block; padding:1rem; background:#fff; border:1px solid #e5e7eb; border-radius:12px}
.sfs-home .card h3{margin:0 0 .25rem}

.sfs-home .service-links{list-style:none; padding-left:0}
.sfs-home .service-links li{margin:.25rem 0}

.sfs-home .area-ranking{margin:24px 0}
.sfs-home .area-ranking-list{counter-reset:rank; list-style:none; padding:0; display:grid; gap:.5rem}
.sfs-home .area-ranking-list li{counter-increment:rank; padding:.5rem .75rem; border:1px solid #e5e7eb; border-radius:8px; background:#fff}
.sfs-home .area-ranking-list li::before{content: counter(rank) "."; margin-right:.5rem; font-weight:700}

.sfs-home .sticky-cta{position:fixed; bottom:10px; left:10px; right:10px; display:flex; gap:.5rem; justify-content:space-between; padding:.4rem; background:rgba(255,255,255,.95); border:1px solid #e5e7eb; border-radius:9999px; box-shadow:0 8px 24px rgba(0,0,0,.08); z-index:999}
@media(min-width:1024px){.sfs-home .sticky-cta{display:none}}


/* ===== エリアページ全体レイアウト ===== */
.area-single .area-article {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px 40px;
}

/* ===== ヘッダー／タイトル周り ===== */
.area-header {
  margin: 0 0 30px;
  padding: 10px 0 20px;
  border-bottom: 1px solid #eee;
}

.area-title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 10px;
}

.area-header .lead {
  font-size: 15px;
  line-height: 1.8;
  background: #f8fbff;
  border-left: 4px solid #0073aa;
  padding: 15px 20px;
  border-radius: 4px;
}

/* ===== セクション共通 ===== */
.area-flow-section,
.child-area-list,
.info-section,
.area-warning-section,
.area-services-section,
.area-faq-section,
.area-authority-section,
.area-map-section,
.cta-box {
  margin: 30px 0;
}

.area-flow-section h2,
.child-area-list h2,
.info-section h2,
.area-warning-section h2,
.area-services-section h2,
.area-faq-section h2,
.area-authority-section h2,
.area-map-section h2,
.cta-box h2 {
  font-size: 20px;
  margin: 0 0 15px;
  padding-left: 10px;
  border-left: 4px solid #0073aa;
}

/* ===== 子エリア一覧（都道府県配下の市区町村リンク） ===== */
.child-area-list .area-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.child-area-list .area-links li a {
  display: block;
  padding: 8px 12px;
  border: 1px solid #e2e2e2;
  border-radius: 4px;
  font-size: 14px;
  text-decoration: none;
  color: #333;
  background: #fff;
  transition: all 0.2s ease;
}

.child-area-list .area-links li a:hover {
  background: #0073aa;
  color: #fff;
  border-color: #0073aa;
}

/* ===== 注意喚起ボックス ===== */
.area-warning-section .warning-box {
  background-color: #fff7df;
  border-left: 4px solid #ffc107;
  padding: 15px 20px;
  margin: 15px 0 0;
  border-radius: 4px;
  line-height: 1.7;
}

/* ===== お役立ち情報（リンクリスト想定） ===== */
.info-section .info-list a {
  color: #0073aa;
}
.info-section .info-list a:hover {
  text-decoration: underline;
}

/* ===== CTA ブロック ===== */
.cta-box {
  background: #f0f7ff;
  border-radius: 6px;
  text-align: center;
  padding: 25px 20px;
}

.cta-box p {
  margin: 10px 0 15px;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.cta-buttons .btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.cta-buttons .btn-primary {
  background: #ff5722;
  color: #fff;
}

.cta-buttons .btn-primary:hover {
  opacity: 0.9;
}

.cta-buttons .btn-secondary {
  border: 1px solid #0073aa;
  color: #0073aa;
  background: #fff;
}

.cta-buttons .btn-secondary:hover {
  background: #0073aa;
  color: #fff;
}

/* ===== スマホ調整 ===== */
@media (max-width: 599px) {
  .area-title {
    font-size: 20px;
  }

  .area-flow-section h2,
  .child-area-list h2,
  .info-section h2,
  .area-warning-section h2,
  .area-services-section h2,
  .area-faq-section h2,
  .area-authority-section h2,
  .area-map-section h2,
  .cta-box h2 {
    font-size: 18px;
  }
}
/* ===================================
   エリアページ共通レイアウト
   =================================== */

/* 本文を中央寄せ・見やすい幅に */
.area-single .area-article {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px 40px;
}

/* 見出し */
.area-single .area-article h2 {
  font-size: 20px;
  margin: 0 0 15px;
  padding-left: 10px;
  border-left: 4px solid #0073aa;
}

/* ===================================
   子ページ（市区町村）リンク一覧
   =================================== */

/* セクション自体を中央寄せ */
.area-single .child-area-list {
  margin: 30px auto;
}

/* UL をグリッド化＋ポチ削除＋左の余白リセット */
.area-single .child-area-list .area-links {
  list-style: none !important;
  margin: 0 auto;
  padding: 0;
  max-width: 900px; /* 中央の幅を少し絞る */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px 14px;
}

/* li の余白リセット */
.area-single .child-area-list .area-links li {
  margin: 0;
  padding: 0;
}

/* リンクをカード風にする */
.area-single .child-area-list .area-links li a {
  display: block;
  padding: 8px 12px;
  border: 1px solid #e2e2e2;
  border-radius: 4px;
  font-size: 14px;
  text-decoration: none;
  color: #333;
  background: #fff;
  text-align: left;
  transition: all 0.2s ease;
}

/* ホバー時 */
.area-single .child-area-list .area-links li a:hover {
  background: #0073aa;
  color: #fff;
  border-color: #0073aa;
}

/* スマホでは1列$301C2列になるように */
@media (max-width: 599px) {
  .area-single .child-area-list .area-links {
    max-width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}
.sfs-info-list{margin:0;padding-left:1.2em;list-style:disc}
.sfs-info-list li{margin:.25em 0;line-height:1.7}

.sfs-info-list{margin:0;padding-left:1.2em;list-style:disc}
.sfs-info-list li{margin:.25em 0;line-height:1.7}
.sfs-info-list a{text-decoration:underline}
.info-list-source{margin:.5em 0 0;color:#666;font-size:.9em}
.sfs-info-list a[target="_blank"]::after{
  content:"$2197";
  margin-left:.25em;
  font-size:.9em;
  opacity:.7;
}

/*************************************************
 * SFS トップページ全体統一デザインCSS v1
 * （AFFINGER寄せ・スマホ完全最適化）
 *************************************************/

/* 基本色 */
:root {
  --sfs-blue: #0073aa;
  --sfs-blue-light: #e9f6ff;
  --sfs-gray: #555;
  --sfs-border: #ddd;
  --sfs-radius: 8px;
}

/*************************************************
  基本レイアウト調整
*************************************************/
.sfs-home section {
  margin: 40px auto;
  padding: 0 20px;
  max-width: 1080px;
}

.sfs-home h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  border-left: 6px solid var(--sfs-blue);
  padding-left: 12px;
}

/*************************************************
  Hero
*************************************************/
.hero {
  text-align: center;
  padding: 40px 20px;
}

.hero .lead {
  font-size: 18px;
  margin-bottom: 20px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 15px;
}

.hero-badges {
  list-style: none;
  padding: 0;
  margin: 15px 0 0;
  font-size: 14px;
  color: var(--sfs-gray);
}

.btn {
  padding: 12px 24px;
  border-radius: var(--sfs-radius);
  font-size: 16px;
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: var(--sfs-blue);
  color: #fff !important;
}

.btn-outline {
  border: 2px solid var(--sfs-blue);
  color: var(--sfs-blue) !important;
}

.btn-light {
  background: var(--sfs-blue-light);
  color: var(--sfs-blue) !important;
}

/*************************************************
  ① エリア検索（新規デザイン）
*************************************************/
.area-search {
  background: #fafcff;
  padding: 30px 20px;
  border-radius: var(--sfs-radius);
  border: 1px solid var(--sfs-border);
}

.area-search .pref-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.area-search .pref-list li a {
  display: block;
  padding: 10px 16px;
  background: var(--sfs-blue-light);
  border-radius: var(--sfs-radius);
  color: var(--sfs-blue);
  font-weight: bold;
  text-decoration: none;
  transition: 0.2s;
}

.area-search .pref-list li a:hover {
  background: var(--sfs-blue);
  color: #fff;
}

/*************************************************
  人気エリア
*************************************************/
.area-ranking-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 12px;
  padding-left: 0;
  list-style: none;
}

.area-ranking-list li a {
  background: #fff;
  border: 1px solid var(--sfs-border);
  display: block;
  padding: 14px;
  border-radius: var(--sfs-radius);
  text-decoration: none;
  color: #333;
}

/*************************************************
  最新施工事例（カード）
*************************************************/
.home-cases .case-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 16px;
}

.case-card {
  border: 1px solid var(--sfs-border);
  border-radius: var(--sfs-radius);
  overflow: hidden;
  background: #fff;
  transition: 0.2s;
}

.case-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.case-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.case-card h3 {
  margin: 10px 12px 4px;
  font-size: 16px;
}

.case-card .date {
  margin: 0 12px 12px;
  font-size: 13px;
  color: var(--sfs-gray);
}

/*************************************************
  最新口コミ（カード）
*************************************************/
.home-reviews .review-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 16px;
  list-style: none;
  padding: 0;
}

.review-card {
  background: #fff;
  border: 1px solid var(--sfs-border);
  padding: 16px;
  border-radius: var(--sfs-radius);
  font-size: 14px;
  color: #444;
  line-height: 1.6;
  transition: 0.2s;
}

.review-card:hover {
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

/*************************************************
  対応サービス（5ブロック）
*************************************************/
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 12px;
}

.service-grid .card {
  border: 1px solid var(--sfs-border);
  padding: 16px;
  background: #fff;
  border-radius: var(--sfs-radius);
  text-decoration: none;
  color: #333;
  transition: 0.2s;
}

.service-grid .card:hover {
  background: var(--sfs-blue-light);
}

/*************************************************
  スマホ固定CTA
*************************************************/
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fff;
  border-top: 1px solid var(--sfs-border);
  padding: 10px;
  display: flex;
  justify-content: space-around;
  z-index: 9999;
}

@media (min-width: 768px){
  .sticky-cta {
    display: none;
  }
}
/*************************************************
 * SFS / 口コミ一覧ページ 専用CSS（v1）
 *************************************************/

#review-archive {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

/* タイトル */
#review-archive h1 {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 3px solid #0073aa;
}

/*************************************************
  レビューカード
*************************************************/
#review-archive .review-item {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 25px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.06);
  transition: 0.2s;
}

#review-archive .review-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/*************************************************
  スター評価
*************************************************/
#review-archive .review-stars {
  font-size: 20px;
  margin-bottom: 12px;
}

#review-archive .review-stars .star.full   { color: #ffb400; }
#review-archive .review-stars .star.half   { color: #ffb400; opacity: 0.7; }
#review-archive .review-stars .star.empty  { color: #ccc; }

/*************************************************
  レビュー本文
*************************************************/
#review-archive .review-text p {
  font-size: 15px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 14px;
}

/*************************************************
  投稿者情報
*************************************************/
#review-archive .review-user {
  font-size: 14px;
  font-weight: bold;
  color: #0073aa;
  margin-top: 10px;
}

/*************************************************
  画像の装飾
*************************************************/
#review-archive .review-image img {
  margin-top: 10px;
  width: 200px;
  border-radius: 6px;
  border: 1px solid #ddd;
}

/*************************************************
  「口コミがありません」メッセージ
*************************************************/
#review-archive p {
  font-size: 16px;
  color: #555;
}

/*************************************************
  スマホ最適化
*************************************************/
@media (max-width: 768px) {
  #review-archive .review-item {
    padding: 16px;
  }

  #review-archive h1 {
    font-size: 22px;
  }

  #review-archive .review-image img {
    width: 100%;
    max-width: 320px;
  }
}
/* ===== SFS TOP HERO AREA ===== */
.sfs-hero {
  position: relative;
  color: #fff;
  padding: 70px 20px;
  text-align: center;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  margin-bottom: 40px;
}

.sfs-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.60), rgba(0,0,0,0.25));
  z-index: 1;
  border-radius: 10px;
}

.sfs-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: auto;
}

.sfs-hero-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

.sfs-hero-sub {
  font-size: 18px;
  margin-bottom: 22px;
}

.sfs-badges {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.sfs-badge {
  background: #0d6efd;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 14px;
  color: #fff;
}

.sfs-cta-group {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.sfs-cta-main {
  background: #28a745;
  color: #fff;
  padding: 14px 28px;
  font-size: 20px;
  border-radius: 40px;
  font-weight: bold;
}

.sfs-cta-sub {
  background: #fff;
  color: #333;
  padding: 12px 22px;
  border-radius: 30px;
  border: 2px solid #ddd;
  font-size: 16px;
}

.sfs-areas {
  margin-top: 8px;
  font-size: 14px;
  opacity: 0.90;
}
/* --- SFSロゴ最適化（PNG対応） --- */
.sfs-header-logo {
  padding: 12px 0;
  display: flex;
  align-items: center;
}

.sfs-logo {
  width: 240px;
  height: auto;
}

@media (max-width: 480px) {
  .sfs-logo {
    width: 180px;
  }
}
/* ============= HERO ============= */

.sfs-hero {
  background: #fff;
  padding: 25px 10px;
  border-bottom: 1px solid #eee;
}

.sfs-hero-inner {
  max-width: 1100px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 25px;
}

.sfs-hero-left img.sfs-hero-logo {
  width: 240px;
  height: auto;
}

.sfs-hero-center {
  flex: 1;
}

.sfs-hero-title {
  font-size: 26px;
  font-weight: 700;
  margin: 0;
}

.sfs-hero-sub {
  font-size: 18px;
  margin: 5px 0 3px;
}

.sfs-hero-area {
  color: #666;
  font-size: 14px;
}

.sfs-hero-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sfs-hero-btn {
  display: block;
  padding: 12px 18px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  border-radius: 6px;
  text-decoration: none;
}

.sfs-hero-btn.call {
  background: #0071bc;
  color: #fff;
}

.sfs-hero-btn.contact {
  background: #fff;
  border: 2px solid #0071bc;
  color: #0071bc;
}

/* --- スマホレスポンシブ --- */
@media (max-width: 768px) {
  .sfs-hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .sfs-hero-left img {
    margin-bottom: 10px;
  }

  .sfs-hero-right {
    width: 100%;
  }

  .sfs-hero-btn {
    width: 100%;
  }
}
/* ========== HERO セクション ========== */
.sfs-hero {
    background: #ffffff;
    padding: 40px 20px;
    text-align: center;
    border-bottom: 1px solid #e5e5e5;
}

.sfs-hero-inner {
    max-width: 680px;
    margin: 0 auto;
}

.sfs-hero-logo {
    width: 240px;
    margin: 0 auto 25px;
}

.sfs-hero-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.sfs-hero-title span {
    font-size: 18px;
    color: #0073e6;
}

.sfs-hero-lead {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
}

.sfs-hero-lead strong {
    color: #000;
}

.sfs-hero-ctas {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.sfs-btn-call,
.sfs-btn-form {
    padding: 12px 22px;
    border-radius: 8px;
    font-size: 16px;
    text-decoration: none;
    font-weight: 700;
}

.sfs-btn-call {
    background: #007bff;
    color: #fff;
}

.sfs-btn-form {
    background: #fff;
    border: 2px solid #007bff;
    color: #007bff;
}

/* スマホ */
@media (max-width: 480px) {
    .sfs-hero-title {
        font-size: 22px;
    }
    .sfs-hero-logo {
        width: 180px;
    }
    .sfs-btn-call,
    .sfs-btn-form {
        width: 100%;
        text-align: center;
    }
}
/* ============================
   SFS HERO ? 職人写真背景
   ============================ */
.sfs-hero {
  position: relative;
  width: 100%;
  height: 420px; /* 高さは自由に調整可 */
  background-image: url('https://sfs-suido.com/wp-content/uploads/2025/01/hero-worker.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* グラデーションで文字を読みやすく */
.sfs-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.4),
    rgba(0,0,0,0.1)
  );
}

.sfs-hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.sfs-hero-logo {
  width: 260px;
  margin-bottom: 20px;
}

.sfs-hero-title {
  font-size: 28px;
  line-height: 1.5;
  margin-bottom: 10px;
}

.sfs-hero-title span {
  font-size: 18px;
  display: block;
}

.sfs-hero-lead {
  font-size: 16px;
  margin-bottom: 20px;
}

.sfs-hero-ctas {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.sfs-btn-call,
.sfs-btn-form {
  padding: 12px 18px;
  border-radius: 6px;
  font-size: 16px;
  text-decoration: none;
  font-weight: bold;
}

.sfs-btn-call {
  background: #0086e0;
  color: #fff;
}

.sfs-btn-form {
  background: #fff;
  color: #0086e0;
  border: 2px solid #0086e0;
}
/* ========== 口コミの星（TOPページ） ========== */
.review-stars {
  font-size: 22px;
  line-height: 1;
  margin-bottom: 8px;
  color: #f5b301; /* 金色に変更 */
}

.review-stars .star.full {
  color: #f5b301; /* 満点は金色 */
}

.review-stars .star.half {
  color: #f5b301; /* 半分も金色 */
  opacity: 0.6;
}

.review-stars .star.empty {
  color: #ddd;     /* 空は薄グレー */
}

.review-score {
  font-size: 16px;
  color: #444;
  margin-left: 4px;
}
/* ========== TOP：口コミカードのデザイン強化 ========== */
.home-reviews .review-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0px 3px 10px rgba(0,0,0,0.08);
  transition: 0.2s;
}

.home-reviews .review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0px 6px 14px rgba(0,0,0,0.12);
}

.home-reviews .review-list {
  display: grid;
  gap: 20px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.service-grid .card {
  text-align: center;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform .2s, box-shadow .2s;
}

.service-grid .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.service-grid .service-icon {
  width: 86px;
  height: auto;
  margin-bottom: 10px;
}
/* ==== 口コミカード改善 ==== */
.home-reviews {
  margin: 50px auto;
  max-width: 1000px;
}

.review-list {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
}

.review-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  flex: 1 1 calc(33.333% - 20px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  transition: box-shadow .2s ease;
  min-height: 220px;
}

.review-card:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.review-stars i {
  font-size: 22px;
  color: #f7b500 !important; /* 明るい黄色 */
  margin-right: 2px;
}

.review-text {
  margin: 12px 0 18px;
  line-height: 1.6;
  color: #333;
  min-height: 60px;
}

.review-user {
  font-size: 14px;
  color: #666;
  font-weight: bold;
  margin-top: auto;
}

/* スマホ最適化 */
@media(max-width: 768px){
  .review-card {
    flex: 1 1 100%;
  }
}
/* ----------------------------
   スマホ固定電話ボタン
-----------------------------*/
.sfs-fixed-tel {
  display: none;
}

@media (max-width: 768px) {
  .sfs-fixed-tel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #007bff;
    text-align: center;
    padding: 12px 0;
    box-shadow: 0 -3px 10px rgba(0,0,0,0.1);
  }

  .sfs-fixed-tel a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
  }

  .sfs-fixed-tel .icon {
    font-size: 22px;
  }

  .sfs-fixed-tel .sub {
    font-size: 12px;
    font-weight: normal;
    opacity: 0.9;
    margin-left: 8px;
  }

  /* 追従バーで下のボタン隠れないように */
  body {
    padding-bottom: 70px;
  }
}
/* ===== 監修者セクション（Aタイプ） ===== */
.sfs-supervisor {
  background: #ffffff;
  padding: 60px 20px;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
}

.sfs-supervisor-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.sfs-supervisor-photo img {
  width: 260px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.sfs-supervisor-text {
  flex: 1;
  min-width: 300px;
}

.sfs-supervisor-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #003366;
  line-height: 1.4;
}

.sfs-supervisor-list {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
}

.sfs-supervisor-list li {
  font-size: 17px;
  padding-left: 20px;
  margin-bottom: 10px;
  position: relative;
}

.sfs-supervisor-list li::before {
  content: "?";
  color: #007bff;
  position: absolute;
  left: 0;
  top: 0;
}

.sfs-supervisor-badge img {
  width: 180px;
  display: block;
}
.sfs-supervisor-list li::before {
  content: "";
  width: 20px;
  height: 20px;
  background-image: url('/wp-content/themes/affinger-child/images/check-blue.png');
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  left: 0;
  top: 3px;
}
.sfs-supervisor {
  background: linear-gradient(135deg, #e7f6ff 0%, #f9fcff 100%);
  padding: 40px 20px;
  border-radius: 12px;
}
.sfs-supervisor-inner {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
/* ==============================
   監修者セクション
   ============================== */
.sfs-supervisor {
  margin: 40px auto 48px;
  padding: 24px 20px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(8, 34, 80, 0.08);
}

.sfs-supervisor-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  gap: 32px;
  align-items: center;
}

.sfs-supervisor-left {
  flex: 0 0 260px;
}

.sfs-supervisor-photo-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.sfs-supervisor-photo {
  width: 220px;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
  background: #f4f7fb;
}

.sfs-supervisor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* バッジ周り */
.sfs-supervisor-badges {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.sfs-badge-main,
.sfs-badge-sub {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-align: center;
  white-space: nowrap;
}

.sfs-badge-main {
  background: linear-gradient(135deg, #2A6FDB, #1E4FA3);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(30, 79, 163, 0.35);
}

.sfs-badge-sub {
  background: #eef4ff;
  color: #1E2A3C;
  border: 1px solid #d2def4;
  font-weight: 600;
}

/* 右側テキスト */
.sfs-supervisor-right {
  flex: 1;
}

.sfs-supervisor-label {
  display: inline-block;
  padding: 4px 10px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: #e7f3ff;
  color: #1E4FA3;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.sfs-supervisor-title {
  font-size: 21px;
  line-height: 1.6;
  font-weight: 700;
  color: #1E2A3C;
  margin: 0 0 16px;
}

/* リスト */
.sfs-supervisor-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.sfs-supervisor-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 14px;
  color: #222;
}

.sfs-check-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* フッター（名前など） */
.sfs-supervisor-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: baseline;
  font-size: 13px;
  color: #4a5667;
  border-top: 1px solid #edf2fb;
  padding-top: 10px;
}

.sfs-supervisor-name span {
  font-weight: 700;
}

.sfs-supervisor-role {
  opacity: 0.85;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .sfs-supervisor {
    margin: 24px 12px 32px;
    padding: 18px 14px;
  }

  .sfs-supervisor-inner {
    flex-direction: column;
    gap: 16px;
  }

  .sfs-supervisor-left {
    flex: 0 0 auto;
  }

  .sfs-supervisor-photo {
    width: 180px;
    border-radius: 20px;
  }

  .sfs-badge-main,
  .sfs-badge-sub {
    font-size: 10px;
  }

  .sfs-supervisor-title {
    font-size: 18px;
  }
}
/* ==============================
   SFS共通 H2 デザイン
   （記事本文・エリア・事例・口コミ）
   ============================== */
.entry-content h2,
.area-single h2,
.case-single h2,
.review-single h2 {
  position: relative;
  margin: 32px 0 16px;
  padding: 10px 14px 10px 16px;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 700;
  color: #1E2A3C;
  background: linear-gradient(90deg, #f3f7ff 0%, #ffffff 70%);
  border-left: 4px solid #1E4FA3;
  border-radius: 8px;
}

/* 下線のアクセント */
.entry-content h2::after,
.area-single h2::after,
.case-single h2::after,
.review-single h2::after {
  content: "";
  position: absolute;
  left: 16px;
  bottom: 6px;
  width: 60px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2A6FDB, rgba(42, 111, 219, 0));
}

/* スマホで少しだけ小さく */
@media (max-width: 768px) {
  .entry-content h2,
  .area-single h2,
  .case-single h2,
  .review-single h2 {
    margin: 26px 0 12px;
    padding: 8px 12px 8px 14px;
    font-size: 16px;
  }
}
/* 施工事例カード：グリッド & 大型表示 */
.top-case-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 8px;
}

.top-case-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(10, 37, 64, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.top-case-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(10, 37, 64, 0.12);
}

.top-case-thumb {
  position: relative;
  padding-top: 62%;
  overflow: hidden;
}

.top-case-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-case-body {
  padding: 12px 14px 14px;
}

.top-case-title {
  font-size: 14px;
  font-weight: 700;
  color: #1E2A3C;
  margin: 0 0 4px;
}

.top-case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: 11px;
  color: #6b7280;
  margin-bottom: 6px;
}

.top-case-price {
  font-size: 13px;
  font-weight: 700;
  color: #1E4FA3;
}

/* スマホで2列 → 1列 */
@media (max-width: 1024px) {
  .top-case-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .top-case-list {
    grid-template-columns: 1fr;
  }
}
/* 口コミセクション強調 */
.top-review-section {
  margin: 40px auto 48px;
  padding: 20px 16px 24px;
  background: radial-gradient(circle at top left, #e6f3ff 0%, #ffffff 52%);
  border-radius: 18px;
}

/* 口コミカード */
.top-review-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.top-review-card {
  background: #fff;
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  position: relative;
}

.top-review-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  color: #f59e0b;
  margin-bottom: 4px;
}

.top-review-rating span.stars {
  font-size: 14px; /* ★★★★★の表示など */
}

.top-review-title {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
  color: #111827;
}

.top-review-body {
  font-size: 12px;
  line-height: 1.6;
  color: #4b5563;
  max-height: 6em;
  overflow: hidden;
}

.top-review-meta {
  margin-top: 8px;
  font-size: 11px;
  color: #6b7280;
}

/* スマホ対応 */
@media (max-width: 1024px) {
  .top-review-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .top-review-list {
    grid-template-columns: 1fr;
  }
}
.sfs-supervisor-list li::before {
  content: none !important;
}
/* プロフィールページデザイン（Rank Mathと非干渉） */

.profile-hero {
  padding: 40px 20px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  margin-bottom: 40px;
}

.profile-hero-inner {
  display: flex;
  gap: 30px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.profile-hero-photo img {
  width: 250px;
  border-radius: 16px;
}

.profile-label {
  background: #e7f0ff;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: #1e4fa3;
}

.profile-title {
  margin: 12px 0 18px;
  font-size: 24px;
  font-weight: 700;
  color: #1e2a3c;
}

.profile-title span {
  font-size: 26px;
  font-weight: 800;
}

.profile-badges {
  list-style: none;
  padding: 0;
  margin: 0;
}

.profile-badges li {
  margin-bottom: 6px;
  padding-left: 20px;
  position: relative;
}

.profile-badges li::before {
  content: "?";
  position: absolute;
  left: 0;
  top: 0;
  color: #1e73d0;
  font-weight: 700;
}

.profile-section {
  margin: 40px auto;
  max-width: 900px;
  padding: 0 15px;
}

.profile-section h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  border-left: 4px solid #1e4fa3;
  padding-left: 10px;
}

.profile-list li {
  margin-bottom: 6px;
  padding-left: 20px;
  position: relative;
}

.profile-list li::before {
  content: "?";
  position: absolute;
  left: 0;
  top: 0;
  color: #1e73d0;
  font-weight: 700;
}

.profile-cta {
  text-align: center;
  margin: 50px 0;
}

.profile-cta-btn {
  background: linear-gradient(90deg, #2a6fdb, #1e4fa3);
  color: #fff;
  padding: 14px 26px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 8px 20px rgba(0, 44, 150, 0.3);
}
/* ===== プロフィール用リストのチェックマーク修正 ===== */

/* デフォルトの黒丸を消す */
.profile-badges,
.profile-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.profile-badges li,
.profile-list li {
  position: relative;
  padding-left: 20px; /* チェック分の余白 */
}

/* 文字ではなく「青い丸」を描画する */
.profile-badges li::before,
.profile-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;              /* 行の高さに合わせて微調整 */
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1e73d0;     /* 好きな青に変更OK */
}
.sfs-supervisor-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.sfs-supervisor-link:hover .sfs-supervisor {
  box-shadow: 0 12px 32px rgba(0, 44, 150, 0.12);
  transform: translateY(-2px);
  transition: all 0.2s ease;
  cursor: pointer;
}
/* ============================
   SFS専用 パンくずデザイン（Rank Math）
   ============================ */

/* パンくず全体 */
.rank-math-breadcrumb {
  font-size: 14px;
  color: #1e3a5f;
  margin: 10px 0 25px;
  background: #f9fbff;
  padding: 8px 12px;
  border-radius: 6px;
  border-left: 4px solid #2a6fdb;
  display: inline-block;
}

/* パンくずリンク */
.rank-math-breadcrumb a {
  color: #1e73d0;
  text-decoration: none;
  font-weight: 600;
}

.rank-math-breadcrumb a:hover {
  text-decoration: underline;
}

/* 区切り文字（? や /） */
.rank-math-breadcrumb .separator {
  margin: 0 6px;
  color: #8fa9c9;
}

/* 最後の階層（現在地） */
.rank-math-breadcrumb .last {
  color: #1e3a5f;
  font-weight: 700;
}

/* スマホ調整 */
@media screen and (max-width: 480px) {
  .rank-math-breadcrumb {
    font-size: 13px;
    padding: 6px 10px;
    border-left-width: 3px;
  }
}
/* ============================
   SFS専用 Rank Math パンくず（完全最適化）
   ============================ */

/* パンくず全体 */
.rank-math-breadcrumb {
  font-size: 13px;
  color: #1e3a5f;
  margin: 0 0 18px;
  background: #f4f8ff;
  padding: 6px 12px;
  border-radius: 6px;
  border-left: 4px solid #2a6fdb;
  display: inline-block;
  line-height: 1.5;
}

/* パンくずのリンク */
.rank-math-breadcrumb a {
  color: #1e73d0;
  font-weight: 600;
  text-decoration: none;
}

.rank-math-breadcrumb a:hover {
  text-decoration: underline;
}

/* 区切り文字 */
.rank-math-breadcrumb .separator {
  margin: 0 6px;
  color: #8699b8;
}

/* 現在地 */
.rank-math-breadcrumb .last {
  color: #1e3a5f;
  font-weight: 700;
}

/* スマホ最適化 */
@media (max-width: 480px) {
  .rank-math-breadcrumb {
    font-size: 12px;
    padding: 5px 10px;
  }
}
.st-breadcrumb,
.p-breadcrumb,
.entry-breadcrumb,
.post-breadcrumb,
.page-breadcrumb {
    display: none !important;
}
/* パンくずを本文と同じ幅に揃える */
.sfs-breadcrumb-wrap {
    max-width: 1080px; /* AFFINGERの本文幅に合わせる */
    margin: 0 auto 12px;
    padding-left: 15px;
}

/* パンくず本体も左端に揃う */
.rank-math-breadcrumb {
    margin-left: 0;
}
/* パンくずを本文幅に揃える（SFS最適化） */
.sfs-breadcrumb-wrap {
    width: 100%;
    max-width: var(--st-content-max-width, 1080px);
    margin: 0 auto 12px;
    padding-left: 15px;
}

.rank-math-breadcrumb {
    margin-left: 0;
}
.thanks-wrapper {
  display: flex;
  justify-content: center;
  padding: 60px 20px;
}

.thanks-card {
  max-width: 640px;
  background: #fff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  text-align: center;
}

.thanks-card h1 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #2b7bd0;
}

.thanks-card p {
  font-size: 16px;
  color: #555;
  margin-bottom: 16px;
}

.thanks-button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  background: #2b7bd0;
  color: #fff;
  border-radius: 6px;
  font-size: 17px;
  text-decoration: none;
  transition: 0.2s;
}

.thanks-button:hover {
  background: #1e66b2;
}

.thanks-link {
  display: block;
  margin-top: 16px;
  color: #333;
  text-decoration: underline;
}
.review-list { display: grid; gap: 24px; }
.review-card {
  padding: 20px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.review-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
  color: #666;
}
.review-rating { font-size: 16px; color:#ff9500; }
.review-post-title { font-size: 20px; margin: 6px 0; }
.review-readmore { color:#007aff; font-weight:bold; }
.review-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}

.review-stars .star.full {
  color: #FFD700;
  font-size: 20px;
}

.review-stars .star.empty {
  color: #cccccc;
  font-size: 20px;
}

.review-score {
  font-size: 14px;
  color: #666;
  margin-left: 6px;
}
.review-archive-wrap {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
}

.review-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.review-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.06);
    width: 100%;
}
.sfs-stars .star {
    font-size: 22px;
    margin-right: 2px;
    color: #ccc;
}

.sfs-stars .star.full {
    color: #f39c12; /* 金色 */
}

.sfs-stars .star.half {
    color: #f8c66a; /* 薄い金色 */
}

.sfs-stars .star.empty {
    color: #e0e0e0;
}
.sfs-stars .star {
    font-size: 22px;
    margin-right: 2px;
}

.sfs-stars .star.full {
    color: #f7b500 !important; /* 濃い金色 */
}

.sfs-stars .star.half {
    color: #f7d97a !important; /* 半分だけ薄い金色 */
}

.sfs-stars .star.empty {
    color: #ddd !important; /* 薄いグレー */
}
.review-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.review-item {
    text-decoration: none !important;
}
/* ------- アコーディオン全体 ------- */
.pref-accordion {
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  margin-bottom: 12px;
  background: #fff;
  overflow: hidden;
}

/* ------- 都道府県ボタン ------- */
.pref-toggle {
  width: 100%;
  background: #f7f9fb;
  padding: 14px 18px;
  font-size: 18px;
  font-weight: bold;
  text-align: left;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}

.pref-toggle:hover {
  background: #eef3f8;
}

.toggle-icon {
  font-size: 20px;
  transition: transform 0.3s;
}

/* ------- 開いた時のアイコン ------- */
.pref-accordion.active .toggle-icon {
  transform: rotate(45deg);
}

/* ------- 市区リスト表示エリア ------- */
.pref-content {
  display: none;
  padding: 10px 18px 18px;
}

/* ------- 市区リスト ------- */
.city-list {
  list-style: none;
  padding: 0;
  margin: 0;
  column-count: 2;
}

.city-list li {
  margin-bottom: 6px;
}

.city-list a {
  text-decoration: none;
  color: #0066cc;
}

.city-list a:hover {
  text-decoration: underline;
}

/* ------- スマホ時は1列にする ------- */
@media (max-width: 600px) {
  .city-list {
    column-count: 1;
  }
}
.top-news-section {
  margin: 60px 0;
  padding: 20px;
  background: #fafafa;
  border-radius: 8px;
}
.top-news-section h2 {
  margin-bottom: 15px;
  font-size: 22px;
  border-left: 5px solid #0073aa;
  padding-left: 10px;
}
.top-news-section ul li {
  margin-bottom: 8px;
}
.more-news {
  margin-top: 10px;
  text-align: right;
}

/* ===============================
   都道府県ページ 読みやすさ改善CSS
=============================== */

.area-pref .area-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #222;
}

/* リード文（イントロ） */
.area-pref .lead {
  background: #f7fbff;
  border: 1px solid #d6e6f5;
  padding: 18px 20px;
  line-height: 1.8;
  border-radius: 8px;
  margin-bottom: 30px;
  font-size: 16px;
}

/* 見出しの統一 */
.area-pref h2 {
  font-size: 22px;
  border-left: 6px solid #0073aa;
  padding-left: 10px;
  margin: 40px 0 20px;
  font-weight: 700;
  color: #222;
}

/* 子エリアのリストを読みやすく2カラムに */
.area-pref .area-links {
  list-style: none;
  padding-left: 0;
  columns: 2;
  -moz-columns: 2;
  -webkit-columns: 2;
}

.area-pref .area-links li {
  margin-bottom: 8px;
}

.area-pref .area-links a {
  color: #0073aa;
  text-decoration: none;
}
.area-pref .area-links a:hover {
  text-decoration: underline;
}

/* 注意喚起ボックス */
.area-warning-section .warning-box {
  background: #fff8e5;
  border-left: 5px solid #f0ad4e;
  padding: 18px 20px;
  border-radius: 4px;
  line-height: 1.8;
  font-size: 15px;
}

/* FAQブロック */
.area-faq-section .faq-item {
  margin-bottom: 12px;
}
.area-faq-section .faq-question {
  width: 100%;
  text-align: left;
  background: #f4f4f4;
  border: 1px solid #ddd;
  padding: 12px 14px;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  border-radius: 4px;
}
.area-faq-section .faq-answer {
  display: none;
  background: #fff;
  border: 1px solid #ddd;
  border-top: none;
  padding: 14px;
  line-height: 1.8;
  border-radius: 0 0 4px 4px;
}
.area-faq-section .faq-question.open {
  background: #e8f5ff;
  border-color: #90c8f7;
}
.area-faq-section .faq-question .arrow {
  transition: .2s;
}
.area-faq-section .faq-question.open .arrow {
  transform: rotate(180deg);
}

/* 信頼性リンク */
.authority-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap: 15px;
}
.authority-link {
  background: #f8f9fa;
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 6px;
  text-decoration: none;
  color: #333;
  font-size: 15px;
  transition: .2s;
}
.authority-link:hover {
  background: #0073aa;
  color: #fff;
}

/* お役立ち情報 リスト */
.sfs-info-list {
  list-style: disc;
  padding-left: 20px;
  line-height: 1.8;
}
.sfs-info-list li {
  margin-bottom: 8px;
}
.sfs-info-list a {
  color: #0073aa;
  font-weight: 500;
}

/* CTA */
.cta-box {
  background: #eef7ff;
  padding: 28px;
  text-align: center;
  margin-top: 45px;
  border-radius: 8px;
}
.cta-box h2 {
  font-size: 22px !important;
  border: none !important;
  padding-left: 0;
}
.cta-buttons {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 18px;
}
.cta-buttons .btn {
  padding: 10px 22px;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
}
.cta-buttons .btn-primary {
  background: #0073aa;
  color: #fff;
}
.cta-buttons .btn-secondary {
  background: #555;
  color: #fff;
}

/* スマホ最適化 */
@media (max-width: 600px) {
  .area-pref .area-links {
    columns: 1;
  }
  .faq-question {
    font-size: 14px;
  }
}
/* ページ全体を中央寄せ */
.area-pref .area-article {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}
/* 子ページ一覧ブロック */
.child-area-list {
  margin-bottom: 40px;
}

/* 2カラムで並べる（スマホは1カラム） */
.child-area-list .area-links {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px 20px;
}

/* リンクボックス */
.child-area-list .area-links li a {
  display: block;
  padding: 12px 16px;
  background: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 6px;
  color: #0073aa;
  font-size: 15px;
  text-decoration: none;
  transition: 0.2s;
}

.child-area-list .area-links li a:hover {
  background: #eaf6ff;
  border-color: #7bbef7;
}
