.p-productContents {
  padding-block: 64px;
}

.p-introduction {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.7;
  max-width: 1024px;
  margin-inline: auto;
}

@media screen and (max-width: 767px) {
  .p-introduction {
    font-size: 16px;
  }
}

.p-productSection .l-headingChildTop {
  margin-top: 64px;
}

.p-categoryAction {
  margin-top: 64px;
  position: relative;
  z-index: 1;
}

.p-categoryButtonList {
  max-width: 490px;
  margin-inline: auto;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, 1fr);
}

.p-categoryButton {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 60px;
  text-align: center;
  text-decoration: none;
  display: block;
  width: 100%;
  appearance: none;
  position: relative;
  cursor: pointer;
  transition: var(--duration) all ease-in-out;
}

.p-categoryButton.--black {
  color: var(--color-text-light);
  background-color: var(--color-bg-black);
}

.p-categoryButton.--blue {
  color: var(--color-text-light);
  background-color: #708fab;
}

.p-categoryButton::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  border-right: 3px solid var(--color-bg-white);
  border-bottom: 3px solid var(--color-bg-white);
  rotate: -45deg;
  position: absolute;
  left: 20px;
  top: 50%;
  translate: 0 -50%;
  transition: var(--duration) all ease-in-out;
}

.p-categoryButton.is-active::before {
  rotate: 45deg;
}

.p-categoryButton:hover {
  opacity: 0.7;
}

.p-categoryDetails {
  display: none;
  color: var(--color-text-light);
  width: 100vw;
  max-width: 1060px;
  background-color: #708fab;
  padding: 40px 64px;
  position: absolute;
  top: 100%;
  left: 50%;
  translate: -50% 0;
}

.p-categorySet {
  display: grid;
  grid-template-columns: 125px 1fr;
  gap: 10px;
}

.p-categorySet:not(:last-child) {
  padding-bottom: 16px;
  border-bottom: 1px dashed #e0e0e0;
  margin-bottom: 16px;
}

.p-categoryTax {
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 0.02em;
  line-height: 1.7;
}

.p-categoryTermList {
  display: flex;
}

.p-categoryTerm {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.7;
}

.p-categoryTerm:not(:last-child)::after {
  content: "｜";
}

.p-categoryTerm a {
  text-decoration: none;
  transition: var(--duration) all ease-in-out;
}

.p-categoryTerm a:hover {
  opacity: 0.7;
}

.p-productListWrapper {
  margin-top: 80px;
}

@media screen and (max-width: 767px) {
  .p-categoryButtonList {
    gap: 6px;
  }

  .p-categoryButton {
    font-size: 16px;
    line-height: 50px;
  }

  .p-categoryButton::before {
    width: 10px;
    height: 10px;
    border-width: 2px;
  }

  .p-categoryDetails {
    padding: 32px 16px;
  }

  .p-categorySet {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .p-categoryTax {
    font-size: 18px;
  }

  .p-categoryTerm {
    font-size: 16px;
  }

  .p-productListWrapper {
    margin-top: 40px;
  }
}
