@import url(./global/_variable.css);

/* example */
/* ============================================ */

/* c-example-category（課題/業界の見出し付きグループ化） */
/* ============================================ */
.c-example-category__label {
  margin-bottom: 16px;
  font-family: 'Zen Kaku Gothic New', var(--font_normal);
  font-size: 1rem;
  font-weight: 700;
  color: var(--font_c);
  @media(max-width:767px) {
    margin-bottom: 5px;
  }
}
.c-example-category + .c-example-category {
  margin-top: 40px;
  @media (width <= 896px) {
    margin-top: 24px;
  }
}
/* CMSテーマ側(style_org.css)の.c-example-category__list定義（センター寄せ・固定幅グリッド）を
   __labelと左端が揃うよう上書き。style_org.cssより後に読み込まれても勝てるよう2階層セレクタで指定 */
.c-example-category .c-example-category__list {
  width: 100%;
  margin: 0;
  justify-content: stretch;
  grid-template-columns: repeat(6, 1fr);
  @media (width <= 896px) {
    grid-template-columns: repeat(3, 1fr);
  }
}
.c-example-category .c-example-category__item {
  width: 100%;
}
.c-example-category .c-example-category__link {
  width: 100%;
  min-width: 0;
  max-width: none;
  @media (width <= 896px) {
    padding: .6em .4em;
    font-size: clamp(13px, 3.2vw, 15px);
    white-space: normal;
    text-align: center;
  }
}

/* example-list */
/* ============================================ */
.example-list {
  padding-block: clamp(3.75rem, 2.6295rem + 2.9279vw, 5.625rem) 0; /* 90~60(1920~896) */
  background-color: #FFF;
  border-radius: 50px 50px 0 0;
  position: relative;
  @media (width <= 896px) {
    border-radius: 30px 30px 0 0;
    padding-block: 30px;
  }
}
.example-list__inner {
  max-width: 1340px;
  margin-inline: auto;
  padding-inline: 20px;
}
.example-list__filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.example-list__filters-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 300px;
  max-width: 100%;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #CCD5E3;
  border-radius: 7px;
  font-family: 'Zen Kaku Gothic New', var(--font_normal);
  font-size: 16px;
  font-weight: 500;
  color: var(--font_c);
}
.example-list__filters-item-arrow {
  flex-shrink: 0;
  transform: rotate(-90deg);
}
.example-list__items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  margin-top: 40px;
  @media (width <= 1025px) {
    grid-template-columns: 1fr;
  }
}
.example-list__item {
  > a {
    display: flex;
    flex-direction: column;
  }
}
.example-list__item-img {
  display: block;
  width: 100%;
  aspect-ratio: 645 / 360;
  object-fit: cover;
  border-radius: 20px 20px 0 0;
}
.example-list__item-body {
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding: 35px 30px;
  background: #fff;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 0 7.379px rgba(94, 123, 202, .1);
}
.example-list__item-company {
  font-family: 'Zen Kaku Gothic New', var(--font_normal);
  font-size: 18px;
  font-weight: 500;
  color: var(--main_c);
}
.example-list__item-ttl {
  font-family: 'Zen Kaku Gothic New', var(--font_normal);
  font-size: clamp(1rem, 0.7477rem + 0.4505vw, 1.375rem); /* 22~16(1340~896) */
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: .02em;
  color: var(--font_c);
}
.example-list__item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  > li {
    padding: 9px 13px;
    background: var(--bg02_c);
    border-radius: 30px;
    font-family: 'Zen Kaku Gothic New', var(--font_normal);
    font-size: 15px;
    font-weight: 500;
    color: var(--main_c);
  }
}
