@charset "UTF-8";

.title-main {
  @media screen and (max-width: 767px) {
    font-size: 3.2rem;
  }
}

.page-eyecatch {
  width: 100%;
  line-height: 0;

  & img {
    width: 100%;
    height: auto;
  }

  @media screen and (max-width: 767px) {
    margin-bottom: 0;
    height: 22rem;
    
    & img {
      height: 100%;
      object-fit: cover;
    }
  }
}

.about-origin {
  padding: 12rem 0;

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

.about-origin-block {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8rem;
  margin-top: 4rem;

  @media screen and (max-width: 767px) {
    flex-direction: column;
    gap: 4rem;
    margin-top: 2.4rem;
  }
}

.about-origin-copy {
  flex: 1;
  min-width: 0;
}

.about-sub {
  font-family: "Noto Serif JP";
  font-style: normal;
  font-weight: 500;
  font-size: 3.2rem;
  line-height: 180%;
  letter-spacing: 0.1em;
  color: #131313;

  @media screen and (max-width: 767px) {
    margin-top: 0;
    font-size: 1.8rem;
    font-size: 2rem;
    line-height: 160%;
  }
}

.about-body {
  max-width: 79.5rem;
  margin-top: 3.2rem;
  font-family: "Noto Serif JP", serif;
  font-style: normal;
  font-weight: 500;
  font-size: 1.8rem;
  line-height: 200%;
  letter-spacing: 0.1em;
  font-feature-settings: "halt" on;
  color: #131313;

  & .profile-sub {
    margin-top: 2rem;
  }

  & p + p {
    /* margin-top: 0.8rem; */
  }

  @media screen and (max-width: 767px) {
    width: 100%;
    font-size: 1.4rem;
    line-height: 180%;
    margin-top: 2rem;
  }
}

.about-em {
  color: #d6001c;
}

.about-origin-visual {
  flex-shrink: 0;
  width: 48%;

  & img {
    width: 100%;
    height: auto;
  }

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

.strengths {
  padding: 0 0 12rem;

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

.strengths-intro {
  display: flex;
  align-items: flex-start;
  gap: 3.2rem;
  margin-top: 4rem;

  @media screen and (max-width: 767px) {
    flex-direction: column;
    gap: 2.4rem;
    margin-top: 2.4rem;
    gap: 2rem;
  }
}

.strengths-lead {
  flex: 1 1 0;
  min-width: 0;
  font-family: "Noto Serif JP", serif;
  font-style: normal;
  font-weight: 500;
  font-size: 3.2rem;
  line-height: 180%;
  letter-spacing: 0.1em;
  color: #131313;

  @media screen and (max-width: 767px) {
    font-size: 2rem;
    letter-spacing: 0.08em;

    & br {
      display: none;
    }
  }
}

.strengths-text {
  flex: 1 1 0;
  min-width: 0;
  font-family: "Noto Serif JP", serif;
  font-style: normal;
  font-weight: 500;
  font-size: 1.8rem;
  line-height: 200%;
  letter-spacing: 0.1em;
  font-feature-settings: "halt" on;
  color: #131313;

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

.strengths-grid {
  display: flex;
  align-items: flex-start;
  gap: 6.4rem;
  margin-top: 8rem;

  @media screen and (max-width: 767px) {
    flex-direction: column;
    gap: 4.8rem;
    margin-top: 4rem;
  }
}

.strength-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 3.2rem;
  isolation: isolate;
  overflow: visible;
  flex: 1 1 0;
  min-width: 0;

  @media screen and (max-width: 767px) {
    width: 100%;
    gap: 2.4rem;
  }
}

.strength-card-visual {
  position: relative;
  z-index: 1;
  width: 100%;
  line-height: 0;

  & img {
    display: block;
    width: 100%;
    height: auto;
  }
}

.strength-card-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
}

.strength-card-slash {
  position: absolute;
  right: 1.5rem;
  bottom: 0;
  z-index: 0;
  width: 15rem;
  height: 14rem;
  line-height: 0;
  pointer-events: none;

  & img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right bottom;
  }

  @media screen and (max-width: 767px) {
    position: absolute;
    right: 3rem;
    bottom: 0;
    z-index: 0;
    width: 15rem;
    height: 10rem;
    line-height: 0;
    pointer-events: none;
  }
}

.strength-card-title {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-width: 0;
  font-family: "Noto Serif JP", serif;
  font-style: normal;
  font-weight: 500;
  font-size: 2.4rem;
  line-height: 180%;
  letter-spacing: 0.1em;
  color: #131313;

  @media screen and (max-width: 767px) {
    font-size: 1.8rem;
    line-height: 150%;
  }
}

.strength-card-num {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  flex: none;
  /* width: 6.9rem; */
  font-family: "Noto Serif JP", serif;
  font-style: normal;
  font-weight: 500;
  font-size: 4.4rem;
  line-height: 100%;
  letter-spacing: 0.1em;
  text-align: right;
  color: #131313;
  opacity: 0.3;
  padding-bottom: 0.5rem;

  @media screen and (max-width: 767px) {
    width: auto;
    font-size: 3.2rem;
    padding-bottom: 0;
  }
}

.strength-card-body {
  align-self: stretch;
  font-family: "Noto Serif JP", serif;
  font-style: normal;
  font-weight: 500;
  font-size: 1.8rem;
  line-height: 200%;
  letter-spacing: 0.1em;
  font-feature-settings: "halt" on;
  color: #131313;

  @media screen and (max-width: 767px) {
    font-size: 1.4rem;
    line-height: 180%;
    letter-spacing: 0.09em;
  }
}

.greeting {
  padding: 0 0 12rem;

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

.greeting-block {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  padding: 0;
  gap: 9.5rem;
  margin-top: 4rem;

  @media screen and (max-width: 767px) {
    flex-direction: column;
    gap: 3.2rem;
    margin-top: 2.4rem;
  }
}

.greeting-copy {
  display: flex;
  flex-direction: column;
  width: 80.8rem;
  min-height: 54rem;
  flex: none;

  @media screen and (max-width: 767px) {
    width: 100%;
    min-height: 0;
  }
}

.greeting-body {
  font-family: "Noto Serif JP", serif;
  font-style: normal;
  font-weight: 500;
  font-size: 1.8rem;
  line-height: 200%;
  letter-spacing: 0.1em;
  font-feature-settings: "halt" on;
  color: #131313;

  & p + p {
    margin-top: 2.4rem;
  }

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

.greeting-sign {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: auto;
  padding-top: 3.2rem;

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

.greeting-sign-role {
  flex: none;
  font-family: "Noto Serif JP", serif;
  font-style: normal;
  font-weight: 500;
  font-size: 1.8rem;
  line-height: 100%;
  letter-spacing: 0.1em;
  font-feature-settings: "halt" on;
  color: #000;

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

.greeting-sign-name {
  flex: none;
  font-family: "Noto Serif JP", serif;
  font-style: normal;
  font-weight: 500;
  font-size: 2.4rem;
  line-height: 100%;
  letter-spacing: 0.1em;
  font-feature-settings: "halt" on;
  color: #000;

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

.greeting-visual {
  flex: 1 1 0;
  min-width: 0;

  & img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  @media screen and (max-width: 767px) {
    width: 100%;

    & img {
      height: auto;
    }
  }
}

.history {
  padding: 0 0 12rem;

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

.history-list {
  display: flex;
  align-items: stretch;
  gap: 6.4rem;
  margin-top: 4rem;

  @media screen and (max-width: 767px) {
    flex-direction: column;
    gap: 2rem;
    margin-top: 2.4rem;
  }
}

.history-items {
  flex: 1 1 0;
  min-width: 0;
}

.history-item {
  position: relative;
  display: flex;
  align-items: center;
  padding: 2rem 0;

  &::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 16.5rem;
    z-index: 1;
    width: 1.2rem;
    height: 1.2rem;
    border: 0.25rem solid #d6001c;
    border-radius: 50%;
    background: #fff;
    transform: translate(-50%, -50%);
  }

  &::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 16.5rem;
    width: 0.2rem;
    height: 100%;
    background: #d6001c;
    transform: translateX(-50%);
  }

  &:last-child::after {
    display: none;
  }

  @media screen and (max-width: 767px) {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 0 1rem 4rem;

    &::before {
      display: none;
    }

    &::after {
      top: 1rem;
      left: 0.9rem;
      width: 0.15rem;
      height: 149%;
      transform: none;
      display: block;
    }

    &:last-child::after {
      display: block;
      height: 60%;
    }
  }
}

.history-time {
  display: flex;
  flex: none;
  align-items: baseline;
  justify-content: flex-start;
  flex-wrap: wrap;
  width: 12.7rem;
  margin-right: 4rem;
  font-family: "Noto Serif JP", serif;
  font-style: normal;
  font-weight: 500;
  font-size: 1.8rem;
  line-height: 100%;
  letter-spacing: 0.1em;
  text-align: left;
  color: #d6001c;

  @media screen and (max-width: 767px) {
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    margin-right: 0;
    gap: 1rem;
  }
}

.history-year {
  &::after {
    content: "年";
  }

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

    &::before {
      content: "";
      position: absolute;
      top: 50%;
      left: -3rem;
      z-index: 1;
      width: 1.2rem;
      height: 1.2rem;
      border: 0.25rem solid #d6001c;
      border-radius: 50%;
      background: #fff;
      transform: translate(-50%, -50%);
    }
  }
}

.history-text {
  flex: 1 1 auto;
  min-width: 0;
  margin-left: 2.4rem;
  font-family: "Noto Serif JP", serif;
  font-style: normal;
  font-weight: 400;
  font-size: 1.8rem;
  line-height: 100%;
  letter-spacing: 0.1em;
  font-feature-settings: "halt" on;
  color: #131313;

  @media screen and (max-width: 767px) {
    width: 100%;
    max-width: none;
    flex: none;
    margin-left: 0;
    padding-bottom: 2rem;
    line-height: 160%;
    font-size: 1.4rem;
    margin-top: 1rem;
  }
}

.history-visual {
  display: flex;
  flex-direction: column;
  align-items: flex-start;  
  padding: 0;
  flex: none;
  gap: 2.4rem;
  width: 44rem;

  & img {
    display: block;
    width: 100%;
    height: auto;
    flex: none;
  }

  @media screen and (max-width: 767px) {
    width: 100%;
    gap: 1.6rem;
  }
}

.profile {
  padding: 0 0 12rem;

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

.profile-table {
  margin-top: 4rem;

  @media screen and (max-width: 767px) {
    margin-top: 2.4rem;
  }
}

.profile-row {
  display: flex;
  align-items: stretch;
  gap: 0;

  &:last-child dt {
    border-bottom: 0.1rem solid #d6001c;
  }

  &:last-child dd {
    border-bottom: 0.1rem solid #d1d5db;
  }

  @media screen and (max-width: 767px) {
    flex-direction: column;

    &:last-child dd {
      position: relative;
      border-bottom: 0.1rem solid #d1d5db;

      &::before {
        content: "";
        position: absolute;
        left: 0;
        bottom: -0.1rem;
        z-index: 1;
        width: 20%;
        height: 0.1rem;
        background: #d6001c;
      }
    }

    & dd {
      & p {
        display: flex;
        flex-direction: column;
        gap: 0;
      }
      & .profile-cname {
        margin-top: 0.5rem;
      }
    }

    &:last-child dt {
      border-bottom: none;
    }
  }
}

.profile-row dt {
  position: relative;
  z-index: 1;
  flex: none;
  width: 16rem;
  padding: 2.4rem 0;
  padding-left: 2.4rem;
  border-top: 0.1rem solid #d6001c;
  font-family: "Noto Serif JP", serif;
  font-style: normal;
  font-weight: 600;
  font-size: 1.8rem;
  line-height: 180%;
  letter-spacing: 0.05em;
  font-feature-settings: "halt" on;
  color: #131313;

  @media screen and (max-width: 767px) {
    width: 100%;
    padding: 1.6rem 0 0.5rem;
    border-right: none;
    font-size: 1.6rem;
    border-top-color: #d1d5db;

    &::before {
      content: "";
      position: absolute;
      left: 0;
      top: -0.1rem;
      width: 20%;
      height: 0.1rem;
      background: #d6001c;
    }
  }
}

.profile-figures {
  display: grid;
  grid-template-columns: max-content auto;
  column-gap: 2.4rem;
  align-items: baseline;
  justify-content: start;

  @media screen and (max-width: 767px) {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 1.2rem;
  }
}

.profile-row dd {
  z-index: 2;
  flex: 1 1 auto;
  width: 91.2rem;
  max-width: calc(100% - 16rem);
  padding: 2.4rem 0;
  padding-left: 4.8rem;
  border-top: 0.1rem solid #d1d5db;
  font-family: "Noto Serif JP", serif;
  font-style: normal;
  font-weight: 400;
  font-size: 1.8rem;
  line-height: 180%;
  letter-spacing: 0.05em;
  font-feature-settings: "halt" on;
  color: #131313;

  & p + p {
    /* margin-top: 0.8rem; */

    @media screen and (max-width: 767px) {
      margin-top: 0;
    }
  }

  .profile-sec {
    margin-top: 2.4rem;

    @media screen and (max-width: 767px) {
      margin-top: 1.6rem;
    }
  }

  @media screen and (max-width: 767px) {
    width: 100%;
    max-width: none;
    padding: 0.8rem 0 1.6rem;
    padding-top: 0;
    font-size: 1.4rem;
    border-top: none;
  }
}

.profile-sub {
  display: inline-block;
  min-width: 6.4rem;
  margin-right: 1.6rem;
  font-weight: 600;
}

.profile-list {
  & li {
    position: relative;
    padding-left: 1.6rem;

    &::before {
      content: "・";
      position: absolute;
      left: 0;
    }
  }
}

.profile-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: "Noto Serif JP", serif;
  font-style: normal;
  font-weight: 400;
  font-size: 1.8rem;
  line-height: 180%;
  letter-spacing: 0.05em;
  text-decoration: underline;
  text-underline-offset: 0.3em;
  font-feature-settings: "halt" on;
  color: #131313;

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

  & img {
    display: block;
    width: 1.6rem;
    height: auto;
    flex: none;

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