/*
Theme Name: 阿南市外壁塗装比較ガイド
Theme URI: https://example.com
Author: Anan Gaiheki Guide
Author URI: https://example.com
Description: 阿南市・徳島県の外壁塗装業者比較サイト専用テーマ。カスタム投稿タイプ「業者」対応。
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: anan-gaiheki
Tags: business, custom-post-types, responsive-layout
*/

/* ===========================
   CSS VARIABLES
=========================== */
:root {
  --navy: #0d2240;
  --navy-mid: #1a3a6b;
  --navy-light: #2b5ca8;
  --accent: #e8a020;
  --accent-light: #f5c85a;
  --white: #ffffff;
  --off-white: #f7f9fc;
  --gray-light: #edf1f7;
  --gray: #8a96a8;
  --text: #1a2233;
  --text-light: #5a6478;
  --success: #2a9d5c;
  --border: #d4dce9;
  --shadow: 0 4px 24px rgba(13,34,64,0.10);
  --shadow-lg: 0 12px 48px rgba(13,34,64,0.16);
}

/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'メイリオ', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 15px;
}

a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.85; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ===========================
   TYPOGRAPHY
=========================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Noto Serif JP', 'ヒラギノ明朝 Pro', serif;
  line-height: 1.4;
  color: var(--navy);
}

/* ===========================
   LAYOUT UTILITIES
=========================== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 64px 20px; }
.section-alt { background: var(--off-white); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,160,32,0.12);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  border: 1px solid rgba(232,160,32,0.3);
}

.section-title {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.section-desc {
  color: var(--text-light);
  font-size: 14px;
  max-width: 600px;
  margin-bottom: 40px;
}

/* ===========================
   HEADER
=========================== */
#site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.logo-icon {
  width: 36px; height: 36px;
  background: var(--accent);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.logo-text {
  color: var(--white);
  font-weight: 900;
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  font-family: 'Noto Sans JP', sans-serif;
}

.logo-text span {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.08em;
}

/* Desktop Nav */
.site-nav { display: flex; gap: 4px; align-items: center; }

.site-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.2s;
  white-space: nowrap;
  font-family: 'Noto Sans JP', sans-serif;
}

.site-nav a:hover { background: rgba(255,255,255,0.12); color: white; opacity: 1; }

.site-nav .nav-cta {
  background: var(--accent) !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
}

.site-nav .nav-cta:hover { background: var(--accent-light) !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: white;
  border-radius: 2px;
  transition: 0.3s;
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--navy-mid);
  padding: 8px 16px 16px;
}

.mobile-nav.is-open { display: flex; }

.mobile-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-family: 'Noto Sans JP', sans-serif;
}

.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav .nav-cta { color: #f5c85a !important; }

/* ===========================
   TRUST BAR
=========================== */
.trust-bar {
  background: var(--navy-mid);
  padding: 14px 20px;
}

.trust-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  font-weight: 500;
}

/* ===========================
   HERO
=========================== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #1e4d8c 100%);
  padding: 80px 20px 64px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(232,160,32,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(232,160,32,0.2);
  border: 1px solid rgba(232,160,32,0.5);
  color: var(--accent-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  color: white;
  line-height: 1.4;
  margin-bottom: 20px;
}

.hero h1 em {
  color: var(--accent-light);
  font-style: normal;
}

.hero-desc {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 32px;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.btn-primary {
  background: var(--accent);
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-family: 'Noto Sans JP', sans-serif;
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,160,32,0.4);
  opacity: 1;
}

.btn-outline {
  background: transparent;
  color: white;
  font-weight: 600;
  font-size: 14px;
  padding: 13px 24px;
  border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Noto Sans JP', sans-serif;
}

.btn-outline:hover {
  border-color: white;
  background: rgba(255,255,255,0.08);
  opacity: 1;
}

.hero-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.stat-num {
  font-size: 26px;
  font-weight: 900;
  color: var(--accent-light);
  line-height: 1;
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
}

.stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.05em;
}

/* Hero Visual (right panel) */
.hero-visual {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 28px;
  backdrop-filter: blur(10px);
}

.hero-card-title {
  color: rgba(255,255,255,0.6);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-family: 'Noto Sans JP', sans-serif;
}

.mini-ranking { display: flex; flex-direction: column; gap: 10px; }

.mini-rank-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 11px 14px;
  border: 1px solid rgba(255,255,255,0.08);
}

.mini-rank-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  font-weight: 900;
  flex-shrink: 0;
  font-family: 'Noto Sans JP', sans-serif;
}

.rank-1 { background: linear-gradient(135deg, #FFD700, #FFA500); color: #5a3800; }
.rank-2 { background: linear-gradient(135deg, #E8E8E8, #B0B0B0); color: #3a3a3a; }
.rank-3 { background: linear-gradient(135deg, #D4946A, #B06A40); color: #fff; }

.mini-rank-info { flex: 1; min-width: 0; }
.mini-rank-name { color: white; font-size: 13px; font-weight: 700; font-family: 'Noto Sans JP', sans-serif; }
.mini-rank-sub { color: rgba(255,255,255,0.55); font-size: 11px; }
.mini-rank-stars { color: var(--accent-light); font-size: 13px; }

/* ===========================
   RANKING CARDS
=========================== */
.ranking-list { display: flex; flex-direction: column; gap: 24px; }

.rank-card {
  background: white;
  border-radius: 16px;
  border: 1.5px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: 0.25s;
  position: relative;
}

.rank-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--navy-light);
}

.recommended-badge {
  position: absolute;
  top: 0; right: 24px;
  background: var(--accent);
  color: var(--navy);
  font-size: 11px;
  font-weight: 900;
  padding: 4px 12px 6px;
  border-radius: 0 0 8px 8px;
  letter-spacing: 0.05em;
  font-family: 'Noto Sans JP', sans-serif;
  z-index: 1;
}

.rank-card-top {
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.rank-badge-large {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  font-family: 'Noto Sans JP', sans-serif;
}

.rank-badge-large.gold { background: linear-gradient(135deg, #FFD700, #FFA500); color: #5a3800; }
.rank-badge-large.silver { background: linear-gradient(135deg, #E8E8E8, #B0B0B0); color: #3a3a3a; }
.rank-badge-large.bronze { background: linear-gradient(135deg, #D4946A, #B06A40); color: white; }
.rank-badge-large.other { background: rgba(255,255,255,0.15); color: white; }

.rank-card-info { flex: 1; }
.rank-card-name { font-size: 18px; font-weight: 700; color: white; font-family: 'Noto Serif JP', serif; }
.rank-card-sub { font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 2px; font-family: 'Noto Sans JP', sans-serif; }

.rank-card-score { text-align: right; flex-shrink: 0; }
.rank-score-stars { color: var(--accent-light); font-size: 15px; letter-spacing: 1px; display: block; }
.rank-score-num { color: white; font-size: 22px; font-weight: 900; display: block; line-height: 1; margin-top: 2px; font-family: 'Noto Sans JP', sans-serif; }
.rank-score-label { color: rgba(255,255,255,0.55); font-size: 11px; display: block; }

.rank-card-body { padding: 20px 24px; }

.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.compare-item {
  background: var(--off-white);
  border-radius: 10px;
  padding: 11px 13px;
  border: 1px solid var(--border);
}

.compare-item-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--gray);
  letter-spacing: 0.06em;
  margin-bottom: 4px;
  font-family: 'Noto Sans JP', sans-serif;
}

.compare-item-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  font-family: 'Noto Sans JP', sans-serif;
}

.compare-item-value.price { color: var(--navy-light); }

/* Tags */
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }

.tag {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  font-family: 'Noto Sans JP', sans-serif;
}

.tag-navy { background: rgba(13,34,64,0.08); color: var(--navy); border: 1px solid rgba(13,34,64,0.15); }
.tag-green { background: rgba(42,157,92,0.1); color: var(--success); border: 1px solid rgba(42,157,92,0.25); }
.tag-accent { background: rgba(232,160,32,0.12); color: #8a5c00; border: 1px solid rgba(232,160,32,0.3); }

.rank-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.guarantee-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--success);
  font-family: 'Noto Sans JP', sans-serif;
}

.btn-detail {
  background: var(--navy);
  color: white;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-family: 'Noto Sans JP', sans-serif;
}

.btn-detail:hover { background: var(--navy-light); transform: translateY(-1px); opacity: 1; color: white; }

/* ===========================
   COMPARISON TABLE
=========================== */
.compare-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--border);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  min-width: 700px;
}

.compare-table thead tr { background: var(--navy); color: white; }

.compare-table th {
  padding: 14px 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
  font-family: 'Noto Sans JP', sans-serif;
}

.compare-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  vertical-align: middle;
  font-family: 'Noto Sans JP', sans-serif;
}

.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) td { background: var(--off-white); }
.compare-table tr:hover td { background: rgba(43,92,168,0.05); }

.company-cell { font-weight: 700; color: var(--navy); }
.price-cell { font-weight: 700; color: var(--navy-light); }
.check-icon { color: var(--success); font-size: 16px; }
.cross-icon { color: #ccc; font-size: 14px; }

/* ===========================
   SINGLE COMPANY (業者詳細)
=========================== */
.breadcrumb {
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  padding: 10px 20px;
}

.breadcrumb-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--gray);
  font-family: 'Noto Sans JP', sans-serif;
}

.breadcrumb-inner a { color: var(--navy-light); }
.breadcrumb-inner a:hover { color: var(--navy); opacity: 1; }

.company-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1e4d8c 100%);
  padding: 48px 20px;
}

.company-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: start;
}

.company-logo-box {
  width: 80px; height: 80px;
  background: white;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  flex-shrink: 0;
  overflow: hidden;
}

.company-logo-box img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }

.company-rank-label {
  color: rgba(255,255,255,0.55);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
  font-family: 'Noto Sans JP', sans-serif;
}

.company-hero-name {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.company-meta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }

.meta-chip {
  display: flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);
  font-size: 12px; font-weight: 600;
  padding: 4px 12px; border-radius: 20px;
  font-family: 'Noto Sans JP', sans-serif;
}

.company-score-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: 16px 20px;
  text-align: center;
  backdrop-filter: blur(8px);
}

.score-big { font-size: 36px; font-weight: 900; color: var(--accent-light); line-height: 1; font-family: 'Noto Sans JP', sans-serif; }
.score-stars-lg { font-size: 18px; color: var(--accent-light); margin: 4px 0; }
.score-count { font-size: 11px; color: rgba(255,255,255,0.55); font-family: 'Noto Sans JP', sans-serif; }
.score-platform { color: white; font-weight: 700; font-size: 13px; margin-bottom: 2px; font-family: 'Noto Sans JP', sans-serif; }

/* Company Sticky Nav */
.company-sticky-nav {
  background: white;
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 64px;
  z-index: 50;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.company-sticky-nav ul {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 0;
}

.company-sticky-nav a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: 0.2s;
  font-family: 'Noto Sans JP', sans-serif;
}

.company-sticky-nav a:hover { color: var(--navy); opacity: 1; }
.company-sticky-nav a.active { color: var(--navy); border-bottom-color: var(--navy); font-weight: 700; }

/* Company Body Layout */
.company-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
}

.detail-card {
  background: white;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.detail-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Noto Sans JP', sans-serif;
}

.info-row {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.info-row:last-child { border-bottom: none; }

.info-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--gray);
  min-width: 110px;
  padding-top: 2px;
  flex-shrink: 0;
  font-family: 'Noto Sans JP', sans-serif;
}

.info-value { font-size: 14px; font-weight: 500; color: var(--text); font-family: 'Noto Sans JP', sans-serif; }

/* Sidebar */
.company-sidebar { position: sticky; top: 120px; }

.sidebar-card {
  background: white;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  padding: 20px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

.sidebar-price {
  text-align: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.price-label { font-size: 11px; color: var(--gray); font-weight: 700; letter-spacing: 0.08em; font-family: 'Noto Sans JP', sans-serif; }
.price-range { font-size: 22px; font-weight: 900; color: var(--navy-light); margin: 4px 0; font-family: 'Noto Sans JP', sans-serif; }
.price-per { font-size: 11px; color: var(--gray); font-family: 'Noto Sans JP', sans-serif; }

.btn-quote {
  width: 100%;
  background: var(--accent);
  color: var(--navy);
  font-weight: 900;
  font-size: 15px;
  padding: 14px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: 0.2s;
  margin-bottom: 10px;
  display: block;
  text-align: center;
  font-family: 'Noto Sans JP', sans-serif;
}

.btn-quote:hover { background: var(--accent-light); transform: translateY(-1px); opacity: 1; color: var(--navy); }

.btn-site {
  width: 100%;
  background: transparent;
  color: var(--navy);
  font-weight: 700;
  font-size: 13px;
  padding: 11px;
  border-radius: 10px;
  border: 1.5px solid var(--navy);
  cursor: pointer;
  transition: 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-family: 'Noto Sans JP', sans-serif;
}

.btn-site:hover { background: var(--navy); color: white; opacity: 1; }

.sidebar-info-row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  font-size: 12px;
  color: var(--text-light);
  font-family: 'Noto Sans JP', sans-serif;
}

.sidebar-info-row strong { color: var(--navy); }

/* Alert Boxes */
.alert-box {
  background: rgba(42,157,92,0.08);
  border: 1.5px solid rgba(42,157,92,0.25);
  border-left: 4px solid var(--success);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 13px;
  color: #1a5c36;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 20px;
  font-family: 'Noto Sans JP', sans-serif;
}

.warn-box {
  background: #fff8e1;
  border: 1.5px solid #ffe082;
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 13px;
  color: #5a4000;
  margin-bottom: 24px;
  font-family: 'Noto Sans JP', sans-serif;
}

/* Reviews */
.review-item {
  background: var(--off-white);
  border-radius: 10px;
  padding: 16px;
  border: 1px solid var(--border);
  margin-bottom: 14px;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.reviewer-name { font-size: 14px; font-weight: 700; font-family: 'Noto Sans JP', sans-serif; }
.review-stars { color: var(--accent); font-size: 14px; }
.review-text { font-size: 13px; color: var(--text-light); line-height: 1.7; font-family: 'Noto Sans JP', sans-serif; }
.review-note { font-size: 11px; color: var(--gray); margin-top: 10px; font-family: 'Noto Sans JP', sans-serif; }

/* Process Steps */
.process-steps { display: flex; flex-direction: column; gap: 14px; }

.process-step { display: flex; gap: 14px; align-items: flex-start; }

.step-num {
  width: 30px; height: 30px;
  background: var(--navy);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  flex-shrink: 0;
  font-family: 'Noto Sans JP', sans-serif;
}

.step-content { flex: 1; }
.step-title { font-weight: 700; font-size: 14px; color: var(--navy); font-family: 'Noto Sans JP', sans-serif; }
.step-desc { font-size: 13px; color: var(--text-light); margin-top: 2px; font-family: 'Noto Sans JP', sans-serif; }

/* ===========================
   GUIDE PAGE
=========================== */
.guide-hero {
  background: linear-gradient(120deg, #f0f4fa 0%, #e8f0fe 100%);
  border-bottom: 1px solid var(--border);
  padding: 56px 20px;
}

.guide-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.guide-card {
  background: white;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: 0.2s;
}

.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.guide-card-icon { font-size: 32px; margin-bottom: 12px; }
.guide-card-title { font-weight: 700; font-size: 16px; color: var(--navy); margin-bottom: 8px; font-family: 'Noto Sans JP', sans-serif; }
.guide-card-text { font-size: 13px; color: var(--text-light); line-height: 1.7; font-family: 'Noto Sans JP', sans-serif; }

/* Price Table Guide */
.price-table-guide {
  background: white;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 32px;
  overflow-x: auto;
}

.price-table-guide table { width: 100%; border-collapse: collapse; min-width: 500px; }
.price-table-guide thead tr { background: var(--navy); color: white; }

.price-table-guide th,
.price-table-guide td {
  padding: 13px 20px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  font-family: 'Noto Sans JP', sans-serif;
}

.price-table-guide th { font-size: 12px; font-weight: 700; letter-spacing: 0.05em; }
.price-table-guide tr:last-child td { border-bottom: none; }
.price-table-guide tr:nth-child(even) td { background: var(--off-white); }

/* Checklist */
.checklist { display: flex; flex-direction: column; gap: 10px; }

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: white;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  padding: 14px 16px;
  font-size: 14px;
  font-family: 'Noto Sans JP', sans-serif;
}

.ci-check { font-size: 18px; flex-shrink: 0; }

/* ===========================
   FAQ
=========================== */
.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: white;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  overflow: hidden;
}

.faq-q {
  padding: 16px 20px;
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  transition: 0.2s;
  font-family: 'Noto Sans JP', sans-serif;
}

.faq-q:hover { background: var(--off-white); }
.faq-q-icon { color: var(--accent); font-weight: 900; flex-shrink: 0; font-size: 16px; }
.faq-toggle { margin-left: auto; color: var(--gray); font-size: 18px; flex-shrink: 0; transition: 0.3s; }

.faq-item.open .faq-toggle { transform: rotate(180deg); }

.faq-a {
  padding: 0 20px 16px 44px;
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.8;
  display: none;
  font-family: 'Noto Sans JP', sans-serif;
}

.faq-item.open .faq-a { display: block; }

/* ===========================
   CONTACT PAGE
=========================== */
.contact-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 56px 20px;
  text-align: center;
}

.contact-hero h1 { color: white; font-size: clamp(24px, 4vw, 36px); margin-bottom: 12px; }
.contact-hero p { color: rgba(255,255,255,0.75); font-size: 15px; font-family: 'Noto Sans JP', sans-serif; }

.contact-layout {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 20px;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.contact-info-card {
  background: white;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow);
}

.contact-icon { font-size: 32px; margin-bottom: 10px; }
.contact-info-title { font-weight: 700; font-size: 14px; color: var(--navy); margin-bottom: 4px; font-family: 'Noto Sans JP', sans-serif; }
.contact-info-value { font-size: 13px; color: var(--text-light); font-family: 'Noto Sans JP', sans-serif; }

/* Contact Form */
.contact-form-wrap {
  background: white;
  border-radius: 16px;
  border: 1.5px solid var(--border);
  padding: 32px;
  box-shadow: var(--shadow);
}

.form-title { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.form-desc { font-size: 13px; color: var(--text-light); margin-bottom: 24px; font-family: 'Noto Sans JP', sans-serif; }

.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  font-family: 'Noto Sans JP', sans-serif;
}

.form-label .required {
  background: #e74c3c;
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  font-weight: 700;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  color: var(--text);
  background: white;
  transition: border-color 0.2s;
  font-family: 'Noto Sans JP', sans-serif;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--navy-light);
  box-shadow: 0 0 0 3px rgba(43,92,168,0.12);
}

.form-textarea { resize: vertical; min-height: 120px; }

.btn-submit {
  width: 100%;
  background: var(--navy);
  color: white;
  font-weight: 700;
  font-size: 16px;
  padding: 16px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: 0.2s;
  font-family: 'Noto Sans JP', sans-serif;
}

.btn-submit:hover { background: var(--navy-light); transform: translateY(-1px); }

/* CF7 & Default WP Form Styles */
.wpcf7-form .wpcf7-not-valid-tip { color: #e74c3c; font-size: 12px; margin-top: 4px; display: block; font-family: 'Noto Sans JP', sans-serif; }
.wpcf7-form .wpcf7-response-output { padding: 12px 16px; border-radius: 8px; margin-top: 16px; font-family: 'Noto Sans JP', sans-serif; font-size: 13px; }

/* ===========================
   WORDPRESS SPECIFIC
=========================== */
.wp-block-image { margin: 24px 0; }
.entry-content h2 { font-size: 22px; margin: 32px 0 16px; padding-bottom: 8px; border-bottom: 2px solid var(--navy); }
.entry-content h3 { font-size: 18px; margin: 24px 0 12px; }
.entry-content p { margin-bottom: 16px; font-family: 'Noto Sans JP', sans-serif; }
.entry-content ul, .entry-content ol { padding-left: 24px; margin-bottom: 16px; font-family: 'Noto Sans JP', sans-serif; }
.entry-content ul li { list-style: disc; margin-bottom: 6px; }
.entry-content ol li { list-style: decimal; margin-bottom: 6px; }

/* ===========================
   FOOTER
=========================== */
#site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 48px 20px 24px;
}

.footer-inner { max-width: 1100px; margin: 0 auto; }

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  color: white;
  font-size: 17px;
  font-weight: 900;
  margin-bottom: 12px;
  font-family: 'Noto Sans JP', sans-serif;
}

.footer-desc { font-size: 13px; line-height: 1.8; font-family: 'Noto Sans JP', sans-serif; }

.footer-col-title {
  color: white;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
  font-family: 'Noto Sans JP', sans-serif;
}

.footer-links { display: flex; flex-direction: column; gap: 8px; }

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  transition: 0.2s;
  font-family: 'Noto Sans JP', sans-serif;
}

.footer-links a:hover { color: white; opacity: 1; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy { font-size: 12px; font-family: 'Noto Sans JP', sans-serif; }

.disclaimer {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  max-width: 600px;
  line-height: 1.6;
  font-family: 'Noto Sans JP', sans-serif;
}

/* ===========================
   PAGINATION
=========================== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  border: 1.5px solid var(--border);
  background: white;
  transition: 0.2s;
  font-family: 'Noto Sans JP', sans-serif;
}

.page-numbers:hover { background: var(--navy); color: white; border-color: var(--navy); opacity: 1; }
.page-numbers.current { background: var(--navy); color: white; border-color: var(--navy); }

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .site-nav { display: none; }
  .hamburger { display: flex; }

  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { display: none; }

  .compare-grid { grid-template-columns: 1fr 1fr; }

  .guide-cards { grid-template-columns: 1fr; }

  .company-body { grid-template-columns: 1fr; }
  .company-sidebar { position: static; }

  .company-hero-inner { grid-template-columns: auto 1fr; }
  .company-score-card { display: none; }

  .contact-info-grid { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 480px) {
  .compare-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .hero-stats { gap: 16px; }
  .rank-card-footer { flex-direction: column; align-items: flex-start; }
  .rank-card-top { flex-wrap: wrap; }
}

/* ===========================
   掲載業者一覧（company-list）
=========================== */
.company-list-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;           /* カード間を広めに */
}

/* カード全体 */
.cl-item {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  overflow: hidden;    /* 上帯の角丸を効かせる */
  box-shadow: var(--shadow);
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}

.cl-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--navy-light);
}

/* ── 上帯（ネイビー）── */
.cl-head {
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.cl-name {
  flex: 1;
  font-size: 17px;
  font-weight: 900;
  color: #ffffff;
  font-family: 'Noto Serif JP', serif;
  line-height: 1.3;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Google評価（上帯内・右寄せ） */
.cl-score {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  white-space: nowrap;
}

.cl-score-stars {
  color: var(--accent-light);
  font-size: 13px;
  letter-spacing: 1px;
  font-family: 'Noto Sans JP', sans-serif;
}

.cl-score-num {
  font-size: 17px;
  font-weight: 900;
  color: #ffffff;
  font-family: 'Noto Sans JP', sans-serif;
}

.cl-score-count {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  font-family: 'Noto Sans JP', sans-serif;
}

.cl-score-none {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  font-family: 'Noto Sans JP', sans-serif;
}

/* ── 下部（白エリア）── */
.cl-body {
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* エリア＋タグ（左側・伸びる） */
.cl-meta {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
}

.cl-area {
  font-size: 12px;
  color: var(--text-light);
  white-space: nowrap;
  font-family: 'Noto Sans JP', sans-serif;
  flex-shrink: 0;
}

.cl-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

/* ボタン（右側・固定幅） */
.cl-action {
  flex-shrink: 0;
}

/* スマホ */
@media (max-width: 600px) {
  .cl-head {
    padding: 12px 14px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .cl-name {
    white-space: normal;
    width: 100%;
    font-size: 15px;
  }
  .cl-body {
    padding: 12px 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .cl-action {
    width: 100%;
  }
  .cl-action .btn-detail {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}
