/* フォームのスタイル */
.form__container {
    width: 100%;
    padding: 32px;
    background-color: var(--var-base-color-2);
    border-radius: 8px;
}

.form__table {
    width: 100%;
    table-layout: auto;
}

.form__table tr {
    display: flex;
    column-gap: 16px;
}

.form__table th {
    min-width: 25%;
    display: inline-flex;
    align-items: center;
    column-gap: 16px;
}

.form__table th:has(.required__label) {
    justify-content: space-between;
}

.form__table td {
    width: 100%;
    display: inline-flex;
    flex-direction: column;
    row-gap: 8px;
}

.form__table tr > * {
    padding: 12px 0;
    line-height: 1.5;
    color: var(--var-black-color);
}

.required__label {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 64px;
    height: 20px;
    color: var(--var-white-color);
    line-height: 1.5;
    font-size: 12px;
    font-weight: bold;
    background-color: var(--var-accent-color);
}

.form__input {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    line-height: 40px;
    font-size: 14px;
    background-color: var(--var-white-color);
    border-radius: 8px;
}

.form__input::placeholder {
    opacity: 0.7;
}

.form__select {
    position: relative;
    width: fit-content;
}

.form__select > select {
    max-width: 626px;
    height: 40px;
    padding: 0 40px 0 12px;
    font-size: 13px;
    line-height: 38px;
    text-overflow: ellipsis;
    color: var(--var-black-color);
    background-color: var(--var-white-color);
    border-radius: 10px;
}

.form__select::after {
    content: "";
    position: absolute;
    top: 17px;
    right: 16px;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    border-top: 7px solid var(--var-black-color);
    border-bottom: 0;
}

.form__table tr.error_row > * {
    padding: 0 0 12px 0;
}

.validation-error__text {
    color: var(--var-accent-color);
    line-height: 1.5;
    font-size: 16px;
    font-weight: normal;
}

.btn__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 24px;
    text-align: center;
}
