/*------------------------------------------------------------
    ◆読み込みHTML
    /history/01〜06.html
------------------------------------------------------------*/

/* ===== テーブルスタイル（スマホファースト） ===== */
.historyTable {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.historyTable tbody {
    display: block;
}

.historyTable tr {
    display: block;
    margin-top: 24px;
}

.historyTable th {
    display: block;
    width: 100%;
    font-size: 1.6rem;
    font-weight: bold;
    line-height: 1.6;
    color: #333333;
    padding: 0;
    border: none;
}

.historyTable td {
    display: block;
    width: 100%;
    font-size: 1.4rem;
    line-height: 1.6;
    color: #333333;
    padding: 16px 0 24px;
    border: none;
}

.historyTable td p {
    margin-bottom: 0;
}
.historyTable td figure {
    display: block;
    margin-top: 16px;
}
.historyTable td figcaption {
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 160%; /* 22.4px */
    margin-top: 24px;
}
.historyTable td figure.img_w200 {
    width: 200px;
}
.historyTable td figure img {
    width: 100%;
}
.historyTable td figure.img_w312 {
    width: 312px;
}
.historyTable .br_sp {
    display: none;
}
@media print, screen and (min-width: 768px) {
    .historyTable td figure {
        margin-top: 24px;
    }
    .historyTable td figcaption {
        margin-top: 18px;
    }
    
}

/* 区切り線 */
.historyTable tr::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background-color: #d9d9d9;
}

@media screen and (min-width: 770px) {
    .historyTable {
        border-collapse: collapse;
    }
    
    .historyTable tbody {
        display: table-row-group;
    }
    
    .historyTable tr {
        display: table-row;
        margin-bottom: 0;
    }
    
    .historyTable tr::after {
        display: none;
    }
    
    .historyTable th,
    .historyTable td {
        display: table-cell;
        font-size: 1.5rem;
        text-align: left;
        vertical-align: top;
        padding: 40px 0 41px;
        border-bottom: 1px solid #d9d9d9;
    }
    
    .historyTable th {
        width: 25%;
        padding-right: 20px;
        margin-bottom: 0;
        font-size: 1.6rem;
    }
    
    .historyTable td {
        width: 75%;
        font-size: 1.6rem;
    }
}


/* ===== ナビゲーション部分（historyNav） ===== */
.historyNav {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 24px;
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.historyNav li {
    margin: 0;
    width: 100%;
}

.historyNav li.back {
    order: 1;
}

.historyNav li.next {
    order: 2;
    text-align: right;
}

.historyNav a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 1.6rem;
    font-weight: 500;
    color: #1556a3;
    text-decoration: none;
    line-height: 1.6;
}

.historyNav .icon_backlink,
.historyNav .icon_nextlink {
    display: inline-flex;
    align-items: center;
    font-size: 1.6rem;
}

@media screen and (min-width: 770px) {
    .historyNav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0;
        padding-top: 40px;
        padding-bottom: 0;
    }
    
    .historyNav li {
        width: auto;
        flex: 1;
    }
    
    .historyNav li.back {
        order: 1;
        text-align: left;
    }
    
    .historyNav li.next {
        order: 2;
        text-align: right;
    }
    
    .historyNav a {
        font-size: 2.0rem;
        font-weight: 500;
    }
    
    .historyNav .icon_backlink,
    .historyNav .icon_nextlink {
        font-size: 2.0rem;
    }
}
