/* =========================================================
   MIXTECHページ専用スタイル
   page.css の SAVIOR商品ページ用スタイルから複製し、
   savior- プレフィックスを mixtech- に置き換えたもの。
   MIXTECHページだけの調整はこのファイルで行う。
========================================================= */
.mixtech-page section[id] {
  scroll-margin-top: 96px;
}

/* Hero
--------------------------------------------------------- */
.mixtech-hero {
  padding: 32px 0 48px;
  background:
    linear-gradient(180deg, #f5f8f6 0%, var(--color-white) 72%);
}

.mixtech-breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-s);
  margin-bottom: var(--space-l);
  font-size: 13px;
}

.mixtech-breadcrumb a {
  text-decoration: none;
}

.mixtech-breadcrumb a:hover {
  color: var(--color-main);
}

.mixtech-breadcrumb span:last-child {
  color: var(--color-black);
  font-weight: var(--font-weight-bold);
}

.mixtech-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.05fr);
  grid-template-areas:
    "intro-head image"
    "intro-body image"
    "cta image"
    "tags image";
  gap: 42px;
  align-items: center;
}

.mixtech-hero__intro-head {
  grid-area: intro-head;
  align-self: end;
}

.mixtech-hero__intro-body {
  grid-area: intro-body;
  align-self: start;
}

.mixtech-hero__cta {
  grid-area: cta;
  align-self: start;
}

.mixtech-hero__tags {
  grid-area: tags;
  align-self: start;
}

.mixtech-hero__grid .mixtech-product-image {
  grid-area: image;
  align-self: center;
}

.mixtech-hero__kana {
  margin: var(--space-sm) 0 6px;
  color: var(--color-navy);
  font-size: var(--font-size-fixed-sm);
  font-weight: var(--font-weight-bold);
  line-height: 1.5;
}

.mixtech-hero__title {
  margin: 0 0 4px;
  font-size: clamp(42px, 7vw, 74px);
  font-weight: var(--font-weight-bold);
  line-height: 0.95;
  letter-spacing: 0;
}

.mixtech-hero__category {
  margin-bottom: var(--space-m);
  color: var(--color-navy);
  font-size: var(--font-size-fixed-md);
  font-weight: var(--font-weight-bold);
}

.mixtech-hero__lead {
  max-width: 650px;
  margin-bottom: 14px;
  font-size: clamp(24px, 3vw, 27px);
  line-height: 1.35;
  font-weight: var(--font-weight-bold);
}

.mixtech-hero__text {
  max-width: 640px;
  margin-bottom: var(--space-l);
  font-size: var(--font-size-fixed-sm);
}

.mixtech-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mixtech-cta-row .btn {
  min-height: 46px;
  padding: 10px 28px;
  font-size: var(--font-size-fixed-xxs);
}

.mixtech-btn--outline {
  border: 1px solid #dce5df;
}

/* Tags
--------------------------------------------------------- */
.mixtech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-s);
  margin: 0;
  padding: 0;
  list-style: none;
}

.mixtech-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 11px;
  border: 1px solid #dce5df;
  background: var(--color-white);
  font-size: 12px;
  font-weight: var(--font-weight-bold);
  white-space: nowrap;
}

/* .mixtech-tag--green は現状スタイルなし（SAVIOR側と同じ） */

.mixtech-tag--navy {
  color: var(--color-navy);
}

/* Sections
--------------------------------------------------------- */
.mixtech-section {
  padding: var(--space-xxl) 0;
  border-top: 1px solid #dce5df;
}

.mixtech-section--soft {
  background: #f5f8f6;
}

/* Contact CTA
--------------------------------------------------------- */
.mixtech-contact-cta {
  padding: 34px;
  background:
    linear-gradient(135deg, var(--color-navy) 0%, var(--color-main) 52%, #101716 100%);
  color: var(--color-white);
}

.mixtech-contact-cta__label {
  margin: 0 0 8px;
  font-size: var(--font-size-fixed-lg);
  font-weight: var(--font-weight-bold);
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.5;
}

.mixtech-contact-cta__title {
  margin: 0 0 var(--space-s);
  font-size: var(--font-size-fixed-xl);
  font-weight: var(--font-weight-bold);
  line-height: 1.35;
}

.mixtech-contact-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}

.mixtech-contact-cta__btn {
  margin-top: var(--space-sm);
  padding: 14px 32px;
}

/* Images
--------------------------------------------------------- */
.mixtech-product-image {
  margin: 0;
  padding: var(--space-sm);
  border: none;
  overflow: hidden;
}

.mixtech-product-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 4;
  object-fit: contain;
}

/* 電解液の状態比較（既存バッテリー / MIXTECH技術）
--------------------------------------------------------- */
.mixtech-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-sm);
  padding: var(--space-m);
  border: 1px solid #dce5df;
  background: var(--color-white);
}

.mixtech-compare__item {
  margin: 0;
}

.mixtech-compare__item img {
  display: block;
  width: 100%;
  height: auto;
}

.mixtech-compare__label {
  margin-top: var(--space-s);
  font-size: var(--font-size-fixed-xxs);
  font-weight: var(--font-weight-bold);
  line-height: 1.5;
  text-align: center;
}

/* 可視化試験の比較画像
--------------------------------------------------------- */
/* PCは3コマ1枚、スマホは分割画像を縦並びに切り替える */
.mixtech-visual-test__steps {
  display: none;
}

/* Responsive
--------------------------------------------------------- */
@media (max-width: 900px) {
  .mixtech-hero__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro-head"
      "image"
      "intro-body"
      "tags"
      "cta";
    gap: 24px;
  }

  .mixtech-hero__intro-head,
  .mixtech-hero__intro-body,
  .mixtech-hero__cta,
  .mixtech-hero__tags,
  .mixtech-hero__grid .mixtech-product-image {
    align-self: auto;
  }

  .mixtech-hero {
    padding-top: 20px;
  }

  .mixtech-product-image {
    padding: 12px;
  }
}

@media (max-width: 767px) {
  .mixtech-section {
    padding: var(--space-xxl) 0;
  }

  .mixtech-cta-row .btn,
  .mixtech-contact-cta__btn {
    width: 100%;
  }

  .mixtech-contact-cta {
    padding: 26px 20px;
  }

  .mixtech-product-image {
    padding: var(--space-s);
  }

  .mixtech-hero__text {
    margin-bottom: 20px;
  }

  .mixtech-compare {
    grid-template-columns: 1fr;
    gap: var(--space-m);
    padding: var(--space-sm);
  }

  .mixtech-visual-test__wide {
    display: none;
  }

  .mixtech-visual-test__steps {
    display: grid;
    gap: var(--space-sm);
  }

  .mixtech-visual-test__step {
    margin: 0;
  }

  .mixtech-visual-test__step img {
    display: block;
    width: 100%;
    height: auto;
  }
}
