/* ECBUZZ サービス LP */
:root {
	--teal: #00a6cb;
	--teal-ink: #00728c;
	--deep: #0b4c5c;
	--ink: #18303a;
	--soft: #4a6470;
	--mist: #eef6f8;
	--line: #d6e3e8;
	--amber: #f6ab00;
	--head: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic UI", sans-serif;
	--body: "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", sans-serif;
	--gut: max(20px, calc((100% - 1120px) / 2));
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 84px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 16px/1.9 var(--body); }
a { color: var(--teal-ink); text-underline-offset: .2em; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
img, svg { max-width: 100%; }
.ebl-skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; padding: 8px 14px; }
.ebl-skip:focus { left: 8px; }
.ebl-wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
h1, h2, h3 { font-family: var(--head); letter-spacing: .02em; }

/* ヘッダー */
.ebl-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); transition: box-shadow .2s; }
.ebl-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.ebl-header-in { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.ebl-brand { margin-right: auto; text-decoration: none; }
.ebl-wordmark { font: 900 24px/1 var(--head); letter-spacing: .07em; color: var(--deep); }
.ebl-logo-img { height: 32px; width: auto; display: block; }
.ebl-nav { display: flex; gap: 24px; font-size: 14px; }
.ebl-nav a { color: var(--ink); text-decoration: none; }
.ebl-nav a:hover { color: var(--teal-ink); }
.ebl-header-cta { background: var(--deep); color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; padding: 10px 18px; border-radius: 999px; white-space: nowrap; }
.ebl-header-cta:hover { background: var(--teal-ink); color: #fff; }
@media (max-width: 900px) { .ebl-nav { display: none; } }

/* ブロックの共通 */
.ebl-page > .wp-block-group { padding: 88px var(--gut); margin: 0; }
.ebl-page > .wp-block-group > * { max-width: 1120px; margin-inline: auto; }
.wp-block-columns { gap: 56px; margin: 0; }
.lp-h2 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 900; line-height: 1.4; margin: 0 0 12px; }
.lp-h3 { font-size: 22px; margin: 4px 0 12px; line-height: 1.5; }
.lp-sub { color: var(--soft); margin: 0 0 48px; font-size: 17px; }
.wp-block-button .wp-block-button__link { font-family: var(--body); font-weight: 700; font-size: 16px; border-radius: 12px; padding: 15px 30px; text-decoration: none; line-height: 1.4; }
.wp-block-button.is-primary .wp-block-button__link { background: var(--deep); color: #fff; }
.wp-block-button.is-primary .wp-block-button__link:hover { background: var(--teal-ink); }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--deep); border: 2px solid var(--deep); padding: 13px 28px; }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--mist); }

/* ヒーロー */
.ebl-page > .lp-hero { padding-top: 56px; padding-bottom: 80px; background: #fff; }
.lp-hero-cols { align-items: center; }
.lp-kicker { font-size: 14px; font-weight: 700; color: var(--teal-ink); margin: 0 0 14px; }
.lp-title { font-size: clamp(40px, 5.6vw, 72px); font-weight: 900; line-height: 1.12; letter-spacing: .01em; margin: 0 0 24px; color: var(--deep); }
.lp-lead { font-size: 18px; line-height: 1.95; margin: 0 0 32px; max-width: 32em; }
.lp-ctas { gap: 12px; }
.lp-note { font-size: 14px; color: var(--soft); margin-top: 18px; }

/* アンケート → レビュー */
.lp-flow { position: relative; display: grid; grid-template-columns: 1fr; gap: 0; max-width: 540px; margin-left: auto; }
.lp-flow-q { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; width: 78%; }
.lp-flow-label { margin: 0 0 8px; font-size: 12px; font-weight: 700; color: var(--teal-ink); }
.lp-flow-ask { margin: 10px 0 6px; font-size: 14px; font-weight: 700; line-height: 1.6; }
.lp-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.lp-chips li { font-size: 13px; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--soft); line-height: 1.6; }
.lp-chips li.is-on { background: var(--deep); border-color: var(--deep); color: #fff; }
.lp-flow-mid { display: flex; flex-direction: column; gap: 2px; margin: 0 0 0 30px; padding: 18px 0 18px 26px; border-left: 2px dashed var(--teal); font-size: 13px; color: var(--teal-ink); font-weight: 700; }
.lp-flow-r { background: #fff; border-radius: 18px; padding: 22px 24px 20px; margin-left: 14%; box-shadow: 0 24px 60px -24px rgba(11,76,92,.45); border: 1px solid #cfe4ea; }
.lp-flow-r header { display: flex; align-items: center; gap: 10px; }
.lp-stars { color: var(--amber); letter-spacing: 2px; font-size: 18px; }
.lp-verified { font-size: 12px; font-weight: 700; color: #1d6b43; background: #e5f5eb; padding: 1px 9px; border-radius: 999px; }
.lp-flow-r h3 { margin: 8px 0 4px; font-size: 18px; }
.lp-flow-r > p { margin: 0 0 12px; font-size: 14px; line-height: 1.8; }
.lp-flow-photo { display: flex; gap: 8px; }
.lp-flow-photo svg { width: 76px; height: 76px; border-radius: 10px; }
.lp-attrs { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0; font-size: 12px; }
.lp-attrs span { background: var(--mist); color: var(--soft); padding: 1px 10px; border-radius: 999px; }
.lp-flow-r footer { font-size: 13px; color: var(--soft); border-left: 3px solid var(--teal); padding: 4px 0 4px 12px; line-height: 1.7; }
.lp-flow-r footer strong { display: block; color: var(--ink); font-size: 12px; }
/* 一度だけ：回答 → 下書き → 公開の順に現れる */
.lp-flow:not(.is-still) > * { opacity: 0; transform: translateY(10px); }
.lp-flow.is-in > * { animation: lp-in .6s cubic-bezier(.2,.7,.2,1) forwards; }
.lp-flow.is-in > :nth-child(2) { animation-delay: .45s; }
.lp-flow.is-in > :nth-child(3) { animation-delay: .9s; }
.lp-flow.is-still > * { opacity: 1; transform: none; animation: none; }
@keyframes lp-in { to { opacity: 1; transform: none; } }
@media (max-width: 781px) {
	.lp-flow { margin: 16px 0 0; }
	.lp-flow-q { width: 92%; }
	.lp-flow-r { margin-left: 6%; }
}

/* 販路 */
.ebl-page > .lp-channels { padding-top: 36px; padding-bottom: 40px; background: var(--mist); border-top: 1px solid var(--line); }
.lp-channels-label { font-size: 13px; font-weight: 700; color: var(--soft); margin: 0 0 10px; }
.lp-channel-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 28px; font: 700 17px/1.8 var(--head); color: var(--deep); }

/* できること */
.lp-feature { padding: 40px 0; border-top: 1px solid var(--line); }
.lp-feature:last-child { border-bottom: 1px solid var(--line); }
.lp-feature-tag { font: 900 15px/1 var(--head); color: #fff; background: var(--teal-ink); display: inline-block; padding: 7px 12px; border-radius: 6px; margin: 0; }
.lp-feature-list ul { list-style: none; padding: 0; margin: 6px 0 0; }
.lp-feature-list li { padding: 12px 0 12px 30px; border-bottom: 1px dashed var(--line); position: relative; }
.lp-feature-list li:last-child { border-bottom: 0; }
.lp-feature-list li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 12px; height: 7px; border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(-45deg); }

/* 乗り換え */
.ebl-page > .lp-switch { background: var(--deep); color: #e8f4f7; }
.lp-switch .lp-h2 { color: #fff; }
.lp-switch a:not(.wp-block-button__link) { color: #fff; }
.lp-switch-asset { background: rgba(255,255,255,.08); border-left: 3px solid var(--amber); padding: 12px 16px; border-radius: 0 8px 8px 0; }
.lp-switch-asset strong { color: #fff; }
.lp-switch .wp-block-button.is-primary .wp-block-button__link { background: #fff; color: var(--deep); }
.lp-switch .wp-block-button.is-primary .wp-block-button__link:hover { background: var(--mist); }
.lp-steps { list-style: none; counter-reset: s; padding: 0; margin: 0; }
.lp-steps li { counter-increment: s; position: relative; padding: 0 0 32px 76px; }
.lp-steps li::before { content: counter(s); position: absolute; left: 0; top: -6px; font: 900 52px/1 var(--head); color: var(--teal); }
.lp-steps li strong { display: block; font: 700 20px/1.5 var(--head); color: #fff; margin-bottom: 4px; }

/* 料金 */
.lp-plans { gap: 16px; align-items: stretch; }
.lp-plan { border: 1px solid var(--line); border-radius: 16px; padding: 26px 22px; position: relative; }
.lp-plan.is-pick { border: 2px solid var(--deep); background: var(--mist); }
.lp-plan.is-pick::before { content: "おすすめ"; position: absolute; top: -13px; left: 20px; background: var(--deep); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 12px; border-radius: 999px; }
.lp-plan h3 { margin: 0; font-size: 18px; }
.lp-price { font: 900 40px/1.2 var(--head); margin: 8px 0 0; color: var(--deep); font-variant-numeric: tabular-nums; }
.lp-price small { font: 700 14px var(--body); color: var(--soft); margin-left: 4px; }
.lp-price-year { font-size: 13px; color: var(--soft); margin: 0 0 14px; }
.lp-plan-who { font-size: 14px; font-weight: 700; margin: 0 0 10px; }
.lp-plan ul { padding-left: 1.2em; margin: 0; font-size: 14px; line-height: 1.8; }
.lp-plan li { margin-bottom: 4px; }
.lp-pricing-foot { font-size: 14px; color: var(--soft); margin-top: 28px; }
@media (max-width: 1000px) and (min-width: 782px) { .lp-plans { flex-wrap: wrap !important; } .lp-plans > .wp-block-column { flex-basis: calc(50% - 8px) !important; } }

/* よくある質問 */
.lp-faq .wp-block-details { border-top: 1px solid var(--line); padding: 0; margin: 0; }
.lp-faq .wp-block-details:last-child { border-bottom: 1px solid var(--line); }
.lp-faq summary { cursor: pointer; padding: 20px 40px 20px 0; font: 700 17px/1.6 var(--head); list-style: none; position: relative; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font: 400 26px/1 var(--body); color: var(--teal-ink); transition: transform .2s; }
.lp-faq details[open] summary::after { transform: rotate(45deg); }
.lp-faq details p { margin: 0 0 22px; color: var(--soft); max-width: 46em; }
.lp-faq .lp-h2 { margin-bottom: 28px; }

/* 最後の相談 */
.ebl-page > .lp-cta { background: var(--mist); text-align: left; }

/* フッター */
.ebl-footer { background: #0f2a33; color: #b9d0d7; font-size: 14px; padding: 48px 0 24px; }
.ebl-footer-in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px; }
.ebl-footer .ebl-wordmark { color: #fff; }
.ebl-footer ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, auto); gap: 6px 36px; }
.ebl-footer a { color: #e3f1f5; text-decoration: none; }
.ebl-footer a:hover { text-decoration: underline; }
.ebl-copy { margin-top: 28px; font-size: 12px; color: #84a3ad; }
.ebl-404 { padding: 80px 0; }

/* 自由に作るページ（パターン以外のブロック） */
.ebl-page > :not(.wp-block-group) { max-width: 760px; margin-inline: auto; padding-inline: 20px; }

@media (max-width: 781px) {
	.ebl-page > .wp-block-group { padding-top: 56px; padding-bottom: 56px; }
	.wp-block-columns { gap: 24px; }
	.lp-feature { padding: 28px 0; }
	.lp-sub { margin-bottom: 28px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .lp-flow > * { opacity: 1 !important; transform: none !important; animation: none !important; } }
