@charset "UTF-8";

/* =========================================
   Article Content Styles (Single Post)
   ========================================= */

:root {
    --primary-color: #0E4C5E;
    --accent-color: #F39C12;
    --bg-light: #F4F8FA;
    --text-main: #333333;
    --text-light: #666666;
    --border-color: #e0e0e0;
}

.entry-content {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-main);
    line-height: 1.8;
    font-size: 1rem;
}

.entry-content p {
    margin-bottom: 2em;
}

/* -----------------------------------------
   Headings (見出し)
----------------------------------------- */
.entry-content h2 {
    background: var(--bg-light);
    padding: 15px 20px;
    border-left: 6px solid var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 60px 0 30px;
    border-radius: 0 4px 4px 0;
    line-height: 1.4;
}

.entry-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 50px 0 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary-color);
    position: relative;
}
.entry-content h3::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 30%;
    height: 3px;
    background: var(--accent-color);
}

.entry-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 40px 0 20px;
    padding-left: 15px;
    border-left: 4px solid var(--accent-color);
}

/* -----------------------------------------
   Lists (リスト) - 修正反映
----------------------------------------- */

/* 「rtoc...」IDの中にあるul/ol以外に適用する */
.entry-content ul:not(rtoc-mokuji ul),
.entry-content ol:not(rtoc-mokuji ol) {
    margin-bottom: 2em;
    padding: 20px 30px;
    /* 枠線と角丸を削除しました */
}

/* 除外されたulの中にあるliに対しても適用しない */
.entry-content ul:not(rtoc-mokuji ul) li {
    list-style: none;
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 0.8em;
}

/* チェックマークアイコン */
.entry-content ul:not(rtoc-mokuji ul) li::before {
    content: '\f00c'; /* FontAwesome Check */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--accent-color);
}

/* 番号付きリスト */
.entry-content ol:not(rtoc-mokuji ol) {
    padding-left: 40px;
}
.entry-content ol:not(rtoc-mokuji ol) li {
    margin-bottom: 0.8em;
    padding-left: 5px;
}

/* -----------------------------------------
   Table (テーブル)
----------------------------------------- */
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2.5em;
    font-size: 0.95rem;
    border: 1px solid var(--border-color);
}

.entry-content table th,
.entry-content table td {
    padding: 15px;
    border: 1px solid var(--border-color);
    vertical-align: middle;
}

.entry-content table th {
    background: var(--primary-color);
    color: #fff;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
}

.entry-content table tr:nth-child(even) {
    background: var(--bg-light);
}

@media (max-width: 768px) {
    .entry-content table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* -----------------------------------------
   Hide Comments (コメント欄を非表示)
----------------------------------------- */
.comments-area {
    display: none !important;
}


/* -----------------------------------------
   Others
----------------------------------------- */
.entry-content a {
    color: var(--primary-color);
    text-decoration: underline;
}
.entry-content a:hover {
    text-decoration: none;
    color: var(--accent-color);
}

button.rtoc_open_close.rtoc_open {
	color: #333;
}