/* ════════════════════════════════════════════════════════════
   MARUSUMI SHOKAI — Main Stylesheet
   Loaded alongside Tailwind CDN
════════════════════════════════════════════════════════════ */

/* ── Accessibility ────────────────────────────────────── */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* ── Base ─────────────────────────────────────────────── */
/* @layer base に入れることで Tailwind v4 の @layer utilities より優先度を下げる */
/* → text-white / text-brand 等のユーティリティが a・button 要素に正しく適用される */
@layer base {
  html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
  ul, ol { list-style: none; padding: 0; margin: 0; }
  button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
  a { text-decoration: none; color: inherit; }
}

/* ── Body grain + radial backdrop ─────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='5'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
body::after {
  content: '';
  position: fixed;
  top: -20vh; left: 50%;
  transform: translateX(-50%);
  width: 120vw; height: 80vh;
  background: radial-gradient(ellipse at center, rgba(56,189,248,0.07), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* ── Keyframe animations ───────────────────────────────── */
@keyframes heroUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.3); transform-origin: top; }
  50%       { transform: scaleY(1);   transform-origin: top; }
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes pulseDot {
  0%, 100% { opacity: 1;    transform: scale(1);    }
  50%       { opacity: 0.55; transform: scale(0.86); }
}

/* ── アニメーション class (app.css の @layer utilities より後に定義して確実に適用) ── */
.animate-hero-up    { animation: heroUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.animate-scroll-line{ animation: scrollLine 2.2s ease-in-out infinite; }
.animate-marquee    { animation: marqueeScroll 38s linear infinite; }
.animate-pulse-dot  { animation: pulseDot 1.8s ease-in-out infinite; }

/* ── Fade-in observer ─────────────────────────────────── */
.fade-in         { opacity: 0; transform: translateY(40px); transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1); }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive font sizes (replaces inline style="font-size:...") ── */
.fs-hero-title   { font-size: clamp(44px,  12vw,  196px); }
.fs-marquee      { font-size: clamp(24px,  6.5vw,  48px); }
.fs-vision-num   { font-size: clamp(56px,  18vw,  140px); }
.fs-vision-h2    { font-size: clamp(26px,  5vw,    72px); }
.fs-stat-vision  { font-size: clamp(36px,  10vw,   80px); }
.fs-stat-md      { font-size: clamp(36px,  9.5vw,  72px); }
.fs-service-h3   { font-size: clamp(20px,  5.5vw,  36px); }
.fs-recruit-h2   { font-size: clamp(28px,  5.5vw,  72px); }
.fs-cta-h2       { font-size: clamp(28px,  6vw,    96px); }
.fs-cta-tel      { font-size: clamp(32px,  8vw,    48px); }
.fs-page-title   { font-size: clamp(40px,  6vw,    84px); }
.fs-h2           { font-size: clamp(28px,  5.5vw,  72px); }
.fs-h3           { font-size: clamp(20px,  3vw,    32px); }
.fs-flow-num     { font-size: clamp(56px,  8vw,   100px); }
.fs-stat         { font-size: clamp(36px,  8vw,    72px); }
.fs-num-deco     { font-size: clamp(80px, 18vw,   220px); }
.fs-about-home-h2{
  font-size: clamp(38px, 5.3vw, 76px);
  line-height: 1.15;
}
.about-home-title-line {
  display: block;
  white-space: nowrap;
  line-height: 1.15;
}
.about-home-title-line + .about-home-title-line {
  margin-top: 0.1em;
}

@media (max-width: 1023px) {
  .fs-about-home-h2 { font-size: 54px; }
}

@media (max-width: 767px) {
  .fs-about-home-h2 { font-size: 30px; }
}

/* ── Subpage PAGE HERO ───────────────────────────────── */
.hero-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.9) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.9) 1px, transparent 1px);
  background-size: 80px 80px;
}
@keyframes heroRise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.page-hero {
  border-bottom: 1px solid rgba(255,255,255,0.23);
}
.page-hero .hero-label,
.page-hero .hero-title,
.page-hero .hero-lead {
  opacity: 0;
  animation: heroRise 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.page-hero .hero-lead {
  color: #fff !important;
}
.page-hero .hero-label { animation-delay: 0.05s; }
.page-hero .hero-title { animation-delay: 0.18s; }
.page-hero .hero-lead  { animation-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .page-hero .hero-label,
  .page-hero .hero-title,
  .page-hero .hero-lead {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ── Background gradients (replaces inline style="background:...") ── */
.bg-hero-overlay {
  background:
    linear-gradient(to bottom, rgba(26,52,100,0.75) 0%, rgba(26,52,100,0.55) 60%, rgba(26,52,100,0.92) 100%),
    linear-gradient(to right,  rgba(26,52,100,0.55) 0%, transparent 55%);
}
.bg-recruit-cta {
  background: linear-gradient(135deg, #1a3464 0%, #1e3a8a 100%);
}

/* ── Hero title scramble ──────────────────────────────── */
.hero__title > span              { opacity: 0; transition: opacity 0.25s cubic-bezier(0.22, 1, 0.36, 1); }
.hero__title > span.scramble-ready { opacity: 1; }
.hero__title .char               { display: inline-block; color: #fff; transition: color 0.1s; }
.hero__title .char.scrambling    { color: rgba(255,255,255,0.45); }
.hero__title .char.scrambling.accent { color: #EE2C28; text-shadow: 0 0 18px rgba(238,44,40,0.55); }
/* JS sets width per-char inline; these handle layout/alignment */
.scramble-char                   { display: inline-block; text-align: center; }

.hero__title > span:nth-child(2) {
  padding-left: clamp(40px, 8vw, 140px);
  position: relative;
  display: inline-block;
  width: fit-content;
}
.hero__title > span:nth-child(2)::before {
  content: '';
  position: absolute;
  left: clamp(0px, 2vw, 24px);
  top: 50%;
  width: clamp(24px, 5vw, 88px);
  height: 1px;
  background: #EE2C28;
}

/* ── Hero scroll (vertical writing) ──────────────────── */
.hero__scroll { writing-mode: vertical-rl; }
.hero__scroll::after {
  content: '';
  width: 1px; height: 64px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollLine 2.2s ease-in-out infinite;
}

/* ── Hero news-latest hover ───────────────────────────── */
.hero__news-latest:hover                    { border-left-color: #EE2C28; }
.hero__news-latest:hover .hero__news-latest-title { color: #fff; }

/* ── News big "NEWS" text ─────────────────────────────── */
.news-deco::after {
  content: 'NEWS';
  position: absolute;
  right: -0.04em; top: 50%;
  transform: translateY(-50%);
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(80px, 12vw, 180px);
  font-weight: 200;
  color: transparent;
  -webkit-text-stroke: 1px rgba(26,52,100,0.06);
  pointer-events: none;
  letter-spacing: -0.02em;
  line-height: 1;
}

/* ── News item red bar ────────────────────────────────── */
.news-item { position: relative; }
.news-item::before {
  content: '';
  position: absolute;
  left: -24px; top: 0; bottom: 0;
  width: 2px;
  background: #EE2C28;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.news-item:hover::before             { transform: scaleY(1); }
.news-item:hover .news-item-title    { color: #EE2C28; }
.news-item:hover .news-item-date     { color: #1e293b; }

/* ── Marquee dot + outline ────────────────────────────── */
.marquee-track > span { display: inline-flex; align-items: center; gap: 72px; }
.marquee-track > span::after {
  content: '';
  display: inline-block;
  width: 14px; height: 14px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(255,255,255,0.6);
}
.marquee-track em {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.7);
  font-style: normal;
}
@media (max-width: 1023px) {
  .marquee-track       { gap: 48px; }
  .marquee-track > span { gap: 48px; }
}

/* ── Vision big "01" decoration ──────────────────────── */
.vision-deco::before {
  content: '01';
  position: absolute;
  right: -0.02em; top: 8%;
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(260px, 34vw, 520px);
  font-weight: 200;
  color: rgba(255,255,255,0.04);
  pointer-events: none;
  line-height: 0.9;
  letter-spacing: -0.04em;
}

/* ── Services: PC のみ左パディング ─────────────────────── */
@media (min-width: 1024px) {
  .service { padding-right: 16px; }
}

/* ── Services dot pattern + animated red top ──────────── */
.services-deco::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.7;
  pointer-events: none;
}
.service { position: relative; }
.service::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 0; height: 1px;
  background: #EE2C28;
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.service:hover::before             { width: 100%; }
.service:hover                     { background: rgba(255,255,255,0.03); }
.service:hover .service__num       { color: #0ea5e9; }
.service:hover .service__arrow     { border-color: #EE2C28; color: #EE2C28; }
.service:hover .service__img img   { transform: scale(1.08); }

/* ── Search api-badge with pulse dot ──────────────────── */
.search__api-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(16,185,129,0.12);
  color: #10b981;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid rgba(16,185,129,0.22);
}
.search__api-badge::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px rgba(16,185,129,0.7);
  animation: pulseDot 1.8s ease-in-out infinite;
}

/* ── Cat icon hover (filter) ──────────────────────────── */
.cat img {
  width: 40px; height: 32px;
  object-fit: contain;
  filter: invert(27%) sepia(18%) saturate(1800%) hue-rotate(194deg) brightness(92%) contrast(95%);
  opacity: 0.85;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.cat:hover img { opacity: 1; filter: brightness(0) invert(1); }

/* ── Stock scrollbar ──────────────────────────────────── */
.stock-scroller {
  padding-top: 12px;
  scrollbar-color: #EE2C28 #e2e8f0;
  scrollbar-width: thin;
}
.stock-scroller::-webkit-scrollbar       { height: 4px; }
.stock-scroller::-webkit-scrollbar-track { background: #e2e8f0; border-radius: 999px; }
.stock-scroller::-webkit-scrollbar-thumb { background: #EE2C28; border-radius: 999px; }

@media (min-width: 768px) {
  .stock-scroller {
    scrollbar-width: auto;
    padding-bottom: 60px;
  }
  .stock-scroller::-webkit-scrollbar       { height: 10px; }
  .stock-scroller::-webkit-scrollbar-thumb:hover  { background: #d42420; }
  .stock-scroller::-webkit-scrollbar-thumb:active { background: #b81e1b; }
}

/* ── Stock card hover ─────────────────────────────────── */
.stock-card:hover                   { transform: translateY(-10px); border: 1px solid #EE2C28; box-shadow: 0 30px 70px -30px rgba(26,52,100,0.32); position: relative; z-index: 2; }
.stock-card:hover .stock-card-img img { transform: scale(1.06); }
.stock-card:hover .stock-card-link  { color: #EE2C28; }

/* ── About bg image with mask ─────────────────────────── */
.about-deco::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 60%; height: 100%;
  background-image: url('assets/img/front/img_recruit_main.jpeg');
  background-size: cover;
  background-position: center;
  opacity: 0.16;
  filter: grayscale(0.6) contrast(1.05);
  -webkit-mask-image: linear-gradient(to left, #000 0%, transparent 70%);
          mask-image: linear-gradient(to left, #000 0%, transparent 70%);
}

/* ── Recruit big "JOIN US" decoration ─────────────────── */
.recruit-deco::before {
  content: 'JOIN US';
  position: absolute;
  left: -0.03em; bottom: -0.15em;
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(200px, 22vw, 380px);
  font-weight: 200;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(26,52,100,0.06);
  pointer-events: none;
  letter-spacing: -0.02em;
  white-space: nowrap;
  z-index: 0;
}

/* ── Recruit card animated red top bar ────────────────── */
.recruit-card { position: relative; overflow: hidden; }
.recruit-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 2px;
  background: #EE2C28;
  transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.recruit-card:hover::before          { width: 100%; }
.recruit-card:hover                  { background: #f8fafc; box-shadow: 0 30px 60px -30px rgba(26,52,100,0.18); }
.recruit-card:hover .recruit-card-arrow { border-color: #EE2C28; color: #EE2C28; background: rgba(238,44,40,0.06); transform: translateX(6px); }
.recruit-card:hover .recruit-tag     { border-color: rgba(238,44,40,0.40); color: #EE2C28; background: rgba(238,44,40,0.06); }

/* ── Recruit why image gradient overlay ───────────────── */
.recruit-why-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 55%, #ffffff);
}
@media (max-width: 1199px) {
  .recruit-why-img::after { background: linear-gradient(to bottom, transparent 55%, #ffffff); }
}
.recruit-why:hover .recruit-why-img img { transform: scale(1.05); filter: grayscale(0) contrast(1.05); }

/* ── Recruit cta circles ──────────────────────────────── */
.recruit-cta { position: relative; overflow: hidden; }
.recruit-cta::before {
  content: '';
  position: absolute;
  right: -60px; top: -60px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(56,189,248,0.18), transparent 70%);
  pointer-events: none;
}
.recruit-cta::after {
  content: '';
  position: absolute;
  left: 40%; bottom: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(238,44,40,0.18), transparent 70%);
  pointer-events: none;
}

/* ── CTA section overlay + deco circles ───────────────── */
.cta-section { position: relative; }
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,52,100,0.80), rgba(30,58,138,0.80) 100%);
  z-index: 1;
}
.cta-deco                   { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.cta-deco span              { position: absolute; border-radius: 50%; }
.cta-deco span:nth-child(1) { width: 520px; height: 520px; left: -180px; top: -120px;   background: radial-gradient(circle at 30% 30%, rgba(14,165,233,0.10), transparent 70%); }
.cta-deco span:nth-child(2) { width: 360px; height: 360px; right: -100px; bottom: -120px; background: radial-gradient(circle at 30% 30%, rgba(56,189,248,0.12), transparent 70%); }
.cta-mobile-poster {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('assets/img/front/poster_bgimage_movie.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
@media (max-width: 767px) {
  .cta-section video {
    display: none;
  }
  .cta-mobile-poster {
    display: block;
  }
}

/* ── Footer h4 leading line ───────────────────────────── */
.footer-col h4 { display: flex; align-items: center; gap: 10px; }
.footer-col h4::before { display: none; }

/* ── News all link arrow ──────────────────────────────── */
.news-all::after {
  content: '';
  display: inline-block;
  width: 24px; height: 1px;
  background: currentColor;
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  margin-left: 10px;
}
.news-all:hover        { color: #EE2C28; }
.news-all:hover::after { width: 40px; }

/* ── Section label red square ─────────────────────────── */
.label-mark::before {
  content: '';
  width: 8px; height: 8px;
  background: #EE2C28;
  box-shadow: 0 0 12px rgba(238,44,40,0.55);
  margin-right: 14px;
}

/* ── Hero eyebrow red square ──────────────────────────── */
.eyebrow-mark::before {
  content: '';
  width: 10px; height: 10px;
  background: #EE2C28;
  box-shadow: 0 0 16px rgba(238,44,40,0.55);
  margin-right: 18px;
}
@media (max-width: 767px) {
  .eyebrow-mark::before { display: none; }
}

/* ── Hero tag red dash ────────────────────────────────── */
.hero-tag::before {
  content: '';
  width: 40px; height: 1px;
  background: #EE2C28;
  margin-right: 14px;
}

/* ── Recruit why-label red dash ───────────────────────── */
.why-label::before {
  content: '';
  width: 32px; height: 1px;
  background: #EE2C28;
  margin-right: 14px;
}

/* ── Header nav underline indicator ───────────────────── */
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 100%; height: 2px;
  background: #EE2C28;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-link:hover        { color: #fff; }
.nav-link:hover::after { transform: scaleX(1); }

/* ── Header scrolled bg ───────────────────────────────── */
.header-bar.scrolled {
  background: rgba(26,52,100,0.96);
  backdrop-filter: blur(18px);
  border-bottom-color: rgba(255,255,255,0.10);
  padding: 16px 40px;
}
@media (min-width: 1024px) and (max-width: 1399px) {
  .header-bar.scrolled { padding: 12px 20px !important; }
}

/* ── Btn arrow translate ──────────────────────────────── */
.btn-arrow svg             { transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.btn-arrow:hover svg       { transform: translateX(6px); }

/* ── Header responsive ────────────────────────────────── */

/* ナビリンクは折り返し禁止 */
.nav-link { white-space: nowrap; }

/* ハンバーガーメニュー: 1023px 以下 */
@media (max-width: 1023px) {
  .header-nav, .header-tel { display: none !important; }
  .hamburger                { display: flex !important; }
  .header-bar               { grid-template-columns: auto auto !important; justify-content: space-between; }
}

/* 中間幅 1024px〜1399px: ナビを表示しつつ間隔・余白を縮小してレイアウト崩れを防ぐ */
@media (min-width: 1024px) and (max-width: 1399px) {
  .hamburger  { display: none !important; }
  .header-bar { gap: 12px !important; padding-left: 20px !important; padding-right: 20px !important; }
  .header-nav { gap: 14px !important; }
  /* 電話番号は隠してスペースを確保 */
  .header-tel { display: none !important; }
}

/* 広幅 1400px 以上: フルデスクトップレイアウト */
@media (min-width: 1400px) {
  .hamburger { display: none !important; }
}

/* 1400px〜1650px: 余白と間隔をやや詰めて崩れを防ぐ */
@media (min-width: 1400px) and (max-width: 1650px) {
  .header-bar {
    gap: 16px !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
  .header-nav {
    gap: 24px !important;
  }
  .nav-link {
    font-size: 11px;
    letter-spacing: 0.09em;
  }
  .header-tel .font-display {
    font-size: 24px;
    white-space: nowrap;
  }
}

/* ── Mobile drawer ────────────────────────────────────── */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(26,52,100,0.98);
  backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.4s;
}
.mobile-drawer.open               { opacity: 1; visibility: visible; }
.mobile-drawer .drawer-inner      { transform: translateY(-20px); opacity: 0; transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.05s, opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.05s; }
.mobile-drawer.open .drawer-inner { transform: translateY(0); opacity: 1; }

/* Hamburger → X */
.hamburger span {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: center;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(3.5px) rotate(45deg);  width: 22px; }
.hamburger.is-open span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); width: 22px; }

body.menu-open { overflow: hidden; }

/* Services: responsive image/arrow visibility */
@media (max-width: 1279px) {
  .service .service__img   { display: none !important; }
}
@media (max-width: 767px) {
  .service .service__arrow { display: none !important; }
}

/* Misc responsive */
@media (max-width: 767px) {
  .recruit-why-body { padding: 40px 28px; }
}

/* ================================================================
   COMPONENT CLASSES
   ================================================================ */

/* -- Header: nav links -----------------------------------------
   Before: nav-link font-jp text-[12px] tracking-[0.12em] text-white/80 py-1.5 transition-colors duration-300
   After:  nav-link
   -------------------------------------------------------------- */
/* (position / ::after / :hover already defined above) */
.nav-link {
  font-family: var(--font-jp);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 1);
  padding-block: 0.375rem;
  transition: color 0.3s;
}

/* -- Header: drawer nav links ----------------------------------
   Before: drawer-link group flex items-center justify-between py-5 border-b border-white/10 font-jp text-sm tracking-[0.12em] text-white
   After:  drawer-link
   -------------------------------------------------------------- */
.drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-jp);
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  color: #fff;
}
/* arrow SVG inside drawer links (replaces group-hover: utilities) */
.drawer-link svg {
  color: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.drawer-link:hover svg { transform: translateX(4px); }

/* -- Footer: nav links -----------------------------------------
   Before: text-white/[0.65] text-[13px] transition-colors duration-300 hover:text-sky-light
   After:  footer-link
   -------------------------------------------------------------- */
.footer-link {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.95);
  transition: color 0.3s;
}
.footer-link:hover { text-decoration: underline; }

/* -- Footer: column heading -------------------------------------
   Before: font-mono text-[10px] tracking-[0.22em] uppercase text-sky-light mb-6 max-md:mb-3
   After:  (class removed -- .footer-col h4 handles everything)
   -------------------------------------------------------------- */
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-sky-light);
  margin-bottom: .7rem;
}
@media (max-width: 767px) {
  .footer-col h4 { margin-bottom: 0.75rem; }
}

/* -- Parts catalog: category grid (2col / 4col borders) -------- */
.parts-cat-grid {
  border: 1px solid #e2e8f0;
}
/* 2列: 右線は奇数番、下線は最終行以外 */
.parts-cat-grid .parts-cat-btn:not(:nth-child(2n)) {
  border-right: 1px solid #e2e8f0;
}
.parts-cat-grid .parts-cat-btn:nth-child(-n+6) {
  border-bottom: 1px solid #e2e8f0;
}
@media (min-width: 768px) {
  .parts-cat-grid .parts-cat-btn:not(:nth-child(2n)) {
    border-right: none;
  }
  .parts-cat-grid .parts-cat-btn:not(:nth-child(4n)) {
    border-right: 1px solid #e2e8f0;
  }
  .parts-cat-grid .parts-cat-btn:nth-child(-n+6) {
    border-bottom: none;
  }
  .parts-cat-grid .parts-cat-btn:nth-child(-n+4) {
    border-bottom: 1px solid #e2e8f0;
  }
}

/* -- Parts catalog: category buttons ---------------------------
   Before: parts-cat-btn group flex flex-col items-center justify-center gap-2 px-4 py-4 font-mono text-[11px] uppercase tracking-[0.14em]
   After:  parts-cat-btn
   -------------------------------------------------------------- */
.parts-cat-btn {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  font-family: var(--font-jp);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  background: #f8fafc;
  color: #475569;
  transition: background-color 0.3s, color 0.3s;
}
.parts-cat-btn:hover,
.parts-cat-btn:focus-visible,
.parts-cat-btn.is-active { background: #1a3464; color: #fff; outline: none; }

/* -- Parts catalog: category icons -----------------------------
   Before: parts-cat-icon h-7 w-8 object-contain
   After:  parts-cat-icon
   -------------------------------------------------------------- */
.parts-cat-icon {
  height: 1.75rem;
  width: 2rem;
  object-fit: contain;
  opacity: 0.85;
  filter: invert(27%) sepia(18%) saturate(1800%) hue-rotate(194deg) brightness(92%) contrast(95%);
  transition: filter 0.3s, opacity 0.3s;
}
.parts-cat-btn:hover .parts-cat-icon,
.parts-cat-btn:focus-visible .parts-cat-icon,
.parts-cat-btn.is-active .parts-cat-icon { opacity: 1; filter: brightness(0) invert(1); }

/* -- Parts catalog: search button (moved from inline <style>) ---*/
.parts-search-btn {
  background: #f59e0b;
  border: 1px solid #f59e0b;
  color: #1e293b;
  -webkit-appearance: none;
  appearance: none;
  transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.2s;
}
.parts-search-btn:hover {
  background: #fbbf24;
  border-color: #fbbf24;
  box-shadow: 0 20px 50px -10px rgba(245, 158, 11, 0.45);
}
.parts-search-btn:active  { transform: translateY(1px); }
.parts-search-btn:focus-visible { outline: 2px solid #f59e0b; outline-offset: 2px; }

/* -- Parts catalog: form components ----------------------------
   .form-label : font-mono text-[11px] uppercase tracking-[0.18em] text-text-sub-light
   .form-field : grid gap-2 border-b border-border-light pb-4
   .form-input : h-11 bg-transparent px-1 text-sm text-text-main outline-none
   -------------------------------------------------------------- */
.form-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-text-sub-light);
}
.form-field {
  display: grid;
  gap: 0.5rem;
  border-bottom: 1px solid var(--color-border-light);
  padding-bottom: 1rem;
  transition: border-color 0.2s;
}
.form-input {
  height: 2.75rem;
  background: transparent;
  padding-inline: 0.25rem;
  font-size: 0.875rem;
  color: var(--color-text-main);
  outline: none;
  transition: background 0.2s;
}
.form-input::placeholder { color: var(--color-text-muted); }
.form-field:focus-within { border-bottom-color: var(--color-primary, #1a3464); }
.form-input:focus { background: rgba(26, 52, 100, 0.04); }
input.form-input:not(:placeholder-shown) { background: rgba(26, 52, 100, 0.05); }
select.form-input.is-filled { background: rgba(26, 52, 100, 0.05); }
.form-checkbox {
  width: 1rem;
  height: 1rem;
  accent-color: var(--color-brand-red, #ee2c28);
  cursor: pointer;
}

/* ── Stock cards ──────────────────────────────────────────────────────
   (hover/link-color already defined in .stock-card:hover above)
   ------------------------------------------------------------------ */
.stock-card {
  position: relative;
  flex-shrink: 0;
  width: 360px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--color-border-light);
  display: flex;
  flex-direction: column;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
@media (max-width: 767px) { .stock-card { width: 280px; } }
.stock-grid .stock-card { width: 100%; flex-shrink: 1; scroll-snap-align: none; }

.stock-card-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.stock-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.96);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.truck-card-badges {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  right: 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  pointer-events: none;
  z-index: 1;
}
.stock-card-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #fff;
  background: rgba(26, 52, 100, 0.72);
  padding: 0.375rem 0.75rem;
  backdrop-filter: blur(12px);
}
.truck-status-badge {
  display: inline-block;
  min-width: 110px;
  padding: 0.46rem 0.9rem;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-align: center;
  color: #fff;
}
.truck-status-badge--sold {
  background: #ff3b30;
}
.truck-status-badge--negotiating {
  background: #ffb400;
  color: #1e293b;
}
.new-parts-featured-badge {
  display: inline-block;
  min-width: 110px;
  padding: 0.46rem 0.9rem;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-align: center;
  color: #fff;
  background: var(--color-brand, #ee2c28);
}
.truck-stock-card .stock-card-body {
  gap: 1rem;
}
.truck-stock-card__price {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: var(--color-brand);
}
.truck-stock-card__summary {
  font-size: 13px;
  line-height: 1.9;
  color: var(--color-text-sub-light);
}
.truck-stock-card__specs {
  grid-template-columns: minmax(80px, 96px) minmax(0, 1fr);
}
.truck-stock-card__specs dt,
.truck-stock-card__specs dd {
  min-width: 0;
}
.truck-stock-card__specs dd {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.truck-detail-price {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: var(--color-brand);
}
.truck-detail-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.375rem 0.875rem;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-align: center;
}
.truck-detail-status--sold {
  background: #ff3b30;
  color: #fff;
}
.truck-detail-status--negotiating {
  background: #ffb400;
  color: #1e293b;
}
.truck-status-filter {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border: 1px solid var(--color-border-mid, #d1d5db);
  background: #fff;
  color: var(--color-text-sub-light, #6b7280);
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.4rem 0.875rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.truck-status-filter:hover {
  border-color: var(--color-primary, #1a1a1a);
  color: var(--color-primary, #1a1a1a);
}
.truck-status-filter.is-active {
  background: var(--color-primary, #1a1a1a);
  border-color: var(--color-primary, #1a1a1a);
  color: #fff;
}
.truck-status-filter .filter-count {
  font-size: 10px;
  opacity: 0.75;
}
.truck-detail-video__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0f172a;
}
.truck-detail-video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.truck-gallery-more {
  margin-top: 0.875rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.625rem 1rem;
  border: 1px solid var(--color-border-mid, #cbd5e1);
  background: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--color-text-sub-light, #475569);
  transition: border-color 0.3s, color 0.3s, background-color 0.3s;
}
.truck-gallery-more:hover {
  border-color: var(--color-brand, #ee2c28);
  color: var(--color-brand, #ee2c28);
  background: var(--color-bg-section, #f8fafc);
}
.truck-gallery-modal .part-detail-modal__panel {
  width: min(100%, 72rem);
  flex-direction: column;
  gap: 0.875rem;
}
.truck-gallery-modal__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.truck-gallery-modal__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color 0.2s, color 0.2s;
  appearance: none;
}
.truck-gallery-modal__nav:hover {
  background: rgba(238, 44, 40, 0.88);
}
.truck-gallery-modal__nav--prev {
  left: 1rem;
}
.truck-gallery-modal__nav--next {
  right: 1rem;
}
.truck-gallery-modal__meta {
  display: flex;
  justify-content: center;
}
.truck-gallery-modal__counter {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #fff;
}
.dismantling-stock-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.dismantling-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  background: #fff;
  border: 1px solid rgba(26, 52, 100, 0.12);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease;
}
.dismantling-card:hover {
  transform: translateY(-4px);
  border-color: rgba(238, 44, 40, 0.3);
  box-shadow: 0 28px 70px -42px rgba(3, 5, 9, 0.68);
}
.dismantling-card__media {
  min-width: 0;
  position: relative;
}
.dismantling-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}
.dismantling-card__body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.5rem;
  color: var(--color-text-main, #1e293b);
}
.dismantling-card__title {
  display: inline-flex;
  align-self: flex-start;
  max-width: 100%;
  padding: 0.7rem 1.1rem 0.7rem 1rem;
  border-left: 4px solid var(--color-brand, #ee2c28);
  background: #fff;
  color: var(--color-primary, #1a3464);
  font-size: 20px;
  font-weight: 300;
  line-height: 1.45;
  letter-spacing: 0.02em;
}
.dismantling-card__comment {
  margin: 0;
  font-size: 13px;
  line-height: 1.95;
  color: var(--color-text-sub-light, #475569);
}
.dismantling-card__spec-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}
.dismantling-card__spec-col {
  display: grid;
  gap: 0.75rem;
}
.dismantling-card__spec-row {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 0.875rem;
  align-items: start;
}
.dismantling-card__term {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.12em;
  color: var(--color-text-muted, #94a3b8);
}
.dismantling-card__desc {
  margin: 0;
  min-width: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--color-text-main, #1e293b);
  overflow-wrap: anywhere;
}
@media (min-width: 768px) {
  .dismantling-card {
    grid-template-columns: minmax(320px, 0.98fr) minmax(0, 1.22fr);
  }
  .dismantling-card__body {
    padding: 1.35rem 1.6rem 1.5rem;
  }
  .dismantling-card__spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem 2rem;
  }
}
@media (max-width: 767px) {
  .truck-card-badges {
    left: 1rem;
    right: 1rem;
    gap: 0.5rem;
  }
  .truck-stock-card__specs {
    grid-template-columns: 76px minmax(0, 1fr);
    column-gap: 0.875rem;
  }
  .truck-stock-card .stock-card-title {
    font-size: 16px;
  }
  .truck-stock-card__price {
    font-size: 13px;
  }
  .truck-stock-card__summary {
    font-size: 12px;
  }
  .truck-status-badge,
  .new-parts-featured-badge {
    min-width: 96px;
    padding-inline: 0.7rem;
    font-size: 11px;
  }
  .truck-detail-price {
    font-size: 15px;
  }
  .truck-detail-status {
    width: 100%;
  }
  .truck-gallery-modal__nav {
    width: 2.5rem;
    height: 2.5rem;
  }
  .truck-gallery-modal__nav--prev {
    left: 0.5rem;
  }
  .truck-gallery-modal__nav--next {
    right: 0.5rem;
  }
  .dismantling-card__body {
    padding: 1.25rem;
  }
  .dismantling-card__title {
    font-size: 18px;
    padding: 0.65rem 0.95rem 0.65rem 0.85rem;
  }
  .dismantling-card__spec-row {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 0.75rem;
  }
}
.stock-card-body { padding: 1.75rem 1.75rem 2rem; display: flex; flex-direction: column; gap: 1.25rem; }
.stock-card-title {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--color-text-main);
  border-left: 2px solid var(--color-brand);
  padding-left: 0.875rem;
}
.stock-card-dl {
  display: grid;
  grid-template-columns: 80px 1fr;
  row-gap: 0.5rem;
  column-gap: 1rem;
  font-size: 12px;
  font-family: var(--font-mono);
}
.stock-card-link {
  margin-top: 0.375rem;
  padding-top: 1.125rem;
  border-top: 1px solid var(--color-border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-sub-light);
  transition: color 0.3s;
}
a.stock-card {
  text-decoration: none;
  color: inherit;
}

/* ── Parts catalog: search results page ───────────────── */
.parts-result-summary {
  background: #eceff3;
  border: 1px solid var(--color-border-light, #e2e8f0);
  padding: 1.25rem 1.5rem 1.5rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
  .parts-result-summary {
    padding: 1.5rem 1.75rem 1.75rem;
  }
}
.parts-result-summary__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 0;
}
.parts-result-summary__item {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.15rem;
  font-size: 13px;
  line-height: 1.7;
  color: var(--color-text-main);
}
.parts-result-summary__item dt {
  font-weight: 500;
}
.parts-result-summary__item dd {
  margin: 0;
}
.parts-result-research-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.25rem;
  padding: 0.65rem 1.5rem;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #1e293b;
  background: #facc15;
  border: 1px solid #ca8a04;
  border-radius: 0.25rem;
  box-shadow: 0 3px 0 #1e293b;
  cursor: pointer;
  font: inherit;
  appearance: none;
  transition: background-color 0.2s, transform 0.15s, box-shadow 0.15s;
}
.parts-result-research-btn:hover {
  background: #fde047;
}
.parts-result-research-btn:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #1e293b;
}
.parts-result-research-btn__chevron {
  transition: transform 0.25s ease;
}
.parts-result-research-btn.is-open .parts-result-research-btn__chevron {
  transform: rotate(180deg);
}
.parts-result-research-panel {
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.parts-result-research-panel[hidden] {
  display: none;
}
.parts-result-research-panel.is-open {
  animation: partsResultPanelIn 0.35s ease;
}
@keyframes partsResultPanelIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.parts-result-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1rem;
}
.parts-result-count {
  margin: 0;
  padding: 0.625rem 1rem;
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: #fff;
  background: var(--color-primary, #1a3464);
}
.parts-result-count strong {
  font-weight: 600;
  color: #fff;
}
.parts-result-per-page {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 13px;
  color: var(--color-text-main);
}
.parts-result-per-page__select {
  min-width: 5.5rem;
  height: 2.25rem;
  padding: 0 0.5rem;
  font-size: 13px;
  color: var(--color-text-main);
  background: #fff;
  border: 1px solid var(--color-border-light, #e2e8f0);
  border-radius: 2px;
  cursor: pointer;
}
.parts-result-grid {
  margin-bottom: 2.5rem;
  padding: 1.25rem;
  background: var(--color-bg-section, #f8fafc);
  border: 1px solid var(--color-border-light, #e2e8f0);
}
@media (min-width: 768px) {
  .parts-result-grid {
    padding: 1.5rem;
  }
}
.parts-result-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.75rem;
  padding-bottom: 1rem;
}
.parts-result-pagination__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  background: #fff;
  border: 1px solid var(--color-border-light, #e2e8f0);
  color: var(--color-text-main);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.parts-result-pagination__btn:hover {
  border-color: var(--color-primary, #1a3464);
  color: var(--color-primary, #1a3464);
}
.parts-result-pagination__page {
  display: inline-flex;
}
.parts-result-pagination__input {
  width: 3.25rem;
  height: 2.25rem;
  padding: 0 0.25rem;
  font-size: 14px;
  text-align: center;
  color: var(--color-text-main);
  background: #fff;
  border: 1px solid var(--color-border-light, #e2e8f0);
  -moz-appearance: textfield;
  appearance: textfield;
}
.parts-result-pagination__input::-webkit-outer-spin-button,
.parts-result-pagination__input::-webkit-inner-spin-button {
  opacity: 1;
}
.parts-result-pagination__total {
  font-size: 13px;
  color: var(--color-text-sub-light);
}

/* ── 解体ステータスバッジ ──────────────────────────────── */
.car-status-badge {
  display: inline-block;
  min-width: 110px;
  padding: 0.46rem 0.9rem;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-align: center;
  color: #fff;
}
.car-status-badge--dismantling {
  background: var(--color-brand, #ee2c28);
}
.car-status-badge--waiting {
  background: #ffb400;
  color: #1e293b;
}
.car-status-badge--dismantled {
  background: var(--color-text-muted, #94a3b8);
}
.dismantling-card__badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 2;
}

/* ── Parts catalog: detail page ───────────────────────── */
.part-detail-title {
  border-left: 3px solid var(--color-brand, #ee2c28);
  padding-left: 1rem;
}
.part-detail-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 768px) {
  .part-detail-hero__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 1fr);
    gap: 2.5rem;
  }
}
.part-detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 768px) {
  .part-detail-sidebar {
    position: sticky;
    top: 6.5rem;
  }
}
.part-detail-contact {
  border: 1px solid var(--color-border-light, #e2e8f0);
  background: var(--color-bg-section, #f8fafc);
  padding: 1.25rem 1.25rem;
}
.part-detail-table--basic th {
  width: 42%;
}
.part-detail-main-img {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--color-border-light, #e2e8f0);
  background: #fff;
  cursor: zoom-in;
  font: inherit;
  text-align: inherit;
  color: inherit;
  appearance: none;
  transition: border-color 0.2s;
}
.part-detail-main-img:hover {
  border-color: var(--color-primary, #1a3464);
}
.part-detail-main-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--color-bg-section, #f8fafc);
  pointer-events: none;
}
.part-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.part-detail-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.part-detail-modal__backdrop {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(15, 23, 42, 0.82);
  cursor: pointer;
  appearance: none;
}
.part-detail-modal__panel {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 56rem);
  max-height: calc(100vh - 2.5rem);
  max-height: calc(100dvh - 2.5rem);
}
.part-detail-modal__img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 2.5rem);
  max-height: calc(100dvh - 2.5rem);
  object-fit: contain;
  background: #fff;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}
.part-detail-modal__close {
  position: absolute;
  top: -0.25rem;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transform: translateY(-100%);
  transition: color 0.2s;
  appearance: none;
}
.part-detail-modal__close:hover {
  color: var(--color-brand, #ee2c28);
}
body.part-detail-modal-open {
  overflow: hidden;
}
.part-detail-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 0.75rem;
}
@media (min-width: 640px) {
  .part-detail-thumbs {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
}
.part-detail-thumb {
  aspect-ratio: 1;
  overflow: hidden;
  border: 2px solid var(--color-border-light, #e2e8f0);
  background: #fff;
  padding: 0;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.part-detail-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.part-detail-thumb:hover {
  border-color: var(--color-primary, #1a3464);
}
.part-detail-thumb.is-active {
  border-color: var(--color-brand, #ee2c28);
  box-shadow: 0 0 0 1px var(--color-brand, #ee2c28);
}
.part-detail-inquiry-no {
  background: var(--color-primary, #1a3464);
  padding: 0.75rem 1rem;
}
.part-detail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  min-height: 2.75rem;
  padding: 0.5rem 1rem;
  font-size: 13px;
  letter-spacing: 0.06em;
  border: 1px solid var(--color-primary, #1a3464);
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.part-detail-btn--outline {
  background: #fff;
  color: var(--color-primary, #1a3464);
}
.part-detail-btn--outline:hover {
  background: var(--color-bg-section, #f8fafc);
}
.part-detail-btn--primary {
  background: var(--color-amber, #f59e0b);
  border-color: var(--color-amber, #f59e0b);
  color: var(--color-text-main, #1e293b);
}
.part-detail-btn--primary:hover {
  background: var(--color-amber-light, #fbbf24);
  border-color: var(--color-amber-light, #fbbf24);
  box-shadow: 0 20px 50px -10px rgba(245, 158, 11, 0.45);
}
.part-detail-section__head {
  margin: 0;
  padding: 0.625rem 1rem;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--color-primary, #1a3464);
}
.part-detail-table th,
.part-detail-table td {
  border: 1px solid var(--color-border-light, #e2e8f0);
  padding: 0.625rem 0.875rem;
  font-size: 13px;
  line-height: 1.6;
  vertical-align: top;
}
.part-detail-table th {
  width: 38%;
  font-weight: 400;
  color: var(--color-text-sub-light, #475569);
  background: var(--color-bg-section, #f8fafc);
  text-align: left;
  white-space: nowrap;
}
.part-detail-table td {
  color: var(--color-text-main, #1e293b);
}
.part-detail-table--vehicle th {
  width: 18%;
}
.part-detail-table--vehicle td {
  width: 32%;
}
@media (max-width: 767px) {
  .part-detail-table--vehicle,
  .part-detail-table--vehicle tbody,
  .part-detail-table--vehicle tr,
  .part-detail-table--vehicle th,
  .part-detail-table--vehicle td {
    display: block;
    width: 100%;
  }
  .part-detail-table--vehicle tr {
    border-bottom: 1px solid var(--color-border-light, #e2e8f0);
  }
  .part-detail-table--vehicle tr:last-child {
    border-bottom: none;
  }
}

/* ── News items ───────────────────────────────────────────────────────
   (::before red bar / hover colors already defined above)
   ------------------------------------------------------------------ */
.news-item {
  display: grid;
  grid-template-columns: 140px 88px 1fr;
  gap: 1.5rem;
  align-items: baseline;
  padding-block: 1.75rem;
  border-top: 1px solid var(--color-border-light);
}
@media (max-width: 1023px) { .news-item { grid-template-columns: 110px 76px 1fr; gap: 1rem; } }
@media (max-width: 767px) {
  .news-item {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    column-gap: 1rem;
    row-gap: 0.5rem;
  }
}
.news-item-date {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  white-space: nowrap;
  transition: color 0.3s;
}
@media (max-width: 767px) { .news-item-date { grid-column-start: 1; } }
.news-item-title {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text-main);
  line-height: 1.7;
  letter-spacing: 0.02em;
  transition: color 0.3s;
}
@media (max-width: 767px) { .news-item-title { grid-column: 1 / -1; } }

/* ── Service items ────────────────────────────────────────────────────
   (position / ::before / :hover variants already defined above)
   ------------------------------------------------------------------ */
.service {
  display: grid;
  grid-template-columns: 120px 1fr 320px auto;
  gap: 3rem;
  align-items: center;
  padding-block: 3.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
@media (max-width: 1279px) { .service { grid-template-columns: 80px 1fr auto; } }
@media (max-width: 1023px) { .service { padding-block: 2.5rem; gap: 1.75rem; } }
@media (max-width: 767px)  { .service { grid-template-columns: 60px 1fr; padding-block: 1.25rem; } }

.service__title { font-weight: 200; line-height: 1.45; letter-spacing: 0.02em; color: #fff; }
.service__desc  { margin-top: 1rem; color: rgba(255,255,255,0.8); font-size: 14px; max-width: 520px; line-height: 1.9; }
.service__num   { font-family: var(--font-display); font-weight: 200; color: rgba(255,255,255,0.22); line-height: 1; transition: color 0.5s; }
.service__img   { width: 320px; height: 200px; overflow: hidden; position: relative; }
.service__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.1) brightness(0.9) contrast(1.05);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.service__arrow {
  width: 3.5rem; height: 3.5rem;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Label mark base ──────────────────────────────────────────────────
   (::before red square already defined above)
   ------------------------------------------------------------------ */
.label-mark {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
/* sky variant: ::before を赤→青に上書き */
.label-mark--sky::before {
  background: var(--color-sky);
  box-shadow: 0 0 12px rgba(14, 165, 233, 0.5);
}

/* ── Recruit: tag chips ───────────────────────────────────────────────
   (hover: border/color/bg already defined in .recruit-card:hover .recruit-tag)
   ------------------------------------------------------------------ */
.recruit-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--color-text-sub-light);
  border: 1px solid var(--color-border-mid);
  background: var(--color-bg-section);
  padding: 0.375rem 0.875rem;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}

/* ── Recruit: job cards ───────────────────────────────────────────────
   (::before red bar / :hover already defined above)
   ------------------------------------------------------------------ */
.recruit-card {
  background: #fff;
  padding: 3.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: background 0.5s, box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
@media (max-width: 767px) { .recruit-card { padding: 1.75rem; } }

.recruit-card-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-brand);
  border: 1px solid rgba(238,44,40,0.3);
  background: rgba(238,44,40,0.08);
  padding: 0.375rem 0.875rem;
  width: fit-content;
}
.recruit-card-title {
  font-size: 26px;
  font-weight: 400;
  color: var(--color-primary);
  line-height: 1.5;
  letter-spacing: 0.02em;
}
@media (max-width: 767px) { .recruit-card-title { font-size: 22px; } }
.recruit-card-body { font-size: 13px; color: var(--color-text-sub-light); line-height: 2; flex: 1; }
.recruit-card-stat { font-family: var(--font-display); font-size: 22px; font-weight: 400; color: var(--color-primary); margin-right: 0.5rem; }
.recruit-card-meta { font-family: var(--font-mono); font-size: 11px; color: var(--color-text-muted); letter-spacing: 0.1em; }

/* ── Countup numbers ─────────────────────────────────────────────────── */
.countup-num {
  font-family: var(--font-display);
  font-weight: 200;
  color: var(--color-sky-light);
  line-height: 1;
  letter-spacing: -0.02em;
}
.countup-num--vision {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  letter-spacing: 0;
}

/* ── Stat row (vision / about section) ──────────────────────────────── */
.stat-row {
  padding-block: 2.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 1.5rem;
}
@media (max-width: 767px) { .stat-row { grid-template-columns: 1fr; gap: 0.5rem; } }

/* ── News category tag ───────────────────────────────────────────────── */
.news-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  white-space: nowrap;
  color: var(--color-brand);
  border: 1px solid rgba(238, 44, 40, 0.3);
  background: rgba(238, 44, 40, 0.08);
}
/* news-item グリッド内でのモバイル配置 */
@media (max-width: 767px) {
  .news-item .news-tag { grid-column-start: 2; justify-self: flex-end; }
}

/* -- Scroll nav buttons (stock scroller prev/next) ----- */
.scroll-btn {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border-mid);
  background: #fff;
  color: var(--color-text-main);
  transition: all 0.3s;
}
.scroll-btn:hover {
  border-color: var(--color-brand);
  color: var(--color-brand);
  background: rgba(238, 44, 40, 0.05);
}

/* ── Nav current state ──────────────────────────────────── */
.nav-link.is-current        { color: #fff; }
.nav-link.is-current::after { transform: scaleX(1); }
/* drawer: カレントリンクのテキストをブランドカラーに */
.drawer-link.is-current span { color: var(--color-brand); }


/* ══════════════════════════════════════════════════════════
   NEWS PAGE STYLES
   お知らせ一覧 & 詳細ページ用スタイル
   WP移行後もこのCSSはそのまま使用可能
   ══════════════════════════════════════════════════════════ */

/* ── カテゴリタグ バリアント ─────────────────────────────── */
/* .news-tag (入荷情報・ブランド赤) は既存定義を継承 */
.news-tag--default {
  color: var(--color-text-sub-light);
  border-color: var(--color-border-mid);
  background: var(--color-bg-section);
}
.news-tag--business {
  color: var(--color-primary-light);
  border-color: rgba(37, 99, 235, 0.3);
  background: rgba(37, 99, 235, 0.08);
}

/* ── カテゴリフィルタナビ ─────────────────────────────────── */
.news-cat-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--color-text-muted);
  background: transparent;
  color: var(--color-text-main);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  transition: all 0.25s ease;
  cursor: pointer;
}
.news-cat-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(26, 52, 100, 0.04);
}
.news-cat-btn.is-active {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
}

/* ── ページネーション ─────────────────────────────────────── */
/* WP移行時: .page-numbers クラスに合わせてセレクタを追加 */
.news-page-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--color-border-mid);
  color: var(--color-text-sub-light);
  background: #fff;
  text-decoration: none;
  transition: all 0.25s ease;
}
.news-page-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.news-page-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--color-text-sub-light);
  border: 1px solid transparent;
  text-decoration: none;
  transition: all 0.25s ease;
}
.news-page-num:hover {
  border-color: var(--color-border-mid);
  color: var(--color-primary);
}
.news-page-num.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

/* WP標準 paginate_links / the_posts_pagination が生成する .page-numbers */
.news-pagination .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.news-pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--color-text-sub-light);
  border: 1px solid transparent;
  text-decoration: none;
  transition: all 0.25s ease;
}
.news-pagination .page-numbers:hover {
  border-color: var(--color-border-mid);
  color: var(--color-primary);
}
.news-pagination .page-numbers.current {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.news-pagination .page-numbers.prev,
.news-pagination .page-numbers.next {
  border: 1px solid var(--color-border-mid);
  background: #fff;
}
.news-pagination .page-numbers.prev:hover,
.news-pagination .page-numbers.next:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.news-pagination .page-numbers.dots {
  width: auto;
  border: none;
  padding: 0 0.25rem;
}

/* ── 記事本文 ─────────────────────────────────────────────── */
.news-article {
  font-size: 15px;
  line-height: 2;
  color: var(--color-text-main);
}
.news-article p {
  margin-bottom: 1.75em;
}
.news-article h2 {
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--color-primary);
  margin-top: 3em;
  margin-bottom: 1.2em;
  padding-bottom: 0.7em;
  border-bottom: 1px solid var(--color-border-light);
}
.news-article h3 {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-primary);
  margin-top: 2.5em;
  margin-bottom: 0.9em;
  padding-left: 0.9em;
  border-left: 2px solid var(--color-brand);
}
.news-article ul,
.news-article ol {
  margin-bottom: 1.75em;
  padding-left: 1.5em;
}
.news-article ul li { list-style: disc; margin-bottom: 0.4em; }
.news-article ol li { list-style: decimal; margin-bottom: 0.4em; }
.news-article strong { font-weight: 600;  }
.news-article a {
  color: var(--color-primary-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.news-article a:hover { color: var(--color-brand); }

/* CTAブロック */
.news-article__cta {
  margin-top: 3em;
  padding: 2rem;
  background: var(--color-bg-section);
  border: 1px solid var(--color-border-light);
  border-left: 3px solid var(--color-primary);
}

/* ── サイドバー ───────────────────────────────────────────── */
.news-sidebar__block {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-border-light, #e2e8f0);
  border-radius: 2px;
}

/* ブロック上部のアクセントバー */
.news-sidebar__block::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary, #1a3464) 0%, var(--color-brand, #ee2c28) 100%);
}

/* ヘッダー部分 */
.news-sidebar__heading-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1.25rem 1.5rem 1rem;
  border-bottom: 1px solid var(--color-border-light, #e2e8f0);
}
.news-sidebar__heading-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--color-primary, #1a3464);
  border-radius: 1px;
  flex-shrink: 0;
}
.news-sidebar__heading {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-primary, #1a3464);
  margin: 0;
}

/* カテゴリリスト */
.news-sidebar__cat-list {
  padding: 0.5rem 0;
}
.news-sidebar__cat-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1.5rem;
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text-sub-light, #64748b);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  position: relative;
}
.news-sidebar__cat-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleY(0);
  width: 3px;
  height: 60%;
  background: var(--color-brand, #ee2c28);
  border-radius: 0 2px 2px 0;
  transition: transform 0.2s ease;
}
.news-sidebar__cat-link:hover {
  background: var(--color-bg-section, #f8fafc);
  color: var(--color-primary, #1a3464);
}
.news-sidebar__cat-link:hover::before {
  transform: translateY(-50%) scaleY(1);
}
.news-sidebar__cat-link.is-active {
  background: var(--color-bg-section, #f8fafc);
  color: var(--color-primary, #1a3464);
  font-weight: 500;
}
.news-sidebar__cat-link.is-active::before {
  transform: translateY(-50%) scaleY(1);
}
.news-sidebar__cat-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-border-light, #e2e8f0);
  flex-shrink: 0;
  transition: background 0.2s;
}
.news-sidebar__cat-link:hover .news-sidebar__cat-dot,
.news-sidebar__cat-link.is-active .news-sidebar__cat-dot {
  background: var(--color-brand, #ee2c28);
}
.news-sidebar__cat-arrow {
  margin-left: auto;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s, transform 0.2s;
  color: var(--color-brand, #ee2c28);
}
.news-sidebar__cat-link:hover .news-sidebar__cat-arrow,
.news-sidebar__cat-link.is-active .news-sidebar__cat-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ── 前後ナビ ─────────────────────────────────────────────── */
/* ── 前後ナビ ─────────────────────────────────────────────── */
.news-post-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border: 1px solid var(--color-border-light, #e2e8f0);
}
@media (max-width: 767px) {
  .news-post-nav {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
}

.news-post-nav__item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem 1.5rem 1.25rem 1.75rem;
  text-decoration: none;
  overflow: hidden;
  transition: background 0.4s cubic-bezier(0.22,1,0.36,1);
  min-width: 0;
}
.news-post-nav__item.is-next {
  align-items: flex-end;
  text-align: right;
  padding: 1.25rem 1.75rem 1.25rem 1.5rem;
}

/* ホバー時の背景スライドイン */
.news-post-nav__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-primary, #1a3464);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
  z-index: 0;
}
.news-post-nav__item.is-next::after {
  transform-origin: right;
}
.news-post-nav__item:hover::after {
  transform: scaleX(1);
}
.news-post-nav__item.is-disabled {
  pointer-events: none;
  opacity: 0.3;
}
.news-post-nav__item.is-disabled::after { display: none; }

/* 内部要素を前面に */
.news-post-nav__direction,
.news-post-nav__title,
.news-post-nav__arrow {
  position: relative;
  z-index: 1;
}

.news-post-nav__arrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-text-muted, #94a3b8);
  transition: color 0.3s;
}
.news-post-nav__arrow svg {
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), color 0.3s;
}
.news-post-nav__item:hover .news-post-nav__arrow {
  color: rgba(255,255,255,0.5);
}
.news-post-nav__item.is-prev:hover .news-post-nav__arrow svg {
  transform: translateX(-5px);
}
.news-post-nav__item.is-next:hover .news-post-nav__arrow svg {
  transform: translateX(5px);
}

.news-post-nav__title {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-text-main, #1e293b);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color 0.3s;
}
.news-post-nav__item:hover .news-post-nav__title {
  color: #fff;
}

/* 中央の一覧ボタン */
.news-post-nav__list-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 1rem 1.5rem;
  color: var(--color-text-main, #1e293b);
  text-decoration: none;
  border-left: 1px solid var(--color-border-light, #e2e8f0);
  border-right: 1px solid var(--color-border-light, #e2e8f0);
  flex-shrink: 0;
  transition: color 0.25s;
}
.news-post-nav__list-link:hover {
  color: var(--color-primary, #1a3464);
}
@media (max-width: 767px) {
  .news-post-nav__list-link {
    grid-column: 1 / -1;
    border-left: none;
    border-right: none;
    border-top: 1px solid var(--color-border-light, #e2e8f0);
    flex-direction: row;
    padding: 1rem 1.5rem;
  }
}

/* ── Page: shared components (company / purchase / vehicle-inspection) ── */

/* Decorative watermark text */
.deco-watermark {
  position: absolute;
  pointer-events: none;
  user-select: none;
  font-family: var(--font-display);
  font-weight: 200;
  letter-spacing: -0.02em;
  line-height: 0.85;
  color: rgba(255, 255, 255, 0.04);
  white-space: nowrap;
}
.deco-watermark.dark { color: rgba(15, 23, 42, 0.05); }

/* CTA button (amber, shared across pages) */
.cta-btn { transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.cta-btn:hover { background-color: #fbbf24; box-shadow: 0 20px 50px -10px rgba(245,158,11,0.45); }

/* ── Page: company (会社案内) ─────────────────────────── */
@media (min-width: 1280px) {
  .about-intro-heading {
    font-size: clamp(32px, 3.2vw, 50px);
  }
}
.facility-photo {
  filter: grayscale(0.05) brightness(0.92) contrast(1.06) saturate(0.95);
  transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1), filter 0.8s ease;
}
.facility-photo-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(10, 18, 38, 0.92) 0%,
    rgba(10, 18, 38, 0.55) 22%,
    transparent 48%
  );
}
.facility-photo-caption {
  z-index: 2;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.85),
    0 2px 10px rgba(0, 0, 0, 0.7),
    0 0 24px rgba(0, 0, 0, 0.45);
}
.facility-photo-caption .font-mono { color: rgba(255, 255, 255, 0.9); }
.facility-photo-caption .font-display { color: #fff; }
.facility-photo-wrap:hover .facility-photo {
  transform: scale(1.04);
  filter: grayscale(0) brightness(1) contrast(1.05) saturate(1);
}
.policy-card {
  transition: background-color 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.policy-card:hover { background-color: rgba(255,255,255,0.04); border-color: rgba(238,44,40,0.4); transform: translateY(-4px); }
.policy-card-num { transition: color 0.5s ease; }
.policy-card:hover .policy-card-num { color: rgba(238,44,40,0.85); }
.signature-line { height: 1px; background: linear-gradient(90deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0) 100%); }
.stat-divider { border-top: 1px solid rgba(255,255,255,0.1); }

/* ── Page: purchase (車輌買取) ──────────────────────────── */
@media (min-width: 1280px) {
  .purchase-vehicle-heading {
    font-size: clamp(36px, 3.6vw, 56px);
  }
}
.appeal-card--light {
  transition: background-color 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.appeal-card--light:hover { background-color: rgba(255,255,255,0.04); border-color: rgba(238,44,40,0.4); transform: translateY(-4px); }
.appeal-card--light:hover .appeal-card-num { color: rgba(238,44,40,0.9); }
.appeal-card-num { transition: color 0.5s ease; }
.appeal-icon { transition: color 0.5s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.appeal-card--light:hover .appeal-icon { color: #38bdf8; transform: translateY(-2px); }
.vehicle-photo {
  filter: grayscale(0.05) brightness(0.92) contrast(1.06) saturate(0.95);
  transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1), filter 0.8s ease;
}
.vehicle-photo-wrap:hover .vehicle-photo { transform: scale(1.04); filter: grayscale(0) brightness(1) contrast(1.05) saturate(1); }
.flow-rail {
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  padding-top: 8px;
  padding-bottom: 18px;
  gap: 20px;
  -webkit-overflow-scrolling: touch;
  mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
}
.flow-rail::-webkit-scrollbar { height: 5px; }
.flow-rail::-webkit-scrollbar-thumb { background: rgba(238,44,40,0.45); border-radius: 3px; }
.flow-rail::-webkit-scrollbar-track { background: rgba(15,23,42,0.06); border-radius: 3px; }
.flow-step--light {
  position: relative;
  flex: 0 0 320px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid #e2e8f0;
  transition: background-color 0.6s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.flow-step--light:hover {
  border: 1px solid rgba(238, 44, 40, 0.4);
  transform: translateY(-3px);
  z-index: 2;
}
.flow-step-icon { color: #1a3464; transition: color 0.5s ease; }
.flow-step--light:hover .flow-step-icon { color: #EE2C28; }
.flow-arrow-wrap { flex: 0 0 28px; align-self: center; display: flex; justify-content: center; }
.flow-arrow { color: rgba(26,52,100,0.25); }
.cat-chip { transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease; }
.cat-chip:hover { background-color: rgba(238,44,40,0.10); border-color: rgba(238,44,40,0.45); color: #fff; }
.contact-card { transition: background-color 0.5s ease, border-color 0.5s ease, transform 0.5s ease; }
.contact-card:hover { background-color: rgba(255,255,255,0.05); border-color: rgba(238,44,40,0.45); transform: translateY(-3px); }

/* ── Page: vehicle-inspection (車検・OH) ────────────────── */
.appeal-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; filter: brightness(0.55) saturate(0.85) contrast(1.1); }
.appeal-mobile-poster {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('assets/img/vehicle-inspection/appeal_poster.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.appeal-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(26,52,100,0.78) 0%, rgba(15,23,42,0.85) 100%),
              radial-gradient(60% 70% at 20% 0%, rgba(56,189,248,0.18), transparent 60%),
              radial-gradient(50% 60% at 80% 100%, rgba(238,44,40,0.16), transparent 60%);
}
.appeal-card--glass {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background-color 0.5s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.appeal-card--glass:hover { background: rgba(255,255,255,0.10); border-color: rgba(238,44,40,0.5); transform: translateY(-6px); }
.appeal-card--glass:hover .appeal-card-num { color: rgba(238,44,40,0.95); }
.flow-step--dark {
  position: relative;
  transition: background-color 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.flow-step--dark:hover { background-color: rgba(26,52,100,0.04); }
.vehicle-inspection-note-muted {
  color: rgba(148, 163, 184, 0.9);
}
@media (min-width: 1280px) {
  .vehicle-inspection-facility-card {
    margin-top: 104px;
  }
}
@media (max-width: 1023px) { .flow-arrow--rotate { transform: rotate(90deg); } }
@media (max-width: 767px) {
  .appeal-video {
    display: none;
  }
  .appeal-mobile-poster {
    display: block;
  }
}
.work-photo {
  filter: grayscale(0.05) brightness(0.92) contrast(1.06) saturate(0.95);
  transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1), filter 0.8s ease;
}
.work-photo-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(10, 18, 38, 0.92) 0%,
    rgba(10, 18, 38, 0.55) 22%,
    transparent 48%
  );
}
.work-photo-caption {
  z-index: 2;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.85),
    0 2px 10px rgba(0, 0, 0, 0.7),
    0 0 24px rgba(0, 0, 0, 0.45);
}
.work-photo-caption .font-mono { color: rgba(255, 255, 255, 0.9); }
.work-photo-caption .font-display { color: #fff; }
.work-photo-wrap:hover .work-photo { transform: scale(1.04); filter: grayscale(0) brightness(1) contrast(1.05) saturate(1); }

/* ── Aftermarket new parts pages ───────────────────────── */
.new-parts-stock-card__dl {
  grid-template-columns: 6.5rem 1fr;
}
.new-parts-stock-card__dl dt {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: none;
}
.new-parts-stock-table thead th {
  padding: 0.875rem 1rem;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: left;
  color: #fff;
  background: var(--color-primary, #1a3464);
  border-bottom: 1px solid var(--color-primary, #1a3464);
  white-space: nowrap;
}
.new-parts-stock-table tbody td {
  padding: 1rem;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-main);
  border-bottom: 1px solid var(--color-border-light, #e2e8f0);
  vertical-align: middle;
}
.new-parts-stock-table tbody tr:hover {
  background: var(--color-bg-section, #f8fafc);
}
.new-parts-stock-table__link {
  color: var(--color-text-main);
  text-decoration: none;
  transition: color 0.2s;
}
.new-parts-stock-table__link:hover {
  color: var(--color-brand, #ee2c28);
}
.new-parts-stock-table__action {
  width: 3rem;
  text-align: center;
}
.new-parts-stock-table__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--color-border-light, #e2e8f0);
  color: var(--color-primary, #1a3464);
  transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}
.new-parts-stock-table__btn:hover {
  border-color: var(--color-brand, #ee2c28);
  color: var(--color-brand, #ee2c28);
  background: #fff;
}
.new-parts-detail-hero__grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 960px) {
  .new-parts-detail-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
    gap: 2.5rem;
  }
}
.new-parts-detail-sidebar {
  position: sticky;
  top: 7rem;
}
@media (max-width: 767px) {
  .new-parts-stock-table thead {
    display: none;
  }
  .new-parts-stock-table tbody tr {
    display: block;
    border-bottom: 1px solid var(--color-border-light, #e2e8f0);
  }
  .new-parts-stock-table tbody tr:hover {
    background: #fff;
  }
  .new-parts-stock-table tbody td {
    display: grid;
    grid-template-columns: 7.5rem 1fr;
    gap: 0.35rem 1rem;
    padding: 0.75rem 1rem;
    border-bottom: 0;
  }
  .new-parts-stock-table tbody td::before {
    content: attr(data-label);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-text-muted);
  }
  .new-parts-stock-table tbody td.new-parts-stock-table__action {
    grid-template-columns: 7.5rem auto;
    justify-content: start;
  }
  .new-parts-stock-table tbody td.new-parts-stock-table__action::before {
    content: '';
  }
  .new-parts-detail-sidebar {
    position: static;
  }
}

/* ── Contact Form (page-contact) ─────────────────────────────────────────
   .contact-form でスコープし、parts 検索用 .form-input との衝突を回避。
   ─────────────────────────────────────────────────────────────────────── */
.contact-form .form-section-label {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .05em;
  color: #1a3464;
  margin-bottom: .5rem;
}

.contact-form .form-block {
  border-top: 1px solid var(--color-border-light, #e8edf4);
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  border-bottom: 1px solid var(--color-border-light, #e8edf4);
  gap: 0;
}

@media (max-width: 640px) {
  .contact-form .form-row {
    grid-template-columns: 1fr;
  }
}

.contact-form .form-th {
  padding: 24px 20px 24px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-main, #1a3464);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}

.contact-form .form-td {
  padding: 20px 0;
}

@media (max-width: 640px) {
  .contact-form .form-th {
    padding: 16px 0 2px;
    border-bottom: none;
  }
  .contact-form .form-td {
    padding-top: 4px;
  }
}

.contact-form .badge-required {
  display: inline-block;
  background: #ee2c28;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .06em;
  padding: 1px 8px;
  border-radius: 3px;
  flex-shrink: 0;
  margin-left: 4px;
}

.contact-form .form-input,
.contact-form .form-textarea {
  width: 100%;
  border: 1px solid #a0aec0;
  border-radius: 3px;
  padding: 11px 14px;
  font-size: 16px;
  font-family: inherit;
  color: var(--color-text-main, #1a3464);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
  appearance: none;
}

.contact-form .form-input:focus,
.contact-form .form-textarea:focus {
  outline: none;
  border-color: #1a3464;
  box-shadow: 0 0 0 3px rgba(26, 52, 100, .08);
}

.contact-form .form-input::placeholder,
.contact-form .form-textarea::placeholder {
  color: #aab4c4;
}

.contact-form .form-input--xs { max-width: 140px; }
.contact-form .form-input--s  { max-width: 200px; }
.contact-form .form-input--m  { max-width: 360px; }
.contact-form .form-input--l  { max-width: 520px; }

.contact-form .form-textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .form-note {
  font-size: 13px;
  color: #6b7a94;
  margin-top: 7px;
  line-height: 1.8;
  font-weight: 400;
}

.contact-form .form-hint {
  font-size: 14px;
  color: #3d4f6b;
  margin-bottom: 12px;
  line-height: 1.85;
  font-weight: 400;
}

.contact-form .form-checkbox-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 400;
  color: #1a3464;
  user-select: none;
}

.contact-form .form-checkbox-wrap input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #ee2c28;
  flex-shrink: 0;
  cursor: pointer;
}

.contact-form .form-submit-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-width: 260px;
  padding: 20px 64px;
  background: #1a3464;
  color: #fff;
  font-size: 15px;
  font-family: inherit;
  font-weight: 500;
  letter-spacing: 0;
  border: none;
  border-radius: 0;
  cursor: pointer;
  box-shadow: 0 12px 40px -10px rgba(26, 52, 100, 0.45);
  transition: box-shadow .4s cubic-bezier(0.22, 1, 0.36, 1), transform .35s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0;
}

.contact-form .form-submit-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #ee2c28;
  transform: translateX(-101%);
  transition: transform .45s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: -1;
}

.contact-form .form-submit-btn span {
  position: relative;
  z-index: 1;
}

.contact-form .form-submit-btn:hover::before {
  transform: translateX(0);
}

.contact-form .form-submit-btn:hover {
  box-shadow: 0 16px 44px -10px rgba(238, 44, 40, 0.45);
  transform: translateY(-2px);
}

.contact-form .form-submit-btn:active {
  transform: translateY(0);
  box-shadow: 0 6px 20px -6px rgba(26, 52, 100, 0.3);
}

.contact-form .wpcf7-spinner {
  display: none !important;
}

.contact-form .form-back-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 20px 40px;
  background: #6b7280;
  color: #fff;
  font-size: 15px;
  font-family: inherit;
  font-weight: 500;
  letter-spacing: 0;
  border: none;
  border-radius: 0;
  cursor: pointer;
  box-shadow: 0 12px 40px -10px rgba(107, 114, 128, 0.45);
  transition: box-shadow .4s cubic-bezier(0.22, 1, 0.36, 1), transform .35s cubic-bezier(0.22, 1, 0.36, 1), background .3s ease;
  margin-right: 24px;
}

.contact-form .form-back-btn:hover {
  background: #555c66;
  box-shadow: 0 16px 44px -10px rgba(107, 114, 128, 0.5);
  transform: translateY(-2px);
}

.contact-form .form-back-btn:active {
  transform: translateY(0);
  box-shadow: 0 6px 20px -6px rgba(107, 114, 128, 0.3);
}

/* ============================================================
   柔軟コンテンツ（jc1 フレキシブルフィールド）
   ============================================================ */
.juunan_contents_body {
  border-bottom: 1px solid #ddd;
  padding-bottom: 40px;
}
.jc_subtitle { font-weight: bold; }
.news_title2 {
  padding: .4em .75em;
  background-color: #e5e5e5;
  font-size: 1.3em;
  line-height: 1.4;
  margin-bottom: 30px;
}
.news_title3 {
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
  font-size: 1.2em;
  line-height: 1.4;
  margin-bottom: 30px;
}
.news_title4 {
  border-left: 5px solid #666;
  padding-left: 10px;
  font-size: 1.1em;
  line-height: 1.4;
  margin-bottom: 30px;
}
.news_float_pic {
  line-height: 0;
  margin: 0 0 30px 20px;
  float: right;
}
.news_float_pic img { max-width: 250px; }
.news_kugirisen_hasen {
  margin-top: 80px;
  height: 80px;
  border-top: 1px dashed #aaa;
}
.news_border_box {
  padding: 20px;
  border: 1px solid #999;
  margin-bottom: 30px;
}
.news_border_box_title {
  font-size: 1.2em;
  margin-bottom: 15px;
  color: #555;
  font-weight: bold;
}
.news_border_box_title i { margin-right: 10px; }
.news_link_list li {
  line-height: 1.4;
  text-indent: -1.5em;
  margin-left: 1.5em;
}
.news_link_list li:before {
  content: "\f138";
  font-family: FontAwesome;
  margin-right: 10px;
  color: #aaa;
}
.news_link_list li:nth-child(n+2),
.news_file_list li:nth-child(n+2) { margin-top: 15px; }
.news_link_list li a[target$='_blank']:after {
  content: "\f08e";
  font-family: FontAwesome;
  margin-left: 30px;
  color: #888;
  text-decoration: none;
  display: inline-block;
}
.news_file_list a[href$='.pdf']:before,
.news_file_list a[href$='.pdf#view=FitH']:before {
  content: "\f1c1"; font-family: FontAwesome;
  margin-right: 5px; color: #D14244;
  text-decoration: none; display: inline-block;
}
.news_file_list a[href$='.doc']:before,
.news_file_list a[href$='.rtf']:before,
.news_file_list a[href$='.docx']:before {
  content: "\f1c2"; font-family: FontAwesome;
  margin-right: 5px; color: #344290;
  text-decoration: none; display: inline-block;
}
.news_file_list a[href$='.xls']:before,
.news_file_list a[href$='.xlsx']:before {
  content: "\f1c3"; font-family: FontAwesome;
  margin-right: 5px; color: #4C7B3B;
  text-decoration: none; display: inline-block;
}
.movie_box { position: relative; width: 100%; border: 1px solid #ddd; }
.movie_box:before { content: ""; display: block; padding-top: 56.25%; }
.movie_box iframe {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
}
.jc_tbl table { min-width: 500px; }
.jc_tbl th, .jc_tbl td {
  padding: 12px 15px;
  text-align: left; vertical-align: top;
  border: 1px solid #D1D1D1; background: #fff;
}
.jc_tbl th { background: #F5F4F0; }
.hukusuu_gazou_wrap {
  display: flex; flex-wrap: wrap;
  margin-left: -30px; margin-bottom: 30px; line-height: 0;
}
.hukusuu_gazou_wrap > * {
  padding-left: 30px; margin-bottom: 30px; transition: .3s;
}
.hukusuu_gazou_wrap_size_2 > * { width: 50%; }
.hukusuu_gazou_wrap_size_3 > * { width: 33.333%; }
.hukusuu_gazou_wrap_size_4 > * { width: 25%; }
.hukusuu_gazou_wrap_size_6 > * { width: 16.6666%; }
.hukusuu_gazou_a {
  display: block;
  background-size: cover; background-position: center;
  transition: .3s; position: relative;
}
.hukusuu_gazou_wrap_juuou_yoko  .hukusuu_gazou_a { padding-top: 71.42%; }
.hukusuu_gazou_wrap_juuou_tate  .hukusuu_gazou_a { padding-top: 140%; }
.hukusuu_gazou_wrap_juuou_seihoukei .hukusuu_gazou_a { padding-top: 100%; }
.hukusuu_gazou_a:hover { opacity: .7; }
.hukusuu_gazou_a img {
  position: absolute; top: 0; left: 0;
  height: 100%; width: 100%;
}
.news_keyword_box a {
  display: inline-block;
  margin: 0 6px 6px 0;
  font-size: .85em;
  color: #555;
  text-decoration: none;
}
.news_keyword_box a:hover { text-decoration: underline; }

@media screen and (max-width:1200px) {
  .jc_tbl table { min-width: 300px; }
  .jc_tbl th, .jc_tbl td { padding: 10px 12px; }
  .hukusuu_gazou_wrap { margin-left: -20px; }
  .hukusuu_gazou_wrap > * { padding-left: 20px; margin-bottom: 20px; }
}
@media screen and (max-width:767px) {
  .jc_tbl table { border-bottom: 1px solid #D1D1D1; }
  .jc_tbl th, .jc_tbl td {
    padding: 6px 8px; display: block;
    font-size: .9em; border-bottom: none;
  }
  .hukusuu_gazou_wrap { margin-left: -15px; }
  .hukusuu_gazou_wrap > * { padding-left: 15px; margin-bottom: 15px; }
  .hukusuu_gazou_wrap_size_3 > * { width: 50%; }
  .hukusuu_gazou_wrap_size_4 > * { width: 33.3333%; }
  .hukusuu_gazou_wrap_size_6 > * { width: 25%; }
  .news_float_pic { margin: 0 0 20px; float: none; text-align: center; }
}


/* ── お問い合わせ ─────────────────────────────────────────────── */
.wpcf7-spinner {
  display: none !important;
}
