/* ↓↓↓ fv ↓↓↓ */
.fv {
  position: relative;
  padding-top: min(260px, 20.3125vw);
  @media (max-width: 768px) {
    padding-top: 196px;
  }
  &::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: min(720px, 56.25cqw);
    background-color: #EDF4F7;
    z-index: -1;
    @media (max-width: 768px) {
      height: 389px;
    }
  }
  .fv-inner {
    max-width: 1280px;
    margin: 0 auto;
    container-type: inline-size;
    @media (max-width: 768px) {
      max-width: 100%;
    }

    .ttl-wrap {
      margin-left: 10cqw;
      @media (max-width: 768px) {
        margin-left: 32px;
      }
      .en {
        position: relative;
        font-size: 1.09375cqw;
        font-family: var(--text-lato);
        font-weight: 700;
        color: #0090BA;
        letter-spacing: 0.08em;
        padding-left: 1.7968749999999998cqw;
        @media (max-width: 768px) {
          font-size: 1.4rem;
          padding-left: 23px;
        }
        &::after {
          content: '';
          position: absolute;
          translate: 0 -50%;
          top: 50%;
          left: 0;
          width: 1.171875cqw;
          height: 1.25cqw;
          background: url(../img/message/en-deco.svg) no-repeat;
          background-size: 1.171875cqw 1.25cqw;
          @media (max-width: 768px) {
            width: 15px;
            height: 16px;
            background-size: 15px 16px;
          }
        }
      }
      .ttl {
        font-size: 3.125cqw;
        font-weight: 600;
        line-height: 1.2;
        letter-spacing: 0.08em;
        margin-top: 0.625cqw;
        @media (max-width: 768px) {
          font-size: 2.4rem;
          margin-top: 8px;
        }
      }
    }

    .image {
      width: 90.625cqw;
      margin: 7.8125cqw 0 0 auto;

      @media (max-width: 768px) {
        width: 93.6cqw;
        margin: 48px 0 0 auto;
      }
    }
  }
}
/* ↑↑↑ fv ↑↑↑ */

/* ↓↓↓ message ↓↓↓ */
.message {
  position: relative;
  margin-top: min(120px, 9.375vw);
  padding-bottom: min(120px, 9.375vw);

  @media (max-width: 768px) {
    margin-top: 80px;
    padding: 0 24px 103px;
  }

  &::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: calc(50vw + min(256px, 20vw));
    height: min(574px, 44.84375vw);
    background-color: #EDF4F7;
    z-index: -1;
    @media (max-width: 768px) {
      width: calc(50vw - 1.4666666666666666cqw);
      height: 53.924%;
    }
  }

  .message-inner {
    max-width: 1280px;
    margin: 0 auto;
    container-type: inline-size;

    @media (max-width: 768px) {
      max-width: 100%;
    }

    .txt-wrap {
      width: 67.5cqw;
      margin: 0 auto;
      @media (max-width: 768px) {
        width: 100%;
      }
      .head-wrap {
        margin-left: 0.625cqw;
        @media (max-width: 768px) {
          margin-left: 8px;
        }
        .en {
          position: relative;
          font-size: 0.9375cqw;
          font-family: var(--text-lato);
          font-weight: 700;
          color: #0090BA;
          padding-left: 1.484375cqw;
          @media (max-width: 768px) {
            font-size: 1.2rem;
            padding-left: 19px;
          }
          &::after {
            content: '';
            position: absolute;
            translate: 0 -50%;
            top: 50%;
            left: 0;
            width: 0.859375cqw;
            height: 0.9375cqw;
            mask-image: url(../img/common/en-deco.svg);
            mask-repeat: no-repeat;
            mask-size: cover;
            background-color: #0090BA;
            transition: opacity 300ms ease;
            @media (max-width: 768px) {
              width: 11px;
              height: 12px;
            }
          }
        }
        .head {
          font-size: 2.1875cqw;
          font-weight: 500;
          letter-spacing: 0.08em;
          @media (max-width: 768px) {
            font-size: 24px;
          }
        }
      }
      .txt01 {
        font-size: 1.875cqw;
        font-weight: 600;
        line-height: 1.5;
        letter-spacing: 0.08em;
        margin-top: 3.125cqw;
        color: #0064B4;
        @media (max-width: 768px) {
          font-size: 2.0rem;
          margin-top: 40px;
          line-height: 1.6;
        }
      }
      .txt02 {
        font-size: 1.25cqw;
        margin-top: 3.125cqw;
        line-height: 1.75;
        letter-spacing: 0.165em;
        text-align: justify;
        word-break: break-all;
        @media (max-width: 768px) {
          font-size: 1.6rem;
          margin-top: 40px;
          line-height: 1.714285;
          
        }
      }
    }

    .name-wrap {
      width: fit-content;
      margin: 3.125cqw 0 0 auto;
      @media (max-width: 768px) {
        margin: 40px 0 0 auto;
      }
      .position {
        font-size: 1.09375cqw;
        letter-spacing: 0.08em;
        @media (max-width: 768px) {
          font-size: 1.4rem;
        }
      }
      .name {
        font-size: 1.875cqw;
        font-weight: 600;
        line-height: 1.5;
        letter-spacing: 0.08em;
        margin-top: 0.3125cqw;
        @media (max-width: 768px) {
          font-size: 2.4rem;
          margin-top: 4px;
        }
      } 
    }
  }
}
/* ↑↑↑ message ↑↑↑ */

/* ↓↓↓ mission ↓↓↓ */
.mission {
  width: 100%;
  aspect-ratio: 1280 / 725;
  max-height: min(725px, 56.640625cqw);
  position: relative;
  padding-top: min(96px, 7.5vw);
  background-image: url(../img/message/mission-image.jpg);
  background-size: cover;
  background-position: bottom center;

  @media (max-width: 768px) {
    aspect-ratio: 375 / 830;
    max-height: 830px;
    position: relative;
    background-image: url(../img/message/mission-image_sp.jpg);
    background-size: cover;
    background-position: bottom center;
    padding: 64px 24px 0;
  }

  .mission-inner {
    max-width: 1280px;
    margin: 0 auto;
    container-type: inline-size;

    @media (max-width: 768px) {
      max-width: 100%;
    }

    .txt-wrap {
      width: 67.5cqw;
      padding: 3.75cqw 6.484375cqw 4.375cqw 9.921875cqw;
      margin: 0 auto;
      background-color: rgba(255, 255, 255, 0.75);
      @media (max-width: 768px) {
        width: 100%;
        padding: 40px 26px 48px;
      }
      .head-wrap {
        margin: 0 auto;
        width: fit-content;
        .en {
          width: fit-content;
          position: relative;
          font-size: 0.9375cqw;
          font-family: var(--text-lato);
          font-weight: 700;
          color: #0090BA;
          padding-left: 1.484375cqw;
          margin: 0 auto;
          @media (max-width: 768px) {
            font-size: 1.2rem;
            padding-left: 19px;
          }
          &::after {
            content: '';
            position: absolute;
            translate: 0 -50%;
            top: 50%;
            left: 0;
            width: 0.859375cqw;
            height: 0.9375cqw;
            mask-image: url(../img/common/en-deco.svg);
            mask-repeat: no-repeat;
            mask-size: cover;
            background-color: #0090BA;
            transition: opacity 300ms ease;
            @media (max-width: 768px) {
              width: 11px;
              height: 12px;
            }
          }
        }
        .head {
          font-size: 2.1875cqw;
          font-weight: 500;
          letter-spacing: 0.08em;
          @media (max-width: 768px) {
            font-size: 24px;
          }
        }
      }
      .txt01 {
        font-size: 2.5cqw;
        font-weight: 600;
        line-height: 1.5;
        letter-spacing: 0.08em;
        margin-top: 3.125cqw;
        text-align: center;
        color: #0064B4;
        @media (max-width: 768px) {
          font-size: 2.4rem;
          line-height: 1.6;
          margin-top: 30px;
        }
      }
      .txt02 {
        font-size: 1.25cqw;
        margin-top: 3.125cqw;
        line-height: 2;
        letter-spacing: 0.165em;
        text-align: justify;
        word-break: break-all;
        text-align: center;
        @media (max-width: 768px) {
          font-size: 1.6rem;
          margin-top: 30px;
        }
      }
    }
  }
}
/* ↑↑↑ mission ↑↑↑ */

/* ↓↓↓ vision ↓↓↓ */
.vision {
  width: 100%;
  aspect-ratio: 1280 / 725;
  max-height: min(604px, 47.1875cqw);
  position: relative;
  padding-top: min(88px, 6.875vw);
  background-image: url(../img/message/vision-image.jpg);
  background-size: cover;
  background-position: bottom center;

  @media (max-width: 768px) {
    aspect-ratio: 375 / 578;
    max-height: 578px;
    position: relative;
    padding-top: min(88px, 6.875vw);
    background-image: url(../img/message/vision-image_sp.jpg);
    background-size: cover;
    background-position: bottom center;
    padding: 64px 24px 0;
  }

  .vision-inner {
    max-width: 1280px;
    margin: 0 auto;
    container-type: inline-size;

    @media (max-width: 768px) {
      max-width: 100%;
    }

    .txt-wrap {
      margin: 0 auto;
      @media (max-width: 768px) {
        width: 100%;
      }
      .head-wrap {
        margin: 0 auto;
        width: fit-content;
        .en {
          width: fit-content;
          position: relative;
          font-size: 0.9375cqw;
          font-family: var(--text-lato);
          font-weight: 700;
          color: #fff;
          padding-left: 1.484375cqw;
          margin: 0 auto;
          @media (max-width: 768px) {
            font-size: 1.2rem;
            padding-left: 19px;
          }
          &::after {
            content: '';
            position: absolute;
            translate: 0 -50%;
            top: 50%;
            left: 0;
            width: 0.859375cqw;
            height: 0.9375cqw;
            mask-image: url(../img/common/en-deco.svg);
            mask-repeat: no-repeat;
            mask-size: cover;
            background-color: #fff;
            transition: opacity 300ms ease;
            @media (max-width: 768px) {
              width: 11px;
              height: 12px;
            }
          }
        }
        .head {
          font-size: 2.1875cqw;
          font-weight: 500;
          letter-spacing: 0.08em;
          color: #fff;
          @media (max-width: 768px) {
            font-size: 28px;
          }
        }
      }
      .txt01 {
        width: fit-content;
        position: relative;
        font-size: 2.5cqw;
        font-weight: 600;
        line-height: 2;
        letter-spacing: 0.16em;
        margin: 6.25cqw auto 0;
        text-align: center;
        color: #fff;
        &::after {
          content: '';
          position: absolute;
          top: -2.734375cqw;
          left: -8.75cqw;
          width: 5cqw;
          height: 7.8125cqw;
          background: url(../img/message/line-deco.svg) no-repeat;
          background-size: cover;
          @media (max-width: 768px) {
            top: -50px;
            left: -57px;
            width: 64px;
            height: 100px;
          }
        }
        &::before {
          content: '';
          position: absolute;
          bottom: -2.734375cqw;
          right: -8.75cqw;
          width: 5cqw;
          height: 7.8125cqw;
          background: url(../img/message/line-deco.svg) no-repeat;
          background-size: cover;
          scale: -1 -1;
          @media (max-width: 768px) {
            bottom: -50px;
            right: -57px;
            width: 64px;
            height: 100px;
          }
        }
        @media (max-width: 768px) {
          font-size: 2.4rem;
          line-height: 1.83333;
          margin: 90px auto 0;
        }
      }
    }
  }
}
/* ↑↑↑ vision ↑↑↑ */

/* ↓↓↓ value-box ↓↓↓ */
.value-box {
  width: 100%;
  position: relative;
  margin-block: min(100px, 7.8125vw) min(120px, 9.375vw);

  @media (max-width: 768px) {
    margin-block: 80px;
    padding: 0 24px;
  }

  .value-box_inner {
    max-width: 1280px;
    margin: 0 auto;
    container-type: inline-size;

    @media (max-width: 768px) {
      max-width: 100%;
    }

    .txt-wrap {
      width: 67.5cqw;
      margin: 0 auto;
      @media (max-width: 768px) {
        width: 100%;
      }
      .head-wrap {
        margin-left: 0.625cqw;
        width: fit-content;
        @media (max-width: 768px) {
          margin-left: 8px;
        }
        .en {
          width: fit-content;
          position: relative;
          font-size: 0.9375cqw;
          font-family: var(--text-lato);
          font-weight: 700;
          color: #0090BA;
          padding-left: 1.484375cqw;
          @media (max-width: 768px) {
            font-size: 1.4rem;
            padding-left: 19px;
          }
          &::after {
            content: '';
            position: absolute;
            translate: 0 -50%;
            top: 50%;
            left: 0;
            width: 0.859375cqw;
            height: 0.9375cqw;
            mask-image: url(../img/common/en-deco.svg);
            mask-repeat: no-repeat;
            mask-size: cover;
            background-color: #0090BA;
            transition: opacity 300ms ease;
            @media (max-width: 768px) {
              width: 15px;
              height: 16px;
            }
          }
        }
        .head {
          font-size: 2.1875cqw;
          font-weight: 500;
          letter-spacing: 0.08em;
          @media (max-width: 768px) {
            font-size: 24px;
          }
        }
      }
      .block {
        margin-top: 3.75cqw;
        @media (max-width: 768px) {
          margin-top: 40px;
        }
        .card {
          display: flex;
          align-items: center;
          gap: 2.5cqw;
          padding: 1.71875cqw 3.125cqw 1.71875cqw 2.5cqw;
          background-color: #EDF4F7;
          @media (max-width: 768px) {
            flex-direction: column;
            align-items: flex-start;
            gap: 8;
            padding: 24px;
          }

          + .card {
            margin-top: 0.78125cqw;
            @media (max-width: 768px) {
              margin-top: 10px;
            }
          }

          .txt01 {
            position: relative;
            width: 17.1875cqw;
            font-size: 1.5625cqw;
            font-weight: 600;
            letter-spacing: 0.08em;
            padding-left: 1.875cqw;
            color: #0064B4;
            @media (max-width: 768px) {
              width: 100%;
              font-size: 1.8rem;
              padding-left: 24px;
            }
            &::after {
              content: '';
              position: absolute;
              translate: 0 -50%;
              top: 50%;
              left: 0;
              width: 0.625cqw;
              height: 0.625cqw;
              background-color: #0064B4;
              border-radius: 50%;
              @media (max-width: 768px) {
                width: 8px;
                height: 8px;
              }
            }
          }
          .txt02 {
            font-size: 1.25cqw;
            font-weight: 500;
            line-height: 1.75;
            text-align: justify;
            word-break: break-all;
            letter-spacing: 0.08em;
            @media (max-width: 768px) {
              font-size: 1.6rem;
              padding-left: 24px;
            }
          }
        }
      }
    } 
  }
}
/* ↑↑↑ vision ↑↑↑ */
footer {
  .link-box {
    margin: 0 auto;
  }
}