/* 刀工位列データベース専用。既存テーマを変更せず追加できる独立スタイル。 */
.page-hero--ranks{position:relative;overflow:hidden}.page-hero--ranks::after{content:"位";position:absolute;right:max(4vw,24px);bottom:-.28em;color:rgba(201,168,106,.045);font-family:var(--f-mincho);font-size:clamp(180px,26vw,390px);line-height:1;pointer-events:none}.smith-ranks-page p,.smith-ranks-page h1,.smith-ranks-page h2,.smith-ranks-page h3{line-break:strict;word-break:normal;overflow-wrap:break-word}.smith-ranks-intro{padding-top:56px}.rank-notice{display:grid;grid-template-columns:52px minmax(0,1fr);gap:24px;max-width:980px;margin-bottom:44px;padding:28px 32px;border:1px solid var(--line-strong);background:linear-gradient(135deg,rgba(201,168,106,.08),rgba(201,168,106,.02))}.rank-notice__mark{display:grid;place-items:center;width:52px;height:52px;border:1px solid var(--gold-deep);color:var(--gold);font-family:var(--f-mincho);font-size:20px}.rank-notice h2{margin:0 0 8px;font-family:var(--f-mincho);font-size:20px;font-weight:500}.rank-notice p{margin:0;color:var(--text-dim);line-height:2;text-wrap:pretty}.rank-systems{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.rank-system{min-height:210px;padding:30px;border-top:1px solid var(--gold-deep);background:var(--surface)}.rank-system__era{color:var(--gold);font-size:12px;letter-spacing:.2em}.rank-system h3{margin:20px 0 12px;font-family:var(--f-mincho);font-size:24px;font-weight:500}.rank-system p{margin:0;color:var(--text-dim);line-height:1.9;text-wrap:pretty}.rank-db-head{margin-bottom:32px}.rank-db-head__meta{margin:12px 0 0;color:var(--text-faint);font-size:13px}.rank-filter{display:grid;grid-template-columns:minmax(250px,1.6fr) minmax(150px,.7fr) minmax(190px,.9fr) auto;gap:14px;align-items:end;margin-bottom:22px;padding:22px;border:1px solid var(--line);background:var(--surface)}.rank-field{display:grid;gap:8px}.rank-field>span{color:var(--text-dim);font-size:12px;letter-spacing:.08em}.rank-field input,.rank-field select{width:100%;min-height:48px;padding:0 14px;border:1px solid var(--line-strong);border-radius:0;outline:0;background:var(--bg);color:var(--text);font-family:var(--f-ui);font-size:16px}.rank-field input:focus,.rank-field select:focus{border-color:var(--gold);box-shadow:0 0 0 2px rgba(201,168,106,.15)}.rank-field input::placeholder{color:var(--text-faint)}.rank-filter__reset{min-height:48px;padding:0 18px;border:1px solid var(--line-strong);background:transparent;color:var(--text-dim);cursor:pointer;font-family:var(--f-ui);font-size:13px}.rank-filter__reset:hover{border-color:var(--gold);color:var(--gold)}.rank-result-meta{margin:0 0 14px;color:var(--text-dim);font-size:13px}.rank-result-meta strong{color:var(--gold);font-family:var(--f-cormorant);font-size:26px;font-weight:500}.rank-table-wrap{overflow-x:auto;border:1px solid var(--line);background:var(--bg)}.rank-table{width:100%;min-width:1050px;border-collapse:collapse}.rank-table th,.rank-table td{padding:19px 18px;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle}.rank-table thead th{color:var(--text-faint);font-family:var(--f-ui);font-size:11px;font-weight:500;letter-spacing:.1em;white-space:nowrap}.rank-table tbody tr:last-child>*{border-bottom:0}.rank-table tbody tr:hover{background:rgba(201,168,106,.045)}.rank-table tbody tr[hidden]{display:none}.rank-table tbody th{font-weight:400}.rank-table__name{color:var(--text);font-family:var(--f-mincho);font-size:17px;white-space:nowrap}.rank-table__rank{color:var(--gold-bright);font-weight:500;white-space:nowrap}.rank-pill{display:inline-flex;padding:3px 9px;border:1px solid var(--line-strong);color:var(--text-dim);font-size:11px;white-space:nowrap}.rank-empty{margin:0;padding:40px;border:1px solid var(--line);text-align:center;color:var(--text-dim)}.rank-empty[hidden]{display:none}.rank-data-note{margin:18px 0 0;color:var(--text-faint);font-size:12px;line-height:1.9}.rank-consultation__inner{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:48px;align-items:center;padding:clamp(32px,5vw,64px);border:1px solid var(--line-strong);background:var(--surface)}.rank-consultation h2{margin:14px 0;font-family:var(--f-mincho);font-size:clamp(25px,3vw,38px);font-weight:500;text-wrap:balance}.rank-consultation p{max-width:760px;margin:0;color:var(--text-dim);line-height:2;text-wrap:pretty}
@media(max-width:980px){.rank-filter{grid-template-columns:repeat(2,minmax(0,1fr))}.rank-filter__reset{width:100%}}
@media(max-width:720px){.smith-ranks-intro{padding-top:40px}.rank-notice{grid-template-columns:1fr;gap:16px;padding:24px}.rank-notice__mark{width:42px;height:42px;font-size:17px}.rank-systems{grid-template-columns:1fr}.rank-system{min-height:0;padding:24px}.rank-filter{grid-template-columns:1fr;padding:18px}.rank-consultation__inner{grid-template-columns:1fr;gap:28px}.rank-consultation .btn{width:100%;text-align:center}}
