  :root {
    --pink:        #D4637E;
    --pink-dark:   #B84A66;
    --pink-light:  #FDF2F5;
    --pink-gradient: #F9E4EC;
    --green:       #1A9D57;
    --green-dark:  #147A44;
    --green-light: #ECF7F1;
    --ink:         #243040;
    --sub:         #4A5568;
    --bg:          #ffffff;
    --bg-soft:     #F7F8FA;
    --line:        #E8ECF0;
    --radius:      12px;
    --fs-body:     16px;
    --fs-note:     14px;
    --fs-tag:      12px;
    --maxw:        1360px;
    --shadow-sm:   0 1px 3px rgba(0,0,0,.04), 0 1px 2px rgba(0,0,0,.06);
    --shadow-md:   0 4px 16px rgba(0,0,0,.05), 0 2px 6px rgba(0,0,0,.04);
    --shadow-lg:   0 12px 40px rgba(0,0,0,.06), 0 4px 12px rgba(0,0,0,.04);
  }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  :focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }
  html { scroll-behavior: smooth; }
  body { font-family: 'Noto Sans JP', 'Hiragino Sans', sans-serif; color: var(--ink); background: var(--bg); line-height: 1.8; font-weight: 400; text-wrap: wrap; word-break: normal; }
  .wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }

  /* =========================================================================
     社員インタビュー特設ページ（左追従目次＋本文）
     ========================================================================= */
  .iv2 { padding-bottom: 100px; }

  /* ---- HERO ---- */
  .iv2-hero { padding: 116px 0 8px; }
  .iv2-breadcrumb { font-size: var(--fs-note); color: var(--sub); margin-bottom: 28px; }
  .iv2-breadcrumb a { color: var(--sub); text-decoration: none; }
  .iv2-breadcrumb a:hover { color: var(--ink); }
  .iv2-breadcrumb span { margin: 0 6px; }
  .iv2-hero-inner { display: flex; flex-direction: column; gap: 40px; }
  .iv2-hero-photo { min-width: 0; max-width: 960px; margin: 0 auto; }
  .iv2-hero-photo img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; object-position: center center; border-radius: 16px; display: block; border: 1px solid var(--line); }
  .iv2-hero-bottom { display: grid; grid-template-columns: 1fr 300px; gap: 44px; align-items: end; }
  .iv2-hero-text { min-width: 0; }
  .iv2-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--pink-dark); margin-bottom: 20px; }
  .iv2-title { margin-bottom: 0; }
  .iv2-title-handwriting { width: clamp(340px, 32vw, 600px); height: auto; display: block; }
  .iv2-profile { border-left: 3px solid var(--pink); padding-left: 18px; }
  .iv2-name { font-size: 20px; font-weight: 700; color: var(--ink); line-height: 1.4; }
  .iv2-name .en { font-size: 13px; font-weight: 500; color: var(--sub); margin-left: 10px; letter-spacing: .06em; }
  .iv2-role { font-size: 14px; font-weight: 500; color: var(--ink); margin-top: 6px; }
  .iv2-dept { font-size: 13px; color: var(--sub); margin-top: 4px; line-height: 1.7; }
  .iv2-join { font-size: var(--fs-note); color: var(--sub); margin-top: 6px; letter-spacing: .02em; }

  /* ---- LAYOUT: sticky TOC + content ---- */
  .iv2-layout { display: grid; grid-template-columns: 232px 1fr; gap: 64px; align-items: start; margin-top: 48px; }

  /* ---- TOC（左・追従） ---- */
  .iv2-toc { position: sticky; top: 104px; }
  .iv2-toc-title { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--pink-dark); padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
  .iv2-toc-nav { display: flex; flex-direction: column; }
  .iv2-toc-link { display: block; font-size: 13px; line-height: 1.6; color: var(--sub); text-decoration: none; padding: 9px 0 9px 18px; position: relative; transition: color .2s; }
  .iv2-toc-link::before { content: ""; position: absolute; left: 2px; top: 50%; transform: translateY(-50%); width: 5px; height: 5px; border-radius: 50%; background: var(--pink); }
  .iv2-toc-link:hover { color: var(--ink); }
  .iv2-toc-link.active { color: var(--pink-dark); font-weight: 700; }

  /* ---- CONTENT ---- */
  .iv2-content { min-width: 0; max-width: 960px; }
  .iv2-lead { font-size: var(--fs-body); line-height: 2; color: var(--sub); padding-bottom: 40px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }

  /* ---- My Career ---- */
  .iv2-career { margin-top: 36px; }
  .iv2-career .iv2-eyebrow { margin-bottom: 14px; }
  .iv2-career-list { border-top: 1px solid var(--line); }
  .iv2-career-list li { display: grid; grid-template-columns: 88px 1fr; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); }
  .iv2-career-list .yr { font-size: 13px; font-weight: 700; color: var(--pink-dark); letter-spacing: .04em; }
  .iv2-career-list p { font-size: var(--fs-body); line-height: 1.8; color: var(--ink); }

  /* WPテーマ共通の style.css にある汎用 section { padding: 120px 0; } が
     下パディングを持ち込んでしまうため、padding-bottom を明示的に打ち消す */
  .iv2-section { scroll-margin-top: 104px; padding-top: 40px; padding-bottom: 0; }
  .iv2-section:first-of-type { padding-top: 0; margin-top: 0; }
  .iv2-ch-num { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pink); margin-bottom: 10px; }
  .iv2-ch-title { font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; line-height: 1.5; letter-spacing: -.01em; color: var(--ink); margin-bottom: 8px; }
  .iv2-qa { margin-top: 28px; }
  .iv2-qa + .iv2-qa { margin-top: 40px; }
  .iv2-qa + .iv2-split { margin-top: 60px; }
  #ch04 .iv2-qa + .iv2-qa { margin-top: 24px; }
  .iv2-q { font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.75; padding-left: 20px; border-left: 3px solid var(--pink); margin-bottom: 18px; }
  #ch04 .iv2-q { margin-bottom: 4px; }
  .iv2-a p { font-size: var(--fs-body); line-height: 2.05; color: var(--ink); text-align: justify; text-align-last: left; word-break: break-all; }
  .iv2-a p + p { margin-top: 18px; }

  /* ---- 本文中の写真 ---- */
  .iv2-photo { margin: 36px 0 8px; }
  .iv2-photo img { width: 100%; height: auto; border-radius: 14px; display: block; box-shadow: var(--shadow-sm); }
  .iv2-photo.is-portrait { max-width: 460px; margin-left: auto; margin-right: auto; }
  .iv2-photo figcaption { font-size: var(--fs-note); color: var(--sub); margin-top: 10px; text-align: center; }

  /* ---- 2カラム（テキスト＋写真の左右配置） ---- */
  .iv2-split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: stretch; margin-top: 28px; }
  .iv2-split-text { min-width: 0; }
  .iv2-split-text .iv2-qa { margin-top: 0; }
  .iv2-split-photo { margin: 0; display: block; }
  /* 写真はテキスト側の高さいっぱいに伸ばし、下の空白をなくす */
  .iv2-split-photo img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; object-position: center; border-radius: 14px; display: block; box-shadow: var(--shadow-sm); }
  .flip-image img { transform: scaleX(-1) !important; }
  .iv2-split.is-photo-left .iv2-split-photo { order: -1; }
  @media (max-width: 1200px) {
    /* タブレット以下：2カラムを解除し、テキストの下に写真を配置（1カラム化） */
    .iv2-split { grid-template-columns: 1fr; gap: 20px; }
    .iv2-split-photo img { height: auto; min-height: 0; aspect-ratio: 16 / 10; max-height: 60vh; }
    .iv2-split.is-photo-left .iv2-split-photo { order: 0; }
  }

  /* ---- PULL QUOTE ---- */
  .iv2-pull { margin: 52px 0 8px; padding: 32px 36px; background: #2A3544; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 16px; text-align: center; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.5), 0 0 0 4px #2A3544, 0 0 0 6px rgba(255, 255, 255, 0.5), 0 8px 32px rgba(0, 0, 0, 0.08); }
  .iv2-pull p { font-size: var(--fs-body); font-weight: 700; line-height: 1.85; color: #ffffff; }
  .iv2-pull cite { display: block; font-style: normal; font-size: 13px; font-weight: 500; color: #ffffff; margin-top: 14px; }
  .iv2-pull-frosted { background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 8px 32px rgba(0, 0, 0, 0.08); }
  .iv2-pull-frosted p { color: var(--pink); }

  /* ---- CTA ---- */
  .iv2-cta { margin-top: 56px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; font-size: var(--fs-note); color: var(--sub); line-height: 1.9; }
  .iv2-cta a { color: var(--pink); text-decoration: none; }
  .iv2-cta a:hover { text-decoration: underline; }

  /* ---- Next Contents（採用導線カード） ---- */
  .iv2-next { margin-top: 56px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 16px; padding: 28px 32px; }
  .iv2-next .lbl { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--pink-dark); }
  .iv2-next h3 { font-size: 19px; font-weight: 700; color: var(--ink); line-height: 1.55; margin-top: 6px; }
  .iv2-next-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--pink); color: #fff; text-decoration: none; font-size: 14px; font-weight: 700; padding: 14px 28px; border-radius: 9999px; white-space: nowrap; box-shadow: 0 4px 16px rgba(212,99,126,.2); transition: all .3s cubic-bezier(.4,0,.2,1); }
  .iv2-next-btn:hover { background: var(--pink-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(212,99,126,.3); }
  .iv2-next-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
  @media (max-width: 900px) { .iv2-next { grid-template-columns: 1fr; gap: 18px; padding: 24px; } }

  /* ---- FOOT ---- */
  .iv2-foot { margin-top: 72px; }
  .iv2-back { display: inline-flex; align-items: center; gap: 10px; background: transparent; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; padding: 14px 30px; border-radius: 9999px; border: 1.5px solid var(--line); transition: all .3s cubic-bezier(.4,0,.2,1); }
  .iv2-back:hover { border-color: var(--pink); color: var(--pink); transform: translateY(-2px); box-shadow: var(--shadow-md); }
  .iv2-back svg { width: 16px; height: 16px; }

  /* ---- SCHEDULE（横タイムライン） ---- */
  /* コンテナクエリの基準にして、枠自体の幅で横／縦レイアウトを切り替える */
  .iv-day { margin-top: 28px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px 28px 20px; box-shadow: var(--shadow-sm); container-type: inline-size; container-name: schedule; }
  .iv-day .iv-day-title { font-size: 24px; font-weight: 700; color: var(--pink); opacity: .5; line-height: 1.2; letter-spacing: .01em; text-align: left; margin: 0 0 2px; }
  .iv-day .iv-day-sub { font-size: 13px; color: var(--sub); margin-bottom: 4px; }
  .iv-day-scroll { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; padding: 6px 0 22px; }
  .iv-day-track { position: relative; height: 356px; min-width: 860px; }
  .iv-day-bar { position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-50%); height: 2px; background: var(--line); border-radius: 9999px; }
  .iv-day-time { display: none; }
  .iv-day-event { position: absolute; top: 0; bottom: 0; width: 0; }
  .iv-day-node { position: absolute; top: 50%; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--pink); border: 2px solid #fff; box-shadow: 0 0 0 3px var(--pink-light); transform: translate(-50%, -50%); }
  .iv-day-event::before { content: ''; position: absolute; left: 0; width: 2px; height: 32px; transform: translateX(-50%); background: var(--line); }
  .iv-day-event.is-up::before { bottom: 50%; }
  .iv-day-event.is-down::before { top: 50%; }
  .iv-day-event::after { content: attr(data-time); position: absolute; left: 0; transform: translateX(-50%); font-size: 13px; font-weight: 700; color: var(--sub); white-space: nowrap; }
  .iv-day-event.is-up::after { top: calc(50% + 14px); }
  .iv-day-event.is-down::after { bottom: calc(50% + 14px); }
  .iv-day-event.is-end::after { left: auto; right: 0; transform: none; }
  .iv-day-card { position: absolute; left: 0; width: 140px; }
  .iv-day-event.is-up .iv-day-card { bottom: calc(50% + 44px); }
  .iv-day-event.is-down .iv-day-card { top: calc(50% + 44px); }
  .iv-day-event.is-end .iv-day-card { left: 0; right: auto; text-align: left; }
  .iv-day-card h4 { font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.5; margin-bottom: 6px; }
  .iv-day-card p { font-size: var(--fs-note); color: var(--sub); line-height: 1.7; }

  /* =========================================================================
     社員インタビュー 一覧（特設トップ）
     ========================================================================= */
  .iv-index-hero { padding: 116px 0 8px; }
  .iv-index-hero .breadcrumb { font-size: var(--fs-note); color: var(--sub); margin-bottom: 24px; }
  .iv-index-hero .breadcrumb a { color: var(--sub); text-decoration: none; }
  .iv-index-hero .breadcrumb a:hover { color: var(--ink); }
  .iv-index-hero .breadcrumb span { margin: 0 6px; }
  .iv-index-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--pink-dark); margin-bottom: 16px; }
  .iv-index-hero h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 700; line-height: 1.35; letter-spacing: -.02em; }
  .iv-index-hero .sub { font-size: var(--fs-body); color: var(--sub); line-height: 1.9; margin-top: 16px; max-width: 640px; }
  .iv-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; padding-bottom: 100px; }
  .iv-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--shadow-sm); transition: transform .35s cubic-bezier(.4,0,.2,1), box-shadow .35s cubic-bezier(.4,0,.2,1); }
  .iv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
  .iv-card-photo { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-soft); }
  .iv-card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.4,0,.2,1); }
  .iv-card:hover .iv-card-photo img { transform: scale(1.04); }
  .iv-card-body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
  .iv-card-catch { font-size: 17px; font-weight: 700; line-height: 1.6; color: var(--ink); letter-spacing: -.01em; }
  .iv-card-name { margin-top: auto; padding-top: 18px; font-size: 14px; font-weight: 700; color: var(--ink); }
  .iv-card-role { font-size: var(--fs-note); color: var(--sub); margin-top: 4px; line-height: 1.6; }

  /* =========================================================================
     RESPONSIVE
     ========================================================================= */
  @media (max-width: 900px) {
    .wrap { padding: 0 20px; }
    .iv2-hero { padding: 88px 0 4px; }
    .iv2-hero-inner { gap: 28px; }
    .iv2-hero-photo img { aspect-ratio: auto; object-fit: contain; }
    .iv2-hero-bottom { grid-template-columns: 1fr; gap: 20px; align-items: start; }
    .iv2-title-handwriting { width: clamp(240px, 70vw, 400px); }
    .iv2-layout { grid-template-columns: 1fr; gap: 8px; margin-top: 32px; }
    /* 目次はモバイルでは本文上部に固定せず、折りたたみ風の静的ブロックに */
    .iv2-toc { position: static; margin-bottom: 8px; padding: 16px 18px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; }
    .iv2-toc-nav { display: flex; flex-direction: column; gap: 0; }
    .iv2-toc-link { border-left: none; padding: 7px 0 7px 18px; position: relative; }
    .iv2-toc-link::before { content: ""; position: absolute; left: 2px; top: 50%; transform: translateY(-50%); width: 5px; height: 5px; border-radius: 50%; background: var(--pink); }
    /* タブレット・SPではアクティブ項目もピンクにせず他と同じ見た目にする */
    .iv2-toc-link.active { border-left: none; color: var(--sub); font-weight: 400; }
    .iv2-content { max-width: none; }
    .iv2-index-hero { padding: 84px 0 4px; }
    .iv-cards { grid-template-columns: 1fr; gap: 20px; }
    .iv-day { padding: 22px 20px 24px; }
  }
  @media (min-width: 901px) and (max-width: 1080px) {
    .iv-cards { grid-template-columns: repeat(2, 1fr); }
  }
  /* タイムラインの枠自体が横並びに足りない幅になったら、見切れない縦並びに切り替える
     （ウィンドウ幅ではなく枠自身の幅で判定＝サイドバーの有無に関わらず文字が切れない） */
  @container schedule (max-width: 880px) {
  .iv-day-scroll { overflow: visible; padding: 6px 0 0; }
  .iv-day-track { min-width: 0; height: auto; padding-left: 84px; }
  .iv-day-bar { display: none; }
  .iv-day-time { display: none; }
  .iv-day-event { position: relative; top: auto; bottom: auto; left: auto !important; width: auto; padding: 0 0 24px 24px; }
  .iv-day-event:last-child { padding-bottom: 0; }
  /* 左に通しの縦ライン（ノード中心から次のイベントまで繋げる） */
  .iv-day-event::before,
  .iv-day-event.is-up::before,
  .iv-day-event.is-down::before { content: ''; position: absolute; left: 6px; top: 6px; width: 2px; height: 100%; transform: none; background: var(--line); }
  .iv-day-event:last-child::before { display: none; }
  /* ノードは左ライン上に配置 */
  .iv-day-event .iv-day-node,
  .iv-day-event.is-up .iv-day-node,
  .iv-day-event.is-down .iv-day-node { top: 6px; left: 6px; transform: translate(-50%, 0); }
  /* 時刻をノードの左側に表示（is-up/is-down/最後の項目も同じ位置に揃える） */
  .iv-day-event::after,
  .iv-day-event.is-up::after,
  .iv-day-event.is-down::after,
  .iv-day-event.is-end::after { content: attr(data-time); position: absolute; left: -78px; right: auto; top: -2px; bottom: auto; width: 62px; text-align: right; transform: none; font-size: 13px; font-weight: 700; color: var(--sub); }
  /* カードはインラインで全幅、絶対配置を解除 */
  .iv-day-card,
  .iv-day-event.is-up .iv-day-card,
  .iv-day-event.is-down .iv-day-card,
  .iv-day-event.is-end .iv-day-card { position: static; left: auto; right: auto; top: auto; bottom: auto; width: auto; text-align: left; }
  }
