@charset "UTF-8";

html,body,main,.main-area{
	height: 100%;
	font-size:14px;
}
body{
	background-color: white;
}
main{
	background-image: url(./img/bg.webp);
	background-repeat:no-repeat;
	background-size:cover;
	position: relative;
	background-position: bottom;
}

.m-bottom-30{
	margin-bottom: 30px;
}

.main-area{
	display: flex;
	width: 90%;
	min-width: 720px;
	justify-content: center;
	align-items: center;
	margin: auto;
	max-width: 1440px;
}

#form-area {
	font-size: 20px;
	background-image:url(./img/input_name.webp);
	background-repeat:no-repeat;
	width: 456px;
	height: 460px;
	position: relative;
	background-size: contain;
}

#form-area .form-avatar{
	position: absolute;
	left: 50%;
	top:-110px;
	width: 100px;
	margin-left: -50px;
}

#form-area .form-example{
	font-size: 14px;
	padding-left: 30px;
	padding-right: 30px;
	line-height: 1.4;
	position: absolute;
	width: 330px;
	margin: auto;
	height: 100%;
	top: 0px;
	left: 50%;
	transform: translate(-50%, 0%);
	padding-top: 20px;
}

#form-area .form-example p{
	padding-top: 25px;
	margin-bottom: 8px;
}

/* #form-area .form-bottom{
	position: absolute;
	left: 50%;
	transform: translate(-50%, 0%);
	bottom: 50px;
} */

#form-area .form-bottom{
	bottom: 50px;
}


.img-area{
	position: fixed;
	width: 480px;
	bottom: 0px;
	right: -20px;
	/* z-index: 1; */
}
.img-area img{
	/* width: 600px; */
	width: 500px;
	margin-left: 0px;
	
}
.img-area .fukidasi{
	line-height: 24px;
	position: absolute;
	top: 0px;
	right: 0px;
	box-shadow: 0 10px 25px 0 rgba(0, 0, 0, .5);
}

.img-area .ai-label {
	width:130px;
}
.img-area .fukidasi.think{
	display: flex;
	align-items: center;
}


.img-area .fukidasi.think .normal-text{
	display: none;	
}
.img-area .fukidasi .thinking-text{
	display: none;
}
.img-area .fukidasi.think .thinking-text{
	display: block;	
	margin-top: -1em;
}


.fukidasi {

	position: relative;
	display: inline-block;
	margin: 1.5em 15px 1.5em 0;
	padding: 0 24px;
	padding-top: 15px;
	width: 160px;
	height: 160px;
	text-align: center;
	background: #FFF;
	border-radius: 50%;
	box-sizing: border-box;
}

.fukidasi:before {
	content: "";
	position: absolute;
	bottom: -12px;
	left: 16px;
	margin-top: -15px;
	border: 15px solid transparent;
	border-right: 15px solid #FFF;
	z-index: 0;
	transform: rotate(-52deg);
}

/* チャット画面 */
main[data-action='chat'] .main-area{
	background-color: rgba(102, 109, 122, 0.8);
	border: 3px solid #6f707c;
	border-radius: 30px;
}

main[data-action='chat'] .main-area .left{
	width: 300px;
	padding-right: 10px;
	box-sizing: border-box;
	line-height: 1.5;
}
main[data-action='chat'] .main-area .left .site-name-log{
	background-image: url(./img/site_name.png);
	/* width: 200px; */
	height: 50px;
	width: 275px;
	height: 90px;
	display: inline-block;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	margin-left: auto;
	margin-right: auto;
}

main[data-action='chat'] .main-area .left .chat-name{
	background-color:#F1C231;
	padding:6px 8px;
	border-radius: 5px;
	margin-top: 20px;
	margin-bottom: 15px;
	font-size: 18px;
}

main[data-action='chat'] .main-area .left .fixed-banner-area{
	position: absolute;
	bottom: 0px;
	left: 0px;
	width: calc(100% - 10px);
}		
main[data-action='chat'] #chat-area{
	margin-bottom: 24px;
	width: 100%;
	height: 100%;
	/* デザイン部変更箇所　チャット欄　背景色変更 */
	background-color: #383733;
	border-radius:10px;
	position: relative;
}

/* main[data-action='chat'] #chat-area,
main[data-action='chat'] #free_chat_form{
	padding-right: 4px;
} */

main[data-action='chat'] #free_chat_form{
	position: absolute;
	bottom: 10px;
	left: 0px;
}

main[data-action='chat'] #chat-area .chat-area{
	overflow-y: auto;
	padding-top: 10px;
}

/* デザイン部変更箇所 おしゃべりスペース　 */
main[data-action='chat'] .chat-top{
	color: #fff;
	background-color: #998b6d;
}

/* main[data-action='chat'] #event-banner-area a.dsb-chat-banner-btnn.bg-jagged{
	right: 40px;
}
main[data-action='chat'] #event-banner-area a.dsb-chat-type-text{
	position: relative;
} */

/*  デザイン部変更箇所 ユーザー送信トーク  */
main[data-action='chat'] .chat-area .dsb-talk-to{
	background-color: #595855;
	color: #FFF;
}

/*  デザイン部変更箇所 ユーザー送信トーク(三角部分)  */
main[data-action='chat'] .chat-area .dsb-talk-to::before,
main[data-action='chat'] .chat-area .dsb-talk-to::after{
	border-right: 10px solid #595855;
}

/*  デザイン部変更箇所 AI送信トーク  */
main[data-action='chat'] .chat-area .dsb-talk-me{
	background-color: #414d68;
	color: #FFF;
}

/*  デザイン部変更箇所 AI送信トーク(三角部分)  */
main[data-action='chat'] .chat-area .dsb-talk-me::before,
main[data-action='chat'] .chat-area .dsb-talk-me::after{
	border-left: 10px solid #414d68;		
}

/*  デザイン部変更箇所　質問を送信ボタン  */
main[data-action='chat'] .submit-btn{
	width: 100%;
	height: 52px;
	border-radius: 5px;
	color: white;
	background-color: #637273;
	border: 1px solid rgb(255,255,255);

}

/*  デザイン部変更箇所　チャット　氏名文字色  */
main[data-action='chat'] .dsb-chat-name{
	color: #fff;
}


@keyframes rotation1{
  0%{ transform:rotate(0);}
  100%{ transform:rotate(360deg); }
}

#chat-back-btn{
	top: 24px;
	position: absolute;
	left: 24px;
	display: block;
	background-image: url(./img/button.png);

	height: 50px;
	width: 174px;
}


#rec_list ul li{
	cursor: pointer;
	align-items: center;
	display: flex;
	line-height: 48px;
	min-height: 48px;
	/* height: 48px; */
	background-color: #F1C231;
	margin-bottom: 16px;
	padding: 0px 12px;
	border-radius: 5px;
}


#rec_list ul li > a{
	width: 100%;
	height: 100%;
}

#answer-area{
	margin-bottom: 10px;
}
#answer-area .answer-q{
	align-items: center;
	display: flex;
	line-height: 48px;
	min-height: 48px;
	/* height: 48px; */
	background-color: rgba(1,72,118,1);
	color: white;
	margin-bottom: 16px;
	padding: 0px 12px;
	border-radius: 5px;
}

#answer-area .answer-q .q-icon{
	background-image: url(./img/icon_Q.png);
	display: block;
	width: 30px;
	margin-right: 8px;
}

#answer-area .answer-a{
	display: flex;
	line-height: 16px;
	font-size: 12px;
	background-color: white;
	padding: 24px 32px 24px 16px;
	border-radius:5px;
	margin-bottom: 24px;
	position: relative;
}

#answer-area .aanswer-a .q-icon{
	background-image: url(./img/icon_Q.png);
	display: block;
	width: 30px;
	margin-right: 8px;
}	

#answer-area .ai-answer {
	padding-left: 12px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

#answer-area .loading{
	padding-left:12px;
	display: none;
	text-align: center;
	font-size: 40px;
}

#answer-area .loading.show,
#answer-area .answer-item.think .loading{
	display: block;
}

.free_chat_form{
	display: flex;
}

#caution-comment{
	/* デザイン部変更箇所　チャット欄下 注意文(回答は必ずしも〜) */
	color: #FFF;
}

main[data-action='index'] #form-area .form-example .form-text p.text,
main[data-action='index'] #form-area .form-example .form-text label{
	color:#fff;
}

#Lyid{
	color: black;
	font-size:14px;/*★文字サイズ指定*/
	line-height: 24px;
	box-sizing: border-box;/*★枠線や余白も含めたサイズにする*/
}


/*
.dsb-talk .dsb-judg-area .dsb-judg-btn i{
	opacity : 0.4;
}

.dsb-talk .dsb-judg-area .dsb-judg-btn.active i{
	opacity : 0.8;
}
*/
.dsb-talk .dsb-judg-area .dsb-judg-btn{
	border-color: #FFF;
}

/*#dfbe7a*/
main[data-action="chat"] .dsb-talk a:not(.dsb-judg-btn),
main[data-action="chat"] .dsb-talk .dsb-reference-url a{
	color:#dfbe7a;
}

.dsb-sys-btn.dsb-talk-clear{
	color: #3B3935;
  	background: #E7DDCA;
  	border: 1px solid #E7DDCA;
}

#free_chat_text{
	background: #535356;
	color: #FFF;
}
#free_chat_text::placeholder {
   color: #FFF;
	opacity: 0.8;
}

/*  デザイン部変更箇所　回答生成中のアニメーション  */
@keyframes l5 {
    0%  {box-shadow: 20px 0 rgba(217, 217, 217, 1), -20px 0 rgba(217, 217, 217,0.4);background: rgba(217, 217, 217, 1) }
    33% {box-shadow: 20px 0 rgba(217, 217, 217, 1), -20px 0 rgba(217, 217, 217,0.4);background: rgba(217, 217, 217,0.4)}
    66% {box-shadow: 20px 0 rgba(217, 217, 217,0.4),-20px 0 rgba(217, 217, 217,1); background: rgba(217, 217, 217,0.4)}
    100%{box-shadow: 20px 0 rgba(217, 217, 217,0.4),-20px 0 rgba(217, 217, 217,1); background: rgba(217, 217, 217,1) }
}

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

	/* カラーボックス閉じる(アイフレーム外に設定分) */
	.dsb-full-popup #cboxClose{
		background-image: none;
		border: solid 1px #000000;
		background-color: #FFF;
		width: 20px;
		height: 20px;
		background-image: none;
		border: solid 1px #000000;
		background-color: #FFF;
		color: #000;
		text-indent: -1px;
		overflow: hidden;
		padding: 0px;
		font-size: 18px;
		line-height: 18px;
	}
	.dsb-full-popup #cboxClose::before{
		content: "×";
	}

	/* チャット画面 */
	main[data-action='chat'] .main-area{
		border: none;
		background-color: transparent;
	}
}

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

	/*  デザイン部変更箇所　質問を送信ボタン文字色(スマホ) */
    main[data-action='chat'] .submit-btn .smart{
        color: #fff;
    }

	/*  デザイン部変更箇所　チャット画面下部背景(スマホ) */
	/* main[data-action="chat"] #chat-area .chat-bottom-area{
		background-color: #a3aed9;
	} */

}

@media screen and (max-width: 480px) {
/* 480pxまでの幅の場合に適応される */
	main{
		background-image: url(./img/sm_bg.webp);
	}

	main[data-action='index'] #form-area{
		background-image: url(./img/sm_input_name.webp);
	}
}


@media screen and (max-width: 320px) {
/* 320pxまでの幅の場合に適応される */
    body {
        background-color: #68B876;
    }
}

