/* ローカル：本文面・共通ヘッダー・見出しの整合。本文書体は変更しない。 */
@font-face{font-family:UnteiAosagi;src:local('YDW aosagiR'),local('YDWaosagi')}
@font-face{font-family:UnteiKantei;src:local('Aiharakanteiryu Free'),local('Aiharakanteiryu_Free')}
body:has(.shared-masthead),body:has(.world-masthead){margin:0;padding:24px;box-sizing:border-box}
body:has(.shared-masthead)>main:not(.article-board main){background:#f5efdf;color:#183444;border:7px double #143548;box-shadow:0 0 0 1px #389b99,4px 4px #b02032;padding:28px 32px;margin:0 auto 24px}
body:has(.word-cards)>main,body:has(.policy-paper)>main{max-width:1100px;--ink:#183444;--sub:#526268;--accent:#184e5a;--line:#aab7af;--bg:#f5efdf;--modern:#e8eee8}
body .shared-masthead,body .world-masthead{display:block!important;box-sizing:border-box;width:100%!important;max-width:1100px!important;margin:0 auto 26px!important;padding:22px 26px!important;border:1px solid #71c4c4!important;border-bottom:3px solid #b02032!important;border-radius:0!important;box-shadow:3px 3px #389b99!important;background:linear-gradient(90deg,rgba(7,24,40,.88),rgba(7,24,40,.55)),url('/assets/untei-cyber-phoenix-hall-20261016.png') center 43%/cover!important}
body .shared-brand,body .world-brand{display:flex!important;align-items:center;gap:17px;width:max-content;max-width:100%;padding:8px 12px!important;margin:0 0 22px!important;background:rgba(7,24,40,.6);color:#f5dfa6!important;text-decoration:none;text-shadow:none!important}
body .shared-brand>span,body .world-brand>strong{font-family:UnteiKantei,'Yu Mincho',serif!important;font-size:58px!important;font-weight:400!important;line-height:1.1!important;letter-spacing:.07em;text-shadow:none!important}
body .shared-brand small,body .world-brand small{font:13px/1.7 Meiryo,sans-serif!important;color:#fff7e7!important;margin:0!important;letter-spacing:normal}
body .shared-masthead nav,body .world-masthead nav{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:10px!important;width:100%!important;margin:0!important}
body .shared-masthead nav a,body .world-masthead nav a{display:flex!important;flex-direction:row;flex-wrap:wrap;align-content:center;align-items:center;justify-content:center;min-width:0;min-height:62px!important;padding:10px 5px!important;background:#123548!important;color:#fff7e8!important;border:3px double #e9e1cb!important;outline:1px solid #123548;box-shadow:2px 3px #329a98!important;font:400 clamp(13px,1.35vw,18px)/1.4 UnteiAosagi,'Yu Mincho',serif!important;text-align:center;text-decoration:none;white-space:normal;letter-spacing:.03em;text-shadow:none!important}
body .shared-masthead nav a:nth-child(even),body .world-masthead nav a:nth-child(even){box-shadow:2px 3px #b02032!important}
body .shared-masthead nav a[aria-current=page],body .world-masthead nav a[aria-current=page],body .shared-masthead nav a:hover,body .world-masthead nav a:hover{background:#b02032!important}
body .untei-shell{max-width:1100px}
body main :is(h1,h2,h3):not(.reading-paper *):not(.source-quote *){font-family:UnteiAosagi,'Yu Mincho',serif;font-weight:400}
body:has(.shared-masthead)>footer{max-width:1100px;margin:0 auto;background:#f5efdf;color:#183444;padding:18px 24px}
.places-entry .place-status{color:#e0e5e5}
@media(max-width:1050px){body .shared-masthead nav,body .world-masthead nav{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:760px){body:has(.shared-masthead),body:has(.world-masthead){padding:12px}body .shared-masthead,body .world-masthead{padding:16px!important;margin-bottom:22px!important}body .shared-brand>span,body .world-brand>strong{font-size:46px!important}body .shared-masthead nav,body .world-masthead nav{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:11px!important}body .shared-masthead nav a,body .world-masthead nav a{font-size:17px!important;min-height:52px!important;padding:9px 4px!important}body:has(.shared-masthead)>main:not(.article-board main){padding:22px 18px}.article-board{max-width:100%}}
body .shared-brand,body .world-brand{height:86px;box-sizing:border-box}body .shared-brand>span,body .world-brand>strong{display:flex;align-items:center}body .shared-brand .lettering-art,body .world-brand .lettering-art{line-height:1}@media(max-width:760px){body .shared-brand,body .world-brand{height:72px}}
/* 採用済み：保存内容優先、準備中一覧は折りたたむ */
.my-an-membership.my-an-membership-compact{display:block;background:#eee9dd;color:#183444;border:1px solid #a8b4ab;border-left:4px solid #389b99;box-shadow:none;padding:18px 20px;margin:30px 0 0}
.my-an-membership-compact h2{font-size:20px;color:#183444;margin:6px 0 10px}
.my-an-membership-compact .membership-tag{color:#375f66}
.my-an-membership-compact .membership-actions{flex-direction:row;flex-wrap:wrap;justify-content:flex-start;gap:10px}
.my-an-membership-compact .membership-actions a,.my-an-membership-compact .membership-actions a:first-child{display:inline-block;background:transparent;color:#183444;border:1px solid #8c9b96;padding:8px 12px;font-size:16px}
.theme-empty{background:#fffaf0;border-left:4px solid #389b99;padding:18px 20px;margin:24px 0}
.theme-availability{display:block;font:14px/1.7 Meiryo,sans-serif;color:#526268;margin-top:12px}
.local-draft-list{margin:28px 0;border-top:1px solid #acb6ad;padding-top:18px}
.place-plans-disclosure{margin:24px 0;border:1px solid #a8b4ab;padding:18px 20px;background:#fffaf0}
.place-plans-disclosure summary{cursor:pointer;font-size:18px;font-weight:700}
.place-plans-disclosure .place-plans{margin-top:20px}
.place-plans-disclosure .place-plans article{padding:14px;box-shadow:none}
.place-current{background:#fffaf0;border-left:4px solid #389b99;padding:22px;margin:24px 0}
.policy-paper{line-height:1.95}
.policy-paper>section{max-width:48rem;margin-inline:auto;padding:30px 0;border-bottom:1px solid #b6b4a8}
.policy-paper>h1,.policy-paper>.lead,.policy-paper>p,.policy-contents{max-width:48rem;margin-left:auto;margin-right:auto}
.policy-paper section h2{font-size:27px;line-height:1.6;border-left:4px solid #b02032;padding-left:14px}
.policy-paper section h3{font-size:22px;margin-top:24px}
.policy-contents{display:flex;flex-wrap:wrap;gap:12px 22px;padding:20px 0;border-block:1px solid #9daea6}
.policy-paper .policy-note{font-size:15px;color:#526268;line-height:1.9}
.policy-contact{display:inline-block;background:#143548;color:#fff7e8;padding:12px 18px;border-left:4px solid #b02032;box-shadow:3px 3px #389b99}
@media(max-width:760px){.policy-paper section h2{font-size:24px}.policy-paper ul{padding-left:1.5em}.policy-contact{max-width:100%;overflow-wrap:anywhere}}
/* 再開先・活動画面も雲亭の紙面と札へ統一 */
body .untei-shell .pathway-workspace:not(:has(.world-howto))>h1{background:#102f40 linear-gradient(110deg,#251e3a80,transparent);color:#ffe5a0;text-shadow:none;border:1px solid #e4d4aa;border-left:6px solid #b02032;border-bottom:3px solid #389b99;padding:22px 26px;margin:12px 0 24px;font-size:clamp(28px,3vw,36px);line-height:1.6;box-shadow:3px 3px #b02032}
body .untei-shell .pathway-workspace:not(:has(.world-howto)) :is(.lesson-sheet,.path-note){background:#fffaf0;border:1px solid #19394a;border-top:3px solid #389b99;box-shadow:3px 3px #389b99;padding:26px;margin:24px 0}
body .untei-shell .pathway-workspace:not(:has(.world-howto)) :is(p,li,dd){font-size:19px;line-height:1.95}
body .untei-shell .pathway-workspace:not(:has(.world-howto)) :is(label,textarea,dt){font-size:18px;line-height:1.9}
body .untei-shell .pathway-workspace:not(:has(.world-howto)) :is(.path-task h2,.path-next>h2,.path-note>h2){border-left:5px solid #b02032;padding:8px 16px;color:#143548;background:#f5efdf;font-size:27px;line-height:1.6;margin:0 0 20px}
body .untei-shell .path-words{background:#f5efdf;border:1px solid #c6c1b0;border-left:4px solid #b02032;padding:20px 22px}
body .untei-shell .path-words h2{font-size:24px;color:#143548;margin:0 0 16px}
body .untei-shell .path-table-wrap table{font-size:18px;line-height:1.8;border-color:#9caea7}
body .untei-shell .path-table-wrap thead th{background:#143548;color:#fff7e8;padding:12px}
body .untei-shell .path-table-wrap :is(td,tbody th){background:#fffdf7;color:#183444;padding:12px}
body .untei-shell .pathway-workspace:not(:has(.world-howto)) button{background:#143548;color:#fff7e8;border:1px solid #143548;box-shadow:2px 2px #389b99;font-size:18px;line-height:1.6;padding:12px 18px}
body .untei-shell .pathway-workspace:not(:has(.world-howto)) .path-toolbar button{background:#f8f4e9;color:#143548;box-shadow:none}
body .untei-shell .path-next .path-entries article h3{background:#143548;color:#ffe5a0;border-left:4px solid #b02032;border-bottom:2px solid #389b99;padding:14px 16px;font-size:25px;line-height:1.6;margin:0 0 16px}
body .untei-shell .path-purpose summary,body .untei-shell .path-history summary{font-size:18px;color:#143548;cursor:pointer}
body .untei-shell .path-field textarea{padding:14px;background:#fffdf7;border:1px solid #71857e;box-sizing:border-box;max-width:100%}
@media(max-width:760px){body .untei-shell .pathway-workspace:not(:has(.world-howto))>h1{font-size:27px;padding:20px 18px}body .untei-shell .pathway-workspace:not(:has(.world-howto)) :is(.lesson-sheet,.path-note){padding:22px 18px}body .untei-shell .pathway-workspace:not(:has(.world-howto)) :is(p,li,dd){font-size:18px}body .untei-shell .path-next .path-entries article h3{font-size:24px}body .untei-shell .path-table-wrap table{min-width:420px;font-size:16px}}
/* 入口下部の補助案内も共通の札・紙面へ */
body .untei-shell .pathway-workspace:has(.world-howto)>.path-note{background:#fffaf0;border:1px solid #143548;border-top:3px solid #389b99;padding:26px 24px;box-shadow:3px 3px #389b99}
body .untei-shell .pathway-workspace:has(.world-howto)>.path-note h2{background:#143548;color:#ffe5a0;border-left:5px solid #b02032;border-bottom:2px solid #389b99;padding:14px 18px;font-size:26px;line-height:1.6;margin:0 0 20px}
body .untei-shell .pathway-workspace:has(.world-howto) .path-toolbar button{background:#143548;color:#fff7e8;border:1px solid #143548;box-shadow:2px 2px #389b99;font-size:18px;line-height:1.6;padding:12px 18px}
body .untei-shell .pathway-workspace:has(.world-howto) .path-footer{border-top:3px double #389b99;color:#526268;padding-top:20px;font-size:15px;line-height:1.9}
@media(max-width:760px){body .untei-shell .pathway-workspace:has(.world-howto)>.path-note{padding:22px 18px}body .untei-shell .pathway-workspace:has(.world-howto)>.path-note h2{font-size:24px}}

/* 共通看板：中間幅でもメニューを小さくしない */
body .shared-brand>span,body .world-brand>strong{font-size:72px!important}
body .shared-masthead nav a,body .world-masthead nav a{font-size:22px!important;line-height:1.5!important;min-height:68px!important;padding:12px 8px!important}
@media(max-width:760px){body .shared-brand>span,body .world-brand>strong{font-size:56px!important}body .shared-brand,body .world-brand{height:82px}body .shared-masthead nav a,body .world-masthead nav a{font-size:20px!important;min-height:64px!important;padding:10px 6px!important}}
