/* =========================
   ご利用ガイドページ
   order-renewal.css
========================= */

#mh-order-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-order-renewal * {
  box-sizing: border-box;
}

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

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

.sp-only {
  display: none;
}

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

.mh-order-hero {
  position: relative;
  padding: 76px 20px 60px;
  background:
    linear-gradient(
      rgba(255, 255, 255, .74)
    ),
    url("https://www.mangohouse.jp/asset2023/images/common/monstera.png") center center / cover no-repeat;
  overflow: hidden;
}

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

.mh-order-kicker {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 20px;
  background: #21632e;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  border-radius: 4px;
  transform: rotate(-1deg);
  box-shadow: 6px 6px 0 rgb(88 163 35 / 12%);
}

.mh-order-hero h1 {
  margin: 0;
  color: #21632e;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: .04em;
  text-shadow: 0 1px 0 rgb(255 255 255 / 80%);
}

.mh-order-important {
  max-width: 760px;
  margin: 30px auto 0;
  padding: 20px 24px;
  background: rgba(255, 255, 255, .94);
  border: 2px solid #21632e;
  border-left: 8px solid #21632e;
  text-align: left;
  box-shadow: 8px 8px 0 rgb(108 163 35 / 12%);
}

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

.mh-order-important__main {
  margin-bottom: 8px !important;
  color: #21632e;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.5;
}

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

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

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

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

/* =========================
   GUIDE CARD
   ショップガイド風
========================= */

.mh-order-guide-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.mh-order-guide-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100%;
  padding: 22px 16px;
  background: #fff;
  border: 1px solid var(--mh-border);
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(90, 47, 27, .08);
  color: var(--mh-text);
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.mh-order-guide-card:hover {
  transform: translateY(-3px);
  border-color: var(--mh-red);
  box-shadow: 0 12px 26px rgba(90, 47, 27, .13);
}

.mh-order-guide-card h3 {
  order: 1;
  margin: 0 0 12px;
  color: var(--mh-red);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.45;
}

.mh-order-guide-icon {
  order: 2;
  width: 100%;
  min-height: 92px;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mh-order-guide-icon img {
  width: auto;
  max-width: 92px;
  max-height: 78px;
  object-fit: contain;
}

.mh-order-guide-card p {
  order: 3;
  margin: 0;
  color: var(--mh-text);
  font-size: 14px;
  line-height: 1.65;
}

/* =========================
   ORDER FLOW
========================= */

.mh-order-flow {
  display: grid;
  gap: 20px;
}

.mh-order-flow__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-order-flow__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-order-flow__body h3 {
  margin: 0 0 6px;
  color: var(--mh-brown);
  font-size: 21px;
  font-weight: 900;
}

.mh-order-flow__body p {
  margin: 0;
}

/* =========================
   RECOMMEND
========================= */

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

.mh-order-recommend-card {
  padding: 26px 22px;
  background: #fffaf4;
  border: 1px solid var(--mh-border);
  border-left: 6px solid var(--mh-red);
  border-radius: 14px;
}

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

.mh-order-recommend-card p {
  margin: 0 0 16px;
}

.mh-order-recommend-card .more-btn {
  margin: 0;
}

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

/* =========================
   FAQ
========================= */

.mh-order-faq {
  display: grid;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.mh-order-faq__item {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--mh-border);
  border-left: 6px solid var(--mh-red);
  border-radius: 14px;
}

.mh-order-faq__item h3 {
  margin: 0 0 8px;
  color: var(--mh-brown);
  font-size: 19px;
  font-weight: 900;
}

.mh-order-faq__item p {
  margin: 0;
}

.mh-order-center {
  text-align: center;
  margin-top: 30px;
}

.mh-order-center .more-btn {
  display: inline-block;
  margin: 0;
}

/* =========================
   CONTACT
========================= */

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

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

.mh-order-contact__box {
  position: relative;
  max-width: 520px;
  margin: 0 auto 28px;
  padding: 22px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 14px;
}

.mh-order-contact__box p {
  margin: 0;
}

.mh-order-contact__shop {
  font-weight: 900;
}

.mh-order-contact__tel {
  margin: 4px 0 !important;
  color:#ffffff!important;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: .04em;
}

.mh-order-contact__time {
  font-size: 14px;
}

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

.mh-order-contact .more-btn {
  position: relative;
  display: inline-block;
  margin: 0;
}

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

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

  .mh-order-hero {
    padding: 50px 16px 44px;
    background:
      linear-gradient(
        rgba(255, 255, 255, .69)
      ),
      url("https://www.mangohouse.jp/asset2023/images/common/monstera.png") center center / cover no-repeat;
  }

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

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

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

  .mh-order-guide-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .mh-order-guide-card {
    padding: 16px 10px;
    border-radius: 12px;
  }

  .mh-order-guide-card h3 {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.4;
  }

  .mh-order-guide-icon {
    min-height: 72px;
    margin-bottom: 10px;
  }

  .mh-order-guide-icon img {
    max-width: 68px;
    max-height: 60px;
  }

  .mh-order-guide-card p {
    font-size: 12px;
    line-height: 1.55;
  }

  .mh-order-flow__item {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .mh-order-flow__num {
    min-height: 48px;
  }

  .mh-order-recommend-grid {
    grid-template-columns: 1fr;
  }

  .mh-order-recommend-card,
  .mh-order-faq__item {
    padding: 22px 18px;
  }

  .mh-order-center .more-btn,
  .mh-order-contact .more-btn {
    width: 100%;
    margin-top: 12px;
  }

  .mh-order-center .more-btn a,
  .mh-order-contact .more-btn a {
    width: 100%;
  }

  .mh-order-contact {
    padding: 48px 16px;
  }

  .mh-order-contact__box {
    padding: 20px;
  }

  .mh-order-contact__tel {
    font-size: 26px;
  }

  .mh-order-contact__btns {
    display: block;
  }
}
/* =========================
   初めての方におすすめ
   ボタン中央寄せ・はみ出し防止
========================= */

#mh-order-renewal .mh-order-recommend-card {
  display: flex;
  flex-direction: column;
}

#mh-order-renewal .mh-order-recommend-card .more-btn {
  margin: auto auto 0;
  text-align: center;
  width: auto;
  max-width: 100%;
}

#mh-order-renewal .mh-order-recommend-card .more-btn a {
  display: inline-block;
  width: auto;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  white-space: nowrap;
  padding-left: 55px;
  padding-right: 55px;
}

/* スマホだけ押しやすく全幅 */
@media screen and (max-width: 767px) {
  #mh-order-renewal .mh-order-recommend-card .more-btn {
    width: 100%;
    margin-top: auto;
  }

  #mh-order-renewal .mh-order-recommend-card .more-btn a {
    width: 100%;
    display: block;
    white-space: normal;
  }
}