.sst {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #2a2a2a;
}

.text-box {
    width: fit-content;
    margin: auto;
    margin-bottom: 1rem;
}

.text {
    color: #3a3a3a;
}

.button-container {
    display: flex;
    justify-content: space-evenly;
    gap: 1rem;
    max-width: 900px;
    padding: 1rem;
    margin: auto;
}

.popup-btn {
    flex: 1 1 100%;
    cursor: pointer;
    font-size: 1rem;
    background: #0066cc;
    border: unset;
    border-bottom: 4px solid #004386;
    border-radius: 4px;
    color: #fff;
    overflow: hidden;
}

.popup-container {}

dialog {
    width: 60%;
    max-height: 60vh;
    border: unset;
    border-radius: 8px;
    box-shadow: 4px 4px 7px #00000014;
    color: #3a3a3a;
}

dialog[open] {
    animation: dlg-fade-in .25s ease both;
}

@keyframes dlg-fade-in {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 閉じるとき用 */
dialog.is-closing {
    animation: dlg-fade-out .2s ease forwards;
}

@keyframes dlg-fade-out {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(4px);
    }
}


.dialog__inner {}

.dialog__inner dt {
    font-size: 1.5rem;
    font-weight: 600;
    border-bottom: 1px solid;
    margin-bottom: 1rem;
}

.dialog__flex {
    display: flex;
    gap: 1rem;
}

.dialog__figure {
    flex: 1 1 30%;
    height: 100%;
    margin: 0;
}

.dialog__figure img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.dialog__figure figcaption,
.dialog__flex-item figcaption {
    text-align: center;
    font-size: .875rem;
    line-height: 1.2;
    font-weight: bold;
    margin-top: .5rem;
}

.dialog__figure figcaption:nth-of-type(2),
.dialog__flex-item figcaption:nth-of-type(2) {
    font-weight: normal;
    text-align: left;
}

.dialog__flex:has(.dialog__flex-item) {
    flex-wrap: wrap;
}

.dialog__flex-item {
    flex: 0 1 calc(25% - 3rem / 4);
    margin: 0;
    height: 100%;
}

.dialog__flex-item img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 3 / 2;
    object-fit: contain;
}

.dialog__flex-item figcaption {}

.popup-list {
    flex: 1 1 70%;
}

.popup-list li {
    list-style: disc;
    margin-left: 1rem;
}

.popup__button {
    position: absolute;
    right: 1rem;
    top: 1rem;
    background: #fff;
    border: 1px solid gray;
    cursor: pointer;
}

.popup-table {
    width: 100%;
    border-collapse: collapse;
}