.profile-page {
  color: #1f3656;
  font-size: 18px;
}

.profile-page p {
  margin: 0;
}

.profile-inner {
  width: 1280px;
  max-width: 90%;
}

.profile-narrow {
  width: 900px;
  max-width: 90%;
  margin: 0 auto;
}

.profile-mv {
  position: relative;
  height: 600px;
  overflow: hidden;
}

.profile-mv__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right;
  max-width: 2000px;
  margin: auto;
}

.profile-mv__inner {
  position: absolute;
  inset: 0;
}

.profile-mv__content {
  position: absolute;
  top: 48%;
  left: 0;
  transform: translateY(-50%);
}

.profile-mv__en,
.profile-heading__en {
  margin: 0;
  color: #4f8fd4;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

.profile-mv__title {
  margin: 8px 0 0;
  color: #0c3d7d;
  font-size: 56px;
  font-weight: 500;
  line-height: 1.4;
}

.profile-mv__line {
  display: block;
  width: 252px;
  height: 2px;
  margin-top: 28px;
  background: #4f8fd4;
}

.profile-message {
  padding: 120px 0;
}

.profile-message h2 {
  margin: 0 0 54px;
  color: #4f8fd4;
  font-size: 26px;
  line-height: 1.6;
  text-align: center;
}

.profile-message p + p {
  margin-top: 32px;
}

.profile-heading h2 {
  position: relative;
  display: inline-block;
  margin: 4px 0 0;
  padding-bottom: 24px;
  color: #1f3656;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.5;
}

.profile-heading h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 252px;
  height: 2px;
  background: #4f8fd4;
}

.profile-career {
  padding: 120px 0;
  background-image: var(--profile-career-bg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.profile-career__name {
  margin: 70px 0 0;
  font-size: 32px;
  font-weight: 700;
}

.profile-career__layout {
  display: grid;
  grid-template-columns: 440px minmax(0, 1fr);
  gap: 130px;
  align-items: center;
  margin-top: 52px;
}

.profile-timeline {
  position: relative;
  margin: 0;
  padding: 0 0 0 72px;
}

.profile-timeline::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 24px;
  width: 2px;
  background: #86b4e5;
}

.profile-timeline li {
  position: relative;
  min-height: 86px;
}

.profile-timeline li::before {
  content: "";
  position: absolute;
  top: 5px;
  left: -60px;
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, #83B6E8, #B6D8FF);
  border-radius: 50%;
}

.profile-timeline time {
  display: block;
  margin-bottom: 8px;
  color: #4f8fd4;
  font-weight: 700;
}

.profile-timeline p {
  font-weight: 700;
  line-height: 1.65;
}

.profile-timeline__opening {
  padding-bottom: 30px;
}

.profile-timeline__opening::before {
  width: 38px;
  height: 38px;
  left: -66px;
}

.profile-timeline__opening img {
  width: 170px;
  margin-top: 20px;
  border-radius: 18px;
}

.profile-career__photo {
  margin: 0;
  text-align: center;
}

.profile-career__photo img {
  width: 520px;
  margin: 0 auto;
}

.profile-career__photo figcaption {
  margin-top: 22px;
  color: #4f8fd4;
  font-family: "Allison", cursive;
  font-size: 72px;
  line-height: 1;
	text-align: right;
}

.profile-specialty {
  padding: 120px 0;
  background: #f6fbff;
}

.profile-specialty__lead {
  margin: 70px 0 28px;
  color: #4f8fd4;
  font-size: 25px;
  line-height: 1.7;
}

.profile-cataract {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(360px, 0.8fr);
  gap: 56px;
  margin-top: 70px;
  padding: 48px 58px;
  overflow: hidden;
  background-image: var(--profile-cataract-bg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-radius: 28px;
}

.profile-cataract__main h3 {
  margin: 0;
  color: #0c3d7d;
  font-size: 38px;
  font-weight: 500;
}

.profile-cataract__main > p {
  margin-top: 24px;
  line-height: 1.8;
}

.profile-cataract__features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 34px;
  padding: 20px 0;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 24px;
}

.profile-cataract__features > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 0 12px;
  text-align: center;
}

.profile-cataract__features > div + div {
  border-left: 1px solid #c6a86a;
}

.profile-cataract__features img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.profile-cataract__features span {
  margin-top: 8px;
  color: #0c3d7d;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.profile-cataract__side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
}

.profile-cataract__side > img {
  width: 100%;
  height: 205px;
  object-fit: cover;
  border-radius: 24px;
}

.profile-cataract__side a,
.profile-pediatric-links__button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 56px;
  color: #fff;
  background: #4f8fd4;
  border-radius: 28px;
  font-weight: 700;
}

.profile-pediatric-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 55px;
  margin-top: 72px;
}

.profile-pediatric-links article {
  min-height: 360px;
  padding: 48px 42px 40px;
  background-image: var(--profile-pediatric-bg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-radius: 24px;
}

.profile-pediatric-links h3 {
  margin: 0;
  font-size: 30px;
  font-weight: 500;
}

.profile-pediatric-links article:nth-child(1) h3 {
  color: #775531;
}

.profile-pediatric-links article:nth-child(2) h3 {
  color: #416957;
}

.profile-pediatric-links article:nth-child(3) h3 {
  color: #c26b70;
}

.profile-pediatric-links p {
  margin-top: 26px;
  color: #68584b;
  line-height: 1.75;
}

.profile-pediatric-links__button {
  margin-top: 34px;
}

.profile-pediatric-links__button--orange {
  background: #e49a45;
}

.profile-pediatric-links__button--green {
  background: #75a58a;
}

.profile-pediatric-links__button--pink {
  background: #d77f82;
}

.profile-media {
  padding: 120px 0;
  background-image: var(--profile-media-bg);
  background-repeat: repeat;
}

.profile-media__list {
  display: grid;
  gap: 64px;
  margin-top: 70px;
}

.profile-media__item {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 54px;
  align-items: center;
}

.profile-media__thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 270px;
  height: 270px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 8px rgba(31, 54, 86, 0.14);
}

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

.profile-media__thumb span {
  color: #4f8fd4;
  font-weight: 700;
}

.profile-media__body time {
  display: block;
  margin-bottom: 16px;
}

.profile-media__body h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.6;
}

.profile-media__body > p {
  margin-top: 28px;
}

.profile-media__more {
  display: block;
  margin-top: 34px;
  text-align: right;
}

.profile-media__empty {
  margin-top: 70px;
}

.profile-youtube {
  padding: 120px 0;
}

.profile-youtube__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  gap: 100px;
  align-items: start;
  margin-top: 70px;
}

.profile-youtube__copy h3 {
  margin: 0 0 34px;
  color: #2e5ea7;
  font-size: 25px;
  line-height: 1.6;
}

.profile-youtube__copy p + p {
  margin-top: 28px;
}

.profile-youtube__card {
  padding: 40px 54px 48px;
  background: #fbfaf8;
  border: 2px solid #edf3f8;
  border-radius: 0 24px 24px 0;
  box-shadow: 0 4px 8px rgba(54, 87, 122, 0.06);
}

.profile-youtube__new {
  color: rgba(198, 168, 106, 0.45);
  font-family: "Allison", cursive;
  font-size: 70px;
  line-height: 1;
}

.profile-youtube__channel {
  margin-top: -18px;
  text-align: right;
}

.profile-youtube__frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  margin-top: 28px;
  overflow: hidden;
  background: #d9d9d9;
}

.profile-youtube__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.profile-youtube__card > a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 42px;
  min-height: 56px;
  margin-top: 28px;
  color: #c6a86a;
  background: #fff;
  border: 2px solid #c6a86a;
  border-radius: 28px;
  font-weight: 700;
}

@media (hover: hover) {
  .profile-page a {
    transition: opacity 0.3s ease;
  }

  .profile-page a:hover {
    opacity: 0.7;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .profile-page {
    font-size: 17px;
  }

  .profile-mv {
    height: 600px;
  }

  .profile-mv__title {
    font-size: 46px;
  }

  .profile-message,
  .profile-career,
  .profile-specialty,
  .profile-media,
  .profile-youtube {
    padding: 80px 0;
  }

  .profile-career__layout {
    grid-template-columns: 380px minmax(0, 1fr);
    gap: 60px;
  }

  .profile-career__photo figcaption {
    font-size: 58px;
  }

  .profile-cataract {
    grid-template-columns: minmax(0, 1.4fr) 300px;
    gap: 30px;
    padding: 40px;
  }

  .profile-cataract__main h3 {
    font-size: 30px;
  }

  .profile-cataract__features {
    grid-template-columns: repeat(2, 1fr);
  }

  .profile-cataract__features > div {
    min-height: 120px;
    padding: 16px 8px;
  }

  .profile-cataract__features > div:nth-child(3) {
    border-left: 0;
  }

  .profile-cataract__features > div:nth-child(n + 3) {
    border-top: 1px solid #c6a86a;
  }

  .profile-pediatric-links {
    gap: 24px;
  }

  .profile-pediatric-links article {
    padding: 40px 24px;
  }

  .profile-youtube__layout {
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 50px;
  }
}

@media screen and (max-width: 767px) {
  .profile-page,
  .profile-page p,
  .profile-page li {
    font-size: 16px;
  }

  .profile-inner,
  .profile-narrow {
    width: 100%;
    max-width: none;
    padding-right: 20px;
    padding-left: 20px;
  }

  .profile-mv {
    height: 500px;
  }

  .profile-mv__image {
    object-position: 86% bottom;
  }

  .profile-mv__content {
    top: auto;
    bottom: 140px;
    left: 20px;
    transform: none;
  }

  .profile-mv__en {
    font-size: 15px;
  }

  .profile-mv__title {
    font-size: 36px;
  }

  .profile-mv__line {
    width: 140px;
    height: 1px;
    margin-top: 14px;
  }

  .profile-message,
  .profile-career,
  .profile-specialty,
  .profile-media,
  .profile-youtube {
    padding: 80px 0;
	  background-position: center;
  }

  .profile-message h2 {
    margin-bottom: 34px;
    font-size: 21px;
    text-align: left;
  }

  .profile-message p + p {
    margin-top: 24px;
  }

  .profile-heading__en {
    font-size: 14px;
  }

  .profile-heading h2 {
    padding-bottom: 17px;
    font-size: 28px;
  }

  .profile-heading h2::after {
    width: 145px;
    height: 1px;
  }

  .profile-career__name {
    margin-top: 48px;
    font-size: 24px;
  }

  .profile-career__layout {
    display: flex;
    flex-direction: column;
    gap: 44px;
    margin-top: 40px;
  }

  .profile-timeline {
    width: 100%;
    padding-left: 62px;
  }

  .profile-timeline::before {
    left: 21px;
  }

  .profile-timeline li::before {
    left: -53px;
  }

  .profile-timeline__opening::before {
    left: -59px;
  }

  .profile-timeline__opening img {
    width: 150px;
  }

  .profile-career__photo {
    order: -1;
  }

  .profile-career__photo img {
    width: 100%;
    max-width: 420px;
  }

  .profile-career__photo figcaption {
    font-size: 52px;
  }

  .profile-specialty__lead {
    margin-top: 48px;
    font-size: 20px;
  }

  .profile-cataract {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 48px;
    padding: 40px 20px;
    border-radius: 20px;
  }

  .profile-cataract__main h3 {
    font-size: 27px;
  }

  .profile-cataract__features {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 10px;
    border-radius: 20px;
  }

  .profile-cataract__features > div {
    min-height: 130px;
    padding: 16px 8px;
  }

  .profile-cataract__features > div:nth-child(3) {
    border-left: 0;
  }

  .profile-cataract__features > div:nth-child(n + 3) {
    border-top: 1px solid #c6a86a;
  }

  .profile-cataract__side > img {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .profile-pediatric-links {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 48px;
  }

  .profile-pediatric-links article {
    min-height: 0;
    padding: 40px 20px;
  }

  .profile-pediatric-links h3 {
    font-size: 26px;
  }

  .profile-pediatric-links__button {
    margin-top: 28px;
  }

  .profile-media__list {
    gap: 50px;
    margin-top: 48px;
  }

  .profile-media__item {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .profile-media__thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .profile-media__body h3 {
    font-size: 18px;
  }

  .profile-media__body > p {
    margin-top: 20px;
  }

  .profile-media__more {
    margin-top: 24px;
  }

  .profile-youtube__layout {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 48px;
  }

  .profile-youtube__copy h3 {
    font-size: 21px;
  }

  .profile-youtube__card {
    padding: 32px 20px 40px;
    border-radius: 20px;
  }

  .profile-youtube__new {
    font-size: 58px !important;
  }
}

@media screen and (max-width: 374px) {
  .profile-inner,
  .profile-narrow {
    padding-right: 16px;
    padding-left: 16px;
  }

  .profile-mv__content {
    left: 16px;
  }

  .profile-mv__title {
    font-size: 33px;
  }

  .profile-cataract,
  .profile-pediatric-links article,
  .profile-youtube__card {
    padding-right: 16px;
    padding-left: 16px;
  }
}
