/* 月夜野ファーム 共通スタイルシート
 * ブレイクポイント: 768px
 * - 768px以上 → PC
 * - 767px以下 → SP
 */

:root {
  /* Colors */
  --color-white: #ffffff;
  --color-black: #000000;
  --color-primary-blue: #008cd6;
  --color-primary-green: #53af03;
  --color-green: #8ec31f;
  --color-green-dark: #53af03;
  --color-red: #f02828;
  --color-star: #c78d2f;
  --color-accent-yellow: #f5c518;
  --color-badge-new: #f08300;
  --color-text-02: #666666;
  --color-text-03: #999999;
  --color-text-04: #728496;
  --color-placeholder: #c0c7ce;
  --color-wish: #868b90;
  --color-pager-active: #666666;
  --color-slider-active: #868b90;
  --color-bg-01: #f6f7f8;
  --color-bg-02: #dde0e4;
  --color-bg-04: #868b90;
  --color-bg-footer: #eff0f2;
  --color-bg-overlay: #bebebe;

  /* Layout */
  --font-family: "Noto Sans JP", sans-serif;
  --header-padding-x: 4%;
  --bp-sp: 767px;
  --menu-width: 346px;
  --container-max: 1200px;
  --container-pad: 4%;
  --side-width: 200px;
  --side-min: 176px;
  --side-gap: 4%;
  --card-gap: 1.5cqw; /* カード並び用（コンテンツ幅1200基準・旧mainの2cqw相当） */
  --tab-bar-height: 48px;
  --hover-opacity: 0.6;
}

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

/* 表示切替ユーティリティ
 * sp-only … SP（767px以下）のみ表示
 * pc-only … PC（768px以上）のみ表示
 */
.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);
  color: var(--color-black);
  background: var(--color-white);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font-family: 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（共通） ========== */
.site-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);
}

/* お知らせバー */
.site-header__announce {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 16px;
  background: var(--color-primary-blue);
}

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

/* SP行はPCでは非表示 */
.site-header__sp {
  display: none;
}

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

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

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

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

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

.site-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);
  outline: none;
}

.search-form__input::placeholder {
  color: var(--color-placeholder);
}

.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;
}

/* 右側ユーティリティ */
.site-header__right {
  display: flex;
  align-items: center;
  gap: 2cqw;
  flex-shrink: 0;
}

.site-header__wholesale {
  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;
}

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

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

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

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

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

.site-header__icon-link:hover {
  opacity: 0.7;
}

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

.site-header__icon-link--cart {
  width: 20px;
  height: 20px;
}

.site-header__icon-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-header__login {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.site-header__login:hover {
  opacity: 0.7;
}

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

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

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

/* グローバルナビ */
.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;
  color: #999;
  font-size: 14px;
}

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

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

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

  /* PCボディを隠す */
  .site-header__body {
    display: none;
  }

  /* SPメイン行を表示 */
  .site-header__sp {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 4.5cqw;
  }

  .site-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;
  }

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

  /* hamburger-menu.css の .menu-open-btn 上書き（デモ用3本線を無効化） */
  .site-header__menu-btn.menu-open-btn {
    flex-direction: row;
    gap: 0;
    width: 44px;
    height: 44px;
    padding: 0;
  }

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

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

  /* カート + バッジ */
  .site-header__cart {
    position: relative;
    display: block;
    width: 30px;
    height: 27px;
    flex-shrink: 0;
  }

  .site-header__cart-icon {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 20px;
    height: 20px;
    overflow: hidden;
  }

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

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

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

  .site-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);
  }

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

.demo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-bg-02);
}

.demo-header__title {
  font-size: 14px;
  font-weight: 500;
}

.demo-header .menu-open-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 10px;
}

.demo-header .menu-open-btn span {
  display: block;
  height: 2px;
  background: var(--color-black);
  border-radius: 1px;
}

/* Overlay */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--color-bg-overlay);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

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

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

/* Close button (on overlay area) */
.menu-close-btn {
  position: fixed;
  top: 13px;
  left: calc(min(var(--menu-width), 90vw) + 11px);
  z-index: 1002;
  width: 21px;
  height: 23px;
  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 img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Sections */
.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--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;
}

/* Section headers */
.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;
}

.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;
}

.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 buttons */
.account-actions {
  display: flex;
  gap: 10px;
  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 {
  flex: 1;
  padding: 4px 16px;
  min-height: 36px;
}

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

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

/* Grid chips */
.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: 3px;
  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;
}

/* Pet groups */
.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 utility links */
.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 buttons */
.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 {
  background: var(--color-primary-blue);
  color: var(--color-white);
}

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

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

/* About brand link */
.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 lock when menu / search popup open */
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;
  }
}

/* ========== レイアウト ========== */
.l-container {
  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 の基準（コンテンツ幅） */
}

.l-side {
  min-width: 0;
  width: auto;
}

.l-main {
  min-width: 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;
}

/* ========== ヒーロースライダー ========== */
.hero {
  padding: 24px 0 0;
}

.hero__viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.hero__track {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  will-change: transform;
  transition: transform 0.4s ease;
}

.hero__slide {
  flex: 0 0 auto;
  width: 500px;
}

.hero__slide a {
  display: block;
  overflow: hidden;
  border-radius: 16px;
}

.hero__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: opacity 0.2s ease;
}

.hero__slide a:hover .hero__img {
  opacity: 0.9;
}

.hero__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  transform: translateY(-50%);
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.hero__arrow:hover {
  opacity: 0.75;
}

.hero__arrow img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.hero__arrow--prev {
  left: 40px;
}

.hero__arrow--next {
  right: 40px;
}

.hero__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.hero__dot {
  width: 32px;
  height: 4px;
  padding: 0;
  border-radius: 2px;
  background: var(--color-bg-02);
  cursor: pointer;
  transition: background 0.2s ease;
}

.hero__dot.is-active {
  background: var(--color-slider-active);
}

/* ========== サイドバー ========== */
.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 {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-bg-02);
  font-size: 14px;
  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 {
  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 {
  padding-left: 16px;
}

.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（青への色変化なし）
 */
.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);
}

/* ========== 1. ピックアップ ========== */
.tabs {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tabs__item {
  position: relative;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  padding: 4px 24px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--color-text-02);
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* 非アクティブ同士の間だけ縦線 */
.tabs__item:not(.is-active) + .tabs__item:not(.is-active)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 16px;
  background: var(--color-bg-02);
  transform: translateY(-50%);
}

.tabs__item:hover:not(.is-active) {
  color: var(--color-primary-blue);
}

.tabs__item.is-active {
  min-width: 80px;
  padding: 5px 24px;
  border-color: var(--color-primary-blue);
  background: var(--color-primary-blue);
  color: var(--color-white);
}

.product-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--card-gap);
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-card__thumb {
  overflow: hidden;
  margin-bottom: 4px;
  border-radius: 8px;
  background: var(--color-bg-01);
}

.product-card__thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.product-card__title {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.product-card__review {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  line-height: 1;
  color: var(--color-star);
}

.product-card__stars {
  letter-spacing: 0.05em;
}

.product-card__count {
  color: var(--color-text-03);
}

.product-card__price {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-red);
}

.product-card__tax {
  margin-left: 4px;
  font-size: 11px;
  font-weight: 400;
}

/* ========== 2. 選ばれる理由 ========== */
.features {
  display: flex;
  align-items: stretch;
  gap: 2px;
}

.features__item {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-width: 0;
  min-height: 160px;
  padding: 20px 10px;
  background: var(--color-bg-footer);
}

.features__item:first-child {
  border-radius: 8px 0 0 8px;
}

.features__item:last-child {
  border-radius: 0 8px 8px 0;
}

.features__icon {
  display: block;
  flex-shrink: 0;
  width: 72px;
  height: 72px;
}

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

.features__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
}

.features__lead {
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--color-black);
  white-space: nowrap;
}

.features__item:last-child .features__lead {
  font-size: 9.5px;
  letter-spacing: 0.03em;
}

.features__main {
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  color: #f05300;
  white-space: nowrap;
}

/* ========== 3. 商品ラインナップ ========== */
.lineup {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--card-gap);
  margin-bottom: 16px;
}

.lineup-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 228 / 150;
  border-radius: 6px;
}

.lineup-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lineup-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 6px;
  pointer-events: none;
}

.lineup-card--green::after {
  background: rgba(66, 140, 2, 0.65);
}

.lineup-card--orange::after {
  background: rgba(192, 66, 0, 0.65);
}

.lineup-card--yellow::after {
  background: rgba(192, 144, 0, 0.65);
}

.lineup-card--blue::after {
  background: rgba(0, 112, 171, 0.65);
}

.lineup-card__body {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 0;
  color: var(--color-white);
  text-align: center;
}

.lineup-card__title {
  /* 798px → 17.5px / 1200px → 20px */
  font-size: clamp(
    17.5px,
    calc(17.5px + (20 - 17.5) * ((100vw - 798px) / (1200 - 798))),
    20px
  );
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.lineup-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--color-white);
  white-space: nowrap;
}

.lineup-card__more img {
  width: 3.5px;
  height: 7px;
  object-fit: contain;
}

/* チップ一覧（ラインナップ下 / 検索） */
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-list--lineup {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--card-gap);
}

.chip-list__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 18px;
  border: 1px solid var(--color-bg-02);
  border-radius: 4px;
  background: var(--color-white);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.chip-list--lineup .chip-list__item {
  width: 100%;
  min-height: 45px;
  padding: 14px 8px;
  border-radius: 6px;
  font-size: 14px;
  letter-spacing: 0.01em;
}

.chip-list__item:hover {
  border-color: var(--color-primary-blue);
  color: var(--color-primary-blue);
}

/* ========== 4. 商品検索 ========== */
.sec--search {
  padding: 2.5cqw 3cqw 3cqw;
  border-radius: 12px;
  background: var(--color-bg-01);
}

.search-box {
  padding: 0;
  background: transparent;
}

.search-box .sec-ttl {
  margin-bottom: 20px;
}

.search-box__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 16px;
}

.search-tag {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-primary-blue);
}

.search-tag:hover {
  text-decoration: underline;
}

.search-box__form {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  margin-bottom: 24px;
  padding: 0 16px;
  border: 1px solid var(--color-bg-02);
  border-radius: 8px;
  background: var(--color-white);
}

.search-box__input {
  flex: 1;
  min-width: 0;
  height: 100%;
  font-size: 14px;
  line-height: 1.4;
  outline: none;
}

.search-box__input::placeholder {
  color: var(--color-placeholder);
}

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

.search-box__submit img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.chip-list--search .chip-list__item {
  border-color: transparent;
}

/* ========== 5. 選び方ガイドバナー ==========
 * PC/SPとも中央テキスト＋左右イラストは absolute で枠から微妙に見切れ
 */
.guide-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  padding: 3.5cqw 0;
  border-radius: 12px;
  background: var(--color-primary-blue);
  color: var(--color-white);
  transition: opacity 0.2s ease;
}

.guide-banner:hover {
  opacity: 0.92;
}

.guide-banner__illust {
  position: absolute;
  top: 50%;
  z-index: 0;
  display: block;
  pointer-events: none;
  transform: translateY(-50%);
}

.guide-banner__illust--left {
  left: -3.5%;
  width: 32%;
}

.guide-banner__illust--right {
  right: -3.5%;
  width: 30%;
}

.guide-banner__illust img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.guide-banner__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.guide-banner__lead {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.guide-banner__title {
  font-size: 23px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.guide-banner__en {
  position: relative;
  z-index: 1;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.03em;
  color: var(--color-green);
}

/* ========== 6. お得なご案内 ==========
 * PC: 上段2件（各3カラム）+ 下段3件（各2カラム）= 6カラムグリッド
 * SP: 先頭1件全幅 + 残り2列
 */
.info {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 3cqw 2cqw;
  align-items: start;
}

.info > .info-card:nth-child(1),
.info > .info-card:nth-child(2) {
  grid-column: span 3;
}

.info > .info-card:nth-child(n + 3) {
  grid-column: span 2;
}

.info-card__link {
  display: block;
}

.info-card__thumb {
  overflow: hidden;
  margin-bottom: 8px;
  border-radius: 6px;
  background: var(--color-bg-01);
}

.info > .info-card:nth-child(-n + 2) .info-card__thumb {
  border-radius: 8px;
}

.info-card__thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 173 / 97;
  object-fit: cover;
}

.info-card__meta {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--color-text-03);
}

.info-card__sep {
  display: block;
  width: 1px;
  height: 10px;
  background: var(--color-bg-02);
}

.info-card__cat {
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--color-text-03);
}

.info-card__title {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.01em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.info > .info-card:nth-child(-n + 2) .info-card__title {
  font-size: 13px;
}

/* ========== 7. 飼育するペットから探す ========== */
.pet-blocks {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pet-block {
  display: flex;
  align-items: flex-start;
  gap: 2.5cqw;
  padding: 3cqw 3cqw 2.5cqw;
  border-radius: 12px;
  background: var(--color-bg-01);
}

.pet-block__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  flex-shrink: 0;
}

.pet-block__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.pet-block__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--color-primary-blue);
}

.pet-block__link:hover {
  text-decoration: underline;
}

.pet-block__link img {
  width: 3.5px;
  height: 7px;
  object-fit: contain;
}

.pet-block__body {
  flex: 1;
  min-width: 0;
}

.pet-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2cqw var(--card-gap);
}

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

.pet-item__thumb {
  display: block;
  overflow: hidden;
  width: 100%;
  border-radius: 6px;
  background: var(--color-bg-footer);
}

.pet-item__thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.pet-item__name {
  width: 100%;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

/* SPアコーディオン用ボタン（PCでは非表示） */
.pet-block__more {
  display: none;
}

.pet-block__more-label--close,
.pet-block__more-icon--minus {
  display: none;
}

.pet-block.is-open .pet-block__more-label--open,
.pet-block.is-open .pet-block__more-icon--plus {
  display: none;
}

.pet-block.is-open .pet-block__more-label--close {
  display: inline;
}

.pet-block.is-open .pet-block__more-icon--minus {
  display: block;
}

/* ========== ペットから探すページ ========== */
.pets-page__intro {
  margin-bottom: 4cqw;
}

.pets-page__lead {
  margin: 0 0 40px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-black);
}

.pets-page__list {
  margin-bottom: 48px;
}

.pets-page__guide {
  margin-bottom: 0;
}

.pets-page .pet-block__more {
  display: none;
}

/* ========== ペットカテゴリ詳細（爬虫類など） ========== */
.pet-cat-page__intro {
  margin-bottom: 4cqw;
}

.pet-cat-page__lead {
  margin: 0 0 40px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-black);
}

.pet-cat-page__pets {
  margin-bottom: 48px;
}

.pet-cat-page__guide {
  margin-bottom: 48px;
}

.pet-cat-page__feeds .pd-h2 {
  margin-bottom: 24px;
}

.feed-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
}

.feed-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 70px;
  padding: 10px 14px;
  border: 1px solid var(--color-bg-footer);
  border-radius: 6px;
  background: var(--color-white);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.feed-card:hover {
  border-color: var(--color-primary-blue);
  background: var(--color-bg-01);
}

.feed-card__thumb {
  display: block;
  overflow: hidden;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 4px;
  background: var(--color-bg-01);
}

.feed-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feed-card__name {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

/* ========== ペット種詳細（オオトカゲなど） ========== */
.pet-species-page__intro {
  margin-bottom: 4cqw;
}

.pet-species-page__intro .page-title {
  margin-bottom: 32px;
}

.pet-species-page__intro .pl-intro__figure {
  /* 種ページのヒーローは 3:2 寄りの比率 */
  aspect-ratio: 3 / 2;
}

.pet-species-page__intro .pl-intro__figure img {
  aspect-ratio: 3 / 2;
}

.pet-species-page__intro .pl-heading {
  line-height: 1.5;
}

.pet-species-page__intro .pl-heading::before {
  content: none;
}

.pet-species-page__panel {
  margin-bottom: 56px;
}

.pet-species-page__photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0 32px 40px;
}

.pet-species-page__photos figure {
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 1 / 1;
  background: var(--color-bg-01);
}

.pet-species-page__photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pet-species-page__cats .pd-h2 {
  margin-bottom: 24px;
}

.pet-species-page__guide {
  margin-bottom: 0;
}

/* ========== 8. エサ研究室 ========== */
.lab {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3cqw 2cqw;
}

.lab-card {
  display: block;
}

.lab-card__thumb {
  overflow: hidden;
  margin-bottom: 12px;
  border-radius: 8px;
  background: var(--color-bg-01);
}

.lab-card__thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.lab-card__title {
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.lab-card__desc {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--color-black);
}

/* ========== 9. 月夜野ファームとは ========== */
.about {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5cqw;
  overflow: hidden;
  padding: 4cqw 0 3.5cqw;
  border-radius: 12px;
  text-align: center;
  color: var(--color-white);
}

.about__thumb {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

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

.about::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.42);
}

.about > *:not(.about__thumb) {
  position: relative;
  z-index: 2;
}

.about.u-hover:hover .about__title,
.about.u-hover:hover .about__text,
.about.u-hover:hover .about__btn {
  color: var(--color-white);
}

.about__title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
}

.about__text {
  max-width: 560px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
}

.about__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  margin-top: 6px;
}

.about__btn img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

/* ========== 10. お知らせ ========== */
.news {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--card-gap);
}

.news-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 16px;
  border: 1px solid var(--color-bg-02);
  border-radius: 8px;
  transition: border-color 0.2s ease;
}

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

.news-link__date {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-text-03);
}

.news-link__title {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
}

/* ========== SP：767px以下 ========== */
@media (max-width: 767px) {
  /* 追従メニュー用の余白は body（白）ではなく .site-footer（グレー）側で確保 */

  /* レイアウト */
  .l-container {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    padding: 0 0 48px;
  }

  .l-side {
    display: none;
  }

  .l-main {
    min-width: 0;
    max-width: none;
  }

  /* SPコンテンツ枠：左右 4.5cqw（サイト共通 .sec） */
  .sec {
    margin-bottom: 10cqw;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 4.5cqw;
    padding-right: 4.5cqw;
  }
  .sec--pickup {
    margin-top: 24px;
    /* 横スクロール要素が端まで届くよう、セクション左右パディングは持たない */
    padding-left: 0;
    padding-right: 0;
  }

  .sec--pickup .sec-ttl {
    box-sizing: border-box;
    width: calc(100% - 9cqw);
    margin-inline: auto;
  }

  .sec > *:not(.product-list):not(.tabs) {
    margin-inline: auto;
  }

  /* 背景付きブロックはボックス自体をインセット（グレー面を揃える） */
  .pl-panel,
  .pd-review {
    box-sizing: border-box;
    width: calc(100% - 9cqw);
    margin-inline: auto;
  }

  /* 見出し */
  .sec-ttl {
    margin-bottom: 16px;
    gap: 8px;
    font-size: 18px;
  }

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

  /* エサ研究室タイトル：SPは2行（2行目にドット＋LAB） */
  .sec-ttl--lab {
    flex-wrap: wrap;
    align-items: center;
    column-gap: 7px;
    row-gap: 0;
    font-size: 20px;
    line-height: 1.3;
    letter-spacing: 0.01em;
  }

  .sec-ttl--lab .sec-ttl__ja {
    display: contents;
  }

  .sec-ttl--lab .sec-ttl__ja-main {
    flex: 0 0 100%;
  }

  .sec-ttl--lab .sec-ttl__dots {
    gap: 4px;
    transform: none;
  }

  .sec-ttl--lab .sec-ttl__dots i {
    width: 5px;
    height: 5px;
  }

  .sec-ttl--lab .sec-ttl__en {
    letter-spacing: 0.03em;
    transform: none;
  }

  /* ヒーロー */
  .hero {
    padding: 0;
  }

  .hero__track {
    justify-content: flex-start;
    gap: 0;
  }

  .hero__slide {
    width: 100%;
  }

  .hero__slide a {
    border-radius: 0;
  }

  .hero__arrow {
    display: none;
  }

  .hero__dots {
    margin-top: 12px;
    gap: 6px;
  }

  .hero__dot {
    width: 24px;
    height: 3px;
  }

  /* ピックアップ */
  .tabs {
    box-sizing: border-box;
    width: calc(100% - 9cqw);
    margin-inline: auto;
    margin-bottom: 16px;
    padding: 0;
  }

  .tabs__item {
    min-width: 0;
    padding: 5px 11px;
    line-height: 1;
    font-size: 11px;
  }

  .tabs__item.is-active {
    min-width: 0;
    padding: 5px 12px;
    line-height: 1;
  }

  /* 開始位置は左右 4.5cqw。スクロールすると余白も流れて端（0）まで寄る */
  .product-list {
    display: flex;
    gap: 12px;
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 4.5cqw;
    scrollbar-width: none;
  }

  .product-list::-webkit-scrollbar {
    display: none;
  }

  .product-list__item {
    flex: 0 0 auto;
    width: 38%;
    min-width: 132px;
    scroll-snap-align: start;
  }

  .product-list__item:first-child {
    margin-left: 4.5cqw;
  }

  .product-list__item:last-child {
    margin-right: 4.5cqw;
  }

  .product-card__price {
    font-size: 15px;
  }

  /* 選ばれる理由 */
  .features__item {
    border-radius: 0;
    padding: 20px 6px;
  }

  .features__lead {
    font-size: 9px;
    letter-spacing: 0;
  }

  .features__item:last-child .features__lead {
    font-size: 8.5px;
  }

  .features__main {
    font-size: 15px;
    letter-spacing: 0.02em;
  }

  /* 商品ラインナップ */
  .lineup {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
  }

  .lineup__item {
    max-height: 110px;
  }

  /* SP並び: 冷凍 / 活 / マウス / ラット */
  .lineup__item--frozen {
    order: 1;
  }

  .lineup__item--fresh {
    order: 2;
  }

  .lineup__item--mouse {
    order: 3;
  }

  .lineup__item--rat {
    order: 4;
  }

  .lineup-card {
    aspect-ratio: initial;
    max-height: 110px;
  }

  .lineup-card__title {
    font-size: 18px;
  }

  .chip-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .chip-list--lineup {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .chip-list__item {
    min-height: 44px;
    padding: 8px;
    font-size: 12px;
  }

  .chip-list--lineup .chip-list__item {
    min-height: 45px;
    padding: 14px 8px;
    font-size: 13px;
  }

  /* 商品検索（背景は .sec 側） */
  .sec--search {
    padding: 32px 4.5cqw;
    border-radius: 0;
  }

  .search-box {
    padding: 0;
  }

  .search-box__form {
    height: 44px;
    margin-bottom: 20px;
  }

  /* ガイドバナー（中央テキスト＋左右イラスト見切れ） */
  .guide-banner {
    gap: 6px;
    min-height: 120px;
    padding: 20px 0;
    border-radius: 8px;
  }

  .guide-banner__illust--left {
    left: -130px;
    width: 230px;
  }

  .guide-banner__illust--right {
    right: -120px;
    width: 210px;
  }

  .guide-banner__body {
    gap: 4px;
  }

  .guide-banner__lead {
    font-size: 16px;
  }

  .guide-banner__title {
    font-size: 19px;
  }

  .guide-banner__en {
    font-size: 11px;
  }

  /* お得なご案内：先頭全幅 + 残り2列 */
  .info {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 12px;
  }

  .info > .info-card:nth-child(1) {
    grid-column: 1 / -1;
  }

  .info > .info-card:nth-child(n + 2) {
    grid-column: span 1;
  }

  .info > .info-card:nth-child(1) .info-card__thumb {
    border-radius: 6px;
  }

  .info > .info-card:nth-child(n + 2) .info-card__thumb {
    border-radius: 4px;
  }

  .info > .info-card:nth-child(1) .info-card__title {
    font-size: 13px;
  }

  .info > .info-card:nth-child(n + 2) .info-card__title {
    font-size: 12px;
  }

  /* ペットから探す */
  .pet-block {
    flex-direction: column;
    gap: 14px;
    padding: 16px 0 0;
    border-radius: 8px;
  }

  /* 3件以下（アコーディオンなし）は下余白を確保 */
  .pet-block:not(.is-accordion) {
    padding-bottom: 16px;
  }

  .pet-block__head {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 16px;
  }

  .pet-block__title {
    font-size: 16px;
  }

  .pet-block__body {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .pet-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 8px;
    padding: 0 16px;
  }

  .pet-item__thumb {
    border-radius: 3px;
  }

  .pet-item__name {
    font-size: 11px;
    letter-spacing: 0.02em;
  }

  /* is-accordion があるときだけ「もっと見る」表示 */
  .pet-block.is-accordion .pet-block__more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 14px;
    padding: 14px;
    border: none;
    border-top: 1px solid var(--color-bg-footer);
    border-radius: 0;
    background: transparent;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.02em;
    color: var(--color-black);
    cursor: pointer;
  }

  .pet-block__more-icon {
    width: 10px;
    height: 10px;
    object-fit: contain;
  }

  .pet-block__more-icon--minus {
    height: 1px;
  }

  /* 閉じているときは4件目以降を隠す */
  .pet-block.is-accordion:not(.is-open) .pet-grid > li:nth-child(n + 4) {
    display: none;
  }

  /* エサ研究室 */
  .lab {
    grid-template-columns: 1fr 1fr;
    gap: 20px 12px;
  }

  .lab-card__title {
    font-size: 14px;
  }

  .lab-card__desc {
    font-size: 12px;
  }

  /* 月夜野ファームとは */
  .sec--about {
    box-sizing: border-box;
    margin-inline: auto;
  }

  .about {
    gap: 16px;
    padding: 32px 28px;
  }

  .about__title {
    font-size: 20px;
  }

  .about__text {
    font-size: 13px;
    line-height: 1.8;
    text-align: center;
  }

  .about__btn {
    min-width: 0;
    width: 100%;
    font-size: 13px;
  }

  /* お知らせ */
  .news {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .news-link {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 14px 0;
    border: none;
    border-bottom: 1px solid var(--color-bg-02);
    border-radius: 0;
  }

  .news__item:last-child .news-link {
    border-bottom: none;
  }

  .news-link:hover {
    border-color: var(--color-bg-02);
  }
}

/* ========== パンくず（下層共通） ========== */
/* ヘッダ／フッタと同様：外側で左右余白、内側で max-width + cqw 基準 */
.breadcrumb {
  background: var(--color-white);
  padding: 0 var(--container-pad);
}

.breadcrumb__inner {
  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;
}

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

.breadcrumb__item a {
  color: var(--color-text-04);
  transition: color 0.2s ease;
}

.breadcrumb__item a:hover {
  color: var(--color-primary-blue);
  text-decoration: underline;
}

.breadcrumb__item[aria-current="page"] {
  color: var(--color-black);
}

.breadcrumb__sep {
  display: block;
  flex-shrink: 0;
  width: 3.5px;
  height: 6px;
}

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

/* 下層ページ共通のページタイトル（h1） */
.page-title {
  margin-bottom: 32px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.03em;
  text-align: center;
}

/* 青緑バー付き見出し */
.pl-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
}

.pl-heading::before {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 3px;
  height: 24px;
  background: linear-gradient(
    180deg,
    var(--color-primary-blue) 50%,
    var(--color-green) 50%
  );
}

.pl-heading--sm {
  font-size: 18px;
}

/* 罫線見出し（対象のペット／読みもの） */
.pl-heading-line {
  padding-bottom: 12px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--color-bg-02);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.pl-text {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.9;
}

.pl-text + .pl-text {
  margin-top: 14px;
}

/* グレーボックス（汎用） */
.pl-box {
  padding: 32px;
  border-radius: 12px;
  background: var(--color-bg-01);
}

/* 品質〜保存の連続グレーパネル */
.pl-panel {
  margin-bottom: 56px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--color-bg-01);
}

.pl-panel__sec {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 32px 40px;
}

.pl-panel__sec:first-child {
  padding-top: 40px;
}

.pl-panel__sec .pl-heading {
  margin-bottom: 0;
}

.pl-panel__body {
  padding: 20px 16px;
  border-radius: 6px;
  background: var(--color-white);
}

.pl-panel__body .pl-text {
  margin: 0;
  color: var(--color-black);
  line-height: 1.8;
}

.pl-panel__body .pl-text + .pl-text {
  margin-top: 8px;
}

/* 後方互換（旧クラス） */
.pl-quality {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 40px 32px;
  border-radius: 12px 12px 0 0;
  background: var(--color-bg-01);
}

.pl-quality .pl-heading {
  margin-bottom: 0;
}

.pl-quality__body {
  padding: 20px 16px;
  border-radius: 8px;
  background: var(--color-white);
}

.pl-quality .pl-text {
  margin: 0;
  color: var(--color-black);
  line-height: 1.8;
}

.pl-quality .pl-text + .pl-text {
  margin-top: 8px;
}

/* ========== 1. イントロ ========== */
.pl-intro {
  display: grid;
  align-items: center;
  gap: 2.5cqw;
  grid-template-columns: 1fr 1fr;
}

.pl-intro__figure {
  flex-shrink: 0;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: var(--color-bg-01);
  aspect-ratio: 2 / 1
}

.pl-intro__figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.pl-intro__body {
  flex: 1;
  min-width: 0;
}

/* ========== 2. サブカテゴリ（切り替えタブ） ========== */
.sec:has(> .pl-subcats) {
  margin-bottom: 20px;
}

.pl-subcats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: end;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  background: var(--color-bg-01);
}

.pl-subcats > li {
  display: flex;
  min-width: 0;
}

.pl-subcats > li:has(> .pl-subcat.is-active) {
  overflow: hidden;
  border-radius: 8px 8px 0 0;
}

.pl-subcat {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 74px;
  padding: 12px;
  border: none;
  border-bottom: 1px solid var(--color-bg-02);
  border-radius: 0;
  background: transparent;
  color: var(--color-text-03);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.pl-subcats > li:first-child .pl-subcat:not(.is-active) {
  border-radius: 8px 0 0 0;
}

.pl-subcat:hover {
  color: var(--color-black);
}

.pl-subcat.is-active {
  border: 1px solid var(--color-bg-02);
  border-bottom-color: transparent;
  border-radius: 8px 8px 0 0;
  background: var(--color-white);
  color: var(--color-black);
  overflow: hidden;
}

.pl-subcat__thumb {
  flex-shrink: 0;
  width: 50px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--color-white);
}

.pl-subcat__thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.pl-subcat__body {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.pl-subcat__title {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.pl-subcat__prefix,
.pl-subcat__name {
  display: inline;
}

.pl-subcat__count {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: inherit;
}

.pl-subcat__count::before {
  content: "(";
}

.pl-subcat__count::after {
  content: ")";
}

/* ========== 3. 一覧ツールバー ========== */
.pl-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.pl-toolbar__count {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-black);
}

.pl-toolbar__sort {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 26px;
  padding: 4px 8px;
  border: 1px solid var(--color-placeholder);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.pl-toolbar__sort img {
  width: 4.5px;
  height: 8px;
  object-fit: contain;
  transform: rotate(90deg);
}

/* ========== 4. 商品グリッド ========== */
.pl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 2cqw;
  row-gap: 0;
}

.pl-grid > li {
  position: relative;
}

.pl-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
  padding: 18px 0;
  border: none;
  border-bottom: 1px solid var(--color-bg-footer);
  border-radius: 0;
  background: var(--color-white);
  cursor: pointer;
}

/* PC: 最終行（末尾2件）は下線なし */
.pl-grid > li:nth-last-child(-n + 2) .pl-card {
  border-bottom: none;
}

.pl-card__thumb {
  position: relative;
  flex-shrink: 0;
  width: 120px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--color-bg-01);
}

.pl-card__thumb img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
}

/* NEWバッジ（.pl-card.is-new で表示） */
.pl-card.is-new .pl-card__thumb::before {
  content: "NEW";
  position: absolute;
  top: -4px;
  left: -4px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 6px 6px;
  border: 2px solid #f05300;
  border-radius: 4px;
  background: var(--color-white);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #f05300;
}

.pl-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  gap: 14px;
}

.pl-card__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.pl-card__title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.02em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.pl-card__labels {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.pl-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 8px;
  border-radius: 2px;
  background: var(--color-primary-blue);
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--color-white);
}

.pl-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 5px 8px;
  border: 1px solid var(--color-primary-green);
  border-radius: 3px;
  background: var(--color-white);
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--color-primary-green);
  white-space: nowrap;
}

.pl-card__review {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--color-star);
}

.pl-card__stars {
  letter-spacing: 0.05em;
}

.pl-card__count {
  color: var(--color-star);
}

.pl-card__foot {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  width: 100%;
  margin-top: 0;
  padding-right: 0;
}

.pl-card__price {
  display: inline-flex;
  align-items: baseline;
  flex-shrink: 0;
  gap: 1px;
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--color-red);
}

.pl-card__tax {
  margin-left: 0;
  font-size: 9px;
  font-weight: 500;
  line-height: 1;
}

.pl-card__unit {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--color-text-02);
}

.pl-card__wish-slot {
  flex-shrink: 0;
  width: 18px;
  height: 15px;
  margin-left: auto;
}

.pl-card__wish {
  position: absolute;
  right: 0;
  bottom: 18px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 15px;
  padding: 0;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.pl-card__wish:hover {
  opacity: 0.6;
}

.pl-card__wish img {
  width: 18px;
  height: 15px;
  object-fit: contain;
}

/* ========== 5. ページネーション ========== */
.pl-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.pl-pager__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  transition: opacity 0.2s ease;
}

.pl-pager__arrow:hover {
  opacity: 0.7;
}

.pl-pager__arrow img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.pl-pager__arrow--prev img {
  transform: scaleX(-1);
}

.pl-pager__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--color-bg-02);
  border-radius: 6px;
  background: var(--color-white);
  color: var(--color-primary-blue);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.pl-pager__num:hover {
  border-color: var(--color-primary-blue);
  color: var(--color-primary-blue);
}

.pl-pager__num.is-active {
  border-color: var(---color-bg-04);
  background: var(--color-bg-04);
  color: var(--color-white);
}

.pl-pager__ellipsis {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 20px;
  height: 38px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-02);
}

/* ========== 6. 成分・エネルギー ========== */
.pl-nutrition {
  gap: 12px;
}

.pl-nutrition__inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.pl-nutrition__note {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-black);
}

.pl-nutrition__table {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  overflow: hidden;
  border-radius: 6px;
  background: var(--color-white);
}

.pl-nutrition__item {
  display: contents;
}

.pl-nutrition__label,
.pl-nutrition__value {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 12px 8px;
  background: var(--color-white);
  border-right: 1px solid var(--color-bg-02);
  border-bottom: 1px solid var(--color-bg-02);
  text-align: center;
}

.pl-nutrition__label {
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.01em;
  color: var(--color-black);
}

.pl-nutrition__value {
  font-size: 15px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.01em;
  color: var(--color-black);
}

.pl-nutrition__item:nth-child(3n) .pl-nutrition__value {
  border-right: none;
}

.pl-nutrition__item:nth-child(n + 4) .pl-nutrition__label,
.pl-nutrition__item:nth-child(n + 4) .pl-nutrition__value {
  border-bottom: none;
}

/* ========== 7. 対象のペット ========== */
.pl-pets {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px 8px;
}

.pl-pet {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  text-align: left;
}

.pl-pet__thumb {
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 4px;
  background: var(--color-bg-01);
}

.pl-pet__thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 114 / 83;
  object-fit: cover;
}

.pl-pet__name {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--color-black);
}

/* ========== 8. 与え方 / 保存方法 ========== */
.pl-boxes {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ========== 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;
}

/* ========== SP：767px以下 ========== */
@media (max-width: 767px) {
  /* 下層ページ：パンくずも左右 4.5cqw（.sec と揃える） */
  .pl-page,
  .pd-page {
    container-type: inline-size;
  }

  .breadcrumb {
    padding: 0 4.5cqw;
  }

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

  .breadcrumb__inner::-webkit-scrollbar {
    display: none;
  }

  .breadcrumb__item {
    flex-shrink: 0;
    font-size: 9px;
  }

  .page-title {
    margin-bottom: 20px;
    font-size: 28px;
  }

  .pl-heading {
    margin-bottom: 12px;
    font-size: 17px;
  }

  .pl-heading--sm {
    font-size: 16px;
  }

  .pl-heading-line {
    margin-bottom: 16px;
    font-size: 17px;
  }

  .pl-text {
    font-size: 13px;
    line-height: 1.8;
  }

  .pl-box {
    padding: 24px 16px;
    border-radius: 8px;
  }

  .pl-panel {
    margin-bottom: 40px;
    border-radius: 0;
  }

  .pl-panel__sec {
    gap: 12px;
    padding: 0 16px 32px;
  }

  .pl-panel__sec:first-child {
    padding-top: 32px;
  }

  .pl-panel__body {
    padding: 16px 12px;
  }

  .pl-quality {
    gap: 12px;
    padding: 32px 16px;
    border-radius: 8px 8px 0 0;
  }

  .pl-quality__body {
    padding: 16px 12px;
  }

  /* イントロ */
  .pl-intro {
    display: block;
  }

  .pl-intro__figure {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 8px;
  }

  /* サブカテゴリ（SPは横並び・タイトル3行） */
  .pl-subcats {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: 10px 10px 0 0;
  }

  .pl-subcats > li:has(> .pl-subcat.is-active) {
    border-radius: 10px 10px 0 0;
  }

  .pl-subcat {
    min-height: 74px;
    padding: 12px;
    align-items: center;
  }

  .pl-subcats > li:first-child .pl-subcat:not(.is-active) {
    border-radius: 10px 0 0 0;
  }

  .pl-subcat.is-active {
    border-radius: 10px 10px 0 0;
  }

  .pl-subcat__thumb {
    width: 50px;
  }

  .pl-subcat__body {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 4px;
  }

  .pl-subcat__title {
    display: flex;
    flex-direction: column;
    font-size: 12px;
  }

  .pl-subcat__prefix,
  .pl-subcat__name {
    display: block;
  }

  .pl-subcat__count {
    font-size: 11px;
  }

  /* ツールバー */
  .pl-toolbar {
    margin-bottom: 8px;
  }

  .pl-toolbar__count,
  .pl-toolbar__sort {
    font-size: 12px;
  }

  /* 商品グリッド */
  .pl-grid {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  /* SP: 末尾1件のみ下線なし（PCの末尾2件指定を打ち消し） */
  .pl-grid > li:nth-last-child(-n + 2) .pl-card {
    border-bottom: 1px solid var(--color-bg-footer);
  }

  .pl-grid > li:last-child .pl-card {
    border-bottom: none;
  }

  .pl-card {
    gap: 12px;
    padding: 16px 0;
    align-items: center;
  }

  .pl-card__thumb {
    width: 120px;
  }

  .pl-card.is-new .pl-card__thumb::before {
    font-size: 10px;
    padding: 7px 8px;
  }

  .pl-card__title {
    font-size: 14px;
    letter-spacing: 0.02em;
  }

  .pl-card__price {
    font-size: 18px;
  }

  .pl-card__wish {
    width: 18px;
    height: 15px;
    bottom: 16px;
  }

  /* ページネーション */
  .pl-pager {
    gap: 6px;
    margin-top: 24px;
  }

  .pl-pager__arrow,
  .pl-pager__arrow img,
  .pl-pager__num {
    width: 34px;
    height: 34px;
  }

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

  /* 成分・エネルギー（SPは label|value の1列） */
  .pl-nutrition__table {
    grid-template-columns: 1fr 1fr;
  }

  .pl-nutrition__item {
    display: contents;
  }

  .pl-nutrition__label,
  .pl-nutrition__value {
    border-right: 1px solid var(--color-bg-02);
    border-bottom: 1px solid var(--color-bg-02);
  }

  .pl-nutrition__value {
    border-right: none;
  }

  .pl-nutrition__item:nth-child(3n) .pl-nutrition__value {
    border-right: none;
  }

  .pl-nutrition__item:nth-child(n + 4) .pl-nutrition__label,
  .pl-nutrition__item:nth-child(n + 4) .pl-nutrition__value {
    border-bottom: 1px solid var(--color-bg-02);
  }

  .pl-nutrition__item:last-child .pl-nutrition__label,
  .pl-nutrition__item:last-child .pl-nutrition__value {
    border-bottom: none;
  }

  .pl-nutrition__label {
    padding: 12px 8px;
    font-size: 14px;
  }

  .pl-nutrition__value {
    padding: 12px 8px;
    font-size: 15px;
  }

  /* 対象のペット */
  .pl-pets {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 8px;
  }

  .pl-pet__name {
    font-size: 10px;
  }

  /* 与え方 / 保存方法 */
  .pl-boxes {
    gap: 16px;
  }

  /* 読みもの */
  .pl-articles {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .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% 40px;
  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;
}

/* リンクリスト（2行・区切り線） */
.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 {
  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;
}

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

/* フッター最下部 */
.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 {
  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;
}

.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));
  }

  /* logo → nav → CTA → contact → pay → bottom の順に並べ替え */
  .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: 24px;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .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;
  }
}

/* ========== 商品詳細 ========== */
.pd-page {
  background: var(--color-white);
}

.pd-top {
  display: flex;
  align-items: flex-start;
  gap: 3cqw;
  width: 100%;
  margin-bottom: 0;
  padding-bottom: 40px;
}

.pd-gallery {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.pd-gallery__main {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--color-bg-01);
}

.pd-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-gallery__zoom {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.9);
}

.pd-gallery__zoom img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.pd-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.pd-gallery__thumb {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
}

.pd-gallery__thumb.is-active {
  border-color: var(--color-primary-blue);
}

.pd-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-buy {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.pd-buy__title {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.pd-badge--new {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 6px 8px;
  border: 2px solid #f05300;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #f05300;
}

.pd-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.pd-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.pd-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.02em;
}

.pd-label--cool {
  background: var(--color-primary-blue);
  color: var(--color-white);
}

.pd-label--size {
  border: 1px solid var(--color-primary-green);
  color: var(--color-primary-green);
}

.pd-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-bottom: 20px;
  font-size: 13px;
  line-height: 1.3;
}

.pd-rating__stars {
  color: var(--color-star);
  font-size: 15px;
  letter-spacing: 0.02em;
}

.pd-rating__count {
  color: var(--color-star);
}

.pd-rating__link {
  color: var(--color-primary-blue);
}

.pd-price-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 20px;
}

.pd-price {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  color: var(--color-red);
}

.pd-price__yen,
.pd-price__num {
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}

.pd-price__tax {
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  padding-bottom: 4px;
}

.pd-price__unit {
  font-size: 13px;
  line-height: 1.3;
  color: var(--color-text-02);
  padding-bottom: 2px;
}

.pd-wish-icon {
  margin-left: auto;
  width: 24px;
  height: 20px;
  padding: 0;
}

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

.pd-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
}

.pd-meta__point {
  font-size: 15px;
  line-height: 1.3;
  color: #f05300;
}

.pd-meta__point span {
  font-size: 13px;
}

.pd-meta__delivery,
.pd-meta__dest {
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.pd-meta__delivery {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.35em;
}

.pd-meta__delivery > span {
  white-space: nowrap;
}

.pd-meta__delivery strong,
.pd-meta__dest strong {
  font-weight: 700;
  color: var(--color-primary-blue);
}

.pd-meta__dest strong {
  color: var(--color-black);
}

.pd-volume {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1cqw;
  margin-bottom: 20px;
}

.pd-volume__label {
  flex-shrink: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.pd-volume__opts {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  /* ボタン群は折り返さず、並べきれなければ親側で下段へ */
  min-width: max-content;
}

.pd-volume__opt {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 36px;
  padding-bottom: 2px;
  border: 1px solid var(--color-black);
  border-radius: 4px;
  background: var(--color-white);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
}

.pd-volume__opt.is-active {
  border-color: var(--color-primary-blue);
  background: var(--color-primary-blue);
  color: var(--color-white);
}

.pd-volume__opt.is-disabled,
.pd-volume__opt:disabled {
  border-color: var(--color-bg-02);
  color: var(--color-text-03);
  cursor: not-allowed;
}

.pd-stock {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}

.pd-stock__dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-primary-green);
}

.pd-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 14px;
  width: 100%;
  margin-bottom: 20px;
}

.pd-qty {
  display: flex;
  align-items: stretch;
  flex-shrink: 0;
  height: 52px;
}

.pd-qty__btn,
.pd-qty__num {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  background: var(--color-bg-01);
}

.pd-qty__btn {
  width: 48px;
  font-size: 20px;
  font-weight: 500;
  color: var(--color-text-03);
}

.pd-qty__btn:last-child {
  color: var(--color-black);
  border-radius: 0 10px 10px 0;
}

.pd-qty__btn:first-child {
  border-radius: 10px 0 0 10px;
}

.pd-qty__num {
  width: 40px;
  font-size: 18px;
}

.pd-cart-btn {
  display: flex;
  flex: 1 1 172px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: min(100%, 172px);
  padding: 16px;
  border-radius: 10px;
  background: var(--color-primary-blue);
  color: var(--color-white);
  font-size: 16px;
  line-height: 1;
}

.pd-cart-btn img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.pd-fav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 36px;
  border: 1px solid var(--color-bg-02);
  border-radius: 8px;
  background: var(--color-white);
  font-size: 13px;
  line-height: 1;
}

.pd-fav-btn img {
  width: 16px;
  height: 13px;
  object-fit: contain;
}

/* タブ */
.pd-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: 100%;
  margin-bottom: 0;
}

.pd-tabs__item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--color-bg-02);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--color-text-02);
  text-align: center;
}

.pd-tabs__item.is-active {
  border-bottom: 3px solid var(--color-primary-blue);
  color: var(--color-black);
}

/* 商品詳細：概要以降のセクション区切り */
.pd-sec {
  margin: 8cqw 0;
}

.pd-h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
}

.pd-h2--sm {
  font-size: 13px;
  letter-spacing: 0.01em;
}

.pd-h2__bar {
  display: block;
  width: 3px;
  height: 24px;
  flex-shrink: 0;
  background: linear-gradient(180deg, var(--color-primary-blue) 50%, var(--color-green) 50%);
}

.pd-lead {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--color-primary-green);
}

.pd-text {
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.8;
}

.pd-subttl {
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.pd-note-cool {
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-primary-blue);
}

.pd-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--color-bg-02);
  border-radius: 6px;
  overflow: hidden;
}

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

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

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

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

.pd-table--nutrition {
  table-layout: fixed;
}

.pd-table--nutrition th,
.pd-table--nutrition td {
  width: auto;
  padding: 12px 8px;
  text-align: center;
}

.pd-table--nutrition th:nth-child(odd) {
  background: var(--color-bg-01);
}

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

.pd-ship {
  display: grid;
  grid-template-columns: 40% auto;
  gap: 3cqw;
  align-items: start;
}


.pd-ship__fig {
  width: 100%;
  margin-bottom: 12px;
  overflow: hidden;
  border-radius: 6px;
  background: #cfcfcf;
  aspect-ratio:  16 / 9;
}

.pd-ship__fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-ship__list {
  font-size: 13px;
  line-height: 1.8;
}


.pd-text-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  align-self: flex-end;
  font-size: 12px;
  line-height: 1.8;
  color: var(--color-primary-blue);
  margin-top: 6px;
}

.pd-text-link__chevron {
  display: inline-flex;
  width: 5px;
  height: 9px;
}

.pd-text-link__chevron img {
  width: 100%;
  height: 100%;
}

/* レビュー */
.pd-review {
  padding: 3.5cqw 3cqw;
  margin-bottom: 0;
  border-radius: 12px;
  background: var(--color-bg-01);
}

.pd-review__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.pd-review__head .pd-h2 {
  margin-bottom: 0;
}

.pd-review__write {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--color-primary-blue);
  white-space: nowrap;
}

.pd-review__write img {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.pd-review__summary {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 20px;
  color: var(--color-star);
}

.pd-review__summary .pd-rating__stars {
  font-size: 20px;
  font-weight: 500;
}

.pd-review__summary .pd-rating__count {
  font-size: 14px;
}

.pd-review__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.pd-review__item {
  padding: 24px 20px;
  border-radius: 6px;
  background: var(--color-white);
}

.pd-review__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--color-text-02);
}

.pd-review__meta .pd-rating__stars {
  font-size: 14px;
}

.pd-review__body {
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 0.01em;
}

.pd-more-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 220px;
  margin-inline: auto;
  padding: 10px 20px;
  border-radius: 24px;
  background: var(--color-primary-blue);
  color: var(--color-white);
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.pd-more-btn__text {
  flex: 1;
  text-align: center;
}

.pd-more-btn__icon {
  display: inline-flex;
  width: 4.5px;
  height: 9px;
  flex-shrink: 0;
}

.pd-more-btn__icon img {
  width: 100%;
  height: 100%;
}

/* 読みもの */
.pd-articles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.pd-article {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pd-article__thumb {
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 3 / 2;
}

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

.pd-article__title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

@media (max-width: 767px) {
  .pd-top {
    flex-direction: column;
    gap: 0;
    padding-bottom: 0;
  }

  .pd-gallery {
    gap: 12px;
    padding: 0;
  }

  .pd-gallery__thumbs {
    gap: 8px;
  }

  .pd-gallery__zoom {
    right: 12px;
    bottom: 12px;
  }

  .pd-tabs {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin-top: 16px;
    margin-bottom: 28px;
    margin-inline: 0;
    padding: 0;
    overflow-x: visible;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .pd-tabs__item {
    padding: 0 2px 12px;
    font-size: 12px;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .pd-buy {
    width: 100%;
    padding: 20px 0 24px;
    border-bottom: none;
  }

  .pd-buy__title {
    margin-bottom: 12px;
  }

  .pd-labels {
    margin-bottom: 12px;
  }

  .pd-rating {
    margin-bottom: 20px;
  }

  .pd-title {
    font-size: 20px;
  }

  .pd-price__yen,
  .pd-price__num {
    font-size: 28px;
  }

  .pd-wish-icon {
    display: none;
  }

  .pd-fav-btn {
    height: 48px;
    margin-bottom: 0;
    font-size: 14px;
  }

  .pd-page .sec--shipping {
    padding-bottom: 32px;
  }

  .pd-page .sec--articles {
    padding-top: 24px;
    padding-bottom: 48px;
  }

  .pd-h2 {
    font-size: 18px;
  }

  .pd-table--nutrition,
  .pd-table--nutrition tbody,
  .pd-table--nutrition tr,
  .pd-table--nutrition th,
  .pd-table--nutrition td {
    display: block;
    width: 100%;
  }

  .pd-table--nutrition tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  /* SP 2列グリッド：隣接ボーダーが重ならないよう right/bottom のみ */
  .pd-table--nutrition th,
  .pd-table--nutrition td {
    border: 0;
    border-right: 1px solid var(--color-bg-02);
    border-bottom: 1px solid var(--color-bg-02);
  }

  .pd-table--nutrition th:nth-child(even),
  .pd-table--nutrition td:nth-child(even) {
    border-right: none;
  }

  /* 最終tr内も中間行の下線は残し、末尾2セル（最下行）だけ border-bottom を消す */
  .pd-table--nutrition tr:last-child th,
  .pd-table--nutrition tr:last-child td {
    border-bottom: 1px solid var(--color-bg-02);
  }

  .pd-table--nutrition tr:last-child > *:nth-last-child(-n + 2) {
    border-bottom: none;
  }

  .pd-ship {
    grid-template-columns: 1fr;
    gap: 3cqw;
  }

  .pd-review {
    margin-bottom: 24px;
    padding: 28px 16px 32px;
    border-radius: 8px;
  }

  .pd-review__head {
    gap: 8px;
  }

  .pd-review__summary {
    margin-bottom: 16px;
  }

  .pd-review__item {
    padding: 20px 16px;
  }

  .pd-review__body {
    line-height: 2;
  }

  .pd-articles {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pd-article {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

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

  /* ペットから探すページ */
  .pets-page .page-title {
    margin-bottom: 0;
    font-size: 24px;
    letter-spacing: 0.02em;
  }

  .pets-page__intro {
    padding-top: 0;
  }

  .pets-page__intro .page-title {
    padding: 16px 0 20px;
  }

  .pets-page__lead {
    margin: 0 0 28px;
    font-size: 14px;
    line-height: 1.8;
  }

  .pets-page__list {
    padding-top: 0;
    padding-bottom: 0;
  }

  .pets-page .pet-block {
    gap: 16px;
    padding: 18px 0 20px;
    border-radius: 8px;
  }

  .pets-page .pet-block:not(.is-accordion) {
    padding-bottom: 20px;
  }

  .pets-page .pet-block__title {
    font-size: 18px;
  }

  .pets-page .pet-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
  }

  .pets-page .pet-item__thumb {
    border-radius: 8px;
  }

  .pets-page .pet-item__thumb img {
    aspect-ratio: 4 / 3;
    height: auto;
  }

  .pets-page .pet-item__name {
    font-size: 12px;
  }

  .pets-page__guide {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  /* ペットカテゴリ詳細（爬虫類など） */
  .pet-cat-page .page-title {
    margin-bottom: 0;
    font-size: 24px;
    letter-spacing: 0.02em;
  }

  .pet-cat-page__intro .page-title {
    padding: 16px 0 20px;
  }

  .pet-cat-page__lead {
    margin: 0 0 28px;
    font-size: 14px;
    line-height: 1.8;
  }

  .pet-cat-page__pets {
    padding-top: 0;
    padding-bottom: 0;
  }

  .pet-cat-page .pet-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px;
  }

  .pet-cat-page .pet-item__thumb {
    border-radius: 8px;
  }

  .pet-cat-page .pet-item__thumb img {
    aspect-ratio: 4 / 3;
    height: auto;
  }

  .pet-cat-page .pet-item__name {
    font-size: 12px;
  }

  .pet-cat-page__guide {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .pet-cat-page__feeds {
    padding-top: 8px;
    padding-bottom: 40px;
  }

  .pet-cat-page__feeds .pd-h2 {
    margin-bottom: 20px;
    font-size: 18px;
    gap: 8px;
  }

  .pet-cat-page__feeds .pd-h2__bar {
    height: 22px;
  }

  .feed-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .feed-card {
    gap: 12px;
    padding: 10px;
  }

  .feed-card__name {
    font-size: 12px;
  }

  /* ペット種詳細（SP） */
  .pet-species-page__intro .page-title {
    margin-bottom: 16px;
    font-size: 24px;
  }

  .pet-species-page__intro .pl-intro__figure {
    box-sizing: border-box;
    width: calc(100% + 9cqw);
    max-width: none;
    margin: 0 -4.5cqw 20px;
    border-radius: 0;
  }

  .pet-species-page__photos {
    gap: 8px;
    padding: 0 16px 40px;
  }

  .pet-species-page__cats .pd-h2 {
    margin-bottom: 20px;
    font-size: 18px;
  }

  .pet-species-page .pl-articles .pl-article__title {
    font-size: 11px;
  }
}

/* ========== エサ研究室一覧 ========== */
.lab-page .lab-hero {
  margin-bottom: 0;
  padding: 0;
}

.lab-hero__fig {
  overflow: hidden;
  border-radius: 12px;
  background: var(--color-bg-01);
  aspect-ratio: 2000 / 667;
}

.lab-hero__fig picture,
.lab-hero__fig img {
  display: block;
  width: 100%;
  height: 100%;
}

.lab-hero__fig img {
  object-fit: cover;
}

.lab-lead {
  margin-bottom: 0;
  padding-top: 24px;
  padding-bottom: 28px;
}

.lab-lead__text {
  font-size: 14px;
  line-height: 1.8;
}

.lab-page .sec--lab {
  margin-bottom: 0;
}

.lab-page .sec--lab .pd-h2 {
  margin-bottom: 24px;
}

.lab-latest {
  margin-top: 40px;
}

.lab-latest__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 20px;
}

.columns-post__link {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

.columns-post__thumb {
  position: relative;
  display: block;
  flex-shrink: 0;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 3 / 2;
  background: var(--color-bg-01);
}

.columns-post__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.columns-post__new {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 6px 6px;
  border: 2px solid #f05300;
  border-radius: 4px;
  background: var(--color-white);
  color: #f05300;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
}

.columns-post__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.columns-post__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.columns-post__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.columns-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 8px;
  border: 1px solid var(--color-primary-green);
  border-radius: 4px;
  background: var(--color-white);
  color: var(--color-primary-green);
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.02em;
}

.columns-post__date {
  color: var(--color-bg-04);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.lab-latest__more {
  display: flex;
  justify-content: flex-end;
}

.lab-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-02);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.lab-more img {
  width: 18px;
  height: 18px;
}

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

.lab-more--center {
  justify-content: center;
}

.lab-ranking {
  margin-top: 40px;
}

.columns-rank-block {
  margin-bottom: 32px;
  padding: 28px 0 24px;
  border-radius: 16px;
  background: var(--color-bg-01);
}

.columns-rank-block:last-child {
  margin-bottom: 0;
}

.columns-rank-block__ttl {
  margin-bottom: 24px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  text-align: center;
}

.columns-rank-block__ttl::after {
  content: "";
  display: block;
  width: 32px;
  height: 3px;
  margin: 12px auto 0;
  background: var(--color-primary-blue);
}

.columns-rank-block__scroll {
  margin-bottom: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 24px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.columns-rank-block__scroll::-webkit-scrollbar {
  display: none;
}

.columns-rank-block__cards {
  display: flex;
  gap: 12px;
  width: max-content;
  padding-inline: 24px;
}

.columns-rank-block__cards > li {
  width: min(290px, 78vw);
  flex-shrink: 0;
  scroll-snap-align: start;
  scroll-margin-inline-start: 24px;
}

.columns-rank-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 12px;
  background: var(--color-white);
  overflow: visible;
}

.columns-rank-card__thumb {
  position: relative;
  display: block;
  aspect-ratio: 1100 / 733;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  background: var(--color-bg-02);
}

.columns-rank-card__thumb > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}

.columns-rank-card__crown {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 35px;
  margin-top: -17.5px;
  margin-bottom: -17.5px;
  margin-left: 10px;
  pointer-events: none;
}

.columns-rank-card__crown img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.columns-rank-card__crown span {
  position: relative;
  z-index: 1;
  padding-top: 7px;
  color: var(--color-white);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.columns-rank-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 16px;
  padding: 24px 16px 16px;
  border-radius: 0 0 12px 12px;
  background: var(--color-white);
}

.columns-rank-card__title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.columns-rank-card__date {
  margin-top: auto;
  font-size: 10px;
  letter-spacing: 0.02em;
}

.lab-keywords {
  margin-bottom: 20px;
  margin-inline: 24px;
  padding: 20px 16px;
  border-radius: 12px;
  background: var(--color-white);
}

.lab-keywords__ttl {
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.lab-keywords__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 10px;
}

.lab-keywords__list a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  border: 1px solid var(--color-primary-green);
  border-radius: 6px;
  color: var(--color-primary-green);
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.lab-keywords__list a:hover {
  background: var(--color-primary-green);
  color: var(--color-white);
}

.columns-rank-block__more {
  display: flex;
  justify-content: center;
}

@media (max-width: 767px) {
  .lab-page .lab-hero {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .lab-hero__fig {
    border-radius: 0;
    max-width: none;
    aspect-ratio: auto;
  }

  .lab-hero__fig picture,
  .lab-hero__fig img {
    height: auto;
  }

  .lab-lead {
    padding-top: 20px;
    padding-bottom: 28px;
  }

  .lab-page .sec--lab .pd-h2 {
    font-size: 18px;
  }

  .lab-latest {
    margin-top: 0;
    padding-top: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--color-bg-footer);
  }

  .lab-latest .pd-h2 {
    margin-bottom: 24px;
    font-size: 18px;
  }

  .lab-latest__list {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .columns-post__link {
    flex-direction: row;
    gap: 12px;
    align-items: flex-start;
  }

  .columns-post__thumb {
    width: 126px;
    aspect-ratio: 1 / 1;
  }

  .columns-post__new {
    padding: 7px 8px;
    font-size: 10px;
  }

  .columns-post__title {
    font-size: 12.5px;
  }

  .columns-post__date {
    font-size: 11px;
  }

  .lab-ranking {
    margin-top: 0;
    padding-top: 32px;
  }

  .lab-ranking > .pd-h2 {
    margin-bottom: 24px;
    font-size: 18px;
  }

  .columns-rank-block {
    width: calc(100% + 9cqw);
    max-width: none;
    margin-left: calc(-4.5cqw);
    margin-right: calc(-4.5cqw);
    margin-bottom: 20px;
    padding: 24px 0 0;
    overflow: hidden;
    border-radius: 12px;
  }

  .columns-rank-block__ttl {
    font-size: 18px;
    margin-bottom: 20px;
    padding-inline: 16px;
  }

  .columns-rank-block__scroll {
    margin-bottom: 24px;
    scroll-padding-inline: 16px;
  }

  .columns-rank-block__cards {
    max-width: none;
    margin-inline: 0;
    padding-inline: 16px;
  }

  .columns-rank-block__cards > li {
    width: 290px;
    scroll-margin-inline-start: 16px;
  }

  .lab-keywords {
    box-sizing: border-box;
    width: calc(100% - 32px);
    max-width: none;
    margin-inline: 16px;
    margin-bottom: 8px;
  }

  .lab-keywords__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .columns-rank-block__more {
    padding: 18px 16px 24px;
  }
}

/* ========== LAB 訪問記一覧 ========== */
.lab-visit-head {
  margin-bottom: 24px;
}

.lab-visit-page .page-title {
  margin-bottom: 0;
}

.lab-visit-intro {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.lab-visit-intro__fig {
  overflow: hidden;
  margin: 0;
  border-radius: 12px;
  background: var(--color-bg-01);
}

.lab-visit-intro__fig picture,
.lab-visit-intro__fig img {
  display: block;
  width: 100%;
  height: 100%;
}

.lab-visit-intro__fig img {
  object-fit: cover;
}

.lab-visit-intro__text {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

.lab-visit-list__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 24px;
}

.lab-visit-card__link {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}

.lab-visit-card__thumb {
  display: block;
  overflow: hidden;
  border: 1px solid var(--color-bg-02);
  border-radius: 12px;
  background: var(--color-bg-01);
  aspect-ratio: 1100 / 733;
}

.lab-visit-card__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lab-visit-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 14px;
}

.lab-visit-card__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.lab-visit-card__date {
  margin-top: auto;
  color: var(--color-text-02);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.lab-visit-list .pl-pager {
  margin-top: 48px;
}

@media (max-width: 767px) {
  .lab-visit-head {
    padding-top: 16px;
    padding-bottom: 20px;
  }

  .lab-visit-page .page-title {
    font-size: 22px;
    letter-spacing: 0.02em;
  }

  .lab-visit-page .lab-visit-intro {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 32px;
    gap: 20px;
  }

  .lab-visit-page .lab-visit-intro > * {
    max-width: none;
  }

  .lab-visit-intro__fig {
    border-radius: 0;
    aspect-ratio: 3 / 2;
  }

  .lab-visit-intro__text {
    box-sizing: border-box;
    width: calc(100% - 9cqw);
    margin-inline: auto;
  }

  .lab-visit-list {
    padding-bottom: 40px;
  }

  .lab-visit-list__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .lab-visit-card__title {
    font-size: 15px;
  }

  .lab-visit-list .pl-pager {
    margin-top: 40px;
  }
}

/* ========== コラム記事詳細 ========== */
.ca-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 16px;
}

.ca-head__cat {
  color: var(--color-primary-blue);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
}

.ca-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.ca-head__meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ca-head__date {
  color: var(--color-text-02);
  font-size: 11px;
  letter-spacing: 0.02em;
}

.ca-hero {
  margin-bottom: 16px;
  overflow: hidden;
  border-radius: 8px;
}

.ca-hero img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.ca-credit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
  color: var(--color-text-03);
  font-size: 8.5px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.02em;
}

.ca-credit__sep {
  display: inline-block;
  width: 1px;
  height: 8px;
  background: var(--color-text-03);
}

.ca-text {
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.01em;
}

.ca-shop {
  margin: 24px 28px 40px;
  padding: 2cqw 3cqw 3.5cqw;
  border: 1px solid var(--color-bg-02);
  border-radius: 10px;
}

.ca-shop__ttl {
  margin-bottom: 14px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.9;
  letter-spacing: 0.02em;
}

.ca-shop__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ca-shop__row {
  display: grid;
  grid-template-columns: 61px 1fr;
  align-items: start;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.ca-shop__row dt {
  font-weight: 700;
  text-align: justify;
  text-align-last: justify;
}

.ca-shop__row dt::after {
  content: "：";
}

.ca-shop__row dd a {
  word-break: break-all;
}

.ca-shop__row dd a:hover {
  color: var(--color-primary-blue);
  text-decoration: underline;
}

.ca-toc {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 8px;
  padding: 4cqw 3cqw;
  border-radius: 10px;
  background: var(--color-bg-01);
}

.ca-toc__label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  width: 29px;
  color: var(--color-primary-blue);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.03em;
  text-align: center;
}

.ca-toc__label img {
  width: 25px;
  height: 16px;
}

.ca-toc__list {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.ca-toc__list > li {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-bg-02);
}

.ca-toc__list > li:not(:first-child) {
  padding-top: 16px;
}

.ca-toc__list > li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.ca-toc__list > li > a {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.ca-toc__list > li > a:hover .ca-toc__ttl {
  color: var(--color-primary-blue);
}

.ca-toc__num {
  flex-shrink: 0;
  color: var(--color-primary-blue);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.ca-toc__ttl {
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.ca-toc__subs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
  padding-left: 31px;
}

.ca-toc__subs li {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.ca-toc__subs li::before {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 10px;
  height: 1px;
  margin-top: 8px;
  background: var(--color-primary-blue);
}

.ca-h2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin: 28px 0 12px;
  scroll-margin-top: 24px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.ca-h2::before {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--color-primary-blue) 0 16px,
    var(--color-green) 16px 32px
  );
}

.ca-h3 {
  display: flex;
  gap: 5px;
  align-items: center;
  margin: 18px 0 10px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.ca-h3::before {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 12px;
  height: 7px;
  background: linear-gradient(
    180deg,
    var(--color-primary-blue) 0 2px,
    transparent 2px 5px,
    var(--color-green) 5px 7px
  );
}

.ca-h4 {
  margin: 12px 0 6px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.ca-fig {
  margin: 8px 0 12px;
}

.ca-fig img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 8px;
}

.ca-fig figcaption {
  margin-top: 10px;
  color: var(--color-text-02);
  font-size: 8px;
  letter-spacing: 0.02em;
}

.ca-ul,
.ca-ol {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 10px 0;
  font-size: 16px;
  line-height: 1.5;
}

.ca-ul li,
.ca-ol li {
  position: relative;
  padding-left: 16px;
}

.ca-ul li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-green);
}

.ca-ol {
  counter-reset: ca-ol;
}

.ca-ol li {
  counter-increment: ca-ol;
}

.ca-ol li::before {
  content: counter(ca-ol);
  position: absolute;
  top: 0;
  left: 0;
  font-size: 16px;
  line-height: 1.5;
}

.ca-article > .pd-table,
.ca-article > .ca-table {
  margin: 16px 28px;
  width: stretch;
}

.ca-table-scroll {
  margin: 16px 28px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.ca-text,
.ca-point,
.ca-h2,
.ca-h3,
.ca-h4,
.ca-ul,
.ca-ol {
  margin-left: 28px;
  margin-right: 28px;
}

.ca-table-scroll::-webkit-scrollbar {
  height: 10px;
}

.ca-table-scroll::-webkit-scrollbar-track {
  background: var(--color-bg-footer);
  border-radius: 6px;
}

.ca-table-scroll::-webkit-scrollbar-thumb {
  background: var(--color-placeholder);
  border-radius: 6px;
}

.ca-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--color-bg-02);
  border-radius: 6px;
  overflow: hidden;
}

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

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

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

.ca-table thead th {
  padding: 12px 5px;
  color: var(--color-white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.ca-table tbody th {
  background: var(--color-bg-01);
}

.ca-table--blue thead th {
  background: var(--color-primary-blue);
}

.ca-table--green {
  min-width: 417px;
}

.ca-table--green thead th {
  background: var(--color-primary-green);
}

.ca-table--green td span {
  font-size: 13px;
}

.ca-point {
  margin-top: 16px;
  margin-bottom: 16px;
  padding: 20px;
  border-radius: 8px;
  background: rgba(142, 195, 31, 0.06);
}

.ca-point__ttl {
  margin-bottom: 20px;
  color: var(--color-primary-green);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.ca-point__list {
  display: flex;
  flex-direction: column;
}

.ca-point__row {
  display: grid;
  grid-template-columns: 2em 1fr;
  gap: 14px;
  align-items: start;
  padding-bottom: 16px;
  color: #193501;
}

.ca-point__row:not(:last-child) {
  margin-bottom: 16px;
  border-bottom: 1px solid var(--color-bg-02);
}

.ca-point__row dt {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.ca-point__row dd {
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.ca-foot-tags {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 40px 0 16px;
}

.ca-foot-tags__cat {
  color: var(--color-primary-blue);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.ca-data {
  padding: 20px 0;
  border-top: 1px solid var(--color-bg-02);
  border-bottom: 1px solid var(--color-bg-02);
}

.ca-data__ttl {
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.ca-data__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ca-data__row {
  display: grid;
  grid-template-columns: 61px 1fr;
  align-items: start;
  font-size: 12px;
  line-height: 1.4;
}

.ca-data__row dt {
  position: relative;
  padding-right: 12px;
}

.ca-data__row dt::after {
  position: absolute;
  right: 0;
  content: "：";
}

.ca-share {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
}

.ca-share__ttl {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.01em;
  text-align: center;
}

.ca-share__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 12px 0;
}

.ca-share__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 33px;
}

.ca-share__btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ca-share__list li:nth-child(1) .ca-share__btn {
  width: 30px;
  height: 30px;
}

.ca-share__list li:nth-child(2) .ca-share__btn {
  width: 25px;
  height: 25px;
}

.ca-share__list li:nth-child(3) .ca-share__btn {
  width: 31px;
  height: 30px;
}

.ca-authors {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 16px 0 40px;
  padding: 24px;
  border-radius: 10px;
  background: var(--color-bg-01);
}

.ca-author:first-child {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-bg-02);
}

.ca-author__head {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 10px;
}

.ca-author__avatar {
  display: block;
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--color-placeholder);
}

.ca-author__name {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.ca-author__role {
  color: var(--color-primary-blue);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
}

.ca-author__ja {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.ca-author__en {
  color: var(--color-text-02);
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
}

.ca-author__bio {
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.01em;
}

.ca-related {
  padding-top: 8px;
}

.ca-related .pd-h2 {
  margin-bottom: 24px;
  font-size: 20px;
}

.ca-related__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.ca-related .columns-post__link {
  flex-direction: row;
  gap: 12px;
  align-items: flex-start;
}

.ca-related .columns-post__thumb {
  width: 126px;
  aspect-ratio: 1 / 1;
}

.ca-related .columns-post__title {
  font-size: 13px;
}

@media (max-width: 767px) {
  .ca-head {
    margin-bottom: 0;
    padding: 16px 16px 20px;
  }

  .ca-title {
    font-size: 20px;
    line-height: 1.4;
    letter-spacing: 0;
  }

  .ca-hero {
    margin-bottom: 0;
    border-radius: 0;
  }

  .ca-hero img {
    aspect-ratio: 390 / 260;
  }

  .ca-credit {
    padding: 4px 28px 28px;
  }

  .ca-toc {
    margin-bottom: 0;
    border-radius: 0;
    padding: 7cqw 6cqw 7cqw 5cqw;
  }

  .ca-shop {
    margin: 24px 28px 40px;
  }

  .ca-text {
    font-size: 14px;
    line-height: 2;
  }

  .ca-h2 {
    margin-top: 28px;
    font-size: 18px;
  }

  .ca-h3 {
    font-size: 16px;
  }

  .ca-h4 {
    font-size: 15px;
  }

  .ca-shop__ttl {
    font-size: 14px;
  }

  .ca-ul,
  .ca-ol,
  .ca-ol li::before {
    font-size: 14px;
  }

  .ca-ul li::before {
    top: 7.5px;
  }

  .ca-point__ttl {
    font-size: 15px;
  }

  .ca-author__bio {
    font-size: 14px;
    line-height: 2;
  }

  .ca-related .pd-h2 {
    font-size: 18px;
  }

  .ca-fig {
    padding: 8px 16px 0;
  }

  .ca-point {
    margin: 16px;
  }

  .ca-foot-tags {
    padding: 40px 28px 16px;
  }

  .ca-data {
    margin: 0 28px;
    padding: 20px 0;
  }

  .ca-share {
    padding: 16px 28px;
  }

  .ca-authors {
    margin: 16px 16px 40px;
  }

  .ca-related {
    padding: 0 16px;
  }

  .ca-related__list {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ca-related .columns-post__title {
    font-size: 12.5px;
  }
}

