@charset "utf-8";
/* =========================================================
   共通ヘッダー・フッター（新デザイン）用CSS  2026-11 株式会社リヒトス
   「外観 → ウィジェット」の共通ヘッダー・共通フッターを使うページだけで読み込まれます。

   1〜2 は、これまで各固定ページの本文に貼り付けていた
   <style id="eh-shared-header-style"> と <style id="eh-shared-footer-style"> の中身です（内容は同じ）。
   ヘッダー・フッターの見た目を変えるときは、ここを編集します（弊社で対応いたします）。
   ========================================================= */

/* ---------- 1. 共通ヘッダー（eh-shared-header-style） ---------- */
.eh-shared-shell,.eh-shared-shell *{box-sizing:border-box}.eh-shared-shell{font-family:"Noto Sans JP",-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Hiragino Sans","Yu Gothic",Meiryo,sans-serif;color:#164b39;line-height:1.8;letter-spacing:.015em}.eh-shared-shell .eh-wrap{width:min(100% - 40px,780px);margin-inline:auto}.eh-shared-shell a{color:#164b39;text-underline-offset:4px}.eh-shared-shell :focus-visible{outline:3px solid #ff941f;outline-offset:4px}#eh-renewal-header.eh-shared-shell{position:relative;z-index:40;width:100%;margin:0;padding:10px 0;background:#fff;border-bottom:1px solid #d5e4dc}#eh-renewal-header.eh-shared-shell .eh-renewal-header-inner{display:flex;justify-content:space-between;align-items:center;gap:12px}#eh-renewal-header.eh-shared-shell .eh-renewal-brand{display:flex;align-items:center;gap:14px;min-width:0;text-decoration:none;color:#164b39}#eh-renewal-header.eh-shared-shell .eh-renewal-brand img{display:block;width:80px;height:65px;max-width:100%;object-fit:contain;flex-shrink:0}#eh-renewal-header.eh-shared-shell .eh-renewal-brand>span{font-size:12px;line-height:1.7;font-weight:500;letter-spacing:0}#eh-renewal-header.eh-shared-shell .eh-renewal-menu{position:relative;flex-shrink:0;margin:0;padding:0;border:0}#eh-renewal-header.eh-shared-shell summary{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;margin:0;padding:9px 12px;list-style:none;cursor:pointer;background:#f3f6f3;color:#164b39;border:1px solid #d5e4dc;border-radius:5px;font-size:12px;font-weight:600;line-height:1.5}#eh-renewal-header.eh-shared-shell summary::-webkit-details-marker{display:none}#eh-renewal-header.eh-shared-shell summary:before,#eh-renewal-header.eh-shared-shell summary:after{content:none}#eh-renewal-header.eh-shared-shell details[open]>summary{background:#e8f0e9}#eh-renewal-header.eh-shared-shell nav{position:absolute;top:calc(100% + 8px);right:0;z-index:50;width:260px;max-width:calc(100vw - 40px);max-height:65vh;overflow-y:auto;padding:8px 16px;background:#fff;border:1px solid #d5e4dc;border-radius:6px;box-shadow:0 8px 24px #123f3218}#eh-renewal-header.eh-shared-shell nav a{display:flex;align-items:center;min-height:44px;padding:10px 2px;border-bottom:1px solid #edf1ec;text-decoration:none;font-size:14px;line-height:1.6;color:#164b39}#eh-renewal-header.eh-shared-shell nav a:last-child{border:0}@media(max-width:600px){#eh-renewal-header.eh-shared-shell{padding:8px 0}#eh-renewal-header.eh-shared-shell .eh-renewal-brand{gap:10px}#eh-renewal-header.eh-shared-shell .eh-renewal-brand img{width:70px;height:57px}#eh-renewal-header.eh-shared-shell .eh-renewal-brand>span{font-size:10px}#eh-renewal-header.eh-shared-shell summary{padding:9px 10px;font-size:11px}}@media(max-width:359px){#eh-renewal-header.eh-shared-shell .eh-renewal-brand>span{font-size:9px}#eh-renewal-header.eh-shared-shell .eh-renewal-brand{gap:7px}#eh-renewal-header.eh-shared-shell .eh-renewal-brand img{width:60px;height:50px}}

/* ---------- 2. 共通フッター・画面下の固定ボタン（eh-shared-footer-style） ---------- */
.eh-shared-shell.eh-footer{background:#e5f1e5;margin:0;padding:20px 0 calc(100px + env(safe-area-inset-bottom));font-size:12px}.eh-shared-shell.eh-footer .eh-instagram{display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin:18px 0 0;padding:17px 0;border:0;text-decoration:none}.eh-shared-shell.eh-footer .eh-instagram-logo{display:block;width:40px;height:40px;object-fit:contain;flex-shrink:0;margin:10px}.eh-shared-shell.eh-footer .eh-instagram>strong{font-size:18px}.eh-shared-shell.eh-footer .eh-instagram>span{font-size:12px}.eh-shared-shell.eh-footer .eh-instagram>span:last-child{margin-left:auto;font-size:22px}.eh-shared-shell.eh-footer p{font-size:12px;margin:12px 0;padding:0}.eh-shared-shell.eh-footer .eh-privacy-last{margin:20px 0 0}.eh-shared-shell.eh-fixed{position:fixed;bottom:0;left:0;right:0;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:#fffffff5;border-top:2px solid #164b39;z-index:1000;box-shadow:0 -5px 25px #173c3210}.eh-shared-shell.eh-fixed>div{width:min(100%,780px);margin:auto;display:flex;gap:8px}.eh-shared-shell.eh-fixed a{padding:13px 14px;min-height:49px;display:flex;justify-content:center;align-items:center;gap:12px;text-decoration:none;border-radius:4px;font-size:14px;font-weight:800;line-height:1.5}.eh-shared-shell.eh-fixed a:first-child{flex:1;background:#ff941f;border:1px solid #ff941f;color:#123f32}.eh-shared-shell.eh-fixed .eh-line{background:white;color:#146431;border:1px solid #42724c;min-width:84px}@media(max-width:600px){.eh-shared-shell.eh-footer .eh-instagram>strong{font-size:17px}}@media(max-width:360px){.eh-shared-shell.eh-fixed{padding-inline:10px}.eh-shared-shell.eh-fixed a{font-size:13px}}

/* ---------- 3. テーマに移したことによる調整 ---------- */

/* 文字の配置：既存テーマの「.textwidget（ウィジェットの外枠）を中央寄せ」の指定を受けないように */
.eh-shared-shell{text-align:left}

/* 太字：既存テーマの蛍光ペン風の下線を付けない（Instagramの案内文など） */
.eh-shared-shell strong{background:none}

/* ヘッダーを本文の外に出したため、ホーム系のページ（.eishin-home）で
   「ヘッダーがあるときは下の余白を0にする」指定が効かなくなる分を補います */
body.eh-shell .eishin-home{padding-bottom:0}

/* reCAPTCHAのバッジを、画面下の固定ボタンのすぐ上に（2026-11-16 調整） */
body.eh-shell .grecaptcha-badge{bottom:calc(86px + env(safe-area-inset-bottom))!important}

/* 「トップへ戻る」ボタンを、固定ボタンとreCAPTCHAのバッジに重ならない位置に（記事ページも含め全ページ）
   各固定ページの本文にある bottom:100px の指定より優先させるため、:not(#eh-x) で詳細度を上げています */
body.eh-shell:not(#eh-x) .scroll-back-to-top-wrapper{bottom:calc(172px + env(safe-area-inset-bottom))!important}
