/*
Theme Name: 弁護士しんみなとたくみの法律ラボ
Theme URI:
Template: lightning
Description:法律ラボのテンプレートです
Author:しんみなとたくみ
Tags:
Version: 0.6.1
*/
/* ==========================================================================
   1. サイト全体のベース設定 & メインレイアウト
   ========================================================================== */
body {
    font-family: "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif !important;
    font-size: 18px !important;
    color: #2b2b2b !important;
    line-height: 1.85 !important;
    letter-spacing: 0.04em !important;
}

div#main {
    background: #fff;
    padding: 40px;
    border-radius: 5px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.home div#main {
    padding: 0;
    box-shadow: none;
}

a {
    font-weight: bold;
    color: #0258BA;
    text-decoration: none;
}
a:hover {
    opacity: 0.8;
}
a img {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
p {
    margin-top: 1em;
}
.entry-content > p:empty {
    display: none;
    margin: 0;
    padding: 0;
}

/* ==========================================================================
   2. ヘッダーエリア（PC・スマホ別の出し分け強化）
   ========================================================================== */
/* ==========================================================================
   2. ヘッダーエリア（PCは並列、スマホは標準機能に任せてスッキリ）
   ========================================================================== */
.headnav {
    width: 100vw;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding:10px 20px;
    align-items: center;
}
.headnav ul {
    display: flex;
    gap: 20px;
    font-size: 16px !important;
    list-style: none;
    margin: 0;
    padding: 0;
}
.headnav ul a {
    font-weight: bold;
    color: #0258BA;
}
a.logo {
    width: 200px;
    height: auto;
    display: inline-block;
}

/* 📱 スマホ・タブレット（991px以下）でのヘッダー超スッキリ化 */
@media (max-width: 991px) {
    /* 1. 自作した横並びの文字メニュー（ul）をスマホでは非表示にする */
    .headnav ul {
        display: none !important;
    }
    
    /* 2. Lightning標準のヘッダー構造を調整してロゴを左、ボタンを右に */
    /* ※テーマの構造に合わせて、ロゴエリアとボタンの配置を左右に振り分けます */
    .site-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 10px 15px !important;
    }

    /* 3. Lightningのハンバーガーボタン（vk-mobile-nav-menu-btn） */
	.mobile-nav-btn-right .vk-mobile-nav-menu-btn, .vk-mobile-nav-menu-btn.position-right {
    left: inherit;
    right: 15px;
		top:12px;
}
	.vk-mobile-nav {
    position: fixed;
    z-index: 2000;
    width: 100%;
    height: 100%;
    display: block;
    padding: 45px 30px;
    overflow: scroll;
    top: 0;
    transition: all .5s ease-out;
		background:rgba(58,112,175,0.8);
}
	
    /* 4. ロゴエリアを左側に配置 */
    .headnav, 
    .site-brand,
    .navbar-brand {
        order: 1 !important;
        margin-right: auto !important;
        width: auto !important;
        padding: 0 !important;
    }
    
    /* スマホ時のロゴの大きさを少し扱いやすく微調整（必要に応じて変更してください） */
    a.logo, .site-brand img {
        width: 160px !important; 
    }
}


/* ==========================================================================
   3. 各種タイトル・パンくず・見出し装飾
   ========================================================================== */
.page-header { display: none !important; }
.site-content::before { content: "法律はじめの一歩"; display: none; }

.main-section h1.entry-title,
.main-section h1.page-title,
article h1 {
    display: block !important;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    padding: 0 0 5px;
    border: none !important;
    text-align: left;
}

.breadcrumb-section {
    padding-top: 20px !important;
    padding-bottom: 0 !important;
    background: none !important;
}

/* パンくずリスト（家消去、スマホ横スクロール） */
.breadcrumb .fa-home,
.breadcrumb .bi-house,
.breadcrumb i[class*="fa-"],
.breadcrumb .vk-breadcrumb-item-home::before {
    display: none !important;
}
.breadcrumb a {
    text-decoration: none !important;
    border: none !important;
    box-shadow: none !important;
    color: #666666 !important;
}
.breadcrumb a:hover {
    text-decoration: none !important;
    border: none !important;
    background: none !important;
    opacity: 0.8;
}

/* 投稿ページ用メタ情報 */
.entry-meta { font-size: var(--vk-size-text-sm); color: #BBB; }
span.vcard.author { display: none; }

/* H2・H3装飾 */
h3:after { border: none; }
h2.labo-h2-box {
    display: block !important;
    background: #f2f7fc !important;
    border: none !important;
    border-left: 6px solid #0158BA !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    color: #0158BA !important;
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    padding: 14px 20px !important;
    margin: 45px 0 22px 0 !important;
    text-align: left !important;
}
h3.labo-h3-line {
    display: block !important;
    background: none !important;
    border: none !important;
    border-left: 4px solid #0158BA !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #0158BA !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    padding: 2px 0 2px 12px !important;
    margin: 35px 0 15px 0 !important;
    text-align: left !important;
}


/* ==========================================================================
   4. TOPページ専用（フルウィズセクション・装飾ボックス）
   ========================================================================== */
.MainVisual {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: hidden; /* はみ出た左右をきれいにカット */
}

/* 💻 パソコンやタブレット（768px以上）の時は、縮小して全体を綺麗に見せる */
@media (min-width: 768px) {
    .MainVisual { height: auto !important; }
    .MainVisual img {
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        display: block;
    }
}

/* 📱 スマホ（767px以下）の時だけ、中央をグッと拡大する */
@media (max-width: 767px) {
    .MainVisual {
        height: 250px !important; /* スマホでちょうど良いバナーの高さに固定 */
    }
    .MainVisual img {
        position: absolute;
        top: 50%;
        left: 49%;
        transform: translate(-50%, -50%); /* 完全に画像を中央配置 */
        
        width: 160% !important; /* 🔥 画像の横幅を1.6倍に拡大（左右の本棚などが画面外へ） */
        max-width: none !important;
        height: 100% !important;
        object-fit: cover !important; /* 縦横比を保ったまま拡大枠にフィット */
        display: block;
    }
}
.full-width {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-bottom: 0 !important;
    padding: 80px 0;
}
.full-width h2 {
    font-size: 2em !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center;
    border: none !important;
    font-weight: bold;
}
.full-width h2::after { content: none !important; background: none !important; }
.full-width h2 span { display: block !important; font-size: .5em; color: #84a1c0; }

.Inner { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
.pickup { padding: 40px 0; background: #fff7ed; }
.latest { background: #eaf4fc; }
.about { background: #fff; }
.theme { background: #0058ba; }

.pickup h2 { color: #ea580c !important; }
.latest h2, .about h2 { color: #0058ba !important; }
.pickup h2, .latest h2 { line-height: 1.2; }
.theme h2 { color: #fff !important; }

.ProfileButton { text-align: right; margin-top: 40px; }
.Box { display: block; padding: 20px; background: #FaFaFa; }
.box { border: 2px solid #7db4e6; padding: 25px; margin: 15px 0 25px; }
.box-bg { border: 2px solid #F6F6F6; padding: 25px; margin: 15px 0 25px; }
.st-widgets-title span { color: #fff; }


/* ==========================================================================
   5. 【レスポンシブ】サムネイルグリッド（PC:4列 / スマホ:2列）
   ========================================================================== */
ul.list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    padding: 0 !important;
    margin: 0 auto !important;
    list-style: none !important;
    width: 100% !important;
}
ul.list li {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    width: calc((100% - (12px * 3)) / 4) !important;
    background: #fff;
}
ul.list a {
    display: block !important;
    text-decoration: none !important;
    font-weight: bold !important;
    color: #333 !important;
    text-align: center !important;
}
ul.list a img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
}
.pickup ul.list, .theme ul.list { margin-top: 20px !important; }


/* ==========================================================================
   6. 新着情報（カルーセル・カード）
   ========================================================================== */
.news-carousel-wrapper { padding: 0 40px; margin-top: 20px; margin-bottom: 2rem; }
.news-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    color: var(--vk-color-text-body, #333);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    color: var(--vk-color-primary, #0066cc);
    text-decoration: none;
}
.news-card__img-wrapper { position: relative; width: 100%; padding-top: 56.25%; background-color: #f5f5f5; overflow: hidden; }
.news-card__img, .news-card__no-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.news-card__no-img { display: flex; align-items: center; justify-content: center; font-size: 0.85rem; color: #999; }
.news-card__body { padding: 15px; display: flex; flex-direction: column; flex-grow: 1; position: relative; padding-bottom: 40px; }
.news-card__date { font-size: 0.8rem; color: #777; margin-bottom: 8px; font-weight: 600; }
.news-card__title { font-size: 0.95rem; line-height: 1.5; margin: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.news-card__arrow {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 24px;
    height: 24px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: background 0.3s ease, color 0.3s ease;
}
.news-card:hover .news-card__arrow { background: var(--vk-color-primary, #0066cc); color: #fff; }
.news-carousel-wrapper .splide__arrow { background: rgba(255, 255, 255, 0.9); border: 1px solid #e5e5e5; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
.news-carousel-wrapper .splide__arrow:hover { background: var(--vk-color-primary, #0066cc); color: #fff; }
.news-carousel-wrapper .splide__arrow--prev { left: 0; }
.news-carousel-wrapper .splide__arrow--next { right: 0; }
.news-card time { display: block; margin: 0; }
.news-card h3 { font-size: 16px; line-height: 1.5; margin: 5px 0 10px !important; border: none; }


/* ==========================================================================
   7. タグ別・動画紹介記事一覧グリッド
   ========================================================================== */
.video-grid-container { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 3rem; }
.video-item { background: #fff; border: 1px solid #e5e5e5; border-radius: 8px; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.video-item__link { display: block; color: var(--vk-color-text-body, #333); text-decoration: none; }
.video-item__link:hover { text-decoration: none; color: var(--vk-color-primary, #0066cc); }
.video-item:hover { transform: translateY(-4px); box-shadow: 0 10px 20px rgba(0,0,0,0.08); }
.video-item__thumb-wrapper { position: relative; width: 100%; padding-top: 56.25%; background: #f5f5f5; overflow: hidden; }
.video-item__img, .video-item__no-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.video-item:hover .video-item__img { transform: scale(1.03); }
.video-item__no-img { display: flex; align-items: center; justify-content: center; color: #999; font-size: 0.85rem; }
.video-item__play-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.15); display: flex; align-items: center; justify-content: center; transition: background 0.3s ease; }
.video-item__play-overlay i { font-size: 2.5rem; color: rgba(255, 255, 255, 0.8); transition: transform 0.3s ease, color 0.3s ease; }
.video-item:hover .video-item__play-overlay { background: rgba(0, 0, 0, 0.3); }
.video-item:hover .video-item__play-overlay i { color: #fff; transform: scale(1.1); }
.video-item__body { padding: 16px; }
.video-item__date { display: block; font-size: 0.8rem; color: #666; margin-bottom: 6px; font-weight: 600; }
.video-item__title { font-size: 0.95rem; line-height: 1.5; margin: 0; font-weight: 700; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.video-list-none { color: #777; padding: 20px 0; }
.video-grid-wrapper { margin-bottom: 50px; }
.video-more-btn-wp { text-align: center; margin-top: 30px; }
.video-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 40px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--vk-color-primary,#0066cc);
    background-color: #fff;
    border: 2px solid var(--vk-color-primary, #0066cc);
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}
.video-more-btn:hover {
    color: #fff !important;
    background-color: var(--vk-color-primary, #0066cc);
    text-decoration: none;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}
.video-more-btn i { font-size: 0.8rem; transition: transform 0.3s ease; }
.video-more-btn:hover i { transform: translateX(4px); }


/* ==========================================================================
   8. オーサーボックス
   ========================================================================== */
.author-box-container.lab-style-box { margin-top: 60px; border-radius: 8px; background-color: #EAF4FC; border: 1px solid #fafafa; }
.author-box__title { font-size: 0.85rem; font-weight: 700; color: #fff; margin-bottom: 0; padding: 10px 24px; display: block; background: #0258BA; border-bottom: none; text-align: left; border-radius: 8px 8px 0 0; }
.author-box__inner { display: flex; gap: 24px; align-items: flex-start; padding: 24px; }
.author-box__appeal { flex-shrink: 0; width: 200px; border: 3px solid #fff; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); overflow: hidden; }
.author-box__appeal-img { width: 100%; height: auto; display: block; object-fit: cover; }
.author-box__body { flex: 1; width: 100%; }
.author-box__body h4 { background: none; padding: 0; }
.author-box__name { font-size: 1.15rem; font-weight: 700; margin: 0 0 10px 0; color: #0258BA; text-align: left; }
.author-box__text { font-size: 0.9rem; line-height: 1.6; margin: 0 0 18px 0; color: #555; text-align: left; }
.author-box__sns.lab-style-sns { display: flex; gap: 10px; justify-content: flex-start !important; margin-top: 15px; }
.author-box__sns-link { display: inline-flex !important; align-items: center !important; justify-content: center !important; width: 36px; height: 36px; border-radius: 50%; color: #fff !important; text-decoration: none !important; box-shadow: 0 2px 5px rgba(0,0,0,0.1); transition: transform 0.2s ease, opacity 0.2s ease; overflow: hidden; }
.author-box__sns-link i, .author-box__sns-link .fab, .author-box__sns-link .fa { display: inline-block !important; font-size: 1.1rem !important; line-height: 1 !important; margin: 0 !important; padding: 0 !important; text-align: center !important; width: auto !important; height: auto !important; }
.author-box__sns-link:hover { transform: translateY(-2px); opacity: 0.85; }
.author-box__sns--x { background-color: #111111; }
.author-box__sns--youtube { background-color: #ff0000; }
.author-box__sns--instagram { background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7); }
.author-box__sns--tiktok { background-color: #010101; }
.author-box__sns--note { background-color: #2cb696; }
.note-icon-text { font-family: "Helvetica Neue", Arial, sans-serif; font-weight: bold; font-style: italic; font-size: 1.1rem; line-height: 1; display: inline-block; transform: translateY(-1px); }


/* ==========================================================================
   9. キラリと光る2連ボタン
   ========================================================================== */
ul.Flex {
    display: flex;
    flex-wrap: wrap;
    list-style: none !important;
    margin: 25px auto 0 !important;
    padding: 0 !important;
    gap: 15px;
    width: 100%;
}
ul.Flex li {
    flex: 1;
    min-width: 200px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
.shiny-btn { display: block; width: 100%; margin-bottom: 1em; }
.shiny-btn a {
    display: block;
    position: relative;
    z-index: 1 !important; /* 背景色の上に確実に光を載せる土台 */
    overflow: hidden;
    width: 100%;
    font-weight: bold;
    border-radius: 6px;
    color: #ffffff !important;
    padding: 14px 0;
    text-align: center;
    text-decoration: none !important;
    box-sizing: border-box;
    transition: transform 0.2s, background-color 0.2s;
}
.shiny-btn a:hover { transform: translateY(3px); }

.black-shiny a { background-color: #333333; border-bottom: solid 4px #1a1a1a; }
.black-shiny a:hover { background-color: #444444; border-bottom: solid 1px #1a1a1a; }
.red-shiny a { background-color: #e62117; border-bottom: solid 4px #b3120a; }
.red-shiny a:hover { background-color: #ff3326; border-bottom: solid 1px #b3120a; }

/* キラリと光るエフェクトの重ね順(z-index)調整 */
.shiny-btn a::before {
    content: "";
    display: block;
    position: absolute;
    z-index: 2 !important; /* 最前面に引っ張り出す */
    top: -50%;
    left: -30%;
    width: 30px;
    height: 200px;
    transform: rotate(30deg);
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%);
    animation: shiny-loop 3s infinite linear;
}
@keyframes shiny-loop {
    0%   { left: -30%; }
    15%  { left: 120%; }
    100% { left: 120%; }
}


/* ==========================================================================
   10. サイドバー設定
   ========================================================================== */
.sub-section--col--two { background: none; padding: 0 10px 10px; }
dl.side-contents { margin: 0 auto; }
dl.side-contents div { margin: 20px 0; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); }
dl.side-contents dt { background: #6BBB69; color: #fff; margin: 0; padding: 5px; font-size: .9em; }
dl.side-contents dd { padding: 15px; background: #fff; }
.widget_media { padding: 20px; background: #fff; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); }
h4.sub-section-title { background: #6BBB69; color: #fff; margin: 0; padding: 5px; font-size: .9em; border: none; }
h4.sub-section-title::after { border: none; }
li.page_item, li.current_page_item {background: #fff !important;}

/* ==========================================================================
   11. リベ大風・超短縮クラスマーカー
   ========================================================================== */
b.g { background: #cbf2d6 !important; padding: 0 2px !important; }
b.r { background: #ffd1ce !important; padding: 0 2px !important; }
b.p { background: #fcd6f5 !important; padding: 0 2px !important; }
b.b { background: #cce6ff !important; padding: 0 2px !important; }
b.y { background: #ffef9e !important; padding: 0 2px !important; } /* 黄色のカラーコード修正済 */


/* ==========================================================================
   12. 【レスポンシブ】全画面サイズ対応メディアクエリ（ブレイクポイント集約）
   ========================================================================== */

/* 💻 パソコン超大画面（1200px以上） */
@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl { max-width: 1400px; }
    .main-section--col--two {width: calc(80% - 60px); float: left; }
}

/* 🖥️ パソコン・タブレット通常（992px以上） */
@media ( max-width: 992px) {
    .main-section--col--two {/* width: calc(80% - 60px);*/ float: left; }
    .sub-section--col--two { /*width: calc(30% - 30px);*/ float: right; background: #fff; border-radius: 5px; }
}

/* 📟 タブレット・スマホ全般（991px以下での共通調整） */
@media (max-width: 991px) {
    /* パンくずリスト横スクロール化 */
    .breadcrumb, ul.breadcrumb, ol.breadcrumb, .vk-breadcrumb {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
        margin-bottom: 15px !important;
    }
    .breadcrumb::-webkit-scrollbar { display: none !important; }
    .breadcrumb li, .vk-breadcrumb-item { display: inline-block !important; float: none !important; flex-shrink: 0 !important; }
}

/* 📱 スマホ専用（767px以下）のレイアウト崩れ防止ガード */
@media (max-width: 767px) {
    /* 文字と枠のレスポンシブ */
    body { font-size: 16px !important; line-height: 1.75 !important; }
    div#main { padding: 20px; } /* スマホは余白を少し狭めてメインエリアを広く */
    
    .main-section h1.entry-title,
    .main-section h1.page-title,
    article h1 {
        font-size: 1.35rem;
        margin-top: 0;
        margin-bottom: 25px;
        padding-bottom: 12px;
    }
    .breadcrumb-section { padding-top: 15px !important; }


    /* サムネイルリストをスマホで2列に */
    ul.list li { width: calc((100% - 12px) / 2) !important; }

    /* タグ別・動画紹介記事一覧をスマホで1列に */
    .video-grid-container { grid-template-columns: 1fr; gap: 16px; }

    /* オーサーボックスを縦並びに */
    .author-box__inner { flex-direction: column; align-items: center; text-align: left; }
    .author-box__appeal { width: 150px; margin-bottom: 10px; }

    /* 見出しタグのサイズ微調整 */
    h2.labo-h2-box { font-size: 1.2rem !important; padding: 10px 15px !important; margin-top: 35px !important; }
    .entry-content h3.labo-h3-line { font-size: 1.1rem !important; margin-top: 28px !important; }
}


/* ==========================================================================
   フッター
   ========================================================================== */
.site-body-bottom {background: #fff;}
section.foot {padding:50px 10px; text-align:center;}
section.foot img{display:block; width:180px; height:auto; margin:0 auto;}

/* ==========================================================================
   オリジナルSNSシェアボタン（デザイン微調整決定版）
   ========================================================================== */
.custom-share-container {
    text-align: center !important;
    margin:10px auto 30px !important;
    width: 100% !important;
    display: block !important;
}

.custom-share-buttons {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 0 !important;
    margin: 0 !important;
}

.custom-share-buttons .share-btn {
    padding: 0 !important;
    margin: 0 !important;
    display: inline-block !important;
}

/* ボタン共通の丸型デザイン */
.custom-share-buttons .share-btn button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 35px !important;
    height: 35px !important;
    border-radius: 50% !important;
    color: #ffffff !important;
    font-size: 22px !important; /* アイコンの大きさを少し最適化 */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    border: none !important;
    cursor: pointer !important;
    outline: none !important;
    padding: 0 !important;
}

/* ⚡【最重要】アイコンの上下左右中央寄せを強制固定 */
.custom-share-buttons .share-btn button i {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    text-align: center !important;
    font-style: normal !important;
}

/* マウスホバーで浮き上がる */
.custom-share-buttons .share-btn button:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15) !important;
    opacity: 0.9 !important;
}

/* --- 各SNSの公式ブランドカラー --- */
/* X (黒背景) */
.custom-share-buttons .x-tw button { 
    background-color: #111111 !important; 
}

/* Facebook (紺背景) */
.custom-share-buttons .facebook button { 
    background-color: #3b5998 !important; 
}

/* ⚡Instagram (公式風グラデーション背景) */
.custom-share-buttons .instagram button { 
    background: linear-gradient(135deg, #405DE6 0%, #5851DB 10%, #833AB4 25%, #C13584 45%, #E1306C 65%, #FD1D1D 80%, #F56040 95%) !important;
}

/* LINE (緑背景) */
.custom-share-buttons .line button { 
    background-color: #06c755 !important; 
}

/* リンクコピー (グレー背景) */
.custom-share-buttons .copy-link button { 
    background-color: #f0f0f0 !important; 
    color: #666666 !important; 
}
.site-footer {
    text-align: center;
    border-top:none;
	background:#fff;
}
