@charset "utf-8";

main {
  overflow: clip;
}

.fv,
.sec-box {
  position: relative;
  overflow: hidden;
}

.fv-parallax,
.sec-box-parallax {
  will-change: transform;
}

/* ↓↓↓ fv ↓↓↓ */
.fv {
  position: relative;
  width: 100%;
  height: 100dvh;
  background: url(../img/top/fv-bg.png) no-repeat;
  background-size: cover;
  @media (max-width: 768px) {
    height: 100lvh !important;
    background: url(../img/top/fv-bg_sp.png) no-repeat;
    background-size: cover;
  }
  .fv-parallax {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    .ttl-wrap {
      position: relative;
      width: min(960px, 75vw);
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      margin: 0 auto;
      color: #fff;

      @media (max-width: 768px) {
        width: 100%;
        padding: 0 32px;
      }

      &::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0%;
        height: 1px;
        background-color: currentColor;
        transition: width 500ms ease;
        @media (max-width: 768px) {
          left: 32px;
        }
      }

      .ttl {
        width: min(637px, 49.765625vw);
        overflow: hidden;

        @media (max-width: 768px) {
          width: 279px;
        }

        picture {
          display: block;
          width: 100%;
        }
      }

      &:has(.-active) {
        &::after {
          width: 100%;
          @media (max-width: 768px) {
            width: calc(100% - 64px);
          }
        }
      }

      .sub {
        font-size: min(2.4rem, 1.875cqw);
        font-weight: 700;
        line-height: 1.458;
        color: #fff;
        margin-bottom: min(27px, 2.109375cqw);
        overflow: hidden;
        span {
          display: block;
        }
        @media (max-width: 768px) {
          position: absolute;
          font-size: 1.6rem;
          right: 32px;
          bottom: -35px;
          margin: 0;
        }
      }
    }
  }
}
/* ↑↑↑ fv ↑↑↑ */

/* ↓↓↓ sec-box ↓↓↓ */
.sec-box {
  width: 100%;
  .sec-box-parallax {
    .sec-box_inner {
      max-width: 1280px;
      margin: 0 auto;
      container-type: inline-size;
      @media (max-width: 768px) {
        max-width: 100%;
      }
      .ttl-wrap {
        position: relative;
        width: 75cqw;
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        margin: 0 auto;
        color: #fff;

        @media (max-width: 768px) {
          width: 100%;
          padding: 0 32px;
        }

        &::after {
          content: '';
          position: absolute;
          bottom: 0;
          left: 0;
          width: 0%;
          height: 1px;
          background-color: currentColor;
          transition: width 500ms ease;
          @media (max-width: 768px) {
            left: 32px;
          }
        }

        &:has(.-active) {
          &::after {
            width: 100%;
            @media (max-width: 768px) {
              width: calc(100% - 64px);
            }
          }
        }
      }

      .txt01 {
        width: 75cqw;
        font-size: 5cqw;
        font-weight: 700;
        line-height: 1.125;
        color: #fff;
        margin: 1.40625cqw auto 0;

        @media (max-width: 768px) {
          width: 100%;
          font-size: 3.2rem;
          padding: 0 32px;
          margin: 16px auto 0;
        }
      }

      .txt02 {
        width: 75cqw;
        font-size: 1.25cqw;
        font-weight: 700;
        line-height: 2;
        color: #fff;
        text-align: justify;
        word-break: break-all;
        margin: 3.125cqw auto 0;
        @media (max-width: 768px) {
          width: 100%;
          font-size: 1.2rem;
          line-height: 1.66666;
          letter-spacing: 0;
          margin: 20px auto 0;
          padding: 0 32px;
        }
      }
    }
  }
  &.box01 {
    aspect-ratio: 1280 / 976;
    height: min(976px, 76.25vw);
    background: url(../img/philosophy/sec-box01-bg.jpg) no-repeat;
    background-size: cover;
    background-position: center center;
    @media (max-width: 768px) {
      aspect-ratio: 375 / 640;
      height: 640px;
      background: url(../img/philosophy/sec-box01-bg_sp.jpg) no-repeat;
      background-size: cover;
      background-position: center center;
    }

    .sec-box_inner {
      .ttl-wrap {
        margin: 17.34375cqw auto 0;

        @media (max-width: 768px) {
          margin: 50px auto 0;
        }

        .ttl {
          width: 12.34375cqw;
          margin-bottom: 1.40625cqw;
          overflow: hidden;

          @media (max-width: 768px) {
            width: 79px;
            margin-bottom: 12px;
          }

          picture {
            display: block;
            width: 100%;
          }
        }
      }
    }
  }
  &.box02 {
    aspect-ratio: 1280 / 976;
    height: min(976px, 76.25vw);
    background: url(../img/philosophy/sec-box02-bg.png) no-repeat;
    background-size: cover;
    background-position: center center;
    @media (max-width: 768px) {
      aspect-ratio: 375 / 640;
      height: 640px;
      background: url(../img/philosophy/sec-box02-bg_sp.png) no-repeat;
      background-size: cover;
      background-position: center center;
    }

    .sec-box_inner {
      .ttl-wrap {
        margin: 16.5625cqw auto 0;

        @media (max-width: 768px) {
          margin: 65px auto 0;
        }

        .ttl {
          width: 17.03125cqw;
          margin-bottom: 1.40625cqw;
          overflow: hidden;

          @media (max-width: 768px) {
            width: 79px;
            margin-bottom: 12px;
          }

          picture {
            display: block;
            width: 100%;
          }
        }
      }
    }
  }
  &.box03 {
    aspect-ratio: 1280 / 1168;
    height: min(1168px, 91.25vw);
    background: url(../img/philosophy/sec-box03-bg.jpg) no-repeat;
    background-size: cover;
    background-position: center center;
    @media (max-width: 768px) {
      aspect-ratio: 375 / 872;
      height: 872px;
      background: url(../img/philosophy/sec-box03-bg_sp.jpg) no-repeat;
      background-size: cover;
      background-position: center center;
    }

    .sec-box_inner {
      .ttl-wrap {
        margin: 16.640625cqw auto 0;

        @media (max-width: 768px) {
          margin: 65px auto 0;
        }

        .ttl {
          width: 17.03125cqw;
          margin-bottom: 1.40625cqw;
          overflow: hidden;

          @media (max-width: 768px) {
            width: 79px;
            margin-bottom: 12px;
          }

          picture {
            display: block;
            width: 100%;
          }
        }
      }
    }
  }
  &.box04 {
    aspect-ratio: 1280 / 2112;
    height: min(2112px, 165vw);
    background: url(../img/philosophy/sec-box04-bg.png) no-repeat;
    background-size: cover;
    background-position: center center;
    @media (max-width: 768px) {
      aspect-ratio: 375 / 1488;
      height: 1488px;
      background: url(../img/philosophy/sec-box04-bg_sp.png) no-repeat;
      background-size: cover;
      background-position: center center;
    }

    .sec-box_inner {
      .ttl-wrap {
        margin: 16.640625cqw auto 0;

        @media (max-width: 768px) {
          margin: 65px auto 0;
        }

        .ttl {
          width: 12.812499999999998cqw;
          margin-bottom: 1.40625cqw;
          overflow: hidden;

          @media (max-width: 768px) {
            width: 79px;
            margin-bottom: 12px;
          }

          picture {
            display: block;
            width: 100%;
          }
        }
      }

      .txt-wrap {
        position: relative;
        width: 75cqw;
        margin: 0 auto;
        @media (max-width: 768px) {
          width: 100%;
        }
        + .txt-wrap {
          margin: 5.46875cqw auto 0;
          @media (max-width: 768px) {
            margin-top: 45px;
          }
          &::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 1px;
            background-color: #fff;

            @media (max-width: 768px) {
              translate: -50% 0;
              left: 50%;
              width: calc(100% - 64px);
            }
          }

          .txt01 {
            padding-top: 1.875cqw;
            letter-spacing: 0;
            @media screen {
              padding-top: 14px;
            }
          }

          &.wrap03 {
            margin: 13.28125cqw auto 0;
            @media (max-width: 768px) {
              margin-top: 45px;
            }
          }
        }

        &.wrap01 {
          &::after {
            content: '';
            position: absolute;
            top: 13.671875cqw;
            right: 0;
            width: 6.328125cqw;
            height: 16.5625cqw;
            background: url(../img/philosophy/num01.svg) no-repeat;
            background-size: cover;
            @media (max-width: 768px) {
              top: 18px;
              right: 32px;
              width: 41px;
              height: 107px;
              background: url(../img/philosophy/num01_sp.svg) no-repeat;
              background-size: cover;
            }
          }
        }
        &.wrap02 {
          &::before {
            content: '';
            position: absolute;
            top: 13.671875cqw;
            right: 0;
            width: 11.875cqw;
            height: 16.796875cqw;
            background: url(../img/philosophy/num02.svg) no-repeat;
            background-size:cover;
            @media (max-width: 768px) {
              top: 18px;
              right: 32px;
              width: 77px;
              height: 108px;
              background: url(../img/philosophy/num02_sp.svg) no-repeat;
              background-size: cover;
            }
          }
        }
        &.wrap03 {
          &::before {
            content: '';
            position: absolute;
            top: 13.671875cqw;
            right: 0;
            width: 11.953125cqw;
            height: 17.109375cqw;
            background: url(../img/philosophy/num03.svg) no-repeat;
            background-size:cover;
            @media (max-width: 768px) {
              top: 18px;
              right: 32px;
              width: 77px;
              height: 110px;
              background: url(../img/philosophy/num03_sp.svg) no-repeat;
              background-size: cover;
            }
          }
        }
      }
    }
  }
}
/* ↑↑↑ sec-box ↑↑↑ */

/* ↓↓↓ common ↓↓↓ */
/* ↑↑↑ common ↑↑↑ */

/* ↓↓↓ common ↓↓↓ */
/* ↑↑↑ common ↑↑↑ */

/* ↓↓↓ common ↓↓↓ */
/* ↑↑↑ common ↑↑↑ */

/* ↓↓↓ common ↓↓↓ */
/* ↑↑↑ common ↑↑↑ */

.-fadeIn {
  opacity: 0;
}

@media (min-width: 1281px) {}

@media (max-width: 1280px) {}

@media (max-width: 768px) {}

@media (max-width: 480px) {}

@media (max-width: 375px) {}