/* ===== Wrapper ===== */
.cb-showroom {
  margin: 0 auto;
  overflow: hidden;
}

.cb-showroom-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  list-style: none;
  margin: 0 0 50px;
}

.cb-showroom-tab-items {
  opacity: 0.4;
  transition: 0.3s;
}

.cb-showroom-tabs li.active,
.cb-showroom-tabs li:hover {
  opacity: 1;
}

.cb-showroom-tab-items a {
  display: block;
  text-decoration: none;
  color: var(--text-color);
  text-align: center;
  position: relative;
}

.cb-showroom-tab-items img {
  width: 100%;
  height: clamp(100px, 30vw, 150px);
  object-fit: cover;
}

.cb-showroom-tab-items span {
  display: block;
  font-weight: bold;
  letter-spacing: 1px;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff83;
  padding: 8px;
  font-size: clamp(12px, 2vw, 18px);
}

/* ===== Content ===== */
.modelhousearea {
  display: none;
}

.modelhousearea.is-active {
  display: block;
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
  .cb-showroom-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .cb-showroom-tab-items img {
    width: 100%;
    height: clamp(100px, 30vw, 150px);
  }
}

/* design-studio */
.design-concept {
  background: var(--white);
}

.design-concept__inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.design-concept__lead {
  font-size: 16px;
  margin-bottom: 24px;
}

.design-concept__lead strong {
  font-weight: 600;
}

.design-concept__text {
  font-size: 16px;
  color: var(--text-color);
}

.design-concept__note {
  font-size: 16px;
}

.br-600-only {
  display: block;
}

/* Mobile */
@media (max-width: 768px) {
  .br-600-only {
    display: none;
  }
}

/* youtube auto palya */
.youtube-responsive {
  max-width: 1024px;
  margin: 30px auto;
  aspect-ratio: 16 / 9;
}

.youtube-responsive iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
/* youtube-gallery */
.youtube-gallery {
  background: var(--white);
}

.youtube-gallery__note {
  text-align: center;
  font-size: 14px;
  margin-bottom: 48px;
  letter-spacing: 0.05em;
}

.youtube-gallery__grid {
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.youtube-gallery__item {
  width: 100%;
}
.fullscreen-action-menu {
  display: none !important;
}
.paused-mode {
  display: none;
}

/* Responsive video */
.youtube-gallery__video {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.youtube-gallery__video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Tablet */
@media (max-width: 900px) {
  .youtube-gallery__grid {
    gap: 24px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .youtube-gallery__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
@media (max-width: 480px) {
  .youtube-responsive {
    aspect-ratio: 4 / 3;
  }
  .youtube-gallery__video {
    width: 100%;
    aspect-ratio: 4 / 3;
  }
}

/* showroom-slider */
.showroom-gallery {
  max-width: 882px;
  margin: 0 auto;
}

.showroom-gallery__main {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.showroom-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showroom-gallery__thumbs {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  overflow-x: auto;
  justify-content: center;
  padding-bottom: 6px;
}

.showroom-gallery__thumbs::-webkit-scrollbar {
  height: 6px;
}

.showroom-gallery__thumbs::-webkit-scrollbar-thumb {
  background: #ffffff00;
}

.showroom-gallery__thumb {
  width: clamp(100px, 18vw, 165px);
  height: 80px;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s, border 0.3s;
  border: 1px solid transparent;
  flex-shrink: 0;
}

.showroom-gallery__thumb.active {
  opacity: 1;
  border-color: var(--light-gray);
}
/* map-responsive */
.map-responsive {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 20px;
  aspect-ratio: 16 / 7;
}

.map-responsive iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.amap-text {
  text-align: center;
  font-size: 14px;
  line-height: 1.8;
}
