.header-nav {
  margin: -25px 0 0 0;
  gap: 0;
}
.header-nav li:hover {
  opacity: 0.6;
}
.header-nav li:first-child {
  max-width: 260px;
  width: 100%;
}
.header-nav li:last-child {
  max-width: 162px;
  width: 100%;
}

.functions li a {
  margin-top: 1.5rem;
  width: 18.75rem;
}
.functions li a:hover {
  opacity: 0.6;
}

.section-1 {
  background: url(../img/main-bg.jpg) no-repeat;
  background-size: cover;
  background-position: center;
}
.section-1::after {
  background: initial;
  content: none;
}

.section-8 {
  background: #f5df4d url(../img/bg-2.png);
  padding-block: 5.625rem;
  text-align: center;
}
.section-8-title {
  margin: 0 0 40px 0;
}
.section-8-title img {
  max-width: 50%;
  margin-inline: auto;
}
.section-8 .point {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px 30px;
}
.section-8 .point li {
  text-align: left;
  position: relative;
  width: calc((100% - 60px) / 3);
  background-color: white;
  border-radius: 8px;
  padding: 35px 35px 35px 35px;
  margin: 60px 0 0 0;
  box-shadow: 0 4px 0 rgba(181, 150, 0, 0.25);
}
.section-8 .point li .num {
  font-size: 44px;
  color: #3b6cb2;
  font-family: "ja-bold";
  position: absolute;
  top: -30px;
  left: 20px;
  line-height: 1;
  text-align: center;
}
.section-8 .point li .num::before {
  content: "POINT";
  font-size: 13px;
}
.section-8 .point li .title {
  margin: 0 0 10px 0;
}
.section-8 .point li p {
  font-size: 14px;
}
@media screen and (max-width: 960px) {
  .header-nav {
    margin: -15px 0 0 0;
  }
  .header-nav li:first-child img {
    height: 40px;
  }
  .header-nav li:last-child img {
    height: 40px;
  }
}
@media screen and (max-width: 520px) {
  .functions li a {
    margin-inline: auto;
  }
}
@media screen and (max-width: 768px) {
  .section-8 .point {
    flex-direction: column;
  }
  .section-8 .point li {
    padding: 35px 20px 20px 20px;
    width: 100%;
  }
}