main {
  background: #E2E1E2;
}

#visual {
  position: relative;
}
@media screen and (max-width: 767px) {
  #visual {
    margin-bottom: 0;
  }
}
#visual .ly_inner {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  color: #fff;
  max-width: none;
}
@media screen and (max-width: 767px) {
  #visual .ly_inner {
    position: static;
    display: block;
    color: #000;
  }
}
#visual .title {
  width: 50%;
  font-size: 4.4rem;
  padding-left: 180px;
}
@media screen and (max-width: 767px) {
  #visual .title {
    width: 100%;
    padding-left: 0;
  }
}
#visual .txt {
  width: 50%;
  max-width: 442px;
}
@media screen and (max-width: 767px) {
  #visual .txt {
    width: 100%;
    max-width: none;
  }
}
#visual .txt .vol {
  font-size: 2rem;
  font-weight: 500;
}
@media screen and (max-width: 767px) {
  #visual .txt .vol {
    display: none;
  }
}
#visual .txt h1 {
  font-size: 2.5rem;
  font-weight: 500;
}
#visual .txt .prof {
  display: flex;
  gap: 20px;
  align-items: baseline;
}
#visual .txt .prof .name {
  font-size: 1.4rem;
}

#contents .factory-block h2 {
  position: relative;
  font-size: 2.8rem;
  font-weight: 500;
  margin-bottom: 80px;
  display: flex;
  align-items: center;
}
@media screen and (max-width: 767px) {
  #contents .factory-block h2 {
    font-size: 2rem;
    margin-bottom: 3rem;
    display: block;
  }
}
#contents .factory-block h2 .en {
  font-size: clamp(3rem, 4vw, 4.4rem);
}
#contents .factory-block h2 .jp {
  font-size: clamp(1.6rem, 1.5vw, 1.8rem);
  margin-left: 24px;
}
@media screen and (max-width: 767px) {
  #contents .factory-block h2 .jp {
    margin-left: 0;
    margin-top: 1rem;
  }
}
#contents #first {
  background: url(/business/garment/3defx/factory/image/map.webp) no-repeat center bottom/cover;
  padding: 10vw 0 250px;
}
@media screen and (max-width: 767px) {
  #contents #first {
    background: url(/business/garment/3defx/factory/image/map-sp.webp) no-repeat right bottom/cover;
  }
}
#contents #first .ly_inner {
  display: flex;
  gap: 13%;
}
@media screen and (max-width: 767px) {
  #contents #first .ly_inner {
    flex-direction: column;
  }
}
#contents #first .ly_inner .txt {
  width: 46%;
}
@media screen and (max-width: 767px) {
  #contents #first .ly_inner .txt {
    width: 100%;
  }
}
#contents #first .ly_inner .txt p {
  line-height: 2.5;
}
#contents #first .ly_inner .movie {
  width: 54%;
}
@media screen and (max-width: 767px) {
  #contents #first .ly_inner .movie {
    width: 100%;
  }
}
#contents #first .ly_inner .movie .image {
  display: block;
  overflow: hidden;
  margin-bottom: 1rem;
}
#contents #first .ly_inner .movie .image img {
  transition: transform 0.5s ease;
}
#contents #first .ly_inner .movie .image:hover img {
  transform: scale(1.05);
}
#contents #first .ly_inner .movie p {
  text-align: center;
}
#contents .wide-image {
  position: relative;
  width: 100%;
}
#contents .wide-image .slide-text {
  position: absolute;
  top: 0;
  transform: translateY(-100%);
  z-index: 1;
  overflow: hidden;
}
#contents .wide-image .en {
  display: flex;
  width: -moz-max-content;
  width: max-content;
  animation: infiniteScroll 30s linear infinite;
}
#contents .wide-image .en span {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  margin-right: 0;
}
#contents .wide-image .en span img {
  display: block;
  height: 135px;
  width: auto;
  padding-right: 2rem;
}
#contents .wide-image .image img {
  max-width: 100%;
  height: auto;
}
@keyframes infiniteScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
#contents #certification {
  background: url(/business/garment/3defx/factory/image/certification_bg.webp) no-repeat center top/cover;
  padding: 10vw 0;
}
@media screen and (max-width: 767px) {
  #contents #certification {
    padding: 5rem 0 0;
  }
}
#contents #certification .ly_block {
  display: flex;
  align-items: center;
  gap: 5%;
  margin-bottom: 80px;
}
@media screen and (max-width: 767px) {
  #contents #certification .ly_block {
    flex-direction: column;
    margin-bottom: 5rem;
  }
}
#contents #certification .ly_block .image {
  width: 45%;
}
@media screen and (max-width: 767px) {
  #contents #certification .ly_block .image {
    width: 100%;
    margin-bottom: 3rem;
  }
}
#contents #certification .ly_block .txt {
  width: 55%;
}
@media screen and (max-width: 767px) {
  #contents #certification .ly_block .txt {
    width: 100%;
  }
}
#contents #certification .ly_block .txt h3 {
  font-size: clamp(2rem, 2.5vw, 2.8rem);
  font-weight: 500;
  margin-bottom: 40px;
}
@media screen and (max-width: 767px) {
  #contents #certification .ly_block .txt h3 {
    margin-bottom: 1rem;
  }
}
#contents #certification .ly_block .txt p {
  line-height: 2;
}
#contents #slider {
  position: relative;
  overflow: hidden;
}
#contents #slider .slider-in {
  display: flex;
  width: -moz-max-content;
  width: max-content;
  animation: infiniteScroll 30s linear infinite;
}
#contents #slider .slider-in .image {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  margin-right: 0;
}
#contents #slider .slider-in .image img {
  display: block;
  height: 18vw;
  width: auto;
}
@media screen and (max-width: 767px) {
  #contents #slider .slider-in .image img {
    height: 200px;
  }
}
#contents #sustainability {
  padding: 10vw 0;
}
#contents #sustainability .ly_block {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9% 100px;
}
@media screen and (max-width: 767px) {
  #contents #sustainability .ly_block {
    grid-template-columns: 1fr;
    gap: 60px 0;
  }
}
#contents #sustainability .ly_block figure figcaption {
  margin-top: 1rem;
}