/**
 * Layout - Site
 * ページ全体の大枠（.l-）
 */

.l-site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.l-container {
  width: 100%;
  max-width: 1248px;
  margin: 0 auto;
  padding: 0 1.5rem;
  @media screen and (max-width: 767px) {
    padding: 0 1rem;
  }
}
.l-main {
  flex: 1;
}
.l-sectionPrimary {
  padding-block: 4rem;

  @media screen and (max-width: 767px) {
    padding-block: 2rem;
  }

  &.--hasBorder {
    border-top: 1px solid;
  }
}
.l-headingPrimary {
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  display: flex;
  justify-content: space-between;
  align-items: center;

  @media screen and (max-width: 767px) {
    font-size: 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  &::before {
    content: attr(data-heading);
    font-family: var(--font-en);
    font-weight: 300;
    font-size: 60px;
    line-height: 1;

    @media screen and (max-width: 767px) {
      font-size: 40px;
    }
  }

  &.--hasBorder {
    padding-bottom: 2rem;
    border-bottom: 1px solid;

    @media screen and (max-width: 767px) {
      position: relative;
      border-bottom: none;

      &::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100vw;
        height: 1px;
        background: currentColor;
      }
    }
  }

  &.--enOnly .l-headingPrimary__ja {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  &.--light {
    color: var(--color-text-light);
  }
}
.l-headingSecondary {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.5;
  padding-left: 26px;
  position: relative;

  @media screen and (max-width: 767px) {
    font-size: 20px;
    padding-left: 16px;
  }

  &::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: calc(100% - 12px);
    background-color: var(--color-bg-darkBlack);
    position: absolute;
    top: 50%;
    left: 0;
    translate: 0 -50%;

    @media screen and (max-width: 767px) {
      width: 7px;
    }
  }
}

.l-textContents {
  line-height: 1.7;
}
