@charset "utf-8";

/* ↓↓↓ fv ↓↓↓ */
.fv {
  position: relative;
  background-color: #fff;
  padding: 200px 0 0;
}

@media screen and (max-width: 768px) {
  .fv {
    padding: 26.6667vw 15px 17px;
  }
}

.fv::after {
  content: '';
  position: absolute;
  translate: -50% 100%;
  bottom: 1px;
  left: 50%;
  width: 100%;
  height: 160px;
  background: url(/wp-content/themes/cosmoworld/img/common/fv-cloud.svg) repeat-x;
  background-size: auto 100%;
}

@media screen and (max-width: 768px) {
  .fv::after {
    height: 17.6vw;
    background: url(/wp-content/themes/cosmoworld/img/common/fv-cloud_sp.svg) repeat-x;
    background-size: auto 100%;
  }
}

.fv .logo {
  position: absolute;
  translate: -50% -50%;
  top: 90px;
  left: 50%;
  width: clamp(280px, 31.25vw, 400px);
  height: max-content;
  line-height: 1;
  z-index: 1;
}

@media screen and (max-width: 768px) {
  .fv .logo {
    translate: -50% 0;
    top: 4.8vw;
    width: 48vw;
  }
}

.fv .page-ttl {
  position: relative;
  text-align: center;
  max-width: 100%;
  width: max-content;
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding-left: 56px;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  .fv .page-ttl {
    font-size: 2.4rem;
  }
}

.fv .page-ttl::before {
  content: '';
  translate: 0 -50%;
  top: 50%;
  left: 0;
  position: absolute;
  width: 48px;
  aspect-ratio: 1/1;
  background: url(/wp-content/themes/cosmoworld/img/common/icon-topics.png);
  background-size: cover;
}
/* ↑↑↑ fv ↑↑↑ */

/* ↓↓↓ topics ↓↓↓ */
.topics {
  padding: 220px min(3.125vw, 40px) 152px;
}

@media screen and (max-width: 768px) {
  .topics {
    padding: 24vw 15px 112px;
  }
}

.topics .search-ttl {
  position: relative;
  text-align: center;
  width: max-content;
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0 0 0 42px;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  .topics .search-ttl {
    font-size: 2rem;
  }
}

.topics .search-ttl::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 0;
  width: 35px;
  height: 35px;
  aspect-ratio: 1 / 1;
  background: url(/wp-content/themes/cosmoworld/img/topics/icon-search.png);
  background-size: cover;
}

@media screen and (max-width: 768px) {
  .topics .search-ttl::before {
    top: 0;
  }
}

.topics .btn-group {
  max-width: 944px;
  display: flex;
  gap: 24px;
  margin: 24px auto 0;
  container-type: inline-size;
}

@media screen and (max-width: 768px) {
  .topics .btn-group {
    max-width: 500px;
    flex-wrap: wrap;
    gap: 14px;
    margin: 16px auto 0;
  }
}

.topics .btn-group .reset-btn,
.topics .btn-group .search-btn {
  cursor: pointer;
  display: grid;
  place-content: center;
  width: calc((100% - 24px * 3) / 4);
  height: 80px;
  border: 3px solid #333;
  background-color: #fff;
  border-radius: 80px;
  box-shadow: 0 4px 0 #333;
  font-size: 2.11864cqw;
  font-weight: 700;
  letter-spacing: 0.08em;
}

@media screen and (min-width: 769px) {
  .topics .btn-group .reset-btn:hover,
  .topics .btn-group .search-btn:hover,
  .topics .btn-group .search-btn.category01:hover,
  .topics .btn-group .search-btn.category02:hover,
  .topics .btn-group .search-btn.category03:hover {
    translate: 0 4px;
    box-shadow: initial;
  }
}

@media screen and (max-width: 768px) {
  .topics .btn-group .reset-btn,
  .topics .btn-group .search-btn {
    width: calc((100% - 14px) / 2);
    height: 60px;
    font-size: 1.4rem;
    font-weight: 800;
  }
}

.topics .btn-group .search-btn.category01 {
  background-color: #00EB1B;
  border: 3px solid #00C617;
  box-shadow: 0 4px 0 #00C617;
}

.topics .btn-group .search-btn.category02 {
  background-color: #FF85C0;
  border: 3px solid #FF409C;
  box-shadow: 0 4px 0 #FF409C;
  color: #fff;
}

.topics .btn-group .search-btn.category03 {
  background-color: #00A0FF;
  border: 3px solid #0045FF;
  box-shadow: 0 4px 0 #0045FF;
  color: #fff;
}

.topics .topics-box {
  max-width: 1104px;
  margin: 144px auto 0;
  container-type: inline-size;
}

@media screen and (max-width: 768px) {
  .topics .topics-box {
    max-width: 500px;
    margin: 56px auto 0;
  }
}

.topics .topics-block {
  display: flex;
  flex-wrap: wrap;
  gap: 80px 2.17394cqw;
}

@media screen and (max-width: 768px) {
  .topics .topics-block {
    flex-direction: column;
    gap: 48px;
  }
}

.topics .no-item {
  display: none;
}

.topics .topics-link {
  position: relative;
  display: none;
  flex-wrap: wrap;
  width: calc((100% - 2.1739cqw * 2) / 3);
  padding: 2.1739cqw 2.1739cqw 1.45cqw;
  border-radius: 24px;
  background-color: #fff;
}

@media screen and (max-width: 768px) {
  .topics .topics-link {
    width: 100%;
    padding: 24px 24px 16px;
  }
}

.topics .topics-link.-none {
  display: none;
}

.topics .topics-link.-pageActive {
  display: flex;
}

.topics .topics-link.category02 {
  border: 4px solid #FF85C0;
  box-shadow: 0 8px 0 #FF85C0;
}

.topics .topics-link.category01 {
  border: 4px solid #00EB1B;
  box-shadow: 0 8px 0 #00EB1B;
}

.topics .topics-link.category03 {
  border: 4px solid #00A0FF;
  box-shadow: 0 8px 0 #00A0FF;
}

@media screen and (min-width: 769px) {
  .topics .topics-link:hover {
    box-shadow: initial;
    translate: 0 8px !important;
  }
}

.topics .topics-link .arrow {
  position: absolute;
  bottom: 1.45cqw;
  right: 1.45cqw;
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

@media screen and (max-width: 768px) {
  .topics .topics-link .arrow {
    bottom: 16px;
    right: 16px;
  }
}

.topics .topics-link.category02 .arrow {
  background-color: #FF85C0;
}

.topics .topics-link.category01 .arrow {
  background-color: #00EB1B;
}

.topics .topics-link.category03 .arrow {
  background-color: #00A0FF;
}

.topics .topics-link .arrow::after {
  content: '';
  position: absolute;
  translate: -50% -50%;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 14px;
  background: url(/wp-content/themes/cosmoworld/img/common/link-arrow.svg);
  background-size: cover;
}

.topics .topics-link .category {
  position: absolute;
  translate: -50% -100%;
  top: -1px;
  left: 50%;
  width: max-content;
  height: 32px;
  padding: 7px 24px;
  font-family: var(--font-poppins);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  border-radius: 16px 16px 0 0;
}

.topics .topics-link.category02 .category {
  background-color: #FF85C0;

  &::before {
    content: 'EVENT';
  }
}

.topics .topics-link.category01 .category {
  color: #333;
  background-color: #00EB1B;
  
  &::before {
    content: 'TOPIC';
  }
}

.topics .topics-link.category03 .category {
  background-color: #00A0FF;
    
  &::before {
    content: 'ILLUMINATION';
  }
}

.topics .topics-link .image {
  text-align: center;
  min-width: 10.87cqw;
  width: 10.87cqw;
  height: max-content;
  aspect-ratio: 1/1;
  margin-right: 1.45cqw;
  border-radius: 16px;
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  .topics .topics-link .image {
    min-width: 120px;
    width: 120px;
    margin-right: 16px;
  }
}

.topics .topics-link .image img {
  object-fit: contain;
  width: auto;
  height: 100%;
}

.topics .topics-link .text {
  display: -webkit-box;             
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 5;
  width: calc(100% - (10.87cqw + 1.45cqw));
  height: max-content;
  padding-top: 10px;
}

@media screen and (max-width: 768px) {
  .topics .topics-link .text {
    text-align: left;
    width: calc(100% - (120px + 16px));
  }
}

.topics .topics-link .date {
  display: grid;
  place-content: center left;
  width: 100%;
  height: 32px;
  margin-top: 8px;
}

.topics .topics-link.category02 .date {
  color: #FF85C0;
}

.topics .topics-link.category01 .date {
  color: #00EB1B;
}

.topics .topics-link.category03 .date {
  color: #00A0FF;
}

.topics .pagination {
  position: relative;
  text-align: center;
  max-width: 402px;
  min-height: 60px;
  border-radius: 60px;
  background-color: #fff;
  border: 2px solid #FF0053;
  margin: 48px auto 0;
  padding: 10px 0;
}

@media screen and (max-width: 768px) {
  .topics .pagination {
    max-width: 282px;
  }
}

.topics .pagination .current-page,
.topics .pagination .count-page {
  display: none;
  font-size: 1.4rem;
  text-align: center;
}

.pagination-list {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 60px;
}

.topics .pagination .pagination-btn {
  cursor: pointer;
  font-family: var(--font-poppins);
  font-size: 1.8rem;
  font-weight: 700;
  padding: 0 4px;
  margin: 5px 12px 0;
}

.topics .pagination .pagination-btn.-active {
  position: relative;
}

.topics .pagination .pagination-btn.-active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #FF0053;
}

.topics .pagination .pagination-angle.-prev {
  cursor: pointer;
  position: absolute;
  translate: 0 -50%;
  top: 50%;
  left: 10px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #FF0053;
  display: grid;
  place-content: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  transition: opacity 0.3s ease;
}

.topics .pagination .pagination-angle.-next {
  cursor: pointer;
  position: absolute;
  translate: 0 -50%;
  top: 50%;
  right: 10px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #FF0053;
  display: grid;
  place-content: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  transition: opacity 0.3s ease;
}

@media screen and (min-width: 769px) {
  .topics .pagination .pagination-angle.-prev:hover,
  .topics .pagination .pagination-angle.-next:hover {
    opacity: 0.7;
  }
}

.topics .pagination .pagination-angle.-prev.-deactive,
.topics .pagination .pagination-angle.-next.-deactive {
  display: none;
}

.topics .pagination .pagination-angle.-prev::after,
.topics .pagination .pagination-angle.-next::after {
  content: '';
  position: absolute;
  translate: -50% -50%;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 14px;
  background: url(/wp-content/themes/cosmoworld/img/common/link-arrow.svg);
  background-size: cover;
}

.topics .pagination .pagination-angle.-prev::after {
  rotate: 180deg;
}

/* ↑↑↑ topics ↑↑↑ */

/* ↓↓↓ common ↓↓↓ */
/* ↑↑↑ common ↑↑↑ */

/* ↓↓↓ common ↓↓↓ */
/* ↑↑↑ common ↑↑↑ */

/* ↓↓↓ common ↓↓↓ */
/* ↑↑↑ common ↑↑↑ */

@media screen and (min-width: 1281px) {}

@media screen and (max-width: 1280px) {}

@media screen and (max-width: 768px) {}

@media screen and (max-width: 480px) {}

@media screen and (max-width: 375px) {}
