/* お問い合わせ */
/* 共通 */
.contact-inner {
    width: 70%;
    margin: 0 auto;
}

/* ステップバー */
.step-bar {
    display: flex;
    margin-bottom: 30px;
    padding: 0;
    list-style: none;
}

    .step-bar li {
        position: relative;
        flex: 1;
        text-align: center;
        font-size: 14px;
        color: #999;
    }

.step-label {
    display: block;
    margin: 0 auto 8px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #ddd;
    color: #fff;
    text-align: center;
    line-height: 1.2;
    padding-top: 12px;
    font-size: 10px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
}

    /* 数字 */
    .step-label strong {
        display: block;
        font-size: 32px;
    }

/* 線 */
.step-bar li::after {
    content: "";
    position: absolute;
    top: 40px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #ddd;
    z-index: -1;
}

.step-bar li:last-child::after {
    display: none;
}

/* アクティブ */
.step-bar li.active {
    color: #6F5A8E;
}

    .step-bar li.active .step-label {
        background: #6F5A8E;
    }

/* 完了 */
.step-bar li.done {
    color: #6F5A8E;
}

    .step-bar li.done .step-label {
        background: #6F5A8E;
    }

    .step-bar li.done::after {
        background: #6F5A8E;
    }

/* ボタン*/
.next-btn {
    width: 300px;
    padding: 20px 30px;
}

/* 入力画面 */
.form-group {
    margin-bottom: 20px;
}

    .form-group .form-label {
        display: block;
        font-weight: bold;
        margin-bottom: 12px;
    }

.required {
    color: #6F5A8E;
    margin-left: 4px;
}

input, textarea, select {
    width: 100%;
    padding: 20px;
    border: none;
    border-radius: 6px;
}

textarea {
    resize: none;
    height: 180px;
}

.error {
    color: red;
    margin-top: 5px;
}

.privacy-policy {
    text-align: center;
}

input.error-input, textarea.error-input {
    border-color: red;
}

a {
    color: black;
}

/* チェックボックス */
.custom-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 8px;
    justify-content: center;
}

    .custom-checkbox input {
        display: none;
    }

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #555555;
    border-radius: 4px;
    position: relative;
}

.custom-checkbox input:checked + .checkmark {
    background: #007BFF;
}

    .custom-checkbox input:checked + .checkmark::after {
        content: "";
        position: absolute;
        left: 5px;
        top: 1px;
        width: 5px;
        height: 10px;
        border: solid white;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
    }

/* ボタン */
.button-center {
    text-align: center;
}

/* 確認画面 */
.confirm-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
    margin: 0px auto 40px;
}

    .confirm-table th,
    .confirm-table td {
        padding: 30px;
        text-align: left;
        vertical-align: top;
    }

    .confirm-table th {
        width: 30%;
        color: #555555;
        border-bottom: 1px solid #555555;
    }

    .confirm-table td {
        border-bottom: 1px solid #555555;
    }

/* ボタン */
.button-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 20px;
}

.back-btn {
    width: 200px;
    border: 1px solid #555555;
    color: #555555;
}

    .back-btn:hover {
        border: 1px solid #555555;
        color: #555555;
    }

/* スマホ */
@media (max-width: 767px) {
    /* 共通 */
    .contact-inner {
        width: 100%;
    }

    /* ステップバー */
    .step-bar {
        margin-bottom: 20px;
    }

    .step-label {
        width: 70px;
        height: 70px;
    }

        /* 数字 */
        .step-label strong {
            font-size: 28px;
        }

    /* 線 */
    .step-bar li::after {
        top: 35px;
    }

    /* 入力画面 */
    textarea {
        height: 220px;
    }

    /* 確認画面 */
    .confirm-table {
        margin: 0px auto 30px;
    }

        .confirm-table th,
        .confirm-table td {
            display: block;
            width: 100%;
        }

        .confirm-table th {
            padding-bottom: 0;
            border-bottom: none;
        }

        .confirm-table td {
            padding-bottom: 16px;
        }

    .button-column {
        gap: 20px;
    }
}
