@charset "UTF-8";

.post-hero { padding: 170px 0 88px; color: #fff; background: var(--brand-700); }
.post-hero-inner { max-width: 980px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; color: rgba(255,255,255,.64); font-size: 11px; }
.post-meta > span { color: #a9d4f5; font: 700 10px/1.2 var(--font-en); letter-spacing: .15em; }
.post-meta a { padding: 5px 9px; border: 1px solid rgba(255,255,255,.22); color: #fff; text-decoration: none; }
.post-hero h1 { margin: 28px 0 0; color: #fff; font-size: clamp(38px, 5.5vw, 64px); line-height: 1.42; letter-spacing: -.045em; }
.post-hero-inner > p { max-width: 760px; margin: 24px 0 0; color: rgba(255,255,255,.7); font-size: 15px; line-height: 1.9; }
.post-layout { padding-top: 96px; padding-bottom: 128px; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 90px; align-items: start; }
.post-thumbnail { margin: 0 0 54px; }
.post-thumbnail img { width: 100%; height: auto; display: block; }
.post-content { color: var(--ink-700); font-size: 16px; line-height: 2; }
.post-content > :first-child { margin-top: 0; }
.post-content h2 { margin: 68px 0 28px; padding: 0 0 20px; border-bottom: 1px solid var(--border-strong); color: var(--brand-700); font-size: clamp(28px, 3vw, 40px); line-height: 1.5; letter-spacing: -.03em; }
.post-content h3 { margin: 46px 0 21px; padding-left: 18px; border-left: 3px solid var(--accent-500); color: var(--brand-700); font-size: 23px; line-height: 1.55; }
.post-content h4 { margin: 36px 0 16px; color: var(--brand-700); font-size: 18px; }
.post-content p { margin: 0 0 24px; }
.post-content a { color: var(--brand-500); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.post-content ul, .post-content ol { margin: 24px 0 32px; padding-left: 1.6em; }
.post-content li + li { margin-top: 9px; }
.post-content blockquote { margin: 36px 0; padding: 22px 28px; border-left: 4px solid var(--brand-500); background: var(--surface-blue); }
.post-content img { height: auto; }
.post-content figure { max-width: 100%; margin: 36px 0; }
.post-content table { width: 100%; margin: 32px 0 42px; border-collapse: collapse; font-size: 14px; }
.post-content th, .post-content td { padding: 15px; border: 1px solid var(--border); text-align: left; vertical-align: top; }
.post-content th { color: var(--brand-700); background: var(--surface-blue); }
.post-content .wp-block-button__link { padding: 13px 22px; border-radius: 0; color: #fff; background: var(--brand-500); text-decoration: none; }
.post-content .supervisor-box { margin: 48px 0; padding: 24px; border: 1px solid var(--border); background: #fff; }
.post-content .supervisor-profile { display: flex; gap: 18px; }
.post-diagnosis-cta { position: relative; margin: 68px 0 0; padding: 42px; overflow: hidden; border: 1px solid #b9d4e8; background: linear-gradient(135deg, #edf6fc 0%, #fff 64%); }
.post-diagnosis-cta::after { content: ""; position: absolute; right: -42px; bottom: -54px; width: 180px; aspect-ratio: 1; border: 34px solid rgba(29, 111, 180, .09); transform: rotate(45deg); pointer-events: none; }
.post-diagnosis-cta > span { position: relative; z-index: 1; color: var(--brand-500); font: 700 10px/1.2 var(--font-en); letter-spacing: .16em; }
.post-content .post-diagnosis-cta h2 { position: relative; z-index: 1; margin: 16px 0 0; padding: 0; border: 0; font-size: clamp(25px, 3vw, 34px); line-height: 1.55; }
.post-diagnosis-cta p { position: relative; z-index: 1; max-width: 680px; margin: 18px 0 26px; color: var(--ink-600); font-size: 14px; line-height: 1.9; }
.post-content .post-diagnosis-cta .button { position: relative; z-index: 1; display: inline-flex; color: #fff; text-decoration: none; }
.post-diagnosis-cta small { position: relative; z-index: 1; display: block; margin-top: 13px; color: var(--ink-500); font-size: 11px; }
.post-tags { margin-top: 62px; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--border-strong); }
.post-tags span { padding: 6px 10px; border: 1px solid var(--border); color: var(--brand-600); font-size: 11px; }
.post-side { position: sticky; top: 112px; padding: 30px; border-top: 4px solid var(--accent-500); color: #fff; background: var(--brand-700); }
.post-side > span { color: #a9d4f5; font: 700 10px/1.2 var(--font-en); letter-spacing: .14em; }
.post-side h2 { margin: 18px 0 0; color: #fff; font-size: 23px; line-height: 1.55; }
.post-side p { margin: 18px 0 24px; color: rgba(255,255,255,.68); font-size: 12px; line-height: 1.8; }
.post-side .button { width: 100%; }
.post-side .text-link { margin-top: 22px; color: #bfe1fa; }
.post-related { padding: 104px 0 120px; background: var(--surface-blue); }
.post-related-head h2 { margin: 12px 0 0; color: var(--brand-700); font-size: 38px; }
.post-related-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border-strong); }
.post-related-grid article { min-width: 0; padding: 26px 24px 32px; border-right: 1px solid var(--border); }
.post-related-grid article:first-child { padding-left: 0; }
.post-related-grid article:last-child { padding-right: 0; border-right: 0; }
.post-related-grid a { color: inherit; text-decoration: none; }
.post-related-media { aspect-ratio: 16 / 9; margin-bottom: 20px; overflow: hidden; background: linear-gradient(135deg, #dcecf5, #fff); }
.post-related-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease); }
.post-related-grid a:hover img { transform: scale(1.025); }
.post-related-grid time { color: var(--ink-500); font: 600 10px/1.2 var(--font-en); letter-spacing: .1em; }
.post-related-grid h3 { margin: 11px 0 0; color: var(--brand-700); font-size: 17px; line-height: 1.65; }

@media (max-width: 960px) {
  .post-layout { grid-template-columns: 1fr; gap: 54px; }
  .post-side { position: static; max-width: 520px; }
}

@media (max-width: 760px) {
  .post-hero { padding: 136px 0 68px; }
  .post-hero h1 { font-size: clamp(34px, 10vw, 48px); }
  .post-layout { padding-top: 68px; padding-bottom: 88px; }
  .post-content { font-size: 15px; }
  .post-content h2 { margin-top: 54px; }
  .post-diagnosis-cta { margin-top: 54px; padding: 30px 24px; }
  .post-content .post-diagnosis-cta h2 { font-size: 25px; }
  .post-content .post-diagnosis-cta .button { width: 100%; justify-content: center; }
  .post-content table { display: block; overflow-x: auto; }
  .post-related { padding: 78px 0 88px; }
  .post-related-grid { grid-template-columns: 1fr; }
  .post-related-grid article, .post-related-grid article:first-child, .post-related-grid article:last-child { padding: 24px 0 30px; border-right: 0; border-bottom: 1px solid var(--border); }
}
