@charset "UTF-8";

/* アニメーションを適用するクラス */
.fade-in-item {
    opacity: 0; /* 最初は隠しておく */
    animation: fadeInUp 0.5s ease forwards;
}

#message-container {
    max-height: 300px;
    overflow-y: auto;
    /* スクロールバーを隠す設定などはお好みで */
}

/* タイピング中のカーソル点滅 */
.typing-cursor::after {
    content: "|";
    animation: blink 0.7s infinite;
    margin-left: 2px;
    color: #f97316; /* オレンジ色 */
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px); /* 少し下から */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#chat-history button,
#chat-history select,
#chat-history input{
	min-width: 54vw;
    padding:1em!important;
}
#chat-history select {
	height: calc(1rem + 3rem + 2px);
	margin-bottom: 1.25em;
}
#chat-history input {
	height: calc(1rem + 3rem + 2px);
	margin-bottom: 1.25em;
	font-size: 1.25em;
}

.iconBot {
    position: relative;
    background-color: #fff5ef;
    margin: 2.4em 2em 1.2em 3.0em; 
    padding: 0.72em;
    border-radius: 0 1em 1em 1em;
    min-height: 2.4em; /* アイコンの高さに合わせる */
}

.iconBot::before {
    content: "";
    position: absolute;
    /* ふきだしの左端からさらに左へ配置する（マイナス値） */
    left: -3em; 
    top: -1.2em;
    width: 2.4em;
    height: 2.4em;
    background-image: url('https://wanchanto.info/upload/thumbnail_pal.svg'); 
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    /* background-color: #eee;  */
    border: 1px solid #ddd;
}

.user-message {
    position: relative;
	/* background-color: #fff5ef; */
    /* 左側にアイコンが並ぶための余白(アイコン幅＋α)を外側に作る */
    margin: 2.4em 3.0em 1.2em 2em; 
    padding: 0.72em;
	border:#ccc 1px solid;
    border-radius: 1em 0 1em 1em;
    min-height: 2.4em; /* アイコンの高さに合わせる */
}

.user-message::before {
    content: "";
    position: absolute;
    /* ふきだしの左端からさらに左へ配置する（マイナス値） */
    right: -3em; 
    top: -1.2em;
    width: 2.4em;
    height: 2.4em;
    background-image: var(--user-icon, url('https://wanchanto.info/upload/thumbnail.jpg'));
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    background-color: #eee; 
    border: 1px solid #ddd;
}


#results-list .nameRelated {
	height: calc(100vw + 2em);
	margin-bottom:1.5em;
}

#results-list dl.destinationLargeIndex dd.name .areaName{
	font-size: 15px;
	font-weight:normal;
	background-color: rgba(255,255,255,81%);
	border-radius:0.25em;
	text-shadow:none;
	padding:2px 4px;
	vertical-align:inherit;
	color: black;
}

#results-list dl.destinationLargeIndex p.comment {
	color: black;
	padding: 0.24em;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    line-height: 1.5;
}
#results-list dl.destinationLargeIndex p.comment a{
	color: black;
}
#start-options button {
	width: 15em;
}
.final-step button {
	width: 15em;
}