.p-menu-section {
  position: relative;
  margin-block: var(--section-gap-md) var(--section-gap-xl);
  overflow-x: clip;
}
@media (max-width: 1024px) {
  .p-menu-section {
    margin-bottom: var(--section-gap-lg);
  }
}
.p-menu-section__header {
  margin-inline: auto;
}
.p-menu-section__list {
  --c-tile-column-count: 4;
  --c-tile-column-gap: 2.4rem;
  --c-tile-row-gap: 2.4rem;
  margin-top: var(--section-gap-sm);
}
@media (max-width: 1024px) {
  .p-menu-section__list {
    --c-tile-column-count: 2;
  }
}
@media (max-width: 525px) {
  .p-menu-section__list {
    --c-tile-column-gap: 1.2rem;
    --c-tile-row-gap: 1.85rem;
  }
}
.p-menu-section__deco {
  position: absolute;
}
.p-menu-section__deco[data-deco="1"] {
  --c-polygon-color-percentage: 50%;
  --c-polygon-clip-path: polygon(48.07% 100%, 0% 66.84%, 15.11% 6.04%, 68.63% 0%, 98.78% 35.07%, 100% 81.26%, 48.07% 100%);
  aspect-ratio: 1.089;
  translate: 50% -50%;
}
.p-menu-section__deco[data-deco="1"]:where(body[data-theme-color=cafe] *) {
  --c-polygon-color-percentage: 85%;
}
@media (min-width: 1025px) {
  .p-menu-section__deco[data-deco="1"] {
    top: 2rem;
    right: 16%;
    width: 18.7rem;
  }
}
@media (max-width: 1024px) {
  .p-menu-section__deco[data-deco="1"] {
    top: 14.5rem;
    right: 5.5%;
    width: 18rem;
  }
}
@media (max-width: 525px) {
  .p-menu-section__deco[data-deco="1"] {
    width: 11.9rem;
  }
}
.p-menu-section__deco[data-deco="2"] {
  --c-polygon-color-percentage: 60%;
  --c-polygon-clip-path: polygon(47.38% 100%, 100% 66.73%, 74.31% 5.97%, 22.22% 0%, 0% 26.53%, 14.06% 76.5%, 47.38% 100%);
  aspect-ratio: 1.142;
  translate: -50% -50%;
}
.p-menu-section__deco[data-deco="2"]:where(body[data-theme-color=cafe] *) {
  --c-polygon-color-percentage: 40%;
}
@media (min-width: 1025px) {
  .p-menu-section__deco[data-deco="2"] {
    top: 24rem;
    left: 8.5%;
    width: 20.7rem;
  }
}
@media (max-width: 1024px) {
  .p-menu-section__deco[data-deco="2"] {
    display: none;
  }
}
.p-menu-section__deco[data-deco="3"] {
  --c-polygon-opacity: 45%;
  --c-polygon-clip-path: polygon(65.97% 88.97%, 17.78% 100%, 0% 48.26%, 10.97% 12.36%, 49.46% 0%, 100% 44.65%, 65.97% 88.97%);
  aspect-ratio: 1.128;
  translate: -50% 50%;
}
@media (min-width: 1025px) {
  .p-menu-section__deco[data-deco="3"] {
    bottom: 6rem;
    left: 0%;
    width: 80.7rem;
  }
}
@media (max-width: 1024px) {
  .p-menu-section__deco[data-deco="3"] {
    display: none;
  }
}

.p-menu {
  font-size: 1.8rem;
  transform: translateZ(0);
}
@media (max-width: 1024px) {
  .p-menu {
    font-size: 1.55rem;
  }
}
@media (max-width: 525px) {
  .p-menu {
    font-size: 1.2rem;
  }
}
.p-menu:nth-child(3n+1) {
  --button-color: color-mix(in srgb, var(--color-cobalt-blue) 50%, #fff);
  --icon-color: var(--color-cobalt-blue);
  --shadow-color: color-mix(in srgb, var(--color-midnight-blue) 30%, transparent);
  --hover-color: color-mix(in srgb, var(--color-cobalt-blue) 10%, #fff);
}
.p-menu:nth-child(3n+1):where(body[data-theme-color=sky] *) {
  --button-color: color-mix(in srgb, var(--color-palette-2) 75%, #fff);
  --icon-color: oklch(from var(--color-palette-2) calc(l * 0.92) c h);
  --shadow-color: color-mix(in srgb, var(--color-palette-2) 35%, transparent);
  --hover-color: color-mix(in srgb, var(--color-palette-2) 10%, #fff);
}
.p-menu:nth-child(3n+1):where(body[data-theme-color=rose] *) {
  --button-color: color-mix(in srgb, #c6a34d 50%, #fff);
  --icon-color: #c6a34d;
  --shadow-color: color-mix(in srgb, var(--color-palette-1) 30%, transparent);
  --hover-color: color-mix(in srgb, var(--color-palette-1) 15%, #fff);
}
.p-menu:nth-child(3n+1):where(body[data-theme-color=cafe] *) {
  --button-color: color-mix(in srgb, var(--color-brown) 50%, #fff);
  --icon-color: var(--color-brown);
  --shadow-color: color-mix(in srgb, var(--color-palette-2) 35%, transparent);
  --hover-color: color-mix(in srgb, var(--color-brown) 10%, #fff);
}
.p-menu:nth-child(3n+1):where(body[data-theme-color=lagoon] *) {
  --button-color: color-mix(in srgb, var(--color-teal) 50%, #fff);
  --icon-color: var(--color-teal);
  --shadow-color: color-mix(in srgb, #a1c3d7 35%, transparent);
  --hover-color: color-mix(in srgb, #a1c3d7 20%, #fff);
}
.p-menu:nth-child(3n+2) {
  --button-color: color-mix(in srgb, var(--color-brink-pink) 50%, #fff);
  --icon-color: var(--color-brink-pink);
  --shadow-color: color-mix(in srgb, var(--color-palette-2) 40%, transparent);
  --hover-color: color-mix(in srgb, var(--color-palette-2) 16%, #fff);
}
.p-menu:nth-child(3n+2):where(body[data-theme-color=sky] *) {
  --button-color: color-mix(in srgb, var(--color-azure-blue) 45%, #fff);
  --icon-color: var(--color-azure-blue);
  --shadow-color: oklch(from var(--color-azure-blue) calc(l * 1.25) c h / 30%);
  --hover-color: oklch(from var(--color-azure-blue) calc(l * 1.35) c h / 11%);
}
.p-menu:nth-child(3n+2):where(body[data-theme-color=rose] *) {
  --button-color: color-mix(in srgb, var(--color-palette-2) 44%, #fff);
  --icon-color: var(--color-palette-2);
  --shadow-color: color-mix(in srgb, var(--color-palette-2) 30%, transparent);
  --hover-color: color-mix(in srgb, var(--color-palette-2) 10%, #fff);
}
.p-menu:nth-child(3n+2):where(body[data-theme-color=cafe] *) {
  --button-color: color-mix(in srgb, var(--color-palette-2) 60%, #fff);
  --icon-color: #9b8756;
  --shadow-color: color-mix(in srgb, var(--color-palette-5) 40%, transparent);
  --hover-color: color-mix(in srgb, var(--color-palette-2) 13%, #fff);
}
.p-menu:nth-child(3n+2):where(body[data-theme-color=lagoon] *) {
  --button-color: color-mix(in srgb, var(--color-palette-3) 62%, #fff);
  --icon-color: var(--color-palette-3);
  --shadow-color: color-mix(in srgb, var(--color-palette-4) 40%, transparent);
  --hover-color: color-mix(in srgb, var(--color-palette-3) 10%, #fff);
}
.p-menu:nth-child(3n+3) {
  --button-color: color-mix(in srgb, var(--color-sea-green) 50%, #fff);
  --icon-color: var(--color-sea-green);
  --shadow-color: color-mix(in srgb, var(--color-palette-5) 30%, transparent);
  --hover-color: color-mix(in srgb, var(--color-palette-5) 13%, #fff);
}
.p-menu:nth-child(3n+3):where(body[data-theme-color=sky] *) {
  --button-color: color-mix(in srgb, var(--color-royal-blue) 50%, #fff);
  --icon-color: var(--color-royal-blue);
  --shadow-color: color-mix(in srgb, var(--color-palette-3) 40%, transparent);
  --hover-color: color-mix(in srgb, var(--color-palette-3) 17%, #fff);
}
.p-menu:nth-child(3n+3):where(body[data-theme-color=rose] *) {
  --button-color: color-mix(in srgb, #ef9757 50%, #fff);
  --icon-color: #ef9757;
  --shadow-color: color-mix(in srgb, #ef9757 30%, transparent);
  --hover-color: color-mix(in srgb, #ef9757 12%, #fff);
}
.p-menu:nth-child(3n+3):where(body[data-theme-color=cafe] *) {
  --button-color: color-mix(in srgb, var(--color-palette-4) 65%, #fff);
  --icon-color: var(--color-palette-4);
  --shadow-color: color-mix(in srgb, var(--color-palette-4) 30%, transparent);
  --hover-color: color-mix(in srgb, var(--color-palette-4) 10%, #fff);
}
.p-menu:nth-child(3n+3):where(body[data-theme-color=lagoon] *) {
  --button-color: color-mix(in srgb, var(--color-dark-turquoise) 50%, #fff);
  --icon-color: var(--color-palette-1);
  --shadow-color: color-mix(in srgb, var(--color-dark-turquoise) 20%, transparent);
  --hover-color: color-mix(in srgb, var(--color-dark-turquoise) 8%, #fff);
}
.p-menu__link {
  --c-button01-border-color: var(--button-color);
  --c-button01-hover-border-color: var(--button-color);
  --c-button01-shadow-color: var(--shadow-color);
  --c-button01-hover-bg-color: var(--hover-color);
  width: 100%;
  min-height: 4.15em;
  padding-left: 1.15em;
}
@media (min-width: 1025px) {
  .p-menu__link {
    column-gap: 1.25em;
  }
}
@media (max-width: 525px) {
  .p-menu__link {
    column-gap: 1em;
    padding-right: 0.75em;
    padding-left: 0.75em;
  }
}
.p-menu__icon {
  font-size: 2.6em;
  color: var(--icon-color, var(--button-color));
}
@media (max-width: 525px) {
  .p-menu__icon {
    font-size: 2.5em;
  }
}

.p-subject-section {
  margin-block: var(--section-gap-lg);
  overflow-x: clip;
}
.p-subject-section__subjects {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: var(--section-gap-lg);
}
@media (max-width: 1024px) {
  .p-subject-section__subjects {
    row-gap: 9rem;
  }
}

.p-subject {
  --label-bg-color: var(--color-denim-blue);
}
.p-subject:where(body[data-theme-color=rose] *) {
  --label-bg-color: var(--color-chocolate);
}
.p-subject:where(body[data-theme-color=cafe] *) {
  --label-bg-color: var(--color-brown);
}
.p-subject:where(body[data-theme-color=lagoon] *) {
  --label-bg-color: var(--color-moonstone);
}
@media (min-width: 1025px) {
  .p-subject {
    --contents-width: 51.2rem;
  }
}
.p-subject:nth-child(odd) {
  --figure-clip-path: polygon(2.41% 24.86%, 43.64% 0%, 100% 8.12%, 100% 85.89%, 46.55% 100%, 0% 83.22%, 2.41% 24.86%);
}
@media (min-width: 1025px) {
  .p-subject:nth-child(odd) {
    --grid-template-areas: "main figure";
    --grid-template-columns: var(--contents-width) 1fr;
    --margin-inline: 0 calc(var(--current-container-padding) * -1);
  }
}
@media (min-width: 526px) and (max-width: 1024px) {
  .p-subject:nth-child(odd) {
    --margin-inline: 0 calc(var(--current-container-padding) * -1);
  }
}
@media (max-width: 525px) {
  .p-subject:nth-child(odd) {
    --margin-inline: calc(var(--current-container-padding) * -1);
  }
}
.p-subject:nth-child(even) {
  --figure-clip-path: polygon(0% 14.95%, 47.83% 0%, 84.81% 7.41%, 100% 63.22%, 78.19% 94.44%, 28.11% 100%, 0% 90.56%, 0% 14.95%);
}
@media (min-width: 1025px) {
  .p-subject:nth-child(even) {
    --grid-template-areas: "figure main";
    --grid-template-columns: 1fr var(--contents-width);
    --margin-inline: calc(var(--current-container-padding) * -1) 0;
  }
}
@media (min-width: 526px) and (max-width: 1024px) {
  .p-subject:nth-child(even) {
    --margin-inline: calc(var(--current-container-padding) * -1) 0;
  }
}
@media (max-width: 525px) {
  .p-subject:nth-child(even) {
    --margin-inline: calc(var(--current-container-padding) * -1);
  }
}
.p-subject:nth-child(3n+1) {
  --icon-color: var(--color-cobalt-blue);
}
.p-subject:nth-child(3n+1):where(body[data-theme-color=sky] *) {
  --icon-color: oklch(from var(--color-palette-2) calc(l * 0.92) c h);
}
.p-subject:nth-child(3n+1):where(body[data-theme-color=rose] *) {
  --icon-color: #c6a34d;
}
.p-subject:nth-child(3n+1):where(body[data-theme-color=cafe] *) {
  --icon-color: var(--color-brown);
}
.p-subject:nth-child(3n+1):where(body[data-theme-color=lagoon] *) {
  --icon-color: var(--color-teal);
}
.p-subject:nth-child(3n+2) {
  --icon-color: var(--color-brink-pink);
}
.p-subject:nth-child(3n+2):where(body[data-theme-color=sky] *) {
  --icon-color: var(--color-azure-blue);
}
.p-subject:nth-child(3n+2):where(body[data-theme-color=rose] *) {
  --icon-color: var(--color-palette-2);
}
.p-subject:nth-child(3n+2):where(body[data-theme-color=cafe] *) {
  --icon-color: #9b8756;
}
.p-subject:nth-child(3n+2):where(body[data-theme-color=lagoon] *) {
  --icon-color: var(--color-palette-3);
}
.p-subject:nth-child(3n+3) {
  --icon-color: var(--color-sea-green);
}
.p-subject:nth-child(3n+3):where(body[data-theme-color=sky] *) {
  --icon-color: var(--color-royal-blue);
}
.p-subject:nth-child(3n+3):where(body[data-theme-color=rose] *) {
  --icon-color: #ef9757;
}
.p-subject:nth-child(3n+3):where(body[data-theme-color=cafe] *) {
  --icon-color: var(--color-palette-4);
}
.p-subject:nth-child(3n+3):where(body[data-theme-color=lagoon] *) {
  --icon-color: var(--color-palette-1);
}
.p-subject:nth-child(4n+1) {
  --figure-shadow-color: color-mix(in srgb, var(--color-palette-1) 30%, transparent);
}
.p-subject:nth-child(4n+2) {
  --figure-shadow-color: color-mix(in srgb, var(--color-palette-3) 30%, transparent);
}
.p-subject:nth-child(4n+3) {
  --figure-shadow-color: color-mix(in srgb, var(--color-palette-2) 30%, transparent);
}
.p-subject:nth-child(4n+4) {
  --figure-shadow-color: color-mix(in srgb, var(--color-palette-5) 30%, transparent);
}
.p-subject:nth-child(4n+4):where(body[data-theme-color=sky] *) {
  --figure-shadow-color: color-mix(in srgb, var(--color-palette-5) 100%, transparent);
}
@media (min-width: 1025px) {
  .p-subject__entry {
    display: grid;
    grid-template-areas: var(--grid-template-areas);
    grid-template-columns: var(--grid-template-columns);
    column-gap: 6.4rem;
    margin-inline: var(--margin-inline);
  }
}
@media (max-width: 1024px) {
  .p-subject__entry {
    display: grid;
    grid-template-areas: "figure" "main";
    grid-template-columns: 1fr;
    row-gap: 2rem;
  }
}
.p-subject__main {
  grid-area: main;
}
.p-subject__figure {
  position: relative;
  grid-area: figure;
  height: fit-content;
}
.p-subject__figure__inner {
  aspect-ratio: 1.283;
  filter: drop-shadow(2rem 1.5rem 0.8rem var(--figure-shadow-color));
}
@media (max-width: 1024px) {
  .p-subject__figure__inner {
    margin-inline: var(--margin-inline);
    filter: drop-shadow(1.5rem 1rem 0.65rem var(--figure-shadow-color));
  }
}
@media (max-width: 525px) {
  .p-subject__figure__inner {
    filter: drop-shadow(1rem 0.5rem 0.5rem var(--figure-shadow-color));
  }
}
.p-subject__figure__inner > img {
  clip-path: var(--figure-clip-path);
}
.p-subject__figure__deco {
  position: absolute;
}
.p-subject__figure__deco[data-deco="1"]:is(.p-subject:nth-child(4n+1 of .p-subject) *) {
  --c-polygon-color: var(--color-palette-3);
  --c-polygon-opacity: 50%;
  --c-polygon-clip-path: polygon(0% 60.25%, 18.09% 22.71%, 74.87% 0%, 100% 44.48%, 89.25% 91.64%, 28.98% 100%, 0% 60.25%);
  aspect-ratio: 0.877;
}
@media (min-width: 1025px) {
  .p-subject__figure__deco[data-deco="1"]:is(.p-subject:nth-child(4n+1 of .p-subject) *) {
    top: 31%;
    right: 7%;
    width: 73.2rem;
    translate: 50% -50%;
  }
}
@media (max-width: 1024px) {
  .p-subject__figure__deco[data-deco="1"]:is(.p-subject:nth-child(4n+1 of .p-subject) *) {
    top: 22%;
    left: -14%;
    width: 45rem;
    translate: -50% -50%;
  }
}
@media (max-width: 525px) {
  .p-subject__figure__deco[data-deco="1"]:is(.p-subject:nth-child(4n+1 of .p-subject) *) {
    width: 26.8rem;
  }
}
.p-subject__figure__deco[data-deco="1"]:is(.p-subject:nth-child(4n+2 of .p-subject) *) {
  --c-polygon-color: var(--color-palette-1);
  --c-polygon-opacity: 43%;
  --c-polygon-clip-path: polygon(33.19% 96.24%, 73.66% 100%, 100% 58.49%, 86.47% 9.29%, 48.57% 0%, 0% 39.37%, 33.19% 96.24%);
  aspect-ratio: 1.182;
}
@media (min-width: 1025px) {
  .p-subject__figure__deco[data-deco="1"]:is(.p-subject:nth-child(4n+2 of .p-subject) *) {
    top: 50%;
    left: -7%;
    width: 77rem;
    translate: -50% -50%;
  }
}
@media (max-width: 1024px) {
  .p-subject__figure__deco[data-deco="1"]:is(.p-subject:nth-child(4n+2 of .p-subject) *) {
    top: 36%;
    right: 7.5%;
    width: 55rem;
    translate: 50% -50%;
  }
}
@media (max-width: 525px) {
  .p-subject__figure__deco[data-deco="1"]:is(.p-subject:nth-child(4n+2 of .p-subject) *) {
    width: 34.1rem;
  }
}
.p-subject__figure__deco[data-deco="1"]:is(.p-subject:nth-child(4n+3 of .p-subject) *) {
  --c-polygon-color: var(--color-palette-5);
  --c-polygon-opacity: 40%;
  --c-polygon-clip-path: polygon(65.97% 87.93%, 17.78% 100%, 0% 43.41%, 10.97% 4.14%, 54.15% 0%, 100% 39.45%, 65.97% 87.93%);
  aspect-ratio: 1.233;
}
@media (min-width: 1025px) {
  .p-subject__figure__deco[data-deco="1"]:is(.p-subject:nth-child(4n+3 of .p-subject) *) {
    top: 50%;
    right: -9%;
    width: 80.7rem;
    translate: 50% -50%;
  }
}
@media (max-width: 1024px) {
  .p-subject__figure__deco[data-deco="1"]:is(.p-subject:nth-child(4n+3 of .p-subject) *) {
    top: 17%;
    left: -22%;
    width: 64rem;
    scale: -1 1;
    translate: -50% -50%;
  }
}
@media (max-width: 525px) {
  .p-subject__figure__deco[data-deco="1"]:is(.p-subject:nth-child(4n+3 of .p-subject) *) {
    width: 36.3rem;
  }
}
.p-subject__figure__deco[data-deco="1"]:is(.p-subject:nth-child(4n+4 of .p-subject) *) {
  --c-polygon-color: var(--color-palette-4);
  --c-polygon-opacity: 43%;
  --c-polygon-clip-path: polygon(47.62% 0%, 8.66% 16.51%, 0% 64.69%, 31.24% 100%, 69.92% 89.45%, 100% 32.26%, 47.62% 0%);
  aspect-ratio: 1.085;
}
@media (min-width: 1025px) {
  .p-subject__figure__deco[data-deco="1"]:is(.p-subject:nth-child(4n+4 of .p-subject) *) {
    top: 43%;
    left: 12%;
    width: 74.8rem;
    translate: -50% -50%;
  }
}
@media (max-width: 1024px) {
  .p-subject__figure__deco[data-deco="1"]:is(.p-subject:nth-child(4n+4 of .p-subject) *) {
    top: 54%;
    right: -5.5%;
    width: 62rem;
    scale: -1 1;
    translate: 50% -50%;
  }
}
@media (max-width: 525px) {
  .p-subject__figure__deco[data-deco="1"]:is(.p-subject:nth-child(4n+4 of .p-subject) *) {
    width: 46.1rem;
  }
}
.p-subject__figure__deco[data-deco="2"]:is(.p-subject:nth-child(4n+1 of .p-subject) *) {
  --c-polygon-color: var(--color-palette-2);
  --c-polygon-clip-path: polygon(48.07% 100%, 0% 66.84%, 15.11% 6.04%, 68.63% 0%, 98.78% 35.07%, 100% 81.26%, 48.07% 100%);
  aspect-ratio: 1.089;
  translate: 50% 50%;
}
.p-subject__figure__deco[data-deco="2"]:is(.p-subject:nth-child(4n+1 of .p-subject) *):where(body[data-theme-color=spring] *) {
  --c-polygon-color-percentage: 69%;
}
.p-subject__figure__deco[data-deco="2"]:is(.p-subject:nth-child(4n+1 of .p-subject) *):where(body[data-theme-color=lagoon] *) {
  --c-polygon-color-percentage: 60%;
}
@media (min-width: 1025px) {
  .p-subject__figure__deco[data-deco="2"]:is(.p-subject:nth-child(4n+1 of .p-subject) *) {
    right: 45%;
    bottom: 2rem;
    width: 20.2rem;
  }
}
@media (max-width: 1024px) {
  .p-subject__figure__deco[data-deco="2"]:is(.p-subject:nth-child(4n+1 of .p-subject) *) {
    right: 8%;
    bottom: 11%;
    width: 14.5rem;
  }
}
@media (max-width: 525px) {
  .p-subject__figure__deco[data-deco="2"]:is(.p-subject:nth-child(4n+1 of .p-subject) *) {
    width: 8.4rem;
  }
}
.p-subject__figure__deco[data-deco="2"]:is(.p-subject:nth-child(4n+2 of .p-subject) *) {
  --c-polygon-color: var(--color-palette-5);
  --c-polygon-clip-path: polygon(35.32% 100%, 100% 79.44%, 78.16% 16.52%, 19.06% 0%, 7.06% 31.24%, 0% 70.79%, 35.32% 100%);
  aspect-ratio: 1.048;
}
.p-subject__figure__deco[data-deco="2"]:is(.p-subject:nth-child(4n+2 of .p-subject) *):where(body[data-theme-color=spring] *) {
  --c-polygon-color-percentage: 45%;
}
@media (min-width: 1025px) {
  .p-subject__figure__deco[data-deco="2"]:is(.p-subject:nth-child(4n+2 of .p-subject) *) {
    bottom: 2.5rem;
    left: 33%;
    width: 20.6rem;
    translate: -50% 50%;
  }
}
@media (max-width: 1024px) {
  .p-subject__figure__deco[data-deco="2"]:is(.p-subject:nth-child(4n+2 of .p-subject) *) {
    right: 13%;
    bottom: 4%;
    width: 16rem;
    translate: 50% 50%;
  }
}
@media (max-width: 525px) {
  .p-subject__figure__deco[data-deco="2"]:is(.p-subject:nth-child(4n+2 of .p-subject) *) {
    width: 10.4rem;
  }
}
.p-subject__figure__deco[data-deco="2"]:is(.p-subject:nth-child(4n+3 of .p-subject) *) {
  --c-polygon-color: var(--color-palette-4);
  --c-polygon-clip-path: polygon(100% 25.95%, 81.76% 100%, 15.02% 86.25%, 0% 41.39%, 24.64% 0%, 100% 25.95%);
  aspect-ratio: 1.124;
  translate: 50% 50%;
}
.p-subject__figure__deco[data-deco="2"]:is(.p-subject:nth-child(4n+3 of .p-subject) *):where(body[data-theme-color=spring] *) {
  --c-polygon-color-percentage: 70%;
}
@media (min-width: 1025px) {
  .p-subject__figure__deco[data-deco="2"]:is(.p-subject:nth-child(4n+3 of .p-subject) *) {
    right: 38%;
    bottom: 3.5rem;
    width: 23.3rem;
  }
}
@media (max-width: 1024px) {
  .p-subject__figure__deco[data-deco="2"]:is(.p-subject:nth-child(4n+3 of .p-subject) *) {
    right: 0%;
    bottom: 0%;
    width: 20rem;
  }
}
@media (max-width: 525px) {
  .p-subject__figure__deco[data-deco="2"]:is(.p-subject:nth-child(4n+3 of .p-subject) *) {
    width: 12rem;
  }
}
.p-subject__figure__deco[data-deco="2"]:is(.p-subject:nth-child(4n+4 of .p-subject) *) {
  --c-polygon-color: var(--color-palette-1);
  --c-polygon-clip-path: polygon(100% 64.67%, 79.44% 0%, 16.52% 21.84%, 0% 80.94%, 31.24% 92.94%, 70.79% 100%, 100% 64.67%);
  aspect-ratio: 0.954;
}
.p-subject__figure__deco[data-deco="2"]:is(.p-subject:nth-child(4n+4 of .p-subject) *):where(body[data-theme-color=spring] *) {
  --c-polygon-color-percentage: 45%;
}
@media (min-width: 1025px) {
  .p-subject__figure__deco[data-deco="2"]:is(.p-subject:nth-child(4n+4 of .p-subject) *) {
    bottom: 2.5rem;
    left: 32%;
    width: 19.7rem;
    translate: -50% 50%;
  }
}
@media (max-width: 1024px) {
  .p-subject__figure__deco[data-deco="2"]:is(.p-subject:nth-child(4n+4 of .p-subject) *) {
    right: 20.5%;
    bottom: 0%;
    width: 15rem;
    translate: 50% 50%;
  }
}
@media (max-width: 525px) {
  .p-subject__figure__deco[data-deco="2"]:is(.p-subject:nth-child(4n+4 of .p-subject) *) {
    width: 10rem;
  }
}
.p-subject__header {
  display: grid;
  grid-template-areas: "icon labels" "icon name";
  grid-template-rows: auto 1fr;
  grid-template-columns: auto 1fr;
  column-gap: 0.35em;
  align-items: center;
  margin-bottom: 5rem;
  font-size: 4.2rem;
}
@media (min-width: 1601px) {
  .p-subject__header {
    font-size: 3.8rem;
  }
}
@media (max-width: 1024px) {
  .p-subject__header {
    grid-template-areas: "... labels" "icon name";
    margin-bottom: 2rem;
    font-size: 3.4rem;
  }
}
@media (max-width: 525px) {
  .p-subject__header {
    column-gap: 0.4em;
    font-size: 2.7rem;
  }
}
.p-subject__icon {
  grid-area: icon;
  font-size: 1.85em;
  color: var(--icon-color);
}
@media (max-width: 525px) {
  .p-subject__icon {
    font-size: 1.95em;
  }
}
.p-subject__name {
  grid-area: name;
  font-family: var(--font-heading);
  font-weight: bold;
  line-height: 1.25;
  color: var(--color-text-heading);
}
.p-subject__labels {
  display: flex;
  flex-wrap: wrap;
  grid-area: labels;
  gap: 0.5em;
  font-family: var(--font-maru);
  font-size: var(--font-size-lg);
  font-weight: bold;
  line-height: 1;
}
@media (min-width: 1025px) {
  .p-subject__labels {
    margin-bottom: 0.5em;
  }
}
@media (max-width: 1024px) {
  .p-subject__labels {
    margin-top: 0.35em;
    font-size: var(--font-size-sm);
  }
}
@media (max-width: 525px) {
  .p-subject__labels {
    margin-block: 0.35em;
  }
}
.p-subject__labels__item {
  display: inline-block;
  padding-block: 0.47em 0.42em;
  padding-inline: 0.8em;
  color: var(--color-text-contrast);
  background-color: var(--label-bg-color);
}
.p-subject__overview {
  --c-list-row-gap: 0.25em;
  margin-top: 2rem;
  font-family: var(--font-maru);
  font-size: 2.8rem;
  font-weight: bold;
  color: var(--color-text-heading);
}
@media (min-width: 1601px) {
  .p-subject__overview {
    font-size: 2.5rem;
  }
}
@media (max-width: 1024px) {
  .p-subject__overview {
    font-size: 2.3rem;
  }
}
@media (max-width: 525px) {
  .p-subject__overview {
    font-size: 1.8rem;
  }
}
.p-subject__content {
  margin-top: 3.5rem;
}
@media (max-width: 1024px) {
  .p-subject__content {
    margin-top: 2.25rem;
  }
}
.p-subject__notes {
  margin-top: 3.5rem;
  font-size: var(--font-size-sm);
}
@media (min-width: 1601px) {
  .p-subject__notes {
    font-size: 1.2rem;
  }
}
@media (max-width: 1024px) {
  .p-subject__notes {
    margin-top: 2.25rem;
  }
}
.p-subject__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: flex-end;
  margin-top: 3.5rem;
}
@media (max-width: 525px) {
  .p-subject__buttons {
    margin-top: 2.5rem;
  }
}
.p-subject__columns {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  row-gap: var(--section-gap-xs);
  margin-top: var(--section-gap-md);
}
@media (max-width: 525px) {
  .p-subject__columns {
    margin-inline: calc(var(--current-container-padding) / -2);
  }
}
.p-subject__columns__deco {
  position: absolute;
}
.p-subject__columns__deco[data-deco="1"] {
  --c-polygon-clip-path: polygon(70.85% 0%, 100% 48.87%, 85.52% 79.68%, 3.89% 100%, 0% 21.84%, 70.85% 0%);
  aspect-ratio: 1.001;
  translate: 50% -50%;
}
@media (min-width: 1025px) {
  .p-subject__columns__deco[data-deco="1"] {
    top: -0.5rem;
    right: 6%;
    width: 7.74rem;
  }
}
@media (max-width: 1024px) {
  .p-subject__columns__deco[data-deco="1"] {
    top: -1.85rem;
    right: 17%;
    width: 5.5rem;
  }
}
@media (max-width: 525px) {
  .p-subject__columns__deco[data-deco="1"] {
    top: -1rem;
    width: 3.9rem;
  }
}
.p-subject__columns__deco[data-deco="2"] {
  --c-polygon-clip-path: polygon(77.88% 0%, 100% 58.04%, 71.09% 100%, 0% 81.73%, 22.73% 18.81%, 77.88% 0%);
  aspect-ratio: 0.899;
  translate: 50% -50%;
}
@media (min-width: 1025px) {
  .p-subject__columns__deco[data-deco="2"] {
    top: 4rem;
    right: 3%;
    width: 3.75rem;
  }
}
@media (max-width: 1024px) {
  .p-subject__columns__deco[data-deco="2"] {
    top: 1rem;
    right: 12%;
    width: 2.75rem;
  }
}
@media (max-width: 525px) {
  .p-subject__columns__deco[data-deco="2"] {
    top: 1.25rem;
    width: 1.9rem;
  }
}
.p-subject__columns__deco[data-deco="3"] {
  --c-polygon-clip-path: polygon(39.2% 100%, 100% 67.91%, 69.11% 6.95%, 8.32% 0%, 1.1% 34.14%, 0% 75.97%, 39.2% 100%);
  aspect-ratio: 1.091;
  translate: -50% 50%;
}
.p-subject__columns__deco[data-deco="3"]:where(body[data-theme-color=rose] *) {
  --c-polygon-color-percentage: 50%;
}
.p-subject__columns__deco[data-deco="3"]:where(body[data-theme-color=lagoon] *) {
  --c-polygon-color-percentage: 60%;
}
@media (min-width: 1025px) {
  .p-subject__columns__deco[data-deco="3"] {
    bottom: 4rem;
    left: 0%;
    width: 17.2rem;
  }
}
@media (max-width: 1024px) {
  .p-subject__columns__deco[data-deco="3"] {
    bottom: 1rem;
    left: 0%;
    width: 17.2rem;
  }
}
@media (max-width: 525px) {
  .p-subject__columns__deco[data-deco="3"] {
    width: 14.8rem;
  }
}

.p-column {
  display: flex;
}
@media (min-width: 1025px) {
  .p-column {
    column-gap: 5rem;
    padding-block: 6.5rem;
    padding-inline: 7.25rem;
  }
}
@media (max-width: 1024px) {
  .p-column {
    flex-direction: column;
    row-gap: 3.5rem;
  }
}
@media (max-width: 525px) {
  .p-column {
    row-gap: 2rem;
    padding-block: 3rem;
  }
}
.p-column__heading {
  margin-bottom: 0.75em;
  font-size: var(--font-size-xl);
  text-align: left;
}
@media (max-width: 525px) {
  .p-column__heading {
    font-size: 1.8rem;
  }
}
.p-column__main {
  flex: 1;
}
.p-column__figure {
  order: -1;
}
@media (min-width: 1025px) {
  .p-column__figure {
    width: 36rem;
  }
}
@media (min-width: 526px) and (max-width: 1024px) {
  .p-column__figure {
    width: 80%;
    margin-inline: auto;
  }
}