/* ===== エコキュート診断室 design system v3 =====
   2026-08-25 ユーザー提供のイメージ画像(ChatGPT生成LP2枚)を基に全面改訂。
   見た目の言語: 白ヘッダー×フレッシュグリーン×オレンジ差し色×クリーム。
   明るい・爽やか・自然・エコ。丸み・チップ・リボンバッジ・番号サークル・ステップ導線。
   読者=40〜70代 → 大きめ17px・高コントラスト維持。
   ※ロゴ入り製品写真・AI人物写真は使わない(商標/実在感リスク)。 */

:root {
  --green: #3a9e5f;
  --green-deep: #2e7d4c;
  --green-dark: #1f5c37;
  --green-pale: #e9f5ec;
  --green-mist: #f3faf4;
  --orange: #ef7f1a;
  --orange-deep: #d96e0d;
  --cream: #faf7ef;
  --card: #ffffff;
  --ink: #2b3a31;
  --ink-soft: #5d6b62;
  --line: #e2e9e0;
  --danger: #c0392b;
  --radius: 16px;
  --shadow: 0 3px 14px rgba(46, 125, 76, .10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  background: #ffffff;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.9;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-deep); }

/* ===== header(白) ===== */
.site-header {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  font-size: .98rem;
  line-height: 1.35;
  letter-spacing: .01em;
}
.site-logo .mark {
  width: 34px; height: 34px; flex-shrink: 0;
  background: var(--green-pale);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.site-logo small {
  display: block;
  font-size: .66rem;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: .04em;
}
.header-cta {
  display: none;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: .88rem;
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: 0 3px 8px rgba(58, 158, 95, .3);
}
.header-cta:hover { background: var(--green-deep); }
@media (min-width: 700px) { .header-cta { display: inline-block; } }

.nav-toggle {
  background: none;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-size: .85rem;
  padding: 7px 12px;
  cursor: pointer;
}
.global-nav { display: none; }
.global-nav.open {
  display: block;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
  box-shadow: var(--shadow);
}
.global-nav a {
  display: block;
  color: var(--ink);
  text-decoration: none;
  padding: 13px 20px;
  border-bottom: 1px solid var(--line);
  font-size: .95rem;
}
@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .global-nav { display: flex !important; position: static; background: none; border: none; box-shadow: none; padding: 0; gap: 2px; }
  .global-nav a { border: none; padding: 8px 12px; border-radius: 8px; font-size: .9rem; }
  .global-nav a:hover { background: var(--green-pale); color: var(--green-dark); }
}

/* ===== layout ===== */
.container { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.container-narrow { max-width: 860px; margin: 0 auto; padding: 0 16px; }

/* ===== hero(明るい自然光) ===== */
.hero {
  background: linear-gradient(165deg, #eaf6fb 0%, var(--green-mist) 45%, var(--green-pale) 100%);
  padding: 54px 0 40px;
  overflow: hidden;
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 30px;
}
.hero-text { flex: 1 1 55%; min-width: 0; }
.hero-art { flex: 1 1 45%; min-width: 0; }
.hero-art svg { width: 100%; height: auto; display: block; }
@media (max-width: 859px) {
  .hero-inner { flex-direction: column; }
  .hero-art { max-width: 420px; margin: 0 auto; }
}
.hero-ribbon {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-size: .88rem;
  font-weight: 700;
  padding: 7px 22px;
  border-radius: 6px;
  position: relative;
  margin-bottom: 20px;
  letter-spacing: .05em;
  box-shadow: 0 2px 6px rgba(46, 125, 76, .25);
}
.hero h1 {
  font-size: 2.05rem;
  line-height: 1.45;
  letter-spacing: .02em;
  margin-bottom: 16px;
  font-weight: 800;
}
.hero h1 .g { color: var(--green-deep); }
.hero h1 .o { color: var(--orange); }
.hero .hero-lead {
  color: var(--ink-soft);
  font-size: 1rem;
  max-width: 640px;
  margin-bottom: 26px;
}
@media (max-width: 600px) { .hero h1 { font-size: 1.5rem; } }

/* 3チップ(メリット/約束) */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 999px;
  padding: 10px 20px 10px 12px;
  box-shadow: var(--shadow);
  font-size: .9rem;
  font-weight: 700;
}
.chip .ico {
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  background: var(--green-pale);
}
.chip .ico.o { background: #fdeeda; }
.chip em { font-style: normal; color: var(--orange-deep); }

/* ===== 補助金バナー ===== */
.hojo-banner {
  background: #fff;
  border: 2.5px solid var(--green);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 22px;
  padding: 18px 20px;
  margin: 30px 0 0;
  text-align: center;
}
.hojo-banner .tag {
  background: var(--green);
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
}
.hojo-banner .msg { font-weight: 800; font-size: 1.15rem; }
.hojo-banner .msg .big {
  color: var(--orange);
  font-size: 1.9rem;
  letter-spacing: .02em;
}
.hojo-banner .note { flex-basis: 100%; font-size: .74rem; color: var(--ink-soft); font-weight: 500; }

/* ===== sections ===== */
.section { padding: 52px 0; }
.section.alt { background: var(--green-mist); }
.section.cream { background: var(--cream); }
.section-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.5;
}
.section-title .g { color: var(--green-deep); }
.section-title .o { color: var(--orange); }
.section-sub {
  text-align: center;
  color: var(--ink-soft);
  font-size: .92rem;
  margin-bottom: 30px;
}

/* ===== entry cards(悩み別入口・番号サークル) ===== */
.entry-grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .entry-grid { grid-template-columns: 1fr 1fr 1fr; } }
.entry-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
  display: block;
}
.entry-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(46, 125, 76, .16); }
.entry-card .num {
  width: 40px; height: 40px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 12px;
}
.entry-card .q {
  display: block;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 8px;
  line-height: 1.5;
}
.entry-card .a { display: block; font-size: .9rem; color: var(--ink-soft); }
.entry-card .go {
  display: inline-block;
  margin-top: 14px;
  color: var(--green-deep);
  font-weight: 700;
  font-size: .92rem;
}
.entry-card .go::after { content: " →"; }

/* ===== 4ステップ ===== */
.step-flow { display: grid; gap: 14px; }
@media (min-width: 860px) { .step-flow { grid-template-columns: repeat(4, 1fr); } }
.step {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px 16px;
  box-shadow: var(--shadow);
  text-align: center;
}
.step .num {
  width: 34px; height: 34px;
  margin: 0 auto 10px;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
}
.step .t { font-weight: 800; font-size: .98rem; margin-bottom: 6px; line-height: 1.5; }
.step .d { font-size: .84rem; color: var(--ink-soft); }

/* ===== article ===== */
.article-body { max-width: 780px; margin: 0 auto; padding: 36px 16px 60px; }
.article-body h1 { font-size: 1.6rem; line-height: 1.55; margin-bottom: 10px; font-weight: 800; }
.article-body h2 {
  font-size: 1.3rem;
  color: var(--green-dark);
  background: var(--green-pale);
  border-radius: 10px;
  padding: 12px 16px;
  margin: 46px 0 18px;
  line-height: 1.5;
  font-weight: 800;
}
.article-body h3 {
  font-size: 1.1rem;
  margin: 32px 0 10px;
  font-weight: 800;
  border-left: 5px solid var(--green);
  padding-left: 10px;
  line-height: 1.5;
}
.article-body p { margin-bottom: 1.15em; }
.article-body ul, .article-body ol { padding-left: 1.4em; margin-bottom: 1.15em; }
.article-body li { margin-bottom: .4em; }

.post-meta { font-size: .82rem; color: var(--ink-soft); margin-bottom: 20px; }
.pr-label {
  display: inline-block;
  font-size: .75rem;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 8px;
  margin-bottom: 10px;
}

.point-box {
  background: var(--green-pale);
  border: 1.5px solid #cbe6d3;
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 20px 0;
}
.point-box .label { font-weight: 800; color: var(--green-dark); display: block; margin-bottom: 6px; }

.warn-box {
  background: #fdf0ee;
  border: 1.5px solid #ecc8c3;
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 20px 0;
}
.warn-box .label { font-weight: 800; color: var(--danger); display: block; margin-bottom: 6px; }

.table-wrap { overflow-x: auto; margin: 20px 0; }
table { border-collapse: collapse; width: 100%; background: #fff; font-size: .95rem; }
th, td { border: 1px solid var(--line); padding: 11px 13px; text-align: left; }
th { background: var(--green-pale); color: var(--green-dark); white-space: nowrap; }
td strong { color: var(--orange-deep); }

/* ===== CTA ===== */
.cta-box {
  background: var(--cream);
  border: 2px solid #eaddba;
  border-radius: var(--radius);
  padding: 24px 20px;
  margin: 30px 0;
  text-align: center;
}
.cta-box .cta-title { font-weight: 800; font-size: 1.08rem; margin-bottom: 6px; }
.cta-box .cta-note { font-size: .88rem; color: var(--ink-soft); margin-bottom: 14px; }
.cta-btn {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  padding: 15px 34px;
  border-radius: 999px;
  font-size: 1.02rem;
  box-shadow: 0 4px 10px rgba(58, 158, 95, .3);
  transition: background .15s ease;
}
.cta-btn:hover { background: var(--green-deep); }
.cta-btn.orange { background: var(--orange); box-shadow: 0 4px 10px rgba(239, 127, 26, .3); }
.cta-btn.orange:hover { background: var(--orange-deep); }
.cta-caption { font-size: .78rem; color: var(--ink-soft); margin-top: 10px; }

/* ===== author box ===== */
.author-box {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px;
  margin: 34px 0;
  box-shadow: var(--shadow);
}
.author-box .avatar {
  width: 58px; height: 58px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--green-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
}
.author-box .name { font-weight: 800; margin-bottom: 4px; }
.author-box p { font-size: .9rem; color: var(--ink-soft); margin: 0; }

/* ===== FAQ ===== */
.faq-item { background: #fff; border-radius: 12px; padding: 16px 18px; margin-bottom: 12px; box-shadow: var(--shadow); }
.faq-q { font-weight: 800; margin-bottom: 6px; }
.faq-q::before { content: "Q. "; color: var(--green-deep); }
.faq-a::before { content: "A. "; color: var(--orange-deep); font-weight: 800; }

/* ===== footer ===== */
.site-footer {
  background: var(--green-dark);
  color: #cfe4d5;
  padding: 38px 0 30px;
  margin-top: 60px;
  font-size: .85rem;
}
.site-footer a { color: #e7f3ea; }
.footer-disclaimer { margin-top: 14px; font-size: .78rem; color: #9dbfa8; line-height: 1.8; }

/* ===== sticky cta (mobile) ===== */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #ffffffee;
  border-top: 1.5px solid var(--line);
  padding: 10px 14px;
  z-index: 99;
  text-align: center;
  backdrop-filter: blur(4px);
}
.sticky-cta .cta-btn { padding: 11px 26px; font-size: .95rem; }
@media (min-width: 860px) { .sticky-cta { display: none; } }

/* ===== utility ===== */
.new-list { list-style: none; padding: 0; }
.new-list li { background: #fff; border-radius: 12px; margin-bottom: 10px; box-shadow: var(--shadow); }
.new-list a {
  display: block;
  padding: 15px 18px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
}
.new-list a:hover { color: var(--green-deep); }
.new-list .date { font-size: .78rem; color: var(--ink-soft); margin-right: 10px; font-weight: 500; }
.breadcrumb { font-size: .8rem; color: var(--ink-soft); padding: 12px 0; }
.breadcrumb a { color: var(--ink-soft); }
