/* =========================================================
   TakeRoot — AI業務自動化サポート LP
   デザイン方針: 白基調・タイポグラフィ主体・余白広め・
   アクセントはブルー1色（Goodpatch風のミニマルモダン）
   ========================================================= */
:root {
  --black: #0b0d12;
  --text: #1b1f27;
  --text-sub: #697080;
  --blue: #0052ff;
  --blue-soft: #eef3ff;
  --line: #e6e8ec;
  --gray: #f6f7f9;
  --white: #ffffff;
  --header-h: 68px;
  --en: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.9;
  font-size: 15.5px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1000px; margin: 0 auto; padding: 0 28px; }
.pc { display: inline; }
.sp { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition:
    background 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn-primary {
  background: #ffd23f;
  color: var(--black);
  font-size: 15.5px;
  padding: 16px 36px;
  box-shadow: 0 8px 22px rgba(255, 210, 63, 0.4);
}
.btn-primary:hover {
  background: var(--black);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(11, 13, 18, 0.25);
}
.btn-primary .arrow {
  font-family: var(--en);
  font-weight: 600;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn-primary:hover .arrow { transform: translateX(4px); }
.btn-header {
  background: var(--black);
  color: #fff;
  font-size: 13px;
  padding: 10px 20px;
}
.btn-header:hover { background: var(--blue); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  z-index: 100;
  transition: border-color 0.2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  height: 100%;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  font-family: var(--en);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-name {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}
.brand-yomi {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--text-sub);
  margin-top: 3px;
}
.brand-tag {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-sub);
}
.gnav {
  display: flex;
  gap: 26px;
  margin-left: auto;
}
.gnav a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.15s ease;
}
.gnav a:hover { color: var(--blue); }

/* ---------- Hero ---------- */
.hero {
  padding: calc(var(--header-h) + 88px) 0 96px;
  background: var(--white);
}
.hero-en {
  font-family: var(--en);
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--blue);
  margin-bottom: 22px;
}
.hero-target {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
}
.hero-target::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--blue);
  border-radius: 2px;
  flex-shrink: 0;
}
.hero h1 {
  font-size: 46px;
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: var(--black);
  margin-bottom: 24px;
}
.hero h1 .accent { color: var(--blue); }
.hero .lead {
  font-size: 15.5px;
  color: var(--text-sub);
  margin-bottom: 38px;
}
.hero-cta { margin-bottom: 34px; }
.cta-note {
  font-size: 13px;
  color: var(--text-sub);
  margin-top: 14px;
}
.hero-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}
.hero-chips li {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-sub);
}
.hero-chips li::before {
  content: "✓";
  color: var(--blue);
  font-weight: 700;
  margin-right: 8px;
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--gray); }
section[id] { scroll-margin-top: var(--header-h); }

.sec-head { margin-bottom: 44px; }
.sec-en {
  font-family: var(--en);
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--blue);
  margin-bottom: 10px;
}
.sec-head h2 {
  font-size: 31px;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: var(--black);
}

/* ---------- Pain ---------- */
.pain-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pain-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-weight: 500;
  font-size: 14.5px;
}
.pain-item .check { color: var(--blue); font-weight: 900; flex-shrink: 0; line-height: 1.9; }
.pain-note {
  margin-top: 22px;
  background: var(--gray);
  border-left: 3px solid var(--blue);
  border-radius: 0 8px 8px 0;
  padding: 16px 22px;
  font-size: 14.5px;
}

/* ---------- Hidden cost ---------- */
.cost-flow { display: flex; align-items: stretch; gap: 14px; }
.cost-card {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px 20px;
  text-align: center;
}
.cost-card-em { background: var(--black); border-color: var(--black); }
.cost-label { font-size: 13px; font-weight: 500; color: var(--text-sub); margin-bottom: 6px; }
.cost-value { font-size: 19px; font-weight: 900; color: var(--black); line-height: 1.3; }
.cost-value strong {
  font-family: var(--en);
  font-size: 42px;
  font-weight: 700;
  color: var(--blue);
  padding: 0 3px;
}
.cost-sub { font-size: 12px; color: var(--text-sub); margin-top: 8px; }
.cost-card-em .cost-label { color: rgba(255, 255, 255, 0.65); }
.cost-card-em .cost-value { color: #fff; }
.cost-card-em .cost-value strong { color: #8fb0ff; }
.cost-card-em .cost-sub { color: rgba(255, 255, 255, 0.55); }
.cost-arrow {
  display: flex;
  align-items: center;
  font-family: var(--en);
  font-size: 20px;
  font-weight: 700;
  color: var(--blue);
  flex-shrink: 0;
}
.cost-note {
  margin-top: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 22px;
  font-size: 14.5px;
}

/* ---------- Principles ---------- */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.principle {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 26px;
}
.principle .num {
  font-family: var(--en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 12px;
}
.principle h3 { font-size: 17px; font-weight: 700; color: var(--black); margin-bottom: 8px; }
.principle p { font-size: 13.5px; color: var(--text-sub); }

/* ---------- Menu ---------- */
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.menu-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.menu-card:hover {
  border-color: #c9cfd8;
  box-shadow: 0 10px 28px rgba(11, 13, 18, 0.06);
}
.menu-card .m-num {
  font-family: var(--en);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 6px;
}
.menu-card h3 {
  font-size: 17.5px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 16px;
}
.ba { font-size: 14px; }
.ba .before, .ba .after { display: flex; gap: 9px; align-items: flex-start; }
.ba .tag {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  padding: 1.5px 9px;
  margin-top: 5px;
}
.ba .before .tag { background: #eef0f3; color: var(--text-sub); }
.ba .after .tag { background: var(--blue); color: #fff; }
.ba .before { color: var(--text-sub); margin-bottom: 9px; }
.ba .after { font-weight: 500; color: var(--text); }
.menu-note {
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-sub);
  text-align: center;
}
.mid-cta { text-align: center; margin-top: 36px; }

/* ---------- Trust ---------- */
.trust-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 34px 36px;
}
.trust-box .headline { font-size: 20px; font-weight: 900; color: var(--black); margin-bottom: 10px; }
.trust-box .desc { font-size: 14.5px; margin-bottom: 18px; }
.trust-list { list-style: none; }
.trust-list li {
  padding: 11px 0 11px 26px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  font-weight: 500;
  position: relative;
}
.trust-list li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 19px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--blue);
}
.trust-box .demo-note {
  margin-top: 20px;
  background: var(--blue-soft);
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
}
.trust-story {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--text-sub);
}

/* ---------- Pricing steps ---------- */
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px 30px;
  margin-bottom: 14px;
  display: flex;
  gap: 26px;
  align-items: flex-start;
}
.step .s-num {
  font-family: var(--en);
  font-size: 26px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.3;
  flex-shrink: 0;
  width: 52px;
}
.step h3 { font-size: 17.5px; font-weight: 700; color: var(--black); }
.price {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 6px;
  padding: 1.5px 11px;
  margin-left: 10px;
  vertical-align: 2px;
}
.price-free { background: var(--blue); color: #fff; }
.step p { font-size: 14px; color: var(--text-sub); margin-top: 6px; }

.advisor {
  background: var(--black);
  color: #fff;
  border-radius: 12px;
  padding: 28px 30px;
  margin-top: 24px;
}
.advisor .small-label {
  font-family: var(--en);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #8fb0ff;
  margin-bottom: 8px;
}
.advisor h3 { font-size: 17.5px; font-weight: 700; }
.advisor .price { background: rgba(143, 176, 255, 0.16); color: #a8c2ff; }
.advisor p { font-size: 14px; color: rgba(255, 255, 255, 0.78); margin-top: 8px; }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--black);
  padding: 21px 56px 21px 36px;
  cursor: pointer;
  position: relative;
  line-height: 1.6;
  transition: color 0.15s ease;
}
.faq-q:hover { color: var(--blue); }
.faq-q::before {
  content: "Q.";
  font-family: var(--en);
  color: var(--blue);
  font-weight: 700;
  position: absolute;
  left: 4px;
  top: 21px;
}
.faq-icon {
  position: absolute;
  right: 8px;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--black);
  border-radius: 2px;
  transition: transform 0.25s ease, background 0.15s ease;
}
.faq-icon::before { left: 0; top: 6px; width: 14px; height: 2px; }
.faq-icon::after { left: 6px; top: 0; width: 2px; height: 14px; }
.faq-q:hover .faq-icon::before, .faq-q:hover .faq-icon::after { background: var(--blue); }
.faq-item.open .faq-icon::after { transform: scaleY(0); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-a p {
  font-size: 14px;
  color: var(--text-sub);
  padding: 0 8px 22px 36px;
}

/* ---------- Contact ---------- */
.contact {
  background: var(--black);
  color: #fff;
  padding: 96px 0;
  scroll-margin-top: var(--header-h);
}
.contact-head { text-align: center; margin-bottom: 44px; }
.sec-en-light { color: #8fb0ff; }
.contact-head h2 {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0.01em;
  margin-bottom: 14px;
}
.contact-lead { font-size: 14.5px; color: rgba(255, 255, 255, 0.75); }
.contact-note { font-size: 12.5px; color: rgba(255, 255, 255, 0.55); margin-top: 16px; }

.contact-form {
  max-width: 620px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 40px 40px 34px;
  color: var(--text);
}
.form-row { margin-bottom: 22px; }
.form-row label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}
.form-row .req {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  padding: 1px 8px;
  margin-left: 8px;
  vertical-align: 1px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--gray);
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
}
.form-row textarea { resize: vertical; min-height: 112px; }

/* honeypot: 画面外に隠す（display:noneより bot に気付かれにくい） */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.privacy-note {
  font-size: 12.5px;
  color: var(--text-sub);
  margin-bottom: 20px;
}
.form-status {
  display: none;
  background: #fdecec;
  border: 1px solid #e8a6a6;
  color: #b03030;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13.5px;
  margin-bottom: 20px;
  white-space: pre-line;
}
.form-status.show { display: block; }
.btn-submit { width: 100%; justify-content: center; }
.btn-submit:disabled {
  background: #c9ced6;
  color: #fff;
  box-shadow: none;
  transform: none;
  cursor: not-allowed;
}

.form-done {
  max-width: 620px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 60px 40px;
  color: var(--text);
  text-align: center;
}
.form-done .done-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  line-height: 60px;
}
.form-done h3 { font-size: 21px; font-weight: 900; color: var(--black); margin-bottom: 10px; }
.form-done p { font-size: 14.5px; color: var(--text-sub); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 36px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-brand {
  font-family: var(--en);
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
}
.footer-yomi {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-sub);
  margin-left: 9px;
}
.footer-name { font-size: 12.5px; color: var(--text-sub); margin-top: 2px; }
.footer-copy { font-size: 12.5px; color: var(--text-sub); }

/* ---------- Reveal animation ----------
   JSが動作する環境（html.js）でのみ非表示にする。
   JS無効・読込失敗時でも全コンテンツが表示される */
html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
html.js .reveal.visible { opacity: 1; transform: none; }
html.js .reveal.no-anim { transition: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .menu-card { transition: none; }
}

/* =========================================================
   Decorations — 背景装飾（グリッド・グロー・ウォーターマーク）
   アクセントの黄色: #ffd23f（カーソル・選択・マーカーで使用）
   ========================================================= */
::selection { background: #ffd23f; color: var(--black); }

/* ヒーロー: 薄いグリッド線 + 青×黄のグロー */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(11, 13, 18, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11, 13, 18, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.35) 60%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.35) 60%, transparent 100%);
  animation: grid-pan 8s linear infinite;
  pointer-events: none;
}
@keyframes grid-pan {
  from { background-position: 0 0; }
  to   { background-position: 56px 56px; } /* タイル1マス分=シームレスにループ */
}
.hero::after {
  content: "";
  position: absolute;
  width: 800px;
  height: 800px;
  right: -240px;
  top: -220px;
  background:
    radial-gradient(circle 290px at 45% 40%, rgba(0, 82, 255, 0.17), transparent 100%),
    radial-gradient(circle 240px at 64% 62%, rgba(255, 210, 63, 0.22), transparent 100%);
  animation: float-blob 9s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes float-blob {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-70px, 44px) scale(1.1); }
  100% { transform: translate(-30px, 90px) scale(1.04); }
}
.hero .wrap { position: relative; z-index: 1; }

/* 見出しアクセントに黄色マーカー */
.hero h1 .accent {
  background-image: linear-gradient(transparent 66%, rgba(255, 210, 63, 0.55) 66%, rgba(255, 210, 63, 0.55) 94%, transparent 94%);
}

/* セクションのアウトライン英字ウォーターマーク */
section[data-wm] { position: relative; overflow: hidden; }
section[data-wm]::before {
  content: attr(data-wm);
  position: absolute;
  top: 30px;
  right: -6px;
  font-family: var(--en);
  font-size: clamp(80px, 13vw, 148px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(11, 13, 18, 0.08);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  animation: wm-drift 12s ease-in-out infinite alternate;
}
@keyframes wm-drift {
  from { transform: translateX(0); }
  to   { transform: translateX(-32px); }
}
section[data-wm] > .wrap { position: relative; z-index: 1; }

/* グレーセクションにドットテクスチャ */
.section-alt {
  background-image: radial-gradient(circle, rgba(11, 13, 18, 0.055) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Contact（黒）: 白グリッド + ブルーグロー */
.contact { position: relative; overflow: hidden; }
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 25%, transparent 72%);
          mask-image: radial-gradient(ellipse at 50% 0%, #000 25%, transparent 72%);
  animation: grid-pan 10s linear infinite;
  pointer-events: none;
}
.contact::after {
  content: "";
  position: absolute;
  width: 900px;
  height: 900px;
  left: 50%;
  top: -420px;
  transform: translateX(-50%);
  background: radial-gradient(circle 380px at 50% 50%, rgba(0, 82, 255, 0.32), transparent 100%);
  animation: glow-pulse 7s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes glow-pulse {
  from { transform: translateX(-50%) scale(1); opacity: 1; }
  to   { transform: translateX(-50%) scale(1.18); opacity: 0.8; }
}
.contact .wrap { position: relative; z-index: 1; }

/* =========================================================
   カスタムカーソル（黄色）
   マウスが動いている間だけ表示。リンク上でリングが拡大。
   タッチ端末では非表示（@media pointer: coarse）
   ========================================================= */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  will-change: transform;
}
.cursor-dot {
  width: 8px;
  height: 8px;
  background: #ffd23f;
  transition: opacity 0.25s ease;
}
.cursor-ring {
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(255, 210, 63, 0.9);
  transition: opacity 0.25s ease, width 0.25s ease, height 0.25s ease, background 0.25s ease;
}
html.cursor-active .cursor-dot,
html.cursor-active .cursor-ring { opacity: 1; }
.cursor-ring.is-hover {
  width: 62px;
  height: 62px;
  background: rgba(255, 210, 63, 0.16);
  border-color: #ffd23f;
}
@media (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero::after,
  section[data-wm]::before,
  .contact::before,
  .contact::after { animation: none; }
  .cursor-dot, .cursor-ring { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .gnav { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .pc { display: none; }
  .sp { display: inline; }
  .brand { font-size: 17px; }
  .brand-tag { display: none; }
  .btn-header { font-size: 12px; padding: 9px 16px; }
  .hero { padding: calc(var(--header-h) + 52px) 0 60px; }
  .hero h1 { font-size: 29px; }
  .hero .lead { font-size: 14.5px; }
  .btn-primary { display: flex; justify-content: center; padding: 16px 24px; }
  .mid-cta .btn-primary { display: inline-flex; }
  .section { padding: 60px 0; }
  .sec-head { margin-bottom: 30px; }
  .sec-head h2 { font-size: 23px; }
  .pain-list, .menu-grid, .principles { grid-template-columns: 1fr; }
  .cost-flow { flex-direction: column; }
  .cost-arrow { justify-content: center; transform: rotate(90deg); }
  section[data-wm]::before { font-size: 64px; top: 16px; }
  .step { flex-direction: column; gap: 10px; padding: 22px; }
  .step .s-num { width: auto; }
  .trust-box { padding: 26px 22px; }
  .contact { padding: 60px 0; }
  .contact-head h2 { font-size: 23px; }
  .contact-form { padding: 28px 22px 24px; }
  .form-done { padding: 44px 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
}
