/*
Theme Name: Xeory Base Child
Template: xeory_base
Version: 1.0.0
*/

/* ========================================
   基本設定（SWELL風 - Xeoryを上書き）
======================================== */


/* ========================================
   見出しスタイル（SWELL風）
======================================== */

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    font-weight: 700 !important;
    line-height: 1.5 !important;
    margin-top: 1em !important;
    margin-bottom: 1em !important;
}

.post-content h1 {
    font-size: 2rem !important;
    color: #333 !important;
    padding: 1rem 0 1rem 1.2rem !important;
    border-left: 6px solid #667eea !important;
    border-bottom: none !important;
    background: linear-gradient(to right, rgba(102, 126, 234, 0.1) 0%, transparent 100%) !important;
}

.post-content h2 {
    font-size: 1.75rem !important;
    color: #333 !important;
    padding: 0.8rem 0 0.8rem 0 !important;
    border-bottom: 3px solid #667eea !important;
    background: none !important;
}

.post-content h3 {
    font-size: 1.5rem !important;
    color: #333 !important;
    padding: 0.5rem !important;
    border-left: none !important;
    background: rgba(102, 126, 234, 0.05) !important;
}

.post-content h4 {
    font-size: 1.3rem !important;
    color: #333 !important;
    padding: 0.5rem 0 !important;
    border-bottom: 2px dotted #667eea !important;
}

/* ========================================
   記事エリア（白背景に美しいシャドウ）
======================================== */

.cat-content,
article.post,
article.page,
article.download {
    background: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08) !important;
    overflow: hidden !important;
    margin-bottom: 40px !important;
}




/* ========================================
   本文テキスト
======================================== */

.post-content p {
    margin-bottom: 1.8em !important;
    line-height: 1.9 !important;
}

.post-content ul,
.post-content ol {
    margin-bottom: 1.8em !important;
    padding-left: 2em !important;
}

.post-content li {
    margin-bottom: 0.5em !important;
    line-height: 1.8 !important;
}

/* ========================================
   テーブル（SWELL風）
======================================== */

.post-content table {
    border: none !important;
    border-collapse: collapse !important;
    width: 100% !important;
    margin-bottom: 2em !important;
    background: #fff !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

.post-content table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #fff !important;
    padding: 12px 16px !important;
    font-weight: 600 !important;
    border: none !important;
}

.post-content table td {
    padding: 12px 16px !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

.post-content table tr:hover {
    background: rgba(102, 126, 234, 0.05) !important;
}

/* ========================================
   画像
======================================== */

.post-content img {
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    max-width: 100% !important;
    height: auto !important;
}

/* ========================================
   引用
======================================== */

.post-content blockquote {
    margin: 2em 0 !important;
    padding: 1.5em 1.5em 1.5em 2em !important;
    background: rgba(102, 126, 234, 0.05) !important;
    border-left: 4px solid #667eea !important;
    border-radius: 4px !important;
    color: #555 !important;
    font-style: italic !important;
}

/* ========================================
   コードブロック
======================================== */

.post-content pre {
    background: #2d3748 !important;
    color: #fff !important;
    padding: 1.5em !important;
    border-radius: 8px !important;
    overflow-x: auto !important;
    margin-bottom: 2em !important;
}

.post-content code {
    background: rgba(102, 126, 234, 0.1) !important;
    color: #667eea !important;
    padding: 0.2em 0.5em !important;
    border-radius: 4px !important;
    font-family: "Courier New", monospace !important;
    font-size: 0.9em !important;
}

.post-content pre code {
    background: none !important;
    color: #fff !important;
    padding: 0 !important;
}

/* ========================================
   余白の調整
======================================== */

#content {
    padding: 40px 0 60px !important;
}

.post-header {
    padding: 40px 64px 20px !important;
}

.post-content {
    padding: 20px 64px 40px !important;
}




/* ========================================
   EDD購入ボタンスタイル
======================================== */

/* 購入ボタンを大きく */
.edd_download_purchase_form .edd-submit {
    font-size: 1.2rem !important;
    padding: 15px 40px !important;
    min-width: 200px !important;
    font-weight: bold !important;
}

.edd_download_purchase_form {
    text-align: center;
}

/* 価格表示も大きく */
.edd_price {
    font-size: 1.8rem !important;
    font-weight: bold !important;
    color: #667eea !important;
}

/* ========================================
   レスポンシブ調整
======================================== */

@media screen and (max-width: 767px) {
   
    
    .post-content h1 {
        font-size: 1.6rem !important;
    }
    
    .post-content h2 {
        font-size: 1.4rem !important;
    }
    
    .post-content h3 {
        font-size: 1.2rem !important;
    }
    
    .post-header,
    .post-content {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}