.faq-and-form {
    overflow: hidden;
}

.faq-form {
    width: 100%;
    background: var(--p-color);
    padding-top: 120px;
    margin-top: 180px;
}

.faq-form-main {
    position: relative;
    background: var(--p-color);
    border-radius: 0 0 50px 50px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.faq-form-main::before {
    content: '';
    position: absolute;
    bottom: 100%;
    width: 100%;
    aspect-ratio: 1920 / 240;
    background: url('../shape/t-shape.svg') no-repeat center/contain;
    margin-bottom: -1px;
}

.faq-form-items {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 32px;
}

.faq-form-title {
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-form-title h3 {
    font-size: 42px;
    font-weight: 900;
    color: var(--w-color);
}

.faq-form-title span {
    color: var(--s-color);
}

.faq-form-contents {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 50px;
}

.faq {
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex: 1;
    background: var(--s-color);
    padding: 48px;
    border-radius: 32px;
}

.faq .section-title {
    justify-content: center;
    margin: 0;
}

.faq .section-title h3 {
    color: var(--t-color);
}

.faq-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 16px;
}

.faq-item-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--w-color);
    padding: 16px;
    border-radius: 20px;
}

.faq-item-box>img {
    transition: transform 0.3s ease;
}

.faq-item-box-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.faq-item-content {
    background: #fff6d9;
    border-radius: 20px;
    max-height: 0;
    min-height: 0;
    overflow: hidden;
    padding: 0 16px;
    transition: max-height 0.3s ease, min-height 0.3s ease, padding 0.3s ease;
}

.faq-item-content p {
    font-size: 15px;
    line-height: 26px;
}

.faq-item.active .faq-item-content {
    padding: 16px;
    min-height: 100px;
}

.faq-item.active .faq-item-box>img {
    transform: rotate(180deg);
}

.form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    background: var(--w-color);
    border-radius: 32px;
    padding: 60px;
    flex: 1;
}

.form-item {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--w-color);
    padding: 12px;
    border-radius: 20px;
    border: 1px solid #1A7CEE;
}

.form .section-title h3 {
    color: var(--t-color);
}

.form .section-title {
    justify-content: center;
}

form {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.form-box input,
.form-box textarea {
    width: 100%;
    padding: 8px;
    border: none;
    outline: none;
    background: transparent;
    text-align: right;
    font-size: 16px;
    color: var(--t-color);
}

.form-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: var(--t-color);
    height: 66px;
    border-radius: 20px;
    cursor: pointer;
    opacity: 1;
    transition: 0.3s ease-in-out;
}

.form-button input {
    color: var(--w-color);
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
}

.form-button:hover {
    opacity: 0.9;
}

.form-item.form-item-textarea {
    align-items: start;
}

.form-item.form-item-textarea textarea {
    max-height: 100px;
    resize: none;
    height: 100px;
}

.faq-form-items {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 50px;
}

.faq-form .v-buttons {
    padding-bottom: 50px;
}

.faq-form .v-buttons .primary-button {
    background: var(--s-color);
}

.faq-form .v-buttons .primary-button span {
    color: var(--t-color) !important;
}

.form .section-title {
    justify-content: center;
    margin: 0;
}

.form-button input:hover {
	background: transparent;
}

@media (max-width: 1400px) {
    .faq-form-main::before {
        aspect-ratio: 1780 / 420;
        background: url('../shape/t-shape.svg') no-repeat center/contain;
        margin-bottom: -1px;
    }
}


@media (max-width: 1200px) {
    .faq-form-contents {
        flex-direction: column;
    }

    .faq {
        flex: 1;
    }

    .form {
        flex: 1;
        width: 100%;
    }

    .faq-form-main::before {
        aspect-ratio: 1780 / 420;
        background: url('../shape/t-shape.svg') no-repeat center/contain;
        margin-bottom: -1px;
        transform: scale(1.1);
    }
}

@media (max-width: 992px) {

    .faq-form {
        width: 100%;
        background: var(--p-color);
        padding-top: 120px;
        margin-top: 150px;
    }

    .faq-form-title h3 {
        font-size: 34px;
        text-align: center;
    }

    .faq-form-main::before {
        aspect-ratio: 1740 / 440;
        background: url('../shape/t-shape.svg') no-repeat center/contain;
        margin-bottom: -1px;
        transform: scale(1.1);
    }
}

@media (max-width: 768px) {
    .faq-form-title h3 {
        font-size: 28px;
        line-height: 42px;
    }

    .faq-form-main {
        margin-top: -70px;
    }

    .faq-form-main::before {
        aspect-ratio: 1780 / 350;
        background: url('../shape/t-shape.svg') no-repeat center/contain;
        margin-bottom: -1px;
        transform: scale(1.5);
    }
}

@media (max-width: 576px) {
    .faq-form {
        width: 100%;
        background: var(--p-color);
        padding-top: 120px;
        margin-top: 100px;
    }

    .faq-form-main::before {
        aspect-ratio: 1780 / 350;
        background: url('../shape/t-shape.svg') no-repeat center/contain;
        margin-bottom: -1px;
        transform: scale(1.8);
    }
}

@media (max-width: 480px) {
    .faq-form-contents {

        gap: 24px;
    }

    .faq {
        padding: 24px;
    }

    #form {
        padding: 24px;
    }

    form {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .form-item {
        padding: 8px;
    }

    .form-button {
        height: 58px;
    }

    .faq-item {
        margin-bottom: 0;
    }

    .faq-item-content p {
        font-size: 14px;
        line-height: 20px;
    }

    .faq-item.active {
        gap: 8px;
    }

    .faq-item.active .faq-item-content {
        margin-bottom: 8px;
    }

    .faq-item-box {
        padding: 12px;
    }

    .form-box input,
    .form-box textarea {
        font-size: 14px;
    }

    .faq-item-box-content span {
        font-size: 15px;
    }

    .faq .section-title img {
        width: 18px;
    }

    .faq-item-box-content img {
        width: 12px;
    }

    .faq-item.active .faq-item-content {
        min-height: 120px;
    }

    .faq-form-main::before {
        aspect-ratio: 1780 / 410;
        background: url('../shape/t-shape.svg') no-repeat center/contain;
        margin-bottom: -1px;
        transform: scale(2.4);
    }
}

@media (max-width: 400px) {
    .faq {
        padding: 20px;
    }

    .faq .section-title {
        justify-content: center;
        margin: 0;
        gap: 12px;
    }

    .form .section-title img {
        width: 18px;
    }

    .form .section-title {
        gap: 12px;
    }

    .faq-form-main::before {
        aspect-ratio: 1780 / 500;
        background: url('../shape/t-shape.svg') no-repeat center/contain;
        margin-bottom: -1px;
        transform: scale(2.4);
    }
}