@charset "UTF-8";

.p-modelroom {
	background-color: #453934;
}

.p-home .tertiary-heading {
	margin-bottom: 0;
}

.modelroom-inner {
  max-width: 1200px;
  margin: 0 auto;
}

@media screen and (max-width: 767px) {
  .modelroom-slider {
    margin: 0 -16px;
  }
}
.p-home .tertiary-heading {
	font-size: clamp(1.9rem, calc(22 / 1000 * 100vw), 2.2rem);
}

.modelroom .modelroom-copy {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: min(calc(72 / 1000 * 100vw), 72px);
  font-size: min(calc(20 / 1000 * 100vw), 2rem);
  line-height: 1.8;
  text-align: center;
  margin: 80px 0 30px;
  color: #fff;
}
@media screen and (max-width: 767px) {
  .modelroom .modelroom-copy {
    font-size: 1.6rem;
    min-height: 90px;
    margin: 32px 0 20px;
  }
}
.p-modelroom .img-wrapper {
  position: relative;
}
.p-modelroom .img-wrapper.slick-current.slick-active .modelroom-copy,
.p-modelroom .img-wrapper.slick-current.slick-active img,
.p-modelroom .img-wrapper.slick-current.slick-active .modelroom-name {
  opacity: 1;
  transition: opacity 1.5s ease !important;
}
.p-modelroom .img-wrapper .modelroom-copy,
.p-modelroom .img-wrapper img,
.p-modelroom .img-wrapper .modelroom-name {
  opacity: .8;
}
.modelroom-name {
  position: absolute;
  letter-spacing: 0.1em;
  line-height: 1;
  word-break: normal;
}
.modelroom-slider .modelroom-name {
  font-size: 1.9rem;
  bottom: 0;
  left: 0px;
  color: #fff;
  background-color: rgba(0,0,0, 0.7);
  padding: 20px 25px;
}
@media screen and (max-width: 767px) {
  .modelroom-slider .modelroom-name {
    font-size: 1.2rem;
    padding: 10px 15px;
  }
}
.modelroom-slider:not(.slick-initialized) .slick-slide,
.modelroom-thumbs:not(.slick-initialized) .slick-slide {
  transition: none !important;
  display: block !important;
}
.modelroom-slider_wrap {
  position: relative;
}
.custom-arrows {
  position: absolute;
  bottom: 5px;
  right: 10px;
  display: flex;
  gap: 8px;
}
@media screen and (max-width: 767px) {
  .custom-arrows {
    bottom: 4px;
    right: -10px;
    gap: 4px;
  }
}
.custom-arrows .slick-arrow {
  position: static;
  display: flex;
  justify-content: center;
  align-items: center;
  top: auto;
  bottom: 0;
  background: rgba(0,0,0, 0.7);
  aspect-ratio: 1;
  width: 40px;
  height: auto;
}
@media screen and (max-width: 767px) {
  .custom-arrows .slick-arrow {
    width: 30px;
  }
}
.custom-arrows .slick-arrow::after {
    content: "";
    clip-path: polygon(0% 0%, 100% 50%, 0% 100%);
    aspect-ratio: 10 / 12;
    width: calc(10 / 40 * 100%);
    background-color: var(--color-white);
    display: block;
}
.custom-arrows .slick-arrow::before {
  content: none;
}
.custom-arrows .slick-next::after {
  transform: translateX(1px);
}
.custom-arrows .slick-prev::after {
  transform: rotate(180deg) translateX(1px);
}
.modelroom-thumbs {
  width: 100%;
  margin: 12px 0 0;
}
@media screen and (max-width: 767px) {
  .modelroom-thumbs {
    margin: 16px auto;
  }
}
.modelroom-thumbs .modelroom-name {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.2rem;
  letter-spacing: 0;
  text-align: center;
  color: #fff;
  opacity: 1;
  width: 100%;
}
@media screen and (max-width: 767px) {
  .modelroom-thumbs .modelroom-name {
    font-size: 1.1rem;
    line-height: 1.4;
  }
}

.modelroom-thumbs .img-wrapper {
  background: #000;
}
.modelroom-thumbs .img-wrapper img {
  opacity: 0.4;
}
.modelroom-thumbs .slick-current .img-wrapper img {
  animation: fadeIn 0.4s ease 0.2s 1 normal;
  animation-fill-mode: forwards;
}
@keyframes fadeIn {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}
.modelroom-thumbs .slick-current .modelroom-name {
  opacity: 0 !important;
  transition: all 0.4s ease;
}
.modelroom-thumbs .slick-current img {
  opacity: 1 !important;
  transition: all 0.4s ease;
}
.modelroom-thumbs .slick-track {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin: -3px;
  width: calc(100% + 6px) !important;
  transform: translate3d(0px, 0px, 0px) !important;
}
@media screen and (max-width: 767px) {
  .modelroom-thumbs .slick-track {
    margin: -2px;
    width: calc(100% + 4px) !important;
  }
}
.modelroom-inner .slick-slide {
  padding: 0 0;
}
.modelroom-thumbs .img-wrapper {
  cursor: pointer;
  margin: 3px;
  width: calc(100%/6 - 6px)!important;
}
@media screen and (max-width: 767px) {
  .modelroom-thumbs .img-wrapper {
    margin: 2px;
    width: calc(100%/3 - 4px)!important;
  }
}
.img-wrapper.wic .caption{
  width: 65%;
}
@media screen and (max-width: 767px) {
  .img-wrapper.wic .caption{
    width: 62%;
  }
}