@charset "utf-8";

.about__wrapper {
    padding: 60px 11.11% 60px 2.77%;
    display: flex;
    /* align-items: center; */
    gap: 6.95%;
    font-family: "Noto Sans JP";
}

@media screen and (min-width:910px) {
  .about__wrapper {
    margin-top: 100px;
  }
}

.about__img img {
    max-height: 550px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.eyecatch-img {
  display: block;
  height: auto;
}

/* 初期非表示＆ふわっとアニメーション用 */
.eyecatch-img {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.eyecatch-img.is-ready {
  visibility: visible;
}

/* 縦長画像にだけ適用 */
.eyecatch-img.is-portrait {
  width: 100%;
  max-width: 500px;
  height: auto;
}

/* 横長画像 */
.eyecatch-img.is-landscape {
  width: 100%;
  max-width: 600px;
}

/* 表示開始（ふわっと上がる） */
.eyecatch-img.is-visible {
  opacity: 1;
}

.name {
    font-size: 3.2rem;
    font-style: normal;
    font-weight: 300;
    line-height: 100%; /* 32px */
    letter-spacing: 2px;
}

.name__eng {
    font-family: Montserrat;
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 300;
    line-height: 100%;
    letter-spacing: 2px;
    color: var(--primary-gray);
    display: flex;
    margin-top: 15px;
    gap: 10px;
}

.name__engName {
  display: flex;
  gap: 10px;
}

.name__engName::after {
  display: inline-block;
  content: "";
  width: 1px;
  height: 15px;
  background-color: var(--primary-gray);
}

.about__sns {
  display: flex;
  align-items: center;
  margin-top: 25px;
  gap: 20px;
}

.about__sns__img img {
  transition: opacity 0.3s ease;
  opacity: 1;
}

.about__sns__img {
  width: 20px;
  height: auto;
}

.about__sns__img--behance {
  width: 22px;
}
.about__sns__img--note {
  width: 42px;
}

.about__contents {
  width: 50%;
}

.about__txtBox {
  margin-top: 60px;
}

.about__txt,
.about__txtBox p {
    max-width: 400px;
    height: auto;
    font-family: "Noto Sans JP";
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 2;
    letter-spacing: 2px;
    margin-top: 30px;
}

.caareerBox  {
  margin-top: 60px;
  max-width: 400px;
}

.caareerBox h2{
  font-size: 1.2rem;
  font-weight: 400;
}

.careerItem {
  display: flex;
  gap: 10px;
  font-family: "Noto Sans JP";
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 2px;
  margin-top: 10px;
}

.careerItem time {
  white-space: nowrap; /* 折り返し防止 */
  flex-shrink: 0;       /* 縮まないようにする */
}

.careerItem p {
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  flex: 1; /* 残りのスペースを使う */
}

.contactLink {
  padding: 10px 0;
  display: flex;
  margin-top: 60px;
  /* gap: 10px;
  align-items: baseline; */
}

.contactLink a {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.contactLink p {
  font-family: Montserrat;
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 2px;
}

.arrow {
  position: relative;
  width: 300px;
  height: 8px;
  /* overflow: hidden; */
}

.arrow::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-bottom: 1px solid var(--primary-gray);
  border-right: 1px solid var(--primary-gray);
  transform: skew(45deg) scaleX(1);
  transform-origin: right; /* 初期は右起点で消す */
}

/* ホバーでアニメーション実行 */
.contactLink a:hover .arrow::before {
  animation: arrowVanishAndReveal 1s ease forwards;
}

/* アニメーションのキーフレーム */
@keyframes arrowVanishAndReveal {
  0% {
    transform: skew(45deg) scaleX(1);
    transform-origin: right;
  }
  49.9% {
    transform: skew(45deg) scaleX(0);
    transform-origin: right;
  }
  50% {
    transform: skew(45deg) scaleX(0);
    transform-origin: left; /* ここで左起点に切り替え */
  }
  100% {
    transform: skew(45deg) scaleX(1);
    transform-origin: left;
  }
}

@media screen and (max-width:910px) {
  .about__wrapper {
    flex-direction: column;
    padding: 60px 5.33%;
    align-items: center;
    margin-top: 60px;
  }
  .about__contents{
    width: 100%;
    max-width: 400px;
    margin-top: 60px;
  }
  .about__img img {
    width: 200px;
    height: 280px;
  }

  .name {
    font-size: 2rem;
  }

  
  .name__eng {
      font-size: 1.2rem;
      margin-top: 15px;
      gap: 10px;
  }

  .name__engName {
    display: flex;
    gap: 8px;
  }

  .name__engName::after {
    height: 10px;
  }

  .about__sns {
    margin-top: 25px;
    gap: 18px;
  }

  .about__sns__img {
    width: 18px;
    height: auto;
  }

  .about__sns__img--behance {
    width: 20px;
  }
  .about__sns__img--note {
    width: 40px;
  }

  .about__txt,
  .about__txtBox p {
    width: 100%;
    font-size: 1.2rem;
  }
  .careerList  {
    max-width: 100%;
  }
  .careerItem {
    gap: 10px;
    font-size: 1rem;
    margin-top: 7px;
  }

  .contactLink p {
    font-size: 1.4rem
  }

  .arrow {
    width: 200px;
  }

  footer {
    /* background-color: aqua;
    width: 100%; */
    height: auto;
  }
}
