.name-line {
  text-align: center;
  position: relative;
  height: 79.75rem;
  background-image: url("../image/bg-deep-3.jpg");
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
}
.name-line2 {
  width: 100%;
  overflow: hidden;
  text-align: center;
  /* background-image: url("../image/bg-deep-3.jpg"); */
  /* background-size: 100% auto; */
  /* background-position: bottom; */
  /* background-repeat: no-repeat; */
}
.name-line-title {
  width: 100%; /* 可以依需求設定 */
  height: auto;
  z-index: 1;
}
.name-line .container {
  gap: 3.75rem;
  width: 100%;
  height: 45.6875rem;
  max-width: 1920px;
  padding: 0;
}

.name-line .names {
  display: flex;
  flex-direction: column;
  min-width: 37.5rem;
  z-index: 1;
  height: 100%;
  flex: 1;
  font-family: "Ubuntu", sans-serif;
  justify-content: center;
}

.name-line .name-row {
  display: flex;
  align-items: center;
  height: 9.375rem;
  position: relative;
  overflow: hidden;
}
.name-row-image {
  width: 21.9375rem;
  height: 3.875rem;
  margin-right: 3.0625rem;
  visibility: hidden;
}
.name-row-image.active {
  visibility: visible;
}
.name-line .label {
  width: 25rem;
  font-size: 1.5rem;
  color: #ff6801;
  opacity: 0;
  visibility: hidden;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
}
.name-line .label::before {
  content: "";
  display: block;
  width: 0.625rem;
  height: 6.6875rem;
  background-color: #ff6801;
  margin-right: 2.4375rem;
}

.name-line .label.active {
  opacity: 1;
  visibility: visible;
}

.name-line .name {
  transition: color 0.3s ease, transform 0.3s ease, font-size 0.3s ease;
  font-size: 3rem;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  flex: 1;
  width: 80%;
  text-align: left;
  height: 10.625rem;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
}
.name-line .name .en {
  margin: 0;
  font-size: 3.5625rem;
  font-weight: 400;
  font-family: "Ubuntu", sans-serif;
  color: #ffffff4d;
  letter-spacing: 0.3rem;
}
.name-line .name .zh {
  text-align: left;
  font-size: 2.625rem;
  font-weight: 400;
  color: #ffffff4d;
  font-family: "Noto Sans CJK TC", sans-serif;
  margin: 0;
  letter-spacing: 0.3rem;
}
.name-line .name .zh p {
  margin: 0;
}

.name-line .name .en p {
  margin: 0;
}
/* .name-line .name-row:hover::after,
.name-line .name-row.active::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0rem;
  width: 12.0625rem;
  height: 4.0625rem;
  background-image: url("../image/D.E.E.P_三大亮點_右側.png"); 
  background-size: cover; 
  background-position: center; 
  background-repeat: no-repeat; 
  z-index: -3; 
} */
/* .name-row[data-name="ash"]:hover::after,
.name-row[data-name="ash"].active::after {
  background-image: url("../image/D.E.E.P_三大亮點_右側_3.png");
} */
.name-line .name-row:hover .zh,
.name-line .name-row.active .zh {
  text-align: left;
  color: #fff;
}
.name-line .name-row:hover .en,
.name-line .name-row.active .en {
  color: #fff;
}
.name-line .name-row:hover .name,
.name-line .name-row.active .name {
  transform: translateX(5rem);
  color: #fff;
}

.name-line .photo-container {
  width: 33.4375rem;
  height: 38.375rem;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.name-line .photo-container img {
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: none;
  width: 100%;
  height: 100%;
}

.name-line .photo-container img.active {
  display: block;
}
.name-line .name-line-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: -6.6875rem;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  text-align: center;
  width: 100%;
  font-size: 1.75rem;
  white-space: nowrap;
  font-family: "Noto Sans CJK TC", sans-serif;
}
.name-line .photo-container-wrapper {
  position: absolute;
  bottom: 23%;
  right: 14%;
  transform: translateY(-50%);
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  pointer-events: none;
}
.name-line-phone {
  display: none;
}
@media (max-width: 1920px) {
  .name-line {
    background-image: url("../image/bg-deep-3.jpg");
    background-size: contain;
    background-position: bottom;
    background-repeat: no-repeat;
  }
}
@media (min-width: 1841px) and (max-width: 1920px) {
  .name-line {
    background-size: contain;
  }
}
@media (max-width: 1840px) {
  .name-line {
    background-size: cover;
  }
}
@media (max-width: 1700px) {
  .name-line {
    background-size: contain;
  }
}
@media (max-width: 1580px) {
  .name-line .name .zh {
    font-size: 2rem;
  }
  .name-line .name .en {
    font-size: 2.5rem;
  }
}
@media (max-width: 1440px) {
  .name-line .photo-container {
    width: 28.4375rem;
    height: 32.375rem;
  }
}
@media (max-width: 1370px) {
  .name-row-image {
    width: 10.9375rem;
  }
}
@media (max-width: 1220px) {
  .name-line .photo-container-wrapper {
    right: 8%;
  }
}
@media (max-width: 1000px) {
  .name-row-image {
    width: auto;
  }
}
@media (max-width: 768px) {
  .name-line {
    display: none;
    background-color: #010103;
  }
  .name-line .container {
    display: none;
  }
  .name-line-phone {
    display: block;
  }
  .name-line-phone-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0rem;
    margin-top: 9rem;
  }
  .first-line .name-line-phone-title {
    margin-top: 0rem;
  }
  .name-line-phone-title .zh {
    font-size: 4.2rem;
    color: #fff;
    font-family: "Noto Sans CJK TC", sans-serif;
    letter-spacing: 0.5rem;
  }
  .name-line-phone-title .en {
    font-size: 3.5rem;
    font-family: "Ubuntu", sans-serif;
    color: #fff;
    letter-spacing: 0.5rem;
  }
  .name-line2{
    margin-top: 6rem;
  }
}
@media (max-width: 480px) {
  .name-line2 {
    margin-top: 0rem;
    z-index: 5;
  }
}
