@charset "UTF-8";

.bg-blur-gray {
  position: relative;
  background: url(/brand/common/img/business/bg-blur-gray.webp) no-repeat center center;
  padding: 40px;
  min-height: 312px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.highlight-title {
  font-size: 2rem;
  font-weight: 400;
  line-height: 2;
}

.highlight-number {
  font-family: "Montserrat";
  font-weight: 700;
  font-size: 6rem;
  line-height: 1;
  color: var(--Primary_blue);
}

.highlight-subtitle {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 12px;
}

.highlight-content {
  font-weight: 600;
  font-size: 2rem;
}

.number-caption-wrap {
  width: fit-content;
  margin-left: auto;
  margin-right: 0;
}

@media screen and (max-width: 1080px) {
  .bg-blur-gray {
    padding: 16px 24px;
    min-height: 256px;
  }

  .highlight-title {
    font-size: 1.8rem;
  }

  .highlight-number {
    font-size: 4rem;
  }

  .highlight-subtitle {
    font-size: 1.5rem;
    margin-bottom: 4px;
  }

  .highlight-content {
    font-size: 1.8rem;
  }
}

@media screen and (max-width: 769px) {
  .bg-blur-gray {
    min-height: 216px;
    padding: 16px 20px;
  }

  .number-caption-wrap {
    margin-left: 0;
    margin-right: auto;
  }
}


/* 棒グラフ立ち上げアニメーション
-----------------------------------------------------------*/
.business-bar-chart {
  position: absolute;
  top: 48px;
  right: 48px;
  width: 181.5px;
  height: 130px;
}

.business-bar-chart-base {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.business-bar-chart-overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 74.66%;  /* 135.5 / 181.5 */
  height: 70.77%; /* 92 / 130 */
  object-fit: contain;
  clip-path: inset(100% 0 0 0);
  opacity: 0;
  transition: clip-path 1.25s ease-in-out, opacity 1.25s ease-in-out;
}

.business-bar-chart-overlay.is-revealed {
  clip-path: inset(0 0 0 0);
  opacity: 1;
}

.business-bar-chart-overlay.is-fading-out {
  opacity: 0;
  transition: opacity 0.48s ease;
}

@media screen and (max-width: 1080px) {
  .business-bar-chart {
    width: 140.52px;
    height: 100.66px;
    top: 16px;
    right: 24px;
  }
}

@media screen and (max-width: 769px) {
  .business-bar-chart {
    width: 105.61px;
    height: 75.65px;
    right: 20px;
  }
}


/* カード順次フェードイン
-----------------------------------------------------------*/
.business-cards {
  position: absolute;
  top: 48px;
  right: 72px;
  width: 196px;
  height: 150px;
}

.business-cards-base {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.business-cards-overlay {
  position: absolute;
  right: 17.83px;
  bottom: 19.23px;
  width: 80.11px;
  height: 58.77px;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.business-cards-overlay.is-revealed {
  opacity: 1;
}

.business-cards-overlay.is-fading-out {
  opacity: 0;
  transition: opacity 0.48s ease;
}

@media screen and (max-width: 1080px) {
  .business-cards {
    width: 151.76px;
    height: 116.14px;
    top: 16px;
    right: 24px;
  }

  .business-cards-overlay {
    right: 13.81px;
    bottom: 14.89px;
    width: 62.03px;
    height: 45.51px;
  }
}

@media screen and (max-width: 769px) {
  .business-cards {
    width: 114.05px;
    height: 87.28px;
    right: 20px;
  }

  .business-cards-overlay {
    right: 10.37px;
    bottom: 11.19px;
    width: 46.62px;
    height: 34.20px;
  }
}


/* 劇場＋観客 順次フェードイン
-----------------------------------------------------------*/
.business-theater {
  position: absolute;
  top: 48px;
  right: 48px;
  width: 239.23px;
  height: 145px;
}

.business-theater-base {
  position: absolute;
  top: 0;
  right: 30.23px;
  width: 167px;
  height: 114px;
  object-fit: contain;
}

.business-theater-group {
  position: absolute;
}

.business-theater-group-1 {
  right: 52.23px;
  bottom: 0;
  width: 120px;
  height: 86px;
}

.business-theater-lottie {
  display: block;
  width: 100%;
  height: 100%;
}

.business-theater-mark {
  position: absolute;
  width: 50.23px;
  height: 50.22px;
  object-fit: contain;
  transform-origin: center center;
  animation: business-theater-mark-pulse 1.5s ease-in-out infinite;
}

.business-theater-mark-1 {
  top: 31.89px; /* 114 / 2 - 50.22 / 2 */
  right: 0;
  animation-delay: 0s;
}

.business-theater-mark-2 {
  top: 21px;
  left: 31px;
  animation-delay: -0.5s;
}

.business-theater-mark-3 {
  left: 0;
  bottom: 33.78px;
  animation-delay: -1s;
}

@keyframes business-theater-mark-pulse {
  0%, 100% {
    transform: scale(0.7963, 0.8165); /* 40 × 41 */
  }
  50% {
    transform: scale(0.5970, 0.6124); /* 30 × 30.75 */
  }
}

@media screen and (max-width: 1080px) {
  .business-theater {
    width: 185.23px;
    height: 112.33px;
    top: 16px;
    right: 24px;
  }

  .business-theater-base {
    right: 23.41px;
    width: 129.30px;
    height: 88.31px;
  }

  .business-theater-group-1 {
    right: 40.44px;
    width: 92.91px;
    height: 66.62px;
  }

  .business-theater-mark {
    width: 38.89px;
    height: 38.90px;
  }

  .business-theater-mark-1 {
    top: 24.70px; /* 88.31 / 2 - 38.90 / 2 */
  }

  .business-theater-mark-2 {
    top: 16.27px;
    left: 24.00px;
  }

  .business-theater-mark-3 {
    bottom: 26.17px;
  }
}

@media screen and (max-width: 769px) {
  .business-theater {
    width: 139.21px;
    height: 84.42px;
    right: 20px;
  }

  .business-theater-base {
    right: 17.59px;
    width: 97.18px;
    height: 66.37px;
  }

  .business-theater-group-1 {
    right: 30.39px;
    width: 69.83px;
    height: 50.07px;
  }

  .business-theater-mark {
    width: 29.23px;
    height: 29.24px;
  }

  .business-theater-mark-1 {
    top: 18.57px; /* 66.37 / 2 - 29.24 / 2 */
  }

  .business-theater-mark-2 {
    top: 12.23px;
    left: 18.04px;
  }

  .business-theater-mark-3 {
    bottom: 19.67px;
  }
}


/* 不動産ビル群アニメーション
-----------------------------------------------------------*/
.business-real-estate {
  position: absolute;
  top: 48px;
  right: 48px;
  width: 194px;
  height: 137px;
}

.business-real-estate-base {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 182px;
  height: 125px;
  object-fit: contain;
}

.business-real-estate-building {
  position: absolute;
  width: 30px;
  height: 56px;
  object-fit: contain;
  animation: business-real-estate-float 1.5s ease-in-out infinite;
}

.business-real-estate-building-1 {
  top: 0;
  right: 0;
}

.business-real-estate-building-2 {
  left: 29px;
  bottom: 11px;
  animation-delay: -0.5s;
}

@keyframes business-real-estate-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

@keyframes business-real-estate-float-sm {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(7.74px);
  }
}

@keyframes business-real-estate-float-xs {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5.82px);
  }
}

@media screen and (max-width: 1080px) {
  .business-real-estate {
    width: 150.19px;
    height: 106.07px;
    top: 16px;
    right: 24px;
  }

  .business-real-estate-base {
    width: 140.90px;
    height: 96.78px;
  }

  .business-real-estate-building {
    width: 23.22px;
    height: 43.36px;
    animation-name: business-real-estate-float-sm;
  }

  .business-real-estate-building-2 {
    left: 22.45px;
    bottom: 8.52px;
  }
}

@media screen and (max-width: 769px) {
  .business-real-estate {
    width: 112.89px;
    height: 79.72px;
    right: 20px;
  }

  .business-real-estate-base {
    width: 105.91px;
    height: 72.74px;
  }

  .business-real-estate-building {
    width: 17.46px;
    height: 32.59px;
    animation-name: business-real-estate-float-xs;
  }

  .business-real-estate-building-2 {
    left: 16.87px;
    bottom: 6.40px;
  }
}


/* 画像切り替えスライドショー
-----------------------------------------------------------*/
.business-slideshow {
  position: relative;
}

.business-slideshow-images {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.business-slideshow-images img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.business-slideshow-overlay {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.business-slideshow-overlay.is-active {
  opacity: 1;
}

.business-slideshow-controls {
  margin-top: 12px;
}

.loop-banner_toggle {
  background: transparent;
  border: none;
  color: var(--Text_sub_black, #000);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0 4px 4px;
}

.toggle_pause,
.toggle_play {
  display: flex;
  align-items: center;
  line-height: 1;
  gap: 6px;
}

.loop-banner_toggle .toggle_play {
  display: none;
}

.loop-banner_toggle[aria-pressed="true"] .toggle_pause {
  display: none;
}

.loop-banner_toggle[aria-pressed="true"] .toggle_play {
  display: flex;
}


/* ハイライト一括一時停止（CSSアニメーション分）
-----------------------------------------------------------*/
.business-highlights-grid.is-paused .business-theater-mark,
.business-highlights-grid.is-paused .business-real-estate-building {
  animation-play-state: paused;
}


/* 特殊なグリッドコンテンツ
-----------------------------------------------------------*/
.business-grid {
  display: flex;
  width: 100%;

  p {
    font-size: 1.5rem;
  }

  .business-grid-content,
  >div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    padding: 0 24px;
    border-right: 1px solid var(--Devider_gray);

    &:first-child {
      padding-left: 0;
    }

    &:last-child {
      padding-right: 0;
      border-right: none;
    }
  }

  .business-grid-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    img {
      width: 54px;
      height: 54px;
    }

    p {
      font-size: 2rem;
      line-height: 1.8;
    }
  }
}

@media screen and (min-width: 770px) and (max-width: 1080px) {
  .business-grid {
    flex-wrap: wrap;
    row-gap: 60px;

    .business-grid-content,
    >div {
      flex: 0 0 50%;
      max-width: 50%;

      &:nth-child(2n) {
        padding-right: 0;
        border-right: none;
      }

      &:nth-child(2n+1) {
        padding-left: 0;
      }
    }
  }
}

@media screen and (max-width: 769px) {
  .business-grid {
    flex-direction: column;

    .business-grid-content {
      align-items: flex-start;
      padding: 24px 0;
      border-right: none;
      border-bottom: 1px solid var(--Devider_gray);

      &:last-child {
        border-bottom: none;
      }
    }

    .business-grid-title {
      flex-direction: column;
      gap: 8px;

      p {
        font-size: 1.8rem;
        margin-top: 0;
      }
    }
    
    .tb-order-1 {
      order: 1;
    }
    .tb-order-2 {
      order: 2;
    }
  }
}