@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/
/* ========================================
   汎用記事装飾システム
======================================== */

/* イントロ・導入部分 */
.intro-box {
    background: #e6fffa;
    padding: 25px;
    border-radius: 8px;
    border: 2px solid #38b2ac;
    margin: 20px 0;
    line-height: 1.8;
}

/* ポイントリスト */
.point-list {
    background: #fff5f5;
    padding: 20px;
    border-radius: 8px;
    border: 2px solid #fc8181;
    margin: 20px 0;
}

.point-list h4 {
    color: #c53030;
    margin-top: 0;
    font-size: 18px;
}

/* 目次ナビゲーション */
.content-nav {
    background: #f0fff4;
    padding: 20px;
    border-radius: 8px;
    border: 2px solid #68d391;
    margin: 20px 0;
}

.content-nav h4 {
    color: #22543d;
    margin-top: 0;
    font-size: 16px;
}

.content-nav ul {
    margin: 0;
    padding-left: 20px;
    columns: 2;
    column-gap: 30px;
}

.content-nav li {
    margin-bottom: 5px;
    break-inside: avoid;
}

/* ポイントボックス（青） */
.point-box {
    background: #ebf8ff;
    border: 2px solid #3182ce;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    position: relative;
    padding-top: 30px;
}

.point-box::before {
    content: "💡 ポイント";
    background: #3182ce;
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    position: absolute;
    top: -12px;
    left: 20px;
    font-size: 14px;
    font-weight: bold;
}

/* 注意ボックス（オレンジ） */
.caution-box {
    background: #fffaf0;
    border: 2px solid #dd6b20;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    position: relative;
    padding-top: 30px;
}

.caution-box::before {
    content: "⚠️ 注意";
    background: #dd6b20;
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    position: absolute;
    top: -12px;
    left: 20px;
    font-size: 14px;
    font-weight: bold;
}

/* メモボックス（グレー） */
.memo-box {
    background: #f7fafc;
    border: 2px solid #718096;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    position: relative;
    padding-top: 30px;
}

.memo-box::before {
    content: "📝 メモ";
    background: #718096;
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    position: absolute;
    top: -12px;
    left: 20px;
    font-size: 14px;
    font-weight: bold;
}

/* 成功・おすすめボックス（緑） */
.success-box {
    background: #f0fff4;
    border: 2px solid #38a169;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    position: relative;
    padding-top: 30px;
}

.success-box::before {
    content: "✅ おすすめ";
    background: #38a169;
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    position: absolute;
    top: -12px;
    left: 20px;
    font-size: 14px;
    font-weight: bold;
}

/* 警告ボックス（赤） */
.warning-box {
    background: #fef5e7;
    border: 2px solid #e53e3e;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    position: relative;
    padding-top: 30px;
}

.warning-box::before {
    content: "🚨 警告";
    background: #e53e3e;
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    position: absolute;
    top: -12px;
    left: 20px;
    font-size: 14px;
    font-weight: bold;
}

/* 情報ボックス（水色） */
.info-box {
    background: #e6fffa;
    border: 2px solid #319795;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    position: relative;
    padding-top: 30px;
}

.info-box::before {
    content: "ℹ️ 情報";
    background: #319795;
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    position: absolute;
    top: -12px;
    left: 20px;
    font-size: 14px;
    font-weight: bold;
}

/* まとめボックス */
.summary-box {
    background: #f0f9ff;
    padding: 25px;
    border-radius: 8px;
    border: 2px solid #0284c7;
    margin: 30px 0;
}

.summary-box h4 {
    color: #0c4a6e;
    margin-top: 0;
    font-size: 18px;
}

/* ハイライト（マーカー） */
.highlight-yellow {
    background: linear-gradient(transparent 60%, #fff59d 60%);
    font-weight: bold;
}

.highlight-pink {
    background: linear-gradient(transparent 60%, #fbb6ce 60%);
    font-weight: bold;
}

.highlight-blue {
    background: linear-gradient(transparent 60%, #90cdf4 60%);
    font-weight: bold;
}

.highlight-green {
    background: linear-gradient(transparent 60%, #9ae6b4 60%);
    font-weight: bold;
}

/* 記事用画像 */
.content-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.content-image-small {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin: 15px 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* テーブルスタイル */
.content-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
}

.content-table th, 
.content-table td {
    border: 1px solid #e2e8f0;
    padding: 12px;
    text-align: left;
}

.content-table th {
    background: #4299e1;
    color: white;
    font-weight: bold;
}

.content-table tr:nth-child(even) {
    background: #f7fafc;
}

/* 比較テーブル */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
}

.comparison-table th {
    background: #38a169;
    color: white;
    padding: 12px;
    text-align: center;
}

.comparison-table td {
    border: 1px solid #e2e8f0;
    padding: 12px;
    text-align: center;
}

.comparison-table .pro {
    background: #f0fff4;
    color: #22543d;
}

.comparison-table .con {
    background: #fed7d7;
    color: #742a2a;
}

/* ステップ表示 */
.step-box {
    background: #edf2f7;
    border-left: 5px solid #4299e1;
    padding: 20px;
    margin: 20px 0;
    position: relative;
}

.step-number {
    background: #4299e1;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 10px;
}

/* 引用スタイル */
.quote-box {
    background: #f7fafc;
    border-left: 4px solid #a0aec0;
    padding: 15px 20px;
    margin: 20px 0;
    font-style: italic;
    color: #4a5568;
}

/* ボタン風リンク */
.content-button {
    display: inline-block;
    background: #4299e1;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.content-button:hover {
    background: #3182ce;
    color: white;
}

.content-button-green {
    background: #38a169;
}

.content-button-green:hover {
    background: #2f855a;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .content-nav ul {
        columns: 1;
    }
    
    .content-image {
        height: 200px;
    }
    
    .content-table,
    .comparison-table {
        font-size: 12px;
    }
    
    .content-table th,
    .content-table td,
    .comparison-table th,
    .comparison-table td {
        padding: 8px;
    }
}

