/*!
 * Cogmo Enterprise Generative AI/Cogmo Search UI version: 3.1.1
 * version date: 2025-03-04
 * Copyright: IACT CORPORATION.
 * Comment: 再配布を禁じます。契約者でのご利用にて改変を行うことは認められておりますが、新バージョンのUIファイルは標準ファイルのみ配布となりますので、再度、契約者で改変を行ってください。
*/
@charset "UTF-8";

:root {
  --cgm-cursor-after-content: " ";
}

.cogmo-main
  :where(
    :not(html, iframe, canvas, img, svg, video, audio):not(svg *, symbol *)
  ) {
  all: unset;
  display: revert;
}

.cogmo-main *,
.cogmo-main ::after,
.cogmo-main ::before {
  box-sizing: border-box;
}

.cogmo-main a,
.cogmo-main button {
  cursor: revert;
}

.cogmo-main menu,
.cogmo-main ol,
.cogmo-main ul {
  list-style: none;
}

.cogmo-main img {
  max-inline-size: 100%;
  max-block-size: 100%;
}

.cogmo-main table {
  border-collapse: collapse;
}

.cogmo-main input,
.cogmo-main textarea {
  -webkit-user-select: auto;
}

.cogmo-main textarea {
  white-space: revert;
}

.cogmo-main meter {
  -webkit-appearance: revert;
  appearance: revert;
}

.cogmo-main :where(pre) {
  all: revert;
}

.cogmo-main ::-webkit-input-placeholder {
  color: unset;
}

.cogmo-main :-ms-input-placeholder {
  color: unset;
}

.cogmo-main ::placeholder {
  color: unset;
}

.cogmo-main ::marker {
  content: initial;
}

.cogmo-main :where([hidden]) {
  display: none;
}

.cogmo-main :where([contenteditable]:not([contenteditable="false"])) {
  -moz-user-modify: read-write;
  -webkit-user-modify: read-write;
  overflow-wrap: break-word;
  -webkit-line-break: after-white-space;
  -webkit-user-select: auto;
}

.cogmo-main :where([draggable="true"]) {
  -webkit-user-drag: element;
}

.cogmo-main :where(dialog:modal) {
  all: revert;
}

/* Common */
.cgm-header,
.cgm-footer,
.cogmo-main {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.625;
}

.cgm-search-inner {
  max-width: 960px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 40px;
  padding-left: 40px;
}

@media (max-width: 640px) {
  .cgm-search-inner {
    padding-right: 15px;
    padding-left: 15px;
  }
}

/* Header */
.cgm-header {
  background: #fff;
}
.cgm-header-logo {
  padding: 21px 30px 8px;
}
.cgm-header-logo img {
  display: block;
  width: 137px;
  height: auto;
}

/* Global Navigation */
.cgm-gnav {
  display: -ms-flexbox;
  display: flex;
  max-width: 1120px;
  margin-right: auto;
  margin-left: auto;
  padding: 10px 10px;
}
.cgm-gnav-item.home {
  width: 80px;
  margin-right: 15px;
}
.cgm-gnav-item:not(:last-child, .home) {
  -ms-flex: 1;
  flex: 1;
  margin-right: 9px;
}
.cgm-gnav-link {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  height: 100%;
  padding: 2px 5px;
  border-radius: 3px;
  text-align: center;
  transition: all 0.2s ease-out;
}
.cgm-gnav-link:hover {
  opacity: 0.7;
}
.current .cgm-gnav-link {
  background: #158c65;
  color: #333;
}
.cgm-gnav-title {
  font-weight: 500;
}
.cgm-gnav-sub {
  font-size: 11px;
  color: #808080;
}

/* Footer */
.cgm-footer {
  padding: 38px 0;
  background: #f5f5f5;
}
.cgm-footer-copyright {
  text-align: center;
  font-size: 12px;
  color: #808080;
}

/* Search UI */
.cgm-search-form-area {
  padding: 18px 0;
  background: #f5f5f5;
}

.cgm-suggest-area {
  position: absolute;
  top: 100%;
  left: -1px;
  z-index: 1;
  width: calc(100% + 2px);
  background: #fff;
  border: 1px solid #1b4db3;
  border-radius: 0 0 3px 3px;
}

.cgm-suggest-item:not(:last-child) {
  border-bottom: 1px solid #ddd;
}
.cgm-suggest-item button {
  display: block;
  width: 100%;
  padding: 5px 14px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease-out;
}
.cgm-suggest-item button:hover {
  background: rgba(27, 77, 179, 0.05);
}

.cgm-search-input-wrap {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  margin-top: -1px;
  border: 1px solid #1b4db3;
  border-radius: 3px 0 0 3px;
  background: #fff;
}

.cgm-search-input-area {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex: 1;
  flex: 1;
  position: relative;
}
.cgm-search-input-area::before {
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 15px;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  background: url(../images/ico_search.svg) no-repeat center center;
  background-size: 20px 20px;
  content: "";
}
@media (max-width: 640px) {
  .cgm-search-input-area::before {
    width: 18px;
    height: 18px;
    background-size: 18px 18px;
  }
}
.cgm-search-input-area textarea {
  display: block;
  width: 100%;
  padding: 15px 60px 15px 44px;
  line-height: 1.53;
  font-size: 17px;
  font-weight: 500;
  margin: auto;
}

.cgm-search-input-area textarea::-webkit-input-placeholder {
  position: absolute;
  margin: auto;
  opacity: 0.5;
}

.cgm-search-input-area button {
  display: inline-block;
  position: absolute;
  top: 50%;
  right: 15px;
  width: 24px;
  height: 32px;
  padding-top: 4px;
  transform: translateY(-50%);
  cursor: pointer;
}
@media (max-width: 640px) {
  .cgm-search-input-area button {
    right: 11px;
  }
}

.cgm-clear-input-button {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 160px;
  height: 100%;
  min-height: 15px;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease-out;
}
.cgm-clear-input-button:hover {
  opacity: 0.8;
}
.cgm-clear-input-button::before {
  display: inline-block;
  width: 24px;
  height: 28px;
  background: url(../images/ico_clear02.svg) no-repeat center center;
  content: "";
}

.cgm-search-button {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 140px;
  height: 100%;
  min-height: 60px;
  background: #1b4db3;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease-out;
}
.cgm-search-button::before {
  display: inline-block;
  width: 20px;
  height: 15px;
  margin-right: 12px;
  background: url(../images/ico_submit.svg) no-repeat center center;
  content: "";
}
@media (max-width: 640px) {
  .cgm-search-button {
    width: 200px;
    border-radius: 3px;
  }
}
.cgm-search-button:hover {
  opacity: 0.8;
}
.cgm-search-button:not([disabled]) {
  cursor: pointer;
}

@media (max-width: 640px) {
  .cgm-search-button-area  {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 16px;
    grid-column: 1 / 3;
  }
}

.cgm-search-form {
  margin-bottom: 10px;
}

.cgm-text-filter-form {
  margin-bottom: 12px;
}

@media (max-width: 640px) {
  .cgm-text-filter-form {
    margin-bottom: 15px;
  }
}

.cgm-text-filter-input-wrap {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  margin-top: -1px;
}

.cgm-text-filter-input-wrap .cgm-search-input-area {
  border: 1px solid #1b4db3;
  border-radius: 3px 0 0 3px;
  background: #fff;
}
@media (max-width: 640px) {
  .cgm-text-filter-input-wrap .cgm-search-input-area {
    border-radius: 3px;
  }
}

.cgm-text-filter-input-wrap .cgm-search-input-area::before {
  width: 20px;
  height: 20px;
  background-image: url(../images/ico_filter.svg);
}

.cgm-search-form-refresh {
  position: relative;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  align-self: end;
  width: 160px;
  margin-bottom: 10px;
  padding: 4px 5px;
  border-radius: 3px;
  background: #5f4cbf;
  color: #fff;
  font-size: 13px;
  letter-spacing: -0.1em;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease-out;
}
.cgm-search-form-refresh:hover {
  opacity: 0.7;
}
.cgm-search-form-refresh::before {
  display: inline-block;
  width: 12px;
  height: 14px;
  margin-right: 4px;
  background: url(../images/ico_refresh.svg) no-repeat center center;
  content: "";
}
.cgm-search-form-refresh:disabled {
  opacity: 0.5;
}

.cgm-search-form-container {
  display: grid;
  grid-template-columns: 1fr 160px;
}

.cgm-search-form-group {
  grid-column: 1/3;
}

.cgm-search-mode-switcher {
  padding-right: 5px;
  margin-bottom: 10px;
}

.cgm-tab-item:not(:first-child) {
  margin-left: -30px;
}
.cgm-tab-item:nth-child(2) {
  z-index: 0;
}
.cgm-tab-item:nth-child(2)::before,
.cgm-tab-item:nth-child(2)::after {
  z-index: -2;
}
.cgm-gpt-result-area {
  margin-top: 30px;
  margin-bottom: 30px;
  padding: 25px 30px;
  border-width: 1px;
  border-style: solid;
  border-color: #808080;
  border-radius: 5px;
  background: #808080;
  color: #ffffff;
}
.cgm-gpt-result {
  position: relative;
  word-break: break-all;
}
.cgm-gpt-result a {
  color: #ff9f40;
}
.cgm-gpt-result-title {
  grid-column: 1/2;
  display: table;
  position: relative;
  margin-bottom: 13px;
  padding: 7px 11px 7px 25px;
  border: 1px solid;
  border-radius: 3px;
  font-size: 15px;
  font-weight: 500;
  background: #808080;
  color: #ffffff;
}
.cgm-gpt-result-title::before {
  display: block;
  position: absolute;
  top: 50%;
  left: 15px;
  width: 0;
  height: 20px;
  border-left: 1px solid;
  transform: translateY(-50%) rotate(30deg);
  content: "";
}
.cgm-gpt-result-body {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex: 1;
  flex: 1;
  position: relative;
  margin: 15px 0 13px;
  padding-right: 70px;
}

.cgm-gpt-result-text a {
  margin-left: 1.5rem;
}

.cgm-gpt-result-text {
  display: block;
  white-space: pre-wrap;
}

.cgm-gpt-result-text::after {
  content: var(--cgm-cursor-after-content);
  display: inline-block;
  animation: cursor-blink 0.8s infinite;
  width: 10px;
  height: 20px;
  background: #c0c0c0;
}

.cgm-gpt-result-copy {
  top: 52px;
  right: 0;
  width: 40px;
  height: 40px;
  color: #158c65;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease-out;
}
.cgm-gpt-result-copy:hover {
  opacity: 0.7;
}

.cgm-gpt-reference-divider {
  margin: 15px 0 13px;
  border-top: 1px solid #a0a0a0;
}

.cgm-search-query {
  margin-top: 10px;
  display: none;
}

.cgm-search-result-num {
  margin-bottom: 10px;
}

.cgm-num-hits {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
}
.cgm-num-label {
  margin-right: 12px;
  padding: 5px 12px;
  border-radius: 3px;
  font-size: 15px;
  font-weight: 500;
  background: #ddd;
}
.cgm-num-counts {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  font-size: 14px;
}
.cgm-num-current {
  font-family: "Roboto", sans-serif;
  font-size: 18px;
}
.cgm-num-current::after {
  display: inline-block;
  width: 0;
  height: 20px;
  margin: -6px 7px 0 6px;
  border-left: 1px solid #aaa;
  transform: rotate(15deg);
  vertical-align: middle;
  content: "";
}
.cgm-num-sum {
  font-family: "Roboto", sans-serif;
  font-size: 24px;
}

.cgm-pagination {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  align-items: center;
  margin-top: 30px;
}
.cgm-pagination-previous-link,
.cgm-pagination-next-link,
.cgm-pagination-page-link {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease-out;
}
.cgm-pagination-previous-link:hover,
.cgm-pagination-next-link:hover,
.cgm-pagination-page-link:hover {
  opacity: 0.7;
}
.cgm-pagination-page-link {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.cgm-pagination-disabled {
  display: none;
}
.cgm-pagination-active .cgm-pagination-page-link {
  background: #e5e5e5;
}
.cgm-pagination-previous-link,
.cgm-pagination-next-link {
  display: block;
  position: relative;
  padding: 0;
  text-indent: 100%;
  overflow: hidden;
  white-space: nowrap;
}
.cgm-pagination-previous-link::before,
.cgm-pagination-next-link::before {
  display: inline-block;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 16px;
  transform: translate(-50%, -50%);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 9px 16px;
  content: "";
}
.cgm-pagination-previous-link::before {
  background-image: url(../images/ico_previous.svg);
}
.cgm-pagination-next-link::before {
  background-image: url(../images/ico_next.svg);
}

.cgm-search-result-area {
  margin-right: auto;
  margin-left: auto;
}

.cgm-search-result-item {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding-top: 25px;
  padding-bottom: 30px;
  border-bottom: 1px solid #ddd;
}

@media (min-width: 640px) {
  .cgm-search-result-item .cgm-search-result-thumbnail {
    width: 210px;
    margin-right: 30px;
  }
}
@media (max-width: 640px) {
  .cgm-search-result-item .cgm-search-result-thumbnail {
    margin-bottom: 15px;
  }
}
.cgm-search-result-item .cgm-search-result-thumbnail img {
  display: block;
  width: 100%;
}
@media (min-width: 640px) {
  .cgm-search-result-item .cgm-search-result-text-area {
    width: calc(100% - 240px);
    -ms-flex: 1;
    flex: 1;
  }
}

.cgm-search-result-item:first-child {
  border-top: 1px solid #ddd;
}
.cgm-search-result-title {
  margin-bottom: 7px;
  line-height: 1.5;
  font-size: 20px;
  font-weight: 700;
}
.cgm-search-result-title a {
  color: inherit;
}
.cgm-search-result-url {
  color: #30a7bf;
  word-break: break-all;
}
.cgm-search-result-body {
  margin-top: 15px;
  padding: 25px 30px;
  border-radius: 5px;
  background: #f5f5f5;
  word-break: break-all;
}
.cgm-search-result-body em {
  font-weight: 700;
  color: #30a7bf;
}
.cgm-search-result-update {
  margin-top: 10px;
  font-size: 14px;
  color: #666;
  text-align: right;
}
.cgm-search-result-body,
.cgm-search-result-url {
  grid-column: 1/3;
}

.cgm-search-result-thumbnail img {
  border: 1px solid #ddd;
}

.cgm-gpt-result-history-area {
  position: relative;
  margin-bottom: 40px;
  padding-left: 40px;
}

.cgm-gpt-result-history-area::before {
  display: block;
  position: absolute;
  top: 13px;
  left: 7px;
  height: 100%;
  border-left: 1px solid #ddd;
  content: "";
}

.cgm-gpt-result-history-separator {
  padding-top: 10px;
  padding-bottom: 10px;
}

.cgm-gpt-result-history {
  position: relative;
  padding-right: 90px;
  padding-bottom: 35px;
  word-break: break-all;
}

.cgm-gpt-result-history:not(:last-child) {
  margin-bottom: 35px;
  border-bottom: 1px solid #ddd;
}

.cgm-gpt-result-history::before {
  display: block;
  position: absolute;
  top: 6px;
  width: 15px;
  height: 15px;
  border: 2px solid #aaa;
  border-radius: 50%;
  background: #fff;
  transform: translateX(-50%);
  left: -32px;
  content: "";
}

.cgm-gpt-result-history-input {
  margin-bottom: 20px;
  color: #158c65;
  font-weight: 500;
  white-space: pre-wrap;
}

.cgm-gpt-result-history-output {
  color: #202020;
  white-space: pre-wrap;
}

.cgm-fetch-more-button-area {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  margin-bottom: 30px;
}

.cgm-fetch-more-button:hover {
  opacity: 0.7;
}
.cgm-fetch-more-button-area button {
  width: 160px;
  padding: 5px;
  border-radius: 3px;
  background: #158c65;
  font-weight: 500;
  color: #fff;
  font-size: 18px;
  letter-spacing: -0.1em;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease-out;
}
@keyframes cursor-blink {
  0% {
    opacity: 1;
  }
  20% {
    opacity: 1;
  }
  40% {
    opacity: 1;
  }
  60% {
    opacity: 0;
  }
  80% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
.cgm-search-loading {
  width: 64px;
  height: 64px;
  margin: 20px auto;
  border: 4px #ddd solid;
  border-top: 4px #65a20c solid;
  border-radius: 50%;
  animation: sp-anime 1s infinite linear;
}
@keyframes sp-anime {
  100% {
    transform: rotate(360deg);
  }
}

.cgm-gpt-loading,
.cgm-gpt-loading:before,
.cgm-gpt-loading:after {
  background: #ffffff;
  -webkit-animation: load1 1s infinite ease-in-out;
  animation: load1 1s infinite ease-in-out;
  width: 1em;
  height: 4em;
}
.cgm-gpt-loading {
  color: #ffffff;
  text-indent: -9999em;
  margin: 88px auto;
  position: relative;
  font-size: 11px;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}
.cgm-gpt-loading:before,
.cgm-gpt-loading:after {
  position: absolute;
  top: 0;
  content: "";
}
.cgm-gpt-loading:before {
  left: -1.5em;
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}
.cgm-gpt-loading:after {
  left: 1.5em;
}

@-webkit-keyframes load1 {
  0%,
  80%,
  100% {
    box-shadow: 0 0;
    height: 4em;
  }
  40% {
    box-shadow: 0 -2em;
    height: 5em;
  }
}
@keyframes load1 {
  0%,
  80%,
  100% {
    box-shadow: 0 0;
    height: 4em;
  }
  40% {
    box-shadow: 0 -2em;
    height: 5em;
  }
}

.cgm-filter-group {
  display: flex;
  margin: 6px 0;
}
@media (max-width: 640px) {
  .cgm-filter-group {
    flex-wrap: wrap;
  }
}
.cgm-filter-group-label {
  display: inline-block;
  font-size: 15px;
  margin: 3px 3px 3px 0;
  line-height: 1.467;
}
@media (max-width: 640px) {
  .cgm-filter-group-label {
    width: 100%;
  }
}
.cgm-filter-group > form {
  flex: 1;
}
.cgm-radio-filter-input {
  all: revert;
}
.cgm-checkbox-filter-input {
  all: revert;
}

.cgm-radio-filter,
.cgm-checkbox-filter {
  display: inline-block;
  position: relative;
  margin: 3px 12px 3px 0;
  padding-left: 27px;
  line-height: 22px;
  font-size: 15px;
}
.cgm-radio-filter-input,
.cgm-checkbox-filter-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}
.cgm-radio-filter-input:checked + label::before {
  border-color: #1b4db3;
}
.cgm-radio-filter-input:checked + label::after {
  opacity: 1;
}
.cgm-radio-filter label,
.cgm-checkbox-filter label {
  display: inline-block;
  cursor: pointer;
}
.cgm-radio-filter label::before,
.cgm-radio-filter label::after {
  display: block;
  position: absolute;
  border-radius: 50%;
  content: "";
}

.cgm-radio-filter label::before {
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  border: 1px solid #aaa;
  background: #fff;
}
.cgm-radio-filter label::before {
  border-radius: 50%;
}
.cgm-radio-filter label::after {
  top: 7px;
  left: 7px;
  width: 8px;
  height: 8px;
  background: #1b4db3;
  opacity: 0;
}

.cgm-checkbox-filter-input:checked + label::before {
  border-color: #1b4db3;
  background-color: #1b4db3;
}
.cgm-checkbox-filter-input:checked + label::after {
  opacity: 1;
}
.cgm-checkbox-filter label::before,
.cgm-checkbox-filter label::after {
  display: block;
  position: absolute;
  content: "";
}
.cgm-checkbox-filter label::before {
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  border: 1px solid #aaa;
  border-radius: 3px;
  background: #fff;
}
.cgm-checkbox-filter label::after {
  top: 7px;
  left: 6px;
  width: 11px;
  height: 9px;
  background: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%229.507%22%20height%3D%228.314%22%20viewBox%3D%220%200%209.507%208.314%22%3E%3Cpath%20d%3D%22M2158.323%2C282.824l-3.521-3.712a.75.75%2C0%2C0%2C1%2C1.088-1.032l2.331%2C2.457%2C4.544-5.742a.75.75%2C0%2C0%2C1%2C1.176.931Z%22%20transform%3D%22translate(-2154.596%20-274.51)%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fsvg%3E")
    no-repeat center center;
  background-size: contain;
  opacity: 0;
}

.cgm-gpt-copy-button {
  position: absolute;
  top: calc((100% - 46px) / 2);
  right: 0;
  display: inline-block;
  width: 40px;
  height: 40px;
  background: #808080;
  border: 1px solid #c0c0c0;
  border-radius: 50%;
  cursor: pointer;
  transform: translateY(-50%);
  transition: opacity 0.2s ease-out;
}
.cgm-gpt-copy-button:hover {
  opacity: 0.7;
}
.cgm-gpt-copy-button > span {
  display: inline-block;
  width: 100%;
  height: 100%;
  background: url(../images/ico_copy.svg) no-repeat center center / 13px 16px;
}
.cgm-gpt-copied-tooltip {
  position: absolute;
  width: 118px;
  top: calc((100% - 46px) / 2 + 30px);
  right: -40px;
  padding: 7px;
  border-radius: 3px;
  background: rgba(102 102 102 / 0.9);
  line-height: 1.308;
  text-align: center;;
  font-size: 13px;
}

.cgm-chip-suggest-area {
  display: flex;
  flex-wrap: wrap;
  align-self: flex-end;
  gap: 5px;
  width: 100%;
  min-height: 47px;
  position: relative;
  padding-top: 7px;
  padding-left: 80px;
  overflow: hidden;
}

@media (max-width: 640px) {
  .cgm-chip-suggest-area {
    min-height: 0;
    padding-left: 0;
    padding-top: 10px;
  }
}

.cgm-chip-suggest-area::before {
  display: flex;
  align-items: center;
  position: absolute;
  top: 7px;
  left: 0;
  height: 40px;
  font-size: 15px;
  content: "絞込候補：";
}

@media (max-width: 640px) {
  .cgm-chip-suggest-area::before {
    position: static;
    top: 10px;
    height: auto;
  }
}

.cgm-chip-suggest-item {
  cursor: pointer;
  display: inline-block;
  align-items: center;
  padding: 8px 17px;
  border: 1px solid #aaa;
  font-size: 15px;
  line-height: 1.47;
  border-radius: 3px;
  background-color: #fff;
  color: #212121;
}
.cgm-chip-suggest-item span {
}
.cgm-chip-suggest-item span:hover {
  background: rgba(27, 77, 179, 0.05);
}

.cgm-snackbar {
  visibility: hidden;
  min-width: 250px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 4px;
  padding: 16px;
  position: fixed;
  z-index: 1;
  left: 50%;
  top: 30px;
  transform: translateX(-50%);
}

.cgm-snackbar.error {
  background-color: #e0474c;
  color: #ffffff;
}

.cgm-snackbar.show {
  visibility: visible;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@keyframes fadein {
  from {
    top: 0;
    opacity: 0;
  }
  to {
    top: 30px;
    opacity: 1;
  }
}

@keyframes fadeout {
  from {
    top: 30px;
    opacity: 1;
  }
  to {
    top: 0;
    opacity: 0;
  }
}
