h3 {
  font-size: var(--font-size-xx-large);
}
article#introduction {
  margin-block-start: 27px;
  & section {
    box-sizing: content-box;
    max-inline-size: 1430px;
    margin-inline: auto;
    padding-inline-start: 0;
    /* padding-inline-start: var(--content-sides-space-small); */
    padding-inline-end: var(--content-sides-space-small);
  }
  & section.with-sidebar > :first-child {
    position: sticky;
    height: 100%;
    top: 27px;
    flex-basis: 41.26%;
  }
  & section.with-sidebar > :last-child {
    &.cover {
      background-image: url('/assets/img/about/introduction_bottom.png');
      background-position: right bottom;
      background-size: auto;
      min-block-size: 1386px;
    }
  }
  
  .heading {
    padding-block-start: var(--sections-space-x-large);
    & h2 {
      font-size: var(--font-size-xx-large);
    }
  }
  .description p {
    line-height: 2.3;
  }
}

article#about {
  & section#vision > *,
  & section#mission > * {
    border-block-end: 1px dashed var(--border-color-dark-primary);
    padding-block-end: var(--sections-space-default);
  }
  & section#vision {
    scroll-margin-block-start: var(--sections-space-larger);
  }
  & section#mission {
    scroll-margin-block-start: var(--sections-space-default);
    padding-block-start: 0;
  }
  & section#company {
    & video {
      border-radius: var(--border-radius-default);
      max-width: 100%;
      margin-block: var(--sections-space-default);
    }
  }
  
  & section#message,
  & section#member {
    &.with-sidebar > :first-child {
      position: sticky;
      height: 100%;
    }
  }
  & section#message {
    scroll-margin-top: var(--sections-space-large);
    &.with-sidebar > :first-child {
      top: var(--sections-space-large);
    }
    #message_contents {
      &> * + * {
        border-block-start: 1px dashed var(--border-color-dark-primary);
        padding-block-start: var(--space-larger);
      }
      #sentence p:last-child {
        text-align: right;
        > span {
          font-size: var(--font-size-larger);
          margin-inline-start: var(--space-initial);
        }
      }
      #profile h4 {
        font-size: var(--font-size-smaller);
        color: var(--text-color-vividness-primary);
      }
    }
    & h4 {
      font-size: var(--font-size-larger);
      font-weight: var(--font-weight-bold);
      color: var(--text-color-dark-primary);
    }
    .cluster {
      gap: var(--space-larger) var(--space-x-large);
    }
  }
  & section#member {
    scroll-margin-top: var(--sections-space-x-large);
    &.with-sidebar > :first-child {
      top: var(--sections-space-x-large);
    }
    .grid {
      grid-template-columns: 1fr 1fr;
    }
  }
}

article#company_profile  {
  scroll-margin-top: var(--sections-space-larger);
  & section.with-sidebar > :first-child {
    position: sticky;
    height: 100%;
    top: var(--sections-space-larger);
  }
  & li.switcher {
    gap: 0;
    padding-block-end: var(--space-larger);
    border-block-end: 1px dashed var(--border-color-dark-primary);
  }
  & li.switcher > :last-child {
    flex-grow: 3;
  }
  & a:not(:has(span)) {
    text-decoration: underline;
    text-underline-offset: 2px;
    @media (hover: hover) {
      &:hover {
        color: var(--text-color-vividness-primary);
      }
    }
  }
}

@media (width <= 1024px) {
  article#introduction {
    margin-block-start: 0;
    & section {
      padding-inline-start: var(--content-sides-space-small);
      &.with-sidebar > :first-child {
        position: static;
      }
    }
    & section.with-sidebar > :first-child {
      flex-basis: 100%;
      & img {
        margin-inline: auto;
      }
    }
    & section.with-sidebar > :last-child {
      margin-block-end: var(--sections-space-larger);
      &.cover {
        background-image: url('/assets/img/about/introduction_bottom_sp.png');
        background-position: center bottom;
        min-block-size: 1690px;
      }
    }
    section {
      .heading {
        padding-block-start: var(--space-larger);
      }
    }
  }
  article#about {
    & section#vision > *:first-child,
    & section#mission > *:first-child {
      border-block-end: none;
      padding-block-end: var(--sections-space-smaller);
    }
    & section#company {
      & video {
        margin-block: 0;
      }
    }
    & section#message,
    & section#member {
      &.with-sidebar > :first-child {
        position: static;
      }
    }
    & section#message {
      > :first-child {
        margin-block-end: var(--space-larger);
      }
    }
    & section#member,
    & section#interview {
      > :first-child {
        margin-block-end: var(--space-large);
      }
    }
  }

  article#company_profile {
    & section.with-sidebar > :first-child {
      position: static;
    }
    & li.switcher > * {
      flex-basis: calc((1024px - var(--content-sides-space-default) * 2 - 100%) * 999);
    }
    & li.switcher > :first-child {
      margin-block-end: var(--space-initial);
    }
    > :first-child > :first-child {
      margin-block-end: var(--sections-space-larger);
    }
    & li.switcher .cluster {
      gap: 0;
      > :first-child {
        width: 100%;
      }
    }
    & li.switcher p:has(.cluster) > * + * {
      margin-block-start: var(--space-smaller);
    }
  }
}

@media (1470px <= width) {
  article#introduction {
    & section.with-sidebar > :first-child {
      flex-basis: 590px;
    }
  }
}