.p-mv {
  --initial-color: var(--color-primary);
  --overlay-color: rgba(var(--color-grey-dark-rgb), 33%);
  position: relative;
  z-index: 0;
  background: var(--initial-color);
}
.p-mv:where(body[data-theme-color=black] *) {
  --overlay-color: rgba(var(--color-primary-rgb), 65%);
}
.p-mv:where(body[data-theme-color=gold] *) {
  --overlay-color: rgba(var(--color-cream-rgb), 0%);
}
.p-mv:where(body[data-theme-color=blue] *) {
  --overlay-color: linear-gradient(to bottom, rgba(var(--color-charcoal-rgb), 25%), rgba(var(--color-charcoal-rgb), 13%) 25%);
}
.p-mv::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: var(--overlay-color);
}
.p-mv__slider {
  --panel-count: 1;
  --parallax-easing: var(--ease-out-quint);
  position: relative;
  z-index: 0;
  display: flex;
  width: 100%;
  opacity: 0;
  animation-name: fade-in;
  animation-duration: 1.25s;
  animation-delay: 0.5s;
  animation-fill-mode: forwards;
}
.js-has-pseudo [csstools-has-1a-34-19-31-3a-2n-2n-37-30-2x-2s-2t-36-1m-2w-2p-37-14-1q-w-16-1m-32-38-2w-19-2r-2w-2x-30-2s-14-1e-15-15]:not(.does-not-exist) {
  --panel-count: 2;
}
.p-mv__slider:has(> *:nth-child(2)) {
  --panel-count: 2;
}
@media (min-width: 769px) {
  .p-mv__slider {
    aspect-ratio: 2/1;
  }
}
@media (max-width: 768px) {
  .p-mv__slider {
    flex-direction: column;
    aspect-ratio: 1/1.195;
  }
}
@media (max-width: 525px) {
  .p-mv__slider {
    aspect-ratio: 1/1.4;
  }
}
.p-mv__slider__panel {
  flex: 1;
}
@media (min-width: 769px) {
  .p-mv__slider__panel {
    max-width: calc(100% / var(--panel-count));
    height: 100%;
  }
}
@media (max-width: 768px) {
  .p-mv__slider__panel {
    width: 100%;
    max-height: calc(100% / var(--panel-count));
  }
}
.p-mv__slider__panel__inner {
  width: 100%;
  height: 100%;
}
.p-mv__slider__panel__inner:is(.p-mv__slider__panel:nth-child(even) > *) {
  position: relative;
  rotate: 180deg;
}
.p-mv__slider__panel__list {
  width: 100%;
  height: 100%;
}
.p-mv__slider__panel__list:is([data-effect-type=parallax] *) {
  transition-timing-function: var(--parallax-easing);
}
.p-mv__slider__item {
  --zoom-scale: 1.08;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
@media (max-width: 768px) {
  .p-mv__slider__item {
    --zoom-scale: 1.12;
  }
}
.p-mv__slider__item:is([data-effect-type=slide] *) {
  transition-timing-function: var(--ease-out-cubic);
}
.p-mv__slider__item__inner {
  position: relative;
  width: 100%;
  height: 100%;
}
.p-mv__slider__item__inner:is([data-effect-type=parallax] *) {
  transition-timing-function: var(--parallax-easing);
}
@keyframes zoom-out {
  0% {
    transform: scale(var(--zoom-scale));
  }
  100% {
    transform: scale(1);
  }
}
.p-mv__slider__item:is(.swiper-slide-active, .swiper-slide-duplicate-active, .swiper-slide-prev):is([data-effect-type=fade] *) img {
  animation: zoom-out 10s linear 0s normal both;
}
.p-mv__slider__item img {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center center;
}
@media (min-width: 769px) {
  .p-mv__slider__item img:is(.p-mv__slider__panel:nth-child(odd) *) {
    object-position: right;
  }
}
@media (max-width: 768px) {
  .p-mv__slider__item img:is(.p-mv__slider__panel:nth-child(odd) *) {
    object-position: bottom;
  }
}
.p-mv__slider__item img:is(.p-mv__slider__panel:nth-child(even) *) {
  rotate: 180deg;
}
@media (min-width: 769px) {
  .p-mv__slider__item img:is(.p-mv__slider__panel:nth-child(even) *) {
    object-position: left;
  }
}
@media (max-width: 768px) {
  .p-mv__slider__item img:is(.p-mv__slider__panel:nth-child(even) *) {
    object-position: top;
  }
}
.p-mv__catch {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  padding: 50px;
  opacity: 0;
  animation-name: fade-in;
  animation-duration: 1.5s;
  animation-delay: 0.1s;
  animation-fill-mode: forwards;
}
.p-mv__catch__item {
  display: flex;
  align-items: end;
  justify-content: center;
  width: 100%;
  height: 100%;
  opacity: 1 !important;
}
.p-mv__catch__item:not(.swiper-slide-active) {
  /* opacity: 0 !important; */
}
.p-mv__catch__text {
  font-family: var(--font-serif);
  font-size: min(5.5rem, 8.5 * var(--vw));
  line-height: 1.35;
  color: var(--color-text-contrast);
  letter-spacing: 0.08em;
}
.p-mv__catch__text:where(body[data-theme-color=gold] *) {
  /* filter: drop-shadow(1px 1px 1.5px rgba(0, 0, 0, 0.7)) drop-shadow(1px 1px 6px rgba(var(--color-ash-brown-rgb), 50%)) drop-shadow(2px 2px 8px rgba(var(--color-primary-rgb), 20%)); */
}
@media (max-width: 525px) {
  .p-mv__catch__text:where(body[data-theme-color=gold] *) {
    /* filter: drop-shadow(0.5px 0.5px 1.5px rgba(0, 0, 0, 0.7)) drop-shadow(0.5px 0.5px 2px rgba(var(--color-ash-brown-rgb), 40%)) drop-shadow(1.5px 1.5px 4px rgba(var(--color-ash-brown-rgb), 35%)) drop-shadow(1px 1px 6px rgba(var(--color-primary-rgb), 30%)); */
  }
}
.p-mv__catch__text:where(body[data-theme-color=blue] *) {
  filter: drop-shadow(1px 1px 4px rgba(0, 0, 0, 0.4)) drop-shadow(2px 2px 10px rgba(var(--color-primary-rgb), 60%));
}
.p-mv__catch__text > img {
  max-width: 100%;
  height: auto;
  padding-bottom:40px;
}

.p-info-area {
  padding-bottom: 120px;
  background-image: var(--bg-primary);
  background-size: cover;
}
.p-info-area:where(body[data-theme-color=black] *) {
  background-repeat: repeat-y;
  background-size: 100%;
}
@media (max-width: 768px) {
  .p-info-area__intro {
    display: flex;
    flex-direction: column-reverse;
  }
}
.p-info-area__intro__notice {
  color: var(--color-text-contrast);
  background-color: rgba(var(--color-primary-rgb), 65%);
}
@media (max-width: 768px) {
  .p-info-area__intro__notice {
    padding-top: 32px;
    padding-bottom: 32px;
  }
}
@media (min-width: 769px) {
  .p-info-area__intro__clinic {
    padding-top: 80px;
  }
}
@media (max-width: 768px) {
  .p-info-area__intro__clinic {
    padding-bottom: 50px;
  }
}

.p-notice__inner {
  display: flex;
  gap: 4em 7%;
  justify-content: center;
  padding-bottom: 40px;
}
@media (max-width: 1024px) {
  .p-notice__inner {
    flex-direction: column;
    padding-top: 2em;
    padding-left: 0;
  }
}
.p-notice__item {
  --dash-size: 40px;
  --dash-thickness: 1px;
  --dash-gap: 1em;
  display: flex;
  flex: 1;
  gap: 0.5em 1em;
}
@media (min-width: 1025px) {
  .p-notice__item {
    max-width: 55%;
  }
}
@media (max-width: 1024px) {
  .p-notice__item {
    --dash-size: 15cqw;
    --dash-gap: 5cqw;
    flex-direction: column;
  }
}
@media (max-width: 525px) {
  .p-notice__item {
    --dash-size: 30px;
    --dash-gap: 10px;
  }
}
.p-notice__item__heading {
  display: flex;
  gap: var(--dash-gap);
  align-items: center;
  font-size: 2.4rem;
  letter-spacing: 0.15em;
  writing-mode: vertical-rl;
}
.p-notice__item__heading::before {
  width: var(--dash-thickness);
  height: var(--dash-size);
  content: "";
  background-color: currentcolor;
}
@media (max-width: 1024px) {
  .p-notice__item__heading {
    writing-mode: unset;
  }
  .p-notice__item__heading::before {
    width: var(--dash-size);
    height: var(--dash-thickness);
  }
}
.p-notice__item__body {
  container-type: inline-size;
  flex: 1;
}
@media (min-width: 1025px) {
  .p-notice__item__body {
    padding-top: var(--dash-size);
  }
}
@media (max-width: 1024px) {
  .p-notice__item__body {
    padding-left: calc(var(--dash-size) + var(--dash-gap));
  }
}
.p-notice__item__main {
  font-size: var(--font-size-sm);
}
@media (min-width: 1025px) {
  .p-notice__item__main {
    min-height: 160px;
  }
}
.p-notice__item__open {
  font-size: 2.5rem;
  line-height: 1.4;
  letter-spacing: 0.07em;
}
@media (min-width: 1025px) {
  .p-notice__item__open {
    padding-left: 1em;
  }
}
@media (max-width: 1024px) {
  .p-notice__item__open {
    font-size: 2.0rem;
  }
}
.p-notice__item__open em {
  font-size: 2em;
  font-style: normal;
}
.js-has-pseudo [csstools-has-1a-34-19-32-33-38-2x-2r-2t-2n-2n-2x-38-2t-31-2n-2n-33-34-2t-32-1m-2w-2p-37-14-2t-31-1a-3d-2t-2p-36-15-w-2t-31]:not(.does-not-exist):not(does-not-exist):not(does-not-exist) {
  font-size: min(1.85em, 10cqw);
}
.p-notice__item__open:has(em.year) em {
  font-size: min(1.85em, 14cqw);
}
.p-notice__item__open small {
  font-size: 0.8em;
}
.p-notice__item__preview {
  display: grid;
  row-gap: 0.2em;
  font-size: 2.5rem;
  line-height: 1.35;
  letter-spacing: 0.07em;
}
@media (min-width: 1025px) {
  .p-notice__item__preview {
    width: fit-content;
    margin-right: auto;
    margin-left: auto;
  }
}
.p-notice__item__preview > li {
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.5em;
  align-items: baseline;
}
.p-notice__item__preview > li span {
  display: inline-block;
}
.p-notice__item__preview > li em {
  font-size: 1.5em;
  font-style: normal;
}
.p-notice__item__message {
  position: relative;
  padding-top: 1.5em;
  margin-top: 1.5em;
  font-size: var(--font-size-sm);
}
.p-notice__item__message::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  content: "";
  background-color: currentcolor;
  opacity: 0.4;
}

.p-clinic-info__inner {
  width: 1160px;
}
.p-clinic-info__logo {
  display: block;
  max-width: 50%;
}
@media (max-width: 768px) {
  .p-clinic-info__logo {
    display: none;
  }
}
.p-clinic-info__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2em 4em;
  margin-top: 2em;
}
@media (max-width: 768px) {
  .p-clinic-info__body {
    display: flex;
    flex-direction: column-reverse;
  }
}
.p-clinic-info__box {
  container-type: inline-size;
}
.p-clinic-info__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.15em 5cqw;
  justify-content: center;
  margin-top: 0.75em;
}
.p-clinic-info__buttons > a {
  flex: 1;
  max-width: 320px;
}
@media (max-width: 768px) {
  .p-clinic-info__buttons {
    display: none;
  }
}
.p-clinic-info__tel {
  display: flex;
  align-items: baseline;
  width: fit-content;
  margin-inline: auto;
  font-size: min(5rem, 13cqw);
  font-weight: var(--font-weight-bold);
  line-height: 1.5;
}
@media (max-width: 768px) {
  .p-clinic-info__tel {
    margin-top: 0.15em;
  }
}
@media (max-width: 525px) {
  .p-clinic-info__tel {
    font-size: min(4rem, 13cqw);
  }
}
.p-clinic-info__tel small {
  margin-right: 0.35em;
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-regular);
}
.p-clinic-info__schedule:where(body[data-theme-color=gold] *) {
  --accent-color: var(--color-ocher);
  --border-color: rgba(var(--color-ocher-rgb), 0.65);
}
@media (min-width: 769px) {
  .p-clinic-info__schedule {
    margin-top: 1em;
  }
}
.p-clinic-info__sns {
  margin-top: 1.5em;
}
@media (min-width: 769px) {
  .p-clinic-info__sns {
    display: none;
  }
}
.p-clinic-info__sns .l-sns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  align-items: center;
  justify-content: center;
  font-size: 29px;
}
.p-clinic-info__sns .l-sns__link {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1/1;
  padding: 5px;
}
.p-clinic-info__sns .l-sns__text {
  display: none;
}

.p-info {
  --tab-active-bg-color: var(--color-primary);
  position: relative;
  z-index: 0;
  margin-top: 120px;
}
.p-info:where(body[data-theme-color=gold] *) {
  --tab-active-bg-color: linear-gradient(var(--slash-deg), var(--color-wheat), var(--color-ocher));
}
.p-info:where(body[data-theme-color=blue] *) {
  --tab-active-bg-color: rgba(var(--color-primary-rgb), 65%);
}
@media (max-width: 768px) {
  .p-info {
    margin-top: 80px;
  }
}
.p-info__inner {
  --column-gap: 3em;
  container-type: inline-size;
  position: relative;
  display: flex;
  column-gap: var(--column-gap);
}
@media (max-width: 768px) {
  .p-info__inner {
    flex-direction: column;
  }
}
.p-info__header {
  position: relative;
  z-index: 1;
}
@media (max-width: 768px) {
  .p-info__header {
    padding-left: var(--container-padding);
  }
}
@media (max-width: 768px) {
  .p-info__heading {
    left: var(--container-padding);
  }
}
.p-info__body {
  position: relative;
  z-index: 0;
  flex: 1;
  padding: 2.5em var(--container-padding) 2em;
  padding-right: 0;
  margin-top: 58px;
}
@media (max-width: 768px) {
  .p-info__body {
    margin-top: 0;
  }
}
.p-info__body::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  margin-right: calc(50cqw - 50 * var(--vw));
  margin-left: calc((var(--column-gap) + 8.5rem) * -1);
  content: "";
  background-color: var(--color-bg-primary);
}
@media (max-width: 768px) {
  .p-info__body::before {
    margin-top: -6.5rem;
    margin-left: 0;
  }
}
.p-info__content {
  max-width: 800px;
  margin-inline: auto;
}
.p-info__tabs {
  display: flex;
  gap: 1em;
  padding: 0.75em;
}
@media (max-width: 525px) {
  .p-info__tabs {
    font-size: var(--font-size-sm);
  }
}
.p-info__tab {
  position: relative;
  z-index: 0;
  padding: 0.65em 1.6em;
  line-height: 1;
  color: var(--color-text-primary);
  transition: color 0.2s;
}
@media (max-width: 525px) {
  .p-info__tab {
    padding: 0.75em 1em;
    font-weight: bold;
  }
}
.p-info__tab::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: var(--tab-active-bg-color);
  opacity: 0;
  transition: opacity 0.2s;
}
.p-info__tab[aria-selected=true], .p-info__tab:hover {
  color: var(--color-text-contrast);
}
.p-info__tab[aria-selected=true]::before, .p-info__tab:hover::before {
  opacity: 1;
}
.p-info__panel[aria-hidden=true] {
  display: none;
}
.p-info__panel[aria-hidden=false] {
  display: block;
}
.p-info__scroll {
  --border: 1px solid currentcolor;
  height: 300px;
}
@media (max-width: 525px) {
  .p-info__scroll {
    height: 320px;
    max-height: 50vh;
  }
}
.p-info__post {
  padding: 1em;
  border-bottom: var(--border);
}
.p-info__post:first-child {
  border-top: var(--border);
}
.p-info__post__header {
  display: flex;
  gap: 0.75em;
  font-weight: bold;
}
@media (max-width: 525px) {
  .p-info__post__header {
    flex-direction: column;
    gap: 0;
    margin-bottom: 0.25em;
  }
}
.p-info__post__date {
  min-width: 5.5em;
}
.p-info__post__title::before {
  content: "[";
}
.p-info__post__title::after {
  content: "]";
}
.p-info__more-button {
  max-width: unset;
  padding-right: 4.1em;
  margin-top: 0.5em;
  margin-left: auto;
  overflow: visible;
  clip-path: unset;
}
.p-info__more-button::before {
  display: none;
}

.p-apo {
  position: relative;
  z-index: 0;
  margin-top: 120px;
}
.p-apo__header {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5em 50px;
  align-items: center;
  margin-bottom: 3em;
}
@media (max-width: 525px) {
  .p-apo__heading {
    --font-size: 5.5rem;
  }
}
.p-apo__intro {
  font-size: var(--font-size-lg);
}
.p-apo__body {
  --column-count: 2;
  --column-gap: 3em;
  --row-gap: 4em;
  display: flex;
  flex-wrap: wrap;
  gap: var(--row-gap) var(--column-gap);
  justify-content: center;
}
@media (max-width: 1024px) {
  .p-apo__body {
    --column-count: 1;
  }
}
.p-apo__item {
  --heading-size: var(--font-size-xxl);
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  width: calc((100% - var(--column-gap) * (var(--column-count) - 1)) / var(--column-count));
  max-width: 750px;
  background-color: rgba(var(--color-bg-secondary-rgb), 65%);
}
.p-apo__item:where(body[data-theme-color=blue] *) {
  background-color: rgba(var(--color-bg-primary-rgb), 65%);
}
@media (max-width: 525px) {
  .p-apo__item--web {
    --heading-size: 2.5rem;
  }
}
.p-apo__item__header {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 1.35em 1em;
  justify-content: flex-start;
  padding: 0 2em;
  margin-bottom: calc(var(--heading-size) / -2);
  transform: translateY(calc(var(--heading-size) / -2));
}
@container (width <= 513px) {
  .p-apo__item__header {
    flex-direction: column;
    padding: 0 1em;
  }
}
.p-apo__item__heading {
  font-size: var(--heading-size);
  font-weight: bold;
  line-height: 1;
  color: var(--color-heading-primary);
}
.p-apo__item__heading:where(body[data-theme-color=blue] *) {
  color: var(--color-heading-secondary);
}
.p-apo__item__badge {
  --border-width: 2px;
  padding: 0.5em 0.25em;
  font-weight: bold;
  line-height: 1;
  text-align: center;
  border-top: var(--border-width) solid;
  border-bottom: var(--border-width) solid;
}
.p-apo__item__badge:where(body[data-theme-color=blue] *) {
  color: var(--color-heading-secondary);
}
@container (width <= 513px) {
  .p-apo__item__badge {
    width: calc(100% - 2em);
    margin-inline: auto;
  }
}
.p-apo__item__box {
  position: relative;
  z-index: 1;
  flex: 1;
  padding: 2em;
}
.p-apo__tel {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.p-apo__tel__num {
  display: flex;
  align-items: baseline;
  font-size: 5rem;
  font-weight: var(--font-weight-bold);
  line-height: 1.5;
  white-space: nowrap;
}
.p-apo__tel__num:where(body[data-theme-color=blue] *) {
  color: var(--color-heading-secondary);
}
@media (max-width: 768px) {
  .p-apo__tel__num {
    font-size: 4rem;
  }
}
.p-apo__tel__num small {
  margin-right: 0.35em;
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-regular);
}
@media (max-width: 768px) {
  .p-apo__tel__num small {
    font-size: var(--font-size-sm);
  }
}
@media (max-width: 525px) {
  .p-apo__tel__num small {
    display: none;
  }
}
.p-apo__tel__text {
  font-size: var(--font-size-sm);
}
@media (min-width: 526px) {
  .p-apo__web {
    display: grid;
    grid-template-areas: "text qr" "buttons qr";
    grid-template-columns: 1fr auto;
    gap: 1em;
  }
}
.p-apo__web__text {
  grid-area: text;
  font-size: var(--font-size-sm);
}
@media (max-width: 525px) {
  .p-apo__web__text {
    display: none;
  }
}
.p-apo__web__buttons {
  grid-area: buttons;
}
@media (min-width: 526px) {
  .js-has-pseudo .p-apo__web__buttons:not([csstools-has-1m-2w-2p-37-14-1q-w-2p-1m-32-38-2w-19-2r-2w-2x-30-2s-14-1e-15-15]:not(does-not-exist)) {
    max-width: 300px;
  }
  .p-apo__web__buttons:not(:has(> a:nth-child(2))) {
    max-width: 300px;
  }
  .js-has-pseudo [csstools-has-1a-34-19-2p-34-33-2n-2n-3b-2t-2q-2n-2n-2q-39-38-38-33-32-37-1m-2w-2p-37-14-1q-w-2p-1m-32-38-2w-19-2r-2w-2x-30-2s-14-1e-15-15]:not(.does-not-exist):not(does-not-exist) {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65em 0.75em;
  }
  .p-apo__web__buttons:has(> a:nth-child(2)) {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65em 0.75em;
  }
  .js-has-pseudo [csstools-has-1a-34-19-2p-34-33-2n-2n-3b-2t-2q-2n-2n-2q-39-38-38-33-32-37-1m-2w-2p-37-14-1q-w-2p-1m-32-38-2w-19-2r-2w-2x-30-2s-14-1e-15-15-w-1q-w-2p]:not(.does-not-exist):not(does-not-exist):not(does-not-exist) {
    flex: 1;
    width: unset;
    min-width: 160px;
    max-width: 300px;
  }
  .p-apo__web__buttons:has(> a:nth-child(2)) > a {
    flex: 1;
    width: unset;
    min-width: 160px;
    max-width: 300px;
  }
  .js-has-pseudo [csstools-has-1a-34-19-2p-34-33-2n-2n-3b-2t-2q-2n-2n-2q-39-38-38-33-32-37-1m-2w-2p-37-14-1q-w-2p-1m-32-38-2w-19-2r-2w-2x-30-2s-14-1f-15-15-w-1q-w-2p]:not(.does-not-exist):not(does-not-exist):not(does-not-exist) {
    min-height: 50px;
  }
  .p-apo__web__buttons:has(> a:nth-child(3)) > a {
    min-height: 50px;
  }
}
@media (max-width: 525px) {
  .p-apo__web__buttons {
    display: flex;
    flex-direction: column;
    gap: 1em;
    align-items: center;
  }
}
.p-apo__web__qr {
  display: block;
  grid-area: qr;
  width: 115px;
  height: auto;
}
@media (max-width: 525px) {
  .p-apo__web__qr {
    display: none;
  }
}

.p-policy {
  --padding-y: 150px;
  --slash-color: rgba(var(--color-primary-rgb), 64%);
  --overlay-color: rgba(var(--color-primary-rgb), 55%);
  --heading-color: var(--color-text-contrast);
  position: relative;
  z-index: 0;
  padding-top: var(--padding-y);
  padding-bottom: var(--padding-y);
  overflow: hidden;
  color: var(--color-text-contrast);
}
.p-policy:where(body[data-theme-color=black] *) {
  --slash-color: rgba(var(--color-primary-rgb), 30%);
  --overlay-color: rgba(var(--color-primary-rgb), 55%);
}
.p-policy:where(body[data-theme-color=gold] *) {
  --slash-color: rgba(var(--color-cream-rgb), 48%);
  --overlay-color: rgba(var(--color-stone-rgb), 68%);
}
.p-policy:where(body[data-theme-color=blue] *) {
  --overlay-color: rgba(var(--color-grey-dark-rgb), 65%);
  --heading-color: var(--color-heading-primary);
}
@media (max-width: 768px) {
  .p-policy {
    --padding-y: 100px;
  }
}
.p-policy::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background-color: var(--overlay-color);
  opacity: var(--progress);
}
.p-policy__backdrop {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  width: 100%;
}
@media (max-width: 525px) {
  .p-policy__backdrop {
    top: 20%;
  }
}
.p-policy__backdrop::before {
  flex-shrink: 0;
  height: 100%;
  aspect-ratio: 1/1;
  content: "";
  background-image: linear-gradient(to right bottom, transparent, transparent 50%, var(--slash-color) 50%);
}
.p-policy__backdrop::after {
  flex-shrink: 0;
  width: calc(55 * var(--vw) - var(--padding-y) * 1.5);
  height: 100%;
  content: "";
  background-color: var(--slash-color);
}
@media (max-width: 768px) {
  .p-policy__backdrop::after {
    width: calc(50 * var(--vw) - var(--padding-y) * 1.5);
  }
}
@media (max-width: 525px) {
  .p-policy__backdrop::after {
    width: 0;
  }
}
.p-policy__bg {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.p-policy__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 2em;
}
@media (max-width: 768px) {
  .p-policy__inner {
    grid-template-columns: 1fr;
  }
}
.p-policy__body {
  margin-top: 2em;
}
.p-policy__body:where(body[data-theme-color=gold] *) {
  color: var(--color-heading-primary);
}
@media (max-width: 768px) {
  .p-policy__body:where(body[data-theme-color=blue] *) {
    text-shadow: 0.5px 0.5px 1.5px rgba(0, 0, 0, 0.25), 0 0 2px rgba(0, 0, 0, 0.2), 0 0 7px rgba(var(--color-navy-rgb), 45%), 0 0 7px rgba(var(--color-primary-rgb), 50%);
  }
}
.p-policy__heading {
  margin-bottom: 1em;
  font-size: var(--font-size-xxl);
  font-weight: bold;
}
@media (max-width: 768px) {
  .p-policy__heading:where(body[data-theme-color=gold] *) {
    text-shadow: 0.5px 0.5px 2px rgba(255, 255, 255, 0.9), 0 0 7px rgba(255, 255, 255, 0.8), 0 0 8px rgba(var(--color-cream-rgb), 70%);
  }
}
.p-policy__content {
  line-height: 2.5;
}
@media (max-width: 768px) {
  .p-policy__content:where(body[data-theme-color=gold] *) {
    text-shadow: 0.5px 0.5px 2px white, 0 0 4px rgba(255, 255, 255, 0.8), 0 0 6px rgba(255, 255, 255, 0.5), 0 0 8px rgba(var(--color-cream-rgb), 60%), 0 0 8px rgba(var(--color-cream-rgb), 60%);
  }
}

.p-greeting {
  --column-gap: 4cqw;
  position: relative;
  z-index: 0;
  padding-top: 120px;
  overflow: hidden;
}
.p-greeting__inner {
  position: relative;
  display: grid;
  container-type: inline-size;
}
@media (min-width: 1025px) {
  .p-greeting__inner {
    grid-template-areas: "header header" "portrait heading" "portrait main" "career main" "career main" "career sign" "career buttons" "career ...";
    grid-template-rows: repeat(4, auto) 0;
    grid-template-columns: minmax(460px, 1fr) 1fr;
    column-gap: var(--column-gap);
  }
}
@media (max-width: 1024px) {
  .p-greeting__inner {
    grid-template-areas: "header" "portrait" "heading" "main" "sign" "career" "buttons";
    grid-template-columns: 1fr;
  }
}
.p-greeting__heading-bg {
  --overlap-width: 4cqw;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  display: block;
  margin-right: calc(50cqw - 50 * var(--vw) + (var(--container-padding-left) - var(--container-padding-right)) / 2);
  background-image: var(--bg-secondary);
  background-position: center center;
  background-size: cover;
}
@media (min-width: 1025px) {
  .p-greeting__heading-bg {
    grid-row: 1/3;
    grid-column: 2/3;
    height: calc(100% - 3rem);
    margin-left: calc((var(--column-gap) + var(--overlap-width)) * -1);
  }
}
@media (max-width: 1024px) {
  .p-greeting__heading-bg {
    grid-row: 3/4;
    grid-column: 1/2;
    height: 100%;
  }
}
.p-greeting__header {
  grid-area: header;
  margin-bottom: 3em;
}
.p-greeting__heading {
  grid-area: heading;
  height: fit-content;
  padding: 1em 0;
  font-size: var(--font-size-xxl);
  font-weight: bold;
  color: var(--color-heading-primary);
  letter-spacing: 0.02em;
}
.p-greeting__heading:where(body[data-theme-color=black] *) {
  color: var(--color-text-contrast);
}
.p-greeting__heading:where(body[data-theme-color=blue] *) {
  color: var(--color-charcoal);
}
@media (max-width: 1024px) {
  .p-greeting__heading {
    padding-left: var(--container-padding);
  }
}
.p-greeting__portrait {
  position: relative;
  z-index: 2;
  grid-area: portrait;
  padding-left: var(--container-padding);
}
@media (max-width: 1024px) {
  .p-greeting__portrait {
    padding-left: 0;
    margin-bottom: 1.5em;
  }
}
@media (max-width: 525px) {
  .p-greeting__portrait {
    margin-left: calc(var(--container-padding) * -1);
  }
}
.p-greeting__portrait > img {
  display: block;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 654/800;
  object-fit: cover;
}
@media (max-width: 1024px) {
  .p-greeting__portrait > img {
    margin-right: auto;
    margin-left: auto;
  }
}
@media (max-width: 525px) {
  .p-greeting__portrait > img {
    margin-left: unset;
  }
}
.p-greeting__main {
  grid-area: main;
  padding-top: 2em;
}
@media (max-width: 1024px) {
  .p-greeting__main {
    padding-left: var(--container-padding);
  }
}
@media (max-width: 525px) {
  .p-greeting__main {
    padding-left: 0.2em;
  }
}
.p-greeting__sign {
  grid-area: sign;
  justify-content: flex-end;
  margin-top: 4.5em;
}
@media (max-width: 1024px) {
  .p-greeting__sign {
    justify-content: center;
    margin-top: 2em;
  }
}
.p-greeting__buttons {
  display: flex;
  flex-wrap: wrap;
  grid-area: buttons;
  gap: 1em;
  justify-content: flex-end;
  margin-top: 2.5em;
}
@media (max-width: 1024px) {
  .p-greeting__buttons {
    justify-content: center;
    margin-top: 3em;
  }
}
.p-greeting__career {
  --overlap-height: 5em;
  position: relative;
  z-index: 1;
  grid-area: career;
  max-width: 500px;
  padding-right: 3cqw;
}
.p-greeting__career:where(body[data-theme-color=black] *) {
  --heading-color: var(--color-text-contrast);
  color: var(--color-text-contrast);
}
.p-greeting__career:where(body[data-theme-color=gold] *) {
  color: var(--color-heading-primary);
}
.p-greeting__career:where(body[data-theme-color=blue] *) {
  --heading-color: currentcolor;
  font-weight: bold;
}
@media (max-width: 1024px) {
  .p-greeting__career {
    margin-top: 3em;
  }
}
.p-greeting__career__inner {
  position: relative;
  padding: 3em var(--container-padding) 5em;
}
@media (max-width: 1024px) {
  .p-greeting__career__inner {
    padding-bottom: 3em;
    padding-left: 0;
  }
}
.p-greeting__career__heading:where(body[data-theme-color=black] *) {
  text-shadow: 0 0 5px rgba(var(--color-text-primary-rgb), 0.55), 1px 1px 8px rgba(var(--color-text-primary-rgb), 0.55);
}
.p-greeting__career__list:where(body[data-theme-color=black] *) {
  text-shadow: 0 0 5px rgba(var(--color-text-primary-rgb), 0.65), 1px 1px 8px rgba(var(--color-text-primary-rgb), 0.65), 1px 1px 8px rgba(var(--color-text-primary-rgb), 0.5), 1px 1px 10px rgba(var(--color-text-primary-rgb), 0.35), 1px 1px 10px rgba(var(--color-text-primary-rgb), 0.35);
}
.p-greeting__career__bg {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: -1;
  width: calc(100% + 50 * var(--vw) - 50cqw);
  height: calc(100% + var(--overlap-height));
  background-image: var(--bg-secondary);
  background-position: center center;
  background-size: cover;
}
@media (max-width: 1024px) {
  .p-greeting__career__bg {
    height: 100%;
  }
}

.p-features {
  --overlap-height: 73px;
  position: relative;
  z-index: 0;
  margin-top: 120px;
}
.p-features__header {
  position: relative;
  z-index: 1;
}
.p-features__wrapper {
  position: relative;
  z-index: 0;
  margin-top: -7.5rem;
}
.p-features__bg {
  position: sticky;
  top: 0;
  left: 0;
  z-index: -1;
  height: 100vh;
  overflow: hidden;
  background-image: var(--bg-primary);
  background-position: center center;
  background-size: cover;
}
.p-features__bg__front {
  --progress: 0;
  --position: 72%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  filter: blur(calc(var(--progress) * 11px)) grayscale(100%);
  -webkit-mask-image: linear-gradient(var(--slash-deg), #000, #000 var(--position), transparent var(--position));
          mask-image: linear-gradient(var(--slash-deg), #000, #000 var(--position), transparent var(--position));
  object-fit: cover;
  will-change: filter;
}
@media (max-width: 768px) {
  .p-features__bg__front {
    --position: 50%;
  }
}
.p-features__main {
  padding-bottom: 100px;
  margin-top: -35vh;
}
.p-features__list {
  --gap-top: 3em;
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 35vh;
  counter-reset: features;
}
@media (max-width: 525px) {
  .p-features__list {
    row-gap: 120px;
  }
}
.p-features__item {
  --padding-top: 4em;
  --padding-bottom: 4em;
  --column-gap: min(4em, 4.5cqw);
  --overlap-width: 150px;
  --number-size: 10rem;
  --image-size: min(450px, 31cqw);
  --image-ratio: 1.23;
  --image-shift-y: 60px;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-areas: "number image" "heading image" "body image";
  grid-template-columns: 1fr var(--image-size);
  column-gap: var(--column-gap);
  width: 100%;
  padding-top: var(--padding-top);
  padding-bottom: var(--padding-bottom);
}
@media (max-width: 1024px) {
  .p-features__item {
    --column-gap: 3em;
    --number-size: 8rem;
    --image-size: 320px;
  }
}
@media (max-width: 768px) {
  .p-features__item {
    --column-gap: 2em;
    --number-size: 7rem;
    --image-size: calc(33 * var(--vw));
    --image-shift-y: var(--image-size) * var(--image-ratio) * 0.25;
    grid-template-areas: "number image" "heading image" "body body";
  }
}
@media (max-width: 525px) {
  .p-features__item {
    --image-size: calc(50 * var(--vw));
    grid-template-areas: "number image" "heading heading" "body body";
  }
}
.p-features__item__board {
  position: absolute;
  inset: 0;
  z-index: -1;
  margin-right: 150px;
  margin-left: calc(50% - 50 * var(--vw) + (var(--container-padding-right) - var(--container-padding-left)) / 2);
  content: "";
  background-color: var(--color-bg-primary);
  will-change: transform, opacity;
}
@media (max-width: 768px) {
  .p-features__item__board {
    margin-right: 0;
  }
}
.p-features__item__number {
  --gap: 0.32em;
  --position: calc(100% - var(--gap));
  position: relative;
  display: block;
  grid-area: number;
  width: fit-content;
  height: fit-content;
  font-family: var(--font-number);
  font-size: var(--number-size);
  font-weight: 100;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  will-change: transform, opacity;
  color: var(--color-heading-secondary);
}
.p-features__item__number::before {
  display: block;
  padding-bottom: 0.02em;
  content: counter(features, decimal-leading-zero);
  counter-increment: features 1;
  -webkit-mask-image: linear-gradient(var(--slash-deg), #000, #000 var(--position), transparent var(--position));
          mask-image: linear-gradient(var(--slash-deg), #000, #000 var(--position), transparent var(--position));
}
.p-features__item__number::after {
  --slash-position: calc(var(--gap) / -1.4142);
  position: absolute;
  right: 0;
  bottom: 0;
  width: 1.25em;
  height: 1px;
  content: "";
  background: currentcolor;
  transform: translate(var(--slash-position), var(--slash-position)) translateX(50%) rotate(var(--slash-deg)) translateX(-10%);
  transform-origin: center center;
}
.p-features__item__heading {
  display: block;
  flex: 1;
  grid-area: heading;
  padding-left: calc(var(--number-size) * 1.2);
  margin-top: calc(var(--number-size) * -0.2);
  font-size: var(--font-size-xxl);
  font-weight: bold;
  color: var(--color-heading-primary);
  letter-spacing: 0.08em;
  will-change: transform, opacity;
}
.p-features__item__heading:where(body[data-theme-color=blue] *) {
  color: inherit;
}
@media (max-width: 1024px) {
  .p-features__item__heading {
    padding-left: 0;
    margin-top: 1em;
  }
}
@media (max-width: 768px) {
  .p-features__item__heading {
    font-size: calc(var(--font-size-xxl) * 0.9);
  }
}
@media (max-width: 525px) {
  .p-features__item__heading {
    margin-top: 2em;
    font-size: var(--font-size-xl);
  }
}
.p-features__item__body {
  grid-area: body;
  margin-top: 2em;
  will-change: transform, opacity;
}
@media (max-width: 768px) {
  .p-features__item__body {
    padding-right: var(--container-padding);
  }
}
.p-features__item__content {
  line-height: 2;
}
.p-features__item__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  justify-content: flex-end;
  margin-top: 2em;
}
@media (max-width: 525px) {
  .p-features__item__buttons {
    justify-content: center;
  }
}
.p-features__item__image {
  position: relative;
  z-index: 2;
  grid-area: image;
  margin-top: calc((var(--padding-top) + var(--image-shift-y)) * -1);
  overflow: hidden;
  will-change: transform, opacity;
}
@media (max-width: 768px) {
  .p-features__item__image {
    margin-right: calc(var(--container-padding) * -1);
  }
}
.p-features__item__image > img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1/var(--image-ratio);
  object-fit: cover;
}

.p-services {
  --padding-y: 80px;
  --slash-color: rgba(var(--color-primary-rgb), 64%);
  --overlay-color: rgba(var(--color-grey-dark-rgb), 55%);
  position: relative;
  z-index: 0;
  padding-top: var(--padding-y);
  padding-bottom: var(--padding-y);
  margin-top: 120px;
  overflow: hidden;
}
.p-services:where(body[data-theme-color=black] *) {
  --slash-color: rgba(var(--color-primary-rgb), 53%);
  --overlay-color: none;
}
.p-services:where(body[data-theme-color=gold] *) {
  --slash-color: rgba(var(--color-cream-rgb), 43%);
  --overlay-color: rgba(var(--color-stone-rgb), 65%);
}
.p-services__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.p-services__bg::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  background-image: var(--bg-secondary);
  background-position: center center;
  background-size: cover;
  mix-blend-mode: multiply;
  opacity: 0.3;
  object-fit: cover;
}
.p-services__bg:where(body[data-theme-color=blue] *)::before {
  opacity: 0.85;
}
.p-services__bg::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  background-color: var(--overlay-color);
}
.p-services__bg__image {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(0.35) brightness(1.35);
}
.p-services__bg__backdrop {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  justify-content: flex-end;
  width: 100%;
  will-change: transform, opacity;
}
.p-services__bg__backdrop::before {
  flex-shrink: 0;
  height: 100%;
  aspect-ratio: 1/1;
  content: "";
  background-image: linear-gradient(to right bottom, transparent, transparent 50%, var(--slash-color) 50%);
}
.p-services__bg__backdrop::after {
  flex-shrink: 0;
  width: calc(50 * var(--vw) - (var(--padding-y) - 100px));
  height: 100%;
  content: "";
  background-color: var(--slash-color);
}
@media (max-width: 768px) {
  .p-services__bg__backdrop::after {
    width: calc(50 * var(--vw) - var(--padding-y) * 1.5);
  }
}
.p-services__inner {
  display: grid;
  grid-template-areas: "header list" "buttons list";
  grid-template-rows: 1fr auto;
  grid-template-columns: 0.7fr 1fr;
  gap: 60px;
}
@media (max-width: 1024px) {
  .p-services__inner {
    grid-template-areas: "header" "list" "buttons";
    grid-template-rows: unset;
    grid-template-columns: 1fr;
  }
}
.p-services__header {
  grid-area: header;
}
.p-services__header:where(body[data-theme-color=gold] *) {
  --heading-color: var(--color-text-contrast);
}
.p-services__list {
  --column-count: 2;
  display: grid;
  grid-area: list;
  grid-template-columns: repeat(var(--column-count), 1fr);
  gap: 1em;
  width: 100%;
  max-width: 720px;
  height: fit-content;
  margin-right: auto;
  margin-left: auto;
  will-change: transform, opacity;
}
.p-services__item {
  --overlap-width: 1.25em;
  container-type: inline-size;
  container-name: item;
}
.p-services__item__link {
  --text-color: var(--color-text-primary);
  --bg-color: var(--color-bg-primary);
  --hover-text-color: var(--color-text-contrast);
  --hover-bg-color: var(--color-primary);
  --chip-size: 12px;
  --button-height: 6em;
  position: relative;
  z-index: 0;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  height: var(--button-height);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--chip-size)), calc(100% - var(--chip-size)) 100%, 0 100%);
  background-color: var(--bg-color);
  transition: color 0.25s;
  position: relative;
}
.p-services__item__link::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: calc(100% + var(--button-height));
  height: 100%;
  margin-left: calc(var(--button-height) * 0.5 * -1);
  cursor: inherit;
  content: "";
  background: var(--hover-bg-color);
  transform: skewX(var(--slash-deg));
  animation-name: button-hover-out;
  animation-duration: 0.5s;
  animation-timing-function: var(--ease-out-quart);
  animation-fill-mode: forwards;
}
.p-services__item__link:hover::before {
  animation-name: button-hover;
  animation-duration: 0.5s;
  animation-timing-function: var(--ease-out-quart);
  animation-fill-mode: forwards;
}

.p-services__item__link:where(body[data-theme-color=gold] *) {
  --hover-bg-color: linear-gradient(var(--slash-deg), var(--color-wheat), var(--color-ocher));
}
.p-services__item__link:where(body[data-theme-color=blue] *) {
  --hover-bg-color: rgba(var(--color-primary-rgb), 93%);
}
@container (width <= 250px) {
  .p-services__item__link {
    --overlap-width: 0px;
    --button-height: 70cqw;
    grid-template-rows: 1fr auto;
    grid-template-columns: 1fr;
  }
}
.p-services__item__link:hover {
  color: var(--hover-text-color);
}
.p-services__item__thumb {
  position: relative;
  z-index: 1;
  container-type: inline-size;
}
.p-services__item__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(var(--slash-deg), #000 50%, transparent 50%);
          mask-image: linear-gradient(var(--slash-deg), #000 50%, transparent 50%);
  -webkit-mask-size: 100cqw 100cqw;
          mask-size: 100cqw 100cqw;
  -webkit-mask-position: top left;
          mask-position: top left;
}
@container item (width <= 250px) {
  .p-services__item__image {
    -webkit-mask: unset;
            mask: unset;
  }
}
.p-services__item__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 1;
  align-items: center;
  min-height: 2.75em;
  padding: 0.25em 1em;
  font-size: max(1.4rem, var(--font-size-sm));
  line-height: 1.35;
}
@container item (width > 250px) {
  .p-services__item__body {
    padding-left: 0;
  }
}
.p-services__item__text {
  display: inline-block;
  width: calc(100% + var(--overlap-width));
  margin-left: calc(var(--overlap-width) * -1);
  transition: color 0.05s;
}
.p-services__buttons {
  display: flex;
  flex-wrap: wrap;
  grid-area: buttons;
  gap: 1em;
}
@media (max-width: 768px) {
  .p-services__buttons {
    justify-content: center;
  }
}
.p-services__buttons > .c-button01:where(body[data-theme-color=gold] *) {
  --button-color: linear-gradient(var(--slash-deg), var(--color-wheat), var(--color-ocher));
  --button-text-color: var(--color-text-contrast);
  --button-hover-color: rgba(var(--color-text-contrast-rgb), 35%);
}

.p-facilities {
  --image-width: 35cqw;
  --image-ratio: 1.05;
  --overlap-width: 10cqw;
  --overlap-height-ratio: 0;
  --column-gap: 5em;
  --nav-height: 4em;
  position: relative;
  z-index: 0;
  padding-top: 180px;
  padding-bottom: 120px;
  overflow: hidden;
  background-image: var(--bg-primary);
  background-position: center center;
  background-size: cover;
}
@media (max-width: 1024px) {
  .p-facilities {
    --image-width: 38cqw;
    --column-gap: 2em;
  }
}
@media (max-width: 768px) {
  .p-facilities {
    --image-width: min(85cqw, 360px);
    --overlap-height-ratio: 0.5;
    padding-top: 100px;
    padding-bottom: 100px;
  }
}
.p-facilities__inner {
  container-type: inline-size;
  display: grid;
  grid-template-areas: "header gallery" "body gallery";
  grid-template-rows: auto 1fr;
  grid-template-columns: 1fr var(--image-width);
}
@media (max-width: 768px) {
  .p-facilities__inner {
    grid-template-areas: "header" "gallery" "body";
    grid-template-columns: 1fr;
  }
}
.p-facilities__header {
  grid-area: header;
}
@media (min-width: 769px) and (max-width: 1024px) {
  .p-facilities__heading {
    --font-size: 8rem;
  }
}
.p-facilities__body {
  position: relative;
  z-index: 0;
  display: grid;
  grid-area: body;
  grid-template-rows: 1fr auto;
  grid-template-columns: 1fr;
  padding-top: 3em;
  padding-bottom: var(--nav-height);
  margin-top: 60px;
  margin-right: calc(var(--overlap-width) * -1);
}
@media (max-width: 768px) {
  .p-facilities__body {
    max-width: 100%;
    padding-top: calc(var(--image-width) * var(--image-ratio) * var(--overlap-height-ratio) + var(--nav-height) + 2em);
    margin-top: 0;
  }
}
.p-facilities__body::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  margin-left: calc(50cqw - 50 * var(--vw));
  content: "";
  background-color: var(--color-bg-primary);
}
@media (max-width: 768px) {
  .p-facilities__body::before {
    margin-right: calc(50cqw - 50 * var(--vw));
  }
}
.p-facilities__main {
  padding-right: calc(var(--overlap-width) + var(--container-padding));
}
@media (max-width: 768px) {
  .p-facilities__main {
    max-width: 540px;
    padding-right: 0;
    margin-right: auto;
    margin-left: auto;
  }
}
.p-facilities__list {
  display: grid;
  grid-template-columns: auto;
}
.p-facilities__item {
  grid-row: 1;
  grid-column: 1;
}
.p-facilities__item__heading {
  margin-bottom: 0.5em;
  font-size: var(--font-size-xxl);
  font-weight: bold;
  letter-spacing: 0.15em;
}
.p-facilities__item__content {
  min-height: 6em;
}
.p-facilities__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1em 1.25em;
  margin-top: 2em;
}
@media (min-width: 1025px) {
  .p-facilities__buttons {
    padding-right: calc(var(--overlap-width) + var(--container-padding));
  }
}
@media (max-width: 768px) {
  .p-facilities__buttons {
    justify-content: center;
  }
}
.p-facilities__gallery {
  position: relative;
  z-index: 1;
  grid-area: gallery;
}
@media (max-width: 768px) {
  .p-facilities__gallery {
    width: var(--image-width);
    margin: 60px auto calc((var(--image-width) * var(--image-ratio) * var(--overlap-height-ratio) + var(--nav-height)) * -1);
  }
}
.p-facilities__slider {
  overflow: visible;
}
.p-facilities__slider__list {
  aspect-ratio: 1/var(--image-ratio);
  transition-timing-function: var(--ease-out-expo);
}
.p-facilities__slider__item {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.p-facilities__slider__item.swiper-slide-next.swiper-slide-visible {
  z-index: 100 !important;
}
.p-facilities__nav {
  width: calc(100% - var(--overlap-width));
  height: var(--nav-height);
  margin-left: auto;
}
@media (max-width: 768px) {
  .p-facilities__nav {
    width: 100%;
  }
}

@media screen and (max-width:375px) {
    .c-heading01__slash.cus_font_size{
      font-size: 5.1rem;
    }
}
/*モーダル*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&display=swap');
#modal.modal-active {
opacity: 1;
transition: all .2s ease-in-out;
z-index: 100000;
pointer-events: auto;
}
#modal,
#modal * {
box-sizing: border-box;
}

#modal {
position: fixed;
z-index: -1;
top: 0;
right: 0;
bottom: 0;
left: 0;
margin: auto;
transition: .3s;
opacity: 0;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAJ0lEQVQYV2NkQAP////3ZUQWAwswMm6GC8IEQIrAgsgCYEF0AZAgANP9E1CXVxkjAAAAAElFTkSuQmCC) repeat;
background-color: rgba(0, 0, 0, .75);
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-box-pack: center;
-moz-box-pack: center;
-ms-flex-pack: center;
-webkit-justify-content: center;
justify-content: center;
-webkit-box-align: center;
-moz-box-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
transition: all .2s ease-in-out;
}
.modal-box {
position: relative;
text-align: center;
box-sizing: border-box;
width: 95%;
max-width: 1024px;
cursor: pointer;
line-height: 1.7;
transition: all .3s ease-in-out;
transform: translateY(30px);
position: relative;
background: white;
border-radius: 20px;
padding: 30px;
}
#modal.modal-active .modal-box {
z-index: 100000 !important;
}
.modal-box {
position: relative;
}
.modal-box > img {
width: 100%;
border: 1px solid #e6e6e6;
border-radius: 20px;
}
.modal-box .flex {
width: 55%;
left: 23%;
bottom: 5%;
z-index: 2;
position: absolute;
}
.modal-box .flex a {
display: block;
transition: all .2s ease-in-out;
}
.modal-box .flex a + a {
margin-top: 4%;
}
@media only screen and (min-width: 641px) {
.modal-box .flex {
width: 90%;
left: 5%;
bottom: 22%;
display: -webkit-flex;
display: flex;
-webkit-justify-content: space-between;
justify-content: space-between;
}
.modal-box .flex a {
width: 32%;
}
.modal-box .flex a + a {
margin-top: 0;
}
.modal-box .flex a:hover {
opacity: .8;
transform: scale(1.05);
}
}
.modal-box .flex a img {
width: 100%;
}
.modal-box.active {
transition: all .3s ease-in-out;
transform: translateY(0) !important;
}
span.close {
position: absolute;
top: 80px;
right: 80px;
width: 24px;
height: 24px;
display: block;
transform: scale(1.3);
transition: all .2s ease-in-out;
opacity: .8;
}
@media only screen and (min-width: 641px) {
span.close:hover {
transform: scale(1.5) rotate(180deg);
opacity: 1;
}
}
span.close1,
span.close2 {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
margin: auto;
transform-origin: center;
display: block;
width: 2px;
height: 24px;
border-radius: 12px;
content: "";
transform: rotate(45deg);
background-color: white;
transition: all .2s ease-in-out;
z-index: 100000 !important;
cursor: pointer;
}
span.close2 {
transform: rotate(-45deg);
transition: all .2s ease-in-out;
}
@media only screen and (max-width: 640px) {
#modal .pc { display: none !important; }
#modal .sp { display: block !important; }
}
@media only screen and (min-width: 641px) {
#modal .sp { display: none !important; }
#modal .pc { display: block !important; }
}



#modal .logo1{
  width: 30%;
  height: auto;
  display: block;
  margin: auto auto 30px;
}

#modal .lead{
font-size: clamp(16px,2.2vw,27px);
font-family: "Noto Serif JP", serif;
line-height: 1.2;
margin-bottom: 0.5em;
}

#modal .lead strong{
  font-size:1.2em;
  background: linear-gradient(transparent 50%, #f9f7c2 50%);
  display: inline-block;
  font-weight: normal;
}

#modal ul{
  display: flex;
  justify-content: space-between;
}

#modal ul li{
  width: 48%;
}

#modal p small{
  color: #895e04;
  font-size: clamp(14px,1.3vw,20px);
  margin-bottom: 1em;
  display: block;
  border-bottom: 1px solid;
  width: fit-content;
  margin: 1em auto;
}

@media only screen and (max-width: 640px) {


#modal .logo1{
  width: 50%;
  height: auto;
  display: block;
  margin: auto auto 10px;
}

#modal .lead{
font-size: clamp(16px,2.2vw,27px);
}

#modal .lead strong{
  font-size:1.2em;
}

#modal ul{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0px;
}

#modal ul li{
  width: 90%;
  margin: auto;
}
span.close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 24px;
  height: 24px;
  display: block;
  transform: scale(1.3);
  transition: all .2s ease-in-out;
  opacity: .8;
}



#modal .lead{
  font-size: 5vw;
  font-family: "Noto Serif JP", serif;
  line-height: 1.5;
  margin-bottom: 0.5em;

  }
  
  
  #modal p small{
    color: #895e04;
    font-size: 4vw;
    margin-bottom: 1em;
    display: block;
    
  }

  .modal-box {
    padding: 20px 30px;
    }

}

@media only screen and (max-width: 640px) {		
	.sp_none{	
		display: none !important;
	}	
}		
		
@media only screen and (min-width: 641px) {		
	.pc_none{	
		display: none !important;
	}	
}	