/* 07 | Health food label guide */
.marine-photo{background-image:url("../assets/images/photos/powder.jpg")}
.detail-note h2{font-family:"Noto Serif JP",serif;font-size:22px;font-weight:600;color:var(--deep);margin:0 0 12px}
.section-content h3{font-family:"Noto Serif JP",serif;color:var(--deep);font-size:18px;margin:24px 0 10px}
.section-content strong{color:var(--deep)}
@media(max-width:650px){.detail-note h2{font-size:20px}}

/* 13 | Certification marks and health-claim systems */
.certification-section .section-content{padding-top:2px}
.cert-group{margin:30px 0 0;padding-top:28px;border-top:1px solid #dce8ed}
.cert-group:first-of-type{margin-top:24px}
.cert-group-heading{display:flex;align-items:center;gap:14px;margin-bottom:12px}
.cert-group-no{display:grid;place-items:center;flex:0 0 46px;height:46px;background:#0d6f94;color:#fff;font-family:"Noto Serif JP",serif;font-size:21px;line-height:1}
.cert-kicker{display:block;margin-bottom:2px;color:#397d91;font-size:12px;font-weight:700;letter-spacing:.08em}
.section-content .cert-group-heading h3{margin:0;font-size:24px;line-height:1.35}
.cert-group-intro{margin:0 0 16px}
.cert-grid{display:grid;gap:14px;margin-top:16px}
.cert-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.cert-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.cert-grid-1{grid-template-columns:1fr}
.cert-card{display:flex;min-width:0;overflow:hidden;border:1px solid #cfe2e9;border-radius:10px;background:linear-gradient(135deg,#f8fcfd 0%,#fff 68%);box-shadow:0 5px 16px rgba(13,72,94,.05)}
.cert-card-wide{align-items:stretch}
.cert-badge{display:flex;flex:0 0 124px;min-height:168px;flex-direction:column;align-items:center;justify-content:center;padding:16px 10px;text-align:center;background:#edf7fa;color:#0b6084}
.cert-badge span{font-family:"Noto Serif JP",serif;font-size:27px;font-weight:700;letter-spacing:.02em}
.cert-badge strong{font-size:23px;line-height:1.1}
.cert-badge small{margin-top:7px;font-size:11px;font-weight:700;letter-spacing:.08em}
.cert-badge-navy{background:#edf3fa;color:#174c7d}
.cert-badge-green{background:#eef8f1;color:#237c50}
.cert-card-body{padding:18px 18px 17px}
.section-content .cert-card-body h4{margin:0 0 3px;color:var(--deep);font-family:"Noto Serif JP",serif;font-size:19px;line-height:1.45}
.cert-org{margin:0 0 10px!important;color:#397d91;font-size:12px;font-weight:700}
.cert-card-body p{font-size:14px;line-height:1.85}
.cert-link,.cert-source-links a{display:inline-flex;align-items:center;gap:5px;margin-top:3px;color:#0d6f94;font-size:12px;font-weight:700;text-decoration:none;border-bottom:1px solid #9cc8d7}
.cert-link:hover,.cert-source-links a:hover{opacity:.72}
.cert-note{margin-top:14px;padding:14px 16px;border-left:3px solid #77afbf;background:#f4f9fa;font-size:14px;line-height:1.8}
.cert-system-group{margin-top:34px;padding:28px 18px 20px;border:1px solid #dbe8dc;border-radius:12px;background:#f7fbf7}
.cert-system-group .cert-group-heading{margin-top:-3px}
.cert-system-card{display:block;background:#fff;border-color:#dce9df}
.system-label{display:inline-flex;align-items:center;justify-content:center;margin:16px 16px 0;min-width:68px;height:32px;padding:0 12px;border-radius:999px;font-size:12px;font-weight:700;letter-spacing:.04em}
.system-tokuho{background:#f8eeee;color:#9a5353}
.system-function{background:#edf6fa;color:#176a8b}
.system-nutrition{background:#eef7ef;color:#39794b}
.system-point{margin-top:12px!important;padding:9px 10px;border-radius:6px;background:#f6f8f8;font-size:12px!important}
.cert-source-links{margin:14px 2px 0!important;text-align:right}
.cert-caution{display:flex;gap:15px;margin-top:28px;padding:18px 20px;border:1px solid #ead9a8;border-radius:10px;background:#fffaf0}
.cert-caution-icon{display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:50%;background:#e7a82c;color:#fff;font-family:"Noto Serif JP",serif;font-size:22px;font-weight:700}
.section-content .cert-caution h3{margin:1px 0 8px;color:#8a651f;font-size:18px}
.cert-caution .check{margin:0}
.cert-caution .check li{margin-bottom:5px}
.cert-caution .check li:last-child{margin-bottom:0}
@media(max-width:900px){.cert-grid-3{grid-template-columns:1fr}.cert-grid-2{grid-template-columns:1fr}}
@media(max-width:650px){.cert-group{margin-top:24px;padding-top:22px}.cert-group-heading{align-items:flex-start;gap:11px}.cert-group-no{flex-basis:40px;height:40px;font-size:18px}.section-content .cert-group-heading h3{font-size:21px}.cert-card{display:block}.cert-badge{min-height:0;flex-basis:auto;padding:17px}.cert-badge span{font-size:25px}.cert-card-body{padding:16px}.cert-system-group{padding:22px 12px 16px}.cert-caution{padding:16px 14px;gap:10px}.cert-caution-icon{flex-basis:30px;height:30px;font-size:19px}}


/* v49 | manufacturing factory / GMP lookup guide */
.factory-check-section .factory-lead-grid{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:22px;align-items:stretch;margin:20px 0 24px}.gmp-meaning-card{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:22px 16px;border:1px solid #cfe2e9;border-radius:10px;background:#f5fafc}.gmp-letter{font-family:"Noto Serif JP",serif;font-size:36px;font-weight:700;letter-spacing:.08em;color:#0d6f94}.gmp-meaning-card strong{margin-top:6px}.gmp-meaning-card small{margin-top:7px;color:#6a797e;line-height:1.6}
.factory-check-section .label-example{margin:18px 0 28px;padding:20px;border:1px solid #cfe2e9;border-radius:12px;background:#f8fcfd}.label-example-title{margin-bottom:12px;font-weight:700;color:var(--deep)}.label-example-title span{font-size:.82rem;font-weight:500;color:#6a797e}.label-example-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(210px,.8fr);gap:18px}.label-table{border:1px solid #91aab3;background:#fff}.label-table>div{display:grid;grid-template-columns:100px 1fr;border-bottom:1px solid #b8c9cf}.label-table>div:last-child{border-bottom:0}.label-table b,.label-table span{padding:9px 11px}.label-table b{background:#f0f5f6;border-right:1px solid #b8c9cf}.label-table .seller-row{box-shadow:inset 4px 0 #d9908e}.label-table .factory-row{box-shadow:inset 4px 0 #5f9d7c}.label-callouts{display:flex;flex-direction:column;justify-content:flex-end;gap:14px}.label-callout{padding:14px 15px;border-radius:9px}.label-callout p{margin:5px 0 0;font-size:.88rem}.label-callout.seller{background:#fbeeee}.label-callout.factory{background:#edf7f1}.factory-check-section .table-note{font-size:.82rem;color:#68787d;margin:10px 0 0}
.factory-patterns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0 28px}.factory-patterns>div{position:relative;padding:18px 16px 16px;border:1px solid #d4e4e9;border-radius:10px;background:#fff}.factory-patterns span{display:inline-grid;place-items:center;width:32px;height:32px;margin-bottom:10px;border-radius:50%;background:#e9f5f8;color:#0d6f94;font-weight:700}.factory-patterns strong{display:block;margin-bottom:6px}.factory-patterns p{margin:0;font-size:.88rem}
.unique-code-card{margin:18px 0 28px;padding:18px;border:1px solid #d8e4c8;border-radius:10px;background:#fafcf5}.unique-code-card>div{display:flex;align-items:center;gap:16px}.code-sample{display:grid;place-items:center;flex:0 0 86px;height:64px;border:2px solid #7b9b5b;border-radius:8px;background:#fff;font-size:24px;font-weight:700;color:#55723a}.unique-code-card p{margin:4px 0 0}.factory-external-link{display:inline-block;margin-top:12px;font-weight:700;text-decoration:none;color:#0d6f94;border-bottom:1px solid #9cc8d7}
.factory-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;margin:18px 0 28px}.factory-steps-table,.factory-misunderstanding-table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid #cbd9d6;border-radius:10px;background:#fff;overflow:hidden;font-size:.92rem;line-height:1.65}.factory-steps-table th,.factory-misunderstanding-table th{background:#eaf4f7;color:#244f60;font-weight:700}.factory-steps-table th,.factory-steps-table td,.factory-misunderstanding-table th,.factory-misunderstanding-table td{padding:11px 13px;border-right:1px solid #d8e2df;border-bottom:1px solid #d8e2df;text-align:left;vertical-align:top}.factory-steps-table th:last-child,.factory-steps-table td:last-child,.factory-misunderstanding-table th:last-child,.factory-misunderstanding-table td:last-child{border-right:0}.factory-steps-table tbody tr:last-child td,.factory-misunderstanding-table tbody tr:last-child td{border-bottom:0}.factory-steps-table td:first-child{text-align:center;color:#0d6f94}.factory-steps-table tbody tr:nth-child(even),.factory-misunderstanding-table tbody tr:nth-child(even){background:#fafcfc}
.factory-flow{margin:18px 0 30px;padding:24px;border:1px solid #cfe2e9;border-radius:12px;background:#f8fcfd;text-align:center}.flow-question,.flow-box{max-width:560px;margin:0 auto;padding:13px 16px;border:1px solid #8fc3d4;border-radius:8px;background:#fff;font-weight:700}.flow-question.secondary{background:#eaf5f8}.flow-split{display:grid;grid-template-columns:1fr 1fr;gap:24px;max-width:680px;margin:22px auto 0}.flow-split>div{position:relative}.flow-tag{display:inline-block;margin-bottom:8px;padding:4px 13px;border-radius:999px;font-size:.8rem;font-weight:700}.flow-tag.yes{background:#e8f5ee;color:#397558}.flow-tag.no{background:#eef5f8;color:#39758a}.flow-split .flow-box{font-size:.9rem;font-weight:500}.flow-box small{font-weight:500}.flow-arrow{margin:10px 0;color:#6d9eae;font-size:22px;font-weight:700}.flow-box.final{border-color:#8eb9a0;background:#f2f8f4}
.factory-source-note{margin-top:22px;padding:15px 17px;border-left:3px solid #77afbf;background:#f4f9fa;font-size:.85rem}.factory-source-note p{margin:6px 0 0}.factory-source-note a{color:#0d6f94;text-decoration:none}.factory-source-note a:hover{text-decoration:underline}
@media(max-width:800px){.factory-check-section .factory-lead-grid,.label-example-grid{grid-template-columns:1fr}.factory-patterns{grid-template-columns:1fr}.label-callouts{display:grid;grid-template-columns:1fr 1fr}}
@media(max-width:650px){.factory-check-section .factory-lead-grid{grid-template-columns:1fr}.factory-check-section .label-example{padding:14px}.label-example-grid{display:block}.label-callouts{display:grid;grid-template-columns:1fr;margin-top:14px}.label-table>div{grid-template-columns:82px 1fr}.label-table b,.label-table span{padding:8px 9px;font-size:.84rem}.unique-code-card>div{align-items:flex-start}.code-sample{flex-basis:72px;height:56px;font-size:20px}.factory-table-wrap{display:block;width:100%;max-width:100%;min-width:0;overflow-x:auto;overflow-y:hidden}.factory-steps-table{display:table;width:760px;min-width:760px}.factory-misunderstanding-table{display:table;width:760px;min-width:760px}.factory-steps-table thead,.factory-misunderstanding-table thead{display:table-header-group}.factory-steps-table tbody,.factory-misunderstanding-table tbody{display:table-row-group}.factory-steps-table tr,.factory-misunderstanding-table tr{display:table-row}.factory-steps-table th,.factory-steps-table td,.factory-misunderstanding-table th,.factory-misunderstanding-table td{display:table-cell;width:auto}.factory-steps-table td::before,.factory-misunderstanding-table td::before{display:none!important;content:none!important}.factory-flow{padding:18px 12px}.flow-split{grid-template-columns:1fr;gap:14px}.gmp-letter{font-size:32px}}

/* v50 | factory guide subheadings / official GMP mark reference */
.factory-check-section .factory-subheading{
  position:relative;
  margin-top:42px;
  margin-bottom:16px;
  padding-bottom:11px;
  font-family:"Noto Sans JP",sans-serif;
  font-weight:700;
  line-height:1.55;
  color:var(--deep);
}
.factory-check-section .factory-subheading::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:46px;
  height:2px;
  border-radius:2px;
  background:#8fb9c7;
}
.factory-check-section .factory-lead-grid .factory-subheading{margin-top:8px;}
.gmp-meaning-card .gmp-official-link{
  display:inline-block;
  margin-top:13px;
  padding-top:10px;
  border-top:1px solid #d7e6eb;
  color:#0d6f94;
  font-family:"Noto Sans JP",sans-serif;
  font-size:.78rem;
  font-weight:700;
  line-height:1.55;
  text-decoration:none;
}
.gmp-meaning-card .gmp-official-link:hover,
.gmp-meaning-card .gmp-official-link:focus-visible{text-decoration:underline;}
@media(max-width:650px){
  .factory-check-section .factory-subheading{margin-top:34px;margin-bottom:14px;padding-bottom:9px;}
  .factory-check-section .factory-lead-grid .factory-subheading{margin-top:4px;}
}
