/* =========================
   お手入れ・品質表示ページ
   care-renewal.css
========================= */

#mh-care-renewal {
  --mh-red: #a32328;
  --mh-dark-red: #7f171c;
  --mh-yellow: #f6c343;
  --mh-cream: #fff6e6;
  --mh-orange: #f39800;
  --mh-brown: #5a2f1b;
  --mh-text: #333;
  --mh-border: #f0d7b2;
  color: var(--mh-text);
  font-family: inherit;
  line-height: 1.8;
  overflow: hidden;
}

#mh-care-renewal * {
  box-sizing: border-box;
}

#mh-care-renewal img {
  max-width: 100%;
  height: auto;
  display: block;
}

#mh-care-renewal a {
  text-decoration: none;
}

.sp-only {
  display: none;
}

/* =========================
   HERO
========================= */

.mh-care-hero {
  position: relative;
  padding: 76px 20px 60px;
  background:
    linear-gradient(
      rgba(255, 255, 255, .76)
    ),
    url("https://www.mangohouse.jp/img/quality/Q11.jpg") center center / cover no-repeat;
  overflow: hidden;
}

.mh-care-hero__inner {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  z-index: 1;
}

.mh-care-kicker {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 20px;
  background: var(--mh-red);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  border-radius: 4px;
  transform: rotate(-1deg);
  box-shadow: 6px 6px 0 rgba(163, 35, 40, .12);
}

.mh-care-hero h1 {
  margin: 0;
  color: var(--mh-red);
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: .04em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .8);
}

.mh-care-important {
  max-width: 760px;
  margin: 30px auto 0;
  padding: 20px 24px;
  background: rgba(255, 255, 255, .94);
  border: 2px solid var(--mh-red);
  border-left: 8px solid var(--mh-red);
  text-align: left;
  box-shadow: 8px 8px 0 rgba(163, 35, 40, .12);
}

.mh-care-important p {
  margin: 0;
}

.mh-care-important__main {
  margin-bottom: 8px !important;
  color: var(--mh-red);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.5;
}

/* =========================
   COMMON
========================= */

.mh-care-section {
  max-width: 1080px;
  margin: 72px auto 0;
  padding: 0 20px;
}

.mh-care-nav-section {
  margin-top: 40px;
}

.mh-care-title {
  text-align: center;
  margin-bottom: 30px;
}

.mh-care-title p {
  display: inline-block;
  margin: 0 0 8px;
  color: var(--mh-orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
  border-bottom: 3px solid var(--mh-yellow);
}

.mh-care-title h2 {
  margin: 0;
  color: var(--mh-red);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 900;
}

.mh-care-lead {
  max-width: 900px;
  margin: 0 auto 24px;
  font-weight: 700;
}

.textC {
  text-align: center;
}

.red {
  color: var(--mh-red);
}

/* =========================
   FIRST CHECK
========================= */

.mh-care-check {
  display: grid;
  gap: 18px;
}

.mh-care-check--4 {
  grid-template-columns: repeat(4, 1fr);
}

.mh-care-check__item {
  position: relative;
  padding: 26px 22px;
  background: #fff;
  border: 1px solid var(--mh-border);
  border-top: 6px solid var(--mh-red);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(90, 47, 27, .08);
}

.mh-care-check__item h3 {
  margin: 0 0 10px;
  color: var(--mh-brown);
  font-size: 20px;
  font-weight: 900;
}

.mh-care-check__item p {
  margin: 0;
  font-size: 15px;
}

.mh-care-check__item--danger h3 {
  color: var(--mh-red);
}

.mh-care-ng-label,
.mh-care-ok-label {
  display: inline-block;
  margin: 0 0 10px !important;
  padding: 2px 12px;
  border-radius: 999px;
  font-size: 12px !important;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: .08em;
}

.mh-care-ng-label {
  background: var(--mh-red);
  color: #fff;
}

.mh-care-ok-label {
  background: #fff0d2;
  color: var(--mh-brown);
}

.mh-care-caution {
  max-width: 900px;
  margin: 28px auto 0;
  padding: 20px;
  background: #fff6e6;
  border-left: 6px solid var(--mh-red);
  border-radius: 10px;
}

.mh-care-caution p {
  margin: 0;
}

.mh-care-caution strong {
  color: var(--mh-red);
}

/* =========================
   CARE EASY POINT
========================= */

.mh-care-tip-list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.mh-care-tip {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--mh-border);
  border-left: 6px solid var(--mh-red);
  border-radius: 14px;
}

.mh-care-tip__img img {
  width: 130px;
  margin: 0 auto;
  border-radius: 8px;
}

.mh-care-tip__body h3 {
  margin: 0 0 6px;
  color: var(--mh-brown);
  font-size: 20px;
  font-weight: 900;
}

.mh-care-tip__body p {
  margin: 0;
}

.mh-care-tip .red,
.mh-care-attention .red {
  color: var(--mh-red);
  font-weight: 900;
}

.mh-care-wide-img {
  max-width: 900px;
  margin: 28px auto;
  text-align: center;
}

.mh-care-wide-img img {
  width: 100%;
  border-radius: 14px;
}

/* =========================
   注意事項 画像なし
========================= */

.mh-care-attention-list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.mh-care-attention {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  background: #fff6e6;
  border: 1px solid #f0d7b2;
  border-left: 6px solid var(--mh-red);
  border-radius: 12px;
}

.mh-care-attention__badge {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mh-red);
  color: #fff;
  border-radius: 50%;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.mh-care-attention__body h3 {
  margin: 0 0 4px;
  color: var(--mh-red);
  font-size: 18px;
  font-weight: 900;
}

.mh-care-attention__body p {
  margin: 0;
  color: var(--mh-text);
  font-weight: 700;
  line-height: 1.7;
}
.mh-care-wide-title p {
  margin: 30px 0 10px;
  padding: 15px 20px;
  background: var(--mh-red);
  color: #fff;
  border-radius: 4px;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 900;
  text-align:center;
}
/* =========================
   HOW TO CARE STEP
========================= */

.mh-care-step-list {
  display: grid;
  gap: 26px;
}

.mh-care-step {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--mh-border);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(90, 47, 27, .08);
}

.mh-care-step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  background: linear-gradient(135deg, var(--mh-red), var(--mh-dark-red));
  color: #fff;
  border-radius: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-align: center;
}

.mh-care-step__body h3 {
  margin: 0 0 10px;
  color: var(--mh-brown);
  font-size: 22px;
  font-weight: 900;
}

.mh-care-step__body p {
  margin: 0;
}

.mh-care-photo-grid,
.mh-care-photo-grid--4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 20px;
}

.mh-care-photo-grid figure {
  margin: 0;
  padding: 16px;
  background: #fffaf4;
  border: 1px solid var(--mh-border);
  border-radius: 12px;
  text-align: center;
}

.mh-care-photo-grid img {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  border-radius: 8px;
}

.mh-care-photo-grid figcaption {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 700;
}

/* 洗濯表示アイコンだけ大きくなりすぎないよう調整 */
.mh-care-photo-grid img[src*="/quality/a.png"],
.mh-care-photo-grid img[src*="/quality/b.png"],
.mh-care-photo-grid img[src*="/quality/d.png"],
.mh-care-photo-grid img[src*="/quality/e.png"] {
  max-width: 120px;
}

/* =========================
   QUALITY MARK
========================= */

.mh-care-quality-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}

.mh-care-quality-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--mh-border);
  border-radius: 14px;
}

.mh-care-quality-item img {
  width: 70px;
  margin: 0 auto;
}

.mh-care-quality-item p {
  margin: 0;
}

/* =========================
   LAST CTA
========================= */

.mh-care-last {
  position: relative;
  margin: 74px auto 0;
  padding: 54px 20px;
  text-align: center;
  background: linear-gradient(135deg, var(--mh-red), var(--mh-dark-red));
  color: #fff;
  overflow: hidden;
}

.mh-care-last::before {
  content: "";
  position: absolute;
  inset: auto -10% -50px -10%;
  height: 120px;
  background: rgba(255, 255, 255, .08);
  transform: rotate(-3deg);
}

.mh-care-last > p:first-child {
  position: relative;
  margin: 0 0 24px;
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 900;
  line-height: 1.5;
}

.mh-care-last__btns {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

#mh-care-renewal .more-btn {
  margin: 5% 0;
}

#mh-care-renewal .more-btn a {
  text-decoration: none;
}

/* =========================
   SP
========================= */

@media screen and (max-width: 767px) {
  .sp-only {
    display: block;
  }

  .mh-care-hero {
    padding: 50px 16px 44px;
    background:
      linear-gradient(
        rgba(255, 255, 255, .78)
      ),
      url("https://www.mangohouse.jp/img/quality/Q11.jpg") center center / cover no-repeat;
  }

  .mh-care-important {
    padding: 18px;
  }

  .mh-care-important__main {
    font-size: 18px;
  }

  .mh-care-section {
    margin-top: 50px;
    padding: 0 16px;
  }

  .mh-care-check--4,
  .mh-care-quality-grid {
    grid-template-columns: 1fr;
  }

  .mh-care-check__item {
    padding: 22px 18px;
  }

  .mh-care-tip {
    grid-template-columns: 90px 1fr;
    gap: 12px;
    padding: 14px;
  }

  .mh-care-tip__img img {
    width: 78px;
  }

  .mh-care-tip__body h3 {
    font-size: 17px;
  }

  .mh-care-wide-img img {
    border-radius: 10px;
  }

  .mh-care-attention {
    grid-template-columns: 54px 1fr;
    gap: 12px;
    padding: 14px;
  }

  .mh-care-attention__badge {
    width: 46px;
    height: 46px;
    font-size: 13px;
  }

  .mh-care-attention__body h3 {
    font-size: 16px;
  }

  .mh-care-attention__body p {
    font-size: 14px;
  }

  .mh-care-step {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .mh-care-step__num {
    min-height: 48px;
  }

  .mh-care-photo-grid,
  .mh-care-photo-grid--4 {
    grid-template-columns: 1fr;
  }

  .mh-care-photo-grid img {
    max-width: 100%;
  }

  .mh-care-photo-grid img[src*="/quality/a.png"],
  .mh-care-photo-grid img[src*="/quality/b.png"],
  .mh-care-photo-grid img[src*="/quality/d.png"],
  .mh-care-photo-grid img[src*="/quality/e.png"] {
    max-width: 110px;
  }

  .mh-care-quality-item {
    grid-template-columns: 70px 1fr;
    padding: 14px;
  }

  .mh-care-quality-item img {
    width: 58px;
  }

  .mh-care-last {
    padding: 48px 16px;
  }

  .mh-care-last__btns {
    display: block;
  }

  .mh-care-last .more-btn {
    width: 100%;
    margin-top: 12px;
  }

  .mh-care-last .more-btn a {
    width: 100%;
  }
}