@charset "UTF-8";

.main_visual {
  background: url("../images/about/mv-about2.webp")  center center /cover no-repeat;
  width: 100%;
  height: 330px;
  margin-top: 45px;
}

@media screen and (max-width: 768px) {
  .main_visual {
    background: url("../images/about/mv-about2.webp") center 0/cover no-repeat;
    height: 215px;
    margin-top: 0;
  }
}

#main {
  margin-top: 128px;
}

@media screen and (max-width: 768px) {
  #main {
    margin-top: 50px;
  }
}

.section-title-wrapper {
  text-align: center;
}

.title-image-top {
  display: block;
  margin: 0 auto 22px; /* 下に余白をつける */
  max-width: 140px;
  width: 100%;
}

@media screen and (max-width: 768px) {
  .title-image-top {
    margin: 0 auto 16px; /* 下に余白をつける */
    max-width: 84px;
  }
}


.title-image {
  display: block;
  margin: 0 auto 22px; /* 下に余白をつける */
  max-width: 377px;
  width: 100%;
}

@media screen and (max-width: 768px) {
  .title-image {
    margin: 0 auto 16px; /* 下に余白をつける */
    max-width: 247px;
  }
}

.section-title {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 1.5px;
}

@media screen and (max-width: 768px) {
  .section-title {
    font-size: 20px;
    letter-spacing: 1px;
  }
}

/* 親要素に relative を設定 */
.about__wrapper {
  max-width: 1000px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  position: relative; /* 親要素にrelativeを設定 */
  z-index: 1;
  height: 644px;
}

@media screen and (max-width: 768px) {
  .about__wrapper {
    padding-left: 30px;
    padding-right: 30px;
    height: 447px;
  }
}

.about__bg--left, .about__bg--right {
  position: absolute;
  top: 120px;
  height: 100%; /* 高さを親要素に合わせる */
  z-index: -1;
}

@media screen and (max-width: 768px) {
  .about__bg--left, .about__bg--right {
    opacity: 0.25;
  }
}

.about__bg--left img,
.about__bg--right img {
  opacity: 0;
}

.about__bg--left {
  width: 387px; /* 左側の幅を設定 */
  left: 0; /* 左端に配置 */
}

@media screen and (max-width: 768px) {
  .about__bg--left {
    /* width: 193px; */
    width: 49%;
    left: -10px;
    top: 30px;
  }
}

.about__bg--right {
  width: 387px; /* 右側の幅を設定 */
  right: 0; /* 右端に配置 */
}

@media screen and (max-width: 768px) {
  .about__bg--right {
    /* width: 118px; */
    width: 30%;
  }
}

.about__bg--left1,
.about__bg--left2,
.about__bg--right1,
.about__bg--right2 {
  position: absolute;
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 768px) {
  .about__bg--left1 img,
  .about__bg--left2 img,
  .about__bg--right1 img,
  .about__bg--right2 img {
    opacity: 0.25;
}
}

.about__bg--left1 {
  top: 0;
  left: -200px;
}

@media screen and (max-width: 768px) {
  .about__bg--left1 {
    left: 33px;
  }
}

.about__bg--left1 img {
  width: 386px; /* 画像を親要素に合わせてリサイズ */
  height: auto;
}

@media screen and (max-width: 768px) {
  .about__bg--left1 img {
    width: 100%;
  }
}

.about__bg--left2 {
  top: 430px;
  left: 120px;
}

@media screen and (max-width: 768px) {
  .about__bg--left2 {
    top: 310px;
    left: 60px;
  }
}

.about__bg--left2 img {
  width: 117px;
  height: auto;
}

@media screen and (max-width: 768px) {
  .about__bg--left2 img {
    /* width: 58px; */
    width: 30%;
  }
}

.about__bg--right1 {
  top: 50px;
  right: -250px;
}

@media screen and (max-width: 768px) {
  .about__bg--right1 {
    right: 20px;
  }
}

.about__bg--right1 img {
  width: 202px;
  height: auto;
}

@media screen and (max-width: 768px) {
  .about__bg--right1 img {
    width: 100%;
  }
}

.about__bg--right2 {
  top: 300px;
  right: -200px;
}

@media screen and (max-width: 768px) {
  .about__bg--right2 {
    top: 240px;
    right: 50px;
    width: 82px;
  }
}

.about__bg--right2 img {
  width: 117px;
  height: auto;
}

@media screen and (max-width: 768px) {
  .about__bg--right2 img {
    /* width: 53%; */
  }
}

.about__text {
  margin-top: 72px;
  font-size: 24px;
  font-weight: 700;
  line-height: 37px; /* 185% */
  text-align: center;
  opacity: 0;
}

@media screen and (max-width: 768px) {
  .about__text {
    font-size: 16px;
    line-height: 22px; /* 137.5% */
    letter-spacing: 0.32px;
    margin-top: 40px;
  }
}

.about__text.about__text--center {
  font-size: 20px;
  margin-top: 94px;
  line-height: 44px; /* 200% */
}

@media screen and (max-width: 768px) {
  .about__text.about__text--center {
    font-size: 14px;
    line-height: 180%; /* 25.2px */
    letter-spacing: 0.14px;
    margin-top: 40px;
  }
}

.about__text.about__text--center-second {
  margin-top: 30px;
}

.about__text.about__text--last {
  margin-top: 90px;
}

@media screen and (max-width: 768px) {
  .about__text.about__text--last {
    margin-top: 40px;
  }
}

.about__sign {
  margin-top: 48px;
  padding-right: 13.7%;
  margin-left: auto;
  display: flex;
  justify-content: flex-end;
  opacity: 0;
}

@media screen and (max-width: 768px) {
  .about__sign {
    margin-top: 46px;
    padding-right: 0;
    margin-left: initial;
    justify-content: center;
  }
}

.about__sign img {
  width: 323.129px;
}

@media screen and (max-width: 768px) {
  .about__sign img {
    width: 167px;
  }
}


.features__wrapper {
  margin-top: 170px;
}

@media screen and (max-width: 768px) {
  .features__wrapper {
    margin-top: 120px;
  }
}

.feature__cards {
  max-width: 1040px;
  width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 96px;
  padding-left: 25px;
  padding-right: 25px;
}

@media screen and (max-width: 768px) {
  .feature__cards {
    margin-top: 40px;
    padding-left: 20px;
    padding-right: 20px;
    gap: 30px;
  }
}

.feature-card {
  /* gap: 52px; */
  display: flex;
  align-items: stretch;
}

@media screen and (max-width: 768px) {
  .feature-card {
    flex-direction: column-reverse;
  }
}

.feature-card__content {
  width: 68%;
  padding: 50px 40px 48.5px 66px;
  background: #fff;
  border-radius: 32px 0 0 32px;
}

@media screen and (max-width: 768px) {
  .feature-card__content {
    width: 100%;
    padding: 36px 25px 37px 25px;
    border-radius: 0 0 32px 32px;
  }
}

.feature-card__title {
  display: inline-block;
  font-size: 22px;
  font-weight: 800;
  line-height: 37px; /* 185% */
  padding-left: 10px;
  border-top: 3px solid #23B659;
  border-bottom: 3px solid #23B659;
  padding: 6px 0;
}

@media screen and (max-width: 768px) {
  .feature-card__title {
    font-size: 17px;
    line-height: normal;
    padding-left: 0;
    /* text-align: center; */
  }
}

.feature-card__title span {
  color: #23B659;
  font-size: 22px;
  font-weight: 900;
  padding-right: 10px;
}

@media screen and (max-width: 768px) {
  .feature-card__title span {
    font-size: 17px;
    font-weight: 700;
    padding-right: 16px;
  }
}

.feature-card__text {
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 28px; /* 175% */
  margin-top: 20px;
}

@media screen and (max-width: 768px) {
  .feature-card__text {
    font-size: 14px;
    line-height: 180%; /* 25.2px */
    letter-spacing: -0.42px;
    margin-top: 14px;
  }
}

.feature-card__img {
  width: 31.9%;
  height: auto;
  display: flex;
}

@media screen and (max-width: 768px) {
  .feature-card__img {
    width: 100%;
  }
}

.feature-card__img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0px 32px 32px 0;
}

@media screen and (max-width: 768px) {
  .feature-card__img img {
    border-radius: 32px 32px 0 0;
  }
}

.feature__history {
  margin-top: 84px;
}

@media screen and (max-width: 768px) {
  .feature__history {
    margin-top: 90px;
  }
}

.feature-history {
  padding-top: 90px;
  padding-bottom: 90px;
  background: url("../images/about/history-bg.jpg") repeat;
  /* background-size: 1920px 735px; */
  background-size: 960px 367.5px;
}

@media screen and (max-width: 768px) {
  .feature-history {
    padding-top: 50px;
    padding-bottom: 40px;
    padding-left: 20px;
    padding-right: 20px;
    background-size: 1344px 514.5px;
  }
}

.feature-history__wrapper {
  max-width: 1000px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 768px) {
  .feature-history__wrapper {
  }
}

.feature-history h2 {
  color: #00A0E9;
  text-align: center;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 1.5px;
  position: relative;
  z-index: 2;
}

@media screen and (max-width: 768px) {
  .feature-history h2 {
    font-size: 20px;
    letter-spacing: 1px;
  }
}

.feature-history h2::before {
  content: "";
  position: absolute;
  left:50%;
  top: 20px; /* h3の上に配置 */
  width: 436px; /* 画像の幅 */
  height: 25px; /* 画像の高さ */
  background-image: url("../images/about/about-history-title.png"); /* 画像のパス */
  background-size: cover;
  background-repeat: no-repeat;
  transform: translateX(-50%); /* 中央配置 */
  z-index: -1;
}

@media screen and (max-width: 768px) {
  .feature-history h2::before {
    max-width: 285px;
    height: 16px;
    width: 100%;
    top: 10px;
  }
}

.feature-history__images {
  display: flex;
  gap: 100px;
  margin-top: 70px;
  justify-content: center;
}

@media screen and (max-width: 768px) {
  .feature-history__images {
    gap: 31px;
    margin-top: 40px;
  }
}

.feature-history__image {
  aspect-ratio: 200 / 262;
  width: calc((1000px - 204px - 200px) / 3);
  position: relative;
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  .feature-history__image {
    aspect-ratio: 192 / 252;
  }
}

.feature-history__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.3s;
}

.feature-history__image:hover img {
  width: auto;
  height: 100%;
  transform: scale(1.7);
  z-index: 2;
}

@media (hover: hover) and (pointer: fine) {
  .feature-history__image:hover img {
    transform: scale(1.7);
    z-index: 2;
  }
}

.feature-history-list {
  margin-top: 70px;
  padding-left: 20px;
  padding-right: 20px;
}

@media screen and (max-width: 768px) {
  .feature-history-list {
    padding-left: 0;
    padding-right: 0;
  }
}

@media screen and (max-width: 768px) {
  .feature-history-list {
    margin-top: 40px;
  }
}

.feature-history-item {
  display: flex;
  gap: 50px;
  padding-left: 132px;
}

@media screen and (max-width: 768px) {
  .feature-history-item {
    gap: 10px;
    padding-left: 0;
  }
}

.feature-history-date {
  /* display: inline-block; */
  width: 68px;
  font-size: 18px;
  font-weight: 900;
  line-height: 26px; /* 144.444% */
}

.feature-history-item:first-child .feature-history-date {
  margin-top: 4px;
}

.feature-history-item:nth-child(4) .feature-history-date {
  margin-top: 4px;
}

@media screen and (max-width: 768px) {
  .feature-history-date {
    width: 56px;
    font-size: 12px;
    font-weight: 700;
    line-height: 22px; /* 137.5% */
    letter-spacing: 0.32px;
  }
}

.feature-history-description {
  font-size: 16px;
  font-weight: 700;
  line-height: 32px; /* 200% */
  /* font-size: 18px;
  font-weight: 900;
  line-height: 26px; */
}

@media screen and (max-width: 768px) {
  .feature-history-description {
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
    line-height: 22px; /* 157.143% */
    width: calc(100% - 0px - 56px);
  }
}

.profile {
  padding-top: 90px;
  padding-bottom: 160px;
  background: #fff;
  padding-left: 20px;
  padding-right: 20px;
}

@media screen and (max-width: 768px) {
  .profile {
    /* margin-top: 50px; */
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

.profile__inner {
  max-width: 683px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.profile__contents {
  display: flex;
  align-items: center;  
  gap: 50px;
}

@media screen and (max-width: 768px) {
  .profile__contents {
    gap: 25px;
  }
}

.profile-image__wrapper {
  /* width: 17.6%; */
  width: 21.96%;
}

@media screen and (max-width: 768px) {
  .profile-image__wrapper {
    width: 31.4%;
  }
}

.profile__image {
  aspect-ratio: 150 /184;
  border-radius: 16px;
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  .profile__image {
    aspect-ratio: 110 / 134;
  }
}

.profile__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile__content {
  width: 70.7%;
}

@media screen and (max-width: 768px) {
  .profile__content {
    width: 60.8%;
  }
}

.profile__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 37px; /* 185% */
}

@media screen and (max-width: 768px) {
  .profile__title {
    font-size: 14px;
    line-height: normal;
    letter-spacing: -0.7px;
  }
}

.profile__text {
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
  padding-top: 20px;
}

@media screen and (max-width: 768px) {
  .profile__text {
    font-size: 13px;
    line-height: 20px;
    padding-top: 20px;
  }
}

.profile__btn {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-top: 70px;
}

@media screen and (max-width: 768px) {
  .profile__btn {
    margin-top: 30px;
  }
}

.profile__link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 410px;
  height: 60px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  line-height: 36px; /* 200% */
  border-radius: 50px;
  padding: 12px;
  background: #FFF65C;
  transition: all 0.3s;
}

@media screen and (max-width: 768px) {
  .profile__link {
    max-width: 350px;
    width: 100%;
    height: 50px;
    font-size: 14px;
    font-weight: 900;
    line-height: normal;
    letter-spacing: -0.7px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }
}

.profile__link:hover {
  opacity: 0.7;
}

.profile__link span {
    margin-left: 24px;
    font-weight: 700;
    margin-top: 4px;
}

@media print, screen and (min-width: 769px) {

  .sp {
    display: none;
  }

}
/* Smartphones (portrait and landscape) */
@media screen and (max-width: 768px) {
  * {
    box-sizing: border-box;
  }
}

@media screen and (max-width: 768px) {
  .feature-history__image:hover img {
    transform: none;
    z-index: auto;
    width: auto;
    height: 100%;
  }
}