/* ブログの新しいデザインの土台(デザイン案 blog.css 相当)。すべて .cbj(body)の中に閉じる。
   色は 3 テーマ共通の tokens.css(--clear-*)を参照する。--cream は tokens に無いので値のまま。
   body には変数だけを置き、書体・文字色・余白は本文領域(.cbj-main)に限定して、共通のヘッダー・フッターを変えない。
   要素そのものへの指定(a・svg・見出しや段落の余白・select など)は「.cbj :where(.cbj-main) 要素」で本文領域に限定する。
   :where は詳細度を上げないので、デザイン案の他の規則(.cbj .btn など)との優先順位は元のまま。
   .btn は、記事の本文に昔から書かれているボタン(btn--green・btn--grey)には当てない。当てると地が青になり、本文のリンクの色と重なって読めない。この 2 つは従来の指定(main.css)のまま出す。 */
.cbj{--blue:var(--clear-blue,#2e69c7);--deep:var(--clear-blue-deep,#244f99);--ink:var(--clear-ink,#22364b);--sub:var(--clear-sub,#5c6b7c);--line:var(--clear-line,#dbe3ed);--sky:var(--clear-sky,#ecf3ff);--yellow:var(--clear-yellow,#ffdc3a);--cream:#fff9e6;--script:'Caveat',cursive}
.cbj .cbj-main{margin:0;background:#fff;color:var(--deep);font:500 15px/1.9 'Zen Maru Gothic',sans-serif;letter-spacing:.025em;-webkit-text-size-adjust:100%;text-size-adjust:100%}.cbj :where(.cbj-main) *:where(:not(.cb-legacy *)),.cbj :where(.cbj-main) *:where(:not(.cb-legacy *)):before,.cbj :where(.cbj-main) *:where(:not(.cb-legacy *)):after{box-sizing:border-box}.cbj :where(.cbj-main) :is(h1,h2,h3,p,figure,ul,ol):where(:not(.cb-legacy *)){margin:0}.cbj :where(.cbj-main) img:where(:not(.cb-legacy *)){display:block;max-width:100%}.cbj :where(.cbj-main) a:where(:not(.cb-legacy *)){color:inherit;text-decoration:none}.cbj :where(.cbj-main) button:where(:not(.cb-legacy *)),.cbj :where(.cbj-main) input:where(:not(.cb-legacy *)),.cbj :where(.cbj-main) select:where(:not(.cb-legacy *)){font:inherit;color:inherit;letter-spacing:inherit}.cbj :where(.cbj-main) button:where(:not(.cb-legacy *)),.cbj :where(.cbj-main) summary:where(:not(.cb-legacy *)){cursor:pointer}.cbj :where(.cbj-main) button:where(:not(.cb-legacy *)){appearance:none}.cbj :where(.cbj-main) :is(a,button,input,select,summary):where(:not(.cb-legacy *)):focus-visible{outline:3px solid var(--blue);outline-offset:5px}.cbj :where(.cbj-main) a:where(:not(.cb-legacy *)):hover .path-link,.cbj .text-link:hover{text-decoration:underline}.cbj :where(.cbj-main) [hidden]:where(:not(.cb-legacy *)){display:none!important}.cbj :where(.cbj-main) [id]:where(:not(.cb-legacy *)){scroll-margin-top:115px}.cbj .sr,.cbj .symbols{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}.cbj .skip{position:fixed;top:-100px;z-index:100;padding:15px;background:white}.cbj .skip:focus{top:10px}.cbj :where(.cbj-main) svg:where(:not(.cb-legacy *)){fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.cbj .wrap{width:min(1200px,calc(100% - 80px));margin-inline:auto}.cbj :where(.cbj-main) :is(h2,p):where(h2,.cb-h2-display):where(:not(.cb-legacy *)){font-size:32px;line-height:1.65;letter-spacing:.04em;font-weight:700}.cbj :where(.cbj-main) h3:where(:not(.cb-legacy *)){font-size:20px;line-height:1.7;font-weight:700}.cbj :where(.cbj-main) p:where(:not(.cb-legacy *,.cb-h2-display)){overflow-wrap:anywhere}.cbj .script{font-family:var(--script);font-size:34px;font-weight:700;letter-spacing:0;line-height:1.15;color:var(--blue);transform:rotate(-2deg);transform-origin:left center}.cbj .text-link{font-size:13px;font-weight:700;line-height:1.9;text-underline-offset:5px}.cbj .btn:where(:not(.btn--green,.btn--grey)){display:inline-flex;align-items:center;justify-content:center;gap:28px;min-height:58px;padding:15px 26px;border:0;border-radius:9px;background:var(--blue);color:white;font-weight:700;line-height:1.7;font-size:14px;transition:background .2s}.cbj .btn:where(:not(.btn--green,.btn--grey)):hover{background:var(--deep)}.cbj .btn-yellow{background:var(--yellow);color:var(--deep)}.cbj .btn-yellow:hover{background:#ffe770}.cbj .btn-line{background:var(--cb-line,#06c755)}.cbj .btn-line:hover{background:var(--cb-line,#06c755);opacity:.92}.cbj .small-note{font-size:11px;line-height:1.9;color:var(--sub)}.cbj .wave{position:relative}.cbj .wave:before{content:'';position:absolute;top:-23px;left:0;width:100%;height:24px;background-color:inherit;-webkit-mask:url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 24"%3E%3Cpath d="M0 12Q40 -9 80 12T160 12T240 12T320 12V24H0Z"/%3E%3C/svg%3E') repeat-x 0 0/320px 24px;mask:url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 24"%3E%3Cpath d="M0 12Q40 -9 80 12T160 12T240 12T320 12V24H0Z"/%3E%3C/svg%3E') repeat-x 0 0/320px 24px}
.cbj .site-header{position:sticky;top:0;z-index:50;display:flex;align-items:center;gap:28px;padding:15px 30px;min-height:86px;background:#fffffffa;border-bottom:1px solid #edf0f5}.cbj .brand{width:188px;flex:none}.cbj .brand img{width:100%;height:auto}.cbj .desktop-nav{display:flex;align-items:center;gap:26px;margin-left:auto}.cbj .desktop-nav a{font-size:12px;font-weight:700;white-space:nowrap}.cbj .desktop-nav a[aria-current]{text-decoration:underline;text-decoration-color:var(--yellow);text-decoration-thickness:4px;text-underline-offset:8px}.cbj .header-line{padding:11px 17px;border-radius:9px;background:var(--cb-line,#06c755);color:white;font-size:13px;white-space:nowrap;font-weight:700}.cbj .header-line span{font-family:sans-serif;font-size:10px;background:white;color:var(--cb-line-dark,#06a94a);padding:3px 5px;border-radius:4px;margin-right:8px}.cbj .menu{position:relative}.cbj :where(.cbj-main) summary:where(:not(.cb-legacy *)){list-style:none}.cbj :where(.cbj-main) summary:where(:not(.cb-legacy *))::-webkit-details-marker{display:none}.cbj .menu summary{width:36px;padding:6px 0}.cbj .menu summary>span{display:block;height:1px;background:var(--deep);width:25px;margin:6px auto}.cbj .menu summary small{display:block;font-size:8px;text-align:center;line-height:1.2;letter-spacing:.12em}.cbj .menu nav{position:absolute;top:54px;right:0;width:280px;padding:22px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 15px 40px #16366514}.cbj .menu nav a{display:block;padding:13px 3px;font-size:14px;border-bottom:1px solid #edf0f5}
.cbj .hero{padding:18px 0 54px;overflow:hidden;background:linear-gradient(180deg,#fff 0%,#fff 78%,#fcfdff 100%)}.cbj .breadcrumb{font-size:10px;display:flex;gap:13px;color:var(--sub)}.cbj .hero-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:50px;align-items:center;padding-top:37px}.cbj .hero-copy{position:relative;z-index:2;padding-bottom:15px}.cbj .hero-copy>.script{font-size:44px;margin-bottom:18px}.cbj :where(.cbj-main) h1:where(:not(.cb-legacy *)){font-size:14px;font-weight:700;letter-spacing:.07em;margin-bottom:18px}.cbj .hero-catch{font-size:clamp(30px,3.5vw,46px);font-weight:700;line-height:1.6;letter-spacing:.005em;white-space:nowrap}.cbj :where(.cbj-main) em:where(:not(.cb-legacy *)){font-style:normal;background:linear-gradient(transparent 77%,var(--yellow) 77%,var(--yellow) 96%,transparent 96%)}.cbj .hero-lead{font-size:13px;color:var(--sub);line-height:2;margin-top:22px}.cbj .search{display:flex;align-items:center;background:#fff;border:1.5px solid #8fa9cc;border-radius:10px;padding:6px;gap:6px}.cbj .hero-search{margin-top:28px;box-shadow:0 6px 20px #284c8710}.cbj .search-icon{width:23px;height:23px;flex:none;margin:0 6px 0 9px}.cbj .search input{min-width:0;width:100%;background:transparent;border:0;padding:10px 2px;outline-offset:1px;font-size:13px;line-height:1.5}.cbj :where(.cbj-main) input:where(:not(.cb-legacy *))::placeholder{color:#69788a;opacity:1}.cbj .search button{border:0;flex:none;background:var(--blue);color:white;padding:12px 18px;border-radius:6px;font-size:13px;font-weight:700;min-height:44px}.cbj .search button:hover{background:var(--deep)}.cbj .quick-words{display:flex;flex-wrap:wrap;align-items:center;gap:4px 14px;margin-top:12px;font-size:11px}.cbj .quick-words>span{color:var(--sub);font-size:10px}.cbj .quick-words a{padding:5px 0;text-decoration:underline;text-underline-offset:4px}.cbj .hero-visual{position:relative;min-width:0;height:438px;margin-top:0}.cbj .hero-main{width:84%;margin-left:10%;position:relative}.cbj .hero-main>img{height:295px;width:100%;object-fit:cover;border-radius:9px}.cbj .hero-main figcaption{position:absolute;top:305px;right:0;width:53%;font-size:11px;line-height:1.7}.cbj .hero-main figcaption span{display:block;font-family:var(--script);font-size:24px;color:var(--blue)}.cbj .hero-small{position:absolute;left:-10px;top:221px;width:53%;transform:rotate(-5deg);padding:8px 8px 0;background:#fff;box-shadow:0 8px 20px #24436b0d}.cbj .hero-small img{height:150px;width:100%;object-fit:cover;border-radius:4px}.cbj .hero-small figcaption{font-family:var(--script);font-size:23px;text-align:center;padding:4px 0 7px;letter-spacing:0;line-height:1.3}.cbj .hero-note{position:absolute;top:363px;right:12%;font-size:13px;font-weight:700;line-height:1.8;transform:rotate(5deg);letter-spacing:.08em}.cbj .hero-bottom{display:flex;align-items:center;gap:22px;margin-top:28px;font-size:11px}.cbj .hero-bottom>span{font-size:9px;letter-spacing:.16em;font-weight:700;color:var(--blue)}.cbj .hero-bottom p{color:var(--sub)}.cbj .hero-bottom>a{margin-left:auto;font-weight:700;display:flex;gap:22px;align-items:center}
.cbj .topic-section{background:var(--sky);padding:54px 0 60px}.cbj .section-top{display:flex;justify-content:space-between;align-items:end;gap:35px;margin-bottom:32px}.cbj .section-top .script{margin-bottom:10px}.cbj .section-top>.text-link{margin-bottom:6px}.cbj .topics{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.cbj .topic{display:flex;align-items:center;gap:19px;padding:22px 24px;border-radius:12px;background:#fff;transition:background .18s,transform .18s}.cbj .topic:hover{background:#fffbe9;transform:translateY(-2px)}.cbj .topic svg{width:41px;height:41px;flex:none;stroke:var(--blue)}.cbj .topic b{font-size:16px;display:block;line-height:1.65}.cbj .topic small{font-size:11px;color:var(--sub);display:block;line-height:1.7;margin-top:3px}.cbj .topic>span:last-child{margin-left:auto;font-size:17px}.cbj .reading{padding-block:70px;display:grid;grid-template-columns:210px 1fr;gap:40px}.cbj .reading-heading .script{display:block;margin-bottom:15px}.cbj .reading-heading :is(h2,p):where(:not(.cb-h2-label)):where(h2,.cb-h2-display){font-size:23px}.cbj .reading-paths{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}.cbj .reading-paths>a{padding-left:23px;border-left:1px solid var(--line)}.cbj .step{font:700 24px/1 var(--script);display:flex;align-items:center;gap:12px;color:var(--blue)}.cbj .step small{font:700 11px/1.7 'Zen Maru Gothic',sans-serif}.cbj .reading-paths h3{font-size:18px;margin:16px 0 9px}.cbj .reading-paths p{font-size:12px;line-height:1.9;color:var(--sub)}.cbj .path-link{display:flex;justify-content:space-between;gap:8px;font-size:12px;font-weight:700;margin-top:17px}
.cbj .library{background:#fafbfc;padding:76px 0 90px;border-top:1px solid #edf1f6}.cbj .section-description{font-size:13px;color:var(--sub);line-height:2}.cbj .library-layout{display:grid;grid-template-columns:minmax(0,1fr) 266px;gap:45px}.cbj .filter-panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:23px}.cbj .result-search{border-color:#aebed3;padding:4px}.cbj .result-search input{font-size:14px}.cbj .result-search button{padding-inline:25px}.cbj .select-row{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:17px}.cbj .select-row label{display:flex;align-items:center;gap:12px;font-size:11px;font-weight:700;white-space:nowrap}.cbj :where(.cbj-main) select:where(:not(.cb-legacy *)){appearance:auto;border:0;border-bottom:1px solid #becbdc;padding:8px 3px;width:100%;min-width:0;background:white;font-size:13px!important;min-height:43px}.cbj .refine-links{display:flex;flex-wrap:wrap;gap:7px 14px;align-items:center;margin-top:14px;font-size:11px}.cbj .refine-links>span{color:var(--sub)}.cbj .refine-links a{text-decoration:underline;text-underline-offset:4px;padding:3px 0}.cbj .results-meta{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:25px 0 20px}.cbj .results-meta p{font-size:12px}.cbj .results-meta b{font-size:26px;letter-spacing:0;line-height:1.4}.cbj .results-meta p>span{color:var(--sub);margin-left:8px;font-size:11px}.cbj .results-meta button{border:0;background:none;text-decoration:underline;text-underline-offset:4px;font-size:11px;padding:10px 0}.cbj .active-filter{font-size:12px;padding:12px 16px;margin-bottom:20px;background:var(--sky);border-radius:7px}.cbj .article-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:34px 22px}.cbj .article-card a{display:block}.cbj .article-cover{overflow:hidden;border-radius:9px;background:#e5eef9;aspect-ratio:1.65;position:relative}.cbj .article-cover img{width:100%;height:100%;object-fit:cover;transition:transform .25s}.cbj .article-card a:hover img{transform:scale(1.04)}.cbj .article-card a:hover h3{color:var(--blue);text-decoration:underline;text-underline-offset:5px}.cbj .article-meta{display:flex;align-items:center;flex-wrap:wrap;gap:5px 10px;margin:13px 0 8px;font-size:10px;line-height:1.7}.cbj .article-meta span{color:var(--blue);font-weight:700}.cbj .article-meta time{color:var(--sub);font-size:9px;letter-spacing:0}.cbj .article-card h3{font-size:15px;line-height:1.85;letter-spacing:.01em;overflow-wrap:anywhere}.cbj .cover-fallback{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;font-size:12px}.cbj .cover-fallback svg{width:40px;height:40px}.cbj .pagination{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:7px;margin-top:43px}.cbj .pagination a,.cbj .pagination span{display:flex;align-items:center;justify-content:center;min-width:41px;height:42px;padding:0 10px;font-size:12px;border-radius:7px}.cbj .pagination a{border:1px solid var(--line);background:white}.cbj .pagination a:hover{border-color:var(--blue)}.cbj .pagination a[aria-current]{background:var(--blue);color:white;border-color:var(--blue)}.cbj .pagination span{min-width:16px;padding:0}.cbj .archive-link{text-align:center;margin-top:20px}.cbj .archive-link a{font-size:11px;color:var(--sub)}.cbj .empty{text-align:center;padding:45px 18px;border:1px solid var(--line);border-radius:14px;background:white}.cbj .empty>svg{width:40px;height:40px;margin-bottom:18px}.cbj .empty h3{font-size:18px}.cbj .empty p{font-size:13px;color:var(--sub);margin:14px 0 24px}.cbj .empty .text-link{display:block;margin-top:20px}.cbj .search-note{padding:15px;margin:20px 0;background:var(--cream);font-size:13px}.cbj .search-note a{text-decoration:underline}
.cbj .sidebar{min-width:0;padding-top:1px}.cbj .ranking>.script{font-size:32px;margin-bottom:9px}.cbj .ranking h2{font-size:19px;line-height:1.6}.cbj .ranking ol{padding:0;list-style:none;margin-top:15px}.cbj .ranking li{padding:18px 0;border-bottom:1px solid var(--line)}.cbj .ranking li a{display:grid;grid-template-columns:25px 67px 1fr;gap:10px;align-items:start}.cbj .rank-num{font:700 28px/1 var(--script);color:var(--blue);padding-top:4px}.cbj .ranking li:first-child .rank-num{color:#aa7700}.cbj .ranking img{width:67px;height:60px;object-fit:cover;border-radius:5px}.cbj .ranking h3{font-size:11px;line-height:1.9;letter-spacing:0}.cbj .ranking a:hover h3{text-decoration:underline}.cbj .ranking .small-note{font-size:10px;margin-top:14px}.cbj .first-guide{margin-top:35px;padding:28px 24px;background:var(--cream);border-radius:12px}.cbj .first-guide .script{font-size:27px;margin-bottom:16px}.cbj .first-guide h3{font-size:19px}.cbj .first-guide p:not(.script){font-size:12px;color:var(--sub);margin:12px 0 17px}.cbj .first-guide .text-link{font-size:11px}.cbj .school-guide{padding:28px 24px;border:1px solid var(--line);border-radius:12px;margin-top:20px;background:white}.cbj .school-guide>svg{width:37px;height:37px;margin-bottom:15px}.cbj .school-guide h3{font-size:18px}.cbj .school-guide p{font-size:12px;color:var(--sub);margin:12px 0 18px}.cbj .school-guide .text-link{font-size:12px}
.cbj .voices{padding:75px 0 70px;background:var(--blue);color:white}.cbj .voices-layout{display:grid;grid-template-columns:1fr 1fr;gap:85px;align-items:center}.cbj .voices-photos{position:relative;height:350px}.cbj .voices-photos img{position:absolute;object-fit:cover;object-position:50% 28%;width:58%;height:270px;border-radius:14px;transform:rotate(-5deg)}.cbj .voices-photos img+img{width:48%;height:225px;top:89px;right:0;transform:rotate(6deg)}.cbj .voices-photos .script{position:absolute;bottom:0;left:12px;color:#fff;font-size:28px;white-space:nowrap}.cbj .voices-copy>.script{color:var(--yellow);margin-bottom:15px}.cbj .voices-copy :is(h2,p):where(:not(.cb-h2-label)):where(h2,.cb-h2-display){font-size:35px}.cbj .voices-copy>p:not(.script,.cb-h2-display){font-size:14px;line-height:2.1;margin:23px 0 27px}.cbj .editor{padding-block:86px;display:grid;grid-template-columns:350px 1fr;gap:65px;align-items:center}.cbj .editor-person{display:flex;align-items:center;gap:25px}.cbj .editor-person img{width:170px;height:214px;object-fit:cover;object-position:50% 20%;border-radius:12px}.cbj .editor-person p{font-size:11px;line-height:2}.cbj .editor-person b{font-size:20px;white-space:nowrap;display:block}.cbj .editor-person span{font-family:var(--script);font-size:18px;display:block;white-space:nowrap}.cbj .editor-copy .script{font-size:29px;margin-bottom:15px}.cbj .editor-copy :is(h2,p):where(:not(.cb-h2-label)):where(h2,.cb-h2-display){font-size:26px}.cbj .editor-copy>p:not(.script,.small-note,.cb-h2-display){font-size:13px;line-height:2.1;color:var(--sub);margin:20px 0 14px}.cbj .editor-copy .small-note{font-size:10px;margin-top:22px}.cbj .consult{background:var(--sky);padding:58px 0}.cbj .consult-inner{display:grid;grid-template-columns:1fr 1fr;gap:85px;align-items:center}.cbj .consult .script{margin-bottom:14px}.cbj .consult :is(h2,p):where(:not(.cb-h2-label)):where(h2,.cb-h2-display){font-size:30px}.cbj .consult-inner>div>p:not(.script,.cb-h2-display){font-size:13px;color:var(--sub);margin-top:18px}.cbj .consult-actions{text-align:center}.cbj .consult-actions>.btn{width:100%;max-width:370px}.cbj .consult-inner .consult-actions>p{font-size:11px;margin-top:13px}.cbj .consult-actions>.text-link{display:inline-block;margin-top:20px}.cbj .footer{padding-block:45px 25px;display:grid;grid-template-columns:220px 1fr;gap:24px 50px;align-items:start}.cbj .footer img{height:auto}.cbj .footer nav{display:flex;gap:12px 25px;flex-wrap:wrap;justify-content:end;font-size:11px}.cbj .footer small{font-size:10px;color:var(--sub);grid-column:1/-1;text-align:right}.cbj .archive-page{padding-block:45px 70px}.cbj .archive-page h1{font-size:32px}.cbj .archive-page h2{font-size:23px;margin:35px 0 18px}.cbj .archive-page ul{padding-left:23px}.cbj .archive-page li{font-size:14px;margin-bottom:14px}.cbj .archive-page li a:hover{text-decoration:underline}.cbj .archive-page li time{font-size:10px;color:var(--sub);margin-left:10px}
@media(min-width:1500px){.cbj .hero-grid{gap:80px}.cbj .hero-catch{font-size:46px}}
@media(max-width:1100px){.cbj .wrap{width:calc(100% - 56px)}.cbj .desktop-nav{gap:17px}.cbj .site-header{gap:19px;padding-inline:23px}.cbj .desktop-nav a{font-size:10px}.cbj .brand{width:168px}.cbj .hero-grid{gap:28px}.cbj .hero-visual{height:410px}.cbj .hero-main>img{height:270px}.cbj .hero-main figcaption{top:285px}.cbj .hero-small{top:215px}.cbj .hero-note{top:347px}.cbj .library-layout{grid-template-columns:minmax(0,1fr) 236px;gap:28px}.cbj .article-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 22px}.cbj .article-card h3{font-size:16px}.cbj .reading{grid-template-columns:170px 1fr;gap:25px}.cbj .reading-paths{gap:18px}.cbj .reading-paths>a{padding-left:18px}.cbj .reading-paths h3{font-size:16px}.cbj .reading-paths p{font-size:11px}.cbj .topic{padding:20px 18px;gap:12px}.cbj .topic svg{width:34px;height:34px}.cbj .topic b{font-size:14px}.cbj .topic small{font-size:10px}.cbj .topic>span:last-child{display:none}.cbj .voices-layout{gap:50px}.cbj .voices-copy :is(h2,p):where(:not(.cb-h2-label)):where(h2,.cb-h2-display){font-size:31px}.cbj .editor{grid-template-columns:310px 1fr;gap:35px}.cbj .editor-person img{width:145px;height:194px}.cbj .editor-copy :is(h2,p):where(:not(.cb-h2-label)):where(h2,.cb-h2-display){font-size:23px}}
@media(max-width:850px){.cbj .desktop-nav{display:none}.cbj .header-line{margin-left:auto}.cbj .hero-grid{grid-template-columns:1.1fr 1fr;gap:20px;padding-top:27px}.cbj .hero-copy>.script{font-size:36px}.cbj :where(.cbj-main) h1:where(:not(.cb-legacy *)){font-size:11px}.cbj .hero-catch{font-size:29px}.cbj .hero-lead{font-size:11px}.cbj .hero-visual{height:365px}.cbj .hero-main{width:95%;margin-left:4%}.cbj .hero-main>img{height:240px;border-radius:9px}.cbj .hero-main figcaption{display:none}.cbj .hero-small{top:189px;width:66%;left:-6px}.cbj .hero-small img{height:130px}.cbj .hero-small figcaption{font-size:18px}.cbj .hero-note{top:267px;right:0;font-size:11px}.cbj .hero-search{margin-top:20px}.cbj .hero-search button{padding-inline:10px;font-size:11px}.cbj .hero-search input{font-size:11px}.cbj .hero-search .search-icon{width:20px;height:20px;margin-inline:3px}.cbj .quick-words{gap:4px 12px}.cbj .quick-words>span{width:100%}.cbj .hero-bottom{margin-top:20px}.cbj .hero-bottom>p{display:none}.cbj .reading{display:block;padding-block:48px}.cbj .reading-heading{display:flex;align-items:center;gap:25px;margin-bottom:25px}.cbj .reading-heading :is(h2,p):where(:not(.cb-h2-label)):where(h2,.cb-h2-display){font-size:22px}.cbj .reading-heading :is(h2,p):where(:not(.cb-h2-label)):where(h2,.cb-h2-display) br{display:none}.cbj .reading-heading .script{margin:0;font-size:30px}.cbj .reading-paths>a:first-child{border-left:0;padding-left:0}.cbj .library-layout{grid-template-columns:1fr}.cbj .article-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 18px}.cbj .article-card h3{font-size:14px}.cbj .sidebar{display:grid;grid-template-columns:1fr 1fr;gap:25px}.cbj .ranking{grid-column:1/-1}.cbj .ranking ol{display:grid;grid-template-columns:1fr 1fr;gap:0 28px}.cbj .ranking h3{font-size:12px}.cbj .first-guide,.cbj .school-guide{margin:0}.cbj .section-top :is(h2,p):where(:not(.cb-h2-label)):where(h2,.cb-h2-display){font-size:28px}.cbj .section-description{font-size:11px}.cbj .voices-layout{gap:36px}.cbj .voices-copy :is(h2,p):where(:not(.cb-h2-label)):where(h2,.cb-h2-display){font-size:27px}.cbj .voices-copy>p:not(.script,.cb-h2-display){font-size:12px}.cbj .voices-photos{height:295px}.cbj .voices-photos img{height:215px;width:62%}.cbj .voices-photos img+img{height:185px;top:90px;width:50%}.cbj .voices-photos .script{font-size:22px;left:0}.cbj .editor{grid-template-columns:230px 1fr;gap:30px}.cbj .editor-person{flex-direction:column;align-items:center;gap:16px}.cbj .editor-person p{text-align:center}.cbj .editor-copy :is(h2,p):where(:not(.cb-h2-label)):where(h2,.cb-h2-display){font-size:22px}.cbj .consult-inner{gap:40px}.cbj .consult :is(h2,p):where(:not(.cb-h2-label)):where(h2,.cb-h2-display){font-size:26px}.cbj .footer{grid-template-columns:170px 1fr}}
@media(max-width:640px){.cbj .cbj-main{font-size:14px}.cbj .wrap{width:calc(100% - 40px)}.cbj :where(.cbj-main) [id]:where(:not(.cb-legacy *)){scroll-margin-top:86px}.cbj .site-header{min-height:72px;padding:12px 18px;gap:15px}.cbj .brand{width:145px}.cbj .header-line{font-size:11px;padding:10px 12px}.cbj .header-line span{display:none}.cbj .menu summary{width:30px}.cbj .menu nav{right:-3px}.cbj .hero{padding-top:12px;padding-bottom:43px}.cbj .breadcrumb{font-size:9px}.cbj .hero-grid{display:flex;flex-direction:column;gap:0;padding-top:28px;align-items:stretch}.cbj .hero-copy{display:contents}.cbj .hero-copy>.script{font-size:36px;order:1;margin-bottom:13px}.cbj :where(.cbj-main) h1:where(:not(.cb-legacy *)){font-size:11px;order:2;margin-bottom:13px;letter-spacing:.04em}.cbj .hero-catch{font-size:clamp(27px,7.6vw,43px);line-height:1.5;order:3}.cbj .hero-lead{order:4;font-size:11px;line-height:2;margin-top:17px}.cbj .hero-search{order:5;margin-top:23px}.cbj .hero-search input{font-size:13px;padding:12px 2px}.cbj .hero-search button{font-size:12px;padding-inline:15px}.cbj .hero-search .search-icon{width:23px;height:23px;margin-inline:5px}.cbj .quick-words{order:6;gap:5px 16px;font-size:11px;margin-top:10px}.cbj .quick-words>span{width:auto;font-size:9px}.cbj .hero-visual{order:7;max-width:430px;width:100%;height:287px;align-self:center;margin-top:31px}.cbj .hero-main{width:73%;margin-left:23%}.cbj .hero-main>img{height:209px;border-radius:8px}.cbj .hero-small{top:111px;left:0;width:48%;padding:6px 6px 0;transform:rotate(-5deg)}.cbj .hero-small img{height:117px}.cbj .hero-small figcaption{font-size:18px;padding:5px 0 6px}.cbj .hero-note{top:229px;right:14%;font-size:11px;line-height:1.7}.cbj .hero-bottom{gap:12px;margin-top:20px;font-size:10px}.cbj .hero-bottom>span{font-size:8px;letter-spacing:.12em}.cbj .hero-bottom>a{gap:13px}.cbj .topic-section{padding:35px 0 39px}.cbj .section-top{display:block;margin-bottom:23px}.cbj .section-top .script{font-size:29px;margin-bottom:8px}.cbj :where(.cbj-main) :is(h2,p):where(h2,.cb-h2-display):where(:not(.cb-legacy *)),.cbj .section-top :is(h2,p):where(:not(.cb-h2-label)):where(h2,.cb-h2-display){font-size:26px}.cbj .section-top>.text-link{display:inline-block;margin-top:14px;font-size:11px}.cbj .topics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cbj .topic{padding:17px 13px;display:block;position:relative;border-radius:10px}.cbj .topic svg{width:32px;height:32px;margin-bottom:8px}.cbj .topic b{font-size:13px;white-space:nowrap;letter-spacing:0}.cbj .topic small{font-size:9px;line-height:1.8;margin-top:4px;letter-spacing:0}.cbj .reading{padding-block:39px}.cbj .reading-heading{align-items:center;gap:20px;margin-bottom:20px}.cbj .reading-heading .script{font-size:29px}.cbj .reading-heading :is(h2,p):where(:not(.cb-h2-label)):where(h2,.cb-h2-display){font-size:18px}.cbj .reading-paths{grid-template-columns:1fr;gap:0}.cbj .reading-paths>a,.cbj .reading-paths>a:first-child{padding:18px 0;border:0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:1fr auto;column-gap:16px}.cbj .step{grid-column:1/-1;font-size:22px;gap:12px}.cbj .step small{font-size:11px}.cbj .reading-paths h3{font-size:19px;margin:9px 0 6px;grid-column:1/-1}.cbj .reading-paths p{font-size:11px}.cbj .path-link{font-size:10px;align-self:end;gap:9px;margin:0 0 1px}.cbj .library{padding:42px 0 65px}.cbj .section-description{margin-top:15px;line-height:1.95;font-size:12px}.cbj .library-layout{gap:42px}.cbj .filter-panel{padding:15px;border-radius:10px}.cbj .result-search input{font-size:12px}.cbj .result-search button{font-size:12px;padding-inline:14px}.cbj .search-icon{width:20px;height:20px;margin-inline:4px}.cbj .select-row{gap:14px;margin-top:13px}.cbj .select-row label{display:block;font-size:10px}.cbj :where(.cbj-main) select:where(:not(.cb-legacy *)){font-size:11px!important;min-height:44px;padding:8px 0;letter-spacing:0;margin-top:2px}.cbj .refine-links{font-size:10px;gap:5px 12px}.cbj .refine-links>span{width:100%;font-size:9px}.cbj .results-meta{margin:20px 0 19px;gap:10px}.cbj .results-meta b{font-size:26px}.cbj .results-meta p{font-size:11px}.cbj .results-meta p>span{font-size:10px;margin-left:4px}.cbj .results-meta button{font-size:10px}.cbj .article-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:27px 15px}.cbj .article-card h3{font-size:12px;line-height:1.85;letter-spacing:0}.cbj .article-meta{margin:10px 0 5px;gap:3px}.cbj .article-meta span{font-size:9px;width:100%;line-height:1.7}.cbj .article-meta time{font-size:8px;line-height:1.7}.cbj .article-cover{border-radius:6px}.cbj .pagination{gap:5px;margin-top:32px}.cbj .pagination a{min-width:36px;height:40px;padding:0 8px;font-size:11px}.cbj .pagination span{height:40px;min-width:10px;padding:0}.cbj .archive-link{margin-top:22px}.cbj .sidebar{gap:15px}.cbj .ranking ol{grid-template-columns:1fr;gap:0}.cbj .ranking li a{grid-template-columns:27px 83px 1fr;gap:13px;align-items:center}.cbj .ranking img{width:83px;height:61px}.cbj .ranking li{padding:15px 0}.cbj .ranking h3{font-size:12px}.cbj .ranking h2{font-size:21px}.cbj .ranking .small-note{font-size:9px}.cbj .first-guide,.cbj .school-guide{padding:24px 20px;grid-column:1/-1}.cbj .first-guide h3 br,.cbj .school-guide h3 br{display:none}.cbj .first-guide h3,.cbj .school-guide h3{font-size:20px}.cbj .first-guide .text-link,.cbj .school-guide .text-link{font-size:12px}.cbj .school-guide>svg{float:right;width:40px;height:40px;margin:0 0 10px 10px}.cbj .school-guide p{max-width:250px}.cbj .voices{padding:42px 0 43px}.cbj .voices-layout{display:flex;flex-direction:column;gap:35px}.cbj .voices-photos{width:100%;max-width:400px;height:269px}.cbj .voices-photos img{left:5%;height:205px;width:53%}.cbj .voices-photos img+img{top:56px;left:auto;right:3%;height:176px;width:43%}.cbj .voices-photos .script{left:4%;bottom:0;font-size:25px}.cbj .voices-copy{width:100%}.cbj .voices-copy :is(h2,p):where(:not(.cb-h2-label)):where(h2,.cb-h2-display){font-size:29px}.cbj .voices-copy>.script{font-size:32px;margin-bottom:13px}.cbj .voices-copy>p:not(.script,.cb-h2-display){font-size:13px;line-height:2.1;margin:18px 0 24px}.cbj .voices-copy .btn{width:100%;font-size:13px}.cbj .editor{padding-block:47px;display:flex;flex-direction:column;gap:29px;align-items:start}.cbj .editor-person{flex-direction:row;gap:25px}.cbj .editor-person img{width:100px;height:132px;border-radius:9px}.cbj .editor-person p{text-align:left}.cbj .editor-person b{font-size:22px}.cbj .editor-copy :is(h2,p):where(:not(.cb-h2-label)):where(h2,.cb-h2-display){font-size:23px}.cbj .editor-copy>p:not(.script,.small-note,.cb-h2-display){font-size:12px}.cbj .editor-copy .small-note{font-size:10px}.cbj .consult{padding:41px 0}.cbj .consult-inner{grid-template-columns:1fr;gap:30px}.cbj .consult :is(h2,p):where(:not(.cb-h2-label)):where(h2,.cb-h2-display){font-size:28px}.cbj .consult-inner>div>p:not(.script,.cb-h2-display){font-size:12px}.cbj .consult-actions>.btn{max-width:none;font-size:13px}.cbj .consult-inner .consult-actions>p{font-size:10px}.cbj .footer{display:block;padding-block:33px 23px}.cbj .footer>a img{width:167px}.cbj .footer nav{justify-content:start;gap:12px 20px;margin-top:25px;font-size:10px}.cbj .footer small{display:block;text-align:left;margin-top:25px;font-size:9px}.cbj .empty{padding:30px 16px}.cbj .empty h3{font-size:17px}.cbj .empty p{font-size:12px}.cbj .empty p br{display:none}.cbj .cover-fallback{font-size:9px;gap:3px}.cbj .cover-fallback svg{width:29px;height:29px}}
@media(max-width:360px){.cbj .wrap{width:calc(100% - 32px)}.cbj .site-header{padding-inline:14px;gap:11px}.cbj .brand{width:130px}.cbj .header-line{font-size:10px;padding-inline:9px}.cbj .hero-catch{font-size:26px}.cbj .hero-lead{font-size:10px}.cbj .quick-words>span{width:100%}.cbj .hero-search input{font-size:11px}.cbj .hero-visual{height:258px}.cbj .hero-main>img{height:180px}.cbj .hero-small{top:100px}.cbj .hero-small img{height:102px}.cbj .hero-small figcaption{font-size:16px}.cbj .hero-note{top:206px}.cbj .topic{padding-inline:11px}.cbj .topic b{font-size:11px}.cbj .topic small{font-size:8px}.cbj .reading-heading{gap:14px}.cbj .reading-heading :is(h2,p):where(:not(.cb-h2-label)):where(h2,.cb-h2-display){font-size:16px}.cbj .path-link{font-size:9px;gap:5px}.cbj .reading-paths p{font-size:10px}.cbj .section-top :is(h2,p):where(:not(.cb-h2-label)):where(h2,.cb-h2-display){font-size:23px}.cbj .pagination{gap:4px}.cbj .pagination a{min-width:33px;padding-inline:7px}.cbj .editor-copy :is(h2,p):where(:not(.cb-h2-label)):where(h2,.cb-h2-display){font-size:21px}}
@media(prefers-reduced-motion:reduce){.cbj :where(.cbj-main) *:where(:not(.cb-legacy *)){scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* Optical finishing: keep captions clear of the overlapping photo; readable mobile article rows. */
@media(min-width:851px){.cbj .hero-main figcaption{width:42%;right:-2%;top:307px}.cbj .hero-note{top:383px;right:10%}.cbj .ranking h3{font-size:12px}.cbj .article-meta time{font-size:10px}}
@media(max-width:640px){.cbj .article-grid{grid-template-columns:1fr;gap:0}.cbj .article-card{padding:19px 0;border-bottom:1px solid var(--line)}.cbj .article-card:first-child{padding-top:0}.cbj .article-card a{display:grid;grid-template-columns:106px minmax(0,1fr);gap:7px 15px;align-items:start}.cbj .article-cover{grid-row:1/3;aspect-ratio:1.25;margin-top:2px}.cbj .article-meta{grid-column:2;margin:0;gap:3px 8px}.cbj .article-meta span{font-size:10px;width:auto}.cbj .article-meta time{font-size:9px}.cbj .article-card h3{font-size:14px;line-height:1.85;grid-column:2}.cbj .article-meta{line-height:1.6}.cbj .topic b{font-size:13px}.cbj .topic small{font-size:10px}.cbj .first-guide .text-link{font-size:12px}}
@media(max-width:360px){.cbj .article-card a{grid-template-columns:88px minmax(0,1fr);gap:6px 13px}.cbj .article-card h3{font-size:13px}.cbj .article-meta span{font-size:9px}.cbj .topic b{font-size:11px}.cbj .topic small{font-size:9px}}
.cbj .select-row{grid-template-columns:repeat(2,minmax(0,1fr))}.cbj .select-row label{min-width:0}.cbj #articles-title>span{display:inline-block}.cbj .result-search input{max-width:100%}
@media(max-width:640px){.cbj #articles-title{font-size:25px}.cbj .select-row label{white-space:normal}.cbj :where(.cbj-main) select:where(:not(.cb-legacy *)){display:block;max-width:100%}}
@media(max-width:360px){.cbj #articles-title{font-size:23px}}
/* iOS は 16px 未満の入力欄をタップすると画面を拡大する。タッチ端末だけ、検索の窓と選択欄を 16px にする(PC の見た目は変えない)。入力例が欄に収まらないときは … で終える。 */
@media(hover:none) and (pointer:coarse){.cbj .search input{font-size:16px;text-overflow:ellipsis}.cbj :where(.cbj-main) select:where(:not(.cb-legacy *)){font-size:16px!important}}
