/* ==================================================
   CASE PAGE
================================================== */

.page-about:has(> .news) {
  width: 100%;

  padding-top: 145px;

  background-color: #FFFFFF;
}


/* ==================================================
   PAGE HEAD
================================================== */

.page-about:has(> .news) > .common-head {
  display: flex;
  flex-direction: column;
  align-items: center;

  width: min(calc(100% - 80px), 1200px);

  margin: 0 auto;

  text-align: center;
}

.page-about:has(> .news) > .common-head .common-head__jp {
  justify-content: center;
}

.page-about:has(> .news) > .common-head .common-head__en {
  color: var(--color-button);

  font-size: clamp(52px, 5.5vw, 72px);
}


/* ==================================================
   BREADCRUMB
================================================== */

.page-about:has(> .news) > .about-breadcrumb {
  display: flex;
  align-items: center;

  gap: 10px;

  width: min(calc(100% - 80px), 1024px);

  margin: 65px auto 0;
  padding: 0;
}

.page-about:has(> .news) > .about-breadcrumb a,
.page-about:has(> .news) > .about-breadcrumb p {
  margin: 0;

  color: var(--color-text);

  font-size: 11px;
  font-weight: 400;

  line-height: 1.5;

  text-decoration: none;
}


/* ==================================================
   CASE AREA
================================================== */

.page-about:has(> .news) .news {
  width: 100%;

  margin: 0;
  padding: 65px 0 120px;

  background-color: #FFFFFF;
}


/* ==================================================
   CATEGORY
================================================== */

.page-about:has(> .news) .news-cate {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 20px;

  width: min(calc(100% - 80px), 1024px);

  margin: 0 auto 70px;
  padding: 0;
}


/* 「すべて」
---------------------------------------- */

.page-about:has(> .news) .news-cate > a {
  display: flex !important;
  align-items: center;
  justify-content: center;

  width: 150px !important;
  min-width: 150px !important;
  min-height: 40px !important;

  margin: 0 !important;
  padding: 8px 20px !important;

  color: #FFFFFF !important;
  background-color: var(--color-button);

  border: 1px solid var(--color-button);
  border-radius: 6px;

  font-family: var(--font-base);
  font-size: 12px;
  font-weight: 500;

  line-height: 1;

  text-decoration: none;

  transition:
    color 0.3s ease,
    background-color 0.3s ease;
}

.page-about:has(> .news) .news-cate > a p {
  margin: 0;
}


/* WebGene Category
---------------------------------------- */

.page-about:has(> .news) .news-cate > .webgene-blog {
  display: flex !important;
  align-items: center;
  flex-wrap: wrap;

  gap: 20px !important;

  width: auto !important;

  margin: 0 !important;
  padding: 0 !important;
}

.page-about:has(> .news) .news-cate > .webgene-blog article {
  width: 150px !important;
  min-width: 150px;

  margin: 0 !important;
  padding: 0 !important;

  border: 0 !important;
}

.page-about:has(> .news) .news-cate > .webgene-blog article > a {
  display: flex !important;
  align-items: center;
  justify-content: center;

  width: 150px !important;
  min-width: 150px !important;
  min-height: 40px !important;

  margin: 0 !important;
  padding: 8px 20px !important;

  color: var(--color-button) !important;
  background-color: #FFFFFF !important;

  border: 1px solid var(--color-button) !important;
  border-radius: 6px !important;

  box-shadow: none !important;

  font-family: var(--font-base);
  font-size: 12px;
  font-weight: 500;

  line-height: 1;

  text-align: center;
  text-decoration: none !important;

  transform: none !important;

  transition:
    color 0.3s ease,
    background-color 0.3s ease;
}


/* Category Current / Hover
---------------------------------------- */

.page-about:has(> .news) .news-cate a.is-current,
.page-about:has(> .news) .news-cate a.selected {
  color: #FFFFFF !important;
  background-color: var(--color-button) !important;
}

@media (hover: hover) {

  .page-about:has(> .news) .news-cate a:hover {
    color: #FFFFFF !important;
    background-color: var(--color-button) !important;
  }

}


/* ==================================================
   CASE MAIN
================================================== */

.page-about:has(> .news) .news-main {
  width: min(calc(100% - 80px), 1024px);

  margin: 0 auto;
}


/* ==================================================
   CASE GRID
================================================== */

.page-about:has(> .news) .news-main > .webgene-blog {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap:
    64px
    42px;

  width: 100%;

  margin: 0;
  padding: 0;
}


/* ==================================================
   CASE ITEM
================================================== */

.page-about:has(> .news) .news-main .newsItem {
  width: 100%;

  margin: 0;
  padding: 0;

  border: 0;

  font-size: inherit;
}


/* ==================================================
   CASE LINK
================================================== */

.page-about:has(> .news) .news-main .newsLink {
  display: block;

  width: 100%;

  margin: 0;
  padding: 0;

  color: var(--color-text) !important;
  background-color: transparent;

  border: 0;
  box-shadow: none;

  text-decoration: none;

  transition:
    opacity 0.3s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}


/*
  NEWSで使っていた矢印を消す
---------------------------------------- */

.page-about:has(> .news) .news-main .newsLink::before,
.page-about:has(> .news) .news-main .newsLink::after {
  content: none;
}


/* ==================================================
   TEXT WRAP
================================================== */

.page-about:has(> .news) .news-main .newsTextWrap {
  display: block;

  width: 100%;
  height: auto;
}


/* ==================================================
   CASE IMAGE
================================================== */

.page-about:has(> .news) .news-main .webgene-item-content {
  width: 100%;

  margin: 0 0 18px;

  overflow: hidden;

  aspect-ratio: 1.45 / 1;

  border-radius: 16px;

  background-color: #F5F5F5;
}


/* 実際にWebGeneから出ている画像 */
.page-about:has(> .news) .news-main .webgene-item-main-image,
.page-about:has(> .news) .news-main .webgene-item-content img {
  display: block;

  width: 100%;
  height: 100%;

  margin: 0;

  object-fit: cover;

  transition:
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}


/* ==================================================
   META
================================================== */

.page-about:has(> .news) .news-main .top-news__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 10px;

  width: 100%;

  margin: 0 0 9px;
}


/* Date
---------------------------------------- */

.page-about:has(> .news) .news-main .newsItemTime {
  margin: 0;

  color: #999999;

  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 400;

  line-height: 1.4;
}


/* Category
---------------------------------------- */

.page-about:has(> .news) .news-main .newsItemCate {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: auto;
  min-width: 60px;
  min-height: 22px;

  margin: 0;
  padding: 4px 10px;

  color: #FFFFFF !important;
  background-color: var(--color-button);

  border: 0;
  border-radius: 4px;

  font-family: var(--font-base);
  font-size: 10px;
  font-weight: 500;

  line-height: 1;
}


/* ==================================================
   TITLE
================================================== */

.page-about:has(> .news) .news-main .newsItemTit {
  display: -webkit-box;

  width: 100%;

  margin: 0;
  padding: 0;

  overflow: hidden;

  color: var(--color-text);

  font-family: var(--font-base);
  font-size: 14px;
  font-weight: 400;

  line-height: 1.8;
  letter-spacing: 0.02em;

  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}


/* ==================================================
   CARD HOVER
================================================== */

@media (hover: hover) {

  .page-about:has(> .news) .news-main .newsLink:hover {
    opacity: 1;

    transform: translateY(-4px);
  }

  .page-about:has(> .news)
  .news-main
  .newsLink:hover
  .webgene-item-content img {
    transform: scale(1.045);
  }

}


/* ==================================================
   PAGINATION
================================================== */

.page-about:has(> .news) .news-main .webgene-pagination {
  grid-column: 1 / -1;

  width: 100%;

  margin: 90px 0 0;
}


/* Pagination List
---------------------------------------- */

.page-about:has(> .news) .news-main .webgene-pagination > ul {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 28px;

  width: 100%;

  margin: 0;
  padding: 0;

  list-style: none;
}


/* Number
---------------------------------------- */

.page-about:has(> .news) .news-main .webgene-pagination > ul > li {
  display: block;

  width: auto;
  height: auto;

  margin: 0;
  padding: 0;

  color: #D8D8D8 !important;
  background-color: transparent;

  border: 0;
  border-radius: 0;

  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 400;

  line-height: 1;

  list-style: none;
}

.page-about:has(> .news) .news-main .webgene-pagination > ul > li > a {
  display: block;

  width: auto;
  height: auto;

  color: inherit !important;

  text-decoration: none;
}


/* Current
---------------------------------------- */

.page-about:has(> .news)
.news-main
.webgene-pagination
> ul
> li.selected {
  color: var(--color-button) !important;

  background-color: transparent;

  border: 0;
}


/* PREV / NEXT */
.page-about:has(> .news) .news-main .webgene-pagination .prev,
.page-about:has(> .news) .news-main .webgene-pagination .next {
  display: none !important;
}


/* ==================================================
   TABLET
================================================== */

@media screen and (max-width: 1024px) {

  .page-about:has(> .news) {
    padding-top: 130px;
  }


  /* Page Head
  ---------------------------------------- */

  .page-about:has(> .news) > .common-head,
  .page-about:has(> .news) > .about-breadcrumb,
  .page-about:has(> .news) .news-main,
  .page-about:has(> .news) .news-cate {
    width: min(calc(100% - 60px), 900px);
  }


  /* Grid
  ---------------------------------------- */

  .page-about:has(> .news) .news-main > .webgene-blog {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap:
      52px
      30px;
  }

}


/* ==================================================
   SP
================================================== */

@media screen and (max-width: 768px) {

  .page-about:has(> .news) {
    padding-top: 110px;
  }


  /* Page Head
  ---------------------------------------- */

  .page-about:has(> .news) > .common-head {
    width: calc(100% - 40px);
  }

  .page-about:has(> .news) > .common-head .common-head__en {
    font-size: 46px;
  }


  /* Breadcrumb
  ---------------------------------------- */

  .page-about:has(> .news) > .about-breadcrumb {
    width: calc(100% - 40px);

    margin-top: 42px;
  }


  /* News
  ---------------------------------------- */

  .page-about:has(> .news) .news {
    padding:
      42px
      0
      80px;
  }


  /* Category
  ---------------------------------------- */

  .page-about:has(> .news) .news-cate {
    display: grid;

    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 10px;

    width: calc(100% - 40px);

    margin-bottom: 45px;
  }

  .page-about:has(> .news) .news-cate > a {
    width: 100% !important;
    min-width: 0 !important;
  }

  .page-about:has(> .news) .news-cate > .webgene-blog {
    display: contents !important;
  }

  .page-about:has(> .news) .news-cate > .webgene-blog article {
    width: 100% !important;
    min-width: 0;
  }

  .page-about:has(> .news)
  .news-cate
  > .webgene-blog
  article
  > a {
    width: 100% !important;
    min-width: 0 !important;
  }


  /* Main
  ---------------------------------------- */

  .page-about:has(> .news) .news-main {
    width: calc(100% - 40px);
  }


  /* Grid
  ---------------------------------------- */

  .page-about:has(> .news) .news-main > .webgene-blog {
    grid-template-columns: 1fr;

    gap: 42px;
  }


  /* Image
  ---------------------------------------- */

  .page-about:has(> .news) .news-main .webgene-item-content {
    margin-bottom: 14px;

    border-radius: 14px;
  }


  /* Title
  ---------------------------------------- */

  .page-about:has(> .news) .news-main .newsItemTit {
    font-size: 13px;
  }


  /* Pagination
  ---------------------------------------- */

  .page-about:has(> .news) .news-main .webgene-pagination {
    margin-top: 58px;
  }

  .page-about:has(> .news)
  .news-main
  .webgene-pagination
  > ul {
    gap: 22px;
  }

  .page-about:has(> .news)
  .news-main
  .webgene-pagination
  > ul
  > li {
    font-size: 18px;
  }

}


/* ==================================================
   SMALL SP
================================================== */

@media screen and (max-width: 480px) {

  .page-about:has(> .news) > .common-head,
  .page-about:has(> .news) > .about-breadcrumb,
  .page-about:has(> .news) .news-main,
  .page-about:has(> .news) .news-cate {
    width: calc(100% - 32px);
  }

}






