/*
 * 要素の指定はclassのみでお願いします
 * class指定はcgm-***という形でお願いします
 * 例
 * .cgm-font-color{
 *     color: red;
 * }
 */
.cgm-container {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 80px 1fr auto;
  min-height: 100vh;
}

.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;
}
.cgm-main {
  padding: 3rem 0;
}
.cgm-main .container {
  margin-right: auto;
  margin-left: auto;
}
.cgm-main #cogmo_search_form {
  max-width: 640px;
  margin: 0 auto 2rem;
}
.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;
  left: 0;
  width: 100%;
  margin-top: -0.25rem;
}
.cgm-main #cogmo_search_form #query_input + ul > li {
  padding: 0.25rem 1rem;
  border-top: 1px solid #dadce0;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
}
.cgm-main #cogmo_search_form #query_input + ul > li:hover {
  background: #fafafa;
}
.cgm-main #cogmo_search_form #query_input + ul > li:first-child {
  border-top: none;
  padding-top: 0.5rem;
}
.cgm-main #cogmo_search_form #query_input + ul > li:last-child {
  border-radius: 0 0 0.5rem 0.5rem;
  border-bottom: 1px solid #ccc;
}
.cgm-main [aria-busy=true] {
  margin-top: 180px;
}
.cgm-main [aria-busy=true] > svg {
  margin: 0 auto;
  fill: #7ba23f;
}
.cgm-footer {
  padding: 40px 30px;
  background: #f5f5f5;
}
.cgm-footer__copyright {
  text-align: center;
  font-size: 12px;
}
.cgm-query {
  margin-bottom: 1.875rem;
  font-weight: bold;
}
.cgm-list-item {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
@media (min-width: 640px) {
  .cgm-list-item .cgm-list-thumbnail {
    width: 300px;
    margin-right: 20px;
  }
}
.cgm-list-item .cgm-list-thumbnail img {
  width: 100%;
}
@media (min-width: 640px) {
  .cgm-list-item .cgm-list-text {
    width: calc(100% - 340px);
    -ms-flex: 1;
        flex: 1;
  }
}
.cgm-list-item .cgm-list-title a,
.cgm-list-item .cgm-list-url a {
  color: #4285f4;
}
.cgm-list-item .cgm-list-title a:visited,
.cgm-list-item .cgm-list-url a:visited {
  color: #681da8;
}
.cgm-list-item .cgm-list-title a:hover,
.cgm-list-item .cgm-list-url a:hover {
  text-decoration: underline;
}
.cgm-list-item .cgm-list-url {
  overflow-wrap: break-word;
}
.cgm-list-item .cgm-list-description,
.cgm-list-item .cgm-list-body {
  margin-top: 0.875rem;
}
.cgm-list-item .cgm-list-body em {
  font-style: normal;
  font-weight: bold;
  background: yellow;
}
.cogmo-search-keyword {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
}
.cogmo-search-keyword > div:first-child {
  position: relative;
  -ms-flex: 1;
      flex: 1;
}
.cgm-pagination a:not(.disabled):not([aria-current]):hover {
  color: #4285f4;
  text-decoration: underline;
}
.cgm-search {
  max-width: calc(980px + 2rem);
  margin-right: auto;
  margin-left: auto;
  padding-right: 1rem;
  padding-left: 1rem;
}