/* =========================================================
   【名古屋】舗装工事業者比較センター 共通スタイル
   カラー：緑系（信頼・安心・地域密着）
   ターゲット：30〜50代男性 / 読みやすさ重視
   ========================================================= */

:root {
  --green-900: #1b4332;
  --green-800: #245c3e;
  --green-700: #2d6a4f;
  --green-600: #40916c;
  --green-500: #52b788;
  --green-100: #d8f3dc;
  --green-50:  #eef7f1;
  --accent:    #ff7a18;       /* CVボタン用アクセント（オレンジ） */
  --accent-dark:#e85d04;
  --text:      #1f2d28;
  --text-sub:  #4a5a53;
  --bg-light:  #f6faf7;
  --white:     #ffffff;
  --border:    #d6e3da;
  --shadow:    0 6px 24px rgba(27, 67, 50, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--text);
  line-height: 1.9;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  letter-spacing: 0.02em;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== セクション共通 ===== */
.section { padding: 70px 0; }
.section--tint { background: var(--bg-light); }
.section--green { background: var(--green-700); color: #fff; }

.section-head { text-align: center; margin-bottom: 44px; }
.section-head .eyebrow {
  display: inline-block;
  color: var(--green-600);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  margin-bottom: 10px;
}
.section-head h2 {
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.5;
  color: var(--green-900);
}
.section--green .section-head h2,
.section--green .section-head .eyebrow { color: #fff; }
.section-head h2 .hl {
  color: var(--accent-dark);
  border-bottom: 4px solid var(--green-500);
  padding-bottom: 2px;
}

/* ===== ヘッダー ===== */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--green-800); }
.logo i { color: var(--green-600); font-size: 1.4rem; }
.logo .logo-area { font-size: 0.78rem; color: var(--green-600); display:block; line-height:1.2;}
.logo .logo-name { font-size: 1.05rem; line-height:1.2;}
.header-nav { display: flex; align-items: center; gap: 22px; }
.header-nav a { font-size: 0.92rem; font-weight: 600; color: var(--text-sub); }
.header-nav a:hover { color: var(--green-600); }
.header-cta {
  background: var(--accent); color: #fff !important; font-weight: 700;
  padding: 10px 18px; border-radius: 8px; font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(255,122,24,0.35);
  transition: .2s;
}
.header-cta:hover { background: var(--accent-dark); transform: translateY(-1px); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; color: var(--green-800); cursor: pointer; }

/* ===== CVボタン共通 ===== */
.btn-cv {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  background: linear-gradient(180deg, #ff8f3c, var(--accent));
  color: #fff; font-weight: 800; font-size: 1.25rem;
  padding: 20px 40px; border-radius: 12px;
  box-shadow: 0 8px 22px rgba(232,93,4,0.4);
  transition: .25s; text-align: center; line-height: 1.4;
  border: none; cursor: pointer;
}
.btn-cv:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(232,93,4,0.5); }
.btn-cv .sub { display:block; font-size: 0.8rem; font-weight: 600; opacity: 0.95; }
.btn-cv i { font-size: 1.2rem; }
.cv-note { text-align: center; margin-top: 14px; font-size: 0.88rem; color: var(--text-sub); }
.section--green .cv-note { color: #d8f3dc; }
.pulse { animation: pulse 1.8s infinite; }
@keyframes pulse {
  0%   { box-shadow: 0 8px 22px rgba(232,93,4,0.4); }
  50%  { box-shadow: 0 8px 28px rgba(232,93,4,0.7); }
  100% { box-shadow: 0 8px 22px rgba(232,93,4,0.4); }
}

/* ===== ヒーロー ===== */
.hero {
  position: relative;
  background: linear-gradient(rgba(27,67,50,0.78), rgba(45,106,79,0.72)),
              url('https://nagoyahosou.mirai-force.com/img/jirei1.jpg') center/cover no-repeat;
  color: #fff;
  padding: 64px 0 72px;
}
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.hero-badge {
  background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.4);
  padding: 6px 14px; border-radius: 30px; font-size: 0.85rem; font-weight: 600;
}
.hero-badge i { color: #ffd166; margin-right: 6px; }
.hero h1 {
  font-size: 2.5rem; font-weight: 900; line-height: 1.45;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3); margin-bottom: 18px;
}
.hero h1 .big { color: #ffd166; font-size: 1.15em; }
.hero h1 .free {
  background: var(--accent); padding: 2px 12px; border-radius: 8px;
  display: inline-block; font-size: 0.85em;
}
.hero-sub { font-size: 1.05rem; line-height: 1.8; margin-bottom: 30px; text-shadow: 0 1px 6px rgba(0,0,0,0.4); }
.hero-sub strong { color: #ffd166; }
.hero-cta-wrap { max-width: 560px; }

/* ===== お悩み ===== */
.worry-list {
  max-width: 760px; margin: 0 auto;
  display: grid; gap: 14px;
}
.worry-item {
  display: flex; align-items: flex-start; gap: 14px;
  background: #fff; border: 1px solid var(--border); border-left: 5px solid var(--green-500);
  border-radius: 10px; padding: 16px 20px; box-shadow: var(--shadow);
  font-weight: 600; color: var(--text);
}
.worry-item i { color: var(--green-600); font-size: 1.3rem; margin-top: 2px; }
.worry-solve {
  max-width: 760px; margin: 34px auto 0; text-align: center;
  background: var(--green-700); color: #fff; padding: 28px 24px; border-radius: 14px;
  font-size: 1.15rem; font-weight: 700; line-height: 1.8; box-shadow: var(--shadow);
}
.worry-solve .em { color: #ffd166; }

/* ===== 選ばれる理由 ===== */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.reason-card {
  background: #fff; border-radius: 16px; padding: 32px 24px; text-align: center;
  box-shadow: var(--shadow); border-top: 5px solid var(--green-500); position: relative;
}
.reason-num {
  position: absolute; top: -22px; left: 50%; transform: translateX(-50%);
  width: 44px; height: 44px; background: var(--green-600); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.2rem; box-shadow: 0 4px 10px rgba(45,106,79,0.4);
}
.reason-icon { font-size: 2.6rem; color: var(--green-600); margin: 12px 0 16px; }
.reason-card h3 { font-size: 1.2rem; color: var(--green-900); margin-bottom: 12px; line-height: 1.5; }
.reason-card p { font-size: 0.94rem; color: var(--text-sub); text-align: left; }

/* ===== 対応工事テーブル ===== */
.table-wrap { overflow-x: auto; box-shadow: var(--shadow); border-radius: 14px; }
.svc-table { width: 100%; border-collapse: collapse; background: #fff; min-width: 600px; }
.svc-table th, .svc-table td { padding: 18px 20px; text-align: left; vertical-align: top; }
.svc-table thead th { background: var(--green-700); color: #fff; font-size: 1rem; }
.svc-table tbody tr { border-bottom: 1px solid var(--border); }
.svc-table tbody tr:nth-child(even) { background: var(--green-50); }
.svc-table td.type { font-weight: 700; color: var(--green-800); width: 30%; }
.svc-table td.type i { color: var(--green-500); margin-right: 6px; }
.svc-table ul { list-style: none; }
.svc-table li { position: relative; padding-left: 22px; margin-bottom: 6px; font-size: 0.93rem; }
.svc-table li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; color: var(--green-500); }

/* ===== 比較（アスファルト vs コンクリート） ===== */
.compare-img { border-radius: 14px; box-shadow: var(--shadow); margin-bottom: 30px; }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare-card {
  background: #fff; border-radius: 14px; padding: 28px; box-shadow: var(--shadow);
  border-top: 5px solid var(--green-500);
}
.compare-card h3 { font-size: 1.3rem; color: var(--green-900); margin-bottom: 14px; display:flex; align-items:center; gap:10px;}
.compare-card h3 i { color: var(--green-600); }
.compare-card ul { list-style: none; }
.compare-card li { padding-left: 26px; position: relative; margin-bottom: 10px; font-size: 0.96rem; }
.compare-card li::before { content: "\f058"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; color: var(--green-500); }
.compare-note {
  max-width: 820px; margin: 30px auto 0; text-align:center; background: var(--green-100);
  border-radius: 12px; padding: 22px; color: var(--green-900); font-weight: 600;
}
.compare-note i { color: var(--green-600); margin-right: 8px; }

/* ===== 流れ 3ステップ ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-card {
  background: #fff; border-radius: 16px; padding: 30px 24px; text-align: center;
  box-shadow: var(--shadow); position: relative;
}
.step-badge {
  display: inline-block; background: var(--green-600); color: #fff; font-weight: 800;
  padding: 6px 18px; border-radius: 30px; font-size: 0.9rem; margin-bottom: 16px;
}
.step-icon { font-size: 2.8rem; color: var(--green-600); margin-bottom: 14px; }
.step-card h3 { font-size: 1.15rem; color: var(--green-900); margin-bottom: 10px; }
.step-card p { font-size: 0.92rem; color: var(--text-sub); }
.step-arrow { display: none; }

/* ===== 施工事例 ===== */
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.case-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.case-card img { height: 220px; object-fit: cover; width: 100%; }
.case-body { padding: 24px; }
.case-area { display: inline-block; background: var(--green-100); color: var(--green-800); font-weight: 700; font-size: 0.85rem; padding: 4px 12px; border-radius: 20px; margin-bottom: 12px; }
.case-body h3 { font-size: 1.15rem; color: var(--green-900); margin-bottom: 12px; }
.case-detail { font-size: 0.92rem; color: var(--text-sub); margin-bottom: 14px; }
.case-price {
  background: var(--green-50); border-radius: 10px; padding: 14px 16px; margin-bottom: 14px;
  font-size: 0.95rem; display:flex; align-items:center; flex-wrap:wrap; gap: 8px;
}
.case-price .before { color: #999; text-decoration: line-through; }
.case-price .arrow { color: var(--green-600); font-weight:800; }
.case-price .after { color: var(--accent-dark); font-weight: 800; font-size: 1.1rem; }
.case-price .down { background: var(--accent); color:#fff; font-size:0.8rem; padding:2px 10px; border-radius: 20px; font-weight:700;}
.case-voice { font-size: 0.9rem; color: var(--text-sub); background:#fff; border-left: 3px solid var(--green-500); padding-left: 12px; font-style: italic;}

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 12px; margin-bottom: 14px; overflow: hidden; box-shadow: 0 2px 8px rgba(27,67,50,0.06); }
.faq-q {
  display: flex; align-items: center; gap: 14px; padding: 20px; cursor: pointer;
  font-weight: 700; color: var(--green-900); font-size: 1.02rem; list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q .qmark { background: var(--green-600); color:#fff; width:30px; height:30px; border-radius:6px; display:flex; align-items:center; justify-content:center; flex-shrink:0; font-weight:800;}
.faq-q .chev { margin-left:auto; transition:.2s; color: var(--green-600);}
.faq-item[open] .faq-q .chev { transform: rotate(180deg); }
.faq-a { padding: 0 20px 20px 64px; color: var(--text-sub); font-size: 0.95rem; }

/* ===== 最終CV ===== */
.final-cv { text-align: center; }
.final-cv .micro { font-size: 1.1rem; font-weight: 700; margin-bottom: 26px; }
.final-cv .micro .em { color: #ffd166; }

/* ===== フッター ===== */
.site-footer { background: var(--green-900); color: #cfe3d6; padding: 50px 0 24px; }
.footer-top { display:flex; flex-wrap:wrap; justify-content:space-between; gap: 30px; margin-bottom: 30px; }
.footer-brand .logo-name { color:#fff; font-weight:800; font-size:1.1rem; }
.footer-brand p { font-size:0.85rem; margin-top:10px; max-width:360px; }
.footer-links { display:flex; gap: 24px; flex-wrap:wrap; }
.footer-links a { font-size:0.9rem; color:#cfe3d6; }
.footer-links a:hover { color:#fff; }
.footer-bottom { border-top:1px solid rgba(255,255,255,0.15); padding-top:20px; font-size:0.8rem; text-align:center; }

/* ===== 固定追従CVボタン（スマホ） ===== */
.fixed-cta {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
  background: rgba(27,67,50,0.96); padding: 10px 14px;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.2);
}
.fixed-cta a {
  display:flex; align-items:center; justify-content:center; gap:8px;
  background: var(--accent); color:#fff; font-weight:800; font-size:1rem;
  padding: 14px; border-radius: 10px;
}

/* ===== レスポンシブ ===== */
@media (max-width: 880px) {
  .reasons, .steps { grid-template-columns: 1fr; gap: 30px; }
  .reason-num { top: -20px; }
  .compare-grid, .cases { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .header-nav { display: none; }
  .nav-toggle { display: block; }
  .header-nav.open {
    display: flex; flex-direction: column; position: absolute; top: 68px; left:0; right:0;
    background:#fff; padding: 16px 20px; gap: 14px; border-bottom:1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .header-nav.open .header-cta { text-align:center; }
  .hero h1 { font-size: 1.7rem; }
  .hero-sub { font-size: 0.98rem; }
  .section-head h2 { font-size: 1.45rem; }
  .section { padding: 50px 0; }
  .btn-cv { font-size: 1.05rem; padding: 18px 24px; width: 100%; }
  .fixed-cta { display: block; }
  body { padding-bottom: 76px; }
}
