/* ============ デザイントークン ============
   ブランド青 #259BCB を主役に、やわらかい空のトーンでまとめる。
   中小企業に寄り添う親しみ・誠実さを、明るい余白と丸みで表現。 */
:root {
  --sky:       #1DA5DB;   /* ブランド青(ロゴ・指定色) */
  --sky-deep:  #1685B2;   /* 濃い青(ホバー・強調) */
  --sky-pale:  #E8F5FB;   /* ごく薄い空色(背景) */
  --sky-mist:  #F4FAFD;   /* さらに淡い面 */
  --ink:       #182A35;   /* 文字・ヘッダーの濃紺(指定色) */
  --ink-soft:  #5A6B76;   /* 補足テキスト */
  --line:      #DAE6EC;   /* 罫線 */
  --white:     #FFFFFF;
  --sun:       #FFC24B;   /* アクセント(あたたかみ) */
  --leaf:      #43B581;   /* チェック等の安心グリーン */
  --shadow:    0 18px 50px -22px rgba(24,42,53,.40);
  --radius:    18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium",
               "Yu Gothic", Meiryo, system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

.wrap { width: min(1120px, 90vw); margin-inline: auto; }

/* アイコン差し込み用プレースホルダー(円の中に「アイコン」) */
.ico-ph {
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sky-pale);
  color: var(--sky-deep);
  border: 1px dashed var(--sky);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  text-align: center;
  line-height: 1.1;
}
.ico-ph.on-dark {
  background: rgba(255,255,255,.06);
  color: #9FD9EE;
  border-color: rgba(29,165,219,.6);
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--sky-deep);
  background: var(--sky-pale);
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 18px;
}

h2.section-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .01em;
  margin-bottom: 16px;
}
.section-lead {
  color: var(--ink-soft);
  font-size: 17px;
  margin-bottom: 48px;
  max-width: 640px;
}

/* ---- ボタン ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  padding: 15px 30px;
  border-radius: 99px;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--sky);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(37,155,203,.8);
}
.btn-primary:hover { background: var(--sky-deep); transform: translateY(-2px); }
.btn-ghost {
  background: #fff;
  color: var(--sky-deep);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--sky); transform: translateY(-2px); }

/* ============ ヘッダー ============ */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.nav h1 { font-size: inherit; font-weight: inherit; line-height: 1; }
.nav img.logo { height: 40px; display: block; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a.link { font-size: 14.5px; font-weight: 600; color: #B7C7D1; padding: 8px 4px; }
.nav-links a.link:hover { color: #fff; }
.nav .btn { padding: 10px 22px; font-size: 14.5px; }
.nav-toggle { display: none; }
.nav-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 45;
  opacity: 0; pointer-events: none; transition: opacity .32s;
}
.nav-overlay.open { opacity: 1; pointer-events: auto; }

/* ---- ドロップダウン ---- */
.nav-dropdown { position: relative; }

.nav-dropdown-trigger {
  background: none;
  border: none;
  font-size: 14.5px;
  font-weight: 600;
  color: #B7C7D1;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 4px;
  line-height: 1;
  white-space: nowrap;
}
.nav-dropdown-trigger:hover,
.nav-dropdown.open .nav-dropdown-trigger { color: #fff; }

.nav-arrow {
  display: inline-block;
  width: 8px;
  height: 8px;
  font-size: 0;                        /* ▾ 文字を非表示 */
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);           /* ∨ 下向き */
  transition: transform .2s ease;
  flex-shrink: 0;
  vertical-align: middle;
  margin-top: -4px;
}
.nav-dropdown:hover .nav-arrow,
.nav-dropdown.open .nav-arrow {
  transform: rotate(-135deg);         /* ∧ 上向き */
  margin-top: 2px;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 20px);
  left: -16px;
  min-width: 220px;
  background: #182a35;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  padding: 8px 0;
  box-shadow: 0 24px 52px -12px rgba(0,0,0,.6);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility 0s .18s;
}
.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .18s ease, transform .18s ease;
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 13.5px;
  color: #B7C7D1;
  transition: color .12s, background .12s;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover {
  color: #fff;
  background: rgba(29,165,219,.18);
}

@media (max-width: 920px) {
  .nav-dropdown { width: 100%; }
  .nav-dropdown-trigger {
    color: #B7C7D1;
    width: 100%;
    justify-content: space-between;
    padding: 14px 28px;
    text-align: left;
  }
  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: none;
    box-shadow: none;
    background: rgba(0,0,0,.25);
    border-radius: 8px;
    padding: 4px 0;
    margin: 0 0 8px;
    overflow: hidden;
    max-height: 0;
    transition: max-height .3s ease;
  }
  .nav-dropdown:hover .nav-dropdown-menu { max-height: 0; opacity: 1; visibility: visible; }
  .nav-dropdown.open .nav-dropdown-menu { max-height: 320px; }
  .nav-dropdown-menu a { padding: 12px 28px 12px 36px; text-align: left; }
}

/* ============ ヒーロー ============ */
.hero {
  position: relative;
  padding: 84px 0 96px;
  background:
    url("../images/hero.jpeg") center center / cover no-repeat;
  overflow: hidden;
}
/* 流れる雲(アンビエント) */
.cloud {
  position: absolute;
  background: #fff;
  border-radius: 100px;
  opacity: .7;
  filter: blur(.3px);
}
.cloud::before, .cloud::after {
  content: ""; position: absolute; background: #fff; border-radius: 50%;
}
.cloud.c1 { width: 120px; height: 38px; top: 14%; left: -140px; animation: drift 38s linear infinite; }
.cloud.c1::before { width: 52px; height: 52px; top: -22px; left: 22px; }
.cloud.c1::after  { width: 38px; height: 38px; top: -14px; left: 64px; }
.cloud.c2 { width: 90px; height: 30px; top: 32%; left: -120px; animation: drift 52s linear infinite; animation-delay: -10s; opacity:.55; }
.cloud.c2::before { width: 40px; height: 40px; top: -18px; left: 16px; }
.cloud.c2::after  { width: 30px; height: 30px; top: -10px; left: 50px; }
@keyframes drift { to { transform: translateX(calc(100vw + 300px)); } }

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hero .eyebrow {
  background: #fff;
  border: 1.5px solid var(--line);
}

.hero h2 {
  font-size: clamp(30px, 5vw, 50px);
  font-weight: 900;
  line-height: 1.32;
  letter-spacing: .01em;
  margin-bottom: 22px;
}
.hero h2 .accent {
  color: var(--sky);
  position: relative;
  white-space: nowrap;
}
.hero h2 .accent::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 4px; height: 10px;
  background: var(--sun); opacity: .35; border-radius: 4px; z-index: -1;
}
.hero p.sub {
  font-size: 18px;
  color: var(--ink-soft);
  margin-bottom: 34px;
  max-width: 520px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 13.5px; color: var(--ink-soft); }
.hero-note b { color: var(--sky-deep); }


/* ============ 信頼バー ============ */
.trust {
  background: var(--ink);
  color: #fff;
  padding: 22px 0;
}
.trust .wrap {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(16px, 4vw, 48px); flex-wrap: wrap; text-align: center;
}
.trust .t-item { font-size: 14.5px; color: #C6D4DF; }
.trust .t-item b { color: #fff; font-weight: 700; }
.trust .t-sep { color: #3C5161; }

/* ============ 共感(課題) ============ */
section { padding: 96px 0; }
.pains {
  background: var(--sky-mist);
}
.pain-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.pain {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0; overflow: hidden;
}
.pain-img {
  width: 100%; display: block; padding: 12px;
}
.pain-body { padding: 4px 24px 26px; }
.pain h4 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.pain p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }
.pains .turn {
  text-align: center; margin-top: 44px; font-size: clamp(19px,2.6vw,26px); font-weight: 800;
}
.pains .turn .hl { color: var(--sky); }

/* ============ 機能 ============ */
.feat-grid {
  position: relative;
  min-height: 720px;
  margin-top: 20px;
}
.feat {
  position: absolute;
  width: min(320px, 29vw);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s;
  background: var(--sky-mist);
  min-height: 148px;
  transform: translate(var(--x, 0), var(--y, 0));
  z-index: 2;
}
.feat:hover {
  transform: translate(var(--x, 0), var(--y, 0)) translateY(-4px);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.feat-grid .feat:nth-of-type(1) { left: 18%; top: 26%; --x: -50%; --y: -50%; --delay: .08s; }
.feat-grid .feat:nth-of-type(2) { left: 50%; top: 0; --x: -50%; --y: 0; --delay: .28s; }
.feat-grid .feat:nth-of-type(3) { left: 82%; top: 26%; --x: -50%; --y: -50%; --delay: .48s; }
.feat-grid .feat:nth-of-type(4) { left: 18%; top: 74%; --x: -50%; --y: -50%; --delay: .68s; }
.feat-grid .feat:nth-of-type(5) { left: 50%; top: 100%; --x: -50%; --y: -100%; --delay: .88s; }
.feat-grid .feat:nth-of-type(6) { left: 82%; top: 74%; --x: -50%; --y: -50%; --delay: 1.08s; }
.feature-visual {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: min(47.6vw, 532px);
  z-index: 1;
  pointer-events: none;
}
.feature-visual img {
  width: 100%;
  height: auto;
  display: block;
}
.feat .ic {
  width: 50px; height: 50px; border-radius: 14px;
  margin-bottom: 18px; font-size: 11px;
}
.feat .ic.ico-ph { border-radius: 14px; }
.feat h4 { font-size: 18px; margin-bottom: 10px; }
.feat p { font-size: 14.5px; color: var(--ink-soft); }

/* ============ 一元管理(横スクロール風 帯) ============ */
.oneflow { background: var(--ink); color: #fff; }
.oneflow .section-title { color: #fff; }
.oneflow .section-lead { color: #9DB2C2; }
.chain {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); gap: 0;
  margin-top: 20px; align-items: stretch;
}
.chain .node {
  text-align: center; padding: 22px 8px; position: relative;
}
.chain .node .n-ic {
  display: block; width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 16px;
}
.chain .node .n-name { font-size: 13.5px; font-weight: 700; }
.chain .node .n-sub { font-size: 11px; color: #8FA6B8; margin-top: 2px; }
.chain .node:not(:last-child)::after {
  content: "→"; position: absolute; right: -7px; top: 38px;
  color: var(--sky); font-size: 18px; font-weight: 700;
}
/* stagger */
.chain .node:nth-child(1) { transition-delay: 0s; }
.chain .node:nth-child(2) { transition-delay: .12s; }
.chain .node:nth-child(3) { transition-delay: .24s; }
.chain .node:nth-child(4) { transition-delay: .36s; }
.chain .node:nth-child(5) { transition-delay: .48s; }
.chain .node:nth-child(6) { transition-delay: .60s; }
.oneflow .foot {
  margin-top: 40px; text-align: center; color: #B8C8D4; font-size: 15px;
}

/* ============ 寄り添い(カスタマイズ) ============ */
.custom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 50px; align-items: start; }
.custom-intro { grid-column: 1; grid-row: 1; }
.custom-intro .section-lead { margin-bottom: 24px; }
.custom-list-wrap { grid-column: 1; grid-row: 2; }
.custom-visual { grid-column: 2; grid-row: 1 / 3; align-self: center; }
.custom-list { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.custom-list li { display: flex; gap: 14px; align-items: flex-start; }
.custom-list .chk {
  width: 38px; height: 38px; border-radius: 50%;
  flex-shrink: 0; margin-top: 2px; font-size: 9px; line-height: 1.05;
}
.custom-list h4 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.45;
  margin-bottom: 8px;
  padding: 6px 12px 6px 0;
}
.custom-list h4::before {
  content: "";
  width: 4px;
  height: 1.4em;
  border-radius: 999px;
  background: var(--sky);
  flex-shrink: 0;
}
.custom-list p { font-size: 14px; color: var(--ink-soft); }
.custom-visual {
  background: linear-gradient(160deg, var(--sky) 0%, var(--sky-deep) 100%);
  border-radius: 24px; padding: 0 0 4px 0; color: #fff; box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}

.custom-visual .cv-quote { font-size: 20px; font-weight: 800; line-height: 1.6; position: relative; }
.custom-visual .cv-by { margin-top: 18px; font-size: 13px; color: #DCEEF6; position: relative; }

/* ============ 環境(導入のしやすさ) ============ */
.env { background: var(--sky-mist); }
.env-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.env-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0; overflow: hidden;
}
.env-img { width: 100%; display: block; padding: 12px; box-sizing: border-box; }
.env-body { padding: 18px 22px 24px; }
.env-card h4 { font-size: 15.5px; margin-bottom: 6px; }
.env-card p { font-size: 13px; color: var(--ink-soft); }

/* ============ 料金 ============ */
.price-box {
  background: #fff; border: 1px solid var(--line); border-radius: 24px;
  padding: 52px; text-align: center; box-shadow: var(--shadow);
  max-width: 860px; margin: 0 auto;
}
.price-box p.note { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 32px; }
.price-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 32px;
}
.price-card {
  background: var(--sky-mist); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0 22px 24px; text-align: center;
}
.price-card .ico-ph { margin: 0 auto 12px; }
.price-card .card-tag-slot {
  height: 26px; display: flex; align-items: center; justify-content: center; margin-bottom: 8px;
}
.price-card h3 { font-size: 15px; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.price-card p { font-size: 13px; color: var(--ink-soft); line-height: 1.75; margin: 0; }
.price-card.optional { border-style: dashed; }
.price-card .optional-tag {
  display: inline-block; font-size: 11px; font-weight: 700; color: var(--sky);
  background: var(--sky-pale); padding: 3px 10px; border-radius: 99px;
}

/* ============ FAQ ============ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 24px 40px 24px 0; font-size: 17px; font-weight: 700; color: var(--ink);
  position: relative; font-family: inherit; line-height: 1.6;
}
.faq-q::after {
  content: "+"; position: absolute; right: 4px; top: 22px; font-size: 24px;
  color: var(--sky); font-weight: 400; transition: transform .25s;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease;
  color: var(--ink-soft); font-size: 15px;
}
.faq-item.open .faq-a { max-height: 320px; padding-bottom: 24px; }

/* ============ 最終CTA ============ */
.cta {
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(255,255,255,.18), transparent),
    linear-gradient(135deg, var(--sky) 0%, var(--sky-deep) 100%);
  color: #fff; text-align: center; border-radius: 0;
}
.cta h2 { font-size: clamp(26px,4vw,40px); font-weight: 900; margin-bottom: 16px; line-height: 1.4; }
.cta p { font-size: 17px; color: #E4F3FA; margin-bottom: 36px; }
.cta .btn-primary { background: #fff; color: var(--sky-deep); }
.cta .btn-primary:hover { background: #fff; color: var(--sky); }
.cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.cta .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============ フッター ============ */
footer.site { background: var(--ink); color: #B8C8D4; padding: 56px 0 30px; }
.foot-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 36px; }
footer h2 { font-size: inherit; font-weight: inherit; line-height: 1; }
footer img.logo { height: 40px; margin-bottom: 16px; }
.foot-about { max-width: 320px; font-size: 13.5px; line-height: 1.8; }
.foot-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.foot-col h5 { font-size: 13px; color: #fff; margin-bottom: 14px; letter-spacing: .05em; }
.foot-col a { display: block; font-size: 13.5px; color: #93A8B8; margin-bottom: 9px; }
.foot-col a:hover { color: #fff; }
.foot-bottom {
  border-top: 1px solid #2C3F4E; padding-top: 22px; font-size: 12.5px; color: #6F8597;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}

/* ============ スクロール出現 ============ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.feat-grid .feat.reveal,
.feat-grid .feat.reveal.in {
  opacity: 1;
  transform: translate(var(--x, 0), var(--y, 0));
  transition: opacity .72s ease, transform .72s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--delay, 0s);
}
.feat-grid .feat.reveal {
  opacity: 0;
  transform: translate(var(--x, 0), var(--y, 0)) translateY(18px);
}
.feat-grid .feat.reveal:hover,
.feat-grid .feat.reveal.in:hover {
  transform: translate(var(--x, 0), var(--y, 0)) translateY(-4px);
  transition-delay: 0s;
}
.feature-visual.reveal,
.feature-visual.reveal.in {
  transform: translate(-50%, -50%);
}

/* ============ レスポンシブ ============ */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-figure { order: -1; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; text-align: center; box-sizing: border-box; }
  .pain-grid, .env-grid { grid-template-columns: 1fr 1fr; }
  .feat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    min-height: 0;
    align-items: stretch;
  }
  .feat-grid .feat {
    position: static;
    width: auto;
    min-height: 0;
    transform: none;
  }
  .feat-grid .feat.reveal,
  .feat-grid .feat.reveal.in {
    transform: none;
  }
  .feat-grid .feat:hover,
  .feat-grid .feat.reveal:hover,
  .feat-grid .feat.reveal.in:hover {
    transform: translateY(-4px);
  }
  .feature-visual {
    position: static;
    transform: none;
    width: 100%;
    grid-column: 1 / -1;
    order: -1;
    margin-bottom: 10px;
  }
  .feature-visual.reveal,
  .feature-visual.reveal.in {
    transform: none;
  }
  .feature-visual img { width: min(100%, 420px); }
  .chain { grid-template-columns: repeat(3, 1fr); row-gap: 18px; }
  .chain .node:not(:last-child)::after { display: none; }
  .custom-grid { grid-template-columns: 1fr; gap: 24px; }
  .custom-intro { grid-column: 1; grid-row: auto; order: 1; }
  .custom-visual { grid-column: 1; grid-row: auto; order: 2; }
  .custom-list-wrap { grid-column: 1; grid-row: auto; order: 3; }
  /* ハンバーガーボタン */
  .nav-toggle {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    width: 40px; height: 40px; border: none; background: transparent; cursor: pointer;
    gap: 5px; padding: 0; flex-shrink: 0;
  }
  .nav-toggle span {
    display: block; width: 22px; height: 2px; background: #fff; border-radius: 1px;
    transition: transform .25s ease, opacity .25s ease;
  }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* ドロワー */
  .nav-links {
    display: flex; flex-direction: column; align-items: stretch;
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(300px, 85vw);
    background: var(--ink);
    padding: 80px 0 32px; gap: 0;
    z-index: 300;
    transform: translateX(110%);
    transition: transform .32s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
    box-shadow: -12px 0 40px rgba(0,0,0,.4);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links > a.link {
    display: block;
    width: 100%;
    padding: 14px 28px;
    font-size: 15px;
    text-align: left;
  }
  .nav-links > .btn {
    display: flex;
    width: calc(100% - 48px);
    justify-content: center;
    margin: 18px 24px 0;
    text-align: center;
  }
}
@media (max-width: 560px) {
  section { padding: 64px 0; }
  .hero p.sub { font-size: 16px; }
  .pain-grid, .feat-grid, .env-grid { grid-template-columns: 1fr; }
  .feature-visual img { width: min(100%, 340px); }
  .chain {
    grid-template-columns: 1fr;
    row-gap: 28px;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
  }
  .chain .node { padding: 16px 8px 8px; }
  .chain .node:not(:last-child)::after {
    display: block;
    content: "↓";
    position: absolute;
    bottom: -20px;
    left: 50%;
    right: auto;
    top: auto;
    transform: translateX(-50%);
    font-size: 16px;
  }
  .price-box { padding: 34px 22px; }
  .price-cards { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; margin-bottom: 28px; }
  .hero { padding: 56px 0 70px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) and (min-width: 921px) {
  .feat-grid .feat.reveal {
    transform: translate(var(--x, 0), var(--y, 0));
  }
  .feature-visual.reveal {
    transform: translate(-50%, -50%);
  }
}

/* ヒーロー右カラム ハブ図 */
.hero-figure { width: 100%; max-width: 520px; margin-inline: auto; }
.hub-svg { width: 100%; height: auto; display: block; }

.hub-svg .card-rect { fill: #fff; stroke: #d7e6ee; stroke-width: 1.5; }
.hub-svg .card-label { fill: #182a35; font-size: 17px; font-weight: 700; text-anchor: middle; }
.hub-svg .ph-circle { fill: #e8f5fb; }
.hub-svg .link-line { stroke: #b9d6e4; stroke-width: 1.5; fill: none; stroke-linecap: round; }
.hub-svg .pc-screen { fill: #182a35; }
.hub-svg .pc-bezel { fill: #223644; }
.hub-svg .pc-base { fill: #2d4452; }

.hub-svg .reveal-item { opacity: 0; transform-box: fill-box; transform-origin: center bottom; }
.hub-svg .pc-group { opacity: 0; transform-box: fill-box; transform-origin: center; }

@keyframes hubPcIn { from { opacity: 0; transform: translateY(14px);} to { opacity: 1; transform: none; } }
@keyframes hubPop  { from { opacity: 0; transform: translateY(12px);} to { opacity: 1; transform: none; } }
@keyframes hubDraw { to { stroke-dashoffset: 0; } }

.hub-svg .pc-group { animation: hubPcIn .6s ease forwards; }
.hub-svg .i1 { animation: hubPop .55s ease forwards .55s; }
.hub-svg .i2 { animation: hubPop .55s ease forwards .85s; }
.hub-svg .i3 { animation: hubPop .55s ease forwards 1.15s; }
.hub-svg .i4 { animation: hubPop .55s ease forwards 1.45s; }
.hub-svg .i5 { animation: hubPop .55s ease forwards 1.75s; }

.hub-svg .link-line { stroke-dasharray: 300; stroke-dashoffset: 300; }
.hub-svg .l1 { animation: hubDraw .5s ease forwards .5s; }
.hub-svg .l2 { animation: hubDraw .5s ease forwards .8s; }
.hub-svg .l3 { animation: hubDraw .5s ease forwards 1.1s; }
.hub-svg .l4 { animation: hubDraw .5s ease forwards 1.4s; }
.hub-svg .l5 { animation: hubDraw .5s ease forwards 1.7s; }

@media (prefers-reduced-motion: reduce) {
  .hub-svg .reveal-item, .hub-svg .pc-group { opacity: 1; animation: none; }
  .hub-svg .link-line { stroke-dashoffset: 0; animation: none; }
}

/* ============ 機能紹介ページ共通 ============ */

.breadcrumb {
  background: var(--sky-mist);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  font-size: 13px;
  color: var(--ink-soft);
}
.breadcrumb-inner { display: flex; align-items: center; gap: 6px; }
.breadcrumb-inner a { color: var(--sky); }
.breadcrumb-inner a:hover { text-decoration: underline; }
.breadcrumb-inner .sep { color: #b0c4ce; }

.fn-hero {
  padding: 80px 0 64px;
  background: linear-gradient(160deg, #f0f8fd 0%, var(--sky-mist) 100%);
  overflow: hidden;
}
.fn-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.fn-h1 {
  font-size: clamp(28px, 4.2vw, 44px);
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: .01em;
  margin: 10px 0 16px;
  color: var(--ink);
}
.fn-sub {
  font-size: clamp(14px, 1.5vw, 16.5px);
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 500px;
}
.fn-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.fn-hero-fig { width: 100%; max-width: 500px; margin-inline: auto; }
.fn-hero-fig svg { width: 100%; height: auto; display: block; }

.fn-blocks { padding: 96px 0; }
.fn-block-wrap { margin-bottom: 88px; }
.fn-block-wrap:last-child { margin-bottom: 0; }
.fn-block-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.fn-block-grid.alt .fn-block-fig { order: -1; }

.fn-block-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--sky-deep);
  background: var(--sky-pale);
  border-radius: 99px;
  padding: 4px 12px;
  margin-bottom: 12px;
}
.new-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #e85428;
  border-radius: 4px;
  padding: 2px 7px;
  margin-left: 6px;
  vertical-align: middle;
  letter-spacing: .03em;
}
.fn-block-copy h2 {
  font-size: clamp(20px, 2.6vw, 27px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 14px;
}
.fn-block-copy p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.85;
}
.fn-block-fig .fig-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px -20px rgba(24,42,53,.22);
}
.fn-block-fig svg { width: 100%; height: auto; display: block; }

.fn-nav-section {
  background: var(--sky-mist);
  padding: 80px 0;
}
.fn-nav-title {
  text-align: center;
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 40px;
}
.fn-nav-section .feat {
  background: #fff;
}
.feat.is-current {
  background: var(--sky-pale);
  border-color: var(--sky);
  pointer-events: none;
  cursor: default;
}
.feat.is-current h4 { color: var(--sky-deep); }
.feat.is-current:hover { transform: none; box-shadow: none; }

/* 機能インデックスページ */
.fn-intro {
  background: var(--sky-mist);
  padding: 64px 0;
}
.fn-intro-text {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.8;
}

/* レスポンシブ */
@media (max-width: 920px) {
  .fn-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .fn-hero-fig { order: -1; max-width: 420px; margin: 0 auto; }
  .fn-block-grid { grid-template-columns: 1fr; gap: 32px; }
  .fn-block-grid.alt .fn-block-fig { order: 0; }
}
@media (max-width: 560px) {
  .fn-hero { padding: 56px 0 48px; }
  .fn-blocks { padding: 64px 0; }
  .fn-block-wrap { margin-bottom: 56px; }
  .fn-nav-section { padding: 56px 0; }
}
