/* ===========================
   カラー変数（ページローカル）
   =========================== */
.page-mineral-agriculture {
  --ma-orange: #EEA703;
  --ma-cyan-pale: #D9F4F8;
  --ma-card-gray: #F1F3F5;
}

/* ===========================
   ページコンテナ
   =========================== */
.page-mineral-agriculture {
  background: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===========================
   Our Concept セクション
   =========================== */
.ma-concept {
  padding: 80px 0;
  background: var(--white);
}

.ma-concept__inner {
  display: flex;
  gap: 64px;
  align-items: center;
}

.ma-concept__col-media {
  flex: 0 0 382px;
  position: relative;
}

.ma-concept__image {
  width: 382px;
  height: 382px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.ma-concept__mascot {
  position: absolute;
  left: -20px;
  bottom: -10px;
  width: 110px;
  height: auto;
  pointer-events: none;
}

.ma-concept__col-text {
  flex: 1 1 auto;
  min-width: 0;
}

.ma-concept__eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--cyan);
  margin-bottom: 12px;
}

.ma-concept__title {
  font-family: 'M PLUS 1', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 24px;
}

.ma-concept__body {
  font-family: 'M PLUS 1', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.75;
}

/* ===========================
   Expected Effects セクション
   =========================== */
.ma-effects {
  padding: 80px 0 200px;
  background-color: #EAF8FA;
  background-image: linear-gradient(rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.55)), url('../assets/images/ma-effects-bg.png');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

.ma-effects__eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--cyan);
  text-align: center;
  margin-bottom: 8px;
}

.ma-effects__title {
  font-family: 'M PLUS 1', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 48px;
}

.ma-effects__cards {
  display: flex;
  gap: 40px;
  justify-content: center;
}

/* エフェクトカード */
.ma-effect-card {
  flex: 1 1 0;
  min-width: 0;
  max-width: 513px;
  background: var(--white);
  border: 3px solid var(--cyan);
  border-radius: 30px;
  overflow: hidden;
}

.ma-effect-card__image-band {
  background: var(--ma-cyan-pale);
  height: 220px;
  overflow: hidden;
}

.ma-effect-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ma-effect-card__body {
  padding: 32px 36px 40px;
}

.ma-effect-card__title {
  font-family: 'M PLUS 1', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ma-effect-card__title-icon {
  width: 27px;
  height: 31px;
  flex-shrink: 0;
}

.ma-effect-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ma-effect-card__list li {
  font-family: 'M PLUS 1', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}

.ma-effect-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
}

/* ===========================
   ギャラリー帯セクション
   =========================== */
.ma-gallery {
  padding: 0 0 24px;
  overflow: hidden;
  margin-top: -7.5vw;
  position: relative;
  z-index: 1;
}

.ma-gallery__scroll-wrap {
  overflow: hidden;
}

.ma-gallery__track {
  display: flex;
  gap: 16px;
  width: max-content;
  padding: 30px 0;
  align-items: center;
  animation: ma-gallery-slide 40s linear infinite;
}

@keyframes ma-gallery-slide {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-100% / 2 - 8px)); }
}

@media (prefers-reduced-motion: reduce) {
  .ma-gallery__track { animation: none; }
}

.ma-gallery__img {
  width: 20vw;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  border-radius: 24px;
  box-shadow: 0 6px 20px rgba(14, 47, 114, 0.08);
  overflow: hidden;
}

.ma-gallery__img:nth-child(odd) {
  transform: translateY(-20px);
}

.ma-gallery__img:nth-child(even) {
  transform: translateY(20px);
}

/* ===========================
   農園向けピックアップセクション
   =========================== */
.ma-pickup {
  padding: 80px 0;
  background: var(--white);
}

.ma-pickup__eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--cyan);
  text-align: center;
  margin-bottom: 8px;
}

.ma-pickup__title {
  font-family: 'M PLUS 1', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 48px;
}

.ma-pickup__grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.ma-pickup__btn-wrap {
  text-align: center;
}

/* ===========================
   フル幅バナーセクション
   =========================== */
.ma-banner {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.ma-banner__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ===========================
   ミネラル農法の流れセクション
   =========================== */
.ma-howtouse {
  padding: 80px 0;
  background: var(--white);
}

.ma-howtouse__eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--cyan);
  text-align: center;
  margin-bottom: 8px;
}

.ma-howtouse__title {
  font-family: 'M PLUS 1', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 56px;
}

.ma-howtouse__cols {
  display: flex;
  gap: 40px;
  margin-bottom: 48px;
}

.ma-howtouse__col {
  flex: 1 1 0;
  min-width: 0;
}

.ma-howtouse__col-title-badge {
  font-family: 'M PLUS 1', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  background: var(--ma-orange);
  border-radius: 40px;
  padding: 8px 32px;
  text-align: center;
  margin-bottom: 32px;
  display: inline-block;
  min-width: 120px;
}

/* ステップ */
.ma-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.ma-step__icon-wrap {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ma-step__icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.ma-step__body {
  flex: 1;
  min-width: 0;
  padding-top: 4px;
}

.ma-step__label {
  font-family: 'M PLUS 1', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.ma-step__text {
  font-family: 'M PLUS 1', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.6;
}

.ma-step__connector {
  width: 2px;
  height: 32px;
  background: var(--cyan);
  margin: 8px 0 8px 27px;
  border-radius: 1px;
}

/* 栽培ガイドブックCTAカード */
.ma-guidebook-cta {
  background: var(--white);
  border: 3px solid var(--cyan);
  border-radius: 30px;
  padding: 40px 48px;
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.ma-guidebook-cta__lead {
  font-family: 'M PLUS 1', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.6;
  margin: 0;
}

.ma-guidebook-cta__btn {
  align-self: center;
}

/* ===========================
   CTAバンドセクション
   =========================== */
.ma-cta-band {
  padding: 80px 0;
  background-color: var(--white);
  background-image: url('../assets/images/ma-cta-band-bg.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.ma-cta-band__inner {
  background: var(--white);
  border: 5px solid var(--cyan);
  border-radius: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  position: relative;
  min-height: 240px;
}

.ma-cta-band__inner > .ma-cta-band__text-group {
  border-top-left-radius: 25px;
  border-bottom-left-radius: 25px;
}

.ma-cta-band__inner > .ma-cta-band__image-wrap {
  border-top-right-radius: 25px;
  border-bottom-right-radius: 25px;
  overflow: hidden;
}

.ma-cta-band__mascot {
  position: absolute;
  right: -70px;
  top: -50px;
  width: 140px;
  height: auto;
  pointer-events: none;
  z-index: 2;
}

.ma-cta-band__text-group {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 48px 56px;
  justify-content: center;
  align-items: flex-start;
}

.ma-cta-band__title {
  font-family: 'M PLUS 1', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
}

.ma-cta-band__image-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.ma-cta-band__veggie {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  display: block;
}

/* ===========================
   レスポンシブ: タブレット (1100px以下)
   =========================== */
@media (max-width: 1100px) {
  .ma-concept__inner {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .ma-concept__col-text {
    order: 1;
  }

  .ma-concept__col-media {
    flex: none;
    order: 2;
  }

  .ma-effects__cards {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .ma-effect-card {
    flex: none;
    width: 100%;
    max-width: 600px;
  }

  .ma-pickup__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .ma-howtouse__cols {
    flex-direction: column;
    gap: 48px;
  }

  .ma-cta-band__mascot {
    right: -10px;
    top: -45px;
    width: 120px;
  }

  .ma-gallery__img {
    width: 30vw;
  }
}

/* ===========================
   レスポンシブ: スマホ (767px以下)
   =========================== */
@media (max-width: 767px) {
  .ma-concept {
    padding: 48px 0;
  }

  .ma-concept__image {
    width: 240px;
    height: 240px;
  }

  .ma-concept__eyebrow,
  .ma-effects__eyebrow,
  .ma-pickup__eyebrow,
  .ma-howtouse__eyebrow {
    font-size: 16px;
  }

  .ma-concept__title,
  .ma-effects__title,
  .ma-pickup__title,
  .ma-howtouse__title {
    font-size: 22px;
  }

  .ma-concept__body {
    font-size: 15px;
  }

  .ma-effects {
    padding: 48px 0 120px;
  }

  .ma-effect-card {
    max-width: 100%;
  }

  .ma-effect-card__body {
    padding: 24px 20px 28px;
  }

  .ma-gallery {
    margin-top: -60px;
  }

  .ma-gallery__img {
    width: 44vw;
  }

  .ma-pickup {
    padding: 48px 0;
  }

  .ma-pickup__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ma-howtouse {
    padding: 48px 0;
  }

  .ma-guidebook-cta {
    padding: 24px 20px;
  }

  .ma-cta-band {
    padding: 40px 0;
  }

  .ma-cta-band__inner {
    display: flex;
    flex-direction: column;
    padding: 0;
    gap: 0;
    min-height: auto;
  }

  .ma-cta-band__text-group {
    padding: 32px 24px;
    order: 2;
  }

  .ma-cta-band__inner > .ma-cta-band__text-group {
    border-radius: 0 0 25px 25px;
  }

  .ma-cta-band__image-wrap {
    flex: none;
    width: 100%;
    order: 1;
  }

  .ma-cta-band__inner > .ma-cta-band__image-wrap {
    border-radius: 25px 25px 0 0;
  }

  .ma-cta-band__veggie {
    height: 180px;
    min-height: 0;
  }

  .ma-cta-band__title {
    font-size: 20px;
  }

  .ma-cta-band__mascot {
    right: 4px;
    top: -64px;
    width: 84px;
  }
}
