/* Profile renewal */
body[data-page="profile.html"] {
  background: #fcfbf8;
  color: #373b37;
}

.profile-page {
  overflow: hidden;
  background: #fcfbf8;
}

.profile-page *,
.profile-page *::before,
.profile-page *::after {
  box-sizing: border-box;
}

.profile-page img {
  display: block;
  max-width: 100%;
}

.profile-container,
.profile-page__breadcrumbs {
  width: min(calc(100% - 48px), 1160px);
  margin-right: auto;
  margin-left: auto;
}

.profile-page__breadcrumbs {
  padding-top: 18px;
}

.profile-intro {
  padding: 72px 0 94px;
  background: #fff;
}

.profile-intro__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(54px, 6vw, 86px);
  align-items: center;
}

.profile-intro__copy {
  position: relative;
  z-index: 1;
  padding: 14px 0 10px 38px;
}

.profile-intro__label,
.profile-about__label,
.profile-values__label {
  margin: 0;
  color: #7f8877;
  font-family: "Segoe Script", "Bradley Hand", cursive;
  font-style: italic;
}

.profile-intro__label {
  margin-bottom: 9px;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  transform: rotate(-5deg);
  transform-origin: left center;
}

.profile-intro__title,
.profile-about__heading h2,
.profile-values__title,
.profile-intro__bio h2,
.profile-about-card h3,
.profile-values__item h3 {
  color: #252a27;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-weight: 500;
}

.profile-intro__title {
  margin: 0;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  line-height: 1.35;
  letter-spacing: 0.08em;
}

.profile-intro__line,
.profile-intro__aside-line,
.profile-about__heading > span,
.profile-values__line {
  display: block;
  height: 1px;
  background: #9ca189;
  transform: rotate(-4deg);
}

.profile-intro__line {
  width: 88px;
  margin: 20px 0 34px;
}

.profile-intro__lead {
  margin: 0;
  color: #3f4540;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: clamp(1.05rem, 1.65vw, 1.28rem);
  line-height: 1.9;
  letter-spacing: 0.06em;
}

.profile-intro__bio {
  margin-top: 52px;
}

.profile-intro__bio h2 {
  position: relative;
  margin: 0 0 22px;
  padding-left: 19px;
  font-size: 1.42rem;
  letter-spacing: 0.08em;
}

.profile-intro__bio h2::before {
  position: absolute;
  top: 0.12em;
  bottom: 0.12em;
  left: 0;
  width: 3px;
  background: #d9a97d;
  content: "";
}

.profile-intro__bio p {
  margin: 0;
  color: #555a55;
  font-size: 0.92rem;
  line-height: 2;
  letter-spacing: 0.025em;
}

.profile-intro__bio p + p {
  margin-top: 8px;
}

.profile-intro__visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 163px;
  gap: 24px;
  align-items: stretch;
}

.profile-intro__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 38%;
}

.profile-intro__aside {
  position: relative;
  min-height: 100%;
  padding: 98px 0 20px;
}

.profile-intro__aside-copy {
  margin: 0;
  color: #515651;
  font-family: "Klee One", cursive;
  font-size: 0.96rem;
  line-height: 1.95;
  letter-spacing: 0.06em;
  transform: rotate(-5deg);
}

.profile-intro__aside-line {
  width: 67px;
  margin: 45px 0 36px 19px;
}

.profile-intro__aside-script {
  margin: 0 0 0 25px;
  color: rgba(110, 108, 102, 0.52);
  font-family: "Segoe Script", "Bradley Hand", cursive;
  font-size: 0.9rem;
  line-height: 1.45;
  text-align: center;
  transform: rotate(-8deg);
}

.profile-intro__leaf {
  position: absolute;
  height: auto;
  pointer-events: none;
}

.profile-intro__leaf--title {
  top: 2px;
  left: -58px;
  width: 68px;
  opacity: 0.62;
  transform: rotate(-11deg);
}

.profile-intro__leaf--photo {
  right: 2px;
  bottom: 0;
  width: 78px;
  opacity: 0.72;
  transform: scaleX(-1) rotate(-9deg);
}

.profile-about {
  padding: 72px 0 88px;
  background: #f8f5ef;
}

.profile-about__heading {
  text-align: center;
}

.profile-about__label {
  font-size: 1.15rem;
  transform: rotate(-5deg);
}

.profile-about__heading h2 {
  margin: 5px 0 0;
  font-size: clamp(1.8rem, 2.8vw, 2.35rem);
  letter-spacing: 0.12em;
}

.profile-about__heading > span {
  width: 58px;
  margin: 17px auto 0;
}

.profile-about__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 42px;
}

.profile-about-card {
  min-width: 0;
  min-height: 390px;
  padding: 28px 26px 32px;
  border: 1px solid rgba(139, 126, 106, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 9px 24px rgba(76, 70, 61, 0.035);
  text-align: center;
}

.profile-about-card__icon {
  display: grid;
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  place-items: center;
  border-radius: 50%;
  background: #dfe7d7;
}

.profile-about-card--family .profile-about-card__icon {
  background: #eae3db;
}

.profile-about-card__icon img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.profile-about-card h3 {
  margin: 0;
  font-size: 1.32rem;
  line-height: 1.55;
  letter-spacing: 0.06em;
}

.profile-about-card__line {
  display: block;
  width: 42px;
  height: 1px;
  margin: 16px auto 20px;
  background: #c5a377;
}

.profile-about-card p {
  margin: 0;
  color: #565b56;
  font-size: 0.88rem;
  line-height: 1.95;
  letter-spacing: 0.02em;
  text-align: left;
}

.profile-values {
  padding: 88px 0 102px;
  background: #fff;
}

.profile-values__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: clamp(54px, 7vw, 92px);
  align-items: center;
}

.profile-values__visual {
  position: relative;
  padding: 0 0 48px 26px;
}

.profile-values__visual::before {
  position: absolute;
  top: 50px;
  bottom: 18px;
  left: 0;
  width: 48px;
  background: linear-gradient(180deg, rgba(213, 204, 177, 0.3), rgba(232, 226, 207, 0.12));
  content: "";
}

.profile-values__photo {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.profile-values__note {
  position: absolute;
  bottom: 4px;
  left: 0;
  z-index: 2;
  margin: 0;
  padding: 16px 24px;
  background: rgba(250, 248, 241, 0.96);
  box-shadow: 0 5px 18px rgba(80, 75, 67, 0.06);
  color: #555b55;
  font-family: "Klee One", cursive;
  font-size: 0.9rem;
  line-height: 1.75;
  letter-spacing: 0.05em;
  transform: rotate(-3deg);
}

.profile-values__content {
  min-width: 0;
}

.profile-values__label {
  font-size: 1.25rem;
  transform: rotate(-5deg);
  transform-origin: left center;
}

.profile-values__title {
  margin: 4px 0 0;
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  line-height: 1.5;
  letter-spacing: 0.1em;
}

.profile-values__line {
  width: 58px;
  margin: 14px 0 24px;
}

.profile-values__list {
  display: grid;
  gap: 19px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.profile-values__item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.profile-values__number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: #a5b395;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.82rem;
}

.profile-values__item h3 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.55;
  letter-spacing: 0.03em;
}

.profile-values__item p {
  margin: 5px 0 0;
  color: #656a65;
  font-size: 0.78rem;
  line-height: 1.75;
}

.profile-contact {
  margin-top: 34px;
  text-align: center;
}

.profile-contact__button {
  display: inline-flex;
  width: min(100%, 330px);
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border-radius: 16px;
  background: linear-gradient(90deg, #93a783, #809675);
  box-shadow: 0 8px 20px rgba(92, 112, 80, 0.12);
  color: #fff;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.profile-contact__button:hover,
.profile-contact__button:focus-visible {
  box-shadow: 0 11px 24px rgba(92, 112, 80, 0.18);
  transform: translateY(-2px);
}

.profile-contact__button:focus-visible {
  outline: 2px solid rgba(104, 131, 92, 0.72);
  outline-offset: 3px;
}

.profile-contact p {
  margin: 15px 0 0;
  color: #717671;
  font-size: 0.78rem;
  line-height: 1.8;
}

.profile-values__leaf {
  position: absolute;
  right: -46px;
  bottom: -54px;
  width: 70px;
  height: auto;
  opacity: 0.58;
  transform: scaleX(-1) rotate(-8deg);
}

@media (max-width: 1050px) {
  .profile-intro__inner {
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    gap: 42px;
  }

  .profile-intro__visual {
    grid-template-columns: minmax(0, 1fr) 120px;
    gap: 18px;
  }

  .profile-intro__aside-copy {
    font-size: 0.86rem;
  }

  .profile-intro__aside-script {
    margin-left: 0;
  }

  .profile-about-card {
    padding-right: 22px;
    padding-left: 22px;
  }

  .profile-about-card p {
    font-size: 0.83rem;
  }

  .profile-values__inner {
    gap: 48px;
  }
}

@media (max-width: 900px) {
  .profile-intro {
    padding-top: 62px;
  }

  .profile-intro__inner,
  .profile-values__inner {
    grid-template-columns: 1fr;
  }

  .profile-intro__copy {
    padding-right: 44px;
  }

  .profile-intro__visual {
    width: min(100%, 650px);
    margin: 0 auto;
  }

  .profile-about__grid {
    gap: 14px;
  }

  .profile-about-card {
    min-height: 410px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .profile-about-card h3 {
    font-size: 1.15rem;
  }

  .profile-values__visual {
    width: min(100%, 650px);
    margin: 0 auto;
  }

  .profile-values__content {
    width: min(100%, 700px);
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .profile-container,
  .profile-page__breadcrumbs {
    width: min(calc(100% - 32px), 620px);
  }

  .profile-page__breadcrumbs {
    padding-top: 12px;
  }

  .profile-intro {
    padding: 50px 0 66px;
  }

  .profile-intro__inner {
    gap: 40px;
  }

  .profile-intro__copy {
    padding: 6px 2px 0 22px;
  }

  .profile-intro__label {
    font-size: 1.4rem;
  }

  .profile-intro__title {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }

  .profile-intro__line {
    margin: 16px 0 26px;
  }

  .profile-intro__lead {
    font-size: 1rem;
  }

  .profile-intro__bio {
    margin-top: 40px;
  }

  .profile-intro__bio h2 {
    font-size: 1.28rem;
  }

  .profile-intro__bio p {
    font-size: 0.94rem;
    line-height: 1.95;
  }

  .profile-intro__bio br,
  .profile-about-card p br {
    display: none;
  }

  .profile-intro__visual {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .profile-intro__photo {
    width: min(100%, 480px);
    margin: 0 auto;
  }

  .profile-intro__aside {
    min-height: 180px;
    padding: 0 80px 0 12px;
  }

  .profile-intro__aside-copy {
    font-size: 0.92rem;
    transform: none;
  }

  .profile-intro__aside-line {
    margin: 25px 0 20px;
  }

  .profile-intro__aside-script {
    margin: 0;
    text-align: left;
  }

  .profile-intro__leaf--title {
    left: -34px;
    width: 52px;
  }

  .profile-intro__leaf--photo {
    width: 66px;
  }

  .profile-about {
    padding: 58px 0 66px;
  }

  .profile-about__heading h2 {
    font-size: 1.75rem;
  }

  .profile-about__grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 34px;
  }

  .profile-about-card {
    min-height: 0;
    padding: 27px 24px 30px;
  }

  .profile-about-card p {
    font-size: 0.94rem;
    line-height: 1.9;
  }

  .profile-values {
    padding: 66px 0 78px;
  }

  .profile-values__inner {
    gap: 42px;
  }

  .profile-values__visual {
    padding: 0 0 42px 16px;
  }

  .profile-values__note {
    padding: 13px 18px;
    font-size: 0.84rem;
  }

  .profile-values__title {
    font-size: 1.75rem;
  }

  .profile-values__list {
    gap: 22px;
  }

  .profile-values__item {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 13px;
  }

  .profile-values__number {
    width: 38px;
    height: 38px;
  }

  .profile-values__item h3 {
    font-size: 1rem;
  }

  .profile-values__item p {
    font-size: 0.9rem;
    line-height: 1.85;
  }

  .profile-contact__button {
    width: min(100%, 320px);
  }

  .profile-values__leaf {
    right: -30px;
    bottom: -42px;
    width: 58px;
  }
}

@media (max-width: 390px) {
  .profile-container,
  .profile-page__breadcrumbs {
    width: calc(100% - 24px);
  }

  .profile-intro__copy {
    padding-left: 18px;
  }

  .profile-intro__title {
    letter-spacing: 0.05em;
  }

  .profile-intro__lead {
    letter-spacing: 0.03em;
  }

  .profile-about-card {
    padding-right: 20px;
    padding-left: 20px;
  }

  .profile-values__visual {
    padding-left: 10px;
  }

  .profile-values__item {
    gap: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .profile-contact__button {
    transition: none;
  }
}


