/* 月夜野ファーム 共通 / original.css */

/* 月夜野ファーム 共通 / BP 768px */
:root {
  --color-white: #ffffff;
  --color-black: #000000;
  --color-primary-blue: #008cd6;
  --icon-filter-primary-blue: invert(55%) sepia(50%) saturate(950%) hue-rotate(185deg) brightness(95%) contrast(85%);
  --color-primary-green: #53af03;
  --color-green: #8ec31f;
  --color-red: #f02828;
  --color-star: #c78d2f;
  --color-text-orange: #f05300;
  --color-text-02: #666666;
  --color-text-03: #999999;
  --color-text-04: #728496;
  --color-placeholder: #c0c7ce;
  --color-bg-01: #f6f7f8;
  --color-bg-02: #dde0e4;
  --color-bg-04: #868b90;
  --color-bg-footer: #eff0f2;
  --font-family: "Noto Sans JP", sans-serif;
  --menu-width: 346px;
  --container-max: 1200px;
  --container-pad: 4%;
  --side-width: 200px;
  --side-min: 176px;
  --side-gap: 4%;
  --card-gap: 1.5cqw;
  --tab-bar-height: 48px;
  --hover-opacity: 0.6;
}

@media (max-width: 767px) {
  :root {
    --card-gap: 16px; /* カード並び用（SP） */
    --tab-bar-height: 48px;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sp-only {
  display: none !important;
}

@media (max-width: 767px) {
  .sp-only {
    display: revert !important;
  }

  .pc-only {
    display: none !important;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  font-weight: 400;
  color: var(--color-black);
  background: var(--color-white);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

p,td {
  line-height: 1.8;
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

/* 商品画像拡大：オーバーレイは全画面、写真はひと回り小さく中央へ */
.fs-c-productImageModalCarousel__figure {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100vw;
  min-height: 100vh;
  padding: 56px 24px 24px;
}

.fs-c-productImageModalCarousel__figure__image {
  width: auto !important;
  height: auto !important;
  max-width: 80vw !important;
  max-height: 80vh !important;
  object-fit: contain;
}

a {
  text-decoration: none !important;
}

a:where(:link, :visited, :hover, :active) {
  color: inherit;
}

:is(p, .fs-c-documentArticle__content, .fs-c-documentColumn__content) a:visited:not(.fs-c-subgroupList__link) {
  color: var(--color-primary-blue);
}

button,
input {
  font-family: inherit;
  font-weight: inherit;
  border: none;
  background: none;
  color: inherit;
}

button {
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

.long-txt {
  font-feature-settings: "palt";
  letter-spacing: 0.04em;
}

/* Header（共通） */
.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding-bottom: 16px;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-bg-footer);
}

.header__announce {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 16px;
  background: var(--color-primary-blue);
}

.header__announce-text {
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  color: var(--color-white);
  text-align: center;
  margin: 0;
}

.header--shopping {
  gap: 0;
  padding: 20px var(--container-pad) 16px;
}

.header-shopping {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: var(--container-max);
}

.header-shopping__logo {
  width: 180px;
  height: 34px;
}

.header__sp {
  display: none;
}

/* PC */
.header__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  padding: 0 var(--container-pad) 0;
  align-items: center;
}

.header__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  gap: 24px;
  container-type: inline-size;
}

.header__left {
  display: flex;
  align-items: center;
  gap: 1.8cqw;
  min-width: 0;
}

.header__logo {
  display: block;
  flex-shrink: 0;
}

.header__logo--pc {
  width: 180px;
  height: 34px;
}

.header__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 300px;
  height: 32px;
  padding-right: 14px;
  background: var(--color-bg-01);
  border-radius: 8px;
}

.search-form__input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 0 0 12px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.3;
  color: var(--color-black);
  background-color: transparent;
  outline: none;
  border: none;
  box-shadow: none;
}

.search-form__input:focus,
.search-form__input:focus-visible {
  outline: none;
  border: none;
  box-shadow: none;
  background-color: transparent;
}

.search-form__input:-webkit-autofill,
.search-form__input:-webkit-autofill:hover,
.search-form__input:-webkit-autofill:focus,
.search-form__input:-webkit-autofill:active {
  -webkit-text-fill-color: var(--color-black);
  caret-color: var(--color-black);
  box-shadow: 0 0 0 40px var(--color-bg-01) inset;
  -webkit-box-shadow: 0 0 0 40px var(--color-bg-01) inset;
  transition: background-color 99999s ease-out;
}

.search-form:focus-within {
  outline: none;
  box-shadow: none;
}

.search-form__input::placeholder {
  color: var(--color-text-03);
  opacity: 1;
}

.search-form__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  cursor: pointer;
  padding: 0;
}

.search-form__submit img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.search-form__submit:hover {
  opacity: 0.7;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 2cqw;
  flex-shrink: 0;
}

.header__wholesale,
.header__wholesale:link,
.header__wholesale:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 0;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
  color: var(--color-text-02);
  white-space: nowrap;
}

.header__wholesale:hover {
  color: var(--color-primary-blue);
}

.header__wholesale-chevron {
  width: 3.5px;
  height: 7px;
  flex-shrink: 0;
}

.header__wholesale-chevron img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header__icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.header__icon-link:hover {
  color: var(--color-primary-blue);
}

.header__icon-link--wish {
  width: 21px;
  height: 17px;
}

.header__icon-link--cart {
  position: relative;
  width: 20px;
  height: 20px;
  overflow: visible;
}

.header__icon-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: filter 0.2s ease;
}

.header__icon-link:hover img {
  filter: var(--icon-filter-primary-blue);
}

.fs-client-cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  z-index: 1;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--color-red);
  color: var(--color-white);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.fs-client-cart-count:empty,
.fs-client-cart-count--0 {
  display: none;
}

.header__login {
  display: flex;
  align-items: center;
  white-space: nowrap;
  margin-left: 1px;
}

.header__login .fs-clientInfo {
  display: flex;
  align-items: center;
}

.header__login-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  transition: color 0.2s ease;
}

.header__login-link:hover {
  color: var(--color-primary-blue);
}

.header__login-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  overflow: hidden;
}

.header__login-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: filter 0.2s ease;
}

.header__login-link:hover .header__login-icon img {
  filter: var(--icon-filter-primary-blue);
}

.header__login-text {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}

.logout.my-false,
.login.my-true,
.regist.my-true,
.account-actions.login.my-true {
  display: none !important;
}

.global-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: var(--container-max);
  container-type: inline-size;
}

.global-nav__list {
  display: grid;
  align-items: center;
  width: 100%;
  list-style: none;
  grid-template-columns: repeat(5, auto);
}

.global-nav__item {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
}

.global-nav__item:nth-child(3) {
  flex: 1 1 auto;
  min-width: 0;
}

.global-nav__item::before {
  content: "";
  display: block;
  width: 1px;
  height: 18px;
  background: var(--color-bg-02);
  flex-shrink: 0;
}

.global-nav__item:last-child::after {
  content: "";
  display: block;
  width: 1px;
  height: 18px;
  background: var(--color-bg-02);
  flex-shrink: 0;
}

.global-nav__link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  font-size: clamp(12px, 1.5vw, 13px);
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
  transition: color 0.2s ease;
  width: 100%;
}

.global-nav__link:hover {
  color: var(--color-primary-blue);
}

.page-main {
  max-width: 1370px;
  margin: 0 auto;
  padding: 40px 80px;
  font-size: 14px;
}

/* SP：767px以下 */
@media (max-width: 767px) {
  .header {
    gap: 0;
    padding-bottom: 0;
    overflow: clip;
  }

  .header__announce {
    min-height: 30px;
    padding: 0 16px;
  }

  .header__announce-text {
    font-size: 12px;
  }

  .header__body {
    display: none;
  }

  .header__sp {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 4.5cqw;
  }

  .header__menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: -16px 0 -16px -12px;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
  }

  .header__menu-btn img {
    width: 20px;
    height: 12px;
    object-fit: contain;
  }

  .header__menu-btn.menu-open-btn {
    flex-direction: row;
    gap: 0;
    width: 44px;
    height: 44px;
    padding: 0;
  }

  .header__menu-btn.menu-open-btn span {
    display: none;
  }

  .header__logo--sp {
    width: 144px;
    height: 27px;
  }

  .header__cart {
    position: relative;
    display: block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    overflow: visible;
  }

  .header__cart-icon {
    display: block;
    width: 20px;
    height: 20px;
    overflow: hidden;
  }

  .header__cart-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .header__cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    width: 16px;
    height: 16px;
  }

  .header__cart-badge-bg {
    position: absolute;
    inset: 0;
    width: 16px;
    height: 16px;
  }

  .header__cart-badge-count {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    color: var(--color-white);
  }

  .header--shopping {
    padding: 12px 4.5cqw;
  }

  .header-shopping__logo {
    width: 144px;
    height: 27px;
  }

  .page-main {
    padding: 24px 16px;
  }
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  width: 100%;
  height: 100%;
  min-height: 100dvh;
  background: var(--color-black);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-overlay.is-open {
  opacity: 0.5;
  visibility: visible;
}

.hamburger-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1001;
  width: min(var(--menu-width), 90vw);
  height: auto;
  max-height: none;
  background: var(--color-bg-01);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-100%);
  transition: transform 0.3s ease, visibility 0.3s ease;
}

.hamburger-menu > * {
  flex-shrink: 0;
}

.hamburger-menu.is-open {
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}

.menu-close-btn {
  position: fixed;
  top: 13px;
  left: calc(min(var(--menu-width), 90vw) + 11px);
  z-index: 1002;
  width: 21px;
  height: 21px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  appearance: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-close-btn.is-open {
  opacity: 1;
  visibility: visible;
}

.menu-close-btn::before,
.menu-close-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 21px;
  height: 1px;
  background: var(--color-white);
  transform-origin: center;
}

.menu-close-btn::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-close-btn::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.menu-section {
  width: 100%;
  padding: 20px 16px 24px;
  background: var(--color-bg-01);
  border-bottom: 1px solid var(--color-bg-02);
}

.menu-section--account {
  padding: 16px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.menu-section--account > .fs-clientInfo {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.menu-section--lab {
  border-bottom: none;
  padding-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.menu-section--footer {
  background: var(--color-bg-footer);
  border-bottom: none;
  padding: 28px 16px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.menu-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 16px;
  gap: 8px;
}

.menu-section--lab .menu-section__head {
  margin-bottom: 0;
}

.account-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.account-name {
  margin: 0;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.02em;
  color: var(--color-text-03);
  text-align: center;
  white-space: nowrap;
}

.account-name__nick:empty,
.account-name__nick:not(:empty) + .account-name__name {
  display: none;
}

.menu-section__head-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.menu-section__icon {
  flex-shrink: 0;
  overflow: hidden;
}

.menu-section__icon--account {
  width: 22px;
  height: 22px;
}

.menu-section__icon--category {
  width: 20px;
  height: 20px;
}

.menu-section__icon--pet {
  width: 30px;
  height: 19px;
}

.menu-section__icon--lab {
  width: 30px;
  height: 28px;
}

.menu-section__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.menu-section__title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
}

a.menu-section__title:hover {
  color: var(--color-primary-blue);
}

.menu-section__title--lab {
  white-space: normal;
}

.menu-section__chevron {
  flex-shrink: 0;
  width: 4.5px;
  height: 9px;
}

.menu-section__chevron img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.account-actions {
  display: flex;
  gap: 10px;
  width: 100%;
}

.account-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.8;
  border-radius: 6px;
  text-align: center;
  transition: opacity 0.2s ease;
}

.btn:hover {
  opacity: 0.85;
}

.btn--login,
.btn--signup,
.btn--logout {
  flex: 1;
  padding: 4px 16px;
  min-height: 36px;
}

.btn--login,
.btn--login:link,
.btn--login:visited {
  background: var(--color-primary-blue);
  border: 1px solid var(--color-primary-blue);
  color: var(--color-white);
}

.btn--signup,
.btn--signup:link,
.btn--signup:visited,
.btn--logout,
.btn--logout:link,
.btn--logout:visited {
  background: var(--color-white);
  border: 1px solid var(--color-primary-blue);
  color: var(--color-primary-blue);
}

.btn--logout,
.btn--logout:link,
.btn--logout:visited {
  display: block;
  flex: none;
  width: 160px;
  margin: 40px auto 0;
}

.chip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  width: 100%;
}

.chip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 10px 8px;
  background: var(--color-white);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-align: center;
  line-height: 1.2;
  transition: background 0.2s ease;
}

.chip:hover {
  background: #eef5fa;
}

.chip--muted,
.chip--muted:link,
.chip--muted:visited {
  background: var(--color-bg-footer);
  color: var(--color-black);
}

.chip--muted:hover {
  background: var(--color-bg-02);
}

.pet-groups {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pet-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.pet-group__label {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 16px;
  background: var(--color-white);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  transition: background 0.2s ease;
}

.pet-group__label:hover {
  background: #eef5fa;
}

.pet-group__label .menu-section__chevron {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-bottom: 4px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
}

.footer-links__divider {
  width: 1px;
  height: 11px;
  background: var(--color-bg-02);
  flex-shrink: 0;
}

.footer-links a:hover {
  color: var(--color-primary-blue);
}

.cta-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 310px;
}

.btn-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  transition: opacity 0.2s ease;
}

.btn-cta:hover {
  opacity: 0.9;
}

.btn-cta .menu-section__chevron {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.btn-cta--wholesale,
.btn-cta--wholesale:link,
.btn-cta--wholesale:visited {
  background: var(--color-primary-blue);
  color: var(--color-white);
}

.btn-cta--consult,
.btn-cta--consult:link,
.btn-cta--consult:visited {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--color-primary-green);
  color: var(--color-primary-green);
}

.menu-divider {
  width: 100%;
  max-width: 304px;
  height: 1px;
  background: var(--color-bg-02);
  border: none;
}

.about-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 4px;
}

.about-link .menu-section__chevron {
  margin-left: 6px;
}

.about-link__logo {
  width: 20px;
  height: 20px;
  overflow: hidden;
}

.about-link__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-link__text {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}

.about-link:hover .about-link__text {
  color: var(--color-primary-blue);
}

body.menu-is-open,
body.search-is-open {
  overflow: hidden;
}

@media (max-width: 360px) {
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 12px;
  }

  .footer-links__divider {
    display: none;
  }

  .menu-section__title--lab {
    font-size: 13px;
  }
}

/* レイアウト */
.fs-l-main {
  display: grid;
  /* サイドは 200→176 へ段階的に縮小。メインは minmax(0,1fr) で縮む */
  grid-template-columns: clamp(var(--side-min), 16.6667%, var(--side-width)) minmax(0, 1fr);
  column-gap: var(--side-gap);
  box-sizing: content-box;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 48px var(--container-pad) 80px;
  container-type: inline-size; /* cqw の基準（コンテンツ幅） */
  position: relative;
}

.fs-body-custom .fs-l-main:has(.l-side, .sidemenu-area) {
  padding-top: 78px;
}

.fs-l-main:not(:has(.sidemenu-area, .l-side)) {
  grid-template-columns: minmax(0, 1fr);
  column-gap: 0;
  padding-top: 0;
}

.fs-l-main > .fs-c-panelContainer {
  grid-column: 1 / -1;
}

.fs-l-main > .fs-c-panelContainer:empty {
  display: none;
}

.l-side,
.sidemenu-area {
  min-width: 0;
  width: auto;
  grid-column: 1;
}

.fs-l-pageMain {
  min-width: 0;
  grid-column: 2;
}

.fs-l-main:not(:has(.sidemenu-area, .l-side)) > *,
.fs-l-main:not(:has(.sidemenu-area, .l-side)) .fs-l-pageMain {
  grid-column: 1;
}

.fs-l-product2 .fs-l-productLayout,
.fs-l-product4 .fs-l-productLayout,
.fs-l-productLayout {
  grid-template-columns: 50% 46.5%;
  column-gap: 3.5%;
  row-gap: 0;
  grid-gap: 0 3.5%;
  gap: 0 3.5%;
}

@media (max-width: 767px) {
  .fs-l-product2 .fs-l-productLayout,
  .fs-l-product4 .fs-l-productLayout,
  .fs-l-productLayout {
    grid-template-columns: 1fr;
    column-gap: 0;
    grid-gap: 0;
    gap: 0;
  }
}

.sec {
  margin-bottom: 6cqw;
}

.sec:last-child {
  margin-bottom: 0;
}

/* セクション見出し */
.sec-ttl {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.sec-ttl__dots {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
  transform: translateY(0.075em);
}

.sec-ttl__dots i {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 1px;
}

.sec-ttl__dots i:first-child {
  background: var(--color-primary-blue);
}

.sec-ttl__dots i:last-child {
  background: var(--color-green);
}

.sec-ttl__en {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transform: translateY(0.11em);
}

.sec-ttl--lab .sec-ttl__ja-main,
.sec-ttl--lab .sec-ttl__ja-sub {
  display: inline;
}


/* サイドバー */
.side-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
}

.side-nav__block {
  padding-bottom: 24px;
}

.side-nav__block:last-child {
  padding-bottom: 0;
}
.side-nav__head--lab {
  font-size: 13px;
}

.side-nav__head,
.side-nav__head:link,
.side-nav__head:visited {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-bg-02);
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-black);
}

.side-nav__head--lab {
  gap: 8px;
  font-size: 13px;
}

.side-nav__icon {
  display: block;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.side-nav__icon--pet {
  width: 24px;
  height: 15px;
}

.side-nav__icon--lab {
  width: 24px;
  height: 22px;
}

.side-nav__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.side-nav__list {
  display: flex;
  flex-direction: column;
}

.side-nav__link,
.side-nav__link:link,
.side-nav__link:visited {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-bg-footer);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--color-black);
  transition: color 0.2s ease;
}

.side-nav__list > li:last-child .side-nav__link {
  border-bottom: none;
}

.side-nav__link--child,
.side-nav__link--child:link,
.side-nav__link--child:visited {
  padding-left: 8px;
}

.side-nav__link:hover,
.side-nav__head:hover {
  color: var(--color-primary-blue);
}

.side-nav__chevron {
  display: inline-flex;
  flex-shrink: 0;
  width: 4.5px;
  height: 9px;
  margin-left: auto;
}

.side-nav__chevron img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* コンテンツ共通ホバー * ホバー起点に .u-hover を付けるだけ。 * 画像: zoom + opacity * テキスト: opacity（青への色変化なし。FS の a:hover を打ち消す） */
.u-hover [class*="__thumb"] > img,
.u-hover.lineup-card > img {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.u-hover:hover [class*="__thumb"] > img,
.u-hover.lineup-card:hover > img {
  transform: scale(1.04);
  opacity: var(--hover-opacity);
}

.u-hover [class*="__title"],
.u-hover [class*="__name"],
.u-hover [class*="__desc"],
.u-hover [class*="__date"] {
  transition: opacity 0.2s ease;
}

a.u-hover:hover,
a.u-hover:hover [class*="__title"],
a.u-hover:hover [class*="__name"],
a.u-hover:hover [class*="__desc"],
a.u-hover:hover [class*="__date"] {
  color: inherit !important;
}

.u-hover:hover [class*="__title"],
.u-hover:hover [class*="__name"],
.u-hover:hover [class*="__desc"],
.u-hover:hover [class*="__date"] {
  opacity: var(--hover-opacity);
}

/* FS 商品カード（画像と商品名が別 a でも、カードホバーで共通スタイル） */
.fs-c-productListItem .fs-c-productListItem__image img,
.fs-c-productListItem .fs-c-productListItem__image__image {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.fs-c-productListItem:hover .fs-c-productListItem__image img,
.fs-c-productListItem:hover .fs-c-productListItem__image__image {
  transform: scale(1.04);
  opacity: var(--hover-opacity);
}

.fs-c-productListItem .fs-c-productListItem__productName,
.fs-c-productListItem .fs-c-productListItem__productName a {
  transition: opacity 0.2s ease;
}

.fs-c-productListItem:hover .fs-c-productListItem__productName {
  opacity: var(--hover-opacity);
}

.fs-c-productListItem:hover .fs-c-productListItem__productName a {
  color: inherit;
}


@media (max-width: 767px) {
  .fs-l-main {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    padding: 16px 0 48px;
  }

  .fs-body-custom .fs-l-main:has(.l-side, .sidemenu-area) {
    padding-top: 46px;
  }

  .l-side,
  .sidemenu-area {
    display: none;
  }

  .fs-l-pageMain {
    min-width: 0;
    max-width: none;
    padding-left: 4.5cqw;
    padding-right: 4.5cqw;
  }

  .sec {
    margin-bottom: 10cqw;
    padding-top: 0;
    padding-bottom: 0;
  }
}

@media (max-width: 767px) {
  .sec-ttl {
    margin-bottom: 16px;
    gap: 8px;
    font-size: 18px;
  }

  .sec-ttl__en {
    font-size: 10px;
  }
}

/* パンくず（下層共通 / FutureShop fs-c-breadcrumb） */
.fs-c-breadcrumb {
  background: var(--color-white);
  padding: 0 var(--container-pad) 0;
}

.fs-c-breadcrumb__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 14px 0 0;
  container-type: inline-size;
}

.fs-c-breadcrumb__listItem {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-04);
}

.fs-c-breadcrumb__listItem:not(:last-child)::after {
  content: "";
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  margin-top: -2px;
  border-right: 1px solid var(--color-text-04);
  border-bottom: 1px solid var(--color-text-04);
  transform: rotate(-45deg);
}

.fs-c-breadcrumb__listItem a,
.fs-c-breadcrumb__listItem a:link,
.fs-c-breadcrumb__listItem a:visited {
  color: var(--color-text-04);
  transition: color 0.2s ease;
}

.fs-c-breadcrumb__listItem a:hover {
  color: var(--color-primary-blue);
  text-decoration: underline !important;
}

.fs-c-breadcrumb__listItem:last-child {
  color: var(--color-black);
}

.fs-c-breadcrumb__listItem + .fs-c-breadcrumb__listItem::before {
  display: none;
}

.fs-body-custom .fs-c-breadcrumb {
  position: absolute;
  left: 0;
  top: 0px;
  width: 100%;
}

.fs-l-main:not(:has(.sidemenu-area, .l-side)) .fs-c-breadcrumb {
  position: static;
  margin: 0 0 16px;
}

.fs-c-heading--page {
  margin: 0 0 32px;
  padding: 0;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.03em;
  text-align: center;
  border: none;
}

.fs-c-documentArticle {
  margin: 0 0 48px;
}

.fs-c-documentArticle:last-of-type {
  margin-bottom: 0;
}

:is([class*="fs-body-category"], .fs-body-product, .pet-species-page) .fs-c-documentArticle {
  margin: 0;
  padding: 3.5cqw 3cqw 0;
  border-radius: 0;
  background: var(--color-bg-01);
}

:is([class*="fs-body-category"], .fs-body-product, .pet-species-page) .fs-c-documentArticle + .fs-c-documentArticle {
  margin-top: 0;
}

:is([class*="fs-body-category"], .fs-body-product, .pet-species-page) .fs-c-documentArticle:first-of-type {
  border-radius: 12px 12px 0 0;
}

:is([class*="fs-body-category"], .fs-body-product, .pet-species-page) .fs-c-documentArticle:last-of-type {
  padding: 3cqw;
  border-radius: 0 0 12px 12px;
  margin-bottom: 56px;
}

:is([class*="fs-body-category"], .fs-body-product, .pet-species-page) .fs-c-documentArticle:first-of-type:last-of-type {
  border-radius: 12px;
}

.fs-c-documentArticle__content,
.fs-c-documentColumn__content {
  padding: 0;
}

:is([class*="fs-body-category"], .fs-body-product, .pet-species-page) .fs-c-documentArticle > p,
:is([class*="fs-body-category"], .fs-body-product, .pet-species-page) .fs-c-documentArticle__content > :is(p, .lists, .inline) {
  margin: 0;
  padding: 20px 16px;
  border-radius: 6px;
  background: var(--color-white);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-black);
}

:is([class*="fs-body-category"], .fs-body-product, .pet-species-page) .fs-c-documentArticle > p + p,
:is([class*="fs-body-category"], .fs-body-product, .pet-species-page) .fs-c-documentArticle__content > p + p {
  margin-top: 8px;
}

:is([class*="fs-body-category"], .fs-body-product, .pet-species-page) .fs-c-documentArticle__content > .lists {
  padding-left: 2.2em;
  list-style: disc;
}

:is([class*="fs-body-category"], .fs-body-product, .pet-species-page) .fs-c-documentArticle__content > .lists li + li {
  margin-top: 8px;
}

:is([class*="fs-body-category"], .fs-body-product, .pet-species-page) .fs-c-documentArticle__content > .inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  list-style: none;
}

.default_h3 {
  margin: 0 0 16px;
  border: none;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.fs-c-subgroupList {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--card-gap);
  align-items: stretch;
  overflow: visible;
  margin: 0;
  padding: 0;
  list-style: none;
  border-radius: 0;
  background: transparent;
}

.fs-c-subgroupList__item {
  display: flex;
  width: auto;
  min-width: 0;
  padding: 0;
  flex-grow: 0;
  flex-basis: auto;
}

.fs-c-subgroupList__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 70px;
  padding: 10px 28px 10px 14px;
  border: 1px solid var(--color-bg-02);
  border-radius: 6px;
  background: var(--color-white);
  color: var(--color-black);
  transition: border-color 0.2s ease, background 0.2s ease;
}

a.fs-c-subgroupList__link:link,
a.fs-c-subgroupList__link:visited {
  color: var(--color-black);
}

.fs-c-subgroupList__link:hover,
a.fs-c-subgroupList__link:hover,
a.fs-c-subgroupList__link:active {
  border-color: var(--color-primary-blue);
  background: var(--color-white);
  color: var(--color-primary-blue);
}

.fs-c-subgroupList__link::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  display: block;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border: none;
  border-right: 1.5px solid var(--color-primary-blue);
  border-bottom: 1.5px solid var(--color-primary-blue);
  background: none;
  font-size: 0;
  transform: rotate(-45deg);
}

.fs-c-subgroupList__image {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--color-bg-01);
  margin-right: 0;
}

.fs-c-subgroupList__image img {
  height: 100%;
  object-fit: cover;
}

.fs-c-subgroupList__label {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  align-items: center;
  min-width: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: inherit;
}

:is(.fs-c-documentArticle, .page-main) .fs-c-subgroupList {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.fs-p-heading--lv2,
.fs-c-documentArticle__heading,
h2.fs-c-documentColumn__heading,
.fs-c-wishlistProduct__title {
  position: relative;
  display: block;
  margin: 0 0 20px;
  padding: 0 0 0 13px;
  border: none;
  background: none;
  color: var(--color-black);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.01em;
  text-align: left;
}

.fs-p-heading--lv2::before,
.fs-c-documentArticle__heading::before,
h2.fs-c-documentColumn__heading::before,
.fs-c-wishlistProduct__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  height: auto;
  background: linear-gradient(
    180deg,
    var(--color-primary-blue) 50%,
    var(--color-green) 50%
  );
}

.fs-c-documentColumn + .fs-c-documentColumn {
  margin-top: 3cqw;
}

h3.fs-c-documentColumn__heading {
  margin: 0 0 16px;
  padding: 12px 14px;
  border: none;
  background: var(--color-bg-01);
  color: var(--color-black);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.list-anchor {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 48px;
}

.list-anchor li {
  display: flex;
  flex: 1 1 calc((100% - 48px) / 5);
  min-width: 0;
}

.list-anchor a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1em 1em 1.8em;
  border: 1px solid var(--color-bg-02);
  color: var(--color-black);
  text-align: center;
  font-weight: 400;
  line-height: 1.4;
}

.list-anchor a:hover {
  background: var(--color-bg-01);
}

.list-anchor a::after {
  content: "";
  position: absolute;
  right: 50%;
  bottom: 1em;
  width: 8px;
  height: 8px;
  margin-right: -4px;
  border-right: 1px solid var(--color-green);
  border-bottom: 1px solid var(--color-green);
  transform: rotate(45deg);
}

.fs-c-documentSubColumn__heading,
.fs-c-shippingCarrierInfo__heading,
.fs-c-documentSubContent__heading {
  margin: 24px 0 12px;
  padding: 0 0 8px;
  border: none;
  border-bottom: 1px solid var(--color-bg-02);
  background: none;
  color: var(--color-black);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.fs-c-shippingCarrierInfo:first-of-type .fs-c-shippingCarrierInfo__heading {
  margin-top: 0;
}

.fs-c-documentSubContent + .fs-c-documentSubContent,
.fs-c-shippingCarrierInfo + .fs-c-documentSubContent {
  margin-top: 8px;
}

.fs-c-creditCardIcons img {
  width: auto;
}


/* 9. このカテゴリの読みもの */
.pl-articles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pl-article {
  display: block;
}

.pl-article__thumb {
  display: block;
  overflow: hidden;
  margin-bottom: 13px;
  border-radius: 8px;
  background: var(--color-bg-01);
  aspect-ratio: 3 / 2;
}

.pl-article__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pl-article__title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}


@media (max-width: 767px) {
  .fs-c-breadcrumb {
    padding: 0 4.5cqw;
  }

  .fs-l-main:not(:has(.sidemenu-area, .l-side)) .fs-c-breadcrumb {
    margin: 0;
  }

  .fs-c-breadcrumb__list {
    gap: 6px;
    margin-inline: auto;
    padding: 8px 0;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

  .fs-c-breadcrumb__list::-webkit-scrollbar {
    display: none;
  }

  .fs-c-breadcrumb__listItem {
    flex-shrink: 0;
    font-size: 9px;
  }

  .fs-c-heading--page {
    margin-bottom: 20px;
    font-size: 28px;
  }

  :is([class*="fs-body-category"], .fs-body-product, .pet-species-page) .fs-c-documentArticle {
    box-sizing: border-box;
    width: calc(100% + 9cqw);
    max-width: none;
    margin-left: -4.5cqw;
    margin-right: -4.5cqw;
    margin-bottom: 0;
    padding: 32px 4.5cqw 0;
    border-radius: 0;
  }

  :is([class*="fs-body-category"], .fs-body-product, .pet-species-page) .fs-c-documentArticle:first-of-type,
  :is([class*="fs-body-category"], .fs-body-product, .pet-species-page) .fs-c-documentArticle:last-of-type,
  :is([class*="fs-body-category"], .fs-body-product, .pet-species-page) .fs-c-documentArticle:first-of-type:last-of-type {
    border-radius: 0;
  }

  :is([class*="fs-body-category"], .fs-body-product, .pet-species-page) .fs-c-documentArticle:last-of-type {
    padding: 32px 4.5cqw;
    margin-bottom: 40px;
  }

  .fs-c-documentArticle__heading,
  h2.fs-c-documentColumn__heading,
  .fs-c-wishlistProduct__title {
    margin-bottom: 16px;
    padding-left: 11px;
    font-size: 17px;
    line-height: 1.3;
  }

  h3.fs-c-documentColumn__heading,
  .default_h3 {
    margin-bottom: 12px;
    padding: 10px 12px;
    font-size: 15px;
  }

  :is([class*="fs-body-category"], .fs-body-product, .pet-species-page) .fs-c-documentArticle > p,
  :is([class*="fs-body-category"], .fs-body-product, .pet-species-page) .fs-c-documentArticle__content > :is(p, .lists, .inline) {
    padding: 16px 12px 16px 2.2em;
    font-size: 13px;
  }

  .fs-c-subgroup .fs-c-subgroupList,
  .fs-c-subgroupList {
    gap: 8px;
    grid-gap: 8px;
  }

  :is(.fs-c-documentArticle, .page-main) .fs-c-subgroupList {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .fs-c-subgroupList__link {
    gap: 12px;
    padding: 10px 24px 10px 10px;
  }

  .fs-c-subgroupList__label {
    font-size: 12px;
  }

  .list-anchor {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 32px;
  }

  .list-anchor li {
    flex: none;
    width: 100%;
  }

  .list-anchor a {
    justify-content: flex-start;
    padding: 0.5em 2em 0.5em 0.75em;
    text-align: left;
  }

  .list-anchor a::after {
    right: 1em;
    bottom: auto;
    top: 50%;
    margin-right: 0;
    margin-top: -4px;
  }

  .fs-c-documentSubColumn__heading,
  .fs-c-shippingCarrierInfo__heading,
  .fs-c-documentSubContent__heading {
    margin: 20px 0 10px;
    font-size: 14px;
  }

    .fs-c-documentArticle__heading,
    .fs-c-wishlistProduct__title {
    margin-bottom: 12px;
    font-size: 17px;
  }
}

@media (max-width: 767px) {
  .pl-article {
    display: flex;
    align-items: flex-start;
    gap: 12px;
  }

  .pl-article__thumb {
    flex-shrink: 0;
    width: 120px;
    height: auto;
    margin-bottom: 0;
    aspect-ratio: 3 / 2;
  }

  .pl-article__title {
    font-size: 13px;
  }
}

/* フッター */
.site-footer {
  width: 100%;
  padding: 0 4% 36px;
  background: var(--color-bg-footer);
}

.site-footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto 40px;
  container-type: inline-size;
}

.site-footer__left {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding-top: 48px;
}

.site-footer__logo {
  display: block;
  width: 240px;
  height: 46px;
}

.site-footer__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 40px 0 48px;
}

.footer-nav__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.footer-nav__row li {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-nav__row li:not(:last-child)::after {
  content: "";
  display: block;
  width: 1px;
  height: 12px;
  background: var(--color-bg-02);
  flex-shrink: 0;
}

.footer-nav__link,
.footer-nav__link:link,
.footer-nav__link:visited {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--color-text-02);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.footer-nav__link:hover {
  color: var(--color-primary-blue);
}

.footer-pay {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.footer-pay li {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 34px;
  padding: 3px;
  border-radius: 3px;
  background: var(--color-white);
}

.footer-pay img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.site-footer__right {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 48px;
  flex-shrink: 0;
  width: 221px;
  padding-top: 50px;
}

.footer-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.footer-cta .btn-cta {
  padding: 16px 24px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
}

.footer-cta .btn-cta--consult {
  padding: 14px 24px;
  border-color: var(--color-green);
}

.footer-cta .btn-cta .menu-section__chevron {
  right: 16px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer-contact__fax {
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--color-text-02);
  white-space: nowrap;
  margin: 0;
}

.footer-contact__note {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--color-text-03);
  margin: 0;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  container-type: inline-size;
}

.site-footer__copyright {
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--color-text-03);
}

.site-footer__brand-link,
.site-footer__brand-link:link,
.site-footer__brand-link:visited {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--color-primary-blue);
  white-space: nowrap;
}

.site-footer__brand-link:hover {
  text-decoration: underline !important;
}

.site-footer__brand-link img {
  width: 11px;
  height: 11px;
  object-fit: contain;
}

/* SP固定タブバー（PCでは非表示） */
.tab-bar,
.search-popup {
  display: none;
}

/* SP：767px以下 */
@media (max-width: 767px) {
  .site-footer {
    display: flex;
    flex-direction: column;
    /* 追従メニュー分をフッター内（グレー）で確保。勢いスクロール時の白チラつき防止 */
    padding: 0 0 calc(var(--tab-bar-height) + env(safe-area-inset-bottom, 0px));
  }

  .site-footer__inner,
  .site-footer__left,
  .site-footer__right {
    display: contents;
  }

  .site-footer__logo {
    order: 1;
    width: 202px;
    height: 38px;
    margin: 32px auto 0;
  }

  .footer-nav {
    order: 2;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0;
    margin-top: 28px;
    border-top: 1px solid var(--color-bg-02);
  }

  .footer-nav__row {
    display: contents;
  }

  .footer-nav__row li {
    gap: 0;
    border-bottom: 1px solid var(--color-bg-02);
  }

  .footer-nav__row li:nth-child(odd) {
    border-right: 1px solid var(--color-bg-02);
  }

  .footer-nav__row li:not(:last-child)::after {
    display: none;
  }

  .footer-nav__link {
    width: 100%;
    justify-content: center;
    padding: 20px 0;
    font-size: 13px;
    letter-spacing: 0.01em;
    white-space: normal;
    text-align: center;
    line-height: 1;
  }

  .footer-cta {
    order: 3;
    width: calc(100% - 32px);
    max-width: 310px;
    margin: 32px auto 0;
    gap: 14px;
  }

  .footer-contact {
    order: 4;
    width: 100%;
    margin-top: 28px;
    align-items: center;
    text-align: center;
    gap: 8px;
  }

  .footer-contact__fax {
    font-size: 23px;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--color-text-02);
  }

  .footer-contact__note {
    font-size: 12.5px;
    line-height: 1.5;
    letter-spacing: 0.02em;
  }

  .footer-pay {
    order: 5;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    width: calc(48px * 4 + 8px * 3);
    margin: 32px auto 0;
  }

  .site-footer__bottom {
    order: 6;
    flex-direction: column-reverse;
    align-items: center;
    gap: 28px;
    width: 100%;
    max-width: none;
    margin: 28px auto 0;
    padding: 0 16px 16px;
    text-align: center;
  }

  .tab-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    display: flex;
    align-items: stretch;
    height: calc(var(--tab-bar-height) + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--color-bg-footer);
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.03);
  }

  .tab-bar__item {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 48px;
    padding: 6px 0;
    cursor: pointer;
    transition: opacity 0.2s ease;
  }

  .tab-bar__item:hover {
    opacity: 0.7;
  }

  .tab-bar__item img {
    width: 20px;
    height: 20px;
    object-fit: contain;
  }

  .tab-bar__label {
    font-size: 8.5px;
    font-weight: 400;
    line-height: 1;
  }

  body.menu-is-open .tab-bar {
    display: none;
  }

  .search-popup.is-open {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 920;
  }

  .search-popup__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-black);
    opacity: 0.5;
  }

  .search-popup__panel {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    width: calc(100% - 9cqw);
    max-width: 400px;
    padding: 16px;
    background: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translate(-50%, -50%);
  }

  .search-form--popup {
    width: 100%;
    height: 44px;
  }

  .search-form--popup .search-form__input {
    font-size: 16px;
  }
}

/* お気に入り／商品カルーセルの縦型カード */
.fs-c-productListCarousel .slick-list {
  margin: 0 -8px;
}

.fs-c-productListCarousel .slick-slide {
  padding: 0 8px;
}

.fs-c-productListCarousel .slick-slide > div {
  height: 100%;
}

.fs-c-productListCarousel .fs-c-productListItem {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  padding: 0;
  border: none;
  background: var(--color-white);
}

.fs-c-productListCarousel .fs-c-productListItem__imageContainer {
  position: static;
  left: auto;
  top: auto;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  background: var(--color-bg-01);
  transform: none;
}

.fs-c-productListCarousel .fs-c-productListItem__image,
.fs-c-productListCarousel .fs-c-productListItem__image a {
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 4px;
}

.fs-c-productListCarousel .fs-c-productListItem__image img,
.fs-c-productListCarousel .fs-c-productListItem__image__image {
  display: block;
  width: 100%;
  aspect-ratio: 184 / 180;
  object-fit: cover;
  border-radius: 4px;
}

.fs-c-productListCarousel .fs-c-productListItem__productName {
  width: 100%;
  margin: 10px 0 0;
  padding: 0;
  border: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.fs-c-productListCarousel .fs-c-productListItem .fs-c-productName__name {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.fs-c-productListCarousel .fs-c-productListItem__productName a {
  color: var(--color-black);
  text-decoration: none;
}

.fs-c-productListCarousel .fs-c-productListItem .productRating {
  margin: 6px 0 0;
  font-size: 13px;
}

.fs-c-productListCarousel .fs-c-productListItem__prices,
.fs-c-productListCarousel .fs-c-productListItem .fs-c-productPrices {
  display: flex;
  align-items: baseline;
  width: 100%;
  margin: 6px 0 0;
  padding: 0;
}

.fs-c-productListCarousel .fs-c-productListItem .fs-c-productPrice--selling,
.fs-c-productListCarousel .fs-c-productListItem .fs-c-productPrice__main {
  display: flex;
  align-items: baseline;
  gap: 1px;
}

.fs-c-productListCarousel .fs-c-productListItem .fs-c-price,
.fs-c-productListCarousel .fs-c-productListItem .fs-c-price__value {
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: 0.01em;
  color: var(--color-red);
}

.fs-c-productListCarousel .fs-c-productListItem .fs-c-price__currencyMark {
  font-size: 19px;
  font-weight: 700;
  line-height: 28px;
  color: var(--color-red);
}

.fs-c-productListCarousel .fs-c-productListItem .fs-c-productPrice__addon,
.fs-c-productListCarousel .fs-c-productListItem .fs-c-productPrice__addon__label {
  margin-left: 2px;
  font-size: 9px;
  font-weight: 500;
  line-height: 1;
  color: var(--color-red);
}

.fs-c-productListCarousel .fs-c-productListItem__numberOfStock,
.fs-c-productListCarousel .fs-c-productListItem__lowInStock,
.fs-c-productListCarousel .fs-c-productListItem__outOfStock,
.fs-c-productListCarousel .fs-c-productPrice__main__label,
.fs-c-productListCarousel .fs-c-button--addToCart--list,
.fs-c-productListCarousel .fs-c-productListItem__control form {
  display: none !important;
}

.fs-c-productListCarousel .fs-c-productListItem__control {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
}

.fs-c-productListCarousel .fs-c-button--addToWishList--icon,
.fs-c-productListCarousel .fs-c-button--removeFromWishList--icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  overflow: hidden;
  border: none;
  border-radius: 50%;
  font-size: 0;
  line-height: 0;
  color: transparent;
  background: rgb(255 255 255 / 0.9) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='16' viewBox='0 0 19 16' fill='none'%3E%3Cpath d='M17.2015 1.74715C16.3866 0.946951 15.3 0.5 14.1695 0.5C13.0391 0.5 11.9525 0.946951 11.1376 1.74715L9.45631 3.41417L7.76689 1.74715C6.93272 0.964323 5.83372 0.542511 4.70118 0.570494C3.56865 0.598477 2.4909 1.07407 1.69478 1.89718C0.929762 2.67871 0.5 3.73855 0.5 4.84363C0.5 5.94871 0.929762 7.00854 1.69478 7.79007L9.48079 15.5L15.5447 9.46542L17.2342 7.79841C17.6342 7.40918 17.9526 6.94106 18.1702 6.4224C18.3878 5.90375 18.5 5.34537 18.5 4.78111C18.5 4.21686 18.3878 3.65848 18.1702 3.13983C17.9526 2.62117 17.6342 2.15305 17.2342 1.76382L17.2015 1.74715Z' stroke='%23868B90' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px 15px no-repeat;
  cursor: pointer;
}

.fs-c-productListCarousel .fs-c-button--removeFromWishList--icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='16' viewBox='0 0 19 16' fill='none'%3E%3Cpath d='M17.2015 1.74715C16.3866 0.946951 15.3 0.5 14.1695 0.5C13.0391 0.5 11.9525 0.946951 11.1376 1.74715L9.45631 3.41417L7.76689 1.74715C6.93272 0.964323 5.83372 0.542511 4.70118 0.570494C3.56865 0.598477 2.4909 1.07407 1.69478 1.89718C0.929762 2.67871 0.5 3.73855 0.5 4.84363C0.5 5.94871 0.929762 7.00854 1.69478 7.79007L9.48079 15.5L15.5447 9.46542L17.2342 7.79841C17.6342 7.40918 17.9526 6.94106 18.1702 6.4224C18.3878 5.90375 18.5 5.34537 18.5 4.78111C18.5 4.21686 18.3878 3.65848 18.1702 3.13983C17.9526 2.62117 17.6342 2.15305 17.2342 1.76382L17.2015 1.74715Z' fill='%23F35353' stroke='%23F35353' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.fs-c-productListCarousel .fs-c-button--addToWishList--icon::before,
.fs-c-productListCarousel .fs-c-button--removeFromWishList--icon::before {
  content: none;
  display: none;
}

.fs-c-productListCarousel .fs-c-button--addToWishList--icon .fs-c-button__label,
.fs-c-productListCarousel .fs-c-button--removeFromWishList--icon .fs-c-button__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* 汎用テーブル（フリーページ・商品詳細など） */
.table-usually {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--color-bg-02);
  border-radius: 6px;
  overflow: hidden;
}

.table-usually th,
.table-usually td {
  padding: 14px 12px;
  border-right: 1px solid var(--color-bg-02);
  border-bottom: 1px solid var(--color-bg-02);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 400;
  text-align: left;
  vertical-align: middle;
}

.table-usually th:last-child,
.table-usually td:last-child {
  border-right: none;
}

.table-usually tr:last-child th,
.table-usually tr:last-child td {
  border-bottom: none;
}

.table-usually th {
  width: 100px;
  background: var(--color-bg-01);
  font-weight: 700;
  text-align: center;
}

:is([class*="fs-body-category"], .pet-species-page) .table-usually th,
:is([class*="fs-body-category"], .pet-species-page) .table-usually td {
  background: var(--color-white);
}

@media (max-width: 767px) {
  .table-usually,
  .table-usually tbody,
  .table-usually tr,
  .table-usually th,
  .table-usually td {
    display: block;
    width: 100%;
  }

  .table-usually {
    overflow: hidden;
    border-radius: 6px;
  }

  .table-usually th,
  .table-usually td {
    box-sizing: border-box;
    border-right: none;
    text-align: left;
  }

  .table-usually th {
    width: 100%;
    font-weight: 700;
    background: var(--color-bg-01);
  }

  .table-usually td {
    background: var(--color-white);
  }

  .table-usually tr:last-child th {
    border-bottom: 1px solid var(--color-bg-02);
  }

  .table-usually tr:last-child td {
    border-bottom: none;
  }
}

/* 入力テーブル */
.fs-c-inputTable,
.fs-c-inputTable table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--color-bg-02);
  border-radius: 6px;
  overflow: hidden;
}
.fs-c-inputTable > tbody > tr + tr {
  margin-top: 0;
}
.fs-c-inputTable td {
  border-bottom: 1px solid var(--color-bg-02);
}

.fs-c-inputTable th,
.fs-c-inputTable td {
  padding: 14px 12px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  vertical-align: middle;
}

.fs-c-inputTable th:last-child,
.fs-c-inputTable td:last-child {
  border-right: none;
}

.fs-c-inputTable tr:last-child th,
.fs-c-inputTable tr:last-child td {
  border-bottom: none;
}

.fs-c-inputTable th {
  background: var(--color-bg-01);
  font-weight: 500;
  text-align: left;
}

@media (max-width: 767px) {
  .fs-c-inputTable th,
  .fs-c-inputTable td {
    padding: 12px 10px;
    font-size: 12px;
  }
}

/* カート表：共通 img{width:100%} と SP767 で既定グリッドが崩れるのを戻す */
.fs-c-button--primary {
  box-shadow: none;
  padding: 1em 0 1em;
  font-size: 15px;
  font-weight: 500;
}

.fs-c-purchaseHere__message {
  text-align: center;
}

.fs-c-cartTable__product {
  grid-template-columns: 90px 1fr;
}
.fs-c
-cartTable__product > .fs-c-cartTable__productImage {
  padding-right: 0;
}

.fs-c-cartTable__actionButton__container + .fs-c-cartTable__actionButton__container {
  border-color: var(--color-bg-02);
}

.fs-c-cartTable__message {
  border-radius: 3px;
  padding: 2px 5px 2px;
  margin-bottom: 6px;
  font-size: 9px;
}

.fs-c-cartTable__message--chilledAndFrozenDeliveryAvailable,
.fs-c-cartTable__message--frozenDelivery {
  background: var(--color-primary-blue);
}
.fs-c-cartTable__product > .fs-c-cartTable__productImage {
  padding-right: 2px;
}
.fs-c-productImage__image {
  border-radius: 4px;
}
.fs-p-announcement {
  margin: 40px 0;
  background: var(--color-bg-01);
  padding: 24px 20px 20px;
  border-radius: 8px;
}

@media screen and (min-width: 600px) {
  .fs-c-cartTableContainer {
      border: none;
      padding: 0;
  }
}

@media (max-width: 600px) {
  .fs-c-button--primary {
    width: 100%;
  }

  .fs-c-cartTable__row {
    grid-template-columns: 50% 50%;
    grid-template-rows: 1fr auto auto;
    border: 1px solid var(--color-bg-02);
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 16px;
  }
  .fs-c-cartTable__productImage__image {
    padding-right: 0;
  }
  .fs-c-listedProductName {
    line-height: 1.4;

  }
  .fs-c-cartTable__dataCell--product {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
  }
  .fs-c-cartTable__dataCell--quantity {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    justify-content: flex-end;
  }
  .fs-c-cartTable__dataCell--subtotal,
  .fs-c-cartTable__dataCell--unitPrice {
    grid-column: 2 / 3;
    grid-row: 3 / 4;

  }
  .fs-c-cartTable__dataCell--point {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    width: fit-content;
  }
  .fs-c-cartTable__dataCell--action {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
  }
  .fs-c-cartTable__actionButton__container {
    width: fit-content;
    padding-right: 4px;
  }
  .fs-c-totalAndActions {
    margin-top: 40px;
  }
  .fs-c-cartTable__dataCell--point::before, .fs-c-cartTable__dataCell--quantity::before, .fs-c-cartTable__dataCell--subtotal::before {
    font-weight: 500;
    font-size: 11px;
  }
}
.fs-body-my-top .fs-c-accountService {
  flex-basis: auto;
}

@media (max-width: 767px) {
  .fs-c-accountService {
    justify-content: center;
  }
}

/* カート「ショッピングを続ける」：テーマのリンクボタン（白地・青文字・青罫線） */
.fs-c-continueShopping {
  text-align: center;
  margin-bottom: 40px;
}

.fs-c-continueShopping .fs-c-button--continueShopping,
.fs-c-continueShopping .fs-c-button--continueShopping:link,
.fs-c-continueShopping .fs-c-button--continueShopping:visited,
.fs-c-continueShopping .fs-c-button--continueShopping:hover,
.fs-c-continueShopping .fs-c-button--continueShopping:active {
  background: var(--color-white);
  border: 1px solid var(--color-primary-blue);
  border-radius: 6px;
  box-shadow: none;
  color: var(--color-primary-blue);
  min-width: initial;
}

.fs-c-continueShopping .fs-c-button--continueShopping:hover {
  opacity: 0.85;
}

