.l-container:has(.contents-page) {
  padding: 0;
}
.l-container-wrap__body {
  padding-bottom: 0;
}
@media screen and (max-width: 991px) {
  .l-container-wrap__body {
    padding-bottom: 20px;
  }
}

.contents-page__title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  row-gap: 0.9rem;
  font-weight: 500;
  font-size: 2.8rem;
  line-height: 1.4;
  letter-spacing: 0.07em;
  margin-bottom: 4rem;
}
.contents-page__title small {
  color: #3E3E3E;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: 0.1em;
}

.c-tab-navigation__list {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.c-tab-navigation {
  margin-bottom: 4rem;
}

.c-tab-navigation__item a {
  width: 6rem;
  height: 4.8rem;
  border: 1px solid #D8D8D8;
  border-radius: 0.4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: 0.07em;
}

.c-content-section__head {
  font-weight: bold;
  font-size: 1.7rem;
  line-height: 1.47;
  letter-spacing: 0.075em;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid #707070;
  margin-bottom: 2rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.c-content-section__head::-webkit-details-marker {
  display: none;
}

.c-content-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 5rem;
  row-gap: 1.5rem;
}

.c-content-list__item a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.5rem;
  line-height: 1.5;
  letter-spacing: 0.07em;
}

.c-content-list__item a::before {
  content: '';
  display: block;
  width: 0.4rem;
  height: 0.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Ccircle id='楕円形_404' data-name='楕円形 404' cx='2' cy='2' r='2' fill='%23bebebe'/%3E%3C/svg%3E%0A");
  background-repeat: no-repeat;
  background-size: contain;
}

.c-content-list__item a::after {
  content: '';
  display: block;
  width: 0.5rem;
  height: 0.9rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='5.029' height='9.059' viewBox='0 0 5.029 9.059'%3E%3Cpath id='パス_66259' data-name='パス 66259' d='M1863.5,284.152l3.822,3.822L1863.5,291.8' transform='translate(-1862.793 -283.445)' fill='none' stroke='%233e3e3e' stroke-linecap='round' stroke-linejoin='round' stroke-width='1'/%3E%3C/svg%3E%0A");
  background-repeat: no-repeat;
  background-size: contain;
  margin-left: auto;
  margin-right: 0;
}

.c-content-section:not(:last-of-type) {
  margin-bottom: 6rem;
}

.category-body {
  overflow: hidden;
  transition: opacity var(--transition-default);
}
.category-body[aria-hidden="true"] {
  opacity: 0;
  height: 0;
}
.category-body[aria-hidden="false"] {
  opacity: 1;
  height: auto;
}

.c-select-navigation__list {
  display: flex;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
  border-radius: 2rem;
  background-color: #F5F5F5;
  width: fit-content;
}
.c-select-navigation__item {
  background: unset;
  margin: unset;
  padding: unset;
  outline: unset;
  border: unset;
  cursor: pointer;
  
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 2rem;
  width: 16rem;
  height: 4rem;
  font-size: 1.5rem;
  line-height: 1.3;
  letter-spacing: 0.07em;
  transition: color var(--transition-default), background-color var(--transition-default);
  background-color: #F5F5F5;
}
.c-select-navigation__item[aria-selected="true"] {
  background: var(--color-primary);
  color: #fff;
}

@media screen and (max-width: 991px) {
  .contents-page__title {
    font-size: 2.2rem;
  }
  .contents-page__inner {
    padding-inline: 1rem;
  }
  .c-tab-navigation__list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.9rem;
  }
  .c-tab-navigation__item a {
    width: 100%;
    height: 5rem;
  }
  .c-content-list {
    width: 100%;
    display: flex;
    flex-direction: column;
  }
  .c-content-list__item a::after {
    margin-left: auto;
    margin-right: 0;
  }
  .c-select-navigation__list {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .c-select-navigation__item {
    width: 100%;
    font-size: 1.3rem;
  }
  summary.c-content-section__head > span  {
    display: block;
    width: 2.5rem;
    height: 2.5rem;
    position: relative;
  }
  summary.c-content-section__head > span::before,
  summary.c-content-section__head > span::after {
    content: '';
    display: block;
    width: 1.5rem;
    height: 1px;
    background-color: #3E3E3E;
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    transition: rotate 0.3s ease;
  }
  summary.c-content-section__head > span::after {
    rotate: -90deg;
  }
  details[open] summary.c-content-section__head > span::after {
    rotate: 0deg;
  }
}
details.c-content-section {
  transition: margin 0.3s ease;
}
details.c-content-section:not([open]):not(:last-of-type) {
  margin-bottom: 4rem;
}

details.c-content-section:not([open]) .c-content-section__head {
  margin-bottom: 0;
}