@charset "UTF-8";
/*!
Theme Name: Cocoon Child
Template:   cocoon-master
Version:    0.0.5
*/

/*
====================================================================
🚨【削除対象】もしもアフィリエイト関連CSS
※完全移行後（全てのカードがカスタムHTML化完了後）に削除可能
====================================================================
*/

/* もしもアフィリエイトカードのスタイリング - 完全上書き版 */
[id^="msmaflink-"],
.booklink-box,
.kaerebalink-box {
    background: rgba(10, 16, 53, 0.95) !important;
    border: 1px solid rgba(75, 92, 217, 0.3) !important;
    border-radius: 12px !important;
    padding: 16px !important;
    margin: 24px 0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

/* 内部要素の背景を必ず透明に */
[id^="msmaflink-"] > *,
[id^="msmaflink-"] div,
[id^="msmaflink-"] span,
.booklink-box > *,
.kaerebalink-box > *,
.booklink-info,
.kaerebalink-info {
    background-color: transparent !important;
}

/* 商品情報エリアの背景を強制的に透明に */
.booklink-info,
.kaerebalink-info {
    background: transparent !important;
}

/* カード内のテキストカラー調整 */
[id^="msmaflink-"] *,
.booklink-box *,
.kaerebalink-box * {
    color: rgba(255, 255, 255, 0.87) !important;
}

/* 商品名のスタイル - 背景を完全に透明に */
[id^="msmaflink-"] .msmaflink-name,
[id^="msmaflink-"] .name,
.booklink-name,
.kaerebalink-name,
.product-name {
    background: transparent !important;
    background-color: transparent !important;
    padding: 8px !important;
    color: #FFE5A3 !important;
    font-weight: bold !important;
    margin-bottom: 8px !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
}

/* 商品名のリンクスタイルも確実に背景を透明に */
[id^="msmaflink-"] .msmaflink-name a,
[id^="msmaflink-"] .name a,
.booklink-name a,
.kaerebalink-name a,
.product-name a {
    background: transparent !important;
    background-color: transparent !important;
    color: #FFE5A3 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
}

/* 商品名のホバー時のスタイルも確実に背景を透明に */
[id^="msmaflink-"] .msmaflink-name:hover,
[id^="msmaflink-"] .name:hover,
.booklink-name:hover,
.kaerebalink-name:hover,
.product-name:hover,
[id^="msmaflink-"] .msmaflink-name a:hover,
[id^="msmaflink-"] .name a:hover,
.booklink-name a:hover,
.kaerebalink-name a:hover,
.product-name a:hover {
    background: transparent !important;
    background-color: transparent !important;
}

/* 画像コンテナ */
[id^="msmaflink-"] .msmaflink-image,
.booklink-image,
.kaerebalink-image {
    background-color: rgba(10, 16, 53, 0.7) !important;
    padding: 8px !important;
    border-radius: 8px !important;
    margin-right: 16px !important;
    border: 1px solid rgba(75, 92, 217, 0.1) !important;
}

/* 画像まわりの調整 */
[id^="msmaflink-"] img,
.booklink-image img,
.kaerebalink-image img {
    border: 1px solid rgba(75, 92, 217, 0.2) !important;
    border-radius: 8px !important;
    margin: 8px 0 !important;
    padding: 4px !important;
    background: rgba(10, 16, 53, 0.4) !important;
}

/* ボタンの共通スタイル - スリム版 */
[id^="msmaflink-"] a[href*="amazon"],
[id^="msmaflink-"] a[href*="rakuten"],
[id^="msmaflink-"] a[href*="yahoo"],
.shoplinkamazon a,
.shoplinkrakuten a,
.shoplinkyahoo a,
.amazonlink,
.rakutenlink,
.yahoolink {
    display: inline-block !important;
    padding: 6px 20px !important;
    margin: 5px !important;
    border-radius: 25px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    text-align: center !important;
    color: #ffffff !important;
    background: #4B5CD9 !important;
    width: auto !important;
    min-width: 120px !important;
    font-size: 0.9em !important;
    line-height: 1.2 !important;
}

/* ボタンコンテナの調整 */
[id^="msmaflink-"] .msmaflink-buttons,
.shoplink-buttons {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-around !important;
    gap: 10px !important;
    margin: 10px 0 !important;
    padding: 0 10px !important;
}

/* ボタンホバー効果 */
[id^="msmaflink-"] a[href*="amazon"]:hover,
[id^="msmaflink-"] a[href*="rakuten"]:hover,
[id^="msmaflink-"] a[href*="yahoo"]:hover,
.shoplinkamazon a:hover,
.shoplinkrakuten a:hover,
.shoplinkyahoo a:hover,
.amazonlink:hover,
.rakutenlink:hover,
.yahoolink:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(75, 92, 217, 0.4);
    background: rgba(75, 92, 217, 0.7) !important;
    opacity: 0.9;
}

/* モバイル対応（もしもアフィリエイト用） */
@media screen and (max-width: 768px) {
    [id^="msmaflink-"],
    .booklink-box,
    .kaerebalink-box {
        padding: 12px !important;
        margin: 15px 0 !important;
    }
    
    [id^="msmaflink-"] a[href*="amazon"],
    [id^="msmaflink-"] a[href*="rakuten"],
    [id^="msmaflink-"] a[href*="yahoo"],
    .shoplinkamazon a,
    .shoplinkrakuten a,
    .shoplinkyahoo a {
        width: 100% !important;
        padding: 6px 16px !important;
        margin: 5px 0 !important;
        font-size: 14px !important;
    }

    [id^="msmaflink-"] .msmaflink-image,
    .booklink-image,
    .kaerebalink-image {
        margin-right: 0 !important;
        margin-bottom: 12px !important;
    }

    [id^="msmaflink-"] .msmaflink-buttons,
    .shoplink-buttons {
        padding: 0 !important;
    }
}

/*
====================================================================
🚨【削除対象終了】ここまでが削除対象
====================================================================
*/

/*
====================================================================
【恒久的CSS】カスタムHTMLカード + その他基本スタイル
====================================================================
*/

/* カスタムもしも風カード - ホバー効果修正版 */
.moshimo-style-card {
    border: 1px solid rgba(75, 92, 217, 0.3) !important;
    background: rgba(10, 16, 53, 0.95) !important;
    border-radius: 12px !important;
    padding: 16px !important;
    margin: 24px 0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: none !important;
    position: relative;
}

/* カード全体のホバー効果を完全削除 */
.moshimo-style-card:hover {
    transform: none !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
}

.card-inner {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 8px !important;
    padding: 12px !important;
}

.product-layout {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
}

.product-image-area {
    flex-shrink: 0;
    margin-right: 16px;
}

.product-image-area img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(75, 92, 217, 0.2);
}

.product-content {
    flex: 1;
}

.product-brand {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 12px;
    margin: 0 0 8px 0;
    font-weight: normal;
}

/* 商品タイトルボックス - スリム版 */
.product-title-box {
    background: #4B5CD9 !important;
    border-radius: 25px !important;
    padding: 8px 12px !important;
    margin-bottom: 8px;
    transition: all 0.3s ease !important;
}

.product-title-box:hover {
    background: rgba(75, 92, 217, 0.7) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 0 25px rgba(75, 92, 217, 0.8) !important;
    opacity: 0.9 !important;
}

.product-title-link {
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: bold !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
    display: block;
    transition: all 0.3s ease !important;
}

.product-title-link:hover {
    color: #ffffff !important;
}

.product-variant {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 12px;
    margin: 0;
}

/* ボタンエリア */
.product-buttons-area {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* カスタムボタン - スリム版 */
.moshimo-btn {
    background-color: #4B5CD9 !important;
    color: #ffffff !important;
    padding: 6px 16px !important;
    border-radius: 25px !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    min-width: 120px !important;
    text-align: center !important;
    flex: 1;
    line-height: 1.2 !important;
}

.moshimo-btn:hover {
    background: rgba(75, 92, 217, 0.7) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 0 25px rgba(75, 92, 217, 0.8) !important;
    color: #ffffff !important;
}

/* レスポンシブ対応：モバイル用スタイル */
@media screen and (max-width: 768px) {
    /* カスタムカード用モバイル対応 */
    .product-layout {
        flex-direction: column;
        text-align: center;
    }

    .product-image-area {
        margin: 0 auto 16px auto;
        width: 200px;
    }
    
    .product-image-area img {
        width: 200px !important;
        height: 200px !important;
    }
    
    .slider-container {
        width: 200px !important;
        height: 200px !important;
    }

    .moshimo-btn {
        width: 100%;
        margin-bottom: 5px;
        padding: 6px 16px !important;
    }
    
    .product-title-box {
        padding: 6px 10px !important;
    }
    
    #main, #sidebar {
        background: rgba(255, 255, 255, 0.2) !important;
        color: rgba(255, 255, 255, 0.87);
    }
    
    #sidebar {
        margin-top: 20px;
        padding: 15px;
        border-radius: 8px;
    }
    
    #sidebar a, 
    #sidebar .widget_categories a, 
    #sidebar .widget_archive a,
    #sidebar .widget_recent_entries a {
        color: rgba(255, 255, 255, 0.87);
    }

    .toc {
        background: rgba(10, 16, 53, 0.2);
    }

    .modern-btn {
        padding: 8px 24px;
        font-size: 14px;
    }
}

/* さらに小さい画面用（スマホ縦向き） */
@media screen and (max-width: 480px) {
    .product-image-area {
        width: 180px;
    }
    
    .product-image-area img {
        width: 180px !important;
        height: 180px !important;
    }
    
    .slider-container {
        width: 180px !important;
        height: 180px !important;
    }
}

/* 大きいスマホ・タブレット用 */
@media screen and (min-width: 481px) and (max-width: 768px) {
    .product-image-area {
        width: 220px;
    }
    
    .product-image-area img {
        width: 220px !important;
        height: 220px !important;
    }
    
    .slider-container {
        width: 220px !important;
        height: 220px !important;
    }
}

/* グローバルな背景と文字色の設定 */
body {
    background-color: #0a1035;
    color: rgba(255, 255, 255, 0.87);
}

/* メインとサイドバーのフェードイン */
#main, #sidebar {
    animation: fadeIn 1.25s ease-out normal;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

@keyframes fadeIn {
    from {
        opacity: 0.1;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0%);
    }
}

/* ヘッダーアニメーション */
#header-container {
    animation: down 1.25s ease-in-out normal;
}

@keyframes down {
    from {
        opacity: 0.1;
        transform: translateY(-3px);
    }
    to {
        opacity: 1;
        transform: translateY(0%);
    }
}

/* パーティクルコンテナの基本設定 */
.particle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.particle-container canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.7;
}

/* メインコンテンツのz-indexとレイヤリング */
#main, .article {
    position: relative;
    z-index: 1;
}

/* 記事コンテンツの設定 */
.article-content {
    position: relative;
    z-index: 2;
    pointer-events: auto;
}

/* リンクの操作性確保 */
.article a,
.article-content a {
    position: relative;
    z-index: 3;
    pointer-events: auto !important;
    touch-action: manipulation;
    color: #4B9CD3;
}

/* ブログカードのスタイリング - モダンスタイル */
.blogcard {
    position: relative;
    padding-bottom: 50px;
    border: 1px solid rgba(75, 92, 217, 0.3) !important;
    background: rgba(10, 16, 53, 0.8);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.blogcard-wrap:hover {
    background: transparent;
    opacity: 0.9;
    transform: translateY(-2px);
}

.internal-blogcard-footer {
    display: none;
}

.internal-blogcard:after {
    position: absolute;
    bottom: 10px;
    right: 20px;
    font-family: 'Font Awesome 5 free';
    content: '続きを読む \f101';
    font-size: 90%;
    font-weight: bold;
    background-color: #3E9CF1;
    color: #FFF;
    padding: 0.2em 2em;
    border-radius: 25px;
    box-shadow: 0 0 15px rgba(62, 156, 241, 0.4);
    transition: all 0.3s ease;
}

.internal-blogcard:hover:after {
    background-color: rgba(62, 156, 241, 0.8);
    transform: translateY(-1px);
    box-shadow: 0 0 20px rgba(62, 156, 241, 0.6);
}

/* モダンボタンスタイル */
.modern-btn {
    display: inline-block;
    padding: 10px 30px;
    color: #ffffff;
    background: rgba(75, 92, 217, 0.9);
    border: 1px solid rgba(244, 244, 244, 0.7);
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(75, 92, 217, 0.6);
}

.modern-btn:hover {
    background: rgba(75, 92, 217, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(75, 92, 217, 0.8);
    color: #ffffff;
}

.modern-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(244, 244, 244, 0.4),
        transparent
    );
    transition: 0.5s;
}

.modern-btn:hover::before {
    left: 100%;
}

/* 見出しのスタイリング */
.article h2, .article h3 {
    letter-spacing: 0.2em;
    line-height: 1.4;
    margin: 1.5em 0 1em;
    padding: 0.5em 0.75em;
}

.article h2 {
    color: #FFE5A3;
    background: rgba(75, 92, 217, 0.5);
    border-radius: 0.3em;
}

.article h2:before {
    margin-left: 0.5em;
}

.article h3 {
    background: rgba(232, 187, 176, 0.5);
    color: #FFE5A3;
    border-radius: 0.3em;
    border: none;
    border-bottom: 3px solid rgba(232, 187, 176, 0.8);
}

/* 目次のスタイリング */
.toc-title {
    font-weight: bold;
    color: #0693cd;
}

.toc {
    background: rgba(244, 245, 247, 0.1);
    border: 5px solid rgba(212, 236, 247, 0.2) !important;
    color: rgba(255, 255, 255, 0.87);
}

/* リンクの色を統一的に設定 */
.article a,
.article-content a,
.entry-content a,
#main a {
    color: #B3E5FC !important;
    text-decoration: none;
}

.article a:hover,
.article-content a:hover,
.entry-content a:hover,
#main a:hover {
    color: #81D4FA !important;
    text-decoration: underline;
}

/* SNSシェアボタン */
.sns-share-message {
    font-weight: bold;
    color: #FFE5A3;
}

.sns-share-buttons {
    flex-wrap: nowrap;
    justify-content: center;
}

.sns-share-buttons a {
    border-radius: 50%;
    font-size: 20px;
    margin: 0 10px;
}

#main .sns-share a {
    width: 40px;
    height: 40px;
}

#main .button-caption {
    display: none;
}

/* タッチデバイスの最適化 */
@media (hover: none) and (pointer: coarse) {
    .article-content a,
    .blogcard-wrap,
    .sns-share-buttons a,
    .modern-btn {
        touch-action: manipulation;
    }
    
    .mobile-footer-menu-buttons {
        touch-action: manipulation;
    }
}

/* 高DPIデバイスの最適化 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .article-content {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* フッター設定 */
#footer {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.2) !important;
}

.footer-bottom, .footer-in {
    background: rgba(255, 255, 255, 0.2) !important;
}

/* モバイルフッターメニュー設定 */
.mobile-footer-menu-buttons {
    position: fixed;
    z-index: 999;
    background: rgba(10, 16, 53, 0.9) !important;
}

.mobile-footer-menu-buttons .menu-button,
.mobile-footer-menu-buttons .menu-button > a,
.mobile-footer-menu-buttons .menu-icon,
.mobile-footer-menu-buttons .menu-button:hover,
.mobile-footer-menu-buttons .menu-content {
    background: transparent !important;
    color: rgba(255, 255, 255, 0.87);
}

/* スライドインメニューの設定 */
body .mobile-menu-content,
body .mobile-menu-buttons .menu-content,
body .search-menu-content,
body .mobile-menu-slide,
body #slide-in-search,
body .search-header,
body .mobile-sidebar,
body .mobile-menu-slide-in .mobile-menu-content,
body #slide-in-search .search-menu-content,
body .mobile-menu-drawer.mobile-menu-slide-in,
body .mobile-sidebar-menu-content,
body .mobile-sidebar-button,
body .mobile-sidebar-toggle,
body .mobile-menu-drawer,
body .navi-menu-content,
body .mobile-menu-slide-in .navi-menu-content,
body .mobile-navi-menu-content {
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    border: none !important;
}

body .search-menu-content,
body .mobile-menu-drawer.mobile-menu-slide-in,
body #slide-in-search,
body .mobile-sidebar-menu,
body .mobile-sidebar-panel,
body .search-menu-overlay,
body .mobile-menu-overlay,
body #slide-in-search .search-menu-overlay,
body .mobile-sidebar-overlay,
body .menu-drawer {
    background: transparent !important;
    background-color: transparent !important;
}

body .mobile-menu-content a,
body .mobile-sidebar-menu a {
    color: rgba(255, 255, 255, 0.87) !important;
}

/* メニューの中身の背景も透明に */
body .mobile-menu-content *,
body .search-menu-content *,
body #slide-in-search * {
    background-color: transparent !important;
}

/* 本文の文字色を調整 */
.article-content, 
.article p {
    color: rgba(255, 255, 255, 0.87);
}

/* モバイルメニューのみを対象にする修正版 */
@media screen and (max-width: 768px) {
    /* スライドインメニュー要素のみ対象にする */
    body .mobile-menu-slide-in,
    body .search-menu-content,
    body .navi-menu-content,
    body #sidebar-menu-content,
    body .slide-in-content,
    body .mobile-menu-content {
        background: rgba(255, 255, 255, 0.2) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    
    /* サブメニュー内の要素にも適用 */
    body .mobile-menu-slide-in *:not(input),
    body .search-menu-content *:not(input),
    body .navi-menu-content *:not(input),
    body #sidebar-menu-content *:not(input),
    body .slide-in-content *:not(input),
    body .mobile-menu-content *:not(input) {
        background-color: transparent !important;
        color: rgba(255, 255, 255, 0.87) !important;
    }
    
    /* 検索ボックスは例外として扱う */
    body .mobile-menu-slide-in input,
    body .search-menu-content input,
    body .navi-menu-content input,
    body #sidebar-menu-content input,
    body .slide-in-content input,
    body .mobile-menu-content input {
        background-color: white !important;
        color: #333 !important;
    }
    
    /* 一般コンテンツには影響させない */
    body #main, 
    body .content, 
    body .entry-content, 
    body .entry-card, 
    body .a-wrap {
        background-color: initial;
        color: initial;
    }
}

/* 記事コンテンツのテキスト色を元に戻す */
@media screen and (max-width: 768px) {
    /* 記事の通常テキストを白っぽい色に戻す */
    body .article,
    body .article p,
    body .article ul,
    body .article ol,
    body .article li,
    body .article blockquote,
    body .entry-content,
    body .entry-content p,
    body .entry-content ul,
    body .entry-content ol,
    body .entry-content li {
        color: rgba(255, 255, 255, 0.87) !important;
    }
    
    /* 見出しをそれぞれ元の色に戻す */
    body .article h1,
    body .entry-title {
        color: #f7fcff !important;
    }
    
    body .article h2 {
        color: #FFE5A3 !important;
    }
    
    body .article h3 {
        color: #FFE5A3 !important;
    }
    
    body .article h4,
    body .article h5,
    body .article h6 {
        color: #f7fcff !important;
    }
    
    /* 強調テキストも同様に */
    body .article strong,
    body .entry-content strong {
        color: #b3e5fc !important;
    }
    
    /* リンクの色も戻す */
    body .article a,
    body .entry-content a {
        color: #B3E5FC !important;
    }
    
    /* ブログカードのタイトルと関連記事のタイトル */
    body .entry-card-title,
    body .related-entry-card-title,
    body .widget-entry-card-title,
    body .card-title {
        color: #b3e5fc !important;
    }
    
    /* 「関連記事」などの見出し */
    body .related-entry-heading,
    body .archive-title,
    body .archive-title span,
    body .widget-title,
    body .widget-entry-cards-title,
    body .widget h3,
    body .sidebar h3 {
        color: #FFE5A3 !important;
    }
    
    /* カテゴリーとタグ */
    body .cat-label,
    body .tag-link,
    body .entry-category,
    body .entry-categories-tags {
        color: inherit !important;
    }
    
    /* カード内のスニペット（抜粋）テキスト */
    body .entry-card-snippet,
    body .related-entry-card-snippet,
    body .widget-entry-card-snippet,
    body .card-snippet {
        color: #b3e5fc !important;
    }
    
    /* ブログカードのメタ情報（日付など） */
    body .post-date,
    body .post-update,
    body .post-author,
    body .e-card-info {
        color: rgba(255, 255, 255, 0.6) !important;
    }
}

/* 🎯 超詳細度でボタンを強制上書き - 最後に追加 */

/* 商品タイトルボックスの中央配置 */
.moshimo-style-card .product-title-box {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

.moshimo-style-card .product-title-link {
    text-align: center !important;
}

/* カスタムカード内のボタンを強制的にスリム化 */
.moshimo-style-card .product-buttons-area a.moshimo-btn.btn-amazon,
.moshimo-style-card .product-buttons-area a.moshimo-btn.btn-rakuten,
.moshimo-style-card .product-buttons-area a.moshimo-btn.btn-yahoo,
.moshimo-style-card .product-buttons-area a.moshimo-btn,
.moshimo-style-card .product-buttons-area a[href*="amazon"].moshimo-btn,
.moshimo-style-card .product-buttons-area a[href*="rakuten"].moshimo-btn,
.moshimo-style-card .product-buttons-area a[href*="yahoo"].moshimo-btn {
    /* 高さに影響するプロパティのみ */
    padding: 2px 16px !important;
    line-height: 1.3 !important;
    font-size: 14px !important;
    
    /* 基本スタイル */
    background-color: #4B5CD9 !important;
    color: #ffffff !important;
    border-radius: 25px !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    min-width: 120px !important;
    text-align: center !important;
    flex: 1 !important;
    margin: 5px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    
    /* 高さ制限 */
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
}

/* ホバー効果も同様に */
.moshimo-style-card .product-buttons-area a.moshimo-btn.btn-amazon:hover,
.moshimo-style-card .product-buttons-area a.moshimo-btn.btn-rakuten:hover,
.moshimo-style-card .product-buttons-area a.moshimo-btn.btn-yahoo:hover,
.moshimo-style-card .product-buttons-area a.moshimo-btn:hover,
.moshimo-style-card .product-buttons-area a[href*="amazon"].moshimo-btn:hover,
.moshimo-style-card .product-buttons-area a[href*="rakuten"].moshimo-btn:hover,
.moshimo-style-card .product-buttons-area a[href*="yahoo"].moshimo-btn:hover {
    background: rgba(75, 92, 217, 0.7) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 0 25px rgba(75, 92, 217, 0.8) !important;
    color: #ffffff !important;
    padding: 2px 16px !important;
    line-height: 1.3 !important;
}

/* モバイル対応 */
@media screen and (max-width: 768px) {
    .moshimo-style-card .product-buttons-area a.moshimo-btn.btn-amazon,
    .moshimo-style-card .product-buttons-area a.moshimo-btn.btn-rakuten,
    .moshimo-style-card .product-buttons-area a.moshimo-btn.btn-yahoo,
    .moshimo-style-card .product-buttons-area a.moshimo-btn,
    .moshimo-style-card .product-buttons-area a[href*="amazon"].moshimo-btn,
    .moshimo-style-card .product-buttons-area a[href*="rakuten"].moshimo-btn,
    .moshimo-style-card .product-buttons-area a[href*="yahoo"].moshimo-btn {
        width: 100% !important;
        margin-bottom: 5px !important;
        padding: 6px 16px !important;
        line-height: 1.2 !important;
        flex: none !important;
    }
}