@charset "UTF-8";

/* app.css line:162 スタイル消去 */
#contents P {
    margin: 0;
}

/* app.css line:162 スタイル消去 ここまで */

/* style.min.css line:12 スタイル消去 ここから */
.entry-meta {
    border: none;
    margin-bottom: 0;
}

/* style.min.css line:12 スタイル消去 ここまで */

/* チャット 追加css ここから */
.entry__content {
    min-height: 20vh;
    /* 最初の吹き出しとメッセージ入力枠の間隔を開けるため設定しています */
}

#contents h1.entry__title.entry-title::before {
    content: "";
    display: inline-block;
    width: 1.2em;
    height: 1.2em;
    vertical-align: middle;
    background: url(img/qabot_mini.svg) no-repeat;
    background-size: contain;
    margin-right: 8px;
}

#contents h1.entry__title.entry-title {
    position: relative;
}


#contents h1.entry__title.entry-title::after {
    /*
    content: "powered by GPT-3";
    color: gray;
    font-size: 16px;
    margin-left: 12px;
*/
    position: absolute;
    bottom: 0px;
    right: 0;
    content: '';
    display: inline-block;
    width: 165px;
    height: 32px;
    background-image: url(img/powered-by-openai-badge-outlined-on-light.svg);
    background-repeat: no-repeat;
}

.balloon_fireball_wrrapper {
    display: flex;
    margin: 0 0 1.5em 0;
}

.balloon_fireball_wrrapper::before {
    content: '';
    display: inline-block;
    width: 4em;
    height: 4em;
    background-image: url(img/avatar_fireball.svg);
    background-repeat: no-repeat;
    margin-right: .5em;
}

.balloon_fireball {
    display: flex;
    flex-direction: column;
    padding: 1em 1.5em;
    background-color: #E4EDFC;
    border-radius: 0 16px 16px 16px;
    justify-content: center;
    max-width: calc(100% - 4.5em);
    gap: 1em;
}

.balloon_user_wrrapper {
    display: flex;
    flex-direction: row;
    margin: 0 0 1.5em 0;
}

.balloon_user_wrrapper::after {
    content: '';
    display: inline-block;
    width: 4em;
    height: 4em;
    background-image: url(img/avatar_user.svg);
    background-repeat: no-repeat;
    margin-left: .5em;
}

.balloon_user {
    display: flex;
    padding: 1em 1.5em;
    margin: 0 0 0 auto;
    background-color: #D5F2EC;
    border-radius: 16px 0 16px 16px;
    max-width: calc(100% - 4.5em);
    align-items: center;
}

.balloon_p {
    white-space: pre-wrap;
    margin: 0 0 0 0;
}

.reset_btn {
    margin: .5em .5em 1.5em .5em;
}


#contents p.link_title {
    position: relative;
    color: #274E9A;
    border-top: solid 2px #84A3D8;
    padding: .5em 0;
    margin: 16px 0 0 0 !important;
}

.link_title::after {
    content: '';
    position: absolute;
    background: #f1f5fb;
    top: -2px;
    width: calc(100% - 8em);
    height: 2px;
}

.link_btn {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: .5em;
}

.link_btn a {
    background-color: #FFF;
    border-radius: 100px;
    padding: .5em 1em;
    cursor: pointer;
}

.link_btn a:hover {
    border-radius: 100px;
    padding: .5em 1em;
    text-decoration: none !important;
    outline: solid 1px #84A3D8;
}

.spin {
    display: inline-block;
    content: '';
    width: 1em;
    height: 1em;
    /* background-image: url(img/loading.svg);
    background-repeat: no-repeat; */
    /* margin-left: .5em; */
    vertical-align: middle;
}

.form {
    position: sticky;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #D5F2EC;
    padding: .5em;
    margin-top: 2em;
}

.form_item {
    background: #FFF;
    border-radius: 4px;
}

.form_btn {
    background-color: transparent;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: inherit;
    appearance: none;
    font-size: 1em;
    line-height: 1.2;
    padding: .5em var(--padding-x);
    border-width: 2px;
    border-style: solid;
    margin: .5em 0;
}

#contents textarea.form_ctl {
    white-space: pre-wrap;
    background: #FFF;
    border: none;
    border-color: transparent;
    border-radius: 4px;
    width: calc(100% - 1em) !important;
    --padding-x: 0.5em;
    margin-left: .5em;

    /* 右下の//(サイズ変更機能)を消す */
    resize: none;

    /* フォーカスした際の青い枠線を消す */
    outline: none;
}

.form_btn_wrapper {
    display: flex;
    /* 新しい会話を始めるボタンがある時 */
    justify-content: space-between;
    /* 新しい会話を始めるボタンがない時 */
    /* justify-content: end; */
    margin: 0 .5em;
}

.form_btn {
    text-align: center !important;
    --padding-x: 1.2em;
    border-radius: 4px;
    min-width: 184px;
}

.form_btn.new {
    border: solid 1px #39B2AC;
    color: #39B2AC;
}

.form_btn.new:hover {
    opacity: .7;
}

.form_btn.send {
    border: solid 1px #39B2AC;
    background: #39B2AC;
    color: #FFF;
    letter-spacing: .1em;
    padding-right: .5em;
}

.send_wrapper {
    position: relative;
    float: right;
}

.send_wrapper::before {
    position: absolute;
    content: '';
    width: 2em;
    height: 2em;
    background-image: url(img/QAbot_send.svg);
    background-repeat: no-repeat;
    top: 8px;
    bottom: 0;
    left: 10px;
    margin: auto;
}

.send_wrapper:hover {
    opacity: .7;
}

.send_wrapper:hover::before {
    opacity: .7;
}

#contents .description_qabot {
    font-size: 0.8em;
    color: darkgray;
    margin: 8px auto 16px auto;
    text-align: center;
    width: 100%;
}

/* 20250106_tips修正 */
.tip_balloon_li li {
    border-bottom: dotted 1px #CCC;
    position: relative;
    padding-left: 2.5em;
    padding-bottom: .5em;
    padding-top: .5em;
    list-style: none;
}

.maru::before {
    position: absolute;
    display: block;
    content: '';
    width: 1.4em;
    height: 1.4em;
    border-radius: 50%;
    border: solid 4px #55BDB8;
    left: 0;
    top: calc(50% - .5em/2);
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}

.batsu::before,
.batsu::after {
    position: absolute;
    display: block;
    content: "";
    width: 1.4em;
    height: 4px;
    background: #5584B4;
    left: 0.25em;
    top: calc(50% - .5em/2);
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: rotate(45deg);
}

.batsu::after {
    transform: rotate(-45deg);
}

.tips_btn {
    position: relative;
    width: 184px;
    border: solid 1px #39B2AC;
    border-radius: 20px;
    color: #39B2AC;
    padding: .4em .4em .4em 3em;
    margin: 0 1em 0 auto;
    cursor: pointer;
}

.tips_btn::before {
    position: absolute;
    content: '';
    display: inline-block;
    width: 2em;
    height: 2em;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='2em' viewBox='0 -960 960 960' width='24px' fill='%2339B2AC'%3E%3Cpath d='M480-80q-33 0-56.5-23.5T400-160h160q0 33-23.5 56.5T480-80ZM320-200v-80h320v80H320Zm10-120q-69-41-109.5-110T180-580q0-125 87.5-212.5T480-880q125 0 212.5 87.5T780-580q0 81-40.5 150T630-320H330Zm24-80h252q45-32 69.5-79T700-580q0-92-64-156t-156-64q-92 0-156 64t-64 156q0 54 24.5 101t69.5 79Zm126 0Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}

.tips_btn a:hover {
    border-radius: 100px;
    padding: .5em 1em;
    text-decoration: none;
    outline: solid 1px #84A3D8;
}

.balloon1 {
    display: none;
}

.balloon {
    position: absolute;
    display: inline;
    padding: 1em 0;
    background-color: #FFF;
    color: #666;
    filter: drop-shadow(0 0 5px rgb(50 50 50 / 15%));
    border-radius: 8px;
    width: 350px;
    right: 0;
    bottom: 2.4em;
    margin-bottom: 12px;
}

.balloon:after {
    border-top: 12px solid #FFF;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    bottom: -12px;
    right: 5%;
    content: "";
    position: absolute;
}

/* 20250310 badreaction 追加*/
.bad_reaction {
    content: "";
    display: inline-block;

    position: relative;
    left: 4em;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background: url(img/thumbs_down.svg) no-repeat;
    background-size: contain;
    margin-right: 0.5em;
    cursor: pointer;
}

.bad_reaction2 {
    content: "";
    display: inline-block;

    position: relative;
    left: 4em;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background: url(img/thumbs_down2.svg) no-repeat;
    background-size: contain;
    margin-right: 0.5em;
    cursor: pointer;
}

.mail {
    content: "";
    display: inline-block;

    position: relative;
    left: 2em;

    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background: url(img/mail.svg) no-repeat;
    background-size: contain;
}

/* 20250520 good reaction 追加*/
.good_reaction {
    content: "";
    display: inline-block;

    position: relative;
    left: 4em;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background: url(img/thumbs_up.svg) no-repeat;
    background-size: contain;
    margin-right: 0.5em;
    cursor: pointer;
}

.good_reaction2 {
    content: "";
    display: inline-block;

    position: relative;
    left: 4em;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background: url(img/thumbs_up2.svg) no-repeat;
    background-size: contain;
    margin-right: 0.5em;
    cursor: pointer;
}

/* チャット 追加css ここまで */