:root {
  --evidence-font-serif: "Noto Serif JP", serif;
  --evidence-font-sans: "Noto Sans JP", sans-serif;
  --evidence-text: #171717;
  --evidence-title: #FFF;
  --evidence-muted: #6b6b6b;
  --evidence-line: #d8d8d8;
  --evidence-gray: #dedede;
  --evidence-white: #ffffff;
  --evidence-darkgray: #8b8b88;
  --evidence-black: #000000;  
  --evidence-accent: #d60000;
  --evidence-max: 1120px;
  --evidence-modal-max: 780px;
}
.red-accent{color:#d60000;}
.small-accent{font-size:95% !important;}
.bold-accent{font-weight:700;}
.evidence-body { margin: 0; color: var(--evidence-text); background: #fff; }
.evidence-page, .evidence-modal { font-family: var(--evidence-font-serif); }
.evidence-page *, .evidence-modal * { box-sizing: border-box; }
.evidence-shell { width: min(calc(100% - 72px), var(--evidence-max)); margin: 0 auto; }
.sp-only { display: none; }

/* =========================================================
   PAGE FLOW
   Existing header CSS is left intact.
   This wrapper guarantees MAIN -> FOOTER order even if legacy
   footer CSS contains float/position rules.
========================================================= */
.evidence-header-end {
  display: block;
  width: 100%;
  height: 0;
  margin: 0;
  padding: 0;
  clear: both;
  pointer-events: none;
}

.evidence-flow {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
  clear: both !important;
  float: none !important;
}

.evidence-flow > .evidence-page {
  order: 1;
  display: block !important;
  position: relative !important;
  inset: auto !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.evidence-flow > #footerWrap {
  order: 2;
  display: block !important;
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  inset: auto !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  max-width: none !important;
  margin-top: 0 !important;
  transform: none !important;
  z-index: auto !important;
}

.evidence-flow > #footerWrap #footer {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  float: none !important;
  clear: both !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  transform: none !important;
}

.evidence-hero {
  position: relative;
  overflow: hidden;

  background-color: #d9d9d9;

  min-height: 410px;

  display: flex;
  align-items: flex-end;
}


/* FV background movie */
.evidence-hero__video {
  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center center;

  /* FV video blur */
  filter: blur(5px);
  transform: scale(1.03);

  z-index: 0;
}
/* FV�F�����m�C�Y���C���[ */
.evidence-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;

  background-image:
    radial-gradient(
      circle,
      rgba(0, 0, 0, .025) 0 .35px,
      transparent .45px
    ),
    radial-gradient(
      circle,
      rgba(255, 255, 255, .02) 0 .3px,
      transparent .4px
    ),
    radial-gradient(
      circle,
      rgba(120, 100, 80, .015) 0 .3px,
      transparent .4px
    );

  background-size:
    2px 2px,
    3px 3px,
    4px 4px;

  background-position:
    0 0,
    1px 1px,
    2px 1px;
}

/* FV text */
.evidence-hero__inner {
  position: relative;
  z-index:2;

  padding-bottom: 78px;
}

.evidence-hero__inner { padding-bottom: 78px; }
.evidence-eyebrow { margin: 0 0 12px; font-size: 17px; }
.evidence-hero__title { margin: 0; font-size:34px; line-height: 1.55; font-weight: 400; letter-spacing: .02em; }

.evidence-section { padding: 72px 0; }
.evidence-section2 { padding: 72px 0; }
.evidence-heading { margin: 0 0 12px; font-size: 30px; line-height: 1.4; font-weight: 400; }
.evidence-subheading { margin: 0 0 16px; font-size: 26px; font-weight: 600; }
.evidence-lead { margin: 0 0 10px; font-size: 18px; }
.evidence-intro p { font-size: 18px; line-height: 2; }
.evidence-intro__grid { display: block; }
.evidence-ingredient__media img { width: 100%; display: block; }

.evidence-ingredient { display: grid; grid-template-columns: 1.1fr .9fr; gap: 54px; margin-top: 72px; align-items: start; }

.evidence-ingredient__heading-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  margin: 0 0 16px;
  text-align: left;
}
.evidence-ingredient__heading-group .evidence-label {
  align-self: flex-start;
  width: auto;
  margin: 0 0 10px !important;
  text-align: left;
}
.evidence-ingredient__heading-group .evidence-subheading {
  width: 100%;
  margin: 0;
  text-align: left;
}
.evidence-label { display: inline-block; margin: 0 0 10px !important; padding: 5px 10px 7px 10px; background: #000; color: #fff; font-family: var(--evidence-font-sans); font-size: 11px !important; line-height: 1 !important; letter-spacing: .04em; }
.evidence-note { font-size: 11px !important; line-height: 5!important; text-align:right;}

.evidence-research { padding-top: 28px; background-color:#201e1a;}
.evidence-divider-title { display: flex; align-items: center; gap: 24px; margin-bottom: 42px; font-size: 30px; line-height: 1.4; font-weight: 400; justify-content: flex-start; color: #fff;}
.evidence-divider-title::before { display: none; }
.evidence-divider-title::after { content: ""; height: 5px; background: var(--evidence-line); flex: 1; max-width: 310px; }
.evidence-thumb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.evidence-thumb {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 0;

  border: 1px solid rgba(255,255,255,.28);
  background-color: #18150e;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;

  color: #fff !important;
  font: 400 22px/1.5 var(--evidence-font-serif);
  cursor: pointer;

  transition: transform .2s ease, filter .2s ease;
}

/* black overlay + subtle noise texture */
.evidence-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  /* ������% */
  background-color: rgba(0, 0, 0, .30);

  /* �ׂ������R�ȃm�C�Y */
  background-image:
    radial-gradient(
      circle,
      rgba(0, 0, 0, .045) 0 .35px,
      transparent .45px
    ),
    radial-gradient(
      circle,
      rgba(255, 255, 255, .035) 0 .3px,
      transparent .4px
    ),
    radial-gradient(
      circle,
      rgba(120, 100, 80, .025) 0 .3px,
      transparent .4px
    );

  background-size:
    2px 2px,
    3px 3px,
    4px 4px;

  background-position:
    0 0,
    1px 1px,
    2px 1px;
}

/* Individual thumbnail images */
.evidence-thumb:nth-child(1) { background-image: url("../images/evidence-thumb-01.jpg"); }
.evidence-thumb:nth-child(2) { background-image: url("../images/evidence-thumb-02.jpg"); }
.evidence-thumb:nth-child(3) { background-image: url("../images/evidence-thumb-03.jpg"); }
.evidence-thumb:nth-child(4) { background-image: url("../images/evidence-thumb-04.jpg"); }
.evidence-thumb:nth-child(5) { background-image: url("../images/evidence-thumb-05.jpg"); }
.evidence-thumb:nth-child(6) { background-image: url("../images/evidence-thumb-06.jpg"); }

.evidence-thumb:hover,
.evidence-thumb:focus-visible {
  transform: translateY(-2px);
  filter: brightness(.96);
  outline: 1px solid rgba(255,255,255,.7);
  outline-offset: 0;
}

.evidence-expert { padding-top: 14px; }
.evidence-rule { height: 4px; background: #dedede; }
.evidence-expert__box {
  color: var(--evidence-title);
  text-decoration: none;
  cursor: pointer;
  /* EXPERT IMAGE: replace the filename below when the final image is ready. */
  min-height: 250px;
  background-color: var(--evidence-gray);
  background-image: url("../images/expert.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  display: grid;
  place-items: center;
  margin: 44px 0;
  font-size: 24px;
}

/* EXPERT LINK COLOR: override legacy PC/SP link styles. */
.evidence-page a.evidence-expert__box,
.evidence-page a.evidence-expert__box:link,
.evidence-page a.evidence-expert__box:visited,
.evidence-page a.evidence-expert__box:hover,
.evidence-page a.evidence-expert__box:active,
.evidence-page a.evidence-expert__box:focus,
.evidence-page a.evidence-expert__box * {
  color: #fff !important;
  text-decoration: none;
}

.evidence-products { padding-top: 10px; padding-bottom: 96px; }
.evidence-products__title { margin: 0; padding: 5px 16px; color: #fff; background: var(--evidence-black); font-size: 18px; font-weight: 400; }
.evidence-product-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 30px 16px 0; }
.evidence-product {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 14px;
  align-items: center;
  font-size: 14px;
  line-height: 1.6;
}
.evidence-product__image {
  display: block;
  width: 56px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--evidence-white);
  justify-self: center;
}
.evidence-product__link {
  color: #171717;
  text-decoration: underline;
}

/* =========================================================
   MODAL
   The modal root starts below the visible header area.
   JS writes an inline top value when it opens.
========================================================= */
.evidence-modal[hidden] { display: none !important; }

.evidence-modal {
  position: fixed !important;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 99999 !important;
  font-family: var(--evidence-font-serif);
}

.evidence-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(70, 70, 70, .62);
}

/* Two explicit rows: scrollable body + non-scrolling pager. */
.evidence-modal__panel {
  position: absolute !important;
  top: 40px;
  left: 50%;
  bottom: 40px;
  width: min(var(--evidence-modal-max), calc(100% - 80px));
  height: auto !important;
  min-height: 0;
  margin: 0 !important;
  padding: 0 !important;
  transform: translateX(-50%);
  background: #fff;
  box-shadow: 0 18px 60px rgba(0,0,0,.3);
  display: grid !important;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  box-sizing: border-box;
}

/* Close button is an overlay only; it never reserves content width. */
.evidence-modal__close {
  position: absolute !important;
  top: 35px;
  right: 25px;
  width: 25px;
  height: 25px;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 30;
  box-sizing: border-box;
  line-height: 1;
}

.evidence-modal__close-icon {
  position: relative;
  display: block;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

.evidence-modal__close-icon::before,
.evidence-modal__close-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 1.5px;
  margin: 0;
  background: #111;
  transform-origin: center center;
}
.evidence-modal__close-icon::before { transform: translate(-50%, -50%) rotate(45deg); }
.evidence-modal__close-icon::after { transform: translate(-50%, -50%) rotate(-45deg); }

/* Only this row scrolls. */
.evidence-modal__scroller {
  grid-row: 1;
  min-width: 0;
  min-height: 0;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

.evidence-modal__page { padding: 0; }

.evidence-modal__content {
  width: calc(100% - 96px);
  max-width: 650px;
  margin: 0 auto !important;
  padding: 24px 0 48px;
  box-sizing: border-box;
}

.evidence-modal__title {
  margin: 0 0 28px;
  padding: 7px 60px;
  background: #000;
  color: #fff;
  text-align: center;
  font-size: 24px;
  font-weight: 400;
  box-sizing: border-box;
}

.evidence-modal__page p { margin: 0 0 20px; font-size: 16px; line-height: 2;   font-family: var(--evidence-font-sans);}
.evidence-modal__lead--accent { color: var(--evidence-accent); font-size:24px;}
.evidence-modal__rule { height: 1px; background: var(--evidence-line); margin: 28px 0; }
.evidence-modal__headline { border-left: 10px solid var(--evidence-accent); padding-left: 10px; margin: 35px 0 25px 0; font-size: 17px; line-height: 1.65; font-weight: 500; }
.evidence-modal__headline2 { padding-left: 0px; margin: 0 0 18px; font-size: 20px; line-height: 1.65; font-weight: 500; }
.evidence-modal__chart-placeholder { min-height: 190px; background: #ffffff; border: 1px dashed #aaa; display: grid; place-items: center; margin: 30px 0; color: #777; font: 13px/1.5 var(--evidence-font-sans); }
.evidence-modal__image-placeholder { min-height: 260px; background: var(--evidence-gray); display: grid; place-items: center; margin: 30px 0; color: #777; font: 13px/1.5 var(--evidence-font-sans); }
.evidence-modal__footnote { font-size: 10px !important; line-height: 1.7 !important; }

/* Fixed in panel's second row, outside the scroll container. */
.evidence-modal__pager {
  grid-row: 2;
  position: relative !important;
  width: 100% !important;
  min-width: 0;
  min-height: 45px;
  margin: 0 !important;
  padding: 6px 28px 3px 28px !important;
  background: #000 !important;
  color: #fff !important;
  border: 0 !important;
  border-top: 1px solid #ddd !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  box-sizing: border-box;
  overflow: visible !important;
  z-index: 20;
}

.evidence-modal__pager-link {
  display: block;
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 4px 0;
  background: transparent;
  color: #fff;
  font: 16px/1.5 var(--evidence-font-serif);
  cursor: pointer;
  text-decoration: underline;
  white-space: normal;
}
.evidence-modal__pager-link--prev { text-align: right; }
.evidence-modal__pager-link--next { text-align: left; }
.evidence-modal__pager-link[hidden] { visibility: hidden !important; display: block !important; }
.evidence-modal__pager-symbol { white-space: nowrap; font-size: 14px; }

body.evidence-modal-open { overflow: hidden !important; }

@media (max-width: 789px) {
  .sp-only { display: inline; }
  .evidence-shell { width: calc(100% - 45px); }
  .evidence-hero { min-height: 450px; }
  .evidence-hero__inner { padding-bottom: 52px; }
  .evidence-eyebrow { font-size: 16px; margin-bottom: 10px; }
  .evidence-hero__title { font-size: 24px; line-height: 1.65; text-align: left !important; }
  .evidence-eyebrow,
  .evidence-heading,
  .evidence-subheading,
  .evidence-lead,
  .evidence-products__title {
    text-align: left !important;
  }
  .evidence-section { padding: 40px 0; }
  .evidence-section2 { padding: 40px 0  0 0; }
  .evidence-heading { font-size: 25px; }
  .evidence-lead { font-size: 16px; }
  .evidence-intro p { font-size: 16px; line-height: 2.2; }
  .evidence-intro__grid { display: block; }
  .evidence-ingredient { display: flex; flex-direction: column; gap: 28px; }
  .evidence-ingredient { margin-top: 54px; }
  .evidence-ingredient__media { order: -1; }
  .evidence-subheading { font-size: 23px; }
  .evidence-ingredient__heading-group {
    align-items: flex-start !important;
    text-align: left !important;
  }
  .evidence-ingredient__heading-group .evidence-label {
    align-self: flex-start !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
  }
  .evidence-ingredient__heading-group .evidence-subheading {
    text-align: left !important;
  }
  .evidence-divider-title { font-size: 25px; line-height: 1.4; gap: 10px; margin-bottom: 24px; justify-content: flex-start; color: #fff;}
  .evidence-divider-title::after { height: 4px; }
  .evidence-thumb-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .evidence-thumb { min-height: 0; font-size: 17px; }
  .evidence-expert__box { min-height: 220px; margin: 32px 0; font-size: 20px;   color: #FFF;}
  .evidence-products__title { font-size: 15px; }
  .evidence-product-list { grid-template-columns: 1fr; gap: 22px; }
  .evidence-product { grid-template-columns: 60px 1fr; font-size: 12px; }
  .evidence-product__image { width: 52px; }

  /* SP: left/right/bottom breathing room inside the area below header. */
  .evidence-modal__panel {
    top: 16px;
    right: 16px;
    bottom: 16px;
    left: 16px;
    width: auto !important;
    transform: none;
  }

  .evidence-modal__close {
    top: 25px;
    right: 25px;
    width: 25px;
    height: 25px;
  }
  .evidence-modal__close-icon { width: 20px; height: 20px; flex-basis: 20px; }
  .evidence-modal__close-icon::before,
  .evidence-modal__close-icon::after { width: 21px; }

  .evidence-modal__content {
    width: calc(100% - 36px);
    padding: 16px 0 36px;
  }
  .evidence-modal__title { padding: 8px 48px; margin-bottom: 26px; font-size: 20px; text-align:center !important;}
  .evidence-modal__page p { font-size: 14px; line-height: 2;   font-family: var(--evidence-font-sans);}
  .evidence-modal__headline { font-size: 20px; border-left-width: 8px; }
  .evidence-modal__chart-placeholder { min-height: 160px; }
  .evidence-modal__image-placeholder { min-height: 220px; }

  .evidence-modal__pager {
    min-height: 40px;
    padding: 8px 14px 5px 14px !important;
    gap: 8px;
  }
  .evidence-modal__pager-link { font-size:16px; }
}

/* Modal headings: keep left aligned on SP */
@media (max-width: 789px) {
  .evidence-modal__title,
  .evidence-modal__content h1,
  .evidence-modal__content h2,
  .evidence-modal__content h3 {
    text-align: left;
  }
}


.evidence-thumb span {
  position: relative;
  z-index: 1;

  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;

  color: #fff !important;
  text-align: center;
  text-decoration: none !important;

  /* ��������w�i����킸���ɕ������� */
  text-shadow: 0 1px 5px rgba(0, 0, 0, .80);
}

/* White circle */
.evidence-thumb span::before {
  content: "";
  width: 30px;
  height: 30px;
  flex: 0 0 30px;

  border-radius: 50%;
  background: #fff;
}

/* Black plus */
.evidence-thumb span::after {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;

  width: 12px;
  height: 12px;

  transform: translateX(-50%);

  background:
    linear-gradient(#000, #000) center / 12px 1px no-repeat,
    linear-gradient(#000, #000) center / 1px 12px no-repeat;
}

/* Keep thumbnail text white in every state, including SP legacy styles */
.evidence-thumb,
.evidence-thumb:link,
.evidence-thumb:visited,
.evidence-thumb:hover,
.evidence-thumb:active,
.evidence-thumb:focus,
.evidence-thumb span {
  color: #fff !important;
  text-decoration: none !important;
}

@media (max-width: 789px) {
  .evidence-thumb span {
    gap: 8px;
  }

  .evidence-thumb span::before {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
  }

  .evidence-thumb span::after {
    top: 8px;
    width: 10px;
    height: 10px;

    background:
      linear-gradient(#000, #000) center / 10px 1px no-repeat,
      linear-gradient(#000, #000) center / 1px 10px no-repeat;
  }
}
