@charset "UTF-8";

* {
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f7f9;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 760px;
    margin: 20px auto;
    background: #fff;
    padding: 36px 40px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

h1 {
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #005bac;
    color: #005bac;
}

.lead {
    margin-bottom: 24px;
    font-size: 14px;
    color: #555;
}

.error-box {
    background-color: #fff2f2;
    border: 1px solid #e53935;
    color: #c62828;
    padding: 16px;
    border-radius: 4px;
    margin-bottom: 24px;
}

.error-box ul {
    margin: 0;
    padding-left: 20px;
}

.form-group {
    margin-bottom: 20px;
}

label.field-label {
    display: block;
    font-weight: bold;
    margin-bottom: 6px;
    font-size: 15px;
}

.badge-required {
    background-color: #d93025;
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 8px;
    vertical-align: middle;
}

.badge-optional {
    background-color: #757575;
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 8px;
    vertical-align: middle;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
    transition: border-color 0.2s;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #005bac;
}

.privacy-box {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 14px;
    border-radius: 4px;
    font-size: 13px;
    height: 110px;
    overflow-y: auto;
    margin-bottom: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
    cursor: pointer;
}

.recaptcha-wrap {
    margin: 24px 0;
}

.btn-area {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 30px;
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.2s, opacity 0.2s;
}

.btn-primary {
    background-color: #005bac;
    color: #fff;
}

.btn-primary:hover:not(:disabled) {
    background-color: #004482;
}

.btn-primary:disabled {
    background-color: #b0c4de;
    cursor: not-allowed;
}

.btn-secondary {
    background-color: #e0e0e0;
    color: #333;
}

.btn-secondary:hover {
    background-color: #cfcfcf;
}

table.confirm-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
}

table.confirm-table th,
table.confirm-table td {
    padding: 14px;
    border-bottom: 1px solid #e0e0e0;
    text-align: left;
    vertical-align: top;
}

table.confirm-table th {
    width: 30%;
    background-color: #f7f9fb;
    font-weight: bold;
}

@media (max-width: 600px) {
    .container {
        padding: 24px 20px;
    }
    table.confirm-table th,
    table.confirm-table td {
        display: block;
        width: 100%;
    }
    .btn-area {
        flex-direction: column;
    }
}

.inline-error {
    color: #d93025;
    font-size: 13px;
    margin-top: 6px;
    font-weight: bold;
    display: none;
}

input.input-error {
    border-color: #d93025;
    background-color: #fff8f8;
}