/* Rex Co.,Ltd. — v3 top page (airy layout, cockpit-view hero) */

:root {
  --bg: #f6f7f8;
  --white: #ffffff;
  --ink: #1c1f23;
  --ink-2: #4a4f56;
  --muted: #8a9098;
  --line: #e1e4e8;
  --night: #0b0d10;
  --yellow: #ffd23f;
  --sky-1: #cfe0ee;
  --sky-2: #8fb3cf;
  --en: "Questrial", "Helvetica Neue", Arial, sans-serif;
  --ja: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--ja);
  font-size: 15px; line-height: 2.1; letter-spacing: .05em; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: min(var(--wrap), 100% - 64px); margin-inline: auto; }
.en { font-family: var(--en); letter-spacing: .02em; }

/* ------------------------------------------------------------------ header */

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60; height: 84px; display: flex; align-items: center;
  padding: 0 36px; transition: background .4s, height .4s, color .4s; color: #fff;
}
.site-header.is-solid { background: rgba(246, 247, 248, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); height: 68px; color: var(--ink); }
.site-header .logo img { width: 150px; }
.site-header .logo .dark { display: none; }
.site-header.is-solid .logo .light { display: none; }
.site-header.is-solid .logo .dark { display: block; }
.gnav { margin-left: auto; }
.gnav ul { display: flex; gap: 34px; list-style: none; margin: 0; padding: 0; align-items: center; }
.gnav a { text-decoration: none; font-size: 13.5px; letter-spacing: .1em; position: relative; padding: 6px 0; }
.gnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.gnav a:hover::after { transform: scaleX(1); transform-origin: left; }
.gnav .cta a { border: 1px solid currentColor; padding: 8px 22px; border-radius: 999px; }
.gnav .cta a::after { display: none; }
.gnav .cta a:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }

.menu-btn { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; background: none; color: inherit; cursor: pointer; position: relative; }
.menu-btn span, .menu-btn::before, .menu-btn::after { content: ""; position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform .3s, opacity .3s; }
.menu-btn::before { top: 17px; } .menu-btn span { top: 23px; } .menu-btn::after { top: 29px; }
.menu-btn[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span { opacity: 0; }
.menu-btn[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }
.drawer { position: fixed; inset: 0; z-index: 55; background: var(--bg); padding: 110px 32px 40px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.drawer.is-open { opacity: 1; visibility: visible; }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer li { border-bottom: 1px solid var(--line); }
.drawer a { display: flex; align-items: baseline; justify-content: space-between; padding: 20px 0; text-decoration: none; }
.drawer .en { font-size: 30px; }
.drawer .ja { font-size: 12px; color: var(--muted); }
body.menu-open .site-header { color: var(--ink); }
body.menu-open .site-header .logo .light { display: none; }
body.menu-open .site-header .logo .dark { display: block; }

/* -------------------------------------------------------------- hero / cockpit */

.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; background: #a9c3d8; color: #fff; }

/* the view outside: a slowly turning ring of photos seen from its centre */
.ring-stage { position: absolute; inset: 0; perspective: 900px; perspective-origin: 50% 40%; overflow: hidden;
  background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 55%, #6d8aa1 100%); }
.ring { position: absolute; left: 50%; top: 40%; width: 0; height: 0; transform-style: preserve-3d;
  transform: translateZ(900px) rotateY(var(--turn, 0deg)); }
.ring .panel {
  position: absolute; width: 780px; height: 510px; left: -390px; top: -255px;
  transform: rotateY(calc(var(--i) * 36deg)) translateZ(-1300px);
  backface-visibility: hidden; border-radius: 6px; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, .25);
}
.ring .panel img { width: 100%; height: 100%; object-fit: cover; }

/* windscreen glass: soft reflection + vignette */
.glass { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.16) 42%, rgba(255,255,255,0) 52%),
    radial-gradient(120% 90% at 50% 40%, rgba(0,0,0,0) 55%, rgba(0,0,0,.35) 100%); }

/* the car interior drawn on top */
.cockpit { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.cockpit .body { fill: var(--night); }
.cockpit .edge { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 2; }
.cockpit .dash-top { fill: #15181d; }
.cockpit .glow { fill: var(--yellow); opacity: .85; }
.cockpit .gauge { fill: none; stroke: rgba(255, 210, 63, .55); stroke-width: 3; }
.cockpit .wheel { fill: none; stroke: #050607; stroke-width: 46; }
.cockpit .wheel-hi { fill: none; stroke: rgba(255, 255, 255, .06); stroke-width: 2; }

.hero-copy { position: absolute; left: 6vw; bottom: 118px; z-index: 3; max-width: 640px; }
.hero-copy .en { display: block; font-size: clamp(46px, 5.6vw, 88px); line-height: 1; letter-spacing: -.01em; }
.hero-copy h1 { margin: 16px 0 0; font-size: clamp(18px, 1.8vw, 24px); font-weight: 500; letter-spacing: .14em; }
.hero-copy .en, .hero-copy h1 { opacity: 0; transform: translateY(24px); transition: opacity 1.4s var(--ease), transform 1.4s var(--ease); }
.is-ready .hero-copy .en { opacity: 1; transform: none; }
.is-ready .hero-copy h1 { opacity: 1; transform: none; transition-delay: .25s; }

.hero-stock {
  position: absolute; left: 36px; bottom: 34px; z-index: 3; display: flex; align-items: center; gap: 22px;
  padding: 16px 22px; background: rgba(255, 255, 255, .92); color: var(--ink); border-radius: 4px; text-decoration: none;
  font-size: 13px; letter-spacing: .06em; transition: background .3s;
}
.hero-stock:hover { background: #fff; }
.hero-stock .en { font-size: 12px; color: var(--muted); display: block; line-height: 1.4; }
.hero-scroll { position: absolute; right: 36px; bottom: 34px; z-index: 3; writing-mode: vertical-rl; font-family: var(--en); font-size: 11px; letter-spacing: .3em; display: flex; align-items: center; gap: 12px; }
.hero-scroll::after { content: ""; width: 1px; height: 60px; background: rgba(255, 255, 255, .8); animation: drip 2.2s infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ------------------------------------------------------------------ titles */

.ttl { margin: 0 0 54px; }
.ttl .en { display: block; font-size: clamp(56px, 7vw, 104px); line-height: 1; font-weight: 400; color: var(--ink); }
.ttl .ja { display: block; margin-top: 12px; font-size: 13px; letter-spacing: .2em; color: var(--ink-2); }
.on-photo .ttl .en, .on-photo .ttl .ja { color: #fff; }

.more { display: inline-flex; align-items: center; gap: 20px; text-decoration: none; font-family: var(--en); font-size: 16px; letter-spacing: .04em; padding-bottom: 10px; border-bottom: 1px solid currentColor; min-width: 180px; justify-content: space-between; }
.more .pill { width: 34px; height: 20px; border-radius: 999px; background: var(--ink); display: grid; place-items: center; transition: transform .4s var(--ease); }
.more .pill::before { content: ""; width: 12px; height: 8px; background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M0 4h10M7 1l3 3-3 3' fill='none' stroke='%23000' stroke-width='1.2'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M0 4h10M7 1l3 3-3 3' fill='none' stroke='%23000' stroke-width='1.2'/%3E%3C/svg%3E") center/contain no-repeat; }
.more:hover .pill { transform: translateX(6px); }
.on-dark .more .pill { background: #fff; } .on-dark .more .pill::before { background: var(--ink); }

/* ------------------------------------------------------------------ about */

.about { position: relative; padding: 180px 0 200px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about-photos { position: relative; height: 760px; }
.about-photos figure { position: absolute; margin: 0; overflow: hidden; border-radius: 4px; box-shadow: 0 30px 60px rgba(28, 31, 35, .12); }
.about-photos figure img { width: 100%; height: 100%; object-fit: cover; }
.about-photos .p1 { width: 78%; aspect-ratio: 4 / 3; left: 0; top: 0; }
.about-photos .p2 { width: 52%; aspect-ratio: 1; right: 0; top: 46%; }
.about-photos .p3 { width: 40%; aspect-ratio: 3 / 4; left: 8%; top: 64%; }
.about-text { padding-top: 140px; }
.about-text .lead { font-size: clamp(20px, 2vw, 26px); font-weight: 700; line-height: 1.9; letter-spacing: .08em; margin: 0 0 36px; }
.about-text p { margin: 0 0 20px; color: var(--ink-2); }
.about-text .more { margin-top: 26px; }
[data-speed] { will-change: transform; }

/* ---------------------------------------------------------------- business */

.business { position: relative; }
.business-bg { position: sticky; top: 0; height: 100svh; overflow: hidden; z-index: 0; }
.business-bg img,
.business-bg video { width: 100%; height: 100%; object-fit: cover; display: block; }
.business-bg::after { content: ""; position: absolute; inset: 0; background: rgba(15, 20, 26, .38); }
.business-bg .ttl { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; margin: 0; z-index: 1; }
.business-cards { position: relative; z-index: 1; margin-top: -60svh; padding-bottom: 30svh; }
.business-cards .row { display: flex; }
.business-cards .row:nth-child(odd) { justify-content: flex-end; }
.biz-card {
  width: min(420px, 42vw); background: var(--white); padding: 34px 34px 30px; margin: 0 5vw 22svh; border-radius: 4px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .18); text-decoration: none; display: block; transition: transform .5s var(--ease);
}
.biz-card:hover { transform: translateY(-6px); }
.biz-card .head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.biz-card .num { font-family: var(--en); font-size: 13px; color: var(--muted); letter-spacing: .1em; }
.biz-card h3 { margin: 6px 0 18px; font-size: 24px; letter-spacing: .1em; font-weight: 700; }
.biz-card .main { display: inline-block; font-size: 11px; background: var(--yellow); color: var(--ink); padding: 0 10px; border-radius: 999px; letter-spacing: .12em; vertical-align: 4px; margin-left: 8px; }
.biz-card figure { margin: 0 0 18px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 3px; background: #eef1f4; display: grid; place-items: center; }
.biz-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.biz-card:hover figure img { transform: scale(1.05); }
.biz-card figure svg { width: 92px; height: 92px; stroke: var(--ink); }
.biz-card p { margin: 0 0 22px; font-size: 14px; color: var(--ink-2); line-height: 1.95; }

/* ---------------------------------------------------------------- stock */

.stock { padding: 170px 0 150px; }
.stock-banner {
  position: relative; display: grid; grid-template-columns: 1fr 1.3fr; min-height: 440px; border-radius: 6px; overflow: hidden;
  background: linear-gradient(120deg, #e6eef5, #c9dbe9); text-decoration: none;
}
.stock-banner .copy { padding: 60px 56px; display: flex; flex-direction: column; justify-content: center; }
.stock-banner .copy p { margin: 0 0 30px; color: var(--ink-2); }
.stock-banner .photo { position: relative; overflow: hidden; }
.stock-banner .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.stock-banner:hover .photo img { transform: scale(1.04); }

/* ---------------------------------------------------------------- company */

.company { padding: 40px 0 180px; }
.company-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 90px; align-items: center; }
.company-photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; }
.company-photo img { width: 100%; height: 100%; object-fit: cover; }
.links { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.links a { display: flex; justify-content: space-between; align-items: center; padding: 26px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 17px; letter-spacing: .1em; transition: padding .4s var(--ease); }
.links a:hover { padding-left: 16px; }
.links .en { font-size: 13px; color: var(--muted); }
.profile-mini { margin: 34px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; font-size: 14px; }
.profile-mini dt { color: var(--muted); }
.profile-mini dd { margin: 0; }

/* ---------------------------------------------------------------- contact */

.contact { position: relative; padding: 150px 0; color: #fff; overflow: hidden;
  background: linear-gradient(120deg, #6f93b1 0%, #9fbfd8 55%, #c7dbe9 100%); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; }
.contact .ttl .en, .contact .ttl .ja { color: #fff; }
.contact p { margin: 0; font-size: 16px; letter-spacing: .08em; }
.contact-ways { display: grid; gap: 14px; }
.contact-ways a { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 30px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .5); border-radius: 4px; text-decoration: none; transition: background .3s, color .3s; }
.contact-ways a:hover { background: #fff; color: var(--ink); }
.contact-ways .big { font-family: var(--en); font-size: clamp(26px, 2.6vw, 36px); line-height: 1.2; }
.contact-ways .sub { font-size: 12.5px; letter-spacing: .1em; }

/* ------------------------------------------------------------------ footer */

.site-footer { background: var(--night); color: #d8dbe0; padding: 100px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 50px; }
.footer-logo img { width: 190px; }
.site-footer address { font-style: normal; margin-top: 24px; font-size: 13.5px; line-height: 2.1; color: #a3a8b0; }
.site-footer address a { color: #fff; text-decoration: none; }
.footer-nav h2 { font-family: var(--en); font-weight: 400; font-size: 14px; letter-spacing: .2em; color: var(--yellow); margin: 0 0 16px; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { color: var(--yellow); }
.copyright { margin: 70px 0 0; padding-top: 24px; border-top: 1px solid #23272d; font-size: 12px; color: #7d838c; letter-spacing: .08em; }

/* ------------------------------------------------------------------ reveal */

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .hero-copy .en, .hero-copy h1 { opacity: 1; transform: none; transition: none; }
  .hero-scroll::after { animation: none; }
}

/* -------------------------------------------------------------- responsive */

@media (max-width: 960px) {
  .gnav { display: none; }
  .menu-btn { display: block; }
  .site-header { padding: 0 16px 0 22px; height: 68px; }
  .site-header .logo img { width: 120px; }
  .wrap { width: calc(100% - 44px); }
  .ring .panel { width: 440px; height: 290px; left: -220px; top: -145px; transform: rotateY(calc(var(--i) * 36deg)) translateZ(-760px); }
  .ring { transform: translateZ(600px) rotateY(var(--turn, 0deg)); }
  .ring-stage { perspective: 600px; }
  .hero-copy { left: 22px; right: 22px; bottom: 112px; }
  .hero-stock { left: 16px; right: 16px; bottom: 18px; justify-content: space-between; }
  .hero-scroll { display: none; }
  .about { padding: 110px 0 120px; }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-text { padding-top: 0; order: -1; }
  .about-photos { height: 115vw; }
  .business-cards { margin-top: -50svh; }
  .business-cards .row, .business-cards .row:nth-child(odd) { justify-content: center; }
  .biz-card { width: calc(100% - 44px); margin: 0 auto 16svh; }
  .stock { padding: 110px 0 90px; }
  .stock-banner { grid-template-columns: 1fr; }
  .stock-banner .photo { min-height: 56vw; order: -1; }
  .stock-banner .copy { padding: 36px 26px 40px; }
  .company { padding: 20px 0 110px; }
  .company-grid { grid-template-columns: 1fr; gap: 40px; }
  .company-photo { aspect-ratio: 4 / 3; }
  .contact { padding: 100px 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ------------------------------------------------------------- sub pages */

.sub-head { padding: 190px 0 90px; }
.sub-head .crumb { font-size: 12px; color: var(--muted); margin-bottom: 30px; }
.sub-head .crumb ol { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.sub-head .crumb li + li::before { content: "/"; margin-right: 10px; }
.sub-head .crumb a { text-decoration: none; }
.sub-head .ttl { margin: 0; }
.sub-head .lead { margin: 30px 0 0; max-width: 640px; color: var(--ink-2); }
.sub-body { padding: 0 0 160px; }

.ways { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 80px; }
.way { background: var(--white); border-radius: 6px; padding: 36px 38px; box-shadow: 0 20px 50px rgba(28, 31, 35, .06); }
.way .en { font-size: 13px; color: var(--muted); }
.way h2 { margin: 4px 0 14px; font-size: 18px; letter-spacing: .1em; }
.way .tel { display: block; font-family: var(--en); font-size: 34px; line-height: 1.3; text-decoration: none; }
.way .tel small { font-family: var(--ja); font-size: 12px; color: var(--muted); margin-right: 12px; letter-spacing: .1em; }
.way p { margin: 0; font-size: 14px; color: var(--ink-2); }

.form { max-width: 900px; background: var(--white); border-radius: 6px; padding: 30px 48px 50px; box-shadow: 0 20px 50px rgba(28, 31, 35, .06); }
.form-row { display: grid; grid-template-columns: 230px 1fr; gap: 26px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.form-row > .lbl, .form-row > label { font-weight: 500; padding-top: 12px; letter-spacing: .06em; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; line-height: 1.7; }
.req, .opt { font-size: 11px; padding: 0 10px; border-radius: 999px; letter-spacing: .1em; line-height: 1.9; }
.req { background: var(--ink); color: #fff; }
.opt { background: var(--bg); color: var(--muted); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--bg); border: 1px solid transparent;
  border-radius: 4px; padding: 14px 16px; letter-spacing: .02em; transition: border-color .2s, background .2s;
}
.form textarea { min-height: 200px; resize: vertical; line-height: 1.8; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.form .hint { margin: 8px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.8; }
.form [aria-invalid="true"] { border-color: #c0392b; background: #fff6f5; }
.form .error { color: #c0392b; font-size: 13px; margin: 8px 0 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 4px; }
.choices label { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; background: var(--bg); cursor: pointer; font-size: 14px; border: 1px solid transparent; transition: border-color .2s, background .2s; }
.choices input { accent-color: var(--ink); width: 16px; height: 16px; margin: 0; }
.choices label:has(input:checked) { background: #fff; border-color: var(--ink); }
.choices.is-invalid label { border-color: #e3a49c; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.agree { margin: 40px 0 0; text-align: center; }
.agree label { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; }
.agree input { width: 19px; height: 19px; accent-color: var(--ink); margin: 0; }
.agree p { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.submit { margin-top: 30px; text-align: center; }
.submit button { display: inline-flex; align-items: center; gap: 22px; min-width: 320px; justify-content: space-between; padding: 18px 26px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: inherit; font-size: 15px; letter-spacing: .1em; cursor: pointer; transition: background .3s, color .3s; }
.submit button:hover { background: var(--yellow); color: var(--ink); }
.submit button .pill { width: 34px; height: 20px; border-radius: 999px; background: #fff; display: grid; place-items: center; }
.submit button .pill::before { content: ""; width: 12px; height: 8px; background: var(--ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M0 4h10M7 1l3 3-3 3' fill='none' stroke='%23000' stroke-width='1.2'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M0 4h10M7 1l3 3-3 3' fill='none' stroke='%23000' stroke-width='1.2'/%3E%3C/svg%3E") center/contain no-repeat; }
.submit button[disabled] { opacity: .5; cursor: wait; }
.form-status { max-width: 900px; margin: 24px 0 0; padding: 18px 24px; border-radius: 6px; font-size: 14.5px; }
.form-status:empty { display: none; }
.form-status.is-ok { background: #e9f5e6; }
.form-status.is-error { background: #fff1ef; }

.legal { max-width: 860px; background: var(--white); border-radius: 6px; padding: 50px 56px; box-shadow: 0 20px 50px rgba(28, 31, 35, .06); }
.legal > p:first-child { margin-top: 0; }
.legal h2 { font-size: 17px; margin: 46px 0 10px; letter-spacing: .06em; display: flex; gap: 14px; align-items: baseline; }
.legal h2 .no { font-family: var(--en); color: var(--muted); font-size: 14px; }
.legal p, .legal li { color: var(--ink-2); }
.legal dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; margin: 0; padding: 22px 26px; background: var(--bg); border-radius: 4px; }
.legal dt { color: var(--muted); }
.legal dd { margin: 0; }

@media (max-width: 960px) {
  .sub-head { padding: 130px 0 60px; }
  .sub-body { padding-bottom: 110px; }
  .ways { grid-template-columns: 1fr; margin-bottom: 50px; }
  .form { padding: 10px 22px 36px; }
  .form-row { grid-template-columns: 1fr; gap: 10px; padding: 22px 0; }
  .form-row > .lbl, .form-row > label { padding-top: 0; }
  .submit button { min-width: 0; width: 100%; }
  .legal { padding: 30px 22px; }
}

/* -------------------------------------------------------------- used cars */

.usedcar { padding: 60px 0 170px; }
.usedcar-head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 60px; }
.usedcar-head .ttl { margin: 0; }
.usedcar-head p { margin: 0; color: var(--ink-2); font-size: 16px; }
.usedcar-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.point { background: var(--white); border-radius: 6px; padding: 36px 34px 34px; box-shadow: 0 20px 50px rgba(28, 31, 35, .06); }
.point .num { font-size: 40px; line-height: 1; color: var(--ink); display: block; }
.point h3 { margin: 20px 0 10px; font-size: 19px; letter-spacing: .1em; }
.point p { margin: 0; font-size: 14px; color: var(--ink-2); }
.stock-label { display: block; font-size: 34px; line-height: 1.1; margin-bottom: 18px; color: var(--ink); }

/* after-service intro card */
.biz-card.intro { background: var(--ink); color: #fff; }
.biz-card.intro:hover { transform: none; }
.biz-card.intro .num { color: var(--yellow); }
.biz-card.intro h3 { font-size: 26px; line-height: 1.6; }
.biz-card.intro p { color: #c9ced6; margin-bottom: 0; }

@media (max-width: 960px) {
  .usedcar { padding: 30px 0 110px; }
  .usedcar-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 36px; }
  .usedcar-points { grid-template-columns: 1fr; gap: 14px; }
}
