@charset "UTF-8";
/* =========================================================
   株式会社NEXT — Medical Lead
   clean medical blue, from the メディカルリード pamphlet
   ========================================================= */

:root {
  --navy: #163f8c;
  --blue: #1f63b8;
  --teal: #1fa6c0;
  --cyan: #45bfe0;
  --sky: #e9f3fb;
  --pale: #f4f8fc;
  --ink: #1c2a3e;
  --ink-2: #56667c;
  --line: #dbe5f0;
  --violet: #6a5cb8;
  --orange: #ee8635;
  --green: #3eae8f;
  --grad: linear-gradient(115deg, #1a4ea4 0%, #1f7fc0 58%, #29b4c8 100%);
  --en: "Montserrat", "Noto Sans JP", sans-serif;
  --jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --w: 1120px;
  --header-h: 84px;
  --r: 16px;
  --shadow: 0 10px 30px rgba(22, 63, 140, .09);
  --nx-ink: #0f1d26;
  --nx-teal: #1f8f8c;
  --nx-teal-l: #3cc2bd;
  --nx-grad: linear-gradient(115deg, #1d4a4c 0%, #1f8f8c 60%, #3cc2bd 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--jp); color: var(--ink); background: #fff; line-height: 1.9; letter-spacing: .04em; font-size: 15.5px; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, dl, dd, ol, ul { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { font-style: normal; }
.container { width: min(var(--w), 100% - 40px); margin-inline: auto; }
.narrow { width: min(880px, 100% - 40px); }
.center { text-align: center; }
[id] { scroll-margin-top: calc(var(--header-h) + 10px); }
.sp { display: none; }
.i { width: 1em; height: 1em; flex: none; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); display: flex; align-items: center; background: rgba(255,255,255,.0); transition: background .3s, box-shadow .3s, height .3s; }
.header.is-solid, .is-sub .header { background: rgba(255,255,255,.96); box-shadow: 0 1px 0 var(--line); }
.header__inner { width: min(1280px, 100% - 40px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo img { width: 168px; height: auto; }
.nav ul { display: flex; gap: 30px; align-items: center; }
.nav a { font-size: 14px; font-weight: 500; display: block; position: relative; padding: 6px 0; }
.nav li:not(.nav__cta) a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .nav__cta a { padding: 10px 26px; border-radius: 999px; background: var(--grad); color: #fff; font-weight: 700; box-shadow: 0 6px 16px rgba(31,99,184,.25); transition: transform .2s, box-shadow .2s; }
.nav .nav__cta a:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(31,99,184,.3); }

.menu-btn { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--grad); cursor: pointer; position: relative; z-index: 120; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: #fff; transition: .3s; }
.menu-btn span:nth-child(1) { top: 16px; } .menu-btn span:nth-child(2) { top: 22px; } .menu-btn span:nth-child(3) { top: 28px; }
body.menu-open .menu-btn span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
body.menu-open .menu-btn span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 12px 34px; border-radius: 999px; font-weight: 700; font-size: 15px; letter-spacing: .06em; border: 2px solid transparent; cursor: pointer; font-family: inherit; transition: transform .2s, box-shadow .2s, background .2s, color .2s; }
.btn .i { font-size: 18px; transition: transform .2s; }
.btn:hover .i { transform: translateX(4px); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(31,99,184,.25); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(31,99,184,.32); }
.btn--ghost { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn--ghost:hover { background: var(--blue); color: #fff; }
.btn--lg { min-height: 62px; padding-inline: 52px; font-size: 16px; }
.link-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; font-weight: 700; color: var(--blue); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-more .i { transition: transform .2s; }
.link-more:hover .i { transform: translateX(4px); }

/* ---------- Section / titles ---------- */
.section { padding: 110px 0; position: relative; }
.section--pale { background: var(--pale); }
.sec-title { margin-bottom: 48px; }
.sec-title--center { text-align: center; }
.sec-title__en { font-family: var(--en); font-weight: 600; font-size: 13px; letter-spacing: .24em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-flex; align-items: center; gap: 12px; }
.sec-title__en::before { content: ""; width: 28px; height: 2px; background: var(--grad); }
.sec-title--center .sec-title__en::after { content: ""; width: 28px; height: 2px; background: var(--grad); }
.sec-title__jp { font-size: clamp(24px, 3vw, 32px); font-weight: 700; line-height: 1.55; margin-top: 10px; color: var(--navy); }
.sec-title__lead { margin-top: 18px; color: var(--ink-2); }

/* ---------- Fade ---------- */
.fade { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.fade.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .fade { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(760px, 100svh); display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 160px; overflow: hidden; background: #fff; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 0% 40%; transform: scaleX(-1); }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.94) 36%, rgba(255,255,255,.55) 58%, rgba(255,255,255,0) 78%); }
.hero__body { position: relative; z-index: 1; }
.hero__tag { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--blue); padding: 6px 18px; border: 1px solid rgba(31,99,184,.35); border-radius: 999px; background: rgba(255,255,255,.7); }
.hero__title { margin-top: 26px; font-size: clamp(30px, 4.4vw, 54px); line-height: 1.45; font-weight: 700; letter-spacing: .06em; color: var(--navy); }
.hero__title br + * { display: inline; }
.hero__lead { margin-top: 24px; font-size: clamp(14px, 1.3vw, 16px); color: var(--ink-2); max-width: 36em; }
.hero__btns { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; }
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 160px; z-index: 1; }

/* ---------- Points (3 circles under hero) ---------- */
.points { position: relative; z-index: 2; margin-top: -110px; }
.points__inner { display: flex; justify-content: center; gap: clamp(16px, 4vw, 56px); }
.point { width: 210px; aspect-ratio: 1; border-radius: 50%; background: #fff; box-shadow: 0 14px 40px rgba(22,63,140,.13); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 18px; }
.point__icon { font-size: 46px; color: var(--blue); line-height: 0; }
.point__icon .i { stroke-width: 1.5; }
.point__title { margin-top: 8px; font-weight: 700; color: var(--navy); font-size: 16px; }
.point__text { margin-top: 4px; font-size: 12px; line-height: 1.7; color: var(--ink-2); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }
.about__catch { font-size: clamp(24px, 2.8vw, 32px); font-weight: 700; line-height: 1.6; color: var(--navy); margin: -12px 0 28px; }
.about__catch em { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about__text > p:not([class]) + p:not([class]) { margin-top: 1em; }
.about__text > p:not([class]) { color: var(--ink-2); }
.about__img { position: relative; }
.about__img img { border-radius: 24px; aspect-ratio: 4 / 3.4; object-fit: cover; width: 100%; position: relative; z-index: 1; }
.about__img::before { content: ""; position: absolute; inset: 28px -24px -24px 28px; border-radius: 24px; background: var(--grad); opacity: .14; }

/* ---------- Worries ---------- */
.worries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.worries li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border-radius: var(--r); padding: 24px 22px; box-shadow: var(--shadow); font-weight: 500; line-height: 1.75; }
.worries .i { font-size: 24px; color: var(--teal); margin-top: 1px; }
.worries__answer { text-align: center; margin-top: 48px; font-size: clamp(18px, 2vw, 22px); font-weight: 700; color: var(--navy); }
.worries__answer strong { background: linear-gradient(transparent 62%, rgba(69,191,224,.35) 62%); }

/* ---------- Medical Lead logo ---------- */
.ml-logo { display: inline-flex; flex-direction: column; align-items: center; }
.ml-mark { width: 96px; height: auto; }
.ml-logo__name { margin-top: 8px; font-size: clamp(34px, 5vw, 56px); font-weight: 700; letter-spacing: .02em; line-height: 1.2; background: linear-gradient(90deg, #1b3f93 0%, #1f5fb4 55%, #2a9fc7 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ml-logo__en { margin-top: 8px; font-family: "Lora", serif; color: var(--blue); letter-spacing: .28em; font-size: clamp(13px, 1.4vw, 17px); display: flex; align-items: center; gap: 16px; }
.ml-logo__en::before, .ml-logo__en::after { content: ""; width: 56px; height: 1px; background: var(--blue); opacity: .6; }
.ml-logo--sm .ml-mark { width: 54px; }
.ml-logo--sm .ml-logo__name { font-size: 22px; margin-top: 2px; }
.ml-logo--sm .ml-logo__en { font-size: 10px; margin-top: 2px; gap: 8px; }
.ml-logo--sm .ml-logo__en::before, .ml-logo--sm .ml-logo__en::after { width: 22px; }

/* ---------- Medical Lead intro ---------- */
.ml-intro { background: radial-gradient(1200px 500px at 50% -10%, var(--sky), transparent 70%), #fff; }
.ml-intro__head { text-align: center; margin-bottom: 64px; }
.ml-intro__sub { font-weight: 700; color: var(--blue); letter-spacing: .12em; margin-bottom: 22px; font-size: clamp(14px, 1.5vw, 17px); }
.ml-intro__catch { margin-top: 28px; font-size: clamp(18px, 2.2vw, 24px); font-weight: 700; color: var(--navy); letter-spacing: .08em; }
.ml-intro__catch em { color: var(--teal); }

/* ---------- Features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature { background: #fff; border-radius: var(--r); padding: 36px 22px 30px; text-align: center; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.feature:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(22,63,140,.14); }
.feature__icon { width: 96px; height: 96px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; font-size: 46px; color: #fff; }
.feature__icon .i { stroke-width: 1.5; }
.feature__icon--teal { background: linear-gradient(135deg, #5cc6c9, #2a9fb0); }
.feature__icon--blue { background: linear-gradient(135deg, #9cc8ee, #4f8fd2); }
.feature__icon--violet { background: linear-gradient(135deg, #b5ace6, #7c6fc8); }
.feature__icon--green { background: linear-gradient(135deg, #a3dcc9, #4fb293); }
.feature__title { margin-top: 20px; font-size: 17px; color: var(--navy); }
.feature__text { margin-top: 10px; font-size: 13.5px; color: var(--ink-2); line-height: 1.8; }

/* ---------- Proactive box ---------- */
.proactive { margin: 48px 0 56px; display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; padding: 44px 52px; border-radius: 24px; background: linear-gradient(135deg, #eef5fc, #e8f6f8); border: 1px solid var(--line); }
.proactive__head { display: flex; align-items: center; gap: 22px; }
.proactive__icon { font-size: 76px; color: var(--teal); line-height: 0; }
.proactive__icon .i { stroke-width: 1.4; }
.proactive__label { font-size: 13px; font-weight: 700; color: var(--blue); letter-spacing: .1em; }
.proactive__catch { margin-top: 6px; font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; line-height: 1.5; color: var(--navy); }
.proactive__catch em { color: var(--teal); }
.proactive__body p + p { margin-top: .8em; }
.proactive__body { color: var(--ink-2); font-size: 14.5px; }
.proactive__strong { color: var(--blue); font-weight: 700; }

/* ---------- Cycle ---------- */
.cycle { display: grid; grid-template-columns: 440px 1fr; gap: 64px; align-items: center; }
.cycle__diagram { position: relative; width: 100%; max-width: 440px; aspect-ratio: 1; margin-inline: auto; }
.cycle__ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.cycle__ring circle { fill: none; stroke: #b9d4ee; stroke-width: 2; stroke-dasharray: 6 8; animation: spin 60s linear infinite; transform-origin: 200px 200px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .cycle__ring circle { animation: none; } }
.cycle__center { position: absolute; inset: 26%; display: grid; place-items: center; background: #fff; border-radius: 50%; box-shadow: var(--shadow); }
.cycle__center .ml-logo--sm .ml-logo__name { font-size: clamp(15px, 1.8vw, 20px); }
.cycle__node { --a: 0deg; position: absolute; left: 50%; top: 50%; width: 22%; aspect-ratio: 1; margin: -11% 0 0 -11%; border-radius: 50%; display: grid; place-items: center; font-size: clamp(28px, 3.4vw, 40px); transform: rotate(var(--a)) translateY(-170%) rotate(calc(var(--a) * -1)); }
.cycle__node .i { stroke-width: 1.5; }
.cycle__node b { position: absolute; top: -6px; left: -6px; width: 34px; height: 34px; border-radius: 50%; color: #fff; font: 700 13px/34px var(--en); text-align: center; }
.cycle__node--1 { --a: -36deg; background: #e3e9f8; color: var(--navy); } .cycle__node--1 b { background: var(--navy); }
.cycle__node--2 { --a: 36deg; background: #dff1f1; color: var(--teal); } .cycle__node--2 b { background: var(--teal); }
.cycle__node--3 { --a: 108deg; background: #e8e5f6; color: var(--violet); } .cycle__node--3 b { background: var(--violet); }
.cycle__node--4 { --a: 180deg; background: #fbeadc; color: var(--orange); } .cycle__node--4 b { background: var(--orange); }
.cycle__node--5 { --a: 252deg; background: #dcefe9; color: var(--green); } .cycle__node--5 b { background: var(--green); }
.cycle__steps { display: grid; gap: 14px; }
.step { display: flex; gap: 18px; align-items: flex-start; background: #fff; border-radius: var(--r); padding: 20px 24px; box-shadow: var(--shadow); }
.step__num { flex: none; width: 44px; height: 44px; border-radius: 50%; color: #fff; font: 700 16px/44px var(--en); text-align: center; }
.step__title { font-size: 16.5px; line-height: 1.5; margin-top: 8px; }
.step p { margin-top: 4px; font-size: 13.5px; color: var(--ink-2); line-height: 1.8; }
.step--1 .step__num { background: var(--navy); } .step--1 .step__title { color: var(--navy); }
.step--2 .step__num { background: var(--teal); } .step--2 .step__title { color: var(--teal); }
.step--3 .step__num { background: var(--violet); } .step--3 .step__title { color: var(--violet); }
.step--4 .step__num { background: var(--orange); } .step--4 .step__title { color: var(--orange); }
.step--5 .step__num { background: var(--green); } .step--5 .step__title { color: var(--green); }

/* ---------- Examples ---------- */
.examples { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 24px; max-width: 960px; margin-inline: auto; }
.examples li { display: flex; align-items: center; gap: 18px; padding: 20px 26px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; font-weight: 500; }
.examples .i { font-size: 30px; color: var(--blue); padding: 10px; width: 52px; height: 52px; border-radius: 50%; background: var(--sky); box-sizing: border-box; stroke-width: 1.6; }

/* ---------- News ---------- */
.news__head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 36px; }
.news__head .sec-title { margin: 0; }
.news__head .link-more { margin: 0 0 6px; }
.news-list { border-top: 1px solid var(--line); background: transparent; }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list__link { display: flex; align-items: center; gap: 24px; padding: 24px 8px; transition: background .2s; }
a.news-list__link:hover { background: rgba(31,99,184,.04); }
a.news-list__link:hover .news-list__title { color: var(--blue); }
.news-list time, .post__meta time { font-family: var(--en); font-weight: 500; color: var(--ink-2); font-size: 14px; flex: none; }
.news-list__cat { flex: none; font-size: 12px; font-weight: 700; color: var(--blue); background: var(--sky); padding: 2px 14px; border-radius: 999px; }
.news-list__title { transition: color .2s; }
.news-list__empty { padding: 24px 8px; color: var(--ink-2); }

/* ---------- Page hero ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + 72px) 0 100px; background: var(--grad); color: #fff; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; right: -60px; top: 30px; width: 380px; height: 380px; background:
  linear-gradient(#fff,#fff) 50% 0 / 30% 30% no-repeat, linear-gradient(#fff,#fff) 0 50% / 30% 30% no-repeat,
  linear-gradient(#fff,#fff) 100% 50% / 30% 30% no-repeat, linear-gradient(#fff,#fff) 50% 100% / 30% 30% no-repeat; opacity: .07; border-radius: 30px; transform: rotate(8deg); }
.page-hero__en { font-family: var(--en); font-weight: 600; letter-spacing: .24em; font-size: 13px; opacity: .85; }
.page-hero__jp { margin-top: 8px; font-size: clamp(28px, 4vw, 42px); font-weight: 700; letter-spacing: .08em; }
.page-hero__wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 60px; }

/* ---------- Medical Lead page ---------- */
.ml-lead { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.ml-lead__logo { text-align: center; }
.ml-lead__catch { font-size: clamp(20px, 2.3vw, 26px); font-weight: 700; color: var(--navy); line-height: 1.6; margin-bottom: 24px; }
.ml-lead__catch em { color: var(--teal); }
.ml-lead__text p:not([class]) { color: var(--ink-2); }
.ml-lead__text p + p { margin-top: 1em; }
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: flow; }
.flow li { position: relative; background: #fff; border-radius: var(--r); padding: 28px 20px; box-shadow: var(--shadow); text-align: center; }
.flow li:not(:last-child)::after { content: ""; position: absolute; right: -13px; top: 50%; width: 10px; height: 10px; border-top: 2px solid var(--cyan); border-right: 2px solid var(--cyan); transform: translateY(-50%) rotate(45deg); }
.flow__num { font: 700 12px var(--en); letter-spacing: .14em; color: var(--teal); }
.flow h3 { margin-top: 6px; font-size: 16px; color: var(--navy); }
.flow p { margin-top: 10px; font-size: 13px; color: var(--ink-2); line-height: 1.75; text-align: left; }

/* ---------- Company ---------- */
.slogan { text-align: center; font-size: clamp(30px, 4.4vw, 48px); font-weight: 700; letter-spacing: .14em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin: -12px 0 48px; }
.philosophy { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.philosophy li { background: var(--pale); border-radius: var(--r); padding: 32px 28px; }
.philosophy span { font: 700 30px/1 var(--en); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.philosophy p { margin-top: 14px; font-weight: 500; line-height: 1.85; }
.message { display: grid; grid-template-columns: 280px 1fr; gap: 56px; }
.message__body p:not([class]) + p { margin-top: 1.1em; }
.message__body p:not([class]) { color: var(--ink-2); }
.message__sign { margin-top: 36px; text-align: right; font-size: 14px; line-height: 1.8; }
.message__sign span { display: block; font-size: 22px; font-weight: 700; letter-spacing: .2em; color: var(--navy); }
.table { border-top: 2px solid var(--blue); }
.table > div { display: grid; grid-template-columns: 200px 1fr; border-bottom: 1px solid var(--line); }
.table dt { padding: 22px 24px; font-weight: 700; color: var(--navy); background: var(--pale); }
.table dd { padding: 22px 28px; }
.table a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.dots li { position: relative; padding-left: 1.1em; }
.dots li::before { content: ""; position: absolute; left: 0; top: .78em; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.map { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 8; background: var(--sky); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map__addr { margin-top: 20px; text-align: center; }
.map__addr small { color: var(--ink-2); }

/* ---------- Recruit ---------- */
.entry { margin-top: 56px; text-align: center; padding: 48px 24px; border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.entry__lead { font-size: clamp(18px, 2vw, 22px); font-weight: 700; color: var(--navy); margin-bottom: 28px; }

/* ---------- Contact ---------- */
.contact__lead { text-align: center; color: var(--ink-2); }
.contact__tel { margin: 40px auto 56px; max-width: 520px; text-align: center; padding: 32px 24px; border-radius: 20px; background: var(--pale); }
.contact__tel-label { font-weight: 700; color: var(--navy); }
.contact__tel a { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; font: 700 clamp(30px, 4vw, 40px)/1.2 var(--en); color: var(--blue); letter-spacing: .04em; }
.contact__tel a .i { font-size: .8em; }
.contact__tel p:last-child { font-size: 13px; color: var(--ink-2); margin-top: 6px; }
.form { border-top: 2px solid var(--blue); }
.form__row { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: start; }
.form__row label { font-weight: 700; padding-top: 12px; display: flex; align-items: center; gap: 10px; }
.form__row label em { font-size: 11px; color: #fff; background: #d9534f; padding: 1px 8px; border-radius: 4px; font-weight: 700; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea { width: 100%; font: inherit; padding: 13px 16px; border: 1px solid #c9d6e4; border-radius: 10px; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31,99,184,.12); }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__agree { text-align: center; margin: 32px 0 28px; }
.form__agree a { color: var(--blue); text-decoration: underline; }
.form__agree input { width: 18px; height: 18px; vertical-align: -3px; margin-right: 6px; accent-color: var(--blue); }
.form__msg { padding: 18px 22px; border-radius: 12px; margin-bottom: 28px; font-weight: 700; }
.form__msg--ok { background: #e6f6ef; color: #1d7a52; }
.form__msg--err { background: #fdecec; color: #b3261e; }

/* ---------- Post / prose ---------- */
.post__meta { display: flex; align-items: center; gap: 16px; }
.post__title { margin: 14px 0 32px; padding-bottom: 24px; border-bottom: 1px solid var(--line); font-size: clamp(22px, 2.6vw, 28px); line-height: 1.5; color: var(--navy); }
.post + .center { margin-top: 64px; }
.prose > * + * { margin-top: 1.2em; }
.prose h2 { margin-top: 2.2em; font-size: 20px; color: var(--navy); padding-left: 14px; border-left: 4px solid var(--teal); line-height: 1.5; }
.prose ul { padding-left: 1.4em; list-style: disc; }
.prose a { color: var(--blue); text-decoration: underline; }
.prose img { border-radius: 12px; }

/* ---------- CTA ---------- */
.cta { position: relative; padding: 88px 0; background: var(--grad); color: #fff; overflow: hidden; }
.cta::before { content: ""; position: absolute; left: -80px; bottom: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255,255,255,.06); }
.cta__inner { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.cta__en { font-family: var(--en); font-weight: 600; letter-spacing: .24em; font-size: 13px; opacity: .85; }
.cta__jp { margin-top: 8px; font-size: clamp(24px, 3vw, 34px); font-weight: 700; letter-spacing: .06em; }
.cta__lead { margin-top: 8px; opacity: .9; font-size: 14px; }
.cta__actions { display: grid; gap: 14px; }
.cta__tel { display: flex; align-items: center; gap: 16px; padding: 18px 32px; border-radius: 16px; background: #fff; color: var(--blue); transition: transform .2s; }
.cta__tel:hover, .cta__mail:hover { transform: translateY(-2px); }
.cta__tel .i { font-size: 34px; }
.cta__tel span { font: 700 34px/1.1 var(--en); letter-spacing: .04em; }
.cta__tel small { display: block; font: 500 12px/1.6 var(--jp); color: var(--ink-2); letter-spacing: .06em; margin-top: 4px; }
.cta__mail { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 32px; border-radius: 999px; border: 2px solid rgba(255,255,255,.8); font-weight: 700; transition: transform .2s, background .2s; }
.cta__mail:hover { background: rgba(255,255,255,.12); }
.cta__mail .i { font-size: 20px; }

/* ---------- Footer ---------- */
.footer { background: #0f1d26; color: rgba(255,255,255,.85); padding: 72px 0 28px; font-size: 13.5px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer .logo { display: inline-block; background: #fff; padding: 12px 18px; border-radius: 10px; }
.footer .logo img { width: 150px; }
.footer__slogan { margin-top: 16px; font-weight: 700; letter-spacing: .12em; color: #fff; }
.footer__addr { margin-top: 10px; display: flex; gap: 8px; line-height: 1.8; }
.footer__addr .i { margin-top: .35em; color: var(--cyan); }
.footer__label { font: 600 12px var(--en); letter-spacing: .2em; color: var(--cyan); margin-bottom: 14px; }
.footer__service a { display: inline-block; background: #fff; padding: 18px 26px 14px; border-radius: 12px; transition: transform .2s; }
.footer__service a:hover { transform: translateY(-2px); }
.footer__nav ul { display: grid; gap: 10px; }
.footer__nav a { transition: color .2s; }
.footer__nav a:hover { color: var(--cyan); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-family: var(--en); font-size: 12px; color: rgba(255,255,255,.6); }
.pagetop { font-weight: 600; letter-spacing: .14em; color: #fff; }


/* =========================================================
   Corporate (TOP) — NEXT brand: ink + teal from the logo
   ========================================================= */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (min-width: 901px) { .is-front .header:not(.is-solid) .nav li:not(.nav__cta) a { color: #fff; } }
.is-front .header:not(.is-solid) .logo { background: #fff; padding: 8px 14px; border-radius: 8px; }
.is-front .header:not(.is-solid) .menu-btn { background: rgba(255,255,255,.18); }
.nx-hero { position: relative; min-height: 100svh; transition: background .1s; display: flex; align-items: center; overflow: hidden; background: var(--nx-ink); color: #fff; padding: calc(var(--header-h) + 40px) 0 120px; }
.nx-hero__bg { position: absolute; inset: 0; }
.nx-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .42; transform: scale(1.06); animation: nxZoom 14s ease-out forwards; }
@keyframes nxZoom { to { transform: scale(1); } }
.nx-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,22,32,.92) 0%, rgba(10,22,32,.55) 55%, rgba(15,60,62,.35) 100%); }
.nx-hero__stripes { position: absolute; left: -4vw; top: 22%; width: 34vw; display: grid; gap: 2.2vw; transform: skewY(-9deg); opacity: .9; }
.nx-hero__stripes span { display: block; height: 2.6vw; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--nx-teal)); transform: scaleX(0); transform-origin: left; animation: nxBar 1s cubic-bezier(.2,.8,.2,1) forwards; }
.nx-hero__stripes span:nth-child(1) { width: 70%; opacity: .5; animation-delay: .2s; }
.nx-hero__stripes span:nth-child(2) { width: 85%; opacity: .7; animation-delay: .35s; }
.nx-hero__stripes span:nth-child(3) { width: 100%; animation-delay: .5s; }
@keyframes nxBar { to { transform: scaleX(1); } }
.nx-hero__body { position: relative; z-index: 1; }
.nx-hero__en { font: 600 clamp(12px, 1.2vw, 15px) var(--en); letter-spacing: .4em; color: var(--nx-teal-l); opacity: 0; animation: nxUp .8s .3s forwards; }
.nx-hero__logo { margin: 10px 0 0 -0.04em; line-height: .86; }
.nx-hero__word { display: flex; font: italic 800 clamp(120px, 23vw, 340px)/.86 var(--en); letter-spacing: -.02em; }
/* N・E・X・T fly in slowly from four directions → glow → white flash → night turns to day */
.nx-hero__word span { display: inline-block; opacity: 0; will-change: transform, opacity, filter;
  animation: nxGather 2.4s cubic-bezier(.16,.84,.22,1.06) forwards; }
.nx-hero__word span:nth-child(1) { --fx: -95vw; --fy: -60vh; --fr: -200deg; animation-delay: .3s; }
.nx-hero__word span:nth-child(2) { --fx: 12vw;  --fy: -110vh; --fr: 160deg;  animation-delay: .7s; }
.nx-hero__word span:nth-child(3) { --fx: -18vw; --fy: 110vh;  --fr: -140deg; animation-delay: .95s; }
.nx-hero__word span:nth-child(4) { --fx: 95vw;  --fy: 40vh;   --fr: 220deg;  animation-delay: .5s; }
@keyframes nxGather {
  0%   { opacity: 0; transform: translate(var(--fx), var(--fy)) rotate(var(--fr)) scale(2.4); filter: blur(18px); }
  20%  { opacity: 1; }
  80%  { filter: blur(0); }
  100% { opacity: 1; transform: none; filter: none; }
}
.nx-hero.is-glow .nx-hero__word { animation: nxGlow 1.1s ease-out both; }
@keyframes nxGlow {
  0%   { text-shadow: none; filter: brightness(1); transform: scale(1); }
  45%  { text-shadow: 0 0 18px #fff, 0 0 50px #d8fffb, 0 0 110px #7fe9e2, 0 0 200px #3cc2bd; filter: brightness(1.8); transform: scale(1.04); }
  100% { text-shadow: 0 0 24px #fff, 0 0 80px #bff5f2, 0 0 160px #6fe3dc; filter: brightness(2.2); transform: scale(1.04); }
}
.nx-hero__flash { position: absolute; inset: -40%; z-index: 4; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at var(--cx, 30%) var(--cy, 45%), #fff 0, #fff 22%, rgba(255,255,255,.9) 30%, rgba(255,255,255,0) 48%);
  transform-origin: var(--cx, 30%) var(--cy, 45%); }
.nx-hero.is-flash .nx-hero__flash { animation: nxFlash 1.9s cubic-bezier(.3,.6,.2,1) forwards; }
@keyframes nxFlash {
  0%   { opacity: 0; transform: scale(.15); }
  30%  { opacity: 1; transform: scale(2.6); }
  52%  { opacity: 1; transform: scale(2.6); }
  100% { opacity: 0; transform: scale(2.6); }
}
.nx-hero__bg img { position: absolute; inset: 0; }
.nx-hero__bg .nx-hero__day { opacity: 0; }
.nx-hero.is-day { background: #eaf3f7; color: var(--nx-ink); }
.nx-hero.is-day .nx-hero__day { opacity: 1; }
.nx-hero.is-day .nx-hero__bg::after { background: linear-gradient(100deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.72) 40%, rgba(255,255,255,.15) 72%, rgba(255,255,255,0) 100%); }
.nx-hero.is-day .nx-hero__word { color: var(--nx-ink); text-shadow: none; filter: none; animation: none; }
.nx-hero.is-day .nx-hero__en { color: var(--nx-teal); }
.nx-hero.is-day .nx-hero__lead { color: var(--ink-2); }
.nx-hero.is-day .nx-hero__scroll { color: var(--nx-ink); }
.nx-hero.is-day .nx-hero__scroll::after { background: linear-gradient(var(--nx-ink), transparent); }
.nx-hero.is-day .nx-marquee { background: rgba(255,255,255,.7); border-top-color: rgba(15,29,38,.08); }
.nx-hero.is-day .nx-marquee__track span { -webkit-text-stroke-color: rgba(15,29,38,.45); }
.nx-hero.is-day .nx-marquee__track span:nth-of-type(2n) { color: var(--nx-teal); }
@media (min-width: 901px) { .is-front.hero-day .header:not(.is-solid) .nav li:not(.nav__cta) a { color: var(--nx-ink); } }
.is-front.hero-day .header:not(.is-solid) .menu-btn { background: var(--nx-grad); }
/* the copy under the logo appears once it is day */
.nx-hero .nx-hero__jp, .nx-hero .nx-hero__lead { animation: none; opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.nx-hero.is-day .nx-hero__jp { opacity: 1; transform: none; transition-delay: .35s; }
.nx-hero.is-day .nx-hero__lead { opacity: 1; transform: none; transition-delay: .55s; }
.nx-hero__word .is-e { background: repeating-linear-gradient(180deg, var(--nx-teal-l) 0 26%, transparent 26% 37%); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes nxUp { to { opacity: 1; transform: none; } }
.nx-hero__jp { margin-top: 28px; font-size: clamp(24px, 3.2vw, 40px); font-weight: 700; letter-spacing: .18em; opacity: 0; animation: nxUp .8s 1.7s forwards; }
.nx-hero__lead { margin-top: 18px; font-size: clamp(14px, 1.3vw, 16px); color: rgba(255,255,255,.82); opacity: 0; animation: nxUp .8s 1.85s forwards; }
.nx-hero__scroll { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); font: 600 11px var(--en); letter-spacing: .3em; color: rgba(255,255,255,.8); padding-bottom: 56px; }
.nx-hero__scroll::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 46px; background: linear-gradient(#fff, transparent); animation: nxScroll 2s infinite; }
@keyframes nxScroll { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (prefers-reduced-motion: reduce) { .nx-hero *, .nx-hero__bg img { animation: none !important; opacity: 1 !important; transform: none !important; } }

.sec-title--nx .sec-title__en, .sec-title--nx .sec-title__en::before, .sec-title--nx .sec-title__en::after { background: var(--nx-grad); }
.sec-title--nx .sec-title__en { -webkit-background-clip: text; background-clip: text; }
.sec-title--nx .sec-title__jp { color: var(--nx-ink); }
.sec-title--white .sec-title__en { background: none; color: #fff; -webkit-text-fill-color: #fff; }
.sec-title--white .sec-title__en::before { background: #fff; }
.sec-title--white .sec-title__jp { color: #fff; }

.nx-mission__inner { display: grid; grid-template-columns: 1fr 1.25fr; gap: 72px; align-items: start; }
.nx-mission__catch { font-size: clamp(44px, 6vw, 80px); font-weight: 700; line-height: 1.3; letter-spacing: .08em; background: var(--nx-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nx-mission__body > p { color: var(--ink-2); }
.nx-mission__body > p + p { margin-top: 1em; }
.nx-mission .philosophy { grid-template-columns: 1fr; gap: 12px; margin-top: 36px; }
.nx-mission .philosophy li { display: flex; gap: 20px; align-items: center; padding: 20px 26px; }
.nx-mission .philosophy span { background: var(--nx-grad); -webkit-background-clip: text; background-clip: text; font-size: 26px; }
.nx-mission .philosophy p { margin: 0; }

.nx-message__inner { display: grid; grid-template-columns: 1fr 1.45fr; gap: 72px; }
.nx-message__quote { font-size: clamp(26px, 3vw, 36px); font-weight: 700; line-height: 1.6; color: var(--nx-ink); padding-left: 22px; border-left: 4px solid var(--nx-teal); }
.nx-message__body p:not([class]) { color: var(--ink-2); }
.nx-message__body p:not([class]) + p { margin-top: 1.2em; }
.nx-message__sign { margin-top: 40px; text-align: right; font-size: 13px; }
.nx-message__sign span { display: block; font-size: 26px; font-weight: 700; letter-spacing: .24em; color: var(--nx-ink); margin-top: 4px; }

.nx-service { position: relative; padding: 120px 0; background: var(--grad); color: #fff; overflow: hidden; }
.nx-service::before { content: ""; position: absolute; right: -8vw; top: -10vw; width: 50vw; height: 50vw; border-radius: 50%; background: radial-gradient(rgba(255,255,255,.14), transparent 65%); }
.nx-service__inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.nx-service__logo { display: inline-block; background: #fff; border-radius: 20px; padding: 30px 40px 24px; box-shadow: 0 20px 50px rgba(0,0,0,.18); }
.nx-service__logo .ml-mark { width: 74px; }
.nx-service__logo .ml-logo__name { font-size: clamp(30px, 3.6vw, 44px); }
.nx-service__catch { margin-top: 32px; font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; line-height: 1.6; }
.nx-service__lead { margin-top: 14px; opacity: .92; }
.nx-service__tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 36px; }
.nx-service__tags li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); font-weight: 700; font-size: 14px; }
.nx-service__tags .i { font-size: 18px; }
.nx-service__img img { border-radius: 28px; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 70% 40%; width: 100%; box-shadow: 0 30px 60px rgba(0,0,0,.22); }
.btn--white { background: #fff; color: var(--blue); box-shadow: 0 10px 24px rgba(0,0,0,.15); }
.btn--white:hover { transform: translateY(-2px); }

.nx-company { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: start; }
.nx-company .table { border-top-color: var(--nx-teal); }
.nx-company .table > div { grid-template-columns: 150px 1fr; }
.nx-company .table dt { color: var(--nx-ink); }
.nx-company .map { aspect-ratio: 1 / .9; }
.nx-company .map__addr { text-align: left; display: flex; gap: 8px; font-size: 14px; }
.nx-company .map__addr .i { margin-top: .35em; color: var(--nx-teal); }

.nx-recruit { position: relative; padding: 130px 0; color: #fff; overflow: hidden; background: var(--nx-ink); }
.nx-recruit > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.nx-recruit__body { position: relative; }
.nx-recruit__en { font: italic 800 clamp(48px, 8vw, 110px)/1 var(--en); letter-spacing: .02em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.75); }
.nx-recruit__jp { margin: 16px 0 32px; font-size: clamp(22px, 2.8vw, 32px); font-weight: 700; letter-spacing: .08em; }
.nx-recruit .btn--white { color: var(--nx-ink); }

/* =========================================================
   Medical Lead LP (sales presentation)
   ========================================================= */
.is-lp .header { background: rgba(255,255,255,.96); box-shadow: 0 1px 0 var(--line); }
.lp-header__logo { display: flex; align-items: center; gap: 10px; }
.lp-header__logo .ml-mark { width: 44px; }
.lp-header__logo > span { font-size: 21px; font-weight: 700; line-height: 1.2; background: linear-gradient(90deg, #1b3f93, #2a9fc7); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-header__logo small { display: block; font-size: 11px; font-weight: 500; letter-spacing: .08em; color: var(--ink-2); -webkit-text-fill-color: var(--ink-2); }
.lp-header__actions { display: flex; align-items: center; gap: 22px; }
.lp-header__corp { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.lp-header__corp:hover { color: var(--blue); }
.lp-header__tel { display: flex; align-items: center; gap: 8px; color: var(--blue); }
.lp-header__tel .i { font-size: 22px; }
.lp-header__tel span { font: 700 21px/1.1 var(--en); }
.lp-header__tel small { display: block; font: 500 10.5px var(--jp); color: var(--ink-2); letter-spacing: .06em; }
.lp-header__present { display: inline-flex; align-items: center; gap: 6px; font: 700 12px var(--jp); color: var(--ink-2); background: var(--pale); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.lp-header__present .i { font-size: 16px; }
.lp-header__present:hover { color: var(--blue); border-color: var(--blue); }
.lp-header__btn { min-height: 46px; padding: 8px 24px; font-size: 14px; }

.lp-dots { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 90; display: grid; gap: 12px; }
.lp-dots a { position: relative; display: block; width: 11px; height: 11px; border-radius: 50%; background: #c3d4e8; transition: transform .2s, background .2s; }
.lp-dots a.is-current { background: var(--blue); transform: scale(1.35); }
.lp-dots a span { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); white-space: nowrap; font-size: 12px; font-weight: 700; color: #fff; background: var(--navy); padding: 3px 10px; border-radius: 6px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.lp-dots a:hover span, .lp-dots a:focus-visible span { opacity: 1; }

.lp-sec { padding: 110px 0; position: relative; }
@media (min-width: 901px) and (min-height: 680px) {
  .lp-sec { min-height: 100vh; display: flex; align-items: center; padding: calc(var(--header-h) + 48px) 0 80px; }
  .lp-sec > .container { width: min(var(--w), 100% - 120px); }
  .lp-sec > .narrow { width: min(900px, 100% - 120px); }
}
.lp-hero { overflow: hidden; background: #fff; padding-bottom: 160px !important; }
.lp-hero__bg { position: absolute; inset: var(--header-h) 0 0 0; }
.lp-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 30%; }
.lp-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.96) 38%, rgba(255,255,255,.6) 56%, rgba(255,255,255,0) 72%); }
.lp-hero__body { position: relative; z-index: 1; }
.lp-hero__sub { font-weight: 700; color: var(--blue); letter-spacing: .14em; font-size: clamp(14px, 1.5vw, 18px); }
.lp-hero__logo { margin-top: 18px; }
.lp-hero__logo .ml-logo { align-items: flex-start; }
.lp-hero__logo .ml-mark { width: 84px; margin-left: 6px; }
.lp-hero__logo .ml-logo__name { font-size: clamp(42px, 6.4vw, 84px); }
.lp-hero__logo .ml-logo__en::before { display: none; }
.lp-hero__catch { margin-top: 28px; font-size: clamp(18px, 2.1vw, 26px); font-weight: 700; line-height: 1.7; color: var(--navy); letter-spacing: .06em; }
.lp-hero__catch em { color: var(--teal); }
.lp-hero__badges { display: flex; gap: 18px; margin-top: 36px; }
.lp-hero__badges li { width: 118px; aspect-ratio: 1; border-radius: 50%; background: #fff; box-shadow: 0 12px 32px rgba(22,63,140,.14); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--navy); }
.lp-hero__badges .i { font-size: 38px; color: var(--blue); stroke-width: 1.5; }
.lp-hero .hero__wave { height: 150px; }

.problem-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.problem { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px 20px; box-shadow: var(--shadow); }
.problem__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; background: #fdeeee; color: #d0564f; font-size: 30px; }
.problem__icon .i { stroke-width: 1.6; }
.problem h3 { margin-top: 18px; font-size: 16px; white-space: nowrap; color: var(--ink); }
.problem p { margin-top: 8px; font-size: 13.5px; color: var(--ink-2); line-height: 1.8; }
.problem__bridge { margin-top: 48px; display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; padding: 28px; border-radius: 24px; background: linear-gradient(135deg, #eef5fc, #e8f6f8); }
.problem__bridge img { border-radius: 16px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.problem__bridge p { font-size: clamp(16px, 1.7vw, 20px); font-weight: 500; line-height: 1.9; }
.problem__bridge strong { color: var(--navy); }
.problem__bridge em { font-weight: 700; color: var(--teal); }

.lp-solution__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.lp-solution__img img { border-radius: 24px; aspect-ratio: 4 / 3.3; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.lp-solution__text p:not([class]) { color: var(--ink-2); }
.lp-solution__text p + p { margin-top: 1em; }
.lp-solution__text strong { color: var(--navy); }

.lp-examples { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: center; }
.lp-examples__img img { border-radius: 24px; aspect-ratio: 4 / 4.2; object-fit: cover; width: 100%; }
.lp-examples .examples { grid-template-columns: 1fr; gap: 12px; }
.lp-examples .examples li { padding: 14px 20px; }

.compare { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.compare__row { display: grid; grid-template-columns: 180px 1fr 1.25fr; }
.compare__row > span { padding: 20px 22px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.compare__row:last-child > span { border-bottom: 0; }
.compare__row > span:first-child { font-weight: 700; color: var(--navy); background: var(--pale); }
.compare__row > span:nth-child(2) { color: var(--ink-2); font-size: 14px; }
.compare__row .is-ml { background: #eef6fd; font-weight: 700; color: var(--navy); }
.compare__row .is-ml .i { font-size: 22px; color: var(--teal); }
.compare__row--head > span { font-weight: 700; justify-content: center; text-align: center; padding: 16px; }
.compare__row--head > span:nth-child(2) { background: #eef1f5; color: var(--ink-2); }
.compare__row--head .is-ml { background: var(--grad); color: #fff; font-size: 17px; }

.faq { display: grid; gap: 14px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 56px 22px 64px; position: relative; font-weight: 700; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 22px; top: 18px; width: 30px; height: 30px; border-radius: 50%; background: var(--grad); color: #fff; font: 700 15px/30px var(--en); text-align: center; }
.faq summary::after { content: ""; position: absolute; right: 26px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 28px 24px 64px; color: var(--ink-2); }

.lp-cta { background: var(--grad); color: #fff; text-align: center; overflow: hidden; }
.lp-cta::before { content: ""; position: absolute; left: -10vw; bottom: -20vw; width: 50vw; height: 50vw; border-radius: 50%; border: 6vw solid rgba(255,255,255,.06); }
.lp-cta__inner { position: relative; }
.lp-cta__label { display: inline-block; background: #fff35c; color: var(--navy); font-weight: 700; padding: 4px 22px; border-radius: 4px; letter-spacing: .1em; }
.lp-cta__title { margin-top: 18px; font-size: clamp(24px, 3.2vw, 38px); font-weight: 700; letter-spacing: .06em; line-height: 1.5; }
.lp-cta__tel { display: inline-flex; align-items: center; gap: 14px; margin-top: 28px; font: 700 clamp(40px, 6vw, 72px)/1 var(--en); letter-spacing: .03em; }
.lp-cta__tel .i { font-size: .75em; }
.lp-cta__time { margin: 12px 0 32px; opacity: .9; }
.lp-cta .btn--white .i { font-size: 20px; }
.lp-cta__company { margin: 56px auto 0; max-width: 560px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.3); font-size: 14px; opacity: .95; }
.lp-cta__company-label { font-size: 12px; letter-spacing: .2em; opacity: .8; }
.lp-cta__company-name { font-size: 26px; font-weight: 700; letter-spacing: .1em; margin: 4px 0 8px; }
.is-lp .footer { padding-top: 56px; }

@media (max-width: 1080px) {
  .problem-grid { grid-template-columns: repeat(3, 1fr); }
  .lp-header__corp, .lp-header__present { display: none; }
}
@media (max-width: 900px) {
  .nx-hero { padding-bottom: 100px; }
  .nx-hero__stripes { top: 14%; width: 60vw; }
  .nx-hero__stripes span { height: 5vw; }
  .nx-mission__inner, .nx-message__inner, .nx-service__inner, .nx-company, .lp-solution__inner, .lp-examples { grid-template-columns: 1fr; gap: 36px; }
  .nx-service { padding: 80px 0; }
  .nx-service__logo { padding: 22px 26px 18px; }
  .nx-recruit { padding: 90px 0; }
  .lp-dots { display: none; }
  .lp-header__tel small { display: none; }
  .lp-header__tel span { font-size: 0; }
  .lp-header__tel .i { font-size: 22px; width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--sky); }
  .lp-header__logo .ml-mark { width: 36px; }
  .lp-header__logo > span { font-size: 17px; }
  .lp-header__btn { display: none; }
  .lp-sec { padding: 72px 0; }
  .lp-hero { padding: calc(var(--header-h) + 250px) 0 110px !important; }
  .lp-hero__bg { bottom: auto; height: 360px; }
  .lp-hero__bg::after { background: linear-gradient(180deg, rgba(255,255,255,0) 45%, #fff 97%); }
  .lp-hero__badges { gap: 10px; }
  .lp-hero__badges li { width: 31%; max-width: 110px; font-size: 11px; }
  .lp-hero__badges .i { font-size: 28px; }
  .problem__bridge { grid-template-columns: 1fr; gap: 20px; padding: 20px; }
  .compare__row { grid-template-columns: 1fr 1fr; }
  .compare__row > span:first-child { grid-column: 1 / -1; padding: 10px 16px; font-size: 14px; }
  .compare__row--head > span:first-child { display: none; }
  .compare__row > span { padding: 14px 16px; font-size: 13px; }
  .lp-hero__logo .ml-logo__name { font-size: clamp(28px, 10vw, 84px); }
  .compare__row--head .is-ml { font-size: 14px; }
  .faq summary { padding: 18px 44px 18px 56px; }
  .faq summary::before { left: 16px; top: 16px; }
  .faq details p { padding: 0 20px 20px 56px; }
}
@media (max-width: 560px) {
  .problem-grid { grid-template-columns: 1fr; }
  .nx-hero__word { font-size: 30vw; }
}

/* ========================= Responsive ========================= */
@media (max-width: 1080px) {
  .nav ul { gap: 20px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .cycle { grid-template-columns: 1fr; gap: 48px; }
  .flow { grid-template-columns: repeat(3, 1fr); }
  .flow li:nth-child(3)::after { display: none; }
  .proactive { grid-template-columns: 1fr; gap: 24px; padding: 36px; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .pc { display: none; }
  .sp { display: inline; }
  .logo img { width: 136px; }
  .menu-btn { display: block; }
  .nav { position: fixed; inset: 0; background: rgba(255,255,255,.98); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; z-index: 110; }
  .nav ul { flex-direction: column; gap: 22px; text-align: center; }
  .nav a { font-size: 17px; }
  body.menu-open { overflow: hidden; }
  body.menu-open .nav { opacity: 1; visibility: visible; }
  .section { padding: 76px 0; }
  .sec-title { margin-bottom: 36px; }

  .hero { min-height: 0; padding: calc(var(--header-h) + 230px) 0 110px; align-items: flex-end; }
  .hero__bg { bottom: auto; height: 340px; }
  .hero__bg img { object-position: 0% 30%; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(255,255,255,0) 40%, #fff 96%); }
  .hero__wave { height: 90px; }
  .hero__title { font-size: clamp(22px, 7.2vw, 34px); }
  .hero__btns .btn { flex: 1 1 100%; }
  .points { margin-top: -50px; }
  .points__inner { gap: 10px; }
  .point { width: 31%; max-width: 180px; padding: 8px; }
  .point__icon { font-size: 32px; }
  .point__title { font-size: 12px; letter-spacing: 0; white-space: nowrap; }
  .point__text { display: none; }

  .about, .ml-lead, .message { grid-template-columns: 1fr; gap: 40px; }
  .about__img::before { inset: 16px -12px -12px 16px; }
  .worries { grid-template-columns: 1fr; gap: 12px; }
  .worries li { padding: 18px 20px; }
  .examples { grid-template-columns: 1fr; gap: 12px; }
  .examples li { padding: 14px 18px; gap: 14px; }
  .philosophy { grid-template-columns: 1fr; gap: 14px; }
  .flow { grid-template-columns: 1fr; gap: 22px; }
  .flow li::after { right: auto !important; top: auto !important; left: 50%; bottom: -16px; display: block !important; transform: translateX(-50%) rotate(135deg) !important; }
  .flow li:last-child::after { display: none !important; }
  .flow p { text-align: center; }
  .cta__inner { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .cta__tel { justify-content: center; padding: 16px 20px; }
  .cta__tel span { font-size: 28px; }
  .footer__top { grid-template-columns: 1fr; gap: 36px; }
  .footer__nav ul { grid-template-columns: 1fr 1fr; }
  .news__head { align-items: flex-start; flex-direction: column; gap: 4px; }
  .news-list__link { flex-wrap: wrap; gap: 6px 14px; padding: 18px 4px; }
  .news-list__title { flex-basis: 100%; }
  .table > div, .form__row { grid-template-columns: 1fr; gap: 0; }
  .table dt { padding: 12px 16px; }
  .table dd { padding: 14px 16px 18px; }
  .form__row { gap: 8px; padding: 18px 0; }
  .form__row label { padding-top: 0; }
  .page-hero { padding: calc(var(--header-h) + 44px) 0 72px; }
  .page-hero::before { width: 220px; height: 220px; right: -60px; }
}

@media (max-width: 560px) {
  body { font-size: 14.5px; }
  .feature-grid { grid-template-columns: 1fr; gap: 14px; }
  .feature { display: grid; grid-template-columns: 72px 1fr; gap: 0 18px; text-align: left; padding: 22px 20px; align-items: center; }
  .feature__icon { width: 72px; height: 72px; font-size: 34px; grid-row: span 2; }
  .feature__title { margin-top: 0; }
  .feature__text { margin-top: 2px; }
  .proactive { padding: 28px 22px; }
  .proactive__icon { font-size: 54px; }
  .cycle__node b { width: 26px; height: 26px; line-height: 26px; font-size: 11px; top: -4px; left: -4px; }
  .step { padding: 18px; gap: 14px; }
  .step__num { width: 38px; height: 38px; line-height: 38px; font-size: 14px; }
  .step__title { margin-top: 5px; }
  .ml-logo__en::before, .ml-logo__en::after { width: 32px; }
  .footer__bottom { flex-direction: column; gap: 10px; }
}

/* ---------- additions: signature / strength / model cases ---------- */
.nx-message__sign { display: flex; flex-direction: column; align-items: flex-end; }

.nx-service__strength { display: inline-flex; align-items: center; gap: 12px; margin-top: 24px; padding: 12px 22px; border-radius: 12px; background: #fff; color: var(--navy); font-weight: 700; font-size: clamp(15px, 1.5vw, 18px); line-height: 1.5; box-shadow: 0 10px 24px rgba(0,0,0,.12); }
.nx-service__strength .i { font-size: 30px; color: var(--teal); flex: none; }
.nx-service__strength + .nx-service__tags { margin-top: 18px; }
.lp-hero__strength { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; padding: 8px 18px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .06em; }
.lp-hero__strength .i { font-size: 18px; color: var(--cyan); }

.lp-strength { background: var(--navy) linear-gradient(135deg, #133a82 0%, #1a5aa8 60%, #1f8fb4 100%); color: #fff; overflow: hidden; }
.lp-strength::before { content: ""; position: absolute; right: -10vw; top: -12vw; width: 46vw; height: 46vw; border-radius: 50%; border: 5vw solid rgba(255,255,255,.05); }
.lp-strength .container { position: relative; }
.lp-strength__head { text-align: center; }
.lp-strength__en { font: 600 13px var(--en); letter-spacing: .3em; color: var(--cyan); }
.lp-strength__title { margin-top: 14px; font-size: clamp(26px, 4vw, 48px); line-height: 1.5; letter-spacing: .06em; }
.lp-strength__title em { color: #fff35c; }
.lp-strength__lead { margin: 22px auto 0; max-width: 820px; opacity: .92; }
.strength-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.strength { position: relative; background: #fff; color: var(--ink); border-radius: 18px; padding: 34px 26px 28px; }
.strength > .i { font-size: 44px; color: var(--blue); stroke-width: 1.5; }
.strength__num { position: absolute; right: 22px; top: 16px; font: 700 34px var(--en); color: var(--sky); }
.strength h3 { margin-top: 14px; font-size: 18px; color: var(--navy); }
.strength p { margin-top: 8px; font-size: 14px; color: var(--ink-2); line-height: 1.8; }
.lp-strength__note { margin-top: 40px; text-align: center; font-size: clamp(15px, 1.6vw, 18px); }
.lp-strength__note strong { color: #fff35c; }

.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case { background: #fff; border-radius: 18px; padding: 28px 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.case__tag { align-self: flex-start; font-weight: 700; color: #fff; background: var(--grad); padding: 4px 16px; border-radius: 999px; font-size: 14px; }
.case__block { margin-top: 16px; padding: 16px 18px; border-radius: 12px; font-size: 14px; line-height: 1.8; }
.case__block--before { background: #f4f5f7; color: var(--ink-2); }
.case__block--after { margin-top: 0; background: #eaf5fb; color: var(--ink); flex: 1; }
.case__label { font-weight: 700; font-size: 12px; letter-spacing: .08em; margin-bottom: 4px; }
.case__block--before .case__label { color: #8a94a3; }
.case__block--after .case__label { color: var(--blue); }
.case__arrow { width: 0; height: 0; margin: 10px auto; border-left: 14px solid transparent; border-right: 14px solid transparent; border-top: 12px solid var(--cyan); }
.case__note { margin-top: 24px; text-align: center; font-size: 12.5px; color: var(--ink-2); }

@media (max-width: 900px) {
  .strength-grid, .case-grid { grid-template-columns: 1fr; gap: 14px; }
  .nx-service__strength { padding: 10px 16px; }
}
@media (min-width: 901px) { .nx-service__strength span { white-space: nowrap; } .nx-service__strength { font-size: 16px; } }

/* ---------- TOP motion ---------- */
.nx-hero__bg { inset: -12% 0 -12% 0; will-change: transform; }
.nx-hero__body { will-change: transform, opacity; }
.nx-recruit > img { inset: -15% 0 -15% 0; height: 130%; will-change: transform; }
.nx-mission__catch { will-change: transform; }

.nx-marquee { overflow: hidden; background: var(--nx-ink); color: #fff; padding: 26px 0; border-top: 1px solid rgba(255,255,255,.08); }
.nx-marquee__track { display: flex; align-items: center; gap: 48px; width: max-content; will-change: transform; animation: nxMarquee 40s linear infinite; }
@keyframes nxMarquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .nx-marquee__track { animation: none; } }
.nx-marquee__track span { font: italic 800 clamp(34px, 5vw, 64px)/1 var(--en); letter-spacing: .02em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.55); }
.nx-marquee__track span:nth-of-type(2n) { color: var(--nx-teal-l); -webkit-text-stroke: 0; font-family: var(--jp); font-style: normal; font-weight: 700; font-size: clamp(24px, 3.4vw, 44px); letter-spacing: .14em; }
.nx-marquee__track i { flex: none; width: 14px; height: 14px; border-radius: 3px; background: var(--nx-teal); transform: rotate(45deg); }

.fade--left { transform: translateX(-70px); }
.fade--right { transform: translateX(70px); }
.fade--left, .fade--right { transition: opacity 1s ease, transform 1.1s cubic-bezier(.2,.8,.2,1); }
.fade--left.is-in, .fade--right.is-in { transform: none; }
.reveal { opacity: 1; transform: none; }
.reveal > * { clip-path: inset(0 100% 0 0); transition: clip-path 1.2s cubic-bezier(.7,0,.2,1); }
.reveal > img, .reveal .map iframe { transform: scale(1.18); transition: clip-path 1.2s cubic-bezier(.7,0,.2,1), transform 1.6s cubic-bezier(.2,.8,.2,1); }
.reveal > :nth-child(2) { transition-delay: .25s; }
.reveal.is-in > * { clip-path: inset(0 0 0 0); }
.reveal.is-in > img, .reveal.is-in .map iframe { transform: scale(1); }
@media (max-width: 900px) { .fade--left, .fade--right { transform: translateY(24px); } .nx-marquee { padding: 18px 0; } }
@media (prefers-reduced-motion: reduce) { .reveal > *, .reveal > img, .reveal .map iframe { clip-path: none; transform: none; transition: none; } .fade--left, .fade--right { transform: none; } }

/* ---------- TOP: no header logo ---------- */
.is-front .header .logo { display: none; }
.is-front .header__inner { justify-content: flex-end; }
.nx-hero { padding-bottom: 190px; }
.nx-marquee { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; background: rgba(10,22,32,.55); }
.nx-hero__scroll { bottom: 120px; }
@media (max-width: 900px) { .nx-hero { padding-bottom: 150px; } .nx-hero__scroll { bottom: 92px; } }

/* ---------- 代表挨拶: letter card + handwritten signature ---------- */
.nx-message__body { background: #fff; border-radius: 12px; padding: 48px 52px 40px; box-shadow: 0 18px 40px rgba(15,29,38,.07); }
.signature { font-family: "Yuji Mai", serif !important; font-weight: 400 !important; font-size: 50px !important; letter-spacing: .2em !important; transform: none !important; color: #1b232b; margin-top: 10px; }
@media (max-width: 900px) {
  .nx-message__body { padding: 30px 22px 26px; }
  .signature { font-size: 38px !important; }
}

/* ---------- web-support LP (NEXT teal) ---------- */
.is-ws { --grad: linear-gradient(115deg, #1d4a4c 0%, #1f8f8c 60%, #3cc2bd 100%); --blue: #1f8f8c; --navy: #1d4a4c; --teal: #22a39e; --cyan: #5fd3cd; --sky: #e4f4f3; --pale: #f2f8f8; }
.is-ws .lp-strength { background: #173f42 linear-gradient(135deg, #133638 0%, #1d5a5c 60%, #1f8f8c 100%); }
.is-ws .lp-header__logo img { width: 112px; height: auto; }
.is-ws .lp-header__logo > span { background: none; -webkit-text-fill-color: var(--navy); color: var(--navy); font-size: 17px; border-left: 1px solid var(--line); padding-left: 12px; }
.ws-hero { background: radial-gradient(900px 500px at 85% 20%, #e4f4f3, transparent 70%), #fff; overflow: hidden; }
.ws-hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.ws-hero__tag { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em; color: #fff; background: var(--grad); padding: 6px 18px; border-radius: 999px; }
.ws-hero__title { margin-top: 22px; font-size: clamp(26px, 3.4vw, 44px); line-height: 1.45; letter-spacing: .04em; color: var(--nx-ink); }
.ws-hero__title em { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ws-hero__lead { margin-top: 22px; color: var(--ink-2); font-size: clamp(14px, 1.3vw, 16px); }
.ws-hero__lead strong { color: var(--navy); font-size: 1.1em; }
.ws-hero .lp-hero__badges .i { color: var(--blue); }
.ws-hero__img img { border-radius: 28px; aspect-ratio: 4 / 3.6; object-fit: cover; object-position: 60% 50%; width: 100%; box-shadow: 0 30px 60px rgba(15,29,38,.16); }
.problem-grid--4 { grid-template-columns: repeat(4, 1fr); }
.industry { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.industry li { padding: 12px 24px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; color: var(--navy); box-shadow: var(--shadow); }
.industry__note { margin-top: 32px; text-align: center; font-weight: 500; }
.nx-other { position: relative; margin-top: 56px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; padding: 26px 34px; border-radius: 18px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.35); color: #fff; transition: background .2s, transform .2s; }
.nx-other:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }
.nx-other__label { font-size: 12.5px; font-weight: 700; padding: 6px 14px; border-radius: 999px; background: #fff; color: var(--nx-teal); }
.nx-other__text { font-size: clamp(16px, 1.6vw, 19px); font-weight: 700; }
.nx-other__text small { display: block; font-size: 13px; font-weight: 500; opacity: .85; margin-top: 2px; }
.nx-other__more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; white-space: nowrap; }
@media (max-width: 1080px) { .problem-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .ws-hero { padding-top: calc(var(--header-h) + 32px) !important; }
  .ws-hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .ws-hero__img { order: -1; }
  .is-ws .lp-header__logo img { width: 92px; }
  .is-ws .lp-header__logo > span { font-size: 12.5px; padding-left: 8px; white-space: nowrap; }
  .nx-other { grid-template-columns: 1fr; gap: 10px; padding: 22px; }
  .nx-other__label { justify-self: start; }
}
@media (max-width: 560px) { .problem-grid--4 { grid-template-columns: 1fr; } }


/* VK ExUnit page-top button (the footer has its own) */
#page_top { display: none !important; }

/* ---------- Office Lead wordmark ---------- */
.ws-hero__logo { margin-top: 26px; }
.ol-logo { align-items: flex-start; }
.ol-logo .ol-mark { width: 70px; margin-left: 4px; }
.ol-logo .ml-logo__name { font-size: clamp(34px, 4.4vw, 56px); background: linear-gradient(90deg, #1d4a4c 0%, #1f8f8c 60%, #3cc2bd 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ol-logo .ml-logo__en { color: #1f8f8c; }
.ol-logo .ml-logo__en::before { display: none; }
.ol-logo .ml-logo__en::after { background: #1f8f8c; }
.ws-hero__logo + .ws-hero__title { margin-top: 18px; font-size: clamp(22px, 2.6vw, 34px); }

/* ---------- per-section text motion ---------- */
.tx-split .ch { display: inline-block; opacity: 0; transform: translateY(.55em) rotate(6deg); filter: blur(6px);
  transition: opacity .6s ease, transform .8s cubic-bezier(.2,.9,.25,1.15), filter .6s ease; transition-delay: calc(var(--i) * 32ms + 80ms); }
.tx-split.tx-in .ch { opacity: 1; transform: none; filter: none; }
.tx-wipe { clip-path: inset(0 100% 0 0); transition: clip-path 1.3s cubic-bezier(.65,0,.25,1) .1s; }
.tx-wipe.tx-in { clip-path: inset(0 -5% 0 0); }
.tx-en { opacity: 0; letter-spacing: .8em !important; transition: opacity .9s ease, letter-spacing 1.2s cubic-bezier(.2,.8,.2,1); }
.tx-en.tx-in { opacity: 1; letter-spacing: revert-layer !important; }
.sec-title__en.tx-in, .page-hero__en.tx-in, .cta__en.tx-in, .lp-strength__en.tx-in { letter-spacing: .24em !important; }
.nx-recruit__en.tx-in { letter-spacing: .02em !important; }
.lp-hero__sub.tx-in, .ml-intro__sub.tx-in { letter-spacing: .14em !important; }
@media (max-width: 900px) {
  .nx-hero.is-day .nx-hero__bg::after { background: linear-gradient(180deg, rgba(255,255,255,.45) 0%, rgba(255,255,255,.8) 38%, rgba(255,255,255,.88) 70%, rgba(255,255,255,.7) 100%); }
}
/* 署名の肩書きも筆ペン風に（名前と同じ Yuji Mai） */
.nx-message__sign { font-family: "Yuji Mai", serif; font-size: 18px; letter-spacing: .12em; color: #1b232b; }
@media (max-width: 900px) { .nx-message__sign { font-size: 15px; } }
.nx-message__sign .sign-title { display: block; font-size: inherit; font-weight: 400; letter-spacing: inherit; color: inherit; margin: 0; }
.nx-message__sign .sign-en { font-family: "Lora", serif; font-style: italic; font-weight: 500; letter-spacing: .06em; margin: 0 .2em; }

/* ---------- TOP: two services side by side ---------- */
.nx-service { padding: 110px 0; }
.nx-service__head { text-align: center; margin-bottom: 52px; }
.nx-service__head .sec-title { margin-bottom: 18px; }
.sec-title--white.sec-title--center .sec-title__en::after { content: ""; width: 28px; height: 2px; background: #fff; }
.nx-service__intro { color: rgba(255,255,255,.92); font-size: clamp(14px, 1.4vw, 16px); }
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.svc { display: flex; flex-direction: column; background: #fff; color: var(--ink); border-radius: 24px; overflow: hidden; box-shadow: 0 24px 60px rgba(8,25,60,.25); transition: transform .35s, box-shadow .35s; }
.svc:hover { transform: translateY(-6px); box-shadow: 0 32px 70px rgba(8,25,60,.32); }
.svc__img { position: relative; aspect-ratio: 16 / 7.5; overflow: hidden; }
.svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.svc--ml .svc__img img { object-position: 70% 30%; }
.svc--ol .svc__img img { object-position: 55% 40%; }
.svc:hover .svc__img img { transform: scale(1.05); }
.svc__for { position: absolute; left: 20px; top: 20px; padding: 6px 16px; border-radius: 999px; color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .08em; box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.svc--ml .svc__for { background: linear-gradient(115deg, #1a4ea4, #29b4c8); }
.svc--ol .svc__for { background: linear-gradient(115deg, #1d4a4c, #3cc2bd); }
.svc__body { display: flex; flex-direction: column; flex: 1; padding: 34px 36px 36px; }
.svc__logo { margin-top: -78px; align-self: flex-start; background: #fff; border-radius: 18px; padding: 18px 26px 14px; box-shadow: 0 12px 30px rgba(8,25,60,.12); position: relative; }
.svc__logo .ml-logo { align-items: flex-start; }
.svc__logo .ml-mark { width: 54px; }
.svc__logo .ml-logo__name { font-size: clamp(24px, 2.4vw, 32px); margin-top: 4px; }
.svc__logo .ml-logo__en { font-size: 11px; gap: 8px; }
.svc__logo .ml-logo__en::before { display: none; }
.svc__logo .ml-logo__en::after { width: 28px; }
.svc__catch { margin-top: 24px; font-size: clamp(18px, 1.8vw, 22px); font-weight: 700; line-height: 1.6; }
.svc--ml .svc__catch { color: var(--navy); }
.svc--ol .svc__catch { color: #1d4a4c; }
.svc__text { margin-top: 12px; color: var(--ink-2); font-size: 14.5px; }
.svc__strength { margin-top: 18px; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; font-weight: 700; font-size: 14.5px; line-height: 1.5; }
.svc__strength .i { font-size: 26px; flex: none; }
.svc--ml .svc__strength { background: #eaf3fb; color: var(--navy); } .svc--ml .svc__strength .i { color: var(--blue); }
.svc--ol .svc__strength { background: #e4f4f3; color: #1d4a4c; } .svc--ol .svc__strength .i { color: #1f8f8c; }
.svc__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 26px; }
.svc__tags li { font-size: 12.5px; font-weight: 700; padding: 4px 14px; border-radius: 999px; border: 1px solid; }
.svc--ml .svc__tags li { color: var(--blue); border-color: #bcd3ee; }
.svc--ol .svc__tags li { color: #1f8f8c; border-color: #b6e0dd; }
.svc__btn { margin-top: auto; align-self: flex-start; }
.svc--ol .svc__btn { background: linear-gradient(115deg, #1d4a4c 0%, #1f8f8c 60%, #3cc2bd 100%); box-shadow: 0 8px 20px rgba(31,143,140,.28); }
@media (max-width: 900px) {
  .nx-service { padding: 80px 0; }
  .svc-grid { grid-template-columns: 1fr; gap: 22px; }
  .svc__body { padding: 28px 22px 26px; }
  .svc__logo { margin-top: -64px; padding: 14px 18px 10px; }
  .svc__btn { align-self: stretch; }
}
@media (max-width: 900px) { .svc__catch { font-size: 17px; } .svc__btn { font-size: 14px; padding-inline: 22px; letter-spacing: .02em; } }
