/* =========================================================================
   ブログ記事エリア (.entry-content) カスタマイズ
========================================================================= */

.entry-content h2 {
    font-size: 2.0rem !important;
    color: #333 !important;
    background: #f0f8f0 !important;
    border-left: 6px solid #008000 !important;
    border-bottom: 1px solid #ccc !important;
    padding: 1.2rem 1.5rem !important;
    margin-top: 3rem !important;
    margin-bottom: 1.5rem !important;
    font-weight: bold !important;
    border-radius: 0 5px 5px 0 !important;
    line-height: 1.4 !important;
}

.entry-content h3 {
    font-size: 1.6rem !important;
    color: #333 !important;
    border-bottom: 2px solid #ddd !important;
    padding-bottom: 0.5rem !important;
    margin-top: 2.5rem !important;
    margin-bottom: 1.5rem !important;
    position: relative !important;
    font-weight: bold !important;
    line-height: 1.4 !important;
}

.entry-content h3::before {
    content: "" !important;
    position: absolute !important;
    bottom: -2px !important;
    left: 0 !important;
    width: 60px !important;
    height: 4px !important;
    background-color: #008000 !important;
    border-radius: 2px !important;
}

.entry-content h4 {
    font-size: 1.3rem !important;
    color: #333 !important;
    border-left: 5px solid #ff5e00 !important;
    padding: 0.6rem 1rem !important;
    background: #fafafa !important;
    margin-top: 2rem !important;
    margin-bottom: 1rem !important;
    font-weight: bold !important;
    line-height: 1.4 !important;
}

.entry-content p {
    font-size: 1rem !important;
    line-height: 1.8 !important;
    color: #444 !important;
    margin-bottom: 1.5rem !important;
}

.entry-content ul {
    background: #f9f9f9 !important;
    padding: 1.5rem 1.5rem 1.5rem 3rem !important;
    border: 1px dashed #ccc !important;
    border-radius: 5px !important;
    margin-bottom: 2rem !important;
    list-style-type: none !important;
}

.entry-content ul li {
    position: relative !important;
    margin-bottom: 0.8rem !important;
    line-height: 1.6 !important;
    color: #444 !important;
    padding-left: 0 !important;
}

.entry-content ul li::before {
    content: "\f00c" !important;
    font-family: "Font Awesome 5 Free", "FontAwesome" !important;
    font-weight: 900 !important;
    color: #008000 !important;
    position: absolute !important;
    left: -1.8rem !important;
    top: 0.1rem !important;
    font-size: 1rem !important;
}

.entry-content ul li:last-child {
    margin-bottom: 0 !important;
}

.entry-content ol {
    background: #f0f8f0 !important;
    padding: 1.5rem 1.5rem 1.5rem 3.5rem !important;
    border-radius: 5px !important;
    margin-bottom: 2rem !important;
}

.entry-content ol li {
    margin-bottom: 0.8rem !important;
    line-height: 1.6 !important;
    color: #444 !important;
    padding-left: 0 !important;
}

.entry-content blockquote {
    background: #fdfdfd !important;
    border-left: 5px solid #008000 !important;
    padding: 1.5rem 2rem !important;
    margin: 2rem 0 !important;
    color: #666 !important;
    font-style: italic !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
}

.entry-content blockquote p {
    margin-bottom: 0 !important;
}

.entry-content img {
    border-radius: 8px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    margin: 1.5rem 0 !important;
    max-width: 100% !important;
    height: auto !important;
}

.entry-content table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin-bottom: 2rem !important;
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
    border: none !important;
}

.entry-content table th {
    background: #008000 !important;
    color: #fff !important;
    padding: 1rem !important;
    text-align: center !important;
    border: 1px solid #006600 !important;
    font-weight: bold !important;
}

.entry-content table td {
    padding: 1rem !important;
    border: 1px solid #ddd !important;
    color: #444 !important;
}

.entry-content table tr:nth-child(even) td {
    background: #f9f9f9 !important;
}

.entry-content a {
    color: #248eba !important;
    text-decoration: underline !important;
    transition: 0.3s !important;
    border-bottom: none !important;
}

.entry-content a:hover {
    color: #ff5e00 !important;
    text-decoration: none !important;
}

@media screen and (max-width: 767px) {
    .entry-content h2 {
        font-size: 1.4rem !important;
        padding: 1rem !important;
    }

    .entry-content h3 {
        font-size: 1.2rem !important;
    }

    .entry-content h4 {
        font-size: 1.1rem !important;
    }

    .entry-content p {
        font-size: 0.95rem !important;
    }

    .entry-content ul,
    .entry-content ol {
        padding-left: 2.5rem !important;
    }

    .entry-content table th,
    .entry-content table td {
        padding: 0.8rem !important;
        font-size: 0.9rem !important;
    }
}

div.media .highlight{
        width: 100%;
    float: none;
}
div.media .highlight ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
div.media .highlight li {
    float: none;
}
@media screen and (max-width: 767px) {
    div.media .media_L li:nth-last-of-type(2n), .media .highlight li:nth-last-of-type(2n) {
        width: 52.5% !important;
    }
}