/*
Theme Name: H.S BRIDGE
Description: 株式会社H.S BRIDGE オフィシャルサイト用テーマ（グループ会社 HUMENA のデザインに合わせたダークネイビー基調 / 1ページ構成）
Version: 3.8.0
Text Domain: hs-bridge
*/

:root {
  --bg: #001422;          /* HUMENA 背景 */
  --bg-panel: #0f2b3f;    /* HUMENA パネル */
  --bg-panel-2: #0a2133;
  --blue: #1396f0;        /* HUMENA アクセント */
  --blue-hover: #3aa9f5;
  --text: #dedede;        /* HUMENA 本文色 */
  --white: #ffffff;
  --muted: #9fb0bf;
  --line: rgba(255,255,255,.1);
  --radius: 16px;
  --max: 1200px;
  --font: "Nunito", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-head: "Urbanist", "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.9;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); color: var(--white); line-height: 1.35; margin: 0; }
p { margin: 0 0 1em; }

.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0,20,34,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 80px;
}
.logo {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-weight: 400; font-size: 22px;
  letter-spacing: .18em; color: var(--white);
}
.logo-mark {
  font-family: var(--font-head); font-weight: 200; font-size: 34px; line-height: 1;
  color: var(--white); border-right: 1px solid rgba(255,255,255,.35); padding-right: 12px;
}
.logo span.accent { color: var(--blue); }
.logo-img { display: block; line-height: 0; }
.logo-img img { height: 34px; width: auto; display: block; }
.footer-name { color: var(--white); font-size: 14px; }
@media (max-width: 800px) {
  .logo-img img { height: 24px; }
}
.logo:hover { color: var(--white); }
.gnav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; align-items: center; }
.gnav a { white-space: nowrap; color: var(--white); font-size: 13.5px; font-weight: 600; transition: color .2s; }
.gnav a:hover { color: var(--blue); }
.gnav .nav-cta a {
  background: var(--blue); color: var(--white);
  padding: 10px 26px; border-radius: 500px;
}
.gnav .nav-cta a:hover { background: var(--blue-hover); color: var(--white); }
.nav-toggle {
  display: none; background: none; cursor: pointer;
  border: 1px solid rgba(255,255,255,.6); border-radius: 8px; padding: 8px 9px;
}
.nav-toggle span { display: block; width: 20px; height: 1.5px; background: var(--white); margin: 4px 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 70% at 85% 30%, rgba(19,150,240,.28), transparent 70%),
    linear-gradient(180deg, #02192b 0%, var(--bg) 100%);
  color: var(--white);
  padding: 150px 0 160px;
}
.hero::after {
  /* 橋（BRIDGE）をモチーフにしたアーチ */
  content: ""; position: absolute; right: -160px; bottom: -420px;
  width: 980px; height: 640px; border-radius: 50%;
  border: 1px solid rgba(19,150,240,.35);
  box-shadow: 0 0 0 70px rgba(19,150,240,.05), 0 0 0 160px rgba(19,150,240,.03);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0 0 26px; padding: 0; list-style: none; }
.hero-tags li {
  font-family: var(--font-head); font-weight: 600; font-size: 16px; color: var(--white);
  display: flex; align-items: center; gap: 8px;
}
.hero-tags li::before {
  content: "✓"; display: inline-grid; place-items: center;
  width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--blue);
  color: var(--blue); font-size: 11px;
}
.hero-en {
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  font-size: clamp(40px, 6.4vw, 80px); letter-spacing: -.03em; line-height: 1.02;
  color: var(--white); margin: 0;
}
.hero h1 {
  font-family: var(--font); font-size: clamp(20px, 2.4vw, 28px); font-weight: 700;
  letter-spacing: .06em; margin-top: 22px; color: var(--white);
}
.hero-lead { margin: 22px 0 44px; max-width: 580px; color: var(--text); }
.btn {
  display: inline-block; padding: 15px 38px; border-radius: 500px;
  font-family: var(--font-head); font-weight: 600; font-size: 17px; transition: .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-hover); color: var(--white); }
.btn-ghost { border: 1px solid rgba(255,255,255,.5); color: var(--white); margin-left: 12px; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
.section-soft { background: var(--bg-panel-2); }
.section-head { margin-bottom: 60px; }
.section-head.center { text-align: center; }
.section-head .en {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: 14px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px;
}
.section-head .en::before { content: ""; width: 28px; height: 1.5px; background: var(--blue); }
.section-head h2 {
  font-size: clamp(28px, 3.6vw, 42px); font-weight: 700;
  letter-spacing: -.01em;
}

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: center; }
.about-catch {
  font-family: var(--font-head); font-size: clamp(26px, 3vw, 36px);
  color: var(--white); font-weight: 700; line-height: 1.5; margin: 0;
}
.about-catch em { font-style: normal; color: var(--blue); }
.about-left { display: flex; flex-direction: column; gap: 8px; }
.about-visual { width: 100%; max-width: 480px; }
.sc-cable { stroke: rgba(143,211,255,.55); stroke-width: 1.5; }
.about-text p { color: var(--text); }
.about-coexist { margin-top: 1.4em; padding: 18px 22px; border-left: 3px solid var(--gold); background: rgba(245,200,76,.06); border-radius: 0 10px 10px 0; color: var(--white) !important; }
.about-coexist strong { color: var(--gold); }

/* Services */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--bg-panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px 34px; transition: .25s;
}
.card:hover { border-color: rgba(19,150,240,.6); transform: translateY(-4px); }
.card-icon {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid var(--blue); color: var(--blue);
  font-family: var(--font-head); font-weight: 700; font-size: 18px;
}
.card h3 { font-size: 22px; font-weight: 600; margin: 24px 0 14px; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }
.card ul { margin: 22px 0 0; padding: 22px 0 0; list-style: none; font-size: 14px; border-top: 1px solid var(--line); }
.card li { padding-left: 26px; position: relative; margin-bottom: 8px; color: var(--text); }
.card li::before {
  content: "✓"; position: absolute; left: 0; top: .35em;
  width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--blue);
  color: var(--blue); font-size: 9px; display: grid; place-items: center; line-height: 1;
}

.card-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; align-items: center;
  background: radial-gradient(ellipse 50% 120% at 0% 0%, rgba(19,150,240,.2), transparent 70%), var(--bg-panel); }
.card-wide-head h3 { font-size: 26px; margin: 14px 0 0; }
.card-tag { display: inline-block; margin-left: 14px; vertical-align: middle; font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); border: 1px solid rgba(19,150,240,.5); border-radius: 500px; padding: 2px 12px; }
.card-wide-head .card-icon { display: inline-grid; vertical-align: middle; }
.card-wide ul { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; }
@media (max-width: 960px) {
  .card-wide { grid-template-columns: 1fr; gap: 18px; }
  .card-wide ul { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .card-wide-head h3 { font-size: 21px; }
}

/* Strengths */
.strengths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.strength {
  padding: 44px 34px; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--bg-panel) 0%, var(--bg) 100%);
  border: 1px solid var(--line);
}
.strength .big {
  font-family: var(--font-head); font-size: 64px; font-weight: 700; line-height: 1;
  letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px var(--blue);
}
.strength h3 { font-size: 21px; font-weight: 600; margin: 22px 0 12px; }
.strength p { font-size: 15px; color: var(--muted); margin: 0; }

/* Flow */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.flow li {
  background: var(--bg-panel); border-radius: var(--radius); padding: 34px 26px;
  border: 1px solid var(--line); position: relative;
}
.flow li::before {
  counter-increment: step; content: "STEP " counter(step, decimal-leading-zero);
  display: inline-block; font-family: var(--font-head); font-size: 12px; letter-spacing: .12em;
  color: var(--white); font-weight: 700; background: var(--blue);
  padding: 3px 14px; border-radius: 500px;
}
.flow h3 { font-size: 19px; font-weight: 600; margin: 18px 0 10px; }
.flow p { font-size: 14px; color: var(--muted); margin: 0; }

/* Company */
.company-wrap { background: var(--bg-panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 48px; max-width: 900px; margin: 0 auto; }
.company-table { width: 100%; border-collapse: collapse; }
.company-table th, .company-table td { padding: 24px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.company-table tr:last-child th, .company-table tr:last-child td { border-bottom: 0; }
.company-table th { width: 26%; color: var(--blue); font-weight: 700; font-size: 15px; }
.company-table td { color: var(--white); }

/* Contact */
.contact {
  text-align: center;
  background:
    radial-gradient(ellipse 50% 80% at 50% 0%, rgba(19,150,240,.22), transparent 70%),
    var(--bg);
  border-top: 1px solid var(--line);
}
.contact .section-head .en::after { content: ""; width: 28px; height: 1.5px; background: var(--blue); }
.contact-lead { color: var(--text); margin-bottom: 44px; }
.contact-boxes { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.contact-box {
  background: var(--bg-panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 44px; min-width: 320px;
}
.contact-box .label { font-size: 13px; color: var(--muted); }
.contact-box .value { font-family: var(--font-head); font-size: 26px; font-weight: 700; color: var(--white); display: block; margin: 6px 0; }
.contact-box .value:hover { color: var(--blue); }
.contact-box small { color: var(--muted); }
.contact-form { max-width: 720px; margin: 48px auto 0; text-align: left; background: var(--bg-panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; }
/* Contact Form 7 等の外部フォームを使う場合 */
.wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]), .wpcf7 textarea, .wpcf7 select {
  width: 100%; background: var(--bg); color: var(--white); border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px; padding: 12px 14px; font: inherit;
}
.wpcf7 input[type="submit"] { background: var(--blue); color: #fff; border: 0; border-radius: 500px; padding: 14px 40px; font-weight: 700; cursor: pointer; }

/* Footer */
.site-footer { background: #000d17; color: var(--muted); padding: 44px 0; font-size: 13px; border-top: 1px solid var(--line); }
.site-footer .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.site-footer .logo { font-size: 18px; }
.site-footer .logo-mark { font-size: 28px; }
.group-link { color: var(--muted); }
.group-link:hover { color: var(--blue); }

/* Section sub text */
.section-sub { color: var(--muted); margin: 18px 0 0; max-width: 680px; }
.section-head.center .section-sub { margin-inline: auto; }
.sp-only { display: none; }

/* About stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; margin: 80px 0 0; padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats li { padding: 30px 20px; text-align: center; }
.stats li + li { border-left: 1px solid var(--line); }
.stat-en { display: block; font-family: var(--font-head); font-size: clamp(20px, 2.2vw, 28px); font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: -.01em; }
.stat-ja { display: block; font-size: 13px; color: var(--blue); margin-top: 4px; font-weight: 700; }

/* Professional roles */
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; margin: 0 0 72px; padding: 0; }
.roles li { background: var(--bg-panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px; text-align: center; transition: .25s; }
.roles li:hover { border-color: rgba(19,150,240,.6); }
.role-en { display: inline-block; font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); border: 1px solid rgba(19,150,240,.5); border-radius: 500px; padding: 2px 12px; }
.roles h3 { font-size: 17px; font-weight: 700; margin: 16px 0 10px; line-height: 1.5; }
.roles p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.8; }

/* Footer extras */
.footer-address { margin: 0; font-size: 13px; line-height: 1.8; }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }

/* ---------- Contact form ---------- */
.contact-layout { text-align: left; max-width: 780px; margin: 0 auto; }
.contact-side { display: flex; flex-direction: column; gap: 16px; }
.contact-side .contact-box { min-width: 0; padding: 26px 28px; }
.contact-side .contact-box .value { font-size: 24px; }
.contact-note { font-size: 14px; color: var(--muted); margin: 4px 0 0; }
.contact-layout .contact-form { max-width: none; margin: 0; padding: 36px 40px; }
.hs-form { display: flex; flex-direction: column; gap: 18px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-label { font-size: 14px; font-weight: 700; color: var(--white); display: flex; align-items: center; gap: 8px; }
.form-label em { font-style: normal; font-size: 11px; color: #fff; background: var(--blue); border-radius: 500px; padding: 1px 10px; }
.hs-form input[type="text"], .hs-form input[type="email"], .hs-form input[type="tel"], .hs-form select, .hs-form textarea {
  width: 100%; background: var(--bg); color: var(--white); border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px; padding: 13px 14px; font: inherit; font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
.hs-form input::placeholder, .hs-form textarea::placeholder { color: rgba(159,176,191,.55); }
.hs-form input:focus, .hs-form select:focus, .hs-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(19,150,240,.25); }
.hs-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--blue) 50%), linear-gradient(135deg, var(--blue) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.hs-form textarea { resize: vertical; min-height: 150px; line-height: 1.7; }
.form-agree { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text); cursor: pointer; }
.form-agree input { width: 18px; height: 18px; accent-color: var(--blue); }
.form-agree a { color: #6cc4ff; text-decoration: underline; }
.form-submit { border: 0; cursor: pointer; align-self: center; min-width: 240px; margin-top: 6px; }
.hs-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-notice { border-radius: 10px; padding: 14px 18px; margin-bottom: 20px; font-size: 14px; line-height: 1.7; }
.form-notice.is-success { background: rgba(19,150,240,.14); border: 1px solid rgba(19,150,240,.6); color: var(--white); }
.form-notice.is-error { background: rgba(240,80,80,.12); border: 1px solid rgba(240,90,90,.6); color: #ffd6d6; }
.contact-form { position: relative; }

/* ---------- Blog ---------- */
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section-head-row .btn { margin: 0; padding: 12px 28px; font-size: 15px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { background: var(--bg-panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .25s; }
.post-card:hover { border-color: rgba(19,150,240,.6); transform: translateY(-4px); }
.post-thumb { display: block; aspect-ratio: 1200 / 630; overflow: hidden; background: var(--bg-panel-2); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-thumb img { transform: scale(1.04); }
.post-thumb-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); letter-spacing: .18em; color: rgba(255,255,255,.75); font-size: 16px;
  background: radial-gradient(ellipse 70% 90% at 80% 20%, rgba(19,150,240,.35), transparent 70%), linear-gradient(160deg, #0f2b3f, #001422);
}
.post-thumb-placeholder .logo-mark { font-size: 26px; }
.post-body { padding: 24px 26px 28px; }
.post-meta { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-size: 13px; color: var(--muted); }
.post-cat { font-family: var(--font); font-size: 12px; font-weight: 700; color: var(--blue); border: 1px solid rgba(19,150,240,.5); border-radius: 500px; padding: 1px 12px; }
a.post-cat:hover { background: rgba(19,150,240,.12); }
.post-title { font-family: var(--font); font-size: 17px; font-weight: 700; line-height: 1.6; margin: 12px 0 10px; }
.post-title a { color: var(--white); }
.post-title a:hover { color: var(--blue); }
.post-excerpt { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.8; }

.page-hero {
  padding: 96px 0 72px;
  background: radial-gradient(ellipse 50% 90% at 85% 0%, rgba(19,150,240,.25), transparent 70%), linear-gradient(180deg, #02192b, var(--bg));
  border-bottom: 1px solid var(--line);
}
.page-hero .en { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.page-hero .en::before { content: ""; width: 28px; height: 1.5px; background: var(--blue); }
.page-hero h1 { font-size: clamp(30px, 4vw, 46px); }
.page-hero p { color: var(--muted); margin: 14px 0 0; }
.page-hero-post h1 { font-family: var(--font); font-size: clamp(24px, 3vw, 34px); line-height: 1.55; margin-top: 16px; }
.section-blog { padding-top: 64px; }
.container.narrow { width: min(100% - 40px, 820px); }

.cat-filter { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 40px; }
.cat-filter a { display: block; padding: 6px 18px; border-radius: 500px; border: 1px solid var(--line); color: var(--text); font-size: 14px; }
.cat-filter a:hover, .cat-filter a.is-current { background: var(--blue); border-color: var(--blue); color: #fff; }
.no-posts { color: var(--muted); text-align: center; padding: 40px 0; }

.pagination { margin-top: 56px; }
.pagination .nav-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0 10px; border-radius: 500px; border: 1px solid var(--line); color: var(--text); font-family: var(--font-head); font-weight: 600; }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }

/* Single */
.single-body { padding: 56px 0 110px; }
.single-thumb { margin: 0 0 48px; border-radius: var(--radius); overflow: hidden; }
.entry-content { font-size: 16.5px; line-height: 2; color: var(--text); }
.entry-content > * + * { margin-top: 1.4em; }
.entry-content p { margin: 0; }
.entry-content h2 { font-family: var(--font); font-size: 24px; margin-top: 2.6em; padding: 14px 20px; background: var(--bg-panel); border-left: 4px solid var(--blue); border-radius: 0 10px 10px 0; }
.entry-content h3 { font-family: var(--font); font-size: 20px; margin-top: 2.2em; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.entry-content h4 { font-size: 17px; margin-top: 2em; color: var(--white); }
.entry-content a { color: #6cc4ff; text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li + li { margin-top: .4em; }
.entry-content li::marker { color: var(--blue); }
.entry-content img { border-radius: 12px; }
.entry-content figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 8px; }
.entry-content blockquote { margin-left: 0; margin-right: 0; padding: 20px 24px; background: var(--bg-panel); border-radius: 12px; border: 1px solid var(--line); color: var(--muted); }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.entry-content th { background: var(--bg-panel); color: var(--white); }
.entry-content code { background: var(--bg-panel); padding: 2px 6px; border-radius: 4px; font-size: .9em; }
.entry-content pre { background: #000d17; padding: 20px; border-radius: 12px; overflow-x: auto; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; margin: 64px 0 0; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 14px; }
.post-nav a { color: var(--text); }
.post-nav a:hover { color: var(--blue); }
.post-nav-next { text-align: right; margin-left: auto; }
.single-cta { margin-top: 64px; padding: 44px 40px; text-align: center; border-radius: var(--radius); border: 1px solid rgba(19,150,240,.4); background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(19,150,240,.22), transparent 70%), var(--bg-panel); }
.single-cta-title { font-family: var(--font); font-size: 22px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.single-cta p { color: var(--muted); }
.single-cta .btn { margin-top: 12px; }

/* ---------- Global section ---------- */
.global-section {
  position: relative; overflow: hidden; padding-bottom: 72px;
  background:
    radial-gradient(ellipse 45% 60% at 75% 45%, rgba(19,150,240,.22), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, #011a2d 50%, var(--bg) 100%);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.global-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.global-text .section-head { margin-bottom: 28px; }
.global-text > p { color: var(--text); }
.global-points { list-style: none; padding: 0; margin: 28px 0 36px; display: flex; flex-direction: column; gap: 12px; }
.global-points li { display: flex; align-items: center; gap: 16px; padding: 14px 18px; background: rgba(15,43,63,.7); border: 1px solid var(--line); border-radius: 12px; color: var(--white); font-weight: 600; font-size: 15px; }
.gp-en { flex: 0 0 92px; font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.global-visual { position: relative; width: 100%; max-width: 600px; aspect-ratio: 1; margin-inline: auto; }
.globe-canvas { width: 100%; height: 100%; display: block; }
.lang-marquee {
  margin-top: 64px; overflow: hidden; white-space: nowrap;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.lang-track { display: inline-flex; gap: 56px; padding-right: 56px; animation: lang-scroll 48s linear infinite; }
.lang-track span { font-family: var(--font-head); font-size: clamp(26px, 3.4vw, 44px); font-weight: 700; color: transparent; -webkit-text-stroke: 1px rgba(143,211,255,.45); letter-spacing: -.01em; }
.lang-track span:nth-child(3n+1) { color: rgba(19,150,240,.9); -webkit-text-stroke: 0; }
@keyframes lang-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .lang-track { animation: none; } }
@media (max-width: 960px) {
  .global-grid { grid-template-columns: 1fr; gap: 32px; }
  .global-visual { max-width: 460px; }
  .lang-marquee { margin-top: 24px; }
}

/* ---------- Hero visual（PC・スマホ・AIエージェント） ---------- */
.hero { padding: 110px 0 120px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero-en { font-size: clamp(38px, 4.8vw, 66px); }
.hero-visual { position: relative; width: 100%; aspect-ratio: 560 / 480; container-type: inline-size; }

.hv-links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 1; }
.hv-links path { fill: none; stroke: rgba(19,150,240,.55); stroke-width: 1.5; stroke-dasharray: 4 7; animation: hv-dash 1.2s linear infinite; }
.hv-packet { fill: #6cc4ff; filter: drop-shadow(0 0 4px #1396f0); }
@keyframes hv-dash { to { stroke-dashoffset: -22; } }

.hv-orb {
  position: absolute; left: 50%; top: 1%; width: 15cqw; aspect-ratio: 1; margin-left: -7.5cqw; z-index: 3;
  border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #8fd3ff 0%, #1396f0 45%, #0b4f8a 100%);
  box-shadow: 0 0 6cqw rgba(19,150,240,.65), inset 0 0 2cqw rgba(255,255,255,.35);
  animation: hv-float 4s ease-in-out infinite;
}
.hv-orb span { font-family: var(--font-head); font-weight: 700; font-size: 4.6cqw; color: #fff; letter-spacing: .02em; }
.hv-orb::before, .hv-orb::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(108,196,255,.7); animation: hv-ring 2.8s ease-out infinite;
}
.hv-orb::after { animation-delay: 1.4s; }
@keyframes hv-ring { from { transform: scale(1); opacity: .9; } to { transform: scale(2); opacity: 0; } }
@keyframes hv-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.4cqw); } }

/* Laptop */
.hv-laptop { position: absolute; left: 0; top: 27%; width: 74%; z-index: 2; }
.hv-screen {
  aspect-ratio: 16 / 10; background: #061826; border: .9cqw solid #1b3a52; border-bottom-width: 1.2cqw;
  border-radius: 2cqw 2cqw 0 0; padding: 2cqw; display: flex; flex-direction: column; gap: 1.6cqw;
  box-shadow: 0 3cqw 8cqw rgba(0,0,0,.55);
}
.hv-base { height: 2.2cqw; margin: 0 -4cqw; background: linear-gradient(#2c4d66, #132a3c); border-radius: 0 0 3cqw 3cqw; position: relative; }
.hv-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 12cqw; height: .9cqw; margin-left: -6cqw; background: #0e2232; border-radius: 0 0 1cqw 1cqw; }
.hv-topbar { display: flex; align-items: center; gap: .9cqw; font-family: var(--font-head); font-size: 1.8cqw; color: var(--muted); }
.hv-topbar i { width: 1.2cqw; height: 1.2cqw; border-radius: 50%; background: #2c4d66; }
.hv-topbar span { margin-left: .8cqw; font-weight: 600; }
.hv-live { margin-left: auto; font-style: normal; font-weight: 700; color: #fff; background: #1396f0; border-radius: 500px; padding: .1cqw 1.2cqw; font-size: 1.5cqw; animation: hv-blink 1.6s ease-in-out infinite; }
@keyframes hv-blink { 50% { opacity: .45; } }
.hv-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3cqw; }
.hv-kpis div { background: var(--bg-panel); border: 1px solid rgba(255,255,255,.06); border-radius: 1.2cqw; padding: 1.2cqw 1.4cqw; }
.hv-kpis small { display: block; font-size: 1.45cqw; color: var(--muted); line-height: 1.4; white-space: nowrap; }
.hv-kpis b { display: block; font-family: var(--font-head); font-size: 3.6cqw; color: #fff; line-height: 1.2; }
.hv-chart { flex: 1; position: relative; background: var(--bg-panel); border: 1px solid rgba(255,255,255,.06); border-radius: 1.2cqw; padding: 1.6cqw 1.8cqw 1.2cqw; }
.hv-bars { position: absolute; inset: 1.6cqw 1.8cqw 1.2cqw; display: flex; align-items: flex-end; gap: 1.3cqw; }
.hv-bars i { flex: 1; height: var(--h); border-radius: .6cqw .6cqw 0 0; background: linear-gradient(180deg, rgba(19,150,240,.85), rgba(19,150,240,.15)); transform-origin: bottom; animation: hv-bar 5s ease-in-out infinite; }
.hv-bars i:nth-child(2) { animation-delay: .1s; } .hv-bars i:nth-child(3) { animation-delay: .2s; }
.hv-bars i:nth-child(4) { animation-delay: .3s; } .hv-bars i:nth-child(5) { animation-delay: .4s; }
.hv-bars i:nth-child(6) { animation-delay: .5s; } .hv-bars i:nth-child(7) { animation-delay: .6s; }
.hv-bars i:nth-child(8) { animation-delay: .7s; } .hv-bars i:nth-child(9) { animation-delay: .8s; }
.hv-bars i:nth-child(10) { animation-delay: .9s; }
@keyframes hv-bar { 0% { transform: scaleY(.12); } 35%, 80% { transform: scaleY(1); } 100% { transform: scaleY(.12); } }
.hv-line { position: absolute; inset: 1.6cqw 1.8cqw 1.2cqw; width: calc(100% - 3.6cqw); height: calc(100% - 2.8cqw); overflow: visible; }
.hv-line path { fill: none; stroke: #8fd3ff; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 200; stroke-dashoffset: 200; animation: hv-draw 5s ease-in-out infinite; filter: drop-shadow(0 0 3px rgba(143,211,255,.8)); }
@keyframes hv-draw { 0% { stroke-dashoffset: 200; } 40%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 200; } }

/* Phone */
.hv-phone {
  position: absolute; right: 1%; top: 33%; width: 29%; aspect-ratio: 9 / 18.5; z-index: 4;
  background: #04121e; border: .9cqw solid #1b3a52; border-radius: 4.6cqw;
  padding: 4cqw 1.7cqw 1.7cqw; display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 3cqw 8cqw rgba(0,0,0,.6), 0 0 0 1px rgba(19,150,240,.25);
  animation: hv-float 5s ease-in-out infinite .8s;
}
.hv-notch { position: absolute; left: 50%; top: 1.1cqw; width: 8cqw; height: 1.6cqw; margin-left: -4cqw; background: #1b3a52; border-radius: 500px; }
.hv-chat-head { display: flex; align-items: center; gap: .9cqw; font-family: var(--font-head); font-weight: 700; font-size: 2cqw; color: #fff; padding-bottom: 1.2cqw; border-bottom: 1px solid rgba(255,255,255,.1); }
.hv-dot { width: 1.3cqw; height: 1.3cqw; border-radius: 50%; background: #1396f0; box-shadow: 0 0 1.4cqw #1396f0; animation: hv-blink 1.6s ease-in-out infinite; }
.hv-chat { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 1.1cqw; padding-top: 1.2cqw; overflow: hidden; }
.hv-msg { font-size: 1.75cqw; line-height: 1.55; padding: 1cqw 1.3cqw; border-radius: 1.6cqw; max-width: 90%; animation: hv-pop .35s ease-out both; }
.hv-msg.user { align-self: flex-end; background: #1396f0; color: #fff; border-bottom-right-radius: .4cqw; }
.hv-msg.ai { align-self: flex-start; background: var(--bg-panel); color: var(--text); border: 1px solid rgba(255,255,255,.08); border-bottom-left-radius: .4cqw; }
.hv-typing { display: inline-flex; gap: .7cqw; padding: .4cqw 0; }
.hv-typing i { width: 1cqw; height: 1cqw; border-radius: 50%; background: #8fd3ff; animation: hv-type 1s ease-in-out infinite; }
.hv-typing i:nth-child(2) { animation-delay: .15s; } .hv-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes hv-type { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-.6cqw); } }
@keyframes hv-pop { from { opacity: 0; transform: translateY(1.2cqw) scale(.96); } to { opacity: 1; transform: none; } }

/* Chips */
.hv-chip {
  position: absolute; z-index: 5; display: inline-flex; align-items: center; gap: 1cqw;
  font-size: 2cqw; font-weight: 700; color: #fff; white-space: nowrap;
  background: rgba(15,43,63,.88); border: 1px solid rgba(19,150,240,.55); border-radius: 500px;
  padding: 1cqw 2.2cqw; backdrop-filter: blur(4px); box-shadow: 0 1.5cqw 4cqw rgba(0,0,0,.4);
  animation: hv-float 5s ease-in-out infinite;
}
.hv-chip span { color: #6cc4ff; }
.hv-chip-1 { left: 0; top: 10%; }
.hv-chip-2 { left: 6%; bottom: 3%; animation-delay: 1.2s; }
.hv-chip-3 { right: 0; top: 14%; animation-delay: 2.1s; }

@media (prefers-reduced-motion: reduce) {
  .hero-visual *, .hero-visual *::before, .hero-visual *::after { animation: none !important; }
  .hv-line path { stroke-dashoffset: 0; }
  .hv-packet { display: none; }
}

/* ---------- Service cards → 詳細ページへのリンク ---------- */
a.card-link { display: flex; flex-direction: column; color: inherit; text-decoration: none; position: relative; }
a.card-link p { flex: 1; }
.card-more {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  margin-top: 24px; padding: 9px 20px; border-radius: 500px;
  border: 1px solid rgba(19,150,240,.6); color: #6cc4ff; font-size: 14px; font-weight: 700; transition: .25s;
}
.card-more i { font-style: normal; transition: transform .25s; }
a.card-link:hover .card-more { background: var(--blue); border-color: var(--blue); color: #fff; }
a.card-link:hover .card-more i { transform: translateX(4px); }
a.card-link:hover h3 { color: #6cc4ff; }
.card-wide .card-more { margin-top: 20px; }
.services-more { text-align: center; margin-top: 48px; }
a.card-link.card-wide { display: grid; }

/* ---------- Service page hero ---------- */
.svc-hero {
  position: relative; overflow: hidden; padding: 72px 0 96px;
  background: radial-gradient(ellipse 50% 80% at 80% 40%, rgba(19,150,240,.25), transparent 70%), linear-gradient(180deg, #02192b, var(--bg));
  border-bottom: 1px solid var(--line);
}
.svc-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { opacity: .5; }
.breadcrumb .bc-current { opacity: 1; }
.svc-en { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.svc-en::before { content: ""; width: 28px; height: 1.5px; background: var(--blue); }
.svc-hero h1 { font-family: var(--font); font-size: clamp(28px, 3.6vw, 44px); margin: 14px 0 10px; line-height: 1.4; }
.svc-catch { font-family: var(--font); font-size: clamp(18px, 2vw, 24px); font-weight: 700; color: #6cc4ff; margin-bottom: 18px; }
.svc-lead { color: var(--text); margin-bottom: 34px; }
.svc-hero-visual { position: relative; width: 100%; max-width: 560px; margin-inline: auto; }
.svc-scene { width: 100%; aspect-ratio: 6 / 5; }
.svc-scene svg { width: 100%; height: 100%; overflow: visible; display: block; }
.svc-hero-visual .globe-canvas { width: 100%; aspect-ratio: 1; height: auto; }

/* Scene parts（アニメーションは7秒周期で繰り返し） */
.sc-t { font-family: var(--font); font-size: 13px; fill: var(--text); }
.sc-tw { fill: #fff; }
.sc-tb { font-weight: 700; }
.sc-tm { font-family: var(--font-head); font-size: 12px; fill: var(--muted); letter-spacing: .08em; }
.sc-big { font-family: var(--font-head); font-size: 44px; font-weight: 700; fill: #8fd3ff; }
.sc-aa { font-family: var(--font-head); font-size: 56px; font-weight: 700; fill: #fff; }
.sc-logo { font-family: var(--font-head); font-size: 24px; font-weight: 700; fill: #fff; }
.sc-star { font-size: 20px; fill: #f5c84c; }
.sc-draw { fill: none; stroke: var(--blue); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; animation: sc-draw 7s ease-in-out infinite both; }
.sc-line { stroke: #8fd3ff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.sc-story { stroke-width: 3; stroke-linecap: round; animation-name: sc-draw-long; }
.sc-mark { stroke: #fff; stroke-width: 7; stroke-linecap: round; }
.sc-guide { stroke: #8fd3ff; stroke-width: 1; }
.sc-pop { transform-box: fill-box; transform-origin: center; animation: sc-pop 7s ease-out infinite both; }
.sc-grow { transform-box: fill-box; transform-origin: left center; animation: sc-grow 7s ease-out infinite both; }
.sc-rise { transform-box: fill-box; transform-origin: center bottom; animation: sc-rise 7s ease-out infinite both; }
.sc-dim { animation: sc-dim 7s ease-in-out infinite; }
.sc-glow rect, .sc-glow-rect { filter: drop-shadow(0 0 8px rgba(19,150,240,.9)); }
.sc-pulse { transform-box: fill-box; transform-origin: center; animation: sc-pulse 2.4s ease-in-out infinite; }
.sc-spin { animation: sc-spin 30s linear infinite; }
.sc-orbit { animation: sc-spin 40s linear infinite; }
.sc-counter { animation: sc-spin 40s linear infinite reverse; }
.sc-donut { stroke-dasharray: 1; stroke-dashoffset: 1; animation: sc-donut 7s ease-in-out infinite; }
.sc-flow { animation: hv-dash 1.2s linear infinite; }
.sc-blink { animation: hv-blink 1.6s ease-in-out infinite; }
.sc-float { animation: sc-float 3s ease-in-out infinite; }
.sc-ring { transform-box: fill-box; transform-origin: center; animation: sc-ring 2s ease-out infinite; }
.sc-coin { animation: sc-coin 4s linear infinite both; }
.sc-head { filter: drop-shadow(0 0 8px #1396f0); }
@keyframes sc-draw { 0% { stroke-dashoffset: 1; opacity: 1; } 20%, 86% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes sc-draw-long { 0% { stroke-dashoffset: 1; opacity: 1; } 70%, 90% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes sc-pop { 0% { opacity: 0; transform: scale(.6); } 8%, 86% { opacity: 1; transform: scale(1); } 96%, 100% { opacity: 0; transform: scale(1); } }
@keyframes sc-grow { 0% { transform: scaleX(0); } 20%, 86% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes sc-rise { 0% { transform: scaleY(0); } 18%, 86% { transform: scaleY(1); } 100% { transform: scaleY(0); } }
@keyframes sc-dim { 0%, 35% { opacity: 1; } 45%, 88% { opacity: .35; } 100% { opacity: 1; } }
@keyframes sc-pulse { 50% { transform: scale(1.07); filter: drop-shadow(0 0 14px #1396f0); } }
@keyframes sc-spin { to { transform: rotate(360deg); } }
@keyframes sc-donut { 0% { stroke-dashoffset: 1; } 30%, 86% { stroke-dashoffset: .28; } 100% { stroke-dashoffset: 1; } }
@keyframes sc-float { 50% { transform: translateY(-8px); } }
@keyframes sc-ring { from { transform: scale(1); opacity: 1; } to { transform: scale(4); opacity: 0; } }
@keyframes sc-coin { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-360px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .svc-scene *, .viewfinder * { animation: none !important; }
  .sc-draw, .sc-donut { stroke-dashoffset: 0; }
  .sc-coin { opacity: 0; }
}

/* ---------- Service page sections ---------- */
.problem-list { list-style: none; padding: 0; margin: 0 auto; max-width: 900px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.problem-list li { position: relative; padding: 20px 22px 20px 56px; background: var(--bg-panel); border: 1px solid var(--line); border-radius: 12px; color: var(--white); font-weight: 600; }
.problem-list li::before { content: "?"; position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(19,150,240,.18); color: #6cc4ff; font-family: var(--font-head); font-weight: 700; font-size: 14px; }
.problem-answer { text-align: center; margin: 44px 0 0; font-size: clamp(18px, 2vw, 22px); font-weight: 700; color: var(--white); }
.problem-answer strong { color: #6cc4ff; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.feature { background: var(--bg-panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 34px; }
.feature-num { font-family: var(--font-head); font-size: 40px; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px var(--blue); }
.feature h3 { font-family: var(--font); font-size: 20px; margin: 16px 0 10px; }
.feature p { color: var(--muted); margin: 0; font-size: 15px; }

.highlight { background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(19,150,240,.16), transparent 70%), var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.photo-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.photo-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.photo-list li { padding: 20px 24px; background: var(--bg-panel); border: 1px solid var(--line); border-left: 3px solid var(--blue); border-radius: 12px; }
.photo-list h3 { font-family: var(--font); font-size: 17px; margin: 0 0 4px; }
.photo-list p { margin: 0; color: var(--muted); font-size: 14px; }
.viewfinder {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  background:
    radial-gradient(circle at 30% 40%, rgba(255,214,170,.55), transparent 45%),
    radial-gradient(circle at 70% 65%, rgba(255,170,120,.35), transparent 50%),
    linear-gradient(135deg, #3b2a22, #1a2633 60%, #0d1a26);
  box-shadow: inset 0 0 80px rgba(0,0,0,.6);
}
.viewfinder::before, .viewfinder::after { content: ""; position: absolute; inset: 18px; pointer-events: none;
  background:
    linear-gradient(#fff,#fff) top left / 28px 2px no-repeat, linear-gradient(#fff,#fff) top left / 2px 28px no-repeat,
    linear-gradient(#fff,#fff) top right / 28px 2px no-repeat, linear-gradient(#fff,#fff) top right / 2px 28px no-repeat,
    linear-gradient(#fff,#fff) bottom left / 28px 2px no-repeat, linear-gradient(#fff,#fff) bottom left / 2px 28px no-repeat,
    linear-gradient(#fff,#fff) bottom right / 28px 2px no-repeat, linear-gradient(#fff,#fff) bottom right / 2px 28px no-repeat; opacity: .85; }
.viewfinder::after { inset: 0; background: linear-gradient(rgba(255,255,255,.12),rgba(255,255,255,.12)) 33.3% 0 / 1px 100% no-repeat, linear-gradient(rgba(255,255,255,.12),rgba(255,255,255,.12)) 66.6% 0 / 1px 100% no-repeat, linear-gradient(rgba(255,255,255,.12),rgba(255,255,255,.12)) 0 33.3% / 100% 1px no-repeat, linear-gradient(rgba(255,255,255,.12),rgba(255,255,255,.12)) 0 66.6% / 100% 1px no-repeat; }
.vf-rec { position: absolute; top: 30px; left: 36px; font-family: var(--font-head); font-weight: 700; font-size: 13px; color: #fff; display: flex; align-items: center; gap: 8px; }
.vf-rec::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #ff4d4d; animation: hv-blink 1.2s ease-in-out infinite; }
.vf-info { position: absolute; bottom: 30px; left: 34px; font-family: var(--font-head); font-size: 12px; color: rgba(255,255,255,.85); letter-spacing: .08em; }
.vf-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; z-index: 0; }
.vf-bar { position: absolute; left: 0; right: 0; height: 9%; background: #000; z-index: 1; }
.vf-bar-top { top: 0; } .vf-bar-bottom { bottom: 0; }
.viewfinder > span:not(.vf-bar) { z-index: 3; }
.viewfinder::before, .viewfinder::after { z-index: 2; }
.vf-focus { position: absolute; left: 50%; top: 59%; width: 30%; aspect-ratio: 1.25; transform: translate(-50%,-50%); border: 2px solid rgba(255,255,255,.85); border-radius: 6px; transition: border-color .2s; }
.has-video .vf-focus { animation: vf-focus 6s ease-in-out infinite; }
.vf-tc { position: absolute; top: 30px; left: 50%; transform: translateX(-50%); font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: .1em; color: #fff; font-variant-numeric: tabular-nums; }
.vf-meta { position: absolute; top: 30px; right: 74px; font-family: var(--font-head); font-size: 12px; font-weight: 700; color: rgba(255,255,255,.9); letter-spacing: .08em; }
.vf-batt { position: absolute; top: 33px; right: 36px; width: 26px; height: 12px; border: 1.5px solid rgba(255,255,255,.85); border-radius: 3px; }
.vf-batt::before { content: ""; position: absolute; inset: 2px 7px 2px 2px; background: #5dff9a; border-radius: 1px; }
.vf-batt::after { content: ""; position: absolute; right: -4px; top: 3px; width: 2px; height: 4px; background: rgba(255,255,255,.85); border-radius: 1px; }
@keyframes vf-focus { 0%, 18% { transform: translate(-50%,-50%) scale(1.3); opacity: .45; } 33%, 86% { transform: translate(-50%,-50%) scale(1); opacity: 1; border-color: #5dff9a; } 100% { transform: translate(-50%,-50%) scale(1.3); opacity: .45; } }

.story-steps { list-style: none; padding: 0; margin: 0 auto; max-width: 860px; position: relative; }
.story-steps::before { content: ""; position: absolute; left: 23px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--blue), rgba(19,150,240,.1)); }
.story-steps li { position: relative; padding: 0 0 36px 72px; }
.story-steps li::before { content: ""; position: absolute; left: 12px; top: 4px; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); border: 2px solid var(--blue); box-shadow: 0 0 0 6px rgba(19,150,240,.12); }
.story-chapter { font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.story-steps h3 { font-family: var(--font); font-size: 21px; margin: 4px 0 8px; }
.story-steps p { color: var(--muted); margin: 0; }

.price-grid { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); max-width: 1080px; margin: 0 auto; }
.price-grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 800px; }
.price-card { position: relative; background: var(--bg-panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; }
.price-card.is-sub { border-color: rgba(19,150,240,.55); background: radial-gradient(ellipse 80% 60% at 100% 0%, rgba(19,150,240,.18), transparent 70%), var(--bg-panel); }
.price-badge { position: absolute; top: -12px; left: 26px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; border-radius: 500px; padding: 3px 14px; }
.price-card h3 { font-family: var(--font); font-size: 18px; margin: 0 0 12px; }
.price { margin: 0 0 14px; color: var(--white); line-height: 1.2; }
.price-num { font-family: var(--font-head); font-size: 34px; font-weight: 700; letter-spacing: -.01em; }
.price-unit { font-size: 14px; color: var(--muted); margin-left: 6px; }
.price-desc { color: var(--muted); font-size: 14px; margin: 0; }
.price-note { text-align: center; color: var(--muted); font-size: 13px; margin: 32px 0 0; }
.price-note a { color: #6cc4ff; text-decoration: underline; }

.faq details { background: var(--bg-panel); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 700; color: var(--white); position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-family: var(--font-head); color: var(--blue); margin-right: 12px; }
.faq summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--blue); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0; padding: 0 24px 22px 50px; color: var(--text); }

.cta-band { padding: 96px 0; text-align: center; background: radial-gradient(ellipse 50% 90% at 50% 0%, rgba(19,150,240,.25), transparent 70%), var(--bg); border-top: 1px solid var(--line); }
.cta-band-en { font-family: var(--font-head); font-size: clamp(36px, 5vw, 60px); font-weight: 700; text-transform: uppercase; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1px rgba(143,211,255,.6); margin: 0 0 6px; line-height: 1.1; }
.cta-band h2 { font-family: var(--font); font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 12px; }
.cta-band p { color: var(--muted); margin-bottom: 30px; }

/* ---------- 料金ページ ---------- */
.sub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.sub-card { position: relative; display: flex; flex-direction: column; background: var(--bg-panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 32px 34px; }
.sub-card.is-featured { border: 2px solid var(--blue); background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(19,150,240,.25), transparent 70%), var(--bg-panel); transform: translateY(-10px); box-shadow: 0 20px 50px rgba(19,150,240,.18); }
.sub-ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--blue); color: #fff; font-size: 13px; font-weight: 700; padding: 4px 20px; border-radius: 500px; }
.sub-en { font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.sub-card h3 { font-family: var(--font); font-size: 24px; margin: 4px 0 6px; }
.sub-desc { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.sub-card ul { list-style: none; padding: 20px 0 0; margin: 0 0 28px; border-top: 1px solid var(--line); flex: 1; }
.sub-card li { position: relative; padding-left: 26px; margin-bottom: 10px; font-size: 14px; color: var(--text); }
.sub-card li::before { content: "✓"; position: absolute; left: 0; top: 1px; color: #6cc4ff; font-weight: 700; }
.sub-card .btn { text-align: center; margin: 0; }
.price-table { max-width: 1000px; margin: 0 auto; border-top: 1px solid var(--line); }
.pt-row { display: grid; grid-template-columns: 340px 1fr; gap: 24px; padding: 22px 8px; border-bottom: 1px solid var(--line); align-items: start; }
.pt-service { display: flex; align-items: center; gap: 12px; color: var(--white); font-weight: 700; }
.pt-service i { font-style: normal; color: var(--blue); transition: transform .2s; }
.pt-service:hover { color: #6cc4ff; }
.pt-service:hover i { transform: translateX(4px); }
.pt-num { font-family: var(--font-head); color: var(--blue); font-size: 14px; }
.pt-plans { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.pt-plans li { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; }
.pt-name { color: var(--text); }
.pt-name em { font-style: normal; font-size: 11px; color: #fff; background: rgba(19,150,240,.7); border-radius: 500px; padding: 1px 8px; margin-left: 8px; }
.pt-price { color: var(--white); font-weight: 700; white-space: nowrap; }

/* ---------- 登録商標マーク ---------- */
sup.reg { font-size: .5em; vertical-align: super; line-height: 0; margin-left: .05em; font-weight: 400; }

/* ---------- Story Funnel®（金色の特集カード） ---------- */
:root { --gold: #f5c84c; --gold-2: #ffe08a; }
.cf-gold { color: var(--gold) !important; }
.cf-gold::before { background: var(--gold) !important; }
a.card-link.card-feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1.25fr 1fr; gap: 32px; align-items: center; padding: 48px 52px; border: 1.5px solid rgba(245,200,76,.6);
  background: radial-gradient(ellipse 60% 90% at 0% 0%, rgba(245,200,76,.16), transparent 65%), radial-gradient(ellipse 50% 80% at 100% 100%, rgba(19,150,240,.16), transparent 70%), var(--bg-panel);
  box-shadow: 0 0 0 1px rgba(245,200,76,.08), 0 24px 60px rgba(0,0,0,.35); }
a.card-link.card-feature:hover { border-color: var(--gold); box-shadow: 0 0 40px rgba(245,200,76,.18), 0 24px 60px rgba(0,0,0,.35); }
a.card-link.card-feature:hover h3 { color: var(--gold-2); }
.cf-badge { display: inline-block; font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #001422; background: linear-gradient(90deg, var(--gold), var(--gold-2)); border-radius: 500px; padding: 4px 14px; }
.card-feature h3 { font-family: var(--font-head); font-size: clamp(30px, 3.4vw, 44px); font-weight: 700; letter-spacing: -.01em; margin: 16px 0 6px; color: var(--gold); }
.cf-catch { font-size: 19px; font-weight: 700; color: var(--white) !important; margin: 0 0 14px !important; }
.card-feature .cf-text > p:not(.cf-catch) { color: var(--text); font-size: 15px; }
.cf-steps { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; counter-reset: cf; }
.cf-steps li { position: relative; font-size: 13px; font-weight: 700; color: var(--white); background: rgba(245,200,76,.1); border: 1px solid rgba(245,200,76,.35); border-radius: 500px; padding: 5px 14px; }
.card .cf-steps li { padding: 5px 14px; margin: 0; }
.card .cf-steps li::before { display: none; }
.cf-steps li:not(:last-child)::after { content: "›"; position: absolute; right: -8px; top: 50%; transform: translateY(-52%); color: var(--gold); font-weight: 700; }
.cf-more { border-color: rgba(245,200,76,.7) !important; color: var(--gold) !important; }
a.card-link.card-feature:hover .cf-more { background: var(--gold) !important; border-color: var(--gold) !important; color: #001422 !important; }
.cf-visual { width: 100%; max-width: 460px; justify-self: center; }
@media (max-width: 960px) {
  a.card-link.card-feature { grid-template-columns: 1fr; padding: 34px 28px; }
  .cf-visual { max-width: 380px; }
}
@media (max-width: 800px) { a.card-link.card-feature { padding: 28px 22px; } }

/* ---------- セールスファネル ---------- */
.sc-hot { animation: sc-hot 2.4s ease-in-out infinite; }
@keyframes sc-hot { 50% { fill: rgba(245,200,76,.55); stroke: #f5c84c; } }

/* 3ステップ料金 */
.fp-steps { list-style: none; padding: 0; margin: 0 auto; max-width: 1080px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: fp; }
.fp-step { position: relative; background: var(--bg-panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px 30px; display: flex; flex-direction: column; }
.fp-step:not(:last-child)::after { content: "→"; position: absolute; right: -22px; top: 50%; transform: translateY(-50%); color: var(--blue); font-size: 22px; font-weight: 700; z-index: 1; }
.fp-step:last-child { border-color: rgba(19,150,240,.55); background: radial-gradient(ellipse 80% 60% at 100% 0%, rgba(19,150,240,.18), transparent 70%), var(--bg-panel); }
.fp-label { font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--blue); }
.fp-step h3 { font-family: var(--font); font-size: 21px; margin: 6px 0 12px; }
.fp-step .price-desc { flex: 1; }
.fp-note { align-self: flex-start; margin-top: 16px; font-size: 12px; font-weight: 700; color: #f5c84c; background: rgba(245,200,76,.12); border-radius: 500px; padding: 3px 12px; }
.services-more .btn + .btn { margin-left: 12px; }

/* サービスページ：ファネルでの役割 */
.funnel-role { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; padding: 44px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-panel-2); }
.funnel-mini { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.fm-row { width: var(--w); padding: 12px 10px; text-align: center; clip-path: polygon(0 0, 100% 0, 94% 100%, 6% 100%); background: rgba(255,255,255,.06); color: var(--muted); transition: .3s; }
.fm-row.is-on { background: linear-gradient(90deg, #0f6fb8, var(--blue), #0f6fb8); color: #fff; box-shadow: 0 0 24px rgba(19,150,240,.35); }
.fm-en { display: block; font-family: var(--font-head); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.fm-name { display: block; font-size: 14px; font-weight: 700; }
.funnel-role-lead { color: var(--white); font-size: 16px; }
.funnel-role-stages { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 8px; }
.funnel-role-stages li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text); }
.funnel-role-stages span { min-width: 96px; text-align: center; font-size: 12px; font-weight: 700; color: #fff; background: var(--blue); border-radius: 500px; padding: 3px 10px; }
.funnel-role-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.funnel-role-btns .btn { margin: 0; }

/* ファネルページ */
.fn-what { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; max-width: 1080px; margin: 0 auto; }
.fn-what-text p { color: var(--text); }
.fn-what-text strong { color: var(--white); }
.fn-point { margin-top: 24px; padding: 20px 24px; border-radius: 12px; background: rgba(245,200,76,.08); border: 1px solid rgba(245,200,76,.35); color: var(--white) !important; font-weight: 700; }
.fn-point em { font-style: normal; color: #f5c84c; font-size: 1.2em; }
.fn-example { padding: 30px; border-radius: var(--radius); background: var(--bg-panel); border: 1px solid var(--line); }
.fn-example-title { font-weight: 700; color: var(--white); margin-bottom: 18px; }
.fn-ex-row { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 12px; margin-bottom: 10px; }
.fn-ex-label { font-size: 13px; color: var(--text); }
.fn-ex-bar { position: relative; height: 30px; border-radius: 6px; background: rgba(255,255,255,.05); overflow: hidden; }
.fn-ex-bar::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, var(--blue), #6cc4ff); border-radius: 6px; transition: width 1.2s cubic-bezier(.2,.7,.2,1); }
.fn-example.is-visible .fn-ex-bar::before, .fade.is-visible .fn-ex-bar::before { width: var(--w); }
.fn-ex-bar b { position: relative; z-index: 1; display: block; padding: 0 10px; line-height: 30px; font-size: 13px; color: #fff; }
.fn-ex-note { margin: 12px 0 0; font-size: 12px; color: var(--muted); }
.fn-stages { list-style: none; padding: 0; margin: 0 auto; max-width: 1080px; display: grid; gap: 16px; }
.fn-stage { display: grid; grid-template-columns: 260px 1fr; gap: 28px; padding: 28px 32px; border-radius: var(--radius); background: var(--bg-panel); border: 1px solid var(--line); border-left: 4px solid rgba(19,150,240,calc(.35 + var(--i) * .16)); margin-inline: calc(var(--i) * 18px); }
.fn-stage-num { font-family: var(--font-head); font-size: 40px; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px var(--blue); }
.fn-stage-en { display: block; margin-top: 8px; font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.fn-stage h3 { font-family: var(--font); font-size: 22px; margin: 4px 0 0; }
.fn-stage h3 small { display: block; margin-top: 4px; font-size: 14px; color: #f5c84c; }
.fn-stage-state, .fn-stage-kpi { margin: 0 0 12px; font-size: 14px; color: var(--text); }
.fn-stage-state span, .fn-stage-kpi span { display: inline-block; margin-right: 10px; font-size: 12px; font-weight: 700; color: var(--muted); border: 1px solid var(--line); border-radius: 500px; padding: 1px 10px; }
.fn-stage-actions { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.fn-stage-actions li { font-size: 13px; font-weight: 700; color: #fff; background: rgba(19,150,240,.16); border-radius: 8px; padding: 6px 12px; }
.fn-stage-svc { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; }
.fn-stage-svc a { color: #6cc4ff; }
.strength .role-en { margin-top: 14px; }
.proof-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 460px)); justify-content: center; gap: 24px; }
.proof-card { display: flex; flex-direction: column; gap: 6px; padding: 36px; border-radius: var(--radius); border: 1px solid rgba(245,200,76,.4); background: radial-gradient(ellipse 70% 80% at 100% 0%, rgba(245,200,76,.1), transparent 70%), var(--bg-panel); color: inherit; transition: .25s; }
.proof-card:hover { transform: translateY(-4px); border-color: #f5c84c; }
.proof-store { font-size: 14px; color: var(--muted); }
.proof-big { font-family: var(--font); font-size: 28px; font-weight: 700; line-height: 1.45; color: var(--white); margin: 6px 0; }
.proof-big strong { font-family: var(--font-head); font-size: 44px; color: #f5c84c; margin: 0 4px; }
.proof-sub { font-size: 13px; color: var(--text); }
.fn-cta { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: center; padding: 40px 44px; border-radius: var(--radius); border: 1px solid rgba(19,150,240,.45); background: radial-gradient(ellipse 60% 90% at 0% 0%, rgba(19,150,240,.18), transparent 70%), var(--bg-panel); }
.fn-cta h2 { font-family: var(--font); font-size: 26px; margin: 10px 0 12px; }
.fn-cta p { color: var(--text); margin: 0; }
.fn-cta-btns { display: flex; flex-direction: column; gap: 12px; }
.fn-cta-btns .btn { margin: 0; text-align: center; }
@media (max-width: 960px) {
  .fp-steps { grid-template-columns: 1fr; max-width: 560px; gap: 36px; }
  .fp-step:not(:last-child)::after { content: "↓"; right: 50%; top: auto; bottom: -32px; transform: translateX(50%); }
  .funnel-role, .fn-what, .fn-cta { grid-template-columns: 1fr; gap: 28px; }
  .fn-stage { grid-template-columns: 1fr; gap: 14px; margin-inline: 0; }
}
@media (max-width: 800px) {
  .funnel-role, .fn-cta { padding: 28px 22px; }
  .fn-example { padding: 22px; }
  .fn-ex-row { grid-template-columns: 92px 1fr; }
  .fn-stage { padding: 24px 22px; }
  .services-more .btn + .btn { margin: 12px 0 0; }
  .proof-big { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { .sc-hot { animation: none; } .fn-ex-bar::before { transition: none; width: var(--w); } }

/* ---------- AIエージェント（2番目に目立つ特集カード：青く光る） ---------- */
a.card-link.card-feature.card-agent { grid-template-columns: 1fr 1.25fr; border-color: rgba(108,196,255,.6);
  background: radial-gradient(ellipse 60% 90% at 100% 0%, rgba(19,150,240,.22), transparent 65%), radial-gradient(ellipse 50% 80% at 0% 100%, rgba(108,196,255,.1), transparent 70%), var(--bg-panel);
  box-shadow: 0 0 0 1px rgba(19,150,240,.1), 0 20px 50px rgba(0,0,0,.3); }
a.card-link.card-feature.card-agent:hover { border-color: #6cc4ff; box-shadow: 0 0 40px rgba(19,150,240,.25), 0 20px 50px rgba(0,0,0,.3); }
.card-agent h3 { color: #8fd3ff; font-family: var(--font); font-size: clamp(26px, 3vw, 38px); }
a.card-link.card-feature.card-agent:hover h3 { color: #b9e4ff; }
.ag-badge { color: #fff; background: linear-gradient(90deg, var(--blue), #6cc4ff); }
.card .ag-chips li { background: rgba(19,150,240,.14); border-color: rgba(108,196,255,.4); }
.ag-chips li:not(:last-child)::after { display: none; }
.ag-more { border-color: rgba(108,196,255,.7) !important; color: #8fd3ff !important; }
a.card-link.card-feature.card-agent:hover .ag-more { background: var(--blue) !important; border-color: var(--blue) !important; color: #fff !important; }
@media (max-width: 960px) {
  a.card-link.card-feature.card-agent { grid-template-columns: 1fr; }
  .card-agent .cf-visual { order: 2; }
}

/* ---------- 導入企業さま専用ダッシュボード ---------- */
.dash-section { background: radial-gradient(ellipse 60% 50% at 50% 30%, rgba(245,200,76,.07), transparent 70%), var(--bg-panel-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dash-flow { max-width: 1000px; margin: 0 auto 40px; }
.dash-flow .svc-scene { aspect-ratio: 960 / 260; }
.dash-mock { max-width: 1040px; margin: 0 auto; border-radius: 18px; overflow: hidden; border: 1px solid rgba(245,200,76,.45); background: #061826; box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 60px rgba(245,200,76,.08); }
.dash-bar { display: flex; align-items: center; gap: 8px; padding: 12px 18px; background: #0a2133; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 13px; }
.dash-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2c4d66; }
.dash-title { margin-left: 8px; font-family: var(--font-head); font-weight: 700; color: var(--gold); }
.dash-client { color: var(--muted); }
.dash-live { margin-left: auto; font-style: normal; font-family: var(--font-head); font-weight: 700; font-size: 11px; color: #fff; background: var(--blue); border-radius: 500px; padding: 2px 10px; animation: hv-blink 1.6s ease-in-out infinite; }
.dash-body { padding: 22px; display: grid; gap: 18px; }
.dash-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.dash-kpi { padding: 18px 18px 16px; border-radius: 12px; background: var(--bg-panel); border: 1px solid rgba(255,255,255,.06); display: flex; flex-direction: column; gap: 4px; }
.dash-kpi-label { font-size: 12px; color: var(--muted); }
.dash-kpi strong { font-family: var(--font-head); font-size: clamp(22px, 2.4vw, 30px); color: #fff; line-height: 1.2; }
.dash-delta { font-size: 12px; font-weight: 700; color: #5dff9a; }
.dash-delta small { color: var(--muted); font-weight: 400; }
.dash-row { display: grid; grid-template-columns: 1fr 1.1fr; gap: 14px; }
.dash-panel { padding: 18px 20px; border-radius: 12px; background: var(--bg-panel); border: 1px solid rgba(255,255,255,.06); }
.dash-panel-title { font-size: 13px; font-weight: 700; color: var(--white); margin: 0 0 14px; }
.dash-fn { display: grid; grid-template-columns: 84px 1fr 64px; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 12px; }
.dash-fn-label { color: var(--text); }
.dash-fn-bar { height: 14px; border-radius: 4px; background: rgba(255,255,255,.05); position: relative; overflow: hidden; }
.dash-fn-bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--blue), #6cc4ff); transition: width 1.2s cubic-bezier(.2,.7,.2,1) var(--d); }
.dash-fn:nth-child(5) .dash-fn-bar::after, .dash-fn:nth-child(6) .dash-fn-bar::after { background: linear-gradient(90deg, #d9a92e, var(--gold)); }
.dash-mock.is-visible .dash-fn-bar::after { width: var(--w); }
.dash-fn-num { text-align: right; font-family: var(--font-head); font-weight: 700; color: #fff; }
.dash-chart { width: 100%; height: 130px; display: block; }
.dash-line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.dash-area, .dash-dot { opacity: 0; transition: opacity .8s ease 1.4s; }
.dash-mock.is-visible .dash-line { animation: dash-draw 1.8s ease-out .2s forwards; }
.dash-mock.is-visible .dash-area, .dash-mock.is-visible .dash-dot { opacity: 1; }
.dash-mock.is-visible .dash-dot { animation: dash-dot 1.6s ease-in-out 2s infinite; transform-box: fill-box; transform-origin: center; }
@keyframes dash-draw { to { stroke-dashoffset: 0; } }
@keyframes dash-dot { 50% { transform: scale(1.6); } }
.dash-months { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 4px; }
.dash-ai { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: rgba(19,150,240,.1); border: 1px solid rgba(19,150,240,.35); }
.dash-ai-badge { flex: 0 0 auto; font-family: var(--font-head); font-size: 11px; font-weight: 700; color: #fff; background: var(--blue); border-radius: 6px; padding: 2px 7px; }
.dash-ai-rotator { position: relative; flex: 1; min-height: 3.4em; }
.dash-ai-msg { position: absolute; inset: 0; font-size: 12.5px; line-height: 1.7; color: var(--white); opacity: 0; transform: translateY(6px); transition: opacity .6s ease, transform .6s ease; }
.dash-ai-msg.is-active { opacity: 1; transform: none; }
.dash-note { text-align: center; font-size: 12px; color: var(--muted); margin: 14px 0 0; }
.dash-points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px; }
.dash-point { padding: 26px 22px; border-radius: var(--radius); background: var(--bg-panel); border: 1px solid var(--line); }
.dash-point h3 { font-family: var(--font); font-size: 17px; margin: 12px 0 8px; }
.dash-point p { margin: 0; font-size: 14px; color: var(--muted); }
.cf-badge-dash { margin-left: 6px; color: var(--gold); background: transparent; border: 1px solid rgba(245,200,76,.7); }
@media (max-width: 960px) {
  .dash-kpis { grid-template-columns: 1fr 1fr; }
  .dash-row { grid-template-columns: 1fr; }
  .dash-points { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  .dash-body { padding: 14px; }
  .dash-client { display: none; }
  .dash-points { grid-template-columns: 1fr; }
  .dash-ai-rotator { min-height: 5.2em; }
  .cf-badge-dash { margin: 8px 0 0; }
}
@media (prefers-reduced-motion: reduce) { .dash-fn-bar::after { transition: none; width: var(--w); } .dash-line { stroke-dashoffset: 0; } .dash-area, .dash-dot { opacity: 1; transition: none; } }

/* ---------- 会社概要ページ ---------- */
.group-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 420px)); justify-content: center; gap: 24px; }
.group-card { display: flex; flex-direction: column; align-items: flex-start; padding: 36px; border-radius: var(--radius); border: 1px solid var(--line); background: radial-gradient(ellipse 80% 80% at 100% 0%, rgba(19,150,240,.2), transparent 70%), var(--bg-panel); color: inherit; transition: .25s; }
.group-card:hover { border-color: rgba(19,150,240,.6); transform: translateY(-4px); }
.group-card:hover .card-more { background: var(--blue); border-color: var(--blue); color: #fff; }
.group-en { font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.group-card h3 { font-family: var(--font); font-size: 24px; margin: 6px 0 10px; }
.group-card p { color: var(--muted); margin: 0; }
.section-sub a { color: #6cc4ff; text-decoration: underline; }
.store-card { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; max-width: 1000px; margin: 0 auto; padding: 44px; border-radius: var(--radius); border: 1px solid rgba(19,150,240,.4); background: radial-gradient(ellipse 60% 80% at 0% 0%, rgba(180,200,120,.08), transparent 70%), var(--bg-panel); }
.store-head h3 { font-family: var(--font); font-size: 26px; margin: 6px 0 14px; color: var(--gold); }
.store-info dd:first-of-type { color: var(--gold); font-weight: 700; }
.proof-store { color: var(--gold) !important; font-weight: 700; }
.store-head p { color: var(--text); margin-bottom: 26px; }
.store-links { display: flex; flex-wrap: wrap; gap: 12px; }
.store-links .btn { margin: 0; }
.store-card + .reviews + .store-card, .store-card + .store-card { margin-top: 32px; }
.store-info { margin: 0; display: grid; grid-template-columns: 90px 1fr; gap: 14px 16px; font-size: 15px; }
.store-info dt { color: var(--blue); font-weight: 700; }
.store-info dd { margin: 0; color: var(--white); }
.store-info a { color: #6cc4ff; font-size: 13px; }
.company-table a { color: #6cc4ff; text-decoration: underline; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; }
.footer-nav a { color: var(--muted); }
.footer-nav a:hover { color: var(--blue); }
@media (max-width: 800px) {
  .store-card { grid-template-columns: 1fr; padding: 28px 22px; gap: 24px; }
  .group-card { padding: 28px 24px; }
}

/* クチコミ実績 */
.reviews { max-width: 1000px; margin: 28px auto 0; display: grid; grid-template-columns: 1fr 1.15fr; gap: 36px; align-items: center; padding: 44px; border-radius: var(--radius); border: 1px solid var(--line); background: radial-gradient(ellipse 60% 90% at 100% 50%, rgba(245,200,76,.08), transparent 70%), var(--bg-panel-2); }
.reviews-story h3 { font-family: var(--font); font-size: clamp(22px, 2.4vw, 28px); margin: 8px 0 14px; line-height: 1.5; }
.reviews-story p { color: var(--text); }
.reviews-total { margin: 18px 0 0; font-weight: 700; color: var(--white); }
.reviews-total { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.reviews-sum { white-space: nowrap; }
.reviews-period { display: inline-block; font-size: 14px; font-weight: 700; color: #001422; background: #f5c84c; border-radius: 500px; padding: 4px 14px; margin-right: 4px; }
.reviews-total strong { font-family: var(--font-head); font-size: 40px; color: #f5c84c; margin: 0 4px; }
.reviews-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.review-card { display: flex; flex-direction: column; gap: 6px; padding: 26px 22px; border-radius: 14px; background: var(--bg-panel); border: 1px solid rgba(245,200,76,.35); color: inherit; transition: .25s; }
.review-card:hover { border-color: #f5c84c; transform: translateY(-3px); }
.review-src { font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.review-name { font-size: 13px; color: var(--muted); }
.review-score { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; }
.review-score strong { font-family: var(--font-head); font-size: 52px; line-height: 1; color: #fff; letter-spacing: -.02em; }
.review-score small { color: var(--muted); font-size: 14px; }
.review-stars { position: relative; display: inline-block; font-size: 20px; letter-spacing: 3px; line-height: 1; color: rgba(255,255,255,.15); }
.review-stars::before { content: "★★★★★"; }
.review-stars::after { content: "★★★★★"; position: absolute; left: 0; top: 0; width: 0; overflow: hidden; white-space: nowrap; color: #f5c84c; transition: width 1.6s cubic-bezier(.2,.7,.2,1) .3s; }
.reviews.is-visible .review-stars::after { width: var(--rate); }
.review-count { font-size: 14px; color: var(--text); }
.review-count strong { font-family: var(--font-head); font-size: 22px; color: #fff; }
.review-note { align-self: flex-start; margin-top: 4px; font-size: 12px; font-weight: 700; color: #f5c84c; background: rgba(245,200,76,.12); border-radius: 500px; padding: 3px 12px; }
.review-link { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; padding: 10px 14px; border-radius: 500px; border: 1px solid rgba(245,200,76,.6); color: #f5c84c; font-size: 13px; font-weight: 700; transition: .25s; }
.review-link i { font-style: normal; transition: transform .25s; }
.review-card:hover .review-link { background: #f5c84c; border-color: #f5c84c; color: #001422; }
.review-card:hover .review-link i { transform: translate(2px, -2px); }
.reviews + .reviews { margin-top: 32px; }
.repeat { background: radial-gradient(ellipse 60% 90% at 100% 50%, rgba(140,210,170,.08), transparent 70%), var(--bg-panel-2); }
.repeat-headline { font-family: var(--font); font-size: 22px; font-weight: 700; color: #f5c84c; }
.repeat-bar { position: relative; display: block; height: 10px; border-radius: 500px; background: rgba(255,255,255,.1); overflow: hidden; margin: 6px 0 4px; }
.repeat-bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 500px; background: linear-gradient(90deg, #f5c84c, #ffe08a); transition: width 1.6s cubic-bezier(.2,.7,.2,1) .3s; }
.reviews.is-visible .repeat-bar::after { width: var(--rate); }
.voice-rotator { position: relative; display: block; height: 2.2em; margin: 8px 0 4px; }
.voice { position: absolute; left: 0; top: 0; white-space: nowrap; font-family: var(--font); font-size: 19px; font-weight: 700; line-height: 1.35; color: #fff; opacity: 0; transform: translateY(8px); transition: opacity .6s ease, transform .6s ease; }
.voice.is-active { opacity: 1; transform: none; }
.voice-list { display: flex; flex-wrap: wrap; gap: 6px; }
.voice-list span { font-size: 12px; color: var(--muted); background: rgba(255,255,255,.06); border-radius: 500px; padding: 3px 10px; }
@media (prefers-reduced-motion: reduce) { .repeat-bar::after { width: var(--rate); transition: none; } .voice { transition: none; } }
.reviews-asof { grid-column: 1 / -1; margin: 0; font-size: 12px; color: var(--muted); text-align: right; }
@media (max-width: 960px) { .reviews { grid-template-columns: 1fr; } }
@media (max-width: 800px) { .reviews { padding: 28px 22px; } .reviews-cards { grid-template-columns: 1fr; } .reviews-asof { text-align: left; } }
@media (prefers-reduced-motion: reduce) { .review-stars::after { width: var(--rate); transition: none; } }

/* ---------- トップ：撮影チーム・料金 ---------- */
.photo-team { margin-top: 72px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 48px; border-radius: var(--radius); border: 1px solid rgba(19,150,240,.4); background: radial-gradient(ellipse 60% 80% at 0% 0%, rgba(255,190,140,.08), transparent 70%), var(--bg-panel); }
.photo-team h3 { font-family: var(--font); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.5; margin: 10px 0 16px; }
.photo-team p { color: var(--text); }
.photo-team ul { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.photo-team li { font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 500px; background: rgba(19,150,240,.14); color: #8fd3ff; }
.top-price .sub-card .btn { display: none; }

@media (max-width: 960px) {
  .svc-hero-grid, .photo-grid, .photo-team { grid-template-columns: 1fr; }
  .svc-hero-visual { max-width: 460px; }
  .sub-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .sub-card.is-featured { transform: none; }
  .price-grid { grid-template-columns: 1fr 1fr; }
  .pt-row { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 800px) {
  .svc-hero { padding: 48px 0 72px; }
  .problem-list, .feature-grid, .price-grid, .price-grid-2 { grid-template-columns: 1fr; }
  .feature { padding: 28px 24px; }
  .photo-team { padding: 28px 22px; }
  .vf-rec, .vf-tc, .vf-meta { top: 20px; font-size: 11px; }
  .vf-rec { left: 26px; } .vf-meta { right: 58px; } .vf-batt { top: 22px; right: 26px; }
  .vf-info { bottom: 20px; left: 26px; font-size: 11px; }
  .pt-plans li { flex-direction: column; gap: 0; }
}

/* Fade-in */
.fade { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.fade.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .roles { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .post-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 560px; margin-inline: auto; }
  .cards { grid-template-columns: 1fr 1fr !important; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats li:nth-child(3) { border-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .cards, .strengths { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1280px) {
  .nav-toggle { display: block; }
  .gnav {
    position: fixed; inset: 80px 0 auto 0; background: var(--bg);
    border-bottom: 1px solid var(--line); display: none;
  }
  .gnav.is-open { display: block; }
  .gnav ul { flex-direction: column; gap: 0; padding: 12px 20px 24px; align-items: stretch; }
  .gnav li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .gnav .nav-cta a { text-align: center; margin-top: 16px; border: 0; }
}
@media (max-width: 800px) {
  .contact-layout .contact-form { padding: 26px 20px; }
  .form-row-2 { grid-template-columns: 1fr; }
  .form-submit { width: 100%; min-width: 0; }
  .hero { padding: 72px 0 90px; }
  .post-grid { grid-template-columns: 1fr; }
  .section-head-row .btn { margin: 0; }
  .single-cta { padding: 32px 22px; }
  .single-cta .btn { display: block; margin: 12px 0 0; }
  .entry-content h2 { font-size: 20px; }
  .page-hero { padding: 64px 0 48px; }
  .btn-ghost { margin: 12px 0 0; }
  .section { padding: 84px 0; }
  .flow { grid-template-columns: 1fr; }
  .company-wrap { padding: 8px 22px; }
  .company-table th, .company-table td { display: block; width: 100%; padding-left: 0; padding-right: 0; }
  .company-table th { border-bottom: 0; padding-bottom: 2px; }
  .company-table td { padding-top: 0; }
  .company-table tr:not(:last-child) td { border-bottom: 1px solid var(--line); }
  .contact-box { min-width: 0; width: 100%; padding: 28px 20px; }
  .contact-form { padding: 24px; }
  .cards { grid-template-columns: 1fr !important; }
  .section-head h2 { font-size: 22px; }
  .roles { grid-template-columns: 1fr; gap: 12px; }
  .roles li { text-align: left; padding: 22px; }
  .roles h3 br { display: none; }
  .roles h3 { margin: 12px 0 6px; }
  .sp-only { display: inline; }
  .footer-right { align-items: flex-start; }
}

/* スマホでのトップ見出し（最後に置いて優先させる） */
@media (max-width: 800px) {
  .hero h1 { font-size: 17px; letter-spacing: 0; }
}

/* ===== ドローン空撮 ===== */
.drone-section { border-top: 1px solid var(--line); background: radial-gradient(ellipse 70% 60% at 20% 30%, rgba(19,150,240,.14), transparent 70%), var(--bg); }
.drone-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.drone-text h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.45; margin: 8px 0 16px; }
.drone-text p { color: var(--muted); line-height: 1.9; }
.drone-safety { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.drone-safety li { font-size: 13px; padding: 6px 12px 6px 28px; border: 1px solid rgba(143,211,255,.3); border-radius: 999px; background: rgba(15,43,63,.7); position: relative; }
.drone-safety li::before { content: ""; position: absolute; left: 11px; top: 50%; width: 9px; height: 5px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: translateY(-70%) rotate(-45deg); }
.drone-uses { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.drone-uses li { padding: 22px; background: var(--bg-panel); border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: 12px; }
.drone-uses h3 { font-family: var(--font); font-size: 16px; margin: 0 0 6px; }
.drone-uses p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.sc-rotor { transform-box: fill-box; transform-origin: center; animation: sc-rotor .14s linear infinite alternate; }
.sc-scan { transform-origin: 236px 176px; animation: sc-scan 7s ease-in-out infinite; }
@keyframes sc-rotor { from { transform: scaleX(1); } to { transform: scaleX(.3); } }
@keyframes sc-scan { 0%, 100% { transform: rotate(6deg); } 50% { transform: rotate(-14deg); } }
@media (max-width: 960px) { .drone-uses { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 800px) { .drone-grid { grid-template-columns: 1fr; gap: 28px; } .drone-text h2 { font-size: 20px; } .drone-uses { grid-template-columns: 1fr; } }

/* ===== ブログ記事：上部のアニメーション・目次 ===== */
.post-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.post-hero-text { min-width: 0; }
.post-hero-text .breadcrumb { margin-bottom: 18px; }
.post-hero-visual { max-width: 440px; width: 100%; justify-self: end; }
.post-hero-visual .globe-canvas { width: 100%; aspect-ratio: 1; display: block; }
.post-read { font-size: 13px; color: var(--muted); }
.post-lead { color: var(--muted); font-size: 15px; line-height: 1.9; margin-top: 16px !important; }
.page-hero-post .post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.post-toc { margin-top: 2em; padding: 22px 26px; background: var(--bg-panel); border: 1px solid var(--line); border-radius: 14px; }
.post-toc-title { font-family: var(--font-head); font-weight: 700; letter-spacing: .14em; color: var(--blue); font-size: 13px; margin: 0 0 8px !important; }
.post-toc ol { margin: 0; padding-left: 1.4em; }
.post-toc li { font-size: 15px; line-height: 1.7; }
.post-toc li + li { margin-top: .35em; }
.post-toc a { color: var(--text) !important; text-decoration: none !important; }
.post-toc a:hover { color: var(--blue) !important; }
.entry-content h2 { scroll-margin-top: 96px; }
@media (max-width: 800px) {
  .post-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .post-hero-visual { justify-self: center; max-width: 320px; order: -1; }
  .entry-content table { display: block; overflow-x: auto; }
}
