/* 機能性表示食品の一覧・全113項目。既存の共通色と文字サイズを使う。 */
.ffc-page { margin: 1.8rem auto 3rem; }
.ffc-page h1 { font-size: 1.7rem; line-height: 1.5; }
.ffc-page h2 { font-size: 1.25rem; margin: 2rem 0 .8rem; }
.ffc-lead { margin: .4rem 0; }
.ffc-meta, .ffc-notes, .ffc-reading-note { color: #555; font-size: .9rem; }
.ffc-meta { margin: .4rem 0 1.4rem; }
.ffc-search { padding: 1rem 1.2rem; border: 1px solid var(--border); border-radius: var(--radius); background: #f6f9f5; }
.ffc-search label { display: block; font-size: .9rem; margin-bottom: .45rem; }
.ffc-search > div { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; }
.ffc-search input { flex: 1 1 15rem; min-width: 0; padding: .65rem .8rem; border: 1px solid var(--input-frame); border-radius: var(--radius); font: inherit; background: white; }
.ffc-search .ffc-list-controls { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .75rem; margin-top: .8rem; }
.ffc-list-controls label { flex: 1 1 18rem; min-width: 0; margin: 0; }
.ffc-list-controls select { display: block; box-sizing: border-box; width: 100%; height: 48px; margin-top: .3rem; padding: 0 .8rem; border: 1px solid var(--input-frame); border-radius: var(--radius); background: white; color: inherit; font: inherit; }
.ffc-list-controls option[hidden] { display: none; }
.ffc-list-controls button, .ffc-list-controls .ffc-clear { flex: 0 0 auto; }
.ffc-list-controls button { box-sizing: border-box; min-width: 96px; height: 48px; justify-content: center; padding: 0 1rem; font-size: 1rem; }
.ffc-result-count { margin: 1.2rem 0 .6rem; font-size: .9rem; }
.ffc-table-scroll { max-width: 100%; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
.ffc-page table { border-collapse: collapse; width: 100%; font-size: .9rem; margin: 0; }
.ffc-page th, .ffc-page td { padding: .85rem .7rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); overflow-wrap: anywhere; }
.ffc-page thead th { background: #edf3ea; color: #284d28; font-weight: 700; }
.ffc-list-table { min-width: 960px; table-layout: fixed; }
.ffc-list-table th:nth-child(1) { width: 9%; }
.ffc-list-table th:nth-child(2) { width: 12%; }
.ffc-list-table th:nth-child(3) { width: 22%; }
.ffc-list-table th:nth-child(4) { width: 17%; }
.ffc-list-table th:nth-child(5) { width: 26%; }
.ffc-list-table th:nth-child(6) { width: 14%; }
.ffc-list-table tbody tr:hover { background: #fafcf9; }
.ffc-image-crop { position: relative; display: block; width: 72px; height: 72px; overflow: hidden; background: #fff; border: 1px solid var(--border); }
.ffc-image-crop img { position: absolute; display: block; max-width: none; width: var(--ffc-thumb-width); height: auto; left: var(--ffc-thumb-left); top: var(--ffc-thumb-top); }
.ffc-image-full img { position: static; width: 100%; height: 100%; object-fit: contain; }
.ffc-image-placeholder img {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.65);
  filter: contrast(1.18);
}
.ffc-image-l549 { --ffc-thumb-width: 196px; --ffc-thumb-left: -99px; --ffc-thumb-top: -25px; }
.ffc-image-l566 { --ffc-thumb-width: 240px; --ffc-thumb-left: -39px; --ffc-thumb-top: -30px; }
.ffc-image-l567 { --ffc-thumb-width: 269px; --ffc-thumb-left: -63px; --ffc-thumb-top: -54px; }
.ffc-no-image { display: grid; place-items: center; min-height: 72px; color: #777; }
.ffc-number { white-space: nowrap; }
.ffc-submitted, .ffc-publication { display: block; margin-top: .35rem; color: #555; font-size: .8rem; font-weight: 400; line-height: 1.45; }
.ffc-publication { margin-top: .2rem; }
.ffc-product-name { font-weight: 700; text-decoration-thickness: 1px; }
.ffc-corp, .ffc-start { display: block; margin-top: .65rem; color: #555; font-size: .85rem; }
.ffc-status { font-weight: 700; }
.ffc-status-label { display: inline-block; }
.ffc-status-label:not(.ffc-status-label--withdrawn),
.ffc-list-table .ffc-status-label--withdrawn {
  padding: .2rem .45rem;
  border-radius: .35rem;
}
.ffc-status-label--selling { color: #fff; background: #146c3b; }
.ffc-status-label--paused { color: #414951; background: #eff1f3; }
.ffc-status-label--unknown { color: #714400; background: #fff2d5; }
.ffc-status-label--withdrawn { color: #8e211d; }
.ffc-list-table .ffc-status-label--withdrawn {
  color: #fff;
  background: #8e211d;
  /* 日本語の字面を中央に寄せ、ラベル全体の高さは維持する。 */
  padding-block: calc(.2rem - 1px) calc(.2rem + 1px);
}
.ffc-withdrawal-labels { display: inline-flex; align-items: stretch; gap: .25rem; vertical-align: top; white-space: nowrap; }
.ffc-publication-ended-label {
  display: flex;
  align-items: center;
  padding: 0 .2rem;
  border: 1px solid #235e91;
  border-radius: .35rem;
  background: #235e91;
  color: #fff;
  font-size: .72rem;
  line-height: 1.05;
  text-align: center;
}
.ffc-start { font-weight: 400; }
.ffc-full-link { display: block; margin-top: .45rem; }
.ffc-empty { text-align: center !important; padding: 2rem !important; }
.ffc-notes { margin: 1.4rem 0; }
.ffc-notes p { margin: .4rem 0; }
.ffc-detail-heading { display: flex; align-items: flex-start; gap: 1.5rem; }
.ffc-kicker { color: var(--primary); margin: 0 0 .4rem; font-size: .9rem; }
.ffc-detail-heading h1 { margin: 0; }
.ffc-detail-heading p { margin-top: .35rem; }
.ffc-detail-corp { margin: 0; }
.ffc-detail-status { margin: 0; font-weight: 700; }
.ffc-detail-publication-ended { margin: 0; color: #235e91; }
.ffc-detail-status .ffc-status-label--withdrawn {
  padding: .3rem .65rem;
  border: 2px solid #b02a26;
  border-radius: .35rem;
  background: #fff5f4;
}
.ffc-detail-overview { display: flex; flex-wrap: wrap; align-items: stretch; gap: 1.25rem 2rem; margin: .7rem 0 2.5rem; }
.ffc-detail-facts { display: flex; flex: 0 1 auto; flex-direction: column; justify-content: space-between; align-self: stretch; gap: .9rem; }
.ffc-key-dates { display: flex; flex-wrap: wrap; gap: .7rem 1.8rem; margin: 0; }
.ffc-key-dates > div { min-width: 8rem; }
.ffc-key-dates dt { color: #555; font-size: .85rem; }
.ffc-key-dates dd { margin: .15rem 0 0; font-weight: 700; }
.ffc-package-section { flex: 0 0 340px; max-width: 100%; min-width: 0; }
.ffc-package-placeholder { display: block; width: 100%; height: auto; border: 1px solid var(--border); }
.ffc-package-gallery { display: flex; flex-wrap: wrap; align-items: flex-start; gap: .6rem; }
.ffc-package-gallery figure { position: relative; flex: 0 0 auto; margin: 0; }
.ffc-package-gallery:not(.ffc-package-gallery--multi) figure { width: fit-content; max-width: 100%; }
.ffc-package-gallery figcaption { position: absolute; top: calc(100% + .3rem); width: 100%; font-weight: 700; text-align: center; }
.ffc-package-panel { position: relative; display: block; box-sizing: content-box; width: 160px; height: var(--ffc-panel-height); overflow: hidden; border: 1px solid var(--border); background: white; }
.ffc-package-panel img { position: absolute; display: block; max-width: none; width: var(--ffc-image-width); height: auto; top: var(--ffc-panel-top); }
.ffc-package-front img { left: var(--ffc-front-left); }
.ffc-package-back img { left: var(--ffc-back-left); }
.ffc-package-full { width: min(330px, 100%); height: auto; }
.ffc-package-full img { position: static; width: 100%; height: auto; }
.ffc-package-gallery--multi { max-width: 340px; gap: .7rem .45rem; }
.ffc-package-gallery--multi figure { width: 100px; }
.ffc-package-gallery--multi > .ffc-package-main { width: 100%; }
.ffc-package-gallery--multi figcaption { position: static; margin-top: .2rem; font-size: .72rem; line-height: 1.35; }
.ffc-package-page { width: 98px; height: 105px; }
.ffc-package-page img { position: static; width: 100%; height: 100%; object-fit: contain; }
.ffc-package-rotated img { transform: rotate(180deg); }
.ffc-detail-overview--compact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: start; column-gap: 1.5rem; margin-bottom: 1.5rem; }
.ffc-detail-overview--compact .ffc-detail-facts { justify-content: flex-start; align-self: start; gap: 1rem; }
.ffc-detail-overview--compact .ffc-key-dates { column-gap: 1.25rem; }
.ffc-detail-overview--compact .ffc-key-dates > div { min-width: 0; }
.ffc-package-gallery--compact { display: grid; grid-template-columns: minmax(0, 182px) minmax(0, 1fr); align-items: start; gap: .65rem; max-width: 510px; }
.ffc-package-gallery--compact figure { width: 100%; min-width: 0; }
.ffc-package-gallery--compact .ffc-package-panel { box-sizing: border-box; width: 100%; height: 64px; }
.ffc-package-gallery--compact .ffc-package-main .ffc-package-panel { height: 244px; }
.ffc-package-gallery--compact .ffc-package-panel img { position: static; width: 100%; height: 100%; object-fit: contain; }
.ffc-package-thumbnails { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: .5rem; max-width: 290px; }
.ffc-package-l549 { --ffc-panel-height: 200px; --ffc-image-width: 424px; --ffc-panel-top: -57px; --ffc-front-left: -204px; --ffc-back-left: -30px; }
.ffc-package-l566 { --ffc-panel-height: 248px; --ffc-image-width: 526px; --ffc-panel-top: -24px; --ffc-front-left: -81px; --ffc-back-left: -285px; }
.ffc-package-l567 { --ffc-panel-height: 268px; --ffc-image-width: 746px; --ffc-panel-top: -132px; --ffc-front-left: -182px; --ffc-back-left: -412px; }
.ffc-detail-links { display: flex; flex-wrap: wrap; gap: .6rem; }
.ffc-detail-disclosure { flex-basis: 100%; }
.ffc-sections { display: flex; flex-wrap: wrap; gap: .6rem 1.1rem; margin: 1.1rem 0; font-size: .9rem; }
.ffc-detail-table { min-width: 850px; table-layout: fixed; }
.ffc-detail-table thead th:nth-child(1) { width: 6%; }
.ffc-detail-table thead th:nth-child(2) { width: 24%; }
.ffc-detail-table thead th:nth-child(3) { width: 42%; }
.ffc-detail-table thead th:nth-child(4) { width: 28%; }
.ffc-page .ffc-group-heading th { background: #f3f6f2; color: var(--primary); padding: .8rem; }
.ffc-field-row { scroll-margin-top: 100px; }
.ffc-field-row:target { background: #fffbe7; }
.ffc-detail-table .ffc-field-name { background: transparent; }
.ffc-detail-table .ffc-field-row:not(:target):hover > * { background: #fafcf9; }
.ffc-field-description { color: #555; font-weight: 400; }
.ffc-field-value { white-space: pre-wrap; font-weight: 400; }
.ffc-extra-fields dd { white-space: pre-wrap; overflow-wrap: anywhere; }
.ffc-history { scroll-margin-top: 100px; margin: 2rem 0; }
.ffc-history h3 { margin: 1.4rem 0 .55rem; font-size: 1.05rem; }
.ffc-history-event, .ffc-history-source { margin: .65rem 0; border: 1px solid var(--border); border-radius: var(--radius); }
.ffc-history-event { overflow: hidden; }
.ffc-history-event-heading { padding: .65rem .8rem; background: #f6f9f5; font-size: .9rem; }
.ffc-history-event summary { cursor: pointer; }
.ffc-history-event-heading > span { display: inline-block; margin-inline-start: .6rem; }
.ffc-history-event-date { color: #555; }
.ffc-history-table { table-layout: fixed; }
.ffc-history-table th:first-child { width: 27%; }
.ffc-page .ffc-history-table :is(th, td) { padding: .55rem .65rem; }
.ffc-history-table td { white-space: pre-wrap; }
.ffc-history-table tr:last-child > * { border-bottom: 0; }
.ffc-history-source { padding: .7rem .8rem; }
.ffc-history-source h4 { margin: 0 0 .4rem; font-size: .94rem; }
.ffc-history-source p, .ffc-history-source ul { margin: 0; }
.ffc-history-source ul { padding: 0; list-style: none; }
.ffc-history-source li { font-size: .9rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.ffc-history-source li + li { margin-top: .5rem; padding-top: .5rem; border-top: 1px solid var(--border); }
.ffc-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 600px) {
  .ffc-page { margin-top: 1rem; padding-left: .8rem; padding-right: .8rem; }
  .ffc-page h1 { font-size: 1.35rem; }
  .ffc-page .section-title { align-items: flex-start; flex-direction: column; gap: .7rem; }
  .ffc-detail-heading { flex-direction: column; gap: .8rem; }
  .ffc-detail-overview { flex-direction: column; }
  .ffc-package-section { flex: none; width: min(340px, 100%); }
  .ffc-search { padding: .8rem; }
  .ffc-search input { flex-basis: 100%; }
}
@media (max-width: 800px) {
  .ffc-detail-overview--compact { display: flex; flex-direction: column; gap: .9rem; }
  .ffc-detail-overview--compact .ffc-package-section { flex: none; width: min(510px, 100%); }
}
@media (max-width: 480px) {
  .ffc-package-gallery--compact { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .55rem; }
  .ffc-package-gallery--compact .ffc-package-main .ffc-package-panel { height: 64px; }
  .ffc-package-thumbnails { display: contents; }
}
.ffc-package-gallery--pair { grid-template-columns: minmax(0, 1fr) min(100px, 32%); max-width: 440px; }
.ffc-package-gallery--pair .ffc-package-main .ffc-package-panel { height: clamp(164px, 48vw, 244px); }
.ffc-package-gallery--pair .ffc-package-page { height: 105px; }
