/* fix16 — editorial paper, midnight ink, copper. No content depends on JavaScript. */
:root{--ink:#202c40;--blue:#8f4936;--teal:#354e68;--accent:#a2563e;--paper:#f6f3ec;--surface:#eeeae1;--line:#d9d4ca;--muted:#62656a;--shadow:0 14px 36px #202c400b}
body{background:var(--paper)}
.site-header{background:#fdfcf8;border-bottom:1px solid var(--line)}
.header-download,.button,.mobile-cta a{border-radius:3px}
.header-download{background:var(--ink)}
body[data-page=index] .hero{min-height:710px;padding:90px 49% 100px var(--gutter);background:var(--paper);color:var(--ink);border-bottom:1px solid var(--line)}
body[data-page=index] .hero:before{inset:40px 32px 40px 57%;background:none 56% center/cover;border-radius:160px 0 0 0}
body[data-page=index] .hero:after{inset:auto 32px 40px 57%;height:14px;background:var(--accent)}
body[data-page=index] .hero h1{color:var(--ink);font-family:'Noto Serif JP','Yu Mincho','Hiragino Mincho ProN',serif;font-size:clamp(36px,4.1vw,64px);line-height:1.5;letter-spacing:.035em;max-width:none;text-wrap:pretty}
body[data-page=index] .hero>.eyebrow{color:var(--accent);letter-spacing:.24em}
body[data-page=index] .hero #hpb-headerLogo a{color:var(--muted);line-height:1.8}
body[data-page=index] .hero-actions{flex-wrap:wrap;gap:10px}
body[data-page=index] .hero .button{padding:16px 20px;font-size:13px;min-height:54px}
body[data-page=index] .hero .outline{color:var(--ink);border-color:var(--ink);background:transparent}
body[data-page=index] .scroll-hint{color:var(--muted)}
body[data-page=index] .scroll-hint:after{background:var(--accent)}
body[data-page=index] .intro{padding-top:90px;background:#fffdf8}
body[data-page=index] .intro-copy{max-width:900px;border-left:3px solid var(--accent);padding-left:30px;font-weight:500;font-size:clamp(20px,2.3vw,29px)}
.section-title{font-family:'Yu Mincho',serif;font-size:32px;letter-spacing:.07em}
/* Every member gets an actual existing image, identical geometry and neutral caption surface. */
body[data-page=index] .service-grid{align-items:stretch;gap:28px}
body[data-page=index] .service-card{padding:0 26px 30px!important;border:1px solid var(--line);border-top:0;border-bottom:3px solid var(--accent);border-radius:0;background:#fff!important;box-shadow:none;color:var(--muted);overflow:hidden}
body[data-page=index] .service-card:before{content:none!important;background:none!important}
body[data-page=index] .service-card:after{top:18px;right:18px;background:var(--paper);color:var(--ink);padding:6px 10px;border-radius:0}
body[data-page=index] .service-card>svg{display:none}
body[data-page=index] .service-card>.f16-card-photo{display:block;width:calc(100% + 52px);max-width:none;height:210px;object-fit:cover;margin:0 -26px 28px;border-radius:0}
body[data-page=index] .service-card h3{color:var(--ink);font-size:21px;line-height:1.6}
body[data-page=index] #toppage-news{max-width:none;padding:90px max(var(--gutter),calc((100vw - 1100px)/2));background:var(--paper);border-top:1px solid var(--line)}
body[data-page=index] #toppage-news h3{font-family:'Yu Mincho',serif;border-top:4px solid var(--ink);padding-top:25px}
body[data-page=index] #toppage-news dt{color:var(--accent)}
body[data-page=index] .join-section{background:var(--ink);padding-block:70px}
/* CONTENTS becomes a continuous dark gallery, with the same photo treatment for all six cards. */
body #hpb-nav{background:var(--ink);padding-block:72px;border:0}
body #hpb-nav h3{color:#d9bd9c;font-size:14px;letter-spacing:.3em;margin-bottom:32px}
body #hpb-nav ul{gap:24px;grid-template-columns:repeat(3,minmax(0,1fr))}
body #hpb-nav li>a{padding:0 20px 24px;gap:8px;border:0;border-radius:0;background:#fffdf8;box-shadow:none;overflow:hidden}
body #hpb-nav li>a:before,body #hpb-nav li>a:after{content:none!important;background:none!important;display:none!important}
body #hpb-nav li>a>.f16-card-photo{display:block;order:0;flex-shrink:0;width:calc(100% + 40px);max-width:none;height:180px;object-fit:cover;margin:0 -20px 14px;border-radius:0}
body #hpb-nav li>a[href="information.html"]>.f16-card-photo{object-fit:contain;background:#fff;padding:10px}
body #hpb-nav li>a[aria-current=page]{background:#eee5d7!important;color:var(--ink)!important;box-shadow:inset 0 -4px var(--accent)}
/* Supporting navigation is uniformly typographic: no mismatched legacy artwork. */
body #banner{background:var(--paper);padding-block:60px}
body #banner ul{gap:0;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--line)}
body #banner li{border-bottom:1px solid var(--line)}
body #banner a{min-height:118px;border:0;border-radius:0;box-shadow:none;background:transparent;padding:22px 25px 22px 0}
body #banner a:before{content:none!important;background:none!important;display:none!important}
body #banner a:hover{background:#eee8dc;box-shadow:none}
#associationinfo{background:#fffdf8;border-top:1px solid var(--line)}
#hpb-footer{background:var(--ink);color:#e5e2da}
/* Subpages: paper title on the left, a framed photograph on the right. */
.subpage .institutional-line{background:#eeeae1}
.subpage .pagehead{background:var(--paper);color:var(--ink);min-height:310px;padding-right:40%;border-bottom:1px solid var(--line)}
.subpage .pagehead:after{inset:50px auto 50px 0;width:6px;background:var(--accent)}
.subpage .pagehead-photo{inset:28px 32px 28px 67%;border-radius:90px 0 0 0;background-position:center;transform:none!important}
.subpage .pagehead h2{font-family:'Yu Mincho','Hiragino Mincho ProN',serif;font-weight:600;font-size:clamp(28px,3.3vw,46px);line-height:1.6;letter-spacing:.055em}
.subpage .pagehead>.eyebrow{color:var(--accent)}
.subpage .pagehead .en{color:var(--muted)}
.breadcrumbs{background:var(--paper);border-bottom:1px solid var(--line)}
.subpage #hpb-main{padding-top:60px;padding-bottom:90px}
.editorial-section{border:0;border-top:1px solid var(--line);border-radius:0;background:#fffdf8;box-shadow:none;padding:38px;margin-bottom:40px}
.editorial-section>h3{font-family:'Yu Mincho',serif;line-height:1.7}
.editorial-section:before{color:var(--accent)}
.process-section{border-top:3px solid var(--ink);padding-left:90px}
.process-section:before{border-radius:0;background:var(--ink);color:#fff}
.history-section{border-left:1px solid var(--line)}
.rate-section{border-left:4px solid var(--accent)}
.chapter-index{gap:0;border-top:1px solid var(--line);padding-bottom:0}
.chapter-index a{background:transparent;border:0;border-right:1px solid var(--line);border-bottom:1px solid var(--line);border-radius:0;padding:16px 18px}
.membership-card,.region-group,.table-scroll,.school-accordion{border-radius:0;box-shadow:none}
.membership-price{background:#eee9df;border-top-color:var(--accent);font-size:1.12em}
.f15-search,.f15-years{border-radius:0;background:#eeeae1;border-color:var(--line);border-top-color:var(--accent);box-shadow:none}
.f15-search label,.f15-eyebrow,.f15-status{color:var(--ink)}
.f15-chips button[aria-pressed=true]{background:var(--ink);border-color:var(--ink)}
body[data-page=news] #schedule-cont>h4{border-radius:0;border:1px solid var(--line);border-left:4px solid var(--accent);background:#fffdf8;padding:28px 58px 28px 28px}
body[data-page=news] #schedule-cont>h4[aria-expanded=true]{background:#eee9df}
body[data-page=news] .article-panel.is-open{border-radius:0}
body[data-page=zakki] #hpb-main p.MsoNormal{border-radius:0;background:#fffdf8}
body[data-page=seminar] .table-scroll{border-top-color:var(--accent);border-radius:0}
.dated-entry:before,.date-chip{background:#eee5d7;color:#714631;border-radius:0}
.document-link{border-radius:0;border-color:var(--line)}
.region-links a{border-radius:0}
.school-section>table th{background:#eeeae1;color:var(--ink)}
.school-section>table th[aria-expanded=true]{background:var(--ink)}
@media(min-width:1500px){body[data-page=index] .hero{padding-left:max(var(--gutter),calc((100vw - 1320px)/2))}}
@media(max-width:1000px) and (min-width:761px){body[data-page=index] .hero{padding-right:46%;min-height:680px}body[data-page=index] .hero h1{font-size:38px}body[data-page=index] .hero:before,body[data-page=index] .hero:after{left:59%;right:20px}body[data-page=index] .service-grid{gap:16px}body[data-page=index] .service-card h3{font-size:18px}}
@media(max-width:760px){
 body[data-page=index] .hero{min-height:0;padding:46px 24px 300px}
 body[data-page=index] .hero h1{font-size:clamp(32px,8vw,44px);line-height:1.55}
 body[data-page=index] .hero:before{inset:auto 24px 26px;height:220px;border-radius:64px 0 0 0;background-position:center 56%}
 body[data-page=index] .hero:after{inset:auto 24px 26px;height:7px}
 body[data-page=index] .hero-actions{flex-direction:row;max-width:none;margin-top:24px}
 body[data-page=index] .hero .button{font-size:12px;padding:12px 15px;min-height:48px}
 body[data-page=index] .scroll-hint{bottom:262px;font-size:8px}
 body[data-page=index] .intro{padding-top:52px}.intro-copy{padding-left:18px!important}
 body[data-page=index] .service-grid{gap:24px}
 body[data-page=index] .service-card>.f16-card-photo{height:200px}
 body[data-page=index] #toppage-news{padding:52px 24px}
 body #hpb-nav{padding:48px 24px}
 body #hpb-nav ul{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}
 body #hpb-nav li>a{padding:0 12px 18px;font-size:12px}
 body #hpb-nav li>a>.f16-card-photo{height:110px;width:calc(100% + 24px);margin:0 -12px 10px}
 body #hpb-nav .ja[data-card-label]:before{font-size:12px}
 body #banner ul{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 15px}
 body #banner a{min-height:112px;padding:18px 0;font-size:12px}
 .subpage .pagehead{min-height:0;padding:34px 24px 180px}
 .subpage .pagehead h2{font-size:28px}
 .subpage .pagehead-photo{inset:auto 24px 24px!important;height:130px;width:auto;border-radius:45px 0 0 0}
 .subpage .pagehead:after{inset:34px auto auto 0;height:62px;width:4px}
 body[data-page^=bungei-] .pagehead{min-height:0}
 .subpage #hpb-main{padding:32px 20px 60px}
 .editorial-section{padding:26px 20px}.history-section{padding:26px 17px}
 .process-section{padding-top:80px}.process-section:before{top:22px}
 .chapter-index a{padding:12px;font-size:12px}
}
@media print{.f16-card-photo{display:none!important}.subpage .pagehead,body[data-page=index] .hero{padding:12px 0!important;color:#000!important}.editorial-section{break-inside:auto}}

/* 1130 トップ挨拶文: 語の途中で折り返さない(PCは1行・狭い画面は文節で折り返す) */
body[data-page=index] .intro-copy{max-width:none;font-size:clamp(18px,2.1vw,27px);word-break:auto-phrase;line-break:strict}
body[data-page=index] .intro-copy font br{display:inline}
