/* 相談・資料DLへの導線（inc/conversion.php） */
/* トップの main には工程セクション用の固定の色幕（.home-v3::after）がある。重ねて塗られないよう前面に出す */
.mm-cv-cases, .mm-cv { position: relative; z-index: 1; }
.mm-cv-cases { padding: clamp(7rem, 9vw, 11rem) 1.6rem; background: #f4f1e8; border-top: 1px solid rgba(19,36,30,.12); }
.mm-cv-cases__inner { max-width: 1200px; margin: 0 auto; }
.mm-cv-cases__head { max-width: 720px; margin-bottom: 4rem; }
.mm-cv-cases__head h2 { margin: 1rem 0 1.4rem; color: #13241e; font-size: clamp(2.6rem, 3vw, 3.6rem); font-weight: 600; line-height: 1.4; }
.mm-cv-cases__head p { color: #3f4d47; font-size: 1.55rem; line-height: 1.9; line-break: strict; }
.mm-cv-cases__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.4rem; margin: 0; padding: 0; list-style: none; }
.mm-cv-case { display: flex; flex-direction: column; height: 100%; color: #13241e; text-decoration: none; background: #fff; border: 1px solid rgba(19,36,30,.14); border-radius: 1.2rem; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.mm-cv-case:hover { transform: translateY(-3px); box-shadow: 0 1.2rem 3rem rgba(19,36,30,.12); }
.mm-cv-case__img { display: block; aspect-ratio: 4 / 3; background: #e6f4ed; overflow: hidden; }
.mm-cv-case__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mm-cv-case__cat { margin: 1.6rem 1.8rem 0; color: #087f57; font-size: 1.25rem; font-weight: 700; letter-spacing: .04em; }
.mm-cv-case__title { margin: .6rem 1.8rem 2rem; font-size: 1.55rem; font-weight: 700; line-height: 1.65; line-break: strict; overflow-wrap: anywhere; }
.mm-cv-cases__more { display: inline-block; margin-top: 3.2rem; color: #087f57; font-size: 1.5rem; font-weight: 700; text-decoration: none; }
.mm-cv-cases__more:hover { text-decoration: underline; }

.mm-cv { padding: clamp(6rem, 8vw, 9rem) 1.6rem; background: #17372d; color: #fff; }
.mm-cv__inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(3.2rem, 5vw, 6.4rem); align-items: center; max-width: 1200px; margin: 0 auto; }
.mm-cv__kicker { margin: 0; color: #bdebd4; font-size: 1.25rem; font-weight: 700; letter-spacing: .14em; }
.mm-cv-cases .mm-cv__kicker { color: #087f57; }
.mm-cv__copy h2 { margin: 1.2rem 0 1.6rem; color: #fff; font-size: clamp(2.6rem, 3.2vw, 3.8rem); font-weight: 600; line-height: 1.45; }
.mm-cv__copy h2 span { display: inline-block; }
.mm-cv__copy p { margin: 0; color: rgba(255,255,255,.86); font-size: 1.55rem; line-height: 1.95; line-break: strict; }
.mm-cv__actions { display: grid; gap: 1.4rem; }
.mm-cv__btn { display: flex; flex-direction: column; gap: .4rem; padding: 2rem 2.4rem; border-radius: 1rem; text-decoration: none; transition: transform .2s ease, background-color .2s ease; }
.mm-cv__btn:hover { transform: translateY(-2px); }
.mm-cv__btn-label { font-size: 1.8rem; font-weight: 700; }
.mm-cv__btn-label::after { content: " →"; }
.mm-cv__btn-sub { font-size: 1.3rem; opacity: .85; }
.mm-cv__btn--main { background: #f4c75b; color: #17372d; }
.mm-cv__btn--main:hover { background: #f7d47a; }
.mm-cv__btn--sub { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.55); }
.mm-cv__btn--sub:hover { background: rgba(255,255,255,.08); }

@media (max-width: 1024px) {
  .mm-cv-cases__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mm-cv__inner { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .mm-cv-cases__list { grid-template-columns: 1fr; gap: 1.6rem; }
  .mm-cv-case { display: grid; grid-template-columns: 36% minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .mm-cv-case__img { grid-row: 1 / 3; aspect-ratio: auto; min-height: 100%; }
  .mm-cv-case__cat { margin: 1.2rem 1.4rem 0; }
  .mm-cv-case__title { margin: .4rem 1.4rem 1.4rem; font-size: 1.4rem; }
  .mm-cv__btn { padding: 1.8rem 2rem; }
}
