/* about-us.css — 会社概要 page (ja/about-us/) */
/* ---------- hero video button: opens the company video in a popup (.vmodal, site.css) ---------- */
.hero-video{gap:12px;padding:0 24px 0 12px}
.hero-video__ico{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:var(--grad)}
.hero-video__ico svg{width:14px;height:14px;margin-left:2px;fill:var(--white)}
.hero-video small{font-size:12px;font-weight:500;color:rgba(255,255,255,.6)}
#company-video{scroll-margin-top:calc(var(--header-h) + 32px)}

/* ---------- value cards: English title beside the number, then h3 + text ---------- */
#mission .value{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:16px;align-content:start}
#mission .value__num{grid-column:1;margin-bottom:0;align-self:center}
#mission .value > .eyebrow{grid-column:2;margin-bottom:0;align-self:center;line-height:1.6}
#mission .value h3,#mission .value p{grid-column:1 / -1}
#mission .value h3{margin-top:24px}

/* ---------- milestones (timeline) + company video (sticky on desktop, above the timeline ≤1100px) ---------- */
.history{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,480px);gap:64px;align-items:start}
.history__main .note{margin-top:32px}
.history__media{position:sticky;top:calc(var(--header-h) + 32px)}
.tl{position:relative;max-width:var(--measure-l);margin:0;padding:0;list-style:none}
.tl::before{content:"";position:absolute;left:172px;top:10px;bottom:10px;width:2px;
  background:linear-gradient(180deg,var(--grad-a) 0%,var(--grad-b) 100%);opacity:.35}
.tl li{position:relative;display:grid;grid-template-columns:150px 1fr;gap:64px;padding:0 0 32px}
.tl li:last-child{padding-bottom:0}
.tl li::after{content:"";position:absolute;left:166px;top:7px;width:14px;height:14px;border-radius:50%;
  background:var(--white);border:3px solid var(--accent)}
.tl li.is-key::after{background:var(--accent);box-shadow:var(--ring)}
.tl time{font-family:var(--mono);font-size:14px;font-weight:600;line-height:1.8;letter-spacing:.06em;color:var(--ink);text-align:right}
.tl time small{display:block;font-size:12px;letter-spacing:.18em;color:var(--muted);font-weight:500}
.tl__tag{display:inline-block;margin-bottom:8px;padding:4px 12px;border-radius:var(--r-pill);background:var(--accent-wash);
  font-size:12px;font-weight:700;letter-spacing:.06em;color:var(--accent)}
.tl h3{font-size:16px;line-height:1.8;margin-bottom:8px}
.tl a{display:inline-block;margin-top:8px;font-size:12px;font-weight:600;color:var(--accent);border-bottom:1px solid rgba(99,102,241,.35)}
.tl a:hover{border-bottom-color:var(--accent)}
/* planned milestone (予定): dashed dot, muted text */
.tl li.is-plan::after{background:var(--white);border-style:dashed;border-color:var(--faint)}
.tl li.is-plan h3,.tl li.is-plan time{color:var(--muted)}
.tl__tag--plan{color:var(--muted);background:var(--line);border:1px dashed var(--line-strong)}
.vcard{margin:0}
.vcard__frame{position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:var(--r-panel);background:var(--dark);box-shadow:var(--shadow-panel)}
.vcard__video{display:block;width:100%;height:100%;object-fit:cover;background:#000}
.vcard__play{position:absolute;inset:0;display:none;align-items:center;justify-content:center;padding:0;border:0;cursor:pointer;
  background:linear-gradient(180deg,rgba(16,16,36,0) 35%,rgba(16,16,36,.5) 100%)}
.vcard.is-ready:not(.is-playing) .vcard__play{display:flex}
.vcard__play span{display:flex;align-items:center;justify-content:center;width:76px;height:76px;border-radius:50%;
  background:var(--grad);box-shadow:var(--shadow-btn);transition:transform .25s ease,box-shadow .25s ease}
.vcard__play svg{width:28px;height:28px;margin-left:4px;fill:var(--white)}
.vcard__play:hover span{transform:scale(1.06);box-shadow:var(--shadow-btn-hover)}
.vcard__play:focus-visible{outline:none}
.vcard__play:focus-visible span{box-shadow:0 0 0 4px rgba(255,255,255,.85),var(--shadow-btn)}
.vcard__cap{margin-top:20px}
.vcard__k{display:block;color:var(--accent)}
.vcard__cap b{display:block;margin-top:8px;font-size:16px;line-height:1.6;color:var(--ink)}
.vcard__cap p{margin-top:4px}

/* ---------- team ---------- */
.team{display:grid;gap:24px}
.member{display:grid;grid-template-columns:200px 1fr;gap:48px;align-items:start}
.member__photo{width:200px;aspect-ratio:1;border-radius:var(--r-card);overflow:hidden;background:var(--line-strong)}
.member__photo img{width:100%;height:100%;object-fit:cover;object-position:50% 20%}
.member__role{display:block;font-size:12px;font-weight:700;letter-spacing:.06em;color:var(--accent);margin-bottom:8px}
.member__tag{margin-top:12px}
.member__bio{margin-top:12px;padding-top:16px;border-top:1px solid var(--line)}

/* ---------- offices ---------- */
.office-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:32px}
.office{margin:0;display:grid;grid-template-columns:200px 1fr;align-items:center;gap:32px;padding:16px;
  border:1px solid var(--line);border-radius:var(--r-panel);background:var(--bg-card)}
.office__img{aspect-ratio:1;border-radius:var(--r-sm);overflow:hidden;background:var(--line-strong)}
.office__img img{width:100%;height:100%;object-fit:cover}
.office figcaption{display:flex;flex-direction:column;gap:4px}
.office__k{color:var(--accent);margin-bottom:8px}
.office b{font-size:20px;color:var(--ink);line-height:1.8}
.office figcaption span:last-child{font-size:14px;color:var(--body)}

/* ---------- company table (3 col) ---------- */
.dt--co thead th:first-child,.dt--co tbody th{width:180px}
.dt--co td{width:41%}

/* ---------- responsive ---------- */
@media (max-width:1100px){
  .history{grid-template-columns:1fr;gap:48px}
  .history__media{position:static;order:-1;max-width:760px}
}
@media (max-width:1024px){
  .mv,.office-grid{grid-template-columns:1fr}
}
@media (max-width:860px){
  .tl::before{left:6px}
  .tl li{grid-template-columns:1fr;gap:4px;padding-left:32px}
  .tl li::after{left:0}
  .tl time{text-align:left}
  .tl time small{display:inline;margin-left:8px}
  .vcard__play span{width:64px;height:64px}
  .vcard__play svg{width:24px;height:24px}
  .member{grid-template-columns:1fr;gap:24px}
  .member__photo{width:132px}
  .dt--co tbody th,.dt--co td{width:auto}
}
@media (max-width:520px){
  .office{grid-template-columns:110px 1fr;gap:16px}
  .office b{font-size:16px}
}
