.elementor-1127 .elementor-element.elementor-element-3037c40d{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-1127 .elementor-element.elementor-element-1df8501c{--display:flex;}.elementor-1127 .elementor-element.elementor-element-7df1c2e5{--display:flex;}@media(max-width:767px){.elementor-1127 .elementor-element.elementor-element-3037c40d{--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-1127 .elementor-element.elementor-element-1df8501c{--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-1127 .elementor-element.elementor-element-7df1c2e5{--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}}/* Start custom CSS for html, class: .elementor-element-1eafacbc */.crewhouse-gallery {
  width: 100%;
  margin: 0 auto;
  
}

.main-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  margin-bottom: 20px;
}

.main-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.main-image-wrapper img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
  z-index: 0;
}

.main-image-wrapper img.visible {
  opacity: 1;
  z-index: 1;
}



.thumbnail-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
}

.thumb {
  width: 140px;
  height: 90px;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.6;
  border-radius: 6px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  scroll-snap-align: start;
  flex-shrink: 0;
}

.thumb:hover {
  transform: scale(1.05);
  opacity: 1;
}

.thumb.active {
  border: 3px solid #23b8bc;
  opacity: 1;
}

.main-image {
  transition: opacity 0.6s ease;
  opacity: 1;
}

.main-image.fade-out {
  opacity: 0;
}

.main-image.fade-in {
  opacity: 1;
}


@media (max-width: 640px) {
  .main-image-wrapper {
    aspect-ratio: auto;
    height: 250px;
  }

  .thumb {
    width: 100px;
    height: 64px;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-3511b919 */.facility-table-section {
 width: 100%;
  margin: 60px auto;
  font-family: 'Noto Sans JP', sans-serif;
}

.facility-title {
  font-size: 25px;
  font-weight: bold;
  color: #005d71;
  margin-bottom: 4px;
  text-align: center;
}

.facility-subtitle {
  font-size: 16px;
  color: #121212;
  margin-bottom: 20px;
  text-align: center;
}

.facility-table {
  width: 100%;
  border-collapse: collapse;
 
  border: 1px solid #ccc;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.facility-table th,
.facility-table td {
  padding: 14px 16px;
  border: 1px solid #ccc;
  font-size: 16px;
  text-align: left;
  vertical-align: top;
  background: none;
}

.facility-table th {
  width: 30%;
  background-color: none;
  font-weight: bold;
  color: #121212;
}


.facility-table tr,
.facility-table th,
.facility-table td {
  background: none !important;
}

@media screen and (max-width: 600px) {
  .facility-table th,
  .facility-table td {
    font-size: 14px;
    padding: 10px;
  }

  .facility-title {
    font-size: 20px;
  }

  .facility-subtitle {
    font-size: 14px;
  }
  
  .facility-table-section {
      margin:20px auto 0px;
  }
}/* End custom CSS */