:root{
    --border-color: #efefef;
    --talk-bg-color: #deffcf;
}


.page-title {
    font-size: 2.5rem;
}

#thumbnail{
    width: 100%;
    height: auto;
    margin: auto;
    display: block;
    position: relative;
}

#title {
    position: absolute;
}

.row {
    display: flex;
    margin-bottom: 5%;
}

.reverse {
    flex-direction: row-reverse;
}

.side {
    margin: 0 auto;
}

.description{
    width: clamp(100px, 50%, 400px);
    line-height: 1.5em;
    margin: 2% auto 2%;
    flex-grow: 1;
}

.description p{
}

.topic{
    border-radius: 20px;
    padding: 1px 30px;
    border: #333333 solid 2px;
    position: relative;
    margin-top: 5px;
    font-size: 1.1em;

    &::after{
        content: "";
        z-index: -1;
        position: absolute;
        width: 100%;
        height: 100%;
        bottom: -7px;
        right: -7px;
        background-color: var(--talk-bg-color);
        box-sizing: border-box;
        border-radius: 20px;
    }
}


.header3 {
    border-bottom: 0;
    margin: 0;
    font-size: 1.8rem;

    &::before{
        content: "●";
        display: inline-block;
        width: 2rem;
        height: auto;
        background-color: var(--primary);
    }
}


.figure{
    margin: auto;
    margin: auto 4% auto 4%;;
}

#figure1{
    width: 30%;
}

#figure2{
    width: 40%;
}
@media (max-width: 600px) {
    #thumbnail{
        display: none;
    }

    .row {
        flex-direction: column;
    }

    #figure1{
        width: 60%;
    }

    #figure2{
        width: 80%;
    }

    .figure {
        margin-left: 0;
    }

    .description {
        width: 100%;
        font-size: 1rem;
    }

    .reverse {
        align-items: end;
    }
}
.comment-right {
    margin: 3% 0 3% 8%;
    position: relative;
    width: fit-content;
    padding: 5px 10px;
    border: 2px solid var(--border-color);
    border-radius: 4px;

    &::before {
        content: "";
        position: absolute;
        top: 20px;
        right: -19px;
        width: 20px;
        height: 20px;
        box-sizing: border-box;
        background-color: var(--primary-color);
        rotate: 135deg;
        translate: -50% 0;
    }

    &::after {
        content: "";
        position: absolute;
        top: 20px;
        right: -20px;
        width: 20px;
        height: 20px;
        box-sizing: border-box;
        border: 2px solid;
        border-color: var(--border-color) transparent transparent var(--border-color);
        rotate: 135deg;
        translate: -50% 0;
    }
}
.comment-left {
    margin: 3% 8% 3% 0;
    position: relative;
    width: fit-content;
    padding: 5px 10px;
    border: 2px solid var(--border-color);
    border-radius: 4px;

    &::before {
        content: "";
        position: absolute;
        top: 20px;
        left: 0px;
        width: 20px;
        height: 20px;
        box-sizing: border-box;
        background-color: var(--primary-color);
        rotate: -45deg;
        translate: -50% 0;
    }

    &::after {
        content: "";
        position: absolute;
        top: 20px;
        left: 0px;
        width: 20px;
        height: 20px;
        box-sizing: border-box;
        border: 2px solid;
        border-color: var(--border-color) transparent transparent var(--border-color);
        rotate: -45deg;
        translate: -50% 0;
    }
}
.information-table{
    margin: auto;
    margin-top: 10px;
    border-collapse: collapse;
}

.information-table th{
    text-align: right;
    word-break: keep-all;
    width: fit-content;
    min-width:70px;
}

@media (max-width:490px){
    .information-table,
    .information-table th,
    .information-table td{
        border: #333333 1px solid;
        padding: 0 0.5rem;
    }

    .information-table th{
        box-sizing:border-box;
        padding: 2%;
    }

    .hide_table{
        display: none;
    }
}
