/* GAMADAS 共通スタイル（トップと下層で共用） */
:root {
  --white: #ffffff;
  --paper: #f4f4f3;
  --paper-2: #ebebea;
  --ink: #111111;
  --ink-2: #3d3d3d;
  --muted: #666666;
  --black: #111111;

  --fs-xs: 0.8125rem;
  --fs-s: 0.9375rem;
  --fs-b: 1rem;
  --fs-l: 1.25rem;
  --fs-h2: clamp(2.25rem, 1.5rem + 2vw, 3rem);
  --fs-h1: clamp(1.75rem, 0.6rem + 3.2vw, 3.5rem);

  --font-ja: "Noto Sans JP", sans-serif;
  --font-en: "Plus Jakarta Sans", "Noto Sans JP", sans-serif;

  --radius: 4px;
  --container: 1160px;

  --grid-line: rgba(17, 17, 17, 0.06);
  --noise-w: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.2 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  --grid: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  --noise: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.16 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font-ja); font-size: var(--fs-b); line-height: 1.85; letter-spacing: 0.02em; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
h1, h2, h3 { font-weight: 700; line-height: 1.4; letter-spacing: 0.01em; }
p { max-width: 40em; }
.en { font-family: var(--font-en); letter-spacing: -0.01em; }
.container { width: 100%; max-width: calc(var(--container) + 48px); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: 120px; }
.textured { background-color: var(--paper); background-image: var(--noise); }
.gridded { background-color: var(--white); background-image: var(--grid); background-size: 32px 32px; background-position: center top; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* section heading */
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 48px; margin-bottom: 56px; }
.sec-head h2 { display: flex; flex-direction: column; }
.sec-head h2 .en { font-size: var(--fs-h2); font-weight: 700; line-height: 1.1; }
.sec-head h2 .ja { margin-top: 10px; font-size: var(--fs-s); font-weight: 500; color: var(--muted); }
.sec-head > p { color: var(--ink-2); max-width: 30em; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.75em; min-height: 52px; padding: 0 26px; border-radius: var(--radius); font-weight: 700; font-size: var(--fs-s); text-decoration: none; white-space: nowrap; transition: background-color 0.2s, color 0.2s, transform 0.1s; }
.btn:active { transform: translateY(1px); }
.btn::after { content: "→"; font-family: var(--font-en); }
.btn-primary { background: var(--black); color: var(--white); }
.btn-primary:hover { background: #333; }
.btn-sub { background: var(--paper-2); color: var(--ink); }
.btn-sub:hover { background: #dedede; }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: #e9e9e9; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: var(--fs-xs); }
.textlink { display: inline-flex; gap: 0.6em; align-items: center; font-weight: 700; font-size: var(--fs-s); text-decoration: none; }
.textlink::after { content: "→"; font-family: var(--font-en); transition: transform 0.2s; }
.textlink:hover::after { transform: translateX(4px); }
.more { margin-top: 48px; }

/* header */
.header { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.96); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.logo img { width: 140px; height: auto; }
.gnav { display: flex; gap: 32px; }
.gnav a { font-size: var(--fs-s); font-weight: 500; text-decoration: none; padding-block: 8px; }
.gnav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.header-cta { display: flex; gap: 8px; }

/* hero */
.hero { padding-block: 88px 104px; }
.hero .container { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hero-catch { font-size: var(--fs-s); font-weight: 500; color: var(--muted); }
.hero h1 { margin-top: 16px; font-size: clamp(1.625rem, 0.5rem + 3vw, 3rem); line-height: 1.38; letter-spacing: 0.02em; }
.hero h1 span { white-space: nowrap; }
.hero-lead { margin-top: 24px; color: var(--ink-2); }
.hero-cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px; }
.stats { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 16px 56px; }
.stat dd { font-family: var(--font-en); font-size: var(--fs-h2); font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.stat dd small { font-family: var(--font-ja); font-size: var(--fs-b); font-weight: 700; margin-left: 4px; letter-spacing: 0; }
.stat dt { margin-top: 10px; font-size: var(--fs-xs); color: var(--muted); }
.stat { display: flex; flex-direction: column-reverse; }
.stats-note { margin-top: 16px; font-size: var(--fs-xs); color: var(--muted); }
.hero-visual { display: flex; justify-content: center; }
.emblem { width: 100%; max-width: 520px; height: auto; transform-origin: 50% 50%; }
@media (prefers-reduced-motion: no-preference) {
  .emblem { animation: sway 9s ease-in-out infinite alternate; }
}
@keyframes sway { from { transform: perspective(900px) rotateY(-32deg) rotateX(8deg); } to { transform: perspective(900px) rotateY(32deg) rotateX(-6deg); } }

/* logos */
.logos { padding-block: 64px; }
.logos p { text-align: center; font-size: var(--fs-xs); color: var(--muted); max-width: none; }
.logos ul { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 0; }
.logos li { display: flex; align-items: center; justify-content: center; width: 196px; height: 44px; }
.logos img { max-height: 34px; max-width: 140px; width: auto; height: auto; object-fit: contain; }

/* services */
.services { display: grid; gap: 24px; grid-auto-rows: 1fr; }
.svc { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: stretch; padding: 56px; background: var(--white); border-radius: var(--radius); }
.svc.rev .svc-text { order: 2; }
.svc-no { display: flex; align-items: baseline; gap: 12px; font-family: var(--font-en); font-size: var(--fs-s); font-weight: 700; color: var(--muted); }
.svc-no .en { font-size: var(--fs-h2); color: var(--ink); line-height: 1; }
.svc h3 { margin-top: 16px; font-size: 1.75rem; }
.svc-text { display: flex; flex-direction: column; justify-content: center; }
.svc-text > p { margin-top: 14px; color: var(--ink-2); }
.svc ul { margin-top: 28px; margin-bottom: 28px; display: grid; gap: 4px; }
.svc li a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--paper); border-radius: var(--radius); text-decoration: none; font-size: var(--fs-s); font-weight: 500; transition: background-color 0.2s; }
.svc li a:hover { background: var(--paper-2); }
.svc li span { font-family: var(--font-en); font-weight: 700; white-space: nowrap; }
.svc-visual { position: relative; min-height: 360px; overflow: hidden; background-color: var(--paper); background-image: var(--grid); background-size: 32px 32px; background-position: center; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; }
.svc-art { width: 92%; height: auto; }
.svc-visual.mock > img { position: static; inset: auto; width: auto; max-width: 80%; max-height: 80%; border-radius: 0; filter: drop-shadow(0 24px 32px rgba(0, 0, 0, 0.18)); } /* taste-skill-ignore: 端末の写真に落ちる影 */
.tilt { width: 78%; padding: 10px; background: #1b1b1d; border-radius: 18px; transform: perspective(1600px) rotateX(38deg) rotateZ(-24deg) rotateY(8deg); box-shadow: 0 40px 50px -20px rgba(0, 0, 0, 0.35); } /* taste-skill-ignore: 端末の見本に落ちる影 */
.tilt img { display: block; width: 100%; border-radius: 9px; }

.svc-visual > img { position: absolute; inset: 8% 0 0 8%; width: 100%; height: auto; border-radius: var(--radius) 0 0 0; }
.collage .c1 { inset: 6% auto auto 6%; width: 78%; }
.collage .c2 { inset: auto 6% 6% auto; width: 62%; }

/* cases */
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 32px; }
.case { display: flex; flex-direction: column; text-decoration: none; }
.case-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper); border-radius: var(--radius); }
.case-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.case-body { padding-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.tag { align-self: flex-start; padding: 2px 10px; background: var(--paper); font-size: var(--fs-xs); font-weight: 500; border-radius: 2px; }
.case h3 { font-size: var(--fs-b); line-height: 1.6; }
.case p { font-size: var(--fs-s); color: var(--ink-2); }
.case-meta { font-size: var(--fs-xs) !important; color: var(--muted) !important; }

/* price */
.price-table-wrap { overflow-x: auto; }
.price-table { width: 100%; min-width: 820px; border-collapse: separate; border-spacing: 0 4px; }
.price-table th, .price-table td { padding: 20px 28px; vertical-align: middle; text-align: left; vertical-align: top; }
.price-table thead th { padding-block: 16px; background: var(--paper-2); color: var(--ink); font-size: var(--fs-s); }
.price-table thead th:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.price-table thead th:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.price-table thead th small { display: block; font-weight: 400; font-size: var(--fs-xs); opacity: 0.8; }
.price-table tbody th, .price-table tbody td { background: var(--paper); }
.price-table tbody th { width: 22%; font-size: var(--fs-s); border-radius: var(--radius) 0 0 var(--radius); }
.price-table tbody td:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.price-table tbody th small { display: block; font-weight: 400; font-size: var(--fs-xs); color: var(--muted); }
.price-table td strong { display: block; font-family: var(--font-en); font-size: var(--fs-l); letter-spacing: -0.01em; }
.price-table td span { display: block; font-size: var(--fs-xs); color: var(--muted); }
.price-table td.rec { background: #e2e2e0; }
.combo { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; max-width: none; padding: 20px 28px; background: var(--paper); border-radius: var(--radius); }
.combo-label { padding: 2px 10px; background: var(--white); color: var(--ink); font-size: var(--fs-xs); font-weight: 700; border-radius: 2px; }
.combo-body { font-size: var(--fs-b); }
.combo-body b { font-family: var(--font-en); font-size: var(--fs-l); }
.combo-note { font-size: var(--fs-xs); color: var(--muted); }
.price-notes { margin-top: 24px; font-size: var(--fs-xs); color: var(--muted); }
.price-notes li::before { content: "※"; }
.price-cards { display: none; }

/* flow */
.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }

.step { padding: 28px 22px 32px; background: var(--paper); border-radius: var(--radius); }
.step-no { font-family: var(--font-en); font-size: var(--fs-xs); font-weight: 700; color: var(--muted); }
.step h3 { margin-top: 4px; font-size: var(--fs-b); }
.step-term { margin-top: 10px; display: inline-block; padding: 2px 10px; background: var(--black); color: var(--white); border-radius: 2px; font-size: var(--fs-xs); font-weight: 700; }
.step p { margin-top: 12px; font-size: var(--fs-s); color: var(--ink-2); }
.step.step-ongoing { background: var(--black); color: var(--white); }
.step.step-ongoing .step-no, .step.step-ongoing p { color: #cfcfcf; }
.step.step-ongoing .step-term { background: var(--white); color: var(--ink); }
.flow-note { margin-top: 20px; font-size: var(--fs-xs); color: var(--muted); }

/* about */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about .sec-head { margin-bottom: 32px; }
.about-text > p { color: var(--ink-2); }
.biz { display: grid; gap: 4px; }
.biz li { padding: 24px 28px; background: var(--white); border-radius: var(--radius); }
.biz b { display: block; }
.biz span { font-size: var(--fs-s); color: var(--ink-2); }
.company { display: grid; gap: 4px; font-size: var(--fs-s); }
.company div { display: grid; grid-template-columns: 7.5em 1fr; gap: 16px; padding: 16px 24px; background: var(--white); border-radius: var(--radius); }
.company dt { color: var(--muted); }

/* news */
.news-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.news-wrap > div { display: flex; flex-direction: column; }
.news-wrap h2 { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.news-wrap h2 .en { font-size: var(--fs-l); }
.news-wrap h2 .ja { font-size: var(--fs-xs); color: var(--muted); font-weight: 500; }
.news-list { display: grid; gap: 4px; }
.news-list a { display: block; height: 104px; padding: 16px 20px; overflow: hidden; background: var(--paper); border-radius: var(--radius); text-decoration: none; font-size: var(--fs-s); transition: background-color 0.2s; }
.news-list a:hover { background: var(--paper-2); }
.news-list .t { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; line-height: 1.7; }
.news-list time, .news-list .cat { display: block; font-family: var(--font-en); font-size: var(--fs-xs); color: var(--muted); }
.news-list .cat { font-family: var(--font-ja); }
.news-wrap .textlink { margin-top: 20px; align-self: flex-start; }

/* cta */
.cta { padding-block: 120px; }
.cta-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cta-link { position: relative; display: flex; flex-direction: column; gap: 8px; justify-content: center; padding: 40px 96px 40px 40px; background: var(--white); color: var(--ink); border-radius: var(--radius); text-decoration: none; transition: background-color 0.2s; }
.cta-link::after { content: "→"; position: absolute; right: 40px; top: 50%; margin-top: -0.5em; font-family: var(--font-en); font-size: 1.75rem; line-height: 1; transition: transform 0.2s; }
.cta-link:hover { background: #fafafa; }
.cta-link:hover::after { transform: translateX(6px); }
.cta-link.primary { background: var(--black); color: var(--white); }
.cta-link.primary:hover { background: #2a2a2a; }
.cta-title { font-size: 1.75rem; font-weight: 700; line-height: 1.3; }
.cta-desc { font-size: var(--fs-s); opacity: 0.8; }
.cta-line { margin-top: 20px; font-size: var(--fs-xs); color: var(--muted); }

/* footer */
.footer { padding-block: 64px 32px; background: #0a0a0a; color: #a8a8a8; font-size: var(--fs-xs); }
.footer .container { display: grid; grid-template-columns: 1.2fr 2fr; gap: 40px; }
.footer-logo img { width: 130px; filter: invert(1); }
.footer address { margin-top: 20px; font-style: normal; line-height: 2; }
.footer-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer-nav b { display: block; color: var(--white); margin-bottom: 10px; }
.footer-nav a { display: block; padding: 3px 0; text-decoration: none; }
.footer-nav a:hover { color: var(--white); }
.footer-sns { margin: 28px 0 0; display: grid; grid-template-columns: repeat(2, max-content); gap: 12px 32px; list-style: none; padding: 0; }
.footer-sns a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #a8a8a8; transition: color .2s; }
.footer-sns a:hover, .footer-sns a:focus-visible { color: var(--white); }
.footer-sns .ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #1d1d1d; transition: background .2s; }
.footer-sns a:hover .ic, .footer-sns a:focus-visible .ic { background: #333; }
.footer-sns svg { width: 16px; height: 16px; fill: currentColor; }
.copy { grid-column: 1 / -1; padding-top: 32px; font-family: var(--font-en); }

.sp-bar { display: none; }

/* tablet */
@media (max-width: 1024px) {
  .gnav { display: none; }
  .hero .container, .about, .news-wrap { grid-template-columns: 1fr; }
  .cases { grid-template-columns: 1fr 1fr; }
  .services { grid-auto-rows: auto; }
  .svc { grid-template-columns: 1fr; gap: 32px; padding: 40px; }
  .svc-visual { min-height: 0; aspect-ratio: 4 / 3; }
  .svc.rev .svc-text { order: 0; }
  .flow { grid-template-columns: 1fr 1fr; }
  /* iPhoneのSafariは aspect-ratio と stretch の組み合わせで幅を中身から求め、中身が%指定だけの枠（02の.tilt）だと幅0になる。幅を明示する */
  .svc-visual { width: 100%; }
}
@media (max-width: 860px) {
  .price-table-wrap { display: none; }
  .price-cards { display: grid; gap: 8px; }
  .pcard { padding: 20px; background: var(--paper); border-radius: var(--radius); }
  .pcard h3 { font-size: var(--fs-b); }
  .pcard h3 small { display: block; font-size: var(--fs-xs); font-weight: 400; color: var(--muted); }
  .pcard dl { margin-top: 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
  .pcard dl div { padding: 10px 6px; background: var(--white); border-radius: 2px; text-align: center; }
  .pcard dl div.rec { background: #e2e2e0; }
  .pcard dt { font-size: var(--fs-xs); color: var(--muted); }
  .pcard dd { font-family: var(--font-en); font-weight: 700; font-size: var(--fs-s); }
}
/* phone */
@media (max-width: 640px) {
  .section { padding-block: 80px; }
  .header .container { min-height: 60px; }
  .logo img { width: 116px; }
  .header-cta .btn-sub { display: none; }
  .hero { padding-block: 40px 48px; position: relative; overflow: hidden; }
  .hero .container { gap: 0; }
  .hero .container > div:first-child { position: relative; z-index: 1; }
  .hero-visual { position: absolute; top: -28px; right: -78px; width: 190px; opacity: 0.5; pointer-events: none; }
  .hero-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 28px; }
  .hero-cta .btn { padding: 0 10px; gap: 0.4em; }
  .stats { margin-top: 28px; gap: 8px 32px; }
  .stat dd { font-size: 1.75rem; }
  .stat dt { margin-top: 6px; }
  .stats-note { display: none; }
  .logos { padding-block: 40px; }
  .logos ul { margin-top: 20px; gap: 18px 0; }
  .hero-catch { font-size: var(--fs-xs); }
  .stats { gap: 16px 40px; }
  .logos li { width: 33.33%; height: 32px; }
  .logos img { max-height: 22px; max-width: 92px; }
  .cases, .cta-links { grid-template-columns: 1fr; }
  .svc { padding: 28px 20px; }
  .svc h3 { font-size: var(--fs-l); }
  .emblem { max-width: 190px; }
  .sec-head { margin-bottom: 40px; }
  .flow { grid-template-columns: 1fr; }
  .company div { grid-template-columns: 1fr; gap: 2px; padding: 14px 18px; }
  .cta-link { padding: 28px 64px 28px 24px; }
  .cta-link::after { right: 24px; }
  .cta-title { font-size: var(--fs-l); }
  .footer .container, .footer-nav { grid-template-columns: 1fr; }
  body { padding-bottom: 72px; }
  .sp-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 10px 12px; background: var(--white); box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.06); } /* taste-skill-ignore: 画面下に固定して浮くバー */
  .sp-bar .btn { min-height: 48px; padding: 0 10px; }
}

/* ===== review fixes (2026-10-17) ===== */
:root {
  --noise: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.08 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
h1, h2, h3, .btn, .textlink, .cta-title, .gnav a, .stat dd, .price-table td strong, .price-table th, .combo-body b, .svc-no, .step-no, .tag { font-feature-settings: "palt"; }
h1, h2, h3 { letter-spacing: 0; }
.hero h1 { letter-spacing: -0.01em; }
#about.textured { background-image: none; }
.step.step-ongoing { background: var(--paper); color: var(--ink); }
.step.step-ongoing .step-no { color: var(--muted); }
.step.step-ongoing p { color: var(--ink-2); }
.cont { display: inline-block; margin-left: 8px; padding: 1px 8px; background: var(--white); color: var(--ink); font-size: var(--fs-xs); font-weight: 700; border-radius: 2px; }
.price-table th, .price-table td { vertical-align: middle; }
.cta-link { justify-content: flex-start; padding-right: 80px; }
.cta-desc { text-wrap: pretty; }
.news-list { gap: 0; }
.news-list a { height: auto; padding: 14px 0; background: none; border-radius: 0; }
.news-list a:hover { background: none; }
.news-list a:hover .t { text-decoration: underline; text-underline-offset: 4px; }
.news-list .t { min-height: 3.4em; }
#price, #flow { padding-top: 24px; }
.hero.gridded { position: relative; background-image: none; }
.hero.gridded::before { content: ""; position: absolute; inset: 0; background-image: var(--grid); background-size: 32px 32px; background-position: center top; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); pointer-events: none; }
.hero .container { position: relative; z-index: 1; }
@media (max-width: 640px) { .hero-visual { display: none !important; } }

/* --- A案：白カードをなくす／日本語見出しが主役 --- */
.services { gap: 72px; }
.svc { background: transparent; padding: 0; }
.svc-visual { background-color: var(--white); }
.sec-head h2 .en { font-size: var(--fs-s); font-weight: 700; color: var(--muted); line-height: 1.4; }
.sec-head h2 .ja { order: 2; margin-top: 6px; font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); font-weight: 700; color: var(--ink); line-height: 1.3; }
@media (max-width: 1024px) { .svc { padding: 0; } }

/* ===== 2026-10-17 動き・実績・書体 ===== */
/* 実績：大1枚＋小2枚 */
.cases { grid-template-columns: 1.7fr 1fr; grid-template-rows: auto auto; gap: 40px 40px; align-items: start; }
.case-main { grid-row: span 2; }
.case-main h3 { font-size: var(--fs-l); }
.case:not(.case-main) .case-body { padding-top: 14px; gap: 6px; }
.case:not(.case-main) .case-body > p:not(.case-meta) { display: none; }
@media (max-width: 640px) {
  .cases { grid-template-columns: 1fr; }
  .case-main { grid-row: auto; }
  .case:not(.case-main) .case-body > p:not(.case-meta) { display: block; }
}
/* 実績のホバー：サイトの縦長画像がゆっくり流れる */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .case-img img { transition: object-position 0.9s ease-out; }
  .case:hover .case-img img, .case:focus-visible .case-img img { object-position: 50% 100%; transition: object-position 5s ease-in-out; }
}

/* パイン：背景は止めたまま、中央のLPだけ流れる（実際のサイトと同じ見え方） */
.case-img.pin { position: relative; }
.case-img.pin .pin-col { position: absolute; left: 36.74%; top: 3.56%; width: 26.53%; height: 96.44%; }

/* 書体：IBM Plex Sans JP＋約物を詰める YakuHanJP */
:root { --font-ja: "YakuHanJP", "IBM Plex Sans JP", sans-serif; --font-en: "Plus Jakarta Sans", "IBM Plex Sans JP", sans-serif; }

/* 見出しは細め・小さめ */
h1, h2, h3 { font-weight: 600; }
.hero h1 { font-weight: 500; }
.sec-head h2 .ja { font-weight: 500; font-size: clamp(1.625rem, 1.25rem + 1.1vw, 2.25rem); }
.svc h3 { font-weight: 500; }
.cta-title { font-weight: 600; }

/* 第一画面の組み上げ（.motion はJSで付く） */
.motion .header { opacity: 0; transition: opacity 0.5s ease-out; }
.motion .hero h1 .line { display: inline-block; overflow: hidden; vertical-align: top; }
.motion .hero h1 .line > span { display: inline-block; transform: translateY(100%); transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s; }
.motion .hero h1 .line + br + .line > span { transition-delay: 0.27s; }
.motion .hero-catch, .motion .hero-lead, .motion .hero-cta, .motion .stats, .motion .stats-note { opacity: 0; transition: opacity 0.6s ease-out; }
.motion .hero-catch { transition-delay: 0.1s; }
.motion .hero-lead { transition-delay: 0.65s; }
.motion .hero-cta { transition-delay: 0.75s; }
.motion .stats, .motion .stats-note { transition-delay: 0.8s; }
.motion .emblem circle { opacity: 0; transition: opacity 0.3s linear; }
.motion .emblem { animation-delay: 2.1s; animation-fill-mode: both; }
.motion.is-play .header, .motion.is-play .hero-catch, .motion.is-play .hero-lead, .motion.is-play .hero-cta, .motion.is-play .stats, .motion.is-play .stats-note, .motion.is-play .emblem circle { opacity: 1; }
.motion.is-play .hero h1 .line > span { transform: none; }
.stat dd .num { display: inline-block; text-align: left; font-variant-numeric: tabular-nums; }

/* スクロールで出す（クラスはJSで付ける） */
.motion .rv { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease-out var(--d, 0s), transform 0.6s ease-out var(--d, 0s); }
.motion .rv.in { opacity: 1; transform: none; }
.motion .wipe { clip-path: inset(0 0 100% 0); transition: clip-path 0.8s ease-out var(--d, 0s); }
.motion .wipe.in { clip-path: inset(0); }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
