/* ==========================================================
   法律用語集（prospire-glossary）
   SERUM（TCD096）の中に置く前提。色・余白はサイトの既存部品に合わせる。
   ========================================================== */
.pg {
	--pg-accent: #f7581d;
	--pg-grad: linear-gradient(-20deg, #fc6076 0%, #ff9a44 100%);
	--pg-navy: #073365;
	--pg-text: #333;
	--pg-muted: #888;
	--pg-line: #ddd;
	--pg-soft: #f6f6f6;
	width: 930px;
	max-width: calc(100% - 40px);
	margin: 0 auto 120px;
	color: var(--pg-text);
	line-height: 1.9;
}
.pg a { color: inherit; text-decoration: none; }

/* 大見出し：書棚の写真（assets/header.jpg）に紺を35%重ねて白文字。SERUM の他ページと同じ白文字 */
#page_header.pg-page-header .catch { color: #fff; letter-spacing: .15em; }
#page_header.pg-page-header .overlay { background-color: rgba(7, 24, 48, .35); }
#page_header.pg-page-header .bg_image img { object-position: center; }
.pg *, .pg *::before, .pg *::after { box-sizing: border-box; }

/* 見出し（英字ラベル＋和文） */
.pg-headline { margin: 90px 0 32px; text-align: center; }
.pg-headline .en { display: block; font-family: "游明朝", YuMincho, serif; font-size: 14px; letter-spacing: .4em; color: var(--pg-accent); line-height: 1; margin-bottom: 14px; }
.pg-headline .ja { display: block; font-size: 24px; font-weight: 600; letter-spacing: .08em; line-height: 1.5; }
.pg-headline.is-left { text-align: left; }

.pg-lead { text-align: center; line-height: 2.2; margin: 50px 0 0; }

/* 検索窓 */
.pg-search { display: flex; max-width: 640px; margin: 40px auto 0; border: 1px solid var(--pg-text); background: #fff; }
.pg-search input[type="search"] { flex: 1; min-width: 0; border: 0; padding: 0 20px; height: 58px; font-size: 16px; background: transparent; outline: none; }
.pg-search button { width: 120px; border: 0; background: var(--pg-text); color: #fff; font-size: 15px; font-weight: 600; letter-spacing: .1em; cursor: pointer; transition: background .3s; }
.pg-search button:hover { background: var(--pg-grad); }
.pg-search.is-small { max-width: none; margin: 0 0 40px; }
.pg-search.is-small input[type="search"] { height: 48px; }
.pg-search.is-small button { width: 96px; }

/* 50音索引（トップ用の表） */
.pg-kana { border-top: 1px solid var(--pg-line); }
.pg-kana-row { display: grid; grid-template-columns: 110px repeat(5, 1fr); border-bottom: 1px solid var(--pg-line); }
.pg-kana-row > * { display: flex; align-items: center; justify-content: center; height: 64px; font-size: 18px; border-left: 1px solid var(--pg-line); }
.pg-kana-row > :first-child { border-left: 0; background: var(--pg-soft); font-size: 15px; font-weight: 600; }
.pg-kana-row a { transition: background .3s, color .3s; position: relative; }
.pg-kana-row a:hover { background: var(--pg-grad); color: #fff; }
.pg-kana-row a .n { position: absolute; right: 8px; bottom: 4px; font-size: 11px; color: var(--pg-muted); line-height: 1; }
.pg-kana-row a:hover .n { color: #fff; }
.pg-kana-row .is-empty { color: #ccc; }
.pg-kana-row .is-blank { background: repeating-linear-gradient(-45deg, #fff 0 6px, #fafafa 6px 12px); }
.pg-alpha { display: grid; grid-template-columns: repeat(13, 1fr); border-left: 1px solid var(--pg-line); border-top: 1px solid var(--pg-line); margin-top: 30px; }
.pg-alpha > * { display: flex; align-items: center; justify-content: center; height: 50px; border-right: 1px solid var(--pg-line); border-bottom: 1px solid var(--pg-line); font-size: 16px; transition: background .3s, color .3s; }
.pg-alpha a:hover { background: var(--pg-grad); color: #fff; }
.pg-alpha .is-empty { color: #ccc; }
.pg-alpha .is-wide { grid-column: span 13; font-size: 15px; }

/* 分野ボタン（取扱業務ページの .cbtn_1 と同じ見た目） */
.pg-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 26px; padding-top: 6px; }
.pg-cat { display: block; position: relative; padding: 18px 20px 28px; background: var(--pg-soft); text-align: center; font-weight: 600; transition: .3s ease-in-out; }
.pg-cat::before { content: ""; position: absolute; top: -5px; left: -5px; width: calc(100% - 4px); height: calc(100% - 4px); border: 1px solid var(--pg-text); transition: .2s; }
.pg-cat:hover { background: var(--pg-grad); color: #fff; }
.pg-cat:hover::before { top: 0; left: 0; }
.pg-cat .n { display: block; font-size: 12px; font-weight: 400; color: var(--pg-muted); margin-top: 4px; line-height: 1; }
.pg-cat:hover .n { color: #fff; }

/* 用語カード（トップの新着） */
.pg-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.pg-card { display: block; padding: 22px 26px; border: 1px solid var(--pg-line); transition: border-color .3s, box-shadow .3s; }
.pg-card:hover { border-color: var(--pg-accent); box-shadow: 0 6px 20px rgba(0,0,0,.06); }
.pg-card .t { font-size: 17px; font-weight: 600; line-height: 1.6; }
.pg-card .y { font-size: 12px; color: var(--pg-muted); line-height: 1.6; }
.pg-card .s { font-size: 14px; line-height: 1.8; margin-top: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pg-more { text-align: center; margin-top: 40px; }

/* 索引ナビ（一覧・個別ページ上部） */
.pg-nav { display: flex; flex-wrap: wrap; border-top: 1px solid var(--pg-line); border-left: 1px solid var(--pg-line); margin: 50px 0 0; }
.pg-nav > * { flex: 1 0 auto; min-width: 60px; text-align: center; padding: 10px 6px; border-right: 1px solid var(--pg-line); border-bottom: 1px solid var(--pg-line); font-size: 15px; line-height: 1.6; transition: background .3s, color .3s; }
.pg-nav a:hover { background: var(--pg-soft); }
.pg-nav .is-current { background: var(--pg-text); color: #fff; }
.pg-subnav { display: flex; gap: 10px; margin: 18px 0 0; flex-wrap: wrap; }
.pg-subnav > * { min-width: 56px; text-align: center; padding: 4px 14px; border: 1px solid var(--pg-line); border-radius: 30px; font-size: 15px; line-height: 1.8; }
.pg-subnav a:hover { border-color: var(--pg-accent); color: var(--pg-accent); }
.pg-subnav .is-current { background: var(--pg-accent); border-color: var(--pg-accent); color: #fff; }
.pg-subnav .is-empty { color: #ccc; }

/* 一覧 */
.pg-list-head { display: flex; align-items: baseline; justify-content: space-between; margin: 60px 0 10px; }
.pg-list-head h2 { font-size: 26px; font-weight: 600; margin: 0; line-height: 1.5; }
.pg-list-head .count { font-size: 14px; color: var(--pg-muted); }
.pg-group { margin-top: 40px; }
.pg-group-label { display: flex; align-items: center; gap: 14px; font-family: "游明朝", YuMincho, serif; font-size: 26px; font-weight: 600; line-height: 1; margin: 0 0 6px; }
.pg-group-label::after { content: ""; flex: 1; height: 1px; background: var(--pg-line); }
.pg-list { list-style: none; margin: 0; padding: 0; }
.pg-list li { border-bottom: 1px solid var(--pg-line); }
.pg-list a { display: grid; grid-template-columns: 250px 1fr 20px; gap: 24px; align-items: center; padding: 18px 6px; transition: background .3s; }
.pg-list a:hover { background: #fcfaf8; }
.pg-list a:hover .t { color: var(--pg-accent); }
.pg-list .t { font-weight: 600; line-height: 1.6; transition: color .3s; }
.pg-list .y { display: block; font-size: 12px; font-weight: 400; color: var(--pg-muted); }
.pg-list .s { font-size: 14px; line-height: 1.8; color: #555; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pg-list .arw { width: 8px; height: 8px; border-top: 1px solid #999; border-right: 1px solid #999; transform: rotate(45deg); }
.pg-empty { padding: 60px 0; text-align: center; color: var(--pg-muted); }

/* 個別用語 */
.pg-term-head { margin: 60px 0 0; padding-bottom: 30px; border-bottom: 1px solid var(--pg-text); }
.pg-term-head .y { font-size: 14px; color: var(--pg-muted); letter-spacing: .1em; line-height: 1.6; }
.pg-term-head h1 { font-size: 34px; font-weight: 600; line-height: 1.5; margin: 6px 0 0; }
.pg-term-head .en { font-size: 14px; color: var(--pg-muted); font-style: italic; line-height: 1.6; margin-top: 4px; }
.pg-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pg-tags a { font-size: 13px; padding: 2px 14px; border: 1px solid var(--pg-line); border-radius: 30px; line-height: 1.9; transition: .3s; }
.pg-tags a:hover { border-color: var(--pg-accent); color: var(--pg-accent); }
.pg-summary { margin: 40px 0 0; padding: 26px 30px; background: var(--pg-soft); border-left: 3px solid var(--pg-accent); }
.pg-summary .label { font-size: 13px; font-weight: 600; color: var(--pg-accent); letter-spacing: .1em; line-height: 1; margin-bottom: 12px; }
.pg-summary p { margin: 0; font-size: 17px; line-height: 1.9; }
.pg-body { margin-top: 50px; }
.pg-body .post_content h2 { font-size: 22px; }
.pg-facts { margin: 60px 0 0; border-top: 1px solid var(--pg-line); }
.pg-facts > div { display: grid; grid-template-columns: 160px 1fr; border-bottom: 1px solid var(--pg-line); }
.pg-facts dt { background: var(--pg-soft); padding: 18px 20px; font-weight: 600; font-size: 15px; }
.pg-facts dd { margin: 0; padding: 18px 22px; font-size: 15px; line-height: 1.9; }
.pg-facts dd ul { list-style: none; margin: 0; padding: 0; }
.pg-facts dd a { color: var(--pg-navy); text-decoration: underline; text-underline-offset: 3px; }
.pg-facts dd a:hover { color: var(--pg-accent); }
.pg-ext::after { content: "↗"; font-size: 11px; margin-left: 3px; }
.pg-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.pg-chips a { padding: 10px 22px; background: var(--pg-soft); font-weight: 600; font-size: 15px; transition: .3s; }
.pg-chips a:hover { background: var(--pg-grad); color: #fff; }
.pg-articles { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--pg-line); }
.pg-articles li { border-bottom: 1px solid var(--pg-line); }
.pg-articles a { display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: center; padding: 18px 0; }
.pg-articles a.no-thumb { grid-template-columns: 1fr !important; }
.pg-articles img { width: 100%; aspect-ratio: 31 / 18; object-fit: cover; display: block; }
.pg-articles .t { font-weight: 600; line-height: 1.7; transition: color .3s; }
.pg-articles a:hover .t { color: var(--pg-accent); }
.pg-articles .d { font-size: 12px; color: var(--pg-muted); }
.pg-cta { margin: 90px 0 0; padding: 50px 40px; text-align: center; background: var(--pg-navy); color: #fff; }
.pg-cta .en { font-family: "游明朝", YuMincho, serif; letter-spacing: .4em; font-size: 13px; opacity: .7; }
.pg-cta .pg-cta-title { margin: 10px 0 0; font-size: 22px; font-weight: 600; line-height: 1.6; color: #fff; }
.pg-cta .pg-cta-text { margin: 16px 0 30px; font-size: 15px; line-height: 2; }
.pg-cta .pg-cta-note { margin: 22px 0 0; font-size: 12px; line-height: 1.8; opacity: .75; }
.pg-cta a { display: inline-block; min-width: 320px; padding: 16px 40px; background: #fff; color: var(--pg-text); font-weight: 600; transition: .3s; }
.pg-cta a:hover { background: var(--pg-grad); color: #fff; }
.pg-back { text-align: center; margin-top: 50px; font-size: 15px; }
.pg-back a { border-bottom: 1px solid; padding-bottom: 2px; }
.pg-note { font-size: 12px; color: var(--pg-muted); margin-top: 30px; line-height: 1.8; }

/* スマホ */
@media (max-width: 800px) {
	.pg { max-width: calc(100% - 40px); margin-bottom: 80px; }
	.pg-headline { margin: 60px 0 24px; }
	.pg-headline .ja { font-size: 20px; }
	.pg-lead { text-align: left; line-height: 2; margin-top: 30px; }
	.pg-lead br { display: none; }
	.pg-search input[type="search"] { height: 50px; font-size: 16px; }
	.pg-search button { width: 80px; }
	.pg-kana-row { grid-template-columns: 64px repeat(5, 1fr); }
	.pg-kana-row > * { height: 52px; font-size: 16px; }
	.pg-kana-row > :first-child { font-size: 13px; }
	.pg-kana-row a .n { display: none; }
	.pg-alpha { grid-template-columns: repeat(7, 1fr); }
	.pg-alpha .is-wide { grid-column: span 2; font-size: 13px; } /* 26文字＋2マスで7列×4段ちょうど */
	.pg-cats { grid-template-columns: 1fr; gap: 22px; }
	.pg-cards { grid-template-columns: 1fr; }
	.pg-nav > * { min-width: 20%; font-size: 14px; }
	.pg-list a { grid-template-columns: 1fr 14px; gap: 6px 12px; }
	.pg-list .s { grid-column: 1; grid-row: 2; }
	.pg-list .arw { grid-column: 2; grid-row: 1 / span 2; }
	.pg-term-head h1 { font-size: 26px; }
	.pg-facts > div { grid-template-columns: 1fr; }
	.pg-facts dt { padding: 10px 16px; }
	.pg-facts dd { padding: 14px 16px; }
	.pg-articles a { grid-template-columns: 110px 1fr; gap: 14px; }
	.pg-cta { padding: 40px 20px; }
	.pg-cta .pg-cta-title { font-size: 18px; }
	.pg-cta .pg-cta-text { text-align: left; }
	.pg-cta .pg-cta-text br { display: none; }
	.pg-cta .pg-cta-note { text-align: left; }
	.pg-cta a { min-width: 0; width: 100%; }
}
