/* ===== Block: about ===== */
.about {
  position: relative;
  max-width: 1360px;
  margin: 0 auto;
  padding-block: 3rem;
  padding-inline: 5%;
  z-index: 1;
}
.about-section {
  position: relative;
  background-color: #f0f0f0;
  overflow: hidden;
}


/* ===== Elements ===== */

/* 背景文字 */
.about__background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  font-weight: bold;
  color: white;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

.about__background-text {
  position: absolute;
  font-size: 10rem;
}

.about__background-text--lt {
  top: 0;
  left: 0;
  transform: translate(-0.4rem, -15.6rem);
}

.about__background-text--rb {
  bottom: 0;
  right: 0;
  transform: translate(0.4rem, 15.6rem);
}


/* メインコンテンツ */
.about__content {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 3rem;
  z-index: 2;
}

.about__text {
  display: flex;
  flex-direction: column;
  align-self: center;
  flex: 0 0 50%;
  gap: 1rem;
  z-index: 2;
}

.about__header {
  line-height: 1.2;
  margin-bottom: 2rem;
}

.about__title {
  font-size: 3rem;
  white-space: nowrap;
  margin: 0;
}

.about__title-en {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--main-color);
}

.about__title-jp {
  display: block;
}

.about__body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about__paragraph {
  margin: 0;
  line-height: 1.7;
}

.about__button {
  display: inline-block;
  width: clamp(200px, 50%, 300px);
  padding-block: 0.6rem;
  background-color: var(--main-color);
  text-align: center;
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 9999px;
  transition: background-color 0.3s ease;
  cursor: pointer;
  align-self: center;
}

.about__button:hover {
  background-color: color-mix(in srgb, var(--main-color) 70%, white);
}

/* 画像群 */
.about__images {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 2%;
  z-index: 2;
}

.about__image {
  width: 32%;
  aspect-ratio: 0.6;
  object-fit: cover;
}

.about__image:nth-child(1) {
  align-self: flex-start;
}
.about__image:nth-child(2) {
  align-self: center;
}
.about__image:nth-child(3) {
  align-self: flex-end;
}

/* ===== Responsive ===== */
@media (max-width: 1160px) {
  .about {
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .about {
    padding-right: 5%;
  }

  .about__content {
    flex-direction: column;
    align-items: center;
  }

  .about__header {
    text-align: center;
  }

  .about__image:nth-child(1) {
    margin-top: 0;
    margin-bottom: 60px;
  }
  .about__image:nth-child(2) {
    margin-top: 40px;
    margin-bottom: 40px;
  }
  .about__image:nth-child(3) {
    margin-top: 60px;
    margin-bottom: 0;
  }
}
