@import url(sub/story.css);
@import url(sub/process.css);
@import url(sub/product.css);
@import url(sub/customer.css);

.sub__visual {
  height: 370px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.sub__visual .layout__inner {
  position: relative;
  height: 100%;
}

.sub__category {
  position: absolute;
  right: 50px;
  bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: #ffffff;
}

.sub__category ul {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sub__category li {
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
}

.sub__category li a img {
  width: 22px;
  display: block;
}

.sub__category li + li::before {
  content: ">";
  margin: 0 6px;
  color: #ffffff;
}

.sub__title {
  padding: 100px 0;
}

.sub__title h2 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #333333;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
  text-transform: uppercase;
}

.sub__title h2::after {
  content: "";
  display: inline-block;
  width: 60px;
  height: 2px;
  background: #00f9c1;
  margin-left: 10px;
  vertical-align: middle;
}

.sub__title p {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  color: #333333;
  text-transform: uppercase;
}

.sub__desc {
  text-align: center;
  margin-bottom: 80px;
}

.sub__desc__h3 {
  font-size: 32px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.sub__desc__p {
  font-size: 1.125rem;
  line-height: 1.5;
}

/* 1699↓ (~1440) */
@media (max-width:1699px) {
  .sub__visual {
    height: 340px;
  }

  .sub__title {
    padding: 80px 0;
  }

  .sub__title p {
    font-size: 28px;
  }

  .sub__desc__h3 {
    font-size: 28px;
  }
}

/* 1439↓ (~1280) */
@media (max-width:1439px) {
  .sub__visual {
    height: 320px;
  }

  .sub__category {
    right: 40px;
    font-size: .8rem;
  }

  .sub__title {
    padding: 70px 0;
  }

  .sub__title p {
    font-size: 26px;
  }

  .sub__desc__h3 {
    font-size: 26px;
  }

  .sub__desc__p {
    font-size: 1rem;
  }
}

/* 1279↓ (~1024) */
@media (max-width:1279px) {
  .sub__visual {
    height: 300px;
  }

  .sub__category {
    right: 30px;
    bottom: .8rem;
    font-size: .78rem;
  }

  .sub__title {
    padding: 60px 0;
  }

  .sub__title h2 {
    font-size: 13px;
  }

  .sub__title p {
    font-size: 24px;
  }

  .sub__desc {
    margin-bottom: 60px;
  }

  .sub__desc__h3 {
    font-size: 24px;
  }

  .sub__desc__p {
    font-size: .95rem;
  }
}

/* 1023↓ (~768) */
@media (max-width:1023px) {
  .sub__visual {
    height: 260px;
  }

  .sub__category {
    right: 20px;
    bottom: .6rem;
    font-size: .75rem;
  }

  .sub__category li a img {
    width: 20px;
  }

  .sub__title {
    padding: 50px 0;
  }

  .sub__title h2 {
    font-size: 12px;
  }

  .sub__title p {
    font-size: 22px;
  }

  .sub__desc {
    margin-bottom: 50px;
  }

  .sub__desc__h3 {
    font-size: 22px;
  }

  .sub__desc__p {
    font-size: .9rem;
  }
}

/* 767↓ (~390) */
@media (max-width:767px) {
  .sub__visual {
    height: 200px;
  }

  .sub__category {
    right: 16px;
    bottom: .5rem;
    font-size: .7rem;
  }

  .sub__category ul {
    gap: 4px;
  }

  .sub__title {
    padding: 40px 0;
  }

  .sub__title p {
    font-size: 20px;
  }

  .sub__desc {
    margin-bottom: 40px;
  }

  .sub__desc__h3 {
    font-size: 20px;
  }

  .sub__desc__p {
    font-size: .85rem;
  }
}

/* 389↓ */
@media (max-width:389px) {
  .sub__visual {
    height: 180px;
  }

  .sub__category {
    right: 12px;
    bottom: .4rem;
    font-size: .68rem;
  }

  .sub__title {
    padding: 32px 0;
  }

  .sub__title h2 {
    font-size: 11px;
  }

  .sub__title p {
    font-size: 18px;
  }

  .sub__desc {
    margin-bottom: 32px;
  }

  .sub__desc__h3 {
    font-size: 18px;
  }

  .sub__desc__p {
    font-size: .8rem;
  }
}