:root {
  --navy: #0e2a47;
  --navy-2: #163a5f;
  --blue: #2f6fdb;
  --blue-d: #2259b8;
  --sky: #eaf2fd;
  --sky-2: #f5f9fe;
  --amber: #f2a93b;
  --amber-d: #e0921d;
  --ink: #1b2a3a;
  --muted: #5b6b7d;
  --line: #dbe5f1;
  --white: #fff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(14, 42, 71, .08);
  --en: "Manrope", "Noto Sans JP", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.4; margin: 0; }
p { margin: 0; }
.container { width: min(1120px, 100% - 40px); margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .9em 1.8em; border-radius: 999px; font-weight: 700; text-decoration: none;
  transition: background .2s, transform .2s, box-shadow .2s; border: 2px solid transparent;
  font-size: 15px; line-height: 1.4; cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--amber); color: var(--navy); box-shadow: 0 6px 16px rgba(242,169,59,.35); }
.btn-primary:hover { background: var(--amber-d); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: var(--white); }
.btn-outline:hover { background: var(--sky); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-ghost { border-color: rgba(255,255,255,.6); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn .arrow { font-family: var(--en); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.logo-mark {
  width: 36px; height: 36px; border-radius: 10px; background: var(--navy);
  display: grid; place-items: center; flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text strong { font-size: 17px; letter-spacing: .04em; }
.logo-text small { font-family: var(--en); font-size: 10px; letter-spacing: .14em; color: var(--blue); font-weight: 700; }
.gnav { display: flex; align-items: center; gap: 28px; }
.gnav ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.gnav ul a { text-decoration: none; font-size: 14px; font-weight: 500; color: var(--ink); }
.gnav ul a:hover { color: var(--blue); }
.gnav .btns { display: flex; gap: 10px; }
.gnav .btn { padding: .6em 1.2em; font-size: 14px; }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.menu-toggle span { display: block; height: 2px; background: var(--navy); margin: 5px 0; transition: .3s; }

@media (max-width: 1140px) {
  .menu-toggle { display: block; }
  .gnav {
    position: fixed; inset: 72px 0 auto 0; background: var(--white); flex-direction: column;
    align-items: stretch; padding: 20px; gap: 16px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); transform: translateY(-120%); transition: transform .3s; z-index: -1;
  }
  .gnav.open { transform: none; }
  .gnav ul { flex-direction: column; gap: 0; }
  .gnav ul a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .gnav .btns { flex-direction: column; }
  .menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- section common ---------- */
.section { padding: 100px 0; }
.section-sky { background: var(--sky-2); }
.sec-head { text-align: center; margin-bottom: 56px; }
.sec-head .en {
  font-family: var(--en); font-weight: 800; color: var(--blue); letter-spacing: .2em;
  font-size: 13px; display: inline-flex; align-items: center; gap: 10px;
}
.sec-head .en::before, .sec-head .en::after { content: ""; width: 24px; height: 2px; background: var(--blue); }
.sec-head h2 { font-size: clamp(24px, 3.4vw, 34px); color: var(--navy); margin-top: 10px; }
.sec-head p { color: var(--muted); margin-top: 14px; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; padding: 80px 0 100px;
  background:
    radial-gradient(circle at 85% 20%, rgba(47,111,219,.12), transparent 45%),
    linear-gradient(180deg, var(--sky) 0%, var(--white) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(47,111,219,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47,111,219,.06) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px; background: var(--white); color: var(--blue);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px; font-size: 13px; font-weight: 700;
}
.hero-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); display: block; }
.nw { white-space: nowrap; }
.hero h1 { font-size: clamp(26px, 3.9vw, 46px); color: var(--navy); margin: 22px 0 22px; letter-spacing: .02em; }
.hero h1 em { font-style: normal; color: var(--blue); position: relative; white-space: nowrap; }
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .08em; height: .28em;
  background: rgba(242,169,59,.35); z-index: -1; border-radius: 4px;
}
.hero-lead { color: var(--muted); font-size: 16px; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 30px 0 0; padding: 0; list-style: none; }
.hero-points li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--navy); }
.hero-points svg { flex-shrink: 0; }
.cert-badge {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 28px; padding: 12px 22px 12px 12px;
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
}
.cert-medal {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  box-shadow: 0 0 0 4px var(--sky), 0 0 0 5px rgba(242,169,59,.6);
}
.cert-medal img { width: 100%; height: 100%; object-fit: contain; border-radius: 0; }
.cert-text { display: flex; flex-direction: column; line-height: 1.4; }
.cert-text small { font-size: 12px; font-weight: 700; color: var(--blue); letter-spacing: .04em; }
.cert-text strong { font-size: 15px; color: var(--navy); }
.cert-chip {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 8px 16px;
  background: var(--sky); border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--navy) !important;
}
.cert-chip svg { flex-shrink: 0; }
/* ---- hero visual: UI mockup ---- */
.mock { position: relative; min-height: 560px; display: grid; place-items: center; isolation: isolate; }
.mock .blob { position: absolute; border-radius: 50%; filter: blur(48px); z-index: -1; opacity: .75; animation: blob 14s ease-in-out infinite; }
.mock .b1 { width: 340px; height: 340px; background: #7fb0ff; top: 0; right: 4%; }
.mock .b2 { width: 260px; height: 260px; background: #ffd08a; bottom: 4%; left: 6%; animation-delay: -5s; }
.mock .b3 { width: 200px; height: 200px; background: #9be7d6; top: 38%; left: 38%; opacity: .5; animation-delay: -9s; }
@keyframes blob { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(20px,-24px) scale(1.08); } 66% { transform: translate(-18px,16px) scale(.94); } }
.glass {
  background: rgba(255,255,255,.72); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255,255,255,.9); box-shadow: 0 24px 60px rgba(14,42,71,.14), inset 0 1px 0 rgba(255,255,255,.8);
}
.mock-main { width: min(440px, 100%); border-radius: 22px; padding: 20px 22px 14px; position: relative; z-index: 1; }
.mock-top { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.mock-top .dots { display: flex; gap: 5px; }
.mock-top .dots i { width: 9px; height: 9px; border-radius: 50%; background: #dbe5f1; display: block; }
.mock-top .dots i:first-child { background: #ff8f7a; } .mock-top .dots i:nth-child(2) { background: #ffc55c; } .mock-top .dots i:nth-child(3) { background: #5fd3a5; }
.mock-title { font-weight: 700; color: var(--navy); font-size: 14px; flex: 1; }
.pill { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.pill.live { background: #e3f7ef; color: #11845b; display: inline-flex; align-items: center; gap: 6px; }
.pill.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #1fb57d; animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(31,181,125,.6); } 100% { box-shadow: 0 0 0 8px rgba(31,181,125,0); } }
.mock-progress .row { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.mock-progress b { font-family: var(--en); font-size: 26px; color: var(--navy); letter-spacing: -.02em; }
.bar { height: 8px; border-radius: 99px; background: #e6edf7; overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--blue), #5fa0ff 70%, #8fd8ff); animation: grow 1.6s .4s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes grow { to { width: var(--w); } }
.tx { list-style: none; margin: 16px 0 0; padding: 0; }
.tx li {
  display: grid; grid-template-columns: 44px 1fr auto auto 22px; align-items: center; gap: 10px;
  padding: 11px 0; border-top: 1px solid rgba(219,229,241,.9); font-size: 13px;
  opacity: 0; transform: translateY(8px); animation: rowin .5s ease forwards;
}
.tx li:nth-child(1) { animation-delay: .9s; } .tx li:nth-child(2) { animation-delay: 1.1s; } .tx li:nth-child(3) { animation-delay: 1.3s; } .tx li:nth-child(4) { animation-delay: 1.5s; }
@keyframes rowin { to { opacity: 1; transform: none; } }
.tx .d { font-family: var(--en); color: var(--muted); font-size: 12px; }
.tx .n { font-weight: 500; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx .a { font-family: var(--en); font-weight: 700; color: var(--navy); }
.tag { font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 6px; white-space: nowrap; }
.tag.auto { background: #eaf2fd; color: var(--blue); }
.tag.match { background: #e3f7ef; color: #11845b; }
.tag.doc { background: #fdf1de; color: #b46d08; }
.ck { width: 22px; height: 22px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; transform: scale(0); animation: pop .35s ease forwards; }
.tx li:nth-child(1) .ck { animation-delay: 1.3s; } .tx li:nth-child(2) .ck { animation-delay: 1.5s; } .tx li:nth-child(3) .ck { animation-delay: 1.7s; } .tx li:nth-child(4) .ck { animation-delay: 1.9s; }
@keyframes pop { 70% { transform: scale(1.2); } to { transform: scale(1); } }
.mock-card { position: absolute; z-index: 2; border-radius: 16px; padding: 14px 16px; animation: float 6s ease-in-out infinite; }
.mock-card .lbl { font-size: 11px; color: var(--muted); font-weight: 700; display: block; }
.mock-card .val { font-size: 15px; color: var(--navy); font-weight: 700; }
.mock-card.payroll { top: 0; right: -6px; display: flex; align-items: center; gap: 12px; }
.mock-card.payroll .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--amber), #ffcf7d); }
.avatars { display: flex; margin-top: 6px; }
.avatars i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #fff; margin-left: -6px; display: block; }
.avatars i:first-child { margin-left: 0; background: #9cc0f5; } .avatars i:nth-child(2) { background: #2f6fdb; } .avatars i:nth-child(3) { background: #ffc55c; } .avatars i:nth-child(4) { background: #5fd3a5; }
.avatars em { font-style: normal; font-size: 10px; font-weight: 700; color: var(--muted); margin-left: 6px; align-self: center; }
.mock-card.close { bottom: 18px; left: -10px; display: flex; align-items: center; gap: 12px; animation-delay: -3s; }
.mock-card.close .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, #1fb57d, #6fe0b4); }
.mock-card.chart { bottom: -6px; right: 10px; width: 170px; animation-delay: -1.5s; }
.mini-bars { display: flex; align-items: flex-end; gap: 6px; height: 46px; margin-top: 8px; }
.mini-bars i { flex: 1; border-radius: 4px 4px 2px 2px; background: #cfe0fa; display: block; height: var(--h); transform-origin: bottom; transform: scaleY(0); animation: barup .7s cubic-bezier(.2,.8,.2,1) forwards; }
.mini-bars i:last-child { background: linear-gradient(180deg, #5fa0ff, var(--blue)); }
.mini-bars i:nth-child(1) { animation-delay: 1s; } .mini-bars i:nth-child(2) { animation-delay: 1.1s; } .mini-bars i:nth-child(3) { animation-delay: 1.2s; } .mini-bars i:nth-child(4) { animation-delay: 1.3s; } .mini-bars i:nth-child(5) { animation-delay: 1.4s; } .mini-bars i:nth-child(6) { animation-delay: 1.5s; }
@keyframes barup { to { transform: scaleY(1); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 900px) {
  .hero { padding: 48px 0 72px; }
  .hero-inner { grid-template-columns: 1fr; }
  .mock { min-height: 0; padding: 64px 0 96px; }
  .mock-card.payroll { right: 0; top: 0; }
  .mock-card.close { left: 0; bottom: 8px; }
  .mock-card.chart { right: 0; bottom: 0; width: 150px; }
}
@media (max-width: 480px) {
  .mock-main { padding: 16px 14px 10px; }
  .tx li { grid-template-columns: 38px 1fr auto 22px; gap: 8px; }
  .tx .a { display: none; }
  .mock-card { padding: 10px 12px; }
  .mock-card.chart { display: none; }
}

/* ---------- worries ---------- */
.worries { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 900px; margin: 0 auto; }
.worry {
  display: flex; gap: 14px; align-items: flex-start; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 24px; font-weight: 500;
}
.worry svg { flex-shrink: 0; margin-top: 3px; }
.solve {
  position: relative; max-width: 900px; margin: 56px auto 0; text-align: center; background: var(--navy);
  color: var(--white); border-radius: 20px; padding: 40px 28px;
}
.solve::before {
  content: ""; position: absolute; top: -22px; left: 50%; transform: translateX(-50%);
  border: 22px solid transparent; border-bottom: 0; border-top-color: var(--line); top: -40px;
}
.solve p { font-size: clamp(18px, 2.4vw, 24px); font-weight: 700; line-height: 1.7; }
.solve p span { color: var(--amber); }
@media (max-width: 700px) { .worries { grid-template-columns: 1fr; } }

/* ---------- services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service {
  background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service .thumb { background: var(--sky-2); aspect-ratio: 3 / 2; overflow: hidden; }
.service .thumb img { width: 100%; height: 100%; object-fit: cover; }
.service .body { padding: 22px 24px 26px; }
.service .num { font-family: var(--en); font-weight: 800; color: var(--blue); font-size: 13px; letter-spacing: .1em; }
.service h3 { font-size: 19px; color: var(--navy); margin: 4px 0 10px; }
.service p { font-size: 14px; color: var(--muted); }
@media (max-width: 980px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services { grid-template-columns: 1fr; } }

/* ---------- features ---------- */
.features { display: grid; gap: 64px; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature:nth-child(even) .f-img { order: 2; }
.f-img { border-radius: 24px; overflow: hidden; background: var(--sky); }
.f-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.f-num {
  font-family: var(--en); font-weight: 800; font-size: 64px; line-height: 1; color: transparent;
  -webkit-text-stroke: 1.5px var(--blue);
}
.f-label { font-family: var(--en); font-weight: 800; color: var(--blue); letter-spacing: .16em; font-size: 12px; margin-left: 6px; }
.feature h3 { font-size: clamp(21px, 2.6vw, 27px); color: var(--navy); margin: 14px 0 16px; }
.feature p { color: var(--muted); }
@media (max-width: 800px) {
  .feature { grid-template-columns: 1fr; gap: 24px; }
  .feature:nth-child(even) .f-img { order: 0; }
}

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 20px;
  padding: 36px 30px; display: flex; flex-direction: column;
}
.plan.featured { border: 2px solid var(--blue); box-shadow: var(--shadow); }
.plan .badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--blue); color: var(--white);
  font-size: 12px; font-weight: 700; padding: 4px 16px; border-radius: 999px; white-space: nowrap;
}
.plan .name { font-family: var(--en); font-weight: 800; font-size: 22px; color: var(--navy); letter-spacing: .04em; }
.plan .target { font-size: 13px; color: var(--muted); margin-top: 4px; }
.plan .price { margin: 22px 0; padding-bottom: 22px; border-bottom: 1px dashed var(--line); color: var(--navy); }
.plan .price b { font-family: var(--en); font-size: 38px; font-weight: 800; letter-spacing: -.01em; }
.plan .price span { font-size: 14px; font-weight: 700; margin-left: 2px; }
.plan .price .ask { font-size: 30px; font-weight: 700; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; font-size: 14px; flex: 1; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { flex-shrink: 0; margin-top: 4px; }
.plan .btn { width: 100%; }
.note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 24px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; gap: 32px; } }

/* ---------- flow ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.flow li {
  position: relative; background: var(--white); border-radius: var(--radius); padding: 30px 24px; border: 1px solid var(--line);
}
.flow li:not(:last-child)::after {
  content: ""; position: absolute; right: -16px; top: 50%; width: 12px; height: 12px; z-index: 1;
  border-top: 2px solid var(--blue); border-right: 2px solid var(--blue); transform: translateY(-50%) rotate(45deg);
}
.flow .step { font-family: var(--en); font-weight: 800; color: var(--blue); font-size: 12px; letter-spacing: .16em; }
.flow .ic { width: 56px; height: 56px; border-radius: 16px; background: var(--sky); display: grid; place-items: center; margin: 14px 0 16px; }
.flow h3 { font-size: 18px; color: var(--navy); margin-bottom: 8px; }
.flow p { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr 1fr; }
  .flow li:nth-child(2)::after { display: none; }
}
@media (max-width: 560px) {
  .flow { grid-template-columns: 1fr; gap: 28px; }
  .flow li:not(:last-child)::after { display: block; right: auto; left: 50%; top: auto; bottom: -21px; transform: translateX(-50%) rotate(135deg); }
}

/* ---------- faq ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 60px 22px 24px; font-weight: 700; color: var(--navy);
  position: relative; display: flex; gap: 14px; align-items: flex-start;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  font-family: var(--en); font-size: 24px; color: var(--blue); font-weight: 500; transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .q, .faq .a { font-family: var(--en); font-weight: 800; flex-shrink: 0; }
.faq .q { color: var(--blue); }
.faq .a { color: var(--amber-d); }
.faq .answer { display: flex; gap: 14px; padding: 0 24px 22px; color: var(--muted); }

/* ---------- company ---------- */
.company { max-width: 860px; margin: 0 auto; background: var(--white); border-radius: 20px; border: 1px solid var(--line); overflow: hidden; }
.company dl { margin: 0; }
.company .row { display: grid; grid-template-columns: 180px 1fr; border-bottom: 1px solid var(--line); }
.company .row:last-child { border-bottom: 0; }
.company dt { background: var(--sky-2); padding: 20px 24px; font-weight: 700; color: var(--navy); font-size: 14px; }
.company dd { margin: 0; padding: 20px 24px; font-size: 15px; }
.company dd ul { margin: 0; padding-left: 1.2em; }
@media (max-width: 600px) {
  .company .row { grid-template-columns: 1fr; }
  .company dt { padding: 12px 20px; }
  .company dd { padding: 14px 20px 18px; }
}

/* ---------- cta ---------- */
.cta {
  position: relative; overflow: hidden; background: var(--navy); color: var(--white); padding: 90px 0; text-align: center;
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 32px 32px;
}
.cta::after {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -160px; top: -200px;
  background: radial-gradient(circle, rgba(47,111,219,.55), transparent 65%);
}
.cta .container { position: relative; z-index: 1; }
.cta .en { font-family: var(--en); font-weight: 800; letter-spacing: .2em; font-size: 13px; color: var(--amber); }
.cta h2 { font-size: clamp(26px, 3.6vw, 38px); margin: 12px 0 16px; }
.cta p { color: rgba(255,255,255,.8); }
.cta .btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 34px; }

/* ---------- footer ---------- */
.site-footer { background: #0a1f36; color: rgba(255,255,255,.75); padding: 60px 0 28px; font-size: 14px; }
.footer-inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.site-footer .logo { color: var(--white); }
.site-footer .logo-mark { background: var(--blue); }
.site-footer .logo-text small { color: #9cc0f5; }
.footer-desc { margin-top: 16px; font-size: 13px; line-height: 1.9; }
.site-footer h4 { color: var(--white); font-size: 13px; font-family: var(--en); letter-spacing: .16em; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.copyright { border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 22px; font-size: 12px; text-align: center; font-family: var(--en); }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- sub pages ---------- */
.page-head {
  position: relative; background: linear-gradient(180deg, var(--sky) 0%, var(--white) 100%); padding: 72px 0 56px; text-align: center; overflow: hidden;
}
.page-head::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(47,111,219,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47,111,219,.06) 1px, transparent 1px);
  background-size: 32px 32px; mask-image: linear-gradient(180deg, #000, transparent);
}
.page-head .container { position: relative; }
.page-head .en { font-family: var(--en); font-weight: 800; color: var(--blue); letter-spacing: .2em; font-size: 13px; }
.page-head h1 { font-size: clamp(26px, 3.6vw, 36px); color: var(--navy); margin-top: 8px; }
.page-head p { color: var(--muted); margin-top: 14px; }
.breadcrumb { font-size: 12px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { text-decoration: none; color: var(--blue); }

.form-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.form-aside { background: var(--sky-2); border-radius: 20px; padding: 32px; border: 1px solid var(--line); }
.form-aside h2 { font-size: 20px; color: var(--navy); margin-bottom: 14px; }
.form-aside img { border-radius: 14px; margin-bottom: 20px; background: var(--white); }
.form-aside ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; font-size: 14px; }
.form-aside li { display: flex; gap: 10px; }
.form-aside li svg { flex-shrink: 0; margin-top: 4px; }
.form-box { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 36px; box-shadow: var(--shadow); }
.field { margin-bottom: 22px; }
.field label, .field .label { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--navy); margin-bottom: 8px; }
.req, .opt { font-size: 11px; padding: 2px 8px; border-radius: 4px; font-weight: 700; }
.req { background: var(--amber); color: var(--navy); }
.opt { background: var(--line); color: var(--muted); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15px; padding: 12px 14px; border: 1px solid #c9d6e6; border-radius: 10px;
  background: var(--sky-2); color: var(--ink); transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 3px rgba(47,111,219,.15); }
.field textarea { min-height: 160px; resize: vertical; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.checks label { font-weight: 500; color: var(--ink); margin: 0; }
.agree { font-size: 14px; margin: 8px 0 24px; display: flex; gap: 8px; align-items: center; }
.agree a { color: var(--blue); }
.form-box .btn { width: 100%; font-size: 16px; padding: 1em; }
@media (max-width: 860px) {
  .form-layout { grid-template-columns: 1fr; }
  .form-box { padding: 24px 20px; }
  .form-aside { padding: 24px; }
}

.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 19px; color: var(--navy); margin: 40px 0 12px; padding-left: 14px; border-left: 4px solid var(--blue); }
.prose p, .prose li { color: #334456; font-size: 15px; }
.prose ul { padding-left: 1.4em; }
.prose .date { text-align: right; color: var(--muted); font-size: 14px; margin-top: 48px; }

.notfound { text-align: center; padding: 120px 0; }
.notfound .big { font-family: var(--en); font-weight: 800; font-size: 120px; line-height: 1; color: var(--sky); -webkit-text-stroke: 2px var(--blue); }
.notfound h1 { color: var(--navy); font-size: 24px; margin: 16px 0; }
.notfound p { color: var(--muted); margin-bottom: 32px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .mock-card, .mock .blob, .pill.live::before { animation: none; }
  .bar span { animation: none; width: var(--w); }
  .tx li, .ck, .mini-bars i { animation: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- stylish visuals (no illustrations) ---------- */
.svc-tile {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; display: flex; align-items: flex-end; padding: 20px 22px;
  background: radial-gradient(circle at 85% 15%, rgba(95,160,255,.55), transparent 55%), linear-gradient(135deg, var(--navy) 0%, #1d4f9a 100%);
}
.svc-tile::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 22px 22px; mask-image: linear-gradient(200deg, #000 10%, transparent 75%);
}
.svc-tile .big {
  position: absolute; right: 14px; top: 2px; font-family: var(--en); font-weight: 800; font-size: 96px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.2px rgba(255,255,255,.28); letter-spacing: -.04em;
}
.svc-tile .ico {
  position: relative; width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(8px);
  box-shadow: 0 10px 24px rgba(0,0,0,.18); transition: transform .3s;
}
.service:hover .svc-tile .ico { transform: translateY(-4px) rotate(-4deg); }
.service:nth-child(3n+2) .svc-tile { background: radial-gradient(circle at 85% 15%, rgba(95,211,165,.45), transparent 55%), linear-gradient(135deg, var(--navy) 0%, #1d4f9a 100%); }
.service:nth-child(3n) .svc-tile { background: radial-gradient(circle at 85% 15%, rgba(242,169,59,.45), transparent 55%), linear-gradient(135deg, var(--navy) 0%, #1d4f9a 100%); }

.f-visual {
  position: relative; aspect-ratio: 3 / 2; border-radius: 24px; overflow: hidden; display: grid; place-items: center; padding: 24px; isolation: isolate;
  background: linear-gradient(160deg, #eef4fd 0%, #f8fbff 100%); border: 1px solid var(--line);
}
.f-visual::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(47,111,219,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(47,111,219,.07) 1px, transparent 1px);
  background-size: 26px 26px;
}
.f-visual .blob { position: absolute; border-radius: 50%; filter: blur(40px); z-index: -1; opacity: .6; }
.fv-card { border-radius: 18px; padding: 18px 20px; width: min(360px, 100%); }
.fv-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.rule { display: grid; grid-template-columns: 1fr 18px 1fr 34px; align-items: center; gap: 8px; padding: 10px 0; border-top: 1px solid rgba(219,229,241,.9); font-size: 12.5px; }
.rule .from { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rule .to { font-weight: 700; color: var(--navy); white-space: nowrap; }
.rule .arw { color: var(--blue); font-family: var(--en); font-weight: 800; }
.toggle { width: 34px; height: 20px; border-radius: 99px; background: var(--blue); position: relative; }
.toggle::after { content: ""; position: absolute; width: 16px; height: 16px; border-radius: 50%; background: #fff; top: 2px; right: 2px; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.fv-foot { margin-top: 10px; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.fv-foot b { font-family: var(--en); color: #11845b; font-size: 15px; }

.hub { position: relative; width: min(420px, 100%); height: 220px; }
.hub svg.lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hub .lines path { stroke: var(--blue); stroke-width: 2; fill: none; stroke-dasharray: 6 6; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -24; } }
.hub .node { position: absolute; border-radius: 16px; padding: 12px 14px; font-size: 12px; color: var(--muted); width: 150px; }
.hub .node strong { display: block; color: var(--navy); font-size: 14px; }
.hub .node.l { left: 0; top: 18px; } .hub .node.r { right: 0; top: 18px; }
.hub .node.b { left: 50%; bottom: 0; transform: translateX(-50%); width: 190px; text-align: center; }
.hub .center {
  position: absolute; left: 50%; top: 34px; transform: translateX(-50%); width: 64px; height: 64px; border-radius: 20px;
  background: linear-gradient(135deg, var(--blue), var(--navy)); display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(47,111,219,.12), 0 14px 30px rgba(14,42,71,.25);
}

.tl { list-style: none; margin: 4px 0 0; padding: 0 0 0 4px; position: relative; }
.tl::before { content: ""; position: absolute; left: 10px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--blue), #8fd8ff); }
.tl li { position: relative; padding: 7px 0 7px 32px; font-size: 13px; display: flex; justify-content: space-between; gap: 10px; }
.tl li::before { content: ""; position: absolute; left: 3px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); }
.tl li.now::before { background: var(--amber); border-color: #fff; box-shadow: 0 0 0 3px var(--amber); }
.tl .m { font-family: var(--en); font-weight: 800; color: var(--blue); font-size: 12px; width: 34px; flex-shrink: 0; }
.tl .t { flex: 1; color: var(--ink); font-weight: 500; }
.tl .tag { align-self: center; }

.aside-visual {
  position: relative; overflow: hidden; border-radius: 14px; margin-bottom: 20px; height: 150px; display: grid; place-items: center;
  background: radial-gradient(circle at 80% 20%, rgba(95,160,255,.55), transparent 55%), linear-gradient(135deg, var(--navy), #1d4f9a);
}
.aside-visual::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 22px 22px;
}
.aside-visual .ico { position: relative; width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); }
@media (max-width: 480px) {
  .hub .node { width: 128px; padding: 10px; }
  .hub .center { width: 54px; height: 54px; top: 40px; }
  .svc-tile .big { font-size: 80px; }
}
@media (prefers-reduced-motion: reduce) { .hub .lines path { animation: none; } }

.service .num { display: none; }
.service h3 { margin-top: 0; }

.form-error { background: #fdecea; color: #b42318; border-radius: 10px; padding: 12px 16px; font-size: 14px; margin-bottom: 20px; }

.footer-addr { margin-top: 12px; font-size: 12px; line-height: 1.8; color: rgba(255,255,255,.6); }

.form-note { font-size: 12px; color: var(--muted); margin-top: 12px; line-height: 1.8; }
.form-note a { color: var(--blue); }

.gnav ul a, .gnav .btn, .logo-text strong { white-space: nowrap; }

.cert-logos { display: flex; gap: 6px; flex-shrink: 0; }
.cert-logos img { width: 50px; height: 50px; }
.cert-badge { padding: 10px 20px 10px 10px; }
.cert-row { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 12px 16px; background: var(--sky); border-radius: 14px; }
.cert-logos.sm img { width: 44px; height: 44px; }
.cert-cap { font-size: 12px; line-height: 1.6; color: var(--muted); }
.cert-cap b { color: var(--navy); font-size: 14px; }
@media (max-width: 480px) { .cert-logos img { width: 42px; height: 42px; } .cert-row { flex-direction: column; align-items: flex-start; } }

/* freee個人資格ロゴ：ハンドブックに沿い、フッターに1つだけ・加工なし・周囲に余白 */
.footer-cert { display: inline-block; margin-top: 20px; padding: 0; line-height: 0; }
.footer-cert img { width: 72px; height: 72px; border-radius: 0; background: none; }
.cert-text .cert-names { display: block; font-size: 11px; color: var(--muted); font-weight: 500; letter-spacing: 0; margin-top: 2px; }

/* freee コーポレートロゴ（公式PNG・白／周囲余白込み）。自社ロゴより小さく配置 */
.footer-freee { display: inline-block; margin: 8px 0 0 -14px; line-height: 0; }
.footer-freee img { width: 120px; height: auto; }

/* news */
.news { list-style: none; margin: 0 auto; padding: 0; max-width: 860px; border-top: 1px solid var(--line); }
.news li { display: grid; grid-template-columns: 110px 96px 1fr; align-items: center; gap: 16px; padding: 20px 8px; border-bottom: 1px solid var(--line); }
.news time { font-family: var(--en); font-weight: 700; color: var(--navy); font-size: 14px; }
.news-tag { justify-self: start; font-size: 11px; font-weight: 700; color: var(--blue); background: var(--sky); border-radius: 99px; padding: 3px 12px; }
.news p { font-size: 15px; }
@media (max-width: 600px) { .news li { grid-template-columns: auto 1fr; gap: 6px 12px; } .news p { grid-column: 1 / -1; } }
