/* 投稿ページ */
.single-thumbnail {
    width: 90%;
    height: auto;
    object-fit: cover;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5 {
    color: #111111;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
}

.post-content h1 {
    font-family: "Jost", sans-serif;
    font-optical-sizing: auto;
    font-size: 1.375rem;
    font-weight: 700;
    color: #333333;
    margin-top: 40px;
    margin-bottom: 25px;
    background-color: #F5F3F2;
    border-radius: 8px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* 緑の丸 */
.post-content h1::before {
    content: "";
    display: block;
    width: 14px;
    height: 14px;
    background-color: #089A54;
    border-radius: 50%;
    flex-shrink: 0;

}

.post-content h2 {
    font-family: "Jost", sans-serif;
    font-optical-sizing: auto;
    font-size: 1.375rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.post-content h2::before {
    content: "";
    display: block;
    width: 5px;
    height: 50px;
    background-color: #089A54;
    flex-shrink: 0;
}

.post-content h3 {
    font-family: "Jost", sans-serif;
    font-optical-sizing: auto;
    font-size: 1.25rem;
    color: #089A54;
    font-weight: 700;
}

.post-content h4 {
    font-family: "Jost", sans-serif;
    font-optical-sizing: auto;
    color: #33302C;
    font-size: 1.125rem;
}

.post-content h5 {
    font-family: "Jost", sans-serif;
    font-optical-sizing: auto;
    color: #817D77;
    font-size: 0.875rem;
}


/* --- 段落（pタグ） --- */
.post-content p {
    margin-bottom: 25px;
    padding-left: 15px;
}

.post-content a {
    color: #089A54 !important;
    text-decoration: underline !important;
}


/* --- リスト（ul, ol） --- */
.post-content ul li {
    list-style-type: disc;
    padding-right: 1.5em;

}

.post-content ol li {
    list-style-type: decimal;
}

.post-content ul,
.post-content ol {
    margin-top: 0;
    margin-bottom: 1rem;
    margin-left: 14px;
    padding-left: 0;
}

.post-content li {
    margin-bottom: 10px;
    line-height: 1.8;
    list-style-position: inside !important;
    text-indent: 1.5em;
}

/* ::marker を使うと、丸や数字の色だけを簡単に変更できます */
.post-content ul li::marker,
.post-content ol li::marker {
    color: #089A54;
    font-family: "Jost", sans-serif;
    font-optical-sizing: auto;
    font-weight: bold;
}


/* --- テーブル（表 / table） --- */

.post-content table {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 30px;
    border-collapse: collapse;
    word-break: break-all;
}

/* --- 全てのセル（thとtd）の共通設定 --- */
.post-content th,
.post-content td {
    padding: 15px;
    border: 1px solid #dcdcdc;
    text-align: left;
    vertical-align: middle;
}

/* --- 見出しセル（th）の設定 --- */
.post-content th {
    font-family: "Jost", sans-serif;
    font-optical-sizing: auto;
    font-size: 16px;
    font-weight: 900;
    background-color: #f0f0f0;
    color: #33302C;
}


.post-content tr:nth-child(even) td {
    background-color: #fafafa;

}



/* --- 白い外枠（スマホ用に少し余白を狭く） --- */
.nav-pill {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 12px 10px;
    width: 100%;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* PCの時は丸みを強く、余白を広く */
@media (min-width: 768px) {
    .nav-pill {
        border-radius: 50px;
        padding: 15px 25px;
        max-width: 320px;
    }
}

.nav-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

/* --- テキストエリア --- */
.nav-text-wrap {
    overflow: hidden;
    flex-grow: 1;
    min-width: 0;
}

/* --- Prev / Next のオレンジ文字 --- */
.nav-label {
    display: block;
    color: #F69300;
    font-weight: 700;
    font-size: 12px;
    margin-bottom: 2px;
    font-family: 'Jost', Arial, sans-serif;
}

/* --- 記事タイトル（魔法の2行省略） --- */
.nav-title {
    color: #555555;
    font-size: 14px;
    line-height: 1.4;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
}

/* PCの時の文字サイズとアイコンサイズ */
@media (min-width: 768px) {
    .nav-label {
        font-size: 18px;
    }

    .nav-title {
        font-size: 18px;
    }
}

/* --- SVGアイコン（スマホで大きすぎないように調整） --- */
.nav-svg {
    width: 24px;
    height: auto;
}

@media (min-width: 768px) {
    .nav-svg {
        width: 40px;
    }
}