/* ============================================================
   /environment/ ページ専用CSS
   読み込み順：common.css → environment.css
   旧 sub.css（下層共通CSS）から、このページが使う部品だけを移したもの（2026-10-08）。
   このページのデザインは、このファイルの中で自由に変えてよい（他のページに影響しない）。
   ヘッダー・フッターなど全ページ共通の見た目は common.css に書く。
   ============================================================ */

/* ============================================================
   4. 本文（.prose）— 長文ページ用。素のHTML（h2/h3/p/ul/ol/table）で組める
   ============================================================ */
.prose{font-size:15px;line-height:1.95;color:var(--text-sub);}
.prose>*+*{margin-top:1.4em;}
.prose>:first-child{margin-top:0;}
.prose a{font-size:inherit;border-bottom:1px solid rgba(215,25,32,.3);transition:border-color 150ms ease-out;}
.prose a:hover{border-bottom-color:var(--red);}
.prose strong{font-weight:500;color:var(--text);}
.prose h2{
  position:relative;margin-top:3em;padding-top:20px;
  font-size:clamp(20px,2.6vw,24px);font-weight:500;line-height:1.6;color:var(--text);
}
.prose h2::before{                       /* 見出し上の赤い3pxライン（skill-cardと同系） */
  content:"";position:absolute;left:0;top:0;width:54px;height:3px;background:var(--red);
}
.prose h3{
  margin-top:2.2em;padding-left:14px;border-left:3px solid var(--red);
  font-size:18px;font-weight:500;line-height:1.6;color:var(--text);
}
.prose ul,.prose ol{list-style:none;padding:0;}
.prose li{position:relative;padding:6px 0 6px 28px;}
.prose ul li::before{                    /* チェックリストと同じ3px角の赤枠 */
  content:"";position:absolute;left:0;top:.95em;
  width:14px;height:14px;border-radius:3px;
  background:var(--red-50);border:1.5px solid var(--red);
}
.prose ol{counter-reset:prose;}
.prose ol li{counter-increment:prose;}
.prose ol li::before{
  content:counter(prose);position:absolute;left:0;top:.5em;
  width:20px;text-align:center;
  font-family:Arial,Helvetica,sans-serif;font-size:14px;font-weight:700;color:var(--red);
}
.prose figure{margin:2em 0;}
.prose figure img{border-radius:14px;}
.prose figcaption{margin-top:10px;font-size:12px;color:var(--text-sub);}

/* ============================================================
   5. コールアウト（補足・注意・「正直に書く」系メッセージ）
   ============================================================ */
.callout{
  padding:28px 32px;
  background:var(--red-50);
  border-left:5px solid var(--red);
  border-radius:4px 16px 16px 4px;      /* 片側だけ直角＋赤縁取り＝シャープネスのアクセント */
}
.callout-title{margin:0 0 8px;font-size:15px;font-weight:500;color:var(--text);}
.callout p{font-size:14px;color:var(--text-sub);}
.callout .link-arrow{margin-top:14px;}
.callout--note{background:var(--bg-light);border-left-color:var(--border);}

/* ============================================================
   9. カード派生
   ============================================================ */
/* 英字ラベル付きカード（people-card / column card と同系）。data-label="PAGE 01" */
.card--k{padding-top:52px;overflow:hidden;}
.card--k::before{
  content:attr(data-label);
  position:absolute;left:28px;top:20px;
  font-family:Arial,Helvetica,sans-serif;
  font-size:12px;font-weight:700;letter-spacing:.18em;
  color:rgba(215,25,32,.78);
}
.card--k::after{
  content:"";position:absolute;right:-34px;bottom:-34px;
  width:84px;height:84px;
  border:1px solid rgba(215,25,32,.12);transform:rotate(45deg);
  pointer-events:none;
}
.card--k h3{font-size:17px;}

/* ============================================================
   10. 画像＋テキストのジグザグ（トップの .job-row の汎用版）
   ============================================================ */
.feature{display:flex;gap:64px;align-items:center;margin-bottom:72px;}
.feature:last-child{margin-bottom:0;}
.feature-visual{
  position:relative;overflow:hidden;
  margin:0;flex:1.1;min-height:320px;
  border-radius:4px 16px 16px 4px;border-left:5px solid var(--red);
  background:repeating-linear-gradient(135deg,#F5F5F4,#F5F5F4 10px,#EFEEEA 10px,#EFEEEA 20px);
}
.feature-visual img{width:100%;height:100%;object-fit:cover;}
.feature-visual figcaption{
  position:absolute;left:16px;bottom:14px;
  padding:7px 12px;border-radius:999px;
  background:rgba(255,255,255,.88);backdrop-filter:blur(5px);
  font-size:12px;color:var(--text);
}
.feature-text{flex:1;}
.feature-text h3{margin:8px 0 14px;font-size:21px;font-weight:500;}
.feature-text p{font-size:14px;color:var(--text-sub);margin-bottom:20px;}

/* ============================================================
   11. 目次（長文ページ冒頭）
   ============================================================ */
.toc{padding:24px 28px;background:var(--bg-light);border-radius:var(--radius-card);}
.toc-title{margin:0 0 10px;font-size:13px;font-weight:500;color:var(--text);}
.toc ol{list-style:none;margin:0;padding:0;counter-reset:toc;}
.toc li{counter-increment:toc;border-top:1px solid var(--border);}
.toc li:first-child{border-top:none;}
.toc a{display:flex;gap:12px;padding:10px 0;font-size:14px;color:var(--text);transition:color 150ms ease-out;}
.toc a::before{content:counter(toc,decimal-leading-zero);font-family:Arial,Helvetica,sans-serif;font-weight:700;color:var(--red);}
.toc a:hover{color:var(--red);}

/* ============================================================
   レスポンシブ（860px以下。common.css / top.css と同じブレークポイント）
   ============================================================ */
@media (max-width:860px){
  .prose{font-size:14px;}
  .callout{padding:22px 20px;}
  .feature,.feature.reverse{flex-direction:column;gap:28px;margin-bottom:56px;}
  .feature-visual{width:100%;min-height:220px;}
}

/* ============================================================
   15. SMTP 詳細版（/environment/#training。付録Cの文面で使う）
   入社後の流れ（.smtp-flow）・小見出し（.smtp-subtitle）・3つの特徴（.smtp-point）。
   top.css から移動（2026-10）。学び続ける仕組み（.smtp-rhythm 一式）は common.css にある。
   ============================================================ */
.smtp-subtitle{
  position:relative;
  font-size:17px;font-weight:500;
  margin:56px 0 24px;
}
.smtp-subtitle::before{
  content:attr(data-en);
  display:block;margin-bottom:6px;
  font-family:Arial,Helvetica,sans-serif;
  font-size:12px;font-weight:700;letter-spacing:.2em;
  color:var(--red);
}
/* 入社後の流れ（3ステップ） */
.smtp-flow{
  list-style:none;margin:0;padding:0;
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;
}
.smtp-flow li{
  position:relative;
  background:#fff;border:1px solid var(--border);border-radius:var(--radius-card);
  padding:26px 24px 26px;
  font-size:13px;color:var(--text-sub);
}
.smtp-flow li::before{
  content:attr(data-step);
  display:block;margin-bottom:8px;
  font-family:Arial,Helvetica,sans-serif;
  font-size:40px;line-height:1;font-weight:700;letter-spacing:-.04em;
  color:rgba(215,25,32,.16);
}
.smtp-flow li:not(:last-child)::after{
  content:"";position:absolute;right:-17px;top:50%;
  width:9px;height:9px;
  border-right:2px solid var(--red);border-top:2px solid var(--red);
  transform:translateY(-50%) rotate(45deg);
}
.smtp-flow li.is-example{border-style:dashed;}
.smtp-flow-title{
  font-size:16px;font-weight:500;color:var(--text);
  margin:0 0 8px;
}
/* ならではの3つの特徴 */
.smtp-point{padding-top:28px;}
.smtp-point h3{position:relative;padding-top:18px;font-size:15px;}
.smtp-point h3::before{
  content:"";position:absolute;left:0;top:0;
  width:40px;height:3px;background:var(--red);
}
.smtp-point:hover{transform:none;box-shadow:none;border-color:var(--border);}
@media (max-width:860px){
  .smtp-subtitle{margin:44px 0 20px;}
  .smtp-flow{grid-template-columns:1fr;gap:28px;}
  .smtp-flow li:not(:last-child)::after{
    right:auto;left:50%;top:auto;bottom:-19px;
    transform:translateX(-50%) rotate(135deg);
  }
}

/* ============================================================
   16. 動画（YouTube埋め込み。16:9、角丸12px）
   <figure class="video"><iframe src="https://www.youtube-nocookie.com/embed/動画ID" title="動画のタイトル" …></iframe>
   <figcaption>動画のタイトル</figcaption></figure>
   並べるときは .grid-2 / .grid-3 に入れる（860px以下は1列）
   ============================================================ */
.video{margin:0;}
.video iframe{
  display:block;width:100%;height:auto;aspect-ratio:16/9;
  border:0;border-radius:var(--radius-card);
  background:var(--text);                /* 読み込み前の下地 */
}
.video figcaption{margin-top:12px;font-size:12px;line-height:1.7;color:var(--text-sub);}

/* ============================================================
   17. 部品を組み合わせたときの余白（既存部品の補正）
   ============================================================ */
/* 導入文（.intro-lead）の下に目次（.toc）を置くとき */
.intro-lead + .toc{margin-top:32px;}
/* タグ（.tags）の下にコールアウトを置くとき */
.tags + .callout{margin-top:28px;}
/* .feature-text の中にコールアウトを置くとき（.feature-text p の下余白を打ち消す） */
.feature-text .callout p{margin-bottom:0;}
.feature-text .callout .callout-title{margin-bottom:8px;}
/* リンクの無いカードは、ホバーで浮かせない（押せるように見えないようにする） */
.card:not(:has(a)):hover{transform:none;box-shadow:none;border-color:var(--border);}
/* 本文（.prose）の下に、写真・動画のグリッドを置くとき */
.prose + .grid{margin-top:32px;}

/* ============================================================
   18. 小見出し（.subhead）：英字ラベル付き。セクションの中の h3 に使う
   <h3 class="subhead" data-en="EVENTS">社内イベント</h3>
   見た目は 15節の .smtp-subtitle と同じ（.smtp-subtitle は付録Cの文面専用にする）
   ============================================================ */
.subhead{
  position:relative;
  font-size:17px;font-weight:500;
  margin:56px 0 24px;
}
.subhead::before{
  content:attr(data-en);
  display:block;margin-bottom:6px;
  font-family:Arial,Helvetica,sans-serif;
  font-size:12px;font-weight:700;letter-spacing:.2em;
  color:var(--red);
}
@media (max-width:860px){
  .subhead{margin:44px 0 20px;}
}

/* ============================================================
   19. 写真（本文の中の写真。.video と同じ枠で並べられる。16:9、角丸12px）
   <figure class="photo"><img src="../img/item08.jpg" alt="写真の内容"><figcaption>キャプション</figcaption></figure>
   ============================================================ */
.photo{margin:0;}
.photo img{height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:var(--radius-card);}
.photo figcaption{margin-top:12px;font-size:12px;line-height:1.7;color:var(--text-sub);}

/* ============================================================
   21. 部品を組み合わせたときの余白（17節の続き）
   ============================================================ */
/* グリッドの各列の先頭に置いた小見出しは、上の余白をなくす */
.grid > * > .subhead:first-child{margin-top:0;}

/* ============================================================
   23. 部品を組み合わせたときの余白（21節の続き）
   ============================================================ */
/* 目次（.toc）の下に本文（.prose）を置くとき */
.toc + .prose{margin-top:48px;}

/* ============================================================
   27. 部品を組み合わせたときの補正（23節の続き）
   ============================================================ */
/* 横長の写真を .feature-visual に入れても、枠（最小の高さ）の下に隙間が出ないようにする */
.feature-visual > img{min-height:320px;}
@media (max-width:860px){
  .feature-visual > img{min-height:220px;}
}


/* ============================================================
   /environment/ 追加アンケート（/people/ と統一したレッド/グレーの表現）
   数値・順位はHTMLに記載し、JSの数値生成は行わない。
   ============================================================ */
.env-survey-kicker{
  margin:0 0 15px;
  font:700 12px/1.5 Arial,Helvetica,sans-serif;
  letter-spacing:.17em;color:var(--red);
}
.env-survey-kicker span{color:#9a9a9a;margin:0 6px;}
.env-survey-rule{
  width:66px;height:3px;margin-top:18px;
  background:linear-gradient(90deg,var(--red) 0 68%,rgba(215,25,32,.18) 68% 100%);
}

/* メンバーの英語力：海外研修セクションの直前 */
section.env-lang-survey{padding:73px 0 20px;overflow:hidden;}
.env-lang-survey__panel{
  position:relative;isolation:isolate;overflow:hidden;
  display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);
  gap:28px 48px;align-items:center;
  padding:43px clamp(27px,4.5vw,55px) 25px;
  background:linear-gradient(115deg,#fff 12%,#fbfaf9 100%);
  border:1px solid #e3e0dd;border-radius:18px;
  box-shadow:0 7px 26px rgba(43,43,43,.025);
}
.env-lang-survey__panel::before{
  content:"";position:absolute;top:0;left:0;width:89px;height:3px;background:var(--red);
}
.env-lang-survey__panel::after{
  content:"";position:absolute;pointer-events:none;z-index:-1;
  width:290px;height:270px;right:-155px;top:-128px;
  border:1px solid rgba(215,25,32,.10);
  border-radius:57% 43% 37% 63% / 47% 62% 38% 53%;
  transform:rotate(24deg);
}
.env-lang-survey__panel>*{min-width:0;position:relative;z-index:1;}
.env-lang-survey__intro h2{
  margin:0;font-size:clamp(24px,2.8vw,32px);font-weight:500;
  letter-spacing:.02em;line-height:1.5;color:var(--text);
}
.env-lang-survey__description{
  margin-top:25px;max-width:295px;color:var(--text-sub);
  font-size:14px;line-height:1.95;
}
.env-lang-survey__data{
  display:grid;grid-template-columns:190px minmax(0,1fr);
  align-items:center;gap:clamp(18px,2.8vw,35px);
}
.env-lang-survey__donut{
  position:relative;flex:none;
  width:190px;aspect-ratio:1;max-width:100%;border-radius:50%;
  background:conic-gradient(from -90deg,var(--red) 0% 54%,#c88f93 54% 96%,#879099 96% 100%);
  box-shadow:0 4px 15px rgba(43,43,43,.045);
  display:grid;place-items:center;
}
.env-lang-survey__donut-core{
  width:72%;height:72%;border-radius:50%;background:#fff;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  box-shadow:inset 0 0 0 1px #f4f1ee;
}
.env-lang-survey__donut-core span{
  font:700 12px/1.3 Arial,Helvetica,sans-serif;letter-spacing:.12em;color:var(--red);
}
.env-lang-survey__donut-core strong{font-size:19px;font-weight:500;line-height:1.6;color:var(--text);margin-top:7px;}
.env-lang-survey__donut-core small{font-size:12px;color:#777;line-height:1.5;}
.env-lang-survey__legend{margin:0;min-width:0;}
.env-lang-survey__legend-row{
  display:flex;justify-content:space-between;gap:10px;align-items:center;
  padding:14px 0;border-bottom:1px solid #e9e6e4;
}
.env-lang-survey__legend-row:first-child{padding-top:0;}
.env-lang-survey__legend-row:last-child{border-bottom:0;padding-bottom:0;}
.env-lang-survey__legend-row dt{
  display:flex;gap:8px;align-items:center;min-width:0;
  font-size:13px;font-weight:500;line-height:1.6;color:var(--text-sub);
}
.env-lang-survey__legend-row dd{
  margin:0;white-space:nowrap;
  font:600 32px/1.12 Arial,Helvetica,sans-serif;letter-spacing:-.045em;
  color:var(--text);
}
.env-lang-survey__legend-row dd span{font-size:.48em;margin-left:2px;}
.env-lang-survey__legend-row--none dd{color:var(--red);}
.env-lang-survey__dot{width:9px;height:9px;border-radius:50%;flex:none;background:var(--red);}
.env-lang-survey__legend-row--little .env-lang-survey__dot{background:#c88f93;}
.env-lang-survey__legend-row--daily .env-lang-survey__dot{background:#879099;}
.env-lang-survey__foot{
  grid-column:1 / -1;display:flex;flex-wrap:wrap;gap:6px 24px;
  border-top:1px solid #ebe8e5;padding-top:16px;margin-top:3px;
}
.env-lang-survey__foot p{font-size:12px;line-height:1.65;color:#767676;}

/* 一番楽しかったイベント：既存の「社内イベント」見出しの直前 */
.env-events-survey{margin-top:62px;}
.env-events-survey__head{
  display:flex;align-items:end;justify-content:space-between;gap:25px;margin-bottom:23px;
}
.env-events-survey__head h3{
  margin:0;font-weight:500;font-size:clamp(22px,2.6vw,28px);
  line-height:1.45;color:var(--text);
}
.env-events-survey__intro{
  width:245px;flex:none;max-width:45%;padding-left:17px;
  border-left:2px solid rgba(215,25,32,.3);
  font-size:13px;line-height:1.8;color:var(--text-sub);
}
.env-events-survey__list{
  list-style:none;margin:0;padding:0;
  display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);
  grid-template-rows:repeat(2,minmax(112px,auto));gap:13px;
}
.env-events-survey__item{
  position:relative;overflow:hidden;min-width:0;
  display:flex;align-items:center;gap:19px;
  padding:20px 22px;border-radius:13px;
  border:1px solid #e4e0de;background:#fff;
}
.env-events-survey__item::after{
  content:"";position:absolute;left:0;top:0;width:4px;height:100%;
  background:rgba(215,25,32,.18);
}
.env-events-survey__num{
  font:600 40px/1 Arial,Helvetica,sans-serif;
  letter-spacing:-.075em;color:#c8c0bd;
  flex:none;
}
.env-events-survey__copy{display:flex;flex-direction:column;gap:4px;min-width:0;position:relative;z-index:1;}
.env-events-survey__rank{font-size:12px;line-height:1.4;color:#9b4545;font-weight:700;}
.env-events-survey__copy strong{font-weight:500;font-size:16px;line-height:1.5;color:var(--text);}
.env-events-survey__icon{
  display:grid;place-items:center;flex:none;margin-left:auto;
  width:49px;height:49px;border-radius:50%;
  background:#faf6f4;color:#b76d70;
}
.env-events-survey__icon svg{width:26px;height:26px;}
.env-events-survey__item--first{
  grid-row:span 2;min-height:238px;align-items:start;
  flex-direction:column;justify-content:space-between;gap:6px;
  padding:30px;background:linear-gradient(136deg,#fff8f6 0%,#fff 83%);
  border-color:#f0d3d1;
}
.env-events-survey__item--first::after{background:var(--red);}
.env-events-survey__item--first .env-events-survey__num{font-size:68px;color:var(--red);}
.env-events-survey__item--first .env-events-survey__copy strong{font-size:21px;}
.env-events-survey__item--first .env-events-survey__icon{
  position:absolute;right:25px;bottom:24px;
  width:68px;height:68px;background:rgba(215,25,32,.065);color:var(--red);
}
.env-events-survey__item--first .env-events-survey__icon svg{width:36px;height:36px;}
.env-events-survey__source{margin-top:15px;font-size:12px;line-height:1.7;text-align:right;color:#6e6e6e;}
.env-events-survey + .subhead{margin-top:46px;}

@media (max-width:860px){
  section.env-lang-survey{padding:52px 0 4px;}
  .env-lang-survey__panel{grid-template-columns:1fr;gap:25px;padding:33px 30px 24px;}
  .env-lang-survey__description{max-width:none;margin-top:16px;}
  .env-lang-survey__data{max-width:600px;grid-template-columns:180px minmax(0,1fr);}
  .env-lang-survey__donut{width:180px;}
  .env-events-survey{margin-top:50px;}
  .env-events-survey__item{padding:18px;gap:12px;}
  .env-events-survey__item--first{padding:24px;}
  .env-events-survey__item--first .env-events-survey__copy strong{font-size:18px;}
  .env-events-survey__icon{width:40px;height:40px;}
  .env-events-survey__icon svg{width:23px;height:23px;}
}
@media (max-width:620px){
  .env-lang-survey__panel{padding:27px 20px 22px;gap:20px;}
  .env-lang-survey__intro h2{font-size:24px;}
  .env-lang-survey__data{grid-template-columns:130px minmax(0,1fr);gap:15px;}
  .env-lang-survey__donut{width:130px;}
  .env-lang-survey__donut-core span{font-size:12px;letter-spacing:.04em;}
  .env-lang-survey__donut-core strong{font-size:16px;margin-top:4px;}
  .env-lang-survey__donut-core small{font-size:12px;}
  .env-lang-survey__legend-row{padding:11px 0;gap:4px;}
  .env-lang-survey__legend-row dt{font-size:12px;gap:6px;}
  .env-lang-survey__legend-row dd{font-size:25px;}
  .env-lang-survey__dot{width:7px;height:7px;}
  .env-lang-survey__foot{display:block;}
  .env-lang-survey__foot p+p{margin-top:5px;}
  .env-events-survey__head{display:block;margin-bottom:20px;}
  .env-events-survey__head h3{font-size:23px;}
  .env-events-survey__intro{max-width:none;width:auto;margin-top:15px;font-size:12px;}
  .env-events-survey__list{grid-template-columns:1fr;grid-template-rows:none;gap:10px;}
  .env-events-survey__item{min-height:100px;padding:17px 20px;}
  .env-events-survey__item--first{grid-row:auto;min-height:145px;padding:22px;}
  .env-events-survey__item--first .env-events-survey__num{font-size:50px;}
  .env-events-survey__item--first .env-events-survey__copy strong{font-size:18px;}
  .env-events-survey__item--first .env-events-survey__icon{right:17px;bottom:17px;width:55px;height:55px;}
  .env-events-survey__item--first .env-events-survey__icon svg{width:29px;height:29px;}
  .env-events-survey__source{text-align:left;}
  .env-events-survey + .subhead{margin-top:40px;}
}
@media (max-width:365px){
  .env-lang-survey__data{grid-template-columns:112px minmax(0,1fr);gap:12px;}
  .env-lang-survey__donut{width:112px;}
  .env-lang-survey__legend-row dt{font-size:12px;}
  .env-lang-survey__legend-row dd{font-size:23px;}
  .env-events-survey__num{font-size:33px;}
  .env-events-survey__item .env-events-survey__copy strong{font-size:15px;}
}

/* ============================================================
   T11. 先輩の声（.voice）：起業家本人の言葉の引用（2026-10 追加）
   <figure class="voice"><blockquote cite="出典URL"><p>「引用」</p></blockquote>
   <figcaption>会社名 <a href="/people/#○○">○○社長</a>（対談動画より）</figcaption></figure>
   引用の文は実装案の文案から一字一句そのまま写す
   ============================================================ */
.voice{
  margin:28px 0;padding:18px 22px;
  background:var(--bg);
  border:1px solid var(--border);border-left:3px solid var(--red);
  border-radius:3px 12px 12px 3px;
}
.voice blockquote{margin:0;}
.voice blockquote p{margin:0;font-size:15px;font-weight:500;line-height:1.85;color:var(--text);}
.voice figcaption{margin-top:10px;font-size:12px;line-height:1.7;color:var(--text-sub);}
.voice figcaption a{color:inherit;border-bottom:1px solid var(--red-tint-border);}
.voice-note{margin-top:12px;font-size:12px;line-height:1.7;color:var(--text-sub);}
.prose .voice{margin:1.6em 0;}
@media (max-width:860px){
  .voice{padding:16px 18px;}
  .voice blockquote p{font-size:14px;}
}

/* ============================================================
   T12. 小さな注記（.fine-note）（2026-10 追加）
   ============================================================ */
.fine-note{margin-top:12px;font-size:12px;line-height:1.7;color:var(--text-sub);}

/* ============================================================
   T12. SMTPの補足の段落（.smtp-note）（2026-10 追加）
   ============================================================ */
.smtp-note{margin:20px 0 0;font-size:14px;line-height:1.9;color:var(--text-sub);}

/* ============================================================
   T12. 情報テーブル（.spec）と表（.table-wrap・.data-table）：/recruit/director/ の定義を写した（2026-10 追加）
   ============================================================ */
.spec{margin:0;background:#fff;border:1px solid var(--border);border-radius:var(--radius-card);overflow:hidden;}
.spec-row{display:grid;grid-template-columns:200px 1fr;border-top:1px solid var(--border);}
.spec-row:first-child{border-top:none;}
.spec dt{padding:20px 24px;background:var(--bg-light);font-size:13px;font-weight:500;color:var(--text);}
.spec dd{margin:0;padding:20px 24px;font-size:14px;color:var(--text-sub);}
.table-wrap{overflow-x:auto;border:1px solid var(--border);border-radius:var(--radius-card);}
.data-table{width:100%;border-collapse:collapse;font-size:14px;background:#fff;}
.data-table th,.data-table td{padding:16px 20px;text-align:left;border-top:1px solid var(--border);}
.data-table thead th{border-top:none;background:var(--bg-light);font-size:13px;font-weight:500;color:var(--text);white-space:nowrap;}
.data-table td{color:var(--text-sub);}
.data-table tbody th{font-weight:500;color:var(--text);white-space:nowrap;}
@media (max-width:860px){
  .spec-row{grid-template-columns:1fr;}
  .spec dt{padding:12px 20px;}
  .spec dd{padding:14px 20px 18px;}
  .data-table th,.data-table td{padding:12px 14px;}
}

/* T12. 渡航先のタグと、下の文の間（.feature-text の中）（2026-10 追加） */
.feature-text .tags + p{margin-top:16px;}

/* T12. 海外研修の実施例の表：「時期」を折り返さない（2026-10 追加） */
#global .data-table td:first-child{white-space:nowrap;}

/* ============================================================
   2026-10-15 実写の写真（img/ の ceo・meeting・overseastraining・event）
   ============================================================ */
/* 1枚ずつの写真（赤い左端＋非対称の角丸。.feature-visual と同じ形） */
.env-shot{
  position:relative;margin:0;overflow:hidden;aspect-ratio:4/3;
  border-radius:4px 16px 16px 4px;border-left:5px solid var(--red);
  background:var(--bg-light);
}
.env-shot img{display:block;width:100%;height:100%;object-fit:cover;}
.env-shot figcaption,
.env-gallery__item figcaption{
  position:absolute;left:14px;bottom:12px;max-width:calc(100% - 28px);
  padding:6px 12px;border-radius:999px;
  background:rgba(255,255,255,.9);backdrop-filter:blur(5px);
  font-size:12px;line-height:1.5;color:var(--text);
}
.env-photo-pair{margin:40px 0 0;}
.env-photo-pair + .smtp-note{margin-top:24px;}

/* 海外研修のギャラリー：大きい1枚＋縦長1枚＋小さい写真のモザイク */
.env-gallery-note{margin:-4px 0 20px;font-size:14px;line-height:1.9;color:var(--text-sub);}
.env-gallery{
  grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:180px;grid-auto-flow:dense;
  gap:12px;margin-bottom:56px;
}
.env-gallery__item{position:relative;margin:0;overflow:hidden;border-radius:4px;background:var(--bg-light);}
.env-gallery__item img{display:block;width:100%;height:100%;object-fit:cover;transition:scale 600ms var(--ease-out,ease-out);}
.env-gallery__item:hover img{scale:1.04;}
.env-gallery__item.is-lg{grid-column:span 2;grid-row:span 2;border-left:5px solid var(--red);border-radius:4px 16px 16px 4px;}
.env-gallery__item.is-tall{grid-row:span 2;}
.env-gallery__item.is-wide{grid-column:span 2;}

/* 社内イベントの写真（3枚） */
.env-event-photos{margin-top:28px;}
.env-photos-caption{margin:12px 0 0;font-size:12px;line-height:1.7;color:var(--text-sub);}

@media (max-width:860px){
  .env-photo-pair{margin-top:28px;}
  .env-gallery{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:130px;gap:8px;margin-bottom:44px;}
  .env-gallery__item figcaption{display:none;}
  .env-gallery__item.is-lg figcaption{display:block;}
  .env-event-photos{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;}
  .env-event-photos .env-shot{border-left-width:3px;}
}
@media (prefers-reduced-motion:reduce){
  .env-gallery__item img{transition:none;}
}

/* ============================================================
   YouTube：押したときに読み込む（2026-10-21）
   最初はサムネイル（.yt-facade）だけを表示し、押すと共通スクリプトが iframe に入れ替える。
   枠は .video iframe と同じ 16:9・角丸
   ============================================================ */
.video .yt-facade{
  position:relative;display:block;width:100%;aspect-ratio:16/9;
  padding:0;border:0;border-radius:var(--radius-card);overflow:hidden;
  background:var(--text);cursor:pointer;
}
.video .yt-facade img{width:100%;height:100%;object-fit:cover;}
.video .yt-facade__play{
  position:absolute;left:50%;top:50%;width:68px;height:48px;margin:-24px 0 0 -34px;
  border-radius:12px;background:rgba(23,23,23,.8);transition:background-color 150ms ease-out;
}
.video .yt-facade__play::before{
  content:"";position:absolute;left:27px;top:14px;
  border-style:solid;border-width:10px 0 10px 17px;border-color:transparent transparent transparent #fff;
}
.video .yt-facade:hover .yt-facade__play,
.video .yt-facade:focus-visible .yt-facade__play{background:var(--red);}
.video .yt-facade:focus-visible{outline:3px solid var(--red);outline-offset:3px;}

/* ============================================================
   2026-10-22 左右の高さの差が大きい2列（.split）を、見出しを上・中身を下の横並びに組み替える（PCだけ。スマホは元から縦積み）
   ============================================================ */
/* 学びが続く環境：導入文と、目次を横に並べる */
@media (min-width:861px){
  [data-kicker="LEARNING"] .split{grid-template-columns:1fr;gap:32px;}
  [data-kicker="LEARNING"] .split>div:last-child{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);column-gap:56px;align-items:start;}
  [data-kicker="LEARNING"] .toc{margin-top:0;}
}

/* ---- 第5弾（2026-10-30）：SMTP の Phase 1〜4（.smtp-rhythm を ol で使う。並びは common.css の2列／スマホ1列） ---- */
.smtp-subtitle--first{margin-top:8px;}
.smtp-phases{list-style:none;margin:0;padding:0;}
.smtp-phases .smtp-num{font-family:Arial,Helvetica,sans-serif;letter-spacing:.02em;}
