/* =========================================================
   マカセルAIメルマガ LP  style.css  (v2)
   配色は管理画面（ネイビー × グリーン）に合わせています
   ========================================================= */

:root {
  --navy: #0b1b2b;
  --navy-2: #132539;
  --navy-3: #1a304a;
  --navy-line: #24405c;
  --green: #1f7a59;
  --green-dark: #155c43;
  --green-light: #5cc39a;
  --green-pale: #9fd6bd;
  --mint: #e7f2ec;
  --bg: #f6f7f9;
  --line: #e1e5ea;
  --text: #0b1b2b;
  --sub: #4b5563;
  --on-dark: #cfd6de;
  --on-dark-sub: #9fb0c2;
  --required: #b4410c;
  --error: #b42318;

  --radius: 12px;
  --radius-lg: 16px;
  --container: 1120px;
  --header-h: 72px;
  --shadow-sm: 0 1px 2px rgba(11, 27, 43, .06), 0 2px 8px rgba(11, 27, 43, .04);
  --shadow-md: 0 10px 30px rgba(11, 27, 43, .10);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --font: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: #fff; color: var(--text);
  font-family: var(--font); font-size: 16px; line-height: 1.8;
  font-feature-settings: "palt"; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
a:hover { color: var(--green-dark); }
address { font-style: normal; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid #f2b84b; outline-offset: 2px; border-radius: 4px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.2em; height: 1.2em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 700;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: calc(var(--container) + 40px); margin: 0 auto; padding: 0 20px; position: relative; }
.container-narrow { max-width: 920px; }

.show-sp { display: inline !important; }
.hide-sp { display: none !important; }
@media (min-width: 768px) {
  .show-sp { display: none !important; }
  .hide-sp { display: inline-flex !important; }
}

/* ---------- buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 10px;
  font-size: 16px; font-weight: 700; line-height: 1.3; text-align: center; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease-out), box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 14px; border-radius: 8px; gap: 6px; }
.btn-lg { min-height: 60px; padding: 0 28px; font-size: 17px; }
.btn-block { display: flex; width: 100%; }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 6px 16px rgba(31, 122, 89, .28); }
.btn-primary:hover { background: var(--green-dark); color: #fff; box-shadow: 0 10px 22px rgba(31, 122, 89, .34); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost-light { border-color: rgba(255, 255, 255, .85); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: #fff; color: var(--navy); }
.section-green .btn-ghost-light:hover { color: var(--green-dark); }
/* LINEのボタン：LINE公式のブランドカラー #06C755 に白抜きの太字（ご指定）。
   白文字はコントラスト比が約 2.3:1 で WCAG AA（4.5:1）に届かないため、アクセシビリティ指針の「例外」に記載している */
.btn-line { background: #06c755; border-color: #06c755; color: #fff; font-weight: 900; box-shadow: 0 6px 16px rgba(6, 199, 85, .28); }
.btn-line .btn-note { font-weight: 700; }
.btn-line:hover { background: #05b34c; border-color: #05b34c; color: #fff; box-shadow: 0 10px 22px rgba(6, 199, 85, .34); }
.section-green .btn-line { box-shadow: 0 6px 16px rgba(0, 0, 0, .22); }
.btn-note { font-size: 13px; font-weight: 500; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.ico-arrow { transition: transform .2s var(--ease-out); }
.btn:hover .ico-arrow { transform: translateX(4px); }
.btn:hover > .ico:first-child { animation: nudge .5s var(--ease-out); }
@keyframes nudge { 40% { transform: translateY(2px); } }

/* 光が流れるボタン */
.btn-shine::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-20deg); animation: shine 4.5s ease-in-out infinite 1.5s;
}
@keyframes shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid transparent;
  backdrop-filter: saturate(1.4) blur(8px);
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(11, 27, 43, .06); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; }
.brand:hover { color: var(--navy); }
.brand-mark {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: var(--green); color: #fff; font-weight: 900; font-size: 22px;
  display: grid; place-items: center; line-height: 1;
  transition: transform .4s var(--ease-out);
}
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.05); }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-size: 22px; font-weight: 900; letter-spacing: .04em; }
.brand-sub { font-size: 11px; color: var(--sub); }
.header-actions { display: flex; align-items: center; gap: 8px; }

.global-nav ul { display: flex; gap: 28px; }
.global-nav a { color: var(--navy); text-decoration: none; font-size: 15px; font-weight: 500; position: relative; }
.global-nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--green);
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease-out);
}
.global-nav ul a:hover { color: var(--green); }
.global-nav ul a:hover::after { transform: scaleX(1); }
.global-nav .nav-cta { display: none; }

.menu-toggle {
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: #fff;
  display: grid; place-items: center; cursor: pointer; padding: 0;
}
.menu-bar, .menu-bar::before, .menu-bar::after {
  display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; position: relative; transition: transform .25s, background-color .2s;
}
.menu-bar::before, .menu-bar::after { content: ""; position: absolute; left: 0; }
.menu-bar::before { top: -6px; }
.menu-bar::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-bar { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-bar::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bar::after { transform: translateY(-6px) rotate(-45deg); }

/* ヘッダーのメニューは 1200px 未満でハンバーガーにする（1024〜1199pxで項目が折り返すため） */
@media (max-width: 1199px) {
  .brand-sub { display: none; }
  html:not(.js) .global-nav, html:not(.js) .menu-toggle { display: none; }
  .global-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 99;
    max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h));
    overflow-y: auto; overscroll-behavior: contain;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 20px 24px; box-shadow: 0 12px 24px rgba(11, 27, 43, .08);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s, transform .25s var(--ease-out), visibility 0s .25s;
  }
  .global-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .25s var(--ease-out); }
  .global-nav ul { flex-direction: column; gap: 0; }
  .global-nav li a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .global-nav ul a::after { display: none; }
  .global-nav .nav-cta { display: flex; margin-top: 20px; color: #fff; font-size: 16px; font-weight: 700; }
}
@media (min-width: 1200px) { .menu-toggle { display: none; } }
@media (max-width: 380px) {
  .brand-name { font-size: 19px; }
  .header-actions .btn-sm { padding: 0 12px; }
  .header-actions .btn-sm .ico { display: none; }
}

/* ---------- sections ---------- */
.section { padding: 80px 0; position: relative; }
@media (min-width: 768px) { .section { padding: 112px 0; } }
.section-white { background: #fff; }
.section-gray { background: var(--bg); }
.section-navy { background: var(--navy); color: #fff; overflow: hidden; }
.section-green { background: var(--green); color: #fff; overflow: hidden; }

.section-head { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; margin-bottom: 44px; }
@media (min-width: 768px) { .section-head { margin-bottom: 56px; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--green);
}
.eyebrow::before, .eyebrow::after { content: ""; width: 20px; height: 2px; background: currentColor; border-radius: 2px; opacity: .6; }
.eyebrow-light { color: var(--green-light); }
.section-green .eyebrow-light { color: #d4efe2; }
.cta-copy .eyebrow::after { display: none; }
.section-title { font-size: clamp(22px, 3.4vw, 36px); line-height: 1.5; font-weight: 900; }
.cta-copy .section-title { font-size: clamp(22px, 2.6vw, 32px); }
.section-lead { color: var(--sub); font-size: 16px; }

.note { margin-top: 32px; font-size: 13px; line-height: 1.8; color: var(--on-dark-sub); text-align: center; }
.note-ref { color: inherit; text-decoration: none; font-size: .6em; vertical-align: super; margin-left: 2px; }

/* ---------- scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: calc(var(--d, 0) * 120ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- 01 hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; padding: 48px 0 72px;
  background:
    radial-gradient(circle at 1px 1px, rgba(159, 176, 194, .14) 1px, transparent 0) 0 0 / 28px 28px,
    var(--navy);
}
.hero::after { /* 画面の後ろの淡い光 */
  content: ""; position: absolute; width: 720px; height: 720px; right: -220px; top: -120px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(92, 195, 154, .18), transparent);
  pointer-events: none;
}
.hero-inner { display: grid; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.pill {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700;
  padding: 6px 14px; border-radius: 999px;
  background: var(--navy-2); color: var(--green-pale); border: 1px solid var(--navy-line);
}
.hero h1 { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.38; font-weight: 900; letter-spacing: .01em; }
.hl { position: relative; white-space: nowrap; }
.hl::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: -.02em; height: .14em; z-index: -1;
  background: #f5c842; border-radius: 3px; transform-origin: left; transform: scaleX(0);
  animation: underline 1s var(--ease-out) .9s forwards;
}
@keyframes underline { to { transform: scaleX(1); } }
.hero h1 { position: relative; z-index: 0; }
.hero-lead { color: var(--on-dark); font-size: clamp(15px, 1.4vw, 18px); line-height: 1.9; }
.hero-stat {
  align-self: flex-start; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px;
  padding: 14px 22px; border-radius: var(--radius);
  background: var(--navy-2); border: 1px solid var(--navy-line);
}
.hero-stat-label { font-size: 15px; color: var(--on-dark); }
.hero-stat-num { font-size: 48px; font-weight: 900; color: var(--green-light); line-height: 1; font-variant-numeric: tabular-nums; }
.hero-stat-num small { font-size: .6em; }
.hero-stat-unit { font-size: 20px; font-weight: 700; }
.check-list { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: var(--on-dark); }
.check-list li { display: flex; align-items: center; gap: 8px; }
.check-list .ico { color: var(--green-light); stroke-width: 3; width: 16px; height: 16px; }

.hero-in { opacity: 0; transform: translateY(24px); animation: heroIn .9s var(--ease-out) forwards; animation-delay: calc(.15s + var(--d, 0) * .12s); }
@keyframes heroIn { to { opacity: 1; transform: none; } }

.hero-visual { position: relative; }
.browser {
  border-radius: var(--radius); overflow: hidden; background: #fff;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .45); border: 1px solid var(--navy-line);
}
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #e9edf1; }
.browser-bar span { width: 10px; height: 10px; border-radius: 50%; background: #c3cbd4; }
.browser-bar span:first-child { background: #f08a7e; }
.browser-bar span:nth-child(2) { background: #f2c55c; }
.browser-bar span:nth-child(3) { background: #6fcf97; }
.browser-bar em { font-style: normal; font-size: 11px; color: #6b7785; margin-left: 10px; background: #fff; border-radius: 6px; padding: 1px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }

.toast {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: #fff; color: var(--text); border-radius: 12px; padding: 10px 14px 10px 10px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .28); font-size: 13px; line-height: 1.4; white-space: nowrap;
  opacity: 0;
}
.toast b { display: block; font-weight: 700; }
.toast small { display: block; font-size: 11px; color: var(--sub); }
.toast-ico { width: 34px; height: 34px; border-radius: 9px; background: var(--mint); color: var(--green); display: grid; place-items: center; }
.toast-ico-navy { background: var(--navy); color: #fff; }
.toast-ico .ico { width: 18px; height: 18px; }
.toast-1 { left: -18px; top: 18%; animation: toastIn .7s var(--ease-out) 1.2s forwards, float 6s ease-in-out 2s infinite; }
.toast-2 { right: -10px; bottom: -22px; animation: toastIn .7s var(--ease-out) 1.6s forwards, float 7s ease-in-out 2.4s infinite; }
.toast-3 { right: 18%; top: -20px; animation: toastIn .7s var(--ease-out) 2s forwards, float 5.5s ease-in-out 2.8s infinite; }
.toast-3 .toast-ico { background: var(--green); color: #fff; }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* 飛んでいくメール */
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.fly { position: absolute; width: 28px; height: 28px; fill: none; stroke: var(--green-light); stroke-width: 1.6; stroke-linejoin: round; opacity: 0; }
.fly-1 { left: 6%;  bottom: 8%;  animation: fly 11s linear 0s infinite; }
.fly-2 { left: 30%; bottom: 0;   animation: fly 13s linear 3s infinite; width: 22px; height: 22px; }
.fly-3 { left: 54%; bottom: 4%;  animation: fly 12s linear 6s infinite; }
.fly-4 { left: 80%; bottom: 0;   animation: fly 14s linear 8s infinite; width: 20px; height: 20px; }
@keyframes fly {
  0% { opacity: 0; transform: translate(0, 0) rotate(-8deg); }
  10% { opacity: .35; }
  80% { opacity: .2; }
  100% { opacity: 0; transform: translate(120px, -520px) rotate(10deg); }
}

@media (max-width: 767px) {
  .hero .btn-row .btn { width: 100%; }
  .btn-lg { font-size: 16px; padding: 0 16px; }
  .toast { font-size: 12px; padding: 8px 12px 8px 8px; }
  .toast small { display: none; }
  .toast-1 { left: -8px; top: auto; bottom: 22%; }
  .toast-2 { right: -6px; bottom: -18px; }
  .toast-3 { display: none; }
  .toast-ico { width: 28px; height: 28px; }
}
@media (min-width: 1024px) {
  .hero { padding: 88px 0 112px; }
  .hero-inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; }
  .hero .btn-lg { font-size: 16px; padding: 0 24px; }
  .hero-visual { margin-right: -110px; }
}

/* ---------- pictograms ---------- */
.pict { width: 72px; height: 72px; flex-shrink: 0; overflow: visible; }
.p-navy { fill: var(--navy); }
.p-green { fill: var(--green); }
.p-green-light { fill: var(--green-light); }
.p-mint { fill: var(--mint); }
.p-gray { fill: #b8c3ce; }
.p-frame { fill: none; stroke: var(--navy); stroke-width: 3; }
.p-limb { fill: none; stroke: var(--navy); stroke-width: 6.5; stroke-linecap: round; stroke-linejoin: round; }
.p-stroke-green, .p-stroke-white, .p-stroke-navy { fill: none; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.p-stroke-green { stroke: var(--green); }
.p-stroke-white { stroke: #fff; stroke-width: 3.2; }
.p-stroke-navy { stroke: var(--navy); stroke-width: 5; }
.pict-hand { transform-origin: 53px 22px; }
.problem-card.is-in .pict-hand, .problem-card:hover .pict-hand { animation: spin 2.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.problem-card:hover .p-arrow { animation: pushR .8s ease-in-out infinite; }
@keyframes pushR { 50% { transform: translateX(4px); } }
.problem-card.is-in .coin-top { animation: bob 2.6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-4px); } }
.problem-card.is-in .p-up { animation: upArrow 2.6s ease-in-out infinite; }
@keyframes upArrow { 50% { transform: translateY(-3px); } }
.p-q { transform-origin: 52px 50px; }
.problem-card.is-in .p-q { animation: pop 2.8s ease-in-out infinite; }
@keyframes pop { 0%, 80%, 100% { transform: scale(1); } 88% { transform: scale(1.12); } }

/* ---------- 02 problem ---------- */
.problem-grid { display: grid; gap: 14px; }
.problem-card {
  background: var(--bg); border-radius: var(--radius-lg); padding: 22px;
  display: grid; grid-template-columns: 72px 1fr; column-gap: 18px; row-gap: 4px; align-items: center;
  transition: transform .3s var(--ease-out), box-shadow .3s, background-color .3s;
}
.problem-card .pict { grid-row: span 2; }
.problem-card h3 { font-size: 16px; line-height: 1.5; font-weight: 700; align-self: end; }
.problem-card p { font-size: 14px; line-height: 1.7; color: var(--sub); align-self: start; }
.problem-card:hover { background: #fff; box-shadow: var(--shadow-md); transform: translateY(-4px); }
@media (min-width: 768px) { .problem-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1024px) {
  .problem-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .problem-card { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 32px 26px; }
  .problem-card .pict { width: 80px; height: 80px; margin-bottom: 4px; }
  .problem-card h3 { font-size: 18px; }
}
.bridge { margin-top: 56px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: clamp(19px, 2.2vw, 24px); font-weight: 900; }
.bridge em { font-style: normal; color: var(--green); background: linear-gradient(transparent 62%, var(--mint) 62%); padding: 0 2px; }
.bridge-arrow { width: 30px; height: 30px; fill: none; stroke: var(--green); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; animation: bounce 1.8s ease-in-out infinite; }
@keyframes bounce { 50% { transform: translateY(6px); } }

/* ---------- 03 steps ---------- */
.steps { display: grid; gap: 44px; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-no { display: flex; align-items: baseline; gap: 6px; font-size: 30px; font-weight: 900; color: var(--green); line-height: 1; }
.step-no span { font-size: 12px; letter-spacing: .14em; }
.step h3 { font-size: 19px; font-weight: 700; }
.step > p:last-child { font-size: 15px; color: var(--sub); line-height: 1.8; }
.step:not(:last-child)::after {
  content: ""; position: absolute; left: 50%; bottom: -34px; width: 24px; height: 24px; transform: translateX(-50%);
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f7a59' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 9l7 7 7-7'/%3E%3C/svg%3E");
}
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; }
  .step { padding: 28px; }
  .step:not(:last-child)::after { left: auto; right: -34px; bottom: auto; top: 50%; transform: translateY(-50%) rotate(-90deg); }
}

/* 画面の模型（HTML/CSSで描いた小さなUI） */
.mock { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 14px; aspect-ratio: 16 / 10; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--navy); }
.mock-bar .ico { color: var(--green); width: 16px; height: 16px; }
.mock-chips { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.mock-chips span { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.mock-chips span:nth-child(2) { background: var(--green); color: #fff; border-color: var(--green); }
.toggle { margin-left: auto; width: 30px; height: 17px; border-radius: 999px; background: var(--green); position: relative; }
.toggle::after { content: ""; position: absolute; width: 13px; height: 13px; border-radius: 50%; background: #fff; top: 2px; right: 2px; }
.mock-cal { flex: 1; display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.mock-cal i { background: #fff; border-radius: 4px; border: 1px solid #e8ecf0; }
.mock-cal i:nth-child(7n+2) { background: var(--mint); border-color: #cfe7da; }
.step.is-in .mock-cal i:nth-child(7n+2) { animation: calHit 4s ease-in-out infinite; }
.step.is-in .mock-cal i:nth-child(9)  { animation-delay: .5s; }
.step.is-in .mock-cal i:nth-child(16) { animation-delay: 1s; }
.step.is-in .mock-cal i:nth-child(23) { animation-delay: 1.5s; }
@keyframes calHit { 0%, 30%, 100% { background: var(--mint); } 10%, 20% { background: var(--green); } }

.mock-doc { flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.ln { display: block; height: 7px; border-radius: 4px; background: #d6dde4; width: 0; }
.ln-title { height: 10px; background: var(--navy); margin-bottom: 4px; --w: 58%; }
.step.is-in .ln { animation: type 5s steps(18, end) infinite; }
.step.is-in .ln:nth-child(2) { animation-delay: .5s; }
.step.is-in .ln:nth-child(3) { animation-delay: 1s; }
.step.is-in .ln:nth-child(4) { animation-delay: 1.5s; }
.step.is-in .ln:nth-child(5) { animation-delay: 2s; }
@keyframes type { 0% { width: 0; } 30%, 88% { width: var(--w, 90%); } 100% { width: var(--w, 90%); opacity: 0; } }
.dots b { animation: blink 1.4s infinite; font-weight: 700; }
.dots b:nth-child(2) { animation-delay: .2s; }
.dots b:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 60%, 100% { opacity: .2; } 30% { opacity: 1; } }
.ico-pulse { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.2) rotate(10deg); } }

.mock-bars { flex: 1; display: flex; align-items: flex-end; gap: 8%; padding: 6px 6px 0; border-bottom: 2px solid #d6dde4; }
.mock-bars i { flex: 1; height: var(--h); background: var(--green-light); border-radius: 4px 4px 0 0; transform-origin: bottom; transform: scaleY(0); }
.mock-bars i:last-child { background: var(--green); }
.step.is-in .mock-bars i { animation: grow 1.1s var(--ease-out) forwards; }
.step.is-in .mock-bars i:nth-child(2) { animation-delay: .1s; }
.step.is-in .mock-bars i:nth-child(3) { animation-delay: .2s; }
.step.is-in .mock-bars i:nth-child(4) { animation-delay: .3s; }
.step.is-in .mock-bars i:nth-child(5) { animation-delay: .4s; }
.step.is-in .mock-bars i:nth-child(6) { animation-delay: .5s; }
@keyframes grow { to { transform: scaleY(1); } }
.mock-send { margin-left: auto; }
.step.is-in .mock-send { animation: send 2.6s ease-in-out infinite; }
@keyframes send { 0% { transform: translate(0, 0); opacity: 1; } 60% { transform: translate(12px, -10px); opacity: 0; } 61% { transform: translate(-6px, 4px); opacity: 0; } 100% { transform: none; opacity: 1; } }

/* ---------- 04 effect ---------- */
.section-navy::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 1px 1px, rgba(159, 176, 194, .10) 1px, transparent 0) 0 0 / 28px 28px;
}
.compare {
  max-width: 820px; margin: 0 auto 40px; background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: var(--radius-lg);
  padding: 24px 20px; display: flex; flex-direction: column; gap: 14px;
}
.compare-title { font-size: 14px; font-weight: 700; color: var(--on-dark); }
.compare-row { display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; gap: 12px; }
.compare-label { font-size: 13px; font-weight: 700; color: var(--on-dark); }
.compare-track { height: 18px; background: rgba(255, 255, 255, .06); border-radius: 999px; overflow: hidden; }
.compare-bar { display: block; height: 100%; width: var(--w); border-radius: 999px; transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease-out) .3s; }
.compare-before { background: #5b6f85; }
.compare-after { background: var(--green-light); min-width: 10px; transition-delay: 1.1s; }
.compare.is-in .compare-bar { transform: scaleX(1); }
.compare-value { font-size: 15px; font-weight: 700; text-align: right; }
.compare-value-hl { color: var(--green-light); }
.compare-result { text-align: right; font-size: 16px; font-weight: 700; padding-top: 6px; border-top: 1px solid var(--navy-line); }
.compare-result strong { font-size: 34px; color: var(--green-light); font-variant-numeric: tabular-nums; }
@media (min-width: 768px) {
  .compare { padding: 32px 36px; }
  .compare-row { grid-template-columns: 80px 1fr 80px; gap: 16px; }
  .compare-track { height: 22px; }
}

.effect-grid { display: grid; gap: 16px; position: relative; }
.effect-card {
  background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: var(--radius-lg);
  padding: 28px 24px; display: flex; flex-direction: column; gap: 12px;
  transition: transform .3s var(--ease-out), border-color .3s;
}
.effect-card:hover { transform: translateY(-4px); border-color: var(--green); }
.effect-ico { width: 52px; height: 52px; border-radius: 14px; background: rgba(92, 195, 154, .14); color: var(--green-light); display: grid; place-items: center; }
.effect-ico .ico { width: 26px; height: 26px; stroke-width: 1.8; }
.effect-no { font-size: 13px; font-weight: 700; color: var(--green-light); letter-spacing: .1em; }
.effect-card h3 { font-size: 21px; font-weight: 700; }
.effect-card > p:last-child { color: var(--on-dark); font-size: 15px; }
@media (min-width: 1024px) {
  .effect-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .effect-card { padding: 36px 32px; }
}

/* ---------- 05 features ---------- */
.feature-grid { display: grid; gap: 14px; }
.feature-card {
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; background: #fff;
  display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; row-gap: 8px; align-items: center;
  transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s;
}
.feature-card p { grid-column: 1 / -1; font-size: 15px; color: var(--sub); }
.feature-card h3 { font-size: 18px; font-weight: 700; }
.icon-square { width: 52px; height: 52px; border-radius: 14px; background: var(--mint); color: var(--green); display: grid; place-items: center; transition: background-color .3s, color .3s, transform .4s var(--ease-out); }
.icon-square .ico { width: 26px; height: 26px; stroke-width: 1.8; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature-card:hover .icon-square { background: var(--green); color: #fff; transform: rotate(-6deg) scale(1.05); }
@media (min-width: 768px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .feature-card { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 32px 28px; }
  .feature-card h3 { font-size: 20px; }
  .icon-square { width: 56px; height: 56px; }
}

/* ---------- 06 cases ---------- */
.case-grid { display: grid; gap: 18px; }
.case-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease-out), box-shadow .3s; }
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.case-visual { background: var(--mint); aspect-ratio: 16 / 9; display: grid; place-items: center; }
.case-visual svg { width: 100%; height: 100%; }
.case-body { padding: 22px 24px 28px; display: flex; flex-direction: column; gap: 8px; }
.case-body h3 { font-size: 19px; font-weight: 700; }
.case-body p:last-child { font-size: 15px; color: var(--sub); }
.tag { align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--green); background: var(--mint); padding: 3px 10px; border-radius: 999px; }
@media (min-width: 768px) { .case-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }

.case-card.is-in .dash-flow { animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -20; } }
.case-card.is-in .env-float { animation: float 3s ease-in-out infinite; }
.case-card.is-in .cal-hit { animation: calBlink 2.4s ease-in-out infinite; }
@keyframes calBlink { 50% { opacity: .35; } }
.step-env { opacity: 0; }
.case-card.is-in .step-env { animation: stepIn 4.5s var(--ease-out) infinite; animation-delay: calc(var(--d) * .6s); }
@keyframes stepIn { 0% { opacity: 0; transform: translateY(10px); } 12%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.case-card.is-in .card-pass { animation: pass 3s ease-in-out infinite; }
@keyframes pass { 0%, 100% { transform: translateX(-26px); } 50% { transform: translateX(6px); } }

/* ---------- 07 safety ---------- */
.safety-grid { display: grid; border-top: 1px solid var(--line); }
.safety-item { display: flex; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line); transition: background-color .3s; }
.safety-item h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.safety-item p { font-size: 14px; color: var(--sub); line-height: 1.8; }
.icon-dark { width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; position: relative; }
.icon-dark .ico { width: 22px; height: 22px; stroke-width: 1.8; }
.icon-dark::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--green-light); opacity: 0; transform: scale(.8); transition: opacity .3s, transform .4s var(--ease-out); }
.safety-item:hover .icon-dark::after { opacity: 1; transform: scale(1); }
.safety-item:hover { background: var(--bg); }
@media (min-width: 768px) {
  .safety-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); border-left: 1px solid var(--line); }
  .safety-item { padding: 30px 26px; border-right: 1px solid var(--line); }
}
@media (min-width: 1024px) {
  .safety-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .safety-item { padding: 34px 28px; }
  .safety-item h3 { font-size: 18px; }
}

/* ---------- 08 flow ---------- */
.flow { display: grid; gap: 22px; }
.flow li { display: flex; gap: 16px; align-items: flex-start; }
.flow h3 { font-size: 17px; font-weight: 700; }
.flow p { font-size: 14px; color: var(--sub); line-height: 1.8; }
.flow-no {
  position: relative; width: 60px; height: 60px; flex-shrink: 0; border-radius: 50%;
  background: #fff; border: 2px solid var(--green); color: var(--green); display: grid; place-items: center;
}
.flow-no .ico { width: 26px; height: 26px; stroke-width: 1.8; }
.flow-no b { position: absolute; top: -6px; right: -6px; width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #fff; font-size: 13px; display: grid; place-items: center; }
.js .flow li { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); transition-delay: calc(var(--d) * 180ms); }
.js .flow.is-in li { opacity: 1; transform: none; }
.js .flow.is-in .flow-no { animation: popIn .5s var(--ease-out) both; animation-delay: calc(var(--d) * 180ms + .1s); }
@keyframes popIn { from { transform: scale(.6); } 70% { transform: scale(1.08); } to { transform: scale(1); } }
.flow-lead { margin-top: 48px; text-align: center; font-size: 17px; font-weight: 700; }
.flow-lead strong { font-size: 1.7em; color: var(--green); background: linear-gradient(transparent 62%, var(--mint) 62%); padding: 0 4px; }
@media (min-width: 1024px) {
  .flow { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .flow li { flex-direction: column; align-items: center; text-align: center; gap: 16px; position: relative; }
  .flow li:not(:last-child)::after {
    content: ""; position: absolute; top: 37px; left: calc(50% + 48px); right: calc(-50% + 48px);
    border-top: 2px dashed #9fd6bd; transform-origin: left; transform: scaleX(0); transition: transform .6s ease-out;
    transition-delay: calc(var(--d) * 180ms + .3s);
  }
  .flow.is-in li::after, html:not(.js) .flow li::after { transform: scaleX(1); }
  .flow-no { width: 76px; height: 76px; }
  .flow-no .ico { width: 30px; height: 30px; }
  .flow h3 { font-size: 18px; }
}

/* ---------- 09 price ---------- */
.price-grid { display: grid; gap: 20px; }
.price-card {
  position: relative; border: 2px solid var(--green); border-radius: var(--radius-lg); padding: 32px 24px 28px;
  display: flex; flex-direction: column; gap: 20px; background: #fff; box-shadow: 0 16px 40px rgba(31, 122, 89, .12);
}
.price-badge { position: absolute; top: -15px; left: 24px; font-size: 12px; font-weight: 700; color: #fff; background: var(--green); padding: 4px 14px; border-radius: 999px; }
.price-card h3, .setup-card h3 { font-size: 20px; font-weight: 700; }
.price-label { font-size: 14px; font-weight: 700; color: var(--sub); }
.price-value, .price-initial dd { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px; }
.price-value .num { font-size: clamp(48px, 5.4vw, 64px); font-weight: 900; line-height: 1.05; letter-spacing: -.01em; }
.price-day { display: inline-block; margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--green); background: var(--mint); padding: 2px 10px; border-radius: 6px; }
.yen { font-size: 20px; font-weight: 700; }
.tax { font-size: 13px; color: var(--sub); }
.price-initial { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.price-initial dt { font-size: 15px; font-weight: 700; }
.price-initial .num { font-size: 30px; font-weight: 900; }
.price-initial .yen { font-size: 16px; }
.price-text { font-size: 14px; color: var(--sub); }
.price-text strong { color: var(--navy); }
.price-card .btn { margin-top: auto; }

.setup-card { background: var(--bg); border-radius: var(--radius-lg); padding: 28px 24px; display: flex; flex-direction: column; gap: 16px; }
.setup-sub { font-size: 14px; color: var(--sub); margin-top: -8px; }
.setup-list { display: flex; flex-direction: column; gap: 12px; }
.setup-list li { display: flex; align-items: center; gap: 12px; font-size: 15px; line-height: 1.5; }
.setup-list .ico { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--green); color: #fff; stroke-width: 3.5; }
.js .setup-card .setup-list li { opacity: 0; transform: translateX(-10px); transition: opacity .5s, transform .5s var(--ease-out); }
.js .setup-card.is-in .setup-list li { opacity: 1; transform: none; }
.setup-card.is-in .setup-list li:nth-child(2) { transition-delay: .1s; }
.setup-card.is-in .setup-list li:nth-child(3) { transition-delay: .2s; }
.setup-card.is-in .setup-list li:nth-child(4) { transition-delay: .3s; }
.setup-card.is-in .setup-list li:nth-child(5) { transition-delay: .4s; }
.setup-card.is-in .setup-list li:nth-child(6) { transition-delay: .5s; }
.setup-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-weight: 700; }

.extra-cost { margin-top: 20px; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; display: flex; flex-direction: column; gap: 6px; }
.extra-cost h3 { font-size: 15px; font-weight: 700; flex-shrink: 0; }
.extra-cost p { font-size: 14px; color: var(--sub); }
@media (min-width: 1024px) {
  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .price-card, .setup-card { padding: 44px 40px 40px; }
  .price-badge { left: 40px; }
  .extra-cost { flex-direction: row; gap: 40px; padding: 24px 32px; }
}

/* ---------- 10 faq ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq { background: #fff; border-radius: var(--radius); border: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.faq:hover { border-color: var(--line); }
.faq[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  display: flex; gap: 14px; align-items: flex-start;
  padding: 20px 56px 20px 22px; font-size: 16px; font-weight: 700; line-height: 1.6;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; font-size: 14px; font-weight: 900; display: grid; place-items: center; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background:
    linear-gradient(var(--sub), var(--sub)) center / 14px 2px no-repeat,
    linear-gradient(var(--sub), var(--sub)) center / 2px 14px no-repeat;
  transition: transform .3s var(--ease-out);
}
.faq[open] summary::after { transform: rotate(135deg); }
.faq-a { display: flex; gap: 14px; padding: 0 22px 22px; }
.faq-a::before { content: "A"; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--mint); color: var(--green); font-size: 14px; font-weight: 900; display: grid; place-items: center; }
.faq-a p { font-size: 15px; color: var(--sub); padding-top: 2px; }
.faq[open] .faq-a { animation: faqIn .4s var(--ease-out); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }
@media (min-width: 768px) {
  .faq summary { padding: 22px 64px 22px 28px; }
  .faq-a { padding: 0 28px 24px; }
}

/* ---------- 11 cta + form ---------- */
.cta-deco { position: absolute; inset: 0; pointer-events: none; }
.deco { position: absolute; fill: none; stroke: rgba(255, 255, 255, .18); stroke-width: 1.4; stroke-linejoin: round; }
.deco-1 { width: 120px; height: 120px; left: -20px; top: 60px; animation: float 8s ease-in-out infinite; }
.deco-2 { width: 64px; height: 64px; left: 40%; bottom: 40px; animation: float 6s ease-in-out 1s infinite; }
.deco-3 { width: 90px; height: 90px; right: 3%; top: 30px; transform: rotate(12deg); animation: float 7s ease-in-out 2s infinite; }

.cta-inner { display: grid; gap: 40px; align-items: start; }
.cta-copy { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.cta-lead { font-size: 16px; line-height: 1.9; }
.pamphlet-points { display: flex; flex-direction: column; gap: 8px; }
.pamphlet-points li { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.pamphlet-points .ico { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: #fff; color: var(--green); stroke-width: 3.5; }
.trial { width: 100%; display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: var(--radius); background: rgba(0, 0, 0, .16); border: 1px solid rgba(255, 255, 255, .28); }
.trial { position: relative; }
.trial-badge { position: absolute; top: -12px; left: 20px; background: #f5c842; color: var(--navy); font-size: 13px; font-weight: 900; border-radius: 99px; padding: 2px 12px; letter-spacing: .08em; }
.trial-lead { font-size: clamp(22px, 2.4vw, 26px); font-weight: 900; line-height: 1.4; margin-top: 4px; }
.trial-sub { font-size: 15px; font-weight: 700; line-height: 1.7; }
.trial-name { font-size: 13.5px; font-weight: 700; line-height: 1.6; color: #fff; padding: 8px 12px; background: rgba(0, 0, 0, .18); border-radius: 8px; }
.trial-note { font-size: 13.5px; line-height: 1.7; color: #e7f2ec; }
.trial .btn { align-self: flex-start; margin-top: 4px; }
.btn-white { background: #fff; border-color: #fff; color: var(--green-dark); box-shadow: 0 6px 16px rgba(0, 0, 0, .18); }
.btn-white:hover { background: var(--mint); border-color: var(--mint); color: var(--green-dark); }
.consult { width: 100%; display: flex; flex-direction: column; gap: 14px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .25); }
.consult h3 { font-size: 15px; font-weight: 700; }
.consult .btn { align-self: flex-start; }
.tel { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; font-size: 15px; }
.tel .ico { width: 18px; height: 18px; }
.tel a { color: #fff; font-size: 22px; font-weight: 900; text-decoration: none; }

.form-card {
  background: #fff; color: var(--text); border-radius: 20px;
  padding: 28px 20px; display: flex; flex-direction: column; gap: 18px;
  box-shadow: 0 24px 60px rgba(6, 40, 28, .35);
}
.form-head { display: flex; gap: 14px; align-items: center; }
.form-ico { width: 48px; height: 48px; border-radius: 14px; background: var(--mint); color: var(--green); display: grid; place-items: center; flex-shrink: 0; }
.form-ico .ico { width: 24px; height: 24px; stroke-width: 1.8; }
.form-head h3 { font-size: 21px; font-weight: 900; line-height: 1.4; }
.form-head p { font-size: 13px; color: var(--sub); }
.req-text { font-weight: 700; color: var(--required); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-row { display: grid; gap: 18px; }
.field label { font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.req { font-size: 11px; color: #fff; background: var(--required); padding: 1px 6px; border-radius: 4px; line-height: 1.6; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select {
  width: 100%; height: 50px; border: 1.5px solid #c9d1d9; border-radius: 10px; padding: 0 14px;
  font-size: 16px; background: #fbfcfd; color: var(--text);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field input::placeholder { color: #8b96a3; }
.field input:hover, .field select:hover { border-color: #9aa5b1; }
.field input:focus, .field select:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(31, 122, 89, .18); }
.field [aria-invalid="true"] { border-color: var(--error); background: #fff8f7; animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.field-hint { font-size: 12px; color: var(--sub); }
.field-error { font-size: 13px; color: var(--error); font-weight: 700; }
.field-error:empty { display: none; }
.field-check { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px; min-height: 44px; }
.field-check input { width: 22px; height: 22px; margin: 0; accent-color: var(--green); }
.field-check label { font-weight: 500; }
.field-check .field-error { flex-basis: 100%; }
.form-error-summary { background: #fdecea; color: var(--error); border-radius: 8px; padding: 12px 14px; font-size: 14px; font-weight: 700; }
.form-foot { font-size: 12px; color: var(--sub); text-align: center; }
.form-promise { display: flex; align-items: flex-start; gap: 8px; background: var(--mint); border-radius: 8px; padding: 10px 12px; font-size: 13.5px; line-height: 1.6; color: var(--navy); }
.form-promise .ico { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; margin-top: 2px; }
.form-promise strong { display: block; font-size: 14.5px; font-weight: 700; }
.form-promise span { color: var(--sub); }
.form-promise strong { color: var(--navy); }
.form-card button[disabled] { opacity: .7; cursor: wait; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (min-width: 768px) {
  .form-card { padding: 40px; }
  .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
@media (min-width: 1024px) {
  .cta-inner { grid-template-columns: minmax(0, 1fr) 520px; gap: 64px; }
  .cta-copy { padding-top: 12px; position: sticky; top: calc(var(--header-h) + 32px); }
}

/* thanks page */
.thanks { align-items: flex-start; gap: 20px; }
.thanks .btn { align-self: stretch; }
.thanks-consult { width: 100%; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.thanks-consult h2 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
@media (min-width: 768px) { .thanks .btn { align-self: flex-start; } }

/* ---------- 12 footer ---------- */
.site-footer { background: var(--navy); color: var(--on-dark); padding: 48px 0 104px; font-size: 14px; }
.footer-top { display: flex; flex-direction: column; gap: 28px; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.brand-light, .brand-light:hover { color: #fff; }
.brand-light .brand-mark { width: 36px; height: 36px; font-size: 20px; }
.brand-light .brand-name { font-size: 20px; }
.site-footer address { line-height: 1.8; }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }
.footer-nav a { color: var(--on-dark); }
.footer-nav a:hover { color: #fff; }
.footer-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--navy-line); display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--on-dark-sub); }
@media (min-width: 1024px) {
  .site-footer { padding: 64px 0 40px; }
  .footer-top { flex-direction: row; justify-content: space-between; }
  .footer-nav { display: flex; gap: 28px; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

/* ---------- to top ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 24px; z-index: 80; width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-md);
  border: 2px solid #fff;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s var(--ease-out), visibility 0s .3s, background-color .2s, bottom .35s var(--ease-out);
}
.to-top .ico { transform: rotate(-90deg); width: 20px; height: 20px; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s var(--ease-out), background-color .2s, bottom .35s var(--ease-out); }
.to-top:hover { background: var(--green); color: #fff; }
/* スマホ・タブレット：画面下の固定ボタンが出ているときは、その上に表示する */
@media (max-width: 1023px) {
  .to-top { right: 14px; bottom: calc(16px + env(safe-area-inset-bottom)); width: 46px; height: 46px; }
  .sticky-cta.is-visible ~ .to-top { bottom: calc(84px + env(safe-area-inset-bottom)); }
}

/* ---------- sticky cta (sp) ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(11, 27, 43, .08);
  transform: translateY(110%); transition: transform .35s var(--ease-out);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .btn { flex: 1; min-height: 50px; padding: 0 10px; font-size: 14px; }
.sticky-cta .btn-primary { flex: 1.4; }
@media (min-width: 1024px) { .sticky-cta { display: none; } }



/* ---------- ロゴ（画像） ---------- */
.brand { gap: 12px; }
.brand-logo { height: 42px; width: auto; display: block; transition: transform .4s var(--ease-out); }
.brand:hover .brand-logo { transform: scale(1.03); }
.brand .brand-sub { font-size: 11px; line-height: 1.35; color: var(--sub); padding-left: 12px; border-left: 1px solid var(--line); }
.brand-light .brand-logo { height: 44px; }
@media (max-width: 1199px) { .brand .brand-sub { display: none; } }
@media (max-width: 767px) { .brand-logo { height: 36px; } }
@media (max-width: 360px) { .brand-logo { height: 26px; } }

/* ---------- スマホ幅の微調整 ---------- */
@media (max-width: 767px) {
  .header-actions .btn-sm .ico { display: none; }
  .brand-name { font-size: 20px; }
  .brand-mark { width: 36px; height: 36px; font-size: 20px; }
  .hero-stat { padding: 12px 18px; }
  .hero-stat-num { font-size: 40px; }
  .form-head h3 { font-size: 18px; }
  .form-card .btn-lg { font-size: 15px; }
}


/* =========================================================
   QA修正（レイアウト・アクセシビリティ）
   ========================================================= */

/* --- フォーカス表示：白い背景でも暗い背景でも見えるように2色にする --- */
:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; box-shadow: 0 0 0 6px #fff; border-radius: 4px; }
.hero :focus-visible, .section-navy :focus-visible, .section-green :focus-visible, .site-footer :focus-visible { outline-color: #fff; box-shadow: 0 0 0 6px var(--navy); }
.section-green .form-card :focus-visible { outline-color: var(--navy); box-shadow: 0 0 0 6px #fff; }
.field input[type="text"]:focus-visible, .field input[type="email"]:focus-visible, .field input[type="tel"]:focus-visible, .field select:focus-visible { outline: 3px solid var(--navy); outline-offset: 1px; }
.field-check input:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; box-shadow: none; }

/* --- 改行：文節で折り返し、見出しの行の長さをそろえる（対応ブラウザのみ） --- */
h1, h2, h3, .hero-lead, .cta-lead, .bridge, .flow-lead, .compare-title, .trial-lead, .trial-sub, .trial-name, .trial-note { word-break: auto-phrase; line-break: strict; }
h1, h2, h3 { text-wrap: balance; }
.btn-sm, .global-nav ul a { white-space: nowrap; }
.nowrap { white-space: nowrap; }

/* --- ヘッダー：狭い画面で詰まらないように --- */
.header-actions { flex-shrink: 0; }
.header-actions .btn, .menu-toggle { flex-shrink: 0; }
@media (max-width: 360px) {
  .header-inner { gap: 8px; }
  .header-actions { gap: 6px; }
  .header-actions .btn-sm { padding: 0 10px; font-size: 13px; }
  .brand-logo { height: 24px; }
}

/* --- ファーストビュー --- */
.hero-visual { margin-right: 0; }
@media (min-width: 1024px) and (max-width: 1199px) {
  .hero .btn-lg { font-size: 15px; padding: 0 18px; }
}
@media (min-width: 1200px) and (max-width: 1399px) {
  .toast-2 { right: 8px; }
}
@media (min-width: 1400px) {
  .hero-visual { margin-right: -110px; }
}
@media (max-width: 360px) {
  .hero h1 { font-size: 28px; }
  .hero-stat-label { flex-basis: 100%; }
}

/* --- 課題カード --- */
@media (min-width: 1024px) {
  .problem-card h3, .problem-card p { align-self: stretch; }
}
@media (max-width: 360px) {
  .problem-card { grid-template-columns: 56px 1fr; padding: 18px 16px; column-gap: 14px; }
  .problem-card .pict { width: 56px; height: 56px; }
}

/* --- タブレット（768〜1023px）の段組み --- */
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
  .step { padding: 20px; }
  .step:not(:last-child)::after { left: auto; right: -32px; bottom: auto; top: 50%; transform: translateY(-50%) rotate(-90deg); }
  .effect-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .step h3 { font-size: 17px; }
  .effect-card { padding: 24px 20px; }
  .effect-card h3 { font-size: 18px; }
  .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* --- 申し込みエリア --- */
.section-green { overflow: clip; }                 /* 左側の sticky を効かせるため hidden → clip */
.section-green .eyebrow-light { color: #fff; }       /* コントラスト 4.5:1 以上 */
.cta-copy .eyebrow::after, .thanks .eyebrow::after { display: none; }
.consult .btn { flex-wrap: wrap; row-gap: 0; }
.field input::placeholder { color: #667280; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select { border-color: #858f9c; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--error); background: #fff8f7; }
.field-check { position: relative; }
.field-check label { min-height: 44px; display: inline-flex; align-items: center; }
.btn-shine::after { background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .15), transparent); }
@media (max-width: 360px) {
  .btn-block, .btn-lg { font-size: 14px; padding: 0 12px; }
  .btn-block .ico, .btn-lg .ico { display: none; }
  .section-title { font-size: 20px; }
}

/* --- 注記の「※」を押しやすく --- */
.note-ref { display: inline-block; padding: 4px 6px; margin: -4px -4px -4px 0; }

/* --- スクロールで表示する要素：キーボードで移動したら、すぐ見えるように --- */
.js .reveal:focus-within { opacity: 1; transform: none; }

/* --- JavaScriptが無効でも中身が見えるように --- */
html:not(.js) .ln { width: var(--w, 90%); }
html:not(.js) .mock-bars i, html:not(.js) .compare-bar { transform: none; }
html:not(.js) .step-env { opacity: 1; }

/* --- フッター --- */
.footer-nav a { display: inline-block; padding: 10px 0; }
.nap a { display: inline-block; padding: 6px 0; }
@media (max-width: 360px) { .footer-nav { grid-template-columns: 1fr; gap: 0; } }

/* --- スマホを横にしたとき（画面の高さが低いとき） --- */
@media (max-height: 480px) and (orientation: landscape) and (max-width: 1199px) {
  :root { --header-h: 56px; }
  .brand-logo { height: 26px; }
  .sticky-cta { padding-top: 6px; padding-bottom: calc(6px + env(safe-area-inset-bottom)); }
  .sticky-cta .btn { min-height: 44px; }
  .sticky-cta.is-visible ~ .to-top { bottom: calc(66px + env(safe-area-inset-bottom)); }
}

/* --- 送信後のページ --- */
.thanks { box-shadow: var(--shadow-md); }

/* --- アニメーションを止めるボタン（WCAG 2.2.2） --- */
.motion-toggle {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px;
  border-radius: 999px; border: 1px solid var(--navy-line); background: rgba(19, 37, 57, .8); color: var(--on-dark);
  font-size: 12px; font-weight: 700; cursor: pointer;
}
.motion-toggle:hover { color: #fff; border-color: var(--on-dark-sub); }
.motion-toggle .ico { width: 14px; height: 14px; }
.hero .motion-toggle { position: absolute; right: 20px; bottom: 16px; z-index: 2; }
.footer-bottom .motion-toggle { align-self: flex-start; }
/* 止めたときは、途中で一時停止するのではなく「最後の状態」で静止させる（表示前の透明な状態で止まらないように） */
html.motion-paused *, html.motion-paused *::before, html.motion-paused *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
html.motion-paused.js .reveal, html.motion-paused.js .flow li, html.motion-paused.js .setup-card .setup-list li, html.motion-paused .hero-in, html.motion-paused .toast, html.motion-paused .step-env { opacity: 1 !important; transform: none !important; }
html.motion-paused .mock-bars i, html.motion-paused .compare-bar { transform: none !important; }
html.motion-paused .hl::after { transform: scaleX(1) !important; }
html.motion-paused .ln { width: var(--w, 90%) !important; }
html.motion-paused .fly, html.motion-paused .btn-shine::after { display: none; }

/* --- ファーストビュー右下：メルマガ体験 --- */
.hero-shot { position: relative; }
.hero-trial { display: flex; flex-direction: column; gap: 6px; margin-top: 36px; padding: 16px 18px 16px; background: #fff; color: var(--navy); text-decoration: none; border-radius: 14px; border: 2px solid #f5c842; box-shadow: 0 18px 40px rgba(0, 0, 0, .32); position: relative; z-index: 3; }
.hero-trial-badge { align-self: flex-start; background: #f5c842; color: var(--navy); font-size: 12px; font-weight: 900; letter-spacing: .06em; border-radius: 99px; padding: 2px 10px; }
.hero-trial-title { font-size: 18px; font-weight: 900; line-height: 1.45; word-break: auto-phrase; }
.hero-trial-cta { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-top: 4px; background: var(--green); color: #fff; font-size: 14px; font-weight: 700; border-radius: 99px; padding: 7px 14px; transition: background-color .2s; }
.hero-trial-cta .ico { width: 16px; height: 16px; }
.hero-trial:hover .hero-trial-cta { background: var(--green-dark); }
.hero-trial:hover .ico-arrow { transform: translateX(3px); }
.hero-trial:focus-visible { outline: 3px solid #f2b84b; outline-offset: 3px; }
@media (max-width: 767px) {
  .hero-trial-cta { align-self: stretch; justify-content: center; padding: 10px 14px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-trial { width: 380px; margin-left: auto; }
}
@media (min-width: 1024px) {
  .hero-trial { position: absolute; right: -14px; bottom: -78px; width: 300px; margin: 0; animation: float 7s ease-in-out 2.6s infinite; }
  .toast-1 { top: 26%; }
  .toast-2 { right: auto; left: -18px; top: 50%; bottom: auto; }
}
@media (min-width: 1200px) and (max-width: 1399px) {
  .hero-trial { right: 8px; }
  .toast-2 { right: auto; left: -18px; }
}

/* --- 画面に表示しない読み上げ用テキスト --- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- 動きを減らす設定のとき ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal, .hero-in, .toast, .js .flow li, .js .setup-card .setup-list li, .step-env { opacity: 1 !important; transform: none !important; }
  .fly, .btn-shine::after { display: none; }
  .ln { width: var(--w, 90%) !important; }
  .mock-bars i, .compare-bar { transform: none !important; }
  .hl::after { transform: scaleX(1) !important; }
}

/* ---------- フッターの会社情報 ---------- */
.nap { display: flex; flex-direction: column; gap: 2px; }
.nap a { color: var(--on-dark); }
.nap a:hover { color: #fff; }
.nap .map-link { margin-top: 6px; font-size: 13px; }

@media (prefers-reduced-motion: reduce) { .motion-toggle { display: none; } }
@media (max-width: 1023px) {
  .hero .motion-toggle { position: relative; right: auto; bottom: auto; display: flex; width: max-content; margin: 40px 20px 0 auto; }
}
html:not(.js) .motion-toggle { display: none; }

/* ---------- 文書ページ（アクセシビリティ指針など） ---------- */
.doc { background: #fff; border-radius: var(--radius-lg); padding: 32px 22px 40px; box-shadow: var(--shadow-sm); }
.doc h1 { font-size: clamp(26px, 3.4vw, 34px); font-weight: 900; line-height: 1.4; margin: 8px 0 16px; }
.doc h2 { font-size: clamp(19px, 2.2vw, 22px); font-weight: 700; line-height: 1.5; margin: 40px 0 12px; padding-left: 14px; border-left: 4px solid var(--green); }
.doc p + p { margin-top: 12px; }
.doc-lead { font-size: 16px; color: var(--sub); }
.doc-note { font-size: 14px; color: var(--sub); }
.doc-list { list-style: disc; padding-left: 1.4em; display: flex; flex-direction: column; gap: 8px; }
.doc-dl { display: grid; gap: 4px 24px; margin-bottom: 12px; }
.doc-dl dt { font-weight: 700; }
.doc-dl dd { margin: 0 0 8px; }
.doc .btn { margin-top: 4px; white-space: normal; }
.doc-toc { margin-top: 24px; background: var(--bg); border-radius: var(--radius); padding: 18px 22px; }
.doc-toc-title { font-weight: 700; margin-bottom: 6px; }
.doc-toc ol { margin: 0; padding-left: 1.8em; list-style: decimal; display: grid; gap: 4px 40px; }
.doc-toc li::marker { color: var(--green-dark); font-weight: 700; }
.doc p + .doc-dl, .doc p + .doc-list { margin-top: 10px; }
.doc .doc-list + p, .doc .doc-dl + p { margin-top: 12px; }
.doc-toc a { color: var(--green-dark); }
@media (min-width: 768px) { .doc-toc ol { grid-template-columns: 1fr 1fr; grid-auto-flow: column; grid-template-rows: repeat(6, auto); } }
.doc-date { margin-top: 40px !important; font-size: 14px; color: var(--sub); text-align: right; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 13px; color: var(--sub); }
.breadcrumb li + li::before { content: "›"; margin-right: 8px; color: #9aa5b1; }
.breadcrumb a { color: var(--green); }
@media (min-width: 768px) {
  .doc { padding: 48px 56px 56px; }
  .doc-dl { grid-template-columns: max-content 1fr; }
  .doc-dl dd { margin: 0; }
}
.footer-bottom a { color: var(--on-dark); }
.footer-bottom a:hover { color: #fff; }
.site-footer.footer-plain { padding-bottom: 40px; }

/* パンフレット欄の左側（メルマガ体験を追加して縦に長くなったため）：画面の高さが足りないときは追従させない */
@media (max-height: 979px) { .cta-copy { position: static; } }
@media (max-width: 599px) { .trial .btn { align-self: stretch; } }
/* 1024〜1199px は管理画面の画像が小さく、メルマガ体験の枠と重なるため、飾りの吹き出しを1つ減らす */
@media (min-width: 1024px) and (max-width: 1199px) { .toast-2 { display: none; } }

/* ===== 動作確認（5エージェント）での修正 ===== */
/* 文の最後に1〜2文字だけ落ちる改行を減らす */
p, li, dd, dt, summary, .faq-q, .btn-note { text-wrap: pretty; }
.faq summary, .doc-toc a, .setup-list li, .form-promise, .thanks h1 { word-break: auto-phrase; }
/* 1024〜1279px：ページ最下部で「先頭へ戻る」がコピーライトに重ならないよう、右に余白 */
@media (min-width: 1024px) and (max-width: 1279px) { .site-footer .footer-bottom { padding-right: 72px; } }
/* スマホ・タブレット：フォーム付近では「先頭へ戻る」を隠す（入力欄やボタンに重ならないように） */
.to-top.is-hidden-by-form { opacity: 0 !important; visibility: hidden; pointer-events: none; }
/* スマホ・タブレット：キーボード操作のフォーカスが下の固定ボタンに隠れないように */
@media (max-width: 1023px) { html { scroll-padding-bottom: 96px; } }
/* スマホの横向き：上下の固定バーで画面がふさがらないよう、下の固定ボタンは出さない。メニューは詰める */
@media (orientation: landscape) and (max-height: 480px) {
  .sticky-cta { display: none !important; }
  .sticky-cta.is-visible ~ .to-top { bottom: calc(16px + env(safe-area-inset-bottom)); }
  .global-nav li a { padding-top: 10px; padding-bottom: 10px; }
}
/* 400px以下：「96% 削減※」を1行に収める */
@media (max-width: 400px) { .hero-stat-label { flex-basis: 100%; } }
/* メールアドレスの打ち間違いのお知らせ */
.field-hint.is-suggest { color: #8a4b00; font-weight: 700; font-size: 13px; }
.mail-fix { margin-left: 6px; padding: 4px 10px; min-height: 32px; border: 1.5px solid currentColor; border-radius: 6px; background: #fff; color: inherit; font: inherit; font-size: 12.5px; cursor: pointer; }
.mail-fix:hover { background: #fff7ea; }
/* 資料請求後の画面：LINEボタンと電話の間に余白 */
.thanks-consult p + p { margin-top: 12px; }


/* SEO：見出し（h1）にサービスの種類を含める（見た目は変えない） */
.hero h1.hero-title { display: flex; flex-direction: column; gap: 22px; }
.hero-catch { display: block; }
.hero h1.hero-title .pill { line-height: 1.8; letter-spacing: normal; }

/* 料金：初期費用と読者数の条件を並べる */
.price-terms { margin: 0; }
.price-terms .price-initial + .price-initial { border-top: 0; }

/* ---------- パンフレット（白い背景のセクション） ---------- */
.pamphlet-inner { display: grid; gap: 40px; align-items: start; }
.pamphlet-copy { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.pamphlet-copy .eyebrow::after { display: none; }
.pamphlet-copy .section-title { font-size: clamp(22px, 2.6vw, 32px); }
.pamphlet-lead { font-size: 16px; line-height: 1.9; color: var(--sub); word-break: auto-phrase; }
.pamphlet-visual { position: relative; width: min(100%, 360px); aspect-ratio: 600 / 849; margin: 8px 0 12px 8px; }
.pamphlet-visual img { position: absolute; width: 86%; height: auto; border-radius: 4px; box-shadow: 0 10px 28px rgba(11, 27, 43, .14); }
.pamphlet-visual .pv-back { right: 0; top: 0; transform: rotate(4deg); border: 1px solid var(--line); }
.pamphlet-visual .pv-front { left: 0; bottom: 0; transform: rotate(-3deg); box-shadow: 0 18px 40px rgba(11, 27, 43, .22); }
.pamphlet-copy .pamphlet-points .ico { background: var(--mint); color: var(--green); }
.section-white .form-card { border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(11, 27, 43, .10); }
@media (min-width: 1024px) {
  .pamphlet-inner { grid-template-columns: minmax(0, 1fr) 520px; gap: 64px; }
  .pamphlet-copy { padding-top: 12px; }
}
@media (max-width: 767px) {
  .pamphlet-visual { width: min(80%, 280px); align-self: center; margin-left: 0; }
}

/* ---------- お問い合わせ ---------- */
.field textarea {
  width: 100%; min-height: 132px; border: 1.5px solid #c9d1d9; border-radius: 10px; padding: 12px 14px;
  font: inherit; font-size: 16px; line-height: 1.7; background: #fbfcfd; color: var(--text); resize: vertical;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea::placeholder { color: #8b96a3; }
.field textarea:hover { border-color: #9aa5b1; }
.field textarea:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(31, 122, 89, .18); }
.cta-copy .trial + .trial { margin-top: 8px; }

/* フッターのメニュー：項目の途中で改行しない（6項目に増えたため折り返しを調整） */
.footer-nav { display: flex; flex-wrap: wrap; gap: 0 24px; }
.footer-nav a { white-space: nowrap; }
@media (max-width: 360px) { .footer-nav { display: flex; gap: 0 20px; } }
@media (min-width: 1024px) {
  .footer-nav { gap: 0 28px; }
  .footer-top .footer-nav { justify-content: flex-end; max-width: 600px; }
}
/* チェックボックスを押しやすい大きさに */
.field-check input { width: 24px; height: 24px; }
