@charset "UTF-8";
/* 楽天アフィリエイトサイト用CSS - 2カラムレイアウト版 */
/* Debug Info:
Settings: {"meta_description":"","meta_keywords":"","header_code":"","footer_code":"","free_space_top":"","free_space_bottom":"","sidebar_free_space_top":"","sidebar_free_space_bottom":"","posts_per_page":10,"sidebar_position":"bottom","bg_animation_pattern":"bg-pattern-5","enable_animation":true,"sns_x":"","sns_facebook":"","sns_instagram":"","sns_youtube":"","list_style":"disc","list_color":"#bf0000","color_primary":"#00bd39","color_secondary":"#008099","color_accent":"#ff8800","color_background":"#ffe0e0","color_text":"#333333","widget_search":false,"widget_categories":false,"widget_popular":false,"widget_freetext":true,"widget_ad":true,"widget_freetext_title":"\u304a\u77e5\u3089\u305b","widget_freetext_content":"\u5f53\u30b5\u30a4\u30c8\u306f\u697d\u5929\u5e02\u5834\u306e\u5546\u54c1\u3092\u7d39\u4ecb\u3059\u308b\u30a2\u30d5\u30a3\u30ea\u30a8\u30a4\u30c8\u30b5\u30a4\u30c8\u3067\u3059\u3002\r\n\u6700\u65b0\u306e\u30bb\u30fc\u30eb\u60c5\u5831\u3084\u304a\u5f97\u306a\u30af\u30fc\u30dd\u30f3\u60c5\u5831\u3092\u968f\u6642\u66f4\u65b0\u3057\u3066\u3044\u307e\u3059\u3002\r\n\u305c\u3072\u30d6\u30c3\u30af\u30de\u30fc\u30af\u3057\u3066\u3054\u6d3b\u7528\u304f\u3060\u3055\u3044\uff01","widget_ad_content":"","ad_article_top_enabled":false,"ad_article_top":"","ad_article_bottom_enabled":false,"ad_article_bottom":"","ad_before_h2_enabled":false,"ad_before_h2_position":2,"ad_before_h2":"","ad_before_h3_enabled":false,"ad_before_h3_position":3,"ad_before_h3":"","ad_before_h4_enabled":false,"ad_before_h4_position":2,"ad_before_h4":""}
HeadingStyles: null
Generated at: 2025-07-27 01:17:13
*/


/* CSS変数定義 */
:root {
    --rakuten-red: #00bd39;
    --rakuten-dark-red: #008099;
    --rakuten-light-red: #ff8800;
    --rakuten-pink: #ffe0e0;
    --rakuten-gold: #FFD700;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #999999;
    --bg-light: #F8F8F8;
    --bg-white: #FFFFFF;
    --border-color: #E0E0E0;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-hover: 0 4px 16px rgba(0,0,0,0.15);
    --sidebar-width: 300px;
    --content-gap: 30px;
}

/* 基本設定 */
* {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "メイリオ", Meiryo, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
    width: 100%;
    max-width: 100vw;
}

/* 背景アニメーション */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.bg-shape {
    position: absolute;
    opacity: 0.05;
}

/* パターン1: 動く円 */
.bg-pattern-1 .shape-1 {
    width: 200px;
    height: 200px;
    background: var(--rakuten-red);
    border-radius: 50%;
    top: 10%;
    left: 10%;
    animation: float 20s ease-in-out infinite;
}

.bg-pattern-1 .shape-2 {
    width: 150px;
    height: 150px;
    background: var(--rakuten-gold);
    border-radius: 50%;
    top: 50%;
    right: 20%;
    animation: float 15s ease-in-out infinite reverse;
}

.bg-pattern-1 .shape-3 {
    width: 100px;
    height: 100px;
    background: var(--rakuten-pink);
    border-radius: 50%;
    bottom: 20%;
    left: 30%;
    animation: float 25s ease-in-out infinite;
}

.bg-pattern-1 .shape-4 {
    width: 180px;
    height: 180px;
    background: var(--rakuten-light-red);
    border-radius: 50%;
    top: 70%;
    right: 10%;
    animation: float 18s ease-in-out infinite;
}

.bg-pattern-1 .shape-5 {
    width: 120px;
    height: 120px;
    background: var(--rakuten-gold);
    border-radius: 50%;
    top: 30%;
    left: 50%;
    animation: float 22s ease-in-out infinite reverse;
}

/* パターン2: 幾何学模様 */
.bg-pattern-2 .shape-1 {
    width: 300px;
    height: 300px;
    background: var(--rakuten-red);
    top: -50px;
    right: -50px;
    transform: rotate(45deg);
    animation: rotate 30s linear infinite;
}

.bg-pattern-2 .shape-2 {
    width: 200px;
    height: 200px;
    background: var(--rakuten-gold);
    bottom: 10%;
    left: 5%;
    transform: rotate(30deg);
    animation: rotate 20s linear infinite reverse;
}

.bg-pattern-2 .shape-3 {
    width: 150px;
    height: 150px;
    background: var(--rakuten-light-red);
    top: 40%;
    left: 40%;
    animation: rotate 25s linear infinite;
}

/* パターン3: グラデーション波 */
.bg-pattern-3 .shape-1 {
    width: 200%;
    height: 200px;
    background: linear-gradient(45deg, var(--rakuten-red), transparent);
    top: 20%;
    left: -50%;
    transform: skewY(-3deg);
    animation: wave 20s ease-in-out infinite;
}

.bg-pattern-3 .shape-2 {
    width: 200%;
    height: 150px;
    background: linear-gradient(-45deg, var(--rakuten-gold), transparent);
    bottom: 30%;
    right: -50%;
    transform: skewY(3deg);
    animation: wave 15s ease-in-out infinite reverse;
}

.bg-pattern-3 .shape-3 {
    width: 200%;
    height: 100px;
    background: linear-gradient(90deg, var(--rakuten-light-red), transparent);
    top: 50%;
    left: -50%;
    animation: wave 25s ease-in-out infinite;
}

/* パターン4: 波紋 */
.bg-pattern-4 .shape-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--rakuten-red) 0%, transparent 70%);
    border-radius: 50%;
    top: 10%;
    left: 10%;
    animation: ripple 4s ease-out infinite;
}

.bg-pattern-4 .shape-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--rakuten-gold) 0%, transparent 70%);
    border-radius: 50%;
    bottom: 20%;
    right: 15%;
    animation: ripple 5s ease-out infinite 1s;
}

.bg-pattern-4 .shape-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--rakuten-light-red) 0%, transparent 70%);
    border-radius: 50%;
    top: 40%;
    right: 30%;
    animation: ripple 6s ease-out infinite 2s;
}

.bg-pattern-4 .shape-4 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--rakuten-pink) 0%, transparent 70%);
    border-radius: 50%;
    bottom: 5%;
    left: 25%;
    animation: ripple 4.5s ease-out infinite 0.5s;
}

/* パターン5: ダイヤモンド */
.bg-pattern-5 .shape-1 {
    width: 150px;
    height: 150px;
    background: var(--rakuten-red);
    transform: rotate(45deg);
    top: 10%;
    left: 15%;
    animation: spin 20s linear infinite;
}

.bg-pattern-5 .shape-2 {
    width: 200px;
    height: 200px;
    background: var(--rakuten-gold);
    transform: rotate(45deg);
    bottom: 15%;
    right: 10%;
    animation: spin 25s linear infinite reverse;
}

.bg-pattern-5 .shape-3 {
    width: 100px;
    height: 100px;
    background: var(--rakuten-light-red);
    transform: rotate(45deg);
    top: 50%;
    left: 45%;
    animation: pulse 3s ease-in-out infinite;
}

.bg-pattern-5 .shape-4 {
    width: 180px;
    height: 180px;
    background: var(--rakuten-pink);
    transform: rotate(45deg);
    top: 30%;
    right: 25%;
    animation: spin 30s linear infinite;
}

.bg-pattern-5 .shape-5 {
    width: 120px;
    height: 120px;
    background: var(--rakuten-dark-red);
    transform: rotate(45deg);
    bottom: 30%;
    left: 20%;
    animation: pulse 4s ease-in-out infinite 1s;
}

/* パターン2,3,4用のshape-4,5（表示されないようにする） */
.bg-pattern-2 .shape-4,
.bg-pattern-2 .shape-5,
.bg-pattern-3 .shape-4,
.bg-pattern-3 .shape-5,
.bg-pattern-4 .shape-5 {
    display: none;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes wave {
    0%, 100% { transform: translateX(0) skewY(-3deg); }
    50% { transform: translateX(100px) skewY(3deg); }
}

@keyframes ripple {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

@keyframes spin {
    0% { transform: rotate(45deg); }
    100% { transform: rotate(405deg); }
}

@keyframes pulse {
    0%, 100% { 
        transform: rotate(45deg) scale(1);
        opacity: 0.05;
    }
    50% { 
        transform: rotate(45deg) scale(1.2);
        opacity: 0.1;
    }
}

/* コンテナ */
.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* ヘッダー */
.site-header {
    background: linear-gradient(135deg, var(--rakuten-red) 0%, var(--rakuten-dark-red) 100%);
    color: white;
    padding: 20px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.site-title {
    margin: 0;
}

.animated-title a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.animated-title:hover a {
    opacity: 0.8;
}

.title-main {
    display: block;
    font-size: 2rem;
    font-weight: bold;
}

.title-sub {
    display: block;
    font-size: 0.9rem;
    font-weight: normal;
    opacity: 0.9;
}

/* ナビゲーション */
.site-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.site-nav a {
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.site-nav a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* ピン止め記事 */
.pinned-item a {
    background-color: rgba(255, 255, 255, 0.2);
    font-weight: 500;
}

.pinned-item a:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.pinned-item i {
    font-size: 0.9em;
}

/* コンテンツエリア */
.site-content {
    padding: 40px 0;
    width: 100%;
    overflow-x: hidden;
}

.content-wrapper {
    display: flex;
    gap: var(--content-gap);
    align-items: flex-start;
}

/* メインコンテンツ */
.site-main {
    flex: 1;
    min-width: 0;
}

/* キャンペーンバナー */
.campaign-banner {
    background: linear-gradient(135deg, var(--rakuten-gold) 0%, var(--rakuten-light-red) 100%);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.campaign-title {
    font-size: 1.8rem;
    margin: 0 0 10px 0;
    color: var(--rakuten-dark-red);
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.3;
}

.campaign-text {
    font-size: 1.1rem;
    margin: 0 0 20px 0;
    color: var(--text-primary);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.campaign-button {
    display: inline-block;
    background: var(--rakuten-red);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.campaign-button:hover {
    background: var(--rakuten-dark-red);
    transform: translateY(-2px);
}

/* フリースペースカード */
.free-space-card {
    background: var(--bg-white);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.free-space-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.free-space-content {
    font-size: 1rem;
    line-height: 1.7;
}

/* フリースペース内の見出しスタイル */
.free-space-content h2 {
    color: var(--rakuten-red);
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.4rem;
    background-color: var(--rakuten-pink);
    padding: 8px;
    border-left: 4px solid var(--rakuten-red);
    padding-left: 10px;
}

.free-space-content h3 {
    color: var(--rakuten-dark-red);
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.free-space-content h4 {
    color: var(--text-primary);
    margin-top: 15px;
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: bold;
}

.free-space-content p {
    margin-bottom: 15px;
}

.free-space-content p:last-child {
    margin-bottom: 0;
}

/* フリースペース内のはみ出し防止 */
.free-space-content {
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}

.free-space-content * {
    max-width: 100%;
}

.free-space-content pre {
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.free-space-content table {
    overflow-x: auto;
    display: block;
}

.free-space-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 15px auto;
}

.free-space-content iframe {
    max-width: 100%;
    aspect-ratio: 16/9;
}

/* 長いURLやパスの折り返し */
.free-space-content a {
    word-break: break-all;
}

/* ピン止め記事カード */
.pinned-articles-container {
    margin-bottom: 40px;
    padding-top: 15px;
}

.pinned-articles-title {
    font-size: 1.6rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    text-align: center;
}

.pinned-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

/* ピン止め記事のカードスタイル */
.pinned-card {
    position: relative;
    background: linear-gradient(135deg, #FFF8F0 0%, #FFFFFF 100%);
    border: 2px solid var(--rakuten-gold);
    overflow: visible;
}

.pinned-badge {
    position: absolute;
    top: -5px;
    right: 20px;
    background: var(--rakuten-gold);
    color: white;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
    animation: badge-pulse 2s ease-in-out infinite;
    z-index: 10;
}

@keyframes badge-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pinned-card:hover {
    border-color: var(--rakuten-red);
    transform: translateY(-4px);
}

.pinned-card .article-title {
    color: var(--rakuten-red);
}

/* 記事一覧 */
.articles-list {
    display: grid;
    gap: 20px;
}

.article-card {
    background: var(--bg-white);
    border-radius: 8px;
    padding: 25px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.article-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.article-card h2 {
    margin: 0 0 10px 0;
    font-size: 1.5rem;
}

.article-card h2 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-card h2 a:hover {
    color: var(--rakuten-red);
}

.article-meta {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.category {
    color: var(--rakuten-red);
    font-weight: 500;
}

.article-excerpt {
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.7;
}

.read-more {
    color: var(--rakuten-red);
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 10px;
}

.no-articles {
    text-align: center;
    color: var(--text-secondary);
    padding: 40px 0;
}

/* サイドバー */
.site-sidebar {
    width: var(--sidebar-width);
    flex-shrink: 0;
}

/* ウィジェット基本スタイル */
.widget {
    background: var(--bg-white);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.widget-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--rakuten-red);
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--rakuten-pink);
}

/* 検索ウィジェット */
.widget-search form {
    display: flex;
    gap: 10px;
}

.widget-search input {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
}

.widget-search button {
    background: var(--rakuten-red);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.widget-search button:hover {
    background: var(--rakuten-dark-red);
}

/* 検索フォームのはみ出し防止 */
.widget-search input {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* カテゴリウィジェット */
.widget-categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget-categories li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.widget-categories li:last-child {
    border-bottom: none;
}

.widget-categories a {
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.widget-categories a:hover {
    color: var(--rakuten-red);
}

.category-count {
    background: var(--bg-light);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* 人気記事ウィジェット */
.popular-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.popular-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.popular-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.popular-item-info {
    flex: 1;
}

.popular-item-title {
    font-size: 0.95rem;
    margin: 0 0 5px 0;
}

.popular-item-title a {
    color: var(--text-primary);
    text-decoration: none;
}

.popular-item-title a:hover {
    color: var(--rakuten-red);
}

.popular-item-meta {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* フリースペースウィジェット */
.widget-freetext {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* 広告ウィジェット */
.widget-ad {
    text-align: center;
}

.widget-ad img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* ページネーション */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.page-current {
    background: var(--rakuten-red);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-weight: bold;
}

.page-link,
.page-next {
    background: var(--bg-white);
    color: var(--text-primary);
    padding: 8px 12px;
    border-radius: 4px;
    text-decoration: none;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.page-link:hover,
.page-next:hover {
    background: var(--rakuten-pink);
    border-color: var(--rakuten-red);
}

.page-dots {
    color: var(--text-secondary);
}

/* 記事詳細ページ */
.article-single {
    background: var(--bg-white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.article-header {
    margin-bottom: 30px;
}

.article-title {
    font-size: 2rem;
    margin-bottom: 10px;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* 記事ページ内の見出しスタイル */
.article-single .article-content ul {
    list-style: none;
    padding-left: 40px;
}

.article-single .article-content ul li {
    position: relative;
    padding-left: 25px;
}

.article-single .article-content ul li::before {
    position: absolute;
    left: 0;
    top: 0.2em;
    content: "●";
    color: #bf0000;
    font-size: 0.8em;
}

.article-single .article-content ol {
    list-style: none;
    counter-reset: item;
    padding-left: 50px;
}

.article-single .article-content ol li {
    position: relative;
    padding-left: 35px;
    counter-increment: item;
}

.article-single .article-content ol li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 0;
    background: #bf0000;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9em;
}


.article-content p {
    margin-bottom: 20px;
}

.article-content ul,
.article-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.article-content li {
    margin-bottom: 10px;
}

/* 記事コンテンツのはみ出し防止 */
.article-content {
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.article-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
}

.article-content iframe,
.article-content video {
    max-width: 100%;
    height: auto;
}

/* 長い文字列のはみ出し防止（全体） */
.widget,
.article-card,
.free-space-card {
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* 商品情報（記事上部） */
.product-info {
    background: var(--bg-light);
    border: 2px solid var(--rakuten-pink);
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
    display: flex;
    gap: 20px;
}

.product-image {
    width: 200px;
    height: 200px;
    max-width: 100%;
    object-fit: contain;
    background: white;
    border-radius: 4px;
    padding: 10px;
}

.product-details {
    flex: 1;
}

.product-details h3 {
    margin: 0 0 10px 0;
    color: var(--text-primary);
}

.product-price {
    font-size: 1.8rem;
    color: var(--rakuten-red);
    font-weight: bold;
    margin: 10px 0;
}

.product-link {
    display: inline-block;
    background: linear-gradient(135deg, var(--rakuten-red) 0%, var(--rakuten-dark-red) 100%);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.product-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* 記事ナビゲーション */
.article-nav {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.back-to-home {
    color: var(--rakuten-red);
    text-decoration: none;
    font-weight: bold;
}

.back-to-home:hover {
    text-decoration: underline;
}

/* フッター */
.site-footer {
    background: #2a2a2a;
    color: #cccccc;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: white;
    margin: 0 0 15px 0;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--rakuten-red);
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.social-links a {
    display: inline-block;
    padding: 5px 10px;
    background: var(--rakuten-red);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--rakuten-light-red);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
}

/* アニメーション */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
    }
    
    .site-sidebar {
        width: 100%;
        margin-top: 40px;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .site-nav ul {
        justify-content: center;
        gap: 10px;
    }
    
    .title-main {
        font-size: 1.5rem;
    }
    
    .title-sub {
        font-size: 0.8rem;
    }
    
    .product-info {
        flex-direction: column;
        text-align: center;
    }
    
    .product-image {
        margin: 0 auto;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .campaign-title {
        font-size: 1.4rem;
    }
    
    .campaign-text {
        font-size: 1rem;
    }
    
    .campaign-banner {
        padding: 20px;
    }
    
    .campaign-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .widget {
        padding: 15px;
    }
    
    .popular-item {
        flex-direction: column;
        text-align: center;
    }
    
    .popular-item img {
        width: 100%;
        max-width: 200px;
        height: auto;
    }
    
    /* キャンペーンバナーの追加調整 */
    .campaign-banner {
        padding: 15px;
    }
    
    .campaign-title {
        font-size: 1.2rem;
    }
    
    .campaign-text {
        font-size: 0.9rem;
        margin: 0 0 15px 0;
    }
    
    .campaign-button {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    /* フリースペースの480px以下対応 */
    .free-space-card {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .free-space-content h2 {
        font-size: 1.15rem;
        margin-bottom: 10px;
        padding: 6px;
        padding-left: 8px;
    }
    
    .free-space-content h3 {
        font-size: 1rem;
        margin-top: 15px;
        margin-bottom: 8px;
    }
    
    .free-space-content h4 {
        font-size: 0.95rem;
        margin-top: 12px;
    }
    
    .free-space-content {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    /* テーブルやコードのスクロール対応 */
    .free-space-content table {
        font-size: 0.8rem;
    }
    
    .free-space-content pre,
    .free-space-content code {
        font-size: 0.75rem;
    }
    
    /* 画像の最大幅調整 */
    .free-space-content img {
        margin: 10px auto;
    }
}

/* 商品購入誘導セクション（記事下部） */
.product-cta {
    margin: 40px 0;
    background: linear-gradient(135deg, #FFF5F5 0%, #FFFFFF 100%);
    border: 3px solid var(--rakuten-red);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(191, 0, 0, 0.1);
}

.product-cta-inner {
    padding: 30px;
}

.product-cta-title {
    font-size: 1.8rem;
    color: var(--rakuten-red);
    text-align: center;
    margin-bottom: 25px;
    position: relative;
}

.product-cta-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--rakuten-gold);
}

.product-cta-content {
    display: flex;
    gap: 30px;
    align-items: center;
}

.product-cta-image {
    width: 250px;
    height: 250px;
    object-fit: contain;
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.product-cta-details {
    flex: 1;
}

.product-cta-details h4 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    line-height: 1.5;
}

.product-cta-price {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.price-highlight {
    font-size: 1.8rem;
    color: var(--rakuten-red);
    font-weight: bold;
}

.product-cta-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.product-cta-button {
    display: inline-block;
    background: var(--rakuten-red);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(191, 0, 0, 0.3);
}

.product-cta-button:hover {
    background: var(--rakuten-dark-red);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(191, 0, 0, 0.4);
    color: white;
}

.product-cta-button i {
    margin-right: 8px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .product-cta-content {
        flex-direction: column;
        text-align: center;
    }
    
    .product-cta-image {
        width: 200px;
        height: 200px;
        margin: 0 auto;
    }
    
    .product-cta-button {
        display: block;
        margin: 0 auto;
        text-align: center;
    }
}

/* 記事内広告 */
.article-ad {
    margin: 30px 0;
    padding: 20px;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-align: center;
    overflow: hidden;
}

.article-ad-top {
    margin-top: 0;
    margin-bottom: 30px;
}

.article-ad-bottom {
    margin-top: 30px;
    margin-bottom: 0;
}

.article-ad-h2,
.article-ad-h3,
.article-ad-h4 {
    margin: 25px 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .article-ad {
        margin: 20px -15px;
        padding: 15px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    
    .article-ad-top {
        margin-bottom: 20px;
    }
    
    .article-ad-bottom {
        margin-top: 20px;
    }
    
    .article-ad-h2,
    .article-ad-h3,
    .article-ad-h4 {
        margin: 20px -15px;
    }
}

/* ユーティリティクラス */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--text-secondary); }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.p-1 { padding: 10px; }
.p-2 { padding: 20px; }
.p-3 { padding: 30px; }

/* サイトマップ */
.sitemap-section {
    margin-bottom: 40px;
}

.sitemap-section h3 {
    color: var(--rakuten-red);
    font-size: 1.4rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--rakuten-pink);
}

.sitemap-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sitemap-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.sitemap-list a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.sitemap-list a:hover {
    color: var(--rakuten-red);
}

.sitemap-list small {
    color: var(--text-light);
    margin-left: 10px;
}

.category-group {
    margin-bottom: 30px;
}

.category-group h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding: 8px 12px;
    background-color: var(--bg-light);
    border-left: 4px solid var(--rakuten-red);
}

.full-width {
    max-width: 100%;
    flex: 1;
}

.page-title {
    font-size: 2rem;
    color: var(--rakuten-red);
    margin-bottom: 30px;
    text-align: center;
}

/* 現在のページを示す */
.site-nav .current a {
    color: var(--rakuten-gold);
    font-weight: bold;
}

/* 関連記事セクション */
.related-articles {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
}

.related-articles-title {
    font-size: 1.8rem;
    color: var(--rakuten-red);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.related-articles-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--rakuten-gold);
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.related-article-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.related-article-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
    border-color: var(--rakuten-pink);
}

.related-article-card .article-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.5;
}

.related-article-card .article-meta {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.related-article-card .article-excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.related-article-card .read-more {
    font-size: 0.9rem;
    color: var(--rakuten-red);
    text-decoration: none;
    font-weight: 500;
}

.related-article-card .read-more:hover {
    text-decoration: underline;
}

/* 静的ページ */
.static-page-content {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.static-page-content h2 {
    color: var(--rakuten-red);
    font-size: 1.8rem;
    margin-bottom: 20px;
    background-color: var(--rakuten-pink);
    padding: 10px;
    border-left: 4px solid var(--rakuten-red);
    padding-left: 10px;
}

.static-page-content h3 {
    color: var(--text-primary);
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.static-page-content ul {
    margin-left: 30px;
    margin-bottom: 20px;
}

.static-page-content li {
    margin-bottom: 10px;
}

.static-page-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

/* ハンバーガーメニュー */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: white;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* モバイルナビゲーション */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    background: var(--rakuten-red);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-nav-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-menu li {
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-menu a {
    display: block;
    padding: 15px 20px;
    color: var(--text-primary);
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.mobile-nav-menu a:hover {
    background-color: var(--rakuten-pink);
}

.mobile-nav-separator {
    background: var(--bg-light);
    padding: 10px 20px;
    font-weight: bold;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-color);
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
    }
    
    .site-sidebar {
        width: 100%;
        margin-top: 40px;
    }
    
    /* ヘッダーの高さを増やす */
    .site-header {
        padding: 40px 0;
    }
    
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    
    /* デスクトップナビゲーションを非表示 */
    .site-nav {
        display: none;
    }
    
    /* ハンバーガーメニューを表示 */
    .mobile-menu-toggle {
        display: block;
    }
    
    .mobile-nav-overlay.active {
        display: block;
    }
    
    .mobile-nav {
        display: block;
    }
    
    /* 記事ページのレスポンシブ対応 */
    .article-single {
        padding: 20px;
        margin: 0;
        border-radius: 0;
    }
    
    .article-title {
        font-size: 1.5rem;
    }
    
    .article-content {
        font-size: 1rem;
    }
    
    .article-single .article-content h2 {
        font-size: 1.4rem !important;
    }
    
    .article-single .article-content h3 {
        font-size: 1.2rem !important;
    }
    
    .article-single .article-content h4 {
        font-size: 1.1rem !important;
    }
    
    .article-single .article-content ul,
    .article-single .article-content ol {
        padding-left: 20px;
    }
    
    .article-single .article-content ul li,
    .article-single .article-content ol li {
        padding-left: 20px;
    }
    
    .title-main {
        font-size: 1.5rem;
    }
    
    .title-sub {
        font-size: 0.8rem;
    }
    
    .product-info {
        flex-direction: column;
        text-align: center;
    }
    
    .product-image {
        margin: 0 auto;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .campaign-title {
        font-size: 1.4rem;
    }
    
    .campaign-text {
        font-size: 1rem;
    }
    
    .campaign-banner {
        padding: 20px;
    }
    
    .campaign-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    /* 静的ページ */
    .static-page-content {
        padding: 20px;
    }
    
    .static-page-content h2 {
        font-size: 1.5rem;
    }
    
    .static-page-content h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    /* さらに小さい画面でもヘッダーの高さを確保 */
    .site-header {
        padding: 35px 0;
        min-height: 120px;
    }
    
    .widget {
        padding: 15px;
    }
    
    .popular-item {
        flex-direction: column;
        text-align: center;
    }
    
    .popular-item img {
        width: 100%;
        max-width: 200px;
        height: auto;
    }
    
    /* キャンペーンバナーの追加調整 */
    .campaign-banner {
        padding: 15px;
    }
    
    .campaign-title {
        font-size: 1.2rem;
    }
    
    .campaign-text {
        font-size: 0.9rem;
        margin: 0 0 15px 0;
    }
    
    .campaign-button {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}