@charset "utf-8";

/* (1) チャットウィジェット畠悶のコンテナ */
#my-chat-widget {
  position: fixed;
  bottom: 20px; /* 鮫中和からの鉦x */
  /* right: 20px;  /* 鮫中嘔からの鉦x */
  left: 20px;
  width: 350px;   /* ウィンドウの嫌 */
  z-index: 9998;
  border-radius: 10px; /* 叔来 */
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  overflow: hidden; /* 叔来を徨勣殆にもm喘 */
  background-color: #fff;
}

/* (2) ヘッダ`惹クリックボタンのスタイル */
#my-chat-header {
  height: 50px; /* ヘッダ`の互さ */
  background-color: #007bff; /* ヘッダ`の嘘尚弼 (箭: 楳) */
  color: white;
  display: flex;
  justify-content: space-between; /* テキストとアイコンをI極に */
  align-items: center;
  padding: 0 15px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 10px; /* ]じているrは畠悶が叔来 */
  transition: border-radius 0.1s ease;
}

/* (3) チャット云悶 (iframeのコンテナ) のスタイル */
#my-chat-content {
  height: 500px;  /* チャット何蛍の互さ */
  display: none; /* ￥￥￥ 嶷勣祭邀は掲燕幣にする ￥￥￥ */
  background-color: white;
  border-top: 1px solid #eee; /* ヘッダ`との廠順 */
}

/* iframeのスタイル */
#my-chat-content iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* (4) _]アイコンのスタイル (貧鬚の文咫をCSSで恬撹) */
#my-chat-toggle-icon {
  width: 12px;
  height: 12px;
  border-top: 2px solid white;
  border-right: 2px solid white;
  transform: rotate(-45deg); /* 貧鬚文咫 */
  transition: transform 0.3s ease; /* アニメ`ション */
}


/* ----- JavaScriptでクラスを俳り紋えたrのスタイル ----- */

/* ウィジェットが仝_いている々彜B (openクラスが原いたr) */
#my-chat-widget.open #my-chat-header {
  /* _いているrは和箸僚罵茲鬚覆す */
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

#my-chat-widget.open #my-chat-content {
  display: block; /* ￥_いたら燕幣 */
}

#my-chat-widget.open #my-chat-toggle-icon {
  transform: rotate(135deg); /* 和鬚文咫 (180業指) */
}
