
#chatbot-icon-container {
    position: fixed;
    bottom: 10px;
    right: 10px;
    cursor: pointer;
}

#chatbot-icon {
    width: 50px;
    height: 50px;

}
.prompt.second {
    display: none; /* 最初はカテゴリ選択用のボタンを非表示に */
}

.prompt.selected {
    background-color: #2ad2b4; /* 選択された状態の背景色 */
    color: white; /* 選択された状態のテキスト色 */
}

#chatbot-close {
  position: absolute;
    right: 10px;
    top: 16px;
    transform: translate(-50%,-50%);
    cursor: pointer;
    font-size: 40px;
    color: white;
}

.slider {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
	    padding: 16px 8px;
}

.prompt {
    flex: 0 0 auto;
    margin-right: 10px; /* 各プロンプトの間隔 */
	background-color: #e5e5ea;
    padding: 8px 16px;
    border-radius: 16px;
	color: #646464;
    font-size: 14px;
}

.chatLogo{
	text-align: center;
}

#promo-code{

    padding: 10px 10px 10px 0;
    font-size: 16px;
}


.tyekuC{
	font-size: 24px;
    margin-top: -8px;
    margin-left: -8px;
    color: #2ad2b4;
}

#chatbot-container {
width: 50%;
    height: 100%;
    border: 1px solid #ccc;
    position: fixed;
    bottom: 0px;
    right: 0px;
    display: flex;
    flex-direction: column;
    z-index: 100;
    background-color: #fff;
}

#chatbot-header {
    background-color: #2ad2b4;
    color: white;
    padding: 10px;
    text-align: center;
}

#chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
	    padding-top: 48px;
}

#chatbot-input {
       padding: 10px;
    display: flex;
    gap: 8px;
}

#user-input {
    flex: 1;
    border: 1px solid #c3c3c3;
    padding: 5px 5px 5px 12px;
    border-radius: 24px;
}

.message {
    display: flex;
        margin-bottom: 24px;
}


.message.left {
    justify-content: flex-start;
}

.message.right {
    justify-content: flex-end;
}

.chatbot-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
	object-fit: cover;
}


.text {
    padding: 20px;
    border-radius: 32px;
    max-width: 80%;
	    line-height: 1.6;
}

.message.left .text {
    background-color: #E5E5EA;
	line-height:1.6;
}

.message.right .text {
    background-color: #0A74DA;
    color: white;
}

.message.right .chatbot-icon {
    margin-left: 10px;
    margin-right: 0;
}

#chatbot-prompts {
    display: flex;
    justify-content: space-between;
    padding: 5px 10px;
}


.right01{
	justify-content: right;
    margin-bottom: 24px;
}

.sousinbtn {
    border: 1px solid #c3c3c3;
    border-radius: 20px;
    padding: 17px 24px;
    color: #757575;
}

.puronpt{
	
	    border: 1px solid;
    padding: 8px 16px;
}

#chatbot-prompts-default{
	display: flex;
	    gap: 8px;
    margin-left: 10px;
}

.skBtn{
	border: 1px solid #c3c3c3;
    padding: 8px 16px;
    display: block;
    width: 33px;
    height: 33px;
    margin-top: 7px;
    margin-left: 20px;
    text-align: center;
    border-radius: 32px;
    color: #757575;

}

.ktS{
	    display: flex;
       gap: 16px 32px;
    padding: 24px 8px;
	flex-wrap: wrap;
}
.ktS div{
	width: 20%;
	 
}

p{
	line-height: 1.8;
}

.kotirasen{
	border-bottom: 1px solid #0000EE;
    padding-bottom: 2px;

}

.left span{
	padding: 10px;
	font-size: 20px;
}

.katesub{
	
	display: flex;
	gap:8px;
}


#category-textarea{
	overflow: auto;
       border: 1px solid #c3c3c3;
       width: 50%;
    font-size: 14px;
    height: 40px;
    padding: 10px 0 10px 10px;
    border-radius: 24px;
	display: none;
	
	
}

#categories-container {
    display: flex;
    overflow-x: auto;
    gap: 10px; /* ボタン間のスペース */
    padding: 10px 0;
}

.category-btn {
    flex: 0 0 auto; /* ボタンが圧縮されないようにする */
    padding: 5px 15px;
    border: 1px solid #ddd;
    cursor: pointer;
    border-radius: 16px;
    background-color: #e5e5ea;
    color: #646464;
    font-size: 14px;
	
}

/* オプショナル: スクロールバーのスタイルをカスタマイズ */


#categories-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

#categories-container::-webkit-scrollbar-thumb {
    background: #cccccc;
    border-radius: 4px;
}


.skBtn{
	position: relative;
	opacity: 0;
  animation: fadeInAnimation 1s forwards;
	
}
.skBtn::before{
	position: absolute;
    content: "";
    background-image: url(/1.png);
    background-size: cover;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 22px;
    width: 22px;
	
}
.sousinbtn{
	position: relative;
	
}
.sousinbtn::before{
	position: absolute;
    content: "";
    background-image: url(/2.png);
    background-size: cover;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 24px;
    width: 24px;
	
}

.fade-in {
  opacity: 0;
  animation: fadeInAnimation 1s forwards; /* アニメーションの持続時間は1秒 */
}

@keyframes fadeInAnimation {
  to {
    opacity: 1;
  }
}



@media screen and (max-width: 768px) {

#chatbot-container {
    width: 100%;
}
	
	.ktS {
    display: flex;
    gap: 16px 16px;
    padding: 24px 8px;
    flex-wrap: wrap;
    font-size: 16px;
    justify-content: center;
}

.ktS div{
	width: 40%;

	 
}
	
}