.kv {
  width: 100vw;
  padding-block: 120px 370px;
  position: relative;
  overflow-x: clip;
}
@media (max-width: 768px) {
  .kv {
    padding-block: 48px 248px;
  }
}
.kv__title {
  font-size: 50px;
  font-weight: 900;
  line-height: 1.8;
}
@media (max-width: 1200px) {
  .kv__title {
    margin-block-end: 27px;
  }
}
@media (max-width: 768px) {
  .kv__title {
    font-size: 30px;
  }
}
.kv__title--accent {
  color: var(--sub-color);
}
@media (min-width: 1201px) {
  .kv__img {
    width: 1060px;
    position: absolute;
    top: -50px;
    right: -280px;
  }
}
@media (max-width: 768px) {
  .kv__img {
    display: block;
    width: 487px;
    max-inline-size: none;
  }
}
.kv__img img {
  border-radius: 30px;
}
.kv__deco {
  position: absolute;
  z-index: 1;
  opacity: 0;
  animation: company-kv-deco-fade 0.8s ease forwards;
  will-change: opacity;
}
@media (prefers-reduced-motion: reduce) {
  .kv__deco {
    opacity: 1;
    animation: none;
  }
}
@keyframes company-kv-deco-fade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.kv__deco--kabocha {
  bottom: -200px;
  left: 180px;
  width: 194px;
  rotate: 140deg;
  animation-delay: 0.12s;
}
@media (max-width: 768px) {
  .kv__deco--kabocha {
    bottom: -100px;
    left: 100px;
    width: 104px;
  }
}
.kv__deco--tomato {
  bottom: -380px;
  left: -200px;
  width: 366px;
  animation-delay: 0.42s;
}
@media (max-width: 768px) {
  .kv__deco--tomato {
    bottom: -240px;
    left: -120px;
    width: 245px;
  }
}
.kv__deco--burokkori {
  top: -80px;
  right: -200px;
  width: 295px;
  animation-delay: 0.26s;
}
@media (max-width: 768px) {
  .kv__deco--burokkori {
    top: 80px;
    right: -70px;
    width: 190px;
  }
}
.kv__deco--tamanegi {
  top: -90px;
  right: 90px;
  width: 140px;
  animation-delay: 0.54s;
}
@media (max-width: 768px) {
  .kv__deco--tamanegi {
    top: 0px;
    right: 40px;
    width: 90px;
  }
}
.kv__deco--cabege {
  bottom: -270px;
  right: -80px;
  width: 180px;
  rotate: 40deg;
  animation-delay: 0.32s;
}
@media (max-width: 768px) {
  .kv__deco--cabege {
    bottom: -40px;
    right: 20px;
    width: 86px;
  }
}
.kv__deco--satsumaimo {
  bottom: -340px;
  right: -340px;
  width: 431px;
  animation-delay: 0.68s;
}
@media (max-width: 768px) {
  .kv__deco--satsumaimo {
    bottom: -70px;
    right: -120px;
    width: 203px;
  }
}

.about {
  padding-block-end: 130px;
}
@media (max-width: 768px) {
  .about {
    padding-block-end: 70px;
  }
}
.about__container {
  --container-max: 1030px;
}
.about__title {
  margin-block-end: 20px;
  text-align: center;
  color: var(--sub-color);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0.06em;
}
@media (max-width: 768px) {
  .about__title {
    font-size: 18px;
  }
}
.about__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-block-end: 50px;
}
@media (max-width: 768px) {
  .about__dots {
    margin-block-end: 30px;
  }
}
.about__dot {
  width: 3px;
  height: 3px;
  background: var(--sub-color);
  border-radius: 100vmax;
}
.about__lead {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 20px;
  font-size: 34px;
  font-weight: 700;
}
@media (max-width: 768px) {
  .about__lead {
    gap: 10px;
    margin-block-end: 20px;
    font-size: 18px;
  }
}
.about__lead-logo {
  position: relative;
  top: -12px;
}
@media (max-width: 768px) {
  .about__lead-logo {
    top: -3px;
  }
}
.about__lead-logo img {
  width: 300px;
}
@media (max-width: 768px) {
  .about__lead-logo img {
    width: 180px;
  }
}
.about__text {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  line-height: 2;
}
@media (max-width: 768px) {
  .about__text {
    text-align: left;
    font-size: 16px;
  }
}

.commit__container {
  padding-block: 78px 67px;
  padding-inline: 70px;
  background: #fff;
  border-radius: 20px;
}
@media (max-width: 768px) {
  .commit__container {
    padding-block: 60px;
    padding-inline: 20px;
  }
}
.commit__title {
  margin-block-end: 20px;
  text-align: center;
  color: var(--sub-color);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0.06em;
}
@media (max-width: 768px) {
  .commit__title {
    font-size: 18px;
  }
}
.commit__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-block-end: 50px;
}
@media (max-width: 768px) {
  .commit__dots {
    margin-block-end: 30px;
  }
}
.commit__dot {
  width: 3px;
  height: 3px;
  background: var(--sub-color);
  border-radius: 100vmax;
}
.commit__lead {
  margin-block-end: 80px;
  text-align: center;
  font-size: 34px;
  font-weight: 700;
}
@media (max-width: 768px) {
  .commit__lead {
    margin-block-end: 57px;
    font-size: 20px;
  }
}
.commit__lead--accent {
  color: var(--sub-color);
  font-size: 54px;
}
@media (max-width: 768px) {
  .commit__lead--accent {
    font-size: 30px;
  }
}
.commit__content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 90px;
}
@media (max-width: 768px) {
  .commit__content {
    flex-direction: column;
    justify-content: start;
    align-items: start;
    gap: 20px;
  }
}
.commit__content:not(:last-child) {
  margin-block-end: 50px;
}
@media (max-width: 768px) {
  .commit__content:not(:last-child) {
    margin-block-end: 30px;
  }
}
.commit__content-wrapper {
  width: 567px;
}
@media (max-width: 768px) {
  .commit__content-wrapper {
    width: 100%;
  }
}
.commit__content-title {
  margin-block-end: 10px;
  color: var(--sub-color);
  font-size: 50px;
  font-weight: 700;
  line-height: 1;
}
@media (max-width: 768px) {
  .commit__content-title {
    font-size: 40px;
  }
}
.commit__content-lead {
  margin-block-end: 2em;
  font-size: 18px;
  font-weight: 700;
}
.commit__content-text {
  font-size: 16px;
  font-weight: 500;
  line-height: 2;
}
.commit__content-img img {
  width: 542px;
  border-radius: 20px;
}
@media (max-width: 768px) {
  .commit__content-img img {
    width: 100%;
  }
}

.message {
  padding-block: 150px 0;
}
@media (max-width: 768px) {
  .message {
    padding-block: 90px 0;
  }
}
.message__title {
  margin-block-end: 20px;
  color: var(--sub-color);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0.06em;
}
@media (max-width: 768px) {
  .message__title {
    text-align: center;
    font-size: 18px;
  }
}
.message__dots {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-block-end: 54px;
}
@media (max-width: 768px) {
  .message__dots {
    justify-content: center;
    margin-block-end: 30px;
  }
}
.message__dot {
  width: 3px;
  height: 3px;
  background: var(--sub-color);
  border-radius: 100vmax;
}
.message__content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 90px;
}
@media (max-width: 768px) {
  .message__content {
    flex-direction: column;
    justify-content: start;
    align-items: start;
    gap: 34px;
  }
}
.message__content-img img {
  width: 100%;
  max-width: 468px;
  border-radius: 20px;
}
@media (max-width: 768px) {
  .message__content-img {
    text-align: center;
  }
  .message__content-img img {
    width: 80%;
  }
}
.message__content-wrapper {
  width: 100%;
  max-width: 642px;
}
.message__content-title {
  margin-block-end: 30px;
  font-size: 28px;
  font-weight: 700;
}
@media (max-width: 768px) {
  .message__content-title {
    margin-block-end: 20px;
    font-size: 20px;
  }
}
.message__content-title--accent {
  color: var(--sub-color);
}
.message__content-text {
  font-size: 16px;
  font-weight: 500;
  line-height: 2;
}
.message__content-name {
  margin-block-start: 10px;
  text-align: right;
  font-size: 18px;
  font-weight: 700;
}


.company {
  padding-block: 170px 144px;
}
@media (max-width: 768px) {
  .company {
    padding-block: 90px;
  }
}
.company__container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 50px;
}
.company__header-title {
  margin-block-end: 20px;
  color: var(--sub-color);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0.06em;
}
@media (max-width: 768px) {
  .company__header-title {
    font-size: 18px;
  }
}
.company__dots {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-block-end: 30px;
}
.company__dot {
  width: 3px;
  height: 3px;
  background: var(--sub-color);
  border-radius: 100vmax;
}
.company__header-lead {
  font-size: 34px;
  font-weight: 700;
}
@media (max-width: 768px) {
  .company__header-lead {
    font-size: 20px;
  }
}
.company__content {
  width: 100%;
  max-width: 642px;
}
.company__content-table tr {
  display: flex;
  align-items: start;
  gap: 20px;
}
@media (max-width: 768px) {
  .company__content-table tr {
    flex-direction: column;
    align-items: start;
    gap: 15px;
  }
}
.company__content-table tr:not(:last-child) {
  margin-block-end: 30px;
}
@media (max-width: 768px) {
  .company__content-table tr:not(:last-child) {
    margin-block-end: 20px;
  }
}
.company__content-table th {
  width: 150px;
  padding-block: 5px;
  background: var(--sub-color);
  border-radius: 100vmax;
  text-align: center;
  color: var(--accent-color);
  font-size: 18px;
  font-weight: 700;
}
.company__content-table td {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
}

.gallery {
  padding-block: 130px 90px;
  background: #fff;
}
@media (max-width: 768px) {
  .gallery {
    padding-block: 90px;
  }
}
.gallery__title {
  margin-block-end: 120px;
  text-align: center;
  font-size: 32px;
  font-weight: 700;
}
@media (max-width: 768px) {
  .gallery__title {
    width: fit-content;
    margin-inline: auto;
    margin-block-end: 50px;
    text-align: left;
    font-size: 26px;
    line-height: 1.8;
  }
}
.gallery__title--accent {
  color: var(--sub-color);
}
.gallery__marquee {
  --animation-loop-duration: 36s;
}
.gallery__images-item {
  display: block;
  flex: 0 0 auto;
}
.gallery__images-item img {
  display: block;
  max-width: 400px;
  max-height: 250px;
  border-radius: 20px;
}
@media (max-width: 768px) {
  .gallery__images-item img {
    width: 100%;
    max-width: 340px;
    max-height: 210px;
  }
}
