/* =========================================================
   CraftEdge Partners — site styles (v4: soft / rounded, restrained)
   ========================================================= */
:root {
  --blue: #166bee;
  --blue-dark: #0f57c9;
  --blue-soft: #e7f0ff;
  --blue-pale: #f3f7ff;
  --navy: #0d1b33;
  --ink: #101828;
  --text: #3b4456;
  --muted: #6b7486;
  --line: #e4e9f2;
  --bg: #fff;
  --bg-tint: #f5f8fd;
  --en: "Poppins", sans-serif;
  --ja: "Noto Sans JP", sans-serif;
  --header-h: 76px;
  --r-lg: 32px;
  --r-md: 20px;
  --r-sm: 12px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow: 0 10px 40px rgba(16, 40, 90, .07);
  --shadow-hover: 0 18px 50px rgba(16, 40, 90, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--ja); color: var(--text); background: var(--bg);
  font-size: 15px; line-height: 1.9; letter-spacing: .05em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.5; font-feature-settings: "palt" 1; word-break: auto-phrase; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
em { font-style: normal; color: var(--blue); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.narrow { max-width: 920px; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 6px 24px rgba(16, 40, 90, .05); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0 32px; max-width: 1440px; margin: 0 auto; }
.logo img { height: 40px; width: auto; }
.global-nav { display: flex; align-items: center; gap: 34px; font-size: 14px; font-weight: 700; color: var(--ink); letter-spacing: .06em; }
.global-nav a:not(.btn) { position: relative; padding: 6px 0; transition: color .25s; }
.global-nav a:not(.btn):hover, .global-nav a[aria-current="page"] { color: var(--blue); }
.global-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--blue); }
.global-nav .btn { margin-left: 6px; }
.nav-toggle { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  background: var(--blue); color: #fff; font-weight: 700; font-size: 15px; letter-spacing: .08em;
  padding: 18px 40px; border-radius: 999px; min-width: 240px;
  transition: background .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
  box-shadow: 0 8px 24px rgba(22, 107, 238, .22);
}
.btn:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(22, 107, 238, .3); }
.btn-sm { padding: 11px 24px; font-size: 13px; min-width: 0; box-shadow: none; }
.btn-sm:hover { transform: none; }
.btn .ico, .ico { width: 16px; height: 16px; }
.btn-arrow::after {
  content: ""; width: 22px; height: 22px; flex: none; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' fill='none' stroke='%23166bee' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .3s var(--ease);
}
.btn-arrow:hover::after { transform: translateX(3px); }
.btn-ghost { background: #fff; color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue); }
.btn-ghost:hover { background: var(--blue); color: #fff; box-shadow: inset 0 0 0 1.5px var(--blue); }
.btn-ghost.btn-arrow::after { background-color: var(--blue); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.btn-ghost.btn-arrow:hover::after { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' fill='none' stroke='%23166bee' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.btn-row { margin-top: 40px; }
.btn-row.center, .center { text-align: center; }
.btn-row.right { text-align: right; }

/* text link with round arrow */
.more { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--blue); letter-spacing: .06em; }
.more::after {
  content: ""; width: 24px; height: 24px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .3s var(--ease);
}
a:hover .more::after, .more:hover::after { transform: translateX(4px); }

/* ---------- section scaffolding ---------- */
main { padding-top: var(--header-h); }
.section { padding: 100px 0; position: relative; }
.sec-head { margin-bottom: 40px; }
/* English labels only in page headers; section heads use Japanese alone */
.sec-head .sec-en { display: none; }
.page-hero .sec-head .sec-en { display: block; }
.sec-head.center { text-align: center; }
.sec-en { font-family: var(--en); font-weight: 600; color: var(--blue); font-size: 15px; letter-spacing: .14em; margin: 0 0 6px; line-height: 1.4; }
.sec-ja { font-size: 40px; font-weight: 700; color: var(--ink); margin: 0; line-height: 1.4; letter-spacing: .08em; }
.lead { font-size: 28px; font-weight: 700; color: var(--ink); line-height: 1.7; margin-bottom: 20px; letter-spacing: .06em; }
.statement { font-size: clamp(24px, 3.2vw, 40px); font-weight: 700; line-height: 1.6; letter-spacing: .08em; margin: 0; color: var(--ink); }
.about-head { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; margin-bottom: 40px; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
@media (max-width: 800px) { .about-head { grid-template-columns: 1fr; gap: 14px; margin-bottom: 28px; } }
.body-lg { font-size: 16px; line-height: 2.1; }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: 20px; } }
.section.gray { margin: 0 24px; border-radius: var(--r-lg); background: linear-gradient(160deg, #f4f8ff 0%, #e8f0ff 100%); }
.page-hero + .career-tbc { margin-top: 40px; }
#about { overflow: hidden; }

/* soft rounded panel backgrounds */
.panel { position: relative; margin: 0 24px; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(160deg, #f4f8ff 0%, #e8f0ff 100%); }
.panel > .container { position: relative; z-index: 1; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; z-index: 0; }
.blob-a { width: 520px; height: 520px; left: -160px; top: 40px; background: rgba(22, 107, 238, .10); }
.blob-b { width: 460px; height: 460px; right: -140px; bottom: -80px; background: rgba(96, 165, 250, .14); }

/* ---------- top hero ---------- */
.hero { position: relative; padding: 72px 0 0; text-align: center; overflow: hidden; }
.hero-copy { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(36px, 6.2vw, 84px); line-height: 1.35; letter-spacing: .08em; font-weight: 700; }
.hero-en { font-family: var(--en); font-size: 15px; font-weight: 500; color: var(--muted); margin: 22px 0 0; letter-spacing: .06em; }
.hero-stage { position: relative; margin: 56px 24px 0; }
.hero-visual {
  position: relative; height: min(58vh, 560px); min-height: 320px; overflow: hidden;
  border-radius: 50% 50% var(--r-lg) var(--r-lg) / 90px 90px var(--r-lg) var(--r-lg);
  background: #0b1426;
}
.hero-visual::before { content: ""; position: absolute; inset: 0; background: url(/assets/img/hero.jpg) center 62% / cover no-repeat; animation: heroZoom 16s var(--ease) both; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22,107,238,.10), rgba(13,27,51,.25)); }
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero-down {
  position: absolute; z-index: 2; left: 50%; top: 0; transform: translate(-50%, -50%);
  width: 68px; height: 68px; border-radius: 50%; background: #fff; box-shadow: 0 8px 24px rgba(16, 40, 90, .15);
  display: grid; place-items: center; color: var(--blue); transition: transform .3s var(--ease);
}
.hero-down::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; border: 1.5px solid var(--blue); }
.hero-down svg { width: 22px; height: 22px; animation: bob 2s var(--ease) infinite; }
.hero-down:hover { transform: translate(-50%, -46%); }
@keyframes bob { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }

/* ---------- about (top) ---------- */
.about-card {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center;
  background: #fff; border-radius: var(--r-lg); padding: 48px; box-shadow: var(--shadow);
}
.about-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); }
.about-card h3 { font-size: 20px; margin-bottom: 16px; }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.check-list li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; font-weight: 700; color: var(--ink); }
.check-list li::before {
  content: ""; width: 26px; height: 26px; margin-top: 2px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.check-list small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; letter-spacing: .04em; }

/* ---------- service (top) ---------- */
.svc-top { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: end; margin-bottom: 48px; }
.svc-top .lead { margin: 0 0 14px; }
.svc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.svc-card {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--shadow); transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.svc-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.svc-card .thumb { aspect-ratio: 16 / 9; }
.svc-body { padding: 28px 32px 32px; display: flex; flex-direction: column; flex: 1; }
.svc-no { font-family: var(--en); font-size: 14px; font-weight: 600; color: var(--muted); margin: 0 0 4px; letter-spacing: .1em; }
.svc-card h3 { font-size: 24px; color: var(--blue); margin-bottom: 10px; }
.svc-card p { font-size: 14px; flex: 1; }

/* thumbnails */
.thumb { overflow: hidden; background: #dfe7f3; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
a:hover .thumb img { transform: scale(1.05); }

/* ---------- case cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.case-card { display: flex; flex-direction: column; transition: transform .35s var(--ease); }
.case-card:hover { transform: translateY(-4px); }

.case-card .thumb { aspect-ratio: 16 / 10; border-radius: var(--r-md); }
.case-body { padding: 18px 4px 0; }
.meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); font-family: var(--en); margin-bottom: 8px; letter-spacing: .04em; }
.tag { display: inline-block; background: #fff; color: var(--blue); border: 1px solid var(--blue); font-family: var(--ja); font-weight: 700; font-size: 11px; line-height: 1.5; padding: 3px 12px; border-radius: 999px; letter-spacing: .06em; }
.case-card h3 { font-size: 17px; transition: color .25s; }
.case-card:hover h3 { color: var(--blue); }

/* ---------- news ---------- */
.news-grid { display: grid; grid-template-columns: 300px 1fr; gap: 64px; align-items: start; }
.news-grid .btn { min-width: 220px; }
.news-list { border-top: 1px solid var(--line); }
.news-item { display: grid; grid-template-columns: 100px auto 1fr 28px; align-items: center; gap: 20px; padding: 24px 4px; border-bottom: 1px solid var(--line); }
.news-item time { font-family: var(--en); font-size: 13px; color: var(--muted); }
.news-item .tag { justify-self: start; }
.news-item h3 { font-size: 15px; font-weight: 700; transition: color .25s; }
.news-item:hover h3 { color: var(--blue); }
.news-arrow { width: 28px; height: 28px; border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' fill='none' stroke='%23166bee' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; transition: .3s var(--ease); }
.news-item:hover .news-arrow { background-color: var(--blue); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); transform: translateX(3px); }
.filter { display: flex; gap: 10px; margin-bottom: 28px; }
.filter span { font-size: 13px; font-weight: 700; padding: 7px 20px; background: var(--blue); color: #fff; border-radius: 999px; }

/* ---------- duo panels (company / career) ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; }
.duo-item {
  position: relative; min-height: 380px; display: grid; place-items: center; text-align: center; overflow: hidden; color: #fff;
  isolation: isolate;
}
.duo-item::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--img) center / cover no-repeat; transition: transform .9s var(--ease); }
.duo-item::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 27, 51, .45), rgba(13, 27, 51, .7)); transition: background .4s; }
a.duo-item:hover::before { transform: scale(1.05); }
a.duo-item:hover::after { background: linear-gradient(180deg, rgba(22, 107, 238, .55), rgba(13, 27, 51, .75)); }
.duo-item .sec-en { color: #fff; opacity: .85; }
.duo-ja { font-size: 40px; font-weight: 700; letter-spacing: .1em; margin: 0; line-height: 1.4; }
.duo-sub { font-size: 15px; font-weight: 500; margin: 14px 0 0; opacity: .9; letter-spacing: .04em; }
.duo-item .more { color: #fff; margin-top: 18px; }
.duo-item .more::after { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' fill='none' stroke='%23166bee' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* ---------- CTA ---------- */
.cta { padding: 80px 0; }
.cta-inner {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 40px;
  padding: 64px 72px; border-radius: var(--r-lg); color: #fff;
  background: linear-gradient(120deg, #166bee 0%, #3b82f6 60%, #60a5fa 100%);
  box-shadow: 0 20px 50px rgba(22, 107, 238, .25);
}
.cta-inner::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -180px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.cta-inner > div { position: relative; }
.cta .sec-en { color: rgba(255, 255, 255, .85); }
.cta .sec-ja { color: #fff; }
.cta-text { margin: 14px 0 0; font-size: 15px; opacity: .95; }
.cta-arrow { position: relative; flex: none; display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; background: #fff; color: var(--blue); transition: transform .35s var(--ease); }
.cta-arrow svg { width: 26px; height: 26px; }
.cta-inner:hover .cta-arrow { transform: scale(1.08); }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-tint); color: var(--text); font-size: 13px; padding: 64px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; }
.footer-logo img { height: 36px; margin-bottom: 20px; }
.footer-info p { line-height: 2; margin: 0; }
.footer-nav { display: grid; grid-template-columns: repeat(3, max-content); gap: 14px 40px; align-content: start; justify-content: end; font-weight: 700; color: var(--ink); }
.site-footer a { transition: color .25s; }
.site-footer a:hover { color: var(--blue); }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; font-family: var(--en); }
.footer-bottom a { font-family: var(--ja); }

/* ---------- page hero (下層) ---------- */
.page-hero { position: relative; overflow: hidden; margin: 0 24px; padding: 64px 0 56px; border-radius: 0 0 var(--r-lg) var(--r-lg); background: linear-gradient(160deg, #f4f8ff 0%, #e6efff 100%); }
.page-hero::before { content: ""; position: absolute; width: 480px; height: 480px; left: -140px; top: -200px; border-radius: 50%; background: rgba(22, 107, 238, .08); filter: blur(20px); }
.page-hero::after { content: ""; position: absolute; width: 380px; height: 380px; right: -100px; bottom: -220px; border-radius: 50%; background: rgba(96, 165, 250, .14); filter: blur(20px); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .sec-head { margin: 0; }
.page-hero .sec-ja { font-size: 44px; }
.breadcrumb { display: flex; justify-content: flex-start; flex-wrap: wrap; gap: 10px; font-size: 12px; color: var(--muted); margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span::before { content: "›"; margin-right: 10px; color: #a9b3c4; }

/* ---------- company ---------- */
.mvv { display: grid; gap: 20px; }
.mvv-item { display: grid; grid-template-columns: 180px 1fr; gap: 40px; padding: 36px 44px; border-radius: var(--r-md); background: var(--bg-tint); }
.mvv-label { font-family: var(--en); font-weight: 600; color: var(--blue); font-size: 16px; letter-spacing: .14em; margin: 4px 0 0; }
.mvv-title { font-size: 26px; font-weight: 700; margin-bottom: 10px; letter-spacing: .06em; }
.mvv-item p:last-child { margin-bottom: 0; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.value { background: #fff; padding: 24px 24px 26px; border-radius: var(--r-sm); box-shadow: var(--shadow); }
.value .no { font-family: var(--en); font-size: 13px; color: var(--blue); font-weight: 600; }
.value h4 { font-size: 19px; margin: 4px 0 8px; }
.value p { margin: 0; font-size: 14px; }
.message-panel { padding: 72px 0; }
.message-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
.message-grid p { font-size: 15.5px; line-height: 2.1; }
.ceo { margin: 0; position: sticky; top: calc(var(--header-h) + 24px); background: #fff; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow); }
.ceo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 20%; }
.ceo figcaption { display: flex; align-items: baseline; gap: 14px; padding: 16px 22px; color: var(--ink); }
.ceo figcaption span { font-size: 12px; color: var(--muted); }
.ceo figcaption strong { font-size: 18px; letter-spacing: .14em; }
.sign { text-align: right; color: var(--ink); margin-top: 28px; font-size: 14px; }
.sign strong { font-size: 20px; letter-spacing: .18em; margin-left: 14px; }
.profile { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow); }
.profile th, .profile td { text-align: left; vertical-align: top; padding: 22px 32px; border-bottom: 1px solid var(--line); }
.profile tr:last-child th, .profile tr:last-child td { border-bottom: 0; }
.profile th { width: 220px; color: var(--ink); font-weight: 700; background: var(--bg-tint); }

/* ---------- service detail ---------- */
.svc-detail { padding: 56px 0 0; }
.svc-head { display: flex; align-items: center; gap: 20px; margin-bottom: 24px; }
.svc-num { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--blue); color: #fff; font-family: var(--en); font-size: 22px; font-weight: 600; margin: 0; }
.svc-detail h2 { font-size: 32px; color: var(--ink); flex: 1; min-width: 0; overflow-wrap: anywhere; }
.svc-detail-img { width: 100%; max-width: 720px; aspect-ratio: 16 / 7; object-fit: cover; object-position: center 30%; margin: 0 0 28px; border-radius: var(--r-md); }
.point { background: var(--bg-tint); border-radius: var(--r-md); padding: 36px 40px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; }
.point + .point { margin-top: 16px; }
.point h3 { font-size: 19px; margin-bottom: 10px; line-height: 1.7; color: var(--blue); }
.point > div > p { color: var(--muted); font-size: 14px; margin: 0; }
.point dl { margin: 0; display: grid; gap: 12px; }
.point dl > dt { font-weight: 700; color: var(--ink); background: #fff; border-radius: var(--r-sm) var(--r-sm) 0 0; padding: 14px 20px 0; }
.point dl > dd { margin: 0; font-size: 14px; background: #fff; border-radius: 0 0 var(--r-sm) var(--r-sm); padding: 4px 20px 16px; margin-top: -12px; }

/* ---------- article (case / news) ---------- */
.article { max-width: 920px; margin: 0 auto; }
.article-head { margin: 0 24px; padding: 56px 0 44px; border-radius: 0 0 var(--r-lg) var(--r-lg); background: linear-gradient(160deg, #f4f8ff 0%, #e6efff 100%); }
.article-head .breadcrumb { justify-content: flex-start; }
.article-title { font-size: 36px; margin: 6px 0 0; letter-spacing: .06em; }
.article-meta { list-style: none; display: grid; grid-template-columns: max-content 1fr; gap: 8px 28px; padding: 24px 32px; margin: 0 0 32px; border-radius: var(--r-md); background: var(--bg-tint); }
.article-meta li { display: contents; }
.article-meta b { font-weight: 700; color: var(--blue); font-size: 13px; }
.article-meta span { color: var(--ink); font-weight: 500; }
.article-hero { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; margin-bottom: 24px; border-radius: var(--r-lg); }
.article-body p { font-size: 15.5px; line-height: 2.1; }
.back { margin-top: 56px; text-align: center; }

/* case study blocks */
.case-block { margin-top: 56px; }
.case-label { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; }
.case-label .en { font-family: var(--en); font-size: 13px; font-weight: 600; letter-spacing: .14em; color: var(--blue); }
.case-label h2 { font-size: 26px; letter-spacing: .08em; margin: 0; }
.case-issues { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; counter-reset: issue; }
.case-issues li { counter-increment: issue; background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow); padding: 26px 24px; font-size: 14.5px; line-height: 1.9; color: var(--ink); }
.case-steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 10px; }
.case-steps li { counter-increment: step; display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: 18px; padding: 14px 20px; border-radius: var(--r-md); background: var(--bg-tint); color: var(--ink); font-weight: 700; line-height: 1.8; }
.case-steps li::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--blue); font-family: var(--en); font-size: 15px; font-weight: 600; box-shadow: 0 2px 8px rgba(16, 40, 90, .08); }
.case-result { margin-top: 56px; padding: 40px 44px; border-radius: var(--r-lg); color: #fff; background: linear-gradient(120deg, #166bee 0%, #3b82f6 70%, #60a5fa 100%); position: relative; overflow: hidden; }
.case-result::after { content: ""; position: absolute; width: 360px; height: 360px; right: -100px; top: -160px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.case-result .case-label .en { color: rgba(255, 255, 255, .8); }
.case-result .case-label h2 { color: #fff; }
.case-results { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; position: relative; z-index: 1; }
.case-results li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; font-size: 16px; font-weight: 700; line-height: 1.85; }
.case-results li::before {
  content: ""; width: 26px; height: 26px; margin-top: 2px; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23166bee' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* ---------- career ---------- */
.career-tbc { position: relative; margin: 0 24px; border-radius: var(--r-lg); overflow: hidden; padding: 140px 0; text-align: center; color: #fff; isolation: isolate; }
.career-tbc::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url(/assets/img/career.webp) center / cover no-repeat; }
.career-tbc::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 27, 51, .5), rgba(13, 27, 51, .75)); }
.tbc-ja { font-size: clamp(20px, 2.6vw, 28px); font-weight: 700; letter-spacing: .1em; margin: 0; color: #fff; }
.tbc-en { font-family: var(--en); font-weight: 500; font-size: clamp(36px, 6vw, 72px); line-height: 1.2; margin: 0; color: #fff; }

/* ---------- contact ---------- */
.contact-section { padding-top: 72px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.45fr; gap: 56px; align-items: start; }
.contact-aside { position: sticky; top: calc(var(--header-h) + 32px); }
.contact-aside .lead { font-size: 24px; }
.contact-steps { list-style: none; padding: 0; margin: 28px 0 24px; display: grid; gap: 10px; }
.contact-steps li { display: flex; gap: 16px; align-items: center; padding: 16px 20px; border-radius: var(--r-md); background: var(--bg-tint); }
.contact-steps span { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; font-family: var(--en); font-weight: 600; color: var(--blue); font-size: 14px; box-shadow: 0 2px 8px rgba(16, 40, 90, .08); }
.contact-steps strong { color: var(--ink); display: block; }
.contact-steps p { margin: 0; font-size: 13px; color: var(--muted); }
.contact-note { font-size: 13px; color: var(--muted); }
.contact-card { background: #fff; padding: 48px; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.cform { display: grid; gap: 26px; }
.cform-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; position: relative; }
.field label, .field legend { font-size: 14px; font-weight: 700; color: var(--ink); padding: 0; display: flex; align-items: center; gap: 8px; }
.field legend { margin-bottom: 8px; }
.field em { font-style: normal; font-size: 10px; font-weight: 700; color: #fff; background: var(--blue); padding: 1px 8px; border-radius: 999px; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: var(--bg-tint); border: 1.5px solid transparent; border-radius: var(--r-sm); padding: 14px 16px; transition: border-color .2s, background .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 170px; line-height: 1.8; }
.field input::placeholder, .field textarea::placeholder { color: #a3acbb; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(22, 107, 238, .12); }
.field.invalid input, .field.invalid textarea { border-color: #d93025; background: #fff6f5; }
.field .err { font-size: 12px; color: #d93025; }
.counter { position: absolute; right: 12px; bottom: 10px; font-size: 11px; color: #a3acbb; font-family: var(--en); pointer-events: none; }
.field.invalid .counter { bottom: 32px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { cursor: pointer; position: relative; }
.field .chips input { position: absolute; inset: 0; width: 1px; height: 1px; padding: 0; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 10px 20px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 700; transition: .2s; background: #fff; }
.chips label:hover span { border-color: var(--blue); color: var(--blue); }
.chips input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.chips input:focus-visible + span { box-shadow: 0 0 0 4px rgba(22, 107, 238, .2); }
.field.invalid .chips span { border-color: #f1b3ae; }
.agree { display: flex; align-items: center; gap: 10px; justify-content: center; font-size: 14px; cursor: pointer; }
.agree input { width: 18px; height: 18px; accent-color: var(--blue); }
.agree a { color: var(--blue); text-decoration: underline; }
.agree.invalid { color: #d93025; }
.form-error { margin: 0; text-align: center; color: #d93025; font-size: 13px; }
.cform-submit { justify-self: center; min-width: 280px; border: 0; cursor: pointer; font-family: inherit; }
.cform-submit:disabled { opacity: .7; cursor: wait; transform: none; }
.spinner { display: none; width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.is-sending .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.cform-done { text-align: center; padding: 40px 0; }
.cform-done:focus { outline: none; }
.done-icon { width: 72px; height: 72px; margin: 0 auto 24px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; }
.done-icon svg { width: 36px; height: 36px; }
.cform-done h2 { font-size: 24px; margin-bottom: 16px; }
.cform-done .btn { margin-top: 20px; }

/* ---------- policy ---------- */
.policy { max-width: 920px; margin: 0 auto; }
.policy h2 { font-size: 18px; margin: 36px 0 12px; color: var(--blue); }
.policy ol, .policy ul { padding-left: 1.4em; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-visual::before, .hero-down svg { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .global-nav { gap: 24px; font-size: 13px; }
  .point { grid-template-columns: 1fr; gap: 20px; }
  .message-grid { grid-template-columns: 1fr; gap: 28px; }
  .ceo { position: static; max-width: 380px; }
  .news-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 960px) {
  .about-card { grid-template-columns: 1fr; padding: 32px; gap: 28px; }
  .svc-top { grid-template-columns: 1fr; gap: 16px; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: 1fr; }
  .svc-list { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-aside { position: static; }
  .mvv-item { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 800px) {
  :root { --header-h: 64px; --r-lg: 24px; --r-md: 16px; }
  body { font-size: 14px; }
  .container { padding: 0 20px; }
  .header-inner { padding: 0 14px 0 18px; }
  .logo img { height: 30px; }
  .nav-toggle { display: grid; gap: 6px; place-content: center; width: 44px; height: 44px; background: var(--blue); border: 0; border-radius: 50%; cursor: pointer; }
  .nav-toggle span { display: block; width: 18px; height: 1.5px; background: #fff; transition: transform .3s var(--ease), opacity .3s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .global-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; height: calc(100dvh - var(--header-h));
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 32px; background: #fff; font-size: 16px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .3s var(--ease);
  }
  .global-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .global-nav a:not(.btn) { padding: 18px 4px; border-bottom: 1px solid var(--line); }
  .global-nav a[aria-current="page"]::after { display: none; }
  .global-nav .btn { margin: 24px 0 0; padding: 16px; font-size: 15px; }
  .btn { min-width: 0; width: 100%; max-width: 340px; padding: 16px 28px; }
  .section { padding: 64px 0; }
  .sec-head { margin-bottom: 28px; }
  .sec-en { font-size: 13px; }
  .sec-ja { font-size: 28px; }
  .lead { font-size: 21px; }
  .statement { margin-bottom: 28px; }
  .panel, .section.gray { margin: 0 10px; }
  .hero { padding-top: 44px; }
  .hero-en { font-size: 12px; margin-top: 14px; }
  .hero-stage { margin: 44px 10px 0; }
  .hero-visual { height: 300px; min-height: 0; border-radius: 50% 50% var(--r-lg) var(--r-lg) / 40px 40px var(--r-lg) var(--r-lg); }
  .hero-down { width: 54px; height: 54px; }
  .about-card { padding: 22px; }
  .svc-body { padding: 22px 22px 26px; }
  .svc-card h3 { font-size: 20px; }
  .card-grid { grid-template-columns: 1fr; gap: 24px; }
  .news-item { grid-template-columns: auto 1fr 28px; grid-template-areas: "time tag arrow" "title title arrow"; gap: 6px 12px; padding: 18px 2px; }
  .news-item time { grid-area: time; }
  .news-item .tag { grid-area: tag; }
  .news-item h3 { grid-area: title; }
  .news-arrow { grid-area: arrow; }
  .duo { grid-template-columns: 1fr; }
  .duo-item { min-height: 240px; }
  .duo-ja { font-size: 28px; }
  .cta { padding: 56px 0; }
  .cta-inner { padding: 40px 28px; flex-direction: column; align-items: flex-start; gap: 24px; }
  .cta-arrow { width: 60px; height: 60px; }
  .site-footer { padding: 48px 0 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-nav { justify-content: start; grid-template-columns: repeat(2, max-content); gap: 12px 40px; }
  .footer-bottom { flex-direction: column-reverse; gap: 8px; margin-top: 32px; }
  .page-hero { margin: 0 10px; padding: 44px 0 40px; }
  .page-hero .sec-ja { font-size: 30px; }
  .mvv-item { padding: 24px 22px; }
  .mvv-title { font-size: 21px; }
  .message-panel { padding: 48px 0; }
  .profile th, .profile td { display: block; width: auto; padding: 4px 20px; border: 0; }
  .profile th { padding-top: 16px; background: none; font-size: 12px; color: var(--blue); }
  .profile td { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
  .svc-head { gap: 14px; }
  .svc-num { width: 48px; height: 48px; font-size: 17px; }
  .svc-detail h2 { font-size: 22px; }
  .svc-detail-img { aspect-ratio: 16 / 9; }
  .point { padding: 24px 18px; }
  .article-head { margin: 0 10px; padding: 36px 0 28px; }
  .article-title { font-size: 25px; }
  .article-meta { grid-template-columns: 1fr; gap: 2px; padding: 18px 20px; }
  .article-meta b { margin-top: 6px; }
  .case-block, .case-result { margin-top: 40px; }
  .case-label h2 { font-size: 21px; }
  .case-steps li { grid-template-columns: 38px 1fr; gap: 12px; padding: 12px 14px; font-size: 14px; }
  .case-steps li::before { width: 36px; height: 36px; font-size: 13px; }
  .case-result { padding: 28px 22px; }
  .case-results li { font-size: 14.5px; grid-template-columns: 22px 1fr; gap: 10px; }
  .case-results li::before { width: 22px; height: 22px; background-size: 14px; }
  .career-tbc { margin: 0 10px; padding: 88px 0; }
  .contact-card { padding: 26px 18px; }
  .cform-row.two { grid-template-columns: 1fr; gap: 26px; }
  .cform-submit { width: 100%; min-width: 0; }
}
