/* ==================================== */
/* apparel-oem-flow.css: OEM Responsibility Map */
/* responsive / bright hero version */
/* ==================================== */

/* --- Hero: 明るめ・前向きなブランド立ち上げ感 --- */
.oem-flow-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 18%, rgba(255,255,255,0.38) 0%, rgba(255,255,255,0) 34%),
        linear-gradient(135deg,
            rgba(29, 76, 107, 0.68) 0%,
            rgba(92, 133, 156, 0.50) 48%,
            rgba(255, 255, 255, 0.34) 100%
        );
    color: #fff;
}

.oem-flow-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 180px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0.12));
    pointer-events: none;
}

.oem-flow-hero .container {
    position: relative;
    z-index: 1;
}

.oem-flow-hero .page-hero-title {
    text-transform: none;
    letter-spacing: 0.05em;
    line-height: 1.45;
    text-shadow: 0 10px 30px rgba(0,0,0,0.14);
}

.oem-flow-hero .page-hero-lead {
    color: rgba(255,255,255,0.94);
    max-width: 760px;
}

.oem-flow-hero .section-tag {
    color: rgba(255,255,255,0.95);
    order: 0;
    margin-top: 0;
    margin-bottom: 24px;
}

/* --- Base layout --- */
.oem-flow-wrapper { padding: 100px 0; }
.guide-card { max-width: 1240px; }
.guide-section, .responsibility-section, .guide-cta-block { margin-bottom: 90px; }

.guide-eyebrow {
    font-family: var(--font-heading);
    color: var(--primary-blue);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-heading-block { margin-bottom: 40px; }
.section-heading-block.center { text-align: center; }
.section-heading-block.center p { margin-left: auto; margin-right: auto; }

.section-heading-block h2,
.target-copy h2,
.guide-cta-block h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    line-height: 1.4;
    margin-bottom: 22px;
    color: var(--text-dark);
    text-align: left;
    text-transform: none;
    letter-spacing: 0.04em;
}

.section-heading-block.center h2 { text-align: center; }

.section-heading-block p,
.guide-cta-block p {
    color: var(--text-muted-dark);
    line-height: 2;
    font-size: 1rem;
    max-width: 920px;
    margin-bottom: 18px;
}

/* ==================================== */
/* Responsibility map - PC */
/* ==================================== */
.responsibility-map {
    display: grid;
    grid-template-columns: 120px minmax(760px, 1fr) 160px;
    gap: 0;
    border: 1px solid rgba(29,76,107,0.18);
    background: #fff;
    box-shadow: 0 18px 45px rgba(0,0,0,0.06);
    overflow: hidden;
}

.map-owner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 24px 18px;
    min-height: 100%;
    color: #fff;
}

.customer-owner { background: linear-gradient(180deg, #1d4c6b 0%, #245f7f 100%); }
.monoid-owner { background: linear-gradient(180deg, #b98d4d 0%, #d6a858 100%); }

.owner-title {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-bottom: 18px;
}

.owner-copy {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 0.75rem;
    line-height: 1.8;
    opacity: 0.9;
}

.map-steps { min-width: 760px; }

.map-row {
    display: grid;
    grid-template-columns: 210px 1fr 1.25fr;
    border-bottom: 1px solid rgba(29,76,107,0.12);
}

.map-row:last-child { border-bottom: none; }

.map-row > div {
    padding: 16px 18px;
    line-height: 1.65;
    font-size: 0.92rem;
    color: var(--text-muted-dark);
    border-right: 1px solid rgba(29,76,107,0.12);
    display: flex;
    align-items: center;
}

.map-row > div:last-child { border-right: none; }

.header-row > div {
    background: rgba(29,76,107,0.06);
    color: var(--primary-blue);
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    text-transform: uppercase;
}

.step-cell {
    font-weight: 800;
    color: var(--text-dark) !important;
    background: rgba(248,248,248,0.75);
}

.step-cell span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-right: 12px;
    background: rgba(29,76,107,0.08);
    border: 1px solid rgba(29,76,107,0.18);
    color: var(--primary-blue);
    font-family: var(--font-heading);
    font-weight: 800;
    flex-shrink: 0;
}

.monoid-cell.strong {
    color: var(--text-dark);
    font-weight: 700;
    background: rgba(185,141,77,0.06);
}

.map-note {
    margin-top: 22px;
    padding: 22px 26px;
    background: rgba(29,76,107,0.05);
    border-left: 4px solid var(--primary-blue);
}

.map-note p {
    margin: 0;
    color: var(--text-dark);
    line-height: 1.8;
}

.map-note strong {
    color: var(--primary-blue);
    font-family: var(--font-heading);
    letter-spacing: 0.12em;
    margin-right: 8px;
}

/* --- Bottlenecks --- */
.bottleneck-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.bottleneck-card {
    background: #fff;
    border: 1px solid var(--glass-border);
    padding: 30px 24px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.05);
}

.bottleneck-card span {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 16px;
}

.bottleneck-card h3,
.phase-card h3 {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.bottleneck-card p,
.phase-card li {
    color: var(--text-muted-dark);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* --- Phase --- */
.phase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.phase-card {
    background: rgba(29, 76, 107, 0.04);
    border-left: 4px solid var(--primary-blue);
    padding: 34px 28px;
}

.phase-label {
    display: inline-block;
    font-family: var(--font-heading);
    color: var(--primary-blue);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    margin-bottom: 18px;
}

.phase-card ul { padding-left: 18px; }
.phase-card li { list-style: disc; margin-bottom: 10px; }

/* --- Target --- */
/* ========================================
   TARGET SECTION RE DESIGN
======================================== */

.target-section {
    padding: 120px 0;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,248,248,0.96));
}

.target-copy {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 70px;
}

.target-copy h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.target-lead {
    font-size: 1rem;
    line-height: 2;
    color: var(--text-muted-dark);
}

.target-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.target-card {
    position: relative;
    padding: 34px 28px;
    background: rgba(255,255,255,0.78);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    min-height: 190px;
    transition: all 0.3s ease;
}

.target-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
    border-color: rgba(29,76,107,0.22);
}

.target-num {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: var(--primary-blue);
    margin-bottom: 22px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-blue);
}

.target-card p {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text-dark);
    font-weight: 600;
}

/* mobile */
@media (max-width: 991px) {
    .target-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .target-section {
        padding: 80px 0;
    }

    .target-copy {
        margin-bottom: 45px;
    }

    .target-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .target-card {
        min-height: auto;
        padding: 26px 22px;
    }

    .target-card p {
        font-size: 0.95rem;
        line-height: 1.8;
    }
}

/* --- CTA --- */
.guide-cta-block {
    margin-bottom: 0;
    padding: 70px 50px;
    background: linear-gradient(135deg, rgba(29,76,107,0.94), rgba(72,112,137,0.84));
    text-align: center;
    color: var(--text-light);
}

.guide-cta-block h2,
.guide-cta-block p {
    color: var(--text-light);
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.guide-cta-block .guide-eyebrow {
    color: #fff;
    opacity: 0.82;
}

.guide-cta-block .btn-ghost {
    color: #fff;
    border-color: rgba(255,255,255,0.7);
}

.guide-cta-block .btn-ghost:hover { background: rgba(255,255,255,0.1); }

/* ==================================== */
/* Tablet */
/* ==================================== */
@media (max-width: 1024px) {
    .responsibility-map {
        grid-template-columns: 92px minmax(680px, 1fr) 110px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .map-steps { min-width: 680px; }
    .map-row { grid-template-columns: 185px 1fr 1.18fr; }
    .map-row > div { padding: 15px 16px; }

    .owner-title { font-size: 1.25rem; }
    .owner-copy { font-size: 0.68rem; }

    .bottleneck-grid,
    .phase-grid { grid-template-columns: 1fr 1fr; }

    .target-section { grid-template-columns: 1fr; }
}

/* ==================================== */
/* Mobile: 表を横スクロールさせず、STEPカードに変換 */
/* ==================================== */
@media (max-width: 768px) {
    .oem-flow-hero {
        background:
            radial-gradient(circle at 20% 10%, rgba(255,255,255,0.42) 0%, rgba(255,255,255,0) 38%),
            linear-gradient(145deg, rgba(29,76,107,0.58), rgba(102,143,166,0.46) 56%, rgba(255,255,255,0.36));
    }

    .oem-flow-wrapper { padding: 60px 0; }
    .guide-card { width: 100%; }
    .card-body { padding: 34px 18px 42px !important; }

    .guide-section,
    .responsibility-section,
    .guide-cta-block { margin-bottom: 60px; }

    .section-heading-block,
    .section-heading-block.center { text-align: left; margin-bottom: 28px; }
    .section-heading-block.center h2 { text-align: left; }

    .section-heading-block h2,
    .target-copy h2,
    .guide-cta-block h2 {
        font-size: clamp(1.45rem, 7vw, 2rem);
        line-height: 1.55;
    }

    .section-heading-block p,
    .guide-cta-block p {
        font-size: 0.95rem;
        line-height: 1.9;
    }

    .guide-eyebrow {
        font-size: 0.7rem;
        letter-spacing: 0.22em;
    }

    .responsibility-map {
        display: block;
        border: none;
        background: transparent;
        box-shadow: none;
        overflow: visible;
    }

    .map-owner,
    .header-row { display: none; }

    .map-steps { min-width: 0; width: 100%; }

    .map-row {
        display: block;
        margin-bottom: 18px;
        border: 1px solid rgba(29,76,107,0.14);
        background: #fff;
        box-shadow: 0 10px 28px rgba(0,0,0,0.055);
        overflow: hidden;
    }

    .map-row > div {
        display: block;
        padding: 16px 18px;
        border-right: none;
        border-bottom: 1px solid rgba(29,76,107,0.10);
        font-size: 0.93rem;
        line-height: 1.75;
    }

    .map-row > div:last-child { border-bottom: none; }

    .step-cell {
        display: flex !important;
        align-items: center;
        background: linear-gradient(90deg, rgba(29,76,107,0.08), rgba(29,76,107,0.02));
        font-size: 1rem !important;
    }

    .step-cell span {
        width: 38px;
        height: 38px;
        margin-right: 12px;
        background: #fff;
    }

    .customer-cell::before,
    .monoid-cell::before {
        display: block;
        margin-bottom: 7px;
        font-family: var(--font-heading);
        font-size: 0.68rem;
        font-weight: 800;
        letter-spacing: 0.16em;
        text-transform: uppercase;
    }

    .customer-cell::before {
        content: "CUSTOMER / お客様";
        color: var(--primary-blue);
    }

    .monoid-cell::before {
        content: "MONOID SUPPORT";
        color: #b98d4d;
    }

    .customer-cell {
        background: rgba(29,76,107,0.025);
        color: var(--text-muted-dark);
    }

    .monoid-cell.strong {
        background: linear-gradient(90deg, rgba(185,141,77,0.12), rgba(185,141,77,0.035));
        color: var(--text-dark);
    }

    .map-note {
        margin-top: 20px;
        padding: 18px 18px;
    }

    .map-note strong {
        display: block;
        margin: 0 0 8px;
    }

    .bottleneck-grid,
    .phase-grid { grid-template-columns: 1fr; gap: 18px; }

    .bottleneck-card,
    .phase-card { padding: 26px 22px; }

    .target-section {
        display: block;
        padding: 30px 20px;
    }

    .target-list { gap: 10px; }

    .target-list span {
        width: 100%;
        padding: 12px 14px;
        font-size: 0.9rem;
    }

    .guide-cta-block { padding: 48px 20px; }
    .guide-cta-block .btn-group { flex-direction: column; gap: 14px; }
    .guide-cta-block .btn-primary,
    .guide-cta-block .btn-ghost { width: 100%; max-width: 320px; }

    .oem-flow-hero .page-hero-title br,
    .oem-flow-hero .page-hero-lead br { display: none; }
}

@media (max-width: 420px) {
    .card-body { padding-left: 14px !important; padding-right: 14px !important; }
    .map-row > div { padding: 15px 15px; }
    .step-cell { font-size: 0.96rem !important; }
    .step-cell span { width: 34px; height: 34px; }
}
/* ===============================
   COMPARISON SECTION
================================= */
.comparison-section{
  background:#f8f8f8;
}

.comparison-section h2{
  text-align:center;
  margin-bottom:20px;
}

.comparison-lead{
  text-align:center;
  max-width:760px;
  margin:0 auto 50px;
  line-height:2;
  color:var(--text-muted-dark);
}

.saving-hero{
  text-align:center;
  margin-bottom:60px;
}

.saving-number{
  font-size:clamp(3rem,8vw,5.5rem);
  font-weight:800;
  color:var(--primary-blue);
  line-height:1;
  letter-spacing:-0.03em;
}

.saving-copy{
  margin-top:12px;
  font-size:1rem;
  color:var(--text-dark);
  font-weight:700;
}

.comparison-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:30px;
}

.compare-card{
  background:#fff;
  padding:36px;
  box-shadow:0 15px 40px rgba(0,0,0,.05);
}

.compare-card h3{
  font-size:1.1rem;
  margin-bottom:24px;
}

.compare-card ul{
  list-style:none;
  padding:0;
  margin:0 0 30px;
}

.compare-card li{
  padding:10px 0;
  border-bottom:1px solid #eee;
  color:var(--text-muted-dark);
}

.load-bar{
  height:12px;
  background:#ececec;
  margin-bottom:12px;
  overflow:hidden;
}

.load-bar span{
  display:block;
  height:100%;
  background:var(--primary-blue);
}

.load-label{
  font-size:.9rem;
  font-weight:700;
  color:var(--text-dark);
}

.before{
  border-top:3px solid #999;
}

.after{
  border-top:3px solid var(--primary-blue);
}

.comparison-note{
  margin-top:24px;
  text-align:center;
  font-size:.8rem;
  color:var(--text-muted-dark);
  line-height:1.8;
}

/* mobile */
@media(max-width:768px){

  .comparison-grid{
    grid-template-columns:1fr;
    gap:20px;
  }

  .comparison-lead{
    text-align:left;
    line-height:1.8;
  }

  .compare-card{
    padding:26px;
  }

  .saving-copy{
    font-size:.95rem;
  }
}
