/* =========================
   profile page
========================= */

.profile-main {
  background: #ffffff;
}

/* =========================
   profile fv
========================= */

.profile-fv {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  padding-top: calc(var(--header-height) + 120px);
  background: #ffffff;
}

/* 背景画像 + 文字可読性グラデ */
.profile-fv::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  content: "";
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(255, 255, 255, 0.92) 31%,
      rgba(255, 255, 255, 0.72) 50%,
      rgba(255, 255, 255, 0.34) 68%,
      rgba(255, 255, 255, 0.08) 84%,
      rgba(255, 255, 255, 0.00) 100%
    ),
    url("../images/profile-fv-bg-pc.png") no-repeat center center / cover;
  pointer-events: none;
}

/* 左上ウェーブ */
.profile-fv::after {
  position: absolute;
  top: calc(var(--header-height) - 42px);
  left: 0;
  z-index: 1;
  width: 100%;
  height: 250px;
  content: "";
  background: url("../images/profile-wave-pc.svg") no-repeat left top / 100% 100%;
  pointer-events: none;
}

/* ウェーブ内の小見出し */
.profile-fv-wave-label {
  position: absolute;
  top: calc(var(--header-height) + 26px);
  left: max(24px, calc((100vw - 1180px) / 2));
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.profile-fv-wave-en {
  color: #82b2ff;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.18em;
}

.profile-fv-wave-ja {
  color: var(--navy);
  font-size: 28px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.04em;
}

.profile-fv-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: end;
  gap: 32px;
}

.profile-fv-copy {
  align-self: center;
  width: min(620px, 100%);
  padding: 104px 0 98px;
}

.profile-fv-role {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.profile-fv-name {
  margin: 26px 0 0;
}

.profile-fv-name-ja {
  display: block;
  color: var(--navy);
  font-size: clamp(58px, 6.2vw, 92px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0.04em;
}

.profile-fv-name-en {
  display: block;
  margin-top: 10px;
  color: #82b2ff;
  font-family: "Times New Roman", serif;
  font-size: clamp(26px, 2.6vw, 40px);
  font-style: italic;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.profile-fv-lead {
  margin-top: 46px;
}

.profile-fv-lead p {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
  line-height: 2;
  letter-spacing: 0.03em;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 20px rgba(255, 255, 255, 0.72);
}

.profile-fv-lead p + p {
  margin-top: 22px;
}

.profile-fv-person {
  position: relative;
  z-index: 2;
  align-self: end;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 640px;
  margin-top: -54px;
}

.profile-fv-person img {
  display: block;
  width: min(520px, 42vw);
  height: auto;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 22px 36px rgba(0, 60, 216, 0.08));
}

/* =========================
   career
========================= */

.career-section {
  position: relative;
  overflow: hidden;
  padding: 128px 0;
  background:
    radial-gradient(circle at 88% 18%, rgba(2, 83, 253, 0.05), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.career-section::before {
  position: absolute;
  top: 82px;
  right: 8%;
  width: 126px;
  height: 126px;
  content: "";
  background-image: radial-gradient(rgba(2, 83, 253, 0.14) 2px, transparent 2px);
  background-size: 14px 14px;
  opacity: 0.18;
  pointer-events: none;
}

.career-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.career-heading {
  text-align: left;
}

.career-heading .section-label {
  color: #b8d3ff;
}

.career-title {
  margin: 0;
  color: var(--navy);
  font-size: clamp(34px, 3.8vw, 52px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.career-title::after {
  display: block;
  width: 74px;
  height: 5px;
  margin-top: 24px;
  content: "";
  background: linear-gradient(90deg, var(--blue-2), rgba(2, 83, 253, 0.18));
  border-radius: 999px;
}

.career-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: start;
  margin-top: 64px;
}

.career-highlight {
  padding: 42px 40px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(215, 229, 255, 0.95);
  border-radius: 28px;
  box-shadow: 0 20px 48px rgba(0, 60, 216, 0.07);
}

.career-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.career-list li {
  position: relative;
  padding-left: 34px;
  color: var(--navy);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

.career-list li + li {
  margin-top: 22px;
}

.career-list li::before {
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 20px;
  height: 20px;
  content: "";
  background: var(--blue-2);
  border-radius: 50%;
}

.career-list li::after {
  position: absolute;
  left: 7px;
  top: calc(0.45em + 6px);
  width: 7px;
  height: 5px;
  content: "";
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(-45deg);
}

.career-text p {
  margin: 0;
  color: var(--text);
  font-size: 17px;
  font-weight: 700;
  line-height: 2.15;
  letter-spacing: 0.03em;
}

.career-text p + p {
  margin-top: 28px;
}

/* =========================
   history
========================= */

.history-section {
  position: relative;
  overflow: hidden;
  padding: 128px 0;
  background:
    radial-gradient(circle at 86% 18%, rgba(2, 83, 253, 0.05), transparent 26%),
    radial-gradient(circle at 12% 86%, rgba(255, 220, 40, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.history-section::before {
  position: absolute;
  top: 84px;
  right: 8%;
  width: 126px;
  height: 126px;
  content: "";
  background-image: radial-gradient(rgba(2, 83, 253, 0.14) 2px, transparent 2px);
  background-size: 14px 14px;
  opacity: 0.18;
  pointer-events: none;
}

.history-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 470px;
  gap: 72px;
  align-items: center;
}

.history-copy .section-label {
  color: #b8d3ff;
}

.history-title {
  margin: 0;
  color: var(--navy);
  font-size: clamp(34px, 3.8vw, 52px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.history-title::after {
  display: block;
  width: 74px;
  height: 5px;
  margin-top: 24px;
  content: "";
  background: linear-gradient(90deg, var(--blue-2), rgba(2, 83, 253, 0.18));
  border-radius: 999px;
}

.history-text {
  margin-top: 54px;
}

.history-text p {
  margin: 0;
  color: var(--text);
  font-size: 17px;
  font-weight: 700;
  line-height: 2.15;
  letter-spacing: 0.03em;
}

.history-text p + p {
  margin-top: 30px;
}

.history-visual {
  position: relative;
  min-height: 560px;
}

.history-visual::before {
  position: absolute;
  right: -36px;
  top: 40px;
  width: 360px;
  height: 360px;
  content: "";
  background: rgba(232, 242, 255, 0.75);
  border-radius: 50%;
}

.history-visual::after {
  position: absolute;
  left: -18px;
  bottom: 18px;
  width: 112px;
  height: 112px;
  content: "";
  background: rgba(255, 220, 40, 0.18);
  border-radius: 50%;
}

.history-photo {
  position: absolute;
  z-index: 1;
  margin: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(215, 229, 255, 0.95);
  box-shadow: 0 22px 48px rgba(0, 60, 216, 0.09);
}

.history-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.history-photo-main {
  top: 0;
  right: 0;
  width: 360px;
  height: 430px;
  border-radius: 32px;
}

.history-photo-sub {
  left: 0;
  bottom: 0;
  width: 260px;
  height: 210px;
  border-radius: 26px;
}

/* =========================
   profile value
========================= */

.profile-value-section {
  position: relative;
  overflow: hidden;
  padding: 128px 0 120px;
  background: #f5f9ff;
}

.profile-value-section::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(
      180deg,
      rgba(245, 249, 255, 0.76) 0%,
      rgba(245, 249, 255, 0.66) 48%,
      rgba(245, 249, 255, 0.78) 100%
    ),
    url("../images/profile-value-bg.png") no-repeat center center / cover;
  pointer-events: none;
}

.profile-value-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  text-align: center;
}

.profile-value-title {
  margin: 0;
  color: var(--navy);
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0.06em;
}

.profile-value-title::after {
  display: block;
  width: 72px;
  height: 4px;
  margin: 28px auto 0;
  content: "";
  background: linear-gradient(90deg, #0253fd, #82b2ff);
  border-radius: 999px;
}

.profile-value-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 72px;
}

.profile-value-card {
  padding: 42px 32px 38px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(130, 178, 255, 0.18);
  border-radius: 22px;
  box-shadow: 0 24px 54px rgba(0, 49, 120, 0.08);
  backdrop-filter: blur(8px);
}

.profile-value-icon {
  display: grid;
  width: 100px;
  height: 100px;
  margin: 0 auto 28px;
  place-items: center;
  border-radius: 18px;
}

.profile-value-icon img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.profile-value-card h3 {
  margin: 0;
  color: var(--blue-2);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.profile-value-card p {
  margin: 18px 0 0;
  color: var(--navy);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 2;
  letter-spacing: 0.03em;
}

/* =========================
   message
========================= */

.message-section {
  position: relative;
  overflow: hidden;
  padding: 140px 0 150px;
  background: #ffffff;
}

.message-section::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(255, 255, 255, 0.9) 34%,
      rgba(255, 255, 255, 0.62) 58%,
      rgba(255, 255, 255, 0.2) 100%
    ),
    url("../images/message-bg-pc.png") no-repeat center center / cover;
  pointer-events: none;
}

.message-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.message-copy {
  width: min(820px, 68%);
}

.message-copy .section-label {
  color: #82b2ff;
}

.message-title {
  margin: 0;
  color: var(--navy);
  font-family: Inter, "Noto Sans JP", sans-serif;
  font-size: clamp(38px, 4.4vw, 64px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.06em;
}

.message-title::after {
  display: block;
  width: 96px;
  height: 4px;
  margin-top: 28px;
  content: "";
  background: linear-gradient(90deg, #82b2ff, rgba(130, 178, 255, 0.16));
  border-radius: 999px;
}

.message-text {
  margin-top: 58px;
}

.message-text p {
  margin: 0;
  color: var(--navy);
  font-size: 18px;
  font-weight: 800;
  line-height: 2.25;
  letter-spacing: 0.04em;
}

.message-text p + p {
  margin-top: 30px;
}

.message-text p:nth-child(3) {
  margin-top: 54px;
}

.message-text span {
  color: var(--blue-2);
  font-weight: 900;
}

/* =========================
   tablet
========================= */

@media (max-width: 960px) {
  .profile-fv {
    min-height: 760px;
    padding: calc(var(--header-height) + 118px) 0 0;
  }

    .profile-fv::before {
    top: 0;
    background-position: center center;
    }

    .profile-fv::after {
    top: calc(var(--header-height) - 52px);
    height: 230px;
    }

    .profile-fv-wave-label {
    top: calc(var(--header-height) + 24px);
    left: 24px;
    }

  .profile-fv-wave-en {
    font-size: 14px;
  }

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

  .profile-fv-inner {
    width: min(100% - 32px, 1180px);
    min-height: 640px;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 24px;
  }

  .profile-fv-copy {
    position: relative;
    z-index: 3;
    padding: 104px 0 86px;
  }

  .profile-fv-role {
    font-size: 16px;
  }

  .profile-fv-name-ja {
    font-size: clamp(46px, 7vw, 72px);
  }

  .profile-fv-name-en {
    font-size: clamp(22px, 3vw, 32px);
  }

  .profile-fv-lead {
    margin-top: 36px;
  }

  .profile-fv-lead p {
    font-size: 16px;
    line-height: 1.95;
  }

  .profile-fv-person {
    min-height: 640px;
    margin-top: -70px;
  }

  .profile-fv-person img {
    width: min(440px, 48vw);
  }

  .career-section {
    padding: 100px 0;
  }

  .career-inner {
    width: min(100% - 32px, 1180px);
  }

  .career-title {
    font-size: 40px;
    line-height: 1.4;
  }

  .career-title::after {
    width: 68px;
    height: 5px;
    margin-top: 22px;
  }

  .career-layout {
    grid-template-columns: 1fr;
    gap: 42px;
    margin-top: 52px;
  }

  .career-highlight {
    padding: 36px 34px;
    border-radius: 24px;
  }

  .career-list li {
    font-size: 16px;
  }

  .career-text p {
    font-size: 16px;
    line-height: 2.05;
  }

  .career-list li br{
    display: none;
  }

  .history-section {
    padding: 100px 0;
  }

  .history-inner {
    width: min(100% - 32px, 1180px);
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .history-title {
    font-size: 40px;
    line-height: 1.4;
  }

  .history-title::after {
    width: 68px;
    height: 5px;
    margin-top: 22px;
  }

  .history-text {
    margin-top: 44px;
  }

  .history-text p {
    font-size: 16px;
    line-height: 2.05;
  }

  .history-visual {
    width: min(560px, 100%);
    min-height: 500px;
    margin: 0 auto;
  }

  .history-photo-main {
    width: 350px;
    height: 400px;
  }

  .history-photo-sub {
    width: 250px;
    height: 200px;
  }

    .profile-value-section {
    padding: 110px 0;
  }

  .profile-value-cards {
    gap: 20px;
    margin-top: 56px;
  }

  .profile-value-card {
    padding: 34px 22px 32px;
  }

  .profile-value-card h3 {
    font-size: 15px;
  }

  .profile-value-card p {
    font-size: 12.5px;
  }

  .message-section {
    padding: 110px 0 120px;
  }

  .message-copy {
    width: min(760px, 78%);
  }

  .message-title {
    font-size: 48px;
  }

  .message-text p {
    font-size: 16px;
    line-height: 2.15;
  }

}


/* =========================
   sp
========================= */

@media (max-width: 640px) {
  .profile-fv {
    min-height: auto;
    padding: calc(var(--header-height) + 128px) 0 64px;
  }

    .profile-fv::before {
    top: 0;
    background:
        linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.92) 0%,
        rgba(255, 255, 255, 0.82) 34%,
        rgba(255, 255, 255, 0.52) 58%,
        rgba(255, 255, 255, 0.06) 100%
        ),
        url("../images/profile-fv-bg-sp.png") no-repeat center top / cover;
    }

    .profile-fv::after {
        top: calc(var(--header-height) - 46px);
        height: 190px;
        background-image: url("../images/profile-wave-sp.svg");
        background-size: 130% 110%;
        background-position: left top;
    }

    .profile-fv-wave-label {
    top: calc(var(--header-height) + 20px);
    left: 20px;
    }

  .profile-fv-wave-en {
    font-size: 13px;
    letter-spacing: 0.16em;
  }

  .profile-fv-wave-ja {
    font-size: 22px;
    line-height: 1.3;
  }

  .profile-fv-inner {
    width: min(100% - 28px, 1180px);
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .profile-fv-person {
    position: relative;
    order: 1;
    min-height: auto;
    margin-top: 0;
    padding-top: 22px;
    overflow: hidden;
  }

  .profile-fv-person::after {
    position: absolute;
    left: -20px;
    right: -20px;
    bottom: -1px;
    z-index: 2;
    height: 150px;
    content: "";
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.72) 52%,
      rgba(255, 255, 255, 0.98) 100%
    );
    pointer-events: none;
  }

  .profile-fv-person img {
    width: min(88vw, 350px);
  }

  .profile-fv-copy {
    position: relative;
    z-index: 3;
    order: 2;
    width: 100%;
    margin-top: -130px;
    padding: 86px 0 0;
  }

  .profile-fv-copy::before {
    position: absolute;
    top: 26px;
    left: -14px;
    right: -14px;
    bottom: -24px;
    z-index: -1;
    content: "";
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.92) 0%,
      rgba(255, 255, 255, 0.78) 48%,
      rgba(255, 255, 255, 0.42) 100%
    );
    filter: blur(10px);
    border-radius: 28px;
  }

  .profile-fv-role {
    font-size: 14px;
    line-height: 1.75;
  }

  .profile-fv-name {
    margin-top: 18px;
  }

  .profile-fv-name-ja {
    font-size: 42px;
    line-height: 1.14;
  }

  .profile-fv-name-en {
    margin-top: 8px;
    font-size: 22px;
  }

  .profile-fv-lead {
    margin-top: 28px;
  }

  .profile-fv-lead p {
    font-size: 14.5px;
    line-height: 1.9;
  }

  .profile-fv-lead p + p {
    margin-top: 16px;
  }

  .career-section {
    padding: 76px 0;
  }

  .career-section::before {
    top: 34px;
    right: 18px;
    width: 76px;
    height: 76px;
    background-size: 10px 10px;
    opacity: 0.13;
  }

  .career-inner {
    width: min(100% - 28px, 1180px);
  }

  .career-title {
    font-size: 30px;
    line-height: 1.45;
  }

  .career-title::after {
    width: 58px;
    height: 4px;
    margin-top: 18px;
  }

  .career-layout {
    gap: 34px;
    margin-top: 42px;
  }

  .career-highlight {
    padding: 28px 22px;
    border-radius: 22px;
  }

  .career-list li {
    padding-left: 30px;
    font-size: 14.5px;
    line-height: 1.8;
  }

  .career-list li + li {
    margin-top: 18px;
  }

  .career-list li::before {
    width: 18px;
    height: 18px;
  }

  .career-list li::after {
    left: 6px;
    top: calc(0.45em + 6px);
    width: 7px;
    height: 5px;
  }

  .career-text p {
    font-size: 14.5px;
    line-height: 2;
  }

  .career-text p + p {
    margin-top: 22px;
  }

  .history-section {
    padding: 76px 0;
  }

  .history-section::before {
    top: 34px;
    right: 18px;
    width: 76px;
    height: 76px;
    background-size: 10px 10px;
    opacity: 0.13;
  }

  .history-inner {
    width: min(100% - 28px, 1180px);
    gap: 42px;
  }

  .history-title {
    font-size: 30px;
    line-height: 1.45;
  }

  .history-title::after {
    width: 58px;
    height: 4px;
    margin-top: 18px;
  }

  .history-text {
    margin-top: 34px;
  }

  .history-text p {
    font-size: 14.5px;
    line-height: 2;
  }

  .history-text p br {
    display: none;
  }

  .history-text p + p {
    margin-top: 24px;
  }

  .history-visual {
    min-height: 360px;
  }

  .history-visual::before {
    right: -44px;
    top: 20px;
    width: 260px;
    height: 260px;
  }

  .history-visual::after {
    left: -20px;
    bottom: 10px;
    width: 82px;
    height: 82px;
  }

  .history-photo-main {
    right: 0;
    width: 78%;
    height: 270px;
    border-radius: 24px;
  }

  .history-photo-sub {
    left: 0;
    bottom: 0;
    width: 52%;
    height: 150px;
    border-radius: 20px;
  }

  .profile-value-section {
    padding: 82px 0;
  }

  .profile-value-section::before {
    background:
      linear-gradient(
        180deg,
        rgba(245, 249, 255, 0.86) 0%,
        rgba(245, 249, 255, 0.74) 48%,
        rgba(245, 249, 255, 0.88) 100%
      ),
      url("../images/profile-value-bg.png") no-repeat center center / cover;
  }

  .profile-value-inner {
    width: min(100% - 28px, 1180px);
  }

  .profile-value-title {
    font-size: 27px;
    line-height: 1.55;
    letter-spacing: 0.04em;
  }

  .profile-value-title::after {
    width: 56px;
    margin-top: 22px;
  }

  .profile-value-cards {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 44px;
  }

  .profile-value-card {
    padding: 30px 24px;
    border-radius: 18px;
  }

  .profile-value-icon {
    width: 75px;
    height: 75px;
    margin-bottom: 22px;
  }

  .profile-value-icon img {
    width: 70px;
    height: 70px;
    }

  .message-section {
    padding: 82px 0 92px;
  }

  .message-section::before {
    background:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.96) 0%,
        rgba(255, 255, 255, 0.88) 42%,
        rgba(255, 255, 255, 0.62) 74%,
        rgba(255, 255, 255, 0.36) 100%
      ),
      url("../images/message-bg-sp.png") no-repeat center top / cover;
  }

  .message-inner {
    width: min(100% - 28px, 1180px);
  }

  .message-copy {
    width: 100%;
  }

  .message-title {
    font-size: 30px;
    line-height: 1.45;
    letter-spacing: 0.04em;
  }

  .message-title::after {
    width: 64px;
    margin-top: 18px;
  }

  .message-text {
    margin-top: 36px;
  }

  .message-text p {
    font-size: 14.5px;
    line-height: 2;
    letter-spacing: 0.02em;
  }

  .message-text p br {
    display: none;
  }

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

  .message-text p:nth-child(3) {
    margin-top: 38px;
  }
}
