/* =========================================================
   2.5.3 トップページのデザイン（G案：明るく丸く、親しみやすく）
   bright.css のあとに、トップページだけで読み込む（inc/setup.php）。
   文章・ページの一番上（ヒーロー）は変えない。
   site.css・bright.css の指定より確実に効かせるため !important を付けている。
   ========================================================= */
/* ---- 見出し・説明文 */
body.home .st-sh-en{background:none !important;color:#f07a12 !important;font-size:15px !important;letter-spacing:.3em !important;padding:0 !important}
body.home .st-sh{font-size:clamp(24px,3vw,40px) !important;font-weight:900 !important;color:#1a2b26 !important}
body.home .st-sh::after{background:#f07a12 !important;width:48px !important;height:6px !important;border-radius:3px !important}
body.home .st-lead{font-size:17px !important;color:#33403c !important}
/* ---- ボタン（丸く） */
body.home .st-btn{border-radius:999px !important}
body.home .st-btn.is-orange{box-shadow:0 10px 24px rgba(240,122,18,.4) !important}
body.home .st-hero__title em{font-style:normal !important;color:#e06a00 !important}
/* ---- 段の色 */
body.home .st-sec.is-dark{background:#fff3dc !important;color:#1a2b26 !important}
body.home .st-sec.is-dark .st-sh{color:#1a2b26 !important}
body.home .st-sec.is-dark .st-lead,body.home .st-sec.is-dark .st-note{color:#4a3a1a !important}
body.home .st-sec.is-alt{background:#eef7f2 !important}
body.home .st-sec.is-warm{background:#fff3dc !important}
/* ---- 補助金のカード */
body.home .st-sub{border-radius:26px !important;border:0 !important;box-shadow:0 14px 34px rgba(150,90,0,.16) !important;padding:28px 24px 0 !important;overflow:hidden !important}
body.home .st-sub__k{background:#1d6450 !important;color:#fff !important;font-size:14px !important}
body.home .st-sub__v{font-size:clamp(24px,2.6vw,34px) !important;font-weight:900 !important;color:#e06a00 !important;line-height:1.25 !important;margin:12px 0 6px !important}
body.home .st-sub__more{background:#1d6450 !important;color:#fff !important}
/* ---- 設置しにくい住宅（スマホ・タブレット：左に丸い番号のカード） */
body.home .st-conds li{background:#fff !important;box-shadow:0 8px 22px rgba(20,70,55,.10) !important;border:0 !important;border-radius:20px !important;padding:20px 18px 18px 88px !important;text-align:left !important}
body.home .st-conds li::before{left:18px !important;top:18px !important;transform:none !important;width:54px !important;height:54px !important;line-height:54px !important;border-radius:50% !important;background:#f07a12 !important;color:#fff !important;font-size:20px !important;font-weight:900 !important;text-align:center !important;box-shadow:none !important}
body.home .st-conds li b{display:block !important;font-size:17px !important;font-weight:900 !important;color:#1a2b26 !important;margin-bottom:6px !important}
/* ---- 選ばれる理由（写真が上・文が下のカード） */
body.home .st-reasons{display:grid !important;grid-template-columns:1fr !important;gap:24px !important}
body.home .st-reason{display:flex !important;flex-direction:column !important;border-radius:24px !important;overflow:hidden !important;box-shadow:0 14px 34px rgba(20,70,55,.14) !important;position:relative !important;height:auto !important;min-height:0 !important;max-height:none !important;grid-template-columns:none !important}
body.home .st-reason img{order:0 !important;width:100% !important;height:220px !important;min-height:220px !important;max-height:none !important;object-fit:cover !important;position:static !important}
body.home .st-reason__body{order:1 !important;padding:24px 24px 28px !important;height:auto !important;overflow:visible !important}
body.home .st-reason h3{font-size:21px !important;font-weight:900 !important;color:#1a2b26 !important;line-height:1.5 !important}
body.home .st-reason__n{left:18px !important;top:18px !important;right:auto !important;font-size:22px !important;font-weight:900 !important;background:#f07a12 !important;color:#fff !important;border-radius:50% !important;width:54px !important;height:54px !important;line-height:54px !important;padding:0 !important;text-align:center !important}
/* ---- 施工実績・最新の記事のカード */
body.home .st-card{border-radius:22px !important;overflow:hidden !important;box-shadow:0 12px 30px rgba(20,70,55,.13) !important;border:0 !important}
body.home .st-card__title{font-weight:700 !important;color:#1a2b26 !important}
body.home .st-tag{background:#1d6450 !important;color:#fff !important;border-radius:999px !important}
body.home .st-new{background:#f07a12 !important;border-radius:999px !important}
/* ---- はじめての方へ・地域別ガイド・よくある質問・最後の枠 */
body.home .st-guide{border-radius:24px !important;box-shadow:0 12px 30px rgba(20,70,55,.12) !important;border:0 !important;background:#fff !important}
body.home .st-guide__i{background:#f07a12 !important;color:#fff !important;border-radius:50% !important}
body.home .st-guide h3{font-size:19px !important;font-weight:900 !important;color:#1a2b26 !important}
body.home .st-area{border-radius:24px !important;background:#fff !important;box-shadow:0 12px 30px rgba(20,70,55,.10) !important;border:0 !important}
body.home .st-area__h{font-size:19px !important;font-weight:900 !important;color:#1a2b26 !important}
body.home .st-pills a{border-radius:999px !important;border:1.5px solid #f07a12 !important;color:#c25400 !important;background:#fff !important}
body.home .st-faq details{border-radius:20px !important;background:#fff !important;box-shadow:0 8px 22px rgba(20,70,55,.08) !important;border:0 !important;margin-bottom:14px !important;overflow:hidden !important}
body.home .st-faq summary{font-size:17px !important;font-weight:700 !important}
body.home .st-faq__q{background:#f07a12 !important;color:#fff !important;border-radius:50% !important}
body.home .st-cta{border-radius:32px !important;overflow:hidden !important}
body.home .st-cta__title{font-size:clamp(22px,2.6vw,32px) !important;font-weight:900 !important}
@media (min-width:900px){
  /* 設置しにくい住宅：パソコンは5列、オレンジの丸い番号を黄色の線でつなぐ */
  body.home .st-conds{gap:18px !important;position:relative !important}
  body.home .st-conds::before{content:"" !important;position:absolute !important;left:8% !important;right:8% !important;top:30px !important;height:4px !important;background:#ffc21a !important;border-radius:2px !important}
  body.home .st-conds li{background:none !important;box-shadow:none !important;border-radius:0 !important;padding:80px 8px 0 !important;text-align:center !important}
  body.home .st-conds li::before{left:50% !important;top:0 !important;transform:translateX(-50%) !important;width:62px !important;height:62px !important;line-height:62px !important;font-size:22px !important;box-shadow:0 0 0 6px #fff !important}
  /* 選ばれる理由：パソコンは3列 */
  body.home .st-reasons{grid-template-columns:repeat(3,1fr) !important}
  body.home .st-reason__body{padding:24px 26px 28px !important}
}
@media (max-width:599px){
  body.home .st-sh-en{font-size:13px !important;letter-spacing:.2em !important}
  body.home .st-lead{font-size:16px !important}
  body.home .st-sub{border-radius:20px !important}
  body.home .st-reason img{height:200px !important;min-height:200px !important}
  body.home .st-cta{border-radius:24px !important}
}

/* 2.5.4 補助金のカード：単位は小さく上の行、金額は大きく途中で切らない */
.st-sub__u{display:block;font-size:max(14px,.5em);font-weight:700;line-height:1.4;color:#1d6450;letter-spacing:.02em;margin-bottom:2px}
body.home .st-sub__v .st-sub__u{color:#1d6450 !important}
.st-sub__m{display:block}
.st-sub__m .st-nb{display:inline-block;white-space:nowrap}
body.home .st-sub__v{word-break:keep-all !important;overflow-wrap:normal !important}
@media (min-width:900px){body.home .st-sub__v{font-size:clamp(21px,2.1vw,32px) !important}}
/* 2.5.5 はじめての方へ（GUIDE）を目立たせる：薄い緑の段、STEPの帯、大きいアイコン、緑のボタン */
body.home #guide{background:linear-gradient(180deg,#eef7f2 0%,#fff 100%) !important}
body.home .st-guides{gap:24px !important;margin-top:32px !important}
body.home .st-guide{position:relative !important;display:flex !important;flex-direction:column !important;padding:0 0 24px !important;overflow:hidden !important;border-radius:24px !important;border:2px solid #f6c08a !important;box-shadow:0 16px 36px rgba(224,106,0,.16) !important;transition:transform .18s,box-shadow .18s !important}
body.home .st-guide:hover{transform:translateY(-4px) !important;box-shadow:0 22px 44px rgba(224,106,0,.24) !important}
body.home .st-guide::before{display:flex;align-items:center;gap:10px;padding:14px 24px;background:#f07a12;color:#fff;font-weight:900;font-size:15px;letter-spacing:.08em}
body.home .st-guide:nth-child(1)::before{content:"STEP 1　つくる"}
body.home .st-guide:nth-child(2)::before{content:"STEP 2　ためる"}
body.home .st-guide:nth-child(3)::before{content:"STEP 3　給電する"}
body.home .st-guide__i{width:72px !important;height:72px !important;margin:22px 24px 0 !important;background:#fff3dc !important;color:#e06a00 !important}
body.home .st-guide__i .st-i{width:36px;height:36px}
body.home .st-guide h3{margin:14px 24px 6px !important;font-size:22px !important}
body.home .st-guide p{flex:1 0 auto;margin:0 24px !important;font-size:15px !important;color:#33413d !important}
body.home .st-guide__date{margin:10px 24px 0 !important}
body.home .st-guide .st-more{margin:18px 24px 0 !important;align-self:stretch;display:flex !important;justify-content:center;align-items:center;gap:8px;padding:13px 16px;border-radius:999px;background:#1d6450;color:#fff !important;font-weight:800}
body.home .st-guide .st-more .st-i{width:18px;height:18px}
@media (prefers-reduced-motion:reduce){body.home .st-guide{transition:none !important}body.home .st-guide:hover{transform:none !important}}

/* 2.5.6 はじめての方へ：カードの写真（帯の下に写真、アイコンは写真の下の端に重ねる） */
body.home .st-guide__ph{display:block;aspect-ratio:16/9;overflow:hidden;background:#fff3dc}
body.home .st-guide__ph img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s}
body.home .st-guide:hover .st-guide__ph img{transform:scale(1.04)}
body.home .st-guide__ph+.st-guide__i{position:relative;z-index:1;margin:-36px 24px 0 !important;border:4px solid #fff;box-shadow:0 6px 16px rgba(150,90,0,.18)}
@media (prefers-reduced-motion:reduce){body.home .st-guide:hover .st-guide__ph img{transform:none}}
