/* LinkedIn DM営業代行 LP  A案「図解で分かる」 */
:root {
  --white: #fff;
  --tint: #F3FAF6;
  --green: #0E5A47;
  --green-2: #2FA37C;
  --green-3: #E3F3EC;
  --orange: #F2892B;
  --orange-d: #D9731A;
  --text: #1F2D2A;
  --sub: #5B6B66;
  --line: #D9E7E0;
  --r-card: 20px;
  --shadow: 0 6px 20px rgba(14, 90, 71, .08);
  --shadow-up: 0 12px 28px rgba(14, 90, 71, .14);
  --font-h: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --font-b: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-b); font-size: 16px; line-height: 1.8; color: var(--text); background: var(--white); overflow-x: hidden; word-break: auto-phrase; overflow-wrap: anywhere; line-break: strict; }
img { max-width: 100%; height: auto; display: block; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { font-family: var(--font-h); font-weight: 700; line-height: 1.45; margin: 0; letter-spacing: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.ic { width: 1.4em; height: 1.4em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 200; background: var(--green); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 8px; }

.nb { display: inline-block; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 820px; }

/* ===== ボタン ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 10px 28px; border-radius: 999px; font-family: var(--font-b); font-weight: 700; font-size: 1rem; line-height: 1.3; text-decoration: none; text-align: center; border: 2px solid transparent; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.btn--accent { background: var(--orange); color: var(--text); box-shadow: 0 6px 16px rgba(242, 137, 43, .35); }
.btn--accent:hover { background: #F69A44; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(242, 137, 43, .4); }
.btn--outline { background: #fff; color: var(--green); border-color: var(--green); }
.btn--outline:hover { background: var(--green-3); transform: translateY(-2px); }
.btn--sm { min-height: 44px; padding: 8px 20px; font-size: .9375rem; }
.btn--lg { min-height: 56px; padding: 14px 36px; font-size: 1.0625rem; }

/* ===== オープニング ===== */
.opening { display: none; }
html.intro .opening { display: grid; place-items: center; position: fixed; inset: 0; z-index: 1000; background: radial-gradient(circle at 50% 45%, #fff 0, var(--tint) 70%); animation: opening-bg 1.7s ease forwards; pointer-events: none; }
.opening__logo { display: flex; flex-direction: column; align-items: center; gap: 14px; color: var(--green); animation: opening-logo 1.7s cubic-bezier(.2, .8, .2, 1) forwards; }
.opening__mark { width: 64px; height: 64px; }
.opening__name { font-family: var(--font-h); font-weight: 700; font-size: 1.375rem; letter-spacing: .04em; }
@keyframes opening-bg { 0%, 70% { opacity: 1; visibility: visible; } 100% { opacity: 0; visibility: hidden; } }
@keyframes opening-logo { 0% { opacity: 0; transform: translateY(14px) scale(.94); } 35% { opacity: 1; transform: none; } 75% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-6px); } }

/* ===== ヘッダー ===== */
.header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 14px rgba(14, 90, 71, .06); }
.header__inner { display: flex; align-items: center; gap: 12px; height: var(--header-h); max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--green); min-height: 44px; }
.logo__mark { color: var(--green); flex: none; }
.logo__text { font-family: var(--font-h); font-weight: 700; font-size: 1.0625rem; letter-spacing: .02em; white-space: nowrap; }
.gnav { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.gnav ul { display: flex; gap: 6px; }
.gnav li a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; font-weight: 500; font-size: .9375rem; border-radius: 999px; transition: background-color .2s, color .2s; }
.gnav li a:hover { background: var(--green-3); color: var(--green); }
.gnav__cta { display: none; }
.header__cta { display: none; }
.t-short { display: none; }
.burger { display: none; margin-left: 0; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--green-3); cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger__bar { display: block; width: 20px; height: 2px; background: var(--green); border-radius: 2px; transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] .burger__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bar:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 981px) {
  .header__cta { display: none; }
  .gnav__cta { display: inline-flex; min-height: 44px; padding: 8px 22px; font-size: .9375rem; }
}
@media (max-width: 980px) {
  .header__cta { display: inline-flex; margin-left: auto; }
  .burger { display: inline-flex; }
  .gnav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px 20px 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 14px 24px rgba(14, 90, 71, .1); }
  .gnav.is-open { display: flex; }
  .gnav ul { flex-direction: column; gap: 0; }
  .gnav li a { width: 100%; padding: 0 8px; border-radius: 0; border-bottom: 1px dashed var(--line); min-height: 52px; font-size: 1rem; }
}
@media (max-width: 600px) {
  .t-long { display: none; }
  .t-short { display: inline; }
  .header__inner { padding: 0 14px; gap: 8px; }
  .logo__text { font-size: .9375rem; }
  .header__cta { padding: 8px 16px; }
}
@media (max-width: 380px) {
  .logo__text { font-size: .875rem; }
  .logo { gap: 6px; }
  .logo__mark { width: 28px; height: 28px; }
  .header__cta { padding: 8px 12px; font-size: .875rem; }
}

/* ===== 共通セクション ===== */
.sec { position: relative; padding: 88px 0; }
.sec--tint { background: var(--tint); padding: 112px 0; }
.sec--tint::before, .sec--tint::after { content: ""; position: absolute; left: 0; right: 0; height: 36px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1440V12C1200 40 960 40 720 22C480 4 240 4 0 26Z' fill='%23fff'/%3E%3C/svg%3E") center / 100% 100% no-repeat; pointer-events: none; }
.sec--tint::before { top: -1px; }
.sec--tint::after { bottom: -1px; transform: scaleY(-1); }
.sec--tint > .container { position: relative; z-index: 1; }
.sec__head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.sec__head--left { text-align: left; margin: 0 0 32px; max-width: none; }
.sec__head h2 { font-size: clamp(1.5rem, 2.6vw + .6rem, 2.25rem); }
.sec__lead { margin: 16px 0 0; color: var(--sub); text-wrap: balance; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 4px 16px 4px 12px; border-radius: 999px; background: var(--green-3); color: var(--green); font-weight: 700; font-size: .9375rem; line-height: 1.6; }
.badge { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #fff; font-family: var(--font-h); font-weight: 700; font-size: 1.0625rem; flex: none; }
.badge--lg { width: 52px; height: 52px; font-size: 1.25rem; }
.pill { display: inline-flex; align-items: center; min-height: 28px; padding: 2px 12px; border-radius: 999px; font-size: .8125rem; font-weight: 700; line-height: 1.4; white-space: nowrap; }
.pill--all { background: var(--green); color: #fff; }
.pill--std { background: var(--orange); color: var(--text); }
.pill--own { background: #fff; color: var(--text); border: 1.5px dashed var(--sub); }

/* ===== ヒーロー ===== */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; background: linear-gradient(180deg, var(--tint) 0%, #fff 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1366' height='700' viewBox='0 0 1366 700' fill='none'%3E%3Cpath d='M-20 560C200 420 340 640 560 520S900 300 1100 380 1300 220 1400 160' stroke='%232FA37C' stroke-opacity='.35' stroke-width='3' stroke-dasharray='2 12' stroke-linecap='round'/%3E%3Cg fill='%232FA37C' fill-opacity='.35'%3E%3Ccircle cx='200' cy='480' r='9'/%3E%3Ccircle cx='560' cy='520' r='9'/%3E%3Ccircle cx='1100' cy='380' r='9'/%3E%3Ccircle cx='1300' cy='240' r='9'/%3E%3C/g%3E%3C/svg%3E") center / cover no-repeat; pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; }
.hero__title { font-size: clamp(1.625rem, 1.6vw + 1.15rem, 2.5rem); line-height: 1.45; margin: 0 0 20px; text-wrap: balance; letter-spacing: 0; }
.hero__lead { font-size: 1.125rem; margin: 0 0 24px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 28px; }
.hero__chips li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); color: var(--green); }
.hero__chips strong { font-family: var(--font-h); font-size: 1.1875rem; color: var(--text); background: linear-gradient(transparent 62%, rgba(242, 137, 43, .45) 62%); padding: 0 2px; }
.hero__fig img { width: 100%; border-radius: 28px; box-shadow: var(--shadow-up); background: var(--green-3); aspect-ratio: 4 / 3; object-fit: cover; }

/* ===== 3つの柱 ===== */
.pillars { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pillars::before { content: ""; position: absolute; left: 12%; right: 12%; top: 22px; border-top: 3px dotted var(--green-2); opacity: .45; }
.pillar { position: relative; padding: 0 12px; text-align: center; }
.pillar .badge { position: relative; z-index: 1; box-shadow: 0 0 0 8px #fff; }
.pillar__icon { display: grid; place-items: center; width: 96px; height: 96px; margin: 18px auto 18px; border-radius: 50%; background: var(--green-3); color: var(--green); transition: transform .3s ease; }
.pillar__icon .ic { width: 44px; height: 44px; }
.pillar:hover .pillar__icon { transform: translateY(-4px) scale(1.04); }
.pillar h3 { font-size: 1.1875rem; margin-bottom: 10px; }
.pillar p { color: var(--sub); margin: 0; text-align: center; text-wrap: balance; }

/* ===== 流れの図解 ===== */
.flow { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 10px; }
.step__node { position: relative; z-index: 1; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: #fff; border: 3px solid var(--green-2); color: var(--green); box-shadow: var(--shadow); transition: transform .3s ease; }
.step__node .ic { width: 38px; height: 38px; }
.step:hover .step__node { transform: translateY(-4px); }
.step:not(:last-child)::after { content: ""; position: absolute; top: 40px; left: calc(50% + 50px); width: calc(100% - 100px); height: 0; border-top: 3px dotted var(--green-2); }
.step:not(:last-child)::before { content: ""; position: absolute; top: 33px; left: calc(150% - 56px); width: 12px; height: 12px; border-top: 3px solid var(--green-2); border-right: 3px solid var(--green-2); transform: rotate(45deg); z-index: 2; }
.step__no { margin-top: 14px; font-family: var(--font-h); font-weight: 700; font-size: .8125rem; letter-spacing: .1em; color: var(--green-2); }
.step__title { font-size: 1.25rem; margin: 2px 0 6px; }
.step__text { font-size: .9375rem; color: var(--sub); margin: 0 0 14px; }
.who { display: flex; flex-direction: column; gap: 6px; align-items: center; margin-top: auto; }
.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-top: 40px; padding: 16px 20px; background: #fff; border-radius: 16px; border: 1px solid var(--line); font-size: .9375rem; }
.legend li { display: inline-flex; align-items: center; gap: 10px; }

/* ===== お悩み ===== */
.worry__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.worry__list { display: grid; gap: 20px; }
.worry { display: grid; grid-template-columns: 1fr; justify-items: start; gap: 4px; }
.worry__q, .worry__a { display: flex; align-items: center; gap: 12px; margin: 0; padding: 14px 20px; border-radius: 16px; width: 100%; font-weight: 500; }
.worry__q { background: var(--tint); border: 1.5px solid var(--line); }
.worry__a { background: var(--green); color: #fff; font-weight: 700; }
.worry__arrow { width: 28px; height: 28px; margin-left: 28px; fill: none; stroke: var(--green-2); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.worry__tag { flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 58px; padding: 2px 10px; border-radius: 999px; background: #fff; border: 1.5px solid var(--sub); color: var(--sub); font-size: .8125rem; font-weight: 700; }
.worry__tag--a { background: var(--orange); border-color: var(--orange); color: var(--text); }
.worry__fig img { width: 100%; border-radius: 28px; box-shadow: var(--shadow); background: var(--green-3); aspect-ratio: 4 / 3; object-fit: cover; }

/* ===== 任せられること ===== */
.cards4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.scard { display: flex; flex-direction: column; background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow); overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; }
.scard:hover { transform: translateY(-5px); box-shadow: var(--shadow-up); }
.scard__fig { background: var(--green-3); }
.scard__fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.scard__body { position: relative; padding: 32px 28px 28px; flex: 1; display: flex; flex-direction: column; }
.scard__body .badge { position: absolute; top: -26px; left: 24px; box-shadow: 0 0 0 6px #fff; }
.scard h3 { font-size: 1.3125rem; margin-bottom: 10px; }
.scard__body > p { color: var(--text); }
.support { margin-top: auto; padding: 14px 18px; background: var(--tint); border-radius: 14px; }
.support__label { margin: 0 0 4px; font-size: .8125rem; font-weight: 700; color: var(--green); letter-spacing: .08em; }
.support li { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: .9375rem; }
.support .ic { color: var(--green-2); width: 1.2em; height: 1.2em; stroke-width: 2.4; }

/* ===== 活用のイメージ ===== */
.table-wrap { max-width: 980px; margin: 0 auto; border-radius: var(--r-card); border: 1.5px solid var(--line); background: #fff; overflow: hidden; box-shadow: var(--shadow); }
.usetable { width: 100%; border-collapse: collapse; }
.usetable th, .usetable td { padding: 16px 22px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); }
.usetable thead th { background: var(--green); color: #fff; font-size: .9375rem; }
.usetable tbody tr:last-child > * { border-bottom: 0; }
.usetable tbody tr:nth-child(even) > * { background: var(--tint); }
.usetable td { overflow-wrap: break-word; text-wrap: balance; }
.usetable td:last-child { min-width: 13em; }
.usetable tbody th { font-family: var(--font-h); font-size: 1.0625rem; white-space: nowrap; color: var(--green); }
.usetable tbody th .ic { vertical-align: -0.3em; margin-right: 10px; }

/* ===== 3つの資産 ===== */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.acard { background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow); padding: 16px 16px 26px; transition: transform .3s ease, box-shadow .3s ease; }
.acard:hover { transform: translateY(-5px); box-shadow: var(--shadow-up); }
.acard figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; background: var(--green-3); }
.acard h3 { display: flex; align-items: center; gap: 10px; margin: 18px 8px 8px; font-size: 1.1875rem; color: var(--green); }
.acard p { margin: 0 8px; color: var(--text); }
.compare { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 0; margin-top: 44px; border-radius: var(--r-card); overflow: hidden; border: 1.5px solid var(--line); background: #fff; }
.compare__side { padding: 24px 28px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 16px; }
.compare__label { grid-column: 1; margin: 0; font-weight: 700; font-size: .9375rem; }
.compare__text { grid-column: 1; margin: 0; font-family: var(--font-h); font-weight: 700; font-size: 1.1875rem; line-height: 1.5; }
.compare__graph { grid-column: 2; grid-row: 1 / span 2; width: 120px; height: 40px; }
.compare__side--ad { color: var(--sub); }
.compare__side--dm { background: var(--green); color: #fff; }
.compare__side--dm .compare__graph { color: var(--orange); }
.compare__vs { display: grid; place-items: center; padding: 0 14px; font-family: var(--font-h); font-weight: 700; color: var(--green); background: var(--green-3); }

/* ===== 料金プラン ===== */
.plans__head { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: center; margin-bottom: 40px; }
.plans__head .sec__head { margin-bottom: 0; }
.plans__fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; background: var(--green-3); box-shadow: var(--shadow); }
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 36px 32px 32px; background: #fff; border: 2px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow); transition: transform .3s ease, box-shadow .3s ease; }
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow-up); }
.plan--std { border-color: var(--green); }
.plan__flag { position: absolute; top: -15px; left: 28px; padding: 3px 16px; border-radius: 999px; background: var(--orange); color: var(--text); font-weight: 700; font-size: .875rem; }
.plan__name { font-size: 1.5rem; color: var(--green); }
.plan__for { margin: 6px 0 16px; color: var(--sub); }
.plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin: 0 0 20px; padding-bottom: 20px; border-bottom: 2px dotted var(--line); }
.plan__num { font-family: var(--font-h); font-weight: 700; font-size: 3.5rem; line-height: 1; color: var(--green); }
.plan__unit { font-weight: 700; }
.plan__list { display: grid; gap: 10px; margin-bottom: 28px; }
.plan__list li { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; }
.plan__list .ic { margin-top: .3em; width: 1.2em; height: 1.2em; padding: 2px; border-radius: 50%; background: var(--green-3); color: var(--green); stroke-width: 3; }
.plan .btn { margin-top: auto; }
.notes { max-width: 820px; margin: 28px auto 0; font-size: .875rem; color: var(--sub); text-align: center; }

/* ===== FAQ ===== */
.faq { display: grid; gap: 14px; }
.qa { background: #fff; border: 1.5px solid var(--line); border-radius: 18px; transition: box-shadow .2s, border-color .2s; }
.qa[open] { border-color: var(--green-2); box-shadow: var(--shadow); }
.qa summary { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 14px 20px; cursor: pointer; list-style: none; font-weight: 700; }
.qa summary::-webkit-details-marker { display: none; }
.qa__q { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: #fff; font-family: var(--font-h); }
.qa__t { flex: 1; }
.qa__ic { color: var(--green); transition: transform .25s; }
.qa[open] .qa__ic { transform: rotate(180deg); }
.qa__a { padding: 0 20px 18px 68px; color: var(--text); }
.qa__a p { margin: 0; }

/* ===== 内製化 ===== */
.tool__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.tool__fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 28px; background: var(--green-3); box-shadow: var(--shadow); }
.tool__body h2 { font-size: clamp(1.5rem, 2.2vw + .6rem, 2rem); margin-bottom: 16px; }

/* ===== 最後の相談 ===== */
.contact { position: relative; padding: 88px 0; background: var(--green); color: #fff; overflow: hidden; }
.contact::before { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1366' height='560' viewBox='0 0 1366 560' fill='none'%3E%3Cpath d='M-20 120C240 40 420 260 700 160S1100 60 1400 240' stroke='%23fff' stroke-opacity='.22' stroke-width='3' stroke-dasharray='2 12' stroke-linecap='round'/%3E%3Cg fill='%23fff' fill-opacity='.22'%3E%3Ccircle cx='240' cy='84' r='9'/%3E%3Ccircle cx='700' cy='160' r='9'/%3E%3Ccircle cx='1180' cy='120' r='9'/%3E%3C/g%3E%3C/svg%3E") center / cover no-repeat; pointer-events: none; }
.contact__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.contact h2 { font-size: clamp(1.625rem, 2.4vw + .8rem, 2.5rem); margin-bottom: 16px; }
.contact__body > p { margin-bottom: 24px; }
.contact__note { margin: 12px 0 0 !important; font-size: .875rem; color: #CDE9DE; }
.contact__fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 28px; background: rgba(255, 255, 255, .12); box-shadow: 0 16px 36px rgba(0, 0, 0, .2); }

/* ===== フッター ===== */
.footer { padding: 36px 0; border-top: 1px solid var(--line); background: #fff; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
.footer__op { margin: 0; color: var(--sub); }
.footer__copy { margin: 0 0 0 auto; color: var(--sub); }

/* ===== スマホ下の固定ボタン ===== */
.fixcta { display: none; }

/* ===== 動き ===== */
html.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; transition-delay: calc(var(--d, 0) * .12s); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }
/* 流れ図：順に出る */
html.js .step[data-reveal] { transform: translateX(-16px); transition-delay: calc(var(--d, 0) * .25s); }
html.js .step[data-reveal].is-in { transform: none; }
html.js .step:not(:last-child)::after, html.js .step:not(:last-child)::before { opacity: 0; transition: opacity .5s ease calc(var(--d, 0) * .25s + .35s); }
html.js .step.is-in:not(:last-child)::after, html.js .step.is-in:not(:last-child)::before { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js [data-reveal], html.js .step[data-reveal] { opacity: 1; transform: none; }
  html.js .step:not(:last-child)::after, html.js .step:not(:last-child)::before { opacity: 1; }
}

/* ===== タブレット ===== */
@media (max-width: 1024px) {
  .sec { padding: 72px 0; }
  .sec--tint { padding: 96px 0; }
  .hero__grid { gap: 28px; }
  .step { padding: 0 6px; }
  .step__node { width: 72px; height: 72px; }
  .step:not(:last-child)::after { top: 34px; left: calc(50% + 42px); width: calc(100% - 84px); }
  .step:not(:last-child)::before { top: 28px; left: calc(150% - 48px); }
  .step__text { font-size: .875rem; }
  .pill { white-space: normal; text-align: center; font-size: .75rem; }
  .compare__graph { width: 90px; }
}

@media (max-width: 860px) {
  .hero { padding: 40px 0 72px; }
  .hero__grid, .worry__grid, .tool__grid, .contact__grid { grid-template-columns: 1fr; gap: 32px; }
  .tool__fig { order: 2; }
  .worry__fig { max-width: 560px; margin-inline: auto; }
  .hero__fig { max-width: 640px; margin-inline: auto; }
  .plans__head { grid-template-columns: 1fr; gap: 24px; }
  .plans__fig { max-width: 340px; margin-inline: auto; }
  .cards3 { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .plans { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .cards4 { gap: 24px; }

}

/* 流れ図は、狭いスマホ幅だけ縦に（768pxは横並びのまま） */
@media (max-width: 700px) {
  /* 流れ図は縦に */
  .flow { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; gap: 8px; }
  .step { display: grid; grid-template-columns: 76px 1fr; column-gap: 18px; align-items: start; text-align: left; padding: 0 0 28px; }
  .step__node { grid-row: 1 / span 4; width: 76px; height: 76px; }
  .step__no { margin-top: 0; }
  .who { align-items: flex-start; margin-top: 0; }
  .step:not(:last-child)::after { top: 76px; bottom: -4px; left: 36px; width: 0; height: auto; border-top: 0; border-left: 3px dotted var(--green-2); }
  .step:not(:last-child)::before { top: auto; bottom: 0; left: 30px; width: 12px; height: 12px; transform: rotate(135deg); }
  .step__text { font-size: .9375rem; margin-bottom: 8px; }
  .pill { white-space: nowrap; font-size: .8125rem; }
}

@media (max-width: 767px) {
  .sec { padding: 56px 0; }
  .sec--tint { padding: 80px 0; }
  .sec__head { margin-bottom: 32px; }
  .container { padding: 0 18px; }
  .hero__lead { font-size: 1rem; }
  .hero .btn--lg { width: 100%; }
  .pillars { grid-template-columns: 1fr; gap: 28px; }
  .pillars::before { left: 22px; right: auto; top: 22px; bottom: 22px; border-top: 0; border-left: 3px dotted var(--green-2); }
  .pillar { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; text-align: left; padding: 0; }
  .pillar .badge { grid-row: 1 / span 3; align-self: start; }
  .pillar__icon { display: none; }
  .pillar h3 { margin-bottom: 6px; }
  .pillar p { text-align: left; text-wrap: wrap; }
  .cards4 { grid-template-columns: 1fr; }
  .scard__body { padding: 30px 20px 22px; }
  .compare { grid-template-columns: 1fr; }
  .compare__vs { padding: 4px 0; }
  .compare__side { padding: 20px; }

  /* 表はカードに畳む */
  .table-wrap { border: 0; background: transparent; box-shadow: none; overflow: visible; }
  .usetable, .usetable tbody, .usetable tr, .usetable th, .usetable td { display: block; width: 100%; }
  .usetable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .usetable tbody { display: grid; gap: 16px; }
  .usetable tr { background: #fff !important; border: 1.5px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
  .usetable tbody tr:nth-child(even) > * { background: transparent; }
  .usetable tbody th { background: var(--green-3) !important; border-bottom: 0; padding: 12px 18px; }
  .usetable td { padding: 10px 18px; border-bottom: 1px dashed var(--line); }
  .usetable td:last-child { border-bottom: 0; }
  .usetable td::before { content: attr(data-label); display: block; font-size: .75rem; font-weight: 700; color: var(--green-2); letter-spacing: .08em; }
  .plan { padding: 34px 22px 26px; }
  .plan__num { font-size: 3rem; }
  .qa summary { padding: 12px 16px; gap: 12px; }
  .qa__a { padding: 0 16px 16px 16px; }
  .contact { padding: 64px 0 56px; }
  .contact::before { display: none; }
  .contact .btn--lg { width: 100%; }
  .footer { padding-bottom: 96px; }
  .footer__copy { margin-left: 0; width: 100%; }

  .fixcta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(14, 90, 71, .1); transition: transform .3s ease, opacity .3s ease; }
  .fixcta .btn { width: 100%; }
  .fixcta.is-hidden { transform: translateY(110%); opacity: 0; pointer-events: none; }
}
