.sectionHeader {
  font-size: 2rem;
  line-height: 1.2;
}

/* Hero Section */

#hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  background-color: var(--color--black);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#hero video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#hero::after {
  content: '';
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
}

#hero .tagline {
  position: relative;
  z-index: 1;
  font-size: min(calc(100vw / 360 * 32), 5rem);
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

#hero .tagline b {
  font-size: 200%;
  font-weight: inherit;
}


/* Message Section */

#message {
  position: relative;
  scroll-margin-top: -2rem;
}

#message .bg img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: min(calc(100vw / 128 * 108), 100vh);
  object-fit: cover;
  object-position: 70% 50%;
  z-index: -1;
  mask-image: linear-gradient(to bottom, #000 33%, transparent);
  mask-size: cover;
}

#message .content {
  position: relative;
  margin-left: var(--x-margin);
  padding-top: clamp(4rem, 10vw, 8rem);
  width: clamp(360px, 37.5vw, 480px);
}

@media (max-width: 768px) {
  #message .bg img {
    height: calc(100vw / 360 * 480);
  }
  #message .content {
    padding-top: calc(100vw / 360 * 296);
    width: var(--max-width)
  }
}

#message .tagline {
  font-size: clamp(2rem, 10vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
}

#message .message {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 3rem;
  margin-bottom: clamp(3rem, 7.5vw, 6rem);
  font-size: 1rem;
  line-height: 2;
}

@media (min-width: 480px) {
  #message .tagline br {
    display: none;
  }
}


/* Services Section */

#services {
  position: relative;
  padding: clamp(2rem, 5vw, 4rem) 0 clamp(3rem, 7.5vw, 6rem);
  color: var(--color--white);
}

#services .content {
  position: relative;
  margin-left: var(--x-margin);
  width: var(--max-width);
}

#services .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
}

#services .service-item {
  flex: 0 0 calc(100% / 3 - (2.5rem * 2 / 3));
}

@media (max-width: 768px) {
  #services .service-item {
    flex: 0 0 calc(100% / 2 - (2.5rem * 1 / 2));
  }
}

@media (max-width: 480px) {
  #services .service-item {
    flex: 0 0 100%;
  }
}

#services .service-item .pictogram {
  display: block;
  margin-left: auto;
}

#services .service-item h3 {
  font-size: 1.25rem;
  line-height: 1.6;
  font-weight: 700;
  margin-top: -1.6em;
}

#services .service-item p {
  font-size: 1rem;
  line-height: 1.5;
  margin-top: 1em;
}


 /* Works Section */

#works {
  position: relative;
  padding: clamp(3rem, 7.5vw, 6rem) 0;
  color: var(--color--white);
  overflow-x: hidden;
}

#works::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background-color: var(--color--white);
  z-index: -1;
}

#works .content {
  position: relative;
  margin-left: var(--x-margin);
  width: var(--max-width);
}

#works .works-list {
  overflow: visible;
  margin-top: 2rem;
  color: var(--color--black)
}

@media (orientation: portrait) {
  #works .works-list {
    margin-top: min(20vw, 6rem);
  }
}

#works .navigation {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-top: 3rem;
}

#works .navigation button {
  display: inline-flex;
  align-items: center;
  font-size: .75rem;
  font-weight: 700;
  gap: .5rem;
}

#works .navigation button:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

#works .navigation i {
  font-size: 1.25rem;
}

#works .work-item {
  flex: 0 0 clamp(288px, 80vw, 448px);
}

#works .work-item .thumbnail {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 1rem;
  overflow: hidden;
  background-color: #f5f5f5;
}

#works .work-item .thumbnail img {
  object-fit: cover;
}

#works .work-item :is(.cover, .contain) img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

#works .work-item .contain img {
  object-fit: contain;
}

#works .work-item .avatar {
  background-color: #677;
}

#works .work-item .avatar img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 43.75%;
  height: auto;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 9999px;
}

#works .work-item .name {
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 700;
  margin-top: 1rem;
}

#works .work-item .client {
  font-size: .875rem;
  line-height: 1.2;
  font-weight: 600;
  margin-top: .25rem;
}

#works .work-item .description {
  font-size: .75rem;
  line-height: 1.5;
  margin-top: 1rem;
}

/* About Us Section */

#aboutus {
  position: relative;
  padding: clamp(3rem, 7.5vw, 6rem) 0;
  background-color: var(--color--white);
  color: var(--color--black);
}

#aboutus::after {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 100%;
  height: 7rem;
  background-color: var(--color--white);
  z-index: -1;
}

#aboutus .content {
  position: relative;
  margin-left: var(--x-margin);
  width: var(--max-width);
  display: grid;
  gap: 4rem 6rem;
}

@media (min-width: 896px) {
  #aboutus .content {
    grid-template-columns: auto 50%;
    grid-template-rows: 2.5rem auto;
  }
  #aboutus .companies {
    grid-column: 1 / 2;
  }
  #aboutus .locations {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
  }
}

#aboutus .companies {
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 5vw, 4rem);
}

#aboutus .company h3{
  font-size: 1.5rem;
}

#aboutus .company dl {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 7rem auto;
  gap: 1rem;
  font-size: .875rem;
}

#aboutus .company dt {
  font-weight: 600;
}

#aboutus .company dd {
  margin-inline-start: 0;
}

@media (max-width: 480px) {
  #aboutus .company dl {
    grid-template-columns: 100%;
  }
  #aboutus .company dd {
    margin-block-start: -.5rem;
  }
}

#aboutus .company a {
  color: inherit;
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 2rem;
}

#aboutus .locations {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 3.75vw, 2.5rem);
}

#aboutus .country {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 3.75vw, 2.5rem) 0;
}

@media (min-width: 560px) {
  #aboutus .country {
    display: grid;
    grid-template-columns: max(7rem, 25%) auto;
  }
}

#aboutus .office-list {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: .875rem;
}

#aboutus .office-list ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 1em 2em;
  max-height: 10em;
  max-width: 16em;
}

@media (min-width: 560px) {
  #aboutus .office-list ul {
    max-height: none;
    max-width: 100%;
  }
}

#aboutus .map img {
  width: 100%;
  height: auto;
}

#aboutus .map img[src*="JP"] {
  margin-top: -1rem;
}
