/* Self-hosted fonts, cut down to the characters the site uses (rebuild with tools/subset-fonts.py, then bump ?v=) */
@font-face { font-family: "Barlow"; src: url("fonts/Barlow-500.woff2?v=20261109a") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/Barlow-600.woff2?v=20261109a") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Noto Sans JP"; src: url("fonts/NotoSansJP-400.woff2?v=20261118a") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Noto Sans JP"; src: url("fonts/NotoSansJP-500.woff2?v=20261118a") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Noto Sans JP"; src: url("fonts/NotoSansJP-600.woff2?v=20261118a") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Noto Sans SC"; src: url("fonts/NotoSansSC-400.woff2?v=20261118a") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Noto Sans SC"; src: url("fonts/NotoSansSC-500.woff2?v=20261118a") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Noto Sans SC"; src: url("fonts/NotoSansSC-600.woff2?v=20261118a") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --c-text: #333;
  --c-sub: #666;
  --c-lightgray-01: #f5f5f5;
  --c-lightgray-02: #ccc;
  --c-grey: #e2e2e2;
  --c-white: #fff;
  --c-black: #000;
  --c-link: #1a73e8;
  --ff-ja: "Noto Sans JP", "Noto Sans", sans-serif;
  --ff-en: "Barlow", sans-serif;
  --container: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 128px; overflow-x: clip; }
body { overflow-x: clip; margin: 0; font-family: var(--ff-ja); color: var(--c-text); background: var(--c-white); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: none; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, dl, dd, ol { margin: 0; padding: 0; }
ol { list-style: none; }
button { font: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

.container { width: min(var(--container), 100% - 32px); margin-inline: auto; position: relative; }

/* Chinese uses Simplified Chinese glyphs; English lines may need to wrap */
html:lang(zh-Hans) body { font-family: "Noto Sans SC", var(--ff-ja); }
html:not(:lang(ja)) .catch--left { white-space: normal; }

/* ---------- common ---------- */
.ttl { display: flex; justify-content: center; }
.section-head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.section-head > .ttl { margin-bottom: 80px; }
.catch { font-weight: 500; font-size: 40px; line-height: 1.5; letter-spacing: 0.08em; }
.catch--left { text-align: left; white-space: nowrap; }
.desc { margin-top: 24px; font-size: 18px; line-height: 1.5; letter-spacing: 0.08em; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 40px; font-weight: 600; line-height: 1; white-space: nowrap;
  transition: opacity .2s;
}
.btn:hover { opacity: .8; }
.btn--sm { font-size: 16px; border-radius: 24px; }
.btn--md { font-size: 20px; border-radius: 26px; }
.btn--lg { font-size: 24px; border-radius: 28px; }
.btn--dark { background: var(--c-text); color: var(--c-white); }
.btn--light { background: var(--c-white); color: var(--c-text); }

.lang { display: flex; align-items: center; gap: 4px; }
.lang--header a.swap:not(:hover):not(.is-current) { opacity: .5; }
.lang--footer a.swap:not(:hover):not(.is-current) { opacity: .5; }

/* Normal / active part swap (header menu, language switch) */
.swap { position: relative; display: block; transition: opacity .2s; }
.swap__active { position: absolute; left: -.25px; top: -.25px; visibility: hidden; }
.swap:not(.is-hover-off):hover .swap__normal, .swap.is-current .swap__normal { visibility: hidden; }
.swap:not(.is-hover-off):hover .swap__active, .swap.is-current .swap__active { visibility: visible; }

.nowrap { display: inline-block; } /* keeps a phrase on one line when the copy wraps */

/* ---------- header ---------- */
/* Dark parts on light backgrounds, white parts over dark sections */
.header [data-tone="light"], .header.is-dark [data-tone="dark"] { display: none; }
.header.is-dark [data-tone="light"] { display: block; }
/* Three columns: mark | menu (centered) | language + button, without absolute/transform positioning */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: 128px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 40px; padding: 0 80px;
}
.header__symbol { justify-self: start; }
.header__nav { display: flex; align-items: center; gap: 40px; }
.header__nav .swap:not(.is-current):is(:not(:hover), .is-hover-off) { opacity: .5; }
/* Header menu text at 20px (parts were drawn at 18px: scale by 20/18) */
.header__nav .swap__normal { width: auto; height: calc(13px * 20 / 18); }
/* The larger active part grows from the center of the normal one */
.header__nav .swap__active { width: auto; height: calc(14px * 20 / 18); left: 50%; top: 50%; transform: translate(-50%, -50%); }
/* FAQ part is 16px tall (Q tail) for the same letters as the 14px parts: scale to match, and drop it so the letters share the baseline */
.header__nav a[href$="#faq"] .swap__normal { height: calc(13px * 20 / 18 * 16 / 14); }
.header__nav a[href$="#faq"] .swap__active { height: calc(14px * 20 / 18 * 16 / 14); }
.header__nav a[href$="#faq"] { top: calc(1px * 20 / 18 * 16 / 14); }
.header__right { justify-self: end; display: flex; align-items: center; gap: 40px; }
.header .btn--dark { background: rgba(0, 0, 0, .75); }
/* Fade the header out over the footer */
.header { transition: opacity .4s, visibility .4s; }
.header.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.header .btn { transition: opacity .2s, background-color .3s, color .3s, box-shadow .3s; }
/* Over dark sections (CTA / CONTACT / footer): swap to light-on-dark */
.header.is-dark .btn--dark { background: var(--c-white); color: var(--c-text); }
/* Menu icon (phone only): a 32px plus; it turns 45deg into a close mark while the menu is open */
.header__menu { display: none; position: relative; width: 40px; height: 40px; padding: 0; border: 0; background: none; color: #333; cursor: pointer; }
.header__menu span { position: absolute; left: 4px; top: 19px; width: 32px; height: 2px; background: currentColor; transition: background-color .3s, transform .3s; }
.header__menu span:nth-child(2) { transform: rotate(90deg); }
.header__menu span:nth-child(3) { display: none; }
.header.is-dark .header__menu { color: var(--c-white); }

/* BAKERU Robotics logos link back to the top of the page */
.kv__logo, .about__logo, .cta__logo, .footer__logo, .footer__mini-logo, .header__symbol { transition: opacity .2s; }
:is(.kv__logo, .about__logo, .cta__logo, .footer__logo, .footer__mini-logo, .header__symbol):hover { opacity: .7; }

/* ---------- KV ---------- */
.kv { position: relative; height: 1080px; overflow: hidden; background: var(--c-white); }
/* Screens wider than 1920px: the hero grows with the width (16:9) so the photo is never cropped top and bottom */
@media (min-width: 1921px) { .kv { height: 56.25vw; } .kv .kv__scroll { top: auto; bottom: 80px; } } /* tagline + arrows keep their 80px from the bottom */
.kv__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kv__inner {
  /* Never closer than 40px to the vertical tagline (left 80px, 16px wide), which stays put on narrower screens */
  position: absolute; top: 50%; left: max(136px, calc(50% - 640px)); transform: translateY(-50%);
  width: 560px; display: flex; flex-direction: column; gap: 40px;
}
.kv__logo { display: flex; width: fit-content; align-items: center; gap: 25px; }
.kv__lead { font-size: 32px; line-height: 1.5; color: var(--c-text); }
.kv__lead-noise { opacity: .45; }
.kv__logo-sp, .kv__tagline-sp { display: none; } /* phone-only parts */
.kv__scroll { position: absolute; left: 80px; top: 598px; display: flex; flex-direction: column; align-items: center; gap: 23px; }
/* Small tablets: no room for the vertical tagline beside the logo, so it goes and the logo moves to the 40px margin */
@media (min-width: 601px) and (max-width: 800px) { .kv__scroll { display: none; } .kv__inner { left: 40px; } }
.kv__arrows { display: flex; flex-direction: column; gap: 8px; }
/* Blink the arrows one after another, top to bottom, to lead the eye downward */
.kv__arrows img { opacity: .2; animation: kv-arrow-blink 1.5s ease-in-out infinite; }
.kv__arrows img:nth-child(2) { animation-delay: .25s; }
.kv__arrows img:nth-child(3) { animation-delay: .5s; }
@keyframes kv-arrow-blink { 0%, 60%, 100% { opacity: .2; } 20% { opacity: 1; } }

/* FAQ */
.faq { background: var(--c-white); padding: 160px 0; }
.faq .section-head { padding-bottom: 80px; }
.faq__list { max-width: 1280px; margin: 0 auto; border-bottom: 1px solid var(--c-text); }
.faq__item { border-top: 1px solid var(--c-text); padding: 40px 0; }
.faq__q { position: relative; display: flex; align-items: center; min-height: 32px; padding: 0 68px 0 112px; cursor: pointer; list-style: none;
  font-weight: 500; font-size: 20px; line-height: 1.5; letter-spacing: .01em; color: var(--c-text); }
.faq__q::-webkit-details-marker { display: none; }
.faq__num { position: absolute; left: 24px; top: 50%; transform: translateY(-14px); height: 33px; width: auto; }
.faq__arrow { position: absolute; width: 20px; height: 12px; flex: none; right: 24px; top: 50%; margin-top: -6px; transition: transform .25s; }
.faq__item[open] .faq__arrow { transform: rotate(180deg); }
.faq__q:hover span { opacity: .7; }
.faq__a { position: relative; margin-top: 40px; padding: 0 24px 0 112px; }
.faq__a-mark { position: absolute; left: 70px; top: 2px; }
.faq__a p { font-size: 16px; line-height: 1.5; letter-spacing: .01em; color: var(--c-text); }

@media (prefers-reduced-motion: reduce) { .kv__arrows img { animation: none; opacity: 1; } }

/* Page load: hero parts and header items float up and fade in, one after another.
   fill-mode "backwards" keeps them hidden until their turn, then hands control back
   (so the header's own fade-out over the footer keeps working). */
@keyframes rise-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.kv__logo, .kv__lead, .kv__scroll, .header > * { animation: rise-in .9s cubic-bezier(.2, .7, .2, 1) backwards; }
.kv__logo { animation-delay: .1s; }
.kv__lead { animation-delay: .25s; }
.header__symbol { animation-delay: .45s; }
.header__nav { animation-delay: .55s; }
.header__right { animation-delay: .65s; }
.kv__scroll { animation-delay: .8s; }
@media (prefers-reduced-motion: reduce) { .kv__logo, .kv__lead, .kv__scroll, .header > * { animation: none; } }

/* Below the hero: parts marked by reveal.js float up and fade in when scrolled into view */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Section titles: brackets start joined as the symbol in the middle, slide apart, then the word appears */
.ttl__svg { display: block; overflow: visible; }
.ttl__part, .ttl__word { transform-box: view-box; }
/* symbol appears, blinks twice (0–0.35s), opens (0.45–1.25s), then the word fades in (1.15–1.75s) */
@keyframes ttl-blink { 0% { opacity: 0; } 15% { opacity: 1; } 30% { opacity: 0; } 45% { opacity: 1; } 60% { opacity: 0; } 75%, 100% { opacity: 1; } }
.ttl--anim .ttl__part { opacity: 0; transition: transform .8s cubic-bezier(.16, 1, .3, 1) .45s; } /* opens fast, settles slowly */
.ttl--anim .ttl__part--l { transform: translateX(var(--shift)); }
.ttl--anim .ttl__part--r { transform: translateX(calc(var(--shift) * -1)); }
.ttl--anim .ttl__word { opacity: 0; transition: opacity .6s ease-out 1.15s; }
.ttl--anim.is-open .ttl__part { opacity: 1; transform: none; animation: ttl-blink .35s steps(1, end); }
.ttl--anim.is-open .ttl__word { opacity: 1; }

/* Scramble on outlined-SVG headings: real glyphs are uncovered left to right, noise covers the rest */
.scr { position: relative; display: block; width: fit-content; max-width: 100%; }
.scr.is-pending img { clip-path: inset(0 100% 0 0); }
.scr__noise {
  position: absolute; left: 0; right: 0; top: 0; height: calc(100% - var(--scr-mb, 0px));
  display: none; align-items: center; overflow: hidden; white-space: nowrap;
  font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace; line-height: 1; color: #999; letter-spacing: 0;
}
.scr.is-running .scr__noise { display: flex; }
.scr:has(.step__head) { --scr-mb: 40px; }
.scr:has(.tile__case) { --scr-mb: 0px; }

/* Footer logo: outline drawn with a 1px line, then the fill fades in and the line fades away (paths prepared by reveal.js) */
.draw-logo .draw-logo__fill { fill-opacity: 0; }
.draw-logo .draw-logo__line { fill: none; stroke: currentColor; stroke-dasharray: 1; stroke-dashoffset: 1; }
.draw-logo.is-drawn .draw-logo__line { stroke-dashoffset: 0; stroke-opacity: 0; transition: stroke-dashoffset 1.4s cubic-bezier(.45, 0, .2, 1), stroke-opacity .4s ease-out 2s; }
.draw-logo.is-drawn .draw-logo__fill { fill-opacity: 1; transition: fill-opacity .8s ease-out 1.2s; }
.footer__logo { color: var(--c-white); }

/* USE CASES corner marks (added by reveal.js in place of the frame images):
   start stacked in the middle, then spread to the four corners — fast first, settling slowly */
.has-corners .tile__frame { display: none; }
.tile__corner { position: absolute; width: 9px; height: 9px; opacity: 0;
  transition: transform .9s cubic-bezier(.16, 1, .3, 1) .35s, opacity .3s ease-out .25s; }
.tile__corner--tl { top: 0; left: 0; transform: translate(var(--cx), var(--cy)); }
.tile__corner--tr { top: 0; right: 0; transform: translate(calc(var(--cx) * -1), var(--cy)); }
.tile__corner--bl { bottom: 0; left: 0; transform: translate(var(--cx), calc(var(--cy) * -1)); }
.tile__corner--br { bottom: 0; right: 0; transform: translate(calc(var(--cx) * -1), calc(var(--cy) * -1)); }
.has-corners.is-open .tile__corner { transform: none; opacity: 1; }

/* ---------- ABOUT ---------- */
.about { position: relative; overflow: hidden; background: var(--c-grey); padding: 160px 0; }
.about__bg { position: absolute; left: calc(50% + 181px); top: -67px; pointer-events: none; opacity: .05; }
.about__logo { display: flex; width: fit-content; align-items: center; gap: 12px; }
.about__card { position: relative; width: fit-content; margin: 80px auto 0; padding: 160px 240px; background: var(--c-white, #fff); border-radius: 24px; }
.about__brand { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.about__tagline { display: block; }
.depts { list-style: none; margin: 80px 0 0; padding: 0; width: 800px; display: flex; flex-direction: column; gap: 40px; }
.dept { display: flex; align-items: center; gap: 32px; }
.dept__icon { flex: none; width: 160px; height: 160px; display: grid; place-items: center; background: #f5f5f5; border-radius: 24px; }
.dept__body { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.dept__head { display: flex; align-items: center; gap: 16px; margin: 0; font-size: 20px; font-weight: 500; line-height: 1.5; letter-spacing: .01em; color: var(--c-text); }
.dept__head img { flex: none; }
.dept__txt { margin: 0; font-size: 16px; line-height: 1.5; letter-spacing: .01em; color: var(--c-text); }

/* ---------- WHAT WE DO ---------- */
.what { background: var(--c-lightgray-01); padding: 160px 0; }
.what .section-head { padding-bottom: 80px; }
.step { position: relative; height: 540px; overflow: hidden; }
.step__ph { position: absolute; top: 0; bottom: 0; width: 50%; overflow: hidden; background: var(--c-white); }
.step__ph img { width: 100%; height: 100%; object-fit: cover; }
.step__ph--left { left: 0; border-radius: 0 80px 80px 0; }
.step__ph--right { right: 0; border-radius: 80px 0 0 80px; }

.step__body {
  position: absolute; top: 50%; transform: translateY(-50%); width: 560px;
  left: calc(50% + 80px); display: flex; flex-direction: column;
}
.step--reverse .step__body { left: max(16px, calc(50% - 640px)); }
.step__head { max-width: 100%; height: auto; margin-bottom: 40px; }
.step__ttl { font-weight: 500; font-size: 20px; line-height: 1.5; letter-spacing: 0.01em; margin-bottom: 8px; }
.step__txt { font-size: 16px; line-height: 1.5; letter-spacing: 0.01em; }

/* ---------- dark bands (CTA / CONTACT) ---------- */
.dark-band { position: relative; overflow: hidden; background: var(--c-black); color: var(--c-white); padding: 160px 0; }
.dark-band__floor { position: absolute; left: 0; top: 0; width: 100%; height: 1080px; object-fit: cover; }
.dark-band__shade { position: absolute; inset: 0; background: rgba(0, 0, 0, .75); mix-blend-mode: multiply; }
.dark-band__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.dark-band .desc { color: var(--c-white); }
.cta__union { position: absolute; left: -155px; top: -231px; width: 935.19px; height: 1015.5px; }
.contact__union { position: absolute; left: -155px; top: -157px; width: 935.19px; height: 1008.18px; }
.cta__catch {
  display: flex; align-items: center; gap: 16px;
  font-weight: 500; font-size: 40px; line-height: 1; letter-spacing: 0.08em; white-space: nowrap;
}
.cta__logo { display: flex; align-items: center; gap: 12px; }
.cta .desc { margin-top: 40px; }
.dark-band .btn { margin-top: 64px; }
/* CONTACT: contact for makers in mainland China, a white card under the button (text + WeChat QR) */
.contact__cn { font-family: "Noto Sans SC", var(--ff-ja); margin-top: 64px; padding: 16px 40px; display: flex; align-items: center; gap: 16px; background: var(--c-white); border-radius: 24px; color: var(--c-text); text-align: left; }
.contact__cn p { margin: 0; width: 279px; font-size: 18px; line-height: 1.5; letter-spacing: .08em; }
.contact__qr { flex: none; width: 200px; height: 268px; border-radius: 8px; }
@media (max-width: 600px) {
  .contact__cn { margin-top: 48px; padding: 24px; flex-direction: column; text-align: center; }
  .contact__cn p { width: auto; font-size: 14px; letter-spacing: .04em; }
  .contact__qr { width: 160px; height: auto; }
}

/* ---------- USE CASES ---------- */
.cases { background: var(--c-lightgray-01); padding: 160px 0; }
.cases .section-head { padding-bottom: 80px; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 600px)); justify-content: center; gap: 80px; }
.tile { position: relative; display: flex; flex-direction: column; align-items: center; gap: 40px; }
.tile__ph { width: 100%; aspect-ratio: 600 / 337; flex-shrink: 0; border-radius: 24px; overflow: hidden; background: var(--c-white); }
.tile__ph img { width: 100%; height: 100%; object-fit: cover; }
.tile__body { position: relative; width: calc(100% - 64px); height: 228px; display: flex; align-items: center; justify-content: center; }
.tile__frame { position: absolute; left: 0; width: 100%; height: 8.5px; }
.tile__frame--top { top: -0.5px; }
.tile__frame--bottom { bottom: -0.5px; transform: rotate(180deg); }
.tile__content { width: 440px; }
/* case labels are white SVGs; tinted to #666 */
.tile__case { display: block; width: auto; height: 24px; filter: brightness(.4); }
/* gap below the label sits on its scramble wrapper (a margin on the block img would collapse out of it) */
.tile__content > .tile__case, .scr:has(.tile__case) { margin-bottom: 20px; }
.tile__ttl { font-weight: 500; font-size: 18px; line-height: 1.5; letter-spacing: 0.01em; margin-bottom: 8px; }
.tile__txt { font-size: 16px; line-height: 1.5; letter-spacing: 0.01em; }
.tile__txt + .tile__txt { margin-top: 8px; }

/* ---------- NEWS ---------- */
.news { background: var(--c-lightgray-01); padding: 160px 0; } /* lighter than ABOUT above it, so the two sections read apart */
.news .section-head { padding-bottom: 80px; }
/* Viewport clips sideways but leaves room above/below for the card shadows */
.news__viewport { overflow: hidden; padding: 24px 0 40px; margin: -24px 0 -40px; }
.news__track {
  display: flex; gap: 40px;
  padding-inline: max(16px, calc(50% - 640px));
  transition: transform .5s cubic-bezier(.25, .8, .25, 1);
}
.news__track.is-centered { justify-content: center; }
.card {
  flex: 0 0 400px; background: var(--c-white); border-radius: 24px; padding-bottom: 32px; overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08), 0 2px 6px rgba(0, 0, 0, .04);
}
.card__ph { height: 225px; overflow: hidden; background: var(--c-lightgray-02); }
.card__ph img { width: 100%; height: 100%; object-fit: cover; }
.card__body { width: 336px; margin: 32px auto 0; }
.card__ttl { font-weight: 500; font-size: 18px; line-height: 1.5; letter-spacing: 0.01em; }
.card__date { margin-top: 8px; font-family: var(--ff-en); font-weight: 500; font-size: 16px; line-height: 1; color: rgba(0, 0, 0, .5); }
.card__txt { margin-top: 16px; font-size: 16px; line-height: 1.5; letter-spacing: 0.08em; word-break: break-all; }
.news__foot { display: flex; justify-content: center; margin-top: 66px; }
.news__nav { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: flex; gap: 24px; }
.news__arrow { width: 12px; height: 20px; display: flex; align-items: center; justify-content: center; }
.news__arrow:disabled { opacity: .3; cursor: default; }

/* ---------- COMPANY ---------- */
.company { background: var(--c-white); padding: 160px 0; }
.company .ttl { margin-bottom: 80px; }
.company__body { display: flex; justify-content: space-between; gap: 80px; }
.company__left { display: flex; flex-direction: column; gap: 40px; }
.company__logos { display: flex; align-items: center; gap: 40px; }
.company__table { width: 494px; flex-shrink: 0; border-top: 1px solid var(--c-lightgray-02); }
.company__table > div { display: flex; gap: 52px; padding: 18.5px 0; border-bottom: 1px solid var(--c-lightgray-02); font-weight: 500; font-size: 14px; line-height: 1.5; }
.company__table dt { width: 44px; flex-shrink: 0; color: var(--c-sub); }
.company__table dd { color: var(--c-text); }

/* ---------- footer ---------- */
.footer { position: relative; height: 1080px; overflow: hidden; background: var(--c-black); color: var(--c-white); }
.footer__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.footer__shade { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); mix-blend-mode: multiply; }
.footer__brand { position: absolute; left: 50%; top: 120px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 24px; }
.footer__logo { display: flex; align-items: center; gap: 30.189px; height: 121px; }
.footer__logo-sp { display: none; }
/* PC: the row wrapper is transparent so the menu and SNS keep their absolute positions */
.footer__menu-row { display: contents; }
.footer__tagline { max-width: 100%; height: auto; }
.footer__nav { position: absolute; left: 80px; top: 360px; display: flex; flex-direction: column; gap: 38px; }
.footer__nav a:hover, .footer__privacy:hover { opacity: .7; }
.footer__privacy { position: absolute; left: 80px; bottom: 296px; font-size: 16px; line-height: 1; }
.footer__actions { position: absolute; left: 80px; bottom: 114px; display: flex; align-items: center; gap: 40px; }
.footer__group a, .company__logos a { display: block; transition: opacity .2s; }
.footer__group a:hover, .company__logos a:hover { opacity: .7; }
.footer__group { position: absolute; right: 79.6px; bottom: 114px; display: flex; align-items: center; gap: 32px; }
.footer__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 90px; display: flex; align-items: center; justify-content: space-between; padding: 0 80px; font-size: 14px; line-height: 1; }
.footer__bar-left { display: flex; align-items: center; gap: 32px; }
.footer__mini-logo { display: flex; align-items: center; gap: 6px; }
.footer__mini-logo-sp { display: none; }
.footer__bar small { font-family: var(--ff-en); font-weight: 500; font-size: 14px; }
/* Note on AI-generated images: black band under the footer */
.ai-note { margin: 0; padding: 16px 80px; background: var(--c-black); color: var(--c-white); font-size: 12px; line-height: 1.6; text-align: center; }
@media (max-width: 600px) { .ai-note { padding: 16px 24px; text-align: left; } }

/* ---------- responsive ---------- */
@media (max-width: 1440px) {
  .header { padding: 0 40px; }
  .header__nav { gap: 24px; }
  .footer__logo > :nth-child(2) { width: 70vw; height: auto; }
}
@media (max-width: 1100px) {
  .header { grid-template-columns: 1fr auto; }
  .header__nav { display: none; }
  .catch { font-size: 28px; }
  .catch--left { white-space: normal; }
  .step { height: auto; display: flex; flex-direction: column; }
  .step__ph { position: relative; width: 100%; height: 56vw; border-radius: 0; }
  .step__body, .step--reverse .step__body { position: static; transform: none; width: auto; padding: 40px 16px 80px; }
  .tiles { grid-template-columns: 1fr; gap: 48px; }
  .tile { gap: 24px; }
  .tile__body { width: calc(100% - 32px); height: auto; }
  .tile__frame { width: 100%; }
  .tile__content { width: auto; padding: 32px 24px; }
  .company__body { flex-direction: column; }
  .company__table { width: 100%; }
  .cta__catch { flex-wrap: wrap; justify-content: center; white-space: normal; font-size: 28px; }
  .cta__logo img:last-child { width: 280px; height: auto; }
}
@media (max-width: 600px) {
  /* Phone: section buttons (相談する / もっと見る) match the header button size */
  .dark-band .btn, .news__foot .btn { font-size: 16px; border-radius: 24px; }
  /* Phone side margins: 24px */
  /* Phone top/bottom margins of each section: 80px */
  .faq__item { padding: 24px 0; }
  .faq__q { align-items: flex-start; padding: 0 36px 0 56px; font-size: 16px; }
  .faq__num { left: 0; top: 0; transform: none; height: 24px; }
  .faq__arrow { right: 0; top: 6px; margin-top: 0; }
  .faq__a { margin-top: 16px; padding: 0 0 0 56px; }
  .faq__a-mark { left: 22px; width: 18px; height: auto; }
  .faq__a p { font-size: 14px; }
  .about, .what, .dark-band, .cases, .news, .company, .faq { padding-top: 80px; padding-bottom: 80px; }
  .step:last-child .step__body { padding-bottom: 0; }
  /* Phone: gap between section title and catch copy */
  .section-head > .ttl, .company .ttl { margin-bottom: 40px; }
  /* Phone: gap between catch copy and description */
  .desc { margin-top: 12px; }
  /* Phone: gap between WHAT WE DO heading SVG and its title */
  .step__head { margin-bottom: 24px; }
  .scr:has(.step__head) { --scr-mb: 24px; }
  .container { width: calc(100% - 48px); }
  .header { height: 72px; padding: 0 24px; }
  .header .lang, .header .js-consult { display: none; }
  /* Phone header: symbol 40×40, button 120×40 with 20px corners */
  .header__symbol img { width: 40px; height: 40px; }
  .header .btn { width: 120px; height: 40px; padding: 0; border-radius: 20px; font-size: 13.33px; }
  .header__right { gap: 20px; }
  .header__menu { display: block; }
  .kv { height: 100svh; min-height: 640px; }
  /* Phone hero image: cropped per screen; the crop is centred on the work table (about 60% down the image) */
  .kv__bg { object-position: 50% 60%; }
  /* Phone hero: centred stacked logo and catch copy over the image, tagline near the bottom.
     Positions are shares of the screen height so they keep their place on the image on any phone */
  .kv__inner { width: auto; left: 24px; right: 24px; top: calc(16% - 12px); transform: none; align-items: center; gap: 20px; }
  .kv__logo img { display: none; }
  .kv__logo .kv__logo-sp { display: block; width: 311px; height: auto; } /* the file has 24px of space above the symbol at this width */
  .kv__lead { font-size: 18px; line-height: 1.5; text-align: center; }
  .kv__tagline-sp { display: block; position: absolute; left: 50%; top: calc(82% + 76px); width: 292px; height: auto; transform: translateX(-50%); }
  .kv__scroll { display: none; }
  .ttl img, .ttl__svg { height: 28px; width: auto; }
  .catch { font-size: 22px; }
  .desc { font-size: 14px; }
  /* Phone: ABOUT logo at 81% (90% × 90%) of symbol 48px + logotype 240px, gap 12px */
  .about__logo { gap: 9.72px; }
  .about__logo img:first-child { width: 38.88px; height: 38.88px; }
  .about__logo img:last-child { width: 194.4px; height: auto; }
  .about__card { width: auto; margin-top: 48px; padding: 48px 32px; }
  .about__brand { gap: 16px; }
  .about__tagline { width: 193px; height: auto; }
  /* Phone: each department stacks icon / label + title / text, centred (Figma 653:10184) */
  .depts { width: auto; margin-top: 40px; gap: 40px; }
  .dept { flex-direction: column; align-items: center; gap: 32px; }
  .dept__body { gap: 16px; width: 100%; }
  .dept__head { justify-content: center; }
  /* One card fills the width between the 24px margins */
  .card { flex-basis: calc(100vw - 48px); }
  .news__track { padding-inline: 24px; gap: 24px; }
  .card__body { width: auto; padding: 0 24px; }
  /* Phone: body text stops at 3 lines and ends with "…" */
  .card__txt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
  .news__foot { flex-direction: column; align-items: center; gap: 24px; }
  .news__nav { position: static; transform: none; }
  .step__body, .step--reverse .step__body { padding: 40px 24px 80px; }
  /* Phone: footer is at least 724px tall; logo block sits 64px from the top, the rest stays at the bottom */
  .footer { height: auto; min-height: 762px; /* +38px for the 4th menu row (07.CONTACT) */ padding: 64px 24px 0; display: flex; flex-direction: column; justify-content: flex-end; }
  .footer__brand { margin-bottom: auto; }
  .footer > *:not(.footer__bg):not(.footer__shade) { position: relative; inset: auto; transform: none; }
  /* Phone: stacked logo replaces the horizontal mark + logotype */
  .footer__logo { height: auto; }
  .footer__logo > * { display: none; }
  .footer__logo .footer__logo-sp { display: block; width: 240px; height: auto; }
  .footer__tagline { width: 280px; max-width: 100%; height: auto; }
  .footer__nav { gap: 24px; margin-bottom: 48px; } /* sits 48px above the privacy link */
  /* Menu on the left, the X icon on the right at the same height */
  .footer__menu-row { display: flex; justify-content: center; align-items: flex-start; } /* menu block centered */
  .footer__menu-row > * { position: static; }
  .company .catch--left { text-align: center; } /* phone: COMPANY catch copy centred */
  .company__logos { justify-content: center; } /* phone: logos centred, 40px gap kept */
  .company__logos img { width: auto; height: 32px; }
  .footer__menu-row { position: relative; margin-bottom: -8px; }
  /* Privacy link lines up with the menu block's left edge */
  .footer__menu-row { align-self: center; width: fit-content; }
  .footer__privacy { align-self: center; width: 276px; margin-bottom: 8px; } /* = menu block width (two columns of fixed-size menu images) */
  .footer__nav img { width: auto; height: 14px; }
  .footer__nav img[src*="footer-nav-faq"] { height: 15.56px; } /* FAQ part is 20px tall (Q tail) for the same 18px letters */
  /* Phone: menu in 2 columns, filled row by row (01 02 / 03 04 / 05 06) */
  .footer__nav { display: grid; grid-template-columns: repeat(2, auto); column-gap: 24px; row-gap: 24px; }
  /* Phone: BAKERU / DeNA logos at 24px high, centered */
  /* Phone: consult button + language switch centered, 24px lower (logos below stay put) */
  .footer__actions { justify-content: center; margin-top: 34px; }
  .footer__group { justify-content: center; margin-top: 30px; margin-bottom: 36px; }
  .footer__group img { width: auto; height: 24px; }
  .footer__bar { height: auto; flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px 0 12px; line-height: 1.5; }
  .footer__bar-left { flex-direction: column; align-items: flex-start; gap: 12px; }
  /* Phone: one combined logo (symbol + logotype) above the operator text */
  .footer__mini-logo img { display: none; }
  .footer__mini-logo .footer__mini-logo-sp { display: block; }
}

/* Phone slide menu: a dark panel slides in from the right; contents follow the SP_menu design */
.spmenu { position: fixed; inset: 0; z-index: 90; visibility: hidden; transition: visibility .5s; }
.spmenu__panel {
  position: absolute; inset: 0; overflow-y: auto;
  padding: 88px 40px 64px; background: var(--c-black); color: var(--c-white);
  transform: translateX(100%); transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.spmenu__logo { display: inline-flex; align-items: center; gap: 7px; }
.spmenu__nav { display: flex; flex-direction: column; align-items: flex-start; gap: 46px; margin-top: 48px; } /* 24px text lines 40px apart */
.spmenu__nav img { display: block; }
.spmenu__row { display: flex; align-items: center; justify-content: space-between; margin-top: 48px; }
.spmenu__privacy { font-size: 16px; line-height: 1; }
.spmenu__actions { display: flex; align-items: center; gap: 40px; margin-top: 48px; }
.spmenu .lang--spmenu { gap: 4px; }
.spmenu a:hover { opacity: .7; }
.is-menu-open { overflow: hidden; }
.is-menu-open .spmenu { visibility: visible; }
.is-menu-open .spmenu__panel { transform: none; }
/* While open, the header sits on the dark panel: white parts, menu bars turn into an X */
.is-menu-open .header { opacity: 1; visibility: visible; }
/* Only the close icon stays in the header while the menu is open */
.is-menu-open .header__symbol, .is-menu-open .header .btn { opacity: 0; visibility: hidden; }
.is-menu-open .header__menu { color: var(--c-white); }
.header__menu span { transition: transform .3s, width .3s, opacity .3s, background-color .3s; }
.is-menu-open .header__menu span:nth-child(1) { transform: rotate(45deg); }
.is-menu-open .header__menu span:nth-child(2) { transform: rotate(135deg); }
@media (min-width: 601px) { .spmenu { display: none; } }

/* ---------- NEWS LIST PAGE (Figma 666:7578) ---------- */
.news--list { background: var(--c-grey); padding-top: calc(128px + 160px); }
.news-list { display: grid; grid-template-columns: repeat(3, 400px); gap: 40px; justify-content: center; }
.news-list .card__ph { background: var(--c-lightgray-01); }
.pager { margin-top: 64px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.pager__row { display: flex; align-items: center; gap: 24px; }
.pager__nums { display: flex; align-items: center; gap: 8px; }
.pager__num, .pager__step, .pager__dots {
  height: 40px; border-radius: 4px; display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-en); font-weight: 500; font-size: 20px; line-height: 1; color: var(--c-text);
}
.pager__num { width: 40px; border: 1px solid var(--c-text); }
.pager__num.is-current { background: var(--c-text); color: var(--c-white); cursor: default; }
.pager__dots { width: 40px; }
.pager__step { width: 101px; gap: 8px; border: 1px solid var(--c-text); }
.pager__step img { width: 20px; height: 12px; }
.pager__step--next img { transform: rotate(-90deg); }
.pager__step--back img { transform: rotate(90deg); }
.pager__step:disabled { border-color: #797979; color: #797979; cursor: default; }
.pager__arrow--disabled, .pager__step:disabled .pager__arrow { display: none; }
.pager__step:disabled .pager__arrow--disabled { display: block; }
.pager__num:not(.is-current):hover, .pager__step:not(:disabled):hover { opacity: .6; }
.pager__count { font-size: 14px; line-height: 1; }
/* News list: BACK / NEXT are a bordered arrow only (the words stay as their accessible names) */
.pager .pager__step { width: 40px; gap: 0; }
@media (max-width: 1360px) { .news-list { grid-template-columns: repeat(2, 400px); } }
@media (max-width: 880px) { .news-list { grid-template-columns: minmax(0, 400px); } }
/* A single news item sits alone in the middle; from 2 items on, the 3 (or 2) column grid fills from the left */
@media (min-width: 881px) { .news-list:has(> .card:only-child) { grid-template-columns: 400px; } }
@media (max-width: 600px) {
  .news--list { padding-top: calc(64px + 80px); }
  .news-list { gap: 24px; grid-template-columns: 1fr; }
  .news-list .card__body { width: auto; padding: 0 24px; }
  .pager__row { gap: 8px; }
  .pager__step { width: 40px; font-size: 0; gap: 0; }
}

/* ---------- NEWS DETAIL PAGE ---------- */
a.card { display: block; color: inherit; text-decoration: none; transition: transform .3s, box-shadow .3s; }
a.card .card__ph img { transition: transform .5s cubic-bezier(.25, .8, .25, 1); }
a.card:hover { transform: translateY(-4px); }
a.card:hover .card__ph img { transform: scale(1.04); }
.news--detail { background: var(--c-grey); padding: calc(128px + 80px) 0 160px; }
.article { max-width: 960px; background: var(--c-white); border-radius: 24px; padding: 80px 120px; }
.article__crumb { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--ff-en); font-weight: 500; font-size: 14px; line-height: 1.5; color: rgba(0, 0, 0, .5); }
.article__crumb a { color: inherit; text-decoration: none; }
.article__crumb a:hover { color: var(--c-text); }
.article__crumb-now { font-family: var(--ff-ja); color: var(--c-text); }
.article__head { margin-top: 48px; padding-bottom: 32px; border-bottom: 1px solid var(--c-lightgray-02); }
.article__date { font-family: var(--ff-en); font-weight: 500; font-size: 16px; line-height: 1; color: rgba(0, 0, 0, .5); }
.article__ttl { margin-top: 16px; font-weight: 500; font-size: 32px; line-height: 1.5; letter-spacing: 0.04em; }
.article__ph { margin-top: 48px; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: var(--c-lightgray-01); }
.article__ph img { width: 100%; height: 100%; object-fit: cover; }
.article__body { margin-top: 48px; font-size: 16px; line-height: 2; letter-spacing: 0.08em; word-break: break-all; }
.article__body p + p, .article__body ul + p, .article__body ol + p, .article__body p + ul, .article__body p + ol { margin-top: 24px; }
.article__body li + li { margin-top: 8px; }
.article__body a { color: var(--c-link); }
.article__body a:hover { text-decoration: underline; }
.article__body h2 { margin: 56px 0 16px; padding-left: 16px; border-left: 4px solid var(--c-text); font-weight: 500; font-size: 22px; line-height: 1.5; }
.article__body ul { list-style: disc; }
.article__body ol { list-style: decimal; }
.article__body ul, .article__body ol { margin: 24px 0 0; padding-left: 1.5em; }
/* Subheadings of the longer pages (privacy policy) */
.article__body h3 { margin: 40px 0 8px; font-weight: 500; font-size: 18px; line-height: 1.6; }
.article__body h4 { margin: 24px 0 4px; font-weight: 500; font-size: 16px; line-height: 1.8; }
.article__body h2 + h3 { margin-top: 0; }
.article__body h3 + h4 { margin-top: 16px; }
.article__body h3 + ul, .article__body h4 + ul { margin-top: 8px; }
.article__body .article__note { color: rgba(0, 0, 0, .5); }
html:lang(en) .article__body { word-break: normal; overflow-wrap: anywhere; }
.article__foot { margin-top: 80px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.article__foot .pager__step { text-decoration: none; }
.article__foot--single { justify-content: center; }
@media (max-width: 1100px) { .article { padding: 64px 48px; } }
@media (max-width: 600px) {
  .news--detail { padding: calc(64px + 24px) 0 80px; }
  .article { width: calc(100% - 32px); padding: 40px 24px; border-radius: 16px; }
  .article__head { margin-top: 32px; padding-bottom: 24px; }
  .article__ttl { font-size: 22px; }
  .article__ph, .article__body { margin-top: 32px; }
  .article__body h2 { margin-top: 40px; font-size: 18px; }
  .article__body h3 { margin-top: 32px; font-size: 16px; }
  .article__body h4 { font-size: 15px; }
    .article__foot { margin-top: 56px; }
  .article__foot .pager__step { width: 40px; font-size: 0; gap: 0; }
  .article__foot .btn { font-size: 16px; padding: 12px 24px; }
}

/* ---------- LINEUP (Figma 666:13119) ---------- */
.lineup { background: var(--c-white); padding: 160px 0; overflow: hidden; }
.lineup .section-head { padding-bottom: 120px; }
/* --k scales the whole cover flow (1 = 560px center card; PC shows it at 480px) */
.lineup__stage { --k: .857143; /* 480 / 560 */ position: relative; height: calc(708px * var(--k)); } /* = the front panel's height */
.lineup__track { list-style: none; margin: 0; padding: 0; }
.lineup__card {
  --x: 0; --s: 1;
  position: absolute; left: 50%; top: 50%; width: 560px; margin: -354px 0 0 -280px;
  transform: translateX(calc(var(--x) * var(--k) * 1px)) scale(calc(var(--s) * var(--k)));
  transition: transform .7s cubic-bezier(.22, .9, .25, 1), opacity .7s;
  z-index: 1;
}
/* before the section is in view: every card waits small and hidden in the middle */
.lineup__card:not([data-pos]) { --s: .6; opacity: 0; }
.lineup__card:not([data-pos]):first-child { opacity: 1; z-index: 100; }
/* first fan-out: the side cards wait until the front card has grown in */
.lineup__track.is-intro .lineup__card:not([data-pos="0"]) { transition-delay: .45s; }
.lineup__panel {
  width: 100%; padding: 40px; display: flex; flex-direction: column; align-items: center; gap: 24px;
  background: var(--c-white); border: 0; border-radius: 24px; box-shadow: 0 0 24px rgba(0, 0, 0, .1);
  font: inherit; color: var(--c-text); cursor: pointer;
}
.lineup__card[data-pos="0"] .lineup__panel { cursor: zoom-in; }
/* product photo modal */
.zoom { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 40px 16px; border: 0; background: transparent; flex-direction: column; align-items: center; justify-content: center; gap: 32px; }
.zoom[open] { display: flex; animation: zoom-in .35s ease; }
.zoom::backdrop { background: rgba(0, 0, 0, .8); }
.zoom__frame { padding: 40px; background: var(--c-white); border-radius: 24px; }
.zoom__img { display: block; width: min(720px, calc(100vw - 112px), calc(100vh - 240px)); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 16px; }
@media (max-width: 767px) {
  .zoom__frame { padding: 24px; border-radius: 16px; }
  .zoom__img { width: min(720px, calc(100vw - 80px), calc(100vh - 208px)); border-radius: 12px; }
}
/* no focus ring after a tap or click; keyboard focus still shows it */
.zoom { outline: none; }
.lineup__panel:focus:not(:focus-visible), .zoom__close:focus:not(:focus-visible) { outline: none; }
.zoom__close { padding: 8px; background: none; border: 0; cursor: pointer; }
.zoom__close:hover { opacity: .6; }
.zoom__close img { display: block; }
@keyframes zoom-in { from { opacity: 0; transform: scale(.96); } }
.lineup__logo { width: 480px; height: 48px; object-fit: contain; }
/* 480px square photo slot; each kind of machine sits at the size used in the design */
.lineup__ph { position: relative; width: 480px; height: 480px; display: flex; align-items: center; justify-content: center; border-radius: 16px; overflow: hidden; }
.lineup__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.22, .9, .25, 1); }
.lineup__dots { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .6s ease, transform .7s cubic-bezier(.22, .9, .25, 1); }
.lineup__card.is-sharp .lineup__dots, .lineup__card:not([data-pos]) .lineup__dots { opacity: 0; }
.lineup__card:not([data-pos="0"]) .lineup__panel:hover .lineup__ph > * { transform: scale(1.03); }
.lineup__name { margin-top: 16px; display: flex; flex-direction: column; align-items: center; font-family: var(--ff-en); font-weight: 600; font-size: 24px; line-height: 1.5; text-align: center; }
.lineup__maker { margin-top: 40px; display: flex; justify-content: center; align-items: center; gap: 24px; }
.lineup__maker-logo { width: 140px; height: 48px; object-fit: contain; }
.lineup__site { width: 168px; height: 48px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--c-text); border-radius: 4px; transition: opacity .3s; }
.lineup__site:hover { opacity: .6; }
.lineup__site img { display: block; }
.lineup__site-arrow { transform: rotate(-90deg); }
.lineup__nav { margin-top: 40px; display: flex; justify-content: center; gap: 24px; }
.lineup__nav .pager__step { width: 40px; gap: 0; }
@media (max-width: 1100px) { .lineup__stage { --k: .75; } }
@media (max-width: 600px) {
  .lineup { padding: 80px 0; }
  .lineup .section-head { padding-bottom: 48px; }
  .lineup__stage { --k: .5; }
}

/* Inline text links (e.g. the company URL) */
.company dd a { color: var(--c-link); }
.company dd a:hover { text-decoration: underline; }

/* Phone bottom bar: 相談する across the full width, fixed to the bottom */
.spbar { display: none; }
@media (max-width: 600px) {
  .spbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: flex; gap: 8px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.95);
    box-shadow: 0 -2px 12px rgba(0,0,0,.08); }
  .spbar__btn { flex: 1; padding: 16px 0; font-size: 16px; border-radius: 24px; }
  .spbar__btn { box-sizing: border-box; height: 52px; padding: 0; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .lineup__stage { isolation: isolate; }
}

/* Narrower PC / tablet header: tighten the gaps, and drop the menu one step earlier so nothing overlaps */
@media (min-width: 601px) and (max-width: 1440px) {
  .header { column-gap: 24px; }
  .header__right { gap: 24px; }
  .header .btn--sm { padding: 16px 24px; }
}
@media (min-width: 601px) and (max-width: 1240px) {
  .header { grid-template-columns: 1fr auto; }
  .header__nav { display: none; }
}

/* Keep the LINEUP cards' z-index inside the stage so they never cover the fixed header */
.lineup__stage { isolation: isolate; }

/* PC header: menu sits 80px right of the symbol (column-gap + margin = 80px) */
@media (min-width: 1241px) {
  .header { grid-template-columns: auto 1fr auto; }
  .header__nav { justify-self: start; margin-left: 40px; }
}
@media (min-width: 1241px) and (max-width: 1440px) {
  .header__nav { margin-left: 56px; }
}
