*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #2b2b2b;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
:root {
  --brand: #aa0061;
  --brand-lt: #f7e2ea;
  --dark: #57575a;
  --mid: #97999c;
  --light: #dedfe1;
  --white: #ffffff;
  --bg-alt: #f9f5f7;
  --radius: 4px;
  --max-w: 1100px;
}
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.str-lp section {
  padding: 80px 0;
}
.str-lp section.alt {
  background: var(--bg-alt);
}

/* NAV */

/* HERO */
.str-lp .hero {
  background: var(--dark);
  min-height: 480px;
  overflow: hidden;
  padding: 0;
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}
.hero-text {
  padding: 72px 48px 72px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-eyebrow {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-lt);
  margin-bottom: 16px;
}
.str-lp .hero h1 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 900;
  line-height: 1.3;
  color: var(--white);
  margin-bottom: 20px;
}
.str-lp .hero h1 span {
  color: var(--white);
}
.hero-sub {
  font-size: 15px;
  color: #c8c8ca;
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 440px;
}
.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--brand);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: opacity 0.2s;
  display: inline-block;
}
.btn-primary:hover {
  opacity: 0.85;
}
.btn-ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  padding: 14px 24px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.2s;
  display: inline-block;
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.7);
}
.hero-img {
  background: #3a3a3c;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
}
.hero-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #888;
  width: 100%;
  height: 100%;
}
.hero-placeholder svg {
  opacity: 0.3;
}
.hero-placeholder p {
  font-size: 13px;
  opacity: 0.5;
}

/* SECTION HEADERS */
.sec-label {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 10px;
  display: block;
}
.sec-title {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 900;
  line-height: 1.3;
  color: #1a1a1a;
  margin-bottom: 14px !important;
}
.sec-lead {
  font-size: 15px;
  color: var(--dark);
  line-height: 1.85;
  max-width: 640px;
}

/* WORRIES */
.worries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.worry-card {
  background: var(--white);
  border: 1px solid var(--light);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius);
  padding: 20px 22px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--dark);
}

/* MACHINE CARDS */
.cat-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.cat-tab {
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 99px;
  border: 1.5px solid var(--light);
  background: var(--white) !important;
  color: var(--dark) !important;
  cursor: pointer;
  transition: all 0.18s;
}
.cat-tab.active,
.cat-tab:hover {
  background: var(--brand) !important;
  border-color: var(--brand);
  color: var(--white) !important;
}
/* フィルタタブ: ホバー/選択時に対応ジャンル色へ（data-cat で出し分け・全拠点共通） */
.cat-tab[data-cat="us"]:hover,
.cat-tab[data-cat="us"].active,
.cat-tab[data-cat="metal"]:hover,
.cat-tab[data-cat="metal"].active,
.cat-tab[data-cat="cut"]:hover,
.cat-tab[data-cat="cut"].active {
  background: rgb(138, 114, 175) !important;
  border-color: rgb(138, 114, 175) !important;
  color: #fff !important;
}
.cat-tab[data-cat="hf"]:hover,
.cat-tab[data-cat="hf"].active,
.cat-tab[data-cat="ind"]:hover,
.cat-tab[data-cat="ind"].active {
  background: rgb(124, 170, 118) !important;
  border-color: rgb(124, 170, 118) !important;
  color: #fff !important;
}
.cat-tab[data-cat="laser"]:hover,
.cat-tab[data-cat="laser"].active {
  background: rgb(226, 120, 135) !important;
  border-color: rgb(226, 120, 135) !important;
  color: #fff !important;
}
.cat-tab[data-cat="impulse"]:hover,
.cat-tab[data-cat="impulse"].active {
  background: rgb(213, 149, 99) !important;
  border-color: rgb(213, 149, 99) !important;
  color: #fff !important;
}
.machine-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.machine-card {
  background: var(--white);
  border: 1px solid var(--light);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    box-shadow 0.22s,
    transform 0.22s;
  display: flex;
  flex-direction: column;
}
.machine-card:hover {
  box-shadow: 0 8px 24px rgba(170, 0, 97, 0.12);
  transform: translateY(-3px);
}

/* 機種写真 */
.machine-card-top {
  background: #f8f8f8;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4/3;
  overflow: hidden;
  flex-shrink: 0;
}
.machine-img-main {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* カード本文 */
.machine-card-body {
  padding: 14px 16px;
  border-top: 2px solid var(--brand);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.machine-cat-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-lt);
  padding: 2px 8px;
  border-radius: 2px;
  margin-bottom: 8px;
}
.machine-card[data-cat="us"] .machine-cat-label,
.machine-card[data-cat="metal"] .machine-cat-label {
  background: rgb(138, 114, 175);
  color: #fff;
}
.machine-card[data-cat="ind"] .machine-cat-label,
.machine-card[data-cat="hf"] .machine-cat-label {
  background: rgb(124, 170, 118);
  color: #fff;
}
.machine-card-name {
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 6px;
}
.machine-card-desc {
  font-size: 12px;
  color: var(--dark);
  line-height: 1.65;
  margin-bottom: 12px;
}

/* 加工例 */
.work-examples {
  border-top: 1px solid var(--light);
  padding-top: 10px;
  margin-top: auto;
}
.work-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 7px;
}
.work-scroll {
  display: flex;
  gap: 6px;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
}
.work-scroll.force-bar {
  overflow-x: scroll !important;
}
.work-scroll::-webkit-scrollbar {
  height: 6px;
}
.work-scroll::-webkit-scrollbar-track {
  background: #ececee;
  border-radius: 3px;
}
.work-scroll::-webkit-scrollbar-thumb {
  background: #b8b8bd;
  border-radius: 3px;
}
.work-scroll {
  scrollbar-width: thin;
  scrollbar-color: #b8b8bd #ececee;
}
.work-scroll.force-bar .work-img {
  margin: 0 auto;
}
.work-spacer {
  width: 60px;
  flex-shrink: 0;
}
.work-scroll .work-img {
  width: auto;
  height: 103px;
  flex-shrink: 0;
  border-radius: 2px;
  display: block;
  max-width: none;
}
.work-img {
  width: 100%;
  border-radius: 2px;
  display: block;
}

/* STEPS */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 48px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: var(--light);
  z-index: 0;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 0 0 6px var(--brand-lt);
}
.step-title {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}
.step-desc {
  font-size: 12px;
  color: var(--dark);
  line-height: 1.7;
}
.steps-cta {
  margin-top: 48px;
  padding: 28px 32px;
  background: var(--brand-lt);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.steps-cta p {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
}
.steps-cta span {
  font-size: 13px;
  font-weight: 400;
  color: var(--mid);
  display: block;
  margin-top: 4px;
}

/* CONDITIONS */
.cond-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.cond-card {
  background: var(--white);
  border: 1px solid var(--light);
  border-radius: var(--radius);
  padding: 24px;
}
.cond-icon {
  width: 36px;
  height: 36px;
  background: var(--brand-lt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cond-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--brand);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}
.cond-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.cond-header-text {
}
.cond-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 3px;
}
.cond-value {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
}
.cond-note {
  font-size: 12px;
  color: var(--mid);
  line-height: 1.6;
}

/* FAQ */
.faq-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item {
  border: 1px solid var(--light);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  border: none;
  text-align: left;
  font-family: "Noto Sans JP", sans-serif;
}
.faq-q:hover {
  background: var(--bg-alt);
}
.faq-q-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-lt);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  transition: transform 0.2s;
  font-weight: 300;
  font-family: "Inter", sans-serif;
}
.faq-item.open .faq-q-icon {
  transform: rotate(45deg);
}
.faq-a {
  padding: 0 22px;
  font-size: 14px;
  color: var(--dark);
  line-height: 1.8;
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    padding 0.3s ease;
  background: var(--bg-alt);
}
.faq-item.open .faq-a {
  max-height: 500px;
  padding: 16px 22px;
}

/* FLOOR MAP */
.floormap-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 40px;
}
.floormap-floors {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.floor-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--light);
  border-radius: var(--radius);
}
.floor-num {
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
}
.floor-num span {
  font-size: 11px;
  font-weight: 500;
  display: block;
}
.floor-rooms {
  font-size: 13px;
  color: var(--dark);
  line-height: 1.7;
}
.floor-rooms strong {
  color: #1a1a1a;
  font-weight: 700;
  display: block;
}
.floormap-photos {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.floormap-photo {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.floormap-photo-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--light);
  display: block;
}
.floormap-caption {
  font-size: 12px;
  color: var(--mid);
  line-height: 1.6;
  margin: 0;
}

/* ACCESS */
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
  align-items: start;
}
.map-embed {
  width: 100%;
  aspect-ratio: 4/3;
  border: 1px solid var(--light);
  border-radius: var(--radius);
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mid);
  font-size: 13px;
}
.access-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.access-row {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--light);
  border-radius: var(--radius);
}
.access-icon {
  width: 32px;
  height: 32px;
  background: var(--brand-lt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.access-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--brand);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}
.access-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 4px;
  letter-spacing: 0.08em;
}
.access-val {
  font-size: 14px;
  color: #1a1a1a;
  line-height: 1.6;
}
.access-note {
  font-size: 12px;
  color: var(--mid);
  margin-top: 3px;
}

/* CTA FINAL */
.cta-final {
  background: var(--dark);
  padding: 80px 0;
  text-align: center;
}
.cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 36px;
}
.btn-dl {
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  padding: 13px 22px;
  border-radius: var(--radius);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: border-color 0.2s;
}
.btn-dl:hover {
  border-color: rgba(255, 255, 255, 0.7);
}

/* ANIMATION */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* RESPONSIVE */
.sp-br {
  display: none;
}
@media (max-width: 768px) {
  .str-lp section {
    padding: 56px 0;
  }
  .inner {
    padding: 0;
  }
  .work-scroll .work-img {
    height: 103px !important;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 0;
  }
  .hero-text {
    padding: 48px 24px;
  }
  .hero-img {
    min-height: 240px;
  }
  .worries-grid,
  .cond-grid {
    grid-template-columns: 1fr;
  }
  .machine-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .machine-card-top {
    padding: 8px;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
    row-gap: 32px;
  }
  .steps::before {
    display: none;
  }
  .pc-br {
    display: none;
  }
  .sp-br {
    display: inline;
  }
  .floormap-wrap,
  .access-grid {
    grid-template-columns: 1fr;
  }
}

/* CMS既存スタイルの打ち消し */
.str-lp h1,
.str-lp h2,
.str-lp h3,
.str-lp h4,
.str-lp h5,
.str-lp h6 {
  margin: 0;
  padding: 0;
  letter-spacing: normal;
}
.str-lp h1 {
  position: static;
}
#main .inner {
  width: auto !important;
  margin: 0 !important;
}
.str-lp h2::first-letter {
  font-size: 100% !important;
  color: inherit !important;
}
.str-lp h3::before {
  content: none !important;
  display: none !important;
}
.str-lp h1::before {
  content: none !important;
  display: none !important;
}
#main .pagetitle {
  margin-bottom: 0;
  padding-top: 0;
}
.contentBottom {
  margin-top: 0;
}
.aptoenq_qa {
  margin: 0 !important;
}


/* ===== 施設のご案内（設備写真ギャラリー：階数リスト廃止版） ===== */
.facility-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.facility-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.facility-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--light);
  display: block;
}
.facility-ph {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  border: 1px solid var(--light);
  background: repeating-linear-gradient(135deg,#f5f5f6,#f5f5f6 12px,#ececee 12px,#ececee 24px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  color: #b0b1b5;
}
.facility-cap {
  font-size: 12px;
  color: var(--mid);
  line-height: 1.6;
  margin: 0;
}
.facility-points {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.facility-point {
  background: var(--white);
  border: 1px solid var(--light);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--dark);
  flex: 1 1 260px;
}
.facility-point strong { color: #1a1a1a; }
@media (max-width: 768px) {
  .facility-grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   THEME: HQ（本社）— 白基調・エディトリアル / シャープ
   .str-lp.theme-hq のときだけ適用。大阪(.str-lp単体)には一切影響しません。
   ===================================================================== */
.theme-hq { counter-reset: sec; }

/* --- Hero: 白基調＋左寄せ大見出し＋細いマゼンタ罫 --- */
.theme-hq .hero {
  background: #fff;
  min-height: auto;
  border-bottom: 1px solid var(--light);
}
.theme-hq .hero-inner {
  min-height: auto;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}
.theme-hq .hero-text { padding: 40px 48px 40px 0; }
.theme-hq .hero-eyebrow { color: var(--brand); }
.theme-hq .hero h1 {
  color: #1a1a1a;
  position: relative;
  padding-bottom: 22px;
  margin-bottom: 24px;
}
.theme-hq .hero h1 span { color: var(--brand); }
.theme-hq .hero h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 3px;
  background: var(--brand);
}
.theme-hq .hero-sub { color: var(--dark); }
.theme-hq .hero { overflow: visible; }
.theme-hq .hero-inner { align-items: stretch; }
.theme-hq .hero-img {
  background: #f2eef0;
  min-height: 0;
  padding: 0;
  align-items: flex-start;
}
.theme-hq .hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  align-self: flex-start;
}
.theme-hq .hero-visual-band {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 32.5%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  pointer-events: none;
  z-index: 1;
}
.theme-hq .hero-visual-copy {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 900;
  line-height: 1.5;
  text-align: left;
  margin: 0;
  color: #fff;
}
.theme-hq .hero-visual-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.work-scroll.force-bar.is-left .work-img { margin: 0; }
.theme-hq .hero-placeholder { color: #c9a9bb; }

/* --- Hero下の数値/ファクト帯 --- */
.theme-hq .hero-stats {
  padding: 0;
  border-bottom: 1px solid var(--light);
  background: #fff;
}
.hero-stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.hero-stat {
  padding: 24px 8px;
  border-left: 1px solid var(--light);
}
.hero-stat:first-child { border-left: none; }
.hero-stat b {
  font-family: "Inter", sans-serif;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  color: var(--brand);
  display: block;
  line-height: 1;
}
.hero-stat span {
  font-size: 12px;
  color: var(--mid);
  display: block;
  margin-top: 8px;
}

/* --- セクション見出し: 大きな連番を主役に（縦バーは使わない＝総合ページと差別化） --- */
.theme-hq .sec-label {
  counter-increment: sec;
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  color: var(--mid);
  font-weight: 700;
}
.theme-hq .sec-label::before {
  content: counter(sec, decimal-leading-zero);
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 0.8;
  color: var(--brand);
  letter-spacing: -0.02em;
}
.theme-hq .sec-title {
  padding-left: 0;
  border-left: none;
}
/* alt背景をピンク→ニュートラルに寄せてトーン差を出す */
.theme-hq section.alt { background: #fafafa; }

/* --- お悩み: 上罫の番号付きリスト --- */
.theme-hq .worries-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 0 48px;
  margin-top: 32px;
  counter-reset: w;
}
.theme-hq .worry-card {
  background: none;
  border: none;
  border-top: 1px solid var(--light);
  border-radius: 0;
  padding: 18px 0 18px 44px;
  position: relative;
}
.theme-hq .worry-card::before {
  counter-increment: w;
  content: counter(w, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 18px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--brand);
}

/* --- デモ機: 角ばった枠（カテゴリチップは大阪同様の色分け・白抜き） --- */
.theme-hq .cat-tab { border-radius: 0; }
.theme-hq .machine-card { border-radius: 0; }
/* 追加カテゴリの色（超音波系=紫 / 高周波系=緑 / レーザ=ピンク / インパルス=オレンジ） */
.machine-card[data-cat="cut"] .machine-cat-label { background: rgb(138, 114, 175); color: #fff; }
.machine-card[data-cat="foodcut"] .machine-cat-label { background: rgb(138, 114, 175); color: #fff; }
.machine-card[data-cat="laser"] .machine-cat-label { background: rgb(226, 120, 135); color: #fff; }
.machine-card[data-cat="impulse"] .machine-cat-label { background: rgb(213, 149, 99); color: #fff; }
.machine-card[data-cat="aux"] .machine-cat-label { background: #6b6b70; color: #fff; }

/* フィルタタブ追加カテゴリ（フードカッター=紫 / 付帯設備=ニュートラル） */
.cat-tab[data-cat="foodcut"]:hover,
.cat-tab[data-cat="foodcut"].active {
  background: rgb(138, 114, 175) !important;
  border-color: rgb(138, 114, 175) !important;
  color: #fff !important;
}
.cat-tab[data-cat="aux"]:hover,
.cat-tab[data-cat="aux"].active {
  background: #6b6b70 !important;
  border-color: #6b6b70 !important;
  color: #fff !important;
}

/* デモ機カード内 プレースホルダー（写真・加工例） */
.machine-card-top.is-ph { padding: 0; }
/* 背景くりぬき（透過PNG）は他カードと同じグレー背景で、少し縮小して中央配置 */
.machine-card-top.is-white .machine-img-main {
  max-width: 80%;
  max-height: 80%;
}
.machine-img-ph {
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(135deg, #f0f0f2, #f0f0f2 12px, #e6e6e9 12px, #e6e6e9 24px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #b0b1b5;
}
.work-img-ph {
  height: 103px;
  width: 150px;
  flex: none;
  border-radius: 2px;
  background: repeating-linear-gradient(135deg, #f0f0f2, #f0f0f2 10px, #e6e6e9 10px, #e6e6e9 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #b8b8bc;
}

/* --- 流れ: 四角番号＋直線コネクタ --- */
.theme-hq .steps::before { top: 26px; height: 2px; }
.theme-hq .step-num { border-radius: 6px; box-shadow: none; }

/* --- 条件/FAQ: 角ばった様式・＋アイコン四角 --- */
.theme-hq .cond-card { border-radius: 0; border-top: 2px solid var(--brand); }
.theme-hq .cond-icon { border-radius: 6px; }
.theme-hq .faq-item { border-radius: 0; }
.theme-hq .faq-q-icon { border-radius: 4px; }

/* --- 施設: 左右非対称 --- */
.theme-hq .facility-grid { grid-template-columns: 1fr 1fr; }

/* --- アクセス: 地図大きめ・罫線の情報行 --- */
.theme-hq .access-grid { grid-template-columns: 1.3fr 1fr; }
.theme-hq .access-row { border-radius: 0; }

/* --- Contact: ダーク→マゼンタ全面ブロック --- */
.theme-hq .cta-final { background: var(--brand); }
.theme-hq .cta-final .sec-label { counter-increment: none; color: #f7d6e6 !important; }
.theme-hq .cta-final .sec-label::before { display: none; }
.theme-hq .cta-final .btn-primary { background: #fff; color: var(--brand); }
.theme-hq .cta-final .btn-primary:hover { opacity: 0.9; }

@media (max-width: 768px) {
  .theme-hq .hero-inner { grid-template-columns: 1fr; }
  .theme-hq .hero-text { padding: 40px 24px; }
  .theme-hq .worries-grid { grid-template-columns: 1fr; }
  .theme-hq .facility-grid,
  .theme-hq .access-grid { grid-template-columns: 1fr; }
  .hero-stats-inner { grid-template-columns: 1fr; }
  .hero-stat { border-left: none; border-top: 1px solid var(--light); }
  .hero-stat:first-child { border-top: none; }
}

/* =====================================================================
   THEME: NAGOYA（名古屋）— ③重厚インダストリアル / テクニカル
   .str-lp.theme-nagoya のときだけ適用。他拠点には一切影響しません。
   濃チャコール面＋極細ライン＋大きなテクニカル数字。角ゼロ。
   マゼンタは差し色の細ラインのみ。大阪(暗・柔)/本社(白・シャープ)/総合ページ
   のどれとも構造的に異なる語彙。
   ===================================================================== */
.theme-nagoya {
  --ink: #26262a;
  --ink-2: #313136;
  --hair: #dfe0e2;
}

/* --- Hero: 濃チャコール＋テクニカル細线グリッド、マゼンタは差し色ライン --- */
.theme-nagoya .hero {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px) 0 0 / 56px 100%,
    linear-gradient(0deg, rgba(255,255,255,0.035) 1px, transparent 1px) 0 0 / 100% 56px,
    var(--ink);
  min-height: 480px;
  border-top: 3px solid var(--brand);
}
.theme-nagoya .hero-text { padding: 72px 48px 72px 0; position: relative; }
.theme-nagoya .hero-eyebrow {
  color: #a7a8ad;
  padding-left: 40px;
  position: relative;
}
.theme-nagoya .hero-eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 28px;
  height: 2px;
  background: var(--brand);
}
.theme-nagoya .hero h1 { color: #fff; }
.theme-nagoya .hero h1 span { color: var(--brand); }
.theme-nagoya .hero-sub { color: rgba(255, 255, 255, 0.72); }
.theme-nagoya .hero .btn-primary {
  background: var(--brand);
  color: #fff;
  border-radius: 0;
}
.theme-nagoya .hero .btn-primary:hover { background: #c30d76; }
.theme-nagoya .hero-img {
  background: var(--ink-2);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0;
  min-height: 400px;
}
.theme-nagoya .hero-placeholder { color: rgba(255, 255, 255, 0.5); }

/* --- セクション見出し: テクニカルな連番「N / 07」＋角ゼロ --- */
.theme-nagoya { counter-reset: sec; }
.theme-nagoya .sec-label {
  counter-increment: sec;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #8a8b90;
  border-radius: 0;
  padding-left: 0;
}
.theme-nagoya .sec-label::before {
  content: counter(sec, decimal-leading-zero) " / 06";
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--brand);
  padding: 4px 10px;
  border: 1px solid var(--brand);
}
.theme-nagoya .sec-title { padding-left: 0; border-left: none; }
.theme-nagoya section.alt { background: #f4f4f5; }
/* 角ゼロを全体に徹底 */
.theme-nagoya .btn-primary,
.theme-nagoya .btn-secondary { border-radius: 0; }

/* --- お悩み: 角ゼロ・細枠カード＋隅のテクニカル番号 --- */
.theme-nagoya .worries-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 32px;
  background: var(--hair);
  border: 1px solid var(--hair);
  counter-reset: w;
}
.theme-nagoya .worry-card {
  background: var(--white);
  border: none;
  border-radius: 0;
  padding: 26px 22px 22px;
  position: relative;
}
.theme-nagoya .worry-card::before {
  counter-increment: w;
  content: "0" counter(w);
  display: block;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--brand);
  margin-bottom: 6px;
}

/* --- デモ機: 角ゼロタブ／角ゼロカード（カテゴリ色はdata-catで共通適用） --- */
.theme-nagoya .cat-tab { border-radius: 0; }
.theme-nagoya .machine-card { border-radius: 0; }

/* --- 流れ: 縦タイムライン（数字中央に縦线・数字とテキストのトップ揃え） --- */
.theme-nagoya .steps {
  display: block;
  margin-top: 40px;
  margin-left: 0;
  border-left: none;
}
.theme-nagoya .steps::before { display: none; }
.theme-nagoya .step {
  display: grid;
  grid-template-columns: 52px 1fr;
  grid-template-rows: auto auto;
  column-gap: 18px;
  align-items: start;
  text-align: left;
  padding: 0 0 34px 0;
  position: relative;
}
.theme-nagoya .step:last-child { padding-bottom: 0; }
.theme-nagoya .step-num {
  grid-row: 1 / span 2;
  grid-column: 1;
  position: relative;
  width: 52px;
  height: auto;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--brand);
  font-size: clamp(30px, 3.4vw, 40px);
  font-weight: 700;
  line-height: 1;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
/* 連結線は数字の中央（列の中心）を縦に通し、最後の数字の下では消す */
.theme-nagoya .step-num::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 46px;
  bottom: -34px;
  width: 2px;
  background: var(--hair);
}
.theme-nagoya .step:last-child .step-num::after { display: none; }
.theme-nagoya .step-title { grid-column: 2; grid-row: 1; font-size: 16px; margin-bottom: 6px; padding-top: 1px; }
.theme-nagoya .step-desc { grid-column: 2; grid-row: 2; font-size: 13px; }
.theme-nagoya .step-desc br.pc-br { display: none; }
.theme-nagoya .steps-cta {
  border-radius: 0;
  background: var(--ink);
  margin-top: 44px;
}
.theme-nagoya .steps-cta p { color: #fff; }
.theme-nagoya .steps-cta span { color: rgba(255,255,255,0.65); }
.theme-nagoya .steps-cta .btn-primary { background: var(--brand); color: #fff; }

/* --- ご利用にあたって: 罫線主体の定義リスト（カード廃止） --- */
.theme-nagoya .cond-grid {
  display: block;
  border-top: 1px solid var(--hair);
  margin-top: 8px;
}
.theme-nagoya .cond-card {
  background: none;
  border: none;
  border-bottom: 1px solid var(--hair);
  border-radius: 0;
  padding: 20px 4px;
  display: grid;
  grid-template-columns: 200px 1fr;
  align-items: center;
  gap: 24px;
}
.theme-nagoya .cond-header { margin-bottom: 0; gap: 0; }
.theme-nagoya .cond-icon { display: none; }
.theme-nagoya .cond-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--mid);
}
.theme-nagoya .cond-value {
  font-size: 17px;
  font-weight: 700;
  color: var(--brand);
}
.theme-nagoya .cond-note { padding-top: 3px; }

/* --- FAQ: 全幅の区切り线のみ／＋−の細記号 --- */
.theme-nagoya .faq-list { gap: 0; border-top: 1px solid var(--hair); }
.theme-nagoya .faq-item {
  border: none;
  border-bottom: 1px solid var(--hair);
  border-radius: 0;
}
.theme-nagoya .faq-q { padding: 20px 4px; }
.theme-nagoya .faq-q-icon {
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  color: var(--brand);
  font-size: 20px;
  font-weight: 400;
}

/* --- 施設のご案内: テクニカルなストリップ（FIG.番号キャプション） --- */
.theme-nagoya .facility-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--hair);
  border: 1px solid var(--hair);
  counter-reset: fig;
}
.theme-nagoya .facility-figure {
  margin: 0;
  gap: 0;
  background: #fff;
}
.theme-nagoya .facility-figure .facility-img,
.theme-nagoya .facility-ph { border-radius: 0; border: none; }
.theme-nagoya .facility-cap {
  padding: 12px 16px;
  border-top: 1px solid var(--hair);
}
.theme-nagoya .facility-cap::before {
  counter-increment: fig;
  content: "FIG. 0" counter(fig) " — ";
  font-family: "Inter", sans-serif;
  font-weight: 700;
  color: var(--brand);
}
.theme-nagoya .facility-points { gap: 1px; margin-top: 20px; }
.theme-nagoya .facility-point {
  border-radius: 0;
  border: 1px solid var(--hair);
  border-left: 3px solid var(--brand);
}

/* --- アクセス: 角ゼロのテクニカル情報行 --- */
.theme-nagoya .access-grid { grid-template-columns: 1.3fr 1fr; }
.theme-nagoya .access-row {
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--hair);
  background: none;
}
.theme-nagoya .access-icon {
  border-radius: 0;
  background: none;
  border: 1px solid var(--brand);
}
.theme-nagoya .map-embed,
.theme-nagoya .map-embed iframe { border-radius: 0; }

/* --- Contact: 濃チャコール＋マゼンタ細ライン（ヒーローと呼応） --- */
.theme-nagoya .cta-final {
  background: var(--ink);
  border-top: 3px solid var(--brand);
}
.theme-nagoya .cta-final .sec-label {
  counter-increment: none;
  color: #ff8ac2 !important;
}
.theme-nagoya .cta-final .sec-label::before { display: none; }
.theme-nagoya .cta-final .btn-primary { background: var(--brand); color: #fff; border-radius: 0; }
.theme-nagoya .cta-final .btn-primary:hover { background: #c30d76; }

@media (max-width: 768px) {
  .theme-nagoya .hero-inner { grid-template-columns: 1fr; }
  .theme-nagoya .worries-grid { grid-template-columns: 1fr; }
  .theme-nagoya .cond-card { grid-template-columns: 1fr; gap: 6px; }
  .theme-nagoya .facility-grid,
  .theme-nagoya .access-grid { grid-template-columns: 1fr; }
  .theme-nagoya .step { grid-template-columns: 70px 1fr; }
}

/* --- 大阪ページ（#osaka-lp）: CMS既存スタイル打ち消しのID版（specificity確保） --- */
#osaka-lp h1,
#osaka-lp h2,
#osaka-lp h3,
#osaka-lp h4,
#osaka-lp h5,
#osaka-lp h6 {
  margin: 0;
  padding: 0;
  letter-spacing: normal;
}
#osaka-lp h1 { position: static; }
#osaka-lp h1::before,
#osaka-lp h3::before {
  content: none !important;
  display: none !important;
}
#osaka-lp h2::first-letter {
  font-size: 100% !important;
  color: inherit !important;
}

div#aptoenqform {
  background: none 0% 0% / auto repeat scroll padding-box border-box rgba(255, 255, 255) !important;
  padding: 20px;
}
