/* ==========================================================================
   下層ページの調整（inorie-parts.css → inorie-original-custom.css の後に読み込む）
   - 土台（文字・フォント）
   - 元サイトと作りが違う部分（パンくず＝All in One SEO、文字サイズ指定、改行ショートコード など）
   ========================================================================== */

/* ---------- 土台 ---------- */
@font-face{font-family:font1;src:url('fonts/ZenKakuGothicNew-Regular.woff2') format('woff2');font-display:swap}
@font-face{font-family:font2;src:url('fonts/ShipporiMincho-Regular.woff2') format('woff2');font-display:swap}
html:has(body.inorie-page){font-size:var(--inorie-fz--root);letter-spacing:var(--inorie-letter_spacing,normal)}
body.inorie-page{min-width:0;background:#fff;color:#222;font-family:font1,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue","Noto Sans",Arial,sans-serif;font-size:1rem;font-weight:400;line-height:1.8;letter-spacing:inherit;overflow-wrap:break-word}
.inorie-page .wrapper{overflow-x:clip}
/* 見出し・太字は明朝（元サイトのフォント設定） */
:where(.wrapper) strong,:where(.wrapper) h1,:where(.wrapper) h2,:where(.wrapper) h3,:where(.wrapper) h4,:where(.wrapper) .post_content th{font-family:font2,Arial,sans-serif!important}

/* ---------- 本文の入れ物 ---------- */
/* 一覧ページは本文の上に余白（元サイトと同じ） */
.archive #main_content,.blog #main_content,.search #main_content{margin-top:2em}
@media(min-width:960px){.archive #main_content,.blog #main_content,.search #main_content{margin-top:4em}}

/* ---------- タイトル帯 ---------- */
.l-topTitleArea__img{position:absolute;top:0;left:0;width:100%;height:100%;max-width:none;object-fit:cover}

/* ---------- パンくず（All in One SEO の出力に合わせる） ---------- */
.p-breadcrumb__list .aioseo-breadcrumbs{display:flex;align-items:center;gap:.5em;white-space:nowrap}
.p-breadcrumb__list .aioseo-breadcrumb{display:flex;align-items:center}
.p-breadcrumb__list .aioseo-breadcrumb a{color:inherit;text-decoration:none}
.p-breadcrumb__list .aioseo-breadcrumb-separator{flex:0 0 auto;width:10px;height:10px;background:currentColor;font-size:0;opacity:.8;clip-path:polygon(33% 0,83% 50%,33% 100%,25% 92%,67% 50%,25% 8%)}
.p-breadcrumb__list .aioseo-breadcrumb:first-child a::before{content:"\e922";margin-right:4px;font-family:icomoon;line-height:1}
.single .p-breadcrumb__list .aioseo-breadcrumbs{flex-wrap:wrap;white-space:normal}

/* ---------- ページ送り ---------- */
.c-pagination .page-numbers{text-decoration:none}

/* ---------- 文字サイズ指定（WordPress標準の px 指定を、元サイトと同じ相対指定に置き換える） ---------- */
body.inorie-page{--wp--preset--font-size--small:var(--inorie-fz--small);--wp--preset--font-size--medium:var(--inorie-fz--medium);--wp--preset--font-size--large:var(--inorie-fz--large);--wp--preset--font-size--x-large:var(--inorie-fz--huge);--wp--preset--font-size--huge:var(--inorie-fz--huge)}

/* ---------- 改行ショートコード [spbr]（スマホ・タブレットだけ改行）・[pcbr]（PCだけ改行）。切り替えは元サイトと同じ960px ---------- */
.inorie-page .inorie-sp-break{display:none}
@media(max-width:959px){.inorie-page .inorie-sp-break{display:inline}.inorie-page .inorie-pc-break{display:none}}

/* 一覧ページ：ページ送りの下の余白（元サイトと同じ13px） */
body.inorie-page .wrapper .c-pagination{margin-bottom:13px}
