.csrfform{
    display: none;
    }

.chat {
    min-height: calc(100vh - 200px);
    background-color: #b4ddf1;
    background-image: url("../../assets/image/chatbot/chatbot_bg.png");
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: 100% auto;
    position: relative;
    font-family: noto-medium;
}

.chat::before {
    content: "";
    width: 145px;
    height: 82px;
    background-image: url("../../assets/image/chatbot/chatbot_cloud.png");
    background-size: 100% 100%;
    position: absolute;
    top: 100px;
    right: 0;
}

.chat-body {
    padding: 40px 0 250px;
}

.chat-bot {
    display: flex;
}

.chat-bot:not(:first-child) {
    margin-top: 25px;
}

.chat-bot__img {
    width: 80px;
    height: 80px;
    margin-top: 7px;
}

.chat-bot__content {
    margin-left: 13px;
}

.chat-bot__name {
    font-family: noto-bold;
    font-size: 17px;
}

.chat-bot__txt {
    border-radius: 24.5px;
    background-color: #fff;
    padding: 10px 15px;
    margin-top: 5px;
    line-height: 28px;
    text-align: left;
    color: #111;
    position: relative;
    font-size: 20px;
    min-width: 100px;
}

.chat-bot__txt::before {
    content: "";
    position: absolute;
    top: 0;
    left: -7px;
    width: 14px;
    height: 16px;
    background-image: url("../../assets/image/chatbot/chatbot_corner.png");
    background-size: 100% 100%;
    display: inline-block;
}

.chat-bot__txt--reference {
    font-size: 0.9em;
}

.chat-bot__thanksmsg {
    border-radius: 24.5px;
    background-color: #fff;
    padding: 10px 15px;
    margin-top: 30px;
    line-height: 28px;
    text-align: left;
    color: #111;
    position: relative;
    font-size: 20px;
    min-width: 100px;
    text-align: center;
}
.chat-bot__thanksmsg-banner1 {
    padding: 10px 15px;
    margin-top: 80px;
    line-height: 28px;
    text-align: left;
    color: #111;
    position: relative;
    font-size: 20px;
    min-width: 100px;
}

.chat-bot__thanksmsg-banner2 {
    border-radius: 24.5px;
    background-color: #fff;
    padding: 10px 15px;
    margin-top: 20px;
    line-height: 28px;
    color: #111;
    position: relative;
    font-size: 20px;
    min-width: 100px;
    text-align: center;
}


.chat-bot__options {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width: 1010px;
    height: 240px;
    margin-top: 15px;
}

.chat-bot__input {
    display: flex;
    flex-direction: column;
    width: 1025px;
    margin-top: 15px;
}

.chat-bot__input label {
    font-family: noto-bold;
    width: 100%;
}

.chat-bot__input label span {
    margin-left: 10px;
}

.chat-bot__input label .required-false {
    font-family: noto-medium;
    color: #999;
}

.chat-bot__input label .required-true {
    font-family: noto-medium;
    color: #cd2c34;
}

.chat-bot__input input {
    border-radius: 10px;
    background: #eee;
    font-size: 18px;
    color: #111;
    padding: 20px;
    margin-top: 15px;
    outline: none;
}

.chat-bot__input .input-reference {
    font-size: 18px;
    line-height: 28px;
    color: #111;
    margin-top: 7px;
}

.chat-bot__input .input-reference a {
    text-decoration: underline;
    color: #0563C1;
}

.chat-bot__input .validation-error {
    font-size: 18px;
    line-height: 28px;
    color: #cd2c34;
    margin-top: 7px;
}

.chat-bot__input .btn-next {
    width: 100%;
    height: 70px;
    border-radius: 14px;
    padding: 18px;
    text-align: center;
    background: #cd2c34;
    color: #fff;
    margin-top: 15px;
    font-family: noto-bold;
}

.chat-bot__input .btn-skip {
    font-size: 18px;
    line-height: 24px;
    text-align: center;
    color: #111;
    display: inline-block;
    margin: 24px auto 20px;
    text-decoration: underline;
}

.chat-user {
    text-align: right;
}

.chat-user__txt {
    border-radius: 24.5px;
    background: #5dea74;
    display: inline-block;
    padding: 10px 15px;
    margin-top: 30px;
    color: #111;
    position: relative;
    font-size: 20px;
}

.chat-user__txt::before {
    content: "";
    position: absolute;
    top: 0;
    right: -7px;
    width: 14px;
    height: 16px;
    background-image: url("../../assets/image/chatbot/chatbot_corner_user.png");
    background-size: 100% 100%;
    display: inline-block;
}

.chat-user__txt::after {
    content: "既読";
    font-size: 14px;
    color: #999;
    position: absolute;
    bottom: 0;
    left: -36px;
    line-height: 1.2;
}

.privacy-content {
    width: 526px;
    font-size: 20px;
    line-height: 28px;
    color: #111;
    border-radius: 24.5px;
    margin-top: 10px;
}

.privacy-content__img {
    width: 100%;
    height: 276.15px;
    background: #dbebec;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top-left-radius: 24.5px;
    border-top-right-radius: 24.5px;
}

.privacy-content p {
    background-color: #fff;
    border-bottom-left-radius: 24.5px;
    border-bottom-right-radius: 24.5px;
    padding: 15px;
}

.privacy-content a {
    color: #0563C1;
}

.typing {
    display: flex;
}

.typing span {
    position: absolute;
    top: 19px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #335C80;
}

.typing span:first-child {
    animation: rlc1 0.8s linear infinite alternate;
}

.typing span:nth-child(2) {
    animation: rlc2 0.8s linear infinite;
    margin-left: 10px;
}

.typing span:last-child {
    animation: rlc3 0.8s linear infinite alternate;
    margin-left: 20px;
}

@keyframes rlc1 {
    0% {
        margin-top: -6px;
    }

    25% {
        margin-top: 0px;
    }

    50% {
        margin-top: 6px;
    }

    75% {
        margin-top: 0px;
    }

    100% {
        margin-top: -6px;
    }
}

@keyframes rlc2 {
    0% {
        margin-top: 0px;
    }

    25% {
        margin-top: -6px;
    }

    50% {
        margin-top: 0px;
    }

    75% {
        margin-top: 6px;
    }

    100% {
        margin-top: 0px;
    }
}

@keyframes rlc3 {
    0% {
        margin-top: 6px;
    }

    25% {
        margin-top: 0px;
    }

    50% {
        margin-top: -6px;
    }

    75% {
        margin-top: 0px;
    }

    100% {
        margin-top: 6px;
    }
}

.option-btn {
    width: 484px;
    height: 100px;
    border-radius: 14px;
    background: #1b60aa;
    border: 3px solid #1b60aa;
    color: #fff;
    font-size: 24px;
    font-family: noto-bold;
}

.btn-call {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-radius: 14px;
    background: #1baa3d;
    padding: 18px 0 20px;
    margin-top: 15px;
    color: #fff;
}

.btn-call span:first-child {
    font-size: 24px;
    font-family: noto-bold;
    display: inline-flex;
    align-items: flex-end;
    margin-bottom: 3px;
}

.btn-call span:first-child img {
    margin-right: 9px;
    width: 18px;
    height: 24px;
}

.btn-call span:last-child {
    font-size: 18px;
}

.chat-bot__thanksmsg div  {
    display: inline-block;
    vertical-align: top;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 25%;
}

.chat-bot__thanksmsg div > img {
    display: inline-block;
    width:15%;
}

.chat-bot__thanksmsg-banner2 div > img {
    display: inline-block;
    width:auto;
    max-width: 429px;
    margin: 10px;
}

@media (max-width: 1400px) {
    .chat {
        min-height: calc(100vh - 200rem);
    }

    .chat::before {
        width: 145rem;
        height: 82rem;
        top: 100rem;
    }

    .chat-body {
        padding: 40rem 0 250rem;
    }

    .chat-bot:not(:first-child) {
        margin-top: 25rem;
    }

    .chat-bot__img {
        width: 80rem;
        height: 80rem;
        margin-top: 7rem;
    }

    .chat-bot__content {
        margin-left: 13rem;
    }

    .chat-bot__name {
        font-size: 17rem;
    }

    .chat-bot__txt {
        border-radius: 24.5rem;
        padding: 10rem 15rem;
        margin-top: 5rem;
        line-height: 28rem;
        font-size: 20rem;
        min-width: 100rem;
    }

    .chat-bot__txt::before {
        left: -7rem;
        width: 14rem;
        height: 16rem;
    }

    .chat-bot__txt--reference {
        font-size: 0.9em;
    }

    .chat-bot__thanksmsg {
        border-radius: 24.5rem;
        padding: 20rem 15rem;
        margin-top: 35rem;
        line-height: 28rem;
        font-size: 30rem;
        min-width: 100rem;
    }

    .chat-bot__thanksmsg::before {
        left: -7rem;
        width: 14rem;
        height: 16rem;
    }

    .chat-bot__thanksmsg--reference {
        font-size: 0.9em;
    }

    .chat-bot__options {
        width: 1010rem;
        height: 240rem;
        margin-top: 15rem;
    }

    .chat-bot__input {
        width: 1025rem;
        margin-top: 15rem;
    }

    .chat-bot__input label span {
        margin-left: 10rem;
    }

    .chat-bot__input input {
        border-radius: 10rem;
        font-size: 18rem;
        padding: 20rem;
        margin-top: 15rem;
    }

    .chat-bot__input .input-reference {
        font-size: 18rem;
        line-height: 28rem;
        margin-top: 7rem;
    }

    .chat-bot__input .validation-error {
        font-size: 18rem;
        line-height: 28rem;
        margin-top: 7rem;
    }

    .chat-bot__input .btn-next {
        width: 100%;
        height: 70rem;
        border-radius: 14rem;
        padding: 18rem;
        margin-top: 15rem;
    }

    .chat-bot__input .btn-skip {
        font-size: 18rem;
        line-height: 24rem;
        margin: 24rem auto 20rem;
    }

    .chat-user__txt {
        border-radius: 24.5rem;
        padding: 10rem 15rem;
        margin-top: 30rem;
        font-size: 20rem;
    }

    .chat-user__txt::before {
        right: -7rem;
        width: 14rem;
        height: 16rem;
    }

    .chat-user__txt::after {
        font-size: 14rem;
        left: -36rem;
    }

    .privacy-content {
        width: 526rem;
        font-size: 20rem;
        line-height: 28rem;
        border-radius: 24.5rem;
        margin-top: 10rem;
    }

    .privacy-content__img {
        width: 100%;
        height: 276.15rem;
        border-top-left-radius: 24.5rem;
        border-top-right-radius: 24.5rem;
    }

    .privacy-content p {
        border-bottom-left-radius: 24.5rem;
        border-bottom-right-radius: 24.5rem;
        padding: 15rem;
    }

    .typing {
        display: flex;
    }

    .typing span {
        top: 19rem;
        width: 6rem;
        height: 6rem;
    }

    .typing span:nth-child(2) {
        margin-left: 10rem;
    }

    .typing span:last-child {
        margin-left: 20rem;
    }

    @keyframes rlc1 {
        0% {
            margin-top: -6rem;
        }

        25% {
            margin-top: 0rem;
        }

        50% {
            margin-top: 6rem;
        }

        75% {
            margin-top: 0rem;
        }

        100% {
            margin-top: -6rem;
        }
    }

    @keyframes rlc2 {
        0% {
            margin-top: 0rem;
        }

        25% {
            margin-top: -6rem;
        }

        50% {
            margin-top: 0rem;
        }

        75% {
            margin-top: 6rem;
        }

        100% {
            margin-top: 0rem;
        }
    }

    @keyframes rlc3 {
        0% {
            margin-top: 6rem;
        }

        25% {
            margin-top: 0rem;
        }

        50% {
            margin-top: -6rem;
        }

        75% {
            margin-top: 0rem;
        }

        100% {
            margin-top: 6rem;
        }
    }

    .option-btn {
        width: 484rem;
        height: 100rem;
        border-radius: 14rem;
        border: 3rem solid #1b60aa;
        font-size: 24rem;
    }

    .btn-call {
        border-radius: 14rem;
        padding: 18rem 0 20rem;
        margin-top: 15rem;
    }

    .btn-call span:first-child {
        font-size: 24rem;
        margin-bottom: 3rem;
    }

    .btn-call span:first-child img {
        margin-right: 9rem;
        width: 18rem;
        height: 24rem;
    }

    .btn-call span:last-child {
        font-size: 18rem;
    }

    .chat-bot__thanksmsg-banner2 div > img {
        display: inline-block;
        width:auto;
        max-width: 429px;
        margin: 10px;
    }
    
    .chat-bot__thanksmsg div  {
        display: inline-block;
        vertical-align: top;
        margin-top: 20px;
        width: 25%;
    }
    
    .chat-bot__thanksmsg div > img {
        display: inline-block;
        width:15%;
    }
    
}


@media (max-width: 640px) {
    .chat {
        min-height: calc(100vh - 196rem);
    }

    .chat::before {
        width: 75.85rem;
        height: 40.27rem;
        top: 240rem;
    }

    .chat-body {
        padding: 20rem 0 100rem;
    }

    .chat-bot:not(:first-child) {
        margin-top: 15rem;
    }

    .chat-bot__img {
        width: 34rem;
        min-width: 34rem;
        height: 34rem;
        margin-top: 0rem;
    }

    .chat-bot__content {
        margin-left: 10rem;
    }

    .chat-bot__name {
        font-size: 12rem;
        width: 267rem;
    }

    .chat-bot__txt {
        border-radius: 18.5rem;
        padding: 6rem 10rem;
        margin-top: 5rem;
        line-height: 22rem;
        font-size: 15rem;
        min-width: 267rem;
        width: 267rem;
    }

    .chat-bot__txt::before {
        left: -7rem;
        width: 14rem;
        height: 16rem;
    }

    .chat-bot__txt--reference {
        font-size: 0.9em;
    }

    .chat-bot__thanksmsg {
        border-radius: 18.5rem;
        padding: 6rem 10rem;
        margin-top: 20rem;
        line-height: 22rem;
        font-size: 12rem;
        min-width: 267rem;
        width: 267rem;
    }

    .chat-bot__thanksmsg-banner1 {
        border-radius: 18.5rem;
        padding: 6rem 10rem;
        margin-top: 5rem;
        line-height: 22rem;
        font-size: 12rem;
        min-width: 267rem;
        width: 267rem;
    }

    .chat-bot__thanksmsg-banner2 {
        border-radius: 18.5rem;
        padding: 6rem 10rem;
        margin-top: 5rem;
        line-height: 22rem;
        font-size: 12rem;
        min-width: 267rem;
        width: 267rem;
    }
    

    .chat-bot__thanksmsg::before {
        left: -7rem;
        width: 14rem;
        height: 16rem;
    }

    .chat-bot__thanksmsg--contact {
        font-size: 0.9em;
    }

    .chat-bot__thanksmsg div  {
        display: inline-block;
        vertical-align: top;
        margin-top: 10px;
        margin-bottom: 20px;
        width: auto;
    }

    .chat-bot__thanksmsg--banner1 {
        font-size: 0.8em;
        text-align: left;
    }


    /* .chat-bot__options {
        width: 267rem;
        height: 250rem;
        margin-top: 10rem;
    } */

    .chat-bot__options {
      width: 267rem;
      height: 320rem;
      margin-top: 10rem;
  }

    .chat-bot__input {
        width: 267rem;
        margin-top: 10rem;
    }

    .chat-bot__input label span {
        margin-left: 5rem;
    }

    .chat-bot__input input {
        border-radius: 10rem;
        font-size: 13rem;
        padding: 13rem;
        margin-top: 8rem;
    }

    .chat-bot__input .input-reference {
        font-size: 13rem;
        line-height: 19rem;
        margin-top: 5rem;
    }

    .chat-bot__input .validation-error {
        font-size: 13rem;
        line-height: 19rem;
        margin-top: 5rem;
    }

    .chat-bot__input .btn-next {
        width: 100%;
        height: unset;
        border-radius: 10rem;
        padding: 13rem;
        margin-top: 8rem;
        font-size: 18rem;
    }

    .chat-bot__input .btn-skip {
        font-size: 14rem;
        line-height: 24rem;
        margin: 18rem auto 17rem;
    }

    .chat-user__txt {
        border-radius: 18.5rem;
        padding: 10rem 12rem;
        margin-top: 18rem;
        font-size: 15rem;
        max-width: 267rem;
        text-align: left;
    }

    .chat-user__txt::before {
        right: -7rem;
        width: 14rem;
        height: 16rem;
    }

    .chat-user__txt::after {
        font-size: 10rem;
        left: -24rem;
    }

    .privacy-content {
        width: 267rem;
        font-size: 14rem;
        line-height: 21rem;
        border-radius: 17.5rem;
        margin-top: 10rem;
    }

    .privacy-content__img {
        width: 100%;
        height: 142rem;
    }

    .privacy-content__img img {
        border-top-left-radius: 17.5rem;
        border-top-right-radius: 17.5rem;
    }

    .privacy-content p {
        border-bottom-left-radius: 17.5rem;
        border-bottom-right-radius: 17.5rem;
        padding: 12rem;
    }

    .privacy-content a {
        color: #0563C1;
    }

    .typing {
        display: flex;
    }

    .typing span {
        top: 12rem;
        width: 6rem;
        height: 6rem;
    }

    .typing span:nth-child(2) {
        margin-left: 10rem;
    }

    .typing span:last-child {
        margin-left: 20rem;
    }

    @keyframes rlc1 {
        0% {
            margin-top: -6rem;
        }

        25% {
            margin-top: 0rem;
        }

        50% {
            margin-top: 6rem;
        }

        75% {
            margin-top: 0rem;
        }

        100% {
            margin-top: -6rem;
        }
    }

    @keyframes rlc2 {
        0% {
            margin-top: 0rem;
        }

        25% {
            margin-top: -6rem;
        }

        50% {
            margin-top: 0rem;
        }

        75% {
            margin-top: 6rem;
        }

        100% {
            margin-top: 0rem;
        }
    }

    @keyframes rlc3 {
        0% {
            margin-top: 6rem;
        }

        25% {
            margin-top: 0rem;
        }

        50% {
            margin-top: -6rem;
        }

        75% {
            margin-top: 0rem;
        }

        100% {
            margin-top: 6rem;
        }
    }

    .option-btn {
        width: 100%;
        height: 70rem;
        border-radius: 10rem;
        border: 3rem solid #1b60aa;
        font-size: 18rem;
    }

    .btn-call {
        border-radius: 10rem;
        padding: 10rem 0 10rem;
        margin-top: 15rem;
    }

    .btn-call span:first-child {
        font-size: 20rem;
        margin-bottom: 3rem;
    }

    .btn-call span:first-child img {
        margin-right: 9rem;
        width: 16rem;
        height: 21rem;
    }

    .btn-call span:last-child {
        font-size: 14rem;
    }

    .chat-bot__thanksmsg-banner2 div > img {
        display: inline-block;
        width:auto;
        max-width: 214px;
    }

}

