/* ===== Reset & base ===== */
.lp-product-category, .lp-product-category * { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy: #052e5c;
  --navy-deep: #04213f;
  --navy-text: #0d2b4e;
  --blue-accent: #1f5fd1;
  --orange: #fc7300;
  --gray-bg: #f9fafc;
  --gray-line: #e5e7eb;
  --tag-bg: #eaf1fd;
  --text: #333d4d;
  --text-light: #6b7280;
}

.lp-product-category { scroll-behavior: smooth; }

.lp-product-category {
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", "Segoe UI", sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.85;
  font-size: 14.5px;
}

.lp-product-category .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.lp-product-category a { color: inherit; text-decoration: none; }
.lp-product-category ul { list-style: none; }

/* ===== Typography spec =====
   h2: 32px / 800 / 1.5
   h3: 20px / 700 / 1.5
   h4: 18px / 700 / 1.5
   h4 inside cards: 16px / 700 / 1.6
   p : 16px / 1.75
*/
.lp-product-category h1, .lp-product-category h2, .lp-product-category h3, .lp-product-category h4 { color: var(--navy-text); }

.lp-product-category h2 {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 24px;
  scroll-margin-top: 100px; /* 目次からのジャンプ時、固定ヘッダーに見出しが隠れないように */
}
/* 1つのsection内に複数のh2が並ぶ場合（例：定義／仕組み／用途）、
   section区切りがない分、2つ目以降のh2の上に80px相当の余白を確保する */
.lp-product-category .inner h2:not(:first-child) {
  margin-top: 80px;
}
.lp-product-category h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  margin: 30px 0 16px;
}
.lp-product-category h3.sub { margin-top: 34px; }
.lp-product-category h4 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 16px;
}
.lp-product-category p {
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 8px;
}

/* h4 titles that live inside a card-style box */
.lp-product-category .type-card h4, .lp-product-category .shape-card h4, .lp-product-category .choose-item h4, .lp-product-category .note-box h4, .lp-product-category .highlight-box h4, .lp-product-category .step-card h4 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}

/* eyebrow now lives inside h2 / h3 as a leading block-level span */
.lp-product-category .eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue-accent);
  letter-spacing: 0.5px;
  margin-bottom: 0px;
}
.lp-product-category .eyebrow-light { color: #8fb4ec; }

/* ===== Placeholder visuals (stand-ins for photography) ===== */
.lp-product-category .ph-photo {
  background: linear-gradient(135deg, #dfe4eb 0%, #b7c0cf 55%, #93a0b5 100%);
  border-radius: 4px;
  height: 130px;
  margin-bottom: 12px;
}

/* ===== Header ===== */
.lp-product-category .site-header {
  background: #fff ;
  padding: 16px 0 8px;
  /* ヘッダーを画面上部に固定して追随させる */
  position: sticky ;
  top: 0 ;
  z-index: 100 ;
  /* 固定時に下にコンテンツと区切る線を表示 */
  border-bottom: 2px solid var(--navy) ;
}
.lp-product-category .site-header .inner {
  /* ロゴ（＋タグライン）を左、目次ボタンを右に配置 */
  display: flex ;
  flex-direction: row ;
  align-items: center ;
  justify-content: space-between ;
  gap: 12px ;
}
.lp-product-category .logo {
  display: flex ;
  flex-direction: column;
  align-items: flex-start;
}
.lp-product-category .logo img {
  display: block ;
  width: 130px ;
  height: auto ;
  max-width: none ;
}
.lp-product-category .logo img:not(:last-child) {
  margin-bottom: 5px ;
}
.lp-product-category .inner .site_description_text {
  font-size: 12px ;
  line-height: 1.6 ;
  color: var(--navy) ;
  padding-bottom: 8px ;
  margin: 0 ;
  display: block ;
  max-width: 500px ;
  width: auto ;
}

.lp-product-category .breadcrumb-bar {
  background: #fff ;
  padding-top: 14px ;
  padding-bottom: 14px ;
  margin: 0 ;
  display: flex ; /* リストを横並びに（サイト共通CSSに上書きされないようguard） */
  flex-wrap: wrap ; /* リストが折り返すように */
  list-style: none ; /* リストスタイルを無しに */
  align-items: center ;
}
.lp-product-category .breadcrumb-list { font-size: 12px ; margin: 0 ; display: inline ; }
.lp-product-category .breadcrumb-list:not(:last-of-type)::after {
  content: ">"; /* 区切り文字 */
  margin: 0 .6em; /* 区切り文字の左右の余白 */
}
/* ===== Hero ===== */
.lp-product-category .hero {
  background-image: linear-gradient(120deg, rgba(124, 147, 171, 0.82) 0%, rgba(93, 121, 152, 0.82) 45%, rgba(47, 77, 112, 0.82) 100%), url('img/hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding: 100px 0 ;
}
.lp-product-category .hero h1 {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.6;
  margin-bottom: 48px;
  color: #fff;
}
.lp-product-category .hero-lead { 
  font-size: 16px; 
  line-height: 1.75; 
  color: #eaf0f8; 
  max-width: 1200px; 
  margin-bottom: 32px; 
}
.lp-product-category .hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
  max-width: 1200px;
}
.lp-product-category .hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: 12px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 12px 18px;
  border: 1px solid rgba(255,255,255,0.25);
  /* flex-basis:0 + min-width:0 で、文字数に関わらず2つのボタン幅を必ず揃える */
  flex: 1 1 0;
  min-width: 0;
  max-width: none;
}
.lp-product-category .hero-btn.orange { background: var(--orange); border-color: transparent; }
.lp-product-category .hero-btn:hover { opacity: 0.8; }

/* ===== Sections ===== */
.lp-product-category main { display: block; }
.lp-product-category section.section { margin-bottom: 80px; }
.lp-product-category .hero { margin-bottom: 80px; }
.lp-product-category section.section:last-of-type { margin-bottom: 0; }

.lp-product-category .lead-box {
  background: var(--gray-bg);
  border: 1px solid var(--gray-line);
  border-radius: 6px;
  padding: 20px;
  margin: 14px 0 26px;
}
.lp-product-category .lead-box p { margin: 0; }

/* ===== Flow diagram ===== */
.lp-product-category .flow-box {
  background: #eef6ff;
  border-radius: 8px;
  padding: 20px;
  margin: 20px auto 30px;
  text-align: center;
}
.lp-product-category .flow-caption { font-weight: 700; color: var(--navy-text); font-size: 14px; margin-bottom: 12px; text-align: center; }
.lp-product-category .flow-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; }
.lp-product-category .flow-pill {
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 6px;
  white-space: nowrap;
}
.lp-product-category .flow-arrow { color: var(--navy); font-weight: 700; padding: 0 2px; }

/* ===== Usage list ===== */
.lp-product-category .usage-list { display: flex; flex-direction: column; gap: 32px; margin-top: 16px; }
.lp-product-category .usage-item {
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid #d5dae2;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 1px 2px rgba(13, 43, 78, 0.04);
}
.lp-product-category .usage-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
}
.lp-product-category .usage-icon img { width: 100%; height: 100%; object-fit: contain; }
.lp-product-category .usage-text h4 { margin-bottom: 6px; }
.lp-product-category .usage-text p { font-size: 14.5px; margin-bottom: 4px; }
.lp-product-category .usage-example { color: var(--blue-accent); font-weight: 700; font-size: 13.5px; }

/* ===== Type cards ===== */
.lp-product-category .type-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 16px 0 24px;
}
.lp-product-category .type-card {
  border: 1px solid var(--gray-line);
  border-radius: 8px;
  padding: 20px;
}
.lp-product-category .mini-diagram {
  background: var(--gray-bg);
  border-radius: 4px;
  padding: 10px;
  font-size: 11px;
  color: var(--text-light);
  margin-bottom: 12px;
  text-align: center;
}
.lp-product-category .type-card p { font-size: 13.5px; }

/* ===== Tables ===== */
.lp-product-category .table-scroll { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 16px 0 30px; }
.lp-product-category .data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  margin: 0;
}
.lp-product-category .data-table th {
  background: var(--navy);
  color: #fff;
  text-align: left;
  padding: 12px 16px;
  font-weight: 600;
  white-space: nowrap;
}
.lp-product-category .data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-line);
}
.lp-product-category .data-table tr:nth-child(even) td { background: var(--gray-bg); }

/* ===== Shape cards ===== */
.lp-product-category .shape-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 16px 0 8px;
}
.lp-product-category .shape-card {
  border: 1px solid var(--gray-line);
  border-radius: 8px;
  padding: 20px;
}
.lp-product-category .shape-card h4 { color: var(--navy-text); }
.lp-product-category .shape-card p { font-size: 13px; color: var(--text-light); margin: 0; }

/* ===== Maker section ===== */
.lp-product-category .maker-section {
  background: var(--navy);
  padding: 48px 0;
}
.lp-product-category h2.light { color: #fff; }
.lp-product-category .maker-carousel { position: relative; margin-top: 20px; display: flex; align-items: center; gap: 24px; }
.lp-product-category .maker-viewport { overflow: hidden; flex: 1; }
.lp-product-category .maker-grid {
  display: flex;
  gap: 18px;
  transition: transform 0.35s ease;
  will-change: transform;
}
.lp-product-category .maker-card { flex: 0 0 calc(25% - 13.5px); }

.lp-product-category .carousel-arrow {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s ease, opacity 0.2s ease;
  /* ‹ › の文字を円の中で完全に中央寄せする */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.lp-product-category .carousel-arrow:hover:not(.is-disabled) { background: rgba(255,255,255,0.3); }
.lp-product-category .carousel-arrow.is-disabled { opacity: 0.3; cursor: default; }

.lp-product-category .maker-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  padding-bottom: 20px;
  /* カード内を縦のflexにして、説明文の行数が違ってもボタンの位置を揃える */
  display: flex;
  flex-direction: column;
  height: 420px;
}
.lp-product-category .maker-img-wrap {
  aspect-ratio: 1 / 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.lp-product-category .maker-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-product-category .maker-name { font-size: 14.5px; font-weight: 700; color: var(--navy-text); padding: 20px 20px 4px; margin: 0; }
.lp-product-category .maker-desc {
  font-size: 12.5px;
  color: var(--text-light);
  padding: 0 20px;
  margin: 4px 0 12px;
  min-height: 32px;
  /* 残りスペースを埋めて、直後のボタンを各カード共通の位置まで押し下げる */
  flex: 1;
}
.lp-product-category .maker-btn {
  display: block;
  margin: 0 20px;
  background: var(--blue-accent);
  color: #fff;
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
  padding: 9px 10px;
}

/* ===== Choose list ===== */
.lp-product-category .choose-list { display: flex; flex-direction: column; gap: 18px; margin: 16px 0 10px; }
.lp-product-category .choose-item {
  background: var(--gray-bg);
  border: 1px solid var(--gray-line);
  border-radius: 8px;
  padding: 20px;
}
.lp-product-category .choose-item h4 { color: var(--blue-accent); margin-bottom: 10px; }
.lp-product-category .choose-item p { font-size: 14.5px; }
.lp-product-category .choose-item ul { margin: 6px 0 10px; padding-left: 4px; }
.lp-product-category .choose-item li { font-size: 14.5px; margin-bottom: 4px; }
.lp-product-category .choose-item .note { font-size: 12.5px; color: var(--text-light); margin-top: 8px; }
.lp-product-category .mini-flow {
  background: #eef6ff;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-text);
  text-align: center;
  margin: 10px 0;
}

/* ===== Steps ===== */
.lp-product-category .steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 18px 0 24px;
}
.lp-product-category .step-card {
  background: #eef6ff;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
}
.lp-product-category .step-icon { margin-bottom: 8px; display: flex; justify-content: center; }
.lp-product-category .step-icon img { width: 44px; height: 44px; object-fit: contain; }
.lp-product-category .step-title { color: var(--blue-accent); margin-bottom: 6px; }
.lp-product-category .step-desc { font-size: 12.5px; color: var(--text-light); margin: 0; }

.lp-product-category .note-box {
  border: 1px solid var(--gray-line);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 16px;
}
.lp-product-category .note-box h4 { color: var(--navy-text); margin-bottom: 10px; }
.lp-product-category .note-box li { font-size: 13.5px; margin-bottom: 6px; padding-left: 14px; position: relative; }
.lp-product-category .note-box li::before { content: "•"; position: absolute; left: 0; color: var(--blue-accent); }

/* ===== Glossary ===== */
.lp-product-category .term-list { margin: 14px 0 20px; }
.lp-product-category .term-list li { font-size: 14.5px; margin-bottom: 8px; padding-left: 14px; position: relative; }
.lp-product-category .term-list li::before { content: "•"; position: absolute; left: 0; color: var(--blue-accent); }
.lp-product-category .term-list strong { color: var(--navy-text); }

.lp-product-category .highlight-box {
  background: #eef6ff;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 26px;
}
.lp-product-category .highlight-box h4 { color: var(--blue-accent); margin-bottom: 8px; }
.lp-product-category .highlight-box p { font-size: 13.5px; margin: 0; }

/* ===== FAQ ===== */
.lp-product-category .faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.lp-product-category .faq-item {
  border: 1px solid var(--gray-line);
  border-radius: 8px;
  overflow: hidden;
}
.lp-product-category .faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  margin: 0;
  padding: 20px;
  font: inherit;
  text-align: left;
  color: inherit;
  cursor: pointer;
}
.lp-product-category .faq-item .q { font-weight: 700; color: var(--blue-accent); margin: 0; font-size: 15px; }
.lp-product-category .faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}
.lp-product-category .faq-icon::before, .lp-product-category .faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--blue-accent);
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease;
}
.lp-product-category .faq-icon::before { width: 14px; height: 2px; }
.lp-product-category .faq-icon::after { width: 2px; height: 14px; }
.lp-product-category .faq-question[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.lp-product-category .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.lp-product-category .faq-answer-inner { padding: 0 20px 20px; }
.lp-product-category .faq-item .a { font-size: 13.5px; color: var(--text); margin: 0; }

/* ===== Ranking section ===== */
.lp-product-category .ranking-section { background: var(--navy-deep); padding: 50px 0; color: #fff; }
.lp-product-category .small-head { margin: 30px 0 14px; font-size: 17px; color: #fff;}

.lp-product-category .rank-list { display: flex; flex-direction: column; gap: 10px; }
.lp-product-category .rank-row {
  background: #fff;
  border-radius: 8px;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.lp-product-category .rank-thumb {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 4px;
  background: #fff;
  border: 1px solid var(--gray-line);
}
.lp-product-category .rank-info { flex: 1; }
.lp-product-category .rank-info p { color: var(--text); font-size: 13px; margin-bottom: 4px; }
.lp-product-category .rank-title { font-size: 20px; font-weight: 700; line-height: 1.5; color: var(--navy-text); margin-bottom: 4px; }
.lp-product-category .rank-num { color: var(--blue-accent); margin-right: 6px; }
.lp-product-category .cat-desc { color: var(--text-light); }

.lp-product-category .tag {
  display: inline-block;
  background: var(--tag-bg);
  color: var(--blue-accent);
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  margin: 2px 4px 2px 0;
}
.lp-product-category .tag.lg { font-size: 13px; padding: 4px 16px; border-radius: 999px; }

.lp-product-category .rank-btn {
  flex-shrink: 0;
  background: var(--blue-accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 11px 18px;
  white-space: nowrap;
  min-width: 200px;
  text-align: center;
}
.lp-product-category .rank-btn.orange { background: var(--orange); }
.lp-product-category .rank-btn-group { display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }

/* ===== Related products ===== */
.lp-product-category .sub-head { margin: 24px 0 10px; color: var(--navy-text); }
.lp-product-category .tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }

/* ===== CTA ===== */
.lp-product-category .cta-section { background: #eef6ff; padding: 44px 0; }
.lp-product-category .cta-buttons { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; }
.lp-product-category .cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: 12px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 12px 18px;
  flex: 1 1 0;
  min-width: 0;
  max-width: none;
  width: auto;
}
.lp-product-category .cta-btn.orange { background: var(--orange); }
.lp-product-category .cta-btn:hover { opacity: 0.9; }

/* ===== Footer ===== */
.lp-product-category .site-footer {
  background: var(--navy-deep);
  color: #8b9ab8;
  padding: 22px 0;
  font-size: 12px;
}
.lp-product-category .footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.lp-product-category .footer-inner p { margin: 0; font-size: 12px; }
.lp-product-category .footer-logo {
  height: 20px;
  width: auto;
  background: #fff;
  padding: 4px 10px;
  border-radius: 4px;
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .lp-product-category h2 { font-size: 26px; }
  .lp-product-category .type-cards, .lp-product-category .shape-cards { grid-template-columns: repeat(2, 1fr); }
  .lp-product-category .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-product-category .maker-card { flex: 0 0 calc(50% - 9px); }

  /* タブレット幅：横並びのまま、padding/フォントを詰めて文字が2列に折り返さないようにする */
  .lp-product-category .hero-btn, .lp-product-category .cta-btn {
    padding: 16px 16px;
    font-size: 14.5px;
    gap: 8px;
  }
}

@media (max-width: 640px) {
  .lp-product-category .inner { padding: 0 28px; }
  .lp-product-category section.section { margin-bottom: 80px; }
  .lp-product-category .hero { margin-bottom: 80px; padding: 72px 0; }
  .lp-product-category h2 { font-size: 22px; margin-bottom: 24px; }
  .lp-product-category h3 { font-size: 18px; margin: 40px 0 20px; }
  .lp-product-category h4 { font-size: 16px; margin-bottom: 14px; }
  .lp-product-category p { font-size: 15px; margin-bottom: 14px; }

  /* ロードセルの用途：SPはアイコン・テキストともに中央寄せ */
  .lp-product-category .usage-list { gap: 44px; }
  .lp-product-category .usage-item { flex-direction: column; align-items: center; text-align: center; }
  .lp-product-category .usage-icon { margin: 0 auto 8px; }

  .lp-product-category .type-cards, .lp-product-category .shape-cards, .lp-product-category .steps-grid { grid-template-columns: 1fr; gap: 24px; }
  .lp-product-category .type-card, .lp-product-category .shape-card, .lp-product-category .step-card, .lp-product-category .choose-item, .lp-product-category .note-box, .lp-product-category .usage-item { padding: 28px; }
  .lp-product-category .faq-question { padding: 24px; }
  .lp-product-category .faq-answer-inner { padding: 0 24px 24px; }
  .lp-product-category .choose-list { gap: 28px; }
  .lp-product-category .steps-grid { margin: 28px 0 36px; }
  .lp-product-category .faq-list { gap: 20px; }
  .lp-product-category .rank-list { gap: 20px; }

  .lp-product-category .maker-card { flex: 0 0 100%; }
  .lp-product-category .rank-row { flex-wrap: wrap; }
  .lp-product-category .hero h1 { font-size: 21px; }
  .lp-product-category .hero-buttons { flex-direction: column; }
  .lp-product-category .hero-btn { flex: 1 1 100%; width: 100%; }
  .lp-product-category .cta-buttons { flex-direction: column; }
  .lp-product-category .cta-btn { flex: 1 1 100%; width: 100%; }

  /* tables scroll horizontally instead of squeezing columns */
  .lp-product-category .data-table { min-width: 620px; }

  /* おすすめロードセル：画像 → 文章 → ボタン の縦並びに組み替え */
  .lp-product-category .rank-row {
    flex-direction: column;
    align-items: stretch;
    padding: 28px;
  }
  .lp-product-category .rank-thumb {
    order: 1;
    width: 100%;
    max-width: 100%;
    height: 180px;
    object-fit: contain;
    background: #fff;
    border: 1px solid var(--gray-line);
    border-radius: 6px;
    margin: 0 0 24px;
  }
  .lp-product-category .rank-info { order: 2; }
  .lp-product-category .rank-btn {
    order: 3;
    width: 100%;
    text-align: center;
    margin-top: 24px;
  }
  .lp-product-category .rank-btn-group { order: 3; width: 100%; margin-top: 24px; }
  .lp-product-category .rank-btn-group .rank-btn { margin-top: 0; }
}

/* ===== TOC ハンバーガーメニュー（ヘッダー内） ===== */
.lp-product-category .toc-toggle {
  position: static;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.lp-product-category .toc-toggle:hover { opacity: 0.7; }
.lp-product-category .toc-toggle-label { display: none; }
.lp-product-category .toc-toggle-bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 27px;
}
.lp-product-category .toc-toggle-bars span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.lp-product-category .toc-toggle[aria-expanded="true"] .toc-toggle-bars span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.lp-product-category .toc-toggle[aria-expanded="true"] .toc-toggle-bars span:nth-child(2) {
  opacity: 0;
}
.lp-product-category .toc-toggle[aria-expanded="true"] .toc-toggle-bars span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.lp-product-category .toc-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 33, 63, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 205;
}
.lp-product-category .toc-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lp-product-category .toc-panel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 340px;
  max-width: 86vw;
  background: #fff;
  box-shadow: -8px 0 24px rgba(4, 33, 63, 0.2);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 220;
  display: flex;
  flex-direction: column;
}
.lp-product-category .toc-panel.is-open { transform: translateX(0); }

.lp-product-category .toc-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px;
  border-bottom: 1px solid var(--gray-line);
  flex-shrink: 0;
}
.lp-product-category .toc-panel-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-text);
  margin: 0;
}
.lp-product-category .toc-close {
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: var(--text-light);
  cursor: pointer;
  padding: 4px 8px;
}
.lp-product-category .toc-close:hover { color: var(--navy-text); }

.lp-product-category .toc-list-wrap {
  overflow-y: auto;
  flex: 1;
  padding: 8px 0 24px;
}
.lp-product-category .toc-list { list-style: none; margin: 0; padding: 0; }
.lp-product-category .toc-list li {
  border-bottom: 1px solid var(--gray-line);
}
.lp-product-category .toc-list a {
  display: block;
  padding: 16px 20px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy-text);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
}
.lp-product-category .toc-list a:hover,
.lp-product-category .toc-list a:focus {
  background: var(--tag-bg);
  color: var(--blue-accent);
  padding-left: 26px;
}

@media (max-width: 640px) {
  .lp-product-category .toc-panel { width: 88vw; }
}

/* ===== フッター（サイト共通デザイン）の部分上書き ===== */
/* responsive.cssが #footer_plus .cate_fixed li a:before に一律で「>」を付けているが、
   バナー画像(only_bnr)の前には不要なため、SP幅でその項目だけ矢印を消す */
@media screen and (max-width: 767px) {
  #footer_plus .cate_fixed li.only_bnr a:before {
    content: none;
  }
}
