body.bon-science-site { background:#fbfbfc; color:#101216; }
.bon-science-site #content-w { max-width:none; width:auto; background:transparent; }
.bon-science-site #footer,.bon-science-site #footer-in { display:none; }
.bon-science { font-family:-apple-system,BlinkMacSystemFont,'Hiragino Kaku Gothic ProN','Yu Gothic',sans-serif; color:#16181c; }
.bon-science * { box-sizing:border-box; }
.bon-science a { color:inherit; text-decoration:none; }
.bon-science a:focus-visible,.bon-science button:focus-visible,.bon-science input:focus-visible { outline:2px solid #426aaf; outline-offset:5px; }
.bon-science h1,.bon-science h2,.bon-science h3 { background:none; border:0; box-shadow:none; padding:0; color:inherit; }
.bon-science h2:before,.bon-science h2:after,.bon-science h3:before { display:none; }
.bon-science-header { display:flex; align-items:center; gap:24px; min-height:72px; padding:10px 4%; background:#fafbfd; }
.bon-temp-logo { font-family:'Hiragino Mincho ProN','Yu Mincho',serif; font-size:27px; font-weight:700; line-height:1.2; white-space:nowrap; }
.bon-temp-logo span { display:block; font:8px/1.6 Arial,sans-serif; letter-spacing:.36em; text-align:center; }
.bon-brand-line { font-size:11px; line-height:1.9; border-left:1px solid #aeb2bb; padding-left:24px; margin:0; }
.bon-science-header nav { display:flex; gap:28px; margin-left:auto; font-size:12px; }
.bon-science-header nav a:hover { text-decoration:underline; text-underline-offset:7px; }
.bon-science-hero { position:relative; isolation:isolate; min-height:520px; min-height:clamp(520px,calc(100svh - 72px),850px); display:flex; align-items:center; overflow:hidden; background:#eef1f6; }
.bon-science-image { position:absolute; inset:0; z-index:-2; width:100%; height:100%; object-fit:cover; object-position:center; }
.bon-hero-content { margin:30px 0 32px 6%; width:60%; }
.bon-science .bon-science-label { font:10px/1.7 Arial,sans-serif; letter-spacing:.22em; color:#535d6d; margin:0 0 26px; }
.bon-science .bon-hero-content h1 { font-family:'Hiragino Mincho ProN','Yu Mincho',serif; font-size:clamp(44px,min(7.2vw,10.5svh),104px); font-weight:700; line-height:1.28; letter-spacing:-.035em; margin:0 0 clamp(16px,3svh,28px); }
.bon-science .bon-hero-description { font-size:14px; line-height:2.2; letter-spacing:.04em; color:#343a44; margin:0; }
.bon-hero-action { margin-top:clamp(18px,3svh,30px); border-top:1px solid #9299a4; padding-top:18px; width:320px; }
.bon-hero-action p { font-family:'Hiragino Mincho ProN','Yu Mincho',serif; font-size:24px; letter-spacing:.18em; margin:0 0 18px; }
.bon-hero-action a { display:flex; justify-content:space-between; align-items:center; padding:17px 23px; color:white; background:#111317; font-size:13px; letter-spacing:.08em; transition:background .2s; }
.bon-hero-action a:hover { background:#303b52; }
.bon-hero-action a span { font-size:24px; line-height:1; }
.bon-hero-note { position:absolute; right:3%; top:30px; font:9px/2.6 Georgia,serif; letter-spacing:.28em; color:#3f4653; }
.bon-hero-note span { display:block; margin-top:18px; font:8px/2 Arial,sans-serif; }
.bon-image-credit { position:absolute; bottom:14px; right:22px; font:8px Arial,sans-serif; color:#6e7685; letter-spacing:.13em; }
.bon-science-articles,.bon-science-approach { max-width:1280px; margin:0 auto; padding:70px 5%; }
.bon-science-approach h2 { font-family:'Hiragino Mincho ProN','Yu Mincho',serif; font-size:42px; line-height:1.5; margin:0; }
.bon-shelf-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.bon-shelf-banner { position:relative; display:flex; align-items:flex-end; aspect-ratio:4/1; border-radius:12px; overflow:hidden; background:#2a2f38; box-shadow:0 1px 2px rgb(16 24 40 / .05),0 6px 18px rgb(16 24 40 / .08); transition:transform .2s ease,box-shadow .2s ease; }
.bon-shelf-banner:hover { transform:translateY(-2px); box-shadow:0 2px 4px rgb(16 24 40 / .06),0 12px 28px rgb(16 24 40 / .12); }
.bon-shelf-banner img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.bon-shelf-banner:after { content:""; position:absolute; inset:0; background:linear-gradient(to top,rgb(10 12 16 / .72),rgb(10 12 16 / .05) 70%); }
.bon-shelf-banner span { position:relative; z-index:1; padding:0 20px 16px; color:#fff; font-family:'Hiragino Mincho ProN','Yu Mincho',serif; font-size:24px; font-weight:700; line-height:1.3; letter-spacing:.04em; }
.bon-science .bon-latest-title { font-family:'Hiragino Mincho ProN','Yu Mincho',serif; font-size:26px; line-height:1.4; margin:56px 0 24px; padding-bottom:14px; border-bottom:1px solid #cdd1d8; }
.bon-science .bon-science-articles { padding-top:32px; }
.bon-science .bon-science-hero { margin-bottom:0; }
.bon-science-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:42px 28px; }
.bon-science .bon-story-card h3 { color:#171c24; font-family:'Hiragino Mincho ProN','Yu Mincho',serif; font-size:17px; line-height:1.6; margin:12px 16px 16px; padding:0; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.bon-science .bon-read-link { border-color:#d4d8e0; }
.bon-science-approach { display:grid; grid-template-columns:1fr 1fr; gap:70px; border-top:1px solid #cdd1d8; padding-top:70px; padding-bottom:80px; }
.bon-principles article { display:flex; gap:25px; margin-bottom:25px; padding-bottom:24px; border-bottom:1px solid #d6dbe2; }
.bon-principles article > span { font:11px/2 Arial,sans-serif; color:#8691a1; }
.bon-principles h3 { font-size:18px; margin:0 0 12px; }
.bon-principles p { font-size:13px; line-height:2; color:#606b7c; margin:0; }
.bon-science-footer { border-top:1px solid #d6dbe2; padding:32px 5%; display:flex; gap:24px; align-items:center; }
.bon-science-footer p { font-size:12px; margin:0 auto 0 0; }
.bon-science-footer > span { font-family:serif; font-size:23px; }
.bon-science-footer small { font-size:9px; color:#808894; }

@media(max-width:1000px) { .bon-brand-line { display:none; } .bon-science-header nav { gap:18px; } .bon-hero-content { margin-left:5%; } .bon-science-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:700px) {
 .bon-science-header { min-height:64px; padding:8px 20px; gap:10px; position:relative; z-index:5; }
 .bon-temp-logo { font-size:24px; }.bon-temp-logo span { font-size:7px; }
 .bon-science-header > nav,.bon-brand-line { display:none; }
 /* イメージ画像なので、狭い幅でも独立したブロックにはしない。薄く敷いて文字を主にする。 */
 .bon-science-hero { min-height:clamp(420px,calc(100svh - 72px),620px); }
 .bon-science .bon-science-image { object-position:right 70%; opacity:.32; }
 .bon-hero-content { margin:0; padding:28px 24px 22px; width:100%; }
 .bon-science .bon-hero-content h1 { font-size:clamp(32px,min(10vw,6svh),60px); margin-bottom:16px; line-height:1.25; }
 .bon-science .bon-science-label { font-size:8px; margin-bottom:16px; }
 .bon-science .bon-hero-description { font-size:12px; line-height:1.9; letter-spacing:0; }
 .bon-hero-action { width:min(280px,100%); margin-top:18px; padding-top:12px; }
 .bon-hero-action p { font-size:20px; margin-bottom:12px; }
 .bon-hero-action a { padding:13px 18px; font-size:12px; }
 .bon-hero-note { display:none; }
 .bon-science-articles,.bon-science-approach { padding:40px 24px; }
 .bon-science-approach h2 { font-size:32px; }
 .bon-shelf-grid { gap:10px; }
 .bon-shelf-banner { aspect-ratio:2/1; border-radius:10px; }
 .bon-shelf-banner span { padding:0 12px 10px; font-size:16px; }
 .bon-science .bon-latest-title { font-size:21px; margin:36px 0 16px; }
 .bon-science .bon-science-articles { padding-top:20px; }
 .bon-science-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px 12px; }
 .bon-science .bon-story-card h3 { font-size:14px; line-height:1.55; margin:8px 10px 12px; -webkit-line-clamp:3; }
 .bon-science-approach { grid-template-columns:1fr; gap:35px; }
 .bon-science-footer { flex-wrap:wrap; padding:24px; gap:18px; }.bon-science-footer p { width:100%; }.bon-science-footer small { font-size:8px; }
}
/* Override AFFINGER's generic main and responsive image rules within this page. */
.bon-science > main { padding:0; margin:0; background:transparent; }
.bon-science-image { height:100% !important; }
.bon-hero-note { right:24%; }

/* Static typography: cyan/pink color offsets without geometric distortion. */
.bon-headline-line { display:inline-block;  white-space:nowrap; line-height:1.5; }
.bon-science .bon-chromatic-word { display:inline-block; font-weight:300; font-size:1.12em; color:#101216;  text-shadow:-.035em -.018em 0 #25e6e6,.035em .018em 0 #ff3868; }

/* Shared navigation, with a modal editorial drawer on compact screens. */
.bon-menu-trigger { display:none; }
.bon-navigation:not([open]) { display:none; }
.bon-science-header > nav a { position:relative; padding:8px 0; }
.bon-science-header > nav a:hover { text-decoration:none; }
.bon-science-header > nav a::after { content:""; position:absolute; bottom:1px; left:0; width:100%; height:1px; background:currentColor; transform:scaleX(0); transform-origin:left; transition:transform .18s ease; }
.bon-science-header > nav a:hover::after { transform:scaleX(1); }
.bon-science-header .bon-navigation { position:fixed; inset:0; width:100%; max-width:none; height:100dvh; max-height:none; margin:0; padding:0; border:0; background:transparent; color:#17191d; overflow:hidden; overflow:clip; }
.bon-navigation::backdrop { background:rgb(16 20 29 / 0); backdrop-filter:blur(0); transition:background .3s ease,backdrop-filter .3s ease; }
.bon-navigation.is-visible::backdrop { background:rgb(16 20 29 / .24); backdrop-filter:blur(5px); }
.bon-drawer { text-align:left; position:absolute; top:0; right:0; width:min(420px,calc(100% - 24px)); height:100%; padding:18px 30px max(26px,env(safe-area-inset-bottom)); display:flex; flex-direction:column; background:#fbfbfc; border-radius:22px 0 0 22px; overflow-y:auto; overscroll-behavior:contain; transform:translateX(102%); transition:transform .38s cubic-bezier(.22,1,.36,1); box-shadow:-12px 0 60px #1015220a; }
.bon-navigation.is-visible .bon-drawer { transform:translateX(0); }
.bon-navigation.is-closing .bon-drawer { transition-duration:.22s; transition-timing-function:cubic-bezier(.4,0,1,1); }
.bon-drawer-top { display:flex; justify-content:space-between; align-items:center; gap:16px; }
.bon-drawer-top > span { font:10px/1.5 Arial,sans-serif; letter-spacing:.24em; }
.bon-science-header .bon-menu-close,.bon-science-header .bon-menu-trigger { border:0; padding:11px; width:44px; height:44px; border-radius:50%; background:transparent; color:#17191d; cursor:pointer; transition:background .16s ease,transform .16s ease; flex-shrink:0; }
.bon-science-header .bon-menu-close { background:#eef0f3; }
.bon-menu-close svg,.bon-menu-trigger svg { display:block; width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; }
.bon-science-header .bon-menu-close:hover,.bon-science-header .bon-menu-trigger:hover { background:#e4e7ed; }
.bon-science-header .bon-menu-close:active,.bon-science-header .bon-menu-trigger:active { transform:scale(.94); }
.bon-menu-close:focus-visible,.bon-menu-trigger:focus-visible { outline:2px solid #626c7d; outline-offset:3px; }
.bon-science .bon-drawer-intro { text-align:left; margin:32px 0 18px; font-size:12px; color:#737b88; letter-spacing:.04em; }
.bon-science-header .bon-drawer nav { display:flex; flex-direction:column; margin:0; gap:0; }
.bon-science-header .bon-drawer nav a { display:flex; align-items:baseline; gap:14px; padding:24px 0; border-bottom:1px solid #e3e5e9; text-decoration:none; transition:color .18s ease; }
.bon-drawer-number { font:9px/1.5 Arial,sans-serif; color:#8b929e; }
.bon-drawer-label { text-align:left; font-size:clamp(23px,6.4vw,30px); line-height:1.35; font-weight:600; letter-spacing:-.035em; }
.bon-drawer-label small { display:block; font-size:11px; font-weight:400; line-height:1.7; letter-spacing:0; margin-top:9px; color:#747b87; }
.bon-drawer-arrow { margin-left:auto; font:20px/1 Arial,sans-serif; transition:transform .2s ease; }
.bon-drawer nav a:hover .bon-drawer-arrow { transform:translate(2px,-2px); }
.bon-drawer-secondary { display:grid; gap:20px; padding:30px 0; }
.bon-drawer-secondary a { display:flex; justify-content:space-between; font-size:13px; }
.bon-drawer-bottom { margin-top:auto; padding-top:36px; }
.bon-drawer-dot { display:block; width:7px; height:7px; border-radius:50%; background:#1c2027; box-shadow:-2px 0 #25e6e6,2px 0 #ff3868; margin-bottom:14px; }
.bon-science .bon-drawer-bottom p { text-align:left; font-size:12px; margin:0 0 8px; color:#414750; }
.bon-drawer-bottom small { font:8px/1.7 Arial,sans-serif; letter-spacing:.13em; color:#9299a3; }
@media(max-width:700px) {
 body.bon-menu-open { overflow:hidden; }
 .bon-science-header { display:grid; grid-template-columns:minmax(0,1fr) 44px; gap:0 6px; padding:10px 16px 10px 20px; min-height:64px; align-items:center; }
 .bon-science-header .bon-temp-logo { justify-self:start; font-size:24px; }
 .bon-science-header .bon-menu-trigger { display:block; }
}
@media(max-height:650px) { .bon-science .bon-drawer-intro { margin-top:18px; } .bon-science-header .bon-drawer nav a { padding:16px 0; } .bon-drawer-bottom { padding-top:18px; } }
@media(prefers-reduced-motion:reduce) { .bon-drawer,.bon-navigation::backdrop,.bon-drawer-arrow,.bon-menu-trigger,.bon-menu-close { transition:none !important; } }

/* Quiet navigation: keep reading space, reveal when the reader scrolls back. */
.bon-science .bon-science-header { position:fixed; inset:0 0 auto; width:100%; z-index:40; transition:transform .24s cubic-bezier(.22,1,.36,1),background .2s ease; }
.bon-header-space { height:72px; }
.bon-science .bon-science-header.is-scrolled { background:rgb(251 251 252 / .88); backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px); border-bottom:1px solid rgb(25 30 40 / .06); }
.bon-science .bon-science-header.is-away { transform:translateY(-105%); }
.bon-science .bon-science-header:focus-within { transform:translateY(0); }
.bon-prose h2 { scroll-margin-top:88px; }
@media(max-width:700px) { .bon-header-space { height:64px; } .bon-prose h2 { scroll-margin-top:80px; } }
@media(prefers-reduced-motion:reduce) { .bon-science .bon-science-header { transition:none; } }

/* Keyboard entry and a functional menu without JavaScript. */
.bon-science .bon-skip-link { position:fixed; left:16px; top:8px; transform:translateY(-180%); z-index:100000; padding:12px 18px; background:#111; color:#fff; border-radius:4px; }
.bon-science .bon-skip-link:focus { transform:none; }
.bon-menu-trigger[hidden] { display:none !important; }
.bon-noscript-nav { display:flex; flex-wrap:wrap; gap:16px; padding:12px 20px; font-size:13px; }
#main-content:focus { outline:none; }
@media(prefers-reduced-motion:reduce) {
 html { scroll-behavior:auto !important; }
 .bon-science *, .bon-reading .st-cardbox { transition:none !important; }
}
