/* =====================================================================
   HD 下層ページ (会社について / 実績 / お知らせ / お問い合わせ) — top-v2.css の後に読む
   ===================================================================== */

/* ---------- Page hero ---------- */
.ph { position: relative; margin-top: 100px; height: 40vw; min-height: 340px; max-height: 520px; overflow: hidden; color: #fff; background: #0b1320; }
.ph__bg { position: absolute; inset: 0; }
.ph__bg img { width: 100%; height: 100%; object-fit: cover; animation: kb 26s ease-in-out infinite alternate; }
.ph__tint { position: absolute; inset: 0; background: linear-gradient(115deg, rgba(0, 36, 110, .62) 0%, rgba(37, 99, 235, .38) 45%, rgba(139, 92, 246, .30) 75%, rgba(236, 72, 153, .28) 100%); }
.ph__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 10, 40, .10) 0%, rgba(0, 10, 40, 0) 40%, rgba(0, 10, 40, .55) 100%); }
.ph__wm { position: absolute; right: -1vw; bottom: -2.5vw; font-family: var(--fs-en); font-weight: 700; font-size: 16vw; line-height: 1; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .5); pointer-events: none; user-select: none; white-space: nowrap; }
.ph__in { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 48px; }
.ph__crumb { display: flex; align-items: center; gap: 10px; font-family: var(--fs-en); font-size: 11px; font-weight: 700; letter-spacing: .2em; color: rgba(255, 255, 255, .8); }
.ph__crumb a:hover { color: #fff; }
.ph__crumb span { opacity: .5; }
.ph__ttl { margin-top: 18px; display: flex; flex-direction: column; }
.ph__en { font-family: var(--fs-en); font-weight: 600; font-size: clamp(44px, 5.4vw, 76px); line-height: 1; letter-spacing: .005em; text-shadow: 0 2px 30px rgba(0, 0, 0, .3); animation: hero-in .9s var(--ease2) both; }
.ph__en::before { content: ""; display: block; width: 44px; height: 4px; border-radius: 2px; margin-bottom: 18px; background: var(--grad-line); }
.ph__ja { margin-top: 14px; font-size: 16px; font-weight: 700; letter-spacing: .12em; animation: hero-in .9s var(--ease2) .15s both; }
.ph__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; animation: hero-in .9s var(--ease2) .3s both; }
.ph__badges span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 12.5px; font-weight: 700; }
.ph__badges span::before { content: ""; width: 6px; height: 6px; border-radius: 1.5px; transform: rotate(45deg); background: #fff; }
.ph--sm { height: 30vw; min-height: 300px; max-height: 420px; }

/* ---------- About ---------- */
.ab-lead { position: relative; padding: 130px 0 90px; overflow: hidden; background: linear-gradient(180deg, #fff 0%, #f5f7ff 100%); }
.ab-lead__in { position: relative; z-index: 1; max-width: 1100px; }
.ab-lead__en { font-family: var(--fs-en); font-weight: 700; font-size: 12px; letter-spacing: .28em; }
.ab-lead__ttl { margin-top: 24px; font-size: clamp(30px, 3.9vw, 56px); font-weight: 700; letter-spacing: .01em; line-height: 1.4; }
.ab-lead__ttl em { font-style: normal; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ab-lead__cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 60px; margin-top: 44px; }
.ab-lead__cols p { font-size: 15.5px; line-height: 2; letter-spacing: .06em; color: #222; }
.ab-photo { position: relative; padding: 0 var(--side); margin-top: -30px; z-index: 1; }
.ab-photo__in { max-width: 1440px; margin: 0 auto; }
.ab-photo figure { position: relative; overflow: hidden; border-radius: 24px; aspect-ratio: 21 / 9; box-shadow: 0 30px 60px -30px rgba(15, 23, 42, .45); }
.ab-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.ab-photo figcaption { position: absolute; left: 28px; bottom: 22px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .85); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 12px; font-weight: 700; letter-spacing: .06em; color: #223; }
.ab-mvv { padding: 120px 0 60px; }
.ab-mvv__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 48px; }
.mvv { position: relative; padding: 32px 30px 34px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.mvv::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad-brand); }
.mvv--v::before { background: linear-gradient(90deg, #8b5cf6, #ec4899); }
.mvv--b::before { background: linear-gradient(90deg, #ec4899, #f97316); }
.mvv__en { font-family: var(--fs-en); font-weight: 700; font-size: 11.5px; letter-spacing: .24em; color: var(--c1); }
.mvv--v .mvv__en { color: var(--c3); }
.mvv--b .mvv__en { color: var(--c4); }
.mvv__ja { margin-top: 6px; font-size: 13px; font-weight: 700; color: #555; letter-spacing: .1em; }
.mvv__t { margin-top: 20px; font-size: 21px; font-weight: 700; line-height: 1.55; letter-spacing: .02em; }
.mvv .values { margin-top: 18px; }
.ab-profile { padding: 60px 0 140px; }
.ab-profile__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 60px; align-items: start; margin-top: 48px; }
.profile { border-top: 1px solid var(--line); }
.profile div { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 18px 8px; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.8; letter-spacing: .04em; }
.profile dt { position: relative; padding-left: 16px; font-weight: 700; color: var(--ink); }
.profile dt::before { content: ""; position: absolute; left: 1px; top: 12px; width: 6px; height: 6px; border-radius: 1.5px; transform: rotate(45deg); background: var(--c1); }
.profile dd { color: #333; }
.profile dd small { display: block; font-size: 12.5px; color: #666; }
.access { position: relative; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.access figure { aspect-ratio: 16 / 10; overflow: hidden; }
.access img { width: 100%; height: 100%; object-fit: cover; }
.access__body { padding: 26px 28px 30px; }
.access__en { font-family: var(--fs-en); font-weight: 700; font-size: 11.5px; letter-spacing: .24em; color: var(--c6); }
.access__addr { margin-top: 10px; font-size: 15px; font-weight: 700; line-height: 1.8; }
.access__st { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: #444; }
.access__st li { position: relative; padding-left: 16px; }
.access__st li::before { content: ""; position: absolute; left: 1px; top: 8px; width: 6px; height: 6px; border-radius: 1.5px; transform: rotate(45deg); background: var(--c6); }
.access .more-link { margin-top: 20px; }

/* ---------- Works list ---------- */
.wk { padding: 90px 0 140px; }
.wk .tabs { margin-bottom: 36px; }
.wk__more { margin-top: 48px; text-align: center; }
.wk__more .pill { min-width: 320px; }
.wk__count { font-family: var(--fs-en); font-size: 12px; letter-spacing: .12em; color: #666; font-weight: 700; }

/* ---------- News list ---------- */
.nl { padding: 90px 0 140px; }
.nl__list { border-top: 1px solid var(--line); margin-top: 8px; }
.nl__list a { display: flex; align-items: center; gap: 28px; padding: 28px 12px; border-bottom: 1px solid var(--line); transition: background .2s; }
.nl__list a:hover { background: var(--pale-2); }
.nl__cat { flex: 0 0 64px; font-family: var(--fs-en); font-weight: 700; font-size: 12px; letter-spacing: .1em; color: var(--c6); }
.nl__t { flex: 1; min-width: 0; font-size: 16.5px; font-weight: 700; letter-spacing: .03em; line-height: 1.6; }
.nl__list a svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--gray); transition: transform .25s var(--ease), color .25s; }
.nl__list a:hover svg { transform: translateX(4px); color: var(--c1); }
.nl__empty { padding: 60px 0; text-align: center; color: #666; }

/* ---------- Contact ---------- */
.ct-body { position: relative; padding: 80px 0 100px; background: linear-gradient(180deg, #f6f8fc 0%, #fff 100%); }
.ct-intro { margin-bottom: 40px; max-width: 1100px; }
.ct-intro__en { font-family: var(--fs-en); font-weight: 700; font-size: 12px; letter-spacing: .28em; }
.ct-intro__ttl { margin-top: 14px; font-size: clamp(22px, 2.6vw, 34px); font-weight: 700; letter-spacing: .02em; line-height: 1.5; }
.ct-intro__txt { margin-top: 12px; font-size: 15px; line-height: 1.9; color: #444; letter-spacing: .04em; }
.cnt3-inner { max-width: 1300px; }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .ph { margin-top: 64px; height: 62vw; min-height: 280px; max-height: 420px; }
  .ph--sm { min-height: 250px; }
  .ph__in { padding-bottom: 28px; }
  .ph__en { font-size: clamp(38px, 11vw, 52px); }
  .ph__en::before { width: 32px; margin-bottom: 12px; }
  .ph__ja { font-size: 14px; }
  .ph__wm { font-size: 30vw; bottom: -4vw; -webkit-text-stroke-width: 1px; }
  .ab-lead { padding: 70px 0 60px; }
  .ab-lead__ttl { font-size: clamp(24px, 6.4vw, 32px); }
  .ab-lead__cols { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 26px; }
  .ab-lead__cols p { font-size: 13.5px; line-height: 1.9; }
  .ab-photo { margin-top: -16px; }
  .ab-photo figure { border-radius: 16px; aspect-ratio: 4 / 3; }
  .ab-photo figcaption { left: 14px; bottom: 12px; font-size: 11px; }
  .ab-mvv { padding: 70px 0 30px; }
  .ab-mvv__grid { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 28px; }
  .mvv { padding: 24px 22px 26px; border-radius: 18px; }
  .mvv__t { font-size: 18px; }
  .ab-profile { padding: 40px 0 80px; }
  .ab-profile__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 28px; }
  .profile div { grid-template-columns: 96px 1fr; gap: 14px; padding: 14px 4px; font-size: 13.5px; }
  .access__body { padding: 20px 20px 24px; }
  .wk { padding: 60px 0 80px; }
  .wk .tabs { margin-bottom: 24px; }
  .wk__more { margin-top: 32px; }
  .wk__more .pill { min-width: 0; width: 100%; max-width: 320px; }
  .nl { padding: 60px 0 80px; }
  .nl__list a { gap: 14px; padding: 18px 4px; }
  .nl__cat { flex-basis: 44px; font-size: 11px; }
  .nl__t { font-size: 14.5px; }
  .ct-body { padding: 44px 0 60px; }
  .ct-intro { margin-bottom: 24px; }
  .ct-intro__txt { font-size: 13.5px; }
  .ph--sm .ph__wm { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ph__bg img { animation: none; }
  .ph__en, .ph__ja, .ph__badges { animation: none; }
}

/* ---------- Article (topics single) ---------- */
.ph--ar { height: auto; min-height: 0; max-height: none; }
.ph--ar .ph__in { padding: 150px var(--side) 56px; }
.ph__cat { display: inline-flex; align-items: center; gap: 8px; width: fit-content; margin-top: 18px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 12px; font-weight: 700; letter-spacing: .04em; animation: hero-in .9s var(--ease2) both; }
.ph__cat::before { content: ""; width: 6px; height: 6px; border-radius: 1.5px; transform: rotate(45deg); background: var(--dot, #fff); }
.ph__ttl--ar { margin-top: 16px; max-width: 980px; font-size: clamp(22px, 2.5vw, 36px); font-weight: 700; line-height: 1.55; letter-spacing: .03em; text-shadow: 0 2px 20px rgba(0, 0, 0, .35); animation: hero-in .9s var(--ease2) .1s both; }
.ar { padding: 64px 0 110px; }
.ar__in { max-width: 860px; margin: 0 auto; }
.ar__body { font-size: 16px; line-height: 2; letter-spacing: .03em; color: #222; word-break: break-word; overflow-wrap: anywhere; }
.ar__body > *:first-child { margin-top: 0; }
.ar__body h2 { position: relative; margin: 60px 0 22px; padding: 0 0 14px; font-size: 24px; font-weight: 700; line-height: 1.5; letter-spacing: .03em; border-bottom: 1px solid var(--line); }
.ar__body h2::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 64px; height: 3px; border-radius: 2px; background: var(--grad-brand); }
.ar__body h3 { margin: 44px 0 14px; padding-left: 14px; border-left: 3px solid var(--c1); font-size: 19px; font-weight: 700; line-height: 1.5; }
.ar__body h4 { margin: 32px 0 10px; font-size: 16.5px; font-weight: 700; }
.ar__body p { margin: 0 0 1.5em; }
.ar__body img { display: block; width: auto; max-width: 100%; height: auto; margin: 28px auto; border-radius: 14px; }
.ar__body a { color: var(--c1); text-decoration: underline; text-underline-offset: 3px; }
.ar__body ul, .ar__body ol { margin: 0 0 1.5em; padding-left: 1.4em; }
.ar__body li { margin: .3em 0; }
.ar__body blockquote { margin: 24px 0; padding: 18px 22px; border-left: 4px solid var(--c2); background: var(--pale-2); border-radius: 0 12px 12px 0; }
.ar__body table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14.5px; }
.ar__body th, .ar__body td { padding: 12px 14px; border: 1px solid var(--line); vertical-align: top; }
.ar__body th { background: var(--pale-2); font-weight: 700; }
.ar__body iframe, .ar__body video { max-width: 100%; }
.ar__body strong { font-weight: 700; }
.ar__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.share { display: flex; align-items: center; gap: 10px; }
.share__l { margin-right: 4px; font-family: var(--fs-en); font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--gray); }
.share a { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.share a:hover { transform: translateY(-2px); border-color: var(--c1); box-shadow: 0 10px 20px -14px rgba(37, 99, 235, .6); }
.share svg { width: 17px; height: 17px; }
.ar__foot .pill { min-width: 0; height: 52px; padding: 0 28px; font-family: var(--fs-jp); font-size: 13.5px; letter-spacing: .06em; }
.ar__rel { padding: 90px 0 120px; background: linear-gradient(180deg, #f5f7fd, #fff); }
.ar__rel .works__list { margin-top: 40px; }
.ar__rel .nl__list { margin-top: 28px; }
.pill--white { background: #fff; color: var(--ink); }
.pill--white::after { background: var(--c1); }
.pill--white:hover { color: #fff; }
.pill--white:hover::after { background: #fff; }
.pill--ghost { background: transparent; color: var(--ink); border: 1.5px solid rgba(15, 23, 42, .25); }
.pill--ghost::after { background: var(--c1); }
.pill--ghost:hover { color: #fff; border-color: transparent; }
.pill--ghost:hover::after { background: #fff; }


/* ---------- Service page (service-v2) ---------- */
.sv-hero { position: relative; margin-top: 100px; padding: 72px 0 84px; overflow: hidden; color: #fff; background: linear-gradient(135deg, #061238 0%, #0b1f5c 45%, #12307f 100%); }
.sv-hero__mesh i { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; pointer-events: none; }
.sv-hero__mesh i:nth-child(1) { width: 40vw; height: 40vw; left: -12vw; top: -10vw; background: radial-gradient(closest-side, var(--dot, #2563eb), transparent 70%); animation: mesh 22s ease-in-out infinite alternate; }
.sv-hero__mesh i:nth-child(2) { width: 34vw; height: 34vw; right: -8vw; bottom: -14vw; background: radial-gradient(closest-side, #06b6d4, transparent 70%); opacity: .35; animation: mesh 26s ease-in-out infinite alternate-reverse; }
.sv-hero__in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 56px; align-items: center; }
.sv-hero__eyebrow { display: flex; align-items: center; gap: 10px; margin-top: 26px; font-family: var(--fs-en); font-size: 12px; font-weight: 700; letter-spacing: .22em; color: rgba(255, 255, 255, .75); }
.sv-hero__eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 1px; background: var(--dot, #fff); }
.sv-hero__ttl { margin-top: 14px; font-size: clamp(34px, 3.6vw, 52px); font-weight: 700; line-height: 1.25; letter-spacing: .02em; }
.sv-hero__ttl small { display: block; margin-top: 12px; font-family: var(--fs-en); font-weight: 600; font-size: 15px; letter-spacing: .18em; color: rgba(255, 255, 255, .7); }
.sv-hero__lead { max-width: 560px; margin-top: 22px; font-size: 15.5px; line-height: 2; letter-spacing: .04em; color: rgba(255, 255, 255, .9); }
.sv-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.sv-hero__cta .pill { min-width: 0; height: 56px; padding: 0 30px; font-family: var(--fs-jp); font-size: 14px; letter-spacing: .06em; }
.sv-hero__cta .pill--ghost { color: #fff; border-color: rgba(255, 255, 255, .6); }
.sv-hero__cta .pill--ghost::after { background: #fff; }
.sv-hero__vis .svc-visual { max-height: none; }
.sv-sec { padding: 110px 0; }
.sv-sec--alt { background: linear-gradient(180deg, #fff 0%, #f5f7fd 100%); }
.sv-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 48px; }
.sv-head__en { display: flex; align-items: center; gap: 10px; font-family: var(--fs-en); font-size: 12px; font-weight: 700; letter-spacing: .24em; color: var(--c1); }
.sv-head__en::before { content: ""; width: 28px; height: 2px; border-radius: 1px; background: var(--grad-brand); }
.sv-head__ttl { font-size: clamp(26px, 2.8vw, 38px); font-weight: 700; line-height: 1.4; letter-spacing: .03em; }
.sv-head__lead { max-width: 760px; font-size: 15px; line-height: 2; color: #333; }
.sv-issues { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.sv-issues li { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: 15px; font-weight: 700; line-height: 1.6; }
.sv-issues li::before { content: "✓"; flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--grad-brand); color: #fff; font-size: 13px; font-weight: 700; }
.sv-issues__note { margin-top: 30px; text-align: center; font-size: 18px; font-weight: 700; letter-spacing: .04em; }
.sv-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.sv-card { position: relative; padding: 32px 28px 30px; border-radius: 22px; background: rgba(255, 255, 255, .86); border: 1px solid rgba(255, 255, 255, .95); box-shadow: 0 2px 4px rgba(15, 23, 42, .04), 0 24px 50px -34px rgba(15, 23, 42, .35); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: transform .3s var(--ease), box-shadow .3s; }
.sv-card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(15, 23, 42, .05), 0 36px 60px -30px rgba(37, 99, 235, .35); }
.sv-card__no { font-family: var(--fs-en); font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--c1); }
.sv-card__t { margin-top: 10px; font-size: 19px; font-weight: 700; line-height: 1.5; }
.sv-card__d { margin-top: 12px; font-size: 14px; line-height: 1.9; color: #333; }
.sv-why { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.sv-why__i { display: flex; gap: 18px; padding: 26px 26px 24px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.sv-why__no { flex: none; font-family: var(--fs-en); font-weight: 700; font-size: 30px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--c1); }
.sv-why__t { font-size: 17px; font-weight: 700; line-height: 1.5; }
.sv-why__d { margin-top: 8px; font-size: 14px; line-height: 1.9; color: #333; }
.sv-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.sv-chips span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 700; }
.sv-chips span::before { content: ""; width: 6px; height: 6px; border-radius: 1.5px; transform: rotate(45deg); background: var(--c1); }
.sv-plans { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.sv-plan { position: relative; padding: 26px 20px 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 40px -34px rgba(15, 23, 42, .4); }
.sv-plan--hot { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad-brand) border-box; }
.sv-plan__tag { position: absolute; top: -12px; left: 20px; padding: 4px 12px; border-radius: 999px; background: var(--btn); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .06em; }
.sv-plan__name { font-family: var(--fs-en); font-weight: 700; font-size: 13px; letter-spacing: .14em; color: var(--c1); }
.sv-plan__price { margin-top: 8px; font-size: 21px; font-weight: 700; letter-spacing: .01em; line-height: 1.25; }
.sv-plan__for { margin-top: 6px; font-size: 12px; color: #666; }
.sv-plan dl { margin-top: 18px; border-top: 1px solid var(--line); }
.sv-plan dl div { display: flex; justify-content: space-between; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; line-height: 1.5; }
.sv-plan dt { color: #666; flex: none; }
.sv-plan dd { font-weight: 700; text-align: right; }
.sv-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.sv-opts__box { padding: 22px 24px; border-radius: 16px; background: var(--pale-2); }
.sv-opts__box h4 { margin-bottom: 10px; font-size: 15px; font-weight: 700; }
.sv-opts__box table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.sv-opts__box td { padding: 8px 0; border-top: 1px solid var(--line); }
.sv-opts__box td:nth-child(2) { color: #666; }
.sv-opts__box td:last-child { text-align: right; font-weight: 700; white-space: nowrap; }
.sv-note { margin-top: 18px; font-size: 12.5px; line-height: 1.8; color: #666; }
.sv-flow { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; counter-reset: step; }
.sv-flow li { position: relative; padding: 22px 16px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.sv-flow li::before { counter-increment: step; content: "0" counter(step); font-family: var(--fs-en); font-weight: 700; font-size: 12px; letter-spacing: .16em; color: var(--c1); }
.sv-flow b { display: block; margin-top: 8px; font-size: 15px; font-weight: 700; line-height: 1.4; }
.sv-flow p { margin-top: 8px; font-size: 12.5px; line-height: 1.7; color: #444; }
.sv-faq { max-width: 860px; }
.sv-faq details { border-bottom: 1px solid var(--line); }
.sv-faq summary { list-style: none; cursor: pointer; display: flex; align-items: flex-start; gap: 14px; padding: 22px 4px; font-size: 16px; font-weight: 700; line-height: 1.6; }
.sv-faq summary::-webkit-details-marker { display: none; }
.sv-faq summary::before { content: "Q"; flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: rgba(37, 99, 235, .1); font-family: var(--fs-en); font-weight: 700; color: var(--c1); }
.sv-faq .a { display: flex; gap: 14px; padding: 0 4px 24px; font-size: 14.5px; line-height: 1.9; color: #333; }
.sv-faq .a::before { content: "A"; flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: rgba(236, 72, 153, .1); font-family: var(--fs-en); font-weight: 700; color: var(--c4); }
.sv-works .works__list { margin-top: 0; }
.svi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.svi a { display: block; padding: 32px 28px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 50px -34px rgba(15, 23, 42, .35); transition: transform .3s var(--ease), box-shadow .3s; }
.svi a:hover { transform: translateY(-4px); box-shadow: 0 36px 60px -30px rgba(37, 99, 235, .35); }
.svi__no { display: flex; align-items: center; gap: 10px; font-family: var(--fs-en); font-weight: 700; font-size: 12px; letter-spacing: .2em; color: var(--dot); }
.svi__no::before { content: ""; width: 24px; height: 2px; border-radius: 1px; background: var(--dot); }
.svi__t { display: block; margin-top: 12px; font-size: 20px; font-weight: 700; }
.svi__en { display: block; margin-top: 4px; font-family: var(--fs-en); font-size: 12px; letter-spacing: .14em; color: #666; }
.svi__d { margin-top: 12px; font-size: 14px; line-height: 1.9; color: #333; }
.svi__more { display: inline-flex; margin-top: 16px; }

/* ---------- 404 / Search ---------- */
.nl + .pagination, .nl .pagination { margin-top: 36px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-family: var(--fs-en); font-weight: 700; font-size: 14px; color: var(--ink); transition: background .2s, color .2s, border-color .2s; }
.pagination .page-numbers:hover { border-color: var(--c1); color: var(--c1); }
.pagination .page-numbers.current { background: var(--btn); border-color: var(--btn); color: #fff; }
.pagination .page-numbers.dots { border: 0; background: transparent; }

.p404 { padding: 80px 0 120px; text-align: center; }
.p404__code { font-family: var(--fs-en); font-weight: 700; font-size: clamp(80px, 14vw, 160px); line-height: 1; letter-spacing: -.02em; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.p404__t { margin-top: 10px; font-size: 22px; font-weight: 700; }
.p404__d { margin-top: 12px; font-size: 15px; line-height: 1.9; color: #333; }
.p404__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 32px; }
.p404__btns .pill { min-width: 0; height: 56px; padding: 0 30px; font-family: var(--fs-jp); font-size: 14px; }
.sr__meta { margin-bottom: 8px; font-family: var(--fs-en); font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--gray); }
.sr__q { font-size: 15px; color: #333; }
.nl__cat--works { color: var(--c1); }
.nl__cat--page { color: var(--c3); }
.nl__ex { display: block; margin-top: 6px; font-size: 13px; font-weight: 400; color: #555; line-height: 1.7; }

@media (max-width: 1023px) {
  .ph--ar .ph__in { padding: 110px var(--side) 32px; }
  .ph__ttl--ar { font-size: clamp(19px, 5.4vw, 26px); }
  .ar { padding: 40px 0 70px; }
  .ar__body { font-size: 15px; line-height: 1.95; }
  .ar__body h2 { margin: 44px 0 16px; font-size: 20px; }
  .ar__body h3 { font-size: 17px; }
  .ar__rel { padding: 60px 0 80px; }
  .sv-hero { margin-top: 64px; padding: 40px 0 50px; }
  .sv-hero__in { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .sv-hero__vis .svc-visual { height: min(92vw, 560px); aspect-ratio: auto; }
  .sv-sec { padding: 64px 0; }
  .sv-head { margin-bottom: 28px; }
  .sv-issues, .sv-grid3, .sv-why, .sv-opts, .svi { grid-template-columns: minmax(0, 1fr); }
  .sv-issues li { font-size: 14px; }
  .sv-plans, .sv-flow { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 599px) {
  .sv-plans, .sv-flow { grid-template-columns: minmax(0, 1fr); }
}
