.container {
    max-width: 90%;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 8px;
}

.header-text {
    text-align: center;
    margin-bottom: 25px;
    color: #333;
}

.form-group {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e1e5e9;
}

.form-group:last-of-type {
    border-bottom: none;
}

.form-label {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 14px;
}

.form-label > p {
    display: flex;
    align-items: center;
    justify-content: left;
}

.required-badge {
    background-color: #4a90e2;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    margin-left: 10px;
}

.optional-badge {
    background-color: #6c757d;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    margin-left: 10px;
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: #4a90e2;
}

.form-textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 4px;
    font-size: 14px;
    min-height: 120px;
    resize: vertical;
    box-sizing: border-box;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-textarea:focus {
    outline: none;
    border-color: #4a90e2;
}

.address-group {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.address-prefix {
    font-size: 14px;
    padding: 12px 8px;
    white-space: nowrap;
}

.address-input {
    flex: 1;
    margin-bottom: 1em;
}

.checkbox-group {
    margin: 25px 0;
    padding-bottom: 25px;
    border-bottom: 1px solid #e1e5e9;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

.checkbox-text {
    font-size: 13px;
    line-height: 1.5;
}

.submit-button,
.back-button {
    background-color: #30376c;
    color: white;
    padding: 1em 2em;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    /* display: block; */
    /* margin: 30px auto 0; */
    transition: background-color 0.3s;
    line-height: 1;
}

.submit-button:hover {
    background-color: #357abd;
}

.submit-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}
.confirmation-table {
    width: 100%;
    margin: 0 auto 30px;
    border-collapse: collapse;
}
.confirmation-table tr {
    border-bottom: 1px solid #ddd;
}
.confirmation-table td {
    padding: 15px 15px;
    vertical-align: top;
    line-height: 1.5;
}

.confirmation-table td {
    vertical-align: middle;
}

.confirmation-table .label {
    color: #2c5aa0;
    width: 200px;
    font-weight: bold;
}

.button-container > p {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.back-button {
    background-color: #666;
}

.back-button:hover {
    background-color: #555;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .container {
        padding: 0px;
        max-width: 100%;
    }

    .confirmation-table td {
        padding: 10px 12px;
    }

    .confirmation-table .label {
        width: 80px;
    }

    .button-container {
        flex-direction: column;
        gap: 15px;
    }

    .back-button,
    .submit-button {
        width: 100%;
        padding: 15px 20px;
    }
}

/* パンくずリスト */
.breadcrumb-container {
    /* font-size: 16px;
    color: #666666; */
}

/* メインコンテンツ */

main {
    width: 1100px;
    margin: 3em auto;
    padding: 30px;
    background-color: white;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    color: #333;
    padding: 20px;
    max-width: 95%;
    box-sizing: border-box;
}

/* モバイル版レスポンシブ（480px以下） */
@media (max-width: 480px) {
    /* パンくずリスト */
    .breadcrumb-container {
        padding: 10px 15px;
        font-size: 14px;
    }

    .confirmation-table td {
        padding: 8px 10px;
        width: 100%;
        display: block;
    }

    .confirmation-table .label {
        width: 100%;
    }
}
