html {
    font-family: 'Noto Sans JP', sans-serif;

    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
}

.main-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin: 20px 0 30px;
    border: 3px solid #b40d0d;

}

.side-image {
    width: 250px;
}


.side-image img {
    width: 100%;
    object-fit: cover;
    height: 170px;

}


.center-content {
    background-color: rgb(167, 188, 231);
    flex: 1;
    /* margin-top: 10px; */
    height: 170px;
    position: relative;
}

.center-content .aa {
    position: absolute;
    top: 5px;
    left: 5px;
}

.center-content .bb {
    position: absolute;
    top: 5px;
    left: 200px;
    font-size: 36px;
    color: brown;
}

.center-content .cc {
    position: absolute;
    top: 70px;
    left: 150px;
    font-size: 16px;

}

.center-content .dd {
    position: absolute;
    top: 105px;
    left: 100px;
    font-size: 16px;

}

.center-content .ee {
    position: absolute;
    bottom: 5px;
    left: 100px;
    font-size: 16px;

}

.section-2 .row-1 {
    display: flex;
    justify-content: space-between;
}

.section-2 .row-1 .col-1 {
    width: 18%;

}

.section-2 .row-1 .col-1 table {
    width: 100%;
    /* margin-bottom: 50px; */
}

.section-2 .row-1 .col-1 td {
    width: 100%;
    display: block;
    height: auto;
    font-size: 20px;
    text-align: center;
    border: 1px solid #000000;
    line-height: 1.5;
    padding: 5px;
    
}

.section-2 .row-1 .col-2 {
    width: 60%;

}

.section-2 .row-1 .col-2 table {
    width: 100%;
    margin-bottom: 10px;
    table-layout: fixed;
    border-collapse: collapse;
}
.section-2 .row-1 .col-2 table th,
.section-2 .row-1 .col-2 table td {
    /* 9マスのうち、「実施年」だけを少し広め（16%）にして、残りの8マス（問題・回答）をすべて「10.5%」で均等に割り振ります */
    width: 10.5%;
}
.section-2 .row-1 .col-2 td a {
    display: block;
    font-size: 20px;
    color: #000000;
    text-decoration: none;
}

.section-2 .row-1 .col-2 td {
    height: 20px;
    font-size: 20px;
    text-align: center;
    
    /* 👇 線は「a」ではなく、この「td」に引くのが大正解です！ */
    border: 1px solid #000000 !important; 
    
    vertical-align: middle; /* 上下中央に揃えます */
}
.section-2 .row-1 .col-2 th {
      eight: auto;
    text-align:center;
    font-size: 20px;
    border: 1px solid #000000;
    vertical-align: middle; 
    padding: 5px 5px;
   
}

.section-2 .row-1 .col-2 td:nth-child(8),
.section-2 .row-1 .col-2 td:nth-child(6),
.section-2 .row-1 .col-2 td:nth-child(4),
.section-2 .row-1 .col-2 td:nth-child(2) {
   background-color: #e3a3a3;
}


.section-2 .row-1 .col-3 {
    width: 18%;

}

.section-2 .row-1 .col-3 table {
    width: 100%;
    margin-bottom: 20px;
}

.section-2 .row-1 .col-3 td {
    width: 100%;
    display: block;
    height: auto;
    font-size: 20px;
    text-align: center;
    border-top: 10px solid #ffffff;
    line-height: 40px;
}


footer {
    padding-bottom: 20px;
    text-align: center;
    font-size: 18px;
}

footer span {
    font-size: 25px;
    font-weight: 700;
    color: brown;
}

footer img {
    width: 18%;
    margin-bottom: 15px;
}