/* B案（別デザイン案）: the main site's style.css plus these additions.
   Structure follows the LP v4 wireframe; colors, type, buttons, cards and dark bands come from the main site. */

/* Menu and labels: IBM Plex Mono (the face used in the section-title and menu artwork) */
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/IBMPlexMono-400.woff2?v=20261112b") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/IBMPlexMono-600.woff2?v=20261112b") format("woff2"); font-weight: 600; font-display: swap; }
/* Same Japanese / Chinese faces, re-declared with the subset that also covers the B案 copy */
@font-face { font-family: "Noto Sans JP"; src: url("../fonts/NotoSansJP-400.woff2?v=20261112d") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Noto Sans JP"; src: url("../fonts/NotoSansJP-500.woff2?v=20261112d") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Noto Sans JP"; src: url("../fonts/NotoSansJP-600.woff2?v=20261112d") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Noto Sans JP"; src: url("../fonts/NotoSansJP-700.woff2?v=20261112d") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Noto Sans SC"; src: url("../fonts/NotoSansSC-400.woff2?v=20261112d") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Noto Sans SC"; src: url("../fonts/NotoSansSC-500.woff2?v=20261112d") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Noto Sans SC"; src: url("../fonts/NotoSansSC-600.woff2?v=20261112d") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Noto Sans SC"; src: url("../fonts/NotoSansSC-700.woff2?v=20261112d") format("woff2"); font-weight: 700; font-display: swap; }

/* Content area: 1280px wide, as on the main site (--container in style.css) */
:root { --ff-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace; }

/* ---------- header menu: live text instead of the artwork ---------- */
.bnav a { font-family: var(--ff-mono); font-weight: 400; font-size: 20px; line-height: 1; letter-spacing: 0; color: var(--c-text); opacity: .5; transition: opacity .2s; }
.bnav a:hover, .bnav a.is-current { opacity: 1; font-weight: 600; }
.header.is-dark .bnav a { color: var(--c-white); }
/* 10 menu items: tighter on narrower PC screens so the menu never runs into the language switch and button */
@media (max-width: 1600px) { .header .bnav { gap: 20px; } .bnav a { font-size: 18px; } }
@media (min-width: 1601px) and (max-width: 1800px) { .header .bnav { gap: 28px; } }
.bnav-list a { font-family: var(--ff-mono); font-weight: 400; font-size: 22px; line-height: 1; color: var(--c-white); white-space: nowrap; }
/* Footer menu, 10 items: two columns of five on PC (01–05, then 06–10), read top to bottom */
@media (min-width: 601px) { .footer__nav.bnav-list { display: grid; grid-template-rows: repeat(5, auto); grid-auto-flow: column; column-gap: 80px; row-gap: 32px; } }
.spmenu__nav.bnav-list { gap: 32px; }

/* ---------- shared ---------- */
.bsec { position: relative; padding: 160px 0; }
.bsec .section-head { padding-bottom: 80px; }
.btn--ghost { background: transparent; color: var(--c-white); box-shadow: inset 0 0 0 1px var(--c-white); }
[hidden] { display: none !important; }

/* Filter chips (WORKS) */
.bchips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 64px; }
.bchip { padding: 12px 24px; border-radius: 24px; box-shadow: inset 0 0 0 1px var(--c-text); background: var(--c-white); color: var(--c-text);
  font-weight: 500; font-size: 16px; line-height: 1; white-space: nowrap; transition: background-color .2s, color .2s; }
.bchip:hover { background: var(--c-lightgray-01); }
.bchip[aria-pressed="true"] { background: var(--c-text); color: var(--c-white); }

/* ---------- HERO (Figma 749:11051) ----------
   The main site's key visual (.kv: photo, vertical tagline, arrows, phone layout); the copy block is the B案 one:
   logo 80px + logotype 170×70, then the headline artwork and the lead */
.bkv .kv__inner { width: auto; }
.bkv .kv__logo { gap: 20px; }
.bkv__copy { display: flex; flex-direction: column; gap: 24px; }
/* Same entrance as the main top page: the logo floats in (style.css), then the headline and the lead
   float in one after another while their text scrambles into place (kv-scramble.js) */
.bkv__ttl, .bkv__lead { animation: rise-in .9s cubic-bezier(.2, .7, .2, 1) backwards; }
.bkv__ttl { animation-delay: .25s; }
.bkv__lead { animation-delay: .4s; }
/* Headline: Noto Sans Bold 48px in all three languages; the "(We do it all.)" part is 32px */
.bkv__ttl { margin: 0; font-weight: 700; font-size: 48px; line-height: 1.5; color: var(--c-text); white-space: nowrap; }
.bkv__ttl small { font-size: 32px; font-weight: 700; }
/* Chinese page: the Chinese font draws “ ” full-width; the Latin words keep the Japanese font's narrow quotes */
.bkv__latin { font-family: var(--ff-ja); }
.bkv__lead { font-size: 24px; line-height: 1.5; color: var(--c-text); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .bkv__ttl, .bkv__lead { animation: none; } }
/* Narrower PC: the copy shrinks with the screen so the English headline (614px) never runs off */
@media (min-width: 601px) and (max-width: 1100px) {
  .bkv__ttl { font-size: 40px; }
  .bkv__ttl small { font-size: 27px; }
  .bkv .kv__inner { right: 40px; }
  .bkv__lead { font-size: 20px; white-space: normal; }
}

/* ---------- MOVIE ---------- */
.bmovie { background: var(--c-white); }
.bvideo { position: relative; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: var(--c-black); }
.bvideo img { width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: transform .6s cubic-bezier(.25, .8, .25, 1), opacity .3s; }
.bvideo:hover img { transform: scale(1.03); opacity: .85; }
.bvideo__play { position: absolute; left: 50%; top: 50%; width: 80px; height: 80px; margin: -40px 0 0 -40px; border-radius: 50%; background: rgba(255, 255, 255, .9); }
.bvideo__play::after { content: ""; position: absolute; left: 33px; top: 27px; border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent var(--c-text); }
.bvideo__label { position: absolute; left: 24px; bottom: 20px; right: 24px; display: flex; align-items: center; gap: 12px; color: var(--c-white); font-size: 14px; line-height: 1.5; }
.bvideo__tag { flex: none; padding: 4px 10px; border-radius: 4px; background: rgba(255, 255, 255, .9); color: var(--c-text); font-family: var(--ff-mono); font-weight: 600; font-size: 12px; line-height: 1.2; }
.bvideo--main .bvideo__play { width: 112px; height: 112px; margin: -56px 0 0 -56px; }
.bvideo--main .bvideo__play::after { left: 46px; top: 38px; border-width: 18px 0 18px 29px; }
.bvideo--main .bvideo__label { left: 40px; bottom: 32px; font-size: 16px; }
.bmovie__shorts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px; }
.bmovie__shorts .bvideo__play { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
.bmovie__shorts .bvideo__play::after { left: 23px; top: 19px; border-width: 9px 0 9px 15px; }

/* ---------- SERVICES ---------- */
/* The main site's ABOUT (grey band, big symbol, white card with logo and the department list), with:
   the card as wide as the content area (1280px), a text tagline, labels drawn as a shape with live text, a "for whom" line and the consult row */
.bsvc .section-head { padding-bottom: 0; }
.bsvc .about__bg { top: 74px; }
.bsvc .about__card { width: 100%; }
.bsvc .depts { width: auto; max-width: 800px; }
.bsvc .about__logo img:last-child { width: 417px; height: auto; }
.bsvc__tagline { font-family: var(--ff-mono); font-size: 24px; line-height: 1; letter-spacing: 0; color: var(--c-text); }
.bsvc .depts { margin-inline: auto; }
.bsvc .dept__body { gap: 8px; }
.bdept-label { flex: none; width: 140px; height: 32px; display: grid; place-items: center; padding-bottom: 1px;
  background: url("../assets/b/dept-label-bg.svg") center / 100% 100% no-repeat; color: var(--c-white);
  font-weight: 400; font-size: 16px; line-height: 1; letter-spacing: 0; white-space: nowrap; }
.bdept__txt { min-height: 3em; }
.bdept__for { font-size: 16px; line-height: 1.5; letter-spacing: .01em; }
.bdept__for b { font-weight: 600; }
.bsvc__help { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px; margin-top: 40px;
  font-weight: 500; font-size: 20px; line-height: 1.5; letter-spacing: .01em; }

/* ---------- NOW ---------- */
.bnow { background: var(--c-white); }
.bnow__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.bstat { padding: 40px 32px; border-radius: 24px; background: var(--c-lightgray-01); display: flex; flex-direction: column; gap: 8px; }
.bstat__num { display: flex; align-items: baseline; gap: 8px; }
.bstat__num b { font-family: var(--ff-en); font-weight: 600; font-size: 96px; line-height: 1; letter-spacing: .02em; }
.bstat__num span { font-weight: 500; font-size: 24px; }
.bstat__label { font-weight: 500; font-size: 16px; line-height: 1.5; color: var(--c-sub); }
.bnow__asof { margin-top: 24px; text-align: right; font-size: 14px; line-height: 1.5; color: var(--c-sub); }
.bnow__asof span:first-child { font-family: var(--ff-en); font-weight: 500; }

/* ---------- LINEUP ---------- */
/* The main site's carousel (.lineup: stage, track, cards, BACK / NEXT, modal) with the B案 panel:
   white card, maker logo, square photo, name, type and use, availability tags */
.blineup { background: var(--c-lightgray-01); }
.blineup .section-head { padding-bottom: 120px; }
.blineup .lineup__stage { height: calc(var(--panel-h, 740px) * var(--k)); }
.blineup .lineup__card { margin-top: calc(var(--panel-h, 740px) / -2); }
.blineup .lineup__panel { padding: 32px; gap: 16px; box-shadow: 0 8px 24px rgba(0, 0, 0, .08), 0 2px 6px rgba(0, 0, 0, .04); }
.blineup .lineup__logo { width: 100%; height: 28px; }
.blineup .lineup__ph { width: 100%; height: auto; aspect-ratio: 1; }
.blineup .lineup__name { margin-top: 0; line-height: 1.3; }
.bprod__type { display: block; font-size: 14px; line-height: 1.5; color: var(--c-sub); }
.bprod__tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.bprod__tags > span { padding: 6px 12px; border-radius: 4px; background: var(--c-lightgray-01); font-weight: 500; font-size: 13px; line-height: 1.2; }

/* ---------- WORKS ---------- */
/* Rows from the main site's WHAT WE DO (.step: 540px tall, half-width photo with 80px inner corners, alternating);
   the text sits in a 560×380 frame with 16px corner marks, its content 464px wide */
.bworks { background: var(--c-white); padding-bottom: 160px; }
.bworks .step__body { height: 380px; justify-content: center; align-items: center; }
.bcase__corner { position: absolute; width: 16.5px; height: 16.5px; background: url("../assets/b/works-corner.svg") center / 100% 100% no-repeat; }
.bcase__corner--tl { top: 0; left: 0; }
.bcase__corner--tr { top: 0; right: 0; transform: scaleX(-1); }
.bcase__corner--bl { bottom: 0; left: 0; transform: scaleY(-1); }
.bcase__corner--br { bottom: 0; right: 0; transform: rotate(180deg); }
/* Corner marks animate like the main site's USE CASES panels (reveal.js adds .has-corners, then .is-open):
   all four wait stacked in the middle of the frame, then spread to the corners — fast first, settling slowly */
.has-corners .bcase__corner { opacity: 0; transition: transform .9s cubic-bezier(.16, 1, .3, 1) .35s, opacity .3s ease-out .25s; }
.has-corners .bcase__corner--tl { transform: translate(var(--cx), var(--cy)); }
.has-corners .bcase__corner--tr { transform: translate(calc(var(--cx) * -1), var(--cy)) scaleX(-1); }
.has-corners .bcase__corner--bl { transform: translate(var(--cx), calc(var(--cy) * -1)) scaleY(-1); }
.has-corners .bcase__corner--br { transform: translate(calc(var(--cx) * -1), calc(var(--cy) * -1)) rotate(180deg); }
.has-corners.is-open .bcase__corner { opacity: 1; }
.has-corners.is-open .bcase__corner--tl { transform: none; }
.has-corners.is-open .bcase__corner--tr { transform: scaleX(-1); }
.has-corners.is-open .bcase__corner--bl { transform: scaleY(-1); }
.has-corners.is-open .bcase__corner--br { transform: rotate(180deg); }
.bcase__head .scr { flex: none; }
.bcase__inner { width: 464px; max-width: 100%; display: flex; flex-direction: column; }
.bcase__head { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 40px; }
.bcase__num { display: block; flex: none; height: 29px; width: auto; } /* "CASE:01" artwork, #ababab */
.bcase__tag { display: inline-flex; align-items: center; height: 28px; padding: 0 16px; background: #ababab; color: var(--c-white); font-weight: 500; font-size: 16px; line-height: 1; letter-spacing: .01em; white-space: nowrap; }
.bworks .step__ttl { margin-bottom: 16px; }
.bcase__foot { margin-top: 24px; font-size: 14px; line-height: 1.5; letter-spacing: .01em; }

/* ---------- VISIT ---------- */
.bvisit { background: var(--c-white); }
.bvisit__body { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.bvisit__lab { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.bvisit__ph { width: 100%; aspect-ratio: 600 / 337; border-radius: 24px; overflow: hidden; margin-bottom: 16px; }
.bvisit__ph img { width: 100%; height: 100%; object-fit: cover; }
.bvisit__ttl { font-weight: 500; font-size: 24px; line-height: 1.5; letter-spacing: .04em; }
.bvisit__txt { font-size: 16px; line-height: 1.6; letter-spacing: .01em; margin-bottom: 16px; }
.bevents { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--c-text); }
.bevent { display: flex; gap: 32px; padding: 28px 0; border-bottom: 1px solid var(--c-lightgray-02); }
.bevent__date { flex: none; width: 120px; font-family: var(--ff-en); font-weight: 600; font-size: 20px; line-height: 1.5; }
.bevent__name { font-weight: 500; font-size: 18px; line-height: 1.5; }
.bevent__desc { margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--c-sub); }

/* ---------- FOR MAKERS ---------- */
.bmakers .catch { font-family: var(--ff-en); font-weight: 600; letter-spacing: .02em; }
.bmakers__cols { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 64px; }
.bmakers__col { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding: 48px; border-radius: 24px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.bmakers__col:lang(zh) { font-family: "Noto Sans SC", var(--ff-ja); }
.bmakers__lang { font-family: var(--ff-mono); font-weight: 600; font-size: 14px; letter-spacing: .08em; color: rgba(255, 255, 255, .6); }
.bmakers__txt { font-size: 18px; line-height: 1.7; }
.dark-band .bmakers__col .btn { margin-top: auto; }

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .bsvc .about__card { padding: 120px 64px; }
  .bnow__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1100px) {
  .bworks .step__body, .bworks .step--reverse .step__body { position: relative; left: auto; top: auto; height: auto; margin: 40px 16px 80px; padding: 48px 32px; }
  .bworks .step:last-child .step__body { margin-bottom: 0; padding-bottom: 48px; }
  .bvisit__body { grid-template-columns: 1fr; gap: 64px; }
}
@media (max-width: 600px) {
  .bsec { padding: 80px 0; }
  .bsec .section-head { padding-bottom: 40px; }
  .bnav-list a { font-size: 16px; }
  .footer__nav.bnav-list { gap: 20px 24px; }
  /* 5 menu rows fill the footer's spare height: keep 24px more room under the tagline (privacy link and the rest follow) */
  .is-b .footer__menu-row { margin-top: 24px; }
  /* Phone: smaller logo and copy so the block ends above the work table in the photo */
  .bkv .kv__inner { top: calc(16% - 28px); } /* 16px higher than the main site's phone hero */
  .bkv .kv__logo .kv__logo-sp { width: 240px; }
  .bkv__copy { align-items: center; gap: 12px; }
  .bkv__ttl { font-size: 26px; text-align: center; }
  .bkv__ttl small { font-size: 17px; }
  .bkv__lead { font-size: 13px; text-align: center; white-space: normal; }
  .blineup .section-head { padding-bottom: 48px; }
  /* cards are shown at half size on phones (main site): the small panel text is set larger so it stays readable */
  .blineup .lineup__logo { height: 40px; }
  .blineup .lineup__name { font-size: 36px; }
  .bprod__type { font-size: 24px; }
  .bprod__tags { gap: 12px; }
  .bprod__tags > span { padding: 10px 16px; font-size: 22px; }
  .bvideo { border-radius: 16px; }
  .bvideo--main .bvideo__play { width: 72px; height: 72px; margin: -36px 0 0 -36px; }
  .bvideo--main .bvideo__play::after { left: 30px; top: 24px; border-width: 12px 0 12px 19px; }
  .bvideo--main .bvideo__label, .bvideo__label { left: 16px; right: 16px; bottom: 14px; font-size: 13px; }
  .bmovie__shorts { grid-template-columns: 1fr; gap: 16px; margin-top: 16px; }
  .bmakers__cols { grid-template-columns: 1fr; }
  .bsvc .about__card { padding: 48px 24px; }
  .bsvc .about__logo img:last-child { width: 194.4px; }
  .bsvc__tagline { font-size: 14px; }
  .bdept__txt { min-height: 0; }
  .bdept__for { font-size: 14px; }
  .bsvc .dept__head { flex-direction: column; gap: 12px; }
  .bsvc__help { flex-direction: column; margin-top: 40px; font-size: 15px; text-align: center; }
  .bsvc__help .btn, .bmakers__col .btn, .bvisit__lab .btn { font-size: 16px; border-radius: 24px; }
  .bnow__grid { gap: 12px; }
  .bstat { padding: 24px 20px; border-radius: 16px; }
  .bstat__num b { font-size: 56px; }
  .bstat__num span { font-size: 18px; }
  .bstat__label { font-size: 13px; }
  .bnow__asof { font-size: 12px; }
  .bvisit__ttl { font-size: 20px; }
  .bevent { gap: 16px; padding: 20px 0; }
  .bevent__date { width: 96px; font-size: 16px; }
  .bevent__name { font-size: 16px; }
  .bmakers__cols { margin-top: 40px; gap: 16px; }
  .bchips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 0 -24px 32px; padding: 2px 24px; scrollbar-width: none; }
  .bchip { padding: 10px 18px; font-size: 14px; }
  .bworks .step__body { margin: 32px 24px 64px; padding: 40px 24px; }
  .bworks .step:last-child .step__body { padding-bottom: 40px; }
  .bcase__head { margin-bottom: 24px; }
  .bcase__num { height: 20px; }
  .bcase__tag { font-size: 13px; height: 24px; padding: 0 10px; }
  .bworks .step__ttl { font-size: 18px; }
  .bworks .step__txt { font-size: 14px; }
  .bcase__foot { margin-top: 16px; font-size: 12px; }
  .bmakers__col { padding: 32px 24px; border-radius: 16px; }
  .bmakers__txt { font-size: 15px; }
}
