@charset "UTF-8";
/*
 * Cogmo Search UI version: 2.3.2
 * version date: 2024-02-13
 * Copyright: IACT CORPORATION.
 * Comment: 再配布を禁じます。契約者でのご利用にて改変を行うことは認められておりますが、新バージョンのUIファイルは標準ファイルのみ配布となりますので、再度、契約者で改変を行ってください。
 */
/*
 * 要素の指定はclassのみでお願いします
 * class指定はcgm-***という形でお願いします
 * 例
 * .cgm-font-color{
 *     color: red;
 * }
 */

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

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

.cgm-main a, .cgm-main button {
  cursor: revert
}

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

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

.cgm-main table {
  border-collapse: collapse
}

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

.cgm-main textarea {
  white-space: revert
}

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

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

.cgm-main ::placeholder {
  color: unset
}

.cgm-main ::marker {
  content: initial
}

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

.cgm-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
}

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

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

/* color variables */
:root {
  --primary-color: #009ed9;
  --primary-border-color: #009ed9;
  --secondary-color: #00ADE2;
}

/* layout */
.cgm-container {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 80px 1fr auto;
  min-height: 100vh;
  color: #333;
  font-family: 'Noto Sans JP', sans-serif;
}

/* header */
.cgm-header {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: justify;
      justify-content: space-between;
  -ms-flex-align: center;
      align-items: center;
  height: 80px;
  padding: 0 30px;
  background: #f5f5f5;
}
.cgm-header__logo > img {
  display: block;
  max-width: 100%;
  width: auto;
  height: 30px;
}

/* main */
.cgm-main {
  padding: 3rem 0;
  font-size: 1.5em;
}
.cgm-main .container {
  margin-right: auto;
  margin-left: auto;
}
.cgm-main #cogmo_search_form {
  max-width: 880px;
  margin: 0 auto 55px;
}
.cgm-main #cogmo_search_form > div {
  display: flex;
  flex-direction: column-reverse;
}
.cgm-main #cogmo_search_form #query_input {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-right: 0;
}
.cgm-main #cogmo_search_form #query_input + ul {
  position: absolute;
  top: 100%;
  left: -1px;
  z-index: 1;
  width: calc(100% + 2px);
  background: #fff;
  border: 1px solid var(--primary-color);
  border-radius: 0 0 3px 3px;
}
.cgm-main #cogmo_search_form #query_input + ul > li:not(:last-child) {
  border-bottom: 1px solid #ddd;
}
.cgm-main #cogmo_search_form #query_input + ul > li {
  display: block;
  width: 100%;
  padding: 5px 14px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease-out;
}
.cgm-main #cogmo_search_form #query_input + ul > li:hover {
  background: rgba(27, 77, 179, 0.05);
}
.cgm-main [aria-busy=true] {
  margin-top: 180px;
}
.cgm-main [aria-busy=true] > svg {
  margin: 0 auto;
  fill: #009ed9;
}

/* footer */
.cgm-footer {
  padding: 40px 30px;
}
.cgm-footer__copyright {
  text-align: center;
  font-size: 12px;
  color: #808080;
}
.cgm-pagetop {
  display: block;
  position: fixed;
  right: 15px;
  bottom: 15px;
  width: 40px;
  height: 40px;
  transition: all 0.2s ease-out;
}
.cgm-pagetop:hover {
  opacity: 0.8;
}

/* filter */
.cgm-search-filter {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
}
.cgm-search-filter {
  margin-bottom: 15px;
}
.cgm-radio,
.cgm-checkbox {
  margin-left: 3px;
  margin-right: 12px;
  margin-bottom: 12px;
}
.cgm-radio {
  display: inline-block;
  position: relative;
  padding-left: 27px;
  line-height: 22px;
}
.cgm-radio input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
}
.cgm-radio input:checked + label::before {
  border-color: var(--primary-color);
}
.cgm-radio input:checked + label::after {
  opacity: 1;
}
.cgm-radio label {
  display: inline-block;
  cursor: pointer;
}
.cgm-radio label::before, .cgm-radio label::after {
  display: block;
  position: absolute;
  border-radius: 100%;
  content: "";
}
.cgm-radio label::before {
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  border: 1px solid #aaa;
  background: #fff;
}
.cgm-radio label::before {
  border-radius: 100%;
}
.cgm-radio label::after {
  top: 7px;
  left: 7px;
  width: 8px;
  height: 8px;
  background: var(--primary-color);
  opacity: 0;
}

.cgm-checkbox {
  display: inline-block;
  position: relative;
  padding-left: 27px;
  line-height: 22px;
}
.cgm-checkbox input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
}
.cgm-checkbox input:checked + label::before {
  border-color: var(--primary-border-color);
  background-color: var(--primary-color);
}
.cgm-checkbox input:checked + label::after {
  opacity: 1;
}
.cgm-checkbox label {
  display: inline-block;
  cursor: pointer;
}
.cgm-checkbox label::before, .cgm-checkbox label::after {
  display: block;
  position: absolute;
  content: "";
}
.cgm-checkbox label::before {
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  border: 1px solid #aaa;
  border-radius: 3px;
  background: #fff;
}
.cgm-checkbox label::after {
  top: 7px;
  left: 7px;
  width: 10px;
  height: 8px;
  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;
}

/* search */
.cgm-search {
  max-width: calc(1080px + 2rem);
  margin-right: auto;
  margin-left: auto;
  padding-right: 1rem;
  padding-left: 1rem;
}
.cogmo-search-keyword {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  margin-bottom: 18px;
  border: 1px solid var(--primary-color);
  border-radius: 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;
  font-weight: 500;
}
.cgm-search-input-area::before {
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 22px;
  width: 24px;
  height: 24px;
  transform: translateY(-50%);
  background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQuMDAxIiB2aWV3Qm94PSIwIDAgMjQgMjQuMDAxIj48ZGVmcz48Y2xpcFBhdGggaWQ9ImEiPjxyZWN0IHdpZHRoPSIyNCIgaGVpZ2h0PSIyNC4wMDEiIGZpbGw9IiMxYjRkYjMiLz48L2NsaXBQYXRoPjwvZGVmcz48ZyBjbGlwLXBhdGg9InVybCgjYSkiPjxwYXRoIGQ9Ik0yMy43NzMsMjIuN2wtNi4yLTYuMWE5LjgsOS44LDAsMCwwLDIuNjItNi42NkExMC4wMTksMTAuMDE5LDAsMCwwLDEwLjEsMCwxMC4wMTgsMTAuMDE4LDAsMCwwLDAsOS45MzhhMTAuMDE4LDEwLjAxOCwwLDAsMCwxMC4xLDkuOTM3LDEwLjE1NSwxMC4xNTUsMCwwLDAsNi4zNTYtMi4yMTlsNi4yMjEsNi4xMjJhLjc4NS43ODUsMCwwLDAsMS4xLDAsLjc1Ni43NTYsMCwwLDAsMC0xLjA4Mk0xMC4xLDE4LjM0NkE4LjQ3Nyw4LjQ3NywwLDAsMSwxLjU1NCw5LjkzOCw4LjQ3Nyw4LjQ3NywwLDAsMSwxMC4xLDEuNTNhOC40NzcsOC40NzcsMCwwLDEsOC41NDQsOC40MDhBOC40NzcsOC40NzcsMCwwLDEsMTAuMSwxOC4zNDYiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTAuMDAxKSIgZmlsbD0iIzFiNGRiMyIvPjwvZz48L3N2Zz4=') no-repeat center center;
  content: "";
}
.cgm-search-input-area input {
  display: block;
  width: 100%;
  padding: 15px 60px;
  font-weight: 500;
}

.cgm-search-button {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  -ms-flex-pack: center;
      justify-content: center;
  width: 120px;
  height: 100%;
  min-height: 63px;
  background: var(--primary-color);
  font-weight: 500;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease-out;
}
.cgm-search-button:hover {
  opacity: 0.8;
}

@media (min-width: 0) and (max-width: 736px) {
  .cgm-main {
    font-size: 1.2em;
  }

  .cgm-search-input-area input {
    display: block;
    width: 100%;
    padding: 15px 60px;
    font-weight: 500;
  }

  .cgm-search-button {
    width: 50px;
  }

}

/* query */
.cgm-query {
  margin-top: 10px;
}

/* suggest */
.cgm-suggest-item {
  padding: 4px 0 4px 12px;
  word-break:break-word;
}

/* count */
.cgm-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: 18px;
}

/* result */
.cgm-list > div {
  border-bottom: 1px solid #ddd;
}
.cgm-list > div:first-child {
  border-top: 1px solid #ddd;
}
.cgm-list-item {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  padding-top: 25px;
  padding-bottom: 30px;
}
@media (min-width: 640px) {
  .cgm-list-item .cgm-list-thumbnail {
    width: 210px;
    margin-right: 30px;
  }
}
@media (max-width: 640px) {
  .cgm-list-item .cgm-list-thumbnail {
    margin-bottom: 15px;
  }
}
@media (max-width: 640px) {
  .cgm-list-item {
    display: block;
  }
}
.cgm-list-item .cgm-list-thumbnail img {
  display: block;
  width: 100%;
}
@media (min-width: 640px) {
  .cgm-list-item .cgm-list-text {
    width: calc(100% - 240px);
    -ms-flex: 1;
        flex: 1;
  }
}
.cgm-list-title {
  margin-bottom: 7px;
  line-height: 1.5;
  font-size: 20px;
  font-weight: 700;
}
.cgm-list-title a {
  color: inherit;
}
.cgm-list-url {
  color: var(--secondary-color);
  overflow-wrap: anywhere;
}
.cgm-list-body {
  margin-top: 15px;
  padding: 25px 30px;
  border-radius: 5px;
  background: #f5f5f5;
}
.cgm-list-body em {
  font-weight: 700;
  color: var(--secondary-color);
}
.cgm-list-thumbnail img {
  border: 1px solid #ddd;
}
.cgm-list-last_modified {
  margin-top: 10px;
  font-size: 14px;
  color: #666;
  text-align: right;
}

/* pagination */
.cgm-pagination {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
      justify-content: center;
  -ms-flex-align: center;
      align-items: center;
  margin-top: 30px;
  font-family: "Roboto", sans-serif;
}
.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-previous .disabled, .cgm-pagination-next .disabled, .cgm-pagination-page .disabled {
  display: none;
}
.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-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('data:image/svg+xml;charset=utf8,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4LjU2MSIgaGVpZ2h0PSIxNS43MDciIHZpZXdCb3g9IjAgMCA4LjU2MSAxNS43MDciPjxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDguMjA3IDAuMzU0KSByb3RhdGUoOTApIj48cGF0aCBkPSJNMjUxNy45MzUsMTI5OC4zODRsNy41LDcuNSw3LjUtNy41IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjUxNy45MzUgLTEyOTguMzg0KSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjNjY2IiBzdHJva2Utd2lkdGg9IjEiLz48L2c+PC9zdmc+');
}
.cgm-pagination-next-link::before {
  background-image: url('data:image/svg+xml;charset=utf8,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4LjU2MSIgaGVpZ2h0PSIxNS43MDciIHZpZXdCb3g9IjAgMCA4LjU2MSAxNS43MDciPjxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAuMzU0IDE1LjM1NCkgcm90YXRlKC05MCkiPjxwYXRoIGQ9Ik0yNTE3LjkzNSwxMjk4LjM4NGw3LjUsNy41LDcuNS03LjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yNTE3LjkzNSAtMTI5OC4zODQpIiBmaWxsPSJub25lIiBzdHJva2U9IiM2NjYiIHN0cm9rZS13aWR0aD0iMSIvPjwvZz48L3N2Zz4=');
}
