@charset "UTF-8";

main {
  width: 100%;
}

header::before {
  transform: scaleY(1);
}

/* ↓↓↓ title-box ↓↓↓ */
.title-box {
  width: 100%;
  padding-top: 17.96875vw;

  @media (max-width: 768px) {
    padding-top: 112px;
  }
}

.title-box .inner {
  width: 88.75vw;
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;

  @media (max-width: 768px) {
    width: 100%;
    padding-inline: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }

  .ttl-group {
    width: fit-content;

    @media (max-width: 768px) {
      width: 100%;
    }

    .subttl {
      padding-left: 2.1875vw;
      font-family: var(--cormorant);
      font-size: 1.25vw;
      font-weight: 600;
      letter-spacing: 0.1em;
      line-height: 1;
      position: relative;

      @media (max-width: 768px) {
        padding-left: 28px;
        font-size: 16px;
      }

      &::before {
        content: '';
        position: absolute;
        top: 0.234375vw;
        left: 0;
        width: 1.328125vw;
        aspect-ratio: 17 / 11;
        background: url(/assets/img/common/icon-cross.svg) no-repeat;
        background-size: contain;

        @media (max-width: 768px) {
          top: 3px;
          width: 17px;
        }
      }
    }

    .ttl {
      margin-top: 0.78125vw;
      font-family: var(--mincho);
      font-size: 3.125vw;
      font-weight: 600;
      letter-spacing: 0.04em;
      line-height: 1.2;

      @media (max-width: 768px) {
        margin-top: 10px;
        font-size: 32px;
        line-height: 1.5;
      }
    }
  }

  .breadcrumbs {
    width: fit-content;

    @media (max-width: 768px) {
      width: calc(100% + 24px);
    }

    ul {
      display: flex;
      gap: 2.109375vw;

      @media (max-width: 768px) {
        gap: 27px;
        overflow-x: auto;
        overflow-y: clip;
        white-space: nowrap;
        padding-right: 24px;
      }

      li {
        font-size: 0.859375vw;
        letter-spacing: 0.04em;
        line-height: 1;
        position: relative;

        @media (max-width: 768px) {
          font-size: 11px;
          line-height: 1.2;
        }

        a {
          text-decoration: underline;
          transition: opacity 300ms 0s ease;

          @media (min-width: 769px) {
            &:hover {
              opacity: 0.5;
            }
          }
        }
      }

      li:not(:last-of-type) {
        &::after {
          content: '';
          position: absolute;
          top: 50%;
          left: calc(100% + 0.625vw);
          width: 0.859375vw;
          height: 1px;
          background-color: #1E1E1E;

          @media (max-width: 768px) {
            width: 11px;
            left: calc(100% + 8px);
          }
        }
      }
    }
  }
}

.title-box .image {
  display: block;
  width: 94.375vw;
  margin-top: 3.125vw;

  @media (max-width: 768px) {
    width: 93.334%;
    margin-top: 24px;
  }
}

/* ↑↑↑ title-box ↑↑↑ */

/* ↓↓↓ contents ↓↓↓ */
.contents {
  width: 100%;
  margin-block: 9.375vw 12.5vw;
  position: relative;

  @media (max-width: 768px) {
    margin-block: 80px 100px;
  }
}

.contents.bg::before {
  content: '';
  position: absolute;
  top: -9.375vw;
  left: 0;
  width: 100%;
  aspect-ratio: 1280/1482;
  background: url(/assets/img/philosophy-message/contents-bg.png)no-repeat;
  background-size: contain;
  background-position: top center;
  z-index: -1;

  @media (max-width: 768px) {
    display: none;
  }
}

.contents .inner {
  width: 88.28125vw;
  margin-inline: auto;
  display: flex;
  justify-content: space-between;

  @media (max-width: 768px) {
    width: calc(100% - 48px);
    flex-direction: column;
  }
}

.contents .caption-block {
  flex: 1;
  height: auto;
  position: relative;

  .ttl-group {
    position: sticky;
    top: 8.59375vw;
    width: fit-content;

    @media (max-width: 768px) {
      position: relative;
      top: unset;
    }

    .cross {
      width: 1.328125vw;
      aspect-ratio: 17/11;
      display: block;

      @media (max-width: 768px) {
        width: 17px;
      }

      img {
        display: block;
      }
    }

    .ttl {
      margin-top: 0.78125vw;
      font-family: var(--mincho);
      font-size: 2.5vw;
      font-weight: 600;
      letter-spacing: 0.04em;
      line-height: 1;

      @media (max-width: 768px) {
        margin-top: 6px;
        font-size: 24px;
      }
    }
  }
}

.contents .conts-block {
  width: 61.25vw;

  @media (max-width: 768px) {
    width: 100%;
    margin-top: 40px;
  }
}

.contents .head-wrap {
  .eng {
    font-family: var(--cormorant);
    font-size: 2.1875vw;
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 1;

    @media (max-width: 768px) {
      font-size: 23px;
    }
  }

  .jpn {
    margin-top: 0.4em;
    font-family: var(--mincho);
    font-size: 1.25vw;
    letter-spacing: 0.08em;
    line-height: 1;

    @media (max-width: 768px) {
      font-size: 15px;
    }
  }
}

.contents .copy-block {
  width: 100%;
  padding-bottom: 9.375vw;
  border-bottom: 1px solid #F0F0F0;

  @media (max-width: 768px) {
    padding-bottom: 48px;
  }

  + .copy-block {
    margin-top: 9.375vw;

    @media (max-width: 768px) {
      margin-top: 48px;
    }
  }

  .copy-main {
    margin-top: 5vw;
    font-family: var(--mincho);
    font-size: 2.5vw;
    font-weight: 600;
    line-height: 1.5;

    @media (max-width: 768px) {
      margin-top: 32px;
      font-size: 24px;
      line-height: 1.666666666666667;
    }

    .cross {
      position: relative;
      z-index: -1;

      &::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        translate: -50% -49.5%;
        width: 32.421875vw;
        aspect-ratio: 415 / 280;
        background: url(/assets/img/philosophy-message/cross.png) no-repeat;
        background-size: contain;

        @media (max-width: 768px) {
          width: 285px;
          translate: -49.5% -49%;
        }
      }
    }
  }
}

.contents .origin-block {
  margin-top: 9.375vw;

  @media (max-width: 768px) {
    margin-top: 48px;
  }

  .head-wrap {
    margin-bottom: 5vw;

    @media (max-width: 768px) {
      margin-bottom: 32px;
    }
  }
}

.contents .origin-box {
  width: 100%;
  padding: 5.625vw 7.65625vw 6.25vw;
  background-color: #F8F8F8;
  position: relative;

  @media (max-width: 768px) {
    padding: 48px 32px 40px;
  }

  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0.625vw;
    background: #8DC21F;
    background: linear-gradient(90deg, rgba(141, 194, 31, 1) 0%, rgba(29, 32, 135, 1) 100%);

    @media (max-width: 768px) {
      height: 8px;
    }
  }

  .green {
    color: #8DC21F;
  }

  .blue {
    color: #1D2087;
  }

  .origin-box-ttl {
    display: block;
    width: 100%;
    padding-bottom: 1.25vw;
    font-family: var(--mincho);
    font-size: 1.875vw;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.666666666666667;
    text-align: center;
    position: relative;

    @media (max-width: 768px) {
      padding-bottom: 16px;
      font-size: 20px;
    }

    &::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 1px;
      background: #8DC21F;
      background: linear-gradient(90deg, rgba(141, 194, 31, 1) 0%, rgba(29, 32, 135, 1) 100%);
    }
  }

  .origin-box-subttl {
    display: block;
    width: 100%;
    margin-top: 3.515625vw;
    font-family: var(--cormorant);
    font-size: 2.8125vw;
    font-weight: 600;
    letter-spacing: 0.1em;
    line-height: 1;
    text-align: center;

    @media (max-width: 768px) {
      margin-top: 32px;
      font-size: 28px;
      line-height: 1.1;
    }
  }

  .origin-box-logo {
    width: 16.875vw;
    margin: 3.515625vw auto 0;

    @media (max-width: 768px) {
      width: 189px;
      margin-top: 32px;
    }
  }

  .text {
    width: 100%;
    margin-top: 3.515625vw;
    font-size: 1.171875vw;
    letter-spacing: 0.04em;
    line-height: 2;
    text-align: justify;
    word-break: break-all;
    display: block;

    @media (max-width: 768px) {
      margin-top: 32px;
      font-size: 15px;
    }
  }

  + .origin-box {
    margin-top: 2.5vw;
  }
}

.contents .greeting {
  width: 100%;

  .image {
    width: 100%;
  }

  .caption {
    margin-top: 6.25vw;
    font-family: var(--mincho);
    font-size: 2.5vw;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.5;

    @media (max-width: 768px) {
      margin-top: 64px;
      font-size: 24px;
      line-height: 1.666666666666667;
    }
  }

  .text {
    width: 100%;
    margin-top: 5vw;
    font-size: 1.171875vw;
    letter-spacing: 0.04em;
    line-height: 2;
    text-align: justify;
    word-break: break-all;

    @media (max-width: 768px) {
      margin-top: 30px;
      font-size: 15px;
    }
  }

  .signature {
    width: 100%;
    margin-top: 5vw;
    line-height: 1;
    text-align: right;

    @media (max-width: 768px) {
      margin-top: 35px;
    }

    .post {
      font-size: 1.015625vw;
      letter-spacing: 0.04em;

      @media (max-width: 768px) {
        font-size: 13px;
      }
    }

    .name {
      margin-top: 1.171875vw;
      font-family: var(--mincho);
      font-size: 1.875vw;
      font-weight: 600;
      letter-spacing: 0.08em;

      @media (max-width: 768px) {
        margin-top: 15px;
        font-size: 24px;
      }
    }
  }
}



/* ↑↑↑ contents ↑↑↑ */