/* ホームページ制作ページ（page-wakamono-marketing.php）。共通の部品は、ai-page.css・app-page-c.css（apc-*）を使い回す */
body.page-template-page-wakamono-marketing { background: var(--sh-bg, #f1f2f3); }
body.page-template-page-wakamono-marketing .site-main { max-width: none !important; width: 100% !important; padding-inline: 0 !important; }
.hpp .ai-sec { padding-bottom: 120px; }
.hpp-lead { max-width: none; }

/* ---- ヒーロー：目的が切り替わるブラウザ ---- */
.hpp-mock { overflow: hidden; border-radius: 28px; background: #fff; box-shadow: 0 30px 80px rgba(31, 63, 115, .2), 0 0 0 1px rgba(5, 153, 217, .12); }
.hpp-mock .ap-win__bar { display: flex; align-items: center; gap: 7px; padding: 14px 20px; background: linear-gradient(90deg, #0599d9, #7b61ff); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.hpp-mock .ap-win__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .6); }
.hpp-mock .ap-win__bar span { margin-left: 8px; }
.hpp-mock__body { position: relative; height: 330px; padding: 26px 30px; }
.hpp-mock__bar { display: block; height: 12px; margin-bottom: 10px; border-radius: 12px; background: #e3ecf2; }
.hpp-mock__bar--w1 { width: 58%; }
.hpp-mock__bar--w2 { width: 36%; }
.hpp-mock__tags { position: relative; height: 70px; margin: 18px 0 14px; }
.hpp-mock__tag { position: absolute; left: 0; top: 0; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.3; font-weight: 700; letter-spacing: .04em; background: linear-gradient(45deg, #e96a8f, #009ada); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0; animation: hpp-tag 9s ease-in-out infinite; }
.hpp-mock__tag.t1 { animation-delay: 0s; }
.hpp-mock__tag.t2 { animation-delay: -6s; }
.hpp-mock__tag.t3 { animation-delay: -3s; }
@keyframes hpp-tag { 0% { opacity: 0; transform: translateY(14px); } 6%, 30% { opacity: 1; transform: none; } 36%, 100% { opacity: 0; transform: translateY(-14px); } }
.hpp-mock__blocks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hpp-mock__blocks i { display: block; height: 84px; border-radius: 14px; background: linear-gradient(135deg, #eaf6fc, #fff4f7); box-shadow: inset 0 0 0 1.5px rgba(5, 153, 217, .16); }
.hpp-mock__btn { position: absolute; right: 30px; bottom: 24px; padding: 10px 24px; border-radius: 40px; background: linear-gradient(45deg, #e96a8f, #009ada); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .08em; box-shadow: 0 8px 20px rgba(233, 106, 143, .35); }

/* ---- プラン診断 ---- */
.hpp-diag { display: grid; grid-template-columns: 5fr 6fr; overflow: hidden; border-radius: 32px; background: #fff; box-shadow: 0 20px 56px rgba(0, 48, 64, .12); }
.hpp-diag__in { padding: 40px 38px 14px; background: #f4f9fc; }
.hpp-diag__out { padding: 40px 44px 38px; }
.hpp-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.hpp-opts--col { flex-direction: column; }
.hpp .hpp-opt, .hpp .hpp-opt:hover, .hpp .hpp-opt:focus { padding: 12px 18px; border: 0; border-radius: 40px; background: #fff; color: #0b4f73; font: inherit; font-size: 14px; font-weight: 700; letter-spacing: .04em; line-height: 1.5; text-align: left; white-space: normal; cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--apc-blue, #0599d9); transition: background .3s, color .3s, transform .3s, box-shadow .3s; }
.hpp .hpp-opts--col .hpp-opt { border-radius: 16px; }
.hpp .hpp-opt:hover { background: #eaf6fc; transform: translateY(-2px); }
.hpp .hpp-opt[aria-pressed="true"], .hpp .hpp-opt[aria-pressed="true"]:hover, .hpp .hpp-opt[aria-pressed="true"]:focus { background: var(--apc-grad, linear-gradient(45deg, #e96a8f, #009ada)); color: #fff; box-shadow: 0 8px 18px rgba(233, 106, 143, .3); }
.hpp .hpp-opt:focus-visible { outline: 3px solid rgba(5, 153, 217, .5); outline-offset: 3px; }

.hpp-empty__t { margin: 0 0 8px; padding: 14px 18px; border-radius: 14px; background: #fff4f7; font-size: 15px; font-weight: 700; line-height: 1.9; letter-spacing: .05em; }
.hpp-empty__n { margin: 18px 0 8px; font-size: 14px; letter-spacing: .08em; color: #5b6e77; }
.hpp-empty__n b { font-size: 40px; line-height: 1; color: #b9c8d1; }
.hpp-empty__bar { height: 10px; border-radius: 10px; background: #eaf0f4; overflow: hidden; }
.hpp-empty__bar i { display: block; width: 100%; height: 100%; border-radius: 10px; background: var(--apc-grad, linear-gradient(45deg, #e96a8f, #009ada)); transform-origin: left; transform: scaleX(0); transition: transform .6s cubic-bezier(.3, .8, .3, 1); }
.hpp-empty__s { margin: 16px 0 0; font-size: 13.5px; line-height: 1.9; letter-spacing: .05em; color: #5b6e77; font-weight: 500; }
.hpp-result[hidden], .hpp-empty[hidden] { display: none; }
.hpp-result { animation: apc-pop .5s ease both; }
.hpp-result__tag { display: inline-block; margin: 0 0 10px; padding: 4px 14px; border-radius: 30px; background: var(--apc-pink, #e96a8f); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .14em; }
.hpp-result__name { margin: 0 0 4px; font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; letter-spacing: .05em; }
.hpp-result__price { margin: 0 0 14px; font-size: 14px; letter-spacing: .05em; }
.hpp-result__price b { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.2; letter-spacing: .02em; background: var(--apc-grad, linear-gradient(45deg, #e96a8f, #009ada)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hpp-result__price span { margin-left: 4px; }
.hpp-result__why { margin: 0 0 12px; font-size: 14.5px; line-height: 1.95; letter-spacing: .05em; font-weight: 500; }
.hpp-result__note { margin: 0 0 12px; padding: 10px 16px; border-radius: 12px; background: #fff4f7; font-size: 13.5px; line-height: 1.8; letter-spacing: .04em; font-weight: 600; }
.hpp-result__ul { margin: 0 0 16px; padding: 14px 18px; border-radius: 16px; background: #eaf6fc; list-style: none; }
.hpp-result__ul li { position: relative; padding: 3px 0 3px 22px; font-size: 13.5px; line-height: 1.8; letter-spacing: .04em; font-weight: 600; }
.hpp-result__ul li::before { content: "✓"; position: absolute; left: 0; color: var(--apc-pink, #e96a8f); font-weight: 700; }
.hpp .hpp-result__goal { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 12px; margin: 0 0 4px; padding: 14px 20px; border-radius: 16px; background: #fff; color: var(--sh-ink, #003040); text-decoration: none; box-shadow: 0 8px 22px rgba(0, 48, 64, .1), inset 0 0 0 1.5px rgba(5, 153, 217, .3); transition: transform .3s, box-shadow .3s; }
.hpp .hpp-result__goal[hidden] { display: none; }
.hpp .hpp-result__goal:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 48, 64, .16), inset 0 0 0 2px var(--apc-blue, #0599d9); }
.hpp-result__goal small { grid-column: 1 / -1; font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--apc-blue, #0599d9); }
.hpp-result__goal b { font-size: 15.5px; letter-spacing: .05em; }
.hpp-result__goal span { color: var(--apc-pink, #e96a8f); font-weight: 700; }

/* ---- 目的から選ぶ ---- */
.hpp-goals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hpp .hpp-goal { position: relative; display: flex; flex-direction: column; padding: 30px 28px 26px; border-radius: 26px; background: #fff; color: inherit; text-decoration: none; box-shadow: 0 12px 36px rgba(0, 48, 64, .08); transition: transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .5s; }
.hpp .hpp-goal:hover, .hpp .hpp-goal:focus-visible { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(0, 48, 64, .14), inset 0 0 0 2px rgba(233, 106, 143, .45); }
.hpp .hpp-goal:focus-visible { outline: 3px solid rgba(5, 153, 217, .5); outline-offset: 3px; }
.hpp-goal img { width: 56px; height: 56px; margin-bottom: 14px; object-fit: contain; }
.hpp-goal h3 { margin: 0 0 8px; font-size: 18px; line-height: 1.6; letter-spacing: .05em; }
.hpp-goal p { flex: 1; margin: 0 0 14px; font-size: 13.5px; line-height: 1.9; letter-spacing: .04em; font-weight: 500; color: #3d525c; }
.hpp-goal__go { font-size: 13.5px; font-weight: 700; letter-spacing: .08em; color: var(--apc-blue, #0599d9); }
.hpp-goal__go i { margin-left: 6px; font-style: normal; transition: transform .3s; display: inline-block; }
.hpp-goal:hover .hpp-goal__go i { transform: translateX(4px); }
.hpp-goal__badge { position: absolute; right: 18px; top: 18px; padding: 3px 12px; border-radius: 30px; background: var(--apc-grad, linear-gradient(45deg, #e96a8f, #009ada)); color: #fff; font-size: 11px; font-style: normal; font-weight: 700; letter-spacing: .1em; }

/* ---- プラン ---- */
.hpp-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.hpp-plan { position: relative; display: flex; flex-direction: column; padding: 38px 30px 30px; border-radius: 28px; background: #fff; box-shadow: 0 12px 36px rgba(0, 48, 64, .08); transition: transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .5s; }
.hpp-plan.is-rec { transform: translateY(-8px); box-shadow: 0 24px 56px rgba(233, 106, 143, .25), inset 0 0 0 2.5px var(--apc-pink, #e96a8f); }
.hpp-plan__rec { display: none; position: absolute; left: 24px; top: -14px; padding: 4px 16px; border-radius: 30px; background: var(--apc-pink, #e96a8f); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .14em; box-shadow: 0 6px 14px rgba(233, 106, 143, .4); }
.hpp-plan.is-rec .hpp-plan__rec { display: inline-block; }
.hpp-plan h3 { margin: 0 0 10px; font-size: 20px; letter-spacing: .05em; }
.hpp-plan .price { margin: 0 0 12px; font-size: 14px; letter-spacing: .04em; }
.hpp-plan .price b { font-size: clamp(24px, 2.4vw, 30px); letter-spacing: .02em; }
.hpp-plan .for { margin: 0 0 16px; font-size: 13.5px; line-height: 1.9; letter-spacing: .04em; font-weight: 500; color: #3d525c; }
.hpp-plan__in { margin: 0 0 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; color: var(--apc-blue, #0599d9); }
.hpp-plan ul { margin: 0; padding: 0; list-style: none; }
.hpp-plan li { margin-bottom: 8px; padding: 10px 14px 10px 36px; border-radius: 12px; background: #f0f4f8; font-size: 13px; line-height: 1.7; letter-spacing: .03em; font-weight: 600; position: relative; }
.hpp-plan li::before { content: "✓"; position: absolute; left: 14px; color: var(--apc-pink, #e96a8f); font-weight: 700; }
.hpp-box { margin: 30px 0 0; padding: 24px 30px; border-radius: 22px; background: #fff; box-shadow: 0 10px 28px rgba(0, 48, 64, .07); }
.hpp-box__t { margin: 0 0 8px; font-size: 15.5px; font-weight: 700; letter-spacing: .06em; }
.hpp-box ul { margin: 0; padding: 0; list-style: none; }
.hpp-box li { position: relative; padding: 4px 0 4px 22px; font-size: 14px; line-height: 1.9; letter-spacing: .04em; font-weight: 500; }
.hpp-box li::before { content: "※"; position: absolute; left: 0; color: var(--apc-pink, #e96a8f); }
.hpp-box b { color: #0b4f73; }

/* ---- 公開後の運用サイクル ---- */
.hpp-cycle { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; }
.hpp-cycle li { position: relative; padding: 26px 22px 24px; border-radius: 24px; background: #fff; box-shadow: 0 12px 32px rgba(0, 48, 64, .08); }
.hpp-cycle li:not(:last-child)::after { content: "→"; position: absolute; right: -16px; top: 50%; z-index: 1; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: var(--apc-grad, linear-gradient(45deg, #e96a8f, #009ada)); color: #fff; font-size: 14px; line-height: 28px; text-align: center; }
.hpp-cycle b { display: block; margin-bottom: 8px; font-size: 30px; line-height: 1; background: var(--apc-grad, linear-gradient(45deg, #e96a8f, #009ada)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hpp-cycle h3 { margin: 0 0 6px; font-size: 18px; letter-spacing: .05em; }
.hpp-cycle p { margin: 0; font-size: 13px; line-height: 1.85; letter-spacing: .04em; font-weight: 500; color: #3d525c; }
.hpp-cycle__loop { margin: 18px 0 0; text-align: center; }
.hpp-cycle__loop span { display: inline-block; padding: 8px 26px; border-radius: 30px; background: linear-gradient(90deg, #eaf6fc, #fff4f7); font-size: 13.5px; font-weight: 700; letter-spacing: .12em; color: #0b4f73; }
.hpp-cycle__loop span::before { content: "↺ "; color: var(--apc-pink, #e96a8f); }
.hpp-report { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: center; margin: 34px 0 0; padding: 34px 40px; border-radius: 28px; background: #fff; box-shadow: 0 14px 40px rgba(0, 48, 64, .09); }
.hpp-report__tag { display: inline-block; margin: 0 0 10px; padding: 4px 14px; border-radius: 30px; background: #eaf6fc; color: #0b4f73; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.hpp-report h3 { margin: 0 0 8px; font-size: 21px; line-height: 1.6; letter-spacing: .05em; }
.hpp-report p { margin: 0; font-size: 14px; line-height: 1.9; letter-spacing: .04em; font-weight: 500; color: #3d525c; }
.hpp-report ul { margin: 0; padding: 0; list-style: none; }
.hpp-report li { position: relative; margin-bottom: 8px; padding: 11px 16px 11px 38px; border-radius: 12px; background: #f4f9fc; font-size: 14px; font-weight: 600; letter-spacing: .04em; }
.hpp-report li::before { content: "✓"; position: absolute; left: 16px; color: var(--apc-pink, #e96a8f); font-weight: 700; }

/* ---- SaCの強み ---- */
.hpp-strong { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hpp-strong__item { padding: 32px 30px 28px; border-radius: 26px; background: #fff; box-shadow: 0 12px 36px rgba(0, 48, 64, .08); }
.hpp-strong__item img { width: 56px; height: 56px; margin-bottom: 14px; object-fit: contain; }
.hpp-strong__item h3 { margin: 0 0 10px; font-size: 17.5px; line-height: 1.7; letter-spacing: .04em; }
.hpp-strong__item p { margin: 0; font-size: 14px; line-height: 1.95; letter-spacing: .04em; font-weight: 500; color: #3d525c; }

/* ---- スマホ・タブレット ---- */
@media (max-width: 1024px) {
	.hpp-diag { grid-template-columns: 1fr; }
	.hpp-goals, .hpp-strong { grid-template-columns: repeat(2, 1fr); }
	.hpp-plans { grid-template-columns: 1fr; }
	.hpp-plan.is-rec { transform: none; }
	.hpp-cycle { grid-template-columns: 1fr; }
	.hpp-cycle li:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -22px; margin: 0 0 0 -14px; transform: rotate(90deg); }
	.hpp-report { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 700px) {
	.hpp-goals, .hpp-strong { grid-template-columns: 1fr; }
	.hpp-diag__in, .hpp-diag__out { padding: 30px 22px; }
	.hpp-mock__body { height: 300px; padding: 22px; }
	.hpp-report { padding: 26px 22px; }
}
@media (prefers-reduced-motion: reduce) {
	.hpp-mock__tag { animation: none; }
	.hpp-mock__tag.t1 { opacity: 1; }
	.hpp-empty__bar i, .hpp-result { transition: none; animation: none; }
}

/* 「目的から、選ぶ」の説明文：画面が広いときは、1行で表示する（狭い画面では折り返す） */
.hpp .hpp-nowrap { max-width: none; white-space: nowrap; }
@media (max-width: 900px) { .hpp .hpp-nowrap { white-space: normal; } }
