.tableOfContents {
    background: #f7f7f7;
    padding: 15px;
    border-radius: 5px;
    font-size: 14px;
    max-width: 100%;
}

.tableOfContents details {
    margin: 0;
}

.tableOfContents summary {
    cursor: pointer;
    list-style: none;
    font-weight: bold;
    
}

/* ブラウザ標準の三角を消す */
.tableOfContents summary::-webkit-details-marker {
    display: none;
}

/* ▼ / ▶ を疑似要素で表示 */
.tableOfContents summary::before {
    content: "▼　";
    font-size: 10px;
    vertical-align: 2px;
}

.tableOfContents details:not([open]) summary::before {
    content: "▶　";
}
.tableOfContents ol {
    margin: 0;
}
.tableOfContents ol li{
    line-height: 1.5em;
}
.tableOfContents > details > ol {
    margin: 8px 0 0 0;
    padding: 0 0 0 1em;
    margin-top: 1em;
}
.tableOfContents > details > ol > li[data-level=d1]{
    font-weight: bold;
}
.tableOfContents > details > ol > li[data-level=d2]{
    margin-left: 1em;
}
.tableOfContents > details > ol > li[data-level=d3]{
    margin-left: 2em;
}
.tableOfContents > details li {
    margin: 0 0 0.5em 0;
}

.tableOfContents > details > ol > li > ol{
    padding: 0;
    margin: 0;
    padding-top: 0.5em;
}

.steps {
    list-style: none;
    font-weight: normal;
}
.steps[data-level=d2]{
    margin-left: 1em;
}

.steps li a{
    display: flex;          /* 横並び（可変） */
    align-items: flex-start;
}
.steps .step-count {
    display: block;
    width: 65px;
}
.steps .label {
    display: block;
}



.info-box {
    border: 2px solid #e53935;
    padding: 25px 30px;
    background-color: #fff;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
    margin: 40px auto;
}
.content-wrapper .entrylist-title-box {
    
    margin: 30px 0;
}
.entrylist-title {
    border-bottom: 4px solid red;
    display: inline-block;
    font-size: 2.6rem;
    font-weight: 700;
    text-align: center;
}

/* ====== card link ====== */
.info-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    width: 400px;
    margin: 0 auto 24px;
    background: #fff;
    border: 2px solid #e61912;
    border-radius: 12px;
    padding: 24px 24px 18px 24px;
    box-sizing: border-box;
    position: relative;      /* ::after の基準 */
    transition: box-shadow .2s, transform .2s;
    text-align: center;
}

.info-card-link:hover {
    background-color: #f5f5f5;
}

/* 下の小さい矢印（共通） */
.info-card-link::after {
    display: block;
    width: 24px;
    height: 24px;
    margin: 10px auto 0;
    content: "";
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20id%3D%22icon_arrow%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%20%3Crect%20id%3D%22%E9%95%B7%E6%96%B9%E5%BD%A2_1393%22%20data-name%3D%22%E9%95%B7%E6%96%B9%E5%BD%A2%201393%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%2F%3E%20%3Cg%20id%3D%22%E3%82%B0%E3%83%AB%E3%83%BC%E3%83%97_9487%22%20data-name%3D%22%E3%82%B0%E3%83%AB%E3%83%BC%E3%83%97%209487%22%20transform%3D%22translate(8%204)%22%3E%20%3Cpath%20id%3D%22%E3%83%91%E3%82%B9_3238%22%20data-name%3D%22%E3%83%91%E3%82%B9%203238%22%20d%3D%22M1.556%2C15.556%2C0%2C14%2C6.222%2C7.778%2C0%2C1.556%2C1.556%2C0%2C9.333%2C7.778Z%22%20fill%3D%22%23E60012%22%2F%3E%20%3C%2Fg%3E%3C%2Fsvg%3E");    
}
/* ====== headline ====== */
.info-card__headline {
    margin: 0 0 16px;
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
}

.info-card__emphasis {
    color: #e60012;
    font-weight: 700;
}

/* ====== body（STEP + texts） ====== */
.info-card__body {
    align-items: center;      /* STEP丸と右ブロックを縦中央揃え */
    gap: 16px;
    display: inline-flex; 
    align-items: center; 
}

/* 左側 STEP 丸 */
.info-card__step-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #fbfd96;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-shrink: 0;
}

.info-card__step-label {
    font-family: Roboto, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1em;
    margin-top: 8px;
}

.info-card__step-number {
    font-family: Roboto, sans-serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1em;
}

/* 右側テキストブロック */
.info-card__text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;  /* 説明があってもなくても中央寄せ */
}

.info-card__title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    text-align: left;
}

.info-card__desc {
    margin: 4px 0 0;
    font-size: 13px;
    line-height: 1.6;
    color: #555;
    text-align: left;
}

/* ====== responsive ====== */
@media (max-width: 480px) {
    .info-card-link {
        padding: 24px 24px 18px 24px;
        width: 100%;
    }
    .info-card__body {
        gap: 12px;
    }
    .info-card__step-circle {
        width: 70px;
        height: 70px;
    }
}

/* ====== 調整用 ====== */
.num span{
    line-height: 1;
}