@charset "UTF-8";

/**======================================
	TOPICS
======================================**/

.topics_category {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid color-mix(in srgb, var(--color-accent) 46%, transparent);
  border-radius: 999px;
  background-color: color-mix(in srgb, var(--color-accent) 11%, transparent);
  color: var(--color-accent);
  font-family: 'Cormorant Garamond', 'Noto Serif JP', serif;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

:is(#topics_index_contents, #topics_tax_contents) #topics_box .topics_category {
  font-family: 'Cormorant Garamond', 'Noto Serif JP', serif;
}

:is(#topics_index_contents, #topics_tax_contents) #topics_box ul.topics_ul {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

:is(#topics_index_contents, #topics_tax_contents) #topics_box .list_cont {
  margin: 0;
}

:is(#topics_index_contents, #topics_tax_contents) #topics_box .topics_card {
  display: grid;
  grid-template-columns: minmax(120px, 38%) 1fr;
  gap: 18px;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--color-text) 14%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--color-surface) 78%, transparent);
  color: inherit;
  text-decoration: none;
}

:is(#topics_index_contents, #topics_tax_contents) #topics_box .topics_card:hover {
  color: inherit;
}

:is(#topics_index_contents, #topics_tax_contents) #topics_box .topics_pic,
:is(#topics_index_contents, #topics_tax_contents) #topics_box .object_fit {
  display: block;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
}

:is(#topics_index_contents, #topics_tax_contents) #topics_box .object_fit {
  aspect-ratio: 4 / 3;
  background: var(--color-paper);
}

:is(#topics_index_contents, #topics_tax_contents) #topics_box .object_fit::before {
  display: none;
}

:is(#topics_index_contents, #topics_tax_contents) #topics_box .object_fit img {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.6s ease,
    filter 0.6s ease;
}

:is(#topics_index_contents, #topics_tax_contents) #topics_box .topics_card:hover img {
  transform: scale(1.045);
  filter: saturate(0.95) brightness(1.04);
}

:is(#topics_index_contents, #topics_tax_contents) #topics_box .topics_meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
  margin: 0 0 8px;
  font-family: 'Cormorant Garamond', 'Noto Serif JP', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
}

:is(#topics_index_contents, #topics_tax_contents) #topics_box .topics_title {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-serif-ja);
  font-size: clamp(1.8rem, 2vw, 2.3rem);
  font-weight: 500;
  line-height: 1.45;
  text-decoration: none;
}

#topics_single_contents #single_topics_box > .part:first-child {
  box-sizing: border-box;
  padding: clamp(26px, 4.6vw, 48px);
  border: 1px solid color-mix(in srgb, var(--color-text) 14%, transparent);
  border-radius: 18px;
  background: color-mix(in srgb, var(--color-background) 82%, #ffffff);
  box-shadow: 0 22px 56px color-mix(in srgb, var(--color-text) 7%, transparent);
}

#topics_single_contents #single_topics_box > .part > .heading02 {
  margin-bottom: 1em;
  padding-bottom: 0.75em;
  border-bottom: 1px solid color-mix(in srgb, var(--color-text) 14%, transparent);
  font-family: 'Noto Serif JP', 'Noto Sans JP', serif;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1.45;
}

#topics_single_contents #single_topics_box .entry_cont > *:first-child {
  margin-top: 0;
}

#topics_single_contents #single_topics_box .entry_cont > *:last-child {
  margin-bottom: 0;
}

@media screen and (min-width: 600px) {
  :is(#topics_index_contents, #topics_tax_contents) #topics_box ul.topics_ul {
    gap: 24px;
  }
}

@media screen and (min-width: 1025px) {
  :is(#topics_index_contents, #topics_tax_contents) #topics_box ul.topics_ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
  }
}

@media screen and (max-width: 599px) {
  body:not(.home):not(.front-page) #topics_single_contents .hgroup {
    display: none;
  }

  body:not(.home):not(.front-page) #topics_single_contents .area {
    padding-top: 28px;
  }

  body:not(.home):not(.front-page) #topics_single_contents #single_topics_box > .part:first-child {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  :is(#topics_index_contents, #topics_tax_contents) #topics_box .topics_card {
    grid-template-columns: 38% 1fr;
    gap: 14px;
    padding: 14px;
  }
}
