/* =========================
   レビュー投稿ページ
   既存ボタン more-btn 使用版
========================= */

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

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

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

.sp-only {
  display: none;
}

/* =========================
   HERO
   背景画像あり
========================= */

.mh-review-hero {
  position: relative;
  padding: 76px 20px 60px;
  background:
    linear-gradient(
      rgba(255, 255, 255, .78)
    ),
    url("https://www.mangohouse.jp/asset2023/images/store/info2026.webp") center center / cover no-repeat;
  border-radius: 0 0;
  overflow: hidden;
}

/* 背景画像を見せるため、右上の線装飾は非表示 */
.mh-review-hero::after {
  display: none;
}

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

/* ラベル */
.mh-review-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-review-hero h1 {
  margin: 0;
  color: var(--mh-red);
  font-size: clamp(25px, 5vw, 54px);
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: .04em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .8);
}

.mh-review-lead {
  max-width: 760px;
  margin: 22px auto 0;
  font-size: 16px;
  background: rgba(255, 255, 255, .78);
  padding: 14px 18px;
  border-radius: 8px;
}

/* 300ptの札 */
.mh-review-point {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 30px auto 0;
  padding: 15px 28px;
  background: rgba(255, 255, 255, .92);
  border: 2px solid var(--mh-red);
  border-radius: 8px;
  box-shadow: 8px 8px 0 rgba(163, 35, 40, .12);
  transform: rotate(-1deg);
}

.mh-review-point__num {
  color: var(--mh-red);
  font-size: 44px;
  line-height: 1;
  font-weight: 900;
}

.mh-review-point__text {
  color: var(--mh-brown);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
  text-align: left;
}

.mh-review-note {
  margin: 16px 0 0;
  font-size: 13px;
  color: #5a2f1b;
  background: rgba(255, 255, 255, .72);
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
}

/* =========================
   既存ボタン more-btn 調整
========================= */

.mh-review-hero__btns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 30px auto 0;
  flex-wrap: wrap;
}

.mh-review-hero__btns .more-btn,
.mh-review-center .more-btn,
.mh-review-last .more-btn {
  margin: 0;
}

.mh-review-center {
  text-align: center;
  margin-top: 32px;
}

.mh-review-center .more-btn,
.mh-review-last .more-btn {
  display: inline-block;
}

/* 既存 more-btn の中で位置が崩れる場合の保険 */
#mh-review-renewal .more-btn a {
  text-decoration: none;
}

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

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

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

.mh-review-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-review-title h2 {
  margin: 0;
  color: var(--mh-red);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 900;
}

/* =========================
   レビューで教えてほしいこと
========================= */

.mh-review-benefit {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.mh-review-benefit__card {
  position: relative;
  padding: 30px 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-review-benefit__card h3 {
  margin: 0 0 10px;
  color: var(--mh-brown);
  font-size: 20px;
  font-weight: 900;
}

.mh-review-benefit__card p {
  margin: 0;
  font-size: 15px;
}

/* =========================
   レビュー例
========================= */

.mh-review-example {
  position: relative;
  margin-top: 76px;
  padding: 60px 20px;
  background: linear-gradient(135deg, #fff6e6 0%, #fffaf2 100%);
  overflow: hidden;
}

/* 下に赤い布っぽいライン */
.mh-review-example::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    var(--mh-red) 0,
    var(--mh-red) 32px,
    var(--mh-orange) 32px,
    var(--mh-orange) 64px
  );
  opacity: .9;
}

.mh-review-voice-wrap {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.mh-review-voice {
  position: relative;
  padding: 28px 22px 24px;
  background: #fff;
  border: 1px solid #f1d6a9;
  border-radius: 12px;
  box-shadow: 8px 8px 0 rgba(163, 35, 40, .10);
}

.mh-review-voice::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 24px;
  width: 72px;
  height: 22px;
  background: rgba(246, 195, 67, .85);
  transform: rotate(-3deg);
  border-radius: 2px;
}

.mh-review-stars {
  margin: 8px 0 10px;
  color: var(--mh-orange);
  font-size: 18px;
  letter-spacing: .04em;
}

.mh-review-voice p {
  margin: 0;
  font-size: 15px;
}

/* =========================
   手順
========================= */

.mh-review-step {
  display: grid;
  gap: 20px;
}

.mh-review-step__item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  align-items: stretch;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--mh-border);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(90, 47, 27, .07);
}

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

.mh-review-step__body h3 {
  margin: 0 0 6px;
  color: var(--mh-brown);
  font-size: 21px;
  font-weight: 900;
}

.mh-review-step__body p {
  margin: 0 0 14px;
}

.mh-review-step__body img {
  border-radius: 10px;
  border: 1px solid #eee;
}

/* =========================
   書く内容のヒント
========================= */

.mh-review-tips {
  padding: 44px 20px !important;
  background: linear-gradient(135deg, #fff6e6, #fff);
  border-radius: 18px;
  border: 1px solid var(--mh-border);
}

.mh-review-tips__list {
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  list-style: none;
}

.mh-review-tips__list li {
  position: relative;
  padding: 14px 16px 14px 42px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--mh-border);
  font-weight: 700;
}

.mh-review-tips__list li::before {
  content: "\2713";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--mh-red);
  font-weight: 900;
}

/* =========================
   注意事項
========================= */

.mh-review-attention__box {
  max-width: 860px;
  margin: 0 auto;
  padding: 26px;
  background: #fff;
  border: 1px solid #ead8c2;
  border-left: 6px solid var(--mh-red);
  border-radius: 14px;
}

.mh-review-attention__box ul {
  margin: 0;
  padding-left: 1.3em;
}

.mh-review-attention__box li {
  margin: 6px 0;
}

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

.mh-review-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-review-last::before {
  content: "";
  position: absolute;
  inset: auto -10% -50px -10%;
  height: 120px;
  background: rgba(255, 255, 255, .08);
  transform: rotate(-3deg);
}

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

.mh-review-last .more-btn {
  position: relative;
}

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

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

  .mh-review-hero {
    padding: 50px 16px 44px;
    border-radius: 0 0 ;
    background:
      linear-gradient(
        rgba(555, 255, 255, .84)
      ),
      url("https://www.mangohouse.jp/asset2023/images/store/info2026.webp") center center / cover no-repeat;
  }

  .mh-review-lead {
    text-align: left;
    font-size: 15px;
    padding: 14px 16px;
  }

  .mh-review-point {
    width: 100%;
    max-width: 320px;
    padding: 13px 20px;
  }

  .mh-review-point__num {
    font-size: 38px;
  }

  /* 既存 more-btn をスマホで縦並び・全幅に */
  .mh-review-hero__btns {
    display: block;
  }

  .mh-review-hero__btns .more-btn,
  .mh-review-center .more-btn,
  .mh-review-last .more-btn {
    width: 100%;
    margin-top: 12px;
  }

  .mh-review-hero__btns .more-btn:first-child {
    margin-top: 0;
  }

  .mh-review-hero__btns .more-btn a,
  .mh-review-center .more-btn a,
  .mh-review-last .more-btn a {
    width: 100%;
  }

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

  .mh-review-benefit,
  .mh-review-voice-wrap {
    grid-template-columns: 1fr;
  }

  .mh-review-example {
    margin-top: 54px;
    padding: 48px 16px;
  }

  .mh-review-step__item {
    grid-template-columns: 1fr;
    padding: 16px;
  }

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

  .mh-review-tips {
    margin-left: 16px;
    margin-right: 16px;
  }

  .mh-review-tips__list {
    grid-template-columns: 1fr;
  }

  .mh-review-attention__box {
    padding: 20px;
  }

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