﻿*,
*::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;
}
#osaka-lp section {
  padding: 80px 0;
}
#osaka-lp section.alt {
  background: var(--bg-alt);
}

/* NAV */

/* HERO */
#osaka-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;
}
#osaka-lp .hero h1 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 900;
  line-height: 1.3;
  color: var(--white);
  margin-bottom: 20px;
}
#osaka-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;
}
.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 .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) {
  #osaka-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既存スタイルの打ち消し */
#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;
}
.inner {
  width: auto !important;
  margin: 0 !important;
}
#osaka-lp h2::first-letter {
  font-size: 100% !important;
  color: inherit !important;
}
#osaka-lp h3::before {
  content: none !important;
  display: none !important;
}
#osaka-lp h1::before {
  content: none !important;
  display: none !important;
}
#main .pagetitle {
  margin-bottom: 0;
  padding-top: 0;
}
