@charset "utf-8";

/* about */
.profile-container {
  margin: 0 0 105px 100px;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  gap: 80px;
}
.profile-text {
  width: 61%;
}
.name {
  font-size: 36px;
}
.name.last-child {
  margin-bottom: 0;
  line-height: 1;
}
.sub-name {
  margin-bottom: 1em;
  font-family: "Noto Serif JP", serif;
}

.profile-item {
  margin-bottom: 2em;
}
.profile-text p {
  margin-bottom: 1em;
}

.about-img {
  width: 39%;
  margin-top: 70px;
}
/* career */
.career-container {
  margin-bottom: 160px;
  font-size: 20px;
  display: flex;
  gap: 2em;
  position: relative;
}
.career-rgh {
  width: 75%;
}
.career__item {
  display: flex;
  flex-wrap: wrap;
}
.career__item:not(:last-child) {
  margin-bottom: 20px;
}
.career__item dt {
  width: 130px;
}
.career__item dd {
  width: calc(100% - 130px);
}
.career__item dd span {
  font-size: 16px;
  display: block;
}
.career-img1 {
  width: 12%;
  max-width: 127px;
  position: absolute;
  top: -80px;
  right: 220px;
}
.career-img2 {
  width: 15%;
  max-width: 166px;
  position: absolute;
  top: 0;
  right: 0;
}
/* Key Strengths */
.key-strengths-container {
  margin-bottom: 450px;
  position: relative;
}
.key-strengths-title {
  margin: 0 auto;
  width: 200px;
  font-size: 32px;
  line-height: 1.5em;
  text-align: center;
  border-bottom: 1px solid #fff;
}
.key-strengths-item1,
.key-strengths-item2,
.key-strengths-item3 {
  width: calc((90% - 100px) / 2);
  max-width: 430px;
  position: relative;
}

.key-strengths-text {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}
/* 背景の円 */
.key-strengths-item1::after,
.key-strengths-item2::after,
.key-strengths-item3::after {
  position: absolute;
  content: "";
  width: 313px;
  height: 313px;
  border-radius: 50%;
  top: 70%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  filter: blur(100px);
  opacity: 0.4;
}
.key-strengths-item1::after {
  background-color: rgba(216, 167, 177, 0.5);
}
.key-strengths-item2::after {
  background-color: rgba(249, 115, 22, 0.5);
}
.key-strengths-item3::after {
  background-color: rgba(79, 209, 197, 0.5);
}
.key-strengths-flex {
  margin-top: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 80px 10%;
}
/* Interests */
.interests-container {
  margin-bottom: 160px;
}
.interests-text {
  margin-bottom: 40px;
}

/* 全体 */
.interests-container {
  margin-bottom: 200px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

/* スライダー */
.slider {
  display: flex;
  width: max-content;
  padding: 0;
  margin: 0;
  list-style: none;
}

/* 画像 */
.slide {
  width: calc(100vw / 3);
  aspect-ratio: 4 / 3;
  flex-shrink: 0;
}

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

/* 上段 */
.interests-item:first-child .slider {
  animation: scroll-left 100s linear infinite;
}

/* 下段 */
.interests-item:last-child .slider {
  animation: scroll-right 100s linear infinite;
}

@keyframes scroll-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes scroll-right {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

/* hover(マウスオーバー)で拡大 */
.slide {
  cursor: pointer;
  overflow: hidden;
}
.slide img {
  transition: transform 0.4s;
}
.slide:hover img {
  transform: scale(1.1);
}

@media screen and (max-width: 1024px) {
  .career-img1 {
    top: -110px;
    right: 180px;
  }
}

@media screen and (max-width: 900px) {
  .career-rgh {
    width: 100%;
  }
  .career__item dd {
    width: calc(100% - 110px);
  }
  .career__item dt {
    width: 110px;
  }
  .career-img1 {
    min-width: 70px;
    top: -50px;
    right: 20px;
  }
  .career-img2 {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  h1 {
    font-size: 40px;
  }
  #about .section-title {
    font-size: 30px;
  }
  #about .title {
    font-size: 25px;
  }

  .name {
    font-size: 28px;
  }
  .profile-container {
    margin: 0 0 105px 0;
    flex-direction: column;
    gap: 50px;
  }
  .profile-text {
    width: 100%;
  }
  .about-img {
    width: 70%;
    max-width: 450px;
    margin: 70px auto 0 auto;
  }

  .career-container {
    font-size: 18px;
  }
  .career-sub-text {
    font-size: 14px;
  }

  .slide {
    width: 256px;
    height: 195px;
  }

  .key-strengths-container {
    margin-bottom: 200px;
  }
  .key-strengths-flex {
    gap: 60px 10%;
  }
  .key-strengths-flex {
    flex-direction: column;
  }
  .key-strengths-item1,
  .key-strengths-item2,
  .key-strengths-item3 {
    width: 100%;
    max-width: 430px;
  }

  .interests-container {
    margin-bottom: 150px;
  }
}

@media screen and (max-width: 700px) {
  .career-img1 {
    top: -90px;
  }
}

@media screen and (max-width: 480px) {
  .career__item {
    flex-direction: column;
    gap: 5px 0;
  }
  .career__item:not(:last-child) {
    padding-bottom: 25px;
    margin-bottom: 25px;
    border-bottom: 1px solid #fff;
  }
  .career__item dt {
    width: 100%;
  }
  .career__item dd {
    width: 100%;
  }
  .career-img1 {
    top: -60px;
  }
}
