/* 家族葬のはないろクラスタ 共通スタイル（sg- 接頭辞） */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif; color: #33302c; background: #f7f5f1; line-height: 1.85; font-size: 16px; }
img { max-width: 100%; height: auto; }
a { color: #54677f; }

/* ヘッダー */
.sg-header { background: #2e3a4e; }
.sg-header-in { max-width: 1080px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sg-logo { color: #fff; font-weight: bold; font-size: 19px; text-decoration: none; letter-spacing: .04em; }
.sg-nav { display: flex; gap: 16px; }
.sg-nav a { color: #dde3ea; font-size: 14px; text-decoration: none; }

/* レイアウト */
.sg-main { max-width: 760px; margin: 0 auto; padding: 0 16px 48px; }
.sg-crumbs { max-width: 760px; margin: 0 auto; padding: 12px 16px 0; font-size: 13px; color: #8a8274; }
.sg-crumbs a { color: #8a8274; }
.sg-section { margin: 34px 0; }
.sg-h1 { font-size: 25px; line-height: 1.55; margin: 18px 0 12px; }
.sg-h2 { font-size: 21px; line-height: 1.55; border-left: 6px solid #96793f; padding: 2px 0 2px 12px; margin: 0 0 14px; }
.sg-h3 { font-size: 17px; margin: 20px 0 8px; }
.sg-lead { font-size: 16.5px; }
.sg-note { font-size: 13.5px; color: #8a8274; }
.sg-marker { background: linear-gradient(transparent 62%, #f0dfae 62%); font-weight: bold; }
.sg-aka { color: #a03a30; font-weight: bold; }

/* FV */
.sg-hero { margin: 14px 0 6px; }
.sg-hero img { width: 100%; border-radius: 10px; display: block; }
.sg-pr { text-align: center; font-size: 12.5px; color: #a29885; margin: 10px 0 0; }

/* セクション画像 */
.sg-fig { margin: 18px 0; }
.sg-fig img { width: 100%; border-radius: 8px; display: block; }
.sg-fig figcaption { font-size: 13px; color: #8a8274; margin-top: 6px; text-align: center; }
.sg-fig-half { max-width: 520px; margin-left: auto; margin-right: auto; }
.sg-fig-narrow { max-width: 448px; margin-left: auto; margin-right: auto; }
.sg-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; }
.sg-gallery figure { margin: 0; }
.sg-gallery img { width: 100%; border-radius: 8px; display: block; }
.sg-gallery figcaption { font-size: 12.5px; color: #8a8274; margin-top: 4px; text-align: center; }

/* チェックリスト */
.sg-check { background: #fff; border: 1px solid #ddd5c2; border-radius: 10px; padding: 18px 20px 10px; margin: 20px 0; }
.sg-check p { font-size: 17px; font-weight: bold; margin: 0 0 10px; padding-left: 30px; position: relative; }
.sg-check p::before { content: "☑"; position: absolute; left: 0; color: #96793f; }

/* ポイントグリッド */
.sg-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0; }
.sg-point { background: #fff; border: 1px solid #ddd5c2; border-top: 5px solid #96793f; border-radius: 8px; padding: 14px 12px; text-align: center; }
.sg-point .sg-point-icon { font-size: 26px; }
.sg-point .sg-point-label { font-weight: bold; font-size: 15.5px; line-height: 1.5; margin-top: 6px; }

/* ランキングカード */
.sg-card { background: #fff; border: 2px solid #d8d2c2; border-radius: 12px; padding: 0 0 20px; margin: 22px 0; overflow: hidden; }
.sg-card-first { border-color: #96793f; border-width: 3px; }
.sg-card-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px 4px; }
.sg-crown { width: 44px; height: 44px; flex: none; border-radius: 50%; color: #fff; font-weight: bold; font-size: 20px; display: flex; align-items: center; justify-content: center; }
.sg-gold { background: linear-gradient(135deg, #d9b45c, #a9853e); }
.sg-silver { background: linear-gradient(135deg, #b9bec4, #8f959c); }
.sg-bronze { background: linear-gradient(135deg, #b08256, #8a6537); }
.sg-award { font-size: 15px; font-weight: bold; color: #7d6231; line-height: 1.5; }
.sg-badge { display: inline-block; background: #96793f; color: #fff; font-weight: bold; font-size: 14px; border-radius: 20px; padding: 3px 14px; margin: 6px 18px 0; }
.sg-badge-2 { background: #5d6874; }
.sg-badge-3 { background: #77644a; }
.sg-card-name { font-size: 21px; font-weight: bold; margin: 8px 18px 4px; }
.sg-card-img { margin: 12px 18px 0; }
.sg-card-img img { width: 100%; border-radius: 8px; display: block; }
.sg-card-body { padding: 6px 18px 0; }
.sg-point-list { list-style: none; padding: 0; margin: 10px 0; }
.sg-point-list li { border-top: 1px dashed #ddd5c2; padding: 10px 0; }
.sg-point-list li:first-child { border-top: none; }
.sg-point-list strong { display: block; color: #54677f; margin-bottom: 2px; }
.sg-stats { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.sg-stat { background: #f3eddd; border-radius: 6px; padding: 6px 12px; font-size: 14px; }
.sg-stat b { color: #7d6231; }

/* CTA */
.sg-cta { text-align: center; margin: 16px 18px 0; }
.sg-cta-copy { font-weight: bold; font-size: 16.5px; margin: 0 0 10px; }
.sg-btn { display: block; max-width: 480px; margin: 0 auto; background: linear-gradient(#46586f, #2e3a4e); color: #fff; font-size: 18px; font-weight: bold; text-decoration: none; border-radius: 40px; padding: 16px 20px; box-shadow: 0 4px 0 #1e2735; }
.sg-btn-sub { display: block; max-width: 480px; margin: 10px auto 0; background: #fff; color: #5d6874; font-size: 15.5px; font-weight: bold; text-decoration: none; border: 2px solid #b6ad99; border-radius: 40px; padding: 12px 20px; }
.sg-cta-micro { font-size: 13.5px; color: #8a8274; margin: 10px 0 0; }

/* 比較表 */
.sg-table-wrap { overflow-x: auto; margin: 18px 0; }
.sg-table { border-collapse: collapse; width: 100%; min-width: 560px; background: #fff; font-size: 14.5px; }
.sg-table th, .sg-table td { border: 1px solid #d8d2c2; padding: 10px; text-align: left; vertical-align: top; }
.sg-table thead th { background: #ece7da; text-align: center; }
.sg-table tbody th { background: #faf8f4; width: 26%; }
.sg-table .sg-td-btn { text-align: center; }
.sg-mini-btn { display: inline-block; background: #2e3a4e; color: #fff; font-weight: bold; font-size: 13.5px; text-decoration: none; border-radius: 20px; padding: 7px 16px; }
.sg-mini-btn-sub { background: #6a7684; }

/* アコーディオン */
.sg-acc { background: #fff; border: 1px solid #ddd5c2; border-radius: 10px; margin: 18px 0; }
.sg-acc summary { cursor: pointer; font-weight: bold; font-size: 17px; padding: 14px 18px; list-style: none; position: relative; }
.sg-acc summary::-webkit-details-marker { display: none; }
.sg-acc summary::after { content: "＋"; position: absolute; right: 16px; color: #96793f; }
.sg-acc[open ] > summary::after { content: "−"; }
.sg-acc .sg-acc-body { padding: 0 18px 14px; }
.sg-faq { margin: 14px 0; }
.sg-faq summary { font-size: 16px; }

/* ステップ */
.sg-steps { list-style: none; padding: 0; margin: 16px 0; counter-reset: sgstep; }
.sg-steps li { background: #fff; border: 1px solid #ddd5c2; border-radius: 8px; padding: 12px 14px 12px 52px; margin: 0 0 10px; position: relative; }
.sg-steps li::before { counter-increment: sgstep; content: counter(sgstep); position: absolute; left: 14px; top: 12px; width: 26px; height: 26px; border-radius: 50%; background: #96793f; color: #fff; font-weight: bold; text-align: center; line-height: 26px; font-size: 14px; }
.sg-steps b { display: block; }

/* サテライト導線 */
.sg-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.sg-chip { background: #fff; border: 1px solid #cfc3a5; color: #6e5626; border-radius: 20px; padding: 7px 14px; font-size: 14px; text-decoration: none; }
.sg-related { background: #fff; border: 1px solid #ddd5c2; border-radius: 10px; padding: 16px 18px; margin: 26px 0 0; }
.sg-related p { font-weight: bold; margin: 0 0 8px; }
.sg-related ul { margin: 0; padding-left: 20px; }
.sg-related li { margin: 4px 0; }

/* 式場ハブ・式場ページ */
.sg-pref { margin: 26px 0; }
.sg-pref-h { font-size: 18px; border-bottom: 2px solid #ddd5c2; padding-bottom: 6px; margin: 0 0 10px; }
.sg-store-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sg-store-list a { display: block; background: #fff; border: 1px solid #ddd5c2; border-radius: 8px; padding: 10px 12px; text-decoration: none; color: #33302c; font-size: 14.5px; }
.sg-store-list a b { color: #54677f; }
.sg-store-list a span { display: block; font-size: 12.5px; color: #8a8274; }
.sg-info-table { border-collapse: collapse; width: 100%; background: #fff; font-size: 15px; margin: 16px 0; }
.sg-info-table th, .sg-info-table td { border: 1px solid #d8d2c2; padding: 10px 12px; text-align: left; vertical-align: top; }
.sg-info-table th { background: #ece7da; width: 30%; }
.sg-area-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.sg-area-chip { background: #f3eddd; border-radius: 14px; padding: 4px 12px; font-size: 13.5px; }
.sg-tag-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.sg-tag-chip { background: #ece7da; border-radius: 14px; padding: 4px 12px; font-size: 13.5px; font-weight: bold; color: #4c4436; }

/* フッター */
.sg-footer { background: #2e3a4e; color: #ccd4de; margin-top: 20px; }
.sg-footer-in { max-width: 760px; margin: 0 auto; padding: 26px 16px; font-size: 13.5px; }
.sg-footer a { color: #e4cf9e; }
.sg-footer-copy { text-align: center; margin-top: 14px; }

@media (max-width: 560px) {
  .sg-h1 { font-size: 21.5px; }
  .sg-h2 { font-size: 18.5px; }
  .sg-header-in { flex-wrap: wrap; }
  .sg-logo { font-size: 17px; white-space: nowrap; }
  .sg-nav { gap: 14px; width: 100%; }
  .sg-nav a { font-size: 13.5px; white-space: nowrap; }
  .sg-gallery { grid-template-columns: 1fr; }
}
