/* =========================================================
  page-team.css
  - TEAMページ専用（事故防止のため必ずスコープ）
  - team/index.php / team/*/（プロフィール）双方で使用
========================================================= */

/* =========================================================
  TEAM: Theme override（このページだけトーン調整）
  - common.css の :root を壊さず、TEAMのみ上書き
========================================================= */
body.page.page-team{
  --emerald:#2f7f6f;
  --emerald-0:#43a08e;
  --emerald-1:#2f7f6f;
  --emerald-2:#1f6b5c;
  --emerald-3:#165e52;

  --accent:#f4b740;
  --accent-soft:rgba(244,183,64,.16);

  --line:rgba(0,0,0,.07);
  --shadow-soft:0 12px 28px rgba(0,0,0,.06);
  --shadow:0 18px 44px rgba(0,0,0,.08);
}

/* Serif見出し */
body.page.page-team .hero-title,
body.page.page-team .section-head .jp,
body.page.page-team .concept-title{
  font-family:"Noto Serif JP", serif;
}

/* リンク下線事故防止（TEAM範囲のみ） */
body.page.page-team a,
body.page.page-team a *{
  text-decoration:none !important;
}

/* pages.css の紙感が強い場合、少し軽く */
body.page.page-team .section--paper::after{
  opacity:.38 !important;
}

/* =========================================================
  Buttons / Header CTA（TEAM用に少し鮮やか）
========================================================= */
body.page.page-team .btn--primary{
  background:linear-gradient(180deg, rgba(67,160,142,.96), rgba(47,127,111,.96));
  border-color:rgba(0,0,0,.10);
  box-shadow:0 14px 30px rgba(0,0,0,.08);
}
body.page.page-team .btn--primary:hover{
  filter:saturate(1.04) brightness(1.02);
  transform:translateY(-1px);
}
body.page.page-team .btn--ghost{
  border-color:rgba(47,127,111,.18);
  background:rgba(255,255,255,.80);
}
body.page.page-team .btn--ghost:hover{
  background:rgba(47,127,111,.06);
  border-color:rgba(47,127,111,.28);
}

body.page.page-team .header-cta{
  background:rgba(255,255,255,.94);
  border-color:rgba(47,127,111,.26);
  box-shadow:0 12px 26px rgba(0,0,0,.06);
}
body.page.page-team .header-cta .dot{ background:var(--accent); }

/* 見出しのcap周り */
body.page.page-team .section-head .en .cap{
  border:1px solid rgba(47,127,111,.18);
  background:rgba(47,127,111,.06);
}
body.page.page-team .section-head .en::before,
body.page.page-team .section-head .en::after{
  background:rgba(47,127,111,.28);
}

/* =========================================================
  HERO shared（/team/ と /team/*/ で共通に使う）
========================================================= */

/* HERO: 1カラム寄せ（hero-grid が2カラム前提の時の保険） */
body.page.page-team .hero .hero-inner .hero-grid{ display:block; }
body.page.page-team .hero .hero-copy{ max-width:860px; }

/* ヒーロータグ */
body.page.page-team .hero-tag{
  color:rgba(17,17,17,.82);
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(47,127,111,.18);
  background:rgba(255,255,255,.78);
  box-shadow:0 10px 22px rgba(0,0,0,.04);
}
body.page.page-team .hero-tag::before{
  content:"";
  width:8px; height:8px;
  border-radius:999px;
  background:var(--accent);
  box-shadow:0 10px 22px rgba(0,0,0,.06);
}

/* HERO points（カード型） */
body.page.page-team .hero-points{
  list-style:none;
  padding:0;
  margin:14px 0 0;
  display:grid;
  gap:10px;
  max-width:72ch;
}
body.page.page-team .hero-points li{
  display:grid;
  grid-template-columns:22px 1fr;
  gap:10px;
  align-items:start;
  padding:12px 12px;
  border-radius:18px;
  border:1px solid rgba(0,0,0,.08);
  background:rgba(255,255,255,.86);
  box-shadow:0 10px 22px rgba(0,0,0,.04);
  color:rgba(17,17,17,.74);
  line-height:1.85;
}
body.page.page-team .hero-points li::before{
  content:"";
  width:18px; height:18px;
  margin-top:2px;
  border-radius:999px;
  border:1px solid rgba(47,127,111,.22);
  background:
    radial-gradient(circle at 35% 35%, rgba(255,255,255,.92), rgba(255,255,255,0) 55%),
    rgba(67,160,142,.16);
  box-shadow:0 8px 16px rgba(0,0,0,.05);
}

/* mini-panel（一覧・プロフィール共通導線） */
body.page.page-team .mini-panel{
  margin-top:16px;
  border-radius:22px;
  border:1px solid rgba(0,0,0,.08);
  background:rgba(255,255,255,.86);
  box-shadow:var(--shadow-soft);
  padding:14px 14px 12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
body.page.page-team .mini-left{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}
body.page.page-team .mini-k{
  margin:0;
  font-size:12px;
  font-weight:600;
  color:rgba(17,17,17,.80);
}
body.page.page-team .mini-d{
  margin:0;
  font-size:12.5px;
  color:rgba(17,17,17,.66);
}
body.page.page-team .mini-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

/* =========================================================
  filter-panel（一覧のみ想定）
========================================================= */
body.page.page-team .filter-panel{
  margin-top:14px;
  border-radius:22px;
  border:1px solid rgba(0,0,0,.08);
  background:rgba(255,255,255,.86);
  box-shadow:var(--shadow-soft);
  padding:14px 14px 12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
body.page.page-team .filter-left{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
body.page.page-team .filter-k{
  margin:0;
  font-size:12px;
  font-weight:600;
  color:rgba(17,17,17,.78);
}
body.page.page-team .filter-chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
body.page.page-team .fchip{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(47,127,111,.18);
  background:rgba(255,255,255,.82);
  font-size:12.5px;
  color:rgba(17,17,17,.70);
  letter-spacing:.03em;
  cursor:pointer;
  user-select:none;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
body.page.page-team .fchip::before{
  content:"";
  width:8px; height:8px;
  border-radius:999px;
  background:rgba(47,127,111,.50);
  margin-right:8px;
}
body.page.page-team .fchip:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 18px rgba(0,0,0,.06);
  background:rgba(47,127,111,.06);
  border-color:rgba(47,127,111,.26);
}
body.page.page-team .fchip.is-active{
  background:rgba(67,160,142,.14);
  border-color:rgba(47,127,111,.30);
  color:rgba(17,17,17,.78);
  box-shadow:0 12px 24px rgba(0,0,0,.06);
}
body.page.page-team .fchip.is-active::before{ background:var(--accent); }

body.page.page-team .filter-right{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
body.page.page-team .filter-count{
  font-size:12.5px;
  color:rgba(17,17,17,.65);
}
body.page.page-team .filter-reset{
  border:1px solid rgba(0,0,0,.10);
  background:rgba(255,255,255,.92);
  color:rgba(17,17,17,.70);
  border-radius:999px;
  padding:8px 12px;
  font-size:12.5px;
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease;
}
body.page.page-team .filter-reset:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 18px rgba(0,0,0,.06);
}

/* =========================================================
  SPECIALISTS grid（一覧カード：縦型）
  ※ここは「1回だけ」定義（重複事故防止）
========================================================= */
body.page.page-team .specialists-grid{
  margin-top:16px;
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
}

/* 3カラム（PC） */
@media (min-width:980px){
  body.page.page-team .specialists-grid{
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:18px 22px;
  }
}

/* 2カラム（中間：タブレット〜小さめPC） */
@media (min-width:820px) and (max-width:979.98px){
  body.page.page-team .specialists-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:18px 22px;
  }
}

body.page.page-team .sp-card{
  border-radius:26px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 14px 30px rgba(0,0,0,.06);
  background:rgba(255,255,255,.92);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
body.page.page-team .sp-card:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 42px rgba(0,0,0,.10);
  border-color:rgba(47,127,111,.18);
}
body.page.page-team .sp-card.is-soon{
  cursor:default;
  opacity:.95;
  background:rgba(255,255,255,.88);
}
body.page.page-team .sp-card.is-soon:hover{
  transform:none;
  box-shadow:0 14px 30px rgba(0,0,0,.06);
  border-color:rgba(0,0,0,.08);
}

body.page.page-team .sp-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  aspect-ratio:16 / 10;
  display:block;
}
@media (min-width:820px){
  body.page.page-team .sp-photo img{ aspect-ratio:16 / 9; }
}

body.page.page-team .sp-body{ padding:14px 14px 12px; }
body.page.page-team .sp-field{
  margin:0 0 6px;
  letter-spacing:.16em;
  font-size:11.5px;
  color:rgba(47,127,111,.96);
}
body.page.page-team .sp-name{
  margin:0 0 4px;
  font-size:18px;
  letter-spacing:.02em;
  color:rgba(17,17,17,.92);
}
body.page.page-team .sp-role{
  margin:0 0 10px;
  font-size:13.5px;
  color:rgba(17,17,17,.68);
  line-height:1.7;
}

/* 業務分野ラベル */
body.page.page-team .sp-biz{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0 0 10px;
  flex-wrap:wrap;
}
body.page.page-team .biz{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.10);
  background:rgba(255,255,255,.90);
  font-size:12px;
  color:rgba(17,17,17,.72);
  letter-spacing:.02em;
  box-shadow:0 10px 22px rgba(0,0,0,.03);
}
body.page.page-team .biz::before{
  content:"";
  width:8px; height:8px;
  border-radius:999px;
  background:rgba(47,127,111,.70);
  flex:0 0 auto;
}
body.page.page-team .biz.is-labor::before{ background:#2da44e; }
body.page.page-team .biz.is-tax::before{ background:#1f6feb; }
body.page.page-team .biz.is-it::before{ background:#06b6d4; }
body.page.page-team .biz.is-design::before{ background:#8b5cf6; }
body.page.page-team .biz.is-coord::before{ background:#0f766e; }

body.page.page-team .sp-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:10px;
}
body.page.page-team .tag{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.10);
  background:rgba(255,255,255,.90);
  font-size:12px;
  color:rgba(17,17,17,.70);
}
body.page.page-team .tag--mute{
  background:rgba(0,0,0,.03);
  color:rgba(17,17,17,.55);
}

body.page.page-team .sp-text{
  margin:0;
  font-size:13.5px;
  color:rgba(17,17,17,.74);
  line-height:1.95;
  min-height:3.9em;
}
body.page.page-team .sp-foot{
  margin-top:10px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  padding-top:10px;
  border-top:1px solid rgba(0,0,0,.08);
}
body.page.page-team .sp-link{
  font-size:13px;
  color:rgba(17,17,17,.82);
  letter-spacing:.02em;
}
body.page.page-team .sp-link::before{
  content:"";
  display:inline-block;
  width:8px; height:8px;
  border-radius:999px;
  background:var(--accent);
  margin-right:8px;
  transform:translateY(-1px);
}
body.page.page-team .sp-mini{
  font-size:12px;
  color:rgba(17,17,17,.60);
}

/* フォーカス */
body.page.page-team .sp-card:focus-visible{
  outline:3px solid rgba(47,127,111,.28);
  outline-offset:4px;
  border-radius:22px;
}

/* =========================================================
  CORPORATE TEAM（ニチレク）
========================================================= */
body.page.page-team .corp-wrap{
  margin-top:22px;
  border-radius:26px;
  border:1px solid rgba(0,0,0,.08);
  background:rgba(255,255,255,.86);
  box-shadow:0 14px 30px rgba(0,0,0,.06);
  overflow:hidden;
}
body.page.page-team .corp-head{
  padding:14px 14px 12px;
  border-bottom:1px solid rgba(0,0,0,.08);
  background:
    radial-gradient(520px 220px at 14% 20%, rgba(67,160,142,.16), transparent 60%),
    rgba(255,255,255,.72);
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  position:relative;
  overflow:hidden;
}
body.page.page-team .corp-head::after{
  content:"";
  position:absolute;
  right:-24px; top:-24px;
  width:140px; height:140px;
  border-radius:999px;
  background:var(--accent-soft);
  border:1px solid rgba(0,0,0,.04);
  transform:rotate(12deg);
  pointer-events:none;
}
body.page.page-team .corp-kicker{
  margin:0 0 6px;
  letter-spacing:.16em;
  font-size:11.5px;
  color:rgba(47,127,111,.96);
  position:relative;
  z-index:1;
}
body.page.page-team .corp-title{
  margin:0;
  font-size:16px;
  font-weight:600;
  color:rgba(17,17,17,.92);
  line-height:1.6;
  position:relative;
  z-index:1;
}
body.page.page-team .corp-note{
  margin:8px 0 0;
  font-size:13px;
  color:rgba(17,17,17,.70);
  line-height:1.9;
  max-width:80ch;
  position:relative;
  z-index:1;
}
body.page.page-team .corp-grid{
  padding:14px;
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
}
@media (min-width:920px){
  body.page.page-team .corp-grid{
    grid-template-columns:1fr 1fr 1fr;
    gap:14px;
  }
}
body.page.page-team .corp-card{
  border-radius:22px;
  border:1px solid rgba(0,0,0,.08);
  background:rgba(255,255,255,.92);
  box-shadow:0 10px 22px rgba(0,0,0,.04);
  padding:14px 14px 12px;
}
body.page.page-team .corp-card .h{
  margin:0 0 8px;
  font-size:15px;
  font-weight:600;
  color:rgba(17,17,17,.90);
  line-height:1.6;
}
body.page.page-team .corp-card .h::before{
  content:"";
  display:inline-block;
  width:10px; height:10px;
  border-radius:999px;
  background:rgba(67,160,142,.62);
  margin-right:8px;
  transform:translateY(1px);
}
body.page.page-team .corp-card .d{
  margin:0 0 10px;
  font-size:13.5px;
  color:rgba(17,17,17,.72);
  line-height:1.95;
}
body.page.page-team .corp-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0;
  padding:0;
  list-style:none;
}
body.page.page-team .corp-tags li{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.10);
  background:rgba(255,255,255,.92);
  font-size:12px;
  color:rgba(17,17,17,.70);
}
body.page.page-team .corp-foot{
  padding:12px 14px 14px;
  border-top:1px solid rgba(0,0,0,.08);
  background:rgba(255,255,255,.70);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
}
body.page.page-team .corp-foot .mini{
  margin:0;
  font-size:12.5px;
  color:rgba(17,17,17,.64);
  line-height:1.8;
  max-width:92ch;
}

/* =========================================================
  TEAM PROFILE（/team/*/）- Layout（添付の見た目に寄せる）
  - 右側余白のあるHERO（2カラム）＋ PROFILEカードを浮かせて中央へ
========================================================= */

/* 既存の1カラム保険（display:block）をプロフィールページだけ上書き */
body.page.page-team.page-team-profile .hero .hero-inner .hero-grid{
  display:grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items:center;
  gap:42px;
}

/* HEROの下に「カードが重なる」余白を確保 */
body.page.page-team.page-team-profile .hero{
  padding-bottom:220px;
  position:relative;
  overflow:hidden;
}

/* 左カラム幅を少し締める */
body.page.page-team.page-team-profile .hero .hero-copy{
  max-width:640px;
}

/* 右カラム（空間）＝ hero-visual が無い場合でも余白を成立させる */
body.page.page-team.page-team-profile .hero .hero-grid::after{
  content:"";
  display:block;
  min-height:420px;
  border-radius:26px;
  background:
    radial-gradient(680px 320px at 25% 20%, rgba(255,255,255,.35), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.06));
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 18px 44px rgba(0,0,0,.06);
  backdrop-filter:blur(4px);
  -webkit-backdrop-filter:blur(4px);
  opacity:.75;
}

/* PROFILEセクションを上に引き上げて「浮かせる」 */
body.page.page-team.page-team-profile #profile{
  margin-top:-160px;
  position:relative;
  z-index:3;
}

/* section-head は中央寄せに（添付の雰囲気） */
body.page.page-team.page-team-profile #profile .section-head{
  text-align:center;
}
body.page.page-team.page-team-profile #profile .section-head .lead{
  margin-left:auto;
  margin-right:auto;
  max-width:86ch;
}

/* wave の主張を少し抑える（カードが主役） */
body.page.page-team.page-team-profile #profile .wave{ opacity:.85; }

/* =========================================================
  TEAM PROFILE（/team/*/）- pro-* 群
  - body に page-team-profile が付く前提
========================================================= */
body.page.page-team.page-team-profile .section-surface .container{ max-width:1080px; }

/* pro-hero（プロフィールカード面） */
body.page.page-team.page-team-profile .pro-hero{
  max-width:1080px;
  margin:0 auto;
  border-radius:28px;
  border:1px solid rgba(0,0,0,.08);
  background:
    radial-gradient(560px 260px at 14% 22%, rgba(47,127,111,.10), transparent 62%),
    rgba(255,255,255,.88);
  box-shadow:0 22px 54px rgba(0,0,0,.10);
  overflow:hidden;
  padding:26px;
}
@media (min-width:920px){
  body.page.page-team.page-team-profile .pro-hero{ padding:34px; }
}

body.page.page-team.page-team-profile .pro-hero-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
  align-items:start;
}
@media (min-width:920px){
  body.page.page-team.page-team-profile .pro-hero-grid{
    grid-template-columns:460px 1fr;
    gap:34px;
  }
}

/* Photo */
body.page.page-team.page-team-profile .pro-photo{
  border-radius:22px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 14px 34px rgba(0,0,0,.10);
  background:#fff;
}
body.page.page-team.page-team-profile .pro-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  aspect-ratio:3 / 4;
  max-height:none;
}

/* Text */
body.page.page-team.page-team-profile .pro-field{
  margin:0 0 6px;
  letter-spacing:.16em;
  font-size:12px;
  color:rgba(47,127,111,.95);
  text-transform:uppercase;
}
body.page.page-team.page-team-profile .pro-name{
  margin:0 0 6px;
  font-size:30px;
  line-height:1.25;
  letter-spacing:.02em;
}
body.page.page-team.page-team-profile .pro-sub{
  margin:0 0 12px;
  color:rgba(17,17,17,.72);
  line-height:1.85;
  font-size:14.5px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
}

/* badge */
body.page.page-team.page-team-profile .badge{
  display:inline-flex;
  align-items:center;
  padding:3px 10px;
  border-radius:999px;
  font-size:12px;
  letter-spacing:.06em;
  color:rgba(47,127,111,.95);
  border:1px solid rgba(47,127,111,.22);
  background:rgba(47,127,111,.08);
  white-space:nowrap;
}

/* MESSAGE */
body.page.page-team.page-team-profile .pro-message{
  border-radius:22px;
  border:1px solid rgba(0,0,0,.08);
  background:rgba(255,255,255,.78);
  box-shadow:0 10px 22px rgba(0,0,0,.04);
  padding:14px 14px 12px;
}
body.page.page-team.page-team-profile .pro-message .k{
  margin:0 0 6px;
  font-size:11.5px;
  letter-spacing:.18em;
  color:rgba(47,127,111,.95);
  text-transform:uppercase;
}
body.page.page-team.page-team-profile .pro-message .t{
  margin:0;
  font-size:15px;
  font-weight:600;
  color:rgba(17,17,17,.88);
  line-height:1.7;
}
body.page.page-team.page-team-profile .pro-message .d{
  margin:8px 0 0;
  font-size:13.5px;
  color:rgba(17,17,17,.70);
  line-height:1.95;
}

/* mini cards */
body.page.page-team.page-team-profile .pro-mini{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
  margin-top:14px;
}
@media (min-width:820px){
  body.page.page-team.page-team-profile .pro-mini{ grid-template-columns:1fr 1fr; }
}

body.page.page-team.page-team-profile .mini-card{
  border-radius:22px;
  border:1px solid rgba(0,0,0,.08);
  background:rgba(255,255,255,.78);
  box-shadow:0 12px 26px rgba(0,0,0,.05);
  padding:14px 14px 12px;
  min-width:0;
}
body.page.page-team.page-team-profile .mini-card .k{
  margin:0 0 8px;
  font-size:12px;
  font-weight:600;
  color:rgba(17,17,17,.86);
}
body.page.page-team.page-team-profile .mini-list{
  margin:0;
  padding-left:1.15em;
  color:rgba(17,17,17,.70);
  line-height:1.9;
  font-size:13.5px;
}
body.page.page-team.page-team-profile .mini-note{
  margin:8px 0 0;
  font-size:12.5px;
  color:rgba(17,17,17,.62);
  line-height:1.8;
}

/* supplement */
body.page.page-team.page-team-profile .pro-supp{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
  margin-top:12px;
}
@media (min-width:820px){
  body.page.page-team.page-team-profile .pro-supp{ grid-template-columns:1fr 1fr; }
  body.page.page-team.page-team-profile .pro-supp .mini-card--wide{ grid-column:1 / -1; }
}

/* CTA / back */
body.page.page-team.page-team-profile .pro-cta{ margin-top:16px; }
body.page.page-team.page-team-profile .pro-back{
  margin-top:18px;
  display:flex;
  justify-content:center;
}

/* =========================================================
  Legacy / Extras（必要なものだけ維持）
========================================================= */

/* HERO: 横長フレーム（既存） */
body.page.page-team .illusFrame--wide{
  min-height:260px;
  border-radius:26px;
  overflow:hidden;
  position:relative;
}
body.page.page-team .illusFrame--wide .cover{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  transform:scale(1.02);
}
body.page.page-team .illusFrame--wide .illusOverlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(720px 280px at 30% 20%, rgba(255,255,255,.55), transparent 64%),
    linear-gradient(180deg, rgba(255,255,255,.20), rgba(255,255,255,.05));
  pointer-events:none;
}
body.page.page-team .illusFrame--wide .illusLabel{
  position:absolute;
  left:14px;
  bottom:14px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.10);
  background:rgba(255,255,255,.80);
  box-shadow:0 10px 22px rgba(0,0,0,.06);
  font-size:12px;
  letter-spacing:.16em;
  color:rgba(17,17,17,.70);
}
@media (min-width:920px){
  body.page.page-team .illusFrame--wide{ min-height:320px; }
}

/* NETWORK: Photo Callout（既存） */
body.page.page-team .north-callout--photo{
  position:relative;
  overflow:hidden;
  border-radius:26px;
  border:1px solid rgba(0,0,0,.08);
  box-shadow:var(--shadow);
  background:#fff;
  padding:0;
}
body.page.page-team .north-callout--photo .north-photo{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  transform:scale(1.02);
}
body.page.page-team .north-callout--photo .north-overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(780px 360px at 20% 15%, rgba(255,255,255,.72), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.80));
  opacity:.95;
  pointer-events:none;
}
body.page.page-team .north-callout--photo .north-body{
  position:relative;
  z-index:1;
  padding:18px 18px;
}
@media (min-width:920px){
  body.page.page-team .north-callout--photo .north-body{ padding:22px 22px; }
}
body.page.page-team .north-copy{
  margin-top:10px;
  color:rgba(17,17,17,.68);
  line-height:2.0;
  font-size:14px;
}
body.page.page-team .north-copy p{ margin:0; }
body.page.page-team .north-copy p + p{ margin-top:2px; }
body.page.page-team .north-chips{
  margin-top:12px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
body.page.page-team .chip{
  display:inline-flex;
  align-items:center;
  padding:7px 11px;
  border-radius:999px;
  border:1px solid rgba(47,127,111,.18);
  background:rgba(47,127,111,.06);
  font-size:12px;
  color:rgba(17,17,17,.70);
  letter-spacing:.04em;
}
body.page.page-team .north-actions{
  margin-top:12px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

/* trust-panel */
body.page.page-team .trust-panel{ margin-top:18px; }

/* =========================================================
  Responsive
========================================================= */
@media (max-width:600px){
  body.page.page-team .hero{ padding:72px 0 64px; }
  body.page.page-team .section{ padding:76px 0; }
  body.page.page-team .filter-panel{ padding:12px 12px 10px; }
  body.page.page-team .mini-panel{ padding:12px 12px 10px; }
  body.page.page-team .corp-grid{ padding:12px; }
  body.page.page-team .corp-head{ padding:12px 12px 10px; }
  body.page.page-team .corp-foot{ padding:10px 12px 12px; }

  /* プロフィール：重なり解除（SPは自然に縦で） */
  body.page.page-team.page-team-profile .hero{ padding-bottom:86px; }
  body.page.page-team.page-team-profile #profile{ margin-top:0; }
  body.page.page-team.page-team-profile .hero .hero-inner .hero-grid{
    display:block;
  }
  body.page.page-team.page-team-profile .hero .hero-grid::after{
    display:none;
  }
  body.page.page-team.page-team-profile .pro-hero{
    padding:18px;
    box-shadow:0 18px 42px rgba(0,0,0,.08);
  }
}

/* =========================================================
  PROFILE：右側の本文ブロックを横いっぱいに
========================================================= */

/* まず pro-hero-grid を “写真は左固定” のまま使う */
body.page.page-team.page-team-profile .pro-hero-grid{
  display:grid;
  grid-template-columns:420px minmax(0, 1fr);
  gap:22px;
  align-items:start;
}

/* 写真は左列に固定 */
body.page.page-team.page-team-profile .pro-photo{
  grid-column:1;
  grid-row:1;
}

/* ✅ 本文（あなたの div）を2列ぶち抜き＝横いっぱい */
body.page.page-team.page-team-profile .pro-wide{
  grid-column:1 / -1;  /* ←横いっぱい */
  grid-row:2;          /* ←写真の下に回す（上にしたいなら1に） */
  min-width:0;
}

/* PC時：写真は左、本文はその下で全幅、の見た目を整える */
@media (min-width:920px){
  body.page.page-team.page-team-profile .pro-wide{
    margin-top:2px;
  }
}

/* SP：元々1カラムなので自然に全幅 */
@media (max-width:919.98px){
  body.page.page-team.page-team-profile .pro-hero-grid{
    grid-template-columns:1fr;
    gap:18px;
  }
  body.page.page-team.page-team-profile .pro-photo{
    grid-column:auto;
    grid-row:auto;
  }
  body.page.page-team.page-team-profile .pro-wide{
    grid-column:auto;
    grid-row:auto;
  }
}
/* =========================================================
  HEROの不要な「ダミー余白（空パネル）」を消す
========================================================= */
body.page.page-team.page-team-profile .hero .hero-grid::after{
  content:none !important;
  display:none !important;
}

/* HEROの下に作っていた大きい余白も不要なら戻す */
body.page.page-team.page-team-profile .hero{
  padding-bottom:96px; /* ここは好みで 80〜120px に調整OK */
}

/* 右に写真がある前提の2カラム（念のため安定化） */
body.page.page-team.page-team-profile .hero .hero-inner .hero-grid{
  display:grid;
  grid-template-columns:minmax(0, 1fr) 420px;
  gap:42px;
  align-items:center;
}

/* SPは縦積み（写真を下に） */
@media (max-width:600px){
  body.page.page-team.page-team-profile .hero .hero-inner .hero-grid{
    grid-template-columns:1fr;
    gap:18px;
    align-items:start;
  }
  body.page.page-team.page-team-profile .hero .hero-photo{ order:2; }
  body.page.page-team.page-team-profile .hero .hero-copy{ order:1; }
}

/* =========================================================
  HERO：写真を少し下げて、左コンテンツの高さ感と揃える
========================================================= */
body.page.page-team.page-team-profile .hero .hero-photo{
  align-self:flex-start;     /* 中央揃えの影響を受けにくく */
  margin-top:70px;           /* ←ここで下げ量調整（20〜40px目安） */
}

/* SPは下げすぎると詰まるので弱める */
@media (max-width:600px){
  body.page.page-team.page-team-profile .hero .hero-photo{
    margin-top:10px;
  }
}

