@charset "utf-8";
.page_title {
  background: url(../img/page_title.webp) no-repeat center center;
  background-size: cover;
}

.message_sec {
  position: relative;
  padding: 64px 0 144px;
  &::before {
    content: '';
    position: absolute;
    background: url(../img/message_bg.webp)no-repeat top;
    background-size: cover;
    width: 100%;
    height: 595px;
    bottom: -5em;
    right: 0;
    left: 0;
    margin: auto;
  }
  h3 {
    font-family: var(--title-font);
    font-size: 2.4rem;
    letter-spacing: 2px;
    margin-top: 40px;
  }
  @media screen and (max-width: 767px) {
    padding-bottom: 160px;
    &::before {
      background: url(../img/message_bg.webp)no-repeat bottom;
      background-size: contain;
      bottom: 5em;
    }
    h3 {
      font-size: 2rem;
      letter-spacing: 1.2px;
    }
  }
}
.name_flex {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 15px;
  margin-top: 28px;
  p:last-child {
    font-size: 1.8rem;
  }
  @media screen and (max-width: 767px) {
    margin-top: 48px;
  }
}

.profile_sec {
  padding-bottom: 88px;
  @media screen and (max-width: 767px) {
    margin-top: -4em;
  }
}
.profile_sec .table_outer {
  margin-top: 48px;
}

.history_sec {
  position: relative;
  padding: 64px 0;
  background: url(../img/history_bg.webp)no-repeat center;
  background-size: cover;
  color: #fff;
  h3 {
    font-family: var(--title-font);
    text-align: center;
    margin: 40px 0;
    font-size: 2.4rem;
    font-weight: normal;
    letter-spacing: 2px;
  }
  @media screen and (max-width: 767px) {
    h3 {
      font-size: 2rem;
      letter-spacing: 1.2px;
    }
  }
}
.history_sec .common_title {
  h2, p {color: #fff;}
}

.history_list {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px 0;
  &::before {
    content: '';
    position: absolute;
    background: #fff;
    width: 2px;
    height: 100%;
    top: 1em;
    left: calc(-3em - 2px);
    margin: auto;
  }
  li {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0 28px;
  }
  li:first-child::after {
    content: '';
    position: absolute;
    background: url(../img/img_01.webp)no-repeat center;
    background-size: contain;
    width: 194px;
    height: 199px;
    top: 0;
    right: -13em;
  }
  time {
    position: relative;
    font-size: 2rem;
    font-weight: bold;
    min-width: 72px;
  }
  time::before {
    content: '';
    position: absolute;
    background: #FF0000;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    top: 0;
    left: -3em;
    bottom: 0;
    margin: auto;
  }
}
.history_list--txt {
  span.bold_txt {
    display: inline-block;
    font-weight: bold;
  }
}


.sa_sec, .quality_sec {
  padding: 80px 0 72px;
  .container {
    max-width: 850px;
  }
  h3 {
    margin-top: 72px;
    text-align: center;
    font-weight: bold;
    font-size: 2.4rem;
    line-height: 1.6;
    letter-spacing: 2px;
  }
  @media screen and (max-width: 767px) {
    h3 {
      font-size: 2rem;
      letter-spacing: 1.2px;
      margin-top: 56px;
    }
  }
}
.sa_sec {
  background: url(../img/sa_bg.webp)no-repeat center;
  background-size: cover;
}
.quality_sec {
  background: url(../img/quality_bg.webp)no-repeat center;
  background-size: cover;
}

.access_sec {
  padding: 64px 0;
}
.access_sec .common_title {
  margin-bottom: 40px;
}
.access_txt {
  width: 100%;
  max-width: 850px;
  margin: 32px auto 0;
}

@media screen and (max-width: 767px) {
  .history_list {
    &::before {
      left: 0;
    }
    li {
      padding-left: 1.5em;
      gap: 0 10px;
    }
    li:first-child {
      padding-bottom: 194px;
    }
    li:first-child::after {
      top: auto;
      right: 1.5em;
      bottom: -20px;
      left: auto;
      margin: auto;
    }
    time {
      font-size: 1.8rem;
    }
    time::before {
      left: -32px;
    }
  }

  .access_sec {
    iframe {
      width: 100%;
    }
  }
}