/*
Theme Name: 学術大会テンプレート
Version: 2.1
*/

/* ============================================
   1. 全体の基本設定
   ============================================ */
body {
    margin: 0;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
}

body.custom-background {
    background-attachment: fixed;
    background-size: cover;
}

/* ============================================
   2. ヘッダー
   ============================================ */
.site-header {
    height: var(--h-height);
    background: var(--h-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-bottom: 2px solid var(--h-border);
    z-index: 100;
}

.header-logo {
    position: absolute;
    left: 20px;
    top: calc(50% + 4px);          /* ← 中央から6px下げる（数字を増やすほど下がる） */
    transform: translateY(-50%);   /* これは残す */
}

.header-logo img {
    max-height: calc(var(--h-height) * 0.6);
    width: auto;
}

.header-title h1,
.header-title .site-name {
    margin: 0;
    font-size: var(--site-title-size);
    font-family: var(--site-title-font);
    color: var(--site-title-color);
}

.header-title a {
    text-decoration: none;
    color: inherit;
}

/* ============================================
   3. レイアウト構造（サイトコンテナ）
   ============================================ */
.site-container {
    display: flex;
    max-width: var(--cont-width);
    margin: var(--cont-m-t) auto var(--cont-m-b) auto;
    padding: var(--cont-p-t) var(--cont-p-r) var(--cont-p-b) var(--cont-p-l);
    background-color: var(--c-rgba);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    border-radius: 0px;
    overflow: hidden;
    box-sizing: border-box;
    min-height: 80vh;
}

/* ============================================
   4. サイドバー外枠
   ============================================ */
.side-nav {
    width: var(--side-width);
    padding: var(--side-p-t) var(--side-p-r) var(--side-p-b) var(--side-p-l);
    background: var(--s-bg);
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    box-sizing: border-box;
}

/* ============================================
   5. メニューボタンの配置
   ============================================ */
.side-nav ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
}

.side-nav .side-menu-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.side-menu-list li {
    list-style: none !important;
    width: 100% !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
}

.side-nav > div.widget {
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
}

/* ============================================
   6. ボタンのデザイン
   ============================================ */
ul.side-menu-list > li > a,
.side-menu-list > ul > li > a {
    display: block !important;
    width: 100% !important;
    background-color: var(--m-bg) !important;
    color: #fff !important;
    padding: 15px 20px !important;
    margin: 0 !important;
    border-radius: 0 !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    text-decoration: none !important;
    text-align: left;
    font-weight: bold;
    font-size: 1.0rem;
    box-shadow: none !important;
    box-sizing: border-box !important;
    transition: filter 0.2s;
}

ul.side-menu-list > li > a:hover,
.side-menu-list > ul > li > a:hover {
    filter: brightness(85%);
    transform: none;
}

/* ============================================
   6-1. メニューアイコンのスタイル
   ============================================ */
ul.side-menu-list > li > a i,
.side-menu-list > ul > li > a i {
    margin-right: 8px;
    vertical-align: middle;
    font-size: 1.0em;
    width: 1.2em;
    text-align: center;
    display: inline-block;
}

/* ============================================
   サブメニュー（引き出し式アコーディオン）
   ============================================ */
/* 子メニューは通常は隠す（開くときスライド） */
.side-menu-list .sub-menu {
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.3s ease !important;
}
/* 親が開いている時だけ、その直下の子を表示 */
.side-menu-list .menu-item.is-open > .sub-menu {
    max-height: 1000px !important;
}

/* 子項目（ボタン＋一段下げ） */
.side-menu-list .sub-menu .menu-item > a {
    display: block !important;
    width: 100% !important;
    background-color: var(--m-bg) !important;
    color: #fff !important;
    padding: 14px 20px 14px 44px !important;
    margin: 0 !important;
    border: none !important;
    border-left: 4px solid rgba(255, 255, 255, 0.5) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    text-decoration: none !important;
    text-align: left !important;
    font-weight: bold !important;
    font-size: 0.95rem !important;
    box-sizing: border-box !important;
    transition: filter 0.2s !important;
}
.side-menu-list .sub-menu .menu-item > a:hover {
    filter: brightness(85%) !important;
}
/* 2階層目（第14回）はさらに深く */
.side-menu-list .sub-menu .sub-menu .menu-item > a {
    padding-left: 64px !important;
}

/* 開閉用の矢印（子を持つ項目だけに付く） */
.side-menu-list .menu-item-has-children > a {
    position: relative !important;
}
.submenu-toggle {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.15);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 0.8rem;
    line-height: 1;
    padding: 0;
    transition: transform 0.25s;
}
/* 開いている時は矢印を下向きに */
.side-menu-list .menu-item.is-open > a .submenu-toggle {
    transform: rotate(90deg);
}


/* ============================================
   7. ウィジェットエリア（サイドバー内）
   ============================================ */
.side-widget-area {
    width: var(--w-width);
    margin: 20px auto 0;
    padding: 0 15px;
    box-sizing: border-box;
}

.side-widget-item {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.side-widget-area .widget-title,
.side-widget-area .widgettitle {
    font-size: 0.95rem;
    font-weight: bold;
    margin: 0 0 8px;
    padding-bottom: 4px;
    border-bottom: 2px solid var(--m-bg);
}

.side-widget-area ul {
    padding-left: 1.2em;
    margin: 0;
}

.side-widget-area a,
.side-widget-area li a {
    display: inline !important;
    width: auto !important;
    background-color: transparent !important;
    color: #0068b7 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    font-weight: normal !important;
    text-align: left !important;
    box-shadow: none !important;
    text-decoration: underline !important;
    box-sizing: content-box !important;
    transition: none !important;
}

.side-widget-area a:hover,
.side-widget-area li a:hover {
    filter: none !important;
    transform: none !important;
    text-decoration: none !important;
}

/* ============================================
   8. メインカラム
   ============================================ */
.main-content {
    flex: 1;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.entry-content {
    padding: var(--article-p-t) var(--article-p-r) var(--article-p-b) var(--article-p-l);
}

.pagination {
    padding: 0 var(--article-p-l) var(--article-p-b) var(--article-p-r);
}

/* ============================================
   9. メインビジュアル
   ============================================ */
.main-visual {
    margin: 0;
    line-height: 0;
}

.main-visual img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   10. 新着情報ボックス（旧型・互換性維持）
   ============================================ */
.news-box {
    height: 300px;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch; 
    border: 1px solid #eee;
    padding: 20px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 4px;
    box-sizing: border-box;
}

/* ============================================
   11. 見出しのデザイン
   ============================================ 
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    font-family: var(--heading-font);
    margin: 30px 0 15px;
    padding: 3px 12px;
}

.entry-content h1 {
    margin-top: 0 !important;
    color: var(--heading-h1-color);
    font-size: var(--heading-h1-size);
    background-color: var(--heading-h1-bg);
    border: none;
    padding: 14px 12px !important;
}

.entry-content h2 {
    color: var(--heading-h2-color);
    font-size: var(--heading-h2-size);
    background-color: transparent;
    border: none;
    border-bottom: 4px solid var(--heading-h2-border);
}

.entry-content h3 {
    color: var(--heading-h3-color);
    font-size: var(--heading-h3-size);
    background-color: transparent;
    border: none;
    border-left: 6px solid var(--heading-h3-border);
}

.entry-content h4 { color: #333; font-size: 1.1em; border: none; background: transparent; }
.entry-content h5 { color: #333; font-size: 1.0em; border: none; background: transparent; }
.entry-content h6 { color: #333; font-size: 0.9em; border: none; background: transparent; }
*/

/* ============================================
   11-2. カラムブロックのパディング
   ============================================ */
.entry-content .wp-block-columns {
    padding: var(--column-p-t) var(--column-p-r) var(--column-p-b) var(--column-p-l);
    box-sizing: border-box;
}

/* ============================================
   12. ハンバーガーボタン（PC時は非表示）
   ============================================ */
.hamburger-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    width: 56px;
    height: 56px;
    background-color: var(--m-bg);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    transition: background-color 0.3s;
}

.hamburger-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
    will-change: transform, opacity;
}

.hamburger-btn.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.is-open span:nth-child(2) { opacity: 0; }
.hamburger-btn.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   13. オーバーレイ
   ============================================ */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 500;
}

.nav-overlay.is-open {
    display: block;
}

/* ============================================
   14. レスポンシブ（768px以下）
   ============================================ */
@media screen and (max-width: 768px) {

    .hamburger-btn {
        display: flex;
    }

    .site-header {
        height: auto !important;
        min-height: 60px;
        flex-direction: column;
        justify-content: center;
        padding: 10px 15px;
        gap: 6px;
    }

    .header-logo {
        position: static;
    }

    .header-logo img {
        max-height: 40px;
        width: auto;
    }

    .header-title h1,
    .header-title .site-name {
        font-size: 1rem;
        padding: 0;
        text-align: center;
        margin: 0;
    }

    .site-container {
        flex-direction: column;
        margin: 10px;
        border-radius: 0;
    }

    .side-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px !important;
        height: 100%;
        z-index: 600;
        overflow-y: auto;
        transition: left 0.3s ease;
        box-shadow: 4px 0 15px rgba(0, 0, 0, 0.2);
        padding-top: 60px !important;
    }

    .side-nav.is-open {
        left: 0;
    }

    .main-content {
        padding: 20px !important;
        width: 100%;
    }

    ul.side-menu-list > li,
    .side-menu-list > ul > li {
        width: 90% !important;
    }

    /* ✅ 追加：スマホ時もサブ項目を親と同じ幅に揃える */
    .side-menu-list .sub-menu li {
        width: 100% !important;
    }

    img {
        max-width: 100%;
        height: auto;
    }
}

/* ============================================
   15. メニュー：現在表示中ページの印（全階層共通）
   ============================================ */
.side-menu-list .menu-item.current-menu-item > a,
.side-menu-list .menu-item.current_page_item > a {
    border-left: 6px solid #ffb300 !important;  /* 現在地マーク（共通） */
    font-weight: 800 !important;
}

/* ============================================
   16. メニュー：非公開ページのグレーアウト
   ============================================ */
ul.side-menu-list > li.menu-item-private > a,
.side-menu-list > ul > li.menu-item-private > a {
    opacity: 0.4 !important;
    filter: grayscale(100%) !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

/* ============================================
   17. エフェクト：リップル（クリック時波紋）
   ============================================ */
ul.side-menu-list > li > a,
.side-menu-list > ul > li > a,
.side-menu-list .sub-menu li > a {  /* ✅ 追加：サブ項目もリップル対象に */
    position: relative !important;
    overflow: hidden !important;
}
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    transform: scale(0);
    animation: ripple-anim 0.6s linear;
    pointer-events: none;
}
@keyframes ripple-anim {
    to { transform: scale(2.5); opacity: 0; }
}

/* ============================================
   18. カスタム枠線クラス（追加CSS用）
   ============================================ */
.custom-border-box {
    border: var(--cb-width) solid var(--cb-color) !important;
    border-radius: var(--cb-radius) !important;
    padding: var(--cb-p-t) var(--cb-p-r) var(--cb-p-b) var(--cb-p-l) !important;
    box-sizing: border-box !important;
    background-clip: padding-box !important; 
}

/* ============================================
   19. ✅ 追加：新着情報ショートコード [academic_news] 用
   ============================================ */
.academic-news-box {
    height: var(--news-h);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border: 4px double var(--news-color);
    padding: var(--news-p-t) var(--news-p-r) var(--news-p-b) var(--news-p-l);
    box-sizing: border-box;
    background-color: rgba(255, 255, 255, 0.7); /* 少し透けさせて洗練された印象に */
}

.academic-news-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 学会らしい日付とタイトルのフレックスレイアウト */
.academic-news-list li {
    display: flex;
    align-items: baseline;
    border-bottom: 1px dashed #ccc;
    padding: 10px 0;
    margin: 0 !important;
}

.academic-news-list li:last-child {
    border-bottom: none;
}

.academic-news-list .news-date {
    flex-shrink: 0;
    width: 140px; /* 日付の幅を固定して列を揃える */
    font-size: 0.95em;
    color: #444;
}

.academic-news-list .news-title {
    flex-grow: 1;
    font-weight: bold;
}

.academic-news-list .news-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.academic-news-list .news-title a:hover {
    color: var(--news-color);
    text-decoration: underline;
}

/* スマホ表示では縦に並べる */
@media screen and (max-width: 768px) {
    .academic-news-list li {
        flex-direction: column;
        align-items: flex-start;
    }
    .academic-news-list .news-date {
        width: auto;
        margin-bottom: 4px;
        font-size: 0.85em;
    }
}


/* ============================================
   （追記）トップお知らせバー
   ※ inc/notification-bar.php が出力する #top-notification-bar 用
   ============================================ */
.top-notification-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: linear-gradient(90deg, #ff8a00, #ff5e00);
    color: #fff;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-size: 14px;
}
/* トップページのときだけ、バーのぶんだけ本文を下げる（閉じると effects.js が 0 に戻す） */
body.home {
    padding-top: 48px;
}
.top-notification-bar .badge {
    flex-shrink: 0;
    background: #fff;
    color: #ff5e00;
    font-weight: bold;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.05em;
}
.top-notification-bar .bar-link {
    flex: 1;
    min-width: 0;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.top-notification-bar .bar-link:hover {
    text-decoration: underline;
}
.top-notification-bar .bar-close-btn {
    flex-shrink: 0;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
}
.top-notification-bar .bar-close-btn:hover {
    opacity: 0.7;
}
@media (max-width: 768px) {
    body.home { padding-top: 44px; }
    .top-notification-bar { font-size: 12px; padding: 8px 12px; gap: 8px; }
}

/* ============================================
   （追記）記事下ナビゲーション
   ※ inc/post-nav.php が出力する .post-navigation 用
   ============================================ */
.post-navigation {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 12px;
    margin-top: 40px;
    flex-wrap: wrap;
}
.post-navigation .nav-link {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    color: #0068b7;
    transition: all 0.2s;
}
.post-navigation .nav-link:hover {
    background: #eef4fb;
    transform: translateY(-2px);
}
.post-navigation .nav-next {
    text-align: right;
}
.post-navigation .nav-label {
    font-size: 12px;
    color: #666;
}
.post-navigation .nav-title {
    font-size: 14px;
    font-weight: bold;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.post-navigation .nav-back {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    background: #0068b7;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.2s;
}
.post-navigation .nav-back:hover {
    background: #004684;
}
@media (max-width: 768px) {
    .post-navigation { flex-direction: column; }
    .post-navigation .nav-next { text-align: left; }
}

/* ============================================
   20. メニュー表示方法：ハンバーガーモード（PC幅でも適用）
   ※ カスタマイザー「メニュー表示方法」で選択 → body.layout-hamburger が付与される
   　 サイドバーを引き出し式にし、本文を全幅にする
   ============================================ */
/* ハンバーガーボタンをPCでも表示 */
body.layout-hamburger .hamburger-btn {
    display: flex;
}
/* サイドバーを画面外へ逃がして引き出し式ドロワーにする */
body.layout-hamburger .side-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100%;
    z-index: 600;
    overflow-y: auto;
    transition: left 0.3s ease;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.2);
    padding-top: 70px;
    box-sizing: border-box;
}
body.layout-hamburger .side-nav.is-open {
    left: 0;
}
/* 本文を全幅に */
body.layout-hamburger .main-content {
    width: 100%;
}

/* ============================================
   22. LPレイアウト（body.is-lp）
   ※ 左サイドバー＝ページ内目次（sticky）／グローバルメニュー＝ハンバーガー
   　 ページ編集の「このページをLPレイアウトにする」で有効化
   ============================================ */
/* --- ページ内アンカーのスムーススクロール＆固定要素ぶんのオフセット --- */
html:has(body.is-lp) { scroll-behavior: smooth; }
body.is-lp .entry-content [data-nav] { scroll-margin-top: 80px; }

/* --- LP時はグローバルメニューをハンバーガーで開く（PCでもボタン表示） --- */
body.is-lp .hamburger-btn { display: flex; }
/* グローバル設定がハンバーガーでも、LPでは本文を2カラム（目次＋本文）に保つ */
body.is-lp .main-content { width: auto; }

/* グローバルメニュー用ドロワー（右から引き出し） */
.global-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100%;
    z-index: 600;
    background: var(--s-bg);
    overflow-y: auto;
    transition: right 0.3s ease;
    box-shadow: -4px 0 15px rgba(0, 0, 0, 0.2);
    padding-top: 70px;
    box-sizing: border-box;
}
.global-drawer.is-open { right: 0; }

/* --- 目次（サイドバー内） --- */
.lp-toc { padding: 6px 0 10px; }
.lp-toc-title {
    margin: 0;
    padding: 10px 20px 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #94a3b8;
    text-transform: uppercase;
    border: 0;
}
/* テーマの .side-nav ul（中央寄せ flex）を打ち消して全幅・左ぞろえに */
.lp-toc-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    align-items: stretch !important;
    width: 100% !important;
}
.lp-toc-list li {
    width: 100% !important;
    margin: 0 !important;
}
.lp-toc-link {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 13px 18px 13px 17px;
    border-left: 3px solid transparent;
    color: #475569;
    text-decoration: none;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.5;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.lp-toc-link:hover { background: #eef2f7; color: #0068b7; }
/* 現在地ハイライト（ブランドブルーの左バー＋淡い背景） */
.lp-toc-link.is-active {
    border-left-color: #0068b7;
    background: #e9f1fb;
    color: #0068b7;
    font-weight: 800;
}

/* --- PC：目次サイドバーを画面に追従（sticky） --- */
@media (min-width: 769px) {
    body.is-lp .site-container { overflow: clip; }
    body.is-lp .side-nav {
        position: sticky;
        top: 0;
        align-self: flex-start;
        max-height: 100vh;
        overflow-y: auto;
    }
}

/* --- スマホ：目次は本文上部に横スクロールのバーとして表示 --- */
@media (max-width: 768px) {
    body.is-lp .side-nav {
        position: sticky;
        top: 0;
        left: auto;
        width: 100% !important;
        height: auto;
        max-height: none;
        padding: 0 !important;
        z-index: 400;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
        transition: none;
    }
    body.is-lp .lp-toc-title { display: none; }
    body.is-lp .lp-toc-list {
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    body.is-lp .lp-toc-link {
        flex: 0 0 auto;
        width: auto;
        border-left: none;
        border-bottom: 3px solid transparent;
        white-space: nowrap;
        padding: 12px 16px;
    }
    body.is-lp .lp-toc-link.is-active {
        border-left: none;
        border-bottom-color: #0068b7;
        background: transparent;
    }
}

/* ============================================
   23. サイドメニュー非表示（ページ単位）
   ※ ページ編集の「サイドメニューを非表示にする」で有効化 → body.no-sidebar
   ============================================ */
body.no-sidebar .side-nav { display: none !important; }
body.no-sidebar .main-content { width: 100% !important; }
body.no-sidebar .hamburger-btn { display: none !important; }

/* ============================================
   24. （追記）LP：スマホ余白ゼロ ＋ ロゴ位置補正
   ============================================ */
@media (max-width: 768px) {
    body.is-lp .site-container { margin: 0 !important; border-radius: 0 !important; }
    body.is-lp .main-content { padding: 0 !important; }
    body.is-lp .entry-content { padding: 0 !important; }
    .header-logo { transform: none !important; top: auto !important; }
}

/* ============================================
   25. （追記）お問い合わせFAB × ハンバーガーの重なり回避
   ※ .gh-fab を、ハンバーガーボタン（右下・56px）の上にずらす
   　 LP・ハンバーガーモードはPC幅でもハンバーガーが出るため全幅対象
   ============================================ */
body.is-lp .gh-fab,
body.layout-hamburger .gh-fab {
    bottom: 88px !important;   /* ハンバーガー(下20px+高さ56px=76px)の上 */
    right: 20px !important;
}
@media (max-width: 768px) {
    .gh-fab {
        bottom: 88px !important;
        right: 20px !important;
    }
}
