@charset "UTF-8";

/* ========================================
   Profile Page
======================================== */

.profile-page {
  position: relative;
  padding-top: 76px;
  padding-bottom: 100px;
}

.profile-section {
  max-width: 960px;
  margin-inline: auto;
}

.profile-intro {
  margin-bottom: 56px;
}

/* ========================================
   Japanese Profile Intro
======================================== */

.profile-name-ja {
  margin: 0 0 24px;
  font-family: var(--font-mincho);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.profile-title-ja {
  margin: 0 0 16px;
  font-family: var(--font-mincho);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.profile-lead-ja {
  max-width: 650px;
  margin: 0;
  font-family: var(--font-mincho);
  font-size: 16px;
  font-weight: 700;
  line-height: 2.1;
  letter-spacing: 0.025em;
}

/* ========================================
   Japanese Profile Grid
======================================== */


.profile-ja-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 60px;
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
}

/* Left: Biography */

.profile-ja-biography {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;

  font-family: var(--font-mincho);
  font-size: 16px;
  line-height: 2.2;
  letter-spacing: 0.015em;
}

.profile-ja-biography p {
  margin: 0;
}

/* Right: Image & Facts */

.profile-ja-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

/* Profile Image */
.profile-image {
  position: relative;
  width: 100%;
  height: auto;
  margin: 0 auto 30px;
  opacity: 0;
  transition: opacity 1.2s ease;
}



.profile-image.is-visible {
  opacity: 1;
}



.profile-image::after {
  position: absolute;
  z-index: 0;
  top: 9px;
  left: 9px;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border: 1px solid var(--color-line-dark);
  content: "";
  pointer-events: none;
}

.profile-image img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  /* aspect-ratio: 1 / 1;
  object-fit: cover; */
}


/* Facts */

.profile-facts {
  margin-top: 0;
  font-family: var(--font-mincho);
  font-size: 16px;
  line-height: 1.93;
}

.profile-fact {
  margin-bottom: 26px;
}

.profile-fact:last-child {
  margin-bottom: 0;
}

.profile-fact h2,
.profile-fact h3 {
  margin: 0 0 7px;
  font-size: 16px;
  font-weight: 700;
}

.profile-fact p {
  margin: 0;
}

.profile-fact dl {
  margin: 0;
}

.profile-fact dl > div {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  margin-bottom: 4px;
}

.profile-fact dt,
.profile-fact dd {
  margin: 0;
}

.profile-fact dt {
  white-space: nowrap;
}

/* ========================================
   English Profile Intro
======================================== */

.profile-en {
  margin-top: 200px;
    font-family: var(--font-cantarell);
}

.profile-name-en {
  margin: 0 0 24px;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: 0.015em;
}

.profile-title-en {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
}

.profile-lead-en {
  max-width: 600px;
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
}

/* ========================================
   English Profile Grid
======================================== */

.profile-en-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 60px;
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
  margin-top: 58px;
}

/* Left: Biography */

.profile-en-biography {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;

  font-family: var(--font-cantarell);
  font-size: 16px;
  line-height: 2.15;
}

.profile-en-biography p {
  margin: 0;
}

/* Right: Facts */

.profile-en-side {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;

  font-family: var(--font-cantarell);
  font-size: 16px;
  line-height: 1.9;
}

/* 通常時：リンクを控えめに示す */
.profile-page .profile-ja-biography a,
.profile-page .profile-en-biography a {
  text-decoration: none;
  border-bottom: 1.5px dotted rgba(100, 100, 100, 0.3);
  padding-bottom: 1.5px;
  transition: color 0.35s ease;
}

/* ホバー時 */
.profile-page .profile-ja-biography a:hover,
.profile-page .profile-en-biography a:hover {
  color: var(--color-line-dark);
}

.profile-page .profile-ja-biography a:hover::after {
  transform: scaleX(0);
}

.profile-page .profile-en-biography a:hover::after {
  transform: scaleX(0);
}

/* ========================================
   Responsive
======================================== */

@media (max-width: 768px) {

  .profile-page {
    padding-top: 44px;
    padding-bottom: 64px;
  }

  .profile-intro {
    margin-bottom: 36px;
  }

  .profile-en {
  margin-top: 0;
}
  .profile-ja-grid,
  .profile-en-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    border-bottom: none;
      margin-top: 58px;
  }

  .profile-ja-biography,
  .profile-en-biography {
    gap: 22px;
  }

  .profile-image {
    width: 80%;
    margin: 12px auto 14px;
  }

  /* English Profile */

  /* .profile-en-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 36px;
  } */

  /* .profile-en-side {
    padding-top: 0;
  } */
}
/* ========================================
   SP Language Switch
======================================== */
.profile-language-switch {
  display: none;
}

@media screen and (max-width: 768px) {
  .profile-language-switch {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 9px;
    margin: 0 0 36px;
    padding-right: var(--page-padding);
    font-family: var(--font-cantarell);
    font-size: 15px;
    letter-spacing: 0.04em;
  }

  .language-label {
    color: var(--color-muted);
    font-size: 14px;
    letter-spacing: 0.08em;
    margin-right: 3px;
  }

  .language-button {
    padding: 4px 0;
    color: var(--color-muted);
    transition: color 0.3s ease;
  }

  .language-button.is-active {
    color: var(--color-text);
  }

  .language-divider {
    color: var(--color-line-dark);
  }

  body.profile-page {
    padding-top: 60px;
  }

  main.profile-page {
    padding-top: 30px;
  }
    /* 言語切り替え */
  .profile-page .profile-section {
    display: none;
  }

  .profile-page .profile-section.is-active {
    display: block;
  }

  /* スマホではプロフィール写真を非表示 */
  .profile-page .profile-image {
    display: none;
  }
}
/* ========================================
   SP Profile Font Size
======================================== */

@media screen and (max-width: 768px) {

  .profile-name-ja {
    font-size: 24px;
  }

  .profile-title-ja {
    font-size: 16px;
  }

  .profile-lead-ja {
    font-size: 16px;
  }

  .profile-ja-biography {
    font-size: 16px;
  }

  .profile-facts {
    font-size: 16px;
  }

  .profile-fact h2,
  .profile-fact h3 {
    font-size: 16px;
  }

  .profile-name-en {
    font-size: 24px;
  }

  .profile-title-en {
    font-size: 16px;
  }

  .profile-lead-en {
    font-size: 16px;
  }

  .profile-en-biography {
    font-size: 16px;
  }

  .profile-en-side {
    font-size: 16px;
  }

  dt {
      font-weight: normal;
  }
}

