/* ============================================
   クリーンプランニング福岡 LP
   ブランド色: 青(信頼) × オレンジ(行動喚起)
   ============================================ */

:root {
  --c-blue: #2e7cc3;
  --c-blue-dark: #1d5a94;
  --c-blue-pale: #eaf4fc;
  --c-orange: #ef8200;
  --c-orange-dark: #d96f00;
  --c-yellow: #ffe45c;
  --c-green: #43a047;
  --c-line: #06c755;
  --c-line-dark: #05a847;
  --c-text: #26313b;
  --c-text-sub: #5c6b78;
  --c-bg: #ffffff;
  --c-bg-alt: #f3f8fd;
  --c-border: #d8e4ee;
  --radius: 14px;
  --shadow: 0 4px 14px rgba(29, 90, 148, 0.12);
  --sticky-h: 64px;
}

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

/* スムーズスクロールはCSSではなくJSで行う
   (scroll-behavior: smooth はハッシュ遷移が環境により失敗するため) */
section[id] { scroll-margin-top: 16px; }

body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.8;
  font-size: 16px;
  /* 追従CTAに隠れないよう余白を確保(iPhoneホームバー分も加算) */
  padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom));
}

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

.container {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- 見出し ---------- */
.section { padding: 56px 0; }
.section--alt { background: var(--c-bg-alt); }

.section-title {
  text-align: center;
  font-size: 24px;
  line-height: 1.5;
  margin-bottom: 32px;
  font-weight: 800;
}
.section-title em {
  font-style: normal;
  color: var(--c-orange);
}

/* ---------- ヘッダー ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--c-border);
  padding: 10px 0;
  position: relative;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.header-tagline {
  font-size: 11px;
  color: var(--c-text-sub);
}
.header-logo {
  font-size: 18px;
  font-weight: 800;
  color: var(--c-blue-dark);
  line-height: 1.3;
}
.header-logo span { color: var(--c-orange); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header-tel {
  text-decoration: none;
  text-align: right;
  color: var(--c-blue-dark);
}
/* モバイルは電話アイコンのみ表示 */
.header-tel {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--c-blue);
  color: #fff;
}
.header-tel-icon { width: 20px; height: 20px; }
.header-tel-number,
.header-tel-hours { display: none; }

/* ハンバーガーボタン */
.nav-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid var(--c-border);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--c-blue-dark);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.is-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- グローバルナビ(モバイル: ハンバーガー開閉式) ---------- */
.global-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--c-border);
  box-shadow: 0 8px 16px rgba(29, 90, 148, 0.15);
}
.global-nav.is-open { display: block; }
.global-nav ul {
  list-style: none;
  padding: 4px 0;
  max-width: 640px;
  margin: 0 auto;
}
.global-nav a {
  display: block;
  padding: 13px 24px;
  font-size: 15px;
  font-weight: 700;
  color: var(--c-blue-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--c-bg-alt);
}
.global-nav li:last-child a { border-bottom: none; }
.global-nav a.nav-contact { color: var(--c-orange); }

/* ---------- ヒーロー ---------- */
.hero {
  background: linear-gradient(160deg, var(--c-blue-pale) 0%, #fdf6e3 100%);
  padding: 40px 0 48px;
  text-align: center;
}
.hero-badges {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.hero-badges li {
  background: var(--c-blue);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
}
.hero-title {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 28px;
}
.hero-line {
  font-size: 25px;
  font-weight: 900;
  line-height: 1.5;
  white-space: nowrap;
}
.hero-line em { font-style: normal; font-size: 31px; }
.hero-line--blue { color: var(--c-blue); }
.hero-line--green { color: var(--c-green); }
.hero-line--orange { color: var(--c-orange); }

.hero-price {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 3px solid var(--c-orange);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow);
}
.hero-price-label {
  background: var(--c-orange);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  border-radius: 8px;
  padding: 8px 10px;
  line-height: 1.4;
  white-space: nowrap;
  flex-shrink: 0;
}
.hero-price-value {
  font-size: 38px;
  font-weight: 900;
  color: var(--c-orange);
  line-height: 1;
  white-space: nowrap;
}
.hero-price-value small {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-text);
  white-space: nowrap;
}
.hero-note {
  font-size: 12px;
  color: var(--c-text-sub);
  margin-top: 12px;
}

/* ---------- CTAボタン ---------- */
.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}
.btn {
  display: block;
  text-decoration: none;
  border-radius: var(--radius);
  padding: 16px 20px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:active { transform: scale(0.98); }
.btn-main {
  display: block;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.4;
}
.btn-sub {
  display: block;
  font-size: 12px;
  opacity: 0.92;
  margin-top: 4px;
}
.btn--tel { background: linear-gradient(180deg, var(--c-blue) 0%, var(--c-blue-dark) 100%); }
.btn--line { background: linear-gradient(180deg, var(--c-line) 0%, var(--c-line-dark) 100%); }

/* 営業時間外の電話ボタン抑制 */
.is-closed .btn--tel,
.is-closed .sticky-tel {
  filter: grayscale(0.45) brightness(0.92);
}

/* ---------- お悩み ---------- */
.worries-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.worries-list li {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 14px 16px 14px 46px;
  position: relative;
  box-shadow: var(--shadow);
  font-size: 15px;
}
.worries-list li::before {
  content: "✔";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--c-orange);
  font-weight: 900;
  font-size: 18px;
}
.worries-list strong { color: var(--c-blue-dark); }
.worries-bridge {
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.6;
  margin-top: 36px;
}
.worries-bridge strong { color: var(--c-orange); }

/* ---------- サービス ---------- */
.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.service-card {
  background: #fff;
  border: 2px solid var(--c-blue);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: stretch;
}
.service-photo {
  flex: 0 0 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-blue-pale);
  color: var(--c-blue);
}
.service-photo svg {
  width: 40px;
  height: 40px;
}
.service-card h3 {
  font-size: 17px;
  color: var(--c-blue-dark);
  margin: 12px 14px 4px;
}
.service-card p {
  font-size: 13px;
  color: var(--c-text-sub);
  margin: 0 14px 12px;
  line-height: 1.7;
}
.service-card > div + h3 { margin-top: 12px; }
.service-card { flex-wrap: wrap; }
.service-card h3, .service-card p { flex-basis: calc(100% - 120px); }

/* ---------- 選ばれる理由 ---------- */
.reason-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.reason-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow);
  padding: 22px 20px;
  position: relative;
}
.reason-num {
  position: absolute;
  top: -12px;
  left: 16px;
  background: var(--c-orange);
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  border-radius: 999px;
  padding: 3px 14px;
  letter-spacing: 0.08em;
}
.reason-card h3 {
  font-size: 18px;
  color: var(--c-blue-dark);
  margin: 6px 0 8px;
}
.reason-card p { font-size: 14px; color: var(--c-text-sub); }

/* ---------- 料金 ---------- */
.price-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.price-card {
  background: #fff;
  border: 2px solid var(--c-blue);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  padding-bottom: 16px;
}
.price-card-target {
  background: var(--c-blue);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 8px;
}
.price-card h3 {
  font-size: 17px;
  color: var(--c-blue-dark);
  margin: 14px 0 4px;
}
.price-card-value {
  font-size: 30px;
  font-weight: 900;
  color: var(--c-orange);
  line-height: 1.2;
  white-space: nowrap;
}
.price-card-value small { font-size: 12px; color: var(--c-text); font-weight: 700; }
.price-card-note { font-size: 11px; color: var(--c-text-sub); margin-top: 6px; }

.zero-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
}
.zero-list li {
  background: var(--c-orange);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  border-radius: 10px;
  text-align: center;
  padding: 12px 8px;
}
.zero-list strong { color: var(--c-yellow); font-size: 19px; }
.pricing-note {
  font-size: 12px;
  color: var(--c-text-sub);
  margin-top: 18px;
  line-height: 1.9;
}

/* ---------- 流れ ---------- */
.flow-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.flow-step {
  background: #fff;
  border: 2px solid var(--c-blue);
  border-radius: var(--radius);
  padding: 24px 20px 18px;
  position: relative;
}
.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -22px;
  transform: translateX(-50%);
  border: 11px solid transparent;
  border-top-color: var(--c-blue);
}
.flow-num {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-blue);
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  border-radius: 999px;
  padding: 4px 18px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.flow-step h3 {
  text-align: center;
  color: var(--c-blue-dark);
  font-size: 18px;
  margin: 8px 0 10px;
}
.flow-step p { font-size: 14px; color: var(--c-text-sub); }

/* ---------- お客様の声 ---------- */
.voice-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow);
  padding: 24px 20px;
}
.voice-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--c-blue-dark);
  background: linear-gradient(transparent 65%, var(--c-yellow) 65%);
  display: inline;
  line-height: 2;
}
.voice-body {
  font-size: 14px;
  color: var(--c-text-sub);
  margin-top: 14px;
}
.voice-meta {
  font-size: 12px;
  color: var(--c-text-sub);
  margin-top: 12px;
  text-align: right;
}

/* ---------- 対応エリア ---------- */
.area-group {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 18px;
  margin-bottom: 12px;
}
.area-group h3 {
  font-size: 15px;
  color: var(--c-blue-dark);
  margin-bottom: 6px;
  padding-left: 8px;
  border-left: 4px solid var(--c-orange);
}
.area-group p {
  font-size: 13px;
  color: var(--c-text-sub);
  line-height: 2;
}
.area-note {
  text-align: center;
  font-size: 12px;
  color: var(--c-text-sub);
  margin-top: 8px;
}

/* ---------- 会社概要 ---------- */
.company-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.company-table th,
.company-table td {
  border-bottom: 1px solid var(--c-border);
  padding: 13px 14px;
  font-size: 14px;
  text-align: left;
  vertical-align: top;
}
.company-table th {
  background: var(--c-blue-pale);
  color: var(--c-blue-dark);
  width: 34%;
  font-weight: 700;
  white-space: nowrap;
}
.company-table tr:last-child th,
.company-table tr:last-child td { border-bottom: none; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}
.faq-item dt {
  font-weight: 800;
  color: var(--c-blue-dark);
  padding-left: 30px;
  position: relative;
  font-size: 15px;
}
.faq-item dt::before {
  content: "Q";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--c-blue);
  font-size: 20px;
  font-weight: 900;
}
.faq-item dd {
  margin-top: 10px;
  padding-left: 30px;
  position: relative;
  font-size: 14px;
  color: var(--c-text-sub);
}
.faq-item dd::before {
  content: "A";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--c-orange);
  font-size: 20px;
  font-weight: 900;
}

/* ---------- 最終CTA ---------- */
.final-cta {
  background: linear-gradient(160deg, var(--c-orange) 0%, var(--c-orange-dark) 100%);
  text-align: center;
}
.final-cta-title {
  color: #fff;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.5;
}
.final-cta-title em {
  font-style: normal;
  color: var(--c-yellow);
  font-size: 34px;
}
.final-cta-sub {
  color: #fff;
  font-size: 14px;
  margin-top: 14px;
}

/* ---------- フッター ---------- */
.site-footer {
  background: var(--c-blue-dark);
  padding: 32px 0 24px;
  text-align: center;
}
.footer-brand {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}
.footer-brand span { color: var(--c-yellow); }
.footer-info {
  color: #cfe3f5;
  font-size: 13px;
  margin-top: 10px;
  line-height: 1.9;
}
.footer-info a { color: #fff; font-weight: 700; text-decoration: none; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  margin-top: 18px;
}
.footer-nav a {
  color: #cfe3f5;
  font-size: 12px;
  text-decoration: none;
}
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-copy { color: #9fbdd8; font-size: 11px; margin-top: 18px; }

/* ---------- プライバシーポリシー ---------- */
.page-privacy { padding-bottom: 0; }
.privacy-body h1 { margin-bottom: 28px; }
.privacy-body h2 {
  font-size: 17px;
  color: var(--c-blue-dark);
  margin: 28px 0 8px;
  padding-left: 10px;
  border-left: 4px solid var(--c-orange);
}
.privacy-body p, .privacy-body ul { font-size: 14px; color: var(--c-text); }
.privacy-body ul { padding-left: 22px; }
.privacy-date { margin-top: 28px; color: var(--c-text-sub); }
.privacy-back {
  display: inline-block;
  margin-top: 10px;
  color: var(--c-blue);
  font-weight: 700;
}
.header-logo a { color: inherit; text-decoration: none; }
.header-logo a span { color: var(--c-orange); }

/* ---------- 追従CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(var(--sticky-h) + env(safe-area-inset-bottom));
  display: flex;
  z-index: 100;
  box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.18);
}
.sticky-cta a {
  padding-bottom: env(safe-area-inset-bottom);
}
.sticky-tel {
  flex: 1 1 70%;
  background: linear-gradient(180deg, var(--c-blue) 0%, var(--c-blue-dark) 100%);
  color: #fff;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.sticky-tel-main { font-size: 17px; font-weight: 900; line-height: 1.3; }
.sticky-tel-sub { font-size: 11px; opacity: 0.9; }
.sticky-line {
  flex: 1 1 30%;
  background: var(--c-line);
  color: #fff;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.sticky-line-main { font-size: 17px; font-weight: 900; line-height: 1.3; }
.sticky-line-sub { font-size: 10px; opacity: 0.9; }

/* 営業時間外はLINEを主役に */
.is-closed .sticky-tel { flex-basis: 45%; }
.is-closed .sticky-line { flex-basis: 55%; }

/* ---------- 小型スマホ(iPhone SE等) ---------- */
@media (max-width: 360px) {
  .hero-line { font-size: 21px; }
  .hero-line em { font-size: 26px; }
}

/* ---------- PC ---------- */
@media (min-width: 768px) {
  /* ナビ: 常時表示の横並びに戻す */
  .nav-toggle { display: none; }
  .global-nav {
    display: block;
    position: static;
    box-shadow: none;
    border-bottom: none;
    border-top: 1px solid var(--c-border);
    margin-top: 8px;
  }
  .global-nav ul {
    display: flex;
    justify-content: center;
    gap: 2px;
    padding: 2px 8px;
  }
  .global-nav a {
    padding: 8px 10px;
    font-size: 13px;
    border-bottom: none;
    white-space: nowrap;
  }
  /* 電話: 番号をフル表示 */
  .header-tel {
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent;
    color: var(--c-blue-dark);
    display: block;
  }
  .header-tel-icon { display: none; }
  .header-tel-number {
    display: block;
    font-size: 17px;
    font-weight: 800;
  }
  .header-tel-hours {
    display: block;
    font-size: 10px;
    color: var(--c-text-sub);
  }
  .section { padding: 72px 0; }
  .section-title { font-size: 28px; }
  .hero-line { font-size: 38px; }
  .hero-line em { font-size: 46px; }
  .hero-price-value { font-size: 46px; }
  .hero-price-value small { font-size: 16px; }
  .cta-buttons {
    flex-direction: row;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
  }
  .cta-buttons .btn { flex: 1; }
  .service-list { display: grid; grid-template-columns: 1fr 1fr; }
  .reason-list { display: grid; grid-template-columns: 1fr 1fr 1fr; }
  .sticky-cta { max-width: 640px; margin: 0 auto; border-radius: 12px 12px 0 0; overflow: hidden; }
}
