figure.d {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

figure.d input[type=button] {
    height: 100px;
    width: 15px;
    background-color: transparent;
    border: silver 1px solid;
    margin: 5px;
    padding: 0;
}

figure.d div.image-area {
    display: flex;
    flex-basis: 550px;
    flex-grow: 0;
    flex-shrink: 1;
    gap: 3px;
    flex-wrap: nowrap;
    align-items: center;
    min-height: 300px;
    max-height: 300px;
}

figure.d div.v {
    flex-direction: column;
    flex: 0 0 auto;
    flex-basis: 30px;
}

figure.d div#image-center-container {
    flex: 0 0 auto;
    flex-basis: calc(550px - 66px);
    text-align: center;
}
figure.d div#image-center-container img {
    margin: 5px;
}

figure.d img {
    vertical-align: middle;
    margin: 0;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

figure.d img.large {
    width: 435px;
    height: auto;
}

figure.d img.tooSmall {
    width: 30px;
    height: auto;
    display: flow;
    margin: 3px 0;
}

@media(max-width: 700px) {
    figure.d {
        max-width: 95vw;
    }
    figure.d input[type=button]{
        margin: 2px;
    }
    figure.d div.image-area {
        flex-basis: calc(95vw - 66px);
        flex-shrink: 1;
    }
    figure.d div#image-center-container {
        flex-basis: calc(100% - 66px - 66px);
        flex-shrink: 1;
        flex-grow: 1;
    }
    figure.d img.large {
        max-width: calc(100% - 10px);
    }
}

figure.d figcaption {
    flex-basis: 100%;
    text-align: center;
    margin-top: 10px;
}

table.r,
table.r th,
table.r td {
    border-left: none;
    border-right: none;
}
table.r th {
    white-space: nowrap;
}
table.r td {
    padding-left: 20px;
}

section#s_contact {
    margin: 20px auto;
}

section#s_contact a {
    color: #0079C9;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.4em;
    
    border: #A0A0A0 3px solid;
    border-radius: 5px;
    box-shadow: 1px 1px 3px 1px #2B6C97; 
    
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 5px 15px;
    
}