:root {
  --brand: #1f3fe0;
  --brand-dark: #1428a8;
  --accent: #23a6c9;
  --ink: #1d2433;
  --muted: #5b6577;
  --line: #dfe4ee;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --radius: 12px;
  --maxw: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); background: var(--bg);
  font-family: "Hiragino Sans", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.8; font-size: 16px;
}
img { max-width: 100%; height: auto; }
a { color: var(--brand); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100px; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font-size: 14px; cursor: pointer; }
.site-nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.site-nav a { display: block; padding: 8px 14px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.site-nav a:hover { background: var(--bg-soft); }
.site-nav a[aria-current="page"] { color: var(--brand); box-shadow: inset 0 -3px 0 var(--brand); border-radius: 0; }
.site-nav a.cta { background: var(--brand); color: #fff; }
.site-nav a.cta:hover { background: var(--brand-dark); }

/* hero */
.hero { color: #fff; background: url("../images/hero-stars.svg") center / cover no-repeat, linear-gradient(120deg, #0f3cc4 0%, #2b7ff0 58%, #7fd0ff 100%); padding: 170px 0 120px; min-height: 560px; position: relative; overflow: hidden; isolation: isolate; }
.hero-copy { display: block; max-width: 980px; }
.hero-links { position: absolute; right: max(20px, calc((100% - 1040px) / 2)); bottom: 22px; display: flex; gap: 12px; z-index: 1; }
.hero-links a { display: inline-block; min-width: 148px; text-align: center; padding: 12px 26px; border-radius: 999px; background: rgba(8,40,170,.30); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); border: 2px solid #fff; color: #fff; font-weight: 800; font-size: 16px; letter-spacing: .06em; text-decoration: none; text-shadow: 0 1px 6px rgba(0,30,140,.75); }
.hero-links a:hover { background: #fff; color: var(--brand); text-shadow: none; }
.hero-links a:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.hero .kicker { display: inline-block; margin: 0 0 16px; padding: 6px 16px; border-radius: 999px; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.55); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-shadow: none; }
.nw { white-space: nowrap; }
.hero h1 { margin: 0 0 18px; font-size: clamp(26px, 3.9vw, 46px); line-height: 1.4; letter-spacing: .02em; text-shadow: 0 2px 3px rgba(0,20,120,.7), 0 0 22px rgba(0,30,150,.75), 0 0 46px rgba(0,30,150,.55); }
.hero p { margin: 0 0 28px; max-width: 700px; font-size: clamp(15px, 2vw, 18px); font-weight: 500; text-shadow: 0 1px 3px rgba(0,20,120,.8), 0 0 16px rgba(0,30,150,.8); }
.btn { display: inline-block; padding: 14px 28px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; }
.btn-primary { background: #fff; color: var(--brand); }
.btn-primary:hover { background: #eef2ff; }
.btn-ghost { border-color: rgba(255,255,255,.8); color: #fff; margin-left: 10px; }
.btn-ghost:hover { background: rgba(255,255,255,.14); }
.btn-solid { background: var(--brand); color: #fff; }
.btn-solid:hover { background: var(--brand-dark); }

/* sections */
section { padding: 72px 0; }
section.soft { background: var(--bg-soft); }
.sec-title { margin: 0 0 8px; font-size: clamp(22px, 3.5vw, 30px); }
.sec-lead { margin: 0 0 36px; color: var(--muted); }
.eyebrow { display: block; color: var(--accent); font-weight: 700; letter-spacing: .12em; font-size: 13px; text-transform: uppercase; }
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .num { display: inline-block; font-size: 13px; font-weight: 800; color: var(--accent); margin-bottom: 8px; letter-spacing: .1em; }

/* page head */
.page-head { background: #fff; color: #0b1f6b; padding: 56px 0 48px; position: relative; isolation: isolate; border-bottom: 1px solid #d5e5fb; }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #1f5fe0 0 8px, rgba(255,255,255,0) 8px); }
.page-head h1 { margin: 0; font-size: clamp(26px, 4vw, 36px); }
.page-head p { margin: 6px 0 0; color: #0b1f6b; }
.crumb { font-size: 13px; color: rgba(255,255,255,.8); margin-bottom: 8px; }
.crumb a { color: rgba(255,255,255,.9); }

/* services */
.service { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 40px 0; border-bottom: 1px solid var(--line); }
.service:last-of-type { border-bottom: 0; }
.service h2 { margin: 0 0 12px; font-size: 24px; }
.service ul { padding-left: 1.2em; color: var(--muted); }
.flow { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; background: var(--bg-soft); border-radius: var(--radius); padding: 24px; }
.flow span { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; font-weight: 600; font-size: 14px; }
.flow i { font-style: normal; color: var(--accent); font-weight: 800; }

/* table */
.info { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); }
.info th, .info td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.info th { width: 28%; background: var(--bg-soft); font-weight: 700; }
.map { margin-top: 28px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.map iframe { display: block; width: 100%; height: 380px; border: 0; }

/* news */
.news { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.news li { display: flex; gap: 20px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.news time { color: var(--muted); font-variant-numeric: tabular-nums; flex: none; }
.more { margin-top: 20px; text-align: right; }

/* form */
.form { max-width: 720px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.req { color: #d92d3a; font-size: 12px; margin-left: 6px; font-weight: 700; }
input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; padding: 12px 14px; font: inherit; border: 1px solid #c5cddd; border-radius: 8px; background: #fff;
}
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(31,63,224,.25); border-color: var(--brand); }
textarea { min-height: 180px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.agree { display: flex; gap: 10px; align-items: flex-start; }
.agree input { margin-top: 7px; }
.notice { background: #fff8e5; border: 1px solid #f0d98a; border-radius: 8px; padding: 12px 16px; font-size: 14px; margin-bottom: 24px; }

/* contact band */
.band { background: linear-gradient(135deg, #0f1f7a, var(--brand)); color: #fff; text-align: center; }
.band h2 { margin: 0 0 8px; font-size: 26px; }
.band p { margin: 0 0 24px; opacity: .92; }
.band .tel { font-size: 28px; font-weight: 800; letter-spacing: .04em; margin-bottom: 20px; }

/* footer */
.site-footer { background: #0f1a5c; color: #dfe5ff; padding: 48px 0 24px; font-size: 14px; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
.site-footer h3 { margin: 0 0 8px; color: #fff; font-size: 15px; }
.site-footer address { font-style: normal; }
.site-footer a { color: #dfe5ff; }
.footer-nav { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.copy { margin-top: 32px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.2); font-size: 12px; opacity: .8; text-align: center; }

/* privacy */
.prose h2 { margin-top: 36px; font-size: 20px; }
.prose { max-width: 760px; }

@media (max-width: 820px) {
  .hero { padding: 128px 0 70px; min-height: 520px; background-position: center bottom, 0 0; }
    .hero-links { left: 16px; right: 16px; bottom: 16px; }
  .hero-links a { flex: 1; min-width: 0; padding: 12px 10px; }
  .hero .btn-ghost { background: rgba(10,50,180,.62); }
  .header-inner { height: 76px; }
  .logo img { height: 54px; }
  .grid-3 { grid-template-columns: 1fr; }
  .service { grid-template-columns: 1fr; gap: 20px; }
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 76px; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { padding: 12px 4px; border-radius: 0; }
  .site-nav a[aria-current="page"] { box-shadow: none; }
  .btn-ghost { margin: 12px 0 0; }
  .info th, .info td { display: block; width: 100%; }
  .info th { border-bottom: 0; padding-bottom: 4px; }
  .news li { flex-direction: column; gap: 2px; }
  section { padding: 52px 0; }
}

/* products */
.ats-teaser { background: linear-gradient(180deg, #eaf4ff 0%, #f7fbff 100%); }
.ats-copy .sec-title { margin-bottom: 10px; }
.ats-lead { margin: 0 0 22px; font-size: 17px; font-weight: 600; color: var(--ink); }
.ats-steps { list-style: none; counter-reset: st; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.ats-steps li { counter-increment: st; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: center; background: #fff; border: 1px solid #d5e5fb; border-radius: 12px; padding: 12px 16px; }
.ats-steps li::before { content: counter(st); grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--brand); color: #fff; font-weight: 800; }
.ats-steps b { font-size: 16px; }
.ats-steps span { color: var(--muted); font-size: 14px; line-height: 1.6; }
.ats-say { position: relative; margin: 0 0 22px; padding: 12px 18px; border-radius: 14px; background: #fff; border: 1.5px solid var(--brand); color: var(--brand-dark); font-weight: 800; font-size: 17px; }
.ats-say small { display: block; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; margin-bottom: 2px; }
.ats-say::before { content: ""; position: absolute; left: 28px; top: -9px; width: 14px; height: 14px; background: #fff; border-left: 1.5px solid var(--brand); border-top: 1.5px solid var(--brand); transform: rotate(45deg); }
.ats-tags { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ats-tags a { display: inline-block; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--brand); color: var(--brand); font-size: 14px; font-weight: 700; text-decoration: none; background: #fff; }
.ats-tags a:hover { background: var(--brand); color: #fff; }
.ats-figure { position: relative; display: block; padding: 14px; border-radius: 20px; background: linear-gradient(135deg, #1a5fe0, #6cb8ff); box-shadow: 0 18px 44px rgba(20,80,220,.28); }
.ats-figure img { border: 0 !important; border-radius: 12px !important; }
.ats-badge { position: absolute; top: -12px; right: 18px; z-index: 1; padding: 5px 14px; border-radius: 999px; background: #fff; color: #d92d3a; border: 1.5px solid #d92d3a; font-size: 13px; font-weight: 800; box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.ats-teaser-inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; }
.ats-teaser img, .model img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); display: block; }
.badge { display: inline-block; margin-left: 10px; padding: 2px 12px; border: 1px solid #d92d3a; color: #d92d3a; border-radius: 6px; font-size: 13px; font-weight: 700; vertical-align: middle; }
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; padding: 0; margin: 0 0 24px; }
.steps-6 { grid-template-columns: repeat(6, 1fr); }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 14px; font-size: 14px; position: relative; }
.steps li::before { content: counter(step); display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 8px; }
.steps li b { display: block; font-size: 15px; margin-bottom: 4px; }
.steps li span { color: var(--muted); font-size: 13px; line-height: 1.6; display: block; }
.notes { color: var(--muted); padding-left: 1.2em; }
.model { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: start; padding: 40px 0; border-bottom: 1px solid var(--line); }
.model:last-child { border-bottom: 0; }
.model h3 { margin: 0 0 8px; font-size: 20px; }
.model h3 span { display: inline-block; background: var(--brand); color: #fff; padding: 2px 12px; border-radius: 6px; margin-right: 8px; font-size: 16px; }
.model p { color: var(--muted); margin: 0; }
.fine { font-size: 13px; color: var(--muted); margin-top: 16px; }
.price { font-size: 26px; font-weight: 800; color: var(--brand); margin: 6px 0 10px !important; }
.price small { font-size: 13px; font-weight: 600; color: var(--muted); }
@media (max-width: 820px) {
  .ats-teaser-inner, .model { grid-template-columns: 1fr; gap: 20px; }
  .steps, .steps-6 { grid-template-columns: 1fr 1fr; }
}

#form-status { margin: 16px 0 0; font-weight: 700; }
#form-status.ok { color: #14663a; }
#form-status.ng { color: #b3261e; }

/* business (strengths + services) */
.biz { background: #fff; }
.biz-card { background: #fff; border: 1px solid #d5e5fb; border-top: 4px solid var(--brand); border-radius: 14px; padding: 28px 24px 26px; box-shadow: 0 10px 28px rgba(20,80,220,.08); }
.biz-icon { display: inline-flex; width: 56px; height: 56px; border-radius: 50%; align-items: center; justify-content: center; background: linear-gradient(135deg, #1a5fe0, #4aa3ff); box-shadow: 0 6px 16px rgba(26,95,224,.32); margin-bottom: 16px; }
.biz-card h3 { margin: 0 0 8px; font-size: 19px; }
.biz-card p { margin: 0 0 14px; color: var(--muted); font-size: 15px; }
.biz-card ul { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px dashed #c9dcf7; display: grid; gap: 6px; font-size: 14px; }
.biz-card li { position: relative; padding-left: 20px; }
.biz-card li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* ATS teaser: large figure */
.ats-head { margin-bottom: 26px; }
.ats-head .sec-title { margin-bottom: 8px; }
.ats-head .ats-lead { margin: 0; }
.ats-figure { padding: 16px; }
.ats-foot { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; }
.ats-foot .ats-tags { margin: 0; }

/* ATS wordmark */
.ats-title { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "cap cap" "mark note" "en note"; column-gap: 24px; row-gap: 0; align-items: end; justify-items: start; margin: 0 0 14px; line-height: 1; }
.ats-cap { grid-area: cap; margin-bottom: 6px; }
.ats-note { grid-area: note; align-self: center; max-width: 26em; padding-left: 4px; font-size: clamp(15px, 1.9vw, 19px); font-weight: 700; line-height: 1.7; color: var(--brand-dark); }
.ats-mark { grid-area: mark; position: relative; display: inline-block; padding: 0 .06em .16em 0; font-family: "Helvetica Neue", Arial, "Segoe UI", sans-serif; font-weight: 900; font-size: clamp(76px, 14vw, 140px); line-height: .9; letter-spacing: .04em; color: #1f5fe0; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .ats-mark { background: linear-gradient(100deg, #0a2fa8 0%, #1f6be8 48%, #3fc3ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
}
.ats-mark::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 7px; border-radius: 4px; background: linear-gradient(90deg, #0a2fa8, #3fc3ff 70%, #fff 100%); box-shadow: 0 0 18px 3px rgba(63,195,255,.65); }
.ats-cap { font-size: clamp(15px, 2.2vw, 22px); font-weight: 800; letter-spacing: .14em; color: var(--ink); }
.ats-series { grid-area: series; margin-top: 12px; align-self: flex-start; padding: 3px 16px; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 800; font-size: 14px; letter-spacing: .3em; padding-left: calc(16px + .3em); }
@media (max-width: 600px) {
  .ats-title { grid-template-columns: 1fr; grid-template-areas: "cap" "mark" "en" "note"; }
  .ats-note { padding: 12px 0 0; }
}
.ats-head .eyebrow { margin-bottom: 10px; }

.ats-tags .ats-tags-head { padding: 6px 16px 6px calc(16px + .2em); border-radius: 999px; background: var(--brand); color: #fff; font-size: 14px; font-weight: 800; letter-spacing: .2em; }
.ats-en { grid-area: en; margin-top: 12px; font-family: "Helvetica Neue", Arial, "Segoe UI", sans-serif; font-size: clamp(15px, 2.1vw, 22px); font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--brand-dark); }
.page-head .en-line { margin: 8px 0 0; font-family: "Helvetica Neue", Arial, "Segoe UI", sans-serif; font-weight: 700; letter-spacing: .24em; font-size: 15px; text-transform: uppercase; opacity: .92; }

/* 実績 */
.results { background: linear-gradient(180deg, #eaf4ff 0%, #f6faff 100%); }
.results-grid { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.result { background: #fff; border: 1px solid #d5e5fb; border-top: 4px solid var(--brand); border-radius: 14px; padding: 30px 22px 28px; text-align: center; box-shadow: 0 10px 28px rgba(20,80,220,.08); }
.result h3 { margin: 0 0 10px; font-size: clamp(17px, 1.75vw, 21px); font-weight: 900; white-space: nowrap; background: linear-gradient(135deg, #1a5fe0, #23a6c9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.result p { margin: 0; color: var(--muted); font-size: 14px; }
@media (max-width: 760px) { .results-grid { grid-template-columns: 1fr; } .result h3 { font-size: 20px; } }

/* お知らせ(見た目の整え) */
.news { border-top: 0; display: grid; gap: 12px; margin-top: 20px; }
.news li { align-items: center; gap: 18px; padding: 16px 20px; background: #fff; border: 1px solid #d5e5fb; border-left: 4px solid var(--brand); border-radius: 12px; box-shadow: 0 6px 18px rgba(20,80,220,.06); }
.news time { color: var(--brand); background: #eaf2ff; font-weight: 700; font-size: 14px; padding: 4px 12px; border-radius: 999px; }
.news li a { color: var(--ink); text-decoration: none; font-weight: 600; }
.news li a::after { content: " →"; color: var(--brand); }
.news li a:hover { color: var(--brand); }
@media (max-width: 820px) { .news li { flex-direction: column; align-items: flex-start; gap: 8px; } }

/* 最後の呼びかけ */
.band { background: linear-gradient(135deg, #1a5fe0 0%, #2f86f0 55%, #23a6c9 100%); }
.band-contact { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin: 0 0 26px; }
.band-item { display: flex; flex-direction: column; align-items: center; min-width: 280px; padding: 16px 28px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.5); border-radius: 14px; color: #fff; text-decoration: none; }
.band-item small { font-size: 13px; font-weight: 700; letter-spacing: .12em; opacity: .9; }
.band-item strong { font-size: 24px; font-weight: 800; letter-spacing: .03em; }
.band-item:hover { background: rgba(255,255,255,.24); }
@media (max-width: 600px) { .band-item { min-width: 0; width: 100%; } .band-item strong { font-size: 20px; } }
.band h2 { font-size: clamp(20px, 5.2vw, 26px); }

/* ヒーローの説明文: パソコンでは、2行(1行目は「…システムまで。」で改行) */
@media (min-width: 821px) { .hero p { max-width: 980px; } .hero p .lead1 { white-space: nowrap; } }
@media (max-width: 820px) { .br-pc { display: none; } }

/* ヒーローの文字は、中央寄せ */
.hero-copy { margin: 0 auto; text-align: center; }
.hero p { margin-left: auto; margin-right: auto; }

/* 回転する地球(canvas)。球の直径は --d、キャンバスは球の1.6倍 */
.hero { --d: 378px; --cy: 362px; }
.hero-globe { position: absolute; left: 50%; top: calc(var(--cy) - var(--d) * .8); width: calc(var(--d) * 1.6); height: calc(var(--d) * 1.6); transform: translateX(-50%); pointer-events: none; z-index: -1; }
@media (max-width: 820px) { .hero { --d: 350px; --cy: 320px; } }

/* ヒーローの太陽(左上、文字にかからない位置)。光の筋ではなく、やわらかい光のにじみ */
.hero::before { content: ""; position: absolute; left: -200px; top: -200px; width: 640px; height: 640px; z-index: -1; pointer-events: none; background: radial-gradient(circle, #fff 0 5%, rgba(255,255,255,.98) 8%, rgba(255,249,222,.8) 15%, rgba(255,244,205,.42) 27%, rgba(255,255,255,.17) 46%, rgba(255,255,255,0) 70%); animation: sunpulse 6s ease-in-out infinite; }
.hero::after { content: ""; position: absolute; left: -270px; top: -270px; width: 780px; height: 780px; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 400px 7px at 50% 50%, rgba(255,255,255,.6), rgba(255,255,255,0) 100%), radial-gradient(ellipse 7px 210px at 50% 50%, rgba(255,255,255,.3), rgba(255,255,255,0) 100%); }
@keyframes sunpulse { 0%, 100% { opacity: .92; transform: scale(1); } 50% { opacity: 1; transform: scale(1.05); } }
@media (max-width: 820px) { .hero::before { left: -230px; top: -230px; width: 520px; height: 520px; } .hero::after { left: -300px; top: -300px; width: 640px; height: 640px; } }
@media (prefers-reduced-motion: reduce) { .hero::before { animation: none; } }

/* 製品情報: 4つのタイプは、図を大きく(横いっぱい)見せる */
.model img { border: 4px solid #d5e5fb; box-shadow: 0 14px 34px rgba(20,80,220,.14); }
.model h3 { font-size: 22px; }
.model p { font-size: 16px; max-width: 900px; }

/* 内側ページの見出し帯(白+左の青い縦線)。パンくず・英語の行の色 */
.page-head .crumb, .page-head .crumb a { color: #0b1f6b; }
.page-head .en-line { color: #1f6be8; opacity: 1; }

/* 製品情報: 導入効果のカード(アイコン付き)・導入の流れ(青い上線+矢印) */
.card.effect { border-top: 4px solid var(--brand); box-shadow: 0 10px 28px rgba(20,80,220,.07); padding-top: 26px; }
.card.effect .biz-icon { margin-bottom: 14px; }
.steps-6 li { border-top: 4px solid var(--brand); box-shadow: 0 8px 22px rgba(20,80,220,.07); }
.steps-6 li:not(:last-child)::after { content: ""; position: absolute; right: -12px; top: 30px; width: 10px; height: 10px; border-top: 3px solid #7fb3ff; border-right: 3px solid #7fb3ff; transform: rotate(45deg); }
@media (max-width: 820px) { .steps-6 li::after { display: none; } }
.sec-title + .grid { margin-top: 24px; }

/* 業務案内: 業務ごとのカード(アイコン付き)と、番号つきの流れ */
.service { background: #fff; border: 1px solid #d5e5fb; border-top: 4px solid var(--brand); border-radius: 14px; padding: 34px 32px; margin: 0 0 28px; box-shadow: 0 10px 28px rgba(20,80,220,.07); align-items: start; }
.service:last-of-type { border-bottom: 1px solid #d5e5fb; margin-bottom: 0; }
.service .biz-icon { margin-bottom: 12px; }
.flow { list-style: none; margin: 0; counter-reset: fl; display: grid; grid-template-columns: 1fr; gap: 0; padding: 22px 24px; background: linear-gradient(180deg, #f1f7ff, #eaf3ff); border: 1px solid #d5e5fb; }
.flow li { counter-increment: fl; position: relative; padding: 12px 14px 12px 50px; font-weight: 700; font-size: 15px; background: #fff; border: 1px solid #d5e5fb; border-radius: 10px; margin-bottom: 22px; }
.flow li:last-child { margin-bottom: 0; }
.flow li::before { content: counter(fl); position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.flow li:not(:last-child)::after { content: ""; position: absolute; left: 21px; bottom: -18px; width: 8px; height: 8px; border-right: 3px solid #7fb3ff; border-bottom: 3px solid #7fb3ff; transform: rotate(45deg); }
@media (max-width: 820px) { .service { padding: 26px 20px; } }

/* 会社概要: 表をカード風に */
table.info { margin-top: 22px; border: 1px solid #d5e5fb; border-top: 4px solid var(--brand); border-radius: 14px; overflow: hidden; box-shadow: 0 10px 28px rgba(20,80,220,.07); border-collapse: separate; border-spacing: 0; background: #fff; }
table.info th { background: #f1f7ff; color: var(--brand-dark); }
.map { border: 4px solid #d5e5fb; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 28px rgba(20,80,220,.07); }

/* お問い合わせ: 左に電話・メール、右にフォーム(カード) */
.contact-grid { display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: start; }
.contact-side .band-item { display: flex; margin: 0 0 14px; min-width: 0; width: 100%; background: linear-gradient(135deg, #1a5fe0, #2f86f0); border: 0; color: #fff; box-shadow: 0 10px 24px rgba(26,95,224,.25); }
.contact-side .band-item strong { font-size: 21px; word-break: break-all; }
.side-note { color: var(--muted); font-size: 14px; margin: 18px 0 0; }
.form-card { background: #fff; border: 1px solid #d5e5fb; border-top: 4px solid var(--brand); border-radius: 14px; padding: 32px 30px; box-shadow: 0 10px 28px rgba(20,80,220,.07); }
.form-card .form { max-width: none; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; gap: 24px; } .form-card { padding: 24px 18px; } }

/* 個人情報保護方針: 白いカードにして、見出しに青い縦線 */
.wrap.prose { max-width: var(--maxw); background: #fff; border: 1px solid #d5e5fb; border-top: 4px solid var(--brand); border-radius: 14px; padding: 34px 40px 40px; box-shadow: 0 10px 28px rgba(20,80,220,.07); }
.prose h2 { border-left: 5px solid var(--brand); padding-left: 12px; margin-top: 34px; }
.prose h2:first-of-type { margin-top: 28px; }
.prose p, .prose li { max-width: 820px; }
@media (max-width: 820px) { .wrap.prose { padding: 24px 18px 28px; } }

/* 会社概要: 略図 */
.areamap { margin: 22px 0 0; border: 4px solid #d5e5fb; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 28px rgba(20,80,220,.07); background: #fff; }
.areamap svg { display: block; width: 100%; height: auto; }
.areamap figcaption { padding: 8px 14px; font-size: 13px; color: var(--muted); background: #fff; }
.areamap + .map { margin-top: 20px; }

.areamap + .more { margin: 18px 0 0; }

.contact-single { grid-template-columns: 1fr; max-width: 820px; }


/* 紹介動画 */
.movie { max-width: 880px; margin: 28px auto 0; }
.movie video { display: block; width: 100%; height: auto; border-radius: 14px; border: 4px solid #d5e5fb; background: #0b1f6b; box-shadow: 0 10px 28px rgba(20,60,160,.18); }
.movie-note { margin: 10px 4px 0; font-size: 13px; color: var(--muted, #55658a); text-align: center; }
.movie-top { margin: 28px auto; }
