/* scss/module/_index.scss */
#news-banner .container, #about .container, #process .container, #solutions .container, #cases .container {
  max-width: 1024px;
  margin: 0 auto;
}

@keyframes scroll-float {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.8;
  }
  50% {
    transform: translateY(-10px);
    opacity: 1;
  }
}
/* media query */
/* centering */
/* set top position of pseudo element */
/* set pseudo element(no image) */
/* set pseudo element */
/* font set */
#hero {
  position: relative;
  height: 100vh;
  padding-top: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url(/wp-content/themes/cocoon-child-master/library/img/top/bg_hero.webp) no-repeat 50%;
  overflow: hidden;
}
#hero #vanta-bg {
  height: 100vh;
  width: 100%;
  position: absolute;
  inset: 0;
  background: rgba(0, 34, 63, 0.9);
}
#hero .hero-image {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 533px;
  overflow: hidden;
  z-index: 0;
}
#hero .hero-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
#hero .container {
  position: relative;
  z-index: 1;
}
#hero .hero-content {
  background: rgba(0, 34, 63, 0.86);
  border-radius: 8px;
  padding: 34px 40px;
  max-width: 800px;
  color: #fff;
  position: absolute;
  text-align: center;
}
@media (max-width: 768px) {
  #hero .hero-content {
    margin: 0 10px;
    padding: 20px 10px;
  }
}
#hero .hero-content h1 {
  font-size: 50px;
  line-height: 1.3;
  margin-bottom: 20px;
  text-align: left;
}
@media (max-width: 768px) {
  #hero .hero-content h1 {
    font-size: 26px;
  }
}
#hero .hero-content p {
  font-size: 28px;
  margin-bottom: 28px;
}
@media (max-width: 768px) {
  #hero .hero-content p {
    font-size: 14px;
  }
}
#hero #scroll-image {
  animation: scroll-float 2.4s ease-in-out infinite;
  position: absolute;
  bottom: 5%;
  width: 40px;
  left: calc(50% - 20px);
}

#news-banner {
  background: url(/wp-content/themes/cocoon-child-master/library/img/common/bg_news-banner.png), linear-gradient(90deg, #3200D7 0%, #1A0071 100%);
  padding: 20px 0;
  position: relative;
}
#news-banner .container {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #fff;
}
#news-banner time {
  font-size: 12px;
}
#news-banner p {
  font-size: 16px;
  flex: 1;
}

.news-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 10px 0;
}
.news-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d9d9d9;
}
.news-dots span.active {
  background: #00223f;
}

#about {
  padding: 30px 0 60px;
  background: url("/wp-content/themes/cocoon-child-master/library/img/top/bg_about.webp");
  background-size: cover;
  background-position: 100px 0;
  background-repeat: no-repeat;
}
#about .container {
  text-align: center;
}
#about .about-content {
  max-width: 764px;
  margin: 0 auto 32px;
  text-align: left;
}
#about .about-content p {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 16px;
}
#about .description {
  text-align: left;
  margin-bottom: 30px;
}
#about figure {
  margin: 0 0 59px;
}
#about figure .about-image {
  max-width: 764px;
  width: 100%;
  height: auto;
}

#process {
  padding: 30px 0 60px;
  background: #fff;
}
#process .process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
#process .process-card {
  background: #0093d4;
  padding: 20px;
  border-radius: 6px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
#process .process-card .flex {
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
}
#process .process-card .flex h3 {
  font-size: 20px;
}
#process .process-card p {
  font-size: 16px;
  line-height: 24px;
  flex: 1;
}
#process .process-card .card-link {
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 10px 0;
  font-size: 18px;
  align-self: flex-end;
}

#solutions {
  padding: 30px 0 60px;
  background: #f1f1f1;
}
#solutions .solutions-box {
  background: #fff;
  padding: 20px 30px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 31px;
  max-width: 800px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  #solutions .solutions-box {
    background: none;
    padding: 0;
  }
}
#solutions .solution-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (max-width: 768px) {
  #solutions .solution-row {
    padding: 20px 10px;
    background: #fff;
    border-radius: 6px;
  }
}
#solutions .solution-row .problem {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}
#solutions .solution-row .problem svg {
  flex-shrink: 0;
}
#solutions .solution-row .problem span {
  font-size: 16px;
  color: #8c8c8c;
  letter-spacing: -0.72px;
}
#solutions .solution-row .arrow {
  flex-shrink: 0;
  margin: 0 52px;
}
#solutions .solution-row .solution {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
}
#solutions .solution-row .solution svg {
  flex-shrink: 0;
}
#solutions .solution-row .solution span {
  font-size: 20px;
  letter-spacing: -0.9px;
}
#solutions .solution-row:nth-child(1) .solution span {
  color: #2b7fff;
}
#solutions .solution-row:nth-child(2) .solution span {
  color: #00bba7;
}
#solutions .solution-row:nth-child(3) .solution span {
  color: #ffab40;
}
#solutions .solution-row:nth-child(4) .solution span {
  color: #00b8db;
}
#solutions .solution-row:nth-child(5) .solution span {
  color: #1447e6;
}

#hero2 {
  position: relative;
  height: 309px;
  background: #1a0071;
  display: flex;
  align-items: center;
}
#hero2 .hero-content {
  position: relative;
  z-index: 1;
  max-width: 492px;
  margin-left: 13.43%;
  color: #fff;
}
#hero2 .hero-content h2 {
  font-size: 38px;
  line-height: 1.3;
  margin-bottom: 20px;
}
#hero2 .hero-content p {
  font-size: 22px;
  margin-bottom: 28px;
}
#hero2 .hero-image {
  position: absolute;
  inset: 0 0 0 auto;
  width: 35%;
  height: 100%;
  overflow: hidden;
}
#hero2 .hero-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

#cases {
  padding: 30px 0 60px;
  background: #fff;
}
#cases .cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 20px;
}
#cases article a:hover {
  opacity: 0.8;
}
#cases article a img {
  width: 100%;
  height: auto;
  aspect-ratio: 371/205;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 6px;
}
#cases article a .tag {
  background: #0093d4;
  color: #fff;
  padding: 7px 20px;
  border-radius: 50px;
  font-size: 12px;
  align-self: flex-start;
}
#cases article a h3 {
  font-size: 18px;
  line-height: 22px;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 20px 0;
}
#cases article a p {
  font-size: 14px;
  line-height: 22px;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#footer {
  background: #e6e6e6;
  padding: 10px 0;
  text-align: center;
}
#footer p {
  font-size: 14px;
  color: #888;
}

@media (max-width: 1024px) {
  #process .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  #cases .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  #hero2 .hero-content {
    margin-left: 5%;
  }
}
@media (max-width: 768px) {
  #process .process-grid,
  #cases .cases-grid {
    grid-template-columns: 1fr;
  }
  #solutions .solution-row {
    flex-direction: column;
    gap: 20px;
  }
  #solutions .solution-row .arrow {
    margin: 0;
    transform: rotate(90deg);
  }
  #hero2 {
    height: auto;
    padding: 30px 0 60px;
  }
  #hero2 .hero-content {
    margin: 0 auto;
    text-align: center;
  }
  #hero2 .hero-image {
    position: relative;
    width: 100%;
    height: 300px;
    margin-top: 40px;
  }
}