#contents h3 {
    font-size: max(22pt, 2vw);
    font-weight: bold;
    text-align: center;
    margin-bottom: 1.2em;
}

#contents #info .detail {
    text-align: center;
    margin-bottom: 1em;
}
#contents #info .detail > ul {
    display: inline-block;
    border: 1px solid var(--main-color);
    padding: 1em 1.5em;
    margin-bottom: 1.0em;
}
#contents #info .detail > ul li {
    color: var(--main-color);
    font-size: 110%;
    font-weight: bold;
    text-align: left;
}
#contents #info .detail > ul li s span {
    color: #9a9a9a;
}

#contents #info .message {
    display: flex;
    gap: 1em;
    justify-content: center;
    align-items: center;
    margin-top: -5em;
}

#contents #info .message .text > div {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: .5em;
}
#contents #info .message .text > div > div:nth-child(1) {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-white);
    font-weight: bold;
    background-color: red;
    padding: .8em 0 .6em;
    border-radius: 100%;
    width: 80px;
}
#contents #info .message .text > div > div:nth-child(1) > div {
    text-align: center;
    line-height: 1.2;
}
#contents #info .message .text > div > div:nth-child(1) > div:nth-child(1) {
    font-size: 110%;
}
#contents #info .message .text > div > div:nth-child(1) > div:nth-child(2) {
    font-size: 140%;
}
#contents #info .message .text > div > div:nth-child(2) {
    font-weight: bold;
    font-size: 140%;
}

#contents #form .form {
    background-color: var(--color-white);
    padding: 3em;
}

#contents .form dl > div {
    display: flex;
    gap: 1em;
    margin-bottom: 1.8em;
}
#contents .form dl > div dt {
    width: 15em;
    padding-top: 10px;
}
#contents .form dl > div dd {
    flex: 1;
}
#contents form .btnBox {
    text-align: center;
}
#contents form .btnBox .btn {
    font-size: 105%;
    padding: 5px 1.5em;
}
#contents form .btnBox .btn.back {
    border-color: #999;
    background-color: #999;
}
#contents form .btnBox .btn.back:hover {
    color: #999;
    background-color: #fff;
}

#confirm #contents .form > dl > div dt {
    padding-top: 0;
}


@media screen and (max-width: 430px){
    #contents #info .detail > ul > li {
        text-align: center;
    }
    #contents #info .message {
        flex-direction: column;
        margin: 0;
    }
    #contents #info .message .text > div {
        align-items: flex-start;
    }
    #contents #info .message .text > div > div:nth-child(2) {
        flex: 1;
        font-size: 130%;
        line-height: 1.4;
    }
    #contents #form .form {
        padding-inline: 10px;
    }
    #contents .form dl > div {
        flex-direction: column;
        gap: .5em;
        margin-bottom: 1em;
    }

    #contents .form .btnBox dd {
        text-align: center;
    }
    #contents .form .btnBox dd button {
        margin-bottom: 1.5em;
    }
    #contents .form .btnBox .btn {
        width: 100%;
    }
    #contents .form input,
    #contents .form select,
    #contents .form textarea
    {
        font-size: 95%;
    }
}