.faq-modal {
    display: none;
    position: fixed;
    z-index: 10002;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.faq-modal.show {
    opacity: 1;
}

.faq-modal-box {
    position: fixed;
    bottom: 0px;
    left: 0px;
    width: 0px;  
    height: 0px;
    border-radius: 50%; 
    background: var(--color-soft-white);
    overflow: hidden;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translate(0,0);
}

.faq-modal-box.show {
    display: flex;
    flex-direction: column;
    background: var(--color-soft-white);
    align-items: center;
	box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    width: 550px;
    height: auto;
    min-height: 550px;
    max-height: 754px;
    left: 50%;
    bottom: 50%;
    transform: translate(-50%, 50%);
    border-radius: 16px;
    opacity: 1;
    transition: all 0.4s ease;
}



.cancel-button-box {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    padding: 14px;
}

.faq-cancel-button {
    border: none;
    cursor: pointer;
    padding: 0;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.div-faq-title-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    padding: 20px 0 32px 0;
    gap: 16px;
}

.div-faq-title {
    color: var(--color-soft-black);
    font-family: var(--font-base);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}

.div-faq-title-logo-image {
    width: 32px;
    height: 32px;
}

.div-faq-box {
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    flex: 1;
    overflow-y: auto;
    scrollbar-gutter: stable both-edges;
}

.faq-chat-log {
    display: flex;
    flex-direction: column;
    gap: 18px;
    box-sizing: border-box;
    padding: 0 10px 30px 10px;
}

.div-faq-answer { /* チャットボット */
    background: var(--color-gray-100);
    color: var(--color-soft-black);
    line-height: 1.8;
    font-size: 12px;
    font-weight: 500;
    font-family: var(--font-base);
    margin-right: auto;
    text-align: left;
    max-width: 380px;
    padding: 12px 16px;
    border-radius: 16px 16px 16px 4px;
    position: relative;
    animation: fadeIn 0.5s ease-in-out;
    word-wrap: break-word;
    gap: 4px;
    display: inline-flex;
    flex-direction: column;
}

.div-faq-process { /* チャットボット */
    background: var(--color-gray-100);
    color: var(--color-soft-black);
    line-height: 1.8;
    font-size: 12px;
    font-weight: 500;
    font-family: var(--font-base);
    margin-right: auto;
    text-align: left;
    max-width: 380px;
    padding: 12px 16px;
    border-radius: 16px 16px 16px 4px;
    position: relative;
    animation: fadeIn 0.5s ease-in-out;
    word-wrap: break-word;
    gap: 4px;
    display: inline-flex;
    flex-direction: column;
}

.div-faq-answer p, .div-faq-answer ol, .div-faq-answer ul,
.div-faq-process p, .div-faq-process ol, .div-faq-process ul {
    margin: 0;
}

.div-faq-question { /* user */
    background: var(--color-grad-pink-purple);
    color: var(--color-soft-white);
    line-height: 1.8;
    font-size: 12px;
    font-weight: 500;
    font-family: var(--font-base);
    margin-left: auto;
    text-align: left;
    max-width: 380px;
    padding: 12px 16px;
    border-radius: 16px 16px 4px 16px;
    position: relative;
    animation: fadeIn 0.5s ease-in-out;
    word-wrap: break-word;
    gap: 4px;
    display: inline-flex;
    flex-direction: column;
}

.div-inp-faq-chat {
    width: 100%;
    height: auto;
    align-items: center;
    display: flex;
    border-top: 1px solid var(--color-gray-200);
    box-sizing: border-box;
    padding: 12px 18px 12px 22px;
    display: flex;
    gap: 10px;
}

.inp-faq-chat {
    color: var(--color-soft-black);
    line-height: 1.8;
    font-size: 12px;
    font-weight: 500;
    font-family: var(--font-base);
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    resize: none;
}
.inp-faq-chat::placeholder {
    color: var(--color-gray-500);
}

.div-inp-faq-chat-image {
    display: flex;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    border-radius: 25px;
    box-sizing: border-box;
    padding: 4px;
    cursor: pointer;
    background: var(--color-gray-400);
}

.div-inp-faq-chat-image:hover {
    background: var(--color-soft-black);
}

.div-inp-faq-chat-image.is-disabled {
    cursor: default;
    background: var(--color-gray-100);
}

.div-inp-faq-chat-image.is-disabled:hover {
    background: var(--color-gray-100);
}
