/* Keep the source product layout within the homepage's existing product section. */
#product-detail-17 {
  margin-top: 70px;
  scroll-margin-top: 110px;
}
#product-detail-17 #sub_page {
  padding-top: 60px;
}
#product-detail-17 .taberumo-container.sub_page {
  padding: 0 70px;
}
#product-detail-17 [data-product-image] {
  cursor: pointer;
}
#product-detail-17 [data-product-image]:focus-visible {
  outline: 2px solid #006666;
  outline-offset: 3px;
}
/* The main product image is not clickable (no enlarged view). */
#product-detail-17 #popup {
  pointer-events: none;
  cursor: default;
}
@media (max-width: 767px) {
  #product-detail-17 {
    margin-top: 45px;
  }
  #product-detail-17 #sub_page {
    padding-top: 35px;
  }
  #product-detail-17 .taberumo-container.sub_page {
    padding: 0 25px;
  }
}

/* Place the serving basis directly below the nutrient panel. */
#product-detail-17 .nutirients__position {
  position: static;
  max-width: 924px;
  margin: 6px auto 0;
  text-align: right;
}

#product-detail-17 #sub_page,
#product-detail-17 #sub_page .sub_page__wrapper {
  padding-bottom: 0;
}

/* Layout feedback: center the retained content after removing sidebars. */
.feedback-header .header__inner { justify-content: space-between; }
.feedback-header .feedback-contact { color: #004040; white-space: nowrap; font-size: 14px; }
.taberumo__intro .section__inner .intro__wrapper,
.taberumo__recipe .section__inner .recipe__fun__wrapper { margin-left: auto; margin-right: auto; }
.feedback-header .header__inner { min-height: 66px; }
@media (max-width: 767px) {
  .feedback-header .header__inner { min-height: 60px; }
}

.footer.top {
  margin-top: 0;
}

/* Corporate footer: desktop and mobile reference layouts. */
footer.corporate-footer {
  background: #183e3e;
  color: #f4f6f4;
  margin-top: 0;
  font-family: Arial, sans-serif;
}
.corporate-footer__inner { max-width: 1280px; margin: 0 auto; padding: 80px 80px 40px; box-sizing: border-box; }
.corporate-footer__main { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; }
.corporate-footer__logo { display: block; width: 172px; margin-bottom: 26px; line-height: 0; }
.corporate-footer__logo img { width: 100%; height: auto; }
.corporate-footer__company h2 { margin: 0 0 8px; font-size: 20px; font-weight: 700; line-height: 1.4; letter-spacing: 0; }
.corporate-footer__company address { margin: 0; font-size: 14px; line-height: 26px; font-style: normal; letter-spacing: 0; }
.corporate-footer__contact { display: inline-flex; align-items: center; justify-content: center; gap: 20px; flex-shrink: 0; width: 180px; height: 52px; border: 1px solid #dce5e3; border-radius: 28px; box-sizing: border-box; color: #f4f6f4 !important; font-size: 16px; font-weight: 700; text-decoration: none; }
.corporate-footer__contact:hover { background: rgba(255,255,255,.08); }
.corporate-footer__contact:focus-visible { outline: 2px solid #d8bb78; outline-offset: 4px; }
.corporate-footer__copyright { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(220,229,227,.2); line-height: 16px; }
.corporate-footer__copyright small { color: #bfd8ba; font-size: 14px; font-weight: 700; }
@media (max-width: 767px) {
  .corporate-footer__inner { padding: 80px 24px 40px; }
  .corporate-footer__main { flex-direction: column; gap: 40px; }
  .corporate-footer__company h2 { font-size: 20px; }
  .corporate-footer__copyright { margin-top: 56px; }
}
