.top-service {
  margin-top: 40px;
}

.top-service__top {
  display: flex;
  align-items: center;
  column-gap: 40px;
}

.top-service__top .ttl01_box {
  flex-shrink: 0;
}

.top-service__top-image {
  max-width: 827px;
  height: 512px;
}

.top-service__top-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity .3s;
}

.top-service__top-lead {
  margin-top: 20px;
  font-size: 24px;
  font-weight: 500;
}

.top-service__rows {
  margin-top: 104px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 8px;
}

.top-service__rows-item {
  padding-inline: 12px;
}

.top-service__rows-image {
  aspect-ratio: 1 / 1;
  margin-bottom: 24px;
}

.top-service__rows-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity .3s;
}

@media screen and (max-width: 1024px) {
  .top-service__top-image {
    height: 400px;
  }
  
}

@media screen and (max-width: 767px) {
  .container.top_container:has(.top-service) {
    padding-inline: 0;
  }
  
  .top-service__top {
    flex-direction: column;
    row-gap: 8px;
  }

  .top-service__top-image {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .top-service__top-lead {
    margin-top: 0;
    font-size: 14px;
  }

  .top-service__rows {
    margin-top: 32px;
    grid-template-columns: 1fr;
    row-gap: 32px;
  }
  
  .top-service__rows-image {
    aspect-ratio: auto;
    margin-bottom: 8px;
  }
  
  .top-service__rows-item {
    padding-inline: 15px;
  }
}

.top-cross {
  margin-top: 120px;
}

.top-cross__heading {
  font-family: 'Oswald', sans-serif;
  font-size: 72px;
  font-weight: 600;
  line-height: 1.65;
  letter-spacing: .085em;
}

.top-cross__heading br {
  display: none;
}

.top-cross__rows {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.top-cross__item {
  margin-top: 32px;
  width: max-content;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  row-gap: 8px;
}

.top-cross__item-child {
  display: flex;
  flex-direction: column;
  row-gap: 8px;
}

.top-cross__item-text {
  width: fit-content;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 1px;
  color: #FFFFFF;
  padding: 8px;
  background-color: #DDAF2A;
}


@media screen and (max-width: 1340px) {
  .top-cross__heading {
    font-size: 56px;
  }
}

@media screen and (max-width: 1024px) {
  .top-cross__heading br {
    display: block;
  }
}

@media screen and (max-width: 767px) {
  .top-cross {
    margin-top: 40px;
  }

  .top-cross__heading {
    font-size: 27px;
  }
  
  .top-cross__rows {
    flex-direction: column;
    row-gap: 4px;
  }
  
  .top-cross__item {
    margin-top: 0;
    margin-left: 0;
    row-gap: 4px;
  }

  .top-cross__item-child {
    flex-direction: row;
    column-gap: 4px;
  }

  .top-cross__item-text {
    font-size: 18px;
    padding: 4px;
  }
}