.seminar-form-input,
.seminar-form-confirm {
    padding: 136px 71px;
    margin-top: 32px;
    border-radius: 8px;
    background-color: #f7f7f7;
}

.form-heading {
    margin-bottom: 50px;
}

.form-heading h2 {
    position: relative;
    padding-bottom: 32px;
    margin-bottom: 32px;
    text-align: center;
    font-size: 32px;
    font-weight: bold;
}

.form-heading h2::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 259px;
    height: 2px;
    background-color: #CDA873;
}

.form-heading p {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
}

.seminar-date-group {
    margin-top: 56px;
}

.seminar-date-title {
    margin: 0 0 20px;
    text-align: center;
    font-size: 20px;
}

.seminar-options {
    border-top: 1px solid #777;
}

.seminar-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 72px;
    padding: 16px 20px;
    border-bottom: 1px solid #777;
    cursor: pointer;
}

.seminar-option-main {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.seminar-option input[type="radio"] {
    width: 18px;
    height: 18px;
    margin: 0;
    flex-shrink: 0;
}

.seminar-option-text {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.seminar-time {
    white-space: nowrap;
    font-weight: 600;
}

.seminar-name {
    line-height: 1.6;
}

.seminar-remaining {
    flex-shrink: 0;
    white-space: nowrap;
}

.seminar-remaining.is-few {
    color: #e60012;
    font-weight: 700;
}

.seminar-option.is-full {
    color: #777;
    background: #ddd;
    cursor: not-allowed;
}

.seminar-option.is-full input {
    cursor: not-allowed;
}

.seminar-validation-error {
    display: block;
    margin-top: 12px;
    color: #dc3232;
    font-size: 14px;
}

.seminar-validation-error:empty {
    display: none;
}

.form-row {
    display: grid;
    grid-template-columns: 42% 58%;
    align-items: center;
    padding: 22px 0;
    border-bottom: 1px solid #aaa;
}

.form-row:nth-of-type(2) {
    border-top: 1px solid #aaa;
}

.seminar-select-heading {
    display: grid;
    grid-template-columns: 42% 58%;
    padding-left: 32px;
    padding-block: 80px 0px;
}

.seminar-select-heading h2 {
    font-size: 16px;
    font-weight: 600;
}

.form-label {
    padding: 0 32px;
    font-weight: 600;
}

.form-field {
    padding-right: 32px;
}

.form-field input {
    width: 100%;
    padding: 13px 16px;
    border: 0;
    border-radius: 4px;
    background: #fff;
    box-sizing: border-box;
}

.form-notes,
.confirm-message {
    margin-block: 32px;
}

.md-button {
    margin-bottom: 20px;
    margin-right: 0 !important;
}

.required {
    color: #e60012;
}

.privacy-area {
    margin-top: 48px;
    padding: 28px 0;
    text-align: center;
    border-top: 1px solid #999;
    border-bottom: 1px solid #999;
}

.privacy-area a {
    text-decoration: underline;
}

.form-button-area,
.confirm-buttons {
    margin-top: 36px;
    text-align: center;
}

.js-show-confirm,
.js-final-submit,
.js-back-input {
    min-width: 220px;
    padding: 14px 28px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
}

.js-show-confirm,
.js-final-submit {
    color: #fff;
    background: #122129;
}

.js-back-input {
    margin-right: 16px;
    color: #222;
    background: #ddd;
}

.confirm-list {
    margin-top: 40px;
}

.confirm-list>div {
    display: grid;
    grid-template-columns: 35% 65%;
    padding: 20px 0;
    border-bottom: 1px solid #aaa;
}

.confirm-list dt {
    font-weight: 600;
}

.confirm-list dd {
    margin: 0;
}

.is-invalid {
    outline: 2px solid #dc3232;
    outline-offset: 2px;
}

@media screen and (max-width: 767px) {

    .seminar-form-input,
    .seminar-form-confirm {
        padding: 50px 16px;
    }

    .form-heading h2 {
        font-size: 24px;
    }

    .form-heading p {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .form-row {
        display: block;
    }

    .form-label {
        padding: 0 0 10px;
    }

    .form-field {
        padding-right: 0;
    }

    .seminar-select-heading {
        display: block;
        padding-left: 0;
    }

    .seminar-select-heading h2 {
        margin-bottom: 8px;
    }

    .seminar-select-heading p {
        font-size: 12px;
    }

    .seminar-date-title {
        font-weight: bold;
    }

    .form-notes p,
    .confirm-message p {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .seminar-option {
        align-items: flex-start;
        gap: 10px;
        padding: 16px 8px;
    }

    .seminar-option-text {
        display: block;
    }

    .seminar-time,
    .seminar-name {
        display: block;
    }

    .seminar-remaining {
        font-size: 10px;
    }

    .confirm-list>div {
        display: block;
    }

    .confirm-list dt {
        margin-bottom: 8px;
    }

    .js-back-input {
        display: block;
        margin: 0 auto 16px;
    }
}

/* Contact Form 7 のスピナーを非表示 */
.wpcf7-spinner {
    display: none !important;
}