/* =========================================================
   コラム・お知らせ・導入事例（一覧と記事ページ）
   ========================================================= */

/* ---------- 記事カード ---------- */
.pcards { display: grid; gap: 28px 24px; }
.pcards--2 { grid-template-columns: 1fr 1fr; }
.pcards--3 { grid-template-columns: repeat(3, 1fr); }
.pcard { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s; }
.pcard[hidden] { display: none; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.pcard__img { display: block; overflow: hidden; background: #e3e9e6; aspect-ratio: 16 / 9; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pcard:hover .pcard__img img { transform: scale(1.05); }
.pcard__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; flex: 1; }
.pcard__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.pcard__cat { font-size: 11px; font-weight: 700; color: #fff; background: var(--green); border-radius: 4px; padding: 2px 8px; line-height: 1.6; }
.pcard__meta time { font-family: var(--font-en); font-size: 12px; color: var(--muted); }
.pcard__title { font-weight: 700; font-size: 15.5px; line-height: 1.65; color: var(--ink); }
.pcard:hover .pcard__title { color: var(--green-700); }
.pcard__tags { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: auto; font-size: 12px; color: var(--green-700); }

/* ---------- コラム一覧 ---------- */
.blog-tabs { position: sticky; top: calc(var(--header-h) + 18px); z-index: 30; margin: -28px 0 -28px; pointer-events: none; }
.blog-tabs__inner { display: flex; gap: 4px; padding: 6px; width: fit-content; max-width: calc(100% - var(--gutter) * 2); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 999px; box-shadow: 0 8px 26px rgba(11,26,20,.12); pointer-events: auto; overflow-x: auto; scrollbar-width: none; }
.blog-tabs__inner::-webkit-scrollbar { display: none; }
.blog-tabs button { flex-shrink: 0; border: 0; background: transparent; font-weight: 700; font-size: 14px; color: var(--ink); padding: 10px 18px; border-radius: 999px; cursor: pointer; transition: background-color .2s, color .2s; }
.blog-tabs button:hover { background: var(--green-50); }
.blog-tabs button.is-current { background: var(--green); color: #fff; }
.page-column .phero { padding-bottom: 96px; }
.page-column .crumb { display: none; }
.blog__label { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 20px; color: var(--ink); margin-bottom: 18px; }
.blog__label::before { content: ""; width: 6px; height: 22px; border-radius: 3px; background: var(--green); }
.feat { margin-bottom: 64px; }
.feat[hidden] { display: none; }
.feat__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; }
.pcard--hero .pcard__title { font-size: 20px; }
.feat__sub { display: flex; flex-direction: column; gap: 20px; }
.pcard--row { flex-direction: row; flex: 1; }
.pcard--row { align-items: center; }
.pcard--row .pcard__img { width: 48%; flex-shrink: 0; aspect-ratio: 16 / 9; align-self: center; margin-left: 12px; border-radius: 8px; }
.pcard--row .pcard__tags { display: none; }
.blog-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.blog__bar { display: flex; justify-content: space-between; align-items: baseline; }
.blog__count { font-size: 13px; color: var(--muted); }
.blog__count b { font-family: var(--font-en); font-size: 18px; color: var(--ink); margin-right: 2px; }
.blog__empty { text-align: center; padding: 48px 16px; color: var(--muted); background: var(--soft); border-radius: var(--radius); }
.blog__empty button { display: block; margin: 10px auto 0; border: 0; background: none; color: var(--green-700); font-weight: 700; text-decoration: underline; cursor: pointer; font-size: 14px; }
.blog-side { position: sticky; top: calc(var(--header-h) + 90px); display: flex; flex-direction: column; gap: 18px; }
.blog-search { position: relative; }
.blog-search input { width: 100%; font: inherit; font-size: 15px; border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 44px 10px 16px; background: #fff; }
.blog-search input:focus { outline: none; border-color: var(--green); }
.blog-search svg { position: absolute; right: 14px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.blog-cats { display: flex; flex-direction: column; }
.blog-cats button { width: 100%; display: flex; justify-content: space-between; align-items: center; border: 0; border-bottom: 1px dashed var(--line); background: none; font: inherit; font-size: 14px; font-weight: 700; color: var(--ink); padding: 10px 2px; cursor: pointer; text-align: left; }
.blog-cats li:last-child button { border-bottom: 0; }
.blog-cats button:hover, .blog-cats button.is-current { color: var(--green-700); }
.blog-cats span { font-family: var(--font-en); font-size: 12px; color: var(--muted); background: var(--soft); border-radius: 999px; padding: 0 9px; }
.blog-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.blog-tags button { border: 0; background: var(--green-50); color: var(--green-700); font: inherit; font-size: 12.5px; font-weight: 700; border-radius: 999px; padding: 5px 12px; cursor: pointer; transition: background-color .2s, color .2s; }
.blog-tags button:hover, .blog-tags button.is-current { background: var(--green); color: #fff; }

/* ---------- サイドバー ---------- */
.pside__box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.pside__title { display: block; font-weight: 900; font-size: 15px; color: var(--ink); margin-bottom: 12px; }
.pside__dl { display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: center; padding: 16px; border-radius: var(--radius); background: var(--green); color: #fff; transition: transform .2s, box-shadow .2s; }
.pside__dl:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(6,199,85,.35); }
.pside__dl-doc { display: flex; flex-direction: column; gap: 6px; background: #fff; border-radius: 6px; padding: 10px 8px; aspect-ratio: 1 / 1.25; justify-content: flex-end; box-shadow: 4px 4px 0 rgba(255,255,255,.3); transform: rotate(-4deg); }
.pside__dl-doc img { width: 70%; margin-bottom: auto; }
.pside__dl-doc b { font-size: 10px; color: var(--ink); line-height: 1.3; }
.pside__dl-text { display: flex; flex-direction: column; font-size: 12px; line-height: 1.5; }
.pside__dl-text small { align-self: flex-start; font-size: 11px; font-weight: 700; background: #f08a00; border-radius: 4px; padding: 0 6px; margin-bottom: 4px; }
.pside__dl-text b { font-size: 15px; margin-top: 2px; }
.pside__latest { display: flex; flex-direction: column; gap: 12px; }
.pside__latest a { display: grid; grid-template-columns: 84px 1fr; gap: 10px; align-items: center; font-size: 12.5px; font-weight: 700; line-height: 1.55; color: var(--ink); }
.pside__latest img { width: 84px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; }
.pside__latest a:hover span { color: var(--green-700); }
.pside__toc ol { display: flex; flex-direction: column; gap: 2px; counter-reset: st; max-height: 46vh; overflow-y: auto; }
.pside__toc a { position: relative; display: block; padding: 6px 8px 6px 26px; font-size: 12.5px; line-height: 1.55; border-radius: 6px; color: var(--muted); counter-increment: st; }
.pside__toc a::before { content: counter(st); position: absolute; left: 6px; top: 6px; font-family: var(--font-en); font-weight: 700; font-size: 11px; color: var(--green); }
.pside__toc a:hover { background: var(--soft); color: var(--ink); }
.pside__toc a.is-current { background: var(--green-50); color: var(--green-700); font-weight: 700; }

/* ---------- 記事ページ ---------- */
.post-wrap { background: var(--soft); padding: calc(var(--header-h) + 0px) 0 0; }
.page-post .crumb { margin-top: calc(var(--header-h) + 24px); background: transparent; border: 0; }
.page-post .post-wrap { padding-top: 8px; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; padding-bottom: 96px; }
.post { background: #fff; border-radius: var(--radius-lg); padding: 48px 56px 40px; box-shadow: 0 2px 0 var(--line); min-width: 0; }
.post__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.post__cat { font-size: 12px; font-weight: 700; color: #fff; background: var(--green); border-radius: 4px; padding: 3px 10px; }
.post__meta time { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-en); font-size: 13px; color: var(--muted); }
.post__meta svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.post h1 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 900; line-height: 1.5; }
.post__tags { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 14px; font-size: 13px; }
.post__tags a { color: var(--green-700); font-weight: 700; }
.post__tags a:hover { text-decoration: underline; }
.post__eye { margin: 28px 0 0; }
.post__eye img { width: 100%; border-radius: 14px; }
.post__body { margin-top: 32px; font-size: 16px; line-height: 2; color: var(--text); }
.post__body > * + * { margin-top: 1.2em; }
.post__body h2 { position: relative; margin-top: 2.6em; padding: 16px 20px 16px 24px; font-size: clamp(19px, 2vw, 23px); font-weight: 900; line-height: 1.55; color: var(--ink); background: var(--green-50); border-radius: 10px; scroll-margin-top: 100px; }
.post__body h2::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 5px; border-radius: 0 3px 3px 0; background: var(--green); }
.post__body h3 { margin-top: 2em; padding: 0 0 10px 14px; font-size: 18px; font-weight: 900; line-height: 1.6; border-bottom: 2px solid var(--line); position: relative; scroll-margin-top: 100px; }
.post__body h3::before { content: ""; position: absolute; left: 0; top: .35em; width: 5px; height: 1.1em; border-radius: 3px; background: var(--green); }
.post__body h4 { margin-top: 1.6em; font-size: 16.5px; font-weight: 900; color: var(--green-700); }
.post__body a { color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.post__body strong { background: linear-gradient(transparent 62%, #fff3a8 62%); font-weight: 700; color: var(--ink); }
.post__body figure { margin: 1.6em 0; }
.post__body figure img { width: 100%; border-radius: 12px; border: 1px solid var(--line); }
.post__body > ul, .post__body > ol { padding: 18px 22px 18px 24px; background: var(--soft); border-radius: 12px; display: flex; flex-direction: column; gap: 6px; }
.post__body > ul > li { position: relative; padding-left: 20px; line-height: 1.85; }
.post__body > ul > li::before { content: ""; position: absolute; left: 2px; top: .75em; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.post__body table { width: 100%; border-collapse: collapse; font-size: 14px; display: block; overflow-x: auto; }
.post__body th, .post__body td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.post__body th { background: var(--soft); }
.post-lead { font-size: 17px; font-weight: 500; color: var(--ink); padding-left: 16px; border-left: 4px solid var(--green); }
.post-points { border: 2px solid var(--green); border-radius: 14px; padding: 20px 24px 18px; background: #fff; }
.post-points__title { display: inline-flex; align-items: center; gap: 8px; font-weight: 900; color: var(--green-700); margin-bottom: 6px; }
.post-points__title::before { content: ""; width: 20px; height: 20px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.post-points ul { display: flex; flex-direction: column; gap: 4px; background: none; padding: 0; margin-top: 4px; }
.post-video { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.post-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* 目次 */
.toc { margin: 2em 0 !important; border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
.toc summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; font-weight: 900; color: var(--ink); background: var(--soft); }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: "閉じる"; font-size: 12px; font-weight: 700; color: var(--green-700); }
.toc details:not([open]) summary::after { content: "開く"; }
.toc__list { counter-reset: tc; padding: 14px 20px 18px; display: flex; flex-direction: column; gap: 4px; }
.toc__list > li { counter-increment: tc; }
.toc__list > li > a { position: relative; display: block; padding: 4px 0 4px 30px; font-weight: 700; font-size: 14.5px; line-height: 1.6; color: var(--ink); text-decoration: none; }
.toc__list > li > a::before { content: counter(tc); position: absolute; left: 0; top: 5px; width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: #fff; font-family: var(--font-en); font-size: 11px; display: grid; place-items: center; }
.toc__list ol { padding: 0 0 4px 30px; display: flex; flex-direction: column; }
.toc__list ol a { display: block; padding: 2px 0 2px 14px; position: relative; font-size: 13.5px; font-weight: 500; color: var(--muted); text-decoration: none; line-height: 1.6; }
.toc__list ol a::before { content: ""; position: absolute; left: 2px; top: .8em; width: 5px; height: 1px; background: var(--muted); }
.toc a:hover { color: var(--green-700) !important; }

/* 記事内CTA */
.post-cta { display: grid; grid-template-columns: 1fr auto; gap: 20px 28px; align-items: center; margin: 2.4em 0; padding: 28px 30px; border-radius: 18px; background: var(--green); color: #fff; position: relative; overflow: hidden; }
.post-cta::before { content: ""; position: absolute; right: -60px; top: -80px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.1); }
.post-cta__text, .post-cta__btns { position: relative; }
.post-cta__en { font-size: 12px; font-weight: 700; color: #d9fbe6; }
.post-cta__title { font-size: 20px; font-weight: 900; line-height: 1.5; margin: 2px 0 10px; color: #fff; }
.post__body .post-cta ul, .post-cta ul { background: none; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.post-cta li { position: relative; padding-left: 22px; font-size: 13.5px; font-weight: 700; line-height: 1.7; }
.post-cta li::before { content: ""; position: absolute; left: 0; top: 5px; width: 15px; height: 15px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306c755' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 10px no-repeat; }
.post-cta__btns { display: flex; flex-direction: column; gap: 10px; }
.post-cta .btn { text-decoration: none; color: #fff; }
.post-cta .btn--green { background: #fff; color: var(--green-700); box-shadow: none; }

/* 記事の下部 */
.post__foot { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 24px; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.share__label { font-weight: 700; font-size: 14px; margin-right: 6px; }
.share__btn { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 40px; padding: 0 14px; border-radius: 999px; border: 0; font: inherit; font-weight: 700; font-size: 13px; color: #fff; cursor: pointer; transition: opacity .2s, transform .2s; }
.share__btn:hover { opacity: .85; transform: translateY(-2px); }
.share__btn--x { background: #111; }
.share__btn--fb { background: #1877f2; font-family: var(--font-en); font-size: 16px; }
.share__btn--line { background: #06c755; }
.share__btn--copy { background: var(--soft); color: var(--ink); }
.author { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 14px; background: var(--soft); }
.author__ico { width: 64px; height: 64px; border-radius: 50%; background: #fff; display: grid; place-items: center; overflow: hidden; }
.author__ico img { width: 86%; }
.author__name { font-weight: 900; color: var(--ink); }
.author__desc { font-size: 13px; color: var(--muted); line-height: 1.7; }
.pside { position: sticky; top: calc(var(--header-h) + 30px); display: flex; flex-direction: column; gap: 18px; }
.post-related { background: #fff; }

/* ---------- 導入事例一覧 ---------- */
.case-filter { display: flex; flex-direction: column; gap: 12px; padding: 22px 26px; border-radius: var(--radius-lg); background: var(--soft); margin-bottom: 40px; }
.case-filter__row { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: start; }
.case-filter__label { font-weight: 900; color: var(--ink); padding-top: 5px; }
.case-filter__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.case-filter button { border: 1.5px solid var(--line); background: #fff; font: inherit; font-size: 13px; font-weight: 700; color: var(--ink); border-radius: 999px; padding: 6px 14px; cursor: pointer; transition: all .2s; }
.case-filter button:hover { border-color: var(--green); color: var(--green-700); }
.case-filter button.is-current { background: var(--green); border-color: var(--green); color: #fff; }
.ccards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ccard { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
a.ccard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.ccard[hidden] { display: none; }
.ccard__img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #e3e9e6; }
.ccard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
a.ccard:hover .ccard__img img { transform: scale(1.05); }
.ccard__genre { position: absolute; left: 12px; bottom: 12px; font-size: 12px; font-weight: 700; color: #fff; background: var(--green); border-radius: 6px; padding: 3px 10px; }
.ccard__body { display: flex; flex-direction: column; padding: 18px 20px 20px; flex: 1; }
.ccard__company { font-weight: 900; font-size: 18px; color: var(--ink); text-align: center; line-height: 1.5; }
.ccard__sub { font-size: 12px; color: var(--muted); text-align: center; margin-bottom: 14px; }
.ccard__label { align-self: flex-start; font-size: 11px; font-weight: 700; color: #fff; background: #8b9893; border-radius: 4px; padding: 1px 8px; margin-bottom: 8px; }
.ccard__label--on { background: var(--green); margin-top: 14px; }
.ccard__issues { display: flex; flex-direction: column; gap: 4px; }
.ccard__issues li { position: relative; padding-left: 14px; font-size: 13px; line-height: 1.6; color: var(--text); }
.ccard__issues li::before { content: ""; position: absolute; left: 2px; top: .65em; width: 5px; height: 5px; border-radius: 50%; background: #9aa8a2; }
.ccard__effects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ccard__effects li { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 2px; padding: 10px 4px; border-radius: 12px; background: var(--green-50); }
.ccard__effects b { font-size: 15px; font-weight: 900; color: var(--green-700); line-height: 1.3; }
.ccard__effects span { font-size: 10.5px; color: var(--muted); line-height: 1.4; }
.ccard__more { align-self: flex-end; margin-top: 16px; font-size: 13px; font-weight: 700; color: var(--green-700); }
.ccard__more::after { content: " →"; }
.ccard--next { align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 32px 24px; background: var(--soft); box-shadow: none; border: 2px dashed var(--line); }
.ccard__next-ico { width: 56px; height: 56px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.ccard__next-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--green); stroke-width: 2.4; stroke-linecap: round; }
.ccard__next-title { font-weight: 900; color: var(--ink); }
.ccard--next p:not(.ccard__next-title) { font-size: 13px; color: var(--muted); }

/* ---------- 導入事例の詳細 ---------- */
.cdetail { padding: calc(var(--header-h) + 16px) 0 96px; background: #fff; }
.page-case-detail .crumb { margin-top: calc(var(--header-h) + 24px); border: 0; }
.page-case-detail .cdetail { padding-top: 12px; }
.cdetail__head { max-width: 900px; margin: 0 auto 28px; text-align: center; }
.cdetail__tag { display: inline-block; font-size: 12px; font-weight: 700; color: #fff; background: var(--green); border-radius: 999px; padding: 3px 14px; margin-bottom: 14px; }
.cdetail__head h1 { font-size: clamp(22px, 2.8vw, 32px); font-weight: 900; line-height: 1.55; }
.cdetail__top { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; max-width: 1040px; margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.cdetail__img { margin: 0; }
.cdetail__img img { width: 100%; height: 100%; object-fit: cover; min-height: 300px; }
.cdetail__info { padding: 32px 34px; background: var(--ink); color: #fff; }
.cdetail__company { font-size: 20px; font-weight: 900; margin-bottom: 16px; }
.cdetail__info dl > div { display: grid; grid-template-columns: 76px 1fr; gap: 10px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.14); font-size: 14px; }
.cdetail__info dt { color: #7ee2a6; font-weight: 700; }
.cdetail__feats { display: flex; flex-wrap: wrap; gap: 6px; }
.cdetail__feats li { font-size: 12px; font-weight: 700; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 2px 10px; }
.cdetail__summary { display: grid; grid-template-columns: 1fr 56px 1fr; gap: 16px; align-items: center; max-width: 1040px; margin: 32px auto 0; }
.cdetail__box { height: 100%; padding: 22px 24px; border-radius: var(--radius-lg); background: var(--soft); }
.cdetail__box--on { background: var(--green-50); box-shadow: inset 0 0 0 2px var(--green); }
.cdetail__label { font-weight: 900; color: var(--ink); margin-bottom: 10px; }
.cdetail__box .ccard__issues li { font-size: 14.5px; }
.cdetail__box .ccard__effects li { background: #fff; padding: 14px 6px; }
.cdetail__box .ccard__effects b { font-size: 19px; }
.cdetail__box .ccard__effects span { font-size: 12px; }
.cdetail__body { max-width: 860px; margin: 48px auto 0; }
.cdetail .post-cta { max-width: 860px; margin-inline: auto; }

/* =========================================================
   タブレット
   ========================================================= */
@media (max-width: 1100px) {
  .blog-layout, .post-layout { grid-template-columns: 1fr; }
  .blog-side, .pside { position: static; }
  .blog-side { display: grid; grid-template-columns: 1fr 1fr; }
  .pside__toc { display: none; }
  .pside { display: grid; grid-template-columns: 1fr 1fr; }
  .ccards { grid-template-columns: 1fr 1fr; }
  .pcards--3 { grid-template-columns: 1fr 1fr; }
  .post { padding: 36px 32px; }
}

/* =========================================================
   スマホ
   ========================================================= */
@media (max-width: 768px) {
  .pcards { gap: 12px; }
  .pcards--2, .pcards--3 { grid-template-columns: 1fr; }
  .pcard { flex-direction: row; border-radius: 12px; }
  .pcard__img { width: 38%; flex-shrink: 0; aspect-ratio: auto; min-height: 84px; }
  .pcard__body { padding: 10px 12px; gap: 4px; }
  .pcard__cat { font-size: 9.5px; padding: 1px 6px; }
  .pcard__meta time { font-size: 10.5px; }
  .pcard__title { font-size: 13px; line-height: 1.55; }
  .pcard__tags { display: none; }

  .blog-tabs { top: calc(var(--header-h) + 12px); margin: -22px 0; }
  .blog-tabs__inner { max-width: calc(100% - 24px); padding: 4px; gap: 0; }
  .blog-tabs button { font-size: 12px; padding: 8px 11px; }
  .page-column .phero { padding-bottom: 52px; }
  .blog__label { font-size: 16px; margin-bottom: 12px; }
  .blog__label::before { width: 5px; height: 18px; }
  .feat { margin-bottom: 36px; }
  .feat__grid { grid-template-columns: 1fr; gap: 12px; }
  .feat__sub { gap: 12px; }
  .pcard--hero { flex-direction: column; }
  .pcard--hero .pcard__img { width: 100%; aspect-ratio: 16 / 9; }
  .pcard--hero .pcard__title { font-size: 15px; }
  .pcard--row .pcard__img { width: 38%; }
  .blog-layout { gap: 28px; }
  .blog-side { grid-template-columns: 1fr; gap: 12px; }

  .page-post .crumb { margin-top: calc(var(--header-h) + 14px); }
  .post-layout { gap: 20px; padding-bottom: 48px; }
  .post-wrap .container { width: 100%; }
  .post { padding: 22px 16px 24px; border-radius: 0; }
  .post h1 { font-size: 20px; }
  .post__eye { margin-top: 18px; }
  .post__eye img { border-radius: 10px; }
  .post__body { margin-top: 20px; font-size: 15px; line-height: 1.95; }
  .post__body h2 { font-size: 17.5px; padding: 12px 14px 12px 18px; margin-top: 2.2em; }
  .post__body h3 { font-size: 16px; }
  .post__body ul { padding: 14px 14px 14px 16px; }
  .post-lead { font-size: 15px; }
  .post-points { padding: 14px 16px; }
  .toc summary { padding: 12px 16px; }
  .toc__list { padding: 12px 16px 14px; }
  .toc__list > li > a { font-size: 13.5px; }
  .toc__list ol a { font-size: 12.5px; }
  .post-cta { grid-template-columns: 1fr; padding: 20px 18px; gap: 14px; }
  .post-cta__title { font-size: 17px; }
  .post__foot { margin-top: 32px; }
  .share__label { width: 100%; }
  .share__btn { height: 36px; font-size: 12px; padding: 0 12px; }
  .author { grid-template-columns: 48px 1fr; padding: 14px; }
  .author__ico { width: 48px; height: 48px; }
  .pside { grid-template-columns: 1fr; padding: 0 16px; }

  .case-filter { padding: 14px; gap: 10px; margin-bottom: 20px; border-radius: 16px; }
  .case-filter__row { grid-template-columns: 1fr; gap: 6px; }
  .case-filter__label { font-size: 13px; padding: 0; }
  .case-filter__chips { gap: 5px; }
  .case-filter button { font-size: 11.5px; padding: 4px 10px; }
  .ccards { grid-template-columns: 1fr; gap: 14px; }
  .ccard__body { padding: 14px; }
  .ccard__company { font-size: 16px; }
  .ccard__effects b { font-size: 13px; }

  .page-case-detail .crumb { margin-top: calc(var(--header-h) + 14px); }
  .cdetail { padding-bottom: 48px; }
  .cdetail__head h1 { font-size: 19px; }
  .cdetail__top { grid-template-columns: 1fr; border-radius: 16px; }
  .cdetail__img img { min-height: 0; aspect-ratio: 16 / 9; }
  .cdetail__info { padding: 18px 16px; }
  .cdetail__company { font-size: 16px; margin-bottom: 8px; }
  .cdetail__info dl > div { font-size: 12.5px; grid-template-columns: 64px 1fr; }
  .cdetail__summary { grid-template-columns: 1fr; gap: 8px; margin-top: 16px; }
  .cdetail__summary .ba__arrow { justify-self: center; width: 36px; height: 36px; transform: rotate(90deg); background-size: 16px; }
  .cdetail__box { padding: 14px; border-radius: 16px; }
  .cdetail__box .ccard__effects b { font-size: 15px; }
  .cdetail__body { margin-top: 28px; }
}
.post__body > ol { list-style: decimal; padding-left: 44px; }
.post-points li { position: relative; padding-left: 20px; line-height: 1.8; }
.post-points li::before { content: ""; position: absolute; left: 2px; top: .75em; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
@media (max-width: 768px) { .post__body > ul { padding: 14px 14px 14px 16px; } }

/* =========================================================
   記事本文のデザイン（参考：SWELL系の読みやすい記事デザイン）
   色は「緑（メイン）・黒（文字）・黄（マーカー）」の3色に絞る
   ========================================================= */
.post__body { font-size: 16px; line-height: 1.95; letter-spacing: .03em; }
.post__body > * + * { margin-top: 1.5em; }
.post__body > p + p { margin-top: 1.2em; }

/* 見出し：h2 は緑の帯、h3 は二色の下線、h4 は左に点 */
.post__body h2 { margin-top: 3.2em; padding: .9em 1.1em; font-size: 22px; line-height: 1.55; color: #fff; background: var(--green); border-radius: 0; }
.post__body h2::before { display: none; }
.post__body h3 { margin-top: 2.6em; padding: 0 0 .55em .1em; font-size: 20px; border-bottom: 2px solid #e5ece8; }
.post__body h3::before { left: 0; top: auto; bottom: -2px; width: 32%; height: 2px; border-radius: 0; }
.post__body h4 { position: relative; padding-left: 18px; color: var(--ink); font-size: 17px; }
.post__body h4::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--green); }

/* 太字は黄色いマーカー */
.post__body strong { background: linear-gradient(transparent 60%, #fff27a 60%); font-weight: 700; padding: 0 1px; }

/* 箇条書き：枠線つき＋チェック */
.post__body > ul { padding: 24px 26px; background: #fff; border: 1px solid var(--ink); border-radius: 0; gap: 10px; }
.post__body > ul > li { padding-left: 30px; }
.post__body > ul > li::before { left: 0; top: .32em; width: 20px; height: 20px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.post__body > ol { padding: 24px 26px 24px 48px; background: #fff; border: 1px solid var(--ink); border-radius: 0; }

/* この記事でわかること：枠の上にタイトル */
.post-points { position: relative; border: 2px solid var(--green); border-radius: 0; padding: 30px 26px 20px; margin-top: 2.2em !important; }
.post-points__title { position: absolute; left: 18px; top: 0; transform: translateY(-50%); margin: 0; padding: 4px 14px; background: var(--green); color: #fff; font-size: 14px; }
.post-points__title::before { display: none; }
.post-points ul { gap: 6px; }
.post-points li::before { width: 18px; height: 18px; top: .4em; left: 0; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat; }
.post-points li { padding-left: 28px; font-weight: 700; color: var(--ink); }
.post-author-mini { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); }
.post-author-mini__ico { width: 56px; height: 56px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; overflow: hidden; }
.post-author-mini__ico img { width: 88%; }
.post-author-mini p { font-size: 13px; line-height: 1.75; color: var(--muted); }
.post-author-mini span { font-size: 12px; }
.post-author-mini b { display: inline; color: var(--ink); font-size: 14px; margin-right: 8px; }

/* 目次：二重線の枠 */
.toc { border: 4px double #cfd8d3; border-radius: 0; padding: 26px 30px; margin: 2.4em 0 !important; background: #fff; }
.toc summary { justify-content: center; gap: 12px; padding: 0 0 14px; background: none; font-size: 19px; border-bottom: 1px solid var(--line); }
.toc summary::before { content: ""; width: 22px; height: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306c755' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M8 6h13M8 12h13M8 18h13M3 6h.01M3 12h.01M3 18h.01'/%3E%3C/svg%3E") center / contain no-repeat; }
.toc summary::after { position: absolute; right: 30px; }
.toc details { position: relative; }
.toc__list { padding: 16px 0 0; }

/* 相談ボックス（記事の冒頭と最後） */
.post-cta { display: block; margin: 2.6em 0 !important; padding: 30px 32px 28px; border-radius: 0; background: #effaf3; color: var(--ink); text-align: left; }
.post-cta::before { display: none; }
.post-cta__title { margin: 0 0 14px; padding-bottom: 12px; font-size: 19px; font-weight: 900; color: var(--green-700); border-bottom: 2px solid var(--green); }
.post-cta__checks { display: flex; flex-direction: column; gap: 6px; padding: 0 !important; background: none !important; border: 0 !important; }
.post-cta__checks li { position: relative; padding-left: 28px; font-weight: 700; font-size: 15px; line-height: 1.7; color: var(--ink); }
.post-cta__checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 3px; border: 2px solid var(--green); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306c755' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat; }
.post-cta__text { margin: 16px 0 0 !important; font-size: 15px; line-height: 1.9; }
.post-cta__text b { color: var(--green-700); }
.post-cta__micro { margin: 18px 0 6px !important; text-align: center; font-weight: 900; color: var(--ink); font-size: 15px; }
.post-cta__btn { display: block; width: min(100%, 420px); margin: 0 auto; padding: 17px 20px; border-radius: 999px; background: var(--green); color: #fff !important; text-align: center; font-weight: 900; font-size: 17px; text-decoration: none !important; box-shadow: 0 5px 0 var(--green-700); transition: transform .15s, box-shadow .15s; }
.post-cta__btn:hover { transform: translateY(3px); box-shadow: 0 2px 0 var(--green-700); }
.post-cta__sub { display: block; margin-top: 14px; text-align: center; font-size: 14px; color: var(--green-700) !important; }

/* あわせて読みたい */
.post-link { position: relative; display: grid; grid-template-columns: 180px 1fr; gap: 18px; align-items: center; padding: 22px 20px 18px; border: 1px solid var(--line); background: #fff; text-decoration: none !important; margin-top: 2.2em !important; transition: box-shadow .2s, border-color .2s; }
.post-link:hover { border-color: var(--green); box-shadow: var(--shadow); }
.post-link__label { position: absolute; left: 14px; top: 0; transform: translateY(-50%); background: var(--green); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 12px; }
.post-link__img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 0 !important; border-radius: 4px !important; }
.post-link__body { display: flex; flex-direction: column; gap: 6px; }
.post-link__title { font-weight: 700; color: var(--ink); line-height: 1.6; }
.post-link:hover .post-link__title { color: var(--green-700); }
.post-link time { font-family: var(--font-en); font-size: 12px; color: var(--muted); font-weight: 500; }

/* よくある質問：Q&A の囲み */
.post-qa { border: 1px solid var(--line); margin-top: 1.2em !important; }
.post-qa + .post-qa { margin-top: .8em !important; }
.post-qa__q { position: relative; padding: 14px 18px 14px 56px; background: var(--soft); font-weight: 900; color: var(--ink); line-height: 1.6; }
.post-qa__a { position: relative; padding: 14px 18px 16px 56px; }
.post-qa__q::before, .post-qa__a::before { position: absolute; left: 16px; top: 13px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-en); font-weight: 700; font-size: 13px; line-height: 1; }
.post-qa__q::before { content: "Q"; background: var(--green); color: #fff; }
.post-qa__a::before { content: "A"; background: #fff; color: var(--green-700); border: 2px solid var(--green); }
.post-qa__a > * + * { margin-top: .8em; }

/* 表 */
.post__body table { display: table; border: 0; }
.post__body th { background: var(--green); color: #fff; border-color: #dcdcdc; }
.post__body td { border-color: #dcdcdc; }
.post__body tr:nth-child(even) td { background: #f8faf9; }

/* 画像は枠線つき */
.post__body figure img { border-radius: 0; border: 1px solid #e3e8e5; }

/* 見出しまわり：著者名 */
.post__by { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 700; }
.post__by img { width: 22px; height: 22px; border-radius: 50%; background: var(--soft); object-fit: contain; padding: 2px; }

/* 記事の下部 */
.post__tags--foot { margin: 0; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pager a { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); font-size: 13.5px; font-weight: 700; line-height: 1.6; color: var(--ink); transition: border-color .2s, color .2s; }
.pager a:hover { border-color: var(--green); color: var(--green-700); }
.pager span { font-size: 11px; font-weight: 700; color: var(--green-700); }
.pager__prev span::before { content: "‹ "; }
.pager__next { text-align: right; }
.pager__next span::after { content: " ›"; }
.author { display: block; padding: 22px 24px; border-radius: 0; background: #fff; border: 1px solid var(--line); }
.author__head { font-weight: 900; color: var(--ink); padding-bottom: 10px; margin-bottom: 14px; border-bottom: 2px solid var(--green); }
.author__row { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; }
.author__role { font-size: 12px; color: var(--muted); }
.author__desc { margin-top: 12px; }
.author__more { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--green-700); }
.author__more::after { content: " →"; }

/* 事例ページにも同じ相談ボックス・記事デザインを使う */
.cdetail .post-cta { max-width: 860px; margin-inline: auto !important; }

@media (max-width: 768px) {
  .post__body { font-size: 15px; line-height: 1.9; }
  .post__body h2 { font-size: 18px; padding: .8em .9em; margin-left: -16px; margin-right: -16px; }
  .post__body h3 { font-size: 17px; }
  .post__body > ul { padding: 16px 16px; }
  .post__body > ul > li { padding-left: 26px; }
  .post__body > ul > li::before { width: 18px; height: 18px; background-size: 11px; }
  .post-points { padding: 26px 16px 16px; }
  .post-author-mini { grid-template-columns: 44px 1fr; gap: 10px; }
  .post-author-mini__ico { width: 44px; height: 44px; }
  .post-author-mini p { font-size: 12px; }
  .toc { padding: 18px 16px; }
  .toc summary { font-size: 16px; }
  .toc summary::after { right: 16px; }
  .post-cta { padding: 20px 16px; margin-left: -16px !important; margin-right: -16px !important; }
  .post-cta__title { font-size: 16px; }
  .post-cta__checks li { font-size: 13.5px; }
  .post-cta__text { font-size: 13.5px; }
  .post-cta__btn { font-size: 15px; padding: 15px 16px; }
  .post-link { grid-template-columns: 110px 1fr; gap: 12px; padding: 18px 12px 12px; }
  .post-link__title { font-size: 13.5px; }
  .post-qa__q, .post-qa__a { padding: 12px 12px 12px 46px; font-size: 14px; }
  .post-qa__q::before, .post-qa__a::before { left: 12px; top: 11px; width: 24px; height: 24px; font-size: 12px; }
  .post__body th, .post__body td { padding: 8px; font-size: 13px; }
  .pager { grid-template-columns: 1fr; }
  .pager__next { text-align: left; }
  .author { padding: 16px; }
}

/* =========================================================
   記事の文字組み（参考サイトの数値に合わせる）
   本文：Noto Sans JP 500／16px／行間2／字間なし／段落の間2em
   ========================================================= */
.post, .cdetail { color: #1a1a1a; -webkit-font-smoothing: auto; }
.post h1, .cdetail__head h1 { font-size: 24px; font-weight: 700; line-height: 1.4; letter-spacing: normal; color: #1a1a1a; }
.post__body { font-size: 16px; font-weight: 500; line-height: 2; letter-spacing: normal; color: #1a1a1a; }
.post__body > * + * { margin-top: 2em; }
.post__body > p + p { margin-top: 2em; }
.post__body strong { font-weight: 700; }

.post__body h2 { margin-top: 90px; padding: 17px 22px; font-size: 22.4px; font-weight: 700; line-height: 1.4; letter-spacing: normal; }
.post__body h2 + * { margin-top: 45px; }
.post__body h3 { margin-top: 62px; padding: 0 10px 10px; font-size: 20.8px; font-weight: 700; line-height: 1.4; letter-spacing: normal; }
.post__body h3 + * { margin-top: 42px; }
.post__body h4 { margin-top: 48px; font-size: 18px; font-weight: 700; line-height: 1.5; }
.post__body h4 + * { margin-top: 24px; }

/* 箇条書き：1行は詰めて、項目の間は広く */
.post__body > ul, .post__body > ol { gap: 0; }
.post__body > ul > li, .post__body > ol > li { line-height: 1.5; padding-bottom: 12px; margin: 4px 0 12px; }
.post__body > ul > li:last-child, .post__body > ol > li:last-child { margin-bottom: 0; padding-bottom: 0; }
.post__body > ul > li::before { top: .1em; }
.post-points li, .post-cta__checks li { line-height: 1.5; font-weight: 500; }
.post-points ul { gap: 12px; }
.post-points li::before { top: .1em; }
.post-cta__checks { gap: 10px; }
.post-cta__checks li::before { top: 2px; }
.post-cta__text { font-weight: 500; line-height: 2; }
.post-qa__a { line-height: 2; }
.post__body th, .post__body td { line-height: 1.6; font-size: 16px; padding: 8px 12px; }
.post__body td { font-weight: 500; }

/* 目次 */
.toc__list > li > a { font-size: 16px; font-weight: 500; line-height: 1.6; }
.toc__list ol a { font-size: 15px; font-weight: 500; line-height: 1.6; }
.toc__list { gap: 6px; }

@media (max-width: 768px) {
  .post h1, .cdetail__head h1 { font-size: 18.8px; }
  .post__body { font-size: 13.5px; line-height: 2; }
  .post__body > * + *, .post__body > p + p { margin-top: 2em; }
  .post__body h2 { margin-top: 72px; padding: 13.5px 18px; font-size: 18px; }
  .post__body h2 + * { margin-top: 36px; }
  .post__body h3 { margin-top: 50px; padding: 0 8px 8px; font-size: 16.5px; }
  .post__body h3 + * { margin-top: 33px; }
  .post__body h4 { font-size: 15px; margin-top: 36px; }
  .post__body > ul > li, .post__body > ol > li, .post-points li, .post-cta__checks li { font-size: 15px; line-height: 1.5; }
  .post__body > ul > li { padding-bottom: 11px; margin: 4px 0 11px; }
  .post__body th, .post__body td { font-size: 13.5px; }
  .post-cta__text { font-size: 13.5px; }
  .post-qa__q, .post-qa__a { font-size: 13.5px; }
  .toc__list > li > a { font-size: 14px; }
  .toc__list ol a { font-size: 13px; }
}
.post__body h3, .post__body h4, .post-qa__q, .post-points li, .post-cta__checks li { color: #1a1a1a; }
@media (min-width: 1101px) { .post { padding: 44px 36px 40px; } .post-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; } }
/* 著者の写真 */
.post-author-mini__ico img, .author__ico img { width: 100%; height: 100%; object-fit: cover; }
.post-author-mini small { display: block; font-size: 12px; color: var(--muted); }
.post__by img { object-fit: cover; padding: 0; }
.author__ico { width: 72px; height: 72px; }
.author__row { grid-template-columns: 72px 1fr; }
.author__role { line-height: 1.6; }
.author__desc { font-size: 14px; line-height: 1.9; color: #444; }
/* プライバシーポリシーなどの文書ページ */
.legal { max-width: 860px; }
.legal .post__body h2 { margin-top: 56px; font-size: 19px; padding: 12px 18px; }
.legal .post__body h2 + * { margin-top: 20px; }
.legal .post__body > ol { padding: 20px 24px 20px 44px; }
.legal .post__body > ol > li { padding-bottom: 6px; margin: 2px 0 6px; line-height: 1.8; }
.legal .post__body a { word-break: break-all; }
@media (max-width: 768px) { .legal .post__body h2 { font-size: 16px; margin-top: 40px; margin-left: 0; margin-right: 0; } .legal .post__body > ol { padding: 14px 14px 14px 32px; } }
