/* hp_sales_biz サンプルHP 共通テンプレート
   色は各社の<head>内インラインstyleで --main / --main-dark / --accent / --bg を上書きする */

:root {
  --main: #1E6FA8;
  --main-dark: #14547f;
  --accent: #FFA726;
  --bg: #F7FAFC;
  --text: #2A2E33;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif; color: var(--text); background: #fff; line-height: 1.8; font-size: 16px; padding-bottom: 64px; }
a { color: inherit; }
img { max-width: 100%; display: block; }
section { padding: 56px 20px; }
.section-inner { max-width: 1000px; margin: 0 auto; }
h2 { font-size: 1.5rem; color: var(--main-dark); text-align: center; margin-bottom: 12px; }
.section-lead { text-align: center; color: #555; font-size: 0.95rem; max-width: 600px; margin: 0 auto 34px; }

/* 見本注記バー：法的必須。トーンは抑える */
.notice-bar { background: #4a5560; color: #e8edf1; text-align: center; font-size: 0.74rem; padding: 6px 10px; }

/* ヘッダー */
header.site-header { position: sticky; top: 0; z-index: 20; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.header-top { background: var(--bg); font-size: 0.75rem; color: #555; text-align: center; padding: 4px 10px; }
.header-inner { max-width: 1080px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { font-weight: 700; font-size: 1.1rem; color: var(--main-dark); }
.logo small { display: block; font-size: 0.63rem; font-weight: 400; color: #666; }
.header-nav { display: flex; gap: 18px; font-size: 0.86rem; }
.header-nav a { text-decoration: none; color: #444; white-space: nowrap; }
.header-nav a:hover { color: var(--main-dark); }
.call-btn { background: var(--accent); color: #fff; font-weight: 700; padding: 10px 18px; border-radius: 6px; text-decoration: none; font-size: 0.92rem; white-space: nowrap; }
@media (max-width: 860px) { .header-nav { display: none; } }

/* ヒーロー：写真フルブリード＋オーバーレイ */
.hero { position: relative; color: #fff; min-height: 440px; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(10,30,45,0.82) 0%, rgba(10,30,45,0.55) 55%, rgba(10,30,45,0.30) 100%); }
.hero-inner { position: relative; z-index: 2; max-width: 1080px; margin: 0 auto; padding: 64px 20px 44px; width: 100%; }
.hero h1 { font-size: 2.5rem; line-height: 1.45; margin-bottom: 16px; text-shadow: 0 2px 10px rgba(0,0,0,0.35); }
.hero p.sub { font-size: 1.08rem; opacity: 0.95; margin-bottom: 26px; }
.hero-cta { display: inline-block; background: var(--accent); color: #fff; font-weight: 700; padding: 16px 30px; border-radius: 8px; text-decoration: none; font-size: 1.1rem; box-shadow: 0 4px 14px rgba(0,0,0,0.3); }
.hero-cta small { display: block; font-weight: 400; font-size: 0.75rem; }
@media (max-width: 640px) { .hero h1 { font-size: 1.7rem; } .hero { min-height: 380px; } }

/* 実績バッジ帯 */
.badges { background: var(--main-dark); }
.badges-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 1080px; margin: 0 auto; padding: 18px 20px; }
.badge-item { text-align: center; color: #fff; }
.badge-num { font-size: 1.4rem; font-weight: 700; }
.badge-label { font-size: 0.72rem; opacity: 0.85; margin-top: 2px; }
@media (max-width: 760px) { .badges-grid { grid-template-columns: repeat(2, 1fr); } }

/* 症状別メニュー */
.symptom-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 860px) { .symptom-grid { grid-template-columns: repeat(2, 1fr); } }
.symptom-card { background: #fff; border: 1px solid #e2e8ee; border-radius: 10px; padding: 20px 14px; text-align: center; font-size: 0.92rem; font-weight: 700; color: var(--main-dark); }
.symptom-card .icon { font-size: 1.7rem; display: block; margin-bottom: 8px; }

/* 現行サイトとの比較（実在サイトがある事業者向け） */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 640px) { .compare-grid { grid-template-columns: 1fr; } }
.compare-card { background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid #e2e8ee; }
.compare-label { text-align: center; font-weight: 700; padding: 12px; font-size: 0.95rem; }
.compare-label.before { background: #e9edf0; color: #555; }
.compare-label.after { background: var(--main); color: #fff; }
.compare-shot { aspect-ratio: 16/10; background: #dde5ea; overflow: hidden; }
.compare-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* 選ばれる理由 */
.strengths { background: var(--bg); }
.strength-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .strength-grid { grid-template-columns: 1fr; } }
.strength-card { background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid #e2e8ee; }
.strength-photo { aspect-ratio: 4/3; overflow: hidden; background: #e7eef3; }
.strength-photo img { width: 100%; height: 100%; object-fit: cover; }
.strength-body { padding: 18px 20px 22px; }
.strength-body h3 { color: var(--main-dark); font-size: 1.05rem; margin-bottom: 8px; }
.strength-body p { font-size: 0.92rem; color: #444; }

/* 料金のお約束 */
.promise-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 640px) { .promise-grid { grid-template-columns: 1fr; } }
.promise-card { background: #fff; border: 1px solid #e2e8ee; border-radius: 10px; padding: 20px 22px; display: flex; gap: 14px; align-items: flex-start; }
.promise-card .num { background: var(--main); color: #fff; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; font-size: 0.9rem; }
.promise-card p { font-size: 0.93rem; }
.discount-note { margin-top: 22px; background: var(--bg); border-radius: 10px; padding: 16px 20px; font-size: 0.88rem; text-align: center; }

/* ご依頼の流れ */
.flow { background: var(--bg); }
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 860px) { .flow-grid { grid-template-columns: 1fr; } }
.flow-step { background: #fff; border-radius: 12px; padding: 24px 18px; text-align: center; border: 1px solid #e2e8ee; position: relative; }
.flow-step .step-num { display: inline-block; background: var(--main-dark); color: #fff; width: 28px; height: 28px; border-radius: 50%; line-height: 28px; font-weight: 700; font-size: 0.85rem; margin-bottom: 10px; }
.flow-step h4 { font-size: 0.95rem; color: var(--main-dark); margin-bottom: 6px; }
.flow-step p { font-size: 0.82rem; color: #555; }

/* お客様の声 */
.voice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .voice-grid { grid-template-columns: 1fr; } }
.voice-card { background: #fff; border: 1px solid #e2e8ee; border-radius: 10px; padding: 20px 22px; }
.voice-card .stars { color: var(--accent); font-size: 1rem; margin-bottom: 8px; letter-spacing: 1px; }
.voice-card p { font-size: 0.9rem; color: #444; }
.voice-source { font-size: 0.72rem; color: #999; margin-top: 10px; }

/* 代表あいさつ */
.rep-section { background: var(--bg); }
.rep-box { display: grid; grid-template-columns: 200px 1fr; gap: 30px; align-items: center; background: #fff; border-radius: 14px; padding: 32px; border: 1px solid #e2e8ee; }
@media (max-width: 700px) { .rep-box { grid-template-columns: 1fr; text-align: center; } }
.rep-photo-frame { width: 160px; height: 160px; border-radius: 50%; background: #e2e8ee; margin: 0 auto; display: flex; align-items: center; justify-content: center; color: #8a99a6; font-size: 0.72rem; text-align: center; padding: 10px; border: 3px solid #fff; box-shadow: 0 0 0 1px #dde5ea; }
.rep-name { font-weight: 700; color: var(--main-dark); margin-bottom: 10px; font-size: 1.05rem; }
.rep-body p { font-size: 0.94rem; margin-bottom: 10px; }

/* FAQ */
.faq-item { border-bottom: 1px solid #e2e8ee; }
.faq-item summary { padding: 18px 6px; font-weight: 700; cursor: pointer; color: var(--main-dark); font-size: 0.96rem; list-style: none; display: flex; gap: 10px; }
.faq-item summary::before { content: "Q"; background: var(--main); color: #fff; width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 0.78rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .faq-a { padding: 0 6px 18px 40px; font-size: 0.9rem; color: #444; }

/* 対応エリア＋地図 */
.area-box { text-align: center; }
.area-box p.area-text { font-size: 1rem; max-width: 720px; margin: 0 auto 24px; }
.map-embed { border-radius: 12px; overflow: hidden; border: 1px solid #e2e8ee; max-width: 700px; margin: 0 auto; }
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }

/* 会社概要テーブル */
.company-table { background: var(--bg); }
.company-table table { width: 100%; max-width: 720px; margin: 0 auto; border-collapse: collapse; background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid #e2e8ee; }
.company-table th, .company-table td { padding: 14px 18px; text-align: left; font-size: 0.9rem; border-bottom: 1px solid #eef1f4; }
.company-table th { width: 34%; color: var(--main-dark); background: #fafcfd; font-weight: 700; white-space: nowrap; }
.company-table tr:last-child th, .company-table tr:last-child td { border-bottom: none; }
.company-table .cert-badge { display: inline-block; background: var(--main); color: #fff; font-size: 0.72rem; padding: 3px 8px; border-radius: 4px; margin-top: 4px; }

/* CTAバンド */
.cta-band { background: var(--main-dark); color: #fff; text-align: center; padding: 48px 20px; }
.cta-band h2 { color: #fff; }
.cta-band p { font-size: 0.9rem; opacity: 0.9; margin-bottom: 20px; }
.cta-band .hero-cta { margin-top: 10px; }

/* フッター */
footer { background: #1c2733; color: #cbd5df; padding: 34px 20px; font-size: 0.85rem; }
.footer-inner { max-width: 1000px; margin: 0 auto; text-align: center; }
.footer-inner .company { font-weight: 700; color: #fff; margin-bottom: 6px; }
.footer-nav { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 14px; font-size: 0.8rem; }
.footer-nav a { text-decoration: none; color: #9db0bd; }
.footer-notice { margin-top: 18px; font-size: 0.72rem; color: #8fa0ae; line-height: 1.6; }

/* スマホ固定CTAバー */
.mobile-cta-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; display: none; background: #fff; box-shadow: 0 -2px 10px rgba(0,0,0,0.12); }
.mobile-cta-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; font-weight: 700; text-decoration: none; color: #fff; background: var(--accent); font-size: 1rem; }
@media (max-width: 640px) { .mobile-cta-bar { display: block; } body { padding-bottom: 64px; } }

/* 印刷対応 */
@media print {
  .notice-bar, .mobile-cta-bar, header.site-header, .cta-band { display: none; }
  section { padding: 20px 0; }
}
