@charset "UTF-8";

/* Seriについてページ用 CSS */

.entry-content.cf .home_seri_hello_wrap {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  gap: 2.4rem;
}
/* .entry-content.cf .home_seri_hello_wrap.profile_seri_hello_wrap {
  margin-top: 2em;
} */
.entry-content.cf .home_seri_hello_wrap .home_seri_hello_r h3 {
  padding: 0;
  color: #802500;
  font-size: 1.9em;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.6em;
}
.entry-content.cf .home_seri_hello_wrap .home_seri_hello_r p {
  font-family: "Noto Serif JP", serif;
  font-size: 0.92em;
  font-weight: 500;
  margin-bottom: 0.8em;
  text-align: justify;
}
h4.seri_about_title {
  color: #802500;
  margin-bottom: 0.3em;
  margin-top: 2.4em;
  padding: 1em 0 0;
  border-top: 1px solid #af9681;
  font-size: 1.1em;
}
h4.seri_about_name {
  color: #802500;
  padding: 0;
  font-size: 1.3em;
  margin-bottom: 13px;
}
h4.seri_about_name > span {
  font-size: 0.75em;
  margin-left: -2px;
  white-space: nowrap;
}

.entry-content .profile_details_wrap {
  width: 98%;
  max-width: 900px;
  margin: 1em auto 3.6em;
}
.entry-content .profile_details_wrap .profile_detail_img {
  flex-basis: 45%;
}
.entry-content .profile_details_wrap .profile_detail_info {
  flex-basis: 55%;
}
.entry-content .profile_details_wrap .profile_detail_info p {
  text-align: justify;
}
.metaslider .slides .caption-wrap {
  background-color: transparent;
}
.metaslider .slides .caption {
  font-size: 12px;
  font-weight: 200;
  text-align: right;
}

.article h2.page_lead_title.profile_title1 {
  position: relative;
  width: fit-content;
  margin: 0 auto;
}
h2.page_lead_title.profile_title1::after {
  content: "";
  background-image: url(https://seri.verse.jp/wp-content/uploads/2025/03/border-1.webp);
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: 50%;
  right: -150px;
  transform: translateY(-50%);
  width: 140px;
  height: 55px;
}
h2.page_lead_title.profile_title1::before {
  content: "";
  background-image: url(https://seri.verse.jp/wp-content/uploads/2025/03/border-1.webp);
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: 50%;
  left: -150px;
  transform: translateY(-50%) scale(-1, 1);
  width: 140px;
  height: 55px;
}

.entry-content.cf .profile_records {
  width: 100%;
  max-width: 820px;
  margin: 1em auto 0;
}
.entry-content.cf .profile_records .profile_record_wrap {
  width: 100%;
}
.entry-content.cf .profile_records .profile_record_wrap .profile_record_years p {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
  font-size: 16px;
  padding-top: 2px;
  white-space: nowrap;
}

@media screen and (max-width: 781px) {
  .entry-content.cf .profile_seri_hello_wrap figure.home_seri_hello_img {
    display: block;
    width: 90%;
    max-width: 300px;
    margin: 0 auto;
    height: 340px;
  }
  .entry-content.cf .profile_seri_hello_wrap figure.home_seri_hello_img > img {
    height: 100%;
    object-fit: cover;
    object-position: center -44px;
  }
  .entry-content .profile_details_wrap .profile_detail_img {
    order: 2;
    padding-bottom: 2em;
  }
  .entry-content .profile_details_wrap .profile_detail_img .alignnormal {
    width: 80%;
    max-width: 460px;
    margin: 0 auto;
  }
  .entry-content .profile_details_wrap .profile_detail_info {
    order: 1;
  }
  .wp-block-spacer.under_profile {
    font-size: 0.3em;
    line-height: 1;
  }

  .entry-content.cf .profile_records {
    width: 94%;
  }
  .entry-content.cf .profile_records .profile_record_wrap {
    flex-wrap: nowrap !important;
    gap: 1rem;
  }
  .entry-content.cf .profile_records .profile_record_wrap .profile_record_years {
    flex-basis: 98px !important;
    flex-grow: 0;
  }
  .entry-content.cf .profile_records .profile_record_wrap .profile_record_info {
    flex-basis: 0 !important;
    flex-grow: 1;
  }
}

@media screen and (max-width: 510px) {
  h2.page_lead_title.profile_title1::before {
    left: -110px;
    width: 100px;
    height: 40px;
  }
  h2.page_lead_title.profile_title1::after {
    right: -110px;
    width: 100px;
    height: 40px;
  }
}

@media screen and (max-width: 420px) {
  h2.page_lead_title.profile_title1::before {
    left: -80px;
    width: 70px;
    height: 26px;
  }
  h2.page_lead_title.profile_title1::after {
    right: -80px;
    width: 70px;
    height: 26px;
  }
  .entry-content.cf .profile_records {
    width: 100%;
  }
  .entry-content.cf .profile_records .profile_record_wrap .profile_record_years {
    flex-basis: 86px !important;
  }
  .entry-content.cf .profile_records .profile_record_wrap .profile_record_years p {
    font-size: 14px;
    line-height: 1;
    padding-top: 4px;
  }
  .entry-content.cf .profile_records .profile_record_wrap .profile_record_info {
    font-size: 0.9em;
    line-height: 1.4;
  }
}

@media screen and (max-width: 410px) {
  .article h2.page_lead_title {
    font-size: 1.6em;
  }
}
