/* 記事全体のスタイル */
.mile-article {
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
}

/* メインタイトル */
.article-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    border-bottom: 3px solid #2b669a;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

/* セクションタイトル */
.section-title {
    font-size: 24px;
    font-weight: bold;
    color: #2b669a;
    border-left: 5px solid #2b669a;
    padding-left: 15px;
    margin: 40px 0 20px;
    clear: both;
}

/* サブセクションタイトル */
.sub-section-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    background: #f5f5f5;
    padding: 10px 15px;
    margin: 30px 0 20px;
    border-radius: 5px;
}

/* 基本的なボックススタイル */
.content-box {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 5px;
    padding: 20px;
    margin: 15px 0;
}

/* 比較表のスタイル */
.comparison-table {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 20px;
    margin: 15px 0;
}

/* ポイントリストのスタイル */
.point-list {
    background: #f8f9fa;
    border-left: 3px solid #2b669a;
    padding: 15px 20px;
    margin: 15px 0;
}

/* マーカーのスタイル */
.marker-yellow {
    background: linear-gradient(transparent 60%, #fff459 60%);
}

.marker-red {
    background: linear-gradient(transparent 60%, #ffb2b2 60%);
}

.marker-blue {
    background: linear-gradient(transparent 60%, #a8d7ff 60%);
}

/* リストスタイル */
.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    padding-left: 1.5em;
    position: relative;
    margin-bottom: 10px;
}

.feature-list li:before {
    content: "•";
    position: absolute;
    left: 0.5em;
    color: #2b669a;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .article-title {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .sub-section-title {
        font-size: 18px;
    }
    
    .content-box, .comparison-table, .point-list {
        padding: 15px;
    }
}

/* マーカー装飾 */
.marker-yellow {
    background: linear-gradient(transparent 60%, #FFE58F 60%);
    font-weight: bold;
}

.marker-red {
    background: linear-gradient(transparent 60%, #FFDCE0 60%);
    color: #E53E3E;
    font-weight: bold;
}

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

/* コンテンツボックス */
.content-box {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

/* プロフィール */
.profile-container {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.profile-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 15px 0;
}

.profile-tag {
    background: #E2E8F0;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    color: #4A5568;
}

.cta-link {
    display: block;
    max-width: 400px;
    margin: 40px auto;
    padding: 20px;
    background: #2D3748;
    color: #ffffff !important;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: opacity 0.3s ease;
}

.cta-link:hover {
    opacity: 0.8;
    text-decoration: none;
}

/* CTAセクション */

.cta-section {
    background: linear-gradient(135deg, #1a3c5e 0%, #2b669a 100%);
    color: white;
    padding: 20px 20px;
    text-align: center;
    border-radius: 8px;
    margin: 50px 0 30px;
}

.cta-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.4;
}

.cta-text {
    font-size: 16px;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* ボタンのスタイルを修正 */
.cta-button {
    display: inline-block; /* インラインブロックに変更 */
    background: #ffffff;
    color: #2b669a;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    line-height: 1; /* 行の高さを調整 */
}

.cta-button:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
    .cta-section {
        padding: 30px 15px;
    }
    
    .cta-title {
        font-size: 20px;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }
}
    border-radius: 8px;
    margin: 50px 0 30px;
}

.cta-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background: #ffffff;
    color: #2b669a;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.cta-button:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
    .cta-section {
        padding: 30px 15px;
    }
    
    .cta-title {
        font-size: 20px;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }
}

/* 既存のCSSに追加/更新 */
.content-box {
    position: relative;
    overflow: hidden;
    line-height: 1.8;
}

.card-image-container {
    float: right;
    margin: 0 0 15px 20px;
    width: 300px;
}

.card-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* モバイル向けの調整 */
@media (max-width: 768px) {
    .content-box {
        line-height: 2.0; /* モバイルでは行間をさらに広く */
    }

    .card-image-container {
        float: none;
        margin: 0 auto 25px; /* 下マージンを増やす */
        width: 80%; /* 画像幅を調整 */
    }

    .content-text {
        clear: both;
    }

    .content-text p {
        margin-bottom: 1.2em; /* 段落間の余白を増やす */
    }

    /* マーカー部分の読みやすさ改善 */
    .marker-yellow, .marker-blue, .marker-red {
        display: inline;
        padding: 2px 0;
    }
}

/* プロフィールセクションのスタイル */
.profile-section {
    background: #f5f7fa;
    border-left: 5px solid #2b669a;
    padding: 25px;
    margin: 30px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.profile-label {
    font-size: 14px;
    color: #2b669a;
    font-weight: bold;
    margin-bottom: 15px;
}

.profile-name {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e1e4e8;
}

.profile-description {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 15px;
}

.profile-sns {
    margin-top: 15px;
}

.profile-sns a {
    display: inline-block;
    color: #2b669a;
    text-decoration: none;
    margin-right: 15px;
    font-size: 14px;
}

.profile-sns a:hover {
    text-decoration: underline;
}