
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ===============================
   NORTHERLYMED-STYLE COLOR SYSTEM
   - Almost entirely white/light gray
   - Dark navy text & accents
   - No gradients, no decorations
   =============================== */
:root {
  --white:    #FFFFFF;
  --bg:       #EDF4FF;        /* bright light blue page bg */
  --bg-light: #F4F9FF;        /* section bg */
  --border:   #C2D6EE;        /* clean blue-gray border */
  --navy:     #1A3D72;        /* vivid navy blue */
  --navy2:    #234E90;        /* hover */
  --teal:     #1A8875;        /* 医療グリーンティール */
  --blue:     #1E78D0;        /* bright link blue */
  --text:     #0F1E36;        /* deep blue-black */
  --muted:    #3B5270;        /* blue-gray muted */
  --light-txt:#6A88AA;        /* light blue-gray */
  --rule:     #A8BFDB;        /* light blue rule */
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.9;
  font-size: 15px;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ===== HEADER ===== */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.header-wrap {
  max-width: 1140px; margin: 0 auto;
  padding: 0 32px; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
/* Logo */
.logo { display: flex; align-items: center; gap: 14px; }
.logo-img {
  width: 38px; height: 38px;
  background: transparent;
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.logo-img img {
  width: 100%; height: 100%; object-fit: contain; display: block;
}
.logo-name { font-size: 15px; font-weight: 700; color: var(--navy); letter-spacing: 0.04em; }
.logo-sub  { font-size: 10px; color: var(--light-txt); letter-spacing: 0.1em; text-transform: uppercase; }

/* Desktop nav — northerlymed style: plain links separated by thin vertical bars */
.desk-nav { display: flex; align-items: center; }
.desk-nav a {
  font-size: 13px; font-weight: 500; color: var(--navy);
  padding: 0 18px; line-height: 64px;
  border-left: 1px solid var(--border);
  transition: color 0.15s; white-space: nowrap;
  display: block;
}
.desk-nav a:hover { color: var(--navy); }
.desk-nav a.here { font-weight: 700; color: var(--navy); border-bottom: 2px solid var(--navy); }
.desk-nav .btn-contact {
  background: var(--navy); color: #fff !important;
  border-radius: 3px; padding: 0 22px !important;
  line-height: 34px !important; margin-left: 14px;
  align-self: center; display: flex; align-items: center;
  font-weight: 600 !important; font-size: 13px;
  transition: background 0.15s; border: none !important;
}
.desk-nav .btn-contact:hover { background: var(--navy2); }

/* hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 1px; transition: all 0.28s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== MOBILE DRAWER ===== */
.mob-mask {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,0.3);
  opacity: 0; pointer-events: none; transition: opacity 0.25s;
}
.mob-mask.show { opacity: 1; pointer-events: auto; }
.mob-panel {
  position: fixed; top: 0; right: 0; bottom: 0; width: 256px; z-index: 400;
  background: var(--white); border-left: 1px solid var(--border);
  transform: translateX(100%); transition: transform 0.3s cubic-bezier(.4,0,.2,1);
  padding-top: 72px; overflow-y: auto;
}
.mob-panel.show { transform: translateX(0); }
.mob-panel a {
  display: block; padding: 14px 24px;
  font-size: 15px; color: var(--navy); font-weight: 500;
  border-bottom: 1px solid var(--border); transition: background 0.12s;
}
.mob-panel a:hover { background: var(--bg-light); }
.mob-panel .mob-cta {
  margin: 16px 20px; display: block; text-align: center;
  background: var(--navy); color: #fff !important;
  padding: 12px; border-radius: 3px; font-weight: 700;
  border-bottom: none;
}

/* ===== BOTTOM NAV (SP) ===== */
.bnav {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: var(--white); border-top: 1px solid var(--border);
  padding-bottom: env(safe-area-inset-bottom);
}
.bnav-inner { display: flex; }
.bnav-btn {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 8px 4px; background: none; border: none;
  color: var(--light-txt); cursor: pointer; font-family: inherit;
  border-left: 1px solid var(--border); transition: color 0.15s;
}
.bnav-btn:first-child { border-left: none; }
.bnav-btn.on { color: var(--navy); }
.bnav-btn svg { width: 20px; height: 20px; fill: currentColor; }
.bnav-btn span { font-size: 10px; font-weight: 700; }

/* ===== HERO ===== */
.hero {
  padding-top: 64px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
/* main-wrap と同じ水平制約 */
.hero-inner-wrap {
  max-width: 1140px; margin: 0 auto;
  padding: 0 32px;
}
/* SVGをコンテンツ幅内にクリップ */
.hero-bg-box {
  position: relative; overflow: hidden;
}
.hero-bg-svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}
.hero-wrap {
  position: relative; z-index: 1;
  padding: 28px 0 32px 40px;
}
.hero-wrap > div {
  width: 440px;
}
.hero-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: 10px;
}
.hero-heading {
  font-family: 'Noto Serif JP', serif;
  font-size: 26px; font-weight: 700; line-height: 1.65;
  color: #0A2040;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.hero-body {
  font-family: 'Noto Serif JP', serif;
  font-size: 14px; color: #1C3A5C; line-height: 1.9;
  font-weight: 400; letter-spacing: 0.03em;
  margin-bottom: 20px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-fill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--navy); color: #fff;
  font-size: 13px; font-weight: 700; padding: 11px 26px;
  border-radius: 2px; border: none; cursor: pointer;
  font-family: inherit; letter-spacing: 0.04em;
  transition: background 0.15s;
}
.btn-fill:hover { background: #146A5D; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; border: 1px solid var(--border);
  color: var(--navy); font-size: 14px; font-weight: 600;
  padding: 12px 28px; border-radius: 2px; cursor: pointer;
  font-family: inherit; transition: border-color 0.15s;
}
.btn-ghost:hover { border-color: var(--navy); }

/* Hero right: 4-cell product image panel */
.hero-panel {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2px; background: var(--border);
  border: 1px solid var(--border); border-radius: 2px;
}
.hero-cell {
  background: var(--bg-light);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; min-height: 148px; overflow: hidden;
}
.hero-cell img {
  max-height: 96px; width: 100%; object-fit: contain;
  transition: transform 0.3s;
}
.hero-cell:hover img { transform: scale(1.06); }

/* ===== MAIN CONTENT AREA ===== */
.main-wrap {
  max-width: 1140px; margin: 0 auto;
  padding: 40px 32px 64px;
  display: grid; grid-template-columns: 1fr 296px; gap: 56px;
}

/* ===== NEWS / INFORMATION ===== */
/* northerlymed style: heading line, date+text rows */
.news-top {
  display: flex; align-items: baseline; justify-content: space-between;
  border-bottom: 2px solid var(--teal);
  padding-bottom: 10px; margin-bottom: 4px;
}
.news-heading {
  font-family: 'Noto Serif JP', serif;
  font-size: 22px; font-weight: 700; color: var(--navy);
}
.news-more {
  font-size: 12px; color: var(--blue); font-weight: 500;
  display: flex; align-items: center; gap: 2px;
}
.news-more::after { content: ' ›'; }
.news-sub { font-size: 12px; color: var(--muted); margin-bottom: 22px; letter-spacing: 0.04em; }
.news-list { }
.news-row {
  display: flex; gap: 20px;
  padding: 14px 0; border-bottom: 1px solid var(--rule);
  transition: background 0.1s;
}
.news-row:first-child { border-top: 1px solid var(--rule); }
.news-row:hover { background: var(--white); padding: 14px 8px; margin: 0 -8px; }
.news-dt { font-size: 13px; color: var(--teal); min-width: 72px; padding-top: 2px; font-weight: 600; letter-spacing: 0.03em; }
.news-tx { font-size: 15px; color: var(--text); line-height: 1.85; }

/* ===== SIDEBAR ===== */
.sidebar { display: flex; flex-direction: column; gap: 16px; }

.side-block {
  background: var(--white); border: 1px solid var(--border);
}
.side-head {
  background: var(--teal); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 10px 18px;
}
.side-body { padding: 16px; }

.partner-line {
  display: flex; align-items: center; min-height: 50px;
  border-bottom: 1px solid var(--rule); padding: 6px 0;
}
.partner-line:last-child { border-bottom: none; }
.partner-line img { max-height: 28px; max-width: 100%; object-fit: contain; }

.lic-text { font-size: 13px; color: var(--navy); line-height: 2.1; font-weight: 500; }

/* ===== FOOTER ===== */
footer {
  background: var(--bg-light);
  border-top: 2px solid var(--border);
  padding: 48px 0 28px;
}
.footer-wrap {
  max-width: 1140px; margin: 0 auto; padding: 0 32px;
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 22px;
}
.footer-brand-logo {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.ft-logo-mark {
  width: 32px; height: 32px; border-radius: 3px;
  background: transparent;
  display: flex; align-items: center; justify-content: center;
}
.ft-logo-mark img {
  width: 100%; height: 100%; object-fit: contain; display: block;
}
.ft-logo-name { color: var(--navy); font-size: 13px; font-weight: 700; }
.ft-tagline { color: var(--muted); font-size: 13px; line-height: 2.0; margin-bottom: 14px; }
.ft-addr { color: var(--muted); font-size: 12px; line-height: 2.1; }
.ft-col h4 {
  color: var(--navy); font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 16px; padding-bottom: 8px;
  border-bottom: 2px solid var(--teal);
}
.ft-col ul { list-style: none; }
.ft-col li { margin-bottom: 8px; }
.ft-col li a { color: var(--muted); font-size: 13px; transition: color 0.15s; }
.ft-col li a:hover { color: var(--navy); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
}
.ft-copy { color: var(--muted); font-size: 12px; }
.ft-lic {
  color: var(--teal); font-size: 12px; font-weight: 600;
  border: 1px solid var(--teal);
  padding: 4px 14px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1040px) {
  .hero-wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero-panel { max-width: 380px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 768px) {
  .desk-nav { display: none; }
  .hamburger { display: flex; }
  .bnav { display: flex; }

  .header-wrap { padding: 0 20px; }
  .logo-sub { display: none; }

  .hero-wrap { padding: 36px 20px 40px; }
  .hero-heading { font-size: 21px; }
  .hero-panel { display: none; }
  .hero-btns { flex-direction: column; }
  .btn-fill, .btn-ghost { text-align: center; justify-content: center; width: 100%; }

  .main-wrap { grid-template-columns: 1fr; padding: 40px 20px 56px; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-wrap { padding: 0 20px; }
  footer { padding-bottom: 68px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}
@media (max-width: 480px) {
  .hero-heading { font-size: 19px; }
}


/* ══════════════════════════════════════
   医療従事者確認モーダル
══════════════════════════════════════ */
.lt-hcp-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);        /* 完全不透明・製品情報を隠す */
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: lt-hcp-fade-in 0.2s ease;
}
.lt-hcp-fade-out {
  animation: lt-hcp-fade-out 0.28s ease forwards !important;
}
@keyframes lt-hcp-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes lt-hcp-fade-out {
  from { opacity: 1; }
  to   { opacity: 0; }
}

.lt-hcp-modal {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 52px 48px 48px;
  max-width: 520px; width: 100%;
  text-align: center;
  box-shadow: 0 24px 64px rgba(26,61,114,0.18);
  border: 1px solid var(--border);
  animation: lt-hcp-slide-up 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes lt-hcp-slide-up {
  from { transform: translateY(24px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.lt-hcp-icon {
  width: 72px; height: 72px;
  background: #EDF4FF; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 34px; margin: 0 auto 24px;
}

.lt-hcp-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 20px; font-weight: 700;
  color: #0F1E36;
  margin-bottom: 18px; line-height: 1.5;
}

.lt-hcp-body {
  font-size: 14px; color: #6A88AA;
  line-height: 1.9; margin-bottom: 36px;
}

.lt-hcp-btns {
  display: flex; gap: 14px;
}

.lt-hcp-yes {
  flex: 1; padding: 16px;
  background: #2E7D57; color: white;
  font-size: 16px; font-weight: 700;
  border: none; border-radius: 10px;
  cursor: pointer; font-family: 'Noto Sans JP', sans-serif;
  transition: background 0.18s, transform 0.15s;
  letter-spacing: 0.05em;
}
.lt-hcp-yes:hover {
  background: #236644;
  transform: translateY(-1px);
}
.lt-hcp-yes:active { transform: translateY(0); }

.lt-hcp-no {
  flex: 1; padding: 16px;
  background: #EDF2F7; color: #8A9DB8;
  font-size: 16px; font-weight: 700;
  border: none; border-radius: 10px;
  cursor: pointer; font-family: 'Noto Sans JP', sans-serif;
  transition: background 0.18s;
  letter-spacing: 0.05em;
}
.lt-hcp-no:hover { background: #DDE5EF; color: #5A7090; }

@media (max-width: 480px) {
  .lt-hcp-modal { padding: 36px 24px 32px; }
  .lt-hcp-title { font-size: 18px; }
  .lt-hcp-btns  { flex-direction: column; gap: 10px; }
}

/* ══════════════════════════════════════
   製品案内 3階層レイアウト
   大分類 → 小分類 → 製品
══════════════════════════════════════ */

/* 大分類ナビ（sticky目次） */
.lt-prod-toc {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 64px; z-index: 90;
  box-shadow: 0 2px 8px rgba(28,61,107,0.06);
}
.lt-prod-toc-inner {
  max-width: 1140px; margin: 0 auto; padding: 0 32px;
  display: flex; overflow-x: auto; scrollbar-width: none;
}
.lt-prod-toc-inner::-webkit-scrollbar { display: none; }
.lt-prod-toc-item {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 22px;
  font-size: 13px; font-weight: 600; color: var(--muted);
  text-decoration: none; white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: all 0.18s;
}
.lt-prod-toc-item:hover { color: var(--navy); border-bottom-color: var(--teal); }
.lt-prod-toc-num {
  font-size: 10px; font-weight: 700;
  color: var(--teal); letter-spacing: 0.05em;
}

/* 大分類セクション */
.lt-major-section {
  margin-bottom: 60px;
  scroll-margin-top: 120px;
}
.lt-major-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
  border-radius: 6px; margin-bottom: 24px;
}
.lt-major-header-inner {
  padding: 28px 32px;
  display: flex; align-items: center;
  justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.lt-major-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 20px; font-weight: 700; color: white;
  margin-bottom: 4px; letter-spacing: 0.04em;
}
.lt-major-desc {
  font-size: 13px; color: rgba(255,255,255,0.65);
  line-height: 1.7; margin: 0;
}
.lt-major-pills { display: flex; gap: 8px; flex-wrap: wrap; flex-shrink: 0; }
.lt-subcat-pill {
  font-size: 12px; font-weight: 600; color: white;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.30);
  padding: 5px 14px; border-radius: 100px;
  text-decoration: none; transition: all 0.18s; white-space: nowrap;
}
.lt-subcat-pill:hover { background: rgba(255,255,255,0.28); }

/* 大分類直属製品 */
.lt-direct-products { margin-bottom: 28px; }
.lt-direct-products .lt-products-grid { grid-template-columns: repeat(3,1fr); }

/* 小分類セクション */
.lt-sub-section {
  margin-bottom: 32px;
  padding: 24px 28px 28px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-left: 4px solid var(--teal);
  border-radius: 0 6px 6px 0;
  scroll-margin-top: 120px;
}
.lt-sub-header { margin-bottom: 20px; }
.lt-sub-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 6px;
}
.lt-sub-bar {
  display: inline-block; width: 3px; height: 18px;
  background: var(--teal); border-radius: 2px; flex-shrink: 0;
}
.lt-sub-count {
  font-size: 11px; font-weight: 600; color: var(--teal);
  background: rgba(26,136,117,0.1);
  padding: 2px 9px; border-radius: 100px; margin-left: 4px;
}
.lt-sub-desc { font-size: 12px; color: var(--muted); line-height: 1.7; margin: 0; }
.lt-sub-section .lt-products-grid { grid-template-columns: repeat(4,1fr); }

/* レスポンシブ */
@media (max-width: 1100px) {
  .lt-sub-section .lt-products-grid { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 768px) {
  .lt-prod-toc-inner { padding: 0 16px; }
  .lt-major-header-inner { padding: 20px; }
  .lt-major-title { font-size: 17px; }
  .lt-major-pills { display: none; }
  .lt-sub-section { padding: 18px 16px 20px; }
  .lt-sub-section .lt-products-grid,
  .lt-direct-products .lt-products-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 480px) {
  .lt-sub-section .lt-products-grid,
  .lt-direct-products .lt-products-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════
   製品カード リニューアル
   スクリーンショット参考：タイトル上部・
   画像左・PDFリンク右の横並びレイアウト
══════════════════════════════════════ */

/* カードグリッドは3列 */
.lt-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.lt-sub-section .lt-products-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* カード本体 */
.lt-product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.22s, transform 0.22s;
  display: flex; flex-direction: column;
}
.lt-product-card:hover {
  box-shadow: 0 6px 24px rgba(28,61,107,0.11);
  transform: translateY(-2px);
}

/* タイトルエリア */
.lt-prod-head {
  padding: 16px 18px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-light);
  text-align: center;
}
.lt-prod-name {
  font-size: 16px; font-weight: 700;
  color: var(--navy); letter-spacing: 0.03em;
  line-height: 1.4; margin: 0;
}

/* ボディ：画像 + 情報 横並び */
.lt-prod-body {
  display: flex; flex: 1;
  min-height: 160px;
}

/* 画像エリア（左） */
.lt-prod-img {
  width: 44%; flex-shrink: 0;
  background: #F8FAFD;
  border-right: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  padding: 18px 12px;
}
.lt-prod-img img {
  max-width: 100%; max-height: 140px;
  object-fit: contain;
  transition: transform 0.3s;
}
.lt-product-card:hover .lt-prod-img img { transform: scale(1.04); }
.lt-prod-img-placeholder {
  width: 80px; height: 80px;
  background: var(--bg);
  border-radius: 4px;
}

/* 情報エリア（右） */
.lt-prod-info {
  flex: 1; padding: 18px 16px 16px;
  display: flex; flex-direction: column; gap: 12px;
}

/* PDFリンクリスト */
.lt-prod-docs {
  display: flex; flex-direction: column; gap: 8px;
}
.lt-prod-doc {
  display: flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600;
  color: var(--blue); text-decoration: none;
  line-height: 1.3;
  transition: color 0.15s;
}
.lt-prod-doc:hover { color: var(--teal); text-decoration: underline; }
.lt-prod-doc-icon {
  width: 18px; height: 18px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.lt-prod-doc-icon svg { width: 16px; height: 16px; fill: currentColor; }

/* 特徴タグ */
.lt-prod-tags {
  display: flex; flex-wrap: wrap; gap: 4px;
  margin-top: auto;
}
.lt-prod-tag {
  font-size: 10px; font-weight: 600;
  color: var(--teal);
  background: rgba(26,136,117,0.08);
  border: 1px solid rgba(26,136,117,0.25);
  padding: 2px 8px; border-radius: 100px;
}

/* 詳細ボタン */
.lt-prod-detail {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 700;
  color: var(--navy); text-decoration: none;
  margin-top: auto;
  transition: color 0.15s;
}
.lt-prod-detail svg { width: 14px; height: 14px; fill: var(--teal); }
.lt-prod-detail:hover { color: var(--teal); }

/* レスポンシブ */
@media (max-width: 1100px) {
  .lt-products-grid,
  .lt-sub-section .lt-products-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .lt-products-grid,
  .lt-sub-section .lt-products-grid,
  .lt-direct-products .lt-products-grid { grid-template-columns: repeat(2,1fr); }
  .lt-prod-img { width: 38%; }
  .lt-prod-name { font-size: 14px; }
  .lt-prod-doc { font-size: 12px; }
}
@media (max-width: 480px) {
  .lt-products-grid,
  .lt-sub-section .lt-products-grid,
  .lt-direct-products .lt-products-grid { grid-template-columns: 1fr; }
  .lt-prod-body { flex-direction: column; }
  .lt-prod-img { width: 100%; border-right: none; border-bottom: 1px solid var(--border); padding: 20px; min-height: 160px; }
}

/* 取引先ロゴリンク */
.partner-line a {
  display: flex; align-items: center;
  transition: opacity 0.18s;
}
.partner-line a:hover { opacity: 0.72; }
.partner-line a img { pointer-events: none; }

/* ══════════════════════════════════════
   モバイル：Hero背景SVGを非表示
   → テキストと背景の干渉を解消
══════════════════════════════════════ */
@media (max-width: 768px) {

  /* SVGを非表示 */
  .hero-bg-svg {
    display: none;
  }

  /* 代わりにクリーンなグラデーション背景 */
  .hero {
    background: linear-gradient(160deg, #FFFFFF 0%, #EEF4FB 60%, #DDE9F6 100%);
  }

  /* テキストを読みやすく */
  .hero-wrap {
    padding: 36px 20px 40px;
  }
  .hero-heading {
    color: var(--navy);
    text-shadow: none;
  }
  .hero-body {
    color: var(--muted);
    border-left-color: var(--teal);
    background: rgba(255,255,255,0.7);
    padding: 12px 14px;
    border-radius: 0 4px 4px 0;
  }

  /* ボタンを全幅に */
  .hero-btns {
    flex-direction: column;
    gap: 10px;
  }
  .btn-fill, .btn-ghost {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 14px;
  }
}

/* ══════════════════════════════════════
   内部ページ共通レイアウト
   lt-page-hero / lt-page-content
══════════════════════════════════════ */

/* ページヘッダー帯 */
.lt-page-hero {
  padding-top: 64px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.lt-page-hero-inner {
  max-width: 1140px; margin: 0 auto;
  padding: 22px 40px 20px;
}

/* パンくずナビ */
.lt-page-breadcrumb {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  font-size: 12px; color: var(--light-txt);
  margin-bottom: 12px;
}
.lt-page-breadcrumb a {
  color: var(--blue); text-decoration: none;
}
.lt-page-breadcrumb a:hover { text-decoration: underline; }
.lt-page-breadcrumb span { color: var(--light-txt); }

/* ページタイトル */
.lt-page-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 26px; font-weight: 700;
  color: var(--navy); margin-bottom: 6px; line-height: 1.4;
}
.lt-page-subtitle {
  font-size: 13px; color: var(--muted);
}

/* メインコンテンツエリア */
.lt-page-content {
  max-width: 1140px; margin: 0 auto;
  padding: 48px 40px 72px;
}

/* ─── モバイル ─── */
@media (max-width: 768px) {
  .lt-page-hero-inner {
    padding: 16px 20px 14px;
  }
  .lt-page-title {
    font-size: 20px;
  }
  .lt-page-content {
    padding: 32px 20px 56px;
  }
}
@media (max-width: 480px) {
  .lt-page-hero-inner {
    padding: 24px 16px 20px;
  }
  .lt-page-content {
    padding: 28px 16px 48px;
  }
  .lt-page-title {
    font-size: 18px;
  }
}

/* ══════════════════════════════════════
   お問い合わせフォーム
══════════════════════════════════════ */
.lt-cf-group {
  margin-bottom: 22px;
}
.lt-cf-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: var(--navy);
  margin-bottom: 7px;
}
.lt-cf-required {
  font-size: 10px; font-weight: 700; color: white;
  background: var(--teal); padding: 2px 7px; border-radius: 2px;
  letter-spacing: 0.05em;
}
.lt-cf-optional {
  font-size: 10px; font-weight: 600; color: var(--light-txt);
  background: var(--bg); border: 1px solid var(--border);
  padding: 1px 7px; border-radius: 2px;
}
.lt-cf-input {
  width: 100%; padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 4px; font-size: 14px;
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text); background: var(--white);
  transition: border-color 0.18s, box-shadow 0.18s;
  box-sizing: border-box;
}
.lt-cf-input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30,120,208,0.12);
}
.lt-cf-select {
  cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%236A88AA' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 36px;
}
.lt-cf-textarea {
  resize: vertical; min-height: 180px; line-height: 1.8;
}
.lt-cf-confirm {
  background: var(--bg-light); border: 1px solid var(--border);
  border-radius: 4px; padding: 16px 20px;
  margin-bottom: 24px;
}
.lt-cf-confirm p {
  font-size: 12px; color: var(--muted); margin-bottom: 12px; line-height: 1.7;
}
.lt-cf-confirm label {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; color: var(--navy); cursor: pointer;
}
.lt-cf-confirm input[type="checkbox"] {
  width: 18px; height: 18px; cursor: pointer;
  accent-color: var(--teal); flex-shrink: 0;
}
.lt-cf-submit {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; width: 220px; padding: 14px 0;
  background: var(--navy); color: white;
  font-size: 15px; font-weight: 700; letter-spacing: 0.06em;
  border: none; border-radius: 4px; cursor: pointer;
  font-family: 'Noto Sans JP', sans-serif;
  transition: background 0.18s, transform 0.15s;
}
.lt-cf-submit:hover { background: var(--navy2); transform: translateY(-1px); }
.lt-cf-submit:active { transform: translateY(0); }

@media (max-width: 768px) {
  .lt-page-content > div { grid-template-columns: 1fr !important; }
  .lt-cf-submit { width: 100%; }
}

/* ══════════════════════════════════════
   製品カタログ サイドバー
══════════════════════════════════════ */
.lt-catalog-body { padding: 6px 0 !important; }

.lt-catalog-row {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 16px;
  text-decoration: none; color: inherit;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.lt-catalog-row:first-child { border-top: 1px solid var(--border); }
.lt-catalog-row:hover { background: var(--bg); }

/* サムネイル */
.lt-catalog-thumb {
  width: 36px !important; height: 36px !important; flex-shrink: 0;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 4px; overflow: hidden;
  display: flex !important; align-items: center; justify-content: center;
}
.lt-catalog-thumb img {
  width: 36px !important; height: 36px !important;
  max-width: 36px !important;
  object-fit: cover; display: block !important;
}
.lt-catalog-thumb svg {
  width: 18px; height: 18px;
  color: var(--light-txt);
}

/* テキスト */
.lt-catalog-info {
  flex: 1; min-width: 0;
  display: flex; align-items: center; gap: 8px;
}
.lt-catalog-name {
  font-size: 13px; font-weight: 600; color: var(--navy);
  line-height: 1.3; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.lt-catalog-count {
  font-size: 10px; color: var(--teal); font-weight: 600;
  white-space: nowrap; flex-shrink: 0;
}

/* 矢印 */
.lt-catalog-arrow {
  font-size: 16px; color: var(--light-txt);
  flex-shrink: 0; line-height: 1;
  transition: transform 0.15s;
}
.lt-catalog-row:hover .lt-catalog-arrow {
  transform: translateX(3px);
  color: var(--teal);
}

/* 全製品リンク */
.lt-catalog-all {
  display: block; text-align: center;
  padding: 12px 16px;
  font-size: 12px; font-weight: 700;
  color: var(--teal); text-decoration: none;
  transition: background 0.15s;
}
.lt-catalog-all:hover { background: var(--bg); }

/* ══════════════════════════════════════
   製品詳細ページ（single-lt_product）
══════════════════════════════════════ */
.lt-single-product {
  padding: 48px 0 72px;
}

/* ヘッダー・フッターと同じ幅制約 */
.lt-single-inner {
  max-width: 1140px; margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 500px 1fr;
  gap: 52px;
  align-items: start;
}

/* 製品画像エリア */
.lt-single-media {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.lt-single-img-wrap {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 6px; padding: 28px;
  display: flex; align-items: center; justify-content: center;
  min-height: 260px;
}
.lt-single-img-wrap img {
  max-height: 220px; width: 100%; object-fit: contain;
}

/* 製品情報エリア */
.lt-single-content {}

.lt-single-badge {
  display: inline-block;
  background: var(--navy); color: white;
  font-size: 11px; font-weight: 700; padding: 3px 12px;
  border-radius: 2px; margin-bottom: 14px; letter-spacing: 0.06em;
}
.lt-single-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 24px; font-weight: 700; color: var(--navy);
  margin-bottom: 18px; line-height: 1.5;
}
.lt-single-desc {
  font-size: 15px; color: var(--muted); line-height: 2;
  margin-bottom: 24px;
}
.lt-single-body {
  max-width: 1140px;
  margin: 48px auto 0;
  padding: 0 40px;
  font-size: 15px;
  color: var(--muted);
  line-height: 2;
}
.lt-single-body h2,
.lt-single-body h3 {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.45;
}
.lt-single-body h2 {
  font-size: 28px;
  margin: 0 0 24px;
}
.lt-single-body h3 {
  font-size: 20px;
  margin: 24px 0 10px;
}
.lt-single-body p {
  margin-bottom: 18px;
}
.lt-single-body img {
  max-width: 100%;
  height: auto;
}
.lt-single-body .alignwide,
.lt-single-body .alignfull {
  width: auto !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.lt-single-body .wp-block-image {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.lt-single-back {
  max-width: 1140px;
  margin: 28px auto 0;
  padding: 0 40px;
}
.lt-single-back a {
  font-size: 13px;
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
}
.lt-single-back a:hover {
  color: var(--navy);
}
.lt-single-feature-section {
  max-width: 1140px;
  margin: 40px auto 0;
  padding: 28px 40px 0;
}
.lt-single-feature-section::before {
  content: "";
  display: block;
  height: 1px;
  background: var(--border);
  margin-bottom: 24px;
}
.lt-single-feature-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 16px 18px 18px;
}
.lt-single-feature-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 18px;
}
.lt-single-features {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.lt-single-feature {
  background: var(--bg-light); border: 1px solid var(--border);
  font-size: 13px; color: var(--navy); padding: 6px 14px; border-radius: 100px;
}
.lt-single-files { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.lt-single-file {
  display: inline-flex; align-items: center; gap: 6px;
  justify-content: center;
  min-width: 0;
  white-space: nowrap;
  font-size: 12px; font-weight: 600; color: var(--blue);
  border: 1.5px solid var(--blue); padding: 8px 6px; border-radius: 3px;
  text-decoration: none; transition: all 0.15s;
}
.lt-single-file:hover { background: var(--navy); color: white; border-color: var(--navy); }

/* 関連製品セクション */
.lt-single-related {
  max-width: 1140px; margin: 48px auto 0; padding: 0 40px;
}
.lt-single-related h3 {
  font-family: 'Noto Serif JP', serif; font-size: 18px; font-weight: 700;
  color: var(--navy); border-bottom: 2px solid var(--teal);
  padding-bottom: 10px; margin-bottom: 24px;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .lt-single-inner {
    grid-template-columns: 1fr;
    gap: 28px; padding: 0 20px;
  }
  .lt-single-files {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .lt-single-feature-section {
    margin-top: 28px;
    padding: 24px 20px 0;
  }
  .lt-single-body {
    margin-top: 32px;
    padding: 0 20px;
  }
  .lt-single-back {
    padding: 0 20px;
  }
  .lt-single-body h2 { font-size: 24px; }
  .lt-single-feature-title { font-size: 20px; }
  .lt-single-related { padding: 0 20px; }
  .lt-single-title { font-size: 20px; }
}

@media (max-width: 420px) {
  .lt-single-files {
    grid-template-columns: 1fr;
  }
}
