/* Visitor-facing reading refinements; article facts and source credits remain intact. */
main p,main li{line-height:1.95;overflow-wrap:anywhere}main p{font-size:16px}main h1,main h2,main h3{overflow-wrap:anywhere;line-height:1.65;text-wrap:pretty}main img{max-width:100%;height:auto}main a:focus-visible,main button:focus-visible,main summary:focus-visible,main input:focus-visible,.r-utility a:focus-visible,.r-footer a:focus-visible{outline:3px solid #a56000;outline-offset:3px}main a:not([class]):hover{text-decoration-thickness:2px;text-underline-offset:4px}
.p-fold,.p-source-note,.p-glossary{box-sizing:border-box;min-width:0;border:1px solid #ddd4c8;border-radius:6px;background:#fff;margin:14px 0;padding:0 18px}.p-fold>summary,.p-source-note>summary,.p-glossary>summary{cursor:pointer;padding:16px 4px;line-height:1.7;font-size:16px;color:#5b2925;font-weight:600;min-height:48px}.p-fold[open],.p-source-note[open],.p-glossary[open]{padding-bottom:18px}.p-fold>section{margin:0!important;padding-top:10px}.p-source-note{background:#faf8f4}.p-source-note p,.p-source-note li{font-size:14px!important}.p-glossary{background:#f6f3ed;font-family:"Yu Gothic",Meiryo,sans-serif}.p-glossary dl{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:10px 16px;margin:4px 0}.p-glossary dt{font-weight:bold;color:#632f2a}.p-glossary dd{margin:0;font-size:14px;line-height:1.8}.p-reading-note{font:13px/1.8 "Yu Gothic",Meiryo,sans-serif;color:#766858;margin:14px 0}.p-deep-library{margin-top:32px}.p-deep-library>h2{font-size:24px}.p-group{border-top:1px solid #d8cabb;margin:8px 0}.p-group>summary{cursor:pointer;padding:18px 8px;font-size:19px;line-height:1.7;font-weight:bold;color:#7e2925}.p-group[open]{padding-bottom:12px}.p-group-count{font-size:12px;color:#75675b;font-weight:normal;margin-left:12px}.p-local-tools{padding:20px;background:#f6f3ed;margin:20px 0;border-radius:6px;font:14px/1.8 "Yu Gothic",Meiryo,sans-serif}.p-local-tools label{display:block;font-weight:bold;margin-bottom:8px}.p-local-tools input{font-size:16px;min-height:46px;box-sizing:border-box;padding:10px;width:100%;border:1px solid #ab9b8b;background:#fff}.p-local-buttons{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.p-local-tools button,.p-discover button{font:14px/1.7 "Yu Gothic",Meiryo,sans-serif;min-height:44px;border:1px solid #b7a38d;background:#fff;color:#8d252c;padding:9px 16px;cursor:pointer}.p-local-tools p{font-size:13px;margin:10px 0 0}.p-fold[hidden],.p-group[hidden]{display:none!important}.p-discover{background:#fff;border-top:2px solid #b31d26;padding:26px}.p-discover h3{margin:0 0 12px}.p-discover p{font-size:14px;line-height:1.9}.p-discover-output{margin-top:16px}.p-discover-output a{display:block;font-size:18px;font-weight:bold;line-height:1.7}.p-discover-output span{display:block;font-size:14px;color:#655747;margin-top:8px}.p-archival-banner{padding:14px 18px;background:#faf3e6;border-left:3px solid #b31d26;font-size:14px;line-height:1.85}.p-table-scroll{max-width:100%;overflow:auto;overscroll-behavior-inline:contain;margin:18px 0}.p-table-scroll:focus-visible{outline:3px solid #a56000}.p-table-scroll>table{margin:0!important}.p-table-hint{font-size:12px!important;color:#75675b;margin:5px 0 0}.r-utility a{padding:4px 0}.r-nav summary{touch-action:manipulation}.r-menu button{min-height:44px}.r-next a{min-height:48px}.r-card small,.r-topic b,.r-purpose small{color:#875d3e}.r-directory-list a{overflow-wrap:anywhere}.p-browse-footer{font-size:14px;padding:14px;background:#f7f2ea}
@media(max-width:767px){main p{font-size:16px}.p-fold,.p-source-note,.p-glossary{padding-left:14px;padding-right:14px}.p-glossary dl{grid-template-columns:1fr;gap:4px}.p-glossary dd{margin-bottom:10px}.p-group>summary{font-size:17px}.p-local-tools{padding:16px}.p-discover{padding:22px}.p-fold>summary{font-size:15px}.r-menu ul{gap:0 16px}.r-menu li a{min-height:44px;display:flex;align-items:center}.r-hero-media figcaption{max-width:calc(100% - 24px);font-size:12px}.r-card-body{min-width:0}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media print{.r-nav,.r-utility,.r-context,.r-next,.r-back-top,.r-skip,.p-local-tools,.p-discover button{display:none!important}.p-fold,.p-source-note,.p-glossary{border:0;padding:0}.p-group,.p-fold{break-inside:auto}main a{color:#222!important}main{width:100%!important;max-width:none!important}}

main h1.M_title,main .p-news-heading{font-size:27px!important;line-height:1.65!important;margin:24px 0!important;color:#7d2028!important}@media(max-width:767px){main h1.M_title,main .p-news-heading{font-size:23px!important}}

.r-image-unavailable[hidden]{display:none!important}

/* Public-facing presentation; private notes must also be removed from HTML before release. */
[data-internal-only],.editor-only,.internal-memo{display:none!important}
main :is(h2,h3,[id]){scroll-margin-top:24px}.p-table-scroll{scrollbar-gutter:stable}.p-table-scroll table{min-width:0}.p-clear-search{min-height:44px}main summary:focus-visible,.r-nav summary:focus-visible{outline:3px solid #a56000;outline-offset:3px}
@media print{[data-internal-only],.editor-only,.internal-memo,.p-table-hint{display:none!important}.p-table-scroll{overflow:visible}}

@media(max-width:767px){.p-table-scroll>table:has(tr>:nth-child(4)){min-width:680px}.p-table-scroll>table:has(tr>:nth-child(4)) td,.p-table-scroll>table:has(tr>:nth-child(4)) th{word-break:normal;overflow-wrap:break-word}}

.p-toc-target:focus-visible{outline:2px solid #a6111d;outline-offset:6px}

.p-table-key-hint{display:none}
:is(.p-table-hint,.iwc-table-hint):not([hidden]):has(+ :is(.p-table-scroll,.iwc-table-scroll):focus-visible) .p-table-key-hint{display:inline}

@media(max-width:480px){.r-utility{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:4px 12px}.r-utility a{display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:44px;padding:6px;font-size:12px;line-height:1.5;text-align:center}}

@media(max-width:480px){.r-footer nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px}.r-footer nav a{display:flex;align-items:center;min-height:44px;line-height:1.6;padding:6px 0;box-sizing:border-box}}
@media(max-width:767px){#distribution-sort{box-sizing:border-box;min-height:44px;max-width:100%;padding:8px 10px;font:inherit}}

#dish-catalog-search input[type="search"],#dish-catalog-search button{box-sizing:border-box;min-height:44px;min-width:44px;max-width:100%;padding:8px 12px;font:inherit}#dish-catalog-search input[type="search"]{font-size:16px}

.species-ridge-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.species-ridge-grid figure{margin:8px 0}.species-ridge-grid img{display:block;width:100%;height:auto;max-width:360px;margin:auto}@media(max-width:650px){.species-ridge-grid{grid-template-columns:1fr}}

/* Keep a visible pressed state when system contrast colours replace fills. */
@media (forced-colors: active){button[data-sector][aria-pressed="true"],#r-all-controls button[data-theme][aria-pressed="true"],button[data-iwc-topic][aria-pressed="true"],button[data-school-filter][aria-pressed="true"]{border:3px double Highlight;font-weight:700}}

/* Limit long prose lines in research articles; preserve media and control widths. */
@media(min-width:1000px){:where(.library-main.reading-prose p:not(:has(img,video,iframe,svg,button,input,select)):not(table p):not(.source-context)){inline-size:min(100%,48em)}}

.recipe-deferred-image{height:auto}

#recipe-photo-query{font-size:1rem;min-height:44px;box-sizing:border-box}
@media(max-width:700px){#category-search-query,#article-heading-query{font-size:1rem}#culture-guide-query,#member-query{font-size:1rem!important}}

.recipe-detail-kv .recipe-photo-caption{margin:10px 0 0;font-size:16px;line-height:1.8;color:#5a514a;text-align:left}

/* Business listing titles form one continuous link target when wrapped. */
#distribution-cards .library-card h3 > a { display: block; min-height: 44px; }

/* Keep archived-source article links continuous when titles wrap. */
.history-source-links li > a { display: block; min-height: 44px; }

/* Standalone related-article and source-list titles keep a continuous target. */
.source-related li > a.source-list-link { display: block; min-height: 44px; }

/* Restaurant-region jump links keep prefecture names together. */
.restaurant-region-links .r-chip-row > a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; white-space: nowrap; }

/* Keep standalone term-reference links intact within introductory text. */
a.reader-term-reference { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 4px; white-space: nowrap; }

/* Standalone related-navigation rows use separate, continuous targets. */
.source-related p.reader-link-row:not([hidden]) { display: flex; flex-wrap: wrap; gap: 10px; }
.source-related p.reader-link-row > a { display: flex; align-items: center; box-sizing: border-box; max-width: 100%; min-height: 44px; padding: 6px 10px; border: 1px solid #d7cec5; border-radius: 6px; background: #fff; }
.reader-link-row > .reader-link-separator { display: none; }

/* Match the scenario selector to the neighboring touch controls. */
#meal-loss-rate{box-sizing:border-box;min-height:44px}

/* Make article contents readable and touchable without changing desktop density. */
@media (max-width:767px) {
  .r-reader-nav li { padding:0; }
  .r-reader-nav li > a,
  .iwc-toc li > a {
    display:block;
    box-sizing:border-box;
    min-height:44px;
    padding:6px 4px;
    font-size:16px;
    line-height:1.8;
  }
}

/* Keep mobile primary-menu entry links easy to activate. */
@media (max-width:767px){
 #site-navigation .r-menu-title > a{display:flex;align-items:center;min-height:44px;}
}

/* Keep dismissal and section switching available while primary menus are open. */
#site-navigation:has(details[data-navigation-theme][open]){position:sticky;top:0;}
#site-navigation .r-menu-title{position:sticky;top:0;z-index:2;background:#fff;}
@media (max-width:767px){
 #site-navigation .r-menu-title{padding-block:8px;border-bottom:1px solid #e4d9cc;}
}

/* Keep the optional whale-feature comparison readable on narrow screens. */
#finless-baleen-comparison table{width:100%;min-width:640px;border-collapse:collapse;font-size:16px;line-height:1.8;}
#finless-baleen-comparison th,#finless-baleen-comparison td{border:1px solid #d7c9bb;padding:12px;text-align:left;vertical-align:top;}
#finless-baleen-comparison th{background:#fff;}

@media screen{main .p-table-hint{font-size:14px!important;line-height:1.8}}

/* Suppress empty filtered theme navigation despite flex layout rules. */
.festival-toc[hidden],.ocean-history-toc[hidden],.fossil-toc[hidden],.research-toc[hidden]{display:none!important}

/* Keep the reader TOC toggle as easy to tap as its links on small screens. */
@media(max-width:767px){main .r-reader-nav details>summary{box-sizing:border-box;min-height:44px;padding:8px 0;line-height:1.8}}

/* Make IWC question toggles comfortable to tap on small screens. */
@media(max-width:767px){main details.iwc-faq>summary{box-sizing:border-box;min-height:44px;padding:8px 0;line-height:1.8}}

/* Give IWC related-reading links separate,comfortable mobile tap areas. */
@media(max-width:767px){main .iwc-related a[href]{display:inline-block;box-sizing:border-box;max-width:100%;min-height:44px;padding:8px 4px;line-height:1.8;overflow-wrap:anywhere}}

/* Improve dish, material and cooking-method disclosure targets on small screens. */
@media(max-width:767px){main #culture-batch168-method-guide details>summary,main details[id^="dish-"]>summary,main details.culture-ingredient-quantities>summary{box-sizing:border-box;min-height:44px;padding:8px 0;line-height:1.8}}

/* Keep archive index and category-switch toggles easy to tap on small screens. */
@media(max-width:767px){main details.category-complete-index>summary,main details.category-switch>summary{box-sizing:border-box;min-height:44px;padding:8px 0;line-height:1.8}}

/* Make article search summaries and dated classification notes readable. */
main #library-search-results .library-search-results-list>li>a,main #library-search-results .library-search-result-summary{font-size:16px;line-height:1.9}
main #library-search-results .library-search-results-list>li>small{display:block;font-size:14px;line-height:1.8}

/* Anatomy photo credits: readable alongside the source images. */
main.library-main.anatomy-photo-guide figure figcaption{font-size:16px;line-height:1.9}

/* Explain image-only links to the retained full-size source. */
main a>[data-image-open-cue]{display:block;font-size:16px;line-height:1.7;padding:8px 0}

/* Reserve the existing 250 x 160 part-diagram ratio before images load. */
main .bui-detail-list .img-box img{aspect-ratio:25/16}

/* Keep photo descriptions, AI notices and source credits readable. */
body main.library-main figure:is(.source-figure,.library-figure,.species-ai-figure) figcaption,body main.library-main figure:is(.source-figure,.library-figure,.species-ai-figure) figcaption :is(p,li,a,small){font-size:16px;line-height:1.9}

/* Give diagram, map and company-photo descriptions the same readable type size. */
body main.library-main figure figcaption,body main.main figure figcaption,body main.category-main figure figcaption,body .r-home .r-hero-media figcaption,body.masthead-standalone main figure figcaption,body #recipe-detail .cooking-point-wrap .cooking-main-point.mult-pic figcaption{font-size:16px;line-height:1.9}

/* Keep supplementary paragraphs and source links in sea-map captions equally readable. */
body main.library-main figure.quota-sea-map figcaption :is(p,li,a,small){font-size:16px;line-height:1.9}

/* Make the new explanatory source and cross-field links visibly identifiable. */
main #myoglobin-reading-note a,main #myoglobin-food-connection a{color:#9b1d2c;text-decoration:underline;text-underline-offset:.2em}

/* Keep the existing pasta-definition source link distinct from prose. */
main .pasta-term-definition a{color:#a00000;text-decoration:underline;text-underline-offset:.2em}

/* Current location and a direct archive route for saved blog articles. */
main .saved-blog-location{display:flex;flex-wrap:wrap;align-items:center;gap:0 .5em;margin:0 0 1em;font-size:14px;line-height:1.6;color:#514a43}
main .saved-blog-location a{display:inline-flex;align-items:center;min-height:44px;color:#9b1d2c;text-decoration:underline;text-underline-offset:.2em}

/* Keep catalog results scannable while retaining complete research context. */
main #dish-catalog-results .dish-result-explanation{margin:.4em 0;padding:0;border:0}
main #dish-catalog-results .dish-result-explanation>summary{box-sizing:border-box;min-height:44px;padding:8px 0;font-size:14px;line-height:1.8;font-weight:600;color:#9b1d2c;cursor:pointer}
main #dish-catalog-results .dish-result-explanation>p{margin:.5em 0}

/* Keep the basic search hint visible; disclose detailed input examples on demand. */
main details.search-input-help{margin:12px 0 16px}
main details.search-input-help>summary{box-sizing:border-box;min-height:44px;padding:8px 0;font-size:15px;line-height:1.8;cursor:pointer}

main .source-related :is(li,p) > a.p-related-target{display:block;min-height:44px;max-width:100%;box-sizing:border-box}

/* Make sole linked headings in reading lists continuous tap targets. */
main.library-main .library-article section > h3 > a:only-child,main .library-card > h3 > a:only-child,main .p-deep-library article > h3 > a:only-child{display:block;min-height:44px;max-width:100%;box-sizing:border-box}

/* Keep each first-visitor theme description below its named entry. */
main nav[aria-label="サイトガイドの5分野"] li > a {display:flex;width:fit-content;max-width:100%;box-sizing:border-box;}
main nav[aria-label="サイトガイドの5分野"] li > span {display:block;margin-top:.35rem;}
main nav[aria-label="サイトガイドの5分野"] li {margin-bottom:1.15rem;}

/* Hide retained recipe sales prompts when no destination link remains. */
body #recipe-detail .banner-wrap:not(:has(a[href])){display:none}

/* Give mobile breadcrumb links room to tap without changing their type size. */
@media(max-width:600px){body main nav.category-bread{align-items:center}body main nav.category-bread a{display:inline-flex;align-items:center;min-width:44px;min-height:44px;max-width:100%;box-sizing:border-box}}

/* Match mobile country-name input type and species-select tap area to other finders. */
@media(max-width:600px){body main #geo-country-name-query{font-size:16px}body main #species-group{min-height:44px;box-sizing:border-box}}

/* Keep mobile IWC topic labels as readable as their search input. */
@media(max-width:600px){body main #iwc-finder-controls .iwc-topic-buttons button{font-size:16px}}

/* Reserve the original recipe-banner ratio while retaining its existing width. */
main img[data-baseline-source="https://gigaplus.makeshop.jp/kujiraniku/img/index/bn_reshipi.png"],
main img[data-baseline-source="https://gigaplus.makeshop.jp/kujiraniku/img/index/bn_manuel.png"]{aspect-ratio:auto 43/20}

/* Compact company heading and shared footer, 2026-11-24. */
.masthead-company-page{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);column-gap:24px;align-items:center}
.masthead-company-page>*{grid-column:1/-1;min-width:0}
.masthead-company-page>.company-eyebrow{grid-column:1;grid-row:1;margin:0 0 8px}
.masthead-company-page>h1{grid-column:1;grid-row:2;margin:0;font-size:clamp(24px,2.5vw,32px);line-height:1.5}
.masthead-company-page>.company-mission{grid-column:2;grid-row:1/3;display:grid;grid-template-columns:minmax(80px,120px) minmax(0,1fr);gap:18px;margin:0;padding:0;border:0}
.masthead-company-page .company-mission h2{font-size:clamp(17px,1.65vw,22px);line-height:1.65;margin:0;letter-spacing:0}
.masthead-company-page .company-mission .company-mission-eyebrow{margin:0 0 6px;font-size:11px}
.masthead-company-page .company-mission-logo{width:100%;margin:0}
.r-footer{padding:7px 20px;font-size:13px;line-height:1.5}
.r-footer>div{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:2px 16px;align-items:center}
.r-footer strong{grid-column:1/-1;font-size:18px;line-height:1.4}
.r-footer nav{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:0 22px;margin:0}
.r-footer nav a{display:inline-flex;align-items:center;min-height:24px;padding:0;line-height:1.5}
.r-footer p{margin:0;font-size:11px;line-height:1.5}
.r-footer small{font-size:10px}
.r-footer .r-back-top{display:inline-block;margin:0;padding:0;font-size:12px;line-height:1.5}
@media(max-width:700px){
.masthead-company-page{column-gap:14px;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}
.masthead-company-page>h1{font-size:21px}
.masthead-company-page>.company-mission{grid-template-columns:1fr;gap:8px}
.masthead-company-page .company-mission-logo{width:92px}
.masthead-company-page .company-mission h2{font-size:15px;line-height:1.6}
.masthead-company-page .company-mission h2 span{display:block}
.masthead-company-page .company-mission .company-mission-eyebrow{font-size:10px;margin-bottom:3px}
.r-footer{padding:10px 16px}
.r-footer>div{grid-template-columns:1fr auto;gap:4px 10px}
.r-footer nav{display:flex;gap:0 16px}
.r-footer nav a{min-height:36px;font-size:12px}
.r-footer p{grid-column:1/-1}
.r-footer small{grid-column:1}
.r-footer .r-back-top{grid-column:2}
}

/* Header tools replace the separate utility band, 2026-11-24. */
.masthead-brand .r-header-tools{display:flex;align-items:center;gap:18px;margin:0 0 0 12px;padding:0;background:transparent;font-size:12px;line-height:1.5;color:#4e4540;flex-shrink:0;position:relative;z-index:1200}
.r-header-tools>a,.r-header-search summary{display:flex;align-items:center;min-height:32px;color:#4e4540;text-decoration:none;cursor:pointer;white-space:nowrap}
.r-header-search summary{list-style:none;gap:5px}
.r-header-search summary:after{content:'⌄'}
.r-header-search summary::-webkit-details-marker{display:none}
.r-header-search-options{position:absolute;right:0;top:100%;min-width:200px;padding:8px 14px;background:#fff;border:1px solid #d5ccc3;box-shadow:0 6px 18px #0002}
.r-header-search-options a{display:block;padding:12px 4px;text-align:left;color:#4e4540;text-decoration:none;font-size:13px}
.r-header-tools a:hover,.r-header-search summary:hover{color:#a51b28;text-decoration:underline}
.r-header-tools :is(a,summary):focus-visible{outline:3px solid #a56000;outline-offset:3px}
.r-footer small a{color:inherit;text-decoration:underline;text-underline-offset:3px}
@media(max-width:767px){
.masthead-brand{flex-wrap:wrap!important;gap:6px 12px!important}
.masthead-brand>p{min-width:120px}
.masthead-brand .r-header-tools{width:100%;justify-content:flex-end;gap:24px;margin:0;font-size:12px}
.r-header-tools>a,.r-header-search summary{min-height:36px}
.r-header-search-options{right:0;min-width:205px}
}

@media(max-width:767px){.masthead-brand .r-header-tools{grid-column:1/-1;grid-row:3;justify-self:stretch;box-sizing:border-box;flex-wrap:nowrap;min-width:0;width:100%}}
