@charset "UTF-8";


.profile {
  margin-top: 60px;
}

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

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

.profile__top-images {
  display: flex;
  padding-bottom: 90px;
}

@media screen and (max-width: 768px) {
  .profile__top-images {
    padding-bottom: 0;
    padding-left: 20px;
    padding-right: 20px;
  }
}

.profile__top-image {
  aspect-ratio: 500 / 341;
  overflow: hidden;
}

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

.profile__contents {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 90px 40px;
  border-bottom: 3px solid #000;
}

@media screen and (max-width: 768px) {
  .profile__contents {
    flex-direction: column;
    gap: 19px;
    padding: 50px 0px;
    margin-left: 45px;
    margin-right: 45px;
    border-bottom: 1.5px solid #000;
  }
}

.profile__image-wrap {
  width: 43.4%;
}

@media screen and (max-width: 768px) {
  .profile__image-wrap {
    width: 100%;
    padding-left: 50px;
    padding-right: 50px;
  }
}

.profile__image {
  aspect-ratio: 400 / 274;
  overflow: hidden;
}

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

.profile__content {
  width: 52.17%;
}

@media screen and (max-width: 768px) {
  .profile__content {
    width: 100%;
    text-align: center;
  }
}

.profile__name {
  font-size: 22px;
  font-weight: 900;
  line-height: 44px; /* 200% */
}

@media screen and (max-width: 768px) {
  .profile__name {
    font-size: 20px;
    font-weight: 900;
    line-height: normal;
    letter-spacing: 1px;
    text-align: center;
  }
}

.profile__position {
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-size: 16px;
  /* font-size: 22px; */
  font-weight: 500;
  /* font-weight: 900; */
  line-height: 28px;
  /* line-height: 44px; */
  letter-spacing: -0.42px;
}

@media screen and (max-width: 768px) {
  .profile__position {
    font-size: 14px;
    font-weight: 500;
    line-height: 180%;
    letter-spacing: -0.42px;
    text-align: center;
  }
}

.profile__text {
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 28px;
  margin-top: 30px;
  /* margin-top: 10px; */
}

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

.profile-career {
}

.profile-career__inner {
  padding: 70px 40px;
  margin-bottom: 90px;
}

@media screen and (max-width: 768px) {
  .profile-career__inner {
    padding: 35px 45px 0 45px;
  }
}

.profile-career__title {
  font-size: 22px;
  font-weight: 900;
  line-height: 44px; /* 200% */
}

@media screen and (max-width: 768px) {
  .profile-career__title {
    font-size: 17px;
    font-weight: 700;
    line-height: normal;
  }
}

.profile-career__text {
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 2;
  /* line-height: 48px; */
  margin-top: 20px;
  /* margin-top: 48px; */
}

@media screen and (max-width: 768px) {
  .profile-career__text  {
    font-size: 14px;
    font-weight: 500;
    line-height: 180%;
    letter-spacing: -0.72px;
    margin-top: 26px;
  }
}

.profile-career__books {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
  margin-top: 70px;
}

@media screen and (max-width: 768px) {
  .profile-career__books {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
    margin-top: 30px;
    padding-left: 10px;
    padding-right: 10px;
  }
}

.profile-career__book {
  aspect-ratio: 184 / 256;
  overflow: hidden;
  position: relative;
}

@media screen and (max-width: 768px) {
  .profile-career__book {
    aspect-ratio: 126 / 175;
  }
}

.profile-career__book img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}

.profile-career__book:hover {
  overflow: visible; /* 画像全体を見せる */
  opacity: 1;
  z-index: 2;
}

/* ホバー時にズームアウトして全体を表示 */
.profile-career__book:hover img {
  transform: scale(1.7);
  object-fit: contain;
  opacity: 1;
}

.profile-career__website-btn {
  margin-top: 90px;
}

@media screen and (max-width: 768px) {
  .profile-career__website-btn {
    margin-top: 60px;
  }
}

.profile-career__website-btn a {
  width: 500px;
  height: 80px;
  border-radius: 82px;
  border: 4px solid #F39800;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  line-height: 37px; /* 185% */
  color:#F39800;
  margin-left: auto;
  margin-right: auto;
  transition: all 0.3s;
}

@media screen and (max-width: 768px) {
  .profile-career__website-btn a {
    max-width: 300px;
    width: 100%;
    height: 80px;
    font-size: 17px;
    line-height: normal;
    /* flex-wrap: wrap; */
    white-space: nowrap;
  }
}

@media screen and (max-width: 350px) {
  .profile-career__website-btn a {
    font-size: 14px;
  }
}

.profile-career__website-btn a:hover {
  background: #F39800;
  color:#fff;
}

.profile-career__website-btn a span {
  padding-left: 30px;
  padding-bottom: 4px;
  font-weight: 700;
  margin-top: 3px;
}

@media screen and (max-width: 768px) {
  .profile-career__website-btn a span {
    /* display: inline-flex;
    align-self: flex-end; */
    display: inline-block;
    font-size: 17px;
    padding-left: 30px;
    margin-top: 6px;
    /* margin-bottom: 8px; */
  }
}

@media screen and (max-width: 350px) {
  .profile-career__website-btn a span {
    margin-bottom: 11px;
  }
}

.profile-career__btn {
  margin-top: 90px;
}

@media screen and (max-width: 768px) {
  .profile-career__btn {
    margin-top: 70px;
  }
}

.profile-career__btn a {
  width: 293px;
  height: 60px;
  border-radius: 50px;
  background: #FFF100;
  margin-top: 70px;
  margin-left: auto;
  margin-right: auto;
  font-size: 18px;
  font-weight: 700;
  line-height: 36px; /* 200% */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

@media screen and (max-width: 768px) {
  .profile-career__btn a {
    max-width: 240px;
    width: 100%;
    height: 50px;
    font-size: 14px;
    font-weight: 900;
  }
}

.profile-career__btn a:hover {
  background: #FFF999;
}

.profile-career__btn a span {
  padding-left: 36px;
  font-weight: 700;
  margin-top: 3px;
}

@media screen and (max-width: 768px) {
  .profile-career__btn a span {
    /* padding-left: 4px; */
    font-size: 14px;
    font-weight: 900;
  }
}
