.pdp-profile {
  margin: 0 auto 218px;
}

.pdp-profile .pdp-sub {
  margin: 0 0 120px 0;
}

.pdp-profile.is-layout-constrained {
  max-width: 965px !important;
  margin-inline: auto;
}

.pdp-profile.is-layout-constrained> :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: 965px !important;
}

.pdp-profile__item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.pdp-profile__item:first-of-type {
  margin-bottom: 120px;
}

.pdp-profile__item:last-of-type {
  margin-bottom: 0;
}

.pdp-profile__image img {
  width: 460px;
  height: 580px;
  object-fit: cover;
}

.pdp-profile__text {
  width: 405px;
  margin-left: 100px;
}

.pdp-profile__name {
  font-family: var(--wp--preset--font-family--zenoldmincho);
  font-size: 60px;
  font-weight: 700;
  line-height: 0.7;
  letter-spacing: 0.05em;
  margin: 0 0 28px 0;
}

.pdp-profile__name-en {
  font-family: var(--wp--preset--font-family--zenoldmincho);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.3em;
  margin: 0;
}

.pdp-profile__name-en::after {
  content: "";
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 30px 0 60px 0;
  border-bottom: 1px solid var(--wp--preset--color--line-strong);
}

.pdp-profile__desc p {
  font-family: var(--wp--preset--font-family--zenoldmincho);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.4em;
  line-height: 3.2;
  margin: 0;
}

.pdp-profile .pdp-viewmore {
  text-align: right;
  margin-top: 64px;
  margin-right: 20px;
}

.pdp-profile-detail.is-layout-constrained> :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: 1080px !important;
}

.pdp-profile-detail .pdp-sub::after {
  content: none;
}

.pdp-profile-detail .pdp-section--master .pdp-sub::after,
.pdp-profile-detail .pdp-section--director .pdp-sub::after {
  content: "";
}

.page-template-page-profile-detail .pdp-header::after {
  display: none !important;
}

.pdp-profile-detail .pdp-profile__item {
  display: block;
  margin-bottom: 160px;
}

.pdp-profile__head {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 50px;
}

.pdp-profile-detail .pdp-profile__body {
  max-width: 996px;
}

.pdp-profile-detail .pdp-profile__award {
  margin-bottom: 60px;
}

.pdp-profile-detail .pdp-profile__award h4,
.pdp-profile-detail .pdp-profile__message h4 {
  font-family: var(--wp--preset--font-family--mplus);
  font-size: 40px;
  font-weight: 700;
  margin: 0;
  padding: 0;
  letter-spacing: 0.05em;
}

.pdp-profile-detail .pdp-profile__award h4::after,
.pdp-profile-detail .pdp-profile__message h4::after {
  content: "";
  display: block;
  width: 194px;
  max-width: 100%;
  margin: 30px 0 48px 0;
  border-bottom: 1px solid var(--wp--preset--color--line-strong);
}

.pdp-profile-detail .pdp-profile__award ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pdp-profile-detail .pdp-profile__award ul li {
  display: flex;
  align-items: center;
  gap: 0 !important;
  column-gap: 0 !important;
  margin-bottom: 15px;
  line-height: 1.8;
  color: #fff;
}

.pdp-profile-detail .pdp-profile__award ul li .date {
  display: flex;
  align-items: center;
  white-space: nowrap;
  min-width: 80px;
  font-size: 18px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  margin-right: 15px;
}

.pdp-profile-detail .pdp-profile__award ul li .date::after {
  content: "";
  display: block;
  width: 109px;
  height: 1px;
  background: var(--wp--preset--color--line-strong);
  margin-left: 15px;
}

.pdp-profile-detail .pdp-profile__award ul li .text {
  font-family: var(--wp--preset--font-family--zenoldmincho);
  font-size: 18px;
  font-weight: 700;
  text-align: left;
  letter-spacing: 0.4em;
  flex: 1;
}

.pdp-profile-detail .pdp-profile__award ul li::before {
  content: none !important;
}

.pdp-profile-detail .pdp-profile__message .text {
  font-family: var(--wp--preset--font-family--zenoldmincho);
  font-size: 18px;
  font-weight: 700;
  line-height: 3;
  letter-spacing: 0.4em;
}

.pdp-profile-detail .pdp-profile__name-en::after {
  content: "";
  display: block;
  width: 100%;
  margin: 30px 0 60px 0;
  border-bottom: 1px solid var(--wp--preset--color--line-strong);
}

.pdp-profile-detail .pdp-profile__text { position: relative; }

.pdp-profile-detail .pdp-profile__sns {
  position: absolute;
  top: 80px;
  right: 0;
  display: flex;
  gap: 20px;
}

.pdp-profile-detail .pdp-profile__sns .sns-x { background-image: url('../icon/x.png'); }
.pdp-profile-detail .pdp-profile__sns .sns-blog { background-image: url('../icon/blog.png'); } 

.pdp-profile-detail .pdp-profile__sns .sns {
  width: 34px;
  height: 34px;
  display: inline-block;
  opacity: .85;
  transition: opacity .2s ease;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.pdp-profile-detail .pdp-profile__sns .sns:hover { opacity: 1; }


.pdp-profile-detail .pdp-section--master,
.pdp-profile-detail .pdp-section--director {
  margin-bottom: 118px;
}

.pdp-profile-detail .pdp-spcourse {
  margin-bottom: 220px;
  text-align: center;
  max-width: 1080px;
  margin-inline: auto;
}

.pdp-profile-detail .pdp-spcourse .pdp-sub {
  margin: 0 0 80px 0;
}

.pdp-profile-detail .pdp-spcourse .pdp-sub::after {
  content: "";
}

.pdp-profile-detail .pdp-spcourse .pdp-spcourse__content {
  max-width: 772px;
  font-family: var(--wp--preset--font-family--zenoldmincho);
  font-size: 18px;
  letter-spacing: 0.3em;
  line-height: 3.2;
  margin-bottom: 1em;
  text-align: left;
}

.pdp-profile-detail .pdp-spcourse .pdp-viewmore a {
  font-family: var(--wp--preset--font-family--zenoldmincho);
  letter-spacing: 0.4em;
}

.pdp-profile-detail .pdp-spcourse .pdp-viewmore a::after {
  width: 160px;
}

.pdp-profile-detail .pdp-spcourse .pdp-viewmore a::before {
  right: -10px;
}


@media (max-width:767px) {

  .pdp-profile.is-layout-constrained {
    max-width: 270px !important;
    margin-inline: auto;
  }

  .pdp-profile.is-layout-constrained> :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    max-width: 270px !important;
  }

  .pdp-profile {
    max-width: 270px;
    margin: 0 auto 100px;
  }
  
  .pdp-profile__item:first-of-type {
    margin-bottom: 60px;
  }

  .pdp-profile .pdp-sub {
    margin: 0 0 60px 0;
  }

  .pdp-profile__item {
    display: block;
    text-align: center;
    margin: 0 auto;
  }

  .pdp-profile__image {
    display: inline-block;
    margin-bottom: 40px;
    text-align: center;
  }

  .pdp-profile__image img {
    width: 230px;
    height: 290px;
  }

  .pdp-profile__name {
    font-size: 30px;
    margin: 0 0 10px 0;
  }

  .pdp-profile__name-en {
    font-size: var(--wp--preset--font-size--xs);
    font-weight: 700;
  }

  .pdp-profile__name-en::after {
    margin: 18px 0 40px 0;
  }

  .pdp-profile__desc p {
    font-size: var(--wp--preset--font-size--xs);
    font-weight: 700;
  }

  .pdp-profile__text {
    width: 90%;
    text-align: left;
    margin: 0 auto;
  }

  .pdp-profile .pdp-viewmore {
    margin-top: 42px;
  }
  
  .pdp-profile-detail .pdp-sub {
    margin: 0;
  }
  
  .pdp-profile-detail.is-layout-constrained> :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    max-width: 346px !important;
  }

  .pdp-profile__head {
    display: block;
    margin-bottom: 40px;
  }
  
  .pdp-profile-detail .pdp-section--master,
  .pdp-profile-detail .pdp-section--director {
    margin-bottom: 30px;
  }

  .pdp-profile-detail .pdp-profile__body {
    max-width: 346px;
  }

  .pdp-profile-detail .pdp-profile__name-en::after {
    margin: 18px 0 40px 0;
  }
  
  .pdp-profile-detail .pdp-profile__award {
    margin-bottom: 40px;
  }

  .pdp-profile-detail .pdp-profile__sns {
    top: 40px;
    gap: 12px;
  }

  .pdp-profile-detail .pdp-profile__sns .sns {
    width: 17px;
    height: 17px;
  }
  
  .pdp-profile-detail .pdp-profile__award h4,
  .pdp-profile-detail .pdp-profile__message h4 {
    font-family: var(--wp--preset--font-family--mplus);
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    padding: 0;
    letter-spacing: 0.05em;
  }
  
  .pdp-profile-detail .pdp-profile__award h4::after,
  .pdp-profile-detail .pdp-profile__message h4::after {
    width: 97px;
    margin: 20px auto 30px;
  }

  .pdp-profile-detail .pdp-profile__award ul li .date {
    font-size: var(--wp--preset--font-size--xs);
    font-weight: 700;
    margin-right: 10px;
  }
  
  .pdp-profile-detail .pdp-profile__award ul li .date::after {
    width: 54px;
    margin-left: 10px;
  }
  
  .pdp-profile-detail .pdp-profile__award ul li .text {
    font-size: var(--wp--preset--font-size--xs);
    font-weight: 700;
    letter-spacing: 0.16em;
  }

  .pdp-profile-detail .pdp-profile__message .text{
    font-size: var(--wp--preset--font-size--xs);
    font-weight: 700;
    text-align: left;
  }

  .pdp-profile-detail .pdp-spcourse .pdp-sub {
    margin: 0 0 70px 0;
  }

  .pdp-profile-detail .pdp-spcourse .pdp-spcourse__content {
    font-size: var(--wp--preset--font-size--xs);
    font-weight: 700;
  }

  .pdp-profile-detail .pdp-spcourse .pdp-viewmore {
    margin-top: 46px;
  }

  .pdp-profile-detail .pdp-spcourse .pdp-viewmore a::after {
    width: 97px;
  }
}