/* ホームページ制作「目的別」6ページの共通スタイル（inc/purpose-page.php）。共通の部品は、ai-page.css・app-page-c.css（apc-*）を使い回す */
body.page-template-page-recruitment-homepage, body.page-template-page-youth-homepage, body.page-template-page-seo-homepage,
body.page-template-page-branding-homepage, body.page-template-page-shopping-ecsite, body.page-template-page-storecustomer-homepage { background: var(--sh-bg, #f1f2f3); }
body.page-template-page-recruitment-homepage .site-main, body.page-template-page-youth-homepage .site-main, body.page-template-page-seo-homepage .site-main,
body.page-template-page-branding-homepage .site-main, body.page-template-page-shopping-ecsite .site-main, body.page-template-page-storecustomer-homepage .site-main { max-width: none !important; width: 100% !important; padding-inline: 0 !important; }
.ppg .ai-hero__grid { grid-template-columns: 1fr; }
/* パンくずを、浮かせず、ヒーローの文章の上に並べる（文章が縦に長いページで、タグと重なるのを防ぐ） */
.ppg .ai-hero .ai-crumb { position: static; }
.ppg .ai-hero .ai-crumb ol { margin-bottom: 36px; }
/* 見出しが「…に強」「い」のように1字だけ次の行へ落ちるのを防ぐ（文節で折り返し、スマホ幅では文字を少し小さくする） */
.ppg .ai-hero .ai-title { word-break: auto-phrase; text-wrap: balance; }
@media (max-width: 600px) { .ppg .ai-hero .ai-title { font-size: clamp(26px, 7.4vw, 44px); } }
/* ECページの見出し：PCは「ショッピング・ECサイト／制作」、スマホは「ショッピング・／ECサイト制作」で改行する */
.ppg .ai-title .br-sp { display: none; }
.ppg .ai-title .br-pc { display: block; }
@media (max-width: 600px) { .ppg .ai-title .br-sp { display: block; } .ppg .ai-title .br-pc { display: none; } }
.ppg .ai-sec { padding-bottom: 120px; }
.ppg strong { font-weight: 700; color: #0b4f73; }

/* ---- ヒーロー：目的 ---- */
.ppg-purpose { max-width: 860px; margin: 0 0 6px; padding: 24px 30px 20px; border-radius: 24px; background: rgba(255, 255, 255, .85); box-shadow: 0 14px 40px rgba(0, 48, 64, .1), inset 0 0 0 1.5px rgba(5, 153, 217, .22); }
.ppg-purpose__t { display: inline-block; margin: 0 0 10px; padding: 3px 16px; border-radius: 30px; background: var(--apc-grad, linear-gradient(45deg, #e96a8f, #009ada)); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .2em; }
.ppg-purpose p { margin: 0 0 8px; font-size: 15.5px; line-height: 2; letter-spacing: .05em; font-weight: 500; }
.ppg-purpose p:last-child { margin-bottom: 0; }

/* ---- こんな経験はありませんか？ ---- */
.ppg-pains { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.ppg-pains li { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 16px; padding: 20px 26px; border-radius: 22px; background: #fff; box-shadow: 0 10px 30px rgba(0, 48, 64, .07); }
.ppg-pains li b { font-size: 26px; line-height: 1; background: var(--apc-grad, linear-gradient(45deg, #e96a8f, #009ada)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ppg-pains li span { font-size: 15.5px; font-weight: 600; line-height: 1.8; letter-spacing: .05em; }

/* ---- うまくいくと… ---- */
.ppg-results { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.ppg-result { position: relative; display: flex; flex-direction: column; padding: 34px 34px 28px; border-radius: 26px; background: #fff; box-shadow: 0 12px 36px rgba(0, 48, 64, .08); }
.ppg-result::before { content: "“"; position: absolute; right: 26px; top: 6px; font-size: 76px; line-height: 1; color: rgba(233, 106, 143, .22); font-family: Georgia, serif; }
.ppg-result h3 { margin: 0 0 12px; padding-right: 36px; font-size: 19px; line-height: 1.6; letter-spacing: .05em; background: var(--apc-grad, linear-gradient(45deg, #e96a8f, #009ada)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ppg-result p { flex: 1; margin: 0 0 16px; font-size: 14px; line-height: 2; letter-spacing: .04em; font-weight: 500; color: #3d525c; }
.ppg-result__tag { align-self: flex-start; padding: 4px 16px; border-radius: 30px; background: #eaf6fc; color: #0b4f73; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; }

/* ---- 押さえたいポイント ---- */
.ppg-count { margin: 0 .15em; font-size: 1.3em; background: var(--apc-grad, linear-gradient(45deg, #e96a8f, #009ada)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ppg-points { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 36px; align-items: start; }
.ppg-toc { position: sticky; top: 118px; padding: 24px 22px 20px; border-radius: 24px; background: #fff; box-shadow: 0 12px 34px rgba(0, 48, 64, .09); }
.ppg-toc__t { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .26em; color: var(--apc-blue, #0599d9); }
.ppg-toc ol { margin: 0; padding: 0; list-style: none; max-height: calc(100vh - 260px); overflow: auto; }
.ppg .ppg-toc a { display: grid; grid-template-columns: 26px 1fr; gap: 8px; align-items: start; padding: 7px 8px; border-radius: 10px; color: inherit; font-size: 12.5px; line-height: 1.6; letter-spacing: .03em; font-weight: 600; text-decoration: none; transition: background .3s, color .3s; }
.ppg .ppg-toc a b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #eef2f5; color: #6d8089; font-size: 11px; transition: background .3s, color .3s; }
.ppg .ppg-toc a:hover { background: #eaf6fc; }
.ppg .ppg-toc a.is-on { background: #e9f6fd; color: #0b4f73; }
.ppg .ppg-toc a.is-on b { background: var(--apc-grad, linear-gradient(45deg, #e96a8f, #009ada)); color: #fff; }
.ppg-points__list { display: grid; gap: 28px; min-width: 0; }
.ppg-point { scroll-margin-top: 110px; padding: 38px 44px 34px; border-radius: 30px; background: #fff; box-shadow: 0 14px 40px rgba(0, 48, 64, .09); }
.ppg-point > header { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 18px; margin: 0 0 20px; padding-bottom: 18px; border-bottom: 1px dashed #cfe3ee; }
.ppg-point > header b { font-size: 44px; line-height: 1; background: var(--apc-grad, linear-gradient(45deg, #e96a8f, #009ada)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ppg-point > header h3 { margin: 0; font-size: clamp(19px, 2vw, 24px); line-height: 1.6; letter-spacing: .05em; }
.ppg-point__body > * + * { margin-top: 16px; }
.ppg-p, .ppg-lead { margin: 0; font-size: 15px; line-height: 2.05; letter-spacing: .05em; font-weight: 500; color: #2b4450; }
.ppg-lead { font-weight: 600; }
.ppg-em { margin: 0; padding: 16px 22px; border-radius: 16px; background: linear-gradient(135deg, #eaf6fc, #fff4f7); font-size: 16px; font-weight: 700; line-height: 1.9; letter-spacing: .05em; }
.ppg-sub { margin: 24px 0 0; padding-left: 14px; border-left: 4px solid var(--apc-pink, #e96a8f); font-size: 16px; line-height: 1.6; letter-spacing: .05em; }
.ppg-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ppg-list li { position: relative; padding: 11px 16px 11px 42px; border-radius: 12px; background: #f4f9fc; font-size: 14.5px; line-height: 1.8; letter-spacing: .04em; font-weight: 600; }
.ppg-list li::before { content: "✓"; position: absolute; left: 16px; color: var(--apc-pink, #e96a8f); font-weight: 700; }
.ppg-list--plain li { padding-left: 18px; }
.ppg-list--plain li::before { content: none; }
.ppg-table-wrap { overflow-x: auto; border-radius: 16px; box-shadow: inset 0 0 0 1.5px #dbe6ed; }
.ppg-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.8; letter-spacing: .03em; }
.ppg-table th, .ppg-table td { padding: 12px 18px; border-bottom: 1px solid #e6edf3; text-align: left; vertical-align: top; font-weight: 500; }
.ppg-table thead th { background: #eaf6fc; color: #0b4f73; font-weight: 700; white-space: nowrap; }
.ppg-table tbody th { width: 28%; background: #f4f9fc; font-weight: 700; color: #0b4f73; }
.ppg-table tbody tr:last-child th, .ppg-table tbody tr:last-child td { border-bottom: 0; }
.ppg-table small { display: block; margin-top: 2px; font-size: 12px; font-weight: 500; color: #6d8089; }
.ppg-table--copy td { font-weight: 700; }
.ppg-quote { margin: 0; padding: 22px 26px; border-radius: 18px; background: #f4f9fc; box-shadow: inset 4px 0 0 var(--apc-blue, #0599d9); }
.ppg-quote blockquote { margin: 0; }
.ppg-quote h4 { margin: 0 0 8px; font-size: 15px; letter-spacing: .05em; color: #0b4f73; }
.ppg-quote p { margin: 0 0 8px; font-size: 13.5px; line-height: 1.95; letter-spacing: .03em; font-weight: 500; color: #3d525c; }
.ppg-quote ul { margin: 6px 0 0; padding-left: 1.4em; font-size: 13.5px; line-height: 1.9; font-weight: 600; }
.ppg-quote figcaption { margin-top: 10px; font-size: 12px; line-height: 1.7; letter-spacing: .03em; color: #6d8089; word-break: break-all; }
.ppg-img { margin: 0; }
.ppg-img img { display: block; width: 100%; max-width: 760px; height: auto; margin: 0 auto; border-radius: 18px; box-shadow: 0 10px 30px rgba(0, 48, 64, .12); }
.ppg-img figcaption { margin-top: 10px; text-align: center; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: #5b6e77; }
.ppg-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.ppg-gallery .ppg-img img { max-width: none; }
.ppg-compare { display: grid; gap: 12px; }
.ppg-compare__row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: stretch; }
.ppg-compare__row p { margin: 0; padding: 14px 18px; border-radius: 14px; font-size: 14px; line-height: 1.8; letter-spacing: .03em; font-weight: 600; }
.ppg-compare__row b { display: inline-block; margin-right: 10px; padding: 1px 10px; border-radius: 30px; color: #fff; font-size: 12px; letter-spacing: .1em; }
.ppg-compare__ng { background: #f1f3f5; color: #5b6e77; }
.ppg-compare__ng b { background: #8a98a0; }
.ppg-compare__ok { background: #e9f6fd; box-shadow: inset 0 0 0 1.5px rgba(5, 153, 217, .35); }
.ppg-compare__ok b { background: var(--apc-pink, #e96a8f); }
.ppg-compare__row i { align-self: center; color: var(--apc-pink, #e96a8f); font-style: normal; }
.ppg-pair { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; }
.ppg-pair figure { position: relative; margin: 0; }
.ppg-pair img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 10px 28px rgba(0, 48, 64, .12); }
.ppg-pair__tag { position: absolute; left: 12px; top: 12px; padding: 3px 14px; border-radius: 30px; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .1em; box-shadow: 0 4px 10px rgba(0, 0, 0, .2); }
.ppg-pair__tag--ng { background: #8a98a0; }
.ppg-pair__tag--ok { background: var(--apc-pink, #e96a8f); }
.ppg-pair > i { color: var(--apc-pink, #e96a8f); font-size: 22px; font-style: normal; font-weight: 700; }
.ppg-case { padding: 24px 26px; border-radius: 18px; background: #f4f9fc; }
.ppg-case__t { display: inline-block; margin: 0 0 14px; padding: 4px 16px; border-radius: 30px; background: var(--apc-grad, linear-gradient(45deg, #e96a8f, #009ada)); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.ppg-case dl { display: grid; grid-template-columns: 170px 1fr; gap: 10px 18px; margin: 0; }
.ppg-case dt { font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--apc-blue, #0599d9); }
.ppg-case dd { margin: 0; font-size: 14px; line-height: 1.9; letter-spacing: .04em; font-weight: 600; }
.ppg-case dd ul { margin: 0; padding-left: 1.3em; }
.ppg-case__s { margin: 20px 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--apc-blue, #0599d9); }
.ppg-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.ppg-steps li .ppg-img img { border-radius: 14px; }
.ppg-steps p { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin: 10px 0 0; font-size: 13.5px; line-height: 1.8; font-weight: 600; letter-spacing: .03em; }
.ppg-steps p b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--apc-pink, #e96a8f); color: #fff; font-size: 12px; }
.ppg-callout { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: start; padding: 18px 24px; border-radius: 16px; background: #fff4f7; box-shadow: inset 0 0 0 1.5px #f1c6d3; }
.ppg-callout b { padding: 2px 14px; border-radius: 30px; background: var(--apc-pink, #e96a8f); color: #fff; font-size: 12px; letter-spacing: .12em; }
.ppg-callout p { margin: 0; font-size: 14.5px; line-height: 1.95; letter-spacing: .04em; font-weight: 600; }
.ppg-role { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding: 16px 24px; border-radius: 16px; background: linear-gradient(135deg, #eaf6fc, #fff4f7); }
.ppg-role p { margin: 0; font-size: 14.5px; font-weight: 700; line-height: 1.8; letter-spacing: .05em; }
.ppg-role span { padding: 5px 18px; border-radius: 30px; background: #fff; color: #0b4f73; font-size: 13px; font-weight: 700; letter-spacing: .08em; box-shadow: inset 0 0 0 1.5px var(--apc-blue, #0599d9); }
.ppg-extra { margin-top: 28px; }

/* ---- チェックリスト ---- */
.ppg-check { padding: 34px 38px 30px; border-radius: 30px; background: #fff; box-shadow: 0 14px 40px rgba(0, 48, 64, .09); }
.ppg-check ul { margin: 0 0 22px; padding: 0; list-style: none; display: grid; gap: 10px; }
.ppg-check label { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px; padding: 13px 18px; border-radius: 14px; background: #f4f9fc; font-size: 15px; font-weight: 600; line-height: 1.8; letter-spacing: .04em; cursor: pointer; transition: background .3s, box-shadow .3s; }
.ppg-check label:hover { background: #eaf6fc; }
.ppg-check input { width: 22px; height: 22px; accent-color: var(--apc-pink, #e96a8f); }
.ppg-check label:has(input:checked) { background: #e9f6fd; box-shadow: inset 0 0 0 1.5px var(--apc-blue, #0599d9); }
.ppg-check label:has(input:checked) span { color: #0b4f73; }
.ppg-check__foot { padding-top: 18px; border-top: 1px dashed #cfe3ee; }
.ppg-check__n { margin: 0 0 8px; font-size: 14px; letter-spacing: .08em; color: #5b6e77; }
.ppg-check__n b { font-size: 32px; line-height: 1; color: var(--apc-pink, #e96a8f); }
.ppg-check__bar { height: 10px; border-radius: 10px; background: #eaf0f4; overflow: hidden; }
.ppg-check__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 .5s cubic-bezier(.3, .8, .3, 1); }
.ppg-check__msg { margin: 12px 0 0; font-size: 14px; line-height: 1.8; letter-spacing: .05em; font-weight: 700; color: #0b4f73; }

/* ---- メリット・他の目的別 ---- */
.ppg-merits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.ppg-merits li { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; padding: 22px 26px; border-radius: 22px; background: #fff; box-shadow: 0 10px 30px rgba(0, 48, 64, .07); }
.ppg-merits i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--apc-grad, linear-gradient(45deg, #e96a8f, #009ada)); color: #fff; font-style: normal; font-weight: 700; }
.ppg-merits span { font-size: 15.5px; line-height: 1.8; letter-spacing: .05em; font-weight: 700; }
.ppg-others { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ppg .ppg-other { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 24px; border-radius: 20px; background: #fff; color: inherit; font-size: 15px; font-weight: 700; line-height: 1.6; letter-spacing: .05em; text-decoration: none; box-shadow: 0 10px 28px rgba(0, 48, 64, .07); transition: transform .4s, box-shadow .4s; }
.ppg .ppg-other:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgba(0, 48, 64, .14), inset 0 0 0 2px rgba(233, 106, 143, .45); }
.ppg .ppg-other i { flex: none; font-style: normal; color: var(--apc-pink, #e96a8f); }
.ppg .ppg-other.is-current { background: #e9f6fd; box-shadow: inset 0 0 0 2px var(--apc-blue, #0599d9); pointer-events: none; }
.ppg .ppg-other.is-current i { padding: 2px 12px; border-radius: 30px; background: var(--apc-blue, #0599d9); color: #fff; font-size: 11px; letter-spacing: .1em; }
.ppg-back { margin: 24px 0 0; text-align: center; }
.ppg-back a { color: var(--apc-blue, #0599d9); font-weight: 700; letter-spacing: .06em; text-decoration: none; }
.ppg-back a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---- スマホ・タブレット ---- */
@media (max-width: 1024px) {
	.ppg-points { grid-template-columns: 1fr; gap: 22px; }
	.ppg-toc { position: static; }
	.ppg-toc ol { display: flex; gap: 6px; max-height: none; overflow-x: auto; padding-bottom: 6px; }
	.ppg .ppg-toc a { flex: none; grid-template-columns: auto auto; white-space: nowrap; background: #f4f9fc; }
	.ppg-pains, .ppg-results, .ppg-merits { grid-template-columns: 1fr; }
	.ppg-others { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
	.ppg-point { padding: 28px 22px 26px; }
	.ppg-point > header b { font-size: 34px; }
	.ppg-case dl { grid-template-columns: 1fr; gap: 2px; }
	.ppg-case dt { margin-top: 8px; }
	.ppg-compare__row, .ppg-pair { grid-template-columns: 1fr; }
	.ppg-compare__row i, .ppg-pair > i { justify-self: center; transform: rotate(90deg); }
	.ppg-others { grid-template-columns: 1fr; }
	.ppg-check { padding: 26px 20px 24px; }
	.ppg-purpose { padding: 20px 22px; }
}
@media (prefers-reduced-motion: reduce) {
	.ppg-check__bar i, .ppg .ppg-other, .ppg .ppg-toc a, .ppg-check label { transition: none; }
}
