.service-website-philosophy-showcase {
  --philosophy-showcase-duration: 110s;
  position: relative;
  display: grid;
  grid-template-columns: clamp(330px, 30vw, 440px) minmax(0, 1fr);
  width: 100%;
  height: 100svh;
  min-height: clamp(640px, 100svh, 1080px);
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 73% 26%, rgba(255, 255, 255, 0.96), transparent 28%),
    linear-gradient(135deg, #f4fafb 0%, #dfedf1 52%, #cfe1e6 100%);
  contain: layout paint;
  isolation: isolate;
}

.service-website-philosophy-showcase__intro {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(48px, 6vw, 84px) clamp(32px, 3.2vw, 50px);
  overflow: hidden;
  color: #173e49;
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 255, 255, 0.94), transparent 34%),
    linear-gradient(152deg, #f4fafb 0%, #dfedf1 56%, #cfe1e6 100%);
  border-right: 1px solid rgba(29, 67, 78, 0.14);
  box-shadow: 20px 0 52px rgba(34, 70, 80, 0.12);
}

.service-website-philosophy-showcase__intro::before,
.service-website-philosophy-showcase__intro::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.service-website-philosophy-showcase__intro::before {
  width: clamp(230px, 28vw, 420px);
  aspect-ratio: 1;
  right: -62%;
  bottom: -17%;
  border: 1px solid rgba(40, 91, 105, 0.13);
  border-radius: 50%;
}

.service-website-philosophy-showcase__intro::after {
  top: 8%;
  right: clamp(18px, 2vw, 32px);
  width: 1px;
  height: 18%;
  background: linear-gradient(to bottom, transparent, rgba(43, 91, 104, 0.56));
}

.service-website-philosophy-showcase__kicker {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 0;
  text-transform: uppercase;
}

.service-website-philosophy-showcase__number {
  color: #477987;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(38px, 4.2vw, 64px);
  font-style: italic;
  font-weight: 300;
  line-height: 1;
}

.service-website-philosophy-showcase__label {
  color: rgba(23, 62, 73, 0.62);
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 12px;
  letter-spacing: 0.2em;
}

.service-website-philosophy-showcase__rule {
  position: relative;
  z-index: 1;
  display: block;
  width: 52px;
  height: 1px;
  margin-top: clamp(28px, 4vh, 42px);
  background: #477987;
}

.service-website-philosophy-showcase__title {
  position: relative;
  z-index: 1;
  margin: clamp(24px, 3.5vh, 38px) 0 0;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(28px, 2.15vw, 34px);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.04em;
}

.service-website-philosophy-showcase__title span {
  display: block;
  white-space: nowrap;
}

.service-website-philosophy-showcase__copy {
  position: relative;
  z-index: 1;
  max-width: 31em;
  margin: clamp(26px, 4vh, 42px) 0 0;
  color: rgba(23, 62, 73, 0.68);
  font-size: clamp(12px, 1vw, 14px);
  line-height: 2.15;
  letter-spacing: 0.08em;
}

.service-website-philosophy-showcase__viewport {
  position: relative;
  min-width: 0;
  height: 100%;
  overflow: hidden;
}

.service-website-philosophy-showcase.is-showcase-ready .service-website-philosophy-showcase__viewport {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 1.15s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-website-philosophy-showcase.is-showcase-ready.is-showcase-visible .service-website-philosophy-showcase__viewport {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.service-website-philosophy-showcase.is-showcase-ready .service-website-philosophy-showcase__intro > * {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-website-philosophy-showcase.is-showcase-ready.is-showcase-visible .service-website-philosophy-showcase__intro > * {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.service-website-philosophy-showcase.is-showcase-ready.is-showcase-visible .service-website-philosophy-showcase__rule {
  transition-delay: 0.08s;
}

.service-website-philosophy-showcase.is-showcase-ready.is-showcase-visible .service-website-philosophy-showcase__title {
  transition-delay: 0.16s;
}

.service-website-philosophy-showcase.is-showcase-ready.is-showcase-visible .service-website-philosophy-showcase__copy {
  transition-delay: 0.27s;
}

.service-website-philosophy-showcase__track {
  display: flex;
  width: max-content;
  height: 100%;
  animation: service-website-philosophy-showcase-marquee var(--philosophy-showcase-duration) linear infinite;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.service-website-philosophy-showcase.is-showcase-resetting .service-website-philosophy-showcase__track {
  animation-play-state: paused;
}

.service-website-philosophy-showcase__scene {
  position: relative;
  flex: 0 0 auto;
  height: 100%;
  overflow: hidden;
  aspect-ratio: 1672 / 1120;
}

.service-website-philosophy-showcase__item {
  position: absolute;
  margin: 0;
}

.service-website-philosophy-showcase__item img {
  display: block;
  width: 100%;
  height: auto;
}

.service-website-philosophy-showcase__item--edge-left {
  display: none;
}

.service-website-philosophy-showcase__item--services-landscape {
  top: 2.2%;
  left: 2.5%;
  width: 43.5%;
}

.service-website-philosophy-showcase__item--vision {
  top: 2.2%;
  left: 50%;
  width: 47.5%;
}

.service-website-philosophy-showcase__item--edge-right {
  display: none;
}

.service-website-philosophy-showcase__item--story-mobile {
  top: 31%;
  left: 1.5%;
  width: 11%;
}

.service-website-philosophy-showcase__item--voice-mobile {
  top: 35%;
  left: 14.5%;
  width: 9.5%;
}

.service-website-philosophy-showcase__item--home {
  top: 31%;
  left: 28%;
  width: 40%;
}

.service-website-philosophy-showcase__item--home img {
  height: auto;
  object-fit: contain;
}

.service-website-philosophy-showcase__item--services-mobile {
  top: 34%;
  left: 70%;
  width: 10.5%;
}

.service-website-philosophy-showcase__item--closing-mobile {
  top: 31%;
  left: 83%;
  width: 11%;
}

.service-website-philosophy-showcase__item--story-landscape {
  top: 72%;
  left: 1%;
  width: 21%;
}

.service-website-philosophy-showcase__item--about {
  top: 72%;
  left: 24%;
  width: 39%;
}

.service-website-philosophy-showcase__item--contact {
  top: 72%;
  left: 66%;
  width: 33%;
}

@keyframes service-website-philosophy-showcase-marquee {
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (max-width: 768px) {
  .service-website-philosophy-showcase {
    display: block;
    height: auto;
    min-height: 0;
  }

  .service-website-philosophy-showcase__intro {
    min-height: 360px;
    padding: 68px 28px 54px;
    border-right: 0;
    border-bottom: 1px solid rgba(29, 67, 78, 0.14);
    box-shadow: 0 18px 42px rgba(34, 70, 80, 0.1);
  }

  .service-website-philosophy-showcase__intro::before {
    right: -28%;
    bottom: -52%;
  }

  .service-website-philosophy-showcase__intro::after {
    top: 14%;
    right: 28px;
    height: 24%;
  }

  .service-website-philosophy-showcase__title {
    font-size: clamp(26px, 7.6vw, 34px);
    line-height: 1.7;
  }

  .service-website-philosophy-showcase__copy {
    max-width: 34em;
    font-size: 12px;
  }

  .service-website-philosophy-showcase__viewport {
    height: clamp(430px, 64svh, 560px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-website-philosophy-showcase.is-showcase-ready .service-website-philosophy-showcase__viewport,
  .service-website-philosophy-showcase.is-showcase-ready .service-website-philosophy-showcase__intro > * {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .service-website-philosophy-showcase__track {
    animation-play-state: paused;
  }
}
