html.prime-kyobashi-preloader-active,
html.prime-kyobashi-preloader-active body {
  overflow: hidden;
}

.prime-kyobashi-preloader {
  --tcd-preloader-catch-font-type: var(--tcd-font-type2, inherit);
  --tcd-preloader-catch-font-size-pc: 34px;
  --tcd-preloader-catch-font-size-sp: 20px;
  --tcd-preloader-catch-font-color: #8696a4;
  --tcd-preloader-before-bg-color: #ffffff;
  --tcd-preloader-bg-color: #8696a4;
  --tcd-preloader-logo-font-size-pc: 50px;
  --tcd-preloader-logo-font-size-sp: 30px;
  --tcd-preloader-logo-font-color: #000000;
  --tcd-preloader-animation-after-opacity: 0;
  --tcd-preloader-animation-after-clip: initial;
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: grid;
  align-content: center;
  place-items: center;
  text-align: center;
  row-gap: 50px;
  padding: 20px;
  background: var(--tcd-preloader-bg-color);
  clip-path: inset(0 0 0 0);
  transition: opacity 0.5s ease, clip-path 1s cubic-bezier(0.86, 0, 0.07, 1);
}

.prime-kyobashi-preloader.is-end {
  pointer-events: none;
  opacity: var(--tcd-preloader-animation-after-opacity);
  clip-path: var(--tcd-preloader-animation-after-clip);
}

.prime-kyobashi-preloader .c-preloader__before {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: inherit;
  background-color: var(--tcd-preloader-before-bg-color);
}

.prime-kyobashi-preloader .c-preloader__before-catch {
  font-size: var(--tcd-preloader-catch-font-size-pc);
  font-family: var(--tcd-preloader-catch-font-type);
  font-weight: 600;
  color: var(--tcd-preloader-catch-font-color);
  line-height: 2.2;
  letter-spacing: 0;
  margin-block: calc((1em - 1lh) / 2);
  opacity: 0;
  transition: opacity 1.5s cubic-bezier(0.55, 0.06, 0.68, 0.19) 0.2s;
}

.prime-kyobashi-preloader .c-preloader__before-catch.is-active {
  opacity: 1;
}

.prime-kyobashi-preloader .c-preloader__before.is-end {
  animation: prime-kyobashi-preloader-slide 0.7s cubic-bezier(.83, 0, .17, 1) 2s both;
}

.prime-kyobashi-preloader .c-preloader__before.is-end + .c-preloader__after {
  animation: prime-kyobashi-preloader-fade 1s ease 3s both;
}

.prime-kyobashi-preloader .c-preloader__after .logo_text {
  display: grid;
  justify-items: center;
  row-gap: 4px;
  font-family: var(--tcd-logo-font-type, inherit);
  font-weight: var(--tcd-logo-font-weight, 600);
  font-size: var(--tcd-preloader-logo-font-size-pc);
  color: var(--tcd-preloader-logo-font-color);
  line-height: 1.45;
  letter-spacing: 0;
}

.prime-kyobashi-preloader .c-preloader__after .logo_text span {
  display: block;
}

@media (max-width: 767px) {
  .prime-kyobashi-preloader {
    row-gap: 20px;
  }

  .prime-kyobashi-preloader .c-preloader__before-catch {
    font-size: var(--tcd-preloader-catch-font-size-sp);
    line-height: 2;
  }

  .prime-kyobashi-preloader .c-preloader__after .logo_text {
    font-size: var(--tcd-preloader-logo-font-size-sp);
  }
}

@media (prefers-reduced-motion: reduce) {
  .prime-kyobashi-preloader,
  .prime-kyobashi-preloader .c-preloader__before-catch {
    transition-duration: 0.01ms;
  }
}

@keyframes prime-kyobashi-preloader-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes prime-kyobashi-preloader-slide {
  from {
    clip-path: inset(0 0 0 0);
  }

  to {
    clip-path: inset(100% 0 0 0);
  }
}

@keyframes prime-kyobashi-overview-slide-a {
  0%,
  45% {
    opacity: 1;
  }

  50%,
  95% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes prime-kyobashi-overview-slide-b {
  0%,
  45% {
    opacity: 0;
  }

  50%,
  95% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.prime-kyobashi-front-copy-replaced {
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.prime-kyobashi-studio-catch {
  display: block;
  white-space: pre-line;
  line-height: 1.8;
  letter-spacing: 0.12em;
}

.p-cb-split .p-cb-split-content {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: clamp(560px, 58vw, 760px);
  padding-block: clamp(88px, 7vw, 124px) !important;
}

.p-cb-split .p-cb-split-content-header {
  margin-top: 0 !important;
}

.p-cb-split .p-cb-split-content-desc {
  max-width: min(680px, 100%);
  line-height: 2;
}

.prime-kyobashi-instructor-home .prime-kyobashi-instructor-home__visual,
.prime-kyobashi-trial-home .prime-kyobashi-trial-home__visual {
  position: relative !important;
  min-height: clamp(560px, 58vw, 760px);
  overflow: hidden;
  background: #d3dbe4;
}

.prime-kyobashi-instructor-home .prime-kyobashi-instructor-home__image,
.prime-kyobashi-trial-home .prime-kyobashi-trial-home__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  transform: scale(1.01);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.prime-kyobashi-trial-home .prime-kyobashi-trial-home__image {
  object-position: center 42%;
}

.prime-kyobashi-instructor-home:hover .prime-kyobashi-instructor-home__image,
.prime-kyobashi-instructor-home:focus-within .prime-kyobashi-instructor-home__image,
.prime-kyobashi-trial-home:hover .prime-kyobashi-trial-home__image,
.prime-kyobashi-trial-home:focus-within .prime-kyobashi-trial-home__image {
  transform: scale(1.06);
}

.prime-kyobashi-service-media {
  display: block;
  width: min(560px, 100%);
  aspect-ratio: 16 / 10;
  margin: clamp(22px, 3vw, 36px) 0 0;
  overflow: hidden;
  background: #142632;
  box-shadow: 0 18px 42px rgba(20, 38, 50, 0.22);
}

.prime-kyobashi-service-media img,
.prime-kyobashi-service-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.prime-kyobashi-service-media--training img {
  object-position: center 42%;
}

.prime-kyobashi-service-media-card:hover .prime-kyobashi-service-media img,
.prime-kyobashi-service-media-card:hover .prime-kyobashi-service-media video,
.prime-kyobashi-service-media-card:focus-within .prime-kyobashi-service-media img,
.prime-kyobashi-service-media-card:focus-within .prime-kyobashi-service-media video {
  transform: scale(1.06);
}

.p-cb-header-title.prime-kyobashi-front-copy-replaced--title,
.prime-kyobashi-front-copy-replaced--title {
  display: block;
  max-width: 100%;
  font-size: clamp(32px, 3.2vw, 52px) !important;
  line-height: 1.04;
  letter-spacing: 0;
  overflow: visible;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .p-cb-header-title.prime-kyobashi-front-copy-replaced--title,
  .prime-kyobashi-front-copy-replaced--title {
    max-width: 100%;
    overflow: visible;
    font-size: clamp(26px, 7vw, 31px) !important;
    line-height: 1.14;
    white-space: normal;
    word-break: normal;
  }

  .prime-kyobashi-service-media-card {
    overflow: visible !important;
  }

  .prime-kyobashi-service-media,
  .prime-kyobashi-service-media--training,
  .prime-kyobashi-service-media--body-care {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    margin: 24px 0 0 !important;
    overflow: visible !important;
    background: transparent !important;
    box-shadow: none;
  }

  .prime-kyobashi-service-media img,
  .prime-kyobashi-service-media video,
  .prime-kyobashi-service-media--training img,
  .prime-kyobashi-service-media--body-care img {
    display: block;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
    background: transparent !important;
  }

  .prime-kyobashi-service-media-card:hover .prime-kyobashi-service-media img,
  .prime-kyobashi-service-media-card:hover .prime-kyobashi-service-media video,
  .prime-kyobashi-service-media-card:focus-within .prime-kyobashi-service-media img,
  .prime-kyobashi-service-media-card:focus-within .prime-kyobashi-service-media video {
    transform: none !important;
  }

  .prime-kyobashi-instructor-home .prime-kyobashi-instructor-home__visual,
  .prime-kyobashi-trial-home .prime-kyobashi-trial-home__visual {
    min-height: 380px;
  }
}

.prime-kyobashi-overview {
  background: #f7f8f6;
  color: #142632;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(54px, 6vw, 92px) 20px;
  position: relative;
}

.prime-kyobashi-overview::before,
.prime-kyobashi-overview::after {
  animation-duration: 6s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  background-size: cover;
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  transform: scale(1.04);
  z-index: 0;
}

.prime-kyobashi-overview::before {
  animation-name: prime-kyobashi-overview-slide-a;
  background-image: linear-gradient(90deg, rgba(247, 248, 246, 0.9), rgba(247, 248, 246, 0.78) 52%, rgba(247, 248, 246, 0.66)), url("prime-kyobashi-overview-slide-training.png");
  background-position: center 42%;
}

.prime-kyobashi-overview::after {
  animation-name: prime-kyobashi-overview-slide-b;
  background-image: linear-gradient(90deg, rgba(247, 248, 246, 0.9), rgba(247, 248, 246, 0.78) 52%, rgba(247, 248, 246, 0.66)), url("prime-kyobashi-overview-slide-care.png");
  background-position: center 45%;
}

.prime-kyobashi-overview__inner {
  max-width: 1160px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.prime-kyobashi-overview__heading {
  max-width: 780px;
}

.prime-kyobashi-overview__subtitle {
  margin: 0 0 14px;
  color: #8397a4;
  font-weight: 700;
  letter-spacing: 0;
}

.prime-kyobashi-overview__title {
  margin: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.35;
  letter-spacing: 0;
}

.prime-kyobashi-overview__lead {
  margin: 24px 0 0;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 2.1;
}

.prime-kyobashi-overview__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(34px, 4vw, 56px);
  background: #d8dedf;
  border: 1px solid #d8dedf;
}

.prime-kyobashi-overview__stat {
  display: grid;
  gap: 8px;
  min-height: 132px;
  align-content: center;
  padding: 24px;
  background: rgba(255, 255, 255, 0.92);
}

.prime-kyobashi-overview__stat strong {
  display: block;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1;
  letter-spacing: 0;
}

.prime-kyobashi-overview__stat span {
  font-size: 14px;
  line-height: 1.6;
}

.prime-kyobashi-overview__features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.prime-kyobashi-overview__feature {
  min-height: 230px;
  padding: clamp(24px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #d8dedf;
}

.prime-kyobashi-overview__feature-label {
  margin: 0 0 14px;
  color: #8397a4;
  font-size: 13px;
  font-weight: 700;
}

.prime-kyobashi-overview__feature-title {
  margin: 0;
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.45;
  letter-spacing: 0;
}

.prime-kyobashi-overview__feature-text {
  margin: 18px 0 0;
  line-height: 1.9;
}

.prime-kyobashi-overview__access {
  display: none;
  margin-top: 20px;
  padding: clamp(22px, 3vw, 30px);
  background: #8fa2ac;
  color: #ffffff;
}

.prime-kyobashi-overview__access-title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.prime-kyobashi-overview__access p {
  margin: 0;
  line-height: 1.9;
}

.prime-kyobashi-cta-card-with-image {
  display: flex !important;
  flex-direction: column;
  overflow: hidden;
  padding-bottom: 0 !important;
}

.prime-kyobashi-cta-image {
  display: block;
  width: calc(100% + 1px);
  height: clamp(210px, 17vw, 300px);
  margin: auto -1px -1px 0;
  overflow: hidden;
}

.prime-kyobashi-cta-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.prime-kyobashi-cta-card-with-image:hover .prime-kyobashi-cta-image img,
.prime-kyobashi-cta-card-with-image:focus-visible .prime-kyobashi-cta-image img {
  transform: scale(1.08);
}

@media (max-width: 900px) {
  .prime-kyobashi-cta-image {
    height: clamp(180px, 28vw, 260px);
  }
}

@media (max-width: 640px) {
  .prime-kyobashi-cta-image {
    height: 220px;
  }
}

@media (max-width: 900px) {
  .prime-kyobashi-overview__stats,
  .prime-kyobashi-overview__features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .prime-kyobashi-overview {
    padding-inline: 16px;
  }

  .prime-kyobashi-overview__stats,
  .prime-kyobashi-overview__features {
    grid-template-columns: 1fr;
  }

  .prime-kyobashi-overview__stat,
  .prime-kyobashi-overview__feature {
    min-height: auto;
  }
}
