@charset "utf-8";

@import "global.css";

main section.partner {
  height: auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  scroll-snap-align: start;
  background-color: #004aad;
}

@media only screen and (min-width: 1280px) {
  main section.partner {
    gap: 60px;
    height: 100vh;
  }
}

main section.partner h1 {
  font-size: 32px;
  font-weight: 400;
  color: #ffffff;
  text-align: center;
  white-space: pre-line;
}

@media only screen and (min-width: 1280px) {
  main section.partner h1 {
    font-size: 60px;
    white-space: nowrap;
  }
}

main section.partner h1 span {
  font-weight: 900;
}

main section.partner div.box-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 256px;
  margin: 0 auto;
}

@media only screen and (min-width: 1280px) {
  main section.partner div.box-wrapper {
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    max-width: 1200px;
  }
}

main section.partner div.box-wrapper div.box {
  width: 72px;
  height: 72px;
  aspect-ratio: 1/1;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media only screen and (min-width: 1280px) {
  main section.partner div.box-wrapper div.box {
    width: 180px;
    height: 180px;
    border-radius: 16px;
  }
}

main section.partner div.box-wrapper div.box img {
  width: 67px;
  height: auto;
}

@media only screen and (min-width: 1280px) {
  main section.partner div.box-wrapper div.box img {
    width: 120px;
    height: auto;
  }
}
