/* ==========================================================
   住友生命 キャリアステップモデル紹介LP
   Figma確定スペック準拠 (2026-03-17)
   ========================================================== */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colors — Figma確定値 */
  --color-red: #e51623;
  --color-pink-btn: #fe7a9d;
  --color-black: #000000;
  --color-note: #363636;
  --color-white: #ffffff;
  --color-eng-name: rgba(229, 22, 35, 0.1);
  --color-btn-shadow: rgba(0, 0, 0, 0.25);

  /* Typography — Figma確定値 */
  --font-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-mincho: "Sawarabi Mincho", serif;
  --font-name: "Zen Old Mincho", serif;

  /* Layout */
  --content-width: 1100px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-black);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---------- Utility: Fade In ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in--delay-1 { transition-delay: 0.1s; }
.fade-in--delay-2 { transition-delay: 0.2s; }

/* ---------- Utility: SP Only ---------- */
.sp-only {
  display: none;
}

/* ---------- Header ---------- */
.header {
  position: relative;
  width: 100%;
  z-index: 100;
  height: 100px;
  display: flex;
  align-items: center;
  padding: 0 85px;
  background: #fff;
}

.header__inner {
  width: 100%;
}

.header__logo img {
  display: block;
  height: 60px;
  width: auto;
}

/* ---------- MV ---------- */
.mv {
  position: relative;
  width: 100%;
  height: 700px;
  overflow: hidden;
}

.mv__slide {
  position: absolute;
  inset: 0;
}

.mv__slide-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.mv__slide-item.is-active {
  opacity: 1;
}

.mv__slide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.mv__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  height: 100%;
  padding-left: 77px;
}

.mv__catch {
  font-size: 45px;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 6px;
  color: var(--color-white);
  text-shadow: 0 0 10px black, 0 0 30px white;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.mv__catch.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.mv__underline {
  position: relative;
  z-index: -1;
  margin-top: -36px;
  width: 722px;
}

.mv__underline svg {
  width: 100%;
  height: auto;
  display: block;
}

.mv-underline-path {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.8s ease-out;
}

.mv__underline.is-visible .mv-underline-path {
  clip-path: inset(0 0 0 0);
}

.mv__cta {
  position: absolute;
  bottom: 95px;
  left: 50%;
  transform: translateX(-50%) translateY(24px);
  z-index: 2;
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.mv__cta.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.mv__cta.is-visible:hover {
  transform: translateX(-50%) translateY(-2px);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 40px;
  font-weight: 400;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease,
              border-color 0.3s ease, transform 0.25s ease,
              box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn__icon svg {
  display: block;
}

/* Dark (MV CTA) */
.btn--dark {
  width: 500px;
  height: 70px;
  padding: 14px 44px;
  background: var(--color-black);
  color: var(--color-white);
  border: 2px solid var(--color-black);
  font-size: 20px;
  font-weight: 300;
  box-shadow: 0 4px 4px var(--color-btn-shadow);
}

.btn--dark:hover {
  background: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-black);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

/* Pink (人物CTA) */
.btn--pink {
  width: 500px;
  height: 70px;
  padding: 14px 44px;
  background: var(--color-pink-btn);
  color: var(--color-white);
  border: 2px solid var(--color-pink-btn);
  font-size: 24px;
  font-weight: 400;
  box-shadow: 0 4px 4px var(--color-btn-shadow);
}

.btn--pink:hover {
  background: var(--color-white);
  color: var(--color-pink-btn);
  border-color: var(--color-pink-btn);
  box-shadow: 0 6px 16px rgba(254, 122, 157, 0.25);
}

/* ---------- INTERVIEW MOVIE Section ---------- */
.interview {
  position: relative;
  padding: 120px 120px 70px;
  overflow: hidden;
}

.interview__heading {
  text-align: center;
  margin-bottom: 70px;
}

.interview__title {
  font-family: var(--font-base);
  font-size: 48px;
  font-weight: 350;
  letter-spacing: 0.02em;
}

.interview__subtitle {
  font-size: 20px;
  font-weight: 300;
  margin-top: 30px;
  line-height: 1.8;
}

/* ---------- Background Circle Decoration ---------- */
.bg-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(242, 182, 204, 0.55);
  pointer-events: none;
  z-index: 0;
}

/* 小丸（大丸の右下に配置） */
.bg-circle::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(242, 182, 204, 0.55);
  width: 30px;
  height: 30px;
  bottom: -10px;
  left: -20px;
}

/* 左写真の丸: 左上 */
.bg-circle--1,
.bg-circle--3 {
  width: 90px;
  height: 90px;
  left: -30px;
  top: -30px;
}

/* 右写真の丸: 右上 */
.bg-circle--2 {
  width: 90px;
  height: 90px;
  right: -30px;
  top: -30px;
}

/* ---------- Wave Decoration ---------- */
.wave-decoration {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.wave-decoration svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Fill paths — clip-path reveal left→right */
.wave-fill {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.5s ease-out;
}

.wave-decoration.is-visible .wave-fill {
  clip-path: inset(0 0 0 0);
}

/* Stroke paths — line drawing effect */
.wave-stroke {
  stroke-dasharray: var(--path-length);
  stroke-dashoffset: var(--path-length);
  transition: stroke-dashoffset 2s ease-out 0.3s;
}

.wave-decoration.is-visible .wave-stroke {
  stroke-dashoffset: 0;
}

.wave-decoration--1 {
  width: max(774px, 55%);
  right: 0;
  top: 450px;
}

.wave-decoration--2 {
  width: max(774px, 55%);
  left: 0;
  top: 988px;
}

.wave-decoration--3 {
  width: max(774px, 55%);
  right: 0;
  top: 1620px;
}

/* ---------- Person Block ---------- */
.person {
  position: relative;
  z-index: 1;
  margin-bottom: 120px;
}

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

.person__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: var(--content-width);
  margin: 0 auto;
}

/* 画像・テキスト横並びエリア */
.person__inner > .person__photo,
.person__inner > .person__text {
  /* flexで横並びにするために、innerに直接のflex-directionではなく
     写真+テキスト部分をラップする必要がある。
     →以下の .person__row で対応 */
}

/* 実際のレイアウト: 写真とテキストは横並び、ボタンは下に中央配置 */
.person__inner {
  display: grid;
  grid-template-columns: 500px 1fr;
  grid-template-rows: auto auto;
  gap: 30px 97px;
}

.person--img-right .person__inner {
  grid-template-columns: 1fr 500px;
}

/* 写真 */
.person__photo {
  grid-row: 1;
  position: relative;
  overflow: visible;
  height: 350px;
}

.person--img-left .person__photo {
  grid-column: 1;
}

.person--img-right .person__photo {
  grid-column: 2;
}

.person__photo-slide {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.person__photo-slide picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.person__photo-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.person__photo-slide img.is-active {
  opacity: 1;
}

/* テキスト */
.person__text {
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
}

.person--img-left .person__text {
  grid-column: 2;
}

.person--img-right .person__text {
  grid-column: 1;
}

.person__dept {
  font-family: var(--font-mincho);
  font-size: 20px;
  font-weight: 400;
  line-height: 40px;
  color: var(--color-red);
  margin-bottom: 30px;
}

.person__dept-mark {
  margin-right: 2px;
}

.person__dept-indent {
  padding-left: 1.2em;
}

.person__name {
  font-family: var(--font-name);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0;
}

.person__name-kana {
  font-size: 18px;
  font-weight: 600;
}

.person__eng-name {
  display: block;
  font-family: var(--font-name);
  font-size: 36px;
  font-weight: 400;
  color: var(--color-eng-name);
  line-height: 1.4;
  margin-bottom: 20px;
  pointer-events: none;
  user-select: none;
}

.person__body {
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
  color: var(--color-black);
}

/* ボタン（グリッド2列にまたがって中央） */
.person__cta {
  grid-column: 1 / -1;
  grid-row: 2;
  text-align: center;
}

/* ---------- Notice ---------- */
.notice {
  padding: 0 120px 120px;
}

.notice__text {
  text-align: center;
  font-size: 16px;
  font-weight: 300;
  color: var(--color-note);
}

/* ---------- Modal ---------- */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal[aria-hidden="false"] {
  display: flex;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.modal__content {
  position: relative;
  width: 90%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}

.modal__close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
}

.modal__video {
  width: 100%;
  height: 100%;
}

.modal__video video,
.modal__video iframe {
  width: 100%;
  height: 100%;
  border: none;
  object-fit: contain;
  background: #000;
}

/* ==========================================================
   Responsive — Tablet (769px–1200px)
   ========================================================== */
@media (max-width: 1200px) and (min-width: 769px) {

  /* Header */
  .header {
    padding: 0 40px;
  }

  /* MV */
  .mv__content {
    padding-left: 40px;
    padding-right: 40px;
  }

  /* Interview Section */
  .interview {
    padding: 120px 40px 70px;
  }

  /* Person Block — shrink photo & gap */
  .person__inner {
    grid-template-columns: 350px 1fr;
    gap: 30px 40px;
  }

  .person--img-right .person__inner {
    grid-template-columns: 1fr 350px;
  }

  .person__photo {
    height: 300px;
  }

  /* Buttons — fluid width */
  .btn--dark,
  .btn--pink {
    width: 100%;
    max-width: 500px;
  }

  /* Notice */
  .notice {
    padding: 0 40px 120px;
  }
}

/* ==========================================================
   Responsive — SP (max-width: 768px)
   ========================================================== */
@media (max-width: 768px) {

  /* Header */
  .header {
    height: 70px;
    padding: 0 25px;
  }

  .header__logo img {
    height: 50px;
  }

  /* MV */
  .mv {
    height: 450px;
  }

  .mv__content {
    padding-left: 25px;
    padding-right: 25px;
  }

  .mv__catch {
    font-size: 24px;
    letter-spacing: 3.2px;
    text-shadow: 0 0 15px black, 0 0 5px rgba(255, 255, 255, 0.3);
  }

  .mv__underline {
    width: 233px;
    margin-top: -25px;
  }

  .mv__cta {
    bottom: 50px;
  }

  /* MV CTA */
  .btn--dark {
    width: 315px;
    height: 65px;
    padding: 14px 20px;
    font-size: 16px;
  }

  /* Interview Section */
  .interview {
    padding: 70px 0 50px;
  }

  .interview__heading {
    margin-bottom: 50px;
    padding: 0 25px;
  }

  .interview__title {
    font-size: 28px;
  }

  .interview__subtitle {
    font-size: 16px;
    letter-spacing: -0.8px;
  }

  /* Utility: SP Only */
  .sp-only {
    display: inline;
  }

  /* Background Circles — SP */
  .bg-circle--1 {
    width: 46px;
    height: 50px;
    left: -10px;
    top: -15px;
  }

  .bg-circle--2 {
    width: 46px;
    height: 50px;
    right: -10px;
    left: auto;
    top: -15px;
  }

  .bg-circle--3 {
    width: 46px;
    height: 50px;
    left: -10px;
    top: -15px;
  }

  .bg-circle::after {
    width: 18px;
    height: 18px;
  }

  /* Wave — SP */
  .wave-decoration--1,
  .wave-decoration--2,
  .wave-decoration--3 {
    width: 170%;
    left: -35%;
    right: auto;
  }

  .wave-decoration--1 { top: 514px; }
  .wave-decoration--2 { top: 1178px; }
  .wave-decoration--3 { top: 1904px; }

  /* Person Block — SP: stacked */
  .person {
    margin-bottom: 70px;
  }

  .person__inner,
  .person--img-right .person__inner {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: calc(100% - 50px);
  }

  .person__photo,
  .person--img-left .person__photo,
  .person--img-right .person__photo {
    grid-column: 1;
    grid-row: 1;
    height: 200px;
  }

  .person__text,
  .person--img-left .person__text,
  .person--img-right .person__text {
    grid-column: 1;
    grid-row: 2;
  }

  .person__cta {
    grid-column: 1;
    grid-row: 3;
  }

  .person__dept {
    font-size: 16px;
    line-height: 30px;
  }

  .person__name {
    font-size: 28px;
  }

  .person__name-kana {
    font-size: 16px;
  }

  .person__eng-name {
    font-size: 24px;
    margin-bottom: 25px;
  }

  /* Person Button — SP */
  .btn--pink {
    width: 100%;
    height: 65px;
    padding: 10px 24px;
    font-size: 15px;
    white-space: nowrap;
    line-height: 1;
  }

  .btn--pink .btn__icon svg {
    width: 30px;
    height: 30px;
  }

  /* Notice — SP */
  .notice {
    padding: 0 25px 50px;
  }

  .notice__text {
    text-align: left;
  }

}
