@media (max-width: 767px) { .v-pc { display: none !important; } }
@media (min-width: 768px) { .v-sp { display: none !important; } }

.post-page { display: block; padding-bottom: 80px; background: var(--surface); }
.post-page--guide { padding-bottom: 0; }
@media (max-width: 767px) { .post-page { padding-bottom: 56px; } .post-page--guide { padding-bottom: 0; } }
.post-main { max-width: var(--content-max); margin: 0 auto; padding: 20px var(--gutter) 0; box-sizing: border-box; color: var(--text); }
.post-grid { margin-top: 32px; }
.post-body { min-width: 0; font-size: 17px; line-height: 1.95; color: var(--text); }
.post-body strong { font-weight: 700; color: var(--heading); }
.post-body a { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }
.post-body a:hover { color: var(--heading); }
.post-side { display: none; }

@media (min-width: 1024px) {
  .post-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; column-gap: 48px; align-items: start; }
  .post-body { max-width: 720px; }
  .post-side { display: block; align-self: stretch; }
  .post-toc-inline { display: none; }
}
@media (min-width: 1280px) {
  .post-grid { grid-template-columns: 720px 300px; column-gap: 0; justify-content: space-between; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .post-body { max-width: 720px; }
}
@media (max-width: 767px) {
  .post-main { padding-top: 14px; }
  .post-grid { margin-top: 20px; }
  .post-body { font-size: 16px; line-height: 1.9; }
}

.post-crumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; list-style: none; margin: 0; padding: 0; font-size: 13px; line-height: 1.5; color: var(--text-2); }
.post-crumb li:not(:last-child)::after { content: "›"; margin-left: 8px; color: var(--text-2); }
.post-crumb a { display: inline-block; padding: 6px 0; color: var(--text-2); }

.post-pill { display: inline-flex; align-items: center; align-self: flex-start; height: 26px; padding: 0 12px; box-sizing: border-box; border-radius: var(--radius-pill); background: var(--purple-50); color: var(--purple); font-size: 12px; font-weight: 700; line-height: 1; }
.post-h1 { margin: 14px 0 0; color: var(--heading); font-feature-settings: 'palt'; }
.post-h1__sub, .post-h2, .post-h3, .post-card__title, .guide-h1 { word-break: auto-phrase; }
.post-h1__main { display: block; font-size: 40px; line-height: 1.35; font-weight: 800; text-wrap: wrap; }
.post-h1__sub { display: block; margin-top: 8px; font-size: 20px; line-height: 1.5; font-weight: 700; text-wrap: balance; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: 16px 0 0; font-size: 13px; line-height: 1.5; color: var(--text-2); }
.post-body .post-meta a { display: inline-block; padding: 4px 0; color: var(--text-2); }
.post-lead { margin: 12px 0 0; font-size: 18px; line-height: 1.95; color: var(--heading); }
.post-lead.is-first { margin-top: 24px; }
.post-eyecatch { margin: 24px 0 0; aspect-ratio: 3 / 1; overflow: hidden; border-radius: var(--radius-card-large); background: var(--purple-900); }
.post-eyecatch__img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) {
  .post-pill { height: 24px; padding: 0 10px; font-size: 11px; }
  .post-h1__main { font-size: 28px; }
  .post-h1__sub { font-size: 16px; }
  .post-lead { font-size: 17px; line-height: 1.9; }
  .post-lead.is-first { margin-top: 20px; }
  .post-eyecatch { margin-top: 20px; aspect-ratio: 2 / 1; border-radius: var(--radius-card); }
}

.post-p { margin: 20px 0 0; }
.post-body .mt-10 { margin-top: 10px; }
.post-body .mt-18 { margin-top: 18px; }
.post-body .mt-24 { margin-top: 24px; }

.post-h2 { margin: 72px 0 0; font-size: 28px; line-height: 1.45; font-weight: 700; color: var(--heading); font-feature-settings: 'palt'; text-wrap: balance; }
.post-h2::before { content: ""; display: block; width: 32px; height: 4px; margin-bottom: 14px; border-radius: var(--radius-pill); background: linear-gradient(90deg, var(--blue), var(--purple) 55%, var(--pink)); }
.post-h3 { margin: 40px 0 0; font-size: 20px; line-height: 1.5; font-weight: 700; color: var(--heading); font-feature-settings: 'palt'; text-wrap: balance; }
@media (max-width: 767px) {
  .post-h2 { margin-top: 56px; font-size: 22px; }
  .post-h3 { margin-top: 32px; font-size: 18px; }
}

.post-key { margin: 24px 0 0; padding: 20px 24px; border-radius: var(--radius-card); background: var(--purple-50); color: var(--heading); }
@media (max-width: 767px) { .post-key { padding: 16px 18px; } }

.post-steps { list-style: none; margin: 24px 0 0; padding: 0; }
.post-steps li { display: flex; gap: 14px; }
.post-steps li + li { margin-top: 18px; }
.post-steps li > div { min-width: 0; }
.post-steps__n { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin-top: 1px; border-radius: 50%; background: var(--purple); color: var(--surface); font-family: var(--font-numeral); font-size: 16px; font-weight: 700; line-height: 1; }
@media (max-width: 767px) {
  .post-steps li { gap: 12px; }
  .post-steps__n { width: 28px; height: 28px; font-size: 15px; }
}

.post-checks { list-style: none; margin: 24px 0 0; padding: 0; }
.post-checks li { display: flex; gap: 12px; }
.post-checks li + li { margin-top: 14px; }
.post-checks li > div { min-width: 0; }
.post-checks__mark { flex: none; margin-top: 3px; }
.post-checks__mark circle { fill: var(--purple-50); }
.post-checks__mark path { fill: none; stroke: var(--purple); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.post-checks--panel { padding: 28px 32px; border-radius: var(--radius-card-large); background: var(--bg); }
.post-checks--panel .post-checks__mark circle { fill: var(--surface); }
@media (max-width: 767px) { .post-checks--panel { padding: 20px 18px; } }

.post-table { margin-top: 24px; border: 1px solid var(--hairline); border-radius: var(--radius-card); overflow: hidden; }
.post-table table { position: relative; width: 100%; border-collapse: collapse; table-layout: fixed; }
.post-table th, .post-table td { padding: 14px 16px; text-align: left; vertical-align: top; font-size: 14px; line-height: 1.7; }
.post-table th { font-weight: 700; color: var(--heading); }
.post-table thead th { line-height: 1.5; background: var(--purple-50); }
.post-table tbody tr + tr > * { border-top: 1px solid var(--hairline); }
.w-18 { width: 18%; } .w-20 { width: 20%; } .w-24 { width: 24%; } .w-26 { width: 26%; } .w-28 { width: 28%; }
.w-30 { width: 30%; } .w-32 { width: 32%; } .w-34 { width: 34%; } .w-36 { width: 36%; } .w-38 { width: 38%; }
.w-40 { width: 40%; } .w-42 { width: 42%; } .w-44 { width: 44%; } .w-56 { width: 56%; } .w-64 { width: 64%; }
.thin { font-weight: 400; }
.post-body .num { font-family: var(--font-numeral); font-weight: 600; }
.zone-low { color: var(--blue-ink); }
.zone-mid1 { color: #4c3bc0; }
.zone-mid2 { color: var(--purple); }
.zone-hi { color: var(--pink-ink); }
@media (max-width: 767px) {
  .post-table th, .post-table td { padding: 12px 10px; font-size: 13px; }
  .post-table--stack { border: 0; border-radius: 0; overflow: visible; }
  .post-table--stack table, .post-table--stack tbody, .post-table--stack tr, .post-table--stack th, .post-table--stack td { display: block; }
  .post-table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .post-table--stack tbody tr + tr > * { border-top: 0; }
  .post-table--stack tr { padding: 16px; border-radius: var(--radius-card); background: var(--bg); }
  .post-table--stack tr + tr { margin-top: 12px; }
  .post-table--stack th, .post-table--stack td { padding: 0; }
  .post-table--stack th { font-size: 16px; line-height: 1.5; }
  .post-table--stack td { margin-top: 10px; font-size: 14px; line-height: 1.7; }
  .post-table--stack td::before { content: attr(data-label); display: block; font-size: 12px; line-height: 1.5; font-weight: 700; color: var(--purple); }
}

.post-mini th, .post-mini td { padding: 10px 2px; text-align: center; font-size: 14px; line-height: 1.4; font-weight: 400; color: var(--text); }
.post-mini th { width: 72px; box-sizing: border-box; font-size: 13px; font-weight: 700; color: var(--heading); }
.post-mini .is-latin td { font-weight: 600; color: var(--heading); }
.post-mini .is-head > * { background: var(--purple-50); }
.post-mini .is-head td { font-weight: 700; color: var(--heading); }
@media (max-width: 767px) {
  .post-mini th, .post-mini td { padding: 10px 2px; font-size: 13px; }
  .post-mini th { width: 56px; font-size: 12px; }
}

.post-fig { margin: 28px 0 0; padding: 24px 28px 20px; border-radius: var(--radius-card-large); background: var(--bg); }
.post-fig figcaption { margin-top: 12px; font-size: 14px; line-height: 1.6; color: var(--text); }
.post-fig svg { max-width: 100%; }
.post-fig--bare { padding: 0; border-radius: 0; background: none; }
@media (max-width: 767px) {
  .post-fig { padding: 16px 16px 14px; }
  .post-fig figcaption { font-size: 13px; }
  .post-fig--bare { padding: 0; }
}

.post-crop { width: 100%; max-width: 480px; margin: 0 auto; overflow: hidden; border-radius: var(--radius-card); }
.post-crop__img { display: block; width: 100%; height: auto; }

.post-phones { display: flex; justify-content: center; gap: 40px; margin-top: 28px; padding: 28px 28px 20px; border-radius: var(--radius-card-large); background: var(--bg); }
.post-phone { flex: 0 1 216px; min-width: 0; margin: 0; }
.post-phone__frame { aspect-ratio: 216 / 400; overflow: hidden; }
.post-phone__img { display: block; width: 100%; height: auto; box-sizing: border-box; border: 6px solid var(--heading); border-bottom: none; border-radius: var(--radius-phone) var(--radius-phone) 0 0; }
.post-phone figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; font-weight: 700; color: var(--heading); text-align: center; }
@media (max-width: 767px) {
  .post-phones { gap: 14px; padding: 20px 16px 16px; }
  .post-phone { flex-basis: 150px; }
  .post-phone__frame { aspect-ratio: 150 / 280; }
  .post-phone__img { border-width: 4px; border-bottom: none; border-radius: var(--radius-phone-sm) var(--radius-phone-sm) 0 0; }
  .post-phone figcaption { font-size: 12px; }
}

.post-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 24px; padding: 24px 28px; border-radius: var(--radius-card-large); background: var(--purple-50); }
.post-cta p { margin: 0; }
.post-cta__title { font-size: 18px; line-height: 1.5; font-weight: 700; color: var(--heading); }
.post-cta .post-cta__note { margin-top: 6px; font-size: 14px; line-height: 1.7; }
.post-body .post-cta__btn { flex: none; display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 28px; box-sizing: border-box; border-radius: var(--radius-pill); background: var(--purple); color: var(--surface); font-size: 16px; font-weight: 700; line-height: 1; text-decoration: none; }
.post-body .post-cta__btn:hover { color: var(--surface); background: var(--heading); }
@media (max-width: 767px) {
  .post-cta { display: block; padding: 20px 18px; }
  .post-cta__title { font-size: 17px; }
  .post-cta .post-cta__note { font-size: 13px; }
  .post-body .post-cta__btn { display: flex; width: 100%; margin-top: 14px; }
}

.post-toc { position: sticky; top: 100px; padding: 20px 22px; border-radius: var(--radius-card); background: var(--bg); }
.post-toc__title { margin: 0 0 6px; font-size: 14px; font-weight: 700; color: var(--heading); }
.post-toc ol, .post-toc-inline ol { list-style: none; margin: 0; padding: 0; }
.post-toc a, .post-toc-inline a { display: block; padding: 7px 0; font-size: 14px; line-height: 1.5; color: var(--text); text-decoration: none; }
.post-toc a:hover, .post-toc-inline a:hover { color: var(--purple); }
.post-toc a[aria-current], .post-toc-inline a[aria-current] { color: var(--purple); font-weight: 700; }
.post-toc-inline { margin-top: 24px; border-radius: var(--radius-card); background: var(--bg); }
.post-toc-inline summary { display: flex; align-items: center; justify-content: space-between; height: 48px; padding: 0 16px; list-style: none; cursor: pointer; font-size: 15px; font-weight: 700; color: var(--heading); }
.post-toc-inline summary::-webkit-details-marker { display: none; }
.post-toc-inline summary svg path { fill: none; stroke: var(--purple); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.post-toc-inline[open] summary svg { transform: rotate(180deg); }
.post-toc-inline nav { padding: 0 16px 12px; }
.post-body .post-toc-inline a { font-size: 15px; color: var(--text); text-decoration: none; }
.post-body .post-toc-inline a[aria-current] { color: var(--purple); }

.post-sources { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--hairline); font-size: 13px; line-height: 1.7; }
.post-sources p { margin: 8px 0 0; }
.post-sources .post-sources__title { margin: 0; font-weight: 700; color: var(--heading); }
.post-sources ul { margin: 4px 0 0; padding-left: 18px; list-style: disc; }
.post-sources li { margin-top: 6px; }
@media (max-width: 767px) { .post-sources { margin-top: 44px; } }

.post-related { background: var(--bg); }
.post-related__inner { max-width: var(--content-max); margin: 0 auto; padding: 64px var(--gutter) 80px; box-sizing: border-box; }
.post-related__title { margin: 0; font-size: 28px; line-height: 1.45; font-weight: 700; color: var(--heading); }
.post-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.post-card { display: flex; flex-direction: column; align-items: flex-start; padding: 24px; box-sizing: border-box; border-radius: var(--radius-card-large); background: var(--surface); box-shadow: var(--shadow-1); color: var(--text); text-decoration: none; }
.post-card:hover .post-card__title { color: var(--purple); }
.post-card__title { display: block; margin: 12px 0 0; font-size: 18px; line-height: 1.5; font-weight: 700; color: var(--heading); text-wrap: balance; }
.post-card__desc { display: block; margin-top: 8px; font-size: 14px; line-height: 1.7; }
@media (min-width: 768px) and (max-width: 1023px) {
  .post-related__inner { padding-top: 56px; padding-bottom: 72px; }
  .post-cards { gap: 16px; }
}
@media (max-width: 767px) {
  .post-related__inner { padding-top: 40px; padding-bottom: 48px; }
  .post-related__title { font-size: 22px; }
  .post-cards { display: flex; flex-direction: column; gap: 12px; }
  .post-card { padding: 16px; }
  .post-card__title { font-size: 17px; }
  .post-card__desc { font-size: 13px; }
}

.guide-head { margin-top: 24px; padding-bottom: 8px; }
.guide-eyebrow { margin: 0; }
.guide-h1 { margin: 10px 0 0; font-size: 40px; line-height: 1.35; font-weight: 800; color: var(--heading); font-feature-settings: 'palt'; }
.guide-h1__line { white-space: nowrap; }
.guide-h1__mark { padding: 0 2px; background: linear-gradient(transparent 64%, var(--purple-100) 64%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.guide-lead { margin: 14px 0 0; font-size: 16px; line-height: 1.9; color: var(--heading); word-break: auto-phrase; text-wrap: pretty; }
.guide-steps { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.guide-steps li { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 4px 14px 4px 5px; border: 1px solid var(--purple-100); border-radius: var(--radius-pill); background: #fff; color: var(--heading); font-size: 13px; font-weight: 700; line-height: 1.3; }
.guide-steps__num { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--purple); color: #fff; font-size: 12px; font-weight: 700; line-height: 1; }
.guide-head__photo { display: block; margin-top: 24px; aspect-ratio: 16 / 7; overflow: hidden; border-radius: var(--radius-card); background: var(--purple-900); box-shadow: 0 12px 32px rgba(74, 15, 140, 0.18); }
.guide-head__img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; }
@media (min-width: 768px) {
  .guide-head { display: flex; align-items: center; gap: 48px; }
  .guide-h1 { font-size: 30px; }
  .guide-head__text { flex: 1; min-width: 0; }
  .guide-head__photo { flex: 0 0 42%; max-width: 460px; margin-top: 0; aspect-ratio: 4 / 3; border-radius: var(--radius-card-large); }
}
@media (min-width: 1024px) {
  .guide-head { margin-top: 32px; }
  .guide-h1 { font-size: 36px; }
  .guide-lead { font-size: 17px; }
}
.guide-list { margin-top: 40px; }
.guide-cards { margin-top: 0; }
.guide-cards .post-card { overflow: hidden; }
.post-card__thumb { display: block; align-self: stretch; margin: -24px -24px 20px; aspect-ratio: 16 / 9; overflow: hidden; background: var(--purple-900); }
.post-card__thumb-img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.post-card:hover .post-card__thumb-img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) {
  .post-card__thumb-img { transition: none; }
  .post-card:hover .post-card__thumb-img { transform: none; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .guide-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .guide-h1 { font-size: 26px; }
  .guide-lead { font-size: 15px; }
  .guide-list { margin-top: 32px; }
  .post-card__thumb { margin: -16px -16px 14px; }
}
@media (max-width: 359px) {
  .guide-h1 { font-size: 22px; }
}
.post-toc a, .toc a { text-wrap: pretty; }
.post-body p .np, .post-body li .np, .post-body td .np { display: inline; white-space: nowrap; }
.post-sources a { display: inline-block; padding: 5px 0; }
.post-toc a, .post-toc-inline a { text-wrap: balance; }
