/* post全件の可変本文を納品のpolicyデザインに接続する。埋め込みウィジェットの内部は装飾しない。 */
/* ヘッダーの2つのCTAは投稿一覧のボタンと同じ寸法・配色・アイコンにする。 */
.post-single-page .policy-header nav { gap:12px; }
.post-single-page .policy-header .post-header-button { display:inline-flex; align-items:center; justify-content:center; gap:11px; min-height:48px; padding:12px 24px 12px 18px; border:1px solid #cbd3da; border-radius:5px; background:#f7f9fa; color:#272e35; font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif; font-size:14px; line-height:1.6; font-weight:600; text-decoration:none; transition:background .18s,border-color .18s,box-shadow .18s; }
.post-single-page .policy-header .post-header-primary { background:#292e33; border-color:#292e33; color:#fff; }
.post-single-page .policy-header .post-header-button:hover { background:#eef3f5; border-color:#9eafb8; }
.post-single-page .policy-header .post-header-primary:hover { background:#414d59; border-color:#414d59; box-shadow:0 4px 12px #222b3518; }
.post-single-page .policy-header .post-header-button svg { display:block; flex:none; width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.post-single-page .policy-header .post-header-button:focus-visible { outline:3px solid #467fa3; outline-offset:5px; }
@media(max-width:699px) {
 .post-single-page .policy-header nav { gap:0; }
 .post-single-page .policy-header .header-document { display:none; }
 .post-single-page .policy-header .post-header-button { font-size:12px; gap:7px; min-height:44px; padding:10px 13px 10px 10px; }
 .post-single-page .policy-header .post-header-button svg { width:16px; height:16px; }
}
@media(max-width:359px) {
 .post-single-page .policy-header .post-header-button { font-size:11px; gap:5px; padding-inline:8px; }
 .post-single-page .policy-header .post-header-button svg { width:14px; height:14px; }
}
@media(prefers-reduced-motion:reduce) { .post-single-page .policy-header .post-header-button { transition:none; } }
.post-single-page .policy-breadcrumb { flex-wrap: wrap; overflow-wrap: anywhere; }
.post-single-page .policy-sidebar:not(:has(nav)) .sidebar-cta { margin-top: 0; }
.post-single-page .policy-eyebrow a:hover { text-decoration: underline; }
.post-single-page .hero-grid:not(:has(.post-hero-image)) { grid-template-columns: minmax(0, 1fr); max-width: 1000px; }
.post-hero-image { min-width: 0; margin: 0; }
.post-hero-image img { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 10px 35px #506b8012; }
.post-single-page .policy-hero h1 { overflow-wrap: anywhere; }
.post-single-page .policy-article { overflow-wrap: anywhere; }
.policy-article img,.policy-article video { max-width: 100%; height: auto; }
.policy-article iframe { max-width: 100%; }
.policy-article figure.wp-block-image { margin: 30px 0 36px; }
.policy-article figure.wp-block-image img { display: block; margin: auto; }
.policy-article figcaption { color: #647282; font-size: 13px; line-height: 1.8; margin-top: 8px; }
.policy-article .wp-block-gallery { display: flex; flex-wrap: wrap; gap: 16px; margin: 30px 0; }
.policy-article .wp-block-gallery > figure { flex: 1 1 240px; min-width: 0; margin: 0; }
.policy-article .post-heading { position: relative; margin: 62px 0 26px; padding: 0 0 20px 39px; border: 0; border-bottom: 1px solid #cfdae3; color: var(--ink); background: none; border-radius: 0; box-shadow: none; text-shadow: none; font-size: 25px; font-weight: 700; line-height: 1.7; letter-spacing: .015em; scroll-margin-top: 28px; }
.policy-article .post-heading::before { content: attr(data-number); position: absolute; left: 0; top: 7px; font: 500 11px/1.7 Arial,sans-serif; color: #62869d; letter-spacing: .08em; }
.policy-article .policy-subheading { margin: 40px 0 20px; padding: 0 0 0 18px; border: 0; border-left: 3px solid #85a8b6; color: var(--ink); background: none; border-radius: 0; box-shadow: none; text-shadow: none; font-size: 20px; line-height: 1.8; font-weight: 700; }
.policy-article .policy-table { max-width: 100%; overflow-x: auto; }
.policy-article .policy-table > table { min-width: 400px; }
.policy-article .policy-table th { background: #e8eff4; color: #334653; }
.policy-article blockquote.wp-block-quote { margin: 26px 0; padding: 18px 24px; border-left: 3px solid #85a8b6; background: #f2f5f8; }
@media (max-width: 1100px) { .policy-article .post-heading { font-size: 23px; } }
@media (max-width: 900px) { .policy-article .post-heading { font-size: 25px; } .post-single-page .policy-sidebar:not(:has(nav)) { display: none; } .post-single-page .hero-grid:has(.post-hero-image) { grid-template-columns: 1fr; gap: 28px; } .post-hero-image { max-width: 600px; } }
@media (max-width: 600px) {
 .post-single-page .policy-hero h1 { font-size: 26px; line-height: 1.65; }
 .policy-article .post-heading { font-size: 22px; padding-left: 32px; margin-top: 44px; margin-bottom: 23px; }
 .policy-article .policy-subheading { font-size: 19px; margin-top: 31px; padding-left: 14px; line-height: 1.8; }
}
.policy-article h4.policy-subheading { font-size: 18px; border-left-width: 2px; }
.policy-article :is(h5,h6).policy-subheading { font-size: 16px; border-left-width: 2px; }
.policy-article :is(.wp-block-group,.ourai-article) > p { margin: 0 0 24px; }
/* 固定サイドバーが画面の下へはみ出す場合も、最後の目次項目まで操作できるようにする。 */
@media (min-width: 901px) {
 .post-single-page .policy-sidebar {
  top: calc(var(--site-header-height, 0px) + 28px);
  max-height: calc(100vh - var(--site-header-height, 0px) - 56px);
  max-height: calc(100dvh - var(--site-header-height, 0px) - 56px);
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-width: thin;
  scrollbar-gutter: stable;
 }
}
/* /ai-interview/ai-interview-what-is/ のサイドバー目次。本文・案内のスタイルには適用しない。 */
.post-single-page .policy-sidebar .article-side-toc { display: block; margin: 0; border: 1px solid #e0e7ee; border-radius: 9px; background: #fafcfe; padding: 18px 17px 12px; }
.post-single-page .article-side-toc-heading { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: #45535f; font-weight: 600; margin-bottom: 12px; }
.post-single-page .article-side-toc-heading span:last-child { font: 400 8px/1.5 Arial,sans-serif; letter-spacing: .13em; color: #9ba8b5; }
.post-single-page .article-side-toc-links { max-height: min(235px, max(80px, calc(100vh - var(--site-header-height, 0px) - 124px))); max-height: min(235px, max(80px, calc(100dvh - var(--site-header-height, 0px) - 124px))); overflow-x: hidden; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #c8d5e2 transparent; overscroll-behavior: contain; padding-right: 4px; }
.post-single-page .article-side-toc-links > a { display: flex; gap: 10px; padding: 9px 10px 9px 8px; border: 0; border-left: 2px solid transparent; font-size: 11px; line-height: 1.7; color: #7c8996; text-decoration: none; overflow-wrap: anywhere; }
.post-single-page .article-side-toc-links > a > span:first-child { flex: none; font: 400 8px/1.9 Arial,sans-serif; color: #a0b0be; letter-spacing: normal; }
.post-single-page .article-side-toc-links > a > span:last-child { flex: 1 1 0%; min-width: 0; white-space: normal; overflow-wrap: anywhere; word-break: normal; font: inherit; color: inherit; letter-spacing: normal; }
.post-single-page .article-side-toc-links > a:hover { color: #456f9b; }
.post-single-page .article-side-toc-links > a[aria-current] { border-left-color: #6b93b4; background: #eaf1f8; color: #416b91; border-radius: 0 4px 4px 0; }
.post-single-page .article-side-toc-links > a[aria-current] > span:first-child { color: #7095b5; }
@media (min-width: 901px) and (max-width: 1199px) {
 .post-single-page .article-side-toc-links { max-height: min(200px, max(80px, calc(100dvh - var(--site-header-height, 0px) - 124px))); }
 .post-single-page .article-side-toc-links > a { font-size: 10px; padding-left: 6px; }
}
/* 本ページではスマホにも目次を残す。通常のページスクロールとタップ領域を維持する。 */
@media (max-width: 900px) {
 .post-single-page .article-side-toc-links { max-height: none; overflow: visible; }
 .post-single-page .article-side-toc-links > a { font-size: 14px; min-height: 48px; align-items: center; }
 .post-single-page .article-side-toc-links > a > span:first-child,.post-single-page .article-side-toc-heading span:last-child { font-size: 12px; }
}

/* 納品 /ai-interview/ai-interview-what-is/ のフッターを全post Singleへ適用。 */
.post-single-page .library-footer{padding:33px 0 26px;background:#fff}
.post-single-page .library-footer>.library-wrap{width:calc(100% - 80px);max-width:1200px;margin-inline:auto;display:flex;justify-content:space-between;gap:20px;align-items:center}
.post-single-page .library-footer .inquiry-brand{display:inline-flex;align-items:center;white-space:nowrap;text-decoration:none}
.post-single-page .library-footer .inquiry-wordmark{display:inline-flex;align-items:center;line-height:1}
.post-single-page .library-footer .our-ai-logo{display:block;width:88px;max-width:100%;height:auto}
.post-single-page .library-footer .inquiry-product{margin-left:18px;padding-left:18px;border-left:1px solid #cfd8df;font-size:16px;line-height:24px;letter-spacing:normal;color:#647282}
.post-single-page .library-copyright{display:block;margin-top:14px;font:400 9px/1.6 Arial,sans-serif;color:#9aa4af}
.post-single-page .library-footer nav{display:flex;flex-wrap:wrap;gap:23px;font-size:10px;color:#8a96a2}
.post-single-page .library-footer a{color:inherit;text-decoration:none}
.post-single-page .library-footer a:hover{color:#262d35}
.post-single-page .library-footer a:focus-visible{outline:2px solid #467fa3;outline-offset:5px}
@media(max-width:899px){
 .post-single-page .library-footer>.library-wrap{align-items:start}
 .post-single-page .library-footer nav{max-width:340px;justify-content:end;gap:0 20px;font-size:12px}
 .post-single-page .library-footer nav a{display:inline-flex;align-items:center;min-height:48px}
 .post-single-page .library-copyright{font-size:12px}
}
@media(max-width:599px){
 .post-single-page .library-footer{padding:28px 0}
 .post-single-page .library-footer>.library-wrap{width:calc(100% - 32px);display:block}
 .post-single-page .library-footer .inquiry-product{font-size:14px;line-height:22px;margin-left:12px;padding-left:12px}
 .post-single-page .library-footer nav{margin-top:18px;max-width:none;justify-content:start;font-size:12px;gap:0 20px}
 .post-single-page .library-copyright{margin-top:12px;font-size:12px;line-height:1.7}
}

/* サイドバーのデモ案内も共通のブランド表記に揃える。 */
.post-single-page .sidebar-cta .sidebar-mark{display:flex;align-items:center;gap:0}
.post-single-page .sidebar-cta .sidebar-mark img{display:block;width:88px;max-width:100%;height:auto;flex:none}
.post-single-page .sidebar-cta .sidebar-product{margin-left:18px;padding-left:18px;border-left:1px solid #cfd8df;font-feature-settings:"palt";font-family:"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:normal;color:#647282;white-space:nowrap}

/* ヘッダーと同じブランド寸法。狭いサイドバーではブランドの左右だけ余白を調整する。 */
@media(min-width:901px) and (max-width:1100px){.post-single-page .sidebar-cta .sidebar-mark{margin-inline:-10px}}
@media(max-width:599px){.post-single-page .sidebar-cta .sidebar-product{font-size:14px;line-height:22px;margin-left:12px;padding-left:12px}}
@media(max-width:359px){.post-single-page .library-footer .our-ai-logo,.post-single-page .sidebar-cta .sidebar-mark img{width:84px}}

/* WP本文で指定するマーカーと内部リンクボタン。 */
.post-single-page #post-content .deco_line1{
 background-image:linear-gradient(to top,rgba(84,125,164,.2) 60%,transparent 60%);
 background-repeat:no-repeat;background-size:100% 176%;padding:.1em 0;display:inline;
 -webkit-box-decoration-break:clone;box-decoration-break:clone;
}
.post-single-page #post-content .internal-link-container{margin:24px 0 32px;text-align:center}
.post-single-page #post-content .internal-link-container .internal-link-btn{
 box-sizing:border-box;display:block;width:100%;max-width:100%;min-height:48px;padding:16px 20px;
 border:1px solid #547da4;border-radius:7px;background:#fff;color:#365d7b!important;
 font:inherit;font-size:15px;font-weight:500;line-height:1.75;letter-spacing:.01em;
 text-align:center;text-decoration:none;white-space:normal;overflow-wrap:anywhere;cursor:pointer;
 transition:background-color .18s ease,border-color .18s ease;
}
.post-single-page #post-content .internal-link-container .internal-link-btn:hover{background:#edf3f8;border-color:#365d7b;text-decoration:none}
.post-single-page #post-content .internal-link-container .internal-link-btn:focus-visible{outline:3px solid #547da4;outline-offset:3px}
@media(max-width:599px){
 .post-single-page #post-content .internal-link-container{margin:20px 0 24px}
 .post-single-page #post-content .internal-link-container .internal-link-btn{padding:14px 16px;font-size:14px}
}
@media(prefers-reduced-motion:reduce){.post-single-page #post-content .internal-link-container .internal-link-btn{transition:none}}

/* 投稿末尾のお問い合わせを他ページと同じ濃色・メールアイコンのボタンへ統一。 */
.post-single-page .policy-final .post-contact-button{background:#292e33;border-color:#292e33;color:#fff}
.post-single-page .policy-final .post-contact-button:hover{background:#414d59;border-color:#414d59;color:#fff;box-shadow:0 4px 12px #222b3518}
.post-single-page .policy-final .post-contact-button>svg{display:block;flex:none;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.post-single-page .policy-final .post-contact-button:focus-visible{outline:3px solid #8bb2ce;outline-offset:3px}
