.comp_base {
    padding: 1em;
    margin: 0 auto;
    max-width: 600px;
}
.comp_choice {
    width: 100%;
    padding: 1em 0.5em;
}
.comp_base table {
    width: 100%;
    margin-top: 2em;
    border-collapse: collapse;
}
.comp_trr {
    width: 25%;
    padding: 0.2em;
    border-width: 1px;
    border-style: solid;
    border-color: #efefef;
    position: sticky;
    top: 48px;
    background: #fff;
}
.comp_tr0 {
    width: 25%;
    max-width: 150px;
    padding: 0.2em;
    border-width: 1px;
    border-style: solid;
    border-color: #efefef;
    position: sticky;
    top: 48px;
    background: #fff;
}
@media (min-width: 768px) {
    .comp_trr {
        top: 64px;
    }
    .comp_tr0 {
        top: 64px;
    }
}
.comp_tr0 a {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 98%;
    max-width: 25vw;
    margin: 0 auto;
    aspect-ratio: 3 / 4;
    text-align: center;
    text-decoration: none;
    font-size: 0.9em;
    color: #888;
    border-color: #7e7e7e;
    border-width: 1px;
    border-style: solid;
    background: #efefef;
    border-radius: 2px;
}
.comp_tr0 .comp_image {
    width: 98%;
    max-width: 25vw;
    margin: 0 auto;
    aspect-ratio: 3 / 4;
    border-radius: 2px;
}
.comp_reset {
    width: 100%;
    margin: 0 auto;
    aspect-ratio: 3 / 1.98;
    font-weight: bold;
}
.comp_tr1 {
    font-size: 0.85em;
    text-align: center;
    padding: 0.5em 0.2em;
    border-width: 1px;
    border-style: solid;
    border-color: #efefef;
    background: #fefefe;
}
.comp_tr1.left {
    font-size: 0.8em;
    text-align: left;
    vertical-align: top;
}
.comp_tr1 .comp_result {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.comp_tr1 .comp_result p {
    text-align: left;
}
.comp_base table tr:nth-child(2n) td {
    background-color: #fafafa;
}
#comp_modal {
    display: none;
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 998;
    background: rgba(0, 0, 0, 0.2);
}
#comp_window_wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 1em;
    width: calc(375px + 2em);
    max-width: 80%;
    background: #fff;
    border-width: 1px;
    border-style: solid;
    border-color: #efefef;
    padding: 1em;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    border-radius: 2px;
}
#comp_window_wrapper a {
    display: block;
    width: 75px;
    max-width: calc(20% - 0.8em);
    aspect-ratio: 3 / 4;
}
#comp_window_wrapper img {
    border-radius: 2px;
}
#comp_window_wrapper .comp_close_area {
    width: 100%;
    padding: 0.2em;
    text-align: right;
}
#comp_window_wrapper .comp_close_area a {
    display: inline;
    aspect-ratio: initial;
    background: none;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    color: #000;
}
.comp_image {
    display: none;
    width: 100%;
    height: auto;
}
.comp_url_btn {
    display: block;
    color: white;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    width: 100%;
    padding: 0.5em 0;
    border-radius: 2px;
    background: #338df4;
}
