.header_main {
  width: 100%;
}
.header_main_container {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: row;
  padding-top: 6rem;
}
.header_main_content {
  width: 100%;
  margin-right: -9rem;
  z-index: 1;
  position: relative;
}
.header_main_content_text {
  width: 100%;
  max-width: 700px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  color: #FFFFFF;
  padding: 3rem;
}
.header_main_headline {
  margin-bottom: 1.5rem;
}
.header_main_headline h1 {
  font-size: clamp(30px, 5vw, 50px);
  line-height: 1.1;
}
.header_main_subheadline {
  margin-bottom: 1rem;
}
.header_main_subheadline h2 {
  font-size: clamp(16px, 2.5vw, 22px);
  line-height: 1.3;
  font-weight: 700;
}
.header_main_description {
  margin-bottom: 2.5rem;
}
.header_main_description p {
  font-size:  clamp(16px, 2.5vw, 22px);
  line-height: 1.3;
}
.header_main_email a, .header_main_tel a {
  text-decoration: none;
  line-height: 1.3;
  color: #FFFFFF;
  font-size: clamp(16px, 2.5vw, 22px);
}
.header_main_button {
  margin-top: 3rem;
}
.header_main_content img {
  width: 100%;
  height: 100%;
}
.header_main_img {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}
.slideshow {
  position: relative;
  width: 100%;
  height: 100%;
}

.slideshow picture {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: fade 16s infinite;
}

.slideshow picture:nth-child(1) {
  animation-delay: 0s;
}

.slideshow picture:nth-child(2) {
  animation-delay: 4s;
}

.slideshow picture:nth-child(3) {
  animation-delay: 8s;
}
.slideshow picture:nth-child(4) {
  animation-delay: 12s;
}

@keyframes fade {
  0% { opacity: 0; }
  8% { opacity: 1; }
  33% { opacity: 1; }
  41% { opacity: 0; }
  100% { opacity: 0; }
}

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

@media screen and (max-width: 800px) {
  .header_main_container {
    flex-direction: column;
    height: 100%;
  }
  .header_main_content {
    margin-right: 0;
    margin-bottom: -3.5rem;
    height: 100%;
  }
  .header_main_content {
    width: 100%;
    height: 100%;
  }
  
  .header_main_content_text {
    width: 100%;
    top: 45%;
    transform: translateY(-50%);
    left: 0;
    padding: 1rem;
  }
  .header_main_description {
    margin-bottom: 1rem;
  }
  .header_main_button {
    margin-top: 2rem;
  }
  .header_main_img {
    position: relative;
    width: 100%;
    height: 245px; 
    flex-shrink: 0; 
    order: 2;
  }
  .slideshow {
    position: relative;
    width: 100%;
    height: 100%;
  }
  .slideshow picture,
  .slideshow img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
@media screen and (min-width: 1800px) {
  .header_main_img {
    margin-left: -4rem;
  }
}
/* --------- Button 09 | Button 10 ---------*/
.header_main-btn-group {
  grid-column-gap: 3em;
  grid-row-gap: 3em;
  justify-content: flex-start;
  font-size: clamp(16px, 2.5vw, 20px);
  font-weight: bold;
  display: flex;
}

.header_main-btn-bubble-arrow {
  border-radius: 10em;
  justify-content: center;
  align-items: center;
  font-size: clamp(16px, 2.5vw, 20px);
  text-decoration: none;
  display: flex;
  position: relative;
}

.header_main-btn-bubble-arrow__arrow {
  color: #F29400;
  background-color: #FFFFFF;
  border-radius: 10em;
  flex-flow: row;
  justify-content: center;
  align-items: center;
  width: 3.75em;
  height: 3.75em;
  display: flex;
  position: relative;
  transition: transform 0.735s cubic-bezier(0.625, 0.05, 0, 1);
  transform: scale(0) rotate(0.001deg);
  transform-origin: left;
}

.header_main-btn-bubble-arrow__arrow.is--duplicate {
  z-index: 2;
  background-color: #FFFFFF;
  position: absolute;
  right: 0;
}

.header_main-btn-bubble-arrow__arrow-svg {
  width: 40%;
  transition: transform 0.735s cubic-bezier(0.625, 0.05, 0, 1);
  transform: rotate(0.001deg);
}

.header_main-btn-bubble-arrow__arrow.is--duplicate {
  position: absolute;
  z-index: 2;
  right: 0;
  transform: scale(1) rotate(0.001deg);
  transform-origin: right;
}

.header_main-btn-bubble-arrow__content {
  color: #F29400;
  background-color: #FFFFFF;
  border-radius: 10em;
  justify-content: center;
  align-items: center;
  height: 3.75em;
  padding-left: 1em;
  padding-right: 1em;
  display: flex;
  position: relative;
  transition: transform 0.735s cubic-bezier(0.625, 0.05, 0, 1);
  transform: translateX(-3.75em) rotate(0.001deg);
}

.header_main-btn-bubble-arrow__content-text {
  line-height: 1;
}

/* Hover */
.header_main-btn-bubble-arrow:hover .header_main-btn-bubble-arrow__content {
  transform: translateX(0em) rotate(0.001deg);
}

.header_main-btn-bubble-arrow:hover .header_main-btn-bubble-arrow__arrow-svg {
  transform: rotate(-45deg);
}

.header_main-btn-bubble-arrow:hover .header_main-btn-bubble-arrow__arrow {
  transform: scale(1) rotate(0.001deg);
}

.header_main-btn-bubble-arrow:hover .header_main-btn-bubble-arrow__arrow.is--duplicate {
  transform: scale(0) rotate(0.001deg);
}
