@charset "UTF-8";

img {
  max-width: 100%;
  height: auto;
}

.graduate {
  margin-top: 130px;
}

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

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

@media screen and (max-width: 768px) {
  .graduate__inner {
    padding-left: 10px;
    padding-right: 10px;
  }
}

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

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

@media screen and (max-width: 768px) {
  .title-image {
    max-width: 259px;
  }
}

.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;
  }
}

.graduate__text {
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 37px; /* 185% */
  margin-top: 20px;
  text-align: center;
}

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

.graduate__items {
  margin-top: 90px;
  margin-bottom: 160px;
  padding-left: 20px;
  padding-right: 60px;
}

@media screen and (max-width: 768px) {
  .graduate__items {
    margin-top: 40px;
    margin-bottom: 100px;
    padding-left: 0;
    padding-right: 0;
  }
}

.graduate-item {
  padding: 70px 50px;
  background: #fff;
}

@media screen and (max-width: 768px) {
  .graduate-item {
    padding: 30px 25px;
  }
}

.graduate-item + .graduate-item {
  margin-top: 70px;
}

@media screen and (max-width: 768px) {
  .graduate-item + .graduate-item {
    margin-top: 40px;
  }
}

.graduate-item__contents {
  display: flex;
  gap: 45px;
  /* padding-left: 40px;
  padding-right: 40px; */
}

@media screen and (max-width: 768px) {
  .graduate-item__contents {
    width: 100%;
    align-items: center;
    gap: 20px;
    padding-left: 0;
    padding-right: 0;
    /* padding-left: 6.5px; */
    /* padding-right: 6.5px; */
    margin-top: 20px;
  }
}

.graduate-item__img-wrap {
  width: 21.9%;
}

@media screen and (max-width: 768px) {
  .graduate-item__img-wrap {
    /* width: 18.3%; */
    /* width: 23%; */
    width: 27%;
  }
}

.graduate-item__img {
  aspect-ratio: 180 / 200;
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  .graduate-item__img {
    aspect-ratio: 71 / 79;
  }
}

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

.graduate-item__content {
  width: 72.5%;
  display: flex;
  flex-direction: column;
  /* gap: 20px; */
}

.graduate-item__catch {
  display: inline-block;
  border-top: 3px solid #71BF78;
  border-bottom: 3px solid #71BF78;
  padding: 5px 0;
  font-size: 18px;
  font-weight: 900;
}

@media screen and (max-width: 768px) {
  .graduate-item__catch {
    border-top: 2px solid #71BF78;
  border-bottom: 2px solid #71BF78;
    font-weight: 700;
  }
}

.graduate-item__profile-label {
  color: #71BF78;
  font-weight: 900;
  font-size: 14px;
  margin-top: 10px;
  letter-spacing: 0.1em;
}

@media screen and (max-width: 768px) {
  .graduate-item__profile-label {
    font-size: 12px;
    margin-top: 0;
  }
}

@media screen and (max-width: 768px) {
  .graduate-item__content {
    /* width: 55.8%; */
    width: 70.3%;
    /* gap: 10px; */
  }
}

.graduate-item__name {
  font-size: 20px;
  font-weight: 900;
  line-height: 44px; /* 200% */
}

.graduate-item__name span {
  font-size: 22px;
  font-style: normal;
  font-weight: 900;
  line-height: 44px; /* 200% */
}

@media screen and (max-width: 768px) {
  .graduate-item__name {
    font-size: 14px;
    font-weight: 700;
    line-height: normal;
    letter-spacing: -0.7px;
    margin-top: 4px;
  }
}

@media screen and (max-width: 768px) {
  .graduate-item__name span {
    font-size: 10px;
    font-weight: 700;
    line-height: 12px;
  }
}

.graduate-item__name span.divider {
  margin: 0 8px;
  font-weight: 500;
}

.graduate-item__name span.font-kaku {
  font-size: 14px;
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-weight: 500;
  margin-left: 8px;
}

@media screen and (max-width: 768px) {
  .graduate-item__name span.font-kaku  {
    font-size: 10px;
  }
}

.graduate-item__content-text {
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 22px; /* 157.143% */
}

@media screen and (max-width: 768px) {
  .graduate-item__content-text {
    font-size: 10px;
    font-weight: 500;
    line-height: 12px;
    margin-top: 4px;
    /* font-weight: 400; */
  }
}

.graduate-item__site-wrap,
.graduate-item__site-wrap span {
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 180%; /* 25.2px */
  letter-spacing: 0.14px;
  margin-top: 16px;
}

.graduate-item__sns {
}

@media screen and (max-width: 768px) {
  .graduate-item__site-wrap {
    /* margin-top: 20px; */
  }
}

@media screen and (max-width: 768px) {
  .graduate-item__site-wrap,
  .graduate-item__site-wrap span {
    font-size: 10px;
    font-weight: 500;
    line-height: 12px;
  }
}

.graduate-item__text {
  font-size: 16px;
  font-weight: 700;
  line-height: 2.2;
  letter-spacing: 0.14px;
  margin-top: 30px;
}

@media screen and (max-width: 768px) {
  .graduate-item__text {
    font-size: 12px;
    font-weight: 500;
  }
}

.graduate-item__site-description {
  word-break: break-all;
  overflow-wrap: break-word;
  transition: all 0.3s;
}

.graduate-item__site-description:hover {
  color: #71BF78;
}

@media screen and (max-width: 768px) {
  .graduate-item__text--short {
    max-height: 6.5em; /* 約3行分 */
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .graduate-item__text--expanded {
    max-height: 1100px; /* 適度に大きな数値にして展開 */
  }

  .read-more-btn {
    display: block;
    margin: 1em auto 0;
    background-color: #71BF78;
    color: white;
    border: none;
    padding: 4px 25px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    letter-spacing: 0.1em;
    transition: all 0.3s;
  }

}
