.public-site .commitment .material-multiline {
  white-space: pre-line;
}
.public-site .commitment .ph .material-secondary-image {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 16px;
}
.public-site [data-material-id] h4 {
  scroll-margin-top: 80px;
}
.public-site .material-photo-puzzle {
  position: relative;
  width: 100%;
  aspect-ratio: 1000 / 872;
  margin: 0 0 16px;
  isolation: isolate;
}
.public-site .material-photo-cell {
  position: absolute;
  box-sizing: border-box;
  padding: 2px;
}
.public-site .material-photo-cell:focus-within {
  z-index: 4;
}
.public-site .material-photo-puzzle.is-single {
  aspect-ratio: auto;
}
.public-site .material-photo-puzzle.is-single .material-photo-cell {
  position: relative;
  width: 100% !important;
  height: auto !important;
}
.public-site .commitment .in .col2 .ph .material-photo-puzzle.is-single img {
  height: auto;
}
.public-site .material-photo-motion,
.public-site .material-photo-open {
  width: 100%;
  height: 100%;
}
.public-site .material-photo-open {
  appearance: none;
  display: block;
  position: relative;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
  transition:
    transform 260ms cubic-bezier(0.2, 0.8, 0.25, 1),
    box-shadow 260ms ease;
  transform-origin: center;
}
.public-site .commitment .in .col2 .ph .material-photo-open img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
  border-radius: 0;
}
.public-site .material-photo-open:focus-visible {
  outline: 3px solid #632d32;
  outline-offset: 3px;
  transform: translateY(-5px) scale(1.015);
}
@media (hover: hover) and (pointer: fine) {
  .public-site .material-photo-cell:hover {
    z-index: 3;
  }
  .public-site .material-photo-open:hover {
    transform: translateY(-5px) scale(1.015);
    box-shadow: 0 12px 20px rgba(60, 32, 34, 0.18);
  }
}
.public-site .material-photo-motion.is-revealing {
  animation: material-photo-reveal 720ms cubic-bezier(0.22, 0.75, 0.25, 1) both;
}
@keyframes material-photo-reveal {
  0% {
    transform: translateY(22px) scale(0.96);
    opacity: 0.65;
  }
  60% {
    transform: translateY(-7px) scale(1.012);
    opacity: 1;
  }
  80% {
    transform: translateY(2px) scale(0.996);
  }
  100% {
    transform: none;
    opacity: 1;
  }
}
.material-lightbox {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  padding: max(24px, env(safe-area-inset-top)) 24px max(24px, env(safe-area-inset-bottom));
  border: 0;
  margin: 0;
  overflow-y: auto;
  background: transparent;
  color: #32282a;
  font-family: "Noto Sans JP", "游ゴシック", sans-serif;
  overscroll-behavior: contain;
}
.material-lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}
.material-lightbox::backdrop {
  background: rgba(255, 255, 255, 0.32);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  animation: material-backdrop-enter 300ms ease-out both;
}
.material-lightbox-content {
  width: fit-content;
  max-width: min(1120px, 100%);
  margin: auto;
}
.material-lightbox-photo {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  transform-origin: center;
  animation: material-lightbox-enter 720ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
  touch-action: pan-y pinch-zoom;
}
.material-lightbox-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100vh - 190px);
  max-height: calc(100dvh - 190px);
  margin: 0;
  object-fit: contain;
  animation: material-image-change 360ms ease-out both;
}
.material-lightbox button {
  appearance: none;
  border: 0;
  cursor: pointer;
  font: inherit;
}
.material-lightbox button:focus-visible {
  outline: 3px solid #632d32;
  outline-offset: 2px;
}
.material-lightbox-close {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #32282a;
  box-shadow: 0 1px 8px rgba(50, 40, 42, 0.12);
}
.material-lightbox-close span {
  font-size: 30px;
  line-height: 1;
}
.material-lightbox-dots {
  position: absolute;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  left: 8px;
  right: 8px;
  bottom: 4px;
}
.material-lightbox-dots button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
}
.material-lightbox-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid #fff;
  background: rgba(50, 40, 42, 0.35);
  box-shadow: 0 0 3px rgba(50, 40, 42, 0.5);
}
.material-lightbox-dots [aria-pressed="true"] span {
  width: 11px;
  height: 11px;
  background: #fff;
  outline: 1px solid #fff;
  outline-offset: 2px;
}
.material-lightbox-caption {
  padding: 18px 10px 0;
  text-align: center;
  overflow-wrap: anywhere;
  animation: material-caption-enter 480ms 120ms ease-out both;
}
.material-lightbox-caption h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
  margin: 0;
}
.material-lightbox-caption p {
  font-size: 14px;
  line-height: 1.8;
  white-space: pre-line;
  margin: 6px 0 0;
}
.material-lightbox.is-closing .material-lightbox-content {
  animation: material-lightbox-exit 230ms ease-in both;
}
.material-lightbox.is-closing::backdrop {
  animation: material-backdrop-enter 230ms ease-in reverse both;
}
@keyframes material-lightbox-enter {
  0% {
    transform: translateY(40px) scale(0.72);
    opacity: 0.25;
  }
  65% {
    transform: translateY(-8px) scale(1.035);
    opacity: 1;
  }
  84% {
    transform: translateY(3px) scale(0.992);
  }
  100% {
    transform: none;
    opacity: 1;
  }
}
@keyframes material-lightbox-exit {
  to {
    transform: translateY(24px) scale(0.88);
    opacity: 0;
  }
}
@keyframes material-backdrop-enter {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes material-caption-enter {
  from {
    transform: translateY(15px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
@keyframes material-image-change {
  from {
    transform: scale(0.97);
    opacity: 0.5;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
@media (max-width: 768px) {
  .material-lightbox {
    padding-left: 12px;
    padding-right: 12px;
  }
  .material-lightbox-close {
    top: 8px;
    right: 8px;
  }
  .material-lightbox-caption {
    padding-top: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .public-site .material-photo-motion.is-revealing,
  .material-lightbox-photo,
  .material-lightbox-image,
  .material-lightbox-caption {
    animation: none;
  }
  .public-site .material-photo-open {
    transition-duration: 0s;
  }
  .material-lightbox.is-closing .material-lightbox-content {
    animation: none;
  }
  .material-lightbox::backdrop,
  .material-lightbox.is-closing::backdrop {
    animation-duration: 80ms;
  }
}
