/*------------------------------------*\
    $page base
\*------------------------------------*/
.page main {
  padding-top: var(--header-height);
}

.page-text {
  font-family: var(--font-family-page-text);
  font-weight: var(--fw-regular);
}

@media (min-width: 1024px) {
  body {
    font-size: 0.84rem;
  }
}

/*------------------------------------*\
    $page hero
\*------------------------------------*/
.section-page-hero .container {
  padding: 0 var(--container-x-space);
}

.page-hero__main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.page-hero__title {
  margin-bottom: 0.5rem;
  font-size: clamp(3rem, 18vw, 8rem);
  font-weight: var(--fw-bold);
}

.page-hero__image {
  display: block;
  width: 100%;
  height: auto;
}


.page-hero__body-title {
  margin-bottom: 1rem;
  font-size: 2rem;
  font-weight: var(--fw-bold);
}

.page-hero__desc p+p {
  margin-top: 1rem;
}


@media (min-width: 1024px) {
  .section-page-hero {
    padding-top: 4.5rem;
    padding-bottom: 5rem;
  }

  .section-page-hero .container {
    padding: 0;
  }

  .page-hero__main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2rem;
    align-items: end;
  }

  .page-hero__header {
    grid-column: 1;
    grid-row: 1;
  }

  .page-hero__visual {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: end;
  }

  .page-hero__body {
    margin-top: 3rem;
    grid-column: 1;
    grid-row: 2;
    max-width: 34rem;
  }

  .page-hero__title {
    font-size: clamp(3rem, 7.5vw, 7rem);
  }
}


/*------------------------------------*\
    $page concepts
\*------------------------------------*/
.section-page-concepts .container {
  padding: 0 2rem;
}

.page-concepts__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.page-concepts__visual {
  aspect-ratio: 500 / 340;
}

.page-concepts__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-concepts__title {
  margin: -1em 0 1rem;
  font-size: 2.5rem;
  font-weight: var(--fw-bold);
}

@media (min-width: 1024px) {
  .section-page-concepts {
    padding-top: 4rem;
    padding-bottom: 5rem;
  }

  .section-page-concepts .container {
    padding: 0;
  }

  .page-concepts__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 1.5rem;
    row-gap: 0;
    align-items: start;
  }

  .page-concepts__item {
    display: flex;
    flex-direction: column;
  }

  .page-concepts__item:nth-child(2) {
    margin-top: 2rem;
  }

  .page-concepts__title {
    margin-bottom: 0.65rem;
    font-size: 2rem;
  }
}

/*------------------------------------*\
    $page selection
\*------------------------------------*/
.section-page-selection .container {
  padding: 0 var(--container-x-space);
}

.page-selection__title {
  margin: 0 0 1.5rem;
  text-align: center;
  font-size: 2.8rem;
  font-weight: var(--fw-bold);
  color: var(--color-primary);
}

.page-selection__panel {
  border: 1px solid var(--color-text);
  padding: 2rem 1.5rem;
}

.page-selection__list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.page-selection__item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.page-selection__heading {
  font-size: 1.6rem;
  font-weight: var(--fw-bold);
  line-height: 1.3;
}

.page-selection__desc {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.page-selection__logos {
  display: flex;
  justify-content: center;
  margin-top: 0.25rem;
}

.page-selection__logos--group {
  gap: 0.9rem;
}

.page-selection__logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-selection__logo-item img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
}

.page-selection__logos--group {
  flex-wrap: wrap;
}

.page-selection__logos--group .page-selection__logo-item {
  width: calc((100% - 0.9rem*2) / 3);
  max-width: 120px;
}

.page-selection__logos:not(.page-selection__logos--group) .page-selection__logo-item {
  max-width: 120px;
}

@media (min-width: 1024px) {
  .section-page-selection {
    padding-top: 4rem;
    padding-bottom: 5rem;
  }

  .section-page-selection .container {
    padding: 0;
  }

  .page-selection__title {
    margin-bottom: 2rem;
    font-size: 4rem;
  }

  .page-selection__panel {
    padding: 3rem 3rem;
  }

  .page-selection__list {
    max-width: var(--content-max-width);
    margin: 0 auto;
    gap: 3.5rem;
  }

  .page-selection__item {
    gap: 1rem;
  }

  .page-selection__heading {
    font-size: 1.25rem;
  }

  .page-selection__logos {
    margin-top: 0.5rem;
  }

  .page-selection__logos--group {
    gap: 1.4rem;
  }

  .page-selection__logos--group .page-selection__logo-item {
    width: 120px;
    max-width: none;
  }

  .page-selection__logos:not(.page-selection__logos--group) .page-selection__logo-item {
    width: 120px;
    max-width: none;
  }
}


/*------------------------------------*\
    $page space
\*------------------------------------*/
.section-page-space .container {
  padding: 0 var(--container-x-space);
}

.page-space__visual {
  aspect-ratio: 640 / 445;
}

.page-space__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-space__body {
  padding-top: 1.75rem;
}

.page-space__title {
  margin: 0 0 1rem;
  font-size: 1.6rem;
  font-weight: var(--fw-bold);
}

.page-space__desc p+p {
  margin-top: 1rem;
}

@media (min-width: 1024px) {
  .section-page-space {
    padding-top: 4rem;
    padding-bottom: 5rem;
  }

  .section-page-space .container {
    padding: 0;
  }

  .page-space__body {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding-top: 3rem;
  }

  .page-space__visual {
    aspect-ratio: 2000 / 972;
  }

  .page-space__title {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
  }

  .page-space__desc {
    gap: 1.1rem;
  }
}