.rounin-timeline {
    position: relative;
    margin-top: 28px;
    padding-left: 46px;
}

/* .rounin-timeline::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 12px;
    bottom: 12px;
    width: 3px;
    background: #c9d6e8;
} */

.timeline-item {
    position: relative;
    margin-bottom: 54px;
}

.timeline-number {
    position: absolute;
    left: -46px;
    top: 8px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #1877f2;
    color: #fff;
    font-weight: 700;
    line-height: 34px;
    text-align: center;
    z-index: 2;
}

/* 矢印を線の延長に見せる */
.timeline-item::after {
    content: "▼\A▼\A▼";
    white-space: pre;
    position: absolute;
    left: -35px;
    bottom: -48px;
    font-size: 18px;  /* ←大きく */
    color: #b7c5d8;   /* ←少し濃く */
    line-height: 1.5;
}

.timeline-item:last-child::after {
    display: none;
}

.timeline-item:last-child::after {
    display: none;
}

.timeline-body h3 {
    margin-top: 0;
    border-left: none !important;
    padding-left: 0 !important;
    margin-left: 5px;
}

.timeline-body ul {
    margin-top: 16px;
    padding-left: 1.3em;
}

.timeline-body li {
    margin: 8px 0;
}


/* ページ内ジャンプのボタンデザイン */
.env-anchor-nav {
    display: flex;
    gap: 12px;
    margin: 18px 0 24px;
}

/* ボタン */
.env-anchor-nav a {
    flex: 1;
    text-align: center;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}

/* スマホ（縦並び） */
@media (max-width: 768px) {
    .env-anchor-nav {
        flex-direction: column;
    }
}

#yobikou,
#kobetsu,
#takurou {
    scroll-margin-top: 90px;
}


/* ページ内ジャンプ */
.rounin-jump{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:20px;
}

.rounin-jump a{
    display:inline-block;
    padding:12px 18px;
    background:#f4f8fc;
    border:1px solid #cfdceb;
    border-radius:999px;
    color:#1e3a5f;
    font-weight:700;
    text-decoration:none;
    transition:0.2s;
}

.rounin-jump a:hover{
    background:#1e3a5f;
    color:#fff;
    border-color:#1e3a5f;
}